*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --green-900: #0B2218;
    --green-800: #1B4332;
    --green-700: #2D6A4F;
    --green-600: #40916C;
    --green-500: #52B788;
    --green-100: #B7E4C7;
    --green-50: #D5FFD0;
    --cream: #F8F7F4;
    --cream-dark: #EFEEE9;
    --white: #FFFFFF;
    --gray-900: #1A1A1A;
    --gray-700: #3D3D3D;
    --gray-500: #6B6B6B;
    --gray-300: #B0B0B0;
    --gray-100: #E8E8E8;
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;
    --shadow-sm: 0 1px 3px rgba(27, 67, 50, 0.08);
    --shadow-md: 0 4px 16px rgba(27, 67, 50, 0.10);
    --shadow-lg: 0 8px 32px rgba(27, 67, 50, 0.14);
    --shadow-xl: 0 16px 48px rgba(27, 67, 50, 0.18);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    color: var(--gray-700);
    background: var(--cream);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

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

ul {
    list-style: none;
}

.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    background: var(--green-800);
    color: var(--white);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    z-index: 1000;
    font-weight: 600;
}

.skip-link:focus {
    top: 16px;
}

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

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(248, 247, 244, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(27, 67, 50, 0.08);
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-sans);
}

.logo__text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo__name {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--green-800);
    letter-spacing: -0.02em;
}

.logo__tag {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--green-600);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

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

.nav__links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav__links a {
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-700);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.nav__links a:hover {
    color: var(--green-800);
    background: rgba(27, 67, 50, 0.06);
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

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

.btn--primary:hover {
    background: var(--green-700);
    border-color: var(--green-700);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn--light {
    background: var(--white);
    color: var(--green-800);
    border-color: var(--white);
}

.btn--light:hover {
    background: var(--green-50);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn--outline-light {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.6);
}

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

.btn--outline {
    background: transparent;
    color: var(--green-800);
    border-color: var(--green-800);
}

.btn--outline:hover {
    background: var(--green-800);
    color: var(--white);
}

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

.btn--lg {
    padding: 16px 32px;
    font-size: 1rem;
    border-radius: var(--radius-md);
}

.btn--nav {
    padding: 10px 20px;
    font-size: 0.85rem;
}

.nav__toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--green-800);
}

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--green-900);
    overflow: hidden;
    padding: 120px 0 80px;
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.35;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(11, 34, 24, 0.92) 0%, rgba(27, 67, 50, 0.85) 50%, rgba(45, 106, 79, 0.75) 100%);
}

.hero .container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 60px;
    align-items: center;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(213, 255, 208, 0.12);
    border: 1px solid rgba(213, 255, 208, 0.25);
    border-radius: 100px;
    color: var(--green-100);
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: 0.02em;
}

.hero__badge-dot {
    width: 8px;
    height: 8px;
    background: var(--green-500);
    border-radius: 50%;
    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: var(--font-serif);
    font-size: clamp(3rem, 5.5vw, 5rem);
    font-weight: 700;
    line-height: 1.05;
    color: var(--white);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero__accent {
    color: var(--green-100);
}

.hero__subhead {
    font-size: 1.15rem;
    line-height: 1.7;
    color: rgba(213, 255, 208, 0.8);
    max-width: 520px;
    margin-bottom: 36px;
}

.hero__actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

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

.stat-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

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

.stat-card__icon {
    width: 44px;
    height: 44px;
    background: var(--green-50);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.stat-card__value {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--green-800);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.stat-card__label {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--gray-500);
    margin-top: 4px;
}

/* ===== SECTIONS ===== */
.section {
    padding: 100px 0;
}

.section__eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--green-600);
    margin-bottom: 12px;
    padding: 6px 14px;
    background: rgba(82, 183, 136, 0.1);
    border-radius: 100px;
}

.section__title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 700;
    color: var(--green-900);
    line-height: 1.15;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section__lead {
    font-size: 1.1rem;
    color: var(--gray-500);
    max-width: 600px;
    line-height: 1.7;
}

.section__header--center {
    text-align: center;
}

.section__header--center .section__lead {
    margin: 0 auto;
}

/* ===== SERVICES ===== */
.services {
    background: var(--white);
}

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

.service-card {
    background: var(--cream);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(27, 67, 50, 0.06);
}

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

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

.service-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.service-card__img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(27, 67, 50, 0.3) 0%, transparent 60%);
}

.service-card__body {
    padding: 28px;
}

.service-card__icon {
    width: 52px;
    height: 52px;
    background: var(--green-800);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: var(--green-50);
}

.service-card__title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--green-900);
    margin-bottom: 8px;
}

.service-card__desc {
    font-size: 0.92rem;
    color: var(--gray-500);
    line-height: 1.65;
    margin-bottom: 16px;
}

.service-card__link {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--green-700);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.service-card__link:hover {
    color: var(--green-800);
    gap: 10px;
}

/* ===== ABOUT ===== */
.about {
    background: var(--cream);
}

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

.about__media {
    position: relative;
}

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

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

.about__img-accent {
    position: absolute;
    bottom: -32px;
    right: -32px;
    width: 200px;
    height: 200px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 6px solid var(--cream);
    box-shadow: var(--shadow-lg);
}

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

.about__experience-badge {
    position: absolute;
    top: -20px;
    left: -20px;
    background: var(--green-800);
    color: var(--white);
    border-radius: var(--radius-lg);
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-xl);
}

.about__exp-number {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    color: var(--green-100);
}

.about__exp-text {
    font-size: 0.78rem;
    font-weight: 500;
    color: rgba(213, 255, 208, 0.7);
    line-height: 1.4;
    margin-top: 4px;
}

.about__content {
    max-width: 520px;
}

.about__body {
    font-size: 1rem;
    color: var(--gray-500);
    line-height: 1.75;
    margin-bottom: 16px;
}

.about__highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 28px 0 32px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-700);
}

.highlight-item__icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
}

/* ===== DEPARTMENTS ===== */
.departments {
    background: var(--green-800);
    color: var(--white);
}

.departments .section__eyebrow {
    background: rgba(213, 255, 208, 0.15);
    color: var(--green-100);
}

.departments .section__title {
    color: var(--white);
}

.departments .section__lead {
    color: rgba(213, 255, 208, 0.7);
}

.dept__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 56px;
}

.dept-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition);
}

.dept-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(213, 255, 208, 0.3);
    transform: translateY(-4px);
}

.dept-card__num {
    font-size: 3rem;
    font-weight: 800;
    color: rgba(213, 255, 208, 0.15);
    line-height: 1;
    margin-bottom: 16px;
    font-family: var(--font-serif);
}

.dept-card__title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
}

.dept-card__desc {
    font-size: 0.9rem;
    color: rgba(213, 255, 208, 0.65);
    line-height: 1.65;
}

/* ===== COMMUNITY ===== */
.community {
    background: var(--white);
}

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

.community__body {
    font-size: 1rem;
    color: var(--gray-500);
    line-height: 1.75;
    margin-bottom: 16px;
}

.community__stats {
    display: flex;
    gap: 40px;
    margin-top: 36px;
    padding-top: 36px;
    border-top: 1px solid var(--gray-100);
}

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

.community-stat__value {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--green-800);
    letter-spacing: -0.02em;
    line-height: 1;
}

.community-stat__label {
    font-size: 0.82rem;
    color: var(--gray-500);
    margin-top: 6px;
    font-weight: 500;
}

.community__media {
    position: relative;
}

.community__img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.community__img--secondary {
    position: absolute;
    bottom: -24px;
    left: -24px;
    width: 55%;
    border: 5px solid var(--white);
}

/* ===== CTA ===== */
.cta {
    background: var(--green-900);
    padding: 80px 0;
}

.cta__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.cta__title {
    font-family: var(--font-serif);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 12px;
}

.cta__body {
    font-size: 1.05rem;
    color: rgba(213, 255, 208, 0.7);
    max-width: 480px;
    line-height: 1.7;
}

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

/* ===== CONTACT ===== */
.contact {
    background: var(--cream);
}

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

.contact__body {
    font-size: 1rem;
    color: var(--gray-500);
    line-height: 1.75;
    margin-bottom: 32px;
}

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

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

.contact-detail__icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--green-50);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-detail strong {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--green-800);
    margin-bottom: 4px;
}

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

.contact-detail a {
    color: var(--green-700);
    font-weight: 500;
    transition: var(--transition);
}

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

.contact__form-wrap {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(27, 67, 50, 0.06);
}

.contact-form__title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--green-900);
    margin-bottom: 28px;
}

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

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 6px;
}

.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(--gray-900);
    background: var(--cream);
    border: 1.5px solid var(--gray-100);
    border-radius: var(--radius-sm);
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--green-600);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(82, 183, 136, 0.15);
}

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

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

.contact-form__success {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    padding: 14px 18px;
    background: var(--green-50);
    border: 1px solid var(--green-100);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--green-800);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--green-900);
    color: rgba(213, 255, 208, 0.7);
    padding: 64px 0 0;
}

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

.footer .logo__name {
    color: var(--white);
}

.footer .logo__tag {
    color: var(--green-100);
}

.footer__desc {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-top: 16px;
    max-width: 280px;
}

.footer__col h4 {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--green-100);
    margin-bottom: 20px;
}

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

.footer__col a {
    font-size: 0.9rem;
    color: rgba(213, 255, 208, 0.6);
    transition: var(--transition);
}

.footer__col a:hover {
    color: var(--green-100);
}

.footer__col address {
    font-style: normal;
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer__col a[href^="tel"] {
    color: var(--green-100);
    font-weight: 600;
}

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

.footer__bottom p {
    font-size: 0.82rem;
    color: rgba(213, 255, 208, 0.4);
}

.footer__legal {
    max-width: 500px;
    text-align: right;
}

/* ===== SCROLL REVEAL ===== */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.reveal-hidden {
    opacity: 0;
    transform: translateY(24px);
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
    }
    .reveal.reveal-visible {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== MOBILE NAV ===== */
@media (max-width: 1023px) {
    .nav__toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .nav__links {
        display: none;
        position: absolute;
        top: 76px;
        left: 0;
        right: 0;
        background: var(--cream);
        flex-direction: column;
        padding: 16px 24px 24px;
        border-bottom: 1px solid rgba(27, 67, 50, 0.08);
        box-shadow: var(--shadow-md);
    }

    .nav__links.is-open {
        display: flex;
    }

    .nav__links a {
        padding: 12px 0;
        font-size: 1rem;
    }

    .btn--nav {
        display: none;
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1023px) {
    .hero .container {
        grid-template-columns: 1fr;
    }

    .hero__stats {
        max-width: 400px;
    }

    .about__grid,
    .community__inner,
    .contact__grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about__img-accent {
        right: 16px;
        bottom: -16px;
        width: 160px;
        height: 160px;
    }

    .about__experience-badge {
        left: 16px;
        top: -16px;
    }

    .services__grid,
    .dept__grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .cta__inner {
        flex-direction: column;
        text-align: center;
    }

    .cta__actions {
        flex-direction: column;
        width: 100%;
    }

    .cta__actions .btn {
        justify-content: center;
    }
}

@media (max-width: 767px) {
    .section {
        padding: 72px 0;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .hero__actions {
        flex-direction: column;
    }

    .hero__actions .btn {
        justify-content: center;
    }

    .services__grid,
    .dept__grid {
        grid-template-columns: 1fr;
    }

    .community__stats {
        flex-direction: column;
        gap: 20px;
    }

    .community__img--secondary {
        display: none;
    }

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

    .footer__bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer__legal {
        text-align: center;
        max-width: 100%;
    }

    .contact__form-wrap {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

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

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