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

:root {
    --forest: #1B4332;
    --forest-light: #2D6A4F;
    --forest-dark: #081C15;
    --cream: #FEFAE0;
    --cream-dark: #F5F0DC;
    --sand: #DDA15E;
    --sand-light: #E9C46A;
    --white: #FFFFFF;
    --text: #1A1A1A;
    --text-light: #4A4A4A;
    --text-muted: #6B6B6B;
    --border: rgba(27, 67, 50, 0.12);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.1);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    background: var(--cream);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    line-height: 1.15;
    color: var(--forest-dark);
}

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

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

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

/* ─── HEADER ─── */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(254, 250, 224, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(254, 250, 224, 0.97);
    box-shadow: var(--shadow-sm);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-mark {
    width: 40px;
    height: 40px;
    background: var(--forest);
    color: var(--cream);
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    letter-spacing: -0.5px;
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 16px;
    color: var(--forest-dark);
    letter-spacing: -0.3px;
}

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

.nav a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-light);
    transition: var(--transition);
    position: relative;
}

.nav a:not(.btn):hover {
    color: var(--forest);
}

.nav a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--forest);
    transition: var(--transition);
}

.nav a:not(.btn):hover::after {
    width: 100%;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius-xl);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn--primary {
    background: var(--forest);
    color: var(--cream);
}

.btn--primary:hover {
    background: var(--forest-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn--outline {
    background: transparent;
    color: var(--forest);
    border: 1.5px solid var(--forest);
}

.btn--outline:hover {
    background: var(--forest);
    color: var(--cream);
    transform: translateY(-2px);
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--forest-dark);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ─── HERO ─── */
.hero {
    padding-top: 72px;
    min-height: 100vh;
    background: var(--cream);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(27,67,50,0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 80px 0;
}

.hero-eyebrow {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--forest-light);
    margin-bottom: 20px;
}

.hero-headline {
    font-size: clamp(36px, 5vw, 64px);
    line-height: 1.08;
    margin-bottom: 24px;
    color: var(--forest-dark);
}

.hero-headline em {
    font-style: italic;
    color: var(--forest);
}

.hero-accent {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: clamp(16px, 2vw, 20px);
    font-weight: 400;
    color: var(--text-light);
    margin-top: 8px;
    line-height: 1.5;
}

.hero-sub {
    font-size: 17px;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 480px;
}

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

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    height: 560px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
}

/* ─── FLOATING CARDS ─── */
.floating-cards {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.float-card {
    position: absolute;
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    box-shadow: var(--shadow-lg);
    animation: float 6s ease-in-out infinite;
    pointer-events: auto;
}

.float-card-number {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--forest);
    line-height: 1;
}

.float-card-label {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 4px;
}

.float-card--1 {
    top: 18%;
    left: -30px;
    animation-delay: 0s;
}

.float-card--2 {
    bottom: 22%;
    left: -20px;
    animation-delay: 2s;
}

.float-card--3 {
    bottom: 8%;
    right: 38%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}

/* ─── SECTION COMMON ─── */
.section-eyebrow {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--forest-light);
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(28px, 4vw, 48px);
    line-height: 1.12;
    margin-bottom: 20px;
}

/* ─── ABOUT ─── */
.about {
    padding: 120px 0;
    background: var(--white);
}

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

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    height: 560px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.about-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--forest);
    color: var(--cream);
    padding: 16px 24px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: var(--shadow-lg);
}

.about-content {
    padding: 20px 0;
}

.about-content p {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--border);
}

.about-stat {
    text-align: left;
}

.about-stat-number {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--forest);
    margin-bottom: 4px;
}

.about-stat-label {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.4;
}

/* ─── SERVICES ─── */
.services {
    padding: 120px 0;
    background: var(--cream);
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 64px;
}

.section-header .section-title {
    margin-bottom: 24px;
}

.section-header .btn {
    margin-top: 24px;
}

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

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.service-icon {
    width: 56px;
    height: 56px;
    background: rgba(27, 67, 50, 0.08);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--forest);
    margin-bottom: 24px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--forest);
    color: var(--cream);
}

.service-title {
    font-size: 22px;
    margin-bottom: 12px;
}

.service-card p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--forest);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.service-link:hover {
    gap: 10px;
}

/* ─── LISTINGS ─── */
.listings {
    padding: 120px 0;
    background: var(--white);
}

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

.listing-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition);
    background: var(--white);
}

.listing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.listing-image {
    position: relative;
    overflow: hidden;
}

.listing-image img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.listing-card:hover .listing-image img {
    transform: scale(1.05);
}

.listing-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--forest);
    color: var(--cream);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
}

.listing-info {
    padding: 24px;
}

.listing-address {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--forest-dark);
    margin-bottom: 6px;
}

.listing-details {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.listing-neighborhood {
    font-size: 13px;
    color: var(--forest-light);
    font-weight: 500;
}

/* ─── TESTIMONIALS ─── */
.testimonials {
    padding: 120px 0;
    background: var(--forest-dark);
    color: var(--cream);
}

.testimonials .section-eyebrow {
    color: var(--sand-light);
}

.testimonials .section-title {
    color: var(--cream);
    margin-bottom: 64px;
}

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

.testimonial-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-lg);
    padding: 36px;
    transition: var(--transition);
}

.testimonial-card:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-4px);
}

.testimonial-quote {
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 15px;
    line-height: 1.8;
    color: rgba(254, 250, 224, 0.85);
    margin-bottom: 24px;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.testimonial-name {
    font-family: 'Playfair Display', serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--cream);
}

.testimonial-location {
    font-size: 13px;
    color: rgba(254, 250, 224, 0.5);
}

/* ─── CTA / CONTACT ─── */
.cta {
    padding: 120px 0;
    background: var(--cream);
}

.cta-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 64px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
}

.cta-content .section-title {
    margin-bottom: 20px;
}

.cta-content > p {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 36px;
}

.cta-contact {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cta-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    color: var(--text-light);
}

.cta-contact-item svg {
    color: var(--forest);
    flex-shrink: 0;
    margin-top: 2px;
}

.cta-contact-item a {
    color: var(--forest);
    font-weight: 500;
    transition: var(--transition);
}

.cta-contact-item a:hover {
    color: var(--forest-light);
    text-decoration: underline;
}

/* ─── FORM ─── */
.form-title {
    font-size: 24px;
    margin-bottom: 28px;
    color: var(--forest-dark);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
    letter-spacing: 0.3px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: var(--text);
    background: var(--cream);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--forest);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(27, 67, 50, 0.1);
}

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

.form-note {
    font-size: 12px;
    color: var(--text-muted);
    text-align: center;
    margin-top: 16px;
}

.form-success {
    display: none;
    text-align: center;
    padding: 40px 20px;
}

.form-success svg {
    color: var(--forest);
    margin-bottom: 20px;
}

.form-success h3 {
    font-size: 24px;
    margin-bottom: 12px;
    color: var(--forest-dark);
}

.form-success p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 24px;
}

/* ─── FOOTER ─── */
.footer {
    background: var(--forest-dark);
    color: var(--cream);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr;
    gap: 48px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand .logo-text {
    color: var(--cream);
}

.footer-brand p {
    font-size: 14px;
    color: rgba(254, 250, 224, 0.6);
    line-height: 1.7;
    margin-top: 16px;
    max-width: 280px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--sand-light);
    margin-bottom: 20px;
}

.footer-links a {
    display: block;
    font-size: 14px;
    color: rgba(254, 250, 224, 0.6);
    padding: 6px 0;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--cream);
    padding-left: 4px;
}

.footer-contact p {
    font-size: 14px;
    color: rgba(254, 250, 224, 0.6);
    line-height: 1.8;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 12px;
}

.footer-contact svg {
    flex-shrink: 0;
    margin-top: 3px;
}

.footer-contact a {
    color: rgba(254, 250, 224, 0.6);
    transition: var(--transition);
}

.footer-contact a:hover {
    color: var(--cream);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    font-size: 13px;
    color: rgba(254, 250, 224, 0.4);
}

/* ─── MOBILE MENU ─── */
@media (max-width: 1024px) {
    .hero-card {
        gap: 40px;
    }

    .about-grid {
        gap: 48px;
    }

    .cta-card {
        gap: 48px;
        padding: 40px;
    }
}

@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(254, 250, 224, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 32px 24px;
        gap: 20px;
        border-bottom: 1px solid var(--border);
        transform: translateY(-120%);
        transition: var(--transition);
        box-shadow: var(--shadow-lg);
    }

    .nav.active {
        transform: translateY(0);
    }

    .nav-toggle {
        display: flex;
    }

    .hero-card {
        grid-template-columns: 1fr;
        padding: 48px 0;
    }

    .hero-image {
        order: -1;
    }

    .hero-image img {
        height: 360px;
    }

    .floating-cards {
        display: none;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-image img {
        height: 400px;
    }

    .about-badge {
        right: 16px;
        bottom: -16px;
    }

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

    .services-grid {
        grid-template-columns: 1fr;
    }

    .listings-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .cta-card {
        grid-template-columns: 1fr;
        padding: 32px;
    }

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

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
        text-align: center;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }

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

/* ─── ANIMATIONS ─── */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }
