/* ============================================
   Kathy's Tot Spot Learning Center
   Bold Editorial Style — Midnight Blue + Mint
   ============================================ */

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --midnight: #0A2342;
    --midnight-light: #143A5C;
    --midnight-deeper: #061829;
    --mint: #A8E6CF;
    --mint-light: #C8F0E0;
    --mint-dark: #7BCFB0;
    --cream: #FAFAF8;
    --warm-white: #F5F5F0;
    --sand: #E8E4DC;
    --text-dark: #0A2342;
    --text-medium: #2C4A6E;
    --text-light: #5A7A9A;
    --text-on-dark: #F5F5F0;
    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-sans);
    color: var(--text-dark);
    background: var(--cream);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

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

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    transition: background 0.4s var(--ease-smooth), box-shadow 0.4s var(--ease-smooth);
}

.navbar.scrolled {
    background: rgba(10, 35, 66, 0.97);
    box-shadow: 0 4px 30px rgba(10, 35, 66, 0.15);
    backdrop-filter: blur(10px);
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1001;
}

.nav-brand-mark {
    width: 40px;
    height: 40px;
    background: var(--mint);
    color: var(--midnight);
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    transition: transform 0.3s var(--ease-out);
}

.nav-brand:hover .nav-brand-mark {
    transform: rotate(-5deg) scale(1.05);
}

.nav-brand-text {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-on-dark);
    letter-spacing: -0.01em;
}

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

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(245, 245, 240, 0.75);
    letter-spacing: 0.02em;
    transition: color 0.3s;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--mint);
    transition: width 0.3s var(--ease-out);
}

.nav-link:hover {
    color: var(--text-on-dark);
}

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

.nav-cta {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--mint);
    color: var(--midnight);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 50px;
    transition: background 0.3s, transform 0.3s var(--ease-out), box-shadow 0.3s;
}

.nav-cta:hover {
    background: var(--mint-light);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(168, 230, 207, 0.4);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    z-index: 1001;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-on-dark);
    border-radius: 2px;
    transition: transform 0.3s var(--ease-out), opacity 0.3s;
}

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

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

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

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

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

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(6, 24, 41, 0.92) 0%,
        rgba(10, 35, 66, 0.85) 40%,
        rgba(10, 35, 66, 0.6) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1280px;
    margin: 0 auto;
    padding: 120px 24px 80px;
    width: 100%;
}

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

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(3rem, 8vw, 6.5rem);
    font-weight: 700;
    line-height: 1.05;
    color: var(--text-on-dark);
    margin-bottom: 28px;
    max-width: 800px;
    letter-spacing: -0.02em;
}

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

.hero-headline .text-mint {
    color: var(--mint);
}

.hero-sub {
    font-size: clamp(1.05rem, 1.5vw, 1.25rem);
    color: rgba(245, 245, 240, 0.7);
    max-width: 540px;
    line-height: 1.7;
    margin-bottom: 40px;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s var(--ease-out);
    letter-spacing: 0.01em;
}

.btn-primary {
    background: var(--mint);
    color: var(--midnight);
}

.btn-primary:hover {
    background: var(--mint-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(168, 230, 207, 0.35);
}

.btn-outline {
    background: transparent;
    color: var(--text-on-dark);
    border: 1.5px solid rgba(245, 245, 240, 0.3);
}

.btn-outline:hover {
    border-color: var(--mint);
    color: var(--mint);
    transform: translateY(-2px);
}

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

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

.hero-stat {
    display: flex;
    flex-direction: column;
}

.hero-stat-number {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--mint);
}

.hero-stat-label {
    font-size: 0.8rem;
    color: rgba(245, 245, 240, 0.5);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(168, 230, 207, 0.3);
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(245, 245, 240, 0.4);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

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

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

/* ============================================
   SECTION COMMON
   ============================================ */
.section-eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--mint-dark);
    margin-bottom: 16px;
}

.section-headline {
    font-family: var(--font-serif);
    font-size: clamp(2.2rem, 5vw, 3.75rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--midnight);
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}

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

.section-lead {
    font-size: clamp(1.05rem, 1.5vw, 1.2rem);
    color: var(--text-medium);
    line-height: 1.75;
    max-width: 600px;
}

.lead {
    font-size: 1.1rem;
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: 20px;
}

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

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

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

.about-image-wrap img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 16px;
}

.about-image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 200px;
    height: 200px;
    background: var(--mint);
    border-radius: 16px;
    z-index: -1;
    opacity: 0.5;
}

