/* --- TABLE OF CONTENTS ---
1.  :root Variables (Colors, Fonts)
2.  Global Styles & Typography
3.  Header & Navigation
4.  Hero Section
5.  Philosophy Section
6.  Services Section
7.  Testimonials Section
8.  Booking (CTA) Section
9.  Footer
10. Responsive Design (Media Queries)
--------------------------*/
/* --- SMOOTH PAGE FADE-IN --- */

/* 1. :root Variables */
:root {
    --font-primary: 'Manrope', sans-serif;
    
    --color-background: #FDFBF8; /* A warm, soft off-white */
    --color-text-dark: #333333; /* Dark charcoal instead of pure black */
    --color-text-light: #6c6c6c;
    --color-primary-accent: #5D7A74; /* A muted, calming sage green */
    --color-white: #FFFFFF;
    --color-border: #EAEAEA;

    --spacing-xs: 0.5rem;   /* 8px */
    --spacing-sm: 1rem;     /* 16px */
    --spacing-md: 2rem;     /* 32px */
    --spacing-lg: 4rem;     /* 64px */
    --spacing-xl: 6rem;     /* 96px */
}

/* 2. Global Styles & Typography */
html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    background-color: var(--color-background);
    color: var(--color-text-dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3 {
    font-weight: 500;
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem; /* 56px */
    font-weight: 700;
}

h2 {
    font-size: 2.5rem; /* 40px */
    margin-bottom: var(--spacing-md);
    text-align: center;
}

p {
    margin-bottom: var(--spacing-sm);
    color: var(--color-text-light);
}

a {
    color: var(--color-primary-accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-text-dark);
}

/* --- Utility Classes for Buttons --- */
.cta-button-header, .cta-button-main, .cta-button-form {
    display: inline-block;
    padding: 0.9rem 2rem;
    border-radius: 50px;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.cta-button-header {
    background-color: transparent;
    border-color: var(--color-primary-accent);
    color: var(--color-primary-accent);
}

.cta-button-header:hover {
    background-color: var(--color-primary-accent);
    color: var(--color-white);
}

.cta-button-main, .cta-button-form {
    background-color: var(--color-primary-accent);
    color: var(--color-white);
}

.cta-button-main:hover, .cta-button-form:hover {
    background-color: #4a615c; /* Darker shade of accent */
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}


/* --- 3. Header & Navigation (NEW: Floating Glass Capsule) --- */
.main-header {
    position: fixed;
    top: 20px; /* Floats off the top edge */
    left: 0;
    width: 100%;
    padding: 0 var(--spacing-md);
    z-index: 1000;
    display: flex;
    justify-content: center;
    transition: top 0.3s ease;
}

/* The "Capsule" Container */
.nav-capsule {
    width: 100%;
    max-width: 1400px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 1.5rem;
    
    /* Glassmorphism Effect */
    background: rgba(255, 255, 255, 0.85); /* Milky white glass */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    
    /* Architecture */
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 100px; /* Full Pill Shape */
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); /* Subtle lift */
    
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Scrolled State (Capsule tightens up) */
.main-header.scrolled .nav-capsule {
    background: rgba(255, 255, 255, 0.95); /* More solid */
    padding: 0.6rem 1.5rem; /* Slightly smaller */
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    max-width: 1000px; /* Shrinks horizontally for focus */
}

/* Logo Styling */
.logo {
    font-family: var(--font-primary);
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--color-text-dark);
    text-decoration: none;
    letter-spacing: -0.5px;
    display: flex;
    align-items: baseline;
}

.logo-dot {
    color: var(--color-primary-accent); /* Sage Green Dot */
    font-size: 1.5rem;
    line-height: 0;
}

/* Navigation Links */
.main-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    position: relative;
    color: var(--color-text-dark);
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
}

/* "Tech Dot" Hover Effect */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 4px;
    height: 4px;
    background-color: var(--color-primary-accent);
    border-radius: 50%;
    transform: translateX(-50%) scale(0);
    transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.nav-link:hover {
    color: var(--color-text-dark); /* Keep dark */
}

.nav-link:hover::after {
    transform: translateX(-50%) scale(1); /* Pop the dot */
}

/* Header Actions (Right Side) */
.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* The "Pill" Button */
.cta-button-header {
    background-color: var(--color-text-dark);
    color: #FFFFFF;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta-button-header:hover {
    background-color: var(--color-primary-accent);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(93, 122, 116, 0.3);
    color: #FFFFFF !important; /* Force white text */
}

/* Hamburger Menu (Mobile) */
.hamburger-menu {
    display: none; /* Hidden on desktop */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger-line {
    width: 20px;
    height: 2px;
    background-color: var(--color-text-dark);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* --- RESPONSIVE MENU (NEW: Sanctuary Light Mode) --- */
@media (max-width: 992px) {
    
    /* 1. The Slide-Out Panel */
    .main-nav {
        position: fixed;
        top: 0;
        right: 0 !important;
        left: auto !important;
        
        height: 100vh;
        width: 85%;
        max-width: 400px;
        
        /* CHANGE: Clean White Background for Hygiene/Freshness */
        background-color: #FFFFFF; 
        border-left: 1px solid rgba(0,0,0,0.05);
        box-shadow: -10px 0 40px rgba(0,0,0,0.1);
        z-index: 1000;
        
        /* Layout */
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start; /* Left align for editorial look */
        padding: 3rem;
        
        /* Hiding Logic */
        transform: translateX(100%);
        visibility: hidden;
        transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1), visibility 0.5s ease;
        
        counter-reset: nav-counter;
        padding-top: 80px;
    }

    /* 2. The Overlay */
    body.mobile-nav-open::before {
        content: '';
        position: fixed;
        top: 0; left: 0; width: 100%; height: 100%;
        background: rgba(255, 255, 255, 0.8); /* Light, milky overlay */
        backdrop-filter: blur(5px);
        z-index: 999;
        opacity: 0;
        animation: fadeInOverlay 0.4s forwards;
        pointer-events: none;
    }
    
    body.mobile-nav-open::before {
        pointer-events: all;
    }

    @keyframes fadeInOverlay { to { opacity: 1; } }

    /* 3. Lock Body Scroll */
    body.mobile-nav-open {
        overflow: hidden;
    }

    /* 4. The Links (Dark Text on White) */
    .nav-link {
        font-family: var(--font-primary);
        font-size: 2.5rem;
        font-weight: 300;
        
        /* FIX: Dark Text so it is visible */
        color: var(--color-text-dark); 
        
        text-decoration: none;
        margin-bottom: 2rem;
        position: relative;
        padding-left: 0;
        
        display: flex;
        flex-direction: column;
        line-height: 1.1;
        
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.4s ease, transform 0.4s ease, color 0.3s;
    }

    /* The Number */
    .nav-link::before {
        counter-increment: nav-counter;
        content: "0" counter(nav-counter);
        position: relative;
        top: auto; left: auto;
        font-size: 0.8rem;
        font-weight: 700;
        color: var(--color-primary-accent); /* Sage Green */
        letter-spacing: 2px;
        margin-bottom: 0.5rem;
    }

    .nav-link:hover {
        color: var(--color-primary-accent);
        transform: translateX(10px) !important;
    }

    /* 5. Open State Animations */
    .mobile-nav-open .main-nav {
        transform: translateX(0);
        visibility: visible;
        right: 0 !important;
        left: auto !important;
    }

    /* Staggered Entrance */
    .mobile-nav-open .nav-link { opacity: 1; transform: translateY(0); }
    .mobile-nav-open .nav-link:nth-child(1) { transition-delay: 0.1s; }
    .mobile-nav-open .nav-link:nth-child(2) { transition-delay: 0.2s; }
    .mobile-nav-open .nav-link:nth-child(3) { transition-delay: 0.3s; }
    .mobile-nav-open .nav-link:nth-child(4) { transition-delay: 0.4s; }
    .mobile-nav-open .nav-link:nth-child(5) { transition-delay: 0.5s; }

    .cta-button-header { display: none; }
    
    .hamburger-menu {
        display: flex;
        z-index: 1001;
    }
    
    /* --- FIX: THE CROSS BUTTON COLOR --- */
    /* When menu is open, force the X to be DARK CHARCOAL so it shows on white */
    .mobile-nav-open .hamburger-line { 
        background-color: #333333 !important; 
    }
    
    .mobile-nav-open .hamburger-line:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
    .mobile-nav-open .hamburger-line:nth-child(2) { opacity: 0; }
    .mobile-nav-open .hamburger-line:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }
}
/* --- 4. Hero Section (NEW: The Blueprint Portal) --- */
.hero-section {
    height: 100vh;
    min-height: 700px;
    position: relative;
    display: flex;
    align-items: flex-end; /* Push content to bottom */
    overflow: hidden;
    color: #FFFFFF;
}

