/* ==========================================================================
   FIRST CLASS CONTRACTING - MOBILE-FIRST COMPREHENSIVE OPTIMIZATION (V2)
   High-end architectural responsiveness for Jeddah's leading luxury contractor
   ========================================================================== */

/* 1. ANTI-OVERFLOW & GLOBAL FOUNDATION */
html {
    max-width: 100% !important;
    width: 100% !important;
    overflow-x: hidden !important;
    scroll-behavior: smooth;
}

body {
    max-width: 100% !important;
    width: 100% !important;
    overflow-x: hidden !important;
    position: relative !important;
    -webkit-tap-highlight-color: transparent;
}

*, *::before, *::after {
    box-sizing: border-box;
}

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

/* 2. MOBILE NAVIGATION DRAWER & HEADER (< 992px) */
@media (max-width: 991.98px) {
    .site-header {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        z-index: 100000 !important;
        background: linear-gradient(135deg, #135926 0%, #179D38 100%) !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        transform: none !important;
        box-shadow: 0 4px 20px rgba(19, 89, 38, 0.25) !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
    }

    .topbar {
        display: none !important;
    }

    .nav-wrap {
        min-height: 64px !important;
        height: 64px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        flex-direction: row !important;
        padding: 0 1rem !important;
        position: static !important;
    }

    /* In RTL, order: 1 places brand on the RIGHT */
    .brand {
        display: flex !important;
        align-items: center !important;
        z-index: 100001 !important;
        order: 1 !important;
        margin-inline-end: auto !important;
        margin-inline-start: 0 !important;
    }

    .brand img {
        height: 44px !important;
        width: auto !important;
        max-width: 130px !important;
        object-fit: contain !important;
    }

    /* Menu Toggle Button - In RTL, order: 2 places toggle on the LEFT */
    .menu-toggle {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 5px !important;
        width: 44px !important;
        height: 44px !important;
        padding: 0 !important;
        border-radius: 12px !important;
        background: rgba(255, 255, 255, 0.15) !important;
        border: 1px solid rgba(255, 255, 255, 0.3) !important;
        cursor: pointer !important;
        z-index: 100001 !important;
        order: 2 !important;
        margin-inline-start: auto !important;
        margin-inline-end: 0 !important;
        transition: all 0.25s ease !important;
    }

    .menu-toggle:active {
        transform: scale(0.92) !important;
        background: rgba(255, 255, 255, 0.25) !important;
    }

    .menu-toggle span {
        display: block !important;
        width: 22px !important;
        height: 2px !important;
        margin: 0 !important;
        background: #ffffff !important;
        border-radius: 2px !important;
        transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    }

    /* Hamburger to X Animation */
    .menu-toggle[aria-expanded="true"] {
        background: #FECB66 !important;
        border-color: #FECB66 !important;
    }

    .menu-toggle[aria-expanded="true"] span:nth-child(1) {
        transform: translateY(7px) rotate(45deg) !important;
        background: #131A15 !important;
    }

    .menu-toggle[aria-expanded="true"] span:nth-child(2) {
        opacity: 0 !important;
        transform: scale(0) !important;
    }

    .menu-toggle[aria-expanded="true"] span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg) !important;
        background: #131A15 !important;
    }

    /* Luxury Navigation Drawer - Clean, Bright, Premium White/Emerald */
    .main-nav {
        position: fixed !important;
        top: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100vh !important;
        height: 100dvh !important;
        z-index: 999999 !important;
        padding: 1.25rem 1.25rem 2rem !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        background-color: #ffffff !important;
        background: #ffffff !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        transform: translateY(-16px) !important;
        transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
        box-shadow: 0 20px 60px rgba(19, 89, 38, 0.2) !important;
    }

    .main-nav.open {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transform: translateY(0) !important;
    }

    body.menu-open {
        overflow: hidden !important;
        touch-action: none !important;
    }

    body.menu-open .site-header {
        transform: none !important;
    }

    /* Drawer Header */
    .mobile-nav-header {
        display: flex !important;
        flex-direction: column !important;
        padding-bottom: 0.85rem !important;
        margin-bottom: 0.5rem !important;
        border-bottom: 1px solid rgba(23, 157, 56, 0.14) !important;
    }

    .mobile-nav-status-badge {
        display: inline-flex !important;
        align-items: center !important;
        gap: 0.5rem !important;
        background: rgba(23, 157, 56, 0.08) !important;
        border: 1px solid rgba(23, 157, 56, 0.25) !important;
        padding: 0.35rem 0.85rem !important;
        border-radius: 50px !important;
        color: #135926 !important;
        font-size: 0.78rem !important;
        font-weight: 700 !important;
        width: fit-content !important;
    }

    .pulse-dot {
        width: 7px !important;
        height: 7px !important;
        border-radius: 50% !important;
        background: #179D38 !important;
        box-shadow: 0 0 8px #179D38 !important;
    }

    .mobile-nav-close-btn {
        background: #F7FAF5 !important;
        border: 1px solid rgba(23, 157, 56, 0.25) !important;
        color: #131A15 !important;
        width: 38px !important;
        height: 38px !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 1.1rem !important;
        cursor: pointer !important;
        transition: all 0.2s ease !important;
    }

    .mobile-nav-close-btn:hover {
        background: #135926 !important;
        color: #ffffff !important;
    }

    /* Links inside Drawer */
    .mobile-nav-links {
        display: flex !important;
        flex-direction: column !important;
        gap: 0 !important;
        width: 100% !important;
        margin-bottom: 1.25rem !important;
    }

    .main-nav a,
    .mobile-nav-links a {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100% !important;
        padding: 0.8rem 0.65rem !important;
        font-size: 1.05rem !important;
        font-weight: 700 !important;
        color: #131A15 !important;
        border-bottom: 1px solid rgba(23, 157, 56, 0.08) !important;
        text-decoration: none !important;
        transition: all 0.2s ease !important;
    }

    .main-nav a i,
    .mobile-nav-links a i {
        display: inline-flex !important;
        align-items: center !important;
        color: #179D38 !important;
        font-size: 0.92rem !important;
        transition: transform 0.2s ease !important;
    }

    .main-nav a:hover,
    .main-nav a.active,
    .mobile-nav-links a:hover,
    .mobile-nav-links a.active {
        color: #135926 !important;
        padding-right: 0.95rem !important;
        background: #F7FAF5 !important;
        border-radius: 10px !important;
        border-right: 3px solid #179D38 !important;
        font-weight: 800 !important;
    }

    .main-nav a:hover i,
    .main-nav a.active i,
    .mobile-nav-links a:hover i,
    .mobile-nav-links a.active i {
        color: #135926 !important;
        transform: scale(1.15) !important;
    }

    /* Quick Action CTAs at bottom of Drawer */
    .mobile-nav-quick-actions {
        display: flex !important;
        flex-direction: column !important;
        gap: 0.65rem !important;
        padding-top: 1rem !important;
        border-top: 1px solid rgba(23, 157, 56, 0.14) !important;
    }

    .mobile-nav-quick-actions .btn-gold-luxury {
        background: #179D38 !important;
        color: #ffffff !important;
        border: none !important;
        box-shadow: 0 6px 18px rgba(23, 157, 56, 0.25) !important;
        font-weight: 800 !important;
        border-radius: 12px !important;
    }

    .mobile-nav-quick-actions .btn-outline-luxury {
        background: #F7FAF5 !important;
        border: 1.5px solid #135926 !important;
        color: #135926 !important;
        font-weight: 800 !important;
        border-radius: 12px !important;
    }
}

