/* =============================================
   Kelsey Garcia — Real Estate Website
   Fresh & Airy · Emerald Green + Cream
   ============================================= */

/* ── Custom Properties ── */
:root {
    --emerald-900: #064e3b;
    --emerald-800: #065f46;
    --emerald-700: #047857;
    --emerald-600: #059669;
    --emerald-500: #10b981;
    --emerald-400: #34d399;
    --emerald-100: #d1fae5;
    --emerald-50:  #ecfdf5;

    --cream-50:  #fefdf8;
    --cream-100: #fefce8;
    --cream-200: #fef9c3;
    --cream-300: #fef3c7;

    --sand-50:   #faf9f6;
    --sand-100:  #f5f3ee;
    --sand-200:  #e8e4db;
    --sand-300:  #d4cfc4;

    --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;

    --font-serif:  'Cormorant Garamond', Georgia, serif;
    --font-sans:   'Inter', system-ui, sans-serif;

    --shadow-sm:  0 1px 2px rgba(0,0,0,0.04), 0 1px 3px rgba(0,0,0,0.06);
    --shadow-md:  0 4px 6px -1px rgba(0,0,0,0.06), 0 2px 4px -1px rgba(0,0,0,0.04);
    --shadow-lg:  0 10px 25px -3px rgba(0,0,0,0.08), 0 4px 10px -2px rgba(0,0,0,0.04);
    --shadow-xl:  0 20px 40px -4px rgba(0,0,0,0.1);

    --radius-sm:  8px;
    --radius-md:  12px;
    --radius-lg:  16px;
    --radius-xl:  24px;

    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

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

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

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

ul { list-style: none; }

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

/* ── Typography ── */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 500;
    color: var(--stone-900);
    line-height: 1.2;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--emerald-700);
    background: var(--emerald-50);
    border: 1px solid var(--emerald-100);
    padding: 6px 14px;
    border-radius: 100px;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 16px;
}

.section-title-accent {
    color: var(--emerald-700);
    font-style: italic;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--stone-500);
    max-width: 560px;
    line-height: 1.7;
}

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

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: 0.938rem;
    font-weight: 500;
    padding: 14px 28px;
    border-radius: 100px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--emerald-700);
    color: #fff;
    box-shadow: 0 4px 14px rgba(4, 120, 87, 0.35);
}
.btn-primary:hover {
    background: var(--emerald-800);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(4, 120, 87, 0.4);
}

.btn-outline {
    background: rgba(255,255,255,0.15);
    color: #fff;
    border: 1.5px solid rgba(255,255,255,0.5);
    backdrop-filter: blur(4px);
}
.btn-outline:hover {
    background: rgba(255,255,255,0.25);
    border-color: #fff;
    transform: translateY(-2px);
}

.btn-white {
    background: #fff;
    color: var(--emerald-800);
    box-shadow: var(--shadow-lg);
}
.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.btn-ghost {
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(255,255,255,0.5);
}
.btn-ghost:hover {
    background: rgba(255,255,255,0.12);
    border-color: #fff;
    transform: translateY(-2px);
}

.btn-full { width: 100%; justify-content: center; }

/* ── Navbar ── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(254, 253, 248, 0.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--sand-200);
    padding: 10px 0;
    box-shadow: var(--shadow-sm);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 600;
    color: #fff;
    transition: var(--transition);
}

.navbar.scrolled .nav-logo { color: var(--emerald-800); }

.nav-logo-icon { opacity: 0.9; }

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

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255,255,255,0.85);
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    transition: var(--transition);
}

.nav-links a:hover::after { width: 100%; }
.nav-links a:hover { color: #fff; }

.navbar.scrolled .nav-links a { color: var(--stone-600); }
.navbar.scrolled .nav-links a:hover { color: var(--emerald-700); }

.nav-cta {
    background: rgba(255,255,255,0.18) !important;
    border: 1px solid rgba(255,255,255,0.4);
    padding: 8px 20px !important;
    border-radius: 100px;
    font-size: 0.875rem !important;
    backdrop-filter: blur(4px);
    transition: var(--transition);
}
.nav-cta::after { display: none !important; }
.nav-cta:hover {
    background: rgba(255,255,255,0.28) !important;
    border-color: #fff;
}

.navbar.scrolled .nav-cta {
    background: var(--emerald-700) !important;
    border-color: var(--emerald-700) !important;
    color: #fff !important;
}
.navbar.scrolled .nav-cta:hover {
    background: var(--emerald-800) !important;
}

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

.nav-toggle-line {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: var(--transition);
}

.navbar.scrolled .nav-toggle-line { background: var(--stone-700); }

.nav-toggle.active .nav-toggle-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle.active .nav-toggle-line:nth-child(2) { opacity: 0; }
.nav-toggle.active .nav-toggle-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ── Hero ── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding: 120px 24px 80px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(135deg, 
            #065f46 0%, 
            #047857 25%, 
            #059669 50%, 
            #34d399 75%, 
            #a7f3d0 100%
        );
    z-index: 0;
}

.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(6, 95, 70, 0.6) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(52, 211, 153, 0.4) 0%, transparent 50%),
        radial-gradient(ellipse at 60% 80%, rgba(4, 120, 87, 0.5) 0%, transparent 50%);
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(255,255,255,0.03) 1px, transparent 1px),
        radial-gradient(circle at 75% 75%, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px, 40px 40px;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(6, 78, 59, 0.3) 0%,
        rgba(6, 78, 59, 0.1) 50%,
        rgba(6, 78, 59, 0.4) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 720px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.25);
    backdrop-filter: blur(8px);
    color: rgba(255,255,255,0.95);
    font-size: 0.813rem;
    font-weight: 500;
    padding: 8px 18px;
    border-radius: 100px;
    margin-bottom: 28px;
    letter-spacing: 0.02em;
}

.hero-headline {
    font-size: clamp(2.5rem, 6vw, 4.25rem);
    color: #fff;
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}

.hero-headline-accent {
    display: block;
    font-style: italic;
    color: var(--cream-200);
    font-size: 0.85em;
    margin-top: 4px;
}

.hero-sub {
    font-size: 1.125rem;
    color: rgba(255,255,255,0.85);
    line-height: 1.75;
    max-width: 540px;
    margin: 0 auto 36px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 52px;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap;
}

.hero-stat {
    text-align: center;
}

.hero-stat-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.375rem;
    font-weight: 600;
    color: #fff;
}

.hero-stat-label {
    font-size: 0.813rem;
    color: rgba(255,255,255,0.7);
    letter-spacing: 0.02em;
}

.hero-stat-divider {
    width: 1px;
    height: 32px;
    background: rgba(255,255,255,0.25);
}

.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.6);
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0%, 100% { opacity: 0.4; transform: scaleY(0.6); transform-origin: top; }
    50% { opacity: 1; transform: scaleY(1); }
}

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

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

.about-image-wrap {
    position: relative;
}

.about-image-main {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.about-image-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-image-accent {
    position: absolute;
    bottom: -32px;
    right: -24px;
    width: 55%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--cream-50);
}

.about-image-accent img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-experience-badge {
    position: absolute;
    top: -16px;
    left: -16px;
    background: var(--emerald-700);
    color: #fff;
    padding: 16px 20px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.about-exp-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 600;
}

.about-exp-text {
    font-size: 0.75rem;
    opacity: 0.85;
    letter-spacing: 0.02em;
}

.about-content { padding-top: 16px; }

.about-text {
    font-size: 1.05rem;
    color: var(--stone-600);
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-values {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 32px;
}

.about-value {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.about-value-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: var(--emerald-50);
    border: 1px solid var(--emerald-100);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--emerald-700);
}

.about-value strong {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.938rem;
    font-weight: 600;
    color: var(--stone-800);
    margin-bottom: 2px;
}

.about-value span {
    font-size: 0.875rem;
    color: var(--stone-500);
    line-height: 1.6;
}

/* ── Services ── */
.services {
    padding: 100px 0;
    background: var(--sand-50);
}

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

.service-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--sand-200);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: var(--emerald-100);
}

.service-card-img {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.service-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.service-card-icon {
    position: absolute;
    bottom: -18px;
    left: 24px;
    width: 40px;
    height: 40px;
    background: var(--emerald-700);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: var(--shadow-md);
    z-index: 1;
}

.service-card-body {
    padding: 32px 24px 28px;
}

.service-card-body h3 {
    font-family: var(--font-sans);
    font-size: 1.188rem;
    font-weight: 600;
    color: var(--stone-800);
    margin-bottom: 10px;
}

.service-card-body p {
    font-size: 0.938rem;
    color: var(--stone-500);
    line-height: 1.7;
    margin-bottom: 18px;
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.875rem;
    color: var(--stone-600);
}

.service-features li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--emerald-500);
    border-radius: 50%;
    flex-shrink: 0;
}

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

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

.area-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--sand-200);
    transition: var(--transition);
    cursor: pointer;
}

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

.area-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.area-card-content {
    background: #fff;
    padding: 20px 24px;
    border-top: 3px solid var(--emerald-500);
}

.area-card-content h3 {
    font-family: var(--font-sans);
    font-size: 1.063rem;
    font-weight: 600;
    color: var(--stone-800);
    margin-bottom: 6px;
}

.area-card-content p {
    font-size: 0.875rem;
    color: var(--stone-500);
    line-height: 1.6;
}

/* ── Testimonials ── */
.testimonials {
    padding: 100px 0;
    background: var(--emerald-800);
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 0% 0%, rgba(52, 211, 153, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 100% 100%, rgba(6, 95, 70, 0.3) 0%, transparent 50%);
}

.testimonials .container { position: relative; z-index: 1; }

.testimonials .section-tag {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.2);
    color: var(--emerald-300);
}

.testimonials .section-title { color: #fff; }
.testimonials .section-title-accent { color: var(--emerald-300); }

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

.testimonial-card {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    backdrop-filter: blur(8px);
    transition: var(--transition);
}

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

.testimonial-quote-mark {
    font-family: var(--font-serif);
    font-size: 4rem;
    line-height: 1;
    color: var(--emerald-400);
    opacity: 0.5;
    margin-bottom: -8px;
}

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

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-author-avatar {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--emerald-300);
    flex-shrink: 0;
}

.testimonial-author-name {
    display: block;
    font-weight: 600;
    font-size: 0.938rem;
    color: #fff;
}

.testimonial-author-detail {
    font-size: 0.813rem;
    color: rgba(255,255,255,0.55);
}

/* ── CTA Banner ── */
.cta-banner {
    position: relative;
    padding: 88px 0;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, 
        var(--emerald-700) 0%, 
        var(--emerald-600) 50%, 
        var(--emerald-500) 100%
    );
}

.cta-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 30% 50%, rgba(255,255,255,0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(255,255,255,0.06) 0%, transparent 50%);
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.cta-tag {
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.25);
    color: rgba(255,255,255,0.95);
}

.cta-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    color: #fff;
    margin-bottom: 18px;
}

.cta-title-accent {
    color: var(--cream-200);
    font-style: italic;
}

.cta-text {
    font-size: 1.063rem;
    color: rgba(255,255,255,0.85);
    line-height: 1.75;
    margin-bottom: 32px;
}

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

/* ── Contact ── */
.contact {
    padding: 100px 0;
    background: var(--sand-50);
}

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

.contact-desc {
    font-size: 1.05rem;
    color: var(--stone-500);
    line-height: 1.75;
    margin-bottom: 32px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 28px;
}

.contact-detail {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

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

.contact-detail strong {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--stone-800);
    margin-bottom: 2px;
}

.contact-detail span,
.contact-detail a {
    font-size: 0.938rem;
    color: var(--stone-500);
    line-height: 1.6;
}

.contact-detail a:hover { color: var(--emerald-700); }

.contact-map {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

/* Contact Form */
.contact-form-wrap {
    position: relative;
}

.contact-form-card {
    background: #fff;
    border-radius: var(--radius-xl);
    padding: 40px 36px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--sand-200);
}

.contact-form-card h3 {
    font-family: var(--font-sans);
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--stone-800);
    margin-bottom: 6px;
}

.contact-form-desc {
    font-size: 0.938rem;
    color: var(--stone-500);
    margin-bottom: 28px;
}

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

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

.form-group label {
    font-size: 0.813rem;
    font-weight: 600;
    color: var(--stone-700);
    letter-spacing: 0.02em;
}

.form-group input,
.form-group select,
.form-group textarea {
    font-family: var(--font-sans);
    font-size: 0.938rem;
    color: var(--stone-800);
    background: var(--sand-50);
    border: 1.5px solid var(--sand-200);
    border-radius: var(--radius-sm);
    padding: 12px 14px;
    transition: var(--transition);
    outline: none;
    width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--emerald-500);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--stone-400);
}

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

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

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

.form-success-icon {
    width: 64px;
    height: 64px;
    background: var(--emerald-50);
    border: 2px solid var(--emerald-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: var(--emerald-700);
}

.form-success h4 {
    font-family: var(--font-sans);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--stone-800);
    margin-bottom: 8px;
}

.form-success p {
    font-size: 0.938rem;
    color: var(--stone-500);
}

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

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

.footer-brand { }

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 14px;
}

.footer-tagline {
    font-size: 0.938rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.5);
    max-width: 260px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-sans);
    font-size: 0.813rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    margin-bottom: 16px;
}

.footer-links ul,
.footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a,
.footer-contact a {
    font-size: 0.938rem;
    color: rgba(255,255,255,0.65);
    transition: var(--transition);
}

.footer-links a:hover,
.footer-contact a:hover { color: var(--emerald-400); }

.footer-contact li:last-child {
    font-size: 0.938rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.5);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding: 24px 0;
    font-size: 0.813rem;
    color: rgba(255,255,255,0.35);
}

.footer-disclaimer { font-style: italic; }

/* ── Animations ── */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ── Responsive ── */
@media (max-width: 1024px) {
    .about-grid { gap: 48px; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid .testimonial-card:last-child { grid-column: span 2; max-width: 50%; margin: 0 auto; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--cream-50);
        flex-direction: column;
        justify-content: center;
        gap: 24px;
        padding: 40px;
        box-shadow: var(--shadow-xl);
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .nav-links.open { right: 0; }

    .nav-links a {
        color: var(--stone-700) !important;
        font-size: 1.063rem;
    }

    .nav-links a:hover { color: var(--emerald-700) !important; }

    .nav-cta {
        background: var(--emerald-700) !important;
        border-color: var(--emerald-700) !important;
        color: #fff !important;
    }

    .nav-toggle { display: flex; }

    .hero { padding: 100px 20px 60px; }
    .hero-headline { font-size: clamp(2rem, 8vw, 2.75rem); }
    .hero-stats { gap: 20px; }
    .hero-stat-divider { display: none; }

    .about-grid { grid-template-columns: 1fr; gap: 48px; }
    .about-image-accent { right: -8px; bottom: -20px; }

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

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

    .testimonials-grid { grid-template-columns: 1fr; }
    .testimonials-grid .testimonial-card:last-child { grid-column: span 1; max-width: 100%; }

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

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

    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .hero-actions { flex-direction: column; align-items: center; }
    .hero-actions .btn { width: 100%; justify-content: center; }
    .cta-actions { flex-direction: column; align-items: center; }
    .cta-actions .btn { width: 100%; justify-content: center; }
    .contact-form-card { padding: 28px 20px; }
}

/* Mobile overlay */
.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

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