﻿/* 
   Magic Grass - Commercial V5 (Glass & Nature)
   Design System & Main Styles
*/

/* Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&family=Open+Sans:wght@400;600;700&display=swap');

:root {
    /* Color Palette - All Green Professional */
    --color-primary: #43A047;
    /* Natural Meadow Green */
    --color-primary-dark: #2E7D32;
    --color-primary-light: #E8F5E9;

    --color-cta: #2E7D32;
    /* Forest Green - Strong Action */
    --color-cta-hover: #1B5E20;

    --color-text-main: #212121;
    --color-text-light: #757575;

    --color-bg-light: #F9F9F9;
    --color-white: #ffffff;

    /* Spacing System */
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 5rem;

    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;

    --radius-sm: 4px;
    --radius-md: 12px;
    --radius-lg: 20px;

    --container-width: 1200px;

    /* Shadows & Effects */
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: 1px solid rgba(255, 255, 255, 0.2);
    --glass-blur: blur(12px);
}

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--color-text-main);
    background-color: var(--color-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--color-text-main);
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
    font-weight: 700;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: var(--color-text-light);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    display: block;
}

/* Utilities */
.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: var(--spacing-lg) 0;
}

.section-grey {
    background-color: var(--color-bg-light);
}

.text-center {
    text-align: center;
}

.text-primary {
    color: var(--color-primary);
}