/* Video Background */
.hero-video-container {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 0;
}

.hero-video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Darker overlay for readability */
.video-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.3); /* 30% black tint */
    /* Gradient from bottom up to make text pop */
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 50%);
    z-index: 1;
}

/* --- THE VIEWFINDER UI --- */
.hero-ui-layer {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr; /* Split Left/Right */
    align-items: end; /* Align to bottom */
    padding-bottom: 4rem; /* Space from bottom edge */
}

/* -- Technical Markers (The "Unique" Touch) -- */
.ui-marker {
    position: absolute;
    width: 20px;
    height: 20px;
    border-color: rgba(255,255,255,0.3);
    border-style: solid;
    pointer-events: none;
}

.ui-marker.top-left {
    top: 120px; /* Below header */
    left: var(--spacing-md);
    border-width: 2px 0 0 2px; /* Top & Left borders */
}

.ui-marker.top-right {
    top: 120px;
    right: var(--spacing-md);
    border-width: 2px 2px 0 0; /* Top & Right borders */
}

/* Center Crosshair */
.ui-crosshair {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 40px; height: 40px;
    pointer-events: none;
}
.ui-crosshair::before, .ui-crosshair::after {
    content: '';
    position: absolute;
    background-color: rgba(255,255,255,0.2);
}
.ui-crosshair::before { top: 19px; left: 0; width: 100%; height: 1px; } /* Horizontal */
.ui-crosshair::after { left: 19px; top: 0; height: 100%; width: 1px; } /* Vertical */


/* --- LEFT SIDE: HEADLINE --- */
.hero-headline-wrapper {
    padding-right: 2rem;
    border-right: 1px solid rgba(255,255,255,0.2); /* Divider line */
}

.hero-badge {
    display: inline-block;
    font-family: var(--font-primary);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: 1px solid rgba(255,255,255,0.4);
    padding: 5px 12px;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(5px);
}

.hero-headline-wrapper h1 {
    font-family: var(--font-primary);
    font-size: 5rem; /* Massive Editorial Size */
    font-weight: 300; /* Thin/Elegant */
    line-height: 0.95;
    color: #FFFFFF;
    text-shadow: 0 20px 40px rgba(0,0,0,0.3);
    margin: 0;
}

/* --- RIGHT SIDE: ACTION --- */
.hero-action-wrapper {
    padding-left: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
    max-width: 500px;
}

.hero-action-wrapper p {
    font-size: 1.25rem;
    line-height: 1.5;
    color: rgba(255,255,255,0.9);
    margin-bottom: 2rem;
    font-weight: 300;
}

.hero-btn-group {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.cta-link {
    color: #FFFFFF;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.cta-link:hover {
    border-bottom: 1px solid #FFFFFF;
    color: #FFFFFF;
    transform: translateX(5px);
}

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
    .hero-ui-layer {
        grid-template-columns: 1fr; /* Stack Layout */
        align-content: end;
        gap: 2rem;
        padding-bottom: 3rem;
    }
    
    .hero-headline-wrapper {
        border-right: none;
        padding-right: 0;
        border-bottom: 1px solid rgba(255,255,255,0.2);
        padding-bottom: 2rem;
    }
    
    .hero-headline-wrapper h1 {
        font-size: 3.5rem;
    }
    
    .hero-action-wrapper {
        padding-left: 0;
    }
    
    .ui-crosshair { display: none; } /* Hide crosshair on mobile */
}
/* CINEMATIC VIDEO FILTER */
.hero-video-container video {
    /* This tones down the bright red overalls to look more professional/matte */
    filter: saturate(0.7) contrast(1.1); 
}

/* 5. Philosophy Section (NEW: Technical Specs) */
.philosophy-section {
    position: relative;
    padding: var(--spacing-xl) 0;
    color: var(--color-text-dark);
    overflow: visible; /* Allow cards to overlap parallax if needed */
}

/* Parallax Background Image (Technical Gradient) */
.philosophy-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at center, #FFFFFF 0%, #E8EAEF 100%);
    /* Subtle Technical Grid Overlay */
    background-image: 
        linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 0;
}

.philosophy-section .container {
    position: relative;
    z-index: 2;
}

/* Header Styling */
.philosophy-header {
    text-align: center;
    margin-bottom: 5rem; /* More space for the staggered cards */
}

.section-eyebrow {
    display: block;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 1rem;
    color: var(--color-primary-accent); /* Sage Green */
    font-weight: 700;
}

.philosophy-header .section-title {
    font-family: var(--font-primary);
    font-size: 3.5rem;
    line-height: 1.1;
    font-weight: 700;
    margin: 0;
    letter-spacing: -1px;
    color: var(--color-text-dark);
}

/* Grid Layout - Staggered */
.philosophy-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
    align-items: start; /* Allows staggering */
}

/* Stagger Effects */
.card-up {
    margin-top: 0;
}
.card-down {
    margin-top: 4rem; /* Pushes the second card down */
}

/* --- TECHNICAL SPEC CARD --- */
.philosophy-card {
    background: #FFFFFF;
    padding: 3rem 2.5rem;
    border: 1px solid rgba(0,0,0,0.05); /* Subtle border */
    border-top: 4px solid var(--color-text-dark); /* Industrial Top Bar */
    border-radius: 2px; /* Sharp corners */
    box-shadow: 0 20px 50px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.philosophy-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
}

/* Giant Background Number */
.card-bg-number {
    position: absolute;
    top: -20px;
    right: -20px;
    font-family: serif; /* Classic font for contrast */
    font-size: 10rem;
    line-height: 1;
    color: rgba(0,0,0,0.03); /* Very faint watermark */
    font-weight: 700;
    pointer-events: none;
}

.card-icon {
    color: var(--color-primary-accent);
    margin-bottom: 1.5rem;
}

.philosophy-card h3 {
    font-family: var(--font-primary);
    font-size: 2.2rem;
    line-height: 1.1;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--color-text-dark);
    letter-spacing: -0.5px;
}

.philosophy-card p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--color-text-light);
    margin-bottom: 2.5rem;
}

/* --- DATA VISUALIZATION (The "Specs") --- */
.spec-data {
    border-top: 1px solid var(--color-border);
    padding-top: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.spec-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    color: var(--color-text-dark);
}

.spec-bar-container {
    flex-grow: 1;
    height: 4px;
    background-color: #eee;
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}

.spec-bar {
    height: 100%;
    background-color: var(--color-primary-accent);
}

/* Bar Widths */
.fill-zero { width: 0%; } /* 0% Toxins */
.fill-tiny { width: 10%; } /* Top 1% (visual representation) */

.spec-value {
    font-family: var(--font-primary);
    font-weight: 700;
    color: var(--color-text-dark);
    font-size: 1rem;
}

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
    .philosophy-grid {
        grid-template-columns: 1fr; /* Stack on mobile */
        gap: 2rem;
    }
    .card-down {
        margin-top: 0; /* Remove stagger on mobile for clean stacking */
    }
    .philosophy-header .section-title {
        font-size: 2.5rem;
    }
}
/* --- 6. Services Section (NEW: Industrial Studio) --- */
.services-section {
    padding: var(--spacing-xl) 0;
    background-color: #F0F2F5; /* Cool, technical grey */
    position: relative;
    /* Subtle technical grid background */
    background-image: 
        linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
    background-size: 20px 20px;
}

