*,
*::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: #faf8f5;
    --cream-100: #f5f0e8;
    --cream-200: #e8dfd3;
    --warm-700: #8b6914;
    --warm-600: #a07828;
    --warm-500: #c49a3c;
    --text-primary: #1a1a1a;
    --text-secondary: #4a4a4a;
    --text-muted: #6b6b6b;
    --white: #ffffff;
    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe 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-primary);
    background-color: var(--cream-50);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

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

/* SKIP LINK */
.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    background: var(--emerald-900);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 4px;
    z-index: 1000;
    font-size: 0.875rem;
    transition: top 0.2s;
}
.skip-link:focus {
    top: 8px;
}

/* HEADER */
#site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(250, 248, 245, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(6, 78, 59, 0.08);
    transition: box-shadow 0.3s var(--ease-out);
}

#site-header.scrolled {
    box-shadow: 0 1px 20px rgba(6, 78, 59, 0.08);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--emerald-900);
    letter-spacing: -0.01em;
}

.logo-light {
    color: var(--white);
}

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

#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-secondary);
    transition: color 0.2s;
    letter-spacing: 0.01em;
}

#main-nav a:hover {
    color: var(--emerald-700);
}

/* NAV TOGGLE */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 28px;
    padding: 4px 0;
    z-index: 101;
}

.hamburger {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--emerald-900);
    border-radius: 2px;
    transition: transform 0.3s var(--ease-out), opacity 0.2s;
}

.nav-toggle[aria-expanded="true"] .hamburger:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .hamburger:nth-child(2) {
    opacity: 0;
}
.nav-toggle[aria-expanded="true"] .hamburger:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    font-size: 0.9375rem;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.25s var(--ease-out);
    letter-spacing: 0.01em;
    white-space: nowrap;
}

.btn-primary {
    background: var(--emerald-800);
    color: var(--white);
    border: 1.5px solid var(--emerald-800);
}
.btn-primary:hover {
    background: var(--emerald-700);
    border-color: var(--emerald-700);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(6, 95, 70, 0.25);
}

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

.btn-cream {
    background: var(--cream-200);
    color: var(--emerald-900);
    border: 1.5px solid var(--cream-200);
}
.btn-cream:hover {
    background: var(--cream-100);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.btn-outline-cream {
    background: transparent;
    color: var(--cream-200);
    border: 1.5px solid var(--cream-200);
}
.btn-outline-cream:hover {
    background: var(--cream-200);
    color: var(--emerald-900);
    transform: translateY(-1px);
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.8125rem;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1rem;
}

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

/* HERO */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 0 60px;
    background: var(--cream-50);
    position: relative;
    overflow: hidden;
}

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

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

.hero-eyebrow {
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--emerald-700);
    margin-bottom: 20px;
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 500;
    line-height: 1.1;
    color: var(--text-primary);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

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

.hero-body {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 36px;
    max-width: 480px;
}

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

.hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
    padding-top: 32px;
    border-top: 1px solid var(--cream-200);
}

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

.stat-number {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--emerald-900);
}

.stat-label {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

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

.hero-image {
    position: relative;
}

.hero-image-frame {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(6, 78, 59, 0.12);
}

.hero-image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 600/750;
}

.hero-accent {
    position: absolute;
    bottom: -20px;
    left: -20px;
    width: 120px;
    height: 120px;
    background: var(--emerald-800);
    border-radius: 12px;
    z-index: -1;
    opacity: 0.15;
}

.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-muted);
}

.hero-scroll svg {
    animation: scrollBounce 2s ease-in-out infinite;
}

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

/* MARQUEE */
.marquee-strip {
    background: var(--emerald-900);
    padding: 14px 0;
    overflow: hidden;
    white-space: nowrap;
}

.marquee-track {
    display: flex;
    gap: 24px;
    animation: marquee 30s linear infinite;
}

.marquee-track span {
    font-family: var(--font-serif);
    font-size: 0.9375rem;
    font-style: italic;
    color: rgba(250, 248, 245, 0.8);
    flex-shrink: 0;
}

.dot {
    color: var(--warm-500) !important;
    font-style: normal !important;
    font-size: 0.5rem !important;
    letter-spacing: 0.2em !important;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* SECTION HEADERS */
.section-header {
    margin-bottom: 56px;
}

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

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 500;
    line-height: 1.15;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

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

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

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

.service-card {
    background: var(--white);
    border: 1px solid var(--cream-200);
    border-radius: 12px;
    padding: 36px 28px;
    transition: all 0.3s var(--ease-out);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(6, 78, 59, 0.08);
    border-color: var(--emerald-600);
}

.service-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(6, 95, 70, 0.08);
    border-radius: 10px;
    color: var(--emerald-700);
    margin-bottom: 20px;
    transition: background 0.3s;
}

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

