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

:root {
    --charcoal-900: #111827;
    --charcoal-800: #1F2937;
    --charcoal-700: #374151;
    --charcoal-600: #4B5563;
    --charcoal-500: #6B7280;
    --charcoal-400: #9CA3AF;
    --charcoal-100: #F3F4F6;
    --charcoal-50:  #F9FAFB;
    --coral-600:    #D4534A;
    --coral-500:    #E86A5B;
    --coral-400:    #F0857A;
    --coral-300:    #F5A99F;
    --coral-100:    #FDE8E5;
    --coral-50:     #FEF2F0;
    --white:        #FFFFFF;
    --font-body:    'Inter', system-ui, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
    --ease-out:     cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring:  cubic-bezier(0.34, 1.56, 0.64, 1);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: var(--font-body);
    color: var(--charcoal-800);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; }

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ── Typography ── */
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.15; color: var(--charcoal-900); }

.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--coral-600);
    margin-bottom: 0.75rem;
}

.section-title { font-size: clamp(1.75rem, 4vw, 2.75rem); margin-bottom: 1rem; }
.section-desc { font-size: 1.0625rem; color: var(--charcoal-600); max-width: 540px; line-height: 1.7; }

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8125rem 1.75rem;
    border-radius: 8px;
    font-size: 0.9375rem;
    font-weight: 600;
    transition: all 0.25s var(--ease-out);
    white-space: nowrap;
}

.btn-primary {
    background: var(--coral-500);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(232, 106, 91, 0.35);
}
.btn-primary:hover {
    background: var(--coral-600);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(232, 106, 91, 0.4);
}

.btn-ghost {
    background: rgba(255,255,255,0.1);
    color: var(--white);
    border: 1.5px solid rgba(255,255,255,0.3);
    backdrop-filter: blur(4px);
}
.btn-ghost:hover {
    background: var(--white);
    color: var(--charcoal-900);
    border-color: var(--white);
}

.btn-full { width: 100%; }

/* ── Header ── */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    transition: box-shadow 0.3s ease;
}
.header.scrolled { box-shadow: 0 1px 20px rgba(0,0,0,0.08); }

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--charcoal-900);
}
.logo-icon { color: var(--coral-500); }
.logo-accent { color: var(--coral-500); }

.nav { display: flex; align-items: center; gap: 0.25rem; }
.nav-link {
    padding: 0.5rem 0.875rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--charcoal-600);
    border-radius: 6px;
    transition: color 0.2s, background 0.2s;
}
.nav-link:hover { color: var(--charcoal-900); background: var(--charcoal-50); }
.nav-cta {
    margin-left: 0.5rem;
    background: var(--coral-500);
    color: var(--white) !important;
    border-radius: 6px;
    padding: 0.5rem 1.125rem;
}
.nav-cta:hover { background: var(--coral-600); }

.nav-close { display: none; }

.nav-toggle {
    display: none;
    color: var(--charcoal-800);
    padding: 0.5rem;
}

/* ── Hero ── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--charcoal-900);
    overflow: hidden;
    padding: 6rem 0 4rem;
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(ellipse 80% 60% at 70% 40%, rgba(232,106,91,0.12) 0%, transparent 70%),
        radial-gradient(ellipse 50% 80% at 20% 80%, rgba(232,106,91,0.06) 0%, transparent 60%);
    pointer-events: none;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.875rem;
    background: rgba(232,106,91,0.15);
    border: 1px solid rgba(232,106,91,0.3);
    border-radius: 100px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--coral-300);
    margin-bottom: 1.5rem;
}

.hero-headline {
    font-size: clamp(2.25rem, 5vw, 3.75rem);
    color: var(--white);
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.text-coral { color: var(--coral-400); }

.hero-sub {
    font-size: 1.125rem;
    color: var(--charcoal-400);
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 480px;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }

.hero-stats {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
.hero-stat { display: flex; flex-direction: column; gap: 0.125rem; }
.stat-number { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; color: var(--white); }
.stat-label { font-size: 0.75rem; color: var(--charcoal-500); text-transform: uppercase; letter-spacing: 0.08em; }
.hero-stat-divider { width: 1px; height: 36px; background: var(--charcoal-700); }

.hero-image { position: relative; }
.hero-img-main {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0,0,0,0.4);
}
.hero-img-main img { width: 100%; height: 700px; object-fit: cover; }

.hero-img-float {
    position: absolute;
    bottom: -1.5rem;
    left: -2rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(0,0,0,0.3);
    border: 3px solid var(--charcoal-800);
}
.hero-img-float img { width: 300px; height: 220px; object-fit: cover; }

.float-badge {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0.75rem 1rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: var(--white);
    font-size: 0.8125rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* ── Features ── */