/* Header Styling */
.services-header {
    max-width: 800px;
    margin-bottom: var(--spacing-lg);
    padding-left: var(--spacing-md);
    border-left: 4px solid var(--color-primary-accent); /* Thicker, bolder accent line */
}

.services-header .section-title {
    text-align: left;
    font-family: var(--font-primary);
    font-weight: 700; /* Bolder weight */
    font-size: 3.5rem;
    line-height: 1;
    color: var(--color-text-dark);
    margin-bottom: 1rem;
    letter-spacing: -1px;
    text-transform: uppercase; /* Industrial feel */
}

.section-desc {
    font-size: 1.2rem;
    color: var(--color-text-light);
    max-width: 500px;
    font-weight: 500;
}

/* Grid Layout */
.services-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
    padding: 0 var(--spacing-md);
}

/* Card Styling */
.service-card {
    background-color: transparent;
    border: none;
    box-shadow: none;
    overflow: visible;
    transition: transform 0.3s ease;
    position: relative;
}

.service-card:hover {
    transform: translateY(-5px);
}

/* Image Wrapper */
.service-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4; /* Taller ratio fits your vertical photos perfectly */
    overflow: hidden;
    border-radius: 2px; /* Sharp corners */
    margin-bottom: 2rem;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15); /* Deeper shadow */
    border: 1px solid rgba(0,0,0,0.1);
}

.service-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    filter: contrast(1.1) saturate(0.9); /* Slight "Technical" filter */
}

.service-card:hover img {
    transform: scale(1.05);
}

/* Content Styling */
.service-content {
    position: relative;
    padding-right: 1rem;
}

/* The "Tech" Button */
.service-btn {
    position: absolute;
    top: -3.5rem;
    right: 1rem;
    width: 64px;
    height: 64px;
    background-color: var(--color-text-dark); /* Dark Charcoal */
    border-radius: 0; /* Square button = Industrial */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    z-index: 10;
    border: 2px solid #FFFFFF;
}

.service-card:hover .service-btn {
    background-color: var(--color-primary-accent); /* Turns Sage Green */
    transform: translateY(-5px);
}

/* Typography */
.service-number {
    display: block;
    font-family: var(--font-primary);
    font-size: 1.2rem; /* Bigger number */
    font-weight: 800;
    color: rgba(0,0,0,0.1); /* Subtle watermark style */
    margin-bottom: 0.5rem;
    line-height: 1;
}

.service-card h3 {
    font-family: var(--font-primary);
    font-size: 1.8rem;
    font-weight: 700; /* Bold */
    color: var(--color-text-dark);
    margin-bottom: 0.8rem;
    line-height: 1.1;
    letter-spacing: -0.5px;
}

.service-card p {
    font-size: 1rem;
    color: var(--color-text-light);
    line-height: 1.6;
    margin-bottom: 0;
}

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
    .services-container {
        grid-template-columns: repeat(2, 1fr);
    }
    .services-header .section-title {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .services-container {
        grid-template-columns: 1fr; /* Stack on mobile */
        gap: 4rem;
    }
    .service-image-wrapper {
        aspect-ratio: 3 / 4; /* Keep portrait ratio on mobile */
    }
    .service-btn {
        top: -2.5rem;
        right: 0;
    }
}

/* 7. Testimonials Section (FIXED: Architectural Studio) */
/* 7. Testimonials Section (FIXED: Architectural Layout) */
.testimonials-section {
    background-color: #FFFFFF;
    padding: 0;
    border-bottom: 1px solid var(--color-border);
    overflow: hidden;
}

.testimonial-grid {
    display: grid;
    /* Fixed width sidebar (400px) + Flexible content area */
    grid-template-columns: 400px 1fr; 
    min-height: 600px;
    border-top: 1px solid var(--color-border);
}

/* --- LEFT SIDEBAR (The "Trust Center") --- */
.testimonial-sidebar {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: var(--spacing-xl);
    border-right: 1px solid var(--color-border);
    background-color: #FDFBF8;
}

.section-title {
    font-family: var(--font-primary);
    font-weight: 300;
    font-size: 4rem;
    line-height: 1;
    color: var(--color-text-dark);
    margin-bottom: var(--spacing-lg);
    letter-spacing: -2px;
}

/* Trust Badge */
.trust-badge .score {
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-text-dark);
    line-height: 1;
    display: block;
}
.trust-badge .stars {
    color: var(--color-primary-accent);
    font-size: 1.5rem;
    margin: 10px 0;
    letter-spacing: 2px;
}
.trust-badge .label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text-light);
    font-weight: 600;
}

/* Controls - Anchored to bottom left (NOT FLOATING) */
.testimonial-controls {
    display: flex;
    gap: 0;
    margin-top: auto; 
}

.slider-btn {
    /* FIX: Changed from absolute to relative positioning */
    position: relative; 
    top: auto; 
    transform: none;
    left: auto;
    right: auto;
    
    width: 80px;
    height: 80px;
    background-color: #FFFFFF;
    border: 1px solid var(--color-border);
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--color-text-dark);
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: -1px;
}

.slider-btn:hover {
    background-color: var(--color-primary-accent);
    color: #fff;
    border-color: var(--color-primary-accent);
    z-index: 2;
}

/* --- RIGHT VIEWPORT (The "Stage") --- */
.testimonial-viewport {
    padding: var(--spacing-xl);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.testimonial-slider-container {
    width: 100%;
    overflow: hidden;
}

.testimonial-slider {
    display: flex;
    width: 100%;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.testimonial-slide {
    flex: 0 0 100%;
    width: 100%;
    box-sizing: border-box;
    padding-right: var(--spacing-xl);
    opacity: 0;
    animation: fadeIn 0.5s forwards;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

.quote-icon {
    font-family: serif;
    font-size: 10rem;
    line-height: 0;
    color: rgba(93, 122, 116, 0.1);
    margin-bottom: 3rem;
    display: block;
    height: 40px;
}

.testimonial-text {
    font-family: var(--font-primary);
    font-size: 2rem;
    font-weight: 300;
    line-height: 1.5;
    color: var(--color-text-dark);
    margin-bottom: 3rem;
}

.testimonial-meta {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-top: 1px solid var(--color-border);
    padding-top: 1.5rem;
    width: 100%;
}

.meta-info cite {
    display: block;
    font-style: normal;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--color-text-dark);
    margin-bottom: 0.2rem;
}

.meta-info span {
    font-size: 0.9rem;
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.verified-tag {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 8px 16px;
    border: 1px solid var(--color-primary-accent);
    color: var(--color-primary-accent);
    border-radius: 50px;
    font-weight: 600;
}

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
    .testimonial-grid {
        grid-template-columns: 1fr; /* Stack on tablet/mobile */
        border-top: none;
    }
    .testimonial-sidebar {
        border-right: none;
        border-bottom: 1px solid var(--color-border);
        flex-direction: row;
        align-items: flex-end;
        padding: var(--spacing-md);
    }
    .section-title { font-size: 2.5rem; margin-bottom: 0; }
    .trust-badge { display: none; }
    .testimonial-controls { margin-top: 0; }
    .slider-btn { width: 60px; height: 60px; font-size: 1.2rem; }
    
    .testimonial-viewport {
        padding: var(--spacing-md);
        min-height: 400px;
    }
    .testimonial-slide { padding-right: 0; }
    .testimonial-text { font-size: 1.3rem; }
    .quote-icon { font-size: 6rem; margin-bottom: 1.5rem; }
}

@media (max-width: 600px) {
    .testimonial-sidebar {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    .testimonial-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}
/* 8. Booking (CTA) Section */
.booking-section {
    padding: var(--spacing-xl) var(--spacing-md);
    text-align: center;
}

.booking-subtitle {
    max-width: 600px;
    margin: 0 auto var(--spacing-md) auto;
}

.booking-form {
    display: flex;
    justify-content: center;
    max-width: 600px;
    margin: 0 auto;
    gap: var(--spacing-sm);
}

.booking-input {
    flex-grow: 1;
    padding: 0.9rem 1.5rem;
    border: 1px solid var(--color-border);
    border-radius: 50px;
    font-size: 1rem;
    font-family: var(--font-primary);
}

.booking-input:focus {
    outline: none;
    border-color: var(--color-primary-accent);
    box-shadow: 0 0 0 3px rgba(93, 122, 116, 0.2);
}

/* 9. Footer (NEW: Editorial Studio Style) */
.studio-footer {
    background-color: #0f0f0f; /* Deepest Black */
    color: #FDFBF8; /* Cream text */
    position: relative;
    overflow: hidden;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--spacing-xl) var(--spacing-md) 0;
    position: relative;
    z-index: 2;
}

/* --- 1. INFINITE MARQUEE --- */
.footer-marquee {
    background-color: var(--color-primary-accent); /* Sage Green */
    padding: 0.8rem 0;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    z-index: 5;
}

.marquee-track {
    display: inline-block;
    animation: marquee 20s linear infinite;
    color: var(--color-white);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 2px;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* --- 2. TOP SECTION --- */
.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-end; /* Align text bottom with button */
    padding-bottom: var(--spacing-xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: var(--spacing-xl);
}

.super-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.6;
    margin-bottom: 1rem;
    display: block;
}

.footer-headline h2 {
    font-family: var(--font-primary);
    font-size: 4.5rem;
    line-height: 1;
    font-weight: 300; /* Editorial thin */
    margin: 0;
    color: #FDFBF8;
}

/* --- MAGNETIC BUTTON (Polished) --- */
.magnetic-button {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--color-white);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    text-transform: uppercase;
    text-align: center;
    overflow: hidden; /* For fill effect */
    transition: border-color 0.3s;
}

.magnetic-button .btn-text {
    position: relative;
    z-index: 2;
}

.magnetic-button .btn-fill {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: var(--color-primary-accent);
    border-radius: 50%;
    transform: scale(0); /* Hidden initially */
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 1;
}

.magnetic-button:hover {
    border-color: transparent;
}

.magnetic-button:hover .btn-fill {
    transform: scale(1); /* Fill on hover */
}

/* --- 3. GRID SECTION --- */
.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.footer-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.4);
    margin-bottom: var(--spacing-md);
}