.about-content {
    padding: 20px 0;
}

.about-content p {
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: 16px;
}

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

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.about-feature svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.about-feature span {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dark);
    line-height: 1.5;
}

/* ============================================
   PROGRAMS
   ============================================ */
.programs {
    padding: 120px 0;
    background: var(--midnight);
}

.programs .section-eyebrow {
    color: var(--mint);
}

.programs .section-headline {
    color: var(--text-on-dark);
}

.programs .section-lead {
    color: rgba(245, 245, 240, 0.6);
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header .section-lead {
    margin: 0 auto;
}

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

.program-card {
    background: rgba(245, 245, 240, 0.05);
    border: 1px solid rgba(245, 245, 240, 0.08);
    border-radius: 20px;
    padding: 40px 32px;
    transition: transform 0.4s var(--ease-out), background 0.4s, border-color 0.4s;
}

.program-card:hover {
    transform: translateY(-6px);
    background: rgba(245, 245, 240, 0.08);
    border-color: rgba(168, 230, 207, 0.3);
}

.program-card-number {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 700;
    color: rgba(168, 230, 207, 0.15);
    line-height: 1;
    margin-bottom: 20px;
}

.program-card-icon {
    width: 64px;
    height: 64px;
    background: rgba(168, 230, 207, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--mint);
    margin-bottom: 24px;
}

.program-card-title {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-on-dark);
    margin-bottom: 6px;
}

.program-card-age {
    font-size: 0.85rem;
    color: var(--mint);
    font-weight: 500;
    margin-bottom: 16px;
}

.program-card-desc {
    font-size: 0.95rem;
    color: rgba(245, 245, 240, 0.6);
    line-height: 1.7;
    margin-bottom: 24px;
}

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

.program-card-features li {
    font-size: 0.875rem;
    color: rgba(245, 245, 240, 0.7);
    padding-left: 20px;
    position: relative;
}

.program-card-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    background: var(--mint);
    border-radius: 50%;
}

/* ============================================
   APPROACH
   ============================================ */
.approach {
    padding: 120px 0;
    background: var(--warm-white);
}

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

.approach-content {
    padding: 20px 0;
}

.approach-pillars {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-top: 48px;
}

.approach-pillar {
    display: flex;
    gap: 24px;
}

.pillar-number {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 700;
    color: var(--mint-dark);
    line-height: 1;
    padding-top: 4px;
    min-width: 40px;
}

.pillar-title {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--midnight);
    margin-bottom: 8px;
}

.pillar-desc {
    font-size: 0.95rem;
    color: var(--text-medium);
    line-height: 1.7;
}

.approach-images {
    position: relative;
    padding-bottom: 24px;
}

.approach-img-main {
    border-radius: 20px;
    overflow: hidden;
}

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

.approach-img-secondary {
    position: absolute;
    bottom: 0;
    right: -40px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(10, 35, 66, 0.2);
    border: 4px solid var(--cream);
}

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

/* ============================================
   GALLERY
   ============================================ */
.gallery {
    padding: 120px 0;
    background: var(--cream);
}

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

.gallery-item {
    border-radius: 16px;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}

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

.gallery-item--large {
    grid-column: 1 / 7;
    grid-row: 1 / 2;
}

.gallery-item--large img {
    height: 400px;
}

.gallery-item:not(.gallery-item--large):not(.gallery-item--wide) {
    grid-column: span 3;
    grid-row: 1 / 2;
}

.gallery-item:not(.gallery-item--large):not(.gallery-item--wide) img {
    height: 280px;
}

.gallery-item--wide {
    grid-column: 5 / 13;
    grid-row: 2 / 3;
}

.gallery-item--wide img {
    height: 280px;
}

/* ============================================
   TESTIMONIAL
   ============================================ */
.testimonial-strip {
    padding: 100px 0;
    background: var(--midnight);
}

.testimonial-quote {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.testimonial-quote svg {
    margin: 0 auto 24px;
}

.testimonial-quote blockquote {
    border: none;
    padding: 0;
    margin: 0;
}

.testimonial-quote p {
    font-family: var(--font-serif);
    font-size: clamp(1.3rem, 2.5vw, 1.75rem);
    font-weight: 400;
    font-style: italic;
    color: var(--text-on-dark);
    line-height: 1.6;
    margin-bottom: 28px;
}

.testimonial-quote footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.testimonial-quote footer::before {
    content: '';
    width: 40px;
    height: 1px;
    background: var(--mint);
}

.testimonial-quote footer span {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--mint);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

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

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

.contact-detail {
    display: flex;
    gap: 16px;
    margin-bottom: 28px;
}

.contact-detail svg {
    flex-shrink: 0;
    color: var(--mint-dark);
    margin-top: 2px;
}

.contact-detail strong {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--midnight);
    margin-bottom: 4px;
}

