/*
   ==========================================================================
   SMARTSTEP AUTOMATION - MASTER STYLESHEET
   ==========================================================================
   TABLE OF CONTENTS:
   [01] Variables & Design Tokens ....... :root
   [02] Base Styles & Reset ............. body, *, html
   [03] Typography & Utilities .......... h1-h6, .container, .text-center
   [04] Buttons & Interactions .......... .btn, .btn-primary
   [05] Header & Navigation ............. .header, .nav, .mobile-menu
   [06] Hero & Landing Sections ......... .hero, .glass-card
   [07] Services & Features ............. .feature-row, .split-image
   [08] Interactive Modals .............. .modal, .engagement-modal
   [09] Smart Quote Wizard .............. .wizard-container
   [10] Footer & Legal .................. .footer
   [11] Animations & Keyframes .......... @keyframes
   ========================================================================== */

:root {
    /* Brand Colors - Ethereal Glass Edition */
    --navy-darkest: #050505;
    /* Deepest black for depth */
    --navy-dark: #0a0a0a;
    /* Slightly lighter background */
    --navy-light: #151515;
    /* Surface background */

    --gold-primary: #e0cca7;
    /* Desaturated Champagne Gold (More premium/understated) */
    --gold-light: #f5edd0;
    --gold-dark: #8a7a59;

    /* Glass Effect Tokens */
    --glass-surface-strong: rgba(255, 255, 255, 0.08);
    --glass-surface: rgba(255, 255, 255, 0.04);
    --glass-surface-light: rgba(255, 255, 255, 0.02);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-border-light: rgba(255, 255, 255, 0.05);

    --glass-blur-lg: blur(40px);
    --glass-blur-md: blur(20px);
    --glass-blur-sm: blur(10px);

    --shadow-glass:
        0 4px 6px -1px rgba(0, 0, 0, 0.1),
        0 2px 4px -1px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.05);

    --shadow-glow: 0 0 20px rgba(224, 204, 167, 0.15);

    --brand-gradient: linear-gradient(135deg, #e0cca7 0%, #f5edd0 100%);

    --text-white: #ffffff;
    --text-gray: #a3a3a3;
    /* Neutral gray */
    --text-muted: #525252;

    --transition-smooth: 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    /* iOS-like smooth spring */
    --transition-fast: 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Branding Dimensions */
    --logo-height-desktop: 90px;
    --logo-height-mobile: 51px;


}





/* Base Styles */
* {
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    position: relative;
}

body {
    background-color: var(--navy-darkest);
    color: var(--text-gray);
    font-family: var(--font-body);
    /* Noise texture for premium feel */
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.03'/%3E%3C/svg%3E");
    background-attachment: fixed;
}

img,
video {
    max-width: 100%;
    height: auto;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-white);
    letter-spacing: -0.01em;
}

/* Utilities */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.hidden {
    display: none !important;
}

.gradient-text {
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0px 2px 10px rgba(224, 204, 167, 0.2);
}

.text-center {
    text-align: center;
}

/* Visibility Utilities */
.mobile-only {
    display: none !important;
}

@media (max-width: 768px) {
    .mobile-only {
        display: block !important;
    }

    .desktop-only {
        display: none !important;
    }
}

/* Buttons - Premium Gold Styles */
.btn {
    display: inline-block;
    padding: 14px 36px;
    border-radius: 4px;
    /* Sharper corners for corporate feel */
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition-fast);
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
    white-space: nowrap;
}

.btn-primary {
    background: var(--brand-gradient);
    color: var(--navy-darkest);
    border: none;
    box-shadow: 0 4px 15px rgba(224, 204, 167, 0.3);
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: 0.6s;
}

.btn-primary:hover::after {
    left: 100%;
}

.btn-primary.pulse-anim {
    animation: gold-pulse 2s infinite;
}

@keyframes gold-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(224, 204, 167, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(224, 204, 167, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(224, 204, 167, 0);
    }
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--gold-primary);
    color: var(--gold-primary);
}

.btn-outline:hover {
    background: rgba(224, 204, 167, 0.1);
    color: var(--gold-light);
    border-color: var(--gold-light);
}

.btn-block {
    display: block;
    width: 100%;
}

.btn-premium {
    background: var(--brand-gradient);
    color: var(--navy-darkest);
    border: none;
    box-shadow: 0 10px 30px rgba(224, 204, 167, 0.2);
    font-weight: 700;
    text-transform: uppercase;
}

.btn-premium:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(224, 204, 167, 0.4);
}

/* Connectivity Indicator (Mobile Header) */
.connectivity-indicator {
    display: none;
    /* Hidden by default on desktop */
    align-items: center;
    gap: 8px;
    margin-right: 15px;
    /* Spacing from menu button */
    padding: 5px 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    border: 1px solid rgba(224, 204, 167, 0.2);
}

.status-dot {
    width: 8px;
    height: 8px;
    background-color: #2ecc71;
    /* clear Green for status */
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.7);
    animation: status-pulse 2s infinite;
}

.status-text {
    font-size: 0.75rem;
    color: var(--text-white);
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

@keyframes status-pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(46, 204, 113, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(46, 204, 113, 0);
    }
}

@media (max-width: 768px) {
    .connectivity-indicator {
        display: flex;
    }

    /* Ensure header container handles the extra item */
    .header-container {
        justify-content: space-between;
    }

    /* Adjust logo margin if needed */
    .logo {
        margin-right: auto;
        /* Push logo left, indicator/menu right */
    }
}


/* Header & Nav */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(5, 5, 5, 0.9);
    /* Match site navy darkest more closely */
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 10px 0;
    transition: var(--transition-fast);
}

.logo {
    display: flex;
    align-items: center;
    margin-right: 40px;
    /* Create breathing room from menu */
    text-decoration: none;
}