.footer-grid-item a, 
.contact-info p {
    display: block;
    color: #FDFBF8;
    font-size: 1.15rem; /* Slightly larger for readability */
    margin-bottom: 0.8rem;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s, transform 0.3s;
}

.footer-grid-item nav a:hover,
.social-links a:hover {
    opacity: 1;
    transform: translateX(5px);
    color: var(--color-primary-accent);
}

/* Status Badge */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.05);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(255,255,255,0.1);
}
.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #4CD964; /* Bright Green */
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(76, 217, 100, 0.7);
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(76, 217, 100, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(76, 217, 100, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(76, 217, 100, 0); }
}

/* --- 4. BRAND MARK WITH GLOW --- */
.footer-brand-mark {
    text-align: center;
    position: relative;
    padding-top: 2rem;
}

/* Ambient Glow Behind Text */
.glow-spot {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 100px;
    background: radial-gradient(circle, rgba(93, 122, 116, 0.15) 0%, rgba(0,0,0,0) 70%);
    filter: blur(40px);
    z-index: -1;
}

.footer-brand-mark span {
    display: block;
    font-size: 14vw; /* Massive */
    font-weight: 700;
    line-height: 0.8;
    color: #FDFBF8;
    opacity: 0.08; /* Subtle blend */
    letter-spacing: -0.03em;
    user-select: none;
}

/* --- 5. COPYRIGHT --- */
.footer-copyright {
    display: flex;
    justify-content: space-between;
    padding: var(--spacing-md) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.85rem;
    opacity: 0.4;
}
.footer-copyright a {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.3);
}

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
    .footer-top {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-lg);
    }
    .footer-headline h2 { font-size: 3rem; }
    .magnetic-button { width: 120px; height: 120px; font-size: 1rem; align-self: flex-start; }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
    .footer-brand-mark span { font-size: 18vw; }
}

/* 10. Responsive Design (Media Queries) */
@media (max-width: 992px) {
    h1 { font-size: 2.8rem; }
    h2 { font-size: 2rem; }
    
    .hero-content-container {
        width: 70%;
    }

    .philosophy-content {
        flex-direction: column;
        align-items: center;
    }

    .philosophy-panel {
        width: 80%;
    }
}

@media (max-width: 768px) {
    html { font-size: 15px; }
    
    .cta-button-header { display: none; }

    .hero-section {
        display: block; /* Stack video and content */
        text-align: center;
    }

    .hero-video-container {
        /* On mobile, might be better to use a static image for performance */
        background: url('../assets/Image/aura-clean-poster.png') center center/cover;
    }

    .hero-video-container video { display: none; }

    .hero-content-container {
        width: 100%;
        height: 100%;
        margin-left: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        background-color: rgba(253, 251, 248, 0.7); /* Darker overlay for readability */
        padding: var(--spacing-md);
    }
    
    .philosophy-panel { width: 100%; }
    
    .services-container {
        grid-template-columns: 1fr; /* Stack service cards */
    }

    .booking-form {
        flex-direction: column;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
    }
}/* --- 11. Scroll Animation States --- */

/* Initial state for elements that will be animated */
.philosophy-panel,
.service-card,
.testimonial-container,
.booking-section h2,
.booking-section .booking-form {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* The state when the 'visible' class is added by JavaScript */
.philosophy-panel.visible,
.service-card.visible,
.testimonial-container.visible,
.booking-section h2.visible,
.booking-section .booking-form.visible {
    opacity: 1;
    transform: translateY(0);
}
/* --- NEW STYLES (APPEND TO CSS FILE) --- */

/* 11. Trust Stats Section */
.trust-stats-section {
    background-color: #1a1918; /* Warm Charcoal to match Transformation section */
    padding: 4rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 2; /* Sits above other elements */
}

.stats-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

/* The Stat Container */
.stat-item {
    text-align: center;
    flex: 1;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* The Number (Massive & Bold) */
.stat-number {
    font-family: var(--font-primary);
    font-size: 5rem;
    font-weight: 700;
    line-height: 1;
    color: #FDFBF8; /* Cream */
    display: inline-block;
}

/* The Suffix (+, %) */
.stat-suffix {
    font-size: 2.5rem;
    color: var(--color-primary-accent); /* Sage Green */
    font-weight: 300;
    vertical-align: top;
    margin-left: 5px;
    position: relative;
    top: -1.5rem; /* Lift it up slightly */
}

/* The Label (Technical Spec Style) */
.stat-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 0.5rem;
    line-height: 1.4;
}

/* Vertical Dividers */
.stat-divider {
    width: 1px;
    height: 80px;
    background: linear-gradient(to bottom, 
        rgba(255,255,255,0), 
        rgba(255,255,255,0.2), 
        rgba(255,255,255,0)); /* Faded edges */
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .trust-stats-section {
        padding: 3rem 0;
    }
    
    .stats-grid {
        flex-direction: column;
        gap: 2rem;
    }

    .stat-divider {
        width: 100px;
        height: 1px; /* Horizontal line on mobile */
        background: linear-gradient(to right, 
            rgba(255,255,255,0), 
            rgba(255,255,255,0.2), 
            rgba(255,255,255,0));
    }

    .stat-number {
        font-size: 4rem;
    }
    
    .stat-suffix {
        font-size: 2rem;
        top: -1rem;
    }
}

/* 12. About Us Section (NEW: Executive Manifesto) --- */
.about-section {
    padding: var(--spacing-xl) 0;
    background-color: #FFFFFF; /* Crisp White to contrast the Grey Services */
    position: relative;
    overflow: hidden;
}

.about-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr; /* Portrait is narrower than text */
    gap: 5rem;
    align-items: center;
}

/* --- THE PORTRAIT (Left) --- */
.about-image-wrapper {
    position: relative;
    z-index: 1;
}