.text-white {
    color: var(--color-white);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 2.2rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-cta {
    background: var(--color-cta);
    color: white;
}

.btn-cta:hover {
    background: var(--color-cta-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(46, 125, 50, 0.3);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: white;
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* Header - Transparent Glass */
/* Header - Transparent Glass */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.4s ease;
    padding: 1.3rem 0;
    /* Increased size */
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 1rem 0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    /* Slightly smaller when scrolled */
}

/* Mega Menu Styles */
.nav-container {
    position: relative;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--color-primary);
}

.nav-link.active {
    color: var(--color-primary);
    font-weight: 700;
}

/* Mega Menu Dropdown */
/* Mega Menu - Tabbed Layout */
.megamenu {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    border-radius: var(--radius-md);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    width: 1000px;
    height: 550px;
    /* Increased height to ensure full visibility of all links */
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    z-index: 10000;
    display: flex;
    overflow: hidden;
    padding: 0;
}

/* Fix interactivity gap between header and menu */
.megamenu::before {
    content: "";
    position: absolute;
    top: -30px;
    left: 0;
    right: 0;
    height: 30px;
}

header.scrolled .megamenu {
    top: 70px;
    /* Adjusted for smaller scrolled header */
}

.nav-item.has-megamenu:hover .megamenu,
.nav-item.has-megamenu.active .megamenu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.megamenu-sidebar {
    width: 250px;
    background: #f8f9fa;
    padding: 2rem 0;
    display: flex;
    flex-direction: column;
    border-right: 1px solid #eee;
}

.mm-tab {
    padding: 1rem 2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.2s ease;
    color: #666;
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
}

.mm-tab:hover,
.mm-tab.active {
    background: white;
    color: var(--color-primary);
    box-shadow: -5px 0 0 var(--color-primary) inset;
}

.mm-tab i {
    width: 20px;
    height: 20px;
}

.megamenu-content {
    flex: 1;
    padding: 1.5rem 2.5rem;
    /* Reduced vertical padding to save space */
    position: relative;
    background: white;
}

.mm-panel {
    display: none;
    animation: fadeIn 0.3s ease;
    height: 100%;
}

.mm-panel.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mm-grid {
    display: grid;
    grid-template-columns: 1.2fr 1.2fr 1fr;
    /* 3-column: Links | Links | Featured */
    gap: 2.5rem;
    height: 100%;
}

.mm-category h4 {
    color: var(--color-primary-dark);
    font-size: 1.05rem;
    margin-bottom: 1rem;
    /* Reduced margin */
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mm-links {
    list-style: none;
    padding: 0;
}

.mm-links li {
    margin-bottom: 0.5rem;
    /* Reduced from 0.8rem */
}

.mm-links li a {
    color: #555;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.5rem;
    border-radius: 6px;
}

.mm-links li a:hover {
    background-color: #f8f9fa;
    color: var(--color-primary);
    transform: translateX(5px);
}

/* Featured Column Styles */
.mm-featured {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    height: fit-content;
}

.mm-featured-img {
    width: 100%;
    height: 120px;
    /* Further reduced image height */
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.mm-featured-title {
    font-weight: 700;
    color: var(--color-primary-dark);
    font-size: 1rem;
}

.mm-featured-text {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.5;
}

.mm-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.3;
}

.mm-title {
    font-weight: 700;
    color: #333;
    font-size: 0.95rem;
}

.mm-subtitle {
    font-size: 0.8rem;
    color: #888;
    font-weight: 400;
    white-space: nowrap;
    /* Prevent wrapping for subtitles */
}

/* Ensure hovered link title gets colored */
.mm-links li a:hover .mm-title {
    color: var(--color-primary);
}

.mm-cta {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
}

.megamenu .mm-link-cta {
    color: var(--color-primary);
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.megamenu .mm-link-cta:hover {
    color: var(--color-primary-dark);
    transform: translateX(5px);
}

/* Hide on tablet/mobile */
@media (max-width: 1100px) {
    .megamenu {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .megamenu {
        display: none;
    }
}

/* ... (scrolled state remains same or adjusted if needed, usually smaller is fine) ... */


/* Hero V5 - Full Background with Overlay Content */
.hero {
    position: relative;
    height: 85vh;
    /* Reduced from 100vh for better fold visibility */
    min-height: 600px;
    /* Reduced from 800px */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-top: 0;
    overflow: hidden;
    background-color: #111;
}



.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-img {
    height: 70px;
    width: auto;
    transition: height 0.4s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

header.scrolled .logo-img {
    height: 50px;
    /* Smaller on scroll */
    filter: none;
}

/* Scroll Animation - Reveal Effect */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.nav-links {
    display: none;
    gap: 2.5rem;
    list-style: none;
}

@media (min-width: 900px) {
    .nav-links {
        display: flex;
    }
}

.nav-links a {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    color: white;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-links a:hover {
    opacity: 1;
}

header.scrolled .nav-links a {
    color: var(--color-text-main);
    font-weight: 600;
}

header.scrolled .nav-links a:hover {
    color: var(--color-primary);
}



.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Darkened overlay for better text contrast */
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.7) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 20px;
}

.hero h1 {
    font-size: clamp(3rem, 6vw, 4.5rem);
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Why Us - Premium Minimalist Design */
/* Counter for cards */
.why-us-grid {
    counter-reset: why-card-counter;
    /* ... existing grid styles ... */
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    /* Slightly smaller min-width */
    gap: 1.5rem;
    /* Reduced gap */
    position: relative;
    z-index: 5;
    margin-top: -100px;
    /* Increased negative margin for better overlap */
}

.why-card {
    background: white;
    padding: 1.5rem;
    /* Compact padding */
    border-radius: var(--radius-sm);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    /* Subtle shadow */
    text-align: left;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    /* Prepare for border transition */
    position: relative;
    overflow: hidden;
    height: 100%;
    /* Uniform height */
}

/* Number Watermark */
.why-card::after {
    counter-increment: why-card-counter;
    content: "0" counter(why-card-counter);
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    font-size: 3rem;
    font-weight: 800;
    color: #f0f0f0;
    z-index: 0;
    transition: color 0.3s;
}

.why-card:hover::after {
    color: rgba(46, 125, 50, 0.1);
    /* Tip of green on hover */
}

/* Hover Interaction */
.why-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-bottom: 3px solid var(--color-primary);
    /* Green bar */
}

.why-card * {
    position: relative;
    z-index: 1;
    /* Text above watermark */
}

.why-icon {
    width: auto;
    height: auto;
    background: none;
    color: var(--color-primary);
    display: inline-block;
    margin: 0 0 1rem 0;
    /* Reduced margin */
}

.why-icon i {
    width: 32px;
    /* Smaller icon */
    height: 32px;
    stroke-width: 1.5;
}

.why-card h3 {
    font-size: 1.1rem;
    /* Smaller title */
    margin-bottom: 0.5rem;
    color: #111;
    font-weight: 700;
}

.why-card p {
    font-size: 0.9rem;
    /* Smaller text */
    line-height: 1.5;
    color: #666;
    margin-bottom: 0;
}



/* Button Pro */
.btn-pro {
    background: #212121;
    color: white;
    border: 1px solid #212121;
}

.btn-pro:hover {
    background: #000;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Solutions */
.solutions-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(2, 1fr);
    /* Mobile: 2 cols */
}

@media (min-width: 900px) {
    .solutions-grid {
        grid-template-columns: repeat(3, 1fr);
        /* Laptop: 3 cols (3x3 for 6 items is 2 rows, but user said 3x3 which implies 3 cols) */
    }
}

@media (min-width: 1600px) {
    .solutions-grid {
        grid-template-columns: repeat(6, 1fr);
        /* Large screens: 6 cols */
    }
}

.feature-item {
    display: block;
    /* Make anchor behave like block */
    text-align: center;
    text-decoration: none;
    /* Remove underline from links */
    color: inherit;
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-8px);
    /* Lift effect */
}

.feature-item h3 {
    transition: color 0.3s ease;
}

.feature-item:hover h3 {
    color: var(--color-primary);
}

.feature-circle {
    width: 100%;
    aspect-ratio: 1/1;
    /* Square for larger presence */
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 1.5rem;
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.3s ease;
}

.feature-item:hover .feature-circle {
    box-shadow: var(--shadow-md);
}

.feature-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.feature-item:hover .feature-circle img {
    transform: scale(1.1);
}

/* Other components inherit from standard styles */
.contact-strip {
    background: var(--color-primary-dark);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.stars {
    color: #FBC02D;
    margin-bottom: 0.5rem;
}

/* Contact Form Container */
.contact-container {
    background: white;
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    max-width: 800px;
    margin: 0 auto;
}

.form-input {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    border-radius: var(--radius-sm);
    background: #fdfdfd;
}

.form-input:focus {
    outline: 2px solid var(--color-primary);
    border-color: transparent;
}

footer {
    background: #1a1a1a;
    color: #aaa;
    padding: 4rem 0;
}

/* Manifesto Section */
.section-manifesto {
    background: linear-gradient(135deg, #0d3012 0%, #2e7d32 100%);
    color: white;
    padding: 7rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.section-manifesto::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 1;
}

.section-manifesto h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.section-manifesto p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.3rem;
    line-height: 1.9;
    font-weight: 300;
    max-width: 900px;
    margin: 0 auto;
}

.section-manifesto strong {
    color: white;
    font-weight: 600;
}

/* Process Timeline */
.section-process {
    background: #fff;
    padding: 6rem 0;
}

.timeline-container {
    display: flex;
    justify-content: space-between;
    position: relative;
    max-width: 1000px;
    margin: 4rem auto 0;
}

/* Connecting Line */
.timeline-container::before {
    content: '';
    position: absolute;
    top: 25px;
    left: 50px;
    right: 50px;
    height: 2px;
    background: #e0e0e0;
    z-index: 1;
}

.timeline-step {
    position: relative;
    z-index: 2;
    text-align: center;
    flex: 1;
    padding: 0 1rem;
}

.step-number {
    width: 50px;
    height: 50px;
    background: white;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    margin: 0 auto 1.5rem auto;
    font-family: var(--font-heading);
    transition: all 0.3s ease;
}

.timeline-step:hover .step-number {
    background: var(--color-primary);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(46, 125, 50, 0.3);
}

.timeline-step h4 {
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.timeline-step p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
}

/* Responsive Timeline */
@media (max-width: 768px) {
    .timeline-container {
        flex-direction: column;
        gap: 2rem;
        padding-left: 2rem;
    }

    .timeline-container::before {
        top: 0;
        bottom: 0;
        left: 24px;
        width: 2px;
        height: auto;
        right: auto;
    }

    .timeline-step {
        text-align: left;
        display: flex;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .step-number {
        margin: 0;
        min-width: 50px;
    }
}

/* Project Carousel */
.carousel-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.carousel-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 2rem;
    padding-bottom: 2rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* Firefox */
}

.carousel-track::-webkit-scrollbar {
    display: none;
    /* Safari/Chrome */
}

.project-card {
    min-width: 320px;
    flex: 0 0 320px;
    scroll-snap-align: center;
    background: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.project-image {
    height: 220px;
    width: 100%;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.05);
    /* Gentle zoom */
}

.project-info {
    padding: 1.5rem;
    text-align: left;
}

.project-info h4 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    font-weight: 700;
}

.project-meta {
    font-size: 0.9rem;
    color: #666;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

/* Carousel Buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
}

.carousel-btn:hover {
    background: var(--color-primary);
    color: white;
}

.btn-prev {
    left: -25px;
}

.btn-next {
    right: -25px;
}

@media (max-width: 900px) {
    .carousel-btn {
        display: none;
    }

    /* Hide buttons on touch devices */
}

/* Reassurance Strip - Premium Minimalist */
.reassurance-strip {
    background: #ffffff;
    padding: 1.5rem 0;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
}

.reassurance-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    /* Generous spacing */
    flex-wrap: wrap;
}

.reassurance-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: #333;
    font-size: 0.9rem;
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.reassurance-item svg {
    width: 28px;
    height: 28px;
    display: block;
    stroke: #222;
    /* Premium dark grey/black */
    stroke-width: 1.5;
    fill: none;
}

@media (max-width: 768px) {
    .reassurance-grid {
        gap: 1.5rem;
        flex-direction: column;
        /* Stack on mobile */
    }
}

/* Blog Section */
.section-blog {
    background: #f9f9f9;
    padding: 6rem 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.blog-card {
    background: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.blog-image {
    height: 200px;
    background: #ccc;
    position: relative;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-tag {
    color: var(--color-primary);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.blog-content h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.blog-content p {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 1.5rem;
    flex: 1;
}

.blog-link {
    color: var(--color-primary-dark);
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-link:hover {
    text-decoration: underline;
}

/* Redesigned Contact Section */
.section-contact-split {
    padding: 0;
    /* Full width split */
    background: white;
}

.contact-split-wrapper {
    display: flex;
    flex-wrap: wrap;
    min-height: 600px;
    /* Taller form */
}

.contact-info-panel {
    flex: 1;
    min-width: 300px;
    background: linear-gradient(135deg, #2e7d32 0%, #1b5e20 100%);
    /* Premium Green Gradient */
    color: white;
    padding: 5rem 10%;
    /* Responsive padding */
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.contact-info-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* Optional: Subtle texture overlay can go here if needed */
    opacity: 0.1;
}

.contact-info-panel h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.contact-info-panel p {
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 1.5rem;
}

.contact-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.contact-detail-item h4 {
    color: white;
    font-weight: 700;
}

.contact-detail-item p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
}

.contact-detail-item svg {
    color: #ffd700;
    /* Gold/Yellow accent */
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.contact-form-panel {
    flex: 1;
    min-width: 350px;
    padding: 5rem 10%;
    background: white;
    display: flex;
    flex-direction: column;
    /* Stack tabs and form vertically */
    justify-content: center;
    /* Center vertical content */
    align-items: center;
}

.modern-form {
    width: 100%;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: var(--radius-sm);
    font-family: inherit;
    transition: border 0.3s;
}

.form-input:focus,
.form-textarea:focus {
    border-color: var(--color-primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.1);
}

.btn-submit {
    width: 100%;
    padding: 1.2rem;
    background: var(--color-cta);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 700;
    cursor: pointer;
    font-size: 1.1rem;
    transition: background 0.3s;
    margin-top: 1rem;
}

.btn-submit:hover {
    background: var(--color-cta-dark);
    /* Ensure hover state exists if not defined elsewhere */
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Form Tabs - Modern Pill/Segmented Design */
.form-tabs {
    display: flex;
    background: #f1f3f1;
    /* Light grey background */
    padding: 0.4rem;
    border-radius: 12px;
    /* Rounded corners, not full caps for cleaner look */
    margin-bottom: 2rem;
    border: 1px solid #e0e0e0;
    width: 100%;
    position: relative;
}

.form-tab {
    flex: 1;
    padding: 0.8rem 1rem;
    background: transparent;
    border: none;
    border-radius: 8px;
    /* Slightly less rounded than container */
    font-size: 1rem;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    /* Snappy transition */
    text-align: center;
}

.form-tab:hover:not(.active) {
    color: #333;
    background: rgba(0, 0, 0, 0.03);
}

.form-tab.active {
    background: white;
    color: var(--color-primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    /* Soft lift */
    border-bottom: none;
    /* Reset old styles */
}

/* Remove old pseudo-element styles */
.form-tab.active::after {
    display: none;
}

.tab-content {
    display: none;
    animation: fadeIn 0.4s ease;
    width: 100%;
    /* Ensure form takes full width */
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Simulator Styles */
.simulator-box {
    background: #f9fff9;
    padding: 2rem;
    border-radius: var(--radius-md);
    border: 1px solid #e0e0e0;
}

.simul-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 0.5rem;
}

.simul-option {
    background: white;
    border: 1px solid #ddd;
    border-radius: var(--radius-sm);
    padding: 1rem 0.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.simul-option span {
    font-size: 0.8rem;
    color: #666;
    font-weight: 400;
}

.simul-option:hover {
    border-color: var(--color-primary);
}

.simul-option.active {
    background: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
}

.simul-option.active span {
    color: rgba(255, 255, 255, 0.9);
}

.simul-result {
    margin: 2rem 0;
    padding: 1.5rem;
    background: white;
    border-radius: var(--radius-sm);
    text-align: center;
    font-size: 1.2rem;
    font-weight: 700;
    color: #333;
    border: 2px dashed var(--color-primary);
}

.simul-result span {
    font-size: 2rem;
    color: var(--color-primary);
    display: block;
    margin: 0.5rem 0;
}

.simul-result small {
    display: block;
    font-size: 0.8rem;
    color: #888;
    font-weight: 400;
}

@media (max-width: 600px) {
    .simul-options {
        grid-template-columns: 1fr;
    }
}


/* Bento Grid Realisations */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: 240px;
    /* Fixed height unit */
    gap: 1.5rem;
    margin-top: 2rem;
}

.bento-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    background: #f0f0f0;
    transition: transform 0.3s ease;
}

.bento-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.bento-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.bento-item:hover img {
    transform: scale(1.05);
}

.bento-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
    padding: 2rem 1.5rem 1.5rem;
    color: white;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.bento-item:hover .bento-overlay {
    opacity: 1;
    transform: translateY(0);
}

.bento-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
    color: white;
}

.bento-meta {
    font-size: 0.9rem;
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

/* Grid Spans */
.bento-span-1 {
    grid-column: span 3;
}

/* 1/4 width */
.bento-span-2 {
    grid-column: span 6;
}

/* 1/2 width */
.bento-span-3 {
    grid-column: span 8;
}

/* 2/3 width */
.bento-full {
    grid-column: 1 / -1;
}

.bento-h-1 {
    grid-row: span 1;
}

.bento-h-2 {
    grid-row: span 2;
}

/* Responsive Bento */
@media (max-width: 900px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 200px;
    }

    .bento-span-1,
    .bento-span-2,
    .bento-span-3 {
        grid-column: span 1;
    }

    .bento-full {
        grid-column: 1 / -1;
    }

    .bento-item.large-mobile {
        grid-column: span 2;
        grid-row: span 2;
    }

    .bento-overlay {
        opacity: 1;
        /* Always visible on mobile for clarity */
        transform: translateY(0);
        background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 100%);
    }
}

/* =========================================
   Responsive Polish (Mobile & Laptop)
   ========================================= */

/* Laptop (1024px - 1366px) */
@media (max-width: 1366px) {
    h1 {
        font-size: 3.5rem;
    }

    .container {
        padding: 0 2rem;
    }

    .why-us-grid {
        gap: 1.5rem;
    }
}

/* Tablet & Mobile (max-width: 900px) */
@media (max-width: 900px) {

    /* Navigation */
    .mobile-menu-btn {
        display: block !important;
        z-index: 1001;
    }

    .nav-links {
        display: none;
        /* Hide menu by default */
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-md);
        text-align: center;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        color: #333;
        /* Dark text on white menu */
        display: block;
        padding: 1rem 0;
    }

    /* Layout Stacking */
    .section-contact-split .contact-split-wrapper {
        grid-template-columns: 1fr;
    }

    .contact-info-panel,
    .contact-form-panel {
        padding: 3rem 1.5rem;
    }

    .why-us-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    /* Typography */
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }
}

/* Testimonials Section */
.testimonial-carousel-wrapper {
    max-width: 100%;
    /* Full width for marquee effect */
    margin: 0 auto;
    padding: 2rem 0;
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.testimonial-track {
    display: flex;
    gap: 2rem;
    width: max-content;
    /* Allow it to grow horizontally */
    animation: scroll 40s linear infinite;
    /* Infinite scroll */
    padding-left: 0;
    padding-right: 0;
}

.testimonial-track:hover {
    animation-play-state: paused;
    /* Pause on hover */
}

@keyframes scroll {
    to {
        transform: translateX(calc(-50% - 1rem));
        /* Move half way (plus half gap) */
    }
}

.testimonial-card {
    min-width: 350px;
    /* Slightly wider for better text flow */
    width: 350px;
    background: white;
    padding: 2.5rem;
    border-radius: var(--radius-md);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f0f0f0;
    flex-shrink: 0;
    /* Prevent shrinking */
}

.testimonial-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    border-color: var(--color-primary);
}

.testimonial-card .stars {
    color: #FBC02D;
    /* Gold, or use var(--color-primary) for green stars */
    margin-bottom: 1rem;
    display: flex;
    gap: 0.2rem;
}

.testimonial-card .stars svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
    /* Solid stars */
}

.testimonial-card .quote {
    font-style: italic;
    color: #555;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.client-info {
    display: flex;
    flex-direction: column;
    margin-bottom: 0.5rem;
}

.client-name {
    font-weight: 700;
    font-family: var(--font-heading);
    color: #212121;
    font-size: 1.05rem;
}

.client-city {
    font-size: 0.85rem;
    color: #757575;
}

.verified-badge {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    color: var(--color-primary);
    font-weight: 600;
    margin-top: 0.5rem;
    border-top: 1px solid #f0f0f0;
    padding-top: 0.8rem;
}

/* Contact Page Specifics */
.page-header {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../assets/header.png');
    background-size: cover;
    background-position: center;
    min-height: 40vh;
    padding-top: 120px;
    padding-bottom: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.page-header.large {
    min-height: 60vh;
    padding-top: 140px;
}

.page-header.category-balcon {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../assets/balcon.jpg');
    min-height: 70vh;
    padding-top: 160px;
    padding-bottom: 100px;
}

.page-header.category-jardin {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../assets/jardin-hero.jpg');
    min-height: 70vh;
    padding-top: 160px;
    padding-bottom: 100px;
}

.page-header.category-terrasse {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../assets/terrasse.webp');
    min-height: 70vh;
    padding-top: 160px;
    padding-bottom: 100px;
}

.page-header.category-piscine {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../assets/piscine.jpg');
    min-height: 70vh;
    padding-top: 160px;
    padding-bottom: 100px;
}

/* Improved Breadcrumb Navigation - Under Header */
.breadcrumb-nav {
    background: #f8f9fa;
    border-bottom: 1px solid #eee;
    padding: 0.8rem 0;
}

.breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 0;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.breadcrumb-list li {
    display: flex;
    align-items: center;
}

.breadcrumb-list a {
    color: #888;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 4px 8px;
    border-radius: 4px;
}

.breadcrumb-list a:hover {
    color: var(--color-primary);
    background: rgba(0, 0, 0, 0.05);
}

.breadcrumb-list li:not(:last-child)::after {
    content: '';
    display: inline-block;
    width: 5px;
    height: 5px;
    border-right: 1.5px solid #ccc;
    border-top: 1.5px solid #ccc;
    transform: rotate(45deg);
    margin: 0 10px;
}

.breadcrumb-list li:last-child {
    color: #333;
    font-weight: 700;
    padding: 4px 8px;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.page-header p {
    color: white;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    opacity: 0.95;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    margin-top: 4rem;
    margin-bottom: 4rem;
}

.contact-sidebar {
    background: #f9f9f9;
    padding: 2rem;
    border-radius: var(--radius-md);
    height: fit-content;
}

.info-card {
    background: white;
    padding: 1.5rem;
    border-radius: var(--radius-sm);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.info-icon {
    background: #e8f5e9;
    color: var(--color-primary);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .page-header {
        height: 30vh;
    }

    .page-header h1 {
        font-size: 2rem;
    }
}


/* Values Section */
.icon-circle {
    transition: transform 0.3s ease;
}

.card:hover .icon-circle {
    transform: scale(1.1);
}

/* Team Section */
.team-member img {
    transition: transform 0.3s ease;
}

.team-member:hover img {
    transform: scale(1.05);
}

.team-member h4 {
    margin-top: 1rem;
    margin-bottom: 0.25rem;
    color: var(--color-text-main);
}

/* History Section Design */
.history-section {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.history-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.history-content {
    position: relative;
    z-index: 2;
}

.history-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.history-content h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--color-primary);
    border-radius: 2px;
}

.history-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 1.5rem;
}

.history-image-wrapper {
    position: relative;
    z-index: 1;
}

.history-image-wrapper img {
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
    width: 100%;
}

.history-image-wrapper::before {
    content: '';
    position: absolute;
    top: 20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--color-primary);
    border-radius: var(--radius-lg);
    z-index: 1;
    transition: transform 0.3s ease;
}

.history-image-wrapper:hover img {
    transform: translateY(-5px);
}

.history-image-wrapper:hover::before {
    transform: translate(10px, -10px);
}

@media (max-width: 900px) {
    .history-grid {
        grid-template-columns: 1fr;
    }

    .history-image-wrapper {
        order: -1;
        /* Image first on mobile */
        margin-bottom: 2rem;
    }
}


/* Values Section - Minimalist Style (Compact) */
.values-section {
    padding: 3rem 0;
    /* Reduced from 6rem */
    background-color: #fff;
}

.value-card {
    text-align: center;
    padding: 1rem;
    /* Reduced from 2rem */
    transition: transform 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
}

.value-icon-box {
    width: 60px;
    /* Reduced from 80px */
    height: 60px;
    margin: 0 auto 1rem;
    /* Reduced from 1.5rem */
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--color-primary);
    border-radius: 50%;
    color: var(--color-primary);
    font-size: 1.5rem;
    background: transparent;
    transition: all 0.3s ease;
}

.value-card:hover .value-icon-box {
    background: var(--color-primary);
    color: white;
    box-shadow: 0 10px 20px rgba(39, 174, 96, 0.2);
}

.value-number {
    display: none;
}

.value-content h3 {
    margin-bottom: 0.5rem;
    /* Reduced */
    font-size: 1.25rem;
    /* Slightly smaller title */
    color: #222;
}

.value-content p {
    color: #666;
    line-height: 1.5;
    font-size: 0.95rem;
    /* Slightly smaller text */
}

/* Utility Grid Classes */
.grid-2-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.grid-3-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.align-center {
    align-items: center;
}

@media (max-width: 900px) {

    .grid-2-cols,
    .grid-3-cols {
        grid-template-columns: 1fr;
    }
}


/* Stats Section - Green Energy Style */
.stats-section {
    background: #2E7D32;
    /* Darker Green */
    color: white;
    padding: 5rem 0;
    text-align: center;
}

.stats-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 3rem;
}

.stat-item .stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    line-height: 1;
    color: #ffffff;
}

.stat-item p {
    font-size: 1.2rem;
    font-weight: 500;
    opacity: 0.9;
    margin: 0;
    color: #ffffff;
}

@media (max-width: 768px) {
    .stats-grid {
        flex-direction: column;
        gap: 2rem;
    }
}

/* Final CTA - Glassmorphism Style */
.cta-glass {
    background: url('../assets/piscine.jpg') center/cover no-repeat;
    padding: 8rem 0;
    position: relative;
    /* Increased padding for impact */
    margin-top: 0;
}

.cta-glass::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    /* Overlay for text contrast */
}

.glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 4rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    color: white;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.glass-card h2 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    color: white;
}

.glass-card p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    color: white;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .glass-card {
        padding: 2rem;
        margin: 0 1rem;
    }

    .glass-card h2 {
        font-size: 2rem;
    }
}


/* Category Page Styles */
.category-intro {
    padding: 5rem 0;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.category-intro h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: var(--color-primary);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.benefit-card {
    background: #fdfdfd;
    padding: 2rem;
    border-radius: var(--radius-md);
    border-left: 4px solid var(--color-primary);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2.5rem;
    margin: 4rem 0;
}

.product-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #eee;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.product-image {
    height: 250px;
    background-color: #f0f0f0;
    position: relative;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-content {
    padding: 2rem;
}

.product-tag {
    background: #e8f5e9;
    color: var(--color-primary);
    font-size: 0.8rem;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 0.8rem;
}

.product-title {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: #222;
}

.product-specs {
    margin: 1rem 0;
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: #666;
    border-bottom: 1px solid #eee;
    padding-bottom: 1rem;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
}

.btn-product {
    display: block;
    width: 100%;
    text-align: center;
    background: #222;
    color: white;
    padding: 0.8rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: background 0.3s;
}

.btn-product:hover {
    background: var(--color-primary);
}

/* Modern Product Comparator - Hybrid A+B */
.product-comparator {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 3rem 0;
}

.comparator-row {
    display: grid;
    grid-template-columns: 240px 1fr 220px;
    background: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid #eee;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
}

.comparator-row:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-color: var(--color-primary);
}

.row-image-container {
    height: 100%;
    position: relative;
    overflow: hidden;
}

.row-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.comparator-row:hover .row-image-container img {
    transform: scale(1.1);
}

.row-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 2;
    background: var(--color-primary);
    color: white;
    font-size: 0.7rem;
    padding: 4px 12px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
}

.row-main-content {
    padding: 2rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.row-header {
    margin-bottom: 1.5rem;
}

.row-header h3 {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
    color: #222;
}

.row-description {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

.row-technical-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #f2f2f2;
}

.tech-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.tech-label {
    font-size: 0.75rem;
    color: #999;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.tech-value {
    font-size: 1rem;
    color: #333;
    font-weight: 700;
}

.row-price-action {
    background: #fdfdfd;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-left: 1px solid #f2f2f2;
    text-align: center;
}

.row-price-tag {
    margin-bottom: 1.5rem;
}

.row-price-value {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1;
}

.row-price-unit {
    font-size: 0.9rem;
    color: #999;
    font-weight: 500;
}

.btn-row-cta {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: #212121;
    color: white;
    text-decoration: none;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.3s;
    width: 100%;
}

.btn-row-cta:hover {
    background: var(--color-primary);
    transform: translateY(-2px);
}

@media (max-width: 900px) {
    .comparator-row {
        grid-template-columns: 1fr;
    }

    .row-image-container {
        height: 200px;
    }

    .row-price-action {
        border-left: none;
        border-top: 1px solid #f2f2f2;
        padding: 2rem;
    }

    .comparator-row:hover {
        transform: translateY(-5px);
    }
}

/* Storytelling Premium (Concept A) */
.storytelling-section {
    padding: 8rem 0;
    overflow: hidden;
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 6rem;
    align-items: center;
}

.story-image-stack {
    position: relative;
    padding-right: 15%;
}

.story-image-stack .main-img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
    z-index: 1;
    position: relative;
    transition: transform 0.5s ease;
}

