/* ============================================================
   MARSA AL SAADIYAT — MAIN STYLESHEET
   Layout system: Al Ghadeer discipline
   Container: var(--container-max) = 1320px
   ============================================================ */

/* ---- 1. CSS CUSTOM PROPERTIES ---- */
:root {
    /* Brand colours */
    --clr-navy:         #051B37;
    --clr-navy-mid:     #083B4C;
    --clr-teal:         #0A6E7C;
    --clr-teal-light:   #10A7B2;
    --clr-aqua:         #4DD9E0;
    --clr-white:        #FFFFFF;
    --clr-off-white:    #F0F5F5;
    --clr-text-muted:   rgba(255,255,255,0.70);
    /* Buttons */
    --btn-bg:           #0A6E7C;
    --btn-text:         #FFFFFF;
    --btn-hover-bg:     #10A7B2;
    --btn-hover-text:   #051B37;
    /* Typography */
    --font-heading:     'Cormorant Garamond', Georgia, serif;
    --font-body:        'Montserrat', 'Helvetica Neue', sans-serif;
    --text-xs:          0.75rem;
    --text-sm:          0.875rem;
    --text-base:        1rem;
    --text-lg:          1.125rem;
    --text-xl:          1.25rem;
    --text-2xl:         clamp(1.375rem, 2vw, 1.75rem);
    --text-3xl:         clamp(1.75rem,  3vw, 2.5rem);
    --text-4xl:         clamp(2.25rem,  4vw, 3.5rem);
    --text-5xl:         clamp(3rem,     5.5vw, 5.5rem);
    /* Spacing scale */
    --sp-2:  0.5rem;   --sp-3:  0.75rem;  --sp-4:  1rem;
    --sp-6:  1.5rem;   --sp-8:  2rem;     --sp-10: 2.5rem;
    --sp-12: 3rem;     --sp-16: 4rem;     --sp-20: 5rem;
    --sp-24: 6rem;
    /* Section padding */
    --section-pad:        100px;
    --section-pad-mobile: 70px;
    /* Container */
    --container-max:   1320px;
    --container-pad-x: clamp(1.25rem, 4vw, 4rem);
    /* Radii */
    --radius-sm:  4px;   --radius-md: 12px;
    --radius-lg: 24px;   --radius-pill: 50px;
    /* UI */
    --header-h:        76px;
    --header-h-mobile: 60px;
    --ease: 0.28s cubic-bezier(0.4,0,0.2,1);
    /* Border */
    --bdr-dark: rgba(255,255,255,0.10);
    --bdr-light: rgba(5,27,55,0.12);
}

/* ---- 2. RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font-body);
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    color: var(--clr-white);
    background-color: var(--clr-navy);
    line-height: 1.65;
    overflow-x: hidden;
    width: 100%;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; font-size: inherit; }

/* ---- 3. LAYOUT ---- */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--container-pad-x);
    padding-right: var(--container-pad-x);
}
section { width: 100%; position: relative; }

/* Section background utilities */
.section-dark   { background-color: var(--clr-navy); }
.section-mid    { background-color: var(--clr-navy-mid); }
.section-teal   { background-color: var(--clr-teal); }
.section-light  {
    background-color: var(--clr-off-white);
    /* Invert text to dark on light bg */
    color: var(--clr-navy);
}
/* All body text inside light sections defaults to dark */
.section-light p,
.section-light li,
.section-light .section-intro { color: rgba(5,27,55,0.72); }

/* Hidden scroll-target anchor */
.section-scroll-target {
    display: block;
    height: 0;
    overflow: hidden;
    scroll-margin-top: calc(var(--header-h) + 16px);
}

/* ---- 4. SECTION DEFAULT PADDING ---- */
.highlights-section { padding: var(--section-pad) 0; }
.overview-section   { padding: var(--section-pad) 0; }
.story-section      { padding: var(--section-pad) 0; }
.why-section        { padding: var(--section-pad) 0; }
.lifestyle-section  { padding: var(--section-pad) 0; }
.finishes-section   { padding: var(--section-pad) 0; }
.units-section      { padding: var(--section-pad) 0; }
.payment-section    { padding: var(--section-pad) 0; }
.amenities-section  { padding: var(--section-pad) 0; overflow: hidden; }
.location-section   { padding: var(--section-pad) 0; }
.gallery-section    { padding: var(--section-pad) 0; }
.developer-section  { padding: 80px 0; }
.faq-section        { padding: var(--section-pad) 0; }
.final-cta-section  { padding: 120px 0; }

/* Section header helper */
.section-header-row {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: var(--sp-12);
}
.section-header-row.text-center { align-items: center; text-align: center; }

/* ---- 5. TYPOGRAPHY ---- */
.section-eyebrow {
    font-family: var(--font-body);
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.20em;
    text-transform: uppercase;
    color: var(--clr-aqua);
    display: block;
}
.section-heading {
    font-family: var(--font-heading);
    font-size: var(--text-4xl);
    font-weight: 400;
    line-height: 1.12;
    color: var(--clr-white);
}
.section-intro {
    font-size: var(--text-lg);
    font-weight: 300;
    color: var(--clr-text-muted);
    max-width: 62ch;
    line-height: 1.80;
}
.disclaimer-text {
    font-size: var(--text-xs);
    color: rgba(255,255,255,0.40);
    line-height: 1.65;
}
.text-center { text-align: center; }
.text-dark { color: var(--clr-navy) !important; }
.text-dark-muted { color: rgba(5,27,55,0.70) !important; }
.text-accent-dark { color: var(--clr-teal) !important; }
.text-aqua { color: var(--clr-aqua); }
/* Light section heading & eyebrow overrides */
.section-light .section-heading { color: var(--clr-navy); }
.section-light .section-eyebrow { color: var(--clr-teal); }
.section-light .section-intro   { color: rgba(5,27,55,0.68); }
.section-light .disclaimer-text { color: rgba(5,27,55,0.42); }

/* ---- 6. BUTTONS ---- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--sp-2);
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 600;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    padding: 0.875rem 2.25rem;
    border-radius: var(--radius-pill);
    border: 2px solid transparent;
    transition: background var(--ease), color var(--ease), border-color var(--ease);
    white-space: nowrap;
    cursor: pointer;
    min-width: 160px;
    text-align: center;
    min-height: 44px;
}
/* Primary — teal bg, white text */
.btn-primary {
    background: var(--btn-bg);
    color: var(--btn-text);
    border-color: var(--btn-bg);
}
.btn-primary:hover {
    background: var(--btn-hover-bg);
    border-color: var(--btn-hover-bg);
    color: var(--btn-hover-text);
}
/* Primary dark — navy bg */
.btn-primary-dark {
    background: var(--clr-navy);
    color: var(--clr-white);
    border-color: var(--clr-navy);
}
.btn-primary-dark:hover {
    background: var(--clr-navy-mid);
    border-color: var(--clr-navy-mid);
}
/* Accent */
.btn-accent {
    background: var(--clr-teal);
    color: var(--clr-white);
    border-color: var(--clr-teal);
}
.btn-accent:hover {
    background: var(--clr-teal-light);
    border-color: var(--clr-teal-light);
    color: var(--clr-navy);
}
/* Outline light */
.btn-outline,
.btn-outline-light {
    background: transparent;
    color: var(--clr-white);
    border-color: rgba(255,255,255,0.50);
}
.btn-outline:hover,
.btn-outline-light:hover {
    background: rgba(255,255,255,0.10);
    border-color: var(--clr-white);
}
/* Outline dark — on light bg */
.btn-outline-dark {
    background: transparent;
    color: var(--clr-navy);
    border-color: rgba(5,27,55,0.40);
}
.btn-outline-dark:hover {
    background: var(--clr-navy);
    color: var(--clr-white);
    border-color: var(--clr-navy);
}
/* Ghost — transparent outline on dark bg */
.btn-ghost {
    background: transparent;
    color: var(--clr-aqua);
    border-color: rgba(77,217,224,0.40);
}
.btn-ghost:hover {
    background: rgba(77,217,224,0.10);
    border-color: var(--clr-aqua);
}
.btn-full { width: 100%; }
/* Spinner */
.btn-spinner {
    display: none; width: 16px; height: 16px;
    border: 2px solid rgba(255,255,255,0.30);
    border-top-color: var(--clr-white);
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}
.btn.is-loading .btn-label { display: none; }
.btn.is-loading .btn-spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---- 7. HEADER / NAV ---- */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 900;
    height: var(--header-h);
    display: flex;
    align-items: center;
    background: transparent;
    transition: background var(--ease), box-shadow var(--ease);
}
.site-header.is-scrolled,
.site-header.scrolled {
    background: rgba(5,27,55,0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}
.header-inner {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-pad-x);
    display: flex;
    align-items: center;
    gap: var(--sp-8);
}
.header-logo-link { flex-shrink: 0; display: flex; align-items: center; }
.header-logo-img { height: 48px; width: auto; display: block; }
.header-logo-img--mobile { display: none; }
.header-logo-text {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    color: var(--clr-white);
    font-weight: 400;
}
.header-nav {
    flex: 1;
    display: none; /* shown at ≥1024px via media query */
}
.nav-list {
    display: flex;
    align-items: center;
    gap: var(--sp-6);
    list-style: none;
    margin: 0; padding: 0;
}
.nav-link {
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.88);
    transition: color var(--ease);
}
.nav-link:hover { color: var(--clr-aqua); }
.header-cta {
    margin-left: auto;
    flex-shrink: 0;
    white-space: nowrap;
    display: none; /* shown at ≥1024px */
}
/* Hamburger — 44×44 touch target, explicit inner icon size */
.nav-toggle {
    display: none;                  /* shown by mobile media query */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    padding: 0;                     /* no padding — content IS the 44px box */
    margin-left: auto;
    background: none;
    border: none;
    cursor: pointer;
    width: 44px;
    height: 44px;
    position: relative;
    z-index: 1000;                  /* above .mobile-nav (850) and .site-header (900) */
    flex-shrink: 0;
}
.hamburger-line {
    display: block;
    width: 24px;                    /* explicit px — not 100% of tiny parent */
    height: 2px;
    background: #ffffff;            /* explicit white, never inherits transparent */
    border-radius: 2px;
    transform-origin: center;
    transition: transform 0.28s cubic-bezier(0.4,0,0.2,1),
                opacity   0.28s cubic-bezier(0.4,0,0.2,1);
    flex-shrink: 0;
}
/* X / close state — transforms existing spans when menu is open */
.nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}
/* Mobile nav drawer */
.mobile-nav {
    position: fixed;
    inset: 0;
    background: rgba(5,27,55,0.98);
    z-index: 850;
    padding: calc(var(--header-h-mobile) + 2rem) var(--container-pad-x) 2rem;
    flex-direction: column;
    gap: var(--sp-4);
    display: none;
}
.mobile-nav.is-open { display: flex; }
.mobile-nav-list { display: flex; flex-direction: column; gap: 0; }
.mobile-nav-link {
    font-size: var(--text-xl);
    color: var(--clr-white);
    font-family: var(--font-heading);
    font-weight: 400;
    display: block;
    padding: var(--sp-4) 0;
    border-bottom: 1px solid rgba(255,255,255,0.10);
}
.mobile-nav-link:hover { color: var(--clr-aqua); }
.mobile-nav-actions {
    display: flex; flex-direction: column; gap: var(--sp-3);
    padding-top: var(--sp-6);
}
/* Skip link */
.skip-to-content {
    position: absolute; left: -9999px; top: auto;
    width: 1px; height: 1px; overflow: hidden;
}
.skip-to-content:focus {
    position: fixed; top: 0; left: 0;
    width: auto; height: auto;
    background: var(--clr-aqua); color: var(--clr-navy);
    padding: var(--sp-3) var(--sp-6);
    z-index: 9999; font-weight: 600;
}