/* DESKTOP RESET (>= 992px) */
@media (min-width: 992px) {
    .mobile-nav-header,
    .mobile-nav-quick-actions {
        display: none !important;
    }
    .mobile-nav-links {
        display: contents !important;
    }
}

/* 3. HERO SECTION MOBILE REFINEMENTS (< 768px) */
@media (max-width: 767.98px) {
    .home-hero {
        min-height: auto !important;
        padding: 82px 0 32px !important;
        overflow-x: clip !important;
    }

    .home-hero-grid {
        grid-template-columns: 1fr !important;
        gap: 1.4rem !important;
    }

    .home-label {
        font-size: 0.78rem !important;
        margin-bottom: 0.35rem !important;
    }

    .home-hero h1 {
        font-size: clamp(2.2rem, 7.8vw, 3.1rem) !important;
        line-height: 1.15 !important;
        letter-spacing: -0.03em !important;
        margin: 0.35rem 0 0.45rem !important;
    }

    .hero-tagline-badge {
        font-size: 0.78rem !important;
        padding: 0.38rem 0.85rem !important;
        margin: 0.35rem 0 0.8rem !important;
        line-height: 1.4 !important;
        border-radius: 30px !important;
        text-align: right !important;
        display: inline-block !important;
    }

    .home-hero-text {
        font-size: 0.94rem !important;
        line-height: 1.7 !important;
        color: rgba(255, 255, 255, 0.86) !important;
        margin-bottom: 1.2rem !important;
    }

    .home-hero-actions {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        gap: 0.75rem !important;
        margin-top: 1.15rem !important;
    }

    .btn-gold-luxury,
    .btn-outline-luxury {
        width: 100% !important;
        justify-content: center !important;
        padding: 0.95rem 1.4rem !important;
        font-size: 1rem !important;
        text-align: center !important;
    }

    /* Trust Strip 2x2 Grid */
    .hero-trust-strip {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 0.7rem 0.8rem !important;
        margin-top: 1.2rem !important;
        padding-top: 1.1rem !important;
        border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
    }

    .hero-trust-item {
        font-size: 0.78rem !important;
        line-height: 1.4 !important;
    }

    .hero-trust-item i {
        font-size: 0.88rem !important;
    }

    /* Luxury Villa Visual Container */
    .home-hero-visual {
        min-height: 340px !important;
        max-height: 380px !important;
        height: 360px !important;
        border-radius: 20px !important;
        margin-top: 0.5rem !important;
        box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4) !important;
    }

    .hero-glass-badge-top {
        top: 12px !important;
        right: 12px !important;
        font-size: 0.7rem !important;
        padding: 0.38rem 0.75rem !important;
    }

    .hero-live-pill {
        top: 12px !important;
        left: 12px !important;
        font-size: 0.68rem !important;
        padding: 0.35rem 0.65rem !important;
    }

    .hero-glass-stat-card {
        right: 12px !important;
        bottom: 12px !important;
        padding: 0.55rem 0.85rem !important;
        border-radius: 14px !important;
        gap: 0.6rem !important;
    }

    .hero-glass-stat-card strong {
        font-size: 1.65rem !important;
    }

    .hero-glass-stat-card span {
        font-size: 0.68rem !important;
        line-height: 1.35 !important;
    }

    .hero-glass-warranty-badge {
        display: none !important;
    }

    .home-scroll {
        display: none !important;
    }
}

