@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

/* ─── Design Tokens ──────────────────────────────────────── */
:root {
    --primary:          #1b3022;
    --primary-light:    #2c4a35;
    --secondary:        #d9c5b2;
    --accent:           #7e8d85;
    --bg-main:          #f5f0ea;   /* Warm ivory — matches Lyndor's cream bg */
    --bg-dark:          #1a1d1a;
    --text-main:        #1a1d1a;
    --text-muted:       #5a5a5a;

    --font-heading:     "Playfair Display", serif;
    --font-body:        "Plus Jakarta Sans", sans-serif;

    --section-padding:  140px 5%;
    --container-max:    1400px;
    --ease-out:         cubic-bezier(0.16, 1, 0.3, 1);
    --transition:       all 0.6s var(--ease-out);
    --accent-glow:      rgba(217, 197, 178, 0.3);
}

/* ─── Reset ─────────────────────────────────────────────── */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

html { scroll-behavior: smooth; }

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -0.02em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul { list-style: none; }

img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

section { padding: var(--section-padding); }

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* ─── Typography Utilities ──────────────────────────────── */
.text-serif   { font-family: var(--font-heading); }
.italic       { font-style: italic; }
.uppercase    { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.78rem; font-weight: 600; }
.text-center  { text-align: center; }

/* ─── Flex/Grid Utilities ───────────────────────────────── */
.flex             { display: flex; }
.grid             { display: grid; }
.justify-between  { justify-content: space-between; }
.align-center     { align-items: center; }

/* ─── Buttons ───────────────────────────────────────────── */
.btn {
    display: inline-block;
    padding: 16px 38px;
    background: var(--primary);
    color: #fff;
    border: 1.5px solid var(--primary);
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    transition: var(--transition);
    border-radius: 3px;
    white-space: nowrap;
}

.btn:hover {
    background: var(--primary-light);
    border-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.12);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: #fff;
}

/* ─── Scroll Reveal ─────────────────────────────────────── */
[data-reveal] {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}

[data-reveal].active {
    opacity: 1;
    transform: translateY(0);
}

/* ════════════════════════════════════════════════════════════
   NAV
════════════════════════════════════════════════════════════ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: background 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease;
    padding: 28px 0;
    background: #1c2d37; /* Dark Slate Header */
    color: #fff;
}