.header.scrolled {
    padding: 10px 0;
    background: rgba(15, 23, 42, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Ensure header is on top of everything when menu is open */
body.nav-menu-open .header {
    z-index: 10002 !important;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Branding & Identity */
.logo-img {
    height: var(--logo-height-desktop);
    width: auto;
    mix-blend-mode: screen;
    display: block;
    margin: -5px 0;
    transition: var(--transition-smooth);
}


/* Added .nav flex container style for desktop */
.nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-list {
    display: flex;
    gap: 30px;
    align-items: center;
    list-style: none;
    /* Already present, but confirming */
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: var(--text-white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 10px 0;
    /* Vertical padding to bridge hover gap */
}

.nav-link i.fa-solid:not(.fa-chevron-down) {
    display: none;
}

.nav-link:hover,
.nav-link.active {
    color: var(--gold-primary);
}

.nav-link.active::after {
    width: 100%;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
    list-style: none;
    /* Ensuring parent li has no dot */
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(10, 15, 28, 0.98);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(224, 204, 167, 0.2);
    border-radius: 4px;
    padding: 10px 0;
    min-width: 240px;
    display: none;
    flex-direction: column;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 1000;
    list-style: none;
    margin: 10px 0 0 -15px;
    /* Slightly tighter gap for better navigation */
}

@media (min-width: 769px) {
    .dropdown:hover .dropdown-menu {
        display: flex;
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--brand-gradient);
}

.dropdown-menu::after {
    content: '';
    position: absolute;
    top: -12px;
    left: 0;
    width: 100%;
    height: 12px;
    background: transparent;
}

.dropdown-menu li {
    width: 100%;
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    white-space: nowrap;
    border-left: 3px solid transparent;
}

.dropdown-menu a:hover {
    background: rgba(224, 204, 167, 0.1);
    color: var(--gold-primary);
    padding-left: 25px;
    border-left-color: var(--gold-primary);
}

.dropdown-menu a i {
    font-size: 0.8rem;
    opacity: 0;
    transition: all 0.3s ease;
    transform: translateX(-10px);
}

.dropdown-menu a:hover i {
    opacity: 1;
    transform: translateX(0);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold-primary);
    transition: width 0.3s;
}

.nav-link:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none !important;
}

@media (max-width: 768px) {

    .mobile-menu-btn {
        width: 32px;
        height: 24px;
        position: relative;
        cursor: pointer;
        display: flex !important;
        flex-direction: column;
        justify-content: space-between;
        background: transparent !important;
        border: none;
        padding: 2px !important;
        margin-right: 15px;
        z-index: 10005 !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
}

.bar {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--gold-primary) !important;
    border-radius: 4px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Premium asymmetric look */
.bar:nth-child(2) {
    width: 70%;
    margin-left: auto;
}

.mobile-menu-btn.active .bar:nth-child(1) {
    transform: translateY(10.5px) rotate(45deg);
}

.mobile-menu-btn.active .bar:nth-child(2) {
    opacity: 0;
    transform: translateX(10px);
}

.mobile-menu-btn.active .bar:nth-child(3) {
    transform: translateY(-10.5px) rotate(-45deg);
}

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    background-image: linear-gradient(rgba(5, 5, 5, 0.7), rgba(5, 5, 5, 0.5)), url('../images/hero-bg-luxury.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    opacity: 0.8;
    z-index: 10;
    transition: all 0.4s ease;
    cursor: pointer;
    padding: 15px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    border: 1px solid rgba(224, 204, 167, 0.2);
}

.scroll-indicator:hover {
    opacity: 1;
    transform: translateX(-50%) translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px rgba(224, 204, 167, 0.3);
    border-color: var(--gold-primary);
}

.mouse {
    width: 28px;
    height: 45px;
    border: 2px solid var(--gold-primary);
    border-radius: 20px;
    position: relative;
    box-shadow:
        0 0 10px rgba(224, 204, 167, 0.3),
        inset 0 0 5px rgba(224, 204, 167, 0.1);
}

.wheel {
    width: 3px;
    height: 8px;
    background: var(--gold-primary);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2.5s infinite ease-in-out;
    box-shadow: 0 0 5px rgba(224, 204, 167, 0.5);
}

.arrow {
    width: 12px;
    height: 12px;
    border-right: 2px solid var(--gold-primary);
    border-bottom: 2px solid var(--gold-primary);
    transform: rotate(45deg);
    animation: scrollArrow 2.5s infinite ease-in-out;
    animation-delay: 0.3s;
    filter: drop-shadow(0 0 3px rgba(224, 204, 167, 0.4));
}

@keyframes scrollWheel {

    0%,
    100% {
        top: 8px;
        opacity: 1;
    }

    50% {
        top: 22px;
        opacity: 0;
    }
}

@keyframes scrollArrow {

    0%,
    100% {
        opacity: 0.3;
        transform: rotate(45deg) translate(0, 0);
    }

    50% {
        opacity: 1;
        transform: rotate(45deg) translate(3px, 3px);
    }
}

/* Hide on mobile to reduce clutter */
@media (max-width: 768px) {
    .scroll-indicator {
        display: none;
    }
}

/* Luxury abstract background element */
.hero::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -10%;
    width: 60vh;
    height: 60vh;
    background: radial-gradient(circle, rgba(224, 204, 167, 0.08), transparent 70%);
    border-radius: 50%;
    filter: blur(50px);
    z-index: -1;
}

.hero-content {
    max-width: 800px;
}

.hero-title {
    font-size: clamp(3rem, 6vw, 5rem);
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-gray);
    margin: 0 auto 40px;
    max-width: 65ch;
    /* Improved readability */
    border-left: 3px solid var(--gold-primary);
    padding-left: 20px;
    line-height: 1.6;
    /* Better leading */
}

/* Features - Glass & Gold */
.section {
    padding: 100px 0 80px;
    /* Balanced spacing */
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.glass-card {
    background: var(--glass-surface);
    backdrop-filter: var(--glass-blur-md);
    -webkit-backdrop-filter: var(--glass-blur-md);
    border: 1px solid var(--glass-border);
    padding: 35px;
    border-radius: 24px;
    /* More rounded */
    transition: transform var(--transition-smooth), background var(--transition-smooth), box-shadow var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 1px;
    /* Thinner accent */
    background: var(--brand-gradient);
    transition: width 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
    opacity: 0.8;
}

.glass-card:hover {
    transform: translateY(-5px);
    background: var(--glass-surface-strong);
    box-shadow: var(--shadow-glass), var(--shadow-glow);
    border-color: rgba(255, 255, 255, 0.2);
}

.glass-card:hover::before {
    width: 100%;
}

.icon-box {
    font-size: 2rem;
    color: var(--gold-primary);
    margin-bottom: 20px;
}

.glass-card h3 {
    margin-bottom: 12px;
    font-size: 1.4rem;
}

.glass-card p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-gray);
}

/* Why Us / Feature Items */
.feature-item {
    background: rgba(255, 255, 255, 0.03);
    padding: 30px;
    border-left: 2px solid var(--gold-primary);
    transition: var(--transition-fast);
}

.feature-item:hover {
    background: rgba(224, 204, 167, 0.1);
    transform: translateX(10px);
}


/* Contact/Forms */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 700px;
    margin: 0 auto;
    background: var(--navy-dark);
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    min-height: 480px;
    /* Keep height stable during transition */
    flex-direction: column;
    justify-content: center;
}

/* Retro Feature Card Responsive Layout */
/* Retro Feature Card Responsive Layout */
.retro-feature-layout {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
}

/* Desktop: Side-by-side */
@media (min-width: 769px) {
    .retro-feature-layout {
        flex-direction: row;
    }
}

/* Mobile: Compact Overlay Layout */
@media (max-width: 768px) {
    .retro-feature-layout {
        min-height: 400px;
        /* Reduced minimum height */
        overflow: hidden;
        justify-content: center;
        /* Center content vertically if short */
    }

    /* Content Side: Relative on top */
    .retro-feature-layout>div:first-child {
        position: relative;
        z-index: 2;
        padding: 30px 20px !important;
        /* Optimized padding */
        background: transparent !important;
        width: 100%;
        text-align: center !important;
        /* Force all text content to center */
        display: flex;
        flex-direction: column;
        align-items: center;
        /* Center flex items (like the new launch badge) */
    }

    /* Image Side: Absolute Background */
    .retro-feature-layout>div:last-child {
        position: absolute !important;
        top: 0;
        left: 0;
        width: 100% !important;
        height: 100% !important;
        min-height: 0 !important;
        z-index: 0;
        opacity: 0.3;
        /* Subtle background visibility */

        /* Reset any masks so it covers full area */
        mask-image: none !important;
        -webkit-mask-image: none !important;

        /* Ensure it covers */
        background-size: cover !important;
        background-position: center !important;
    }

    /* Adjust typography for mobile compact view */
    .retro-feature-layout h2 {
        font-size: 2rem !important;
        margin-bottom: 10px !important;
        text-align: center !important;
    }

    .retro-feature-layout p {
        font-size: 1rem !important;
        margin-bottom: 20px !important;
        text-align: center !important;
        margin-left: auto !important;
        /* Ensure auto margins for centering max-width elements */
        margin-right: auto !important;
    }

    /* Center alignment for containers on mobile */
    /* Center alignment for containers on mobile */
    .retro-features-container {
        display: flex !important;
        /* Ensure it's flex */
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 15px !important;
        width: 100% !important;
    }

    /* Force the individual feature rows (icon+text) to be centered flex containers */
    .retro-features-container>div {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
    }

    .retro-cta-container {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 20px !important;
        width: 100% !important;
    }

    .retro-price-block {
        text-align: center !important;
    }
}

/* Default (Desktop) styles for new classes */
.retro-features-container {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.retro-cta-container {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.retro-price-block {
    text-align: left;
}


.contact-success {
    text-align: center;
    animation: scaleIn 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.contact-success .success-icon {
    font-size: 4rem;
    color: #10b981;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 15px rgba(16, 185, 129, 0.3));
}

.contact-success h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.contact-success p {
    color: var(--text-gray);
    margin-bottom: 30px;
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.form-group {
    margin-bottom: 20px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold-primary);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
    background: rgba(255, 255, 255, 0.08);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--text-white);
    font-family: inherit;
    transition: all 0.3s ease;
    appearance: none;
    /* Modern look */
}

/* Fix for Select Options being unreadable in some browsers */
.form-group select option {
    background-color: var(--navy-darkest);
    color: var(--text-white);
    padding: 15px;
}


/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 40px;
    right: 25px;
    width: 56px;
    height: 56px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    animation: whatsappEntrance 0.8s ease-out forwards;
    opacity: 0;
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
    background-color: #20ba5a;
}

.whatsapp-tooltip {
    position: absolute;
    right: 80px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    right: 75px;
}

@keyframes whatsappEntrance {
    from {
        opacity: 0;
        transform: scale(0.5) translateY(50px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Mobile Adjustments for WhatsApp */
/* Mobile Adjustments for WhatsApp & Assistant */
@media (max-width: 768px) {
    .whatsapp-float {
        display: none !important;
    }

    .whatsapp-tooltip {
        display: none;
        /* Hide tooltip on small mobile */
    }
}

input.error,
select.error,
textarea.error {
    border-color: #ef4444;
    /* Red for error */
}

.error-message {
    font-size: 0.8rem;
    color: #ef4444;
    margin-top: 5px;
    display: block;
    height: 0;
    overflow: hidden;
    transition: height 0.3s;
}

.error-message.visible {
    height: auto;
    margin-bottom: 5px;
}

/* Footer */
.footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px 0;
    margin-top: 60px;
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-gray);
}

/* Orb fallbacks if they still exist in HTML */
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.15;
    z-index: -1;
    animation: orbitFloat 25s infinite ease-in-out alternate;
}

@keyframes orbitFloat {
    0% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -50px) scale(1.1);
    }

    66% {
        transform: translate(-20px, 40px) scale(0.95);
    }

    100% {
        transform: translate(0, 0) scale(1);
    }
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: var(--gold-primary);
    top: 0;
    right: 0;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: #4f46e5;
    bottom: 0;
    left: 0;
    opacity: 0.1;
}

/* Responsive */
@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 85%;
        max-width: 320px;
        height: 100vh;
        background: rgba(10, 15, 24, 0.98);
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        border-left: 1px solid rgba(212, 175, 55, 0.2);
        padding: 60px 20px 100px;
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        transform: translateX(100%);
        flex-direction: column;
        align-items: flex-start;
        display: flex !important;
        gap: 20px;
        overflow-y: auto;
        z-index: 10000;
        box-shadow: -20px 0 50px rgba(0, 0, 0, 0.5);
    }

    .nav .btn-primary {
        width: 100%;
        margin-top: 30px;
        padding: 14px 20px;
        font-size: 0.95rem;
        display: block;
        text-align: center;
    }

    .nav .nav-cta {
        width: calc(100% - 40px);
        margin: 50px 20px 60px;
        padding: 16px 20px;
        font-size: 0.95rem;
        display: block;
        text-align: center;
        border-radius: 12px;
        flex-shrink: 0;
        white-space: normal;
        line-height: 1.4;
    }

    .nav.active {
        transform: translateX(0);
    }

    /* Added overlay for better focus on menu */
    .nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.7);
        backdrop-filter: blur(4px);
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s ease;
        z-index: 1000;
    }

    .nav-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        gap: 0;
    }

    .nav-list li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        opacity: 0;
        transform: translateX(20px);
    }

    .nav.active .nav-list li {
        animation: menuItemIn 0.4s ease forwards;
    }

    .nav.active .nav-list li:nth-child(1) {
        animation-delay: 0.1s;
    }

    .nav.active .nav-list li:nth-child(2) {
        animation-delay: 0.15s;
    }

    .nav.active .nav-list li:nth-child(3) {
        animation-delay: 0.2s;
    }

    .nav.active .nav-list li:nth-child(4) {
        animation-delay: 0.25s;
    }

    .nav.active .nav-list li:nth-child(5) {
        animation-delay: 0.3s;
    }

    .nav.active .nav-list li:nth-child(6) {
        animation-delay: 0.35s;
    }

    .nav.active .nav-list li:nth-child(7) {
        animation-delay: 0.4s;
    }

    .nav.active .nav-cta {
        animation: menuItemIn 0.4s ease forwards;
        animation-delay: 0.5s;
        opacity: 0;
    }

    @keyframes menuItemIn {
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }

    .nav-social-tray {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        justify-content: center;
        align-items: center;
        gap: 20px 25px;
        width: 100%;
        margin-top: 20px;
        padding: 0 30px;
        opacity: 0;
        transform: translateY(10px);
        box-sizing: border-box;
    }

    .nav.active .nav-social-tray {
        animation: trayIn 0.5s ease forwards;
        animation-delay: 0.6s;
    }

    @keyframes trayIn {
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .nav-social-tray .social-icon {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.03);
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--gold-primary);
        font-size: 1.1rem;
        border: 1px solid rgba(212, 175, 55, 0.1);
        transition: var(--transition-fast);
        text-decoration: none;
    }

    .nav-social-tray .social-icon:active {
        background: var(--gold-primary);
        color: var(--navy-darkest);
        transform: scale(0.9);
    }

    .nav-link {
        padding: 15px 0;
        font-size: 1.05rem;
        font-weight: 600;
        color: rgba(255, 255, 255, 0.9);
        letter-spacing: 0.3px;
        width: 100%;
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center;
        gap: 12px;
        position: relative;
        transition: all 0.3s ease;
        text-align: left;
    }

    .nav-link span {
        flex: 1;
        line-height: 1.2;
    }

    .nav-link:active,
    .nav-link.active {
        color: var(--gold-primary);
    }

    /* Force hide widgets when menu is open */
    body.nav-menu-open .whatsapp-float,
    body.nav-menu-open .concierge-launcher,
    body.nav-menu-open .ai-concierge {
        display: none !important;
    }

    .nav-link i.fa-solid:not(.fa-chevron-down) {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 24px;
        height: 24px;
        color: var(--gold-primary);
        opacity: 0.9;
        font-size: 1.1rem;
        flex-shrink: 0;
    }

    .nav-link .toggle-icon {
        margin-left: auto;
        font-size: 0.8rem;
        transition: transform 0.3s ease;
    }

    /* Mobile Dropdowns */
    .dropdown-menu {
        position: static !important;
        transform: none !important;
        opacity: 1 !important;
        display: none;
        background: rgba(255, 255, 255, 0.02) !important;
        border: none !important;
        border-left: 1px solid rgba(212, 175, 55, 0.3) !important;
        box-shadow: none !important;
        padding: 5px 0 10px 25px !important;
        width: 100% !important;
        min-width: unset !important;
        margin: 5px 0 !important;
        border-radius: 0 !important;
    }

    .dropdown-menu::before,
    .dropdown-menu::after {
        display: none;
        /* Hide desktop helpers */
    }

    .dropdown.active>.dropdown-menu {
        display: flex !important;
        flex-direction: column;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .dropdown-menu li {
        border-bottom: none !important;
    }

    .dropdown-menu a {
        white-space: normal;
        padding: 12px 0;
        color: rgba(255, 255, 255, 0.6);
        font-size: 0.95rem;
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center;
        gap: 12px;
    }

    .dropdown-menu a i.fa-solid:not(.fa-chevron-right) {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 24px;
        color: var(--gold-primary);
        opacity: 0.7;
        font-size: 0.9rem;
        flex-shrink: 0;
    }

    .dropdown-menu a i.fa-chevron-right {
        display: none;
        /* Hide chevron right on mobile sub-links */
    }

    .dropdown.active>.nav-link {
        color: var(--gold-primary);
    }

    .dropdown.active>.nav-link i {
        transform: rotate(180deg);
    }

    /* Redundant menu button removed */

    .hero-title {
        font-size: 3rem;
    }


    /* Hide scroll indicator on mobile - serves no purpose on touch devices */
    .scroll-indicator {
        display: none !important;
    }

    /* Fix hero background on mobile - fixed attachment doesn't work well */
    .hero {
        background-attachment: scroll !important;
        background-size: cover !important;
        background-position: center !important;
    }
}

/* Animation Classes */
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: 0.8s ease;
}

/* Zig-Zag Feature Layout */
.feature-row {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 100px;
}

.feature-row:nth-child(even) {
    flex-direction: row-reverse;
}

.feature-image-placeholder {
    flex: 1;
    height: 400px;
    background: var(--navy-dark);
    /* Fallback */
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-image {
    flex: 1;
    height: 400px;
    width: 100%;
    object-fit: cover;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Abstract gradients for placeholders since image gen is limited */
.bg-lighting {
    background: linear-gradient(135deg, #1e1b4b 0%, #4338ca 100%);
}

.bg-security {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

.bg-audio {
    background: linear-gradient(135deg, #312e81 0%, #4c1d95 100%);
}

.feature-image-placeholder::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.05), transparent);
}

.feature-content {
    flex: 1;
}

.feature-content h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--text-white);
}

.feature-content p {
    font-size: 1.05rem;
    color: var(--text-gray);
    margin-bottom: 30px;
    line-height: 1.8;
}

.feature-list {
    list-style: none;
    margin-bottom: 30px;
}

.feature-list li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-light-gray);
}

.feature-list i {
    color: var(--gold-primary);
}

/* Blog Section */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    justify-content: center;
}

.blog-card {
    background: var(--navy-dark);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition-fast);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    max-width: 400px;
    width: 100%;
    margin: 0 auto;
}

.blog-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold-primary);
}

.blog-img-top {
    height: 200px;
    background: var(--navy-light);
    position: relative;
    overflow: hidden;
}

.blog-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-image {
    transform: scale(1.05);
}

.blog-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--gold-primary);
    color: var(--navy-darkest);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
}

.blog-body {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-date {
    font-size: 0.85rem;
    color: var(--text-gray);
    margin-bottom: 10px;
    display: block;
}

.blog-title {
    font-size: 1.25rem;
    margin-bottom: 15px;
    line-height: 1.3;
}

.blog-title a {
    color: var(--text-white) !important;
    text-decoration: none;
    transition: var(--transition-fast);
}

.blog-title a:hover {
    color: var(--gold-primary) !important;
}

.read-more-link {
    color: var(--gold-primary);
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-top: auto;
}

/* Vision/Mission Section */
.vision-box {
    background: linear-gradient(to right, rgba(212, 175, 55, 0.05), transparent);
    border-left: 4px solid var(--gold-primary);
    padding: 40px;
    margin: 40px 0;
}

/* Responsive adjustments for new layouts */
@media (max-width: 900px) {

    .feature-row,
    .feature-row:nth-child(even) {
        flex-direction: column !important;
        /* Override inline styles */
        text-align: left;
        gap: 15px;
        /* Tightened from 30px */
        margin-bottom: 40px;
        /* Slashed from 100px */
    }

    /* Pull headline closer to image */
    .feature-content h3 {
        margin-top: 5px;
        margin-bottom: 10px;
    }

    .feature-image-placeholder,
    .feature-image {
        width: 100%;
        height: auto;
        aspect-ratio: 21 / 9;
        /* Cinematic Ultra-wide */
        /* Replaces fixed 250px height */
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem;
        margin-bottom: 20px;
    }

    .hero-subtitle {
        font-size: 1.05rem;
        line-height: 1.5;
        margin-bottom: 30px;
        padding-left: 15px;
    }

    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 15px;
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }

    .hero-buttons .btn {
        margin: 0 !important;
        width: 100%;
        padding: 16px 20px;
        font-size: 0.9rem;
    }

    .btn-outline {
        border-color: rgba(224, 204, 167, 0.4);
        background: rgba(255, 255, 255, 0.03);
    }


    .features-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 60px 0;
    }

    .glass-card {
        padding: 24px;
    }
}

/* Enhanced Footer */
.footer {
    background: var(--navy-darkest);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 80px 0 20px;
    margin-top: 0;
    color: var(--text-white);
    font-size: 0.95rem;
    text-align: left;
    /* Reset to left for desktop */
    position: relative;
    z-index: 10;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h4 {
    color: var(--text-white);
    font-size: 1.1rem;
    margin-bottom: 25px;
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: 15px;
    text-align: left;
    /* Reset to left */
    display: inline-block;
}

/* Gold underline - Centered */
.footer-col h4::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 30px;
    height: 2px;
    background: var(--gold-primary);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-gray);
    transition: var(--transition-fast);
    text-decoration: none;
    display: inline-block;
    filter: brightness(1.2);
}

.footer-links a:hover {
    color: var(--gold-primary);
    transform: translateX(5px);
}

.footer-contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    align-items: flex-start;
    justify-content: center;
    /* Center flex items */
    text-align: left;
    /* Keep text left aligned inside the item for readability */
}

/* Fix text align inside the item while item is centered */
.footer-contact-item>div {
    text-align: left;
}

.footer-contact-item i {
    color: var(--gold-primary);
    margin-top: 5px;
    min-width: 20px;
    /* Align text properly */
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 25px;
    justify-content: center;
    /* Center social icons */
}

.social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    transition: var(--transition-fast);
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-btn:hover {
    background: var(--gold-primary);
    color: var(--navy-darkest);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
    border-color: var(--gold-primary);
}

.map-container {
    width: 100%;
    height: 250px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: var(--navy-light);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive Footer map adjustments */
@media (max-width: 768px) {
    .map-container {
        height: 200px;
    }

    .footer {
        text-align: center;
        /* Ensure mobile stays left aligned */
    }

    /* GLOBAL MOBILE LOGO FIX */
    .logo-img {
        height: var(--logo-height-mobile) !important;
        margin: 0 auto !important;
    }

    .logo {
        margin-right: 0;
        /* Reset for centered mobile or side-by-side */
    }
}


/* Global Mobile Carousel Styles (Mobile Only) */
@media (max-width: 768px) {
    .mobile-pagination {
        display: flex;
        justify-content: center;
        gap: 8px;
        margin-top: 20px;
    }

    .pagination-dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.2);
        transition: all 0.3s ease;
    }

    .pagination-dot.active {
        background: var(--gold-primary);
        width: 10px;
        height: 10px;
        transform: scale(1.2);
    }

    .mobile-scroll-container {
        display: flex !important;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 20px;
        padding-bottom: 20px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .mobile-scroll-container::-webkit-scrollbar {
        display: none;
    }

    .mobile-carousel-nav {
        display: flex !important;
        justify-content: space-between;
        position: absolute;
        top: 50%;
        left: 0;
        right: 0;
        width: 100%;
        transform: translateY(-50%);
        z-index: 99;
        pointer-events: none;
        padding: 0 5px;
    }

    .carousel-btn {
        pointer-events: auto;
        background: rgba(255, 255, 255, 0.05);
        color: rgba(255, 255, 255, 0.7);
        border: 1px solid rgba(255, 255, 255, 0.1);
        width: 36px;
        height: 36px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        backdrop-filter: blur(4px);
        transition: all 0.3s ease;
    }

    .carousel-btn:active {
        background: rgba(212, 175, 55, 0.2);
        border-color: var(--gold-primary);
        color: var(--gold-primary);
        transform: scale(0.95);
    }
}

/* Hide navigation/pagination on desktop */
@media (min-width: 769px) {

    .mobile-pagination,
    .mobile-carousel-nav {
        display: none !important;
    }
}

/* Live Demo Section */
.demo-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 50px;
    margin-top: 40px;
}

.house-layout {
    flex: 1;
    min-width: 280px;
    max-width: 500px;
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.2);
}

.house-svg {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.5));
}

.room {
    fill: #1e293b;
    /* Dark room default */
    stroke: var(--gold-primary);
    stroke-width: 2;
    transition: fill 0.5s ease, filter 0.5s ease;
}

.room.active {
    fill: rgba(212, 175, 55, 0.6);
    /* Gold light when active */
    filter: drop-shadow(0 0 15px var(--gold-primary));
}

.room-label {
    fill: var(--text-white);
    font-size: 14px;
    pointer-events: none;
    font-weight: 600;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.furniture {
    fill: none;
    stroke: rgba(255, 255, 255, 0.3);
    stroke-width: 2;
    pointer-events: none;
}

/* Phone Mockup */
.phone-wrapper {
    flex: 0 0 300px;
    perspective: 1000px;
}

.phone-frame {
    width: 280px;
    height: 550px;
    background: #0f172a;
    border-radius: 40px;
    border: 8px solid #334155;
    padding: 10px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    position: relative;
    margin: 0 auto;
    transition: transform 0.3s;
}

.phone-frame:hover {
    transform: translateY(-10px) rotateY(-5deg);
}

/* Notch */
.phone-frame::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 25px;
    background: #334155;
    border-radius: 0 0 15px 15px;
    z-index: 2;
}

.phone-screen {
    background: #1e293b;
    /* Dark background for app */
    width: 100%;
    height: 100%;
    border-radius: 30px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.app-header {
    background: var(--navy-darkest);
    padding: 40px 20px 20px 20px;
    /* Extra top padding for notch */
    color: var(--text-white);
    font-family: var(--font-heading);
    font-size: 1.2rem;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: linear-gradient(to bottom, #0f172a, #1a2436);
}

.app-controls {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    overflow-y: auto;
}

.control-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    color: var(--text-white);
    border: 1px solid transparent;
    transition: 0.3s;
}

.control-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(212, 175, 55, 0.3);
}

.control-item span {
    font-weight: 500;
}

/* Toggle Switch */
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #475569;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
}

input:checked+.slider {
    background-color: var(--gold-primary);
}

input:focus+.slider {
    box-shadow: 0 0 1px var(--gold-primary);
}

input:checked+.slider:before {
    transform: translateX(24px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

/* ==========================================================================
   [08] INTERACTIVE MODALS (Consolidated from modal.css)
   ========================================================================== */
/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    opacity: 1;
}

.modal-content {
    background-color: var(--navy-dark);
    margin: 10% auto;
    padding: 40px;
    border: 1px solid var(--gold-primary);
    width: 90%;
    max-width: 500px;
    border-radius: 8px;
    position: relative;
    transform: translateY(-50px);
    transition: transform 0.3s ease;
}

.modal.show .modal-content {
    transform: translateY(0);
}

.close-modal {
    color: var(--text-gray);
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    /* Increase hit area for accessibility (44x44px min) */
    padding: 12px;
    margin: -12px -12px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
}

.close-modal:hover,
.close-modal:focus {
    color: var(--gold-primary);
    text-decoration: none;
    cursor: pointer;
}

/* Mobile Full-Screen Modal */
@media (max-width: 768px) {
    .modal-content {
        margin: 0;
        width: 100%;
        height: 100%;
        max-width: none;
        border-radius: 0;
        border: none;
        padding: 60px 20px 20px;
        /* Space for close button and internal padding */
        display: flex;
        flex-direction: column;
        overflow-y: auto;
    }

    .wizard-container {
        justify-content: flex-start;
    }

    .close-modal {
        position: absolute;
        top: 15px;
        right: 15px;
        z-index: 10;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 50%;
    }
}

.engagement-modal .modal-content {
    max-width: 420px;
    text-align: center;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(212, 175, 55, 0.3);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

/* Engagement Modal Specifics */
.engagement-modal .close-engagement {
    position: absolute;
    top: 15px;
    right: 15px;
    color: var(--text-gray);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s;
    line-height: 1;
    z-index: 10;
}

.engagement-modal .close-engagement:hover {
    color: var(--text-white);
}

.engagement-icon {
    font-size: 3rem;
    color: var(--gold-primary);
    margin-bottom: 20px;
    display: inline-block;
}

.engagement-body h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.engagement-body p {
    color: var(--text-gray);
    margin-bottom: 25px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.engagement-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.reveal-up {
    animation: slideUpFade 0.5s cubic-bezier(0.2, 0.8, 0.23, 1) forwards;
}

@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ==========================================================================
   [09] SMART QUOTE WIZARD STYLES
   ========================================================================== */

.wizard-container {
    max-width: 600px;
    width: 90%;
    margin: 10% auto;
    padding: 30px;
    position: relative;
    max-height: 85vh;
    overflow-y: auto;
}

@media (max-width: 768px) {

    /* Use ID to override modal.css specificity */
    #quoteModal .wizard-container {
        width: 90% !important;
        height: auto !important;
        /* Override 100% height */
        margin: 0 !important;
        /* Reset margin for absolute pos */
        position: absolute !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        padding: 24px !important;
        max-height: 85vh !important;
        border-radius: 12px !important;
        border: 1px solid var(--gold-primary) !important;
    }

    /* Adjust Close Button Position if needed */
    #quoteModal .close-modal {
        top: 10px;
        right: 10px;
    }

    .wizard-header {
        margin-bottom: 20px;
    }

    .wizard-options {
        gap: 10px;
        grid-template-columns: repeat(2, 1fr);
        /* Force 2 columns */
    }

    .wizard-card-content {
        padding: 15px 10px;
    }
}

.wizard-header {
    text-align: center;
    margin-bottom: 30px;
}

.wizard-progress {
    position: relative;
    margin: 20px auto;
    max-width: 300px;
}

.progress-bar {
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    z-index: 1;
}

.progress-fill {
    height: 100%;
    background: var(--gold-primary);
    width: 33%;
    /* Start at step 1 */
    transition: width 0.4s ease;
    border-radius: 2px;
}

.step-indicators {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.step {
    width: 30px;
    height: 30px;
    background: var(--navy-dark);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: var(--text-gray);
    transition: all 0.3s ease;
}

.step.active {
    border-color: var(--gold-primary);
    color: var(--gold-primary);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.step.completed {
    background: var(--gold-primary);
    color: var(--navy-dark);
    border-color: var(--gold-primary);
}

.wizard-step {
    display: none;
    animation: fadeIn 0.4s ease;
}

.wizard-step.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.wizard-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 15px;
    margin-bottom: 25px;
}

.option-card {
    cursor: pointer;
    position: relative;
}

.option-card input {
    position: absolute;
    opacity: 0;
}

.wizard-card-content {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
}

.wizard-card-content i {
    font-size: 2rem;
    color: var(--text-gray);
    margin-bottom: 10px;
    display: block;
    transition: color 0.3s ease;
}

.option-card input:checked+.wizard-card-content {
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--gold-primary);
    transform: translateY(-3px);
}

.option-card input:checked+.wizard-card-content i,
.option-card input:checked+.wizard-card-content span {
    color: var(--gold-primary);
}

.pill-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
}

