/* ============================================
   NeTaki Wolfe — Real Estate Website
   Bold Editorial · Emerald & Cream
   ============================================ */

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

:root {
    --emerald-900: #064e3b;
    --emerald-800: #065f46;
    --emerald-700: #047857;
    --emerald-600: #059669;
    --cream-50: #faf9f6;
    --cream-100: #f5f0e8;
    --cream-200: #e8dfc8;
    --gold-400: #d4a574;
    --gold-500: #c4945f;
    --text-dark: #1a1a1a;
    --text-mid: #3d3d3d;
    --text-light: #6b6b6b;
    --white: #ffffff;
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Inter', system-ui, sans-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-sans);
    color: var(--text-dark);
    background-color: var(--cream-50);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

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

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

/* ── Typography ── */
h1, h2, h3 {
    font-family: var(--font-serif);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.section-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--emerald-700);
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    color: var(--emerald-900);
    margin-bottom: 20px;
}

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 8px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
    white-space: nowrap;
}

.btn-primary {
    background: var(--emerald-800);
    color: var(--white);
    border-color: var(--emerald-800);
}

.btn-primary:hover {
    background: var(--emerald-700);
    border-color: var(--emerald-700);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(6, 95, 70, 0.3);
}

.btn-ghost {
    background: transparent;
    color: var(--emerald-800);
    border-color: var(--emerald-800);
}

.btn-ghost:hover {
    background: var(--emerald-800);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-ghost-light {
    background: rgba(255,255,255,0.15);
    color: var(--white);
    border-color: rgba(255,255,255,0.4);
    backdrop-filter: blur(4px);
}

.btn-ghost-light:hover {
    background: var(--white);
    color: var(--emerald-900);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

/* ── Header ── */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 249, 246, 0.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(6, 95, 70, 0.08);
    transition: all 0.4s var(--ease-out);
}

.site-header.scrolled {
    box-shadow: 0 4px 32px rgba(0,0,0,0.06);
}

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

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

.logo-mark {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 900;
    color: var(--emerald-800);
    background: var(--emerald-800);
    color: var(--white);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.logo-text {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--emerald-900);
}

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

.main-nav a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-mid);
    transition: color 0.2s;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--emerald-700);
    transition: width 0.3s var(--ease-out);
}

.main-nav a:hover {
    color: var(--emerald-800);
}

.main-nav a:hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--emerald-800);
    color: var(--white) !important;
    padding: 10px 22px;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s var(--ease-out) !important;
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    background: var(--emerald-700);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(6, 95, 70, 0.25);
}

/* Nav Toggle */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--emerald-900);
    padding: 8px;
}

/* ── Hero ── */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(160deg, var(--cream-50) 0%, var(--cream-100) 50%, var(--cream-200) 100%);
    overflow: hidden;
    padding: 120px 24px 80px;
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.04;
    background-image: 
        radial-gradient(circle at 20% 50%, var(--emerald-800) 1px, transparent 1px),
        radial-gradient(circle at 80% 20%, var(--emerald-800) 1px, transparent 1px),
        radial-gradient(circle at 60% 80%, var(--emerald-800) 1px, transparent 1px);
    background-size: 60px 60px, 80px 80px, 50px 50px;
}

.hero-inner {
    text-align: center;
    max-width: 800px;
    position: relative;
    z-index: 1;
}

.hero-eyebrow {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--emerald-700);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.hero-eyebrow::before,
.hero-eyebrow::after {
    content: '';
    width: 40px;
    height: 1px;
    background: var(--emerald-400, #34d399);
    opacity: 0.5;
}

.hero-headline {
    font-size: clamp(2.8rem, 7vw, 5.5rem);
    font-weight: 900;
    color: var(--emerald-900);
    line-height: 1.05;
    margin-bottom: 28px;
    letter-spacing: -0.03em;
}

.hero-headline em {
    font-style: italic;
    color: var(--gold-500);
    position: relative;
}

.hero-headline em::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--gold-400);
    opacity: 0.3;
    border-radius: 3px;
}

.hero-sub {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-light);
    line-height: 1.7;
    max-width: 580px;
    margin: 0 auto 40px;
}

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

.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--emerald-700);
    opacity: 0.5;
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* ── Stats Bar ── */
.stats-bar {
    background: var(--emerald-900);
    padding: 48px 24px;
}

.stats-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
}

.stat {
    text-align: center;
    padding: 0 40px;
}

.stat-number {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    color: var(--white);
    line-height: 1;
}

.stat-suffix {
    font-family: var(--font-serif);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--gold-400);
}

.stat-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    color: rgba(255,255,255,0.6);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-top: 4px;
}

.stat-divider {
    width: 1px;
    height: 48px;
    background: rgba(255,255,255,0.15);
}

/* ── Services ── */
.services {
    padding: 120px 24px;
    background: var(--cream-50);
}

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

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

.service-card {
    background: var(--white);
    border-radius: 16px;
    padding: 40px 32px;
    border: 1px solid rgba(6, 95, 70, 0.06);
    transition: all 0.4s var(--ease-out);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--emerald-700), var(--gold-400));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ease-out);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(6, 95, 70, 0.1);
    border-color: transparent;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 56px;
    height: 56px;
    background: var(--cream-100);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--emerald-800);
    margin-bottom: 24px;
    transition: all 0.3s var(--ease-out);
}

.service-card:hover .service-icon {
    background: var(--emerald-800);
    color: var(--white);
}

.service-card h3 {
    font-size: 1.25rem;
    color: var(--emerald-900);
    margin-bottom: 12px;
}

.service-card p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* ── About ── */
.about {
    padding: 120px 24px;
    background: var(--cream-100);
}

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

.about-image {
    position: relative;
}

.about-image img {
    border-radius: 20px;
    width: 100%;
    height: 500px;
    object-fit: cover;
    box-shadow: 0 24px 64px rgba(0,0,0,0.12);
}

.about-image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 160px;
    height: 160px;
    background: var(--emerald-800);
    border-radius: 16px;
    z-index: -1;
    opacity: 0.15;
}

.about-content {
    max-width: 480px;
}

.about-body {
    font-size: 1.05rem;
    color: var(--text-mid);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-signature {
    margin-top: 36px;
    padding-top: 28px;
    border-top: 1px solid var(--cream-200);
}

.signature-name {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--emerald-900);
    font-style: italic;
}

.signature-title {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 4px;
}

/* ── Areas ── */
.areas {
    padding: 120px 24px;
    background: var(--cream-50);
}

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

.area-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    group: true;
}

.area-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}

.area-card:hover img {
    transform: scale(1.08);
}

.area-card-content {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(6, 78, 59, 0.85) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 28px;
    transition: background 0.3s;
}

.area-card:hover .area-card-content {
    background: linear-gradient(to top, rgba(6, 78, 59, 0.92) 0%, rgba(6, 78, 59, 0.3) 100%);
}

.area-card h3 {
    font-size: 1.4rem;
    color: var(--white);
    margin-bottom: 6px;
}

.area-card p {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.75);
    line-height: 1.5;
}

/* ── Testimonials ── */
.testimonials {
    padding: 120px 24px;
    background: var(--emerald-900);
}

.testimonials .section-eyebrow {
    color: var(--gold-400);
}

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

.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: 16px;
    padding: 40px 32px;
    transition: all 0.4s var(--ease-out);
}

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

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

.testimonial-text {
    font-size: 1rem;
    color: rgba(255,255,255,0.85);
    line-height: 1.8;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-source {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gold-400);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* ── CTA Banner ── */
.cta-banner {
    padding: 100px 24px;
    background: linear-gradient(135deg, var(--cream-100) 0%, var(--cream-200) 100%);
    text-align: center;
}

.cta-inner {
    max-width: 680px;
    margin: 0 auto;
}

.cta-eyebrow {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--emerald-700);
    margin-bottom: 16px;
}

.cta-headline {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--emerald-900);
    margin-bottom: 20px;
}

.cta-body {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 36px;
}

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

/* ── Contact ── */
.contact {
    padding: 120px 24px;
    background: var(--cream-50);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-info {
    max-width: 480px;
}

.contact-body {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 36px;
}

.contact-details {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 36px;
}

.contact-details li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    font-size: 0.95rem;
    color: var(--text-mid);
    line-height: 1.6;
}

.contact-details svg {
    color: var(--emerald-700);
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-details a {
    color: var(--emerald-800);
    font-weight: 500;
    transition: color 0.2s;
}

.contact-details a:hover {
    color: var(--emerald-600);
}

.contact-map {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--white);
    border-radius: 20px;
    padding: 48px;
    border: 1px solid rgba(6, 95, 70, 0.06);
    box-shadow: 0 16px 48px rgba(0,0,0,0.06);
}

.contact-form h3 {
    font-size: 1.5rem;
    color: var(--emerald-900);
    margin-bottom: 6px;
}

.form-note {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 28px;
}

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

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

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-mid);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--text-dark);
    background: var(--cream-50);
    border: 1.5px solid var(--cream-200);
    border-radius: 10px;
    transition: all 0.2s;
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--emerald-700);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(6, 95, 70, 0.1);
}

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

.form-success {
    display: none;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: var(--emerald-50, #ecfdf5);
    border: 1px solid var(--emerald-200, #a7f3d0);
    border-radius: 10px;
    margin-top: 16px;
    color: var(--emerald-800);
    font-weight: 500;
    font-size: 0.95rem;
}

.form-success.show {
    display: flex;
}

.form-success svg {
    flex-shrink: 0;
    color: var(--emerald-700);
}

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

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

.footer-brand .logo-mark {
    background: rgba(255,255,255,0.15);
}

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

.footer-brand p {
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
    margin-top: 8px;
}

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

.footer-links a {
    color: rgba(255,255,255,0.65);
    font-size: 0.9rem;
    transition: color 0.2s;
}

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

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.65);
}

.footer-contact a {
    color: var(--gold-400);
    transition: color 0.2s;
}

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

.footer-bottom {
    padding: 24px 0;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
}

.footer-bottom a {
    color: rgba(255,255,255,0.4);
    transition: color 0.2s;
}

.footer-bottom a:hover {
    color: var(--white);
}

/* ── Reveal Animations ── */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ── Mobile Nav Overlay ── */
.nav-overlay {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: rgba(6, 78, 59, 0.97);
    backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s var(--ease-out);
}

.nav-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.nav-overlay-inner ul {
    list-style: none;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.nav-overlay-link {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    transition: color 0.2s;
}

.nav-overlay-link:hover {
    color: var(--gold-400);
}

.nav-overlay-cta {
    margin-top: 16px;
    font-family: var(--font-sans);
    font-size: 1rem;
    padding: 14px 32px;
    background: var(--white);
    color: var(--emerald-900);
    border-radius: 8px;
    font-weight: 600;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .services-grid,
    .areas-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        padding: 100px 24px 60px;
        min-height: auto;
    }

    .hero-headline {
        font-size: clamp(2.2rem, 10vw, 3.5rem);
    }

    .stats-inner {
        flex-wrap: wrap;
        gap: 24px;
    }

    .stat {
        padding: 0 24px;
    }

    .stat-divider {
        display: none;
    }

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

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

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

    .contact-form-wrapper {
        padding: 32px 24px;
    }

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

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

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

    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
}

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

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

    .services, .about, .areas, .testimonials, .contact, .cta-banner {
        padding: 80px 20px;
    }
}