.nav.scrolled {
    padding: 14px 0;
    background: #1c2d37; /* Consistent branding on scroll */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

/* Side Branding — hidden on all screens (decorative, causes visual clutter) */
.side-branding {
    display: none;
}

.side-branding span {
    font-size: 0.65rem;
    letter-spacing: 0.4em;
    white-space: nowrap;
    text-transform: uppercase;
    font-weight: 600;
}

.nav-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.logo { 
    display: flex; 
    align-items: center; 
    gap: 16px; 
    text-decoration: none;
    color: #fff;
}

.logo-img {
    height: 48px; /* Balanced height for header */
    width: auto;
    object-fit: contain;
    mix-blend-mode: screen; /* Blends white bg away on dark header */
}

.logo-text-wrap {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-name { 
    font-size: clamp(1rem, 4vw, 1.4rem); /* Responsive logo font */
    letter-spacing: 3px; 
    font-weight: 700; 
}

.logo-sub { 
    font-size: clamp(0.45rem, 1.5vw, 0.55rem); 
    letter-spacing: 0.25em; 
    opacity: 0.8; 
    margin-top: 2px; 
    text-transform: uppercase; 
    font-weight: 500;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    opacity: 0.85;
    transition: opacity 0.3s, color 0.3s;
    color: #fff; /* White links for the dark header */
}

.nav-links a:hover { 
    opacity: 1; 
    color: var(--secondary); 
}

.nav-contact {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-contact span {
    font-size: 0.82rem;
    opacity: 0.75;
    color: #fff;
}

.nav-btn {
    padding: 12px 28px;
    font-size: 0.85rem;
    background: var(--secondary); /* Contrast button */
    color: var(--text-main);
    border: none;
    font-weight: 700;
}

.nav-btn:hover {
    background: #fff;
    transform: translateY(-2px);
}

/* ════════════════════════════════════════════════════════════
   HERO — Lyndor style
   Top: brand name + tagline on cream background
   Below: contained rounded image that expands on scroll
════════════════════════════════════════════════════════════ */
.hero-section {
    background: var(--bg-main);
    padding-top: 120px; /* clear nav */
    padding-bottom: 0;
    overflow: visible;
}

/* Text block sits above the image */
.hero-text-block {
    text-align: center;
    padding: 60px 24px 48px;
    max-width: 860px;
    margin: 0 auto;
}

.hero-brand {
    font-size: clamp(2.8rem, 7.5vw, 5.5rem);
    
    line-height: 1;
    margin-bottom: 20px;
    color: var(--text-main);
}

.hero-tagline {
    font-family: var(--font-body);
    font-size: clamp(1.1rem, 2.2vw, 1.6rem);
    font-weight: 300;
    margin-bottom: 16px;
    letter-spacing: 0.02em;
}

.hero-desc {
    font-size: 1.18rem;
    margin: 0 auto;
    line-height: 1.7;
}

/* ── Image wrapper ── */
/* Initial state: roughly 70vw wide, centred, rounded corners */
.hero-image-wrapper {
    width: 70vw;           /* expanded via JS to 100vw */
    position: relative;
    left: 50%;
    transform: translateX(-50%); /* Robust centering */
    border-radius: 16px;   /* shrinks to 0 via JS */
    overflow: hidden;
    transition: none;      /* JS handles smooth updates */
    will-change: width, transform, border-radius;
}

.hero-image-inner {
    width: 100%;
    aspect-ratio: 16 / 8;
    overflow: hidden;
    border-radius: inherit;
    position: relative;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform-origin: center center;
    will-change: transform;
    filter: brightness(0.95) contrast(1.05);
}

/* Brand Marquee */
.marquee-wrapper {
    background: var(--primary);
    padding: 24px 0;
    overflow: hidden;
    white-space: nowrap;
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.marquee-content {
    display: inline-flex;
    align-items: center;
    animation: marquee 40s linear infinite;
    gap: 60px;
    color: var(--secondary);
}

.marquee-content span {
    font-size: 1.8rem;
    letter-spacing: 0.05em;
    opacity: 0.8;
}

.marquee-content .dot {
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    display: inline-block;
    opacity: 0.4;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Gradient overlay + CTA inside the image */
.hero-img-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 48px;
    background: linear-gradient(to top, rgba(0,0,0,0.45) 0%, transparent 60%);
}

/* ════════════════════════════════════════════════════════════
   ABOUT
════════════════════════════════════════════════════════════ */
.about {
    padding-bottom: 60px; /* Reduced bottom spacing */
}

.about-grid {
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

.about-text h2 {
    font-size: clamp(2.4rem, 5vw, 4rem);
    margin: 16px 0 28px;
}

.about-text p {
    margin-bottom: 22px;
    font-size: 1.1rem;
    
    line-height: 1.8;
}

.img-placeholder {
    width: 100%;
    overflow: hidden;
}

/* ════════════════════════════════════════════════════════════
   RESIDENCES
════════════════════════════════════════════════════════════ */
.section-header {
    margin-bottom: 70px;
}

.section-header h2 {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    margin-top: 12px;
}

.residences-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 36px;
}

.res-card {
    background: #fff;
    cursor: pointer;
    border-radius: 4px;
    overflow: hidden;
    transition: box-shadow 0.5s ease, transform 0.5s var(--ease-out);
}

.res-card:hover {
    box-shadow: 0 28px 70px rgba(0,0,0,0.10);
    transform: translateY(-4px);
}

/* ── Carousel ── */
.res-carousel {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: var(--bg-dark);
    border-radius: 4px 4px 0 0;
}

/* Bullet progress indicators at the TOP edge */
.carousel-bullets {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 10;
}

.bullet {
    display: block;
    width: 32px;
    height: 3px;
    border-radius: 2px;
    background: rgba(255,255,255,0.35);
    transition: background 0.35s ease, width 0.35s ease;
}

.bullet.active {
    background: #fff;
    width: 44px;
}

/* ════════════════════════════════════════════════════════════
   EB-5 JOURNEY ROADMAP (MIRA INSPIRED - STICKY EXPERIENCE)
════════════════════════════════════════════════════════════ */
/* ════════════════════════════════════════════════════════════
   EB-5 JOURNEY ROADMAP (MIRA INSPIRED - STICKY EXPERIENCE)
════════════════════════════════════════════════════════════ */
/* ════════════════════════════════════════════════════════════
   EB-5 JOURNEY ROADMAP (MIRA INSPIRED - STICKY EXPERIENCE)
════════════════════════════════════════════════════════════ */
.eb5-journey-mira {
    position: relative;
    background: var(--bg-main);
    padding-top: 0; /* Removed redundant top padding */
}

/* Header in standard flow */
.journey-header-container {
    padding: 60px 60px 20px; /* Reduced top padding from 100px to 60px */
    max-width: 1400px;
    margin: 0 auto;
}

.journey-header-container p {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--primary);
    margin-bottom: 12px;
}

.journey-header-container h2 {
    font-size: 3rem;
    line-height: 1.1;
    color: var(--primary);
}

.journey-sticky-wrapper {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100%;
    display: flex;
    overflow: hidden;
    padding: 20px 60px 60px;
}

/* Left: Visuals Stack */
.journey-visuals {
    flex: 1.2;
    position: relative;
    height: 100%;
    border-radius: 12px;
    overflow: hidden;
}

.visual-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s var(--ease-out), transform 1s var(--ease-out);
    transform: scale(1.05); 
}

.visual-item.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    z-index: 2;
}

.visual-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Right: Info Card */
.journey-info-panel {
    width: 480px;
    padding-left: 60px;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 5;
}

.journey-card {
    background: #fff;
    padding: 60px;
    width: 100%;
    border-radius: 4px;
    position: relative;
    box-shadow: 0 40px 100px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.02);
}

/* Progress indicator inside card */
.card-progress {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: rgba(27, 48, 34, 0.05);
}

.progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: var(--primary);
    transition: height 0.4s var(--ease-out);
}

.step-number-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 40px;
    color: var(--primary);
}

.step-details-stack {
    position: relative;
    min-height: 250px;
}

.step-details-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.6s var(--ease-out);
}

.step-details-item.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.step-details-item .step-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--primary);
    margin-bottom: 8px;
}

.step-details-item h3 {
    font-size: 1.8rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.step-details-item .step-time-badge {
    display: inline-block;
    padding: 4px 12px;
    background: var(--primary);
    color: var(--secondary);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 20px;
    margin-bottom: 20px;
}

.step-details-item p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

/* Scroll spacer — only structural, invisible */
#journeyScrollSpace {
    pointer-events: none;
}

/* Mobile journey nav — hidden by default, shown on mobile */
.mobile-journey-nav { display: none; }

@media (max-width: 1024px) {
    .eb5-journey-mira { height: auto; }
    .journey-sticky-wrapper {
        position: relative;
        height: auto;
        flex-direction: column;
        padding: 40px 20px;
    }
    .journey-visuals {
        height: 60vh;
        margin-bottom: 40px;
        flex: none;
        width: 100%;
    }
    .journey-info-panel {
        width: 100%;
        padding-left: 0;
    }
    .journey-card {
        padding: 40px 30px;
    }
    .step-details-stack {
        min-height: auto;
    }
    .step-details-item {
        position: relative;
        margin-bottom: 60px;
        opacity: 1;
        visibility: visible;
        transform: none;
    }
    .scroll-trigger { display: none; }
}

/* Slide stack */
.carousel-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.55s var(--ease-out);
    pointer-events: none;
}

.carousel-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.7s var(--ease-out);
}

.res-card:hover .carousel-slide.active img {
    transform: scale(1.06);
}

/* Circular arrow buttons */
.carousel-btn {
    position: absolute;
    bottom: 16px;
    z-index: 10;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.18);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
    outline: none;
}

.carousel-btn:hover {
    background: rgba(255,255,255,0.35);
    transform: scale(1.1);
}

.carousel-prev { left: calc(50% - 46px); }
.carousel-next { left: calc(50% + 6px);  }

/* Price badge */
.res-price {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--primary);
    color: #fff;
    padding: 8px 18px;
    font-size: 0.78rem;
    font-weight: 600;
    border-radius: 30px;
    letter-spacing: 0.04em;
    z-index: 5;
}

.res-info { padding: 28px 24px 32px; }

.res-info h3 {
    font-size: 1.75rem;
    margin-bottom: 8px;
    transition: color 0.3s;
}

.res-card:hover .res-info h3 {
    color: var(--primary);
}

.res-info p {
    font-size: 0.88rem;
    opacity: 0.50;
    margin-bottom: 22px;
    letter-spacing: 0.02em;
}

/* Diagonal arrow CTA (↗ style like paisana.studio) */
.link-diag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 600;
    color: var(--primary);
    position: relative;
    transition: gap 0.3s ease;
}

.link-diag::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary);
    transition: width 0.4s var(--ease-out);
}

.link-diag:hover { gap: 14px; }
.link-diag:hover::after { width: 100%; }

.link-diag svg {
    transition: transform 0.3s ease;
}

.link-diag:hover svg {
    transform: translate(3px, -3px);
}

/* ════════════════════════════════════════════════════════════
   AMENITIES
════════════════════════════════════════════════════════════ */
.amenities {
    background: #1c2d37; /* Consistent branding dark slate */
    color: #fff;
    padding: 140px 0;
}

.amenities-header {
    grid-template-columns: 1.2fr 1.1fr;
    gap: 120px;
    margin-bottom: 80px;
    align-items: flex-end; /* Aligned with the bottom of the heading */
}

.amenities-header h2 {
    font-size: clamp(2.8rem, 5vw, 4.2rem);
    line-height: 1.05;
    margin: 0;
}

.amenities-header p {
    font-size: 1.1rem;
    line-height: 1.5;
    opacity: 0.7;
    margin-bottom: 8px; /* Visual baseline alignment */
}

.amenities-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.amenity-item .icon {
    display: block;
    color: #d9c5b2; /* Bronze accent */
    margin-bottom: 20px;
}

.amenity-item .icon svg {
    stroke-width: 1; /* Thinner, more premium stroke */
}

.amenity-item:hover .icon svg {
    transform: translateY(-8px);
}

.amenity-item h4 {
    font-size: 1.6rem;
    margin-bottom: 18px;
    font-weight: 500;
}

.amenity-item p {
    font-size: 0.98rem;
    opacity: 0.6;
    line-height: 1.7;
}

/* ════════════════════════════════════════════════════════════
   STORIES
════════════════════════════════════════════════════════════ */
/* ════════════════════════════════════════════════════════════
   PARTNERSHIP (NIKE INSPIRED)
════════════════════════════════════════════════════════════ */
.partnership-nike {
    padding: 160px 0;
    overflow: hidden;
}

.partnership-grid {
    grid-template-columns: 1fr 1.2fr;
    gap: 120px;
    align-items: center;
}

.nike-title {
    font-size: clamp(1.4rem, 2.8vw, 2.2rem); /* Slightly smaller for single line */
    color: var(--primary);
    margin-bottom: 24px;
    font-weight: 500;
    white-space: nowrap; /* Keep on one line */
}

.nike-title .plus {
    font-family: var(--font-body);
    font-weight: 300;
    color: var(--accent);
    margin: 0 10px;
}

.nike-subtitle {
    font-size: clamp(2.5rem, 5.5vw, 5.5rem);
    line-height: 0.95;
    color: var(--primary);
    font-family: var(--font-heading);
    margin-bottom: 60px;
    letter-spacing: -0.04em;
    font-weight: 400;
}

.nike-mini-block {
    max-width: 480px;
    gap: 32px;
}

.mini-img {
    width: 100px;
    height: 100px;
    flex-shrink: 0;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.mini-text h4 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--primary);
}

.mini-text p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-muted);
}

.nike-link {
    display: inline-block;
   
    font-weight: 600;
    margin-top: 8px;
    border-bottom: 1px solid var(--accent);
}

.partnership-visual {
    position: relative;
    height: 100%;
}

.visual-wrapper {
    position: relative;
    height: 700px; /* Tall impact like Nike */
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(0,0,0,0.1);
}