.features {
    padding: 7rem 0;
    background: var(--white);
}

.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header .section-desc { margin: 0 auto; }

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.feature-card {
    padding: 2rem;
    background: var(--charcoal-50);
    border-radius: 12px;
    border: 1px solid var(--charcoal-100);
    transition: all 0.3s var(--ease-out);
}
.feature-card:hover {
    background: var(--white);
    border-color: var(--coral-300);
    box-shadow: 0 8px 30px rgba(232,106,91,0.1);
    transform: translateY(-4px);
}

.feature-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--coral-50);
    border-radius: 10px;
    color: var(--coral-600);
    margin-bottom: 1.25rem;
}
.feature-card h3 { font-size: 1.1875rem; margin-bottom: 0.625rem; }
.feature-card p { font-size: 0.9375rem; color: var(--charcoal-600); line-height: 1.65; }

/* ── Amenities ── */
.amenities {
    padding: 7rem 0;
    background: var(--charcoal-900);
}

.amenities-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.amenities-content .section-title { color: var(--white); }
.amenities-content .section-desc { color: var(--charcoal-400); }

.amenities-list { display: flex; flex-direction: column; gap: 0.875rem; margin-top: 2rem; }
.amenity-item {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    font-size: 0.9375rem;
    color: var(--charcoal-100);
}
.amenity-check {
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(232,106,91,0.2);
    border-radius: 50%;
    color: var(--coral-400);
    flex-shrink: 0;
}

.amenity-img-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 1rem;
}
.amenity-img-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}
.amenity-img-grid > :nth-child(1) { grid-column: 1 / -1; height: 200px; }
.amenity-img-grid > :nth-child(2) { height: 180px; }
.amenity-img-grid > :nth-child(3) { height: 180px; }

/* ── Neighborhood ── */
.neighborhood {
    padding: 7rem 0;
    background: var(--white);
}

.neighborhood-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.neighborhood-content .section-title { margin-bottom: 1rem; }
.neighborhood-content .section-desc { margin-bottom: 2rem; }

.nearby-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.nearby-item {
    padding: 1.25rem;
    background: var(--charcoal-50);
    border-radius: 10px;
    border: 1px solid var(--charcoal-100);
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}
.nearby-cat { font-size: 0.8125rem; font-weight: 600; color: var(--charcoal-900); text-transform: uppercase; letter-spacing: 0.06em; }
.nearby-dist { font-size: 0.9375rem; color: var(--coral-600); }

.neighborhood-map {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(0,0,0,0.12);
}
.neighborhood-map img { width: 100%; height: 400px; object-fit: cover; }

.map-overlay {
    position: absolute;
    bottom: 1.25rem;
    left: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.625rem;
    background: var(--white);
    padding: 0.625rem 1rem;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
.map-label { font-size: 0.8125rem; font-weight: 600; color: var(--charcoal-800); }

/* ── Gallery ── */
.gallery {
    padding: 7rem 0;
    background: var(--charcoal-50);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}
.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}
.gallery-item img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: transform 0.5s var(--ease-out);
}
.gallery-item:hover img { transform: scale(1.05); }

/* ── CTA ── */
.cta {
    padding: 7rem 0;
    background: var(--white);
}

.cta-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.cta-content .section-title { margin-bottom: 1rem; }
.cta-content .section-desc { margin-bottom: 2rem; }

.contact-info { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.contact-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--coral-50);
    border-radius: 10px;
    color: var(--coral-600);
    flex-shrink: 0;
}
.contact-label { font-size: 0.75rem; color: var(--charcoal-500); text-transform: uppercase; letter-spacing: 0.06em; display: block; }
.contact-value { font-size: 0.9375rem; font-weight: 600; color: var(--charcoal-800); }
.contact-value:hover { color: var(--coral-500); }

.cta-form-wrapper {
    background: var(--charcoal-50);
    border: 1px solid var(--charcoal-100);
    border-radius: 16px;
    padding: 2rem;
}

.cta-form h3 { font-size: 1.375rem; margin-bottom: 0.375rem; }
.form-note { font-size: 0.8125rem; color: var(--charcoal-500); margin-bottom: 1.5rem; }