.story-image-stack .overlap-img {
    position: absolute;
    bottom: -40px;
    right: 0;
    width: 55%;
    border: 10px solid white;
    border-radius: var(--radius-md);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    z-index: 2;
    transition: transform 0.7s ease;
}

.story-image-stack:hover .main-img {
    transform: translateY(-10px);
}

.story-image-stack:hover .overlap-img {
    transform: translate(-10px, -20px);
}

.story-content {
    position: relative;
}

.story-tag {
    color: var(--color-primary);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.85rem;
    display: block;
    margin-bottom: 1rem;
}

.story-content h2 {
    font-size: 2.8rem;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: #111;
}

.story-lead {
    font-size: 1.25rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 2rem;
}

.story-benefits-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 3rem;
}

.story-benefit-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.benefit-icon-box {
    width: 54px;
    height: 54px;
    background: #e8f5e9;
    color: var(--color-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s;
}

.story-benefit-item:hover .benefit-icon-box {
    background: var(--color-primary);
    color: white;
    transform: rotate(10deg);
}

.benefit-text h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #222;
}

.benefit-text p {
    font-size: 0.95rem;
    color: #666;
    margin: 0;
    line-height: 1.6;
}

@media (max-width: 900px) {
    .story-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .story-image-stack {
        padding-right: 0;
        margin-bottom: 4rem;
    }

    .story-content h2 {
        font-size: 2.2rem;
    }
}

/* Guide de Pose - Concept C (Pro Expert) */
.installation-pro-box {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: start;
    margin-top: 3rem;
}

.steps-list-pro {
    list-style: none;
    padding: 0;
}

.step-pro-item {
    padding: 1.5rem 0;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    transition: all 0.3s;
}

.step-pro-item:last-child {
    border-bottom: none;
}

.step-pro-item:hover {
    padding-left: 1rem;
}

.step-pro-item .step-num-dot {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f0f0f0;
    color: #999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.8rem;
    flex-shrink: 0;
    transition: all 0.3s;
}

.step-pro-item:hover .step-num-dot {
    background: var(--color-primary);
    color: white;
}

.step-pro-content h4 {
    font-size: 1.15rem;
    margin-bottom: 0.4rem;
    color: #222;
    transition: color 0.3s;
}

.step-pro-item:hover .step-pro-content h4 {
    color: var(--color-primary);
}

.step-pro-content p {
    font-size: 0.95rem;
    color: #666;
    margin: 0;
    line-height: 1.6;
}

.pro-tip-sidebar {
    background: #212121;
    color: white;
    padding: 3rem;
    border-radius: var(--radius-lg);
    position: relative;
    height: 100%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.pro-tip-sidebar::before {
    content: '';
    position: absolute;
    top: -12px;
    left: -12px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--color-primary);
    border-radius: var(--radius-lg);
    z-index: -1;
}

.pro-tip-tag {
    display: inline-block;
    background: var(--color-primary);
    color: white;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.pro-tip-sidebar h3 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.pro-tip-content {
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.8;
    opacity: 0.9;
    margin-bottom: 2rem;
    position: relative;
    padding-left: 2rem;
}

.pro-tip-content::before {
    content: '"';
    position: absolute;
    left: 0;
    top: 0;
    font-size: 3rem;
    color: var(--color-primary);
    font-family: serif;
    line-height: 1;
}

.pro-download-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    transition: opacity 0.3s;
}

.pro-download-btn:hover {
    opacity: 0.8;
}

@media (max-width: 900px) {
    .installation-pro-box {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .pro-tip-sidebar {
        order: -1;
        margin-bottom: 2rem;
    }
}

/* Modern Trust Bar - Hybrid A+C */
.modern-trust-bar {
    padding: 4rem 0;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
    background: #fff;
}

.trust-hybrid-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
}

.trust-hybrid-item {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
}

.trust-hybrid-icon {
    width: 42px;
    height: 42px;
    background: #e8f5e9;
    color: var(--color-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s;
}

.trust-hybrid-item:hover .trust-hybrid-icon {
    transform: scale(1.1) rotate(5deg);
    background: var(--color-primary);
    color: white;
}

.trust-hybrid-content h4 {
    font-size: 0.9rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #111;
    margin-bottom: 4px;
}

.trust-hybrid-content p {
    font-size: 0.85rem;
    color: #777;
    margin: 0;
    line-height: 1.5;
}

@media (max-width: 1100px) {
    .trust-hybrid-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
}

@media (max-width: 600px) {
    .trust-hybrid-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Hybrid FAQ - Split Accordion (C + A) */
.faq-hybrid-section {
    padding: 8rem 0;
    background: #fff;
}

.faq-hybrid-grid {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 6rem;
    align-items: start;
}

.faq-sidebar-content h2 {
    font-size: 2.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #111;
}

.faq-sidebar-content p {
    color: #888;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.faq-accordion-list {
    border-top: 1px solid #eee;
}

.faq-acc-item {
    border-bottom: 1px solid #eee;
}

.faq-acc-header {
    padding: 1.8rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    outline: none;
}

.faq-acc-header h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #333;
    transition: color 0.3s;
    margin: 0;
}

.faq-acc-header:hover h3 {
    color: var(--color-primary);
}

.faq-acc-content {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.4s ease;
    overflow: hidden;
}

.faq-acc-item.active .faq-acc-content {
    grid-template-rows: 1fr;
}

.faq-acc-inner {
    min-height: 0;
}

.faq-acc-content p {
    color: #666;
    font-size: 1rem;
    line-height: 1.7;
    margin: 0;
    padding-bottom: 1.8rem;
}

@media (max-width: 900px) {
    .faq-hybrid-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .faq-sidebar-content h2 {
        font-size: 2rem;
    }
}

.faq-acc-icon {
    color: #ccc;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

.faq-acc-item.active .faq-acc-icon {
    transform: rotate(180deg);
    color: var(--color-primary);
}

/* ============================================
   COMPREHENSIVE RESPONSIVE DESIGN
   Mobile First: 480px -> 768px -> 1100px -> 1600px
   ============================================ */

/* Mobile Navigation Styles */
.mobile-menu-btn {
    display: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.mobile-menu-btn svg {
    width: 28px;
    height: 28px;
    color: white;
}

/* Mobile Menu Overlay */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: none;
    flex-direction: column;
    padding: 80px 2rem 2rem;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.mobile-menu.active {
    display: flex;
    transform: translateX(0);
}

.mobile-menu-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-close svg {
    width: 32px;
    height: 32px;
}

.mobile-menu-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mobile-menu-section {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

.mobile-menu-section h3 {
    color: var(--color-primary);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mobile-menu-section h3 svg {
    width: 18px;
    height: 18px;
}

.mobile-menu-section ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mobile-menu-section a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    padding: 0.75rem 0;
    display: block;
    transition: color 0.2s ease;
}

.mobile-menu-section a:hover {
    color: var(--color-primary);
}

.mobile-menu-cta {
    margin-top: auto;
    padding-top: 2rem;
}

.mobile-menu-cta .btn {
    width: 100%;
    text-align: center;
}

/* ============================================
   MOBILE STYLES (≤ 768px)
   ============================================ */
@media (max-width: 768px) {

    /* Show mobile menu button */
    .mobile-menu-btn {
        display: block !important;
    }

    /* Hide desktop navigation */
    .nav-links {
        display: none !important;
    }

    /* Hide desktop CTA button in header */
    header .btn-cta {
        display: none;
    }

    /* Header adjustments */
    header {
        padding: 0.75rem 0;
    }

    .nav-container {
        padding: 0 1rem;
    }

    .logo-img {
        height: 50px;
    }

    /* Hero section mobile */
    .hero {
        height: 70vh;
        min-height: 500px;
    }

    .hero h1 {
        font-size: 2rem;
        line-height: 1.2;
    }

    .hero p {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .hero .btn {
        min-width: 150px;
        padding: 0.9rem 1.5rem;
        font-size: 0.85rem;
    }

    /* Page header mobile */
    .page-header {
        min-height: 40vh;
        padding-top: 100px;
        padding-bottom: 40px;
    }

    .page-header h1 {
        font-size: 1.8rem;
    }

    .page-header p {
        font-size: 1rem;
        padding: 0 1rem;
    }

    /* Section spacing */
    section {
        padding: 3rem 0;
    }

    .container {
        padding: 0 1rem;
    }

    /* Typography mobile */
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.6rem;
    }

    h3 {
        font-size: 1.2rem;
    }

    /* Grid layouts - single column */
    .benefits-grid,
    .value-cards-grid,
    .features-grid,
    .products-grid,
    .services-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
    }

    /* Story benefits list */
    .story-benefits-list {
        grid-template-columns: 1fr !important;
    }

    /* Trust hybrid grid */
    .trust-hybrid-container {
        grid-template-columns: 1fr 1fr !important;
        gap: 1rem;
    }

    /* Stats grid */
    .stats-inline {
        flex-direction: column;
        gap: 1.5rem;
    }

    .stat-item {
        min-width: auto;
    }

    /* Cards */
    .value-card,
    .benefit-card,
    .product-card {
        padding: 1.5rem;
    }

    /* Buttons stack on mobile */
    .hero div[style*="display: flex"] {
        flex-direction: column !important;
        gap: 1rem !important;
        align-items: center !important;
        padding: 0 1rem;
    }

    /* Contact form mobile */
    .contact-content {
        grid-template-columns: 1fr !important;
        gap: 2rem;
    }

    .contact-form-wrapper {
        padding: 1.5rem;
    }

    .form-row {
        grid-template-columns: 1fr !important;
    }

    /* FAQ mobile */
    .faq-hybrid-grid {
        grid-template-columns: 1fr !important;
    }

    /* Footer mobile */
    .footer-content {
        flex-direction: column !important;
        gap: 2rem !important;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    /* Breadcrumb mobile */
    .breadcrumb-nav {
        padding: 0.75rem 0;
    }

    .breadcrumb-list {
        font-size: 0.8rem;
        flex-wrap: wrap;
    }

    /* Category intro */
    .category-intro {
        padding: 2rem 0;
    }

    .category-intro h2 {
        font-size: 1.5rem;
    }

    /* Hide decorative elements on mobile */
    .floating-badge {
        display: none;
    }
}

/* ============================================
   SMALL MOBILE (≤ 480px)
   ============================================ */
@media (max-width: 480px) {
    html {
        font-size: 14px;
    }

    .hero {
        height: 60vh;
        min-height: 400px;
    }

    .hero h1 {
        font-size: 1.7rem;
    }

    .page-header {
        min-height: 35vh;
        padding-top: 90px;
    }

    .page-header h1 {
        font-size: 1.5rem;
    }

    .trust-hybrid-container {
        grid-template-columns: 1fr !important;
    }

    .carousel-card {
        min-width: 280px;
    }

    /* Smaller padding */
    section {
        padding: 2.5rem 0;
    }

    .container {
        padding: 0 0.75rem;
    }
}

/* ============================================
   TABLET STYLES (481px - 900px)
   ============================================ */
@media (min-width: 481px) and (max-width: 900px) {

    /* Two column grids */
    .benefits-grid,
    .value-cards-grid,
    .products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .story-benefits-list {
        grid-template-columns: 1fr !important;
    }

    /* Contact side by side on larger tablets */
    .contact-content {
        grid-template-columns: 1fr !important;
    }
}

/* ============================================
   LAPTOP STYLES (901px - 1100px)
   ============================================ */
@media (min-width: 901px) and (max-width: 1100px) {
    .container {
        max-width: 95%;
    }

    .benefits-grid,
    .value-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ============================================
   DESKTOP STYLES (1101px - 1600px)
   ============================================ */
@media (min-width: 1101px) and (max-width: 1600px) {
    .container {
        max-width: 1200px;
    }
}

/* ============================================
   LARGE SCREENS (> 1600px)
   ============================================ */
@media (min-width: 1601px) {
    html {
        font-size: 18px;
    }

    .container {
        max-width: 1400px;
    }

    .hero {
        height: 90vh;
    }

    .hero h1 {
        font-size: 4.5rem;
    }

    .benefits-grid,
    .value-cards-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    section {
        padding: 7rem 0;
    }
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {

    header,
    footer,
    .mobile-menu,
    .btn-cta {
        display: none !important;
    }

    .hero {
        height: auto;
        min-height: 200px;
    }

    section {
        page-break-inside: avoid;
    }
}