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

:root {
    --green-900: #0D1F12;
    --green-800: #1B4332;
    --green-700: #2D6A4F;
    --green-600: #40916C;
    --green-500: #52B788;
    --green-100: #D8F3DC;
    --green-50: #EFF7F1;
    --cream: #FAFAF7;
    --cream-dark: #F5F5F0;
    --white: #FFFFFF;
    --black: #0A0A0A;
    --gray-900: #1A1A1A;
    --gray-700: #3D3D3D;
    --gray-500: #6B6B6B;
    --gray-300: #C4C4C4;
    --gray-200: #E8E8E4;
    --gray-100: #F2F2EE;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-sans);
    font-weight: 300;
    color: var(--gray-900);
    background: var(--cream);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

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

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

/* HEADER */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(250, 250, 247, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--gray-200);
    transition: box-shadow 0.3s var(--ease);
}

.site-header.scrolled {
    box-shadow: 0 1px 0 var(--gray-200);
}

.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-sans);
    font-weight: 400;
    font-size: 0.9375rem;
    letter-spacing: 0.02em;
    color: var(--green-800);
}

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

.logo-icon {
    color: var(--green-700);
}

.logo--light .logo-icon {
    color: var(--green-500);
}

/* NAV */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-menu a {
    font-size: 0.8125rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--gray-700);
    transition: color 0.2s var(--ease);
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--green-700);
    transition: width 0.3s var(--ease);
}

.nav-menu a:hover {
    color: var(--green-800);
}

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

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

.nav-toggle-line {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--gray-900);
    transition: all 0.3s var(--ease);
    transform-origin: center;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
}

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-weight: 400;
    font-size: 0.8125rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 14px 28px;
    border: 1.5px solid transparent;
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.3s var(--ease);
    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);
}

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

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

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

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

.btn--sm {
    padding: 10px 20px;
    font-size: 0.75rem;
}

.btn--lg {
    padding: 18px 36px;
    font-size: 0.875rem;
}

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

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

/* HERO */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--green-900);
}

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

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(13, 31, 18, 0.92) 0%,
        rgba(27, 67, 50, 0.85) 50%,
        rgba(13, 31, 18, 0.88) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 120px 24px 80px;
    max-width: 820px;
}

.hero-label {
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--green-500);
    margin-bottom: 24px;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 400;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 28px;
}

.hero-title-accent {
    font-style: italic;
    color: var(--green-500);
}

.hero-subtitle {
    font-size: 1.0625rem;
    font-weight: 300;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
    max-width: 560px;
    margin: 0 auto 40px;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 64px;
}

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

.hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.hero-stat-num {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--white);
}

.hero-stat-label {
    font-size: 0.6875rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

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

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

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 72px;
}

.section-label {
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--green-600);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    line-height: 1.15;
    color: var(--gray-900);
    margin-bottom: 20px;
}

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

.section-subtitle {
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.8;
    color: var(--gray-500);
}

/* PROGRAMS */
.programs {
    background: var(--white);
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}

.program-card {
    padding: 48px 40px;
    border: 1px solid var(--gray-200);
    border-right: none;
    transition: all 0.4s var(--ease);
    position: relative;
}

.program-card:last-child {
    border-right: 1px solid var(--gray-200);
}

.program-card:hover {
    background: var(--green-50);
    border-color: var(--green-500);
}

.program-card-number {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 400;
    color: var(--green-100);
    line-height: 1;
    margin-bottom: 24px;
    transition: color 0.4s var(--ease);
}

.program-card:hover .program-card-number {
    color: var(--green-300);
}

.program-card-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--gray-900);
    margin-bottom: 16px;
}

.program-card-desc {
    font-size: 0.9375rem;
    font-weight: 300;
    line-height: 1.75;
    color: var(--gray-500);
    margin-bottom: 24px;
}

.program-card-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.program-card-features li {
    font-size: 0.8125rem;
    font-weight: 400;
    color: var(--gray-700);
    padding-left: 16px;
    position: relative;
}

.program-card-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 7px;
    width: 6px;
    height: 6px;
    border: 1px solid var(--green-600);
    transform: rotate(45deg);
}

/* WHY US */
.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.why-content .section-label {
    text-align: left;
}

.why-content .section-title {
    text-align: left;
}

.why-text {
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.85;
    color: var(--gray-500);
    margin-bottom: 48px;
}

.why-features {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.why-feature {
    display: flex;
    gap: 20px;
}

.why-feature-icon {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--green-700);
}

.why-feature-title {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--gray-900);
    margin-bottom: 6px;
}

.why-feature-desc {
    font-size: 0.875rem;
    font-weight: 300;
    line-height: 1.7;
    color: var(--gray-500);
}

.why-image {
    position: relative;
}

.why-img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: 2px;
}

.why-image-accent {
    position: absolute;
    bottom: -24px;
    right: -24px;
    width: 200px;
    height: 200px;
    border: 1px solid var(--green-200);
    border-radius: 2px;
    z-index: -1;
}

/* PROCESS */
.process {
    background: var(--white);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    max-width: 1000px;
    margin: 0 auto;
}

.process-step {
    text-align: center;
    padding: 0 24px;
    position: relative;
}

