/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: 'Inter', system-ui, sans-serif;
    color: #1a2e26;
    background: #f5f0e8;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

/* ===== SKIP LINK ===== */
.skip-link {
    position: absolute; top: -100%; left: 1rem;
    background: #065f46; color: #f5f0e8; padding: .5rem 1rem;
    border-radius: 0 0 .5rem .5rem; z-index: 200; font-weight: 600;
}
.skip-link:focus { top: 0; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 900; line-height: 1.1; letter-spacing: -0.02em;
}
.section-header__eyebrow {
    font-size: .75rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: .15em; color: #065f46; margin-bottom: .75rem;
}
.section-header__title {
    font-size: clamp(2rem, 5vw, 3.25rem); color: #064e3b;
    margin-bottom: 1rem;
}

/* ===== CONTAINER ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex; align-items: center; gap: .5rem;
    font-family: 'Inter', sans-serif; font-weight: 600;
    border-radius: .5rem; transition: all .2s ease;
    white-space: nowrap;
}
.btn--lg { padding: .875rem 1.75rem; font-size: 1rem; }
.btn--full { width: 100%; justify-content: center; padding: 1rem; }
.btn--primary {
    background: #065f46; color: #f5f0e8;
    border: 2px solid #065f46;
}
.btn--primary:hover { background: #047857; border-color: #047857; transform: translateY(-1px); }
.btn--ghost {
    background: transparent; color: #f5f0e8;
    border: 2px solid rgba(245,240,232,.5);
}
.btn--ghost:hover { border-color: #f5f0e8; background: rgba(245,240,232,.1); }
.btn--light {
    background: #f5f0e8; color: #065f46;
    border: 2px solid #f5f0e8;
}
.btn--light:hover { background: #fff; transform: translateY(-1px); }
.btn--outline-light {
    background: transparent; color: #f5f0e8;
    border: 2px solid rgba(245,240,232,.7);
}
.btn--outline-light:hover { background: rgba(245,240,232,.15); }

/* ===== NAV ===== */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: rgba(6,95,70,.95); backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(245,240,232,.1);
}
.nav__inner {
    max-width: 1200px; margin: 0 auto; padding: 0 1.5rem;
    display: flex; align-items: center; height: 72px; gap: 2rem;
}
.nav__brand {
    display: flex; align-items: center; gap: .75rem;
    color: #f5f0e8; font-weight: 700; flex-shrink: 0;
}
.nav__logo { color: #f5f0e8; }
.nav__brand-text {
    font-family: 'Playfair Display', serif; font-size: .95rem;
    line-height: 1.2;
}
.nav__brand-sub { font-family: 'Inter', sans-serif; font-size: .7rem; font-weight: 500; opacity: .8; text-transform: uppercase; letter-spacing: .1em; }
.nav__links {
    display: flex; align-items: center; gap: 2rem;
    margin-left: auto;
}
.nav__links a {
    color: rgba(245,240,232,.85); font-size: .875rem; font-weight: 500;
    transition: color .2s;
}
.nav__links a:hover { color: #f5f0e8; }
.nav__cta {
    background: #f5f0e8; color: #065f46 !important;
    padding: .5rem 1.125rem; border-radius: .5rem; font-weight: 700 !important;
    transition: background .2s, transform .2s !important;
}
.nav__cta:hover { background: #fff; transform: translateY(-1px); }
.nav__toggle {
    display: none; color: #f5f0e8; margin-left: auto;
    padding: .5rem;
}

/* ===== HERO ===== */
.hero {
    position: relative; min-height: 100vh; min-height: 100dvh;
    display: flex; flex-direction: column; justify-content: center;
    overflow: hidden;
}
.hero__bg {
    position: absolute; inset: 0;
    background: url('https://images.pexels.com/photos/8943354/pexels-photo-8943354.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1920&h=1080') center/cover no-repeat;
}
.hero__overlay {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(6,78,59,.92) 0%, rgba(6,95,70,.85) 50%, rgba(4,68,53,.88) 100%);
}
.hero__inner {
    position: relative; z-index: 1;
    max-width: 1200px; margin: 0 auto; padding: 8rem 1.5rem 4rem;
    display: grid; grid-template-columns: 1fr 420px; gap: 4rem; align-items: center;
}
.hero__eyebrow {
    font-size: .75rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: .18em; color: rgba(245,240,232,.7); margin-bottom: 1.25rem;
}
.hero__headline {
    font-size: clamp(2.5rem, 6vw, 4.5rem); color: #f5f0e8;
    margin-bottom: 1.5rem; line-height: 1.05;
}
.hero__sub {
    font-size: 1.125rem; color: rgba(245,240,232,.8);
    max-width: 520px; margin-bottom: 2rem; line-height: 1.7;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero__cards {
    display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
}
.stat-card {
    background: rgba(245,240,232,.1); backdrop-filter: blur(8px);
    border: 1px solid rgba(245,240,232,.15);
    border-radius: 1rem; padding: 1.5rem;
    transition: transform .2s, background .2s;
}
.stat-card:hover { transform: translateY(-4px); background: rgba(245,240,232,.15); }
.stat-card__number {
    display: block; font-family: 'Playfair Display', serif;
    font-size: 2.25rem; font-weight: 900; color: #f5f0e8; line-height: 1;
    margin-bottom: .375rem;
}
.stat-card__label {
    font-size: .75rem; font-weight: 500; color: rgba(245,240,232,.7);
    text-transform: uppercase; letter-spacing: .1em;
}
.stat-card--1 { grid-column: 1 / -1; }
.stat-card--1 .stat-card__number { font-size: 2.75rem; }
.hero__scroll {
    position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
    color: rgba(245,240,232,.5); animation: bounce 2s infinite;
}
@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(6px); }
}

/* ===== SERVICES ===== */
.services { padding: 7rem 0; }
.services .section-header { margin-bottom: 4rem; }
.services__grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
.service-card {
    background: #fff; border-radius: 1rem; padding: 2.25rem;
    border: 1px solid rgba(6,95,70,.08);
    transition: transform .25s ease, box-shadow .25s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 20px 60px rgba(6,78,59,.1); }
.service-card__icon {
    width: 56px; height: 56px; border-radius: .75rem;
    background: #ecfdf5; color: #065f46;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1.5rem;
}
.service-card__title {
    font-size: 1.375rem; color: #064e3b; margin-bottom: .75rem;
}
.service-card__desc {
    font-size: .9375rem; color: #374151; line-height: 1.7;
}

/* ===== ABOUT ===== */
.about { padding: 7rem 0; background: #065f46; }
.about .section-header__eyebrow { color: rgba(245,240,232,.6); }
.about .section-header__title { color: #f5f0e8; }
.about__layout {
    display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
}
.about__image-wrap { border-radius: 1rem; overflow: hidden; }
.about__image-wrap img { width: 100%; height: 100%; object-fit: cover; }
.about__body {
    color: rgba(245,240,232,.8); font-size: 1.0625rem; line-height: 1.8;
    margin-bottom: 1.5rem;
}
.about__stats {
    display: flex; gap: 2.5rem; margin: 2.5rem 0;
    padding: 2rem 0; border-top: 1px solid rgba(245,240,232,.15);
    border-bottom: 1px solid rgba(245,240,232,.15);
}
.about-stat { display: flex; flex-direction: column; gap: .25rem; }
.about-stat__number {
    font-family: 'Playfair Display', serif; font-size: 2rem;
    font-weight: 900; color: #f5f0e8;
}
.about-stat__label { font-size: .75rem; color: rgba(245,240,232,.6); text-transform: uppercase; letter-spacing: .1em; }
.about__content .btn { margin-top: 1rem; }

/* ===== COMMUNITY ===== */
.community {
    position: relative; padding: 7rem 0;
    background: #047857; overflow: hidden;
}
.community__inner {
    position: relative; z-index: 1;
    max-width: 700px; margin: 0 auto; text-align: center;
}
.community__inner .section-header__eyebrow { color: rgba(245,240,232,.6); }
.community__inner .section-header__title { color: #f5f0e8; margin-bottom: 1.25rem; }
.community__body {
    color: rgba(245,240,232,.8); font-size: 1.125rem; line-height: 1.8;
    margin-bottom: 2.5rem;
}
.community__actions { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }
.community__image {
    position: absolute; right: 0; top: 0; bottom: 0; width: 45%;
    overflow: hidden;
}
.community__image img { width: 100%; height: 100%; object-fit: cover; }

/* ===== CONTACT ===== */
.contact { padding: 7rem 0; }
.contact__layout {
    display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start;
}
.contact__body { color: #374151; font-size: 1.0625rem; line-height: 1.8; margin-bottom: 2.5rem; }
.contact__details { display: flex; flex-direction: column; gap: 1.75rem; }
.contact-detail {
    display: flex; gap: 1rem; align-items: flex-start;
}
.contact-detail svg { color: #065f46; flex-shrink: 0; margin-top: .125rem; }
.contact-detail dt { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: #065f46; margin-bottom: .25rem; }
.contact-detail dd { font-size: 1rem; color: #1a2e26; line-height: 1.6; }
.contact-detail a { color: #065f46; font-weight: 600; border-bottom: 1px solid rgba(6,95,70,.2); transition: border-color .2s; }
.contact-detail a:hover { border-color: #065f46; }

/* ===== FORM ===== */
.contact-form {
    background: #fff; border-radius: 1rem; padding: 2.5rem;
    border: 1px solid rgba(6,95,70,.08);
}
.contact-form__title {
    font-size: 1.5rem; color: #064e3b; margin-bottom: 2rem;
}
.form-group { margin-bottom: 1.25rem; }
.form-group label {
    display: block; font-size: .8125rem; font-weight: 600;
    color: #374151; margin-bottom: .375rem; text-transform: uppercase; letter-spacing: .05em;
}
.form-group input, .form-group textarea {
    width: 100%; padding: .75rem 1rem; border: 1.5px solid #d1d5db;
    border-radius: .5rem; font-family: 'Inter', sans-serif; font-size: 1rem;
    color: #1a2e26; background: #f9fafb; transition: border-color .2s, background .2s;
}
.form-group input:focus, .form-group textarea:focus {
    outline: none; border-color: #065f46; background: #fff;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: #9ca3af; }
.contact-form__success {
    margin-top: 1rem; padding: 1rem; background: #ecfdf5;
    border: 1px solid #a7f3d0; border-radius: .5rem;
    color: #065f46; font-size: .9375rem; font-weight: 500;
}

/* ===== FOOTER ===== */
.footer {
    background: #042f26; color: rgba(245,240,232,.7); padding: 4rem 0 0;
}
.footer__inner {
    display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 3rem;
    padding-bottom: 3rem; border-bottom: 1px solid rgba(245,240,232,.1);
}
.footer__brand { display: flex; flex-direction: column; gap: 1rem; }
.footer__logo { color: #f5f0e8; }
.footer__tagline { font-size: .9375rem; line-height: 1.7; }
.footer__links { display: flex; flex-direction: column; gap: .75rem; }
.footer__links a {
    color: rgba(245,240,232,.6); font-size: .9375rem;
    transition: color .2s;
}
.footer__links a:hover { color: #f5f0e8; }
.footer__emergency p { font-size: .9375rem; margin-bottom: .25rem; }
.footer__emergency strong { color: #f5f0e8; }
.footer__emergency a { color: #6ee7b7; border-bottom: 1px solid rgba(110,231,183,.3); }
.footer__bottom {
    padding: 1.5rem 0; font-size: .8125rem; color: rgba(245,240,232,.4);
    display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem;
}

/* ===== MOBILE NAV ===== */
@media (max-width: 900px) {
    .nav__toggle { display: flex; align-items: center; justify-content: center; }
    .nav__links {
        position: fixed; top: 72px; left: 0; right: 0;
        background: rgba(6,78,59,.98); backdrop-filter: blur(12px);
        flex-direction: column; padding: 2rem; gap: 1.5rem;
        transform: translateY(-120%); transition: transform .3s ease;
    }
    .nav__links.open { transform: translateY(0); }
    .nav__cta { margin-top: .5rem; text-align: center; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .hero__inner { grid-template-columns: 1fr; padding-top: 7rem; }
    .hero__cards { max-width: 400px; }
    .services__grid { grid-template-columns: repeat(2, 1fr); }
    .about__layout { grid-template-columns: 1fr; }
    .about__image-wrap { max-height: 400px; }
    .community__image { display: none; }
    .contact__layout { grid-template-columns: 1fr; }
    .footer__inner { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 640px) {
    .hero__inner { padding-top: 6rem; }
    .hero__headline { font-size: 2.25rem; }
    .hero__cards { grid-template-columns: 1fr; }
    .stat-card--1 .stat-card__number { font-size: 2rem; }
    .services__grid { grid-template-columns: 1fr; }
    .about__stats { flex-direction: column; gap: 1.5rem; }
    .footer__bottom { flex-direction: column; }
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }
    .hero__scroll { animation: none; }
}