/* 4. 7-STAGE CONSTRUCTION JOURNEY ON MOBILE (< 768px) */
@media (max-width: 767.98px) {
    .build-story {
        padding: 40px 0 34px !important;
        overflow-x: clip !important;
    }

    .home-heading h2 {
        font-size: clamp(1.65rem, 6vw, 2.2rem) !important;
        line-height: 1.28 !important;
    }

    .section-desc {
        font-size: 0.92rem !important;
        line-height: 1.65 !important;
    }

    .journey-nav-controls {
        display: flex !important;
        align-items: center !important;
        gap: 0.5rem !important;
        margin-top: 0.85rem !important;
    }

    .journey-nav-btn {
        width: 40px !important;
        height: 40px !important;
        font-size: 0.9rem !important;
    }

    .journey-nav-pill {
        font-size: 0.78rem !important;
        padding: 0.35rem 0.8rem !important;
    }

    .journey-timeline-bar {
        display: none !important;
    }

    .journey-track-wrapper {
        margin: 1.2rem 0 0 !important;
        width: 100% !important;
        overflow: hidden !important;
    }

    /* Single Card Snap Carousel on Mobile */
    .journey-cards-track {
        display: flex !important;
        gap: 16px !important;
        padding: 8px 1rem 20px !important;
        scroll-padding: 0 1rem !important;
        scroll-snap-type: x mandatory !important;
        -webkit-overflow-scrolling: touch !important;
        overflow-x: auto !important;
    }

    .journey-stage-card {
        width: calc(100% - 1.5rem) !important;
        min-width: 260px !important;
        max-width: 340px !important;
        flex-shrink: 0 !important;
        scroll-snap-align: center !important;
        border-radius: 20px !important;
        box-shadow: 0 10px 30px rgba(10, 39, 25, 0.08) !important;
    }

    .stage-card-media {
        height: 195px !important;
    }

    .stage-card-body {
        padding: 18px 16px !important;
    }

    .stage-card-title {
        font-size: 1.15rem !important;
        line-height: 1.35 !important;
        margin-bottom: 8px !important;
    }

    .stage-card-desc {
        font-size: 0.88rem !important;
        line-height: 1.65 !important;
        margin-bottom: 12px !important;
    }
}

/* 5. PROJECTS SHOWCASE ON MOBILE (< 768px) */
/* 4.5. VILLA SHOWCASE ON MOBILE (< 992px) */
@media (max-width: 991.98px) {
    .villa-showcase {
        padding: 50px 0 40px !important;
        background: #ffffff !important;
        border-bottom: 1px solid rgba(23, 157, 56, 0.1) !important;
    }

    .villa-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 1.8rem !important;
    }

    .villa-copy {
        text-align: right !important;
    }

    .villa-copy h2 {
        font-size: clamp(2rem, 7vw, 2.6rem) !important;
        line-height: 1.25 !important;
        color: #135926 !important;
        margin: 0.5rem 0 0.85rem !important;
    }

    .villa-copy p {
        font-size: 0.95rem !important;
        line-height: 1.75 !important;
        color: #4A5E51 !important;
        margin-bottom: 1.25rem !important;
    }

    .villa-copy .home-hero-actions {
        display: flex !important;
        justify-content: flex-start !important;
    }

    .villa-copy .btn-primary {
        display: inline-flex !important;
        width: auto !important;
        padding: 0.85rem 1.8rem !important;
        border-radius: 50px !important;
        background: #179D38 !important;
        color: #ffffff !important;
        font-weight: 800 !important;
        box-shadow: 0 6px 18px rgba(23, 157, 56, 0.25) !important;
    }

    /* 2x2 Clean Luxury Grid instead of broken single squished row */
    .villa-cards {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 14px !important;
        margin-top: 0.5rem !important;
        margin-bottom: 0 !important;
        padding: 0 !important;
    }

    .villa-card {
        margin-bottom: 0 !important;
        border-radius: 16px !important;
        overflow: hidden !important;
        box-shadow: 0 8px 24px rgba(19, 89, 38, 0.1) !important;
        border: 1px solid rgba(23, 157, 56, 0.15) !important;
        aspect-ratio: 4 / 3 !important;
        position: relative !important;
        background: #F7FAF5 !important;
        display: block !important;
    }

    .villa-card:nth-child(2),
    .villa-card:nth-child(3) {
        margin-bottom: 0 !important;
    }

    .villa-card img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        filter: none !important;
    }

    .villa-card span {
        display: grid !important;
        place-items: center !important;
        position: absolute !important;
        bottom: 8px !important;
        right: 8px !important;
        width: 28px !important;
        height: 28px !important;
        border-radius: 50% !important;
        background: rgba(19, 89, 38, 0.88) !important;
        color: #ffffff !important;
        font-size: 0.75rem !important;
        font-weight: 800 !important;
        backdrop-filter: blur(4px) !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25) !important;
    }
}

/* 5. PROJECTS SHOWCASE ON MOBILE (< 768px) */
@media (max-width: 767.98px) {
    .home-projects {
        padding: 45px 0 !important;
        overflow-x: clip !important;
    }

    .home-project-grid-v2 {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 1.4rem !important;
    }

    .home-project-card-v2 {
        border-radius: 18px !important;
        overflow: hidden !important;
        box-shadow: 0 10px 28px rgba(15, 35, 24, 0.08) !important;
        background: #ffffff !important;
        border: 1px solid rgba(23, 157, 56, 0.18) !important;
    }

    .home-project-card-v2 .home-project-image {
        aspect-ratio: 16 / 10 !important;
        height: auto !important;
    }

    .home-project-card-v2 .home-project-info {
        padding: 1.2rem 1.25rem 1.35rem !important;
        text-align: right !important;
    }

    .home-project-card-v2 .project-card-title {
        font-size: 1.35rem !important;
        font-weight: 900 !important;
        color: #131A15 !important;
        text-align: right !important;
        margin-bottom: 0.75rem !important;
    }

    .home-project-card-v2 .project-card-meta {
        text-align: right !important;
        gap: 0.55rem !important;
        margin-bottom: 1rem !important;
    }

    .home-project-card-v2 .meta-row {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 0.55rem !important;
        text-align: right !important;
    }

    .home-project-card-v2 .meta-row i {
        color: #d4a017 !important;
        font-size: 0.95rem !important;
        width: 20px !important;
        text-align: center !important;
        flex-shrink: 0 !important;
    }

    .home-project-card-v2 .meta-row span {
        display: inline-flex !important;
        align-items: center !important;
        gap: 0.35rem !important;
        font-size: 0.9rem !important;
        color: #4A5E51 !important;
    }

    .home-project-card-v2 .meta-row strong {
        font-size: 0.9rem !important;
        font-weight: 700 !important;
        color: #135926 !important;
    }

    .home-project-card-v2 .project-card-footer {
        display: flex !important;
        justify-content: flex-start !important;
        padding-top: 0.85rem !important;
        border-top: 1px solid rgba(23, 157, 56, 0.12) !important;
    }

    .home-project-card-v2 .btn-read-more {
        display: inline-flex !important;
        align-items: center !important;
        gap: 0.4rem !important;
        color: #179D38 !important;
        font-weight: 800 !important;
        font-size: 0.92rem !important;
    }

    .home-project-cta-card .project-cta-link-wrapper {
        padding: 2rem 1.4rem !important;
        text-align: center !important;
        align-items: center !important;
    }

    .home-project-cta-card .project-cta-inner {
        align-items: center !important;
    }

    .home-project-cta-card .project-cta-icon-wrap {
        margin: 0 auto 0.85rem !important;
    }

    .home-project-cta-card .project-cta-badge {
        margin: 0 auto 0.75rem !important;
    }

    .home-project-cta-card .project-cta-title {
        text-align: center !important;
        font-size: 1.35rem !important;
    }

    .home-project-cta-card .project-cta-desc {
        text-align: center !important;
        font-size: 0.9rem !important;
    }

    .home-project-cta-card .project-cta-btn {
        margin: 0.75rem auto 0 !important;
    }
}