.about-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    position: relative;
    z-index: 2;
    filter: grayscale(100%) contrast(1.1); /* Black & White for "Studio" look */
    transition: filter 0.5s ease;
}

.about-image-wrapper:hover img {
    filter: grayscale(0%) contrast(1); /* Color reveal on hover */
}

/* The Technical Border Frame */
.image-frame {
    position: absolute;
    top: 20px;
    left: -20px; /* Offset to the left */
    width: 100%;
    height: 100%;
    border: 2px solid var(--color-text-dark);
    z-index: 1;
    transition: transform 0.3s ease;
}

.about-image-wrapper:hover .image-frame {
    transform: translate(10px, -10px); /* Subtle movement on hover */
}

/* --- THE CONTENT (Right) --- */
.about-content {
    padding-right: var(--spacing-lg);
}

.about-header {
    margin-bottom: 2.5rem;
}

.eyebrow {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-primary-accent); /* Sage Green */
    font-weight: 700;
    display: block;
    margin-bottom: 1rem;
}

.about-content .section-title {
    font-size: 3.5rem;
    text-align: left;
    margin-bottom: 0;
    line-height: 1.1;
}

/* The Quote Text */
.manifesto-body {
    border-left: 4px solid var(--color-border); /* Structural Line */
    padding-left: 2rem;
    margin-bottom: 3rem;
}

.manifesto-body p {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
}

.manifesto-body p:first-child {
    font-size: 1.4rem; /* Lead paragraph is larger */
    color: var(--color-text-dark);
    font-weight: 400;
}

/* The Signature */
.signature-block {
    display: inline-block;
}

.sig-line {
    width: 60px;
    height: 2px;
    background-color: var(--color-primary-accent);
    margin-bottom: 1rem;
}

.founder-name {
    font-family: var(--font-primary); /* Using primary font for clean industrial look */
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text-dark);
    margin-bottom: 0.2rem;
    letter-spacing: -0.5px;
}

.founder-title {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text-light);
}

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-image-wrapper {
        max-width: 400px; /* Limit size on tablet */
        margin: 0 auto;
    }
    .image-frame {
        left: 15px; /* Adjust offset for centered image */
        top: 15px;
    }
    
    .about-content {
        padding-right: 0;
        text-align: center;
    }
    
    .about-content .section-title {
        text-align: center;
    }
    
    .manifesto-body {
        border-left: none; /* Remove side line on mobile */
        padding-left: 0;
        border-top: 1px solid var(--color-border); /* Switch to top line */
        padding-top: 2rem;
    }
    
    .signature-block {
        margin: 0 auto;
    }
    .sig-line {
        margin: 0 auto 1rem auto;
    }
}


/* 14. UPDATED Footer */
.main-footer {
    background-color: #2c2c2c; /* Darker background for a premium feel */
    color: #a0a0a0; /* Softer text color */
}
.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    border-bottom: 1px solid #444;
}
.footer-column h3 {
    color: var(--color-white);
    margin-bottom: var(--spacing-sm);
    font-size: 1.2rem;
    text-align: left;
}
.footer-logo { font-size: 1.75rem; }
.footer-about p { color: #a0a0a0; margin-bottom: 0; }
.footer-link {
    display: block;
    margin-bottom: var(--spacing-xs);
    color: #a0a0a0;
}
.footer-link:hover { color: var(--color-white); }
.footer-column p { color: #a0a0a0; margin-bottom: var(--spacing-xs); }
.newsletter-form {
    display: flex;
    margin-top: var(--spacing-sm);
}
.newsletter-input {
    flex-grow: 1;
    padding: 0.75rem;
    border: 1px solid #555;
    background-color: #333;
    color: var(--color-white);
    border-radius: 4px 0 0 4px;
    font-family: var(--font-primary);
}
.newsletter-input:focus { outline: none; border-color: var(--color-primary-accent); }
.newsletter-button {
    padding: 0 1rem;
    background-color: var(--color-primary-accent);
    color: var(--color-white);
    border: none;
    cursor: pointer;
    border-radius: 0 4px 4px 0;
    font-size: 1.5rem;
    transition: background-color 0.3s ease;
}
.newsletter-button:hover { background-color: #4a615c; }
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
.footer-socials a {
    color: #a0a0a0;
    margin-right: var(--spacing-sm);
    border: 1px solid #555;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
}
.footer-socials a:hover {
    background-color: var(--color-primary-accent);
    border-color: var(--color-primary-accent);
    color: var(--color-white);
}

/* 15. UPDATED Responsive Styles */
@media (max-width: 992px) {
    .about-container {
        flex-direction: column;
        text-align: center;
    }
    .about-heading {
        text-align: center;
    }
}
@media (max-width: 768px) {
    .trust-stats-section {
        flex-direction: column;
        gap: var(--spacing-md);
    }
    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    .testimonial-slide {
        padding: 0;
    }
}

/* --- NEW STYLES (APPEND TO CSS FILE) --- */

/* --- 7. How It Works Section (NEW: Technical Timeline) --- */
.process-section {
    padding: var(--spacing-xl) 0;
    background-color: #FFFFFF; /* Clean White Base */
    position: relative;
}

/* Header */
.process-header {
    margin-bottom: 5rem;
    padding-left: var(--spacing-md);
}

.process-header .section-title {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 3.5rem;
    line-height: 1.1;
    color: var(--color-text-dark);
    text-align: left;
    letter-spacing: -1px;
    margin: 0;
}

/* Grid Layout */
.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 Equal Columns */
    gap: 2rem;
    padding: 0 var(--spacing-md);
}

/* Step Styling */
.process-step {
    position: relative;
    /* No background card - keeping it open and architectural */
}

/* The "Timeline" Indicator */
.step-indicator {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.step-number {
    font-family: var(--font-primary);
    font-size: 3rem;
    font-weight: 800;
    color: var(--color-text-dark);
    line-height: 1;
    letter-spacing: -2px;
}

/* The Horizontal Bar */
.step-bar {
    height: 4px;
    flex-grow: 1; /* Stretches to fill space */
    background-color: var(--color-primary-accent); /* Sage Green */
    border-radius: 2px;
    opacity: 0.3;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform-origin: left;
}

/* Hover Effect: Bar lights up and grows */
.process-step:hover .step-bar {
    opacity: 1;
    transform: scaleX(1.05);
    background-color: var(--color-primary-accent);
}

/* Text Styling */
.process-step h3 {
    font-family: var(--font-primary);
    font-size: 2rem;
    font-weight: 400; /* Clean & Modern */
    color: var(--color-text-dark);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.process-step p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--color-text-light);
    max-width: 300px;
}

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
    .process-grid {
        grid-template-columns: 1fr; /* Stack vertically */
        gap: 4rem;
    }
    
    .process-header .section-title {
        font-size: 2.5rem;
    }
    
    /* On mobile, hide the horizontal bar or adjust it */
    .step-bar {
        width: 50px; /* Fixed width instead of flex-grow */
        flex-grow: 0;
    }
}
/* 17. Quote Calculator (NEW: "The Control Panel" Aesthetics) */
.quote-section {
    background-color: #050505; /* Pure void black */
    padding: var(--spacing-xl) var(--spacing-md);
    position: relative;
    /* Subtle grid background for tech feel */
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
}

.quote-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

/* --- LEFT SIDE: THE CONFIGURATOR --- */
.quote-form-container {
    padding: 0;
}

.quote-form-container h2 {
    font-family: var(--font-primary);
    font-weight: 300;
    font-size: 3.5rem;
    color: #FDFBF8;
    margin-bottom: 0.5rem;
    line-height: 1;
    letter-spacing: -1px;
}

.quote-subtitle {
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.form-group label {
    display: block;
    margin-bottom: 1rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-primary-accent);
    font-weight: 700;
}

/* --- DIAL INPUTS (Bedrooms/Bathrooms) --- */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.number-input {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 0.5rem;
    transition: all 0.3s ease;
}

.number-input:hover {
    border-color: var(--color-primary-accent);
    box-shadow: 0 0 20px rgba(93, 122, 116, 0.1);
}

.number-input input {
    width: 50px;
    background: transparent;
    border: none;
    color: #FDFBF8;
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
}

.number-input button {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: none;
    background-color: rgba(255, 255, 255, 0.05);
    color: #FDFBF8;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.number-input button:hover {
    background-color: var(--color-primary-accent);
    color: #fff;
}

/* --- SMART TILES (Add-ons) --- */
/* This transforms the boring checkboxes into clickable cards */
.checkbox-group {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 Columns */
    gap: 1rem;
}

.custom-checkbox {
    position: relative;
    cursor: pointer;
    user-select: none;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.5rem 1rem;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Hover State */
.custom-checkbox:hover {
    background-color: rgba(255, 255, 255, 0.06);
    transform: translateY(-5px);
}

/* Selected State (The Magic) */
/* Note: Using :has() selector for modern browsers, with fallback logic */
.custom-checkbox:has(input:checked) {
    background-color: var(--color-primary-accent); /* Sage Green Fill */
    border-color: var(--color-primary-accent);
    color: #FFFFFF;
    box-shadow: 0 10px 30px rgba(93, 122, 116, 0.3); /* Neon Glow */
    transform: translateY(-5px);
}

/* Hide the actual checkbox and the old checkmark span */
.custom-checkbox input,
.custom-checkbox .checkmark {
    display: none;
}

/* --- RIGHT SIDE: THE FLOATING GLASS CARD --- */
.quote-display-container {
    position: relative;
    background: rgba(255, 255, 255, 0.05); /* Glassy */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

/* Decorative Gradient Blob behind the card */
.quote-display-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(93, 122, 116, 0.2) 0%, transparent 60%);
    pointer-events: none;
    z-index: -1;
}

.quote-display-container p {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.6;
    margin-bottom: 0;
    color: #FDFBF8;
}

.price-display {
    font-family: var(--font-primary);
    font-size: 4.5rem; /* Massive Price */
    font-weight: 700;
    color: #FDFBF8;
    margin: 1rem 0 2rem;
    line-height: 1;
    text-shadow: 0 0 30px rgba(93, 122, 116, 0.3); /* Subtle text glow */
}

.cta-button-form {
    display: block;
    width: 100%;
    padding: 1.2rem;
    background-color: #FDFBF8; /* White Button */
    color: #000;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: none;
}

.cta-button-form:hover {
    transform: scale(1.02);
    background-color: var(--color-primary-accent);
    color: #fff;
    box-shadow: 0 0 30px rgba(93, 122, 116, 0.4); /* Intense glow on hover */
}

.quote-display-container small {
    display: block;
    margin-top: 1.5rem;
    font-size: 0.75rem;
    opacity: 0.4;
    color: #fff;
}

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
    .quote-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .checkbox-group {
        gap: 0.5rem;
    }
    .quote-form-container h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 600px) {
    .checkbox-group {
        grid-template-columns: 1fr; /* Stack tiles on small screens */
    }
    .form-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}