.form-group { margin-bottom: 1.125rem; }
.form-group label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--charcoal-700);
    margin-bottom: 0.375rem;
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1.5px solid var(--charcoal-100);
    border-radius: 8px;
    background: var(--white);
    color: var(--charcoal-800);
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--coral-400);
    box-shadow: 0 0 0 3px rgba(232,106,91,0.1);
}
.form-group textarea { resize: vertical; min-height: 100px; }

.form-success {
    display: none;
    align-items: center;
    gap: 0.625rem;
    padding: 1rem;
    background: #ECFDF5;
    border: 1px solid #A7F3D0;
    border-radius: 8px;
    color: #065F46;
    font-size: 0.875rem;
    font-weight: 500;
    margin-top: 1rem;
}
.form-success.show { display: flex; }

/* ── Footer ── */
.footer {
    background: var(--charcoal-900);
    color: var(--charcoal-400);
    padding: 4rem 0 0;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--charcoal-800);
}

.footer-brand .logo { color: var(--white); margin-bottom: 0.875rem; }
.footer-tagline { font-size: 0.875rem; color: var(--charcoal-500); line-height: 1.6; max-width: 280px; }

.footer-links { display: flex; flex-direction: column; gap: 0.625rem; }
.footer-links a {
    font-size: 0.875rem;
    color: var(--charcoal-400);
    transition: color 0.2s;
}
.footer-links a:hover { color: var(--coral-400); }

.footer-contact { display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.875rem; }
.footer-contact a { color: var(--charcoal-400); transition: color 0.2s; }
.footer-contact a:hover { color: var(--coral-400); }

.footer-bottom {
    padding: 1.5rem 0;
    text-align: center;
    font-size: 0.8125rem;
    color: var(--charcoal-600);
}

/* ── Scroll Reveal ── */
.reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.reveal[data-reveal] {
    opacity: 0;
    transform: translateY(24px);
}
.reveal.revealed {
    opacity: 1;
    transform: none;
}

/* ── Mobile Nav ── */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 99;
}
.nav-overlay.active { display: block; }

@media (max-width: 1023px) {
    .nav {
        position: fixed;
        top: 0;
        right: -300px;
        width: 280px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        align-items: stretch;
        padding: 5rem 1.5rem 2rem;
        gap: 0.25rem;
        box-shadow: -8px 0 30px rgba(0,0,0,0.1);
        transition: right 0.35s var(--ease-out);
        z-index: 101;
    }
    .nav.open { right: 0; }
    .nav-close {
        display: flex;
        position: absolute;
        top: 1.25rem;
        right: 1.25rem;
        color: var(--charcoal-600);
    }
    .nav-link { padding: 0.75rem 0.5rem; font-size: 1rem; }
    .nav-cta { margin-left: 0; text-align: center; margin-top: 0.5rem; }
    .nav-toggle { display: flex; align-items: center; justify-content: center; }
}

/* ── Responsive ── */
@media (max-width: 900px) {
    .hero-inner { grid-template-columns: 1fr; gap: 3rem; text-align: center; }
    .hero-sub { margin-left: auto; margin-right: auto; }
    .hero-actions { justify-content: center; }
    .hero-stats { justify-content: center; }
    .hero-image { max-width: 480px; margin: 0 auto; }
    .hero-img-main img { height: 500px; }
    .hero-img-float { left: 50%; transform: translateX(-50%); bottom: -1rem; }

    .features-grid { grid-template-columns: 1fr; }
    .amenities-inner { grid-template-columns: 1fr; gap: 3rem; }
    .neighborhood-inner { grid-template-columns: 1fr; gap: 3rem; }
    .cta-inner { grid-template-columns: 1fr; gap: 3rem; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 600px) {
    .hero { padding: 5rem 0 3rem; }
    .hero-headline { font-size: 2rem; }
    .hero-img-float { display: none; }
    .hero-img-main img { height: 400px; }
    .features, .amenities, .neighborhood, .gallery, .cta { padding: 4rem 0; }
    .gallery-grid { grid-template-columns: 1fr; }
    .gallery-item img { height: 260px; }
    .cta-form-wrapper { padding: 1.5rem; }
    .nearby-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: no-preference) {
    .reveal { transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out); }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    .reveal { opacity: 1; transform: none; transition: none; }
}