.contact-detail p,
.contact-detail a {
    font-size: 0.95rem;
    color: var(--text-medium);
    line-height: 1.6;
}

.contact-detail a:hover {
    color: var(--midnight);
    text-decoration: underline;
}

.contact-form-wrap {
    background: var(--midnight);
    border-radius: 24px;
    padding: 48px;
}

.form-title {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-on-dark);
    margin-bottom: 32px;
}

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

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(245, 245, 240, 0.6);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    background: rgba(245, 245, 240, 0.07);
    border: 1px solid rgba(245, 245, 240, 0.12);
    border-radius: 10px;
    color: var(--text-on-dark);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    transition: border-color 0.3s, background 0.3s;
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(245, 245, 240, 0.3);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--mint);
    background: rgba(245, 245, 240, 0.1);
}

.form-group select option {
    background: var(--midnight);
    color: var(--text-on-dark);
}

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

.form-success {
    display: none;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: rgba(168, 230, 207, 0.1);
    border: 1px solid rgba(168, 230, 207, 0.3);
    border-radius: 10px;
    margin-top: 16px;
    color: var(--mint);
    font-size: 0.9rem;
    font-weight: 500;
}

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

/* ============================================
   MAP
   ============================================ */
.map-section {
    height: 400px;
    background: var(--sand);
}

.map-section iframe {
    filter: saturate(0.7) contrast(1.1);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--midnight-deeper);
    padding: 80px 0 0;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-logo-mark {
    width: 44px;
    height: 44px;
    background: var(--mint);
    color: var(--midnight);
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.footer-logo-text {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-on-dark);
    line-height: 1.3;
}

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

.footer-heading {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--mint);
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 0.9rem;
    color: rgba(245, 245, 240, 0.55);
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--text-on-dark);
}

.footer-contact {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.875rem;
    color: rgba(245, 245, 240, 0.55);
    line-height: 1.5;
}

.footer-contact svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--mint-dark);
}

.footer-contact a:hover {
    color: var(--text-on-dark);
}

.footer-bottom {
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: rgba(245, 245, 240, 0.35);
}

.footer-bottom a {
    color: rgba(245, 245, 240, 0.35);
    transition: color 0.3s;
}

.footer-bottom a:hover {
    color: var(--mint);
}

/* ============================================
   SCROLL REVEAL (progressive enhancement)
   ============================================ */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

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

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

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .about-grid,
    .approach-layout,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

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

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

    .gallery-item--large {
        grid-column: 1 / 8;
    }

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

    .gallery-item--wide {
        grid-column: 1 / 13;
    }

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

    .approach-img-secondary {
        right: -20px;
    }
}

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

    .nav-toggle {
        display: flex;
    }

    .nav-links.mobile-open {
        display: flex;
        flex-direction: column;
        position: fixed;
        inset: 0;
        background: rgba(10, 35, 66, 0.98);
        justify-content: center;
        align-items: center;
        gap: 24px;
        z-index: 1000;
    }

    .nav-links.mobile-open .nav-link {
        font-size: 1.25rem;
        color: var(--text-on-dark);
    }

    .hero-headline {
        font-size: clamp(2.5rem, 10vw, 4rem);
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 20px;
    }

    .hero-stat-divider {
        display: none;
    }

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

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

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

    .gallery-item--large {
        grid-column: 1 / -1;
    }

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

    .gallery-item--wide {
        grid-column: 1 / -1;
    }

    .gallery-item--large img,
    .gallery-item:not(.gallery-item--large):not(.gallery-item--wide) img,
    .gallery-item--wide img {
        height: 220px;
    }

    .contact-form-wrap {
        padding: 32px 24px;
    }

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

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

    .approach-img-secondary {
        position: relative;
        right: 0;
        bottom: 0;
        margin-top: 16px;
    }

    .approach-images {
        order: -1;
    }
}

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

    .hero-content {
        padding: 100px 16px 60px;
    }

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

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

    .container {
        padding: 0 16px;
    }

    .about,
    .programs,
    .approach,
    .gallery,
    .contact {
        padding: 80px 0;
    }
}
