:root {
    --teal-50: #f0fdfa;
    --teal-100: #ccfbf1;
    --teal-200: #99f6e4;
    --teal-300: #5eead4;
    --teal-400: #2dd4bf;
    --teal-500: #14b8a6;
    --teal-600: #0d9488;
    --teal-700: #0f766e;
    --teal-800: #115e59;
    --teal-900: #134e4a;
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;
    --warm-50: #fefce8;
    --warm-100: #fef9c3;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --shadow-sm: 0 1px 3px rgba(15,23,42,0.06), 0 1px 2px rgba(15,23,42,0.04);
    --shadow-md: 0 4px 16px rgba(15,23,42,0.07), 0 2px 6px rgba(15,23,42,0.05);
    --shadow-lg: 0 12px 40px rgba(15,23,42,0.1), 0 4px 12px rgba(15,23,42,0.06);
    --shadow-xl: 0 20px 60px rgba(15,23,42,0.12), 0 8px 20px rgba(15,23,42,0.08);
    --font-heading: 'Nunito', sans-serif;
    --font-body: 'DM Sans', sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
    font-family: var(--font-body);
    color: var(--slate-700);
    background: var(--slate-50);
    line-height: 1.65;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── NAV ── */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--slate-200);
    transition: box-shadow 0.3s ease;
}
.nav.scrolled { box-shadow: var(--shadow-md); }
.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    height: 72px;
    gap: 32px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--teal-700);
}
.logo svg { color: var(--teal-600); }
.logo-light { color: var(--slate-100); }
.logo-light svg { color: var(--slate-100); }

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}
.nav-links a {
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.935rem;
    color: var(--slate-600);
    transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: var(--teal-700); background: var(--teal-50); }

.btn-nav {
    background: var(--teal-600);
    color: white !important;
    border-radius: var(--radius-sm);
    padding: 10px 20px !important;
    font-weight: 700 !important;
    transition: background 0.2s, transform 0.15s !important;
}
.btn-nav:hover { background: var(--teal-700); transform: translateY(-1px); }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    margin-left: auto;
    padding: 8px;
}
.nav-toggle span {
    display: block;
    width: 24px;
    height: 2.5px;
    background: var(--slate-700);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ── BUTTONS ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.25s ease;
    white-space: nowrap;
}
.btn-lg { padding: 16px 32px; font-size: 1.05rem; }
.btn-full { width: 100%; justify-content: center; }
.btn-primary {
    background: var(--teal-600);
    color: white;
    box-shadow: 0 4px 14px rgba(13,148,136,0.3);
}
.btn-primary:hover { background: var(--teal-700); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(13,148,136,0.35); }
.btn-outline-light {
    background: rgba(255,255,255,0.15);
    color: white;
    border: 2px solid rgba(255,255,255,0.4);
    backdrop-filter: blur(4px);
}
.btn-outline-light:hover { background: rgba(255,255,255,0.25); border-color: rgba(255,255,255,0.6); transform: translateY(-2px); }
.btn-white {
    background: white;
    color: var(--teal-700);
    box-shadow: var(--shadow-md);
}
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-ghost-light {
    background: transparent;
    color: white;
    border: 2px solid rgba(255,255,255,0.4);
}
.btn-ghost-light:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.7); transform: translateY(-2px); }

/* ── HERO ── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--slate-800);
    overflow: hidden;
    padding-top: 72px;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.35; }
.hero-gradient {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(15,23,42,0.92) 0%, rgba(13,148,136,0.7) 50%, rgba(15,23,42,0.85) 100%);
    z-index: 1;
}
.hero-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding-top: 40px;
    padding-bottom: 120px;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(13,148,136,0.2);
    border: 1px solid rgba(13,148,136,0.4);
    color: var(--teal-300);
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.875rem;
    margin-bottom: 24px;
    letter-spacing: 0.02em;
}
.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 4.5vw, 3.6rem);
    font-weight: 900;
    color: white;
    line-height: 1.12;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}
.hero-subtitle {
    font-size: 1.125rem;
    color: var(--slate-300);
    line-height: 1.75;
    margin-bottom: 36px;
    max-width: 520px;
}
.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}
.hero-stats {
    display: flex;
    gap: 24px;
    align-items: center;
}
.hero-stat { display: flex; flex-direction: column; gap: 2px; }
.stat-num {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.05rem;
    color: white;
}
.stat-label { font-size: 0.85rem; color: var(--slate-400); }
.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.15);
}

.hero-image-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-image-main {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    max-width: 480px;
}
.hero-image-main img { width: 100%; height: 700px; object-fit: cover; }
.hero-image-float {
    position: absolute;
    bottom: -20px;
    left: -40px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 4px solid rgba(255,255,255,0.15);
}
.hero-image-float img { width: 400px; height: 280px; object-fit: cover; }
.float-badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(15,23,42,0.85);
    backdrop-filter: blur(8px);
    color: white;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    z-index: 3;
    color: var(--slate-50);
}
.hero-wave svg { display: block; width: 100%; height: 80px; }

/* ── SECTIONS ── */
.section {
    padding: 100px 0;
}
.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 64px;
}
.section-tag {
    display: inline-block;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--teal-600);
    background: var(--teal-50);
    border: 1px solid var(--teal-200);
    padding: 6px 14px;
    border-radius: 50px;
    margin-bottom: 16px;
}
.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 900;
    color: var(--slate-900);
    line-height: 1.15;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}