/* ---- 8. HERO ---- */
.hero-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: flex-end;
    padding-bottom: clamp(60px, 8vh, 120px);
    background-color: var(--clr-navy);
    overflow: hidden;
}
.hero-bg {
    position: absolute; inset: 0; z-index: 0;
    background-size: cover;
    background-position: center 35%;
    background-repeat: no-repeat;
}
.hero-bg--fallback { background-color: var(--clr-navy); }
.hero-overlay {
    position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(
        to bottom,
        rgba(5,27,55,0.15) 0%,
        rgba(5,27,55,0.08) 35%,
        rgba(5,27,55,0.60) 70%,
        rgba(5,27,55,0.90) 100%
    );
    pointer-events: none;
}
.hero-inner {
    position: relative; z-index: 2;
    padding-top: 8rem; padding-bottom: 2rem;
}
.hero-content { max-width: 900px; }
.hero-align-left  .hero-content { text-align: left; margin-left: 0; }
.hero-align-center .hero-content { text-align: center; margin-left: auto; margin-right: auto; }
.hero-eyebrow {
    font-size: var(--text-xs); font-weight: 600;
    letter-spacing: 0.20em; text-transform: uppercase;
    color: var(--clr-aqua); display: block; margin-bottom: var(--sp-4);
}
.hero-heading,
.hero-title {
    font-family: var(--font-heading);
    font-size: var(--text-5xl);
    font-weight: 300;
    line-height: 1.08;
    letter-spacing: 0.02em;
    color: var(--clr-white);
    margin-bottom: var(--sp-6);
    white-space: pre-line;
}
.hero-body,
.hero-subtitle {
    font-size: var(--text-lg); line-height: 1.72;
    color: rgba(255,255,255,0.80);
    max-width: 600px; margin-bottom: var(--sp-10);
}
.hero-align-center .hero-body,
.hero-align-center .hero-subtitle { margin-left: auto; margin-right: auto; }
.hero-actions,
.hero-ctas {
    display: flex; align-items: center;
    gap: var(--sp-4); flex-wrap: wrap;
}
.hero-align-center .hero-actions,
.hero-align-center .hero-ctas { justify-content: center; }

/* ---- 9. HIGHLIGHTS / KEY FACTS STRIP ---- */
.highlights-section { background: var(--clr-navy-mid); }
.highlights-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: rgba(255,255,255,0.06);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.06);
}
.highlight-item {
    background: var(--clr-navy-mid);
    padding: var(--sp-10) var(--sp-6);
    text-align: center;
    transition: background var(--ease);
    border-right: 1px solid rgba(255,255,255,0.07);
}
.highlight-item:last-child { border-right: none; }
.highlight-item:hover { background: rgba(77,217,224,0.07); }
.highlight-value {
    display: block;
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 3vw, 2.75rem);
    font-weight: 400;
    color: var(--clr-aqua);
    line-height: 1.1; margin-bottom: var(--sp-2);
}
.highlight-label {
    display: block; font-size: var(--text-xs); font-weight: 600;
    letter-spacing: 0.14em; text-transform: uppercase;
    color: rgba(255,255,255,0.60);
}

/* ---- 10. FULL-WIDTH BANNERS ---- */
.full-banner-wrap {
    width: 100%; overflow: hidden;
}
.full-banner-img {
    width: 100%;
    height: clamp(240px, 50vh, 500px);
    object-fit: cover;
    object-position: center;
    display: block;
}

/* ---- 11. OVERVIEW / COMMUNITY INTRODUCTION ---- */
.overview-section { /* padding set above */ }
.overview-inner {
    display: flex;
    flex-direction: row;
    gap: clamp(3rem, 5vw, 6rem);
    align-items: center;
}
/* Text+image: text 55%, image 42% */
.overview-text,
.overview-content {
    flex: 0 0 55%;
}
.overview-image-wrap,
.overview-media {
    flex: 0 0 42%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/3;
}
.overview-img,
.overview-image-wrap img,
.overview-media img {
    width: 100%; height: 100%; object-fit: cover; display: block;
}
.overview-inner--text-only {
    flex-direction: column;
    max-width: 820px;
    margin-inline: auto;
}
.overview-actions {
    display: flex; gap: var(--sp-4); flex-wrap: wrap;
    margin-top: var(--sp-8);
}

/* ---- 12. STORY / MARINA & YACHT CLUB ---- */
/* Background from .section-dark utility */
.story-section { /* padding set above */ }
.story-inner {
    display: flex;
    flex-direction: row;
    gap: clamp(3rem, 5vw, 6rem);
    align-items: center;
}
.story-text {
    flex: 0 0 55%;
    display: flex; flex-direction: column; gap: var(--sp-6);
}
.story-image-wrap {
    flex: 0 0 42%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/3;
}
.story-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.story-inner--text-only { flex-direction: column; max-width: 820px; margin-inline: auto; }
.story-actions { display: flex; gap: var(--sp-4); flex-wrap: wrap; margin-top: var(--sp-4); }

/* ---- 13. WHY / DESTINATION HIGHLIGHTS ---- */
/* Background from .section-light utility */
.why-section { /* padding set above */ }
.why-grid,
.why-grid--3col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-6);
}
/* Cards on dark bg */
.why-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-md);
    padding: var(--sp-10) var(--sp-8);
    transition: background var(--ease), border-color var(--ease);
}
.why-card:hover {
    background: rgba(77,217,224,0.07);
    border-color: rgba(77,217,224,0.25);
}
/* Cards on light bg */
.section-light .why-card,
.why-card.why-card--light {
    background: var(--clr-white);
    border: 1px solid var(--bdr-light);
    box-shadow: 0 2px 16px rgba(5,27,55,0.06);
}
.section-light .why-card:hover,
.why-card.why-card--light:hover {
    background: var(--clr-white);
    border-color: rgba(10,110,124,0.30);
    box-shadow: 0 4px 24px rgba(5,27,55,0.10);
}
.why-icon {
    width: 52px; height: 52px;
    color: var(--clr-teal);
    margin-bottom: var(--sp-6);
    flex-shrink: 0;
}
.why-icon svg {
    width: 100%; height: 100%;
    stroke: currentColor; fill: none;
    stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}
.section-light .why-icon { color: var(--clr-teal); }
.why-title {
    font-family: var(--font-heading);
    font-size: var(--text-xl); font-weight: 400;
    color: var(--clr-white); margin-bottom: var(--sp-3); line-height: 1.3;
}
.why-desc {
    font-size: var(--text-sm); line-height: 1.72;
    color: rgba(255,255,255,0.62);
}
.section-light .why-title,
.why-card--light .why-title { color: var(--clr-navy); }
.section-light .why-desc,
.why-card--light .why-desc { color: rgba(5,27,55,0.62); }

/* ---- 14. LIFESTYLE / BEACHFRONT ---- */
/* Background from .section-dark utility */
.lifestyle-section { /* padding set above */ }
.lifestyle-inner {
    display: flex;
    flex-direction: row-reverse; /* image left, text right */
    gap: clamp(3rem, 5vw, 6rem);
    align-items: center;
}
.lifestyle-image-wrap {
    flex: 0 0 42%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/3;
}
.lifestyle-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lifestyle-text {
    flex: 1;
    display: flex; flex-direction: column; gap: var(--sp-6);
}
.lifestyle-inner--text-only { flex-direction: column; max-width: 820px; margin-inline: auto; }
.lifestyle-actions { display: flex; gap: var(--sp-4); flex-wrap: wrap; margin-top: var(--sp-4); }

/* ---- 15. FINISHES / NATURE & WELLNESS ---- */
/* Background from .section-light utility */
.finishes-section { /* padding set above */ }
.finishes-feature-wrap {
    width: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 16/7;
}
.finishes-feature-img {
    width: 100%; height: 100%;
    object-fit: cover; display: block;
}
/* Dual scheme grid (used when images provided via Customizer) */
.finishes-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(2rem, 4vw, 4rem);
    align-items: start;
    margin-top: var(--sp-4);
}
.finishes-scheme { display: flex; flex-direction: column; gap: var(--sp-4); }
.finishes-scheme-title {
    font-family: var(--font-heading);
    font-size: var(--text-2xl); font-weight: 400;
    color: var(--clr-navy);
    padding-bottom: var(--sp-3);
    border-bottom: 1px solid var(--bdr-light);
}
.finishes-scheme-images { display: flex; flex-direction: column; gap: var(--sp-3); }
.finishes-img { width: 100%; border-radius: var(--radius-md); object-fit: cover; display: block; }
.finishes-img--main { aspect-ratio: 4/3; }

/* ---- 16. UNITS / RESIDENCE CATEGORIES ---- */
/* Background from .section-dark utility */
.units-section { /* padding set above */ }
.unit-categories-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-8);
}
.unit-category-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: background var(--ease), border-color var(--ease), transform var(--ease);
}
.unit-category-card:hover {
    background: rgba(255,255,255,0.06);
    border-color: rgba(77,217,224,0.25);
    transform: translateY(-2px);
}
.unit-card-image-wrap {
    aspect-ratio: 16/9;
    overflow: hidden;
    flex-shrink: 0;
}
.unit-card-img {
    width: 100%; height: 100%;
    object-fit: cover; display: block;
    transition: transform 0.5s ease;
}
.unit-category-card:hover .unit-card-img { transform: scale(1.04); }
.unit-card-body {
    padding: var(--sp-8);
    flex: 1; display: flex; flex-direction: column; gap: var(--sp-4);
}
.unit-card-title {
    font-family: var(--font-heading);
    font-size: var(--text-2xl); font-weight: 400;
    color: var(--clr-white); line-height: 1.3;
}
.unit-card-desc {
    font-size: var(--text-sm); line-height: 1.72;
    color: rgba(255,255,255,0.65); flex: 1;
}
.unit-type-tags {
    display: flex; flex-wrap: wrap; gap: var(--sp-2);
}
.unit-tag {
    display: inline-block;
    padding: var(--sp-2) var(--sp-4);
    border: 1px solid rgba(77,217,224,0.35);
    border-radius: var(--radius-pill);
    font-size: var(--text-xs); font-weight: 600;
    letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--clr-aqua);
}
.unit-card-body .btn-ghost { margin-top: auto; align-self: flex-start; min-width: 0; }
.units-note { text-align: center; margin-top: var(--sp-10); }
.units-cta { text-align: center; margin-top: var(--sp-6); }

/* ---- 17. PAYMENT PLAN ---- */
/* Background from .section-light utility */
.payment-section { /* padding set above */ }
.payment-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-6);
}
.payment-card {
    text-align: center;
    padding: var(--sp-12) var(--sp-6);
    background: var(--clr-white);
    border: 1px solid var(--bdr-light);
    border-radius: var(--radius-md);
    position: relative;
    box-shadow: 0 2px 16px rgba(5,27,55,0.06);
    transition: transform var(--ease), box-shadow var(--ease);
}
.payment-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(5,27,55,0.12);
}
.payment-card::before {
    content: '';
    position: absolute; top: 0; left: 50%;
    transform: translateX(-50%);
    width: 48px; height: 3px;
    background: var(--clr-teal);
    border-radius: 0 0 4px 4px;
}
.payment-card--accent::before { background: var(--clr-teal-light); }
.payment-card-label {
    font-size: var(--text-xs); font-weight: 600;
    letter-spacing: 0.10em; text-transform: uppercase;
    color: rgba(5,27,55,0.58); margin-bottom: var(--sp-4);
}
.payment-card-value {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 400;
    color: var(--clr-teal); line-height: 1;
}
.payment-card--accent .payment-card-value { color: var(--clr-teal-light); }
.payment-disclaimer {
    font-size: var(--text-xs); color: rgba(5,27,55,0.42);
    text-align: center; margin-top: var(--sp-8);
}
.payment-cta { text-align: center; margin-top: var(--sp-10); }

/* ---- 18. AMENITIES ---- */
/* Overlays the bg image */
.amenities-section { position: relative; }
.amenities-bg {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    background-repeat: no-repeat;
}
.amenities-overlay {
    position: absolute; inset: 0;
    background: rgba(5,27,55,0.88);
}
.amenities-inner { position: relative; z-index: 2; }
.amenities-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--sp-4);
}
.amenity-item {
    display: flex; flex-direction: column;
    align-items: center; text-align: center;
    gap: var(--sp-3);
    padding: var(--sp-6) var(--sp-4);
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-md);
    transition: background var(--ease);
}
.amenity-item:hover { background: rgba(77,217,224,0.10); }
.amenity-icon {
    width: 48px; height: 48px;
    color: var(--clr-aqua); flex-shrink: 0;
}
.amenity-icon svg {
    width: 100%; height: 100%;
    stroke: currentColor; fill: none;
    stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}
.amenity-label {
    font-size: var(--text-xs); font-weight: 600;
    letter-spacing: 0.08em; text-transform: uppercase;
    color: rgba(255,255,255,0.72); line-height: 1.4;
}

/* ---- 19. LOCATION / CONNECTIVITY ---- */
/* Background from .section-light utility */
.location-section { /* padding set above */ }
.location-layout {
    display: flex;
    flex-direction: row;
    gap: clamp(3rem, 5vw, 6rem);
    align-items: start;
}
.location-benefits-wrap { flex: 1 1 48%; }
.location-benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-4);
}
.location-benefit-card {
    background: var(--clr-white);
    border: 1px solid var(--bdr-light);
    border-radius: var(--radius-md);
    padding: var(--sp-6) var(--sp-6);
    box-shadow: 0 2px 12px rgba(5,27,55,0.05);
    transition: box-shadow var(--ease);
}
.location-benefit-card:hover { box-shadow: 0 4px 24px rgba(5,27,55,0.10); }
.location-benefit-title {
    font-family: var(--font-heading);
    font-size: var(--text-lg); font-weight: 400;
    color: var(--clr-navy); margin-bottom: var(--sp-2);
    line-height: 1.3;
}
.location-benefit-desc {
    font-size: var(--text-sm); line-height: 1.65;
    color: rgba(5,27,55,0.62);
}
.map-area { flex: 0 0 48%; }
.location-map-img {
    width: 100%; border-radius: var(--radius-lg);
    object-fit: cover; aspect-ratio: 4/3; display: block;
    box-shadow: 0 4px 32px rgba(5,27,55,0.10);
}
.map-placeholder {
    width: 100%; aspect-ratio: 4/3;
    border-radius: var(--radius-lg);
    background: var(--clr-off-white);
    border: 1px solid var(--bdr-light);
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: var(--sp-4);
}
.map-placeholder-pin { width: 40px; height: 40px; color: var(--clr-teal); }
.map-placeholder-pin svg { width: 100%; height: 100%; }
.map-placeholder-label {
    font-size: var(--text-sm); color: rgba(5,27,55,0.58);
    font-weight: 600; letter-spacing: 0.06em;
}

/* ---- 20. GALLERY ---- */
/* Background from .section-dark utility */
.gallery-section { /* padding set above */ }
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 280px;
    gap: var(--sp-3);
}
.gallery-item {
    overflow: hidden;
    border-radius: var(--radius-md);
    cursor: pointer;
    position: relative;
    background: var(--clr-navy-mid);
}
.gallery-item--featured { grid-column: span 2; grid-row: span 2; }
.gallery-img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}
.gallery-item:hover .gallery-img { transform: scale(1.05); }
.gallery-caption {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(to top, rgba(5,27,55,0.80) 0%, transparent 100%);
    color: rgba(255,255,255,0.88);
    font-size: var(--text-xs); font-weight: 600;
    letter-spacing: 0.08em; text-transform: uppercase;
    padding: var(--sp-8) var(--sp-4) var(--sp-3);
    opacity: 0;
    transition: opacity var(--ease);
}
.gallery-item:hover .gallery-caption { opacity: 1; }
.gallery-dots {
    display: flex; justify-content: center;
    gap: var(--sp-2); margin-top: var(--sp-8);
}
.gallery-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.25);
    transition: background var(--ease), transform var(--ease);
    cursor: pointer; border: none;
}
.gallery-dot.is-active {
    background: var(--clr-aqua);
    transform: scale(1.25);
}

/* Lightbox */
.lightbox-overlay {
    display: none;
    position: fixed; inset: 0;
    background: rgba(5,27,55,0.96);
    z-index: 2000;
    align-items: center; justify-content: center;
    padding: var(--sp-8);
}
.lightbox-overlay.is-open { display: flex; }
.lightbox-img { max-width: 90vw; max-height: 90vh; border-radius: var(--radius-md); object-fit: contain; }
.lightbox-close {
    position: fixed; top: var(--sp-6); right: var(--sp-6);
    background: rgba(255,255,255,0.12); border: none;
    color: var(--clr-white); width: 44px; height: 44px;
    border-radius: 50%; font-size: 1.25rem; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
}

/* ---- 21. DEVELOPER — ALDAR ---- */
/* Background from .section-light utility */
.developer-section { /* padding set above */ }
.developer-inner {
    display: flex;
    flex-direction: row;
    gap: clamp(3rem, 5vw, 5rem);
    align-items: center;
}
.developer-text { flex: 1; display: flex; flex-direction: column; gap: var(--sp-4); }
.developer-text p { color: rgba(5,27,55,0.70); line-height: 1.80; }
.developer-image-wrap { flex-shrink: 0; max-width: 240px; }
.developer-logo-img { max-width: 100%; height: auto; }

/* ---- 22. FAQ ---- */
/* Background from .section-dark utility */
.faq-section { /* padding set above */ }
.faq-list {
    max-width: 880px;
    margin-inline: auto;
    border: 1px solid var(--bdr-dark);
    border-radius: var(--radius-md);
    overflow: hidden;
}
.faq-item {
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.faq-item:last-child { border-bottom: none; }
.faq-question {
    width: 100%; text-align: left;
    background: none; border: none;
    padding: var(--sp-6) var(--sp-8);
    display: flex; justify-content: space-between;
    align-items: center; gap: var(--sp-6);
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: var(--text-xl); font-weight: 400;
    color: var(--clr-white); line-height: 1.4;
    transition: color var(--ease);
}
.faq-question:hover { color: var(--clr-aqua); }
.faq-question[aria-expanded="true"] { color: var(--clr-aqua); }
.faq-q-text { flex: 1; }
.faq-chevron {
    flex-shrink: 0;
    width: 20px; height: 20px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translate(-3px, -3px);
    transition: transform var(--ease);
    color: var(--clr-aqua);
}
.faq-question[aria-expanded="true"] .faq-chevron {
    transform: rotate(-135deg) translate(-3px, -3px);
}
.faq-answer {
    padding: 0 var(--sp-8) var(--sp-8);
    font-size: var(--text-base); line-height: 1.75;
    color: rgba(255,255,255,0.68);
}
.faq-answer[hidden] { display: none !important; }
.faq-header-row { max-width: 880px; margin-inline: auto; }

/* ---- 23. FINAL CTA / REGISTRATION FORM ---- */
.final-cta-section {
    background: var(--clr-navy-mid);
    overflow: hidden;
}
.final-cta-inner {
    display: flex;
    flex-direction: row;
    gap: clamp(3rem, 5vw, 6rem);
    align-items: flex-start;
}
.final-cta-copy {
    flex: 1 1 46%;
    display: flex; flex-direction: column; gap: var(--sp-6);
    padding-top: var(--sp-6);
}
.final-cta-copy .section-heading { color: var(--clr-white); }
.final-cta-body {
    font-size: var(--text-base); line-height: 1.80;
    color: rgba(255,255,255,0.72);
}
.final-cta-checklist {
    display: flex; flex-direction: column; gap: var(--sp-3);
    list-style: none;
    margin-top: var(--sp-2);
}
.final-cta-checklist li {
    display: flex; align-items: center; gap: var(--sp-3);
    font-size: var(--text-sm); color: rgba(255,255,255,0.80);
}
.final-cta-checklist li::before {
    content: '';
    flex-shrink: 0;
    width: 16px; height: 16px;
    border-radius: 50%;
    background: rgba(77,217,224,0.20);
    border: 1px solid var(--clr-aqua);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8l3.5 3.5L13 5' stroke='%234DD9E0' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-size: 12px;
    background-repeat: no-repeat;
    background-position: center;
}
.final-cta-form-wrap {
    flex: 0 0 46%;
    max-width: 480px;
    background: rgba(5,27,55,0.55);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: var(--radius-lg);
    padding: var(--sp-10);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* ---- 24. FORMS ---- */
.alghadeer-lead-form-shared .form-group,
.lead-form .form-group,
.modal-lead-form .form-group,
.inline-lead-form .form-group { margin-bottom: var(--sp-6); }
.form-label,
.alghadeer-lead-form-shared .form-label {
    display: block;
    font-size: var(--text-xs); font-weight: 600;
    letter-spacing: 0.10em; text-transform: uppercase;
    color: rgba(255,255,255,0.75);
    margin-bottom: var(--sp-3);
}
.form-control,
.alghadeer-lead-form-shared .form-control {
    width: 100%;
    padding: 0.875rem 1.125rem;
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: var(--radius-md);
    background: rgba(255,255,255,0.06);
    color: var(--clr-white);
    font-size: var(--text-base);
    transition: border-color var(--ease), background var(--ease);
    outline: none;
}
.form-control::placeholder,
.alghadeer-lead-form-shared .form-control::placeholder { color: rgba(255,255,255,0.36); }
.form-control:focus,
.alghadeer-lead-form-shared .form-control:focus {
    border-color: var(--clr-teal-light);
    background: rgba(16,167,178,0.06);
}
/* Select arrow */
select,
select.form-control,
.alghadeer-lead-form-shared select {
    -webkit-appearance: none !important;
    appearance: none !important;
    background-color: rgba(255,255,255,0.06) !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%234DD9E0' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 14px center !important;
    background-size: 12px 8px !important;
    padding-right: 2.75rem !important;
    cursor: pointer;
}
/* ── Split phone field ──────────────────────────────────────────────────── */
.phone-input-row {
    display: grid;
    grid-template-columns: minmax(130px, 0.36fr) minmax(0, 0.64fr);
    gap: 10px;
    align-items: stretch;
}
/* Country selector inherits .form-control sizing; keep emoji readable */
.phone-country-wrap { display: flex; min-width: 0; }
.phone-country {
    width: 100%;
    font-size: var(--text-sm);   /* slightly smaller so code fits */
    padding-right: 2.25rem !important; /* room for the SVG arrow */
}
/* Local number input */
.phone-number { width: 100%; min-width: 0; }

/* ≤430px: tighter columns, shorter country label still shows */
@media (max-width: 430px) {
    .phone-input-row {
        grid-template-columns: minmax(110px, 0.40fr) minmax(0, 0.60fr);
        gap: 8px;
    }
    .phone-country { font-size: 0.8rem; }
}
/* ──────────────────────────────────────────────────────────────────────── */

/* Buyer type radio pills */
.buyer-type-options { display: flex; flex-wrap: wrap; gap: var(--sp-3); }
.buyer-type-option { cursor: pointer; }
.buyer-type-option input[type="radio"] { position: absolute; opacity: 0; width: 0; height: 0; }
.buyer-type-option span {
    display: inline-block;
    padding: var(--sp-3) var(--sp-6);
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: var(--radius-pill);
    font-size: var(--text-xs); font-weight: 600;
    letter-spacing: 0.08em; text-transform: uppercase;
    color: rgba(255,255,255,0.68);
    transition: background var(--ease), border-color var(--ease), color var(--ease);
    cursor: pointer;
}
.buyer-type-option input:checked + span {
    background: var(--clr-teal);
    border-color: var(--clr-teal);
    color: var(--clr-white);
}
.buyer-type-option:hover span { border-color: var(--clr-aqua); color: var(--clr-aqua); }
.required-mark { color: var(--clr-aqua); margin-left: 2px; }
.field-error-msg {
    display: block; font-size: var(--text-xs);
    color: #f87171; margin-top: var(--sp-2); min-height: 1em;
}
.form-honeypot { display: none !important; }
.form-success { text-align: center; padding: var(--sp-10) var(--sp-6); color: var(--clr-aqua); }
.form-success[hidden] { display: none !important; }
.form-error-global { color: #f87171; font-size: var(--text-sm); text-align: center; margin-top: var(--sp-4); }
.form-error-global[hidden] { display: none !important; }
.form-row.two-col { display: grid; gap: var(--sp-4); }
.form-submit-btn { width: 100%; margin-top: var(--sp-4); }

/* ---- 25. MODALS ---- */
.modal-overlay {
    display: none;
    position: fixed; inset: 0;
    background: rgba(5,27,55,0.80);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1000;
    align-items: center; justify-content: center;
    padding: var(--sp-6);
}
.modal-overlay.is-open,
.modal-overlay:not([hidden]) { display: flex; }
.modal-box {
    background: var(--clr-navy-mid);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: var(--radius-lg);
    padding: var(--sp-10);
    width: min(90vw, 540px);
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}
.modal-close {
    position: absolute; top: var(--sp-4); right: var(--sp-4);
    background: none; border: none;
    color: rgba(255,255,255,0.55);
    font-size: 1.5rem; cursor: pointer; line-height: 1;
    padding: var(--sp-2); border-radius: 50%;
    transition: color var(--ease), background var(--ease);
    display: flex; align-items: center; justify-content: center;
    width: 36px; height: 36px;
}
.modal-close:hover { color: var(--clr-white); background: rgba(255,255,255,0.10); }
.modal-close svg { width: 20px; height: 20px; pointer-events: none; }
.modal-title {
    font-family: var(--font-heading);
    font-size: var(--text-2xl); font-weight: 400;
    color: var(--clr-white); margin-bottom: var(--sp-2);
    padding-right: var(--sp-10);
}
.modal-subtitle,
.modal-description {
    font-size: var(--text-sm); color: rgba(255,255,255,0.58);
    margin-bottom: var(--sp-8);
}
.modal-header { margin-bottom: var(--sp-6); }

/* ---- 26. STICKY MOBILE CTA ---- */
.sticky-mobile-cta {
    display: none; /* mobile only */
    position: fixed; bottom: 0; left: 0; right: 0;
    z-index: 800;
    background: rgba(5,27,55,0.97);
    border-top: 1px solid rgba(255,255,255,0.10);
    padding: var(--sp-3) var(--sp-4);
    padding-bottom: calc(var(--sp-3) + env(safe-area-inset-bottom, 0px));
    gap: var(--sp-3);
}
.sticky-cta-btn {
    flex: 1; display: inline-flex; align-items: center; justify-content: center;
    font-family: var(--font-body); font-size: var(--text-xs); font-weight: 600;
    letter-spacing: 0.10em; text-transform: uppercase;
    padding: 0.75rem 1rem; border-radius: var(--radius-pill);
    border: 2px solid transparent; cursor: pointer; min-width: 0;
    transition: background var(--ease), color var(--ease), border-color var(--ease);
    min-height: 44px;
}
.sticky-brochure {
    background: transparent; color: var(--clr-white);
    border-color: rgba(255,255,255,0.40);
}
.sticky-brochure:hover { background: rgba(255,255,255,0.10); }
.sticky-register {
    background: var(--btn-bg); color: var(--btn-text);
    border-color: var(--btn-bg);
}
.sticky-register:hover { background: var(--btn-hover-bg); border-color: var(--btn-hover-bg); }

/* ---- 27. FOOTER ---- */
.site-footer {
    background: var(--clr-navy);
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: var(--sp-12) 0 var(--sp-8);
}
.footer-inner { display: flex; flex-direction: column; gap: var(--sp-8); }
.footer-logo-wrap { max-width: 160px; }
.footer-logo-img { max-width: 100%; height: auto; filter: brightness(0) invert(1); opacity: 0.85; }
.footer-logo-text { font-family: var(--font-heading); font-size: var(--text-xl); color: rgba(255,255,255,0.80); }
.footer-disclaimer { font-size: var(--text-xs); color: rgba(255,255,255,0.38); line-height: 1.65; max-width: 820px; }
.footer-copy { font-size: var(--text-xs); color: rgba(255,255,255,0.32); }

/* ---- 28. THANK YOU PAGE ---- */
.thankyou-page,
.thank-you-page {
    min-height: 100vh;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    text-align: center;
    padding: var(--sp-16) var(--container-pad-x);
    background: var(--clr-navy);
}

/* ---- 29. UTILITIES ---- */
.sr-only {
    position: absolute; width: 1px; height: 1px;
    padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.rule-accent {
    width: 3rem; height: 2px;
    background: var(--clr-aqua); border-radius: 2px;
    margin-bottom: var(--sp-8);
}
/* Fade-up animation */
.fade-up {
    opacity: 0; transform: translateY(20px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}
.fade-up.is-visible { opacity: 1; transform: none; }
/* Scroll margin for fixed header */
section[id], div.section-scroll-target {
    scroll-margin-top: 80px;
}
/* Legacy aliases */
.eyebrow { color: var(--clr-aqua); font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.20em; text-transform: uppercase; display: block; margin-bottom: var(--sp-4); }
.section-title { font-family: var(--font-heading); font-size: var(--text-4xl); font-weight: 400; line-height: 1.12; color: var(--clr-white); }
.section-lead, .section-copy { font-size: var(--text-lg); font-weight: 300; color: var(--clr-text-muted); max-width: 62ch; line-height: 1.8; }
.section-copy--dark { color: rgba(5,27,55,0.72); max-width: 640px; }
.section-heading--dark { color: var(--clr-navy); }
.bg-navy { background-color: var(--clr-navy); }
.bg-navy-mid { background-color: var(--clr-navy-mid); }
.bg-teal { background-color: var(--clr-teal); }
/* Section pad classes */
.section-pad    { padding-top: var(--section-pad); padding-bottom: var(--section-pad); }
.section-pad-lg { padding-top: 130px; padding-bottom: 130px; }
.section-pad-sm { padding-top: 60px; padding-bottom: 60px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* ≥1440px: wider container */
@media (min-width: 1440px) {
    :root { --container-max: 1380px; }
}

/* ≥1024px: desktop nav on, hamburger off, sticky CTA off */
@media (min-width: 1024px) {
    .hamburger, .nav-toggle { display: none !important; }
    .mobile-nav { display: none !important; }
    .header-nav { display: flex !important; align-items: center; }
    .header-cta { display: flex !important; align-items: center; }
    .sticky-mobile-cta { display: none !important; }
    section[id] { scroll-margin-top: 80px; }
}

/* ≥768px: two-col form row */
@media (min-width: 768px) {
    .form-row.two-col { grid-template-columns: 1fr 1fr; }
}

/* <1024px: hamburger on, nav off */
@media (max-width: 1023px) {
    .header-nav { display: none; }
    .header-cta { display: none; }
    .nav-toggle  { display: flex; }
    .site-header { height: var(--header-h-mobile); }
    .header-logo-img { height: 36px; }
    .header-logo-img--desktop { display: none; }
    .header-logo-img--mobile  { display: block; }

    /* Why grid: 2-col on tablets */
    .why-grid,
    .why-grid--3col { grid-template-columns: repeat(2, 1fr); }

    /* Developer: stack */
    .developer-inner { flex-direction: column; align-items: flex-start; }

    /* Location: stack */
    .location-layout { flex-direction: column; }
    .location-benefits-wrap { flex: none; width: 100%; }
    .map-area { flex: none; width: 100%; }

    /* Final CTA: stack */
    .final-cta-inner { flex-direction: column; }
    .final-cta-form-wrap { max-width: 100%; flex: none; }
    .final-cta-copy { flex: none; }
}

/* <768px: tablets narrower */
@media (max-width: 768px) {
    /* Section sections: reduce padding */
    .highlights-section, .overview-section, .story-section,
    .why-section, .lifestyle-section, .finishes-section,
    .units-section, .payment-section, .amenities-section,
    .location-section, .gallery-section, .developer-section,
    .faq-section, .final-cta-section {
        padding-top: var(--section-pad-mobile);
        padding-bottom: var(--section-pad-mobile);
    }

    /* Overview: stack */
    .overview-inner { flex-direction: column; }
    .overview-text, .overview-content { flex: none; width: 100%; }
    .overview-image-wrap, .overview-media { flex: none; width: 100%; aspect-ratio: 4/3; }

    /* Story: stack */
    .story-inner { flex-direction: column; }
    .story-text { flex: none; width: 100%; }
    .story-image-wrap { flex: none; width: 100%; aspect-ratio: 4/3; }

    /* Lifestyle: stack (image on top) */
    .lifestyle-inner { flex-direction: column; }
    .lifestyle-image-wrap { flex: none; width: 100%; aspect-ratio: 4/3; order: 0; }
    .lifestyle-text { flex: none; width: 100%; order: 1; }

    /* Why grid: 2-col */
    .why-grid,
    .why-grid--3col { grid-template-columns: repeat(2, 1fr); }

    /* Finishes: single col */
    .finishes-grid { grid-template-columns: 1fr; }

    /* Unit cards: single col */
    .unit-categories-grid { grid-template-columns: 1fr; }

    /* Payment: single col */
    .payment-cards { grid-template-columns: 1fr; gap: var(--sp-4); }

    /* Amenities: 2 col */
    .amenities-grid { grid-template-columns: repeat(2, 1fr); }

    /* Location benefits: 1 col */
    .location-benefits-grid { grid-template-columns: 1fr; }

    /* Highlights: 2-col */
    .highlights-list { grid-template-columns: repeat(2, 1fr); }

    /* Gallery: 2-col + mobile carousel */
    .gallery-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: var(--sp-3);
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: var(--sp-3);
    }
    .gallery-grid::-webkit-scrollbar { display: none; }
    .gallery-item {
        flex: 0 0 80vw;
        scroll-snap-align: start;
        height: 240px;
    }
    .gallery-item--featured { flex: 0 0 80vw; }

    /* FAQ */
    .faq-question { padding: var(--sp-5) var(--sp-6); }
    .faq-answer   { padding: 0 var(--sp-6) var(--sp-6); }
}

/* <767px: mobile */
@media (max-width: 767px) {
    :root {
        --container-pad-x: 1.25rem;
        --header-h: var(--header-h-mobile);
    }
    .header-nav { display: none; }
    .header-cta { display: none; }
    .nav-toggle  { display: flex; }

    /* Hero */
    .hero-section { background-position: center 30%; min-height: 100svh; }
    .hero-heading,
    .hero-title { font-size: clamp(2rem, 7vw, 3rem); max-width: 100%; }
    .hero-body, .hero-subtitle { max-width: 100%; }
    .hero-actions, .hero-ctas { flex-direction: column; align-items: flex-start; }
    .hero-actions .btn, .hero-ctas .btn { width: 100%; min-width: 0; text-align: center; }
    .hero-align-center .hero-actions,
    .hero-align-center .hero-ctas { align-items: stretch; }

    /* Sticky bar */
    .sticky-mobile-cta { display: flex; }
    body { padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px)); }
    section[id], div.section-scroll-target { scroll-margin-top: 64px; }

    /* Modal slides up */
    .modal-overlay { align-items: flex-end; padding: 0; }
    .modal-box {
        width: 100%; border-radius: var(--radius-lg) var(--radius-lg) 0 0;
        max-height: 90svh; animation: slideUp 0.3s ease;
    }
    @keyframes slideUp {
        from { transform: translateY(100%); }
        to   { transform: translateY(0); }
    }
    .buyer-type-options { flex-direction: column; }
    .buyer-type-option span { display: block; text-align: center; }

    /* FAQ */
    .faq-question { font-size: var(--text-lg); }

    /* Final CTA form */
    .final-cta-form-wrap { padding: var(--sp-8) var(--sp-6); }

    /* Why: 2-col on small mobile */
    .why-grid,
    .why-grid--3col { grid-template-columns: repeat(2, 1fr); gap: var(--sp-4); }

    /* Payment: 1 col */
    .payment-cards { grid-template-columns: 1fr; }

    /* Overview actions: stack */
    .overview-actions { flex-direction: column; }
    .overview-actions .btn { width: 100%; }
}

/* <430px: larger phones */
@media (max-width: 430px) {
    .why-grid,
    .why-grid--3col { grid-template-columns: 1fr; }
    .highlights-list { grid-template-columns: repeat(2, 1fr); }
    .amenities-grid { grid-template-columns: repeat(2, 1fr); }
}

/* <390px: smallest phones */
@media (max-width: 390px) {
    :root { --container-pad-x: 1rem; }
    .hero-heading, .hero-title { font-size: 2rem; }
    .btn { padding: 0.75rem 1.25rem; font-size: 0.7rem; }
    .amenities-grid { grid-template-columns: repeat(2, 1fr); }
    .highlights-list { grid-template-columns: repeat(2, 1fr); }
    .payment-cards { grid-template-columns: 1fr; }
    .unit-categories-grid { grid-template-columns: 1fr; }
}