/* --- FIX: Hero Section Text Contrast --- */

/* 1. Make header text light by default for the hero section */
/* --- FIX: Header Text Contrast (Corrected for Glass Capsule) --- */
.main-header .logo,
.main-header .main-nav a {
    color: var(--color-text-dark) !important; /* Force Dark Charcoal */
    text-shadow: none !important; /* Remove shadow for clean look */
    font-weight: 600;
}

/* 2. Ensure the "Book Now" button matches */
.main-header .cta-button-header {
    background-color: var(--color-text-dark);
    color: #FFFFFF;
    border: none;
}

.main-header .cta-button-header:hover {
    background-color: var(--color-primary-accent);
    color: #FFFFFF;
}

/* 3. Ensure text stays dark when scrolled too */
.main-header.scrolled .logo,
.main-header.scrolled .main-nav a {
    color: var(--color-text-dark) !important;
}

/* 2. Revert header text to dark when the 'scrolled' class is added */
.main-header.scrolled .logo,
.main-header.scrolled .main-nav a {
    color: var(--color-text-dark);
}

.main-header.scrolled .cta-button-header {
    border-color: var(--color-primary-accent);
    color: var(--color-primary-accent);
}
.main-header.scrolled .cta-button-header:hover {
    background-color: var(--color-primary-accent);
    color: var(--color-white);
}


/* 3. Make the main hero text light */
.hero-text h1 {
    color: var(--color-white); /* Pure white for the main headline for max impact */
}

.hero-text p {
    color: rgba(255, 255, 255, 0.9); /* A slightly softer white for the sub-headline */
}


/* --- FIX: ENHANCE Hero Text Readability --- */

.hero-text h1,
.hero-text p {
    /* This adds a soft, dark blur behind the text */
    text-shadow: 0px 2px 8px rgba(0, 0, 0, 0.7);
}

.main-header .logo,
.main-header .main-nav a {
    /* Also add a very subtle shadow to the header text */
    text-shadow: 0px 1px 4px rgba(0, 0, 0, 0.6);
}

/* We only want the shadow on the hero, so we remove it on scroll */
.main-header.scrolled .logo,
.main-header.scrolled .main-nav a {
    text-shadow: none;
}

/* --- FIX: Align vertical hero video to the top --- */
.hero-video-container video {
    object-position: bottom; /* Aligns the video to the top-right corner */
}

/* --- FIX: Align vertical service images to the top --- */
.service-card img {
    object-position: 10% 25%;
}

/* --- MOBILE NAVIGATION (HAMBURGER MENU) --- */
.hamburger-menu {
    display: none; /* Hidden on desktop */
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 101; /* Above the header */
}
.hamburger-line {
    width: 30px;
    height: 3px;
    background-color: var(--color-background);
    border-radius: 10px;
    transition: all 0.3s linear;
}

/* Revert hamburger color on scroll */
.main-header.scrolled .hamburger-line {
    background-color: var(--color-text-dark);
}

/* Mobile Nav Open Styles */
.mobile-nav-open .main-nav {
    transform: translateX(0);
}
.mobile-nav-open .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}
.mobile-nav-open .hamburger-line:nth-child(2) {
    opacity: 0;
}
.mobile-nav-open .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}
.mobile-nav-open .main-header.scrolled .hamburger-line {
    background-color: var(--color-text-dark);
}

/* Responsive adjustments for the menu */
/* --- ENHANCED MOBILE NAVIGATION STYLING --- */
/* --- ENHANCED MOBILE NAVIGATION STYLING --- */
@media (max-width: 992px) {
    /* Style the slide-out panel itself */
    .main-nav {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: 80%; /* A bit wider for a spacious feel */
        max-width: 320px;
        background-color: var(--color-background);
        box-shadow: -5px 0 25px rgba(0,0,0,0.1); /* Softer, larger shadow */
        z-index: 100;
        
        /* Layout for the links */
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center; /* Center the block of links vertically */
        gap: 1.5rem; /* Increase space between links */
        
        /* Smoother, more premium animation */
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    }

    /* Style each individual menu link */
    .main-nav a {
        color: var(--color-text-dark);
        font-size: 1.75rem; /* Larger, more impactful font size */
        font-weight: 400; /* Lighter weight for an elegant feel */
        letter-spacing: 0.5px; /* Adds a bit of airiness */
        padding: 0.5rem 1rem;
        transition: color 0.3s ease, transform 0.3s ease;
    }

    /* Add a subtle hover/tap effect */
    .main-nav a:hover {
        color: var(--color-primary-accent);
        transform: translateX(-5px); /* Gentle shift on interaction */
    }

    /* Hide the desktop-only elements */
    .cta-button-header {
        display: none;
    }
    
    /* Show the hamburger menu icon */
    .hamburger-menu {
        display: flex;
    }
}

/* --- FIX: Mobile Hero Text & Header Color --- */
@media (max-width: 768px) {
    /* Fix the main hero text */
    .hero-text h1,
    .hero-text p {
        color: var(--color-text-dark);
        text-shadow: none;
    }

    /* Fix the header logo on mobile load */
    .main-header .logo {
        color: var(--color-text-dark);
        /* The text-shadow is already removed on scroll, this handles the initial load */
        text-shadow: none; 
    }

    /* Fix the hamburger menu icon color on mobile load */
    .hamburger-line {
         background-color: var(--color-text-dark);
    }
}