.pill {
    cursor: pointer;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.pill input {
    display: none;
}

.pill:has(input:checked) {
    background: var(--gold-primary);
    color: var(--navy-dark);
    border-color: var(--gold-primary);
}

.wizard-btns {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.wizard-success {
    text-align: center;
    padding: 20px;
}

.success-icon i {
    font-size: 4rem;
    color: var(--gold-primary);
    margin-bottom: 20px;
    animation: gold-pulse 2s infinite;
}

/* AI Smart Concierge Premium Styles */
.ai-concierge {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 350px;
    background: var(--glass-surface-strong);
    backdrop-filter: var(--glass-blur-md);
    -webkit-backdrop-filter: var(--glass-blur-md);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), var(--shadow-glow);
    z-index: 20000;
    /* Above sticky bar */
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: conciergeSlideUp 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    transform-origin: bottom right;
}

.concierge-launcher {
    position: fixed;
    bottom: 30px;
    right: 105px;
    /* Positioned to the left of WhatsApp */
    width: 60px;
    height: 60px;
    background: var(--brand-gradient);
    border: none;
    border-radius: 50%;
    color: var(--navy-darkest);
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(224, 204, 167, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: whatsappEntrance 0.8s ease-out forwards;
}

.concierge-launcher i {
    position: relative;
    z-index: 5;
    color: var(--navy-darkest);
    /* Ensure dark icon on gold background */
    /* Ensure icon is above pulse animation */
}

.concierge-launcher:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 8px 25px rgba(224, 204, 167, 0.6);
}

.ai-avatar {
    position: relative;
}

@keyframes conciergeSlideUp {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(20px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.concierge-header {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--glass-border);
}

.ai-avatar {
    width: 45px;
    height: 45px;
    background: var(--brand-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy-darkest);
    font-size: 1.2rem;
    position: relative;
    box-shadow: 0 0 15px rgba(224, 204, 167, 0.4);
}

.ai-status-pulse {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--gold-primary);
    animation: aiPulse 2s infinite;
}

@keyframes aiPulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

.concierge-info {
    flex: 1;
}

.concierge-name {
    display: block;
    color: var(--text-white);
    font-weight: 600;
    font-size: 0.95rem;
}

.concierge-status {
    font-size: 0.75rem;
    color: var(--gold-primary);
    opacity: 0.8;
}

.close-concierge {
    background: none;
    border: none;
    color: var(--text-white);
    /* Changed to white for visibility */
    cursor: pointer;
    font-size: 1.5rem;
    /* Slightly larger */
    z-index: 1002;
    /* Ensure it's clickable */
    padding: 5px;
    line-height: 1;
    transition: all 0.3s;
}

.close-concierge:hover {
    color: var(--text-white);
}

.concierge-body {
    padding: 20px;
    max-height: 400px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.chat-msg-wrapper {
    display: flex;
    gap: 12px;
    align-items: flex-end;
    animation: msgReveal 0.4s ease-out forwards;
}

.ai-msg-wrapper {
    align-self: flex-start;
}

.chat-avatar {
    width: 32px;
    height: 32px;
    background: var(--brand-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy-darkest);
    font-size: 0.8rem;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.chat-msg {
    max-width: 85%;
    padding: 12px 16px;
    border-radius: 15px;
    font-size: 0.9rem;
    line-height: 1.5;
}

.ai-msg {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-white);
    border-bottom-left-radius: 2px;
}

@keyframes msgReveal {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.typing-indicator {
    display: flex;
    gap: 4px;
    padding: 5px 0;
}

.typing-indicator span {
    width: 6px;
    height: 6px;
    background: var(--gold-primary);
    border-radius: 50%;
    animation: typingBounce 1.4s infinite ease-in-out;
}

.typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typingBounce {

    0%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-6px);
    }
}

.concierge-actions {
    padding: 15px 20px 25px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.action-btn {
    background: rgba(224, 204, 167, 0.1);
    border: 1px solid var(--gold-primary);
    color: var(--gold-primary);
    padding: 10px 15px;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.action-btn:hover {
    background: var(--brand-gradient);
    color: var(--navy-darkest);
    transform: translateX(5px);
}

.action-btn i {
    font-size: 0.75rem;
    opacity: 0.7;
}

/* Mobile Adjustments */
@media (max-width: 480px) {
    .ai-concierge {
        width: calc(100% - 40px);
        right: 20px;
        bottom: 150px;
        /* Moved up to clear icons */
    }
}

/* Pricing Grid Styles - Added for Pricing Page */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.pricing-card {
    background: var(--navy-dark);
    border-radius: 20px;
    padding: 40px;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-10px);
    border-color: var(--gold-primary);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.pricing-card.featured {
    background: linear-gradient(145deg, var(--navy-dark), #1e293b);
    border-color: var(--gold-primary);
    transform: scale(1.05);
    z-index: 2;
    box-shadow: 0 10px 40px rgba(212, 175, 55, 0.15);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
    box-shadow: 0 15px 50px rgba(212, 175, 55, 0.25);
}

.popular-tag {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--gold-primary);
    color: var(--navy-darkest);
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
    white-space: nowrap;
}

.pricing-header {
    text-align: center;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 20px;
}

.pricing-header h3 {
    color: var(--text-white);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--gold-primary);
    line-height: 1;
    margin-bottom: 10px;
}

.currency {
    font-size: 1.5rem;
    vertical-align: top;
    margin-right: 5px;
}

.period {
    font-size: 1rem;
    color: var(--text-gray);
    font-weight: 400;
}

.price-subtitle {
    color: var(--text-gray);
    font-size: 0.9rem;
}

.pricing-features {
    list-style: none;
    margin-bottom: 30px;
    flex-grow: 1;
}

.pricing-features li {
    margin-bottom: 15px;
    color: var(--text-light-gray);
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-features i {
    color: var(--gold-primary);
}

@media (max-width: 900px) {
    .pricing-card.featured {
        transform: none;
        margin: 20px 0;
    }

    .pricing-card.featured:hover {
        transform: translateY(-10px);
    }
}

.gradient-text {
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    color: var(--gold-primary);
}

.glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
}

/* Navbar Styles Restored */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    z-index: 1000;
    top: 0;
    left: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    color: var(--text-white, #fff);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-links a:hover {
    color: var(--gold-primary, #d4af37);
}

.nav-links .btn {
    margin-left: 10px;
}

.logo img {
    height: 40px;
    width: auto;
}

/* Redundant .mobile-menu-btn removed - handled by master styles at line 422 */

/* Base Sticky Bar - Must be before media queries */
.mobile-sticky-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    /* UX Improvement: "Lifted" Surface Color */
    background: rgba(22, 27, 34, 0.98);
    /* Charcoal Glass */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    /* UX Improvement: Sharp Separation borders */
    border-top: 1px solid rgba(212, 175, 55, 0.8);
    /* 80% Opacity Gold */
    z-index: 10001;
    padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    /* UX Improvement: Floating Shadow */
    box-shadow: 0 -4px 25px rgba(0, 0, 0, 0.6);
}

.sticky-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 10px 4px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 55px;
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-width: 0;
}

.sticky-btn span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    width: 100%;
    padding: 0 4px;
}

