/*
Theme Name: South Banks
Theme URI: https://southbanktowns.ca
Description: Custom theme for South Banks Townhomes at Lakeview Village by DECO & Opus
Author: Batu Serin
Version: 1.0
License: GNU General Public License v2 or later
*/

/* ============================================
   SOUTH BANKS — Waterfront Townhomes
   DECO Homes & Opus Homes
   ============================================ */

/* --- CSS Variables --- */
:root {
    --charcoal: #1E2A2E;
    --charcoal-light: #243238;
    --charcoal-lighter: #2C3E44;
    --coastal: #3A8A9A;
    --coastal-light: #4DA8BA;
    --coastal-dark: #2E6E7C;
    --sand: #C4A87C;
    --sand-light: #D4BC94;
    --sand-dark: #A88D62;
    --cream: #F7F3EE;
    --cream-dark: #EDE7DF;
    --white: #ffffff;
    --text-dark: #1E2A2E;
    --text-medium: #4A5A60;
    --text-light: rgba(255,255,255,0.7);
    --text-lighter: rgba(255,255,255,0.5);
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-slow: 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ============================================
   INTRO SPLASH SCREEN
   ============================================ */
.intro-splash {
    position: fixed;
    inset: 0;
    z-index: 99999;
    pointer-events: auto;
    transition: opacity 0.8s ease;
}

.intro-splash.done {
    opacity: 0;
    pointer-events: none;
}

.intro-screen {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px;
    opacity: 0;
    transition: opacity 1s ease;
}

.intro-screen.active {
    opacity: 1;
}

/* Screen 1: Warm coastal gradient */
.intro-screen--1 {
    background: linear-gradient(180deg, #FBDBB5 0%, #F7BC88 30%, #E8A56E 70%, #D4905A 100%);
    z-index: 2;
}

.intro-presenter {
    font-family: var(--font-body);
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    color: rgba(255,255,255,0.8);
    margin-bottom: 32px;
    font-weight: 300;
    opacity: 0;
    transform: translateY(15px);
    animation: introFadeUp 0.8s ease 0.3s forwards;
}

.intro-title {
    font-family: var(--font-heading);
    font-size: clamp(3.5rem, 10vw, 7rem);
    font-weight: 400;
    color: #ffffff;
    line-height: 1.05;
    letter-spacing: 0.06em;
    opacity: 0;
    transform: translateY(20px);
    animation: introFadeUp 1s ease 0.6s forwards;
}

/* Screen 2: White with headline */
.intro-screen--2 {
    background: var(--cream);
    z-index: 1;
}

.intro-headline {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4.5vw, 3rem);
    font-weight: 400;
    color: var(--charcoal);
    line-height: 1.3;
    margin-bottom: 24px;
    opacity: 0;
    transform: translateY(15px);
    animation: introFadeUp 0.8s ease 0.2s forwards;
}

.intro-subline {
    font-family: var(--font-body);
    font-size: clamp(0.85rem, 1.8vw, 1.05rem);
    color: var(--text-medium);
    line-height: 1.8;
    font-weight: 300;
    opacity: 0;
    transform: translateY(15px);
    animation: introFadeUp 0.8s ease 0.5s forwards;
}

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

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    background: var(--cream);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--coastal); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--coastal-dark); }

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
}

/* --- Typography --- */
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 500; line-height: 1.2; }

/* --- Section Styles --- */
.section {
    padding: 120px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--coastal);
    margin-bottom: 16px;
    font-weight: 500;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    color: var(--charcoal);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-medium);
    max-width: 600px;
    margin: 0 auto;
    font-weight: 300;
}

/* Dark section overrides */
.section--neighbourhood .section-title,
.section--investment .section-title,
.section--pricing .section-title,
.section--calendly .section-title {
    color: var(--white);
}

.section--neighbourhood .section-label,
.section--investment .section-label,
.section--pricing .section-label,
.section--calendly .section-label {
    color: var(--sand);
}

.section--neighbourhood .section-subtitle {
    color: var(--text-light);
}

/* --- Scroll Animations --- */
.anim-fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.anim-fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   STICKY HEADER
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    background: transparent;
    transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
}

.site-header.scrolled {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 10px 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.header-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-logo {
    display: flex;
    align-items: center;
}

.header-logo img {
    height: 24px;
    width: auto;
    transition: height var(--transition);
}

/* Show white logo by default (over hero), black logo when scrolled */
.header-logo__dark { display: none; }
.header-logo__light { display: block; }

.site-header.scrolled .header-logo__dark { display: block; }
.site-header.scrolled .header-logo__light { display: none; }

.header-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.header-nav > a {
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.9);
    transition: color var(--transition);
    font-weight: 500;
}