/* --- TRANSFORMATION SLIDER (NEW: Museum Portrait Style) --- */
.transformation-section {
    /* Warm Charcoal Background - Matches the wood tones better than pitch black */
    background-color: #1a1918; 
    padding: var(--spacing-xl) 0;
    position: relative;
    color: #FDFBF8;
    overflow: hidden;
}

.transformation-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Split Layout */
    align-items: center;
    gap: var(--spacing-xl);
    max-width: 1100px;
    margin: 0 auto;
}

/* --- TEXT CONTENT --- */
.transformation-content {
    text-align: left;
    padding-right: var(--spacing-md);
}

.transformation-content .section-title {
    font-family: var(--font-primary);
    font-weight: 300; /* Editorial Thin */
    font-size: 4.5rem;
    line-height: 1;
    color: #FDFBF8;
    margin-bottom: 2rem;
    text-align: left;
    letter-spacing: -2px;
}

.transformation-desc {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    font-weight: 300;
    margin-bottom: 3rem;
    max-width: 400px;
}

.drag-instruction {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-primary-accent); /* Sage Green */
    font-weight: 700;
}

/* --- THE FRAME (Right Side) --- */
.transformation-frame {
    position: relative;
    padding: 20px;
    /* Architectural Border Frame */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 2px;
}

.comparison-slider {
    position: relative;
    width: 100%;
    /* CRITICAL: Aspect Ratio 3/4 for Portrait Photos */
    aspect-ratio: 3 / 4; 
    overflow: hidden;
    border-radius: 2px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5); /* Deep ambient shadow */
    cursor: col-resize;
    user-select: none;
}

.comparison-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures photos fill the frame perfectly */
    pointer-events: none;
}

#top-image {
    /* Initial Clip */
    clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);
    /* Subtle brightness boost to make "Before" look distinct */
    filter: sepia(10%) contrast(110%); 
}

/* The Line */
#slider-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    background-color: #FFFFFF;
    pointer-events: none;
    z-index: 10;
    box-shadow: 0 0 15px rgba(0,0,0,0.5);
}

/* The Handle (Minimalist Circle) */
#slider-handle {
    position: absolute;
    top: 50%;
    left: 0; 
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    background-color: var(--color-primary-accent); /* Sage Green Pop */
    border: 4px solid #1a1918; /* Matches background to create "cutout" look */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
    transition: transform 0.2s ease;
}

#slider-handle svg {
    width: 24px;
    height: 24px;
}

.comparison-slider:hover #slider-handle {
    transform: translate(-50%, -50%) scale(1.15);
}

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
    .transformation-grid {
        grid-template-columns: 1fr; /* Stack on tablet */
        text-align: center;
        gap: 2rem;
    }
    .transformation-content {
        padding-right: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .transformation-content .section-title {
        text-align: center;
        font-size: 3.5rem;
    }
    .transformation-desc {
        margin-bottom: 2rem;
    }
    /* Constrain width on mobile so portrait image isn't too tall */
    .transformation-frame {
        max-width: 500px; 
        margin: 0 auto;
    }
}

@media (max-width: 600px) {
    .transformation-content .section-title {
        font-size: 3rem;
    }
}
/* --- FAQ ACCORDION (REVISED: Premium Light & Airy) --- */
.faq-section {
    background-color: #FFFFFF; /* Back to Clean White */
    padding: var(--spacing-xl) var(--spacing-md);
    color: var(--color-text-dark);
    position: relative;
}

.faq-section h2 {
    color: var(--color-text-dark);
    font-family: var(--font-primary);
    font-weight: 300;
    font-size: 3rem;
    margin-bottom: 3rem;
    letter-spacing: -1px;
}

.faq-accordion {
    max-width: 900px;
    margin: 0 auto;
    /* Subtle, clean dividers */
    border-top: 1px solid var(--color-border);
}

.faq-item {
    border-bottom: 1px solid var(--color-border);
    transition: background-color 0.3s ease;
}

.faq-item:hover {
    background-color: #FAFAFA; /* Very subtle hover tint */
}

/* The Question */
.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 1rem;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-primary);
    font-size: 1.4rem; /* Keep the editorial size */
    font-weight: 400;
    color: var(--color-text-dark);
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: var(--color-primary-accent); /* Sage Green on hover */
}

/* Active State */
.faq-item.active .faq-question {
    color: var(--color-primary-accent);
    font-weight: 600; /* Slightly bolder when open */
}

/* The Answer */
.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.faq-answer p {
    overflow: hidden;
    padding: 0 1rem 2rem;
    color: var(--color-text-light); /* Soft grey for reading */
    font-size: 1.1rem;
    line-height: 1.7;
    max-width: 90%;
}

/* Active Answer */
.faq-item.active .faq-answer {
    grid-template-rows: 1fr;
}

/* The Icon */
.faq-icon {
    font-size: 2rem;
    font-weight: 300;
    color: #ccc; /* Light grey icon initially */
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), color 0.3s;
}

.faq-question:hover .faq-icon {
    color: var(--color-primary-accent);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    color: var(--color-primary-accent);
}
/* --- FIX: Smooth out the reveal slider drag effect --- */
.reveal-slider-container {
    /* Prevents selecting the image text/content while dragging */
    user-select: none;
}

.before-image, .after-image {
    /* Makes the images non-interactive with the mouse/touch */
    pointer-events: none;
}
/* ============================================================
   FINAL MOBILE POLISH (High-End Mobile Experience)
   ============================================================ */

@media (max-width: 768px) {
    
    /* 1. HERO SECTION: Perfect Height & Readable Text */
    .hero-section {
        height: 80vh; /* Avoids browser bar issues */
        min-height: 600px;
        align-items: center; /* Center content vertically on mobile */
    }
    .hero-ui-layer {
        grid-template-columns: 1fr; /* Stack layout */
        padding-bottom: 2rem;
        text-align: center;
    }
    .hero-headline-wrapper {
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.2);
        padding-right: 0;
        padding-bottom: 2rem;
        margin-bottom: 2rem;
    }
    .hero-headline-wrapper h1 {
        font-size: 3.2rem; /* Scale down from 5rem */
    }
    .hero-action-wrapper {
        padding-left: 0;
        align-items: center; /* Center buttons */
    }
    .hero-btn-group {
        flex-direction: column;
        width: 100%;
    }
    .cta-button-main {
        width: 100%; /* Full width button for easier tapping */
    }

    /* 2. STATS BAR: Stacked & Clean */
    .trust-stats-section {
        padding: 3rem 0;
    }
    .stats-grid {
        flex-direction: column;
        gap: 2.5rem;
    }
    .stat-divider {
        width: 60px;
        height: 1px; /* Turn vertical line horizontal */
        background: linear-gradient(to right, transparent, rgba(255,255,255,0.2), transparent);
    }
    .stat-number {
        font-size: 4rem;
    }

    /* 3. SERVICES: Card Stacking */
    .services-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .service-btn {
        top: -2rem; /* Adjust button overlap */
    }

    /* 4. TRANSFORMATION: Mobile Portrait */
    .transformation-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .transformation-content .section-title {
        font-size: 2.8rem;
        text-align: center;
    }
    .transformation-desc {
        text-align: center;
    }
    .drag-instruction {
        justify-content: center;
        width: 100%;
    }
    
    /* 5. TESTIMONIALS: Mobile Controls */
    .testimonial-grid {
        grid-template-columns: 1fr;
        border-top: none;
    }
    .testimonial-sidebar {
        border-right: none;
        border-bottom: 1px solid var(--color-border);
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 1.5rem;
    }
    .testimonial-sidebar .section-title {
        font-size: 2.5rem;
        margin-bottom: 0;
    }
    /* Hide trust badge on tiny screens to save space */
    .trust-badge { display: none; }
    
    .testimonial-viewport {
        padding: 1.5rem;
    }
    .quote-icon {
        font-size: 6rem;
        margin-bottom: 1rem;
    }
    .testimonial-text {
        font-size: 1.3rem;
    }
    .testimonial-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    /* 6. QUOTE FORM: Mobile Stacking */
    .quote-container {
        grid-template-columns: 1fr;
    }
    .quote-form-container h2 {
        font-size: 2.5rem;
    }
    .checkbox-group {
        grid-template-columns: 1fr; /* Stack the add-on tiles */
    }
    .price-display {
        font-size: 3.5rem;
    }

    /* 7. FOOTER: Mobile Layout */
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-column:not(:first-child) {
        padding-left: 0;
    }
    .footer-column:not(:first-child)::before {
        display: none;
    }
    .social-icons {
        justify-content: center;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
    }
    .footer-bottom-links a {
        margin: 0 10px;
    }
}
/* ==========================================================================
   FINAL UNIVERSAL MOBILE FIT (Paste at the very bottom of style.css)
   ========================================================================== */

