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

:root {
    --teal-50: #f0fdfa;
    --teal-100: #ccfbf1;
    --teal-200: #99f6e4;
    --teal-400: #2dd4bf;
    --teal-500: #14b8a6;
    --teal-600: #0d9488;
    --teal-700: #0f766e;
    --teal-800: #115e59;
    --teal-900: #134e4a;
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;
    --slate-950: #020617;
    --white: #ffffff;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 32px rgba(0,0,0,0.12);
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-body);
    color: var(--slate-800);
    background: var(--white);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

a {
    color: var(--teal-600);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--teal-700);
}

.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    background: var(--teal-700);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    z-index: 1000;
    font-weight: 600;
}

.skip-link:focus {
    top: 1rem;
}

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

/* ===== HEADER ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid var(--slate-200);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: box-shadow var(--transition);
}

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

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    color: var(--slate-900);
}

.logo-mark {
    width: 40px;
    height: 40px;
    background: var(--teal-600);
    color: var(--white);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    flex-shrink: 0;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.logo-primary {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--slate-900);
}

.logo-secondary {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--teal-600);
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    list-style: none;
}

.main-nav a {
    color: var(--slate-700);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.5rem 0.875rem;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}

.main-nav a:hover {
    color: var(--teal-700);
    background: var(--teal-50);
}

.nav-cta {
    background: var(--teal-600) !important;
    color: var(--white) !important;
    font-weight: 600 !important;
    margin-left: 0.5rem;
}

.nav-cta:hover {
    background: var(--teal-700) !important;
    color: var(--white) !important;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    width: 40px;
    height: 40px;
    position: relative;
}

.hamburger {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--slate-700);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all var(--transition);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 22px;
    height: 2px;
    background: var(--slate-700);
    left: 0;
    transition: all var(--transition);
}

.hamburger::before { top: -7px; }
.hamburger::after { top: 7px; }

.mobile-menu-btn[aria-expanded="true"] .hamburger {
    background: transparent;
}

.mobile-menu-btn[aria-expanded="true"] .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}

.mobile-menu-btn[aria-expanded="true"] .hamburger::after {
    top: 0;
    transform: rotate(-45deg);
}

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

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

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(2, 6, 23, 0.85) 0%,
        rgba(15, 23, 42, 0.75) 50%,
        rgba(17, 94, 89, 0.6) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 8rem 1.5rem 4rem;
    max-width: 780px;
}

.hero-eyebrow {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--teal-400);
    margin-bottom: 1.25rem;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.25rem, 5vw, 3.75rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--white);
    margin-bottom: 1.5rem;
    max-width: 680px;
}

.hero-sub {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--slate-300);
    margin-bottom: 2.5rem;
    max-width: 580px;
}

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

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--slate-400);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    animation: float 2.5s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(6px); }
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: all var(--transition);
    white-space: nowrap;
}

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

.btn-primary:hover {
    background: var(--teal-700);
    border-color: var(--teal-700);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.35);
}

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

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

.btn-full {
    width: 100%;
}

/* ===== SECTION COMMON ===== */
.section-eyebrow {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--teal-600);
    margin-bottom: 0.75rem;
}

.section-heading {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 3.5vw, 2.6rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--slate-900);
    margin-bottom: 1.25rem;
}

.section-lead {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--slate-600);
    max-width: 640px;
}

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

.section-header {
    margin-bottom: 3.5rem;
}

.text-center .section-lead {
    margin: 0 auto;
}

/* ===== ABOUT ===== */
.about {
    padding: 6rem 0;
    background: var(--white);
}

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

.about-image-wrap {
    position: relative;
}

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

.about-stat {
    position: absolute;
    bottom: -1.5rem;
    right: -1.5rem;
    background: var(--teal-600);
    color: var(--white);
    padding: 1.25rem 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--teal-200);
    font-weight: 500;
}

.about-content .lead {
    font-size: 1.05rem;
    color: var(--slate-700);
    margin-bottom: 1rem;
}

.about-content p {
    color: var(--slate-600);
    margin-bottom: 1rem;
}

.about-features {
    list-style: none;
    margin-top: 1.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.about-features li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.9rem;
    color: var(--slate-700);
    font-weight: 500;
}

.feature-icon {
    color: var(--teal-600);
    flex-shrink: 0;
}

/* ===== PROGRAM ===== */
.program {
    padding: 6rem 0;
    background: var(--slate-50);
}

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

.program-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.25rem;
    border: 1px solid var(--slate-200);
    transition: all var(--transition);
    position: relative;
}

.program-card:hover {
    border-color: var(--teal-200);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.program-card.featured {
    border-color: var(--teal-300);
    box-shadow: var(--shadow-md);
    background: linear-gradient(135deg, var(--teal-50) 0%, var(--white) 100%);
}

.card-badge {
    position: absolute;
    top: -0.6rem;
    left: 2.25rem;
    background: var(--teal-600);
    color: var(--white);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.3rem 0.75rem;
    border-radius: 20px;
}

.card-icon {
    width: 56px;
    height: 56px;
    background: var(--teal-50);
    border: 1px solid var(--teal-100);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--teal-600);
    margin-bottom: 1.25rem;
}

.program-card.featured .card-icon {
    background: var(--teal-600);
    border-color: var(--teal-600);
    color: var(--white);
}

.program-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--slate-900);
    margin-bottom: 0.75rem;
}

.program-card > p {
    font-size: 0.95rem;
    color: var(--slate-600);
    line-height: 1.65;
    margin-bottom: 1.25rem;
}

.card-highlights {
    list-style: none;
    display: grid;
    gap: 0.5rem;
}

.card-highlights li {
    font-size: 0.88rem;
    color: var(--slate-700);
    padding-left: 1.25rem;
    position: relative;
}

.card-highlights li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.45em;
    width: 6px;
    height: 6px;
    background: var(--teal-400);
    border-radius: 50%;
}

/* ===== APPROACH ===== */
.approach {
    padding: 6rem 0;
    background: var(--white);
}

.approach-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.approach-content .lead {
    font-size: 1.05rem;
    color: var(--slate-700);
    margin-bottom: 2.5rem;
}

.approach-points {
    display: grid;
    gap: 2rem;
}

.approach-point {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.point-number {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--teal-200);
    line-height: 1;
    flex-shrink: 0;
    width: 2.5rem;
}

.approach-point h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--slate-900);
    margin-bottom: 0.35rem;
}

.approach-point p {
    font-size: 0.92rem;
    color: var(--slate-600);
    line-height: 1.65;
}

.approach-image-stack {
    position: relative;
    height: 550px;
}

.approach-image-stack img:first-child {
    width: 85%;
    height: 420px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.float-img {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60%;
    height: 220px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    border: 4px solid var(--white);
    box-shadow: var(--shadow-lg);
}

/* ===== STATS BANNER ===== */
.stats-banner {
    padding: 4rem 0;
    background: var(--slate-900);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.stat-num {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--teal-400);
    line-height: 1;
}

.stat-desc {
    font-size: 0.85rem;
    color: var(--slate-400);
    line-height: 1.4;
}

/* ===== COMMUNITY ===== */
.community {
    padding: 6rem 0;
    background: var(--slate-50);
}

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

.community-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.25rem;
    border: 1px solid var(--slate-200);
    transition: all var(--transition);
}

.community-card:hover {
    border-color: var(--teal-200);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.comm-icon {
    width: 52px;
    height: 52px;
    background: var(--teal-50);
    border: 1px solid var(--teal-100);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--teal-600);
    margin-bottom: 1.25rem;
}

.community-card h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--slate-900);
    margin-bottom: 0.6rem;
}

.community-card p {
    font-size: 0.92rem;
    color: var(--slate-600);
    line-height: 1.65;
}

/* ===== VISIT ===== */
.visit {
    padding: 6rem 0;
    background: var(--white);
}

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

.visit-content .lead {
    font-size: 1.05rem;
    color: var(--slate-700);
    margin-bottom: 2.5rem;
}

.visit-details {
    display: grid;
    gap: 1.5rem;
}

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

.detail-icon {
    color: var(--teal-600);
    flex-shrink: 0;
    margin-top: 0.15rem;
}

.visit-detail strong {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--slate-900);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.2rem;
}

.visit-detail span,
.visit-detail a {
    font-size: 0.95rem;
    color: var(--slate-600);
}

.visit-detail a:hover {
    color: var(--teal-700);
    text-decoration: underline;
}

/* ===== FORM ===== */
.visit-form-wrap {
    background: var(--slate-50);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
}

.form-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--slate-900);
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.7rem 0.875rem;
    border: 1.5px solid var(--slate-200);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--slate-800);
    background: var(--white);
    transition: border-color var(--transition), box-shadow var(--transition);
    appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--teal-500);
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.12);
}

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

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

.form-note {
    font-size: 0.8rem;
    color: var(--slate-500);
    text-align: center;
    margin-top: 1rem;
}

.form-success {
    text-align: center;
    padding: 2rem;
    color: var(--teal-700);
}

.form-success h4 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--slate-900);
    margin: 0.75rem 0 0.5rem;
}

.form-success p {
    color: var(--slate-600);
    font-size: 0.95rem;
}

.form-success svg {
    color: var(--teal-600);
}

/* ===== FOOTER ===== */
.site-footer {
    background: var(--slate-950);
    color: var(--slate-400);
    padding: 4rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--slate-800);
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-top: 1rem;
    max-width: 320px;
}

.footer-info h4,
.footer-links h4 {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--slate-300);
    margin-bottom: 1rem;
}

.footer-info address {
    font-style: normal;
    font-size: 0.9rem;
    line-height: 1.8;
}

.footer-info a {
    color: var(--teal-400);
}

.footer-info a:hover {
    color: var(--teal-300);
}

.footer-links ul {
    list-style: none;
    display: grid;
    gap: 0.5rem;
}

.footer-links a {
    color: var(--slate-400);
    font-size: 0.9rem;
    transition: color var(--transition);
}

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

.footer-bottom {
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    font-size: 0.82rem;
    color: var(--slate-500);
}

.footer-bottom a {
    color: var(--teal-400);
}

.logo-footer .logo-mark {
    width: 34px;
    height: 34px;
    font-size: 1rem;
}

.logo-footer .logo-primary {
    font-size: 0.95rem;
}

.logo-footer .logo-secondary {
    font-size: 0.78rem;
}

/* ===== SCROLL REVEAL (progressive enhancement) ===== */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }

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

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .about-grid,
    .approach-split,
    .visit-wrapper {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .about-image-wrap {
        max-width: 500px;
    }

    .about-stat {
        right: 1rem;
        bottom: -1rem;
    }

    .approach-image-stack {
        height: 400px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

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

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .main-nav {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--white);
        border-bottom: 1px solid var(--slate-200);
        padding: 1rem 1.5rem 1.5rem;
        box-shadow: var(--shadow-lg);
        transform: translateY(-110%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition);
    }

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

    .main-nav ul {
        flex-direction: column;
        align-items: stretch;
        gap: 0.25rem;
    }

    .main-nav a {
        padding: 0.75rem 0.875rem;
    }

    .nav-cta {
        margin-left: 0 !important;
        text-align: center;
        margin-top: 0.5rem;
    }

    .hero-content {
        padding: 7rem 1.5rem 3rem;
    }

    .hero h1 {
        font-size: clamp(1.85rem, 6vw, 2.75rem);
    }

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

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

    .hero-scroll {
        display: none;
    }

    .program-grid,
    .community-grid {
        grid-template-columns: 1fr;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

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

    .visit-wrapper {
        gap: 2.5rem;
    }

    .visit-form-wrap {
        padding: 1.75rem;
    }

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

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

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

    .about,
    .program,
    .approach,
    .community,
    .visit {
        padding: 4rem 0;
    }

    .stats-banner {
        padding: 3rem 0;
    }

    .approach-image-stack {
        height: 300px;
    }

    .approach-image-stack img:first-child {
        width: 100%;
        height: 280px;
    }

    .float-img {
        width: 55%;
        height: 160px;
    }
}