/* 6. STATS & HIGHLIGHTS GRID ON MOBILE (< 768px) */
@media (max-width: 767.98px) {
    .home-stats,
    .stats-band {
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        padding: 0 !important;
        margin-top: -1.25rem !important;
        position: relative !important;
        z-index: 10 !important;
    }

    .home-stats-grid,
    .stats-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.85rem !important;
        background: transparent !important;
        padding: 0 !important;
    }

    .home-stats article,
    .stats-grid .stat {
        background: #ffffff !important;
        border-radius: 18px !important;
        border: 1px solid rgba(23, 157, 56, 0.16) !important;
        box-shadow: 0 4px 18px rgba(23, 157, 56, 0.06), 0 2px 6px rgba(0, 0, 0, 0.02) !important;
        min-height: 112px !important;
        padding: 1.25rem 0.75rem 1.1rem !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        gap: 0.4rem !important;
        position: relative !important;
        overflow: hidden !important;
        border-inline-start: none !important;
    }

    .home-stats article::before,
    .stats-grid .stat::before {
        content: "" !important;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        height: 3.5px !important;
        background: linear-gradient(90deg, #179D38, #22c55e) !important;
    }

    .home-stats article strong,
    .stats-grid .stat strong {
        font-size: 2.25rem !important;
        font-weight: 850 !important;
        color: #179D38 !important;
        line-height: 1 !important;
        letter-spacing: -0.02em !important;
        margin: 0 !important;
        text-shadow: none !important;
    }

    .home-stats .stat-label-desktop,
    .stats-grid .stat-label-desktop {
        display: none !important;
    }

    .home-stats .stat-label-mobile,
    .stats-grid .stat-label-mobile {
        display: block !important;
        font-size: 0.88rem !important;
        font-weight: 750 !important;
        color: #334155 !important;
        line-height: 1.35 !important;
        max-width: 100% !important;
        margin: 0 !important;
        text-align: center !important;
    }

    html[data-theme="dark"] .home-stats,
    html[data-theme="dark"] .stats-band {
        background: transparent !important;
        border: none !important;
    }

    html[data-theme="dark"] .home-stats article,
    html[data-theme="dark"] .stats-grid .stat {
        background: #0f1723 !important;
        border-color: rgba(255, 255, 255, 0.08) !important;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35) !important;
    }

    html[data-theme="dark"] .home-stats article strong,
    html[data-theme="dark"] .stats-grid .stat strong {
        color: #22c55e !important;
    }

    html[data-theme="dark"] .home-stats .stat-label-mobile,
    html[data-theme="dark"] .stats-grid .stat-label-mobile {
        color: #cbd5e1 !important;
    }
}

/* 6.5 CLIENT GUIDE ACCORDION (دليل العميل الشامل) ON MOBILE (< 768px)
   Eliminates giant empty spaces and gives text full comfortable width */
