/* ===== RESET & BASE ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --forest: #1a3c2a;
    --forest-light: #2a5a3e;
    --forest-dark: #0f2418;
    --cream: #f5f0e8;
    --cream-light: #faf7f2;
    --cream-dark: #e8e0d0;
    --text-dark: #1a1a1a;
    --text-mid: #3d3d3d;
    --text-light: #6b6b6b;
    --white: #ffffff;
    --accent: #c8a45a;
    --accent-dark: #a8873e;
    --radius: 8px;
    --radius-lg: 16px;
    --shadow-sm: 0 2px 8px rgba(26, 60, 42, 0.06);
    --shadow-md: 0 8px 30px rgba(26, 60, 42, 0.10);
    --shadow-lg: 0 20px 60px rgba(26, 60, 42, 0.14);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--cream-light);
    color: var(--text-dark);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

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

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

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

/* ===== TYPOGRAPHY ===== */
h1, h2, h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    line-height: 1.15;
    color: var(--forest);
}

.section-eyebrow {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent-dark);
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    margin-bottom: 48px;
    max-width: 640px;
}

/* ===== HEADER ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 247, 242, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(26, 60, 42, 0.08);
    transition: var(--transition);
}

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

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
    padding-bottom: 20px;
}

.logo {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--forest);
    letter-spacing: -0.02em;
}

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

.main-nav a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-mid);
    transition: color var(--transition);
}

.main-nav a:hover {
    color: var(--forest);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: var(--radius);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}

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

.btn-primary:hover {
    background: var(--forest-light);
    border-color: var(--forest-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

.btn-outline:hover {
    background: var(--forest);
    color: var(--white);
    transform: translateY(-2px);
}

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

.btn-light:hover {
    background: var(--cream);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

.btn-outline-light:hover {
    background: var(--white);
    color: var(--forest);
    border-color: var(--white);
    transform: translateY(-2px);
}

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

.btn-full {
    width: 100%;
}

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

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--forest);
    transition: var(--transition);
    border-radius: 2px;
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== HERO ===== */
.hero {
    padding-top: 120px;
    padding-bottom: 0;
    background: var(--cream-light);
    overflow: hidden;
}

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

.hero-eyebrow {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent-dark);
    margin-bottom: 20px;
    padding: 8px 16px;
    background: rgba(200, 164, 90, 0.12);
    border-radius: 100px;
}

.hero-title {
    font-size: clamp(2.4rem, 5vw, 4rem);
    color: var(--forest);
    margin-bottom: 24px;
    line-height: 1.1;
}

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

.hero-desc {
    font-size: 1.1rem;
    color: var(--text-mid);
    line-height: 1.8;
    margin-bottom: 36px;
    max-width: 480px;
}

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

.hero-image {
    position: relative;
}

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

.hero-image::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--accent);
    border-radius: var(--radius-lg);
    z-index: -1;
    opacity: 0.4;
}

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

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

.about-text p {
    font-size: 1.05rem;
    color: var(--text-mid);
    line-height: 1.85;
    margin-bottom: 20px;
}

.about-text p:last-child {
    margin-bottom: 0;
}

.about-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    width: 100%;
    object-fit: cover;
}

/* ===== PROGRAMS ===== */
.programs {
    padding: 100px 0;
    background: var(--cream-light);
}

.programs .section-title {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

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

.program-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    border: 1px solid rgba(26, 60, 42, 0.06);
}

.program-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(26, 60, 42, 0.12);
}

.program-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--forest);
    border-radius: var(--radius);
    margin-bottom: 24px;
    color: var(--white);
}

.program-card h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.4rem;
    margin-bottom: 16px;
    color: var(--forest);
}

.program-card p {
    font-size: 0.95rem;
    color: var(--text-mid);
    line-height: 1.75;
    margin-bottom: 24px;
}

.link-arrow {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--forest);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap var(--transition);
}

.link-arrow:hover {
    gap: 12px;
}

/* ===== APPROACH ===== */
.approach {
    padding: 100px 0;
    background: var(--forest);
}

.approach .section-eyebrow {
    color: var(--accent);
}

.approach .section-title {
    color: var(--white);
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.approach-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.approach-step {
    text-align: left;
}

.step-number {
    display: block;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 3rem;
    font-weight: 700;
    color: rgba(200, 164, 90, 0.3);
    line-height: 1;
    margin-bottom: 16px;
}

.approach-step h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.25rem;
    color: var(--white);
    margin-bottom: 12px;
}

.approach-step p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.75;
}

/* ===== CTA SECTION ===== */
.cta-section {
    padding: 100px 0;
    background: var(--cream);
}

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

.cta-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--forest);
    margin-bottom: 20px;
}

.cta-desc {
    font-size: 1.05rem;
    color: var(--text-mid);
    line-height: 1.8;
    margin-bottom: 36px;
}

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

/* ===== CONTACT ===== */
.contact {
    padding: 100px 0 60px;
    background: var(--cream-light);
}

.contact .section-title {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    margin-bottom: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-item svg {
    flex-shrink: 0;
    color: var(--forest);
    margin-top: 4px;
}

.contact-item strong {
    display: block;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.1rem;
    color: var(--forest);
    margin-bottom: 6px;
}

.contact-item p {
    font-size: 0.95rem;
    color: var(--text-mid);
    line-height: 1.7;
}

.contact-item a {
    color: var(--forest);
    text-decoration: underline;
    text-decoration-color: rgba(26, 60, 42, 0.3);
    text-underline-offset: 3px;
    transition: text-decoration-color var(--transition);
}

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

/* ===== FORM ===== */
.contact-form-wrapper {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(26, 60, 42, 0.06);
}

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

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: var(--text-dark);
    background: var(--cream-light);
    border: 1.5px solid var(--cream-dark);
    border-radius: var(--radius);
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--forest);
    box-shadow: 0 0 0 3px rgba(26, 60, 42, 0.1);
}

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

.form-success {
    display: none;
    margin-top: 16px;
    padding: 16px 20px;
    background: rgba(26, 60, 42, 0.08);
    border-radius: var(--radius);
    font-size: 0.9rem;
    color: var(--forest);
    font-weight: 500;
    text-align: center;
}

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

/* ===== MAP ===== */
.map-wrapper {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

/* ===== FOOTER ===== */
.site-footer {
    background: var(--forest-dark);
    padding: 60px 0 32px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-inner {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.footer-brand .logo {
    color: var(--white);
    margin-bottom: 12px;
    display: inline-block;
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.7;
    max-width: 300px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-links a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition);
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.45);
}

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

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

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

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero-inner {
        gap: 40px;
    }

    .approach-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 69px;
        left: 0;
        right: 0;
        background: rgba(250, 247, 242, 0.98);
        backdrop-filter: blur(12px);
        flex-direction: column;
        padding: 32px 24px;
        gap: 20px;
        border-bottom: 1px solid rgba(26, 60, 42, 0.08);
        transform: translateY(-120%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition);
        box-shadow: var(--shadow-md);
    }

    .main-nav.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .hero {
        padding-top: 100px;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        gap: 40px;
        padding-bottom: 60px;
    }

    .hero-image {
        order: -1;
    }

    .hero-image::before {
        display: none;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        text-align: center;
    }

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

    .about-image {
        order: -1;
    }

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

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

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

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

    .contact-form-wrapper {
        padding: 28px;
    }

    .cta-actions {
        flex-direction: column;
        align-items: center;
    }

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

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
    }
}

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

    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .program-card {
        padding: 32px 24px;
    }
}