.section-subtitle {
    font-size: 1.075rem;
    color: var(--slate-500);
    line-height: 1.75;
}

/* ── APARTMENTS ── */
.apartments { background: var(--slate-50); }
.floorplans {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.floorplan-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--slate-100);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.floorplan-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.fp-image { overflow: hidden; }
.fp-image img { width: 100%; height: 220px; object-fit: cover; transition: transform 0.4s ease; }
.floorplan-card:hover .fp-image img { transform: scale(1.05); }
.fp-body { padding: 28px; }
.fp-type {
    display: inline-block;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--teal-600);
    background: var(--teal-50);
    padding: 4px 12px;
    border-radius: 50px;
    margin-bottom: 12px;
}
.fp-body h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--slate-900);
    margin-bottom: 10px;
}
.fp-body p { font-size: 0.95rem; color: var(--slate-500); margin-bottom: 18px; line-height: 1.7; }
.fp-features { display: flex; flex-direction: column; gap: 8px; }
.fp-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--slate-700);
}
.fp-features li svg { color: var(--teal-500); flex-shrink: 0; }

/* ── AMENITIES ── */
.amenities { background: white; }
.amenity-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.amenity-card {
    background: var(--slate-50);
    border: 1px solid var(--slate-100);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.amenity-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--teal-200);
}
.amenity-icon {
    width: 56px;
    height: 56px;
    background: var(--teal-600);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-bottom: 20px;
}
.amenity-card h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--slate-900);
    margin-bottom: 8px;
}
.amenity-card p { font-size: 0.95rem; color: var(--slate-500); line-height: 1.7; }

/* ── NEIGHBORHOOD ── */
.neighborhood { background: var(--slate-50); }
.split-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
.split-content .section-tag { margin-bottom: 16px; }
.split-content .section-title { text-align: left; margin-bottom: 20px; }
.split-content > p { font-size: 1.025rem; color: var(--slate-500); line-height: 1.8; margin-bottom: 16px; }
.neighborhood-list { margin-top: 28px; display: flex; flex-direction: column; gap: 14px; }
.nh-item {
    display: flex;
    align-items: center;
    gap: 14px;
    font-weight: 600;
    font-size: 1rem;
    color: var(--slate-700);
}
.nh-item svg { color: var(--teal-500); flex-shrink: 0; }
.split-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}
.split-image img { width: 100%; height: 640px; object-fit: cover; }

/* ── GALLERY ── */
.gallery { background: white; }
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.gallery-item {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.gallery-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.gallery-item img { width: 100%; height: 260px; object-fit: cover; transition: transform 0.4s ease; }
.gallery-item:hover img { transform: scale(1.05); }

/* ── CTA ── */
.cta-section {
    padding: 100px 0;
    background: var(--slate-800);
    position: relative;
    overflow: hidden;
}
.cta-card {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
    background: linear-gradient(135deg, var(--teal-800) 0%, var(--teal-700) 100%);
    border-radius: var(--radius-xl);
    padding: 64px;
    position: relative;
    overflow: hidden;
}
.cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
    border-radius: 50%;
}
.cta-content { position: relative; z-index: 1; }
.cta-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 900;
    color: white;
    line-height: 1.15;
    margin-bottom: 18px;
}
.cta-text { font-size: 1.05rem; color: var(--teal-200); line-height: 1.75; margin-bottom: 32px; max-width: 500px; }
.cta-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.cta-image { position: relative; z-index: 1; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-xl); }
.cta-image img { width: 100%; height: 400px; object-fit: cover; }

/* ── CONTACT ── */
.contact { background: var(--slate-50); }
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 20px; }
.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    background: white;
    border: 1px solid var(--slate-100);
    border-radius: var(--radius-md);
    padding: 24px;
    transition: box-shadow 0.2s, border-color 0.2s;
}
.contact-card:hover { box-shadow: var(--shadow-md); border-color: var(--teal-200); }
.contact-icon {
    width: 48px;
    height: 48px;
    background: var(--teal-600);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}
.contact-card h3 {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1rem;
    color: var(--slate-900);
    margin-bottom: 4px;
}
.contact-card p { font-size: 0.95rem; color: var(--slate-500); line-height: 1.6; }
.contact-card a { color: var(--teal-600); font-weight: 600; transition: color 0.2s; }
.contact-card a:hover { color: var(--teal-700); }
.contact-map { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--slate-100); }

.contact-form-wrap {
    background: white;
    border: 1px solid var(--slate-100);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-sm);
}
.contact-form h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--slate-900);
    margin-bottom: 24px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label {
    display: block;
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--slate-700);
    margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--slate-200);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--slate-800);
    background: var(--slate-50);
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--teal-500);
    box-shadow: 0 0 0 3px rgba(13,148,136,0.12);
    background: white;
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-success {
    display: none;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: var(--teal-50);
    border: 1px solid var(--teal-200);
    border-radius: var(--radius-sm);
    color: var(--teal-800);
    font-weight: 600;
    margin-top: 16px;
}
.form-success.show { display: flex; }
.form-success svg { color: var(--teal-600); flex-shrink: 0; }

/* ── FOOTER ── */
.footer {
    background: var(--slate-900);
    color: var(--slate-400);
    padding: 72px 0 0;
}
.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand p { margin-top: 16px; font-size: 0.95rem; line-height: 1.75; max-width: 300px; }
.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.95rem;
    color: white;
    margin-bottom: 18px;
    letter-spacing: 0.02em;
}
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a {
    font-size: 0.95rem;
    color: var(--slate-400);
    transition: color 0.2s;
}
.footer-links a:hover { color: var(--teal-400); }
.footer-contact { display: flex; flex-direction: column; gap: 10px; }
.footer-contact p { font-size: 0.95rem; line-height: 1.6; }
.footer-contact a { color: var(--teal-400); transition: color 0.2s; }
.footer-contact a:hover { color: var(--teal-300); }
.footer-bottom {
    padding: 24px 0;
    text-align: center;
    font-size: 0.875rem;
    color: var(--slate-500);
}

/* ── REVEAL ANIMATIONS ── */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 1;
        transform: translateY(0);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
    .reveal.revealed { opacity: 1; transform: translateY(0); }
}
/* Default visible state for no-JS */
.reveal { opacity: 1; transform: translateY(0); }

/* ── MOBILE ── */
@media (max-width: 1024px) {
    .hero-container { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .hero-subtitle { margin-left: auto; margin-right: auto; }
    .hero-actions { justify-content: center; }
    .hero-stats { justify-content: center; }
    .hero-image-wrap { justify-content: center; }
    .hero-image-main { max-width: 400px; }
    .hero-image-main img { height: 500px; }
    .hero-image-float { left: 10px; bottom: -10px; }
    .hero-image-float img { width: 260px; height: 180px; }
    .floorplans { grid-template-columns: 1fr 1fr; }
    .amenity-grid { grid-template-columns: 1fr 1fr; }
    .split-split { grid-template-columns: 1fr; gap: 40px; }
    .split-image img { height: 400px; }
    .cta-card { grid-template-columns: 1fr; padding: 40px; }
    .cta-image { order: -1; }
    .cta-image img { height: 280px; }
    .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(255,255,255,0.98);
        backdrop-filter: blur(16px);
        flex-direction: column;
        padding: 24px;
        gap: 8px;
        border-bottom: 1px solid var(--slate-200);
        box-shadow: var(--shadow-lg);
        transform: translateY(-120%);
        opacity: 0;
        transition: transform 0.35s ease, opacity 0.35s ease;
        pointer-events: none;
    }
    .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: all; }
    .nav-links a { width: 100%; text-align: center; padding: 12px 16px; }
    .btn-nav { text-align: center; }
    .nav-toggle { display: flex; }

    .hero { min-height: auto; padding-top: 100px; padding-bottom: 100px; }
    .hero-container { padding-bottom: 0; }
    .hero-image-wrap { display: none; }
    .hero-stats { flex-direction: column; gap: 16px; align-items: center; }
    .hero-stat-divider { width: 40px; height: 1px; }

    .section { padding: 72px 0; }
    .floorplans { grid-template-columns: 1fr; }
    .amenity-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: 1fr 1fr; }
    .gallery-item img { height: 200px; }
    .contact-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 480px) {
    .container { padding: 0 18px; }
    .hero-title { font-size: 1.85rem; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; justify-content: center; }
    .gallery-grid { grid-template-columns: 1fr; }
    .cta-card { padding: 28px; }
    .contact-form-wrap { padding: 24px; }
}