.sticky-btn i {
    font-size: 1.1rem;
    color: var(--gold-primary);
}

.sticky-btn:active {
    transform: scale(0.95);
    background: var(--gold-primary);
    color: var(--navy-darkest);
}

.sticky-btn:active i {
    color: var(--navy-darkest);
}

.whatsapp-sticky-btn {
    border-color: rgba(37, 211, 102, 0.3);
}

.whatsapp-sticky-btn i {
    color: #25D366;
}

@media (max-width: 900px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: flex !important;
        /* Master styles at line 422 handle the rest */
    }

    .mobile-sticky-bar {
        display: grid !important;
        visibility: visible !important;
        opacity: 1 !important;
        z-index: 10005 !important;
        /* Move above almost everything */
    }
}

/* Base Sticky Bar moved above */

/* Professional Footer Redesign */
.footer {
    background: #050505;
    padding: 25px 0 25px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    /* Removed z-index to avoid stacking context issues for fixed children */
}

/* Reimagined CTA Card */
.footer-cta-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(212, 175, 55, 0.05) 100%);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 40px;
    padding: 60px;
    margin-bottom: 40px;
    backdrop-filter: blur(20px);
}

.cta-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.cta-pre {
    color: var(--gold-primary);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.8rem;
    font-weight: 700;
    display: block;
    margin-bottom: 15px;
}

.cta-title {
    font-size: 3rem;
    margin: 0 0 15px;
    line-height: 1.1;
}

.cta-desc {
    color: var(--text-gray);
    font-size: 1.1rem;
    max-width: 500px;
}

.cta-actions {
    display: flex;
    align-items: center;
    gap: 30px;
}

.cta-link-icon {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-white);
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.cta-link-icon:hover {
    color: var(--gold-primary);
}

.cta-link-icon i {
    font-size: 1.4rem;
    color: #25D366;
}

/* Footer Main Grid - 5 Column Optimization */
.footer-main-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr 0.8fr 1.4fr;
    gap: 30px;
    margin-bottom: 80px;
}

.footer-heading {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-about {
    line-height: 1.7;
    margin: 25px 0;
    color: var(--text-gray);
    max-width: 300px;
}

.footer-social-tray {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    text-decoration: none;
    transition: 0.3s;
}

.social-icon:hover {
    background: var(--gold-primary);
    color: var(--navy-darkest);
    transform: translateY(-3px);
}

.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-list li {
    margin-bottom: 12px;
}

.footer-list a {
    color: var(--text-gray);
    text-decoration: none;
    transition: 0.2s;
    font-size: 0.95rem;
}

.footer-list a:hover {
    color: var(--gold-primary);
    padding-left: 5px;
}

/* Contact Column Refinements */
.contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.contact-item i {
    color: var(--gold-primary);
    margin-top: 4px;
}

.contact-item p,
.contact-item a {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.5;
}

.footer-trust-marks {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Bottom Bar */
.footer-bottom-bar {
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.bottom-links {
    display: flex;
    gap: 25px;
}

.bottom-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: 0.2s;
}

.bottom-links a:hover {
    color: var(--text-white);
}

/* Redundant legacy sticky bar removed - using consolidated block above */

@media (max-width: 1024px) {
    .footer-main-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-cta-card {
        padding: 40px;
    }

    .cta-inner {
        flex-direction: column;
        text-align: center;
    }

    .cta-desc {
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    /* Sticky bar handled in 900px query */

    .footer {
        padding-bottom: 120px;
    }

    .footer-main-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        /* Reduced from 40px for tighter stacking */
        text-align: center;
        margin-bottom: 20px;
        /* Reduced from 80px global */
    }

    .footer-brand-col,
    .footer-links-col,
    .footer-contact-col {
        display: block !important;
        /* Override flex column centering */
        width: 100%;
        margin-bottom: 6px;
        /* Tightened from 8px/15px */
    }

    .footer-brand-col {
        /* Keep brand centered though */
        display: flex !important;
        flex-direction: column;
        align-items: center;
        margin-bottom: 30px;
    }

    .footer-logo {
        margin-bottom: 20px;
    }

    .footer-social-tray {
        justify-content: center;
        margin: 20px auto 0;
    }

    .contact-item {
        justify-content: center;
        text-align: left;
        /* Text aligns left relative to its block */
        display: flex;
        align-items: center;
        gap: 10px;
        /* Reduced gap */
    }

    .contact-item p {
        margin: 0;
        line-height: 1.4;
    }

    .cta-title {
        font-size: 2rem;
    }

    .footer-cta-card {
        border-radius: 24px;
        margin-bottom: 50px;
    }

    /* --- Premium Glass Accordions (Mobile) --- */
    .footer-links-col {
        width: 100%;
        background: var(--glass-surface);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border: 1px solid var(--glass-border);
        border-radius: 12px;
        margin-bottom: 8px;
        /* Reduced from 15px */
        overflow: hidden;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    /* Contact Section - Open Glass Card (No Accordion) */
    .footer-contact-col {
        width: 100%;
        background: var(--glass-surface);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border: 1px solid var(--glass-border);
        border-radius: 12px;
        margin-bottom: 8px;
        padding: 0 0 20px 0;
        /* Always show padding */
    }

    .footer-heading {
        margin: 0;
        padding: 20px 25px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        cursor: pointer;
        font-size: 1rem;
        letter-spacing: 2px;
        user-select: none;
        color: var(--text-white);
        /* Ensure clickability */
        position: relative;
        z-index: 2;
    }

    /* Chevron Icon - Only for expandable columns */
    .footer-links-col .footer-heading::after {
        content: '\f078';
        /* FontAwesome Chevron Down */
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        font-size: 0.9rem;
        color: var(--gold-primary);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .footer-links-col.active .footer-heading::after {
        transform: rotate(180deg);
    }

    .footer-links-col.active {
        background: var(--glass-surface-strong);
        border-color: rgba(212, 175, 55, 0.3);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    }

    .footer-list {
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        background: rgba(0, 0, 0, 0.2);
    }

    .footer-links-col.active .footer-list {
        max-height: 1000px;
        /* Accommodate Map */
        opacity: 1;
        padding: 0 0 20px 0;
    }

    /* Force Contact List to be Open */
    .footer-contact-col .footer-list {
        max-height: none !important;
        opacity: 1 !important;
        overflow: visible !important;
        background: transparent;
        /* Match parent glass or keep shadow backing? Let's use transparent to blend */
    }

    /* Adjust list items for better touch targets */
    .footer-list li {
        margin: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    }

    .footer-list li:last-child {
        border-bottom: none;
    }

    .footer-list a {
        display: block;
        padding: 12px 25px;
        /* Larger touch area */
        font-size: 1rem;
    }

    /* --- Legal & Bottom Bar Fixes --- */
    .footer-bottom-bar {
        flex-direction: column;
        gap: 10px;
        /* Reduced from 20px */
        text-align: center;
        padding-top: 10px;
        /* Reduced from 30px */
        padding-bottom: 20px;
        /* Clear sticky bar visual */
    }

    .bottom-links {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }

    .bottom-links a {
        padding: 5px;
        display: block;
        font-size: 0.9rem;
        color: var(--text-gray);
    }
}

/* Scroll to Top Button */
.scroll-top-btn {
    position: fixed;
    bottom: 120px;
    right: 34.5px;
    /* Aligned with 65px wide cart at right: 30px */
    width: 56px;
    height: 56px;
    background: rgba(10, 15, 24, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--gold-primary);
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top-btn:hover {
    background: var(--gold-primary);
    color: var(--navy-darkest);
    transform: translateY(-5px);
    border-color: var(--gold-primary);
}

@media (max-width: 768px) {
    .scroll-top-btn {
        bottom: 180px;
        /* Higher up to avoid clashing with notifications */
        right: 25.5px;
        /* Aligned with 55px wide cart at right: 20px */
        width: 44px;
        height: 44px;
        font-size: 1rem;
    }
}

/* FOMO Online Status Notification */
.fomo-notification {
    position: fixed;
    bottom: 30px;
    left: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.95);
    padding: 10px 20px;
    border-radius: 50px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    transform: translateX(-120%);
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.fomo-notification.visible {
    transform: translateX(0);
}

.fomo-dot {
    width: 12px;
    height: 12px;
    background: #00d2b3;
    border-radius: 50%;
    position: relative;
    box-shadow: 0 0 10px rgba(0, 210, 179, 0.5);
}

.fomo-dot::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border: 2px solid #00d2b3;
    border-radius: 50%;
    animation: fomoPulse 2s infinite;
}

@keyframes fomoPulse {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.fomo-content {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    color: #333;
}

.fomo-number {
    font-weight: 700;
    color: #008984;
    font-size: 1.1rem;
}

.fomo-close {
    background: #f0f0f0;
    border: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #666;
    font-size: 0.8rem;
    transition: all 0.2s;
}

.fomo-close:hover {
    background: #e0e0e0;
    color: #333;
}

@media (max-width: 768px) {
    .fomo-notification {
        width: 70%;
        left: 20px;
        bottom: 100px;
        /* Above sticky bar */
        padding: 8px 15px;
        justify-content: space-between;
    }

    .fomo-text {
        font-size: 0.85rem;
    }
}

/* Google Review Social Proof Notification */
.review-notification {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 320px;
    background: rgba(255, 255, 255, 0.98);
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    transform: translateX(-120%);
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    border-left: 4px solid #4285F4;
    /* Google Blue */
}

.review-notification.visible {
    transform: translateX(0);
}

.review-header {
    display: flex;
    gap: 12px;
    margin-bottom: 8px;
}

.review-avatar {
    width: 40px;
    height: 40px;
    background: #eef2f7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4285F4;
    flex-shrink: 0;
}

.review-info {
    flex-grow: 1;
}

.review-name-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2px;
}

.review-name {
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    color: #1a1f36;
    font-size: 0.95rem;
}

.google-icon {
    width: 16px;
    height: 16px;
}

.review-stars {
    color: #ffb400;
    font-size: 0.75rem;
    display: flex;
    gap: 2px;
}

.review-body {
    margin-bottom: 8px;
}

.review-body p {
    font-size: 0.85rem;
    line-height: 1.4;
    color: #4a5568;
    margin: 0;
    font-style: italic;
}

.review-footer {
    display: flex;
    justify-content: flex-end;
}

.verified-badge {
    font-size: 0.75rem;
    color: #2ea44f;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

.review-close {
    position: absolute;
    top: 8px;
    right: 8px;
    background: none;
    border: none;
    color: #cbd5e0;
    cursor: pointer;
    font-size: 0.8rem;
    padding: 4px;
    transition: color 0.2s;
}

.review-close:hover {
    color: #718096;
}

@media (max-width: 768px) {
    .review-notification {
        width: 70%;
        left: 20px;
        bottom: 100px;
    }
}

/* --- UI Optimization: Non-Intrusive Widgets --- */

/* 1. Transform AI Launcher to Side-Tab */
.concierge-launcher {
    top: 50%;
    left: 0 !important;
    right: auto !important;
    bottom: auto !important;
    transform: translateY(-50%);
    width: 48px !important;
    height: auto !important;
    padding: 25px 0 !important;
    border-radius: 0 12px 12px 0 !important;
    flex-direction: column;
    gap: 8px;
    background: var(--brand-gradient) !important;
    box-shadow: 2px 5px 15px rgba(0, 0, 0, 0.3) !important;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}

.concierge-launcher::after {
    content: 'AI GUIDE';
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--navy-darkest);
    margin-top: 5px;
}

.concierge-launcher:hover {
    padding-left: 10px !important;
    width: 52px !important;
}

/* 2. Reposition Scroll-to-Top to avoid WhatsApp clash */
.scroll-top-btn {
    bottom: 120px !important;
}

/* 3. Mobile Refinements */
@media (max-width: 768px) {
    .concierge-launcher {
        width: 38px !important;
        padding: 15px 0 !important;
        top: 55%;
    }

    .concierge-launcher::after {
        font-size: 0.6rem;
    }

    .scroll-top-btn {
        bottom: 160px !important;
        /* Above FOMO/Reviews */
        right: 25.5px !important;
        /* Aligned with 55px wide cart at right: 20px */
    }

    /* Ensure Side Tab hides when scrolling down */
    .scrolling-down .concierge-launcher {
        transform: translate(100%, -50%);
    }
}

/* --- Switchboard Comparison Slider Styles --- */
.comparison-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 40px auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.comparison-slider {
    position: relative;
    width: 100%;
    margin: 0;
    line-height: 0;
    user-select: none;
}

.comparison-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.img-after {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 50%;
    overflow: hidden;
    border-right: 2px solid #fff;
}

.img-after img {
    max-width: none !important;
    height: 100% !important;
    display: block;
}

.slider-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background: rgba(255, 255, 255, 0.8);
    cursor: ew-resize;
    z-index: 10;
    transform: translateX(-50%);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.4);
}

.slider-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    background: #e0cca7;
    border: 3px solid #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    color: #050505;
    font-size: 1.1rem;
}

.comparison-label {
    position: absolute;
    top: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    pointer-events: none;
    z-index: 5;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.label-before {
    left: 20px;
}

.label-after {
    right: 20px;
}

@media (max-width: 768px) {
    .comparison-container {
        border-radius: 8px;
        margin: 20px auto;
    }

    .slider-button {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }
}

/* ------------------------------------------- */
/* Mobile Horizontal Scroll (Blogs & Reviews)  */
/* ------------------------------------------- */
@media (max-width: 768px) {

    .mobile-carousel .blog-grid,
    .mobile-carousel .features-grid {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory;
        gap: 15px;
        grid-template-columns: none !important;
        /* Reset grid */
        padding-bottom: 20px;
        /* Space for scrollbar */
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
    }

    .mobile-carousel .blog-card,
    .mobile-carousel .glass-card {
        min-width: 85%;
        flex: 0 0 85%;
        scroll-snap-align: center;
        margin-right: 0;
        /* Let gap handle spacing */
    }

    /* Hide scrollbar for cleaner look but keep functionality */
    .mobile-carousel .blog-grid::-webkit-scrollbar,
    .mobile-carousel .features-grid::-webkit-scrollbar {
        height: 6px;
    }

    .mobile-carousel .blog-grid::-webkit-scrollbar-track,
    .mobile-carousel .features-grid::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.05);
    }

    .mobile-carousel .blog-grid::-webkit-scrollbar-thumb,
    .mobile-carousel .features-grid::-webkit-scrollbar-thumb {
        background: var(--gold-primary);
        border-radius: 10px;
    }
}