/* --- TABLET & SMALL LAPTOP (Max 992px) --- */
@media (max-width: 992px) {
    :root {
        /* Tighter spacing for smaller screens */
        --spacing-xl: 4rem; 
        --spacing-lg: 2.5rem;
    }

    /* Scale down massive headlines */
    h1 { font-size: 3.5rem !important; }
    .section-title { font-size: 2.8rem !important; }
    
    /* 1. HERO: Stack the layout */
    .hero-ui-layer {
        grid-template-columns: 1fr; 
        padding-bottom: 3rem;
        text-align: center;
    }
    .hero-headline-wrapper {
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.2);
        padding-right: 0;
        padding-bottom: 2rem;
        margin-bottom: 2rem;
    }
    .hero-action-wrapper {
        padding-left: 0;
        align-items: center;
    }
    .ui-marker, .ui-crosshair { display: none; } /* Hide tech markers on mobile */

    /* 2. PHILOSOPHY: Un-stagger the cards */
    .philosophy-grid {
        grid-template-columns: 1fr; /* Stack cards */
        gap: 2rem;
    }
    .card-up, .card-down { margin-top: 0 !important; } /* Remove offset */

    /* 3. TESTIMONIALS: Stack Sidebar & Content */
    .testimonial-grid {
        grid-template-columns: 1fr;
        border-top: none;
    }
    .testimonial-sidebar {
        border-right: none;
        border-bottom: 1px solid var(--color-border);
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 1.5rem;
    }
    .trust-badge { display: none; } /* Hide stats to save space */
}

/* --- MOBILE PHONE (Max 768px) --- */
@media (max-width: 768px) {
    
    /* 1. HERO: Better Height for Phones */
    .hero-section {
        height: 85vh; /* Avoids browser bar cutting off content */
        min-height: 550px;
        align-items: center;
    }
    .hero-headline-wrapper h1 {
        font-size: 3rem !important; /* Smaller for mobile */
    }
    .hero-btn-group {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }
    .cta-button-main {
        width: 100%;
    }

    /* 2. STATS: Vertical Stack */
    .stats-grid {
        flex-direction: column;
        gap: 2rem;
    }
    .stat-divider {
        width: 60px;
        height: 1px; /* Horizontal divider */
        background: linear-gradient(to right, transparent, rgba(255,255,255,0.2), transparent);
    }
    .stat-number { font-size: 3.5rem; }

    /* 3. PROCESS: Stack Steps */
    .process-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .step-bar { display: none; } /* Hide connecting lines */
    .step-indicator { justify-content: center; margin-bottom: 1rem; }
    .process-step { text-align: center; }
    .process-step p { margin: 0 auto; }

    /* 4. SERVICES: Single Column */
    .services-container {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    .service-image-wrapper {
        aspect-ratio: 4 / 3; /* Shorter image so text is visible */
    }
    .service-btn {
        top: -2rem;
        right: 0;
    }

    /* 5. ABOUT: Center Everything */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .about-content {
        padding-right: 0;
        text-align: center;
    }
    .manifesto-body {
        border-left: none;
        padding-left: 0;
        border-top: 1px solid var(--color-border);
        padding-top: 2rem;
    }
    .image-frame {
        left: 10px; top: 10px; /* Smaller offset */
    }

    /* 6. QUOTE CALCULATOR: Stacked */
    .quote-container {
        grid-template-columns: 1fr;
    }
    .quote-form-container {
        padding: 1.5rem;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    .checkbox-group {
        grid-template-columns: 1fr; /* Stack tiles */
    }
    .price-display { font-size: 3.5rem; }

    /* 7. FOOTER: Center & Stack */
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    .footer-column:not(:first-child) { padding-left: 0; }
    .footer-column:not(:first-child)::before { display: none; }
    
    .social-icons, .footer-reviews {
        justify-content: center;
        align-items: center;
    }
    .footer-brand-mark span {
        font-size: 15vw; /* Shrink massive logo */
    }
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
    }
}
/* ============================================================
   FIX: MOBILE MENU VISIBILITY & SCROLLING
   ============================================================ */

/* 1. Prevent horizontal scrolling globally */
html, body {
    overflow-x: hidden !important;
    width: 100%;
    position: relative;
}

/* 2. Force the menu to be completely off-screen */
@media (max-width: 992px) {
    .main-nav {
        right: 0 !important;
        left: auto !important; /* Clears any old "left" positioning */
        transform: translateX(100%) !important; /* Forces it completely to the right */
    }

    /* Only bring it back when explicitly open */
    body.mobile-nav-open .main-nav {
        transform: translateX(0) !important;
    }
    
    /* Ensure the overlay covers the whole screen */
    body.mobile-nav-open::before {
        width: 100vw;
        height: 100vh;
    }
}
/* =========================================
   STEAM CLEAN PRELOADER (GLOBAL STYLES)
   ========================================= */

/* Ensure this is NOT inside a @media block */

#steam-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    inset: 0; /* Modern shorthand */
    z-index: 9999; /* Ensures it sits on top of everything */
    
    /* THE FOG EFFECT */
    background-color: rgba(253, 251, 248, 0.95); /* Milky transparency */
    backdrop-filter: blur(30px); /* Heavy Steam Blur */
    -webkit-backdrop-filter: blur(30px); /* Safari support */
    
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column; /* Stacks text and bar */
    
    /* The "Wipe" Transition */
    transition: 
        backdrop-filter 1.5s cubic-bezier(0.22, 1, 0.36, 1),
        background-color 1.5s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.5s ease 1.5s, /* Fade out element AFTER blur clears */
        visibility 0.5s linear 2s;
}

/* The "Clean" State (Applied by JS) */
#steam-loader.clean {
    backdrop-filter: blur(0px); /* Crystal Clear */
    -webkit-backdrop-filter: blur(0px);
    background-color: rgba(253, 251, 248, 0); /* Transparent */
    
    /* Hide element to allow clicking */
    opacity: 0; 
    visibility: hidden;
    pointer-events: none; /* Crucial: lets you click through it */
}

.loader-content {
    text-align: center;
    transition: opacity 0.5s ease;
    width: 300px;
}

/* Hide text slightly before the blur clears */
#steam-loader.clean .loader-content {
    opacity: 0;
}

.loader-text {
    font-family: 'Manrope', sans-serif; /* Hardcoded font to ensure it works immediately */
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: #5D7A74; /* Sage Green */
    margin-bottom: 1.5rem;
    font-weight: 700;
}

/* Elegant Progress Line */
.loader-progress-track {
    width: 100%;
    height: 2px;
    background-color: rgba(93, 122, 116, 0.2);
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.loader-progress-fill {
    position: absolute;
    top: 0; left: 0; bottom: 0;
    width: 0%; /* Starts at 0, JS fills it */
    background-color: #5D7A74; /* Sage Green */
    transition: width 0.1s linear;
}
    /* --- HIDE DEFAULT NUMBER SPINNERS --- */
/* Chrome, Safari, Edge, Opera */
input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}