.site-header.scrolled .header-nav > a {
    color: var(--text-dark);
}

.header-nav > a:hover {
    color: var(--coastal-light);
}

.site-header.scrolled .header-nav > a:hover {
    color: var(--coastal);
}

/* --- Get Brochure Button --- */
.btn-register-nav {
    background: var(--coastal) !important;
    color: #ffffff !important;
    padding: 10px 22px !important;
    white-space: nowrap !important;
    font-weight: 600 !important;
    letter-spacing: 0.1em !important;
    border-radius: 4px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition) !important;
}

.btn-register-nav:hover {
    background: var(--coastal-dark) !important;
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(58,138,154,0.35);
}

.brochure-icon {
    flex-shrink: 0;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: #fff;
    transition: var(--transition);
}

.site-header.scrolled .mobile-menu-toggle span {
    background: var(--charcoal);
}

.mobile-menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-menu-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-nav {
    display: none;
    flex-direction: column;
    background: var(--white);
    padding: 20px 40px 30px;
    border-top: 1px solid rgba(0,0,0,0.06);
}

.mobile-nav.open { display: flex; }

.mobile-nav a {
    padding: 14px 0;
    font-size: 0.9rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-dark);
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover { color: var(--coastal); }

.mobile-nav .btn-register-nav {
    margin-top: 10px;
    text-align: center;
    display: flex !important;
    justify-content: center;
    width: 100%;
}

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-color: var(--cream);
    transition: transform 1.2s ease;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(30,42,46,0.3) 0%, rgba(30,42,46,0.5) 60%, rgba(30,42,46,0.7) 100%);
}

.hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 40px;
    max-width: 800px;
}

.hero__label {
    display: inline-block;
    font-size: 0.75rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--sand-light);
    background: rgba(0,0,0,0.3);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 8px 24px;
    border: 1px solid rgba(196,168,124,0.3);
    margin-bottom: 24px;
}

.hero__title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 400;
    color: #ffffff;
    letter-spacing: 0.06em;
    margin-bottom: 16px;
    text-shadow: 0 2px 30px rgba(0,0,0,0.3);
}

.hero__subtitle {
    font-family: var(--font-body);
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    color: rgba(255,255,255,0.85);
    font-weight: 300;
    letter-spacing: 0.06em;
    margin-bottom: 40px;
}

.hero__ctas {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.hero-scroll-indicator span {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--sand), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
    50% { opacity: 1; transform: scaleY(1); }
}

/* ============================================
   ABOUT SECTION (light bg)
   ============================================ */
.section--about {
    background: var(--cream);
    padding: 140px 0 120px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.about-text .section-label {
    display: block;
    text-align: left;
    color: var(--coastal);
}

.about-text .section-title {
    text-align: left;
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    color: var(--charcoal);
    margin-bottom: 24px;
}

.about-lead {
    font-size: 1.1rem;
    color: var(--text-dark);
    line-height: 1.9;
    margin-bottom: 20px;
    font-weight: 400;
}

.about-text p {
    color: var(--text-medium);
    line-height: 1.9;
    font-weight: 300;
    font-size: 1rem;
}

.about-text a {
    color: var(--coastal);
    font-weight: 500;
}

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

.about-image {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
}

.about-image img {
    width: 100%;
    height: auto;
    transition: transform 0.6s ease;
}

.about-image:hover img {
    transform: scale(1.03);
}

/* ============================================
   SNAPSHOT BAR
   ============================================ */
.section--snapshot {
    background: var(--charcoal);
    padding: 60px 0;
}

.snapshot-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 24px;
    text-align: center;
}

.snapshot-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--sand);
    margin-bottom: 4px;
}

.snapshot-label {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-lighter);
}

/* ============================================
   HIGHLIGHTS (light bg)
   ============================================ */
.section--highlights {
    background: var(--white);
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.highlight-card {
    background: var(--cream);
    border: 1px solid rgba(0,0,0,0.06);
    padding: 40px 30px;
    border-radius: 4px;
    transition: all var(--transition);
}

.highlight-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.08);
    border-color: var(--coastal);
}

.highlight-icon {
    width: 40px;
    height: 40px;
    color: var(--coastal);
    margin-bottom: 20px;
}

.highlight-icon svg { width: 100%; height: 100%; }

.highlight-card h4 {
    font-size: 1.1rem;
    color: var(--charcoal);
    margin-bottom: 12px;
    font-family: var(--font-heading);
}

.highlight-card p {
    font-size: 0.9rem;
    color: var(--text-medium);
    line-height: 1.7;
    font-weight: 300;
}

/* ============================================
   NEIGHBOURHOOD (dark bg with image)
   ============================================ */
.section--neighbourhood {
    position: relative;
    background: var(--charcoal);
    padding: 140px 0;
}

.neighbourhood-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.neighbourhood-overlay {
    position: absolute;
    inset: 0;
    background: rgba(30, 42, 46, 0.88);
}

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

.neighbourhood-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.neighbourhood-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(196,168,124,0.15);
    padding: 40px 30px;
    transition: all var(--transition);
}

.neighbourhood-card:hover {
    background: rgba(58,138,154,0.08);
    border-color: rgba(58,138,154,0.4);
    transform: translateY(-4px);
}

.neighbourhood-icon {
    width: 40px;
    height: 40px;
    color: var(--sand);
    margin-bottom: 20px;
}

.neighbourhood-icon svg { width: 100%; height: 100%; }

.neighbourhood-card h4 {
    font-size: 1.1rem;
    color: var(--cream);
    margin-bottom: 12px;
    font-family: var(--font-heading);
}

.neighbourhood-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.7;
    font-weight: 300;
}

/* ============================================
   GALLERY (light bg)
   ============================================ */
.section--gallery {
    background: var(--cream);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/3;
    border-radius: 4px;
}

.gallery-item--large {
    grid-column: span 2;
    grid-row: span 2;
    aspect-ratio: auto;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-item__overlay {
    position: absolute;
    inset: 0;
    background: rgba(30,42,46,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition);
}

.gallery-item:hover .gallery-item__overlay { opacity: 1; }

.gallery-item__overlay span {
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--white);
    border: 1px solid var(--sand);
    padding: 8px 20px;
}

/* --- Lightbox --- */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0,0,0,0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition);
}

.lightbox.open {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: none;
    border: none;
    color: var(--white);
    cursor: pointer;
    font-size: 2rem;
    padding: 16px;
    transition: color var(--transition);
    z-index: 2;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover { color: var(--sand); }

.lightbox-close { top: 20px; right: 30px; font-size: 2.5rem; }
.lightbox-prev { left: 20px; top: 50%; transform: translateY(-50%); font-size: 3rem; }
.lightbox-next { right: 20px; top: 50%; transform: translateY(-50%); font-size: 3rem; }

/* ============================================
   INVESTMENT (dark bg)
   ============================================ */
.section--investment {
    background: var(--charcoal);
}

.investment-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.investment-card {
    padding: 40px 30px;
    border-left: 3px solid var(--coastal);
    transition: all var(--transition);
}

.investment-card:hover {
    background: rgba(58,138,154,0.06);
}

.investment-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--sand);
    margin-bottom: 16px;
    font-weight: 400;
}

.investment-card h4 {
    font-size: 1.15rem;
    color: var(--cream);
    margin-bottom: 12px;
    font-family: var(--font-heading);
}

.investment-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.7;
    font-weight: 300;
}

/* ============================================
   FLOOR PLANS (light bg)
   ============================================ */
.section--floorplans {
    background: var(--white);
    padding: 100px 0;
}

.floorplans-inner {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.floorplans-text {
    font-size: 1.1rem;
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: 32px;
    font-weight: 300;
}

.suite-types {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
}

.suite-type {
    padding: 10px 24px;
    border: 1px solid var(--coastal);
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    color: var(--charcoal);
    border-radius: 4px;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 16px 40px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all var(--transition);
    border-radius: 4px;
}

.btn--coastal {
    background: var(--coastal);
    color: var(--white);
}

.btn--coastal:hover {
    background: var(--coastal-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(58,138,154,0.3);
}

.btn--full { width: 100%; }

.hero-cta-btn {
    display: inline-flex !important;
    align-items: center;
    padding: 14px 32px !important;
    font-size: 0.82rem !important;
    letter-spacing: 0.12em !important;
}

.hero-cta-btn--outline {
    background: transparent !important;
    color: var(--white) !important;
    border: 1px solid rgba(255,255,255,0.6) !important;
}

.hero-cta-btn--outline:hover {
    background: rgba(255,255,255,0.1) !important;
    color: var(--white) !important;
    border-color: var(--white) !important;
    transform: translateY(-2px);
}

/* ============================================
   PRICING (dark bg)
   ============================================ */
.section--pricing {
    background: var(--charcoal-light);
}

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.pricing-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 48px 40px;
    position: relative;
}

.pricing-card--featured {
    border-color: var(--coastal);
    background: linear-gradient(135deg, rgba(58,138,154,0.08) 0%, rgba(58,138,154,0.02) 100%);
}

.pricing-badge {
    position: absolute;
    top: -1px;
    right: 30px;
    background: var(--coastal);
    color: var(--white);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 6px 16px;
    font-weight: 600;
}

.pricing-card h3 {
    font-size: 1.5rem;
    color: var(--cream);
    margin-bottom: 16px;
}

.pricing-from {
    font-size: 0.85rem;
    color: var(--text-lighter);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.pricing-amount {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--sand);
    margin-bottom: 32px;
}

.pricing-features {
    list-style: none;
    margin-bottom: 32px;
}

.pricing-features li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 300;
    padding-left: 24px;
    position: relative;
}

.pricing-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 8px;
    height: 8px;
    border: 1px solid var(--coastal);
    transform: translateY(-50%) rotate(45deg);
}

.pricing-deposit-label {
    font-size: 0.85rem;
    color: var(--text-lighter);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 24px;
}

.deposit-timeline {
    margin-bottom: 24px;
}

.deposit-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.deposit-amount {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--sand);
}

.deposit-desc {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 300;
}

.pricing-disclaimer {
    font-size: 0.75rem;
    color: var(--text-lighter);
    font-style: italic;
}

/* ============================================
   DEVELOPERS (light bg)
   ============================================ */
.section--developers {
    background: var(--cream);
}

.developers-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.developer-card {
    background: var(--white);
    padding: 48px 40px;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 4px;
    text-align: center;
}

.developer-logo {
    height: 40px;
    width: auto;
    margin: 0 auto 24px;
}

.developer-card h4 {
    font-size: 1.3rem;
    color: var(--charcoal);
    margin-bottom: 16px;
}

.developer-card p {
    font-size: 0.95rem;
    color: var(--text-medium);
    line-height: 1.8;
    font-weight: 300;
    margin-bottom: 20px;
}

.developer-link {
    color: var(--coastal);
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.04em;
}

.developer-link:hover {
    color: var(--coastal-dark);
}

/* ============================================
   CALENDLY (dark bg)
   ============================================ */
.section--calendly {
    background: var(--charcoal);
}

.calendly-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.calendly-cta-side {
    padding-top: 40px;
}

.calendly-cta-side .section-label {
    display: block;
    text-align: left;
}

.calendly-embed-side {
    background: var(--white);
    border-radius: 4px;
    overflow: hidden;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-light);
    font-size: 0.9rem;
}

.contact-item svg { color: var(--sand); flex-shrink: 0; }
.contact-item a { color: var(--text-light); }
.contact-item a:hover { color: var(--sand); }

/* ============================================
   FAQ (light bg)
   ============================================ */
.section--faq {
    background: var(--white);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

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

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

.faq-question svg {
    flex-shrink: 0;
    color: var(--coastal);
    transition: transform var(--transition);
}

.faq-item.open .faq-question svg {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.open .faq-answer {
    max-height: 500px;
    padding-bottom: 24px;
}

.faq-answer p {
    font-size: 0.95rem;
    color: var(--text-medium);
    line-height: 1.8;
    font-weight: 300;
}

.faq-answer a {
    color: var(--coastal);
    font-weight: 500;
}

/* ============================================
   LAKEVIEW VILLAGE COMMUNITY (dark bg, image cards)
   ============================================ */
.section--community {
    background: var(--charcoal);
}

.section--community .section-title {
    color: var(--white);
}

.section--community .section-label {
    color: var(--sand);
}

.section--community .section-subtitle {
    color: var(--text-light);
}

.section--community .section-subtitle a {
    color: var(--sand);
    font-weight: 500;
}

.community-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}

.community-card {
    display: flex;
    flex-direction: column;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    transition: all var(--transition);
    position: relative;
}

.community-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.3);
    border-color: rgba(196,168,124,0.4);
}

.community-card--current {
    border-color: var(--sand);
    cursor: default;
}

.community-card__image {
    position: relative;
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.community-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.community-card__here {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--coastal);
    color: var(--white);
    font-size: 0.65rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 600;
    padding: 5px 14px;
    border-radius: 4px;
    z-index: 2;
}