/* ------------------------------------------- */
/* Spacing Fixes (Integrations & Comparison)   */
/* ------------------------------------------- */
.integrations-section {
    padding: 30px 0 !important;
    /* Reduced from potential defaults */
    margin-bottom: 0 !important;
    text-align: center;
}

.integrations-container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.integrations-title {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--text-gray);
    margin-bottom: 30px;
    font-weight: 500;
}

.integrations-logos-img {
    max-width: 100%;
    height: auto;
    opacity: 1 !important;
    filter: none !important;
    transition: all 0.5s ease;
}

.integrations-section:hover .integrations-logos-img {
    transform: scale(1.02);
}

.comparison-section {
    padding-top: 20px !important;
    /* Pull up closer */
    padding-bottom: 30px !important;
    /* Fix for "ending has more space" */
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

/* Fix for Crafted Experiences (Solutions) Section */
.split-image-section {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-top: 40px !important;
    /* Proper gap from header */
    margin-bottom: 80px !important;
    /* Restore gap to next feature (Intelligent Lighting) */
}

/* Ensure #solutions container has the standard spacing */
#solutions.section {
    padding-top: 25px !important;
    padding-bottom: 25px !important;
}

.transformation-text {
    margin-bottom: 30px !important;
    /* Tighten text to slider gap */
}

/* Hard force gap for Intelligent Lighting specifically */
#lighting {
    margin-top: 80px !important;
}

/* ====================================
   PERFORMANCE OPTIMIZATION CSS
   ==================================== */

/* Force GPU acceleration for smooth animations */
.reveal,
.glass-card,
.stat-card,
.lifestyle-banner-image,
.feature-image,
.scroll-indicator {
    will-change: transform, opacity;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Optimize particle animations - reduce on mobile */
@media (max-width: 768px) {
    .floating-particles {
        display: none;
        /* Hide particles on mobile to improve performance */
    }

    .particle {
        display: none;
    }
}

/* Optimize background images for performance */
.hero {
    background-attachment: scroll;
    /* Change from fixed on mobile for better performance */
}

/* =========================================
   FAQ Section Styles
   ========================================= */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

/* Spacing Fix for Testimonials, FAQ, Blog, & Contact */
#testimonials {
    padding-top: 25px !important;
    padding-bottom: 25px !important;
}

#blog {
    padding-top: 25px !important;
    padding-bottom: 25px !important;
}

#faq {
    padding-top: 25px !important;
    padding-bottom: 25px !important;
}

#contact {
    padding-top: 25px !important;
    padding-bottom: 25px !important;
}

.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 10px;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 20px 0;
    color: var(--text-white);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s ease;
}

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

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--gold-primary);
    transition: transform 0.3s ease;
    margin-left: 15px;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-item.active .faq-question {
    color: var(--gold-primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-answer p {
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.95rem;
    padding-right: 20px;
}

@media (min-width: 769px) {
    .hero {
        background-attachment: fixed;
        /* Parallax only on desktop */
    }
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Reduce motion for users who prefer it (accessibility + performance) */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    .particle,
    .floating-particles {
        display: none;
    }
}

/* Optimize heavy blur effects - lighter on mobile */
@media (max-width: 768px) {
    .vision-content-box {
        backdrop-filter: blur(8px);
        /* Reduced from 20px */
    }

    .stat-card {
        backdrop-filter: blur(8px);
        /* Reduced from 20px */
    }

    .glass-card {
        backdrop-filter: blur(8px);
        /* Reduced from 20px */
    }
}

/* Content visibility optimization for off-screen content */
.blog-card,
.stat-card,
.glass-card {
    /* content-visibility removed to prevent layout shift on load */
    /* content-visibility: auto; */
    /* contain-intrinsic-size: 400px; */
}

/* Optimize animations with transform and opacity only */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px) translateZ(0);
    }

    to {
        opacity: 1;
        transform: translateY(0) translateZ(0);
    }
}

