/* ========================================
   Kids Hangout — Custom Styles
   ======================================== */

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: #FDF8F0;
    color: #735236;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    line-height: 1.15;
    color: #5F2D24;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

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

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

/* --- Background Geometric Shapes --- */
.geo-shapes {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.geo-shape {
    position: absolute;
    opacity: 0.06;
}

.geo-shape.circle-1 {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: #C4654A;
    top: -100px;
    right: -100px;
}

.geo-shape.circle-2 {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: #D4A574;
    bottom: 20%;
    left: -80px;
}

.geo-shape.triangle-1 {
    width: 0;
    height: 0;
    border-left: 120px solid transparent;
    border-right: 120px solid transparent;
    border-bottom: 200px solid #C4654A;
    top: 45%;
    right: 5%;
    opacity: 0.04;
    transform: rotate(15deg);
}

.geo-shape.square-1 {
    width: 150px;
    height: 150px;
    background: #D4A574;
    bottom: 30%;
    right: 10%;
    transform: rotate(45deg);
    opacity: 0.05;
}

.geo-shape.dot-cluster {
    width: 100px;
    height: 100px;
    top: 60%;
    left: 8%;
    background-image: radial-gradient(circle, #C4654A 1.5px, transparent 1.5px);
    background-size: 12px 12px;
    opacity: 0.15;
}

.geo-shape.arc-1 {
    width: 300px;
    height: 300px;
    border: 3px solid #C4654A;
    border-radius: 50%;
    border-bottom-color: transparent;
    border-left-color: transparent;
    top: 30%;
    left: 50%;
    transform: rotate(-30deg);
    opacity: 0.05;
}

/* --- Navigation --- */
.nav {
    background: rgba(253, 248, 240, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(196, 101, 74, 0.1);
    z-index: 100;
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
    color: #5F2D24;
}

.nav-logo-text {
    letter-spacing: -0.02em;
}

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

.nav-link {
    padding: 8px 16px;
    font-size: 0.95rem;
    font-weight: 500;
    color: #735236;
    border-radius: 8px;
    transition: background 0.2s, color 0.2s;
}

.nav-link:hover {
    background: rgba(196, 101, 74, 0.08);
    color: #C4654A;
}

.nav-cta-btn {
    background: #C4654A;
    color: #FDF8F0 !important;
    font-weight: 600;
    margin-left: 8px;
}

.nav-cta-btn:hover {
    background: #A8503A;
    color: #FDF8F0 !important;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: #5F2D24;
}

/* --- Mobile Menu --- */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 99;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu.active {
    pointer-events: all;
    opacity: 1;
}

.mobile-menu-bg {
    position: absolute;
    inset: 0;
    background: rgba(95, 45, 36, 0.5);
    backdrop-filter: blur(4px);
}

.mobile-menu-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    max-width: 85vw;
    height: 100%;
    background: #FDF8F0;
    padding: 80px 32px 40px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.mobile-menu.active .mobile-menu-content {
    transform: translateX(0);
}

.mobile-menu-link {
    font-size: 1.15rem;
    font-weight: 500;
    color: #5F2D24;
    padding: 12px 0;
    border-bottom: 1px solid rgba(196, 101, 74, 0.1);
}

.mobile-menu-cta {
    background: #C4654A;
    color: #FDF8F0 !important;
    text-align: center;
    border-radius: 10px;
    margin-top: 16px;
    border: none;
    font-weight: 600;
}

.mobile-menu-contact {
    margin-top: 32px;
    font-size: 0.85rem;
    color: #A87850;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.mobile-menu-contact a {
    color: #A87850;
}

.mobile-menu-contact a:hover {
    color: #C4654A;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    border-radius: 12px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    white-space: nowrap;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn:active {
    transform: translateY(0);
}

.btn-primary {
    background: #C4654A;
    color: #FDF8F0;
    padding: 14px 28px;
    box-shadow: 0 4px 16px rgba(196, 101, 74, 0.3);
}

.btn-primary:hover {
    background: #A8503A;
    box-shadow: 0 6px 24px rgba(196, 101, 74, 0.4);
}

.btn-outline {
    background: transparent;
    color: #FDF8F0;
    padding: 14px 28px;
    border: 2px solid rgba(253, 248, 240, 0.5);
}

.btn-outline:hover {
    background: rgba(253, 248, 240, 0.1);
    border-color: #FDF8F0;
}

.btn-light {
    background: #FDF8F0;
    color: #C4654A;
    padding: 14px 28px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.btn-light:hover {
    background: #FAF0E0;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2);
}

.btn-outline-light {
    background: transparent;
    color: #FDF8F0;
    padding: 14px 28px;
    border: 2px solid rgba(253, 248, 240, 0.5);
}

.btn-outline-light:hover {
    background: rgba(253, 248, 240, 0.1);
    border-color: #FDF8F0;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.05rem;
    border-radius: 14px;
}

.btn-block {
    width: 100%;
}

/* --- Hero --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 24px 80px;
    overflow: hidden;
    background: linear-gradient(135deg, #C4654A 0%, #A8503A 30%, #8B3F2E 60%, #733529 100%);
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 60% at 20% 80%, rgba(212, 165, 116, 0.3) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 80% 20%, rgba(245, 230, 204, 0.2) 0%, transparent 50%);
    pointer-events: none;
}

.hero-geo {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-shape {
    position: absolute;
    opacity: 0.12;
}

.shape-diamond {
    width: 120px;
    height: 120px;
    background: #F5E6CC;
    top: 15%;
    left: 8%;
    transform: rotate(45deg);
    animation: floatSlow 8s ease-in-out infinite;
}

.shape-circle {
    width: 80px;
    height: 80px;
    border: 3px solid #F5E6CC;
    border-radius: 50%;
    top: 25%;
    right: 12%;
    animation: floatSlow 6s ease-in-out infinite reverse;
}

.shape-square {
    width: 60px;
    height: 60px;
    background: #FDF8F0;
    bottom: 25%;
    left: 15%;
    border-radius: 12px;
    transform: rotate(20deg);
    animation: floatSlow 7s ease-in-out infinite;
}

.shape-triangle {
    width: 0;
    height: 0;
    border-left: 50px solid transparent;
    border-right: 50px solid transparent;
    border-bottom: 86px solid #F5E6CC;
    bottom: 30%;
    right: 8%;
    transform: rotate(-10deg);
    animation: floatSlow 9s ease-in-out infinite reverse;
}

.shape-ring {
    width: 160px;
    height: 160px;
    border: 4px solid #FDF8F0;
    border-radius: 50%;
    top: 60%;
    left: 5%;
    opacity: 0.06;
    animation: floatSlow 10s ease-in-out infinite;
}

@keyframes floatSlow {
    0%, 100% { transform: translateY(0) rotate(var(--rotation, 0deg)); }
    50% { transform: translateY(-20px) rotate(var(--rotation, 0deg)); }
}

.shape-diamond { --rotation: 45deg; }
.shape-square { --rotation: 20deg; }
.shape-triangle { --rotation: -10deg; }

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(253, 248, 240, 0.15);
    border: 1px solid rgba(253, 248, 240, 0.25);
    color: #F5E6CC;
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 28px;
    backdrop-filter: blur(8px);
}

.hero-title {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    color: #FDF8F0;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.hero-highlight {
    color: #F5E6CC;
    position: relative;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(245, 230, 204, 0.85);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

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

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

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

.hero-stat-num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #FDF8F0;
}

.hero-stat-label {
    font-size: 0.8rem;
    color: rgba(245, 230, 204, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(253, 248, 240, 0.2);
}

.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(245, 230, 204, 0.5);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

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

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

/* --- Section Shared --- */
.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 64px;
}

.section-tag {
    display: inline-block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #C4654A;
    background: rgba(196, 101, 74, 0.08);
    padding: 6px 14px;
    border-radius: 100px;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin-bottom: 16px;
    letter-spacing: -0.03em;
}

.text-terra {
    color: #C4654A;
}

.section-desc {
    font-size: 1.1rem;
    color: #A87850;
    line-height: 1.7;
}

/* --- Programs --- */
.programs {
    padding: 100px 0;
    position: relative;
    z-index: 1;
}

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

.program-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: #FDF8F0;
    border: 1px solid rgba(196, 101, 74, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.program-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(196, 101, 74, 0.15);
}

.program-card-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(196, 101, 74, 0.02) 0%, rgba(212, 165, 116, 0.04) 100%);
    pointer-events: none;
}

.program-card-content {
    position: relative;
    padding: 36px 28px;
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.program-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    margin-bottom: 24px;
    color: #C4654A;
    background: rgba(196, 101, 74, 0.08);
}

.program-title {
    font-size: 1.4rem;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.program-desc {
    font-size: 0.95rem;
    color: #A87850;
    line-height: 1.7;
    margin-bottom: 20px;
    flex-grow: 1;
}

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

.program-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: #735236;
}

.program-features li svg {
    flex-shrink: 0;
    color: #C4654A;
}

.program-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    color: #C4654A;
    padding: 10px 0;
    border-top: 1px solid rgba(196, 101, 74, 0.1);
    transition: gap 0.2s ease;
}

.program-cta:hover {
    gap: 12px;
}

.program-card-accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
}

/* --- Why Us --- */
.why-us {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #FADCD2 0%, #F5E6CC 50%, #FDF8F0 100%);
}

.why-us-bg-geo {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.why-circle-1 {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(196, 101, 74, 0.06);
    top: -80px;
    right: -80px;
}

.why-circle-2 {
    position: absolute;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(212, 165, 116, 0.1);
    bottom: -40px;
    left: 10%;
}

.why-square {
    position: absolute;
    width: 100px;
    height: 100px;
    background: rgba(196, 101, 74, 0.05);
    transform: rotate(45deg);
    top: 40%;
    right: 5%;
    border-radius: 12px;
}

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

.why-left {
    position: sticky;
    top: 100px;
}

.why-intro {
    font-size: 1.05rem;
    color: #8B6342;
    line-height: 1.8;
    margin-top: 20px;
}

.why-right {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.why-feature {
    display: flex;
    gap: 20px;
    align-items: start;
    padding: 24px;
    border-radius: 16px;
    background: rgba(253, 248, 240, 0.7);
    border: 1px solid rgba(196, 101, 74, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.why-feature:hover {
    transform: translateX(6px);
    box-shadow: 0 8px 30px rgba(196, 101, 74, 0.08);
}

.why-feature-num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: rgba(196, 101, 74, 0.2);
    line-height: 1;
    flex-shrink: 0;
    min-width: 48px;
}

.why-feature-title {
    font-size: 1.1rem;
    margin-bottom: 6px;
    letter-spacing: -0.01em;
}

.why-feature-desc {
    font-size: 0.9rem;
    color: #A87850;
    line-height: 1.6;
}

/* --- Gallery --- */
.gallery {
    padding: 100px 0;
    position: relative;
    z-index: 1;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(2, 200px);
    gap: 16px;
}

.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(95, 45, 36, 0.7) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-item-overlay {
    opacity: 1;
}

.gallery-item-overlay span {
    color: #FDF8F0;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
}

.gallery-item--large {
    grid-column: span 5;
    grid-row: span 2;
}

.gallery-item:not(.gallery-item--large) {
    grid-column: span 3;
}

/* --- CTA Banner --- */
.cta-banner {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #C4654A 0%, #A8503A 50%, #8B3F2E 100%);
}

.cta-banner-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.cta-shape-1 {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(245, 230, 204, 0.06);
    top: -200px;
    left: -100px;
}

.cta-shape-2 {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(253, 248, 240, 0.05);
    bottom: -80px;
    right: 15%;
}

.cta-shape-3 {
    position: absolute;
    width: 120px;
    height: 120px;
    border: 3px solid rgba(253, 248, 240, 0.08);
    transform: rotate(45deg);
    top: 20%;
    right: 8%;
    border-radius: 12px;
}

.cta-banner-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: #FDF8F0;
    margin-bottom: 20px;
    letter-spacing: -0.03em;
}

.cta-desc {
    font-size: 1.1rem;
    color: rgba(245, 230, 204, 0.85);
    line-height: 1.7;
    margin-bottom: 40px;
}

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

/* --- Contact --- */
.contact {
    padding: 100px 0;
    position: relative;
    z-index: 1;
}

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

.contact-intro {
    font-size: 1.05rem;
    color: #8B6342;
    line-height: 1.8;
    margin-bottom: 36px;
}

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

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

.contact-detail-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(196, 101, 74, 0.08);
    color: #C4654A;
    flex-shrink: 0;
}

.contact-detail strong {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #5F2D24;
    margin-bottom: 2px;
}

.contact-detail p, .contact-detail a {
    font-size: 0.95rem;
    color: #A87850;
}

.contact-detail a:hover {
    color: #C4654A;
}

.contact-map {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(196, 101, 74, 0.1);
}

/* --- Contact Form --- */
.contact-form-wrap {
    position: sticky;
    top: 100px;
}

.contact-form-card {
    background: #FDF8F0;
    border: 1px solid rgba(196, 101, 74, 0.1);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 8px 40px rgba(196, 101, 74, 0.08);
}

.contact-form-title {
    font-size: 1.5rem;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.contact-form-subtitle {
    font-size: 0.9rem;
    color: #A87850;
    margin-bottom: 28px;
}

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

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

.form-group label {
    font-size: 0.85rem;
    font-weight: 500;
    color: #735236;
}

.form-group input,
.form-group select,
.form-group textarea {
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    padding: 12px 16px;
    border: 1.5px solid rgba(196, 101, 74, 0.15);
    border-radius: 10px;
    background: rgba(253, 248, 240, 0.5);
    color: #5F2D24;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
    width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #C4654A;
    box-shadow: 0 0 0 3px rgba(196, 101, 74, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #D4A574;
}

.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='%23C4654A' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
    cursor: pointer;
}

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

.form-success {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
    gap: 16px;
}

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

.success-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(196, 101, 74, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
}

.success-title {
    font-size: 1.3rem;
    color: #5F2D24;
}

.success-title, .success-icon svg {
    color: #C4654A;
}

.success-icon svg circle {
    stroke: #C4654A;
}

.success-icon svg path {
    stroke: #C4654A;
}

.success-title, .success-icon svg {
    color: #C4654A;
}

.success-title {
    color: #5F2D24;
}

/* --- Footer --- */
.footer {
    background: #5F2D24;
    color: rgba(245, 230, 204, 0.7);
    padding: 64px 0 0;
}

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

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: #FDF8F0;
}

.footer-tagline {
    font-size: 0.9rem;
    color: rgba(245, 230, 204, 0.5);
    max-width: 280px;
    line-height: 1.6;
}

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

.footer-col h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #F5E6CC;
    margin-bottom: 16px;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col a {
    font-size: 0.9rem;
    color: rgba(245, 230, 204, 0.5);
    transition: color 0.2s ease;
}

.footer-col a:hover {
    color: #F5E6CC;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    font-size: 0.8rem;
    color: rgba(245, 230, 204, 0.35);
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom a {
    color: rgba(245, 230, 204, 0.5);
}

.footer-bottom a:hover {
    color: #F5E6CC;
}

/* --- Scroll Reveal --- */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

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

/* --- Responsive --- */
@media (max-width: 1024px) {
    .programs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .program-card:last-child {
        grid-column: span 2;
        max-width: 500px;
        margin: 0 auto;
        width: 100%;
    }
    
    .why-grid {
        gap: 48px;
    }
    
    .why-left {
        position: static;
    }
    
    .gallery-item--large {
        grid-column: span 6;
        grid-row: span 1;
    }
    
    .gallery-item:not(.gallery-item--large) {
        grid-column: span 3;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .hero {
        padding: 100px 20px 80px;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-stats {
        gap: 20px;
    }
    
    .programs-grid {
        grid-template-columns: 1fr;
    }
    
    .program-card:last-child {
        grid-column: span 1;
        max-width: none;
    }
    
    .why-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }
    
    .gallery-item--large {
        grid-column: span 2;
        grid-row: span 1;
    }
    
    .gallery-item:not(.gallery-item--large) {
        grid-column: span 1;
    }
    
    .gallery-item {
        height: 200px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .contact-form-wrap {
        position: static;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.9rem;
    }
    
    .section-title {
        font-size: 1.7rem;
    }
    
    .programs, .why-us, .gallery, .cta-banner, .contact {
        padding: 72px 0;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-item--large {
        grid-column: span 1;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .contact-form-card {
        padding: 24px;
    }
}
