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

:root {
    --green-900: #052e16;
    --green-800: #14532d;
    --green-700: #166534;
    --green-600: #15803a;
    --green-500: #16a34a;
    --green-100: #dcfce7;
    --green-50:  #f0fdf4;
    --cream:     #fafaf5;
    --cream-dark:#f5f5ef;
    --stone-50:  #fafaf9;
    --stone-100: #f5f5f4;
    --stone-200: #e7e5e4;
    --stone-300: #d6d3d1;
    --stone-400: #a8a29e;
    --stone-500: #78716c;
    --stone-600: #57534e;
    --stone-700: #44403c;
    --stone-800: #292524;
    --stone-900: #1c1917;
    --white:     #ffffff;
    --shadow-sm: 0 1px 2px rgba(0,0,0,.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,.07), 0 2px 4px -2px rgba(0,0,0,.05);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,.08), 0 4px 6px -4px rgba(0,0,0,.04);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,.08), 0 8px 10px -6px rgba(0,0,0,.04);
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;
    --transition: 200ms cubic-bezier(.4,0,.2,1);
}

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

body {
    font-family: var(--font-sans);
    color: var(--stone-800);
    background: var(--cream);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

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

.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    background: var(--green-800);
    color: var(--white);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    z-index: 200;
    font-weight: 500;
}
.skip-link:focus {
    top: 16px;
}

/* ── Typography ── */
.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--green-700);
    background: var(--green-100);
    border: 1px solid var(--green-500);
    padding: 5px 12px;
    border-radius: 100px;
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 700;
    color: var(--stone-900);
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-desc {
    font-size: 1.0625rem;
    color: var(--stone-600);
    line-height: 1.7;
    max-width: 560px;
}

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: .9375rem;
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    padding: 12px 24px;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--green-800);
    color: var(--white);
    border-color: var(--green-800);
}
.btn-primary:hover {
    background: var(--green-700);
    border-color: var(--green-700);
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    color: var(--green-800);
    border-color: var(--green-800);
}
.btn-outline:hover {
    background: var(--green-800);
    color: var(--white);
    transform: translateY(-1px);
}

.btn-ghost {
    background: rgba(255,255,255,.12);
    color: var(--white);
    border-color: rgba(255,255,255,.3);
}
.btn-ghost:hover {
    background: rgba(255,255,255,.2);
    border-color: rgba(255,255,255,.5);
}

.btn-lg {
    padding: 15px 32px;
    font-size: 1rem;
}

.btn-full {
    width: 100%;
    justify-content: center;
    padding: 15px 24px;
}

/* ── Header ── */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(250, 250, 245, .85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--stone-200);
    transition: box-shadow var(--transition);
}
.header.scrolled {
    box-shadow: var(--shadow-md);
}

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

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--green-800);
}

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

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-menu a {
    font-size: .9375rem;
    font-weight: 500;
    color: var(--stone-600);
    transition: color var(--transition);
    position: relative;
}
.nav-menu a:not(.btn):hover {
    color: var(--green-700);
}
.nav-menu a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--green-600);
    transition: width var(--transition);
}
.nav-menu a:not(.btn):hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.hamburger {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--stone-700);
    position: relative;
    transition: all var(--transition);
}
.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 22px;
    height: 2px;
    background: var(--stone-700);
    transition: all var(--transition);
}
.hamburger::before { top: -7px; }
.hamburger::after { top: 7px; }

.nav-toggle[aria-expanded="true"] .hamburger {
    background: transparent;
}
.nav-toggle[aria-expanded="true"] .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .hamburger::after {
    top: 0;
    transform: rotate(-45deg);
}

/* ── Hero ── */
.hero {
    padding: 120px 0 80px;
    background: var(--cream);
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .8125rem;
    font-weight: 600;
    color: var(--green-700);
    background: var(--green-50);
    border: 1px solid var(--green-100);
    padding: 7px 14px;
    border-radius: 100px;
    margin-bottom: 24px;
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    font-weight: 700;
    color: var(--stone-900);
    line-height: 1.15;
    margin-bottom: 20px;
}

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

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-visual {
    position: relative;
}