@media (max-width: 767.98px) {
    .home-guide {
        padding: 42px 0 50px !important;
    }

    .guide-layout-v2 {
        display: flex !important;
        flex-direction: column !important;
        gap: 1.5rem !important;
    }

    .guide-intro {
        position: static !important;
        padding: 1.8rem 1.35rem !important;
        border-radius: 20px !important;
    }

    .guide-intro-content h2 {
        font-size: 1.55rem !important;
        line-height: 1.35 !important;
        margin-bottom: 0.75rem !important;
    }

    .guide-intro-content p {
        font-size: 0.92rem !important;
        line-height: 1.7 !important;
        margin-bottom: 1.25rem !important;
    }

    .guide-accordion {
        padding: 0 !important;
        width: 100% !important;
    }

    .guide-accordion .accordion-item {
        margin: 0.65rem 0 !important;
        border-radius: 16px !important;
        border: 1px solid rgba(23, 157, 56, 0.16) !important;
        background: #ffffff !important;
        overflow: hidden !important;
        transition: all 0.25s ease !important;
    }

    .guide-accordion .accordion-item button {
        width: 100% !important;
        min-height: auto !important;
        padding: 1rem 0.9rem !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 0.75rem !important;
        text-align: right !important;
    }

    html[dir="ltr"] .guide-accordion .accordion-item button {
        text-align: left !important;
    }

    /* Number Badge (01, 02, etc.) */
    .guide-accordion .accordion-item button span {
        width: 38px !important;
        height: 38px !important;
        min-width: 38px !important;
        font-size: 0.88rem !important;
        font-weight: 850 !important;
        border-radius: 10px !important;
        flex-shrink: 0 !important;
        margin: 0 !important;
    }

    /* Item Title */
    .guide-accordion .accordion-item button strong {
        font-size: 1.02rem !important;
        font-weight: 800 !important;
        line-height: 1.4 !important;
        flex: 1 1 auto !important;
        margin: 0 !important;
        color: #0f172a !important;
    }

    /* Plus/Minus Toggle Circle */
    .guide-accordion .accordion-item button i {
        width: 32px !important;
        height: 32px !important;
        min-width: 32px !important;
        border-radius: 50% !important;
        flex-shrink: 0 !important;
        margin: 0 !important;
    }

    .guide-accordion .accordion-item.open {
        background: #ffffff !important;
        border-color: #179D38 !important;
        box-shadow: 0 8px 24px rgba(23, 157, 56, 0.1) !important;
    }

    /* Panel: RESET the excessive 68px/64px paddings to reclaim wasted space! */
    .guide-accordion .accordion-panel {
        padding-inline-start: 1rem !important;
        padding-inline-end: 1rem !important;
        padding-top: 0.25rem !important;
        padding-bottom: 1.25rem !important;
    }

    .guide-points {
        padding: 0 !important;
        width: 100% !important;
    }

    .guide-accordion .guide-points ul,
    .guide-points ul {
        padding: 0 !important;
        margin: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 0.75rem !important;
    }

    .guide-accordion .guide-points li,
    .guide-points li {
        position: relative !important;
        padding-inline-start: 1.5rem !important;
        padding-inline-end: 0 !important;
        padding-right: 1.5rem !important;
        padding-left: 0 !important;
        margin: 0 !important;
        font-size: 0.92rem !important;
        line-height: 1.7 !important;
        color: #334155 !important;
    }

    html[dir="ltr"] .guide-accordion .guide-points li,
    html[dir="ltr"] .guide-points li {
        padding-right: 0 !important;
        padding-left: 1.5rem !important;
        padding-inline-start: 1.5rem !important;
    }

    .guide-accordion .guide-points li::before {
        top: 0.55rem !important;
        width: 7px !important;
        height: 7px !important;
        right: 0 !important;
        left: auto !important;
    }

    html[dir="ltr"] .guide-accordion .guide-points li::before {
        right: auto !important;
        left: 0 !important;
    }

    /* Dark Mode Support for Mobile Guide Accordion */
    html[data-theme="dark"] .guide-accordion .accordion-item {
        background: #0d1520 !important;
        border-color: rgba(255, 255, 255, 0.08) !important;
    }

    html[data-theme="dark"] .guide-accordion .accordion-item.open {
        background: #0f1a26 !important;
        border-color: #22c55e !important;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4) !important;
    }

    html[data-theme="dark"] .guide-accordion .accordion-item button strong {
        color: #f1f5f9 !important;
    }

    html[data-theme="dark"] .guide-accordion .guide-points li {
        color: #cbd5e1 !important;
    }
}
@media (max-width: 767.98px) {
    .location-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 1.5rem !important;
    }

    .location-visual {
        min-height: 260px !important;
        max-height: 320px !important;
        height: 280px !important;
        border-radius: 18px !important;
        position: relative !important;
    }

    .location-visual a {
        font-size: 0.74rem !important;
        padding: 0.6rem 0.95rem !important;
        bottom: 0.75rem !important;
        right: 0.75rem !important;
    }

    .location-copy h2 {
        font-size: 1.85rem !important;
        margin-bottom: 0.85rem !important;
    }

    .location-copy ul {
        margin-bottom: 1.2rem !important;
    }

    .location-copy li {
        padding: 0.6rem 0 !important;
    }

    .location-copy div {
        display: flex !important;
        flex-direction: column !important;
        gap: 0.65rem !important;
        width: 100% !important;
    }

    .location-copy div .btn {
        width: 100% !important;
        text-align: center !important;
        justify-content: center !important;
        padding: 0.85rem !important;
    }
}