.community-card__body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.community-card h4 {
    font-size: 1.05rem;
    color: var(--cream);
    margin-bottom: 6px;
    font-family: var(--font-heading);
}

.community-card__developer {
    font-size: 0.8rem;
    color: var(--sand);
    margin-bottom: 10px;
    font-weight: 500;
}

.community-card__type {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 300;
    margin-bottom: 12px;
    flex-grow: 1;
}

.community-card__price {
    display: block;
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--white);
    font-weight: 600;
    margin-bottom: 12px;
}

.community-card__status {
    display: inline-block;
    font-size: 0.65rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--sand);
    border: 1px solid rgba(196,168,124,0.3);
    padding: 6px 16px;
    border-radius: 4px;
    font-weight: 500;
    align-self: flex-start;
}

/* Community useful links */
.community-links {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 40px;
    text-align: center;
}

.community-links h4 {
    font-size: 1rem;
    color: var(--cream);
    margin-bottom: 24px;
    font-family: var(--font-heading);
}

.community-links__grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 16px;
}

.community-links__grid a {
    font-size: 0.82rem;
    color: var(--text-light);
    font-weight: 400;
    padding: 6px 16px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 4px;
    transition: all var(--transition);
}

.community-links__grid a:hover {
    background: var(--coastal);
    color: var(--white);
    border-color: var(--coastal);
}

@media (max-width: 1024px) {
    .community-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .community-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto 60px; }
    .community-links__grid { flex-direction: column; align-items: center; }
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: #111;
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logos {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.footer-logo {
    height: 28px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-logo-divider {
    color: rgba(255,255,255,0.3);
    font-size: 1.2rem;
    font-weight: 300;
}

.footer-brand p {
    font-size: 0.9rem;
    color: var(--text-lighter);
    line-height: 1.7;
    font-weight: 300;
}

.footer-links h4 {
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--sand);
    margin-bottom: 20px;
}

.footer-links { display: flex; flex-direction: column; gap: 10px; }

.footer-links a {
    font-size: 0.9rem;
    color: var(--text-lighter);
    transition: color var(--transition);
}

.footer-links a:hover { color: var(--sand); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 30px;
    text-align: center;
}

.footer-disclaimer {
    font-size: 0.75rem;
    color: var(--text-lighter);
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto 16px;
    font-weight: 300;
}

.footer-copyright {
    font-size: 0.75rem;
    color: var(--text-lighter);
}

/* ============================================
   FLOATING BOOK APPOINTMENT BUTTON
   ============================================ */
.book-appointment-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 998;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: var(--coastal);
    color: var(--white);
    text-decoration: none;
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(58,138,154,0.35);
    transition: all var(--transition);
}

.book-appointment-float span {
    display: none;
}

.book-appointment-float:hover {
    background: var(--coastal-dark);
    color: var(--white);
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(58,138,154,0.45);
}

.book-appointment-float svg {
    flex-shrink: 0;
    stroke: var(--white);
}

/* ============================================
   WHATSAPP BUTTON
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 998;
    width: 56px;
    height: 56px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37,211,102,0.4);
    transition: transform var(--transition), box-shadow var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37,211,102,0.5);
}

/* ============================================
   LEAD CAPTURE POPUP
   ============================================ */
.lead-popup {
    position: fixed;
    inset: 0;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.lead-popup.open {
    opacity: 1;
    pointer-events: auto;
}

.lead-popup__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.35);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.lead-popup__card {
    position: relative;
    background: rgba(30, 42, 46, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 3px solid var(--coastal);
    max-width: 480px;
    width: 92%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 44px 40px 36px;
    text-align: center;
    border-radius: 4px;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.lead-popup.open .lead-popup__card {
    transform: translateY(0);
}

.lead-popup__close {
    position: absolute;
    top: 14px;
    right: 18px;
    background: none;
    border: none;
    color: var(--text-lighter);
    font-size: 1.8rem;
    cursor: pointer;
    transition: color var(--transition);
    line-height: 1;
}

.lead-popup__close:hover {
    color: var(--white);
}

.lead-popup__label {
    display: inline-block;
    font-size: 0.7rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--sand);
    margin-bottom: 16px;
}

.lead-popup__title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--cream);
    margin-bottom: 12px;
    font-weight: 500;
}

.lead-popup__subtitle {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.7;
    font-weight: 300;
    margin-bottom: 28px;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
}

/* Popup form */
.lead-popup__form {
    display: none;
    flex-direction: column;
    gap: 16px;
    text-align: left;
    margin-top: 8px;
}