.hero-card-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}
.hero-card-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.stat-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 14px 18px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--stone-100);
}

.stat-card--floating {
    bottom: -24px;
    left: -24px;
}

.stat-card--right {
    top: 24px;
    right: -16px;
}

.stat-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--green-100);
    border-radius: var(--radius-sm);
    color: var(--green-700);
    flex-shrink: 0;
}

.stat-number {
    display: block;
    font-weight: 700;
    font-size: 1rem;
    color: var(--stone-900);
    line-height: 1.2;
}

.stat-label {
    display: block;
    font-size: .8125rem;
    color: var(--stone-500);
}

/* ── Sections ── */
.section {
    padding: 96px 0;
}

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

/* ── Apartments ── */
.apartments {
    background: var(--white);
}

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

.apt-card {
    background: var(--cream);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--stone-200);
    transition: all var(--transition);
}
.apt-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--green-200, #bbf7d0);
}

.apt-card-img {
    overflow: hidden;
    height: 220px;
}
.apt-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}
.apt-card:hover .apt-card-img img {
    transform: scale(1.04);
}

.apt-card-body {
    padding: 24px;
}

.apt-card-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.apt-type {
    font-size: .75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--green-700);
    background: var(--green-100);
    padding: 4px 10px;
    border-radius: 100px;
}

.apt-detail {
    font-size: .8125rem;
    color: var(--stone-500);
}

.apt-card-title {
    font-family: var(--font-serif);
    font-size: 1.3125rem;
    font-weight: 700;
    color: var(--stone-900);
    margin-bottom: 8px;
}

.apt-card-desc {
    font-size: .9375rem;
    color: var(--stone-600);
    line-height: 1.65;
    margin-bottom: 16px;
}

.apt-features {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.apt-features li {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: .8125rem;
    font-weight: 500;
    color: var(--stone-700);
    background: var(--white);
    border: 1px solid var(--stone-200);
    padding: 5px 10px;
    border-radius: 100px;
}
.apt-features li svg {
    color: var(--green-600);
}

/* ── Amenities ── */
.amenities {
    background: var(--cream);
}

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

.amenity-card {
    background: var(--white);
    border: 1px solid var(--stone-200);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all var(--transition);
}
.amenity-card:hover {
    border-color: var(--green-300, #86efac);
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.amenity-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--green-100);
    border-radius: var(--radius-md);
    color: var(--green-700);
    margin-bottom: 18px;
}

.amenity-card h3 {
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--stone-900);
    margin-bottom: 8px;
}

.amenity-card p {
    font-size: .9375rem;
    color: var(--stone-600);
    line-height: 1.65;
}

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

.neighborhood-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.neighborhood-img {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    height: 100%;
    min-height: 480px;
}
.neighborhood-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.location-list {
    list-style: none;
    margin: 28px 0 32px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.location-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: .9375rem;
    color: var(--stone-700);
}

.location-list li svg {
    color: var(--green-600);
    flex-shrink: 0;
}

/* ── About ── */
.about {
    background: var(--cream);
}

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

.about-img-wrap {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}
.about-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-content .section-desc {
    margin-bottom: 16px;
}

.about-stats {
    display: flex;
    gap: 32px;
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid var(--stone-200);
}

.about-stat {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.about-stat-number {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--green-800);
}

.about-stat-label {
    font-size: .8125rem;
    color: var(--stone-500);
}

/* ── CTA ── */
.cta {
    background: var(--green-800);
    padding: 80px 0;
}

.cta-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.cta-content .section-title {
    color: var(--white);
    margin-bottom: 12px;
}
.cta-content .section-desc {
    color: rgba(255,255,255,.75);
    max-width: 480px;
}