/* 8. FLOATING WHATSAPP & BACK-TO-TOP BUTTONS ON MOBILE */
@media (max-width: 767.98px) {
    .wa-float,
    .whatsapp-float,
    .floating-whatsapp {
        bottom: 18px !important;
        left: 16px !important;
        width: 52px !important;
        height: 52px !important;
        font-size: 27px !important;
        z-index: 9995 !important;
        box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4) !important;
    }

    .back-to-top {
        bottom: 18px !important;
        right: 16px !important;
        width: 44px !important;
        height: 44px !important;
        z-index: 9995 !important;
        background: rgba(10, 39, 25, 0.9) !important;
        backdrop-filter: blur(10px) !important;
        border: 1px solid rgba(255, 255, 255, 0.2) !important;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3) !important;
    }
}

/* 9. ULTRA COMPACT PHONES (< 360px) */
@media (max-width: 359.98px) {
    .home-hero h1 {
        font-size: 2.1rem !important;
    }

    .hero-trust-strip {
        grid-template-columns: 1fr !important;
    }

    .journey-stage-card {
        width: calc(100% - 1rem) !important;
        min-width: 250px !important;
    }
}

/* 10. LUXURY ENGINEERING TEAM ON MOBILE */
@media (max-width: 767.98px) {
    .home-team {
        padding: 55px 0 !important;
    }

    .home-team .home-heading {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 1.2rem !important;
        margin-bottom: 1.8rem !important;
    }

    .home-team .home-heading h2 {
        font-size: 1.85rem !important;
        line-height: 1.3 !important;
    }

    .team-subtitle {
        font-size: 0.95rem !important;
        line-height: 1.6 !important;
    }

    .home-team-grid-v2 {
        display: flex !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory !important;
        gap: 1rem !important;
        padding: 0.5rem 0.5rem 2.2rem !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
        margin: 0 !important;
    }

    .home-team-grid-v2::-webkit-scrollbar {
        display: none !important;
    }

    .home-team-card-v2 {
        flex: 0 0 78vw !important;
        max-width: 290px !important;
        scroll-snap-align: center !important;
        box-shadow: 0 10px 28px rgba(13, 61, 37, 0.08) !important;
    }

    .team-image-box {
        aspect-ratio: 0.82 !important;
    }

    .team-image-hover-overlay {
        opacity: 0 !important;
    }

    .team-mobile-swipe-hint {
        display: flex !important;
    }
}

/* ==========================================================================
   MOBILE OPTIMIZATIONS FOR FIELD VIDEO & LIGHTBOX
   ========================================================================== */
@media (max-width: 991.98px) {
    .hero-video-badge {
        top: 14px !important;
        right: 14px !important;
        bottom: auto !important;
        left: auto !important;
        padding: 6px 12px 6px 8px !important;
        gap: 8px !important;
    }

    .hero-play-pulse {
        width: 32px !important;
        height: 32px !important;
        font-size: 0.8rem !important;
    }

    .hero-video-badge-text strong {
        font-size: 0.76rem !important;
    }

    .hero-video-badge-text small {
        font-size: 0.65rem !important;
    }

    .btn-hero-video {
        width: 100% !important;
        justify-content: center !important;
        padding: 0.75rem 1rem !important;
        font-size: 0.88rem !important;
    }

    .field-video-showcase-section {
        padding: 40px 0 !important;
        background: #f8fafc !important;
    }

    .field-video-card {
        padding: 24px 16px !important;
        border-radius: 20px !important;
        background: #ffffff !important;
        border: 1px solid rgba(21, 128, 61, 0.12) !important;
        box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06) !important;
    }

    .field-video-card-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 1.4rem !important;
    }

    .field-video-pill {
        margin-bottom: 0.75rem !important;
        font-size: 0.76rem !important;
        padding: 5px 12px !important;
        background: #ecfdf5 !important;
        border-color: #a7f3d0 !important;
        color: #047857 !important;
    }

    .field-video-copy h2,
    .field-video-title {
        font-size: 1.35rem !important;
        line-height: 1.4 !important;
        margin-bottom: 0.65rem !important;
        color: #0f172a !important;
    }

    .field-video-title .title-sub-break {
        display: block !important;
        font-size: 0.9em !important;
        color: #15803d !important;
        margin-top: 5px !important;
        font-weight: 800 !important;
    }

    .field-video-copy p,
    .field-video-lead {
        font-size: 0.88rem !important;
        line-height: 1.65 !important;
        margin-bottom: 1.1rem !important;
        color: #475569 !important;
    }

    .field-video-chips {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 8px !important;
        margin-bottom: 1.3rem !important;
    }

    .video-chip {
        font-size: 0.76rem !important;
        padding: 6px 11px !important;
        gap: 6px !important;
        background: #f8fafc !important;
        border-color: #e2e8f0 !important;
        color: #1e293b !important;
    }

    .field-video-btns {
        display: flex !important;
        flex-direction: row !important;
        width: 100% !important;
        gap: 0.6rem !important;
    }

    .btn-field-play,
    .btn-field-visit {
        flex: 1 !important;
        justify-content: center !important;
        padding: 0.72rem 0.6rem !important;
        font-size: 0.8rem !important;
        white-space: nowrap !important;
        text-align: center !important;
    }

    .btn-field-visit {
        background: #ffffff !important;
        border: 1.5px solid #cbd5e1 !important;
        color: #1e293b !important;
    }

    @media (max-width: 400px) {
        .field-video-btns {
            flex-direction: column !important;
            gap: 0.65rem !important;
        }
        .btn-field-play,
        .btn-field-visit {
            width: 100% !important;
            flex: none !important;
            padding: 0.78rem 1rem !important;
            font-size: 0.84rem !important;
        }
    }

    .play-btn-pulse-icon {
        width: 22px !important;
        height: 22px !important;
        font-size: 0.65rem !important;
    }

    .field-video-preview {
        border-radius: 16px !important;
        width: 100% !important;
    }

    .preview-media-holder {
        aspect-ratio: 16 / 9.5 !important;
    }

    .play-trigger-circle {
        width: 58px !important;
        height: 58px !important;
    }

    .play-icon-box {
        width: 48px !important;
        height: 48px !important;
        font-size: 1.15rem !important;
    }

    .preview-badges-top {
        top: 10px !important;
        left: 10px !important;
        right: 10px !important;
    }

    .badge-live,
    .badge-dur {
        font-size: 0.7rem !important;
        padding: 3px 8px !important;
    }

    .preview-caption-bottom {
        bottom: 10px !important;
        left: 12px !important;
        right: 12px !important;
    }

    .preview-caption-bottom strong {
        font-size: 0.84rem !important;
    }

    .preview-caption-bottom span {
        font-size: 0.72rem !important;
    }

    .video-modal-overlay {
        padding: 10px !important;
    }

    .video-modal-box {
        border-radius: 16px !important;
        max-height: 94vh !important;
    }

    .video-modal-header {
        padding: 12px 16px !important;
    }

    .video-modal-title {
        font-size: 0.88rem !important;
        line-height: 1.3 !important;
    }

    .video-modal-subtitle {
        font-size: 0.72rem !important;
    }

    .video-modal-footer {
        padding: 12px 16px !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 10px !important;
    }

    .video-modal-prompt {
        font-size: 0.78rem !important;
        line-height: 1.4 !important;
    }

    .video-modal-actions {
        width: 100% !important;
        display: flex !important;
        gap: 8px !important;
    }

    .video-modal-actions .btn {
        flex: 1 !important;
        text-align: center !important;
        justify-content: center !important;
    }
}

@media (max-width: 480px) {
    .hero-video-badge {
        max-width: 145px !important;
    }

    .hero-video-badge-text small {
        display: none !important;
    }

    .hero-video-badge-text strong {
        font-size: 0.72rem !important;
    }
}