/* Containment for isolated rendering */
.section {
    contain: layout style paint;
}

.feature-row {
    contain: layout style;
}


/* Ethereal Animations for SmartStep Automation */

/* Fade In Up */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

/* Float Animation */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

.animate-float {
    animation: float 4s ease-in-out infinite;
}

/* Pulse Glow */
@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 5px rgba(224, 204, 167, 0.2);
    }

    50% {
        box-shadow: 0 0 20px rgba(224, 204, 167, 0.5);
    }

    100% {
        box-shadow: 0 0 5px rgba(224, 204, 167, 0.2);
    }
}

.animate-pulse-glow {
    animation: pulseGlow 3s infinite;
}

/* Staggered Reveal */
.reveal-stagger>* {
    opacity: 0;
    transform: translateY(20px);
    transition: 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal-stagger.active>* {
    opacity: 1;
    transform: translateY(0);
}

.reveal-stagger.active>*:nth-child(1) {
    transition-delay: 0.1s;
}

.reveal-stagger.active>*:nth-child(2) {
    transition-delay: 0.2s;
}

.reveal-stagger.active>*:nth-child(3) {
    transition-delay: 0.3s;
}

.reveal-stagger.active>*:nth-child(4) {
    transition-delay: 0.4s;
}

.reveal-stagger.active>*:nth-child(5) {
    transition-delay: 0.5s;
}

/* Scroll-Triggered Image Sections */

/* Full-width Lifestyle Image Section */
.lifestyle-banner {
    position: relative;
    height: 60vh;
    min-height: 400px;
    overflow: hidden;
    margin: 60px 0;
    /* Optimized spacing */
}

.lifestyle-banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.7);
    transition: transform 1.5s cubic-bezier(0.215, 0.610, 0.355, 1.000);
}

.lifestyle-banner.active .lifestyle-banner-image {
    transform: scale(1.05);
}

.lifestyle-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(5, 5, 5, 0.8) 0%, transparent 50%, rgba(5, 5, 5, 0.8) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.lifestyle-banner-content {
    text-align: center;
    max-width: 800px;
    padding: 0 30px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease 0.3s, transform 1s ease 0.3s;
}

.lifestyle-banner.active .lifestyle-banner-content {
    opacity: 1;
    transform: translateY(0);
}

.lifestyle-banner-content h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.lifestyle-banner-content p {
    font-size: 1.2rem;
    color: var(--text-light-gray);
    line-height: 1.6;
}

/* Parallax Split Section */
.split-image-section {
    position: relative;
    padding: 80px 0;
    /* Optimized spacing */
    overflow: hidden;
    margin-bottom: 0;
}

.split-image-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/hero-bg-luxury.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    filter: brightness(0.4);
    z-index: -1;
}

.split-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

.split-text-content {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 1s ease, transform 1s ease;
}

.split-image-section.active .split-text-content {
    opacity: 1;
    transform: translateX(0);
}

.split-image-content {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 1s ease 0.2s, transform 1s ease 0.2s;
}

.split-image-section.active .split-image-content {
    opacity: 1;
    transform: translateX(0);
}

.split-image-content img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

/* Feature Grid with Images */
.image-feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin: 80px 0;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.image-feature-row.active {
    opacity: 1;
    transform: translateY(0);
}

.image-feature-row.reverse {
    direction: rtl;
}

.image-feature-row.reverse>* {
    direction: ltr;
}

.feature-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.feature-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s ease;
}

.feature-image-wrapper:hover img {
    transform: scale(1.08);
}

/* Testimonial Background Section */
.testimonial-bg-section {
    position: relative;
    padding: 120px 0;
    background-image: linear-gradient(rgba(5, 5, 5, 0.85), rgba(5, 5, 5, 0.85)), url('../images/living_room_bright.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .lifestyle-banner {
        height: 50vh;
        min-height: 300px;
        margin: 40px 0;
    }

    .lifestyle-banner-content h2 {
        font-size: 1.8rem;
    }

    .lifestyle-banner-content p {
        font-size: 1rem;
    }

    .split-content-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .split-text-content,
    .split-image-content {
        transform: translateY(30px);
    }

    .split-image-section.active .split-text-content,
    .split-image-section.active .split-image-content {
        transform: translateY(0);
    }

    .image-feature-row {
        grid-template-columns: 1fr;
        gap: 30px;
        margin: 50px 0;
    }

    .image-feature-row.reverse {
        direction: ltr;
    }

    .contact-wrapper {
        padding: 30px 20px;
        min-height: auto;
    }
}

/* ------------------------------------------- */
/* Mobile Footer Accordion Refinement          */
/* ------------------------------------------- */
@media (max-width: 768px) {

    /* Compact Accordion Headers */
    .footer-links-col .footer-heading {
        padding: 12px 20px !important;
        /* Aligned with Contact Card */
        font-size: 0.8rem !important;
        /* 15% Reduction */
        margin-bottom: 0 !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        cursor: pointer;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    /* Add chevron if missing or style it */
    .footer-links-col .footer-heading::after {
        content: '\f078';
        /* FontAwesome Chevron Down */
        font-family: 'Font Awesome 6 Free';
        font-weight: 900;
        font-size: 0.7rem;
        transition: transform 0.3s ease;
        opacity: 0.7;
    }

    .footer-links-col.active .footer-heading::after {
        transform: rotate(180deg);
        color: var(--gold-primary);
    }

    .footer-links-col.active .footer-heading {
        color: var(--gold-primary);
        border-bottom-color: rgba(212, 175, 55, 0.2);
    }

    /* Tighter Lists inside Accordion */
    .footer-links-col .footer-list {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
        padding-left: 0 !important;
        margin: 0 !important;
        opacity: 0;
    }

    .footer-links-col.active .footer-list {
        max-height: 300px;
        /* Arbitrary enough height */
        padding: 10px 20px 15px !important;
        opacity: 1;
    }

    .footer-links-col .footer-list li {
        margin-bottom: 8px !important;
    }

    .footer-links-col .footer-list li a {
        font-size: 0.9rem !important;
        padding: 5px 0;
        display: block;
    }
}

/* ==========================================================================
   [12] Global Floating Cart Shortcut
   ========================================================================== */
.floating-cart-shortcut {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 65px;
    background: var(--brand-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    /* Above sticky bar but below modal */
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(224, 204, 167, 0.2);
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1.2);
    transform: scale(0) rotate(-45deg);
    opacity: 0;
    pointer-events: none;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.floating-cart-shortcut.visible {
    transform: scale(1) rotate(0deg);
    opacity: 1;
    pointer-events: all;
}

.floating-cart-shortcut:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(224, 204, 167, 0.3);
}

.floating-cart-shortcut i {
    font-size: 1.5rem;
    color: var(--navy-darkest);
}

.floating-cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: white;
    color: var(--navy-darkest);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border: 2px solid var(--gold-primary);
}

@media (max-width: 768px) {
    .floating-cart-shortcut {
        bottom: 90px;
        /* Above mobile sticky bar */
        right: 20px;
        width: 55px;
        height: 55px;
    }
}
/* ==========================================================================
   [12] BLOG COMPONENTS
   ========================================================================== */

/* ?? Compact Blog CTA */
.cta-compact {
    background: rgba(224, 204, 167, 0.05);
    border: 1px solid rgba(224, 204, 167, 0.2);
    border-radius: 16px;
    padding: 24px;
    margin: 40px 0;
    position: relative;
    color: var(--text-gray);
}

.cta-compact-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.cta-compact-title {
    margin: 0 !important;
    font-size: 1.4rem !important;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-white);
}

.cta-compact-btns {
    display: flex;
    gap: 12px;
}

.cta-compact-author {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-top: 20px;
    border-top: 1px solid rgba(224, 204, 167, 0.15);
}

.cta-author-img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid var(--gold-primary);
}

.cta-author-info h4 {
    margin: 0 0 2px 0;
    font-size: 1rem;
    color: var(--text-white);
}

.cta-author-info p {
    margin: 0;
    font-size: 0.8rem;
    color: #888;
}

.cta-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    padding-top: 15px;
    font-size: 0.85rem;
}

@media (max-width: 768px) {
    .cta-compact {
        padding: 24px 20px;
        text-align: center;
    }

    .cta-compact-header {
        flex-direction: column;
        gap: 20px;
    }

    .cta-compact-title {
        justify-content: center;
        font-size: 1.25rem !important;
    }

    .cta-compact-btns {
        width: 100%;
        flex-direction: column;
        gap: 10px;
    }

    .cta-compact-btns .btn {
        width: 100%;
        padding: 12px 20px !important;
        font-size: 1rem !important;
    }

    .cta-compact-author {
        flex-direction: column;
        gap: 10px;
        padding-top: 24px;
    }

    .cta-author-img {
        width: 50px;
        height: 50px;
    }

    .cta-footer {
        flex-direction: column;
        gap: 15px;
        margin-top: 20px;
        padding-top: 20px;
    }
}