.service-card h3 {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.service-card p {
    font-size: 0.9375rem;
    line-height: 1.65;
    color: var(--text-secondary);
}

/* ABOUT */
.about {
    padding: 100px 0;
    background: var(--white);
    overflow: hidden;
}

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

.about-images {
    position: relative;
    min-height: 620px;
}

.about-img-main {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 56px rgba(6, 78, 59, 0.1);
}

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

.about-img-secondary {
    position: absolute;
    bottom: -30px;
    right: -30px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(6, 78, 59, 0.12);
    border: 4px solid var(--white);
}

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

.about-pattern {
    position: absolute;
    top: -30px;
    right: 40px;
    width: 100px;
    height: 100px;
    background-image: radial-gradient(circle, var(--emerald-600) 1px, transparent 1px);
    background-size: 12px 12px;
    opacity: 0.2;
}

.about-content .section-header {
    margin-bottom: 28px;
}

.about-lead {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.about-content > p:last-of-type {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.about-values {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

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

.value-num {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--emerald-600);
    opacity: 0.5;
    line-height: 1;
    padding-top: 2px;
    flex-shrink: 0;
}

.value-item h4 {
    font-family: var(--font-serif);
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.value-item p {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* CTA BANNER */
.cta-banner {
    background: var(--emerald-900);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(250, 248, 245, 0.04) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-banner::after {
    content: '';
    position: absolute;
    bottom: -150px;
    right: -150px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(196, 154, 60, 0.06) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 48px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.cta-content .section-eyebrow {
    color: var(--warm-500);
}

.cta-content .section-title {
    color: var(--white);
    margin-bottom: 16px;
}

.cta-content .section-title em {
    color: var(--cream-200);
}

.cta-body {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: rgba(250, 248, 245, 0.7);
    max-width: 460px;
}

.cta-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* COMMUNITY */
.community {
    padding: 100px 0;
    background: var(--cream-50);
}

.community-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.community-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--cream-200);
    transition: all 0.3s var(--ease-out);
}

.community-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(6, 78, 59, 0.08);
}

.community-card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
}

.community-card-content {
    padding: 28px;
}

.community-card-content h3 {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.community-card-content p {
    font-size: 0.9375rem;
    line-height: 1.65;
    color: var(--text-secondary);
}

/* CONTACT */
.contact {
    padding: 100px 0;
    background: var(--white);
}

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

.contact-intro {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 36px;
}

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

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

.contact-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(6, 95, 70, 0.08);
    border-radius: 10px;
    color: var(--emerald-700);
    flex-shrink: 0;
}

.contact-detail .contact-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 2px;
}

.contact-detail span,
.contact-detail a {
    font-size: 0.9375rem;
    color: var(--text-primary);
    transition: color 0.2s;
}

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

/* FORM */
.contact-form-wrapper {
    background: var(--cream-50);
    border: 1px solid var(--cream-200);
    border-radius: 12px;
    padding: 40px;
}

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

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

.form-group label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 0.03em;
}

.form-group input,
.form-group textarea {
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    padding: 12px 16px;
    border: 1.5px solid var(--cream-200);
    border-radius: 8px;
    background: var(--white);
    color: var(--text-primary);
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
    width: 100%;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--emerald-600);
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
    opacity: 0.6;
}

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

.form-note {
    font-size: 0.8125rem;
    color: var(--text-muted);
    text-align: center;
}

.form-success {
    text-align: center;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.form-success svg {
    color: var(--emerald-600);
}

.form-success h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.form-success p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

/* FOOTER */
#site-footer {
    background: var(--emerald-900);
    color: var(--white);
    padding: 64px 0 0;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(250, 248, 245, 0.1);
}

.footer-brand p {
    font-size: 0.9375rem;
    color: rgba(250, 248, 245, 0.6);
    margin-top: 12px;
    line-height: 1.6;
    max-width: 280px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--cream-200);
}

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

.footer-links a {
    font-size: 0.875rem;
    color: rgba(250, 248, 245, 0.6);
    transition: color 0.2s;
}

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

.footer-contact p {
    font-size: 0.875rem;
    color: rgba(250, 248, 245, 0.6);
    line-height: 1.7;
}

.footer-contact a {
    color: rgba(250, 248, 245, 0.6);
    transition: color 0.2s;
}

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

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

/* ANIMATIONS */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* RESPONSIVE */
@media (max-width: 1024px) {
    .hero-grid {
        gap: 40px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-grid {
        gap: 40px;
    }
    
    .cta-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .cta-actions {
        justify-content: flex-start;
    }
    
    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
    
    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    #main-nav {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(250, 248, 245, 0.98);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        padding: 24px;
        border-bottom: 1px solid var(--cream-200);
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.35s var(--ease-out), opacity 0.25s;
    }
    
    #main-nav.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }
    
    #main-nav ul {
        flex-direction: column;
        gap: 16px;
    }
    
    #main-nav a {
        font-size: 1rem;
    }
    
    .hero {
        padding: 100px 0 80px;
        min-height: auto;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-image {
        order: -1;
    }
    
    .hero-image-frame {
        border-radius: 10px;
    }
    
    .hero-image-frame img {
        aspect-ratio: 4/3;
    }
    
    .hero-accent {
        display: none;
    }
    
    .hero-stats {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .stat-divider {
        display: none;
    }
    
    .hero-scroll {
        display: none;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about-images {
        min-height: 400px;
        order: -1;
    }
    
    .about-img-secondary {
        right: -10px;
        bottom: -20px;
    }
    
    .community-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-form-wrapper {
        padding: 28px;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-headline {
        font-size: 2.125rem;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .cta-actions {
        flex-direction: column;
    }
    
    .cta-actions .btn {
        width: 100%;
        justify-content: center;
    }
}