.lead-popup__form.show {
    display: flex;
}

.lead-popup__form label {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-lighter);
    margin-bottom: 6px;
}

.lead-popup__form input {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.9rem;
    outline: none;
    transition: border-color var(--transition);
    border-radius: 4px;
}

.lead-popup__form input::placeholder {
    color: var(--text-lighter);
}

.lead-popup__form input:focus {
    border-color: var(--coastal);
}

.phone-input-group {
    display: flex;
    gap: 0;
}

.phone-code-select {
    width: 100px;
    flex-shrink: 0;
    padding: 12px 8px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.1);
    border-right: none;
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.85rem;
    outline: none;
    cursor: pointer;
    border-radius: 4px 0 0 4px;
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%233A8A9A' fill='none' stroke-width='1.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    padding-right: 22px;
}

.phone-code-select:focus {
    border-color: var(--coastal);
}

.phone-code-select option {
    background: #243238;
    color: var(--white);
}

.phone-input-group input {
    flex: 1;
    border-left: none !important;
    border-radius: 0 4px 4px 0 !important;
}

/* Popup success message */
.lead-popup__success {
    text-align: center;
    padding: 40px 20px;
}

.lead-popup__success .success-icon {
    color: var(--coastal);
    margin-bottom: 20px;
}

.lead-popup__success h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--cream);
    margin-bottom: 12px;
    font-weight: 500;
}

.lead-popup__success p {
    font-size: 0.95rem;
    color: var(--text-light);
    font-weight: 300;
    line-height: 1.7;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .container { padding: 0 30px; }
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .snapshot-grid { grid-template-columns: repeat(3, 1fr); }
    .highlights-grid { grid-template-columns: repeat(2, 1fr); }
    .neighbourhood-grid { grid-template-columns: repeat(2, 1fr); }
    .investment-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-grid { grid-template-columns: 1fr; }
    .developers-grid { grid-template-columns: 1fr; gap: 30px; }
    .calendly-split { grid-template-columns: 1fr; gap: 40px; }
    .calendly-cta-side { padding-top: 0; text-align: center; }
    .calendly-cta-side .section-label,
    .calendly-cta-side .section-title { text-align: center !important; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 768px) {
    .container { padding: 0 20px; }
    .section { padding: 80px 0; }

    /* Header */
    .header-nav { display: none; }
    .mobile-menu-toggle { display: flex; }
    .header-inner { padding: 0 20px; }
    .header-logo img { height: 20px; }

    /* Hero */
    .hero { min-height: 600px; }
    .hero__title { font-size: clamp(2.5rem, 10vw, 4rem); }
    .hero-scroll-indicator { display: none; }
    .hero-cta-btn { width: 100%; justify-content: center; padding: 12px 24px !important; font-size: 0.75rem !important; }

    /* About */
    .section--about { padding: 80px 0 60px; }
    .about-grid { text-align: center; }
    .about-text .section-label,
    .about-text .section-title { text-align: center; }
    .about-image { order: -1; }

    /* Snapshot */
    .snapshot-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
    .snapshot-number { font-size: 1.4rem; }

    /* Highlights */
    .highlights-grid { grid-template-columns: 1fr; }

    /* Neighbourhood */
    .neighbourhood-grid { grid-template-columns: 1fr; gap: 16px; }
    .neighbourhood-bg { background-attachment: scroll; }

    /* Gallery */
    .gallery-grid { grid-template-columns: 1fr 1fr; }
    .gallery-item--large { grid-column: span 2; grid-row: span 1; }

    /* Investment */
    .investment-grid { grid-template-columns: 1fr; }

    /* Floor plans */
    .suite-types { flex-direction: column; align-items: center; }

    /* Footer */
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }

    /* Floating buttons */
    .book-appointment-float { bottom: 20px; left: 20px; width: 48px; height: 48px; }
    .whatsapp-float { bottom: 20px; right: 20px; width: 48px; height: 48px; }

    /* Lead Popup */
    .lead-popup { align-items: flex-start; padding-top: 60px; }
    .lead-popup__card { padding: 24px 20px 20px; max-height: calc(100vh - 80px); }
    .lead-popup__title { font-size: 1.3rem; }
    .lead-popup__subtitle { font-size: 0.85rem; margin-bottom: 20px; }
}

@media (max-width: 480px) {
    .snapshot-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid { grid-template-columns: 1fr; }
    .gallery-item--large { grid-column: span 1; }
}