.cta-actions {
    display: flex;
    gap: 16px;
    flex-shrink: 0;
}

/* ── Contact ── */
.contact {
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
}

.contact-details {
    margin-top: 36px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--green-100);
    border-radius: var(--radius-sm);
    color: var(--green-700);
    flex-shrink: 0;
}

.contact-label {
    display: block;
    font-size: .75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--stone-500);
    margin-bottom: 2px;
}

.contact-value {
    font-size: .9375rem;
    color: var(--stone-800);
    line-height: 1.5;
}
.contact-value a {
    color: var(--green-700);
    transition: color var(--transition);
}
.contact-value a:hover {
    color: var(--green-500);
    text-decoration: underline;
}

/* ── Form ── */
.contact-form-wrap {
    background: var(--cream);
    border: 1px solid var(--stone-200);
    border-radius: var(--radius-lg);
    padding: 36px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: .875rem;
    font-weight: 500;
    color: var(--stone-700);
}

.form-group input,
.form-group select,
.form-group textarea {
    font-family: var(--font-sans);
    font-size: .9375rem;
    color: var(--stone-900);
    background: var(--white);
    border: 1.5px solid var(--stone-300);
    border-radius: var(--radius-sm);
    padding: 11px 14px;
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
    width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--green-600);
    box-shadow: 0 0 0 3px rgba(22, 163, 74, .12);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-success {
    text-align: center;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
.form-success h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--stone-900);
}
.form-success p {
    color: var(--stone-600);
    font-size: .9375rem;
}

/* ── Footer ── */
.footer {
    background: var(--stone-900);
    color: var(--stone-400);
    padding: 64px 0 0;
}

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

.footer-brand .logo {
    color: var(--white);
    margin-bottom: 14px;
}

.footer-tagline {
    font-size: .9375rem;
    color: var(--stone-500);
    line-height: 1.65;
    max-width: 280px;
}

.footer-links h4 {
    font-size: .8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--stone-300);
    margin-bottom: 18px;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a,
.footer-links span {
    font-size: .9375rem;
    color: var(--stone-500);
    transition: color var(--transition);
}
.footer-links a:hover {
    color: var(--green-400, #4ade80);
}

.footer-bottom {
    border-top: 1px solid var(--stone-800);
    padding: 24px 0;
    text-align: center;
}
.footer-bottom p {
    font-size: .8125rem;
    color: var(--stone-600);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .hero-grid,
    .neighborhood-grid,
    .about-grid,
    .contact-grid {
        gap: 40px;
    }
    .apartment-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
        z-index: 110;
    }
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100dvh;
        background: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 88px 28px 28px;
        gap: 20px;
        box-shadow: var(--shadow-xl);
        transition: right var(--transition);
        border-left: 1px solid var(--stone-200);
    }
    .nav-menu.open {
        right: 0;
    }
    .nav-menu a {
        font-size: 1.0625rem;
    }

    .hero {
        padding: 100px 0 60px;
    }
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .hero-visual {
        order: -1;
        max-width: 480px;
        margin: 0 auto;
    }
    .stat-card--floating {
        bottom: -16px;
        left: -8px;
    }
    .stat-card--right {
        top: 16px;
        right: -8px;
    }

    .section {
        padding: 64px 0;
    }

    .apartment-grid,
    .amenity-grid {
        grid-template-columns: 1fr;
    }

    .neighborhood-grid,
    .about-grid {
        grid-template-columns: 1fr;
    }
    .neighborhood-img {
        min-height: 320px;
        order: -1;
    }

    .cta-card {
        flex-direction: column;
        text-align: center;
    }
    .cta-actions {
        flex-direction: column;
        width: 100%;
    }
    .cta-actions .btn {
        justify-content: center;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    .hero-actions {
        flex-direction: column;
    }
    .hero-actions .btn {
        justify-content: center;
    }
    .about-stats {
        flex-direction: column;
        gap: 16px;
    }
}