.synergy-badge {
    position: absolute;
    bottom: 40px;
    left: 40px;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    padding: 18px 24px;
    border-radius: 2px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.synergy-badge span {
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    font-weight: 700;
    color: var(--primary);
}

@media (max-width: 1024px) {
    .partnership-nike { padding: 100px 0; }
    .partnership-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    .visual-wrapper { height: 500px; }
}

/* ════════════════════════════════════════════════════════════
   FAQ
════════════════════════════════════════════════════════════ */
.faq-grid {
    grid-template-columns: 1fr 1.5fr;
    gap: 100px;
}

.faq-grid > div:first-child h2 {
    font-size: clamp(2.4rem, 4vw, 3.5rem);
    margin-top: 16px;
}

.faq-list { border-top: 1px solid rgba(0,0,0,0.1); }

.faq-item { border-bottom: 1px solid rgba(0,0,0,0.1); padding: 36px 0; }

.faq-trigger {
    cursor: pointer;
    user-select: none;
}

.faq-trigger h4 { font-size: 1.4rem; font-weight: 300; }

.faq-trigger span {
    font-size: 1.6rem;
    font-weight: 200;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 20px;
}

.faq-item.faq-open .faq-trigger span { transform: rotate(45deg); }

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s var(--ease-out), opacity 0.4s ease, padding 0.4s ease;
    opacity: 0;
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.75;
}

.faq-item.faq-open .faq-content {
    max-height: 800px; /* Large enough for content */
    opacity: 1;
    padding-top: 22px;
}

/* ════════════════════════════════════════════════════════════
   BOOKING
════════════════════════════════════════════════════════════ */
.book {
    padding-top: 80px;
    padding-bottom: 40px; /* Further reduced bottom space */
}

.book-grid {
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: flex-start; /* Align at top */
}

.book-info {
    padding-top: 10px; /* Offset to align with form content top */
}

.book-info h2 {
    font-size: clamp(2.8rem, 5vw, 4.5rem);
    margin-bottom: 36px;
}

.book-info p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    font-weight: 300;
    color: var(--text-muted);
}

.contact-methods p {
    font-size: 1.1rem;
    margin-bottom: 12px;
    font-family: var(--font-heading);
    font-weight: 500;
}
.book {
    background: #ffffff;
    padding-top: 80px;
    padding-bottom: 140px;
    border-top: 1px solid rgba(0,0,0,0.03);
}

/* Premium Section Divider - Restored */
.section-divider-premium {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-bottom: 80px;
    width: 100%;
    padding: 0 40px;
}

.divider-line {
    height: 1px;
    flex: 1;
    background: rgba(27, 48, 34, 0.1);
    max-width: 150px;
}

.divider-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    color: var(--primary);
    opacity: 0.5;
    white-space: nowrap;
}

/* ── Investment Stats Panel (inside .book-info) ──────────────── */
.book-stats-panel {
    margin-top: 48px;
    border-top: 1px solid rgba(27,48,34,0.12);
}

.book-stat-row {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 22px 0;
    border-bottom: 1px solid rgba(27,48,34,0.08);
    transition: background 0.2s ease;
}

.stat-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--primary);
    opacity: 0.55;
}

.stat-value {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--primary);
    line-height: 1.45;
}

.stat-note {
    font-weight: 400;
    opacity: 0.7;
    font-size: 0.95em;
}

/* Highlight row for "2026 Applications" */
.book-stat-row--highlight .stat-label {
    opacity: 0.7;
    color: var(--primary);
}

.book-stat-row--highlight .stat-value strong {
    display: inline-block;
    background: var(--primary);
    color: var(--secondary);
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: 700;
    margin-left: 4px;
    letter-spacing: 0.03em;
}

.book-form {
    padding: 80px;
    background: #fff;
    box-shadow: 0 40px 100px rgba(27, 48, 34, 0.07);
}

.form-group { margin-bottom: 24px; }

input, select, textarea {
    width: 100%;
    padding: 22px;
    border: 1px solid rgba(0,0,0,0.08);
    background: var(--bg-main);
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s ease;
    border-radius: 2px;
}

input:focus, select:focus, textarea:focus {
    border-color: var(--primary);
}

textarea { height: 160px; resize: none; }

.form-btn {
    width: 100%;
    padding: 22px;
    background: var(--primary);
    color: #fff;
    border: none;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-btn:hover {
    background: #15241b;
    transform: translateY(-2px);
}

/* ── Hamburger / Nav Toggle ─────────────────────────────── */
.nav-toggle {
    display: none;
    position: relative;
    width: 22px;
    height: 22px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
    margin-left: 20px;
    color: #fff;
    padding: 0;
}

.nav-toggle .icon-menu,
.nav-toggle .icon-close {
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}

.nav-toggle .icon-close {
    opacity: 0;
    transform: rotate(-45deg) scale(0.8);
}

.nav-toggle.active .icon-menu {
    opacity: 0;
    transform: rotate(45deg) scale(0.8);
}

.nav-toggle.active .icon-close {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

/* ── Mobile Menu Overlay ────────────────────────────────── */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #1c2d37; /* Same as header/footer dark slate */
    z-index: 999; /* below nav (1000) so the X toggle remains visible */
    opacity: 0;
    visibility: hidden;
    transition: all 0.6s var(--ease-out);
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-inner {
    text-align: center;
    padding: 40px;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 60px;
}

.mobile-nav-links a {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: #fff;
    text-decoration: none;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s var(--ease-out);
}

.mobile-menu.active .mobile-nav-links a {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered link reveal */
.mobile-menu.active .mobile-nav-links a:nth-child(1) { transition-delay: 0.2s; }
.mobile-menu.active .mobile-nav-links a:nth-child(2) { transition-delay: 0.3s; }
.mobile-menu.active .mobile-nav-links a:nth-child(3) { transition-delay: 0.4s; }
.mobile-menu.active .mobile-nav-links a:nth-child(4) { transition-delay: 0.5s; }
.mobile-menu.active .mobile-nav-links a:nth-child(5) { transition-delay: 0.6s; }
.mobile-menu.active .mobile-nav-links a:nth-child(6) { transition-delay: 0.7s; }

.mobile-cta {
    color: var(--secondary) !important;
    font-weight: 700;
}

.mobile-menu-footer {
    color: rgba(255,255,255,0.4);
    font-size: 0.8rem;
    letter-spacing: 2px;
}

.mobile-socials {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.mobile-socials a {
    color: #fff;
    font-size: 0.75rem;
    opacity: 0.7;
}

/* ════════════════════════════════════════════════════════════
   RESPONSIVE
   (Desktop / Tablet Transition: 992px)
════════════════════════════════════════════════════════════ */

@media (max-width: 992px) {
    /* Header / Nav */
    .nav-links, 
    .nav-contact span,
    .nav-btn { display: none; }
    
    .nav-toggle { display: flex; }
    
    /* Layouts */
    .about-grid,
    .book-grid,
    .amenities-header,
    .faq-grid,
    .partnership-grid { grid-template-columns: 1fr; gap: 60px; }
    
    .amenities-grid  { grid-template-columns: repeat(2, 1fr); gap: 30px; }
    .footer-grid     { grid-template-columns: repeat(2, 1fr); gap: 50px; }
    
    .hero-brand  { font-size: clamp(3.5rem, 12vw, 5.5rem); }
}

@media (max-width: 768px) {
    section { padding: 100px 5%; }

    .side-branding { display: none; }

    .logo-img { height: 40px; }

    .amenities-grid  { grid-template-columns: 1fr; }
    .footer-grid     { grid-template-columns: 1fr; gap: 40px; }

    /* ── Hero mobile — full-screen image layout ──────────────── */
    .hero-section {
        padding: 0 !important;       /* override the section { padding: X 5% } rule */
        height: 100svh;
        position: relative;
        overflow: hidden;
    }

    /* Image fills the entire section */
    .hero-image-wrapper {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100% !important;
        height: 100% !important;
        transform: none !important;
        border-radius: 0 !important;
        margin: 0 !important;
    }

    .hero-image-inner {
        width: 100% !important;
        height: 100% !important;
        aspect-ratio: unset !important;
        border-radius: 0 !important;
    }

    .hero-img {
        filter: brightness(0.7) contrast(1.05) !important;
        transform: scale(1) !important;
    }

    /* Gradient overlay — darker mid-section so text block is always legible */
    .hero-img-overlay {
        background: linear-gradient(
            180deg,
            rgba(0,0,0,0.55) 0%,
            rgba(0,0,0,0.30) 38%,
            rgba(0,0,0,0.55) 65%,
            rgba(0,0,0,0.75) 100%
        ) !important;
        align-items: flex-end !important;
        justify-content: center !important;
        padding: 0 24px 52px !important;
    }

    .hero-cta {
        width: 100% !important;
        text-align: center !important;
    }

    /* Text block floats over the image */
    .hero-text-block {
        position: absolute !important;
        top: 50% !important;
        left: 0 !important;
        right: 0 !important;
        transform: translateY(-58%) !important;
        z-index: 10 !important;
        padding: 0 28px !important;
        max-width: 100% !important;
        margin: 0 !important;
        color: #fff !important;
    }

    .hero-brand {
        color: #fff !important;
        font-size: clamp(2.8rem, 13vw, 4.2rem) !important;
        text-shadow: 0 2px 16px rgba(0,0,0,0.6), 0 4px 32px rgba(0,0,0,0.4) !important;
    }

    .hero-tagline {
        color: #fff !important;
        margin-bottom: 12px !important;
        text-shadow: 0 1px 10px rgba(0,0,0,0.55) !important;
    }

    .hero-desc {
        color: rgba(255,255,255,0.92) !important;
        font-size: 0.88rem !important;
        text-shadow: 0 1px 8px rgba(0,0,0,0.55) !important;
    }
    /* ── End hero mobile ─────────────────────────────────────── */

    /* ── Journey section mobile redesign ─────────────────────── */
    #journeyScrollSpace { display: none; }

    .journey-header-container {
        padding: 30px 20px 12px;
    }
    .journey-header-container h2 { font-size: 2rem; }

    .journey-sticky-wrapper {
        position: relative !important;
        height: auto !important;
        flex-direction: column !important;
        padding: 0 !important;
    }

    .journey-visuals {
        height: 56vw !important;
        min-height: 200px !important;
        max-height: 280px !important;
        margin-bottom: 0 !important;
        width: 100% !important;
        flex: none !important;
        border-radius: 0 !important;
    }

    .journey-info-panel {
        width: 100% !important;
        padding: 0 !important;
    }

    .journey-card {
        padding: 24px 20px 20px !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        border-top: 3px solid var(--primary) !important;
    }

    .step-number-circle { margin-bottom: 16px !important; }

    /* Override the 1024px rule — keep steps absolutely positioned so only the active one shows */
    .step-details-stack {
        position: relative !important;
        min-height: 260px !important;  /* tall enough for longest step text */
    }
    .step-details-item {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        opacity: 0 !important;
        visibility: hidden !important;
        transform: translateY(10px) !important;
        margin-bottom: 0 !important;
        transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s !important;
    }
    .step-details-item.active {
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0) !important;
    }
    .step-details-item h3 { font-size: 1.3rem !important; }
    .step-details-item p  { font-size: 0.9rem !important; }

    /* Mobile nav buttons */
    .mobile-journey-nav {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        margin-top: 20px;
        padding-top: 16px;
        border-top: 1px solid rgba(0,0,0,0.08);
    }
    .journey-mob-btn {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        border: 1px solid rgba(27,48,34,0.25);
        background: transparent;
        color: var(--primary);
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: background 0.2s ease, color 0.2s ease;
    }
    .journey-mob-btn:active {
        background: var(--primary);
        color: #fff;
        border-color: var(--primary);
    }
    .mobile-step-count {
        font-size: 0.75rem;
        font-weight: 700;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        color: var(--primary);
        opacity: 0.55;
    }
    /* ── End journey mobile ───────────────────────────────────── */

    /* ── Footer logo mobile ──────────────────────────────────── */
    .footer-bg-desc {
        order: -1;         /* brand column moves to top on mobile */
        text-align: center;
        padding-bottom: 8px;
        border-bottom: 1px solid rgba(255,255,255,0.08);
    }

    .footer-logo-img {
        height: 64px !important;
        max-width: 220px !important;
        margin: 0 auto 20px !important;
    }

    .footer-bg-desc p {
        max-width: 340px;
        margin-left: auto;
        margin-right: auto;
    }

    .footer-socials {
        justify-content: center;
    }
    /* ── End footer logo mobile ───────────────────────────────── */

    .footer-white-bar .container { flex-direction: column; gap: 20px; text-align: center; }
    .legal-links { justify-content: center; }

    .book-form { padding: 40px 24px; }
    
    /* Allow both words to show fully on mobile */
    .footer-massive-container {
        overflow: hidden !important;
        padding-bottom: 16px !important;
    }
    .footer-massive-text {
        font-size: 14vw !important;      /* each word fits its own line */
        white-space: normal !important;  /* wrap at the space between words */
        line-height: 1.05 !important;
        transform: none !important;      /* no vertical crop on mobile */
        letter-spacing: -0.02em !important;
    }
    
    .carousel-btn { opacity: 1; }
}

@media (max-width: 480px) {
    .hero-brand { font-size: 2.8rem; }
    .hero-desc { font-size: 1rem; }
    .section-divider-premium { gap: 15px; margin-bottom: 60px; }
    .divider-line { max-width: 60px; }
    .mobile-nav-links a { font-size: 2rem; }
}
.footer {
    background: #1c2d37; /* New dark slate color */
    color: #fff;
    padding: 100px 0 0; 
}

.footer-content-wrap {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.footer-grid {
    grid-template-columns: 1fr 1fr 1fr 1.5fr;
    gap: 60px;
}

.footer-column h4 {
    font-size: 0.82rem;
    font-weight: 800;
    margin-bottom: 30px;
    letter-spacing: 0.1em;
    opacity: 0.9;
    text-transform: uppercase;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: #fff;
    opacity: 0.7;
    font-size: 0.92rem;
    transition: opacity 0.3s;
}

.footer-column ul li a:hover {
    opacity: 1;
    text-decoration: underline;
}

.footer-contact-info {
    font-size: 0.95rem;
    margin-bottom: 10px;
    opacity: 0.8;
}

.footer-socials {
    gap: 20px;
    margin-top: 24px;
}

.footer-socials a {
    color: #fff;
    opacity: 0.8;
    transition: transform 0.3s, opacity 0.3s;
}

.footer-socials a:hover {
    opacity: 1;
    transform: translateY(-3px);
}

.footer-bg-desc p {
    font-size: 0.92rem;
    opacity: 0.7;
    line-height: 1.7;
    margin-bottom: 16px;
}

.footer-logo-img {
    display: block;
    height: 56px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    mix-blend-mode: screen;
    margin-bottom: 28px;
    /* Boost visibility on dark bg */
    filter: brightness(1.15) contrast(1.1);
}

/* ── Massive Text Branding ────────────────────────────────── */
.footer-massive-container {
    width: 100%;           /* spans full footer width — no container constraint */
    padding: 40px 0 0;
   
    line-height: 0;
}

.footer-massive-text {
    font-family: var(--font-body);
    /* 5.2vw keeps the full text on one line at any desktop width */
    font-size: clamp(2rem, 5.2vw, 10rem);
    font-weight: 900;
    text-align: center;
    line-height: 0.85;
    letter-spacing: -0.03em;
    color: rgba(255,255,255,0.95);
    margin: 0;
    pointer-events: none;
    -webkit-user-select: none;
    user-select: none;
    white-space: nowrap;
    transform: translateY(15%); /* slight bottom-crop for the dramatic effect */
}

/* ── Bottom White Bar ─────────────────────────────────────── */
.footer-white-bar {
   
    padding: 30px 0;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.footer-white-bar .container {
    padding: 0 40px;
}

.copyright {
    font-size: 0.75rem;
   
    opacity: 0.8;
}

.legal-links {
    gap: 30px;
}

.legal-links a {
    font-size: 0.75rem;
    
    opacity: 0.8;
    font-weight: 500;
}

.legal-links a:hover {
    opacity: 1;
    text-decoration: underline;
}

/* ════════════════════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
    .about-grid,
    .book-grid       { grid-template-columns: 1fr; gap: 50px; }
    .residences-grid { grid-template-columns: 1fr 1fr; }
    .amenities-grid  { grid-template-columns: 1fr 1fr; }
    .amenities-header,
    .faq-grid        { grid-template-columns: 1fr; gap: 50px; }
    .footer-grid     { grid-template-columns: 1fr 1fr; gap: 50px; }
    /* massive text stays on one line at tablet — 5.2vw handles it */
}

@media (max-width: 768px) {
    section { padding: 80px 5%; }
    .hero-brand  { font-size: 3.5rem; }
    .nav-links,
    .nav-contact span { display: none; }
    .residences-grid { grid-template-columns: 1fr; }
    .amenities-grid  { grid-template-columns: 1fr; }
    .partnership-grid { grid-template-columns: 1fr; }
    .footer-grid     { grid-template-columns: 1fr; gap: 40px; }
    .hero-image-wrapper { width: 100% !important; border-radius: 0 !important; transform: none !important; }
    .book-form { padding: 40px 30px; }
    .footer-massive-text { font-size: 14vw; white-space: normal; transform: none; line-height: 1.05; }
    .footer-white-bar .container { flex-direction: column; gap: 20px; text-align: center; }
    /* On mobile, always show carousel buttons */
    .carousel-btn { opacity: 1; }
}