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

:root {
    --terracotta: #C2704E;
    --terracotta-dark: #A85A3A;
    --terracotta-light: #D4916F;
    --sand: #F5F0EB;
    --sand-dark: #E8E0D8;
    --sand-light: #FAF8F5;
    --charcoal: #2C2C2C;
    --charcoal-light: #4A4A4A;
    --warm-gray: #8A8278;
    --white: #FFFFFF;
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Manrope', -apple-system, sans-serif;
}

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

body {
    font-family: var(--font-sans);
    font-weight: 300;
    color: var(--charcoal);
    background-color: var(--sand-light);
    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 2rem;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3 {
    font-family: var(--font-serif);
    font-weight: 300;
    line-height: 1.2;
    color: var(--charcoal);
}

.section-eyebrow {
    font-family: var(--font-sans);
    font-weight: 400;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--terracotta);
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.25rem);
    margin-bottom: 1.5rem;
    color: var(--charcoal);
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--charcoal-light);
    max-width: 560px;
    line-height: 1.8;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border: 1.5px solid transparent;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.btn--primary:hover {
    background-color: var(--terracotta-dark);
    border-color: var(--terracotta-dark);
}

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

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

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

.btn--ghost:hover {
    background-color: var(--white);
    color: var(--charcoal);
    border-color: var(--white);
}

.btn--full {
    width: 100%;
}

/* ===== HEADER ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(250, 248, 245, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--sand-dark);
    transition: all 0.3s ease;
}

.site-header.scrolled {
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo-mark {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 300;
    color: var(--terracotta);
    line-height: 1;
}

.logo-text {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--charcoal);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--charcoal-light);
    transition: color 0.3s ease;
    position: relative;
}

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

.nav-links a:hover {
    color: var(--terracotta);
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 1.5px;
    background-color: var(--charcoal);
    transition: all 0.3s ease;
}

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

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('https://images.pexels.com/photos/6474471/pexels-photo-6474471.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1920&h=1080');
    background-size: cover;
    background-position: center;
    opacity: 0.4;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(44, 44, 44, 0.85) 0%,
        rgba(44, 44, 44, 0.7) 50%,
        rgba(194, 112, 78, 0.3) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    padding-top: 6rem;
}

.hero-eyebrow {
    font-size: 0.75rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--terracotta-light);
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.hero-headline {
    font-size: clamp(2.75rem, 6vw, 5rem);
    font-weight: 300;
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

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

.hero-sub {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.75);
    max-width: 540px;
    margin: 0 auto 2.5rem;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    z-index: 1;
}

.hero-scroll span {
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 1; transform: scaleY(1); }
    50% { opacity: 0.5; transform: scaleY(0.7); }
}

/* ===== SECTIONS ===== */
.section {
    padding: 7rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

/* ===== ABOUT ===== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image img {
    width: 100%;
    height: 750px;
    object-fit: cover;
}

.about-content p {
    color: var(--charcoal-light);
    margin-bottom: 1.25rem;
    font-size: 1rem;
    line-height: 1.85;
}

.about-stats {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-top: 2.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--sand-dark);
}

.stat-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 2.25rem;
    font-weight: 300;
    color: var(--terracotta);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--warm-gray);
}

.stat-divider {
    width: 1px;
    height: 50px;
    background-color: var(--sand-dark);
}

/* ===== PROGRAMS ===== */
.programs {
    background-color: var(--sand);
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.program-card {
    background-color: var(--white);
    padding: 2.5rem 2rem;
    border: 1px solid var(--sand-dark);
    transition: all 0.4s ease;
}

.program-card:hover {
    border-color: var(--terracotta);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(194, 112, 78, 0.1);
}

.program-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--terracotta);
    margin-bottom: 1.5rem;
}

.program-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.program-age {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--warm-gray);
    margin-bottom: 1rem;
}

.program-card p {
    font-size: 0.9rem;
    color: var(--charcoal-light);
    line-height: 1.75;
}

/* ===== APPROACH ===== */
.approach-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.approach-text p {
    color: var(--charcoal-light);
    font-size: 1rem;
    line-height: 1.85;
    margin-bottom: 2rem;
}

.approach-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.approach-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    font-size: 0.95rem;
    color: var(--charcoal-light);
    line-height: 1.6;
}

.approach-dot {
    flex-shrink: 0;
    width: 6px;
    height: 6px;
    background-color: var(--terracotta);
    border-radius: 50%;
    margin-top: 0.6rem;
}

.approach-image img {
    width: 100%;
    height: 650px;
    object-fit: cover;
}

/* ===== VISIT ===== */
.visit {
    background-color: var(--charcoal);
    color: var(--white);
}

.visit .section-eyebrow {
    color: var(--terracotta-light);
}

.visit .section-title {
    color: var(--white);
}

.visit-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.05rem;
    line-height: 1.85;
    max-width: 600px;
    margin-bottom: 3rem;
}

.visit-details {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
}

.visit-detail {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.visit-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--terracotta-light);
}

.visit-detail strong {
    display: block;
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 0.35rem;
}

.visit-detail p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.9rem;
    line-height: 1.6;
}

.visit-detail a {
    color: rgba(255, 255, 255, 0.65);
    transition: color 0.3s ease;
}

.visit-detail a:hover {
    color: var(--terracotta-light);
}

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

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

.contact-info p {
    color: var(--charcoal-light);
    font-size: 1rem;
    line-height: 1.85;
    margin-bottom: 2rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: var(--charcoal);
    transition: color 0.3s ease;
}

.contact-method:hover {
    color: var(--terracotta);
}

.contact-method svg {
    color: var(--terracotta);
    flex-shrink: 0;
}

/* ===== FORM ===== */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--charcoal);
    background-color: var(--white);
    border: 1px solid var(--sand-dark);
    padding: 0.875rem 1rem;
    outline: none;
    transition: border-color 0.3s ease;
    border-radius: 0;
    -webkit-appearance: none;
}

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

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

.form-success {
    display: none;
    text-align: center;
    padding: 1rem;
    color: var(--terracotta);
    font-size: 0.9rem;
}

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

/* ===== FOOTER ===== */
.site-footer {
    background-color: var(--charcoal);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo-text {
    color: var(--white);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    line-height: 1.75;
    margin-top: 1rem;
    max-width: 280px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--terracotta-light);
    margin-bottom: 1.25rem;
}

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

.footer-links a {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.3s ease;
}

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

.footer-contact p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.75;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.3s ease;
}

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

.footer-bottom {
    padding-top: 2rem;
    text-align: center;
}

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

/* ===== MOBILE NAV ===== */
@media (max-width: 900px) {
    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: var(--sand-light);
        flex-direction: column;
        justify-content: center;
        gap: 2rem;
        padding: 2rem;
        transition: right 0.4s ease;
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
    }

    .nav-links.open {
        right: 0;
    }

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

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

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

    .hero-headline {
        font-size: clamp(2.25rem, 8vw, 3.5rem);
    }

    .about-grid,
    .approach-content,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .about-image img,
    .approach-image img {
        height: 400px;
    }

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

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 600px) {
    .section {
        padding: 4rem 0;
    }

    .container {
        padding: 0 1.25rem;
    }

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

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

    .visit-details {
        flex-direction: column;
        gap: 2rem;
    }

    .about-stats {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .stat-divider {
        display: none;
    }
}

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

    html {
        scroll-behavior: auto;
    }
}