.process-step-marker {
    width: 56px;
    height: 56px;
    border: 1px solid var(--green-700);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 28px;
    position: relative;
    z-index: 1;
    background: var(--white);
}

.process-step-num {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 400;
    color: var(--green-800);
}

.process-step-title {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.process-step-desc {
    font-size: 0.875rem;
    font-weight: 300;
    line-height: 1.75;
    color: var(--gray-500);
}

.process-step-connector {
    position: absolute;
    top: 28px;
    right: -12px;
    width: 24px;
    height: 1px;
    background: var(--gray-300);
    z-index: 0;
}

.process-step:last-child .process-step-connector {
    display: none;
}

/* CTA */
.cta {
    background: var(--green-800);
    padding: 120px 0;
}

.cta-inner {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.cta-label {
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--green-500);
    margin-bottom: 20px;
}

.cta-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 400;
    line-height: 1.2;
    color: var(--white);
    margin-bottom: 20px;
}

.cta-text {
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 40px;
}

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

/* LOCATION */
.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: stretch;
}

.location-info .section-label {
    text-align: left;
}

.location-info .section-title {
    text-align: left;
    margin-bottom: 32px;
}

.location-address {
    font-style: normal;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 32px;
}

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

.location-icon {
    flex-shrink: 0;
    margin-top: 3px;
    color: var(--green-700);
}

.location-detail span,
.location-detail a {
    font-size: 0.9375rem;
    font-weight: 300;
    line-height: 1.7;
    color: var(--gray-700);
}

.location-detail a:hover {
    color: var(--green-700);
}

.location-map {
    border-radius: 2px;
    overflow: hidden;
    min-height: 400px;
}

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

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

.contact-info .section-label {
    text-align: left;
}

.contact-info .section-title {
    text-align: left;
    margin-bottom: 20px;
}

.contact-text {
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.85;
    color: var(--gray-500);
    margin-bottom: 40px;
}

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

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

.contact-icon {
    flex-shrink: 0;
    color: var(--green-700);
}

.contact-detail span,
.contact-detail a {
    font-size: 0.9375rem;
    font-weight: 300;
    color: var(--gray-700);
}

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

/* FORM */
.contact-form-wrap {
    background: var(--cream);
    padding: 48px;
    border-radius: 2px;
    border: 1px solid var(--gray-200);
}

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

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

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

.form-group label {
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gray-700);
}

.form-group input,
.form-group select,
.form-group textarea {
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 300;
    color: var(--gray-900);
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 2px;
    padding: 14px 16px;
    outline: none;
    transition: border-color 0.2s var(--ease);
    width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--green-600);
}

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

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M3 4.5l3 3 3-3' stroke='%236B6B6B' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.form-success {
    display: none;
    text-align: center;
    padding: 20px;
    font-size: 0.9375rem;
    font-weight: 400;
    color: var(--green-800);
    background: var(--green-50);
    border-radius: 2px;
    margin-top: 8px;
}

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

/* FOOTER */
.site-footer {
    background: var(--green-900);
    padding: 80px 0 0;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 48px;
    align-items: start;
    padding-bottom: 64px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-tagline {
    font-size: 0.875rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.45);
    margin-top: 16px;
    max-width: 240px;
    line-height: 1.7;
}

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

.footer-links a {
    font-size: 0.8125rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.55);
    letter-spacing: 0.04em;
    transition: color 0.2s var(--ease);
}

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

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: right;
}

.footer-contact a {
    font-size: 0.9375rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.2s var(--ease);
}

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

.footer-contact span {
    font-size: 0.8125rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.4);
}

.footer-bottom {
    padding: 24px 0;
}

.footer-bottom p {
    font-size: 0.75rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.3);
    letter-spacing: 0.04em;
}

/* REVEAL ANIMATIONS */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    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; }

/* REDUCED MOTION */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        /* handled by JS */
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .programs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .program-card {
        border-right: none;
    }
    .program-card:nth-child(2) {
        border-right: 1px solid var(--gray-200);
    }
    .program-card:nth-child(3) {
        grid-column: 1 / -1;
        border-right: 1px solid var(--gray-200);
    }
    .why-grid,
    .location-grid,
    .contact-grid {
        gap: 48px;
    }
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    .process-step-connector {
        display: none;
    }
}

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

    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(250, 250, 247, 0.98);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        flex-direction: column;
        padding: 32px 24px;
        gap: 20px;
        border-bottom: 1px solid var(--gray-200);
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: all 0.4s var(--ease);
    }

    .nav-menu.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .nav-menu a {
        font-size: 0.9375rem;
    }

    .hero-content {
        padding: 100px 24px 60px;
    }

    .hero-stats {
        gap: 24px;
    }

    .hero-stat-divider {
        display: none;
    }

    .programs-grid {
        grid-template-columns: 1fr;
    }
    .program-card {
        border-right: 1px solid var(--gray-200) !important;
    }
    .program-card:last-child {
        border-right: 1px solid var(--gray-200) !important;
    }

    .why-grid,
    .location-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .why-img {
        height: 400px;
    }

    .why-image-accent {
        display: none;
    }

    .process-steps {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .cta {
        padding: 80px 0;
    }

    .contact-form-wrap {
        padding: 32px 24px;
    }

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

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

    .footer-contact {
        text-align: left;
    }
}

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