/* ===================================
   Casa Girasoles Daycare — Stylesheet
   =================================== */

/* --- CSS Custom Properties --- */
:root {
    --forest-950: #051f16;
    --forest-900: #0a3122;
    --forest-800: #0f4a31;
    --forest-700: #145e3e;
    --forest-600: #1a7a50;
    --forest-500: #21945e;
    --forest-400: #34b076;
    --forest-300: #5cc794;
    --forest-200: #8dd8b0;
    --forest-100: #c2e8cf;
    --forest-50: #e8f5ec;
    --forest-25: #f4faf6;

    --offwhite-900: #1a1a18;
    --offwhite-800: #2d2d2a;
    --offwhite-700: #454540;
    --offwhite-600: #5e5e58;
    --offwhite-500: #7a7a72;
    --offwhite-400: #9a9a90;
    --offwhite-300: #b8b8ac;
    --offwhite-200: #d4d4c8;
    --offwhite-100: #eaeae0;
    --offwhite-50: #f7f7f2;
    --offwhite-25: #fbfbf8;

    --sun-yellow-400: #f5c542;
    --sun-yellow-300: #fad66e;
    --sun-yellow-100: #fdf3d7;

    --font-sans: 'DM Sans', system-ui, -apple-system, sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    --shadow-sm: 0 1px 3px rgba(10, 49, 34, 0.06), 0 1px 2px rgba(10, 49, 34, 0.04);
    --shadow-md: 0 4px 16px rgba(10, 49, 34, 0.08), 0 2px 6px rgba(10, 49, 34, 0.04);
    --shadow-lg: 0 12px 40px rgba(10, 49, 34, 0.12), 0 4px 12px rgba(10, 49, 34, 0.06);
    --shadow-xl: 0 24px 60px rgba(10, 49, 34, 0.14);

    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset & Base --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.65;
    color: var(--offwhite-800);
    background-color: var(--offwhite-25);
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

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

/* --- Background Pattern --- */
.bg-pattern {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    opacity: 0.4;
    background-image: 
        radial-gradient(circle at 20% 20%, var(--forest-100) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, var(--sun-yellow-100) 0%, transparent 40%),
        radial-gradient(circle at 60% 10%, var(--forest-50) 0%, transparent 30%);
}

/* --- Typography --- */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 500;
    line-height: 1.2;
    color: var(--offwhite-900);
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--forest-600);
    margin-bottom: 16px;
}

.section-label::before {
    content: '';
    display: block;
    width: 24px;
    height: 2px;
    background: var(--forest-400);
    border-radius: 2px;
}

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

.section-subtitle {
    font-size: 1.125rem;
    color: var(--offwhite-600);
    max-width: 560px;
    line-height: 1.7;
}

.lead-text {
    font-size: 1.125rem;
    color: var(--offwhite-600);
    line-height: 1.8;
    margin-bottom: 32px;
}

.center {
    text-align: center;
}

.center .section-subtitle {
    margin-left: auto;
    margin-right: auto;
}

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

.btn-primary {
    background: var(--forest-700);
    color: #ffffff;
    border-color: var(--forest-700);
}

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

.btn-secondary {
    background: transparent;
    color: var(--forest-700);
    border-color: var(--forest-200);
}

.btn-secondary:hover {
    background: var(--forest-50);
    border-color: var(--forest-400);
    transform: translateY(-2px);
}

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

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

.btn-large {
    padding: 18px 36px;
    font-size: 1rem;
    border-radius: var(--radius-lg);
}

.btn-full {
    width: 100%;
}

/* --- Header --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(251, 251, 248, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--offwhite-100);
    transition: box-shadow var(--transition-base);
}

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

.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-serif);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--forest-800);
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--forest-100);
    border-radius: var(--radius-sm);
    color: var(--forest-700);
}

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

.desktop-nav a {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--offwhite-600);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

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

.mobile-menu-btn {
    display: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: none;
    border: 1px solid var(--offwhite-200);
    border-radius: var(--radius-sm);
    cursor: pointer;
    color: var(--offwhite-700);
    transition: all var(--transition-fast);
}

.mobile-menu-btn:hover {
    border-color: var(--forest-300);
    color: var(--forest-700);
}

/* --- Mobile Menu --- */
.mobile-menu {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    background: rgba(251, 251, 248, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 32px 24px;
    opacity: 0;
    transform: translateY(-8px);
    transition: all var(--transition-base);
    pointer-events: none;
}

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

.mobile-menu-inner {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 400px;
}

.mobile-link {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--offwhite-700);
    padding: 16px 0;
    border-bottom: 1px solid var(--offwhite-100);
    transition: color var(--transition-fast);
}

.mobile-link:hover {
    color: var(--forest-700);
}

.mobile-btn {
    margin-top: 16px;
    justify-content: center;
}

/* --- Hero Section --- */
.hero {
    padding-top: 120px;
    padding-bottom: 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--offwhite-25) 0%, var(--forest-25) 50%, var(--sun-yellow-100) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--forest-100) 0%, transparent 70%);
    opacity: 0.5;
    pointer-events: none;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--forest-50);
    border: 1px solid var(--forest-200);
    color: var(--forest-700);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    padding: 8px 16px;
    border-radius: 100px;
    margin-bottom: 28px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--forest-400);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.2); }
}

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

.text-gradient {
    background: linear-gradient(135deg, var(--forest-600) 0%, var(--forest-400) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--offwhite-600);
    line-height: 1.8;
    margin-bottom: 36px;
    max-width: 480px;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-number {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--forest-700);
    line-height: 1.2;
}

.stat-label {
    font-size: 0.8125rem;
    color: var(--offwhite-500);
    letter-spacing: 0.02em;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--offwhite-200);
}

/* Hero Visual */
.hero-visual {
    position: relative;
}

.hero-image-main {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    aspect-ratio: 600/750;
    background: var(--forest-100);
}

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

.hero-image-accent {
    position: absolute;
    bottom: -30px;
    left: -40px;
    width: 260px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--offwhite-25);
    aspect-ratio: 400/300;
    background: var(--sun-yellow-100);
}

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

.hero-float-card {
    position: absolute;
    top: 40px;
    right: -20px;
    display: flex;
    align-items: center;
    gap: 12px;
    background: #ffffff;
    padding: 16px 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    z-index: 2;
}

.float-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--forest-400), var(--forest-600));
    border-radius: var(--radius-sm);
    color: #ffffff;
}

.float-card-label {
    display: block;
    font-size: 0.75rem;
    color: var(--offwhite-500);
}

.float-card-value {
    display: block;
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 600;
    color: var(--offwhite-900);
}

/* --- About Section --- */
.about {
    padding: 100px 0;
    background: #ffffff;
}

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

.about-visual {
    position: relative;
}

.about-image-stack {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    aspect-ratio: 500/600;
    background: var(--forest-100);
    box-shadow: var(--shadow-lg);
}

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

.about-image-overlay {
    position: absolute;
    bottom: 24px;
    left: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: var(--forest-700);
    border-radius: var(--radius-md);
    color: #ffffff;
}

.about-content .section-title {
    margin-bottom: 20px;
}

.values-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 40px;
}

.value-card {
    padding: 24px;
    background: var(--offwhite-50);
    border-radius: var(--radius-md);
    border: 1px solid var(--offwhite-100);
    transition: all var(--transition-base);
}

.value-card:hover {
    background: var(--forest-50);
    border-color: var(--forest-200);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.value-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--forest-100);
    border-radius: var(--radius-sm);
    color: var(--forest-700);
    margin-bottom: 14px;
}

.value-card h3 {
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 600;
    color: var(--offwhite-900);
    margin-bottom: 8px;
}

.value-card p {
    font-size: 0.875rem;
    color: var(--offwhite-600);
    line-height: 1.65;
}

/* --- Programs Section --- */
.programs {
    padding: 100px 0;
    background: var(--offwhite-25);
}

.section-header {
    margin-bottom: 60px;
}

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

.program-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--offwhite-100);
    transition: all var(--transition-base);
    position: relative;
}

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

.program-card.featured {
    border-color: var(--forest-300);
    box-shadow: var(--shadow-md);
}

.program-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 2;
    background: var(--forest-700);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    padding: 6px 12px;
    border-radius: 100px;
}

.program-image {
    aspect-ratio: 400/300;
    overflow: hidden;
    background: var(--offwhite-100);
}

.program-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.program-card:hover .program-image img {
    transform: scale(1.05);
}

.program-content {
    padding: 28px;
}

.program-age {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--forest-600);
    background: var(--forest-50);
    border: 1px solid var(--forest-200);
    padding: 4px 12px;
    border-radius: 100px;
    margin-bottom: 12px;
}

.program-content h3 {
    font-family: var(--font-serif);
    font-size: 1.375rem;
    margin-bottom: 12px;
}

.program-content > p {
    font-size: 0.9375rem;
    color: var(--offwhite-600);
    line-height: 1.7;
    margin-bottom: 20px;
}

.program-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.program-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.875rem;
    color: var(--offwhite-700);
}

.program-features li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--forest-400);
    border-radius: 50%;
    flex-shrink: 0;
}

/* --- Facility Section --- */
.facility {
    padding: 100px 0;
    background: #ffffff;
}

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

.facility-content .section-title {
    margin-bottom: 20px;
}

.facility-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 36px;
}

.facility-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9375rem;
    color: var(--offwhite-700);
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: var(--forest-100);
    border-radius: 50%;
    color: var(--forest-700);
    flex-shrink: 0;
}

.facility-gallery {
    position: relative;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 16px;
}

.gallery-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--offwhite-100);
    box-shadow: var(--shadow-sm);
}

.gallery-item.large {
    grid-row: span 2;
    aspect-ratio: 500/500;
}

.gallery-item.large img,
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-item.wide {
    grid-column: span 2;
    aspect-ratio: 600/300;
}

/* --- Testimonials Section --- */
.testimonials {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--forest-25) 0%, var(--offwhite-50) 100%);
}

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

.testimonial-card {
    background: #ffffff;
    padding: 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--offwhite-100);
    transition: all var(--transition-base);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--forest-200);
}

.testimonial-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
    color: var(--sun-yellow-400);
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--offwhite-700);
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.author-name {
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--offwhite-900);
}

.author-detail {
    font-size: 0.8125rem;
    color: var(--offwhite-500);
}

/* --- CTA Section --- */
.cta-section {
    padding: 80px 0;
    background: var(--offwhite-25);
}

.cta-card {
    background: linear-gradient(135deg, var(--forest-800) 0%, var(--forest-600) 100%);
    border-radius: var(--radius-xl);
    padding: 64px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 48px;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content .section-label {
    color: var(--forest-300);
}

.cta-content .section-label::before {
    background: var(--forest-400);
}

.cta-title {
    color: #ffffff;
    margin-bottom: 16px;
}

.cta-text {
    font-size: 1.0625rem;
    color: var(--forest-200);
    line-height: 1.75;
    max-width: 480px;
}

.cta-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
    z-index: 1;
}

.cta-actions .btn-primary {
    background: #ffffff;
    color: var(--forest-800);
    border-color: #ffffff;
}

.cta-actions .btn-primary:hover {
    background: var(--offwhite-50);
    border-color: var(--offwhite-50);
    box-shadow: var(--shadow-lg);
}

.cta-actions .btn-outline {
    border-color: rgba(255,255,255,0.3);
    color: #ffffff;
}

.cta-actions .btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.5);
}

/* --- Contact Section --- */
.contact {
    padding: 100px 0;
    background: #ffffff;
}

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

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

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 36px;
    margin-bottom: 36px;
}

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

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--forest-50);
    border: 1px solid var(--forest-200);
    border-radius: var(--radius-sm);
    color: var(--forest-700);
    flex-shrink: 0;
}

.contact-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-label {
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--offwhite-500);
}

.contact-text a {
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--forest-700);
    transition: color var(--transition-fast);
}

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

.map-container {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--offwhite-100);
}

/* Contact Form */
.contact-form-wrapper {
    position: relative;
}

.contact-form-card {
    background: var(--offwhite-50);
    border: 1px solid var(--offwhite-100);
    border-radius: var(--radius-xl);
    padding: 40px;
}

.contact-form-card h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.form-subtitle {
    font-size: 0.9375rem;
    color: var(--offwhite-500);
    margin-bottom: 28px;
}

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

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

.form-group label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--offwhite-700);
}

.form-group input,
.form-group select,
.form-group textarea {
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    color: var(--offwhite-900);
    background: #ffffff;
    border: 1.5px solid var(--offwhite-200);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    transition: all var(--transition-fast);
    outline: none;
    width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--forest-400);
    box-shadow: 0 0 0 3px rgba(52, 176, 118, 0.1);
}

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

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

.form-success {
    display: none;
    text-align: center;
    padding: 40px 20px;
}

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

.success-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    background: var(--forest-100);
    border-radius: 50%;
    color: var(--forest-700);
}

.form-success h4 {
    font-family: var(--font-serif);
    font-size: 1.375rem;
    margin-bottom: 8px;
}

.form-success p {
    font-size: 0.9375rem;
    color: var(--offwhite-600);
    line-height: 1.65;
}

/* --- Footer --- */
.site-footer {
    background: var(--forest-900);
    color: var(--forest-200);
    padding: 64px 0 0;
}

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

.footer-brand .logo {
    color: #ffffff;
    margin-bottom: 16px;
}

.footer-brand .logo-icon {
    background: rgba(255,255,255,0.1);
    color: var(--forest-300);
}

.footer-tagline {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--forest-300);
    max-width: 280px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--forest-100);
    margin-bottom: 20px;
}

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

.footer-links a,
.footer-contact a {
    font-size: 0.9375rem;
    color: var(--forest-300);
    transition: color var(--transition-fast);
}

.footer-links a:hover,
.footer-contact a:hover {
    color: #ffffff;
}

.footer-contact li:not(:last-child) {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
    font-size: 0.8125rem;
    color: var(--forest-400);
}

.footer-legal {
    color: var(--forest-500);
}

/* --- Scroll Reveal --- */
.reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.revealed {
    opacity: 1;
    transform: none;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero-grid {
        gap: 40px;
    }

    .hero-image-accent {
        left: -20px;
        bottom: -20px;
        width: 200px;
    }

    .about-grid,
    .facility-grid,
    .contact-grid {
        gap: 48px;
    }

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

    .cta-card {
        padding: 48px;
    }

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

@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .mobile-menu {
        display: block;
    }

    .hero {
        padding-top: 100px;
        padding-bottom: 60px;
        min-height: auto;
    }

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

    .hero-visual {
        order: -1;
    }

    .hero-image-accent {
        width: 160px;
        left: -10px;
        bottom: -10px;
    }

    .hero-float-card {
        right: 10px;
        top: 20px;
    }

    .hero-stats {
        gap: 16px;
    }

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

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

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

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

    .gallery-item.large,
    .gallery-item.wide {
        grid-row: auto;
        grid-column: auto;
        aspect-ratio: 400/300;
    }

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

    .cta-card {
        grid-template-columns: 1fr;
        padding: 36px 28px;
        gap: 32px;
    }

    .cta-actions {
        flex-direction: row;
    }

    .cta-actions .btn {
        flex: 1;
    }

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

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

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

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

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

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

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

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

    .hero-stats {
        flex-wrap: wrap;
    }

    .stat-divider {
        display: none;
    }

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

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

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}
