/* ============================================
   Mary's Office — Custom Styles
   Vibrant Modern | Forest Green + Off-White
   ============================================ */

/* --- Custom Properties --- */
:root {
    --forest-50: #f0f7f0;
    --forest-100: #dcefdc;
    --forest-200: #b9dfb9;
    --forest-400: #54a854;
    --forest-500: #3d8b3d;
    --forest-600: #2d6e2d;
    --forest-700: #245724;
    --forest-900: #173717;
    --offwhite-50: #fefdfb;
    --offwhite-100: #faf8f4;
    --offwhite-200: #f5f2ec;
    --offwhite-300: #ebe6db;
    --nav-height: 72px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
}

body {
    overflow-x: hidden;
    background-color: var(--offwhite-50);
    color: var(--forest-900);
    line-height: 1.6;
}

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

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

ul {
    list-style: none;
}

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

/* --- Geometric Background Shapes --- */
.geo-shape {
    position: fixed;
    pointer-events: none;
    z-index: 0;
    opacity: 0.06;
}

.shape-circle-1 {
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: var(--forest-600);
    top: -200px;
    right: -200px;
}

.shape-circle-2 {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: var(--forest-400);
    bottom: 10%;
    left: -150px;
}

.shape-triangle {
    width: 0;
    height: 0;
    border-left: 150px solid transparent;
    border-right: 150px solid transparent;
    border-bottom: 260px solid var(--forest-500);
    top: 45%;
    right: -50px;
    opacity: 0.04;
    transform: rotate(15deg);
}

.shape-square {
    width: 200px;
    height: 200px;
    background: var(--forest-600);
    top: 70%;
    left: 5%;
    opacity: 0.03;
    transform: rotate(45deg);
    border-radius: var(--radius-sm);
}

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(254, 253, 251, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(45, 110, 45, 0.08);
    height: var(--nav-height);
    transition: box-shadow 0.3s ease;
}

.nav.scrolled {
    box-shadow: 0 4px 30px rgba(23, 55, 23, 0.08);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--forest-700);
}

.nav-logo-text {
    letter-spacing: -0.02em;
}

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

.nav-link {
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--forest-800);
    position: relative;
    transition: color 0.2s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--forest-500);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--forest-600);
}

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

.nav-cta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    color: white;
    background: var(--forest-600);
    padding: 10px 20px;
    border-radius: 50px;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-cta:hover {
    background: var(--forest-700);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(45, 110, 45, 0.3);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--forest-700);
}

/* Mobile Menu */
@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: var(--nav-height);
        left: 0;
        right: 0;
        background: rgba(254, 253, 251, 0.98);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        flex-direction: column;
        align-items: stretch;
        padding: 24px;
        gap: 0;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.35s ease, visibility 0.35s;
        border-bottom: 1px solid rgba(45, 110, 45, 0.1);
        box-shadow: 0 20px 40px rgba(23, 55, 23, 0.1);
    }
    
    .nav-menu.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-link {
        padding: 16px 0;
        font-size: 1.1rem;
        border-bottom: 1px solid var(--offwhite-200);
    }
    
    .nav-link::after {
        display: none;
    }
    
    .nav-cta {
        margin-top: 16px;
        justify-content: center;
        font-size: 1rem;
        padding: 14px 24px;
    }
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    padding: 14px 28px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.btn-primary {
    background: var(--forest-600);
    color: white;
    box-shadow: 0 4px 16px rgba(45, 110, 45, 0.25);
}

.btn-primary:hover {
    background: var(--forest-700);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(45, 110, 45, 0.35);
}

.btn-secondary {
    background: transparent;
    color: var(--forest-700);
    border: 2px solid var(--forest-200);
}

.btn-secondary:hover {
    border-color: var(--forest-500);
    color: var(--forest-600);
    background: var(--forest-50);
}

.btn-white {
    background: white;
    color: var(--forest-700);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.btn-outline-white {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

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

/* --- Section Shared --- */
.section-tag {
    display: inline-block;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--forest-500);
    background: var(--forest-100);
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 16px;
}

.section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--forest-900);
    letter-spacing: -0.03em;
    margin-bottom: 16px;
}

.section-sub {
    font-size: 1.1rem;
    color: var(--forest-700);
    max-width: 560px;
    line-height: 1.7;
}

/* --- Hero Section --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: calc(var(--nav-height) + 40px) 0 60px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--offwhite-50) 0%, var(--forest-50) 50%, var(--offwhite-100) 100%);
}

.hero-geo {
    position: absolute;
    top: 50%;
    right: -60px;
    transform: translateY(-50%);
    width: 400px;
    height: 400px;
    opacity: 0.4;
    pointer-events: none;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 500;
    font-size: 0.85rem;
    color: var(--forest-700);
    background: white;
    padding: 8px 16px;
    border-radius: 50px;
    box-shadow: 0 2px 12px rgba(45, 110, 45, 0.08);
    margin-bottom: 24px;
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--forest-500);
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.3); }
}

.hero-headline {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--forest-900);
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}

.hero-headline::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--forest-500), var(--forest-300));
    border-radius: 2px;
    margin-top: 20px;
}

.hero-sub {
    font-size: 1.1rem;
    color: var(--forest-700);
    line-height: 1.75;
    margin-bottom: 32px;
    max-width: 500px;
}

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

.hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
}

.hero-stat {
    display: flex;
    flex-direction: column;
}

.hero-stat-number {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--forest-700);
}

.hero-stat-label {
    font-size: 0.8rem;
    color: var(--forest-500);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: var(--forest-200);
}

/* Hero Image */
.hero-right {
    position: relative;
}

.hero-image-wrapper {
    position: relative;
    padding-right: 40px;
}

.hero-image-main {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(23, 55, 23, 0.15);
    aspect-ratio: 6/7;
}

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

.hero-image-accent {
    position: absolute;
    bottom: -30px;
    left: -40px;
    width: 180px;
    height: 180px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(23, 55, 23, 0.2);
    border: 4px solid white;
}

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

.hero-floating-card {
    position: absolute;
    top: 40px;
    right: -10px;
    background: white;
    padding: 14px 20px;
    border-radius: var(--radius-md);
    box-shadow: 0 8px 30px rgba(23, 55, 23, 0.12);
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--forest-700);
    animation: float 4s ease-in-out infinite;
}

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

@media (max-width: 900px) {
    .hero {
        padding-top: calc(var(--nav-height) + 24px);
        padding-bottom: 40px;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-right {
        order: -1;
        max-width: 480px;
        margin: 0 auto;
    }
    
    .hero-image-wrapper {
        padding-right: 0;
    }
    
    .hero-image-accent {
        left: -20px;
        width: 140px;
        height: 140px;
        bottom: -20px;
    }
    
    .hero-floating-card {
        right: 0;
        top: 20px;
    }
    
    .hero-geo {
        display: none;
    }
}

/* --- Services Section --- */
.services {
    padding: 100px 0;
    position: relative;
    z-index: 1;
    background: var(--offwhite-50);
}

.services .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.services .section-sub {
    margin: 0 auto;
}

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

.service-card {
    position: relative;
    background: white;
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    border: 1px solid rgba(45, 110, 45, 0.06);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(23, 55, 23, 0.1);
}

.service-card-accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--forest-500), var(--forest-300));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover .service-card-accent {
    opacity: 1;
}

.service-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: var(--forest-50);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--forest-600);
    margin-bottom: 20px;
    transition: background 0.3s ease;
}

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

.service-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--forest-900);
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

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

@media (max-width: 900px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .services {
        padding: 70px 0;
    }
}

/* --- About Section --- */
.about {
    padding: 100px 0;
    position: relative;
    z-index: 1;
    background: white;
}

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

.about-visual {
    position: relative;
}

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

.about-img-main {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(23, 55, 23, 0.12);
    aspect-ratio: 5/6;
}

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

.about-img-secondary {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 55%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(23, 55, 23, 0.15);
    border: 4px solid white;
}

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

.about-geo-accent {
    position: absolute;
    top: -30px;
    left: -20px;
    width: 120px;
    height: 120px;
    pointer-events: none;
}

.about-content .section-title {
    margin-top: 8px;
}

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

.about-values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 32px 0;
}

.about-value {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--forest-800);
}

.about-value-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--forest-100);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .about-visual {
        max-width: 480px;
        margin: 0 auto;
    }
    
    .about-img-secondary {
        right: -16px;
        bottom: -20px;
    }
    
    .about-values {
        grid-template-columns: 1fr;
    }
}

/* --- Why Us Section --- */
.why-us {
    padding: 100px 0;
    position: relative;
    z-index: 1;
    background: var(--forest-900);
    color: white;
    overflow: hidden;
}

.why-us::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(45, 110, 45, 0.3) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(84, 168, 84, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.why-us .container {
    position: relative;
}

.why-us-header {
    text-align: center;
    margin-bottom: 60px;
}

.why-us .section-tag {
    background: rgba(255, 255, 255, 0.1);
    color: var(--forest-200);
}

.why-us .section-title {
    color: white;
}

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

.why-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    transition: background 0.3s ease, transform 0.3s ease;
}

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

.why-card-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.08);
    line-height: 1;
    margin-bottom: 16px;
}

.why-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.why-card p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.7;
}

@media (max-width: 700px) {
    .why-grid {
        grid-template-columns: 1fr;
    }
}

/* --- CTA Banner --- */
.cta-banner {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--forest-600) 0%, var(--forest-700) 60%, var(--forest-800) 100%);
    position: relative;
    overflow: hidden;
}

.cta-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 48px;
    position: relative;
    z-index: 1;
}

.cta-geo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.cta-content {
    flex: 1;
}

.cta-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 700;
    color: white;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.cta-text {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
    max-width: 480px;
}

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

@media (max-width: 700px) {
    .cta-container {
        flex-direction: column;
        text-align: center;
        gap: 32px;
    }
    
    .cta-text {
        max-width: 100%;
    }
    
    .cta-actions {
        justify-content: center;
        flex-wrap: wrap;
    }
}

/* --- Contact Section --- */
.contact {
    padding: 100px 0;
    position: relative;
    z-index: 1;
    background: var(--offwhite-50);
}

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

.contact-desc {
    font-size: 1.05rem;
    color: var(--forest-700);
    line-height: 1.7;
    margin-bottom: 36px;
}

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

.contact-detail {
    display: flex;
    gap: 16px;
}

.contact-detail-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: var(--forest-50);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-detail strong {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--forest-800);
    margin-bottom: 4px;
}

.contact-detail p {
    font-size: 0.95rem;
    color: var(--forest-700);
    line-height: 1.6;
}

.contact-detail a {
    color: var(--forest-600);
    transition: color 0.2s ease;
}

.contact-detail a:hover {
    color: var(--forest-500);
    text-decoration: underline;
}

/* Contact Form */
.contact-form-wrapper {
    background: white;
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: 0 16px 50px rgba(23, 55, 23, 0.08);
    border: 1px solid rgba(45, 110, 45, 0.06);
}

.contact-form-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--forest-900);
    margin-bottom: 28px;
    letter-spacing: -0.02em;
}

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

.form-label {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--forest-700);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.form-input {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid var(--offwhite-300);
    border-radius: var(--radius-sm);
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    color: var(--forest-900);
    background: var(--offwhite-50);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
}

.form-input:focus {
    border-color: var(--forest-400);
    box-shadow: 0 0 0 3px rgba(61, 139, 61, 0.1);
    background: white;
}

.form-input::placeholder {
    color: var(--forest-300);
}

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

.form-success {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    padding: 14px 18px;
    background: var(--forest-50);
    border: 1px solid var(--forest-200);
    border-radius: var(--radius-sm);
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--forest-700);
}

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

.hidden {
    display: none !important;
}

@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .contact-form-wrapper {
        padding: 28px;
    }
}

/* --- Map Section --- */
.map-section {
    position: relative;
    z-index: 1;
}

.map-container {
    height: 350px;
    filter: saturate(0.6) contrast(1.05);
}

.map-container iframe {
    width: 100%;
    height: 100%;
}

/* --- Footer --- */
.footer {
    background: var(--forest-900);
    color: white;
    padding: 60px 0 0;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
    color: white;
    margin-bottom: 12px;
}

.footer-tagline {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.7;
    max-width: 280px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 16px;
}

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

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

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

.footer-contact p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 4px;
}

.footer-contact a {
    color: var(--forest-200);
    transition: color 0.2s ease;
}

.footer-contact a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
}

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

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

@media (max-width: 700px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Scroll Reveal (Progressive Enhancement) --- */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Fallback: ensure content is visible even without JS */
@supports not (animation-fill-mode: both) {
    .reveal {
        opacity: 1;
        transform: none;
    }
}
