/* ============================================================
   ΤΟ ΤΡΕΝΑΚΙ — 2026 modern static site
   Direction: a fresher, cleaner, faster version of the CURRENT
   totrenaki.gr — colourful, playful, child-friendly, warm.
   The logo colours have a STRONG presence (not tiny accents):
   bright blue, orange, green, pink, purple, sunny yellow — on
   white cards with soft colourful section backgrounds.
   -----------------------------------------------------------------
   HOW TO RE-THEME: every colour lives in the :root block below.
   ============================================================ */

:root {
    /* ---------- BRAND COLOURS (straight from the logo) ---------- */
    --blue:      #1f9ed6;   /* sky blue (wagon / driver cap) — PRIMARY */
    --blue-dark: #167cae;
    --orange:    #f7941d;   /* locomotive orange — main CTA / energy   */
    --orange-dark:#e17c0c;
    --green:     #7fbb2d;   /* leaf green wagon                        */
    --green-dark:#679b22;
    --red:       #ef4b6b;   /* crimson / coral (letter Τ, wagon)       */
    --pink:      #f48cb8;   /* soft pink (wagon)                       */
    --purple:    #7b62b3;   /* purple (letter Ν)                       */
    --yellow:    #ffc93c;   /* sunny yellow                            */

    /* ---------- INK & NEUTRALS ---------- */
    --ink:       #223c47;   /* dark teal-navy (logo outlines) — text   */
    --ink-soft:  #48606b;   /* body copy                               */
    --muted:     #6c828c;   /* secondary / captions (AA on white)      */
    --line:      #e6eef1;   /* light cool hairline                     */
    --paper:     #ffffff;   /* cards / panels                          */
    --page:      #ffffff;   /* page background                         */

    /* ---------- SOFT SECTION TINTS (playful, never muddy) ---------- */
    --sky:       #e9f6fd;
    --sun:       #fff5db;
    --mint:      #edf7e1;
    --blush:     #fdedf4;
    --lilac:     #f0ecfb;

    /* soft companions for icon chips / badges */
    --blue-soft:   #e2f3fc;
    --orange-soft: #ffeed3;
    --green-soft:  #eaf5d9;
    --pink-soft:   #fde6f0;
    --purple-soft: #ece5f8;
    --yellow-soft: #fff3cf;

    /* ---------- TYPOGRAPHY ---------- */
    --font-head: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-body: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;

    /* ---------- RADII (rounded & friendly) ---------- */
    --r-sm:   0.7rem;
    --r-md:   1rem;
    --r-lg:   1.5rem;      /* cards */
    --r-xl:   2rem;        /* big panels */
    --r-pill: 9999px;

    /* ---------- SHADOWS (soft, slightly colour-tinted) ---------- */
    --shadow-sm:  0 2px 6px rgb(34 60 71 / 0.06), 0 10px 24px -14px rgb(34 60 71 / 0.16);
    --shadow-md:  0 4px 12px rgb(34 60 71 / 0.08), 0 22px 44px -20px rgb(34 60 71 / 0.24);
    --shadow-lg:  0 8px 20px rgb(34 60 71 / 0.10), 0 40px 80px -30px rgb(34 60 71 / 0.30);

    --container: 76rem;
    --gutter: 1.5rem;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 7.5rem; -webkit-text-size-adjust: 100%; }
body {
    margin: 0; font-family: var(--font-body);
    font-size: 1.02rem; line-height: 1.65; color: var(--ink-soft);
    background: var(--page); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--blue-soft); color: var(--blue-dark); }
::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: #eef4f6; }
::-webkit-scrollbar-thumb { background: #c7dbe4; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 0.75rem; top: -3rem; z-index: 200; background: var(--blue); color: #fff; padding: 0.6rem 1rem; border-radius: var(--r-sm); transition: top .15s ease; font-weight: 800; }
.skip-link:focus { top: 0.75rem; }

/* ---------- Typography (chunky, friendly, playful) ---------- */
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); font-weight: 800; margin: 0; text-wrap: balance; line-height: 1.15; }
h1 { font-size: clamp(2.2rem, 1.4rem + 3.2vw, 3.4rem); font-weight: 900; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.7rem, 1.25rem + 1.8vw, 2.4rem); font-weight: 900; letter-spacing: -0.005em; }
h3 { font-size: 1.2rem; font-weight: 800; line-height: 1.3; }
h4 { font-size: 1rem; font-weight: 800; }
p  { margin: 0; text-wrap: pretty; }
strong { color: var(--ink); font-weight: 700; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container.narrow, .narrow { max-width: 50rem; margin-left: auto; margin-right: auto; }

.section { padding: 3rem 0; position: relative; }
@media (min-width: 640px) { .section { padding: 4rem 0; } }

/* Colourful section backgrounds — the playful rhythm of the site */
.sec-white { background: var(--paper); }
.sec-sky   { background: var(--sky); }
.sec-sun   { background: var(--sun); }
.sec-mint  { background: var(--mint); }
.sec-blush { background: var(--blush); }
.sec-lilac { background: var(--lilac); }

/* Curved wave divider — each section's colour flows up into the previous one */
.sec-wave { position: absolute; top: -3.2rem; left: 0; width: 100%; height: 3.3rem; display: block; z-index: 1; }
/* The next section's wave rises 3.2rem into this one — keep its text clear of the wave. */
main > section:has(+ section > .sec-wave) { padding-bottom: 5rem; }
@supports not selector(:has(*)) { main > section { padding-bottom: 5rem; } }
.section > .container { position: relative; z-index: 2; }

/* Light decorative doodles — a few small shapes tucked into section corners.
   They sit BEHIND content (z-index 0) so text is never obscured, and are
   hidden on narrow screens so they never crowd the layout. */
.sec-doodle { position: absolute; z-index: 0; pointer-events: none; opacity: 0.5;
    display: none; animation: doodleBob 7s ease-in-out infinite; }
.sec-doodle svg { display: block; width: 100%; height: auto; }
@media (min-width: 992px) { .sec-doodle { display: block; } }
.dd-tr { top: 1.7rem;    right: 1.6rem; width: 2.9rem; animation-delay: 0s; }
.dd-bl { bottom: 2.1rem; left: 1.8rem;  width: 2.7rem; animation-delay: .6s; }
.dd-tl { top: 2rem;      left: 1.6rem;  width: 2.5rem; animation-delay: 1.1s; }
.dd-br { bottom: 1.9rem; right: 2rem;   width: 3.3rem; animation-delay: 1.6s; }
@keyframes doodleBob { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-7px) rotate(3deg); } }

/* Section headers */
.section-head { max-width: 46rem; margin-bottom: 2.25rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head .lead { margin-top: 0.85rem; font-size: 1.1rem; line-height: 1.6; color: var(--ink-soft); }

/* Eyebrow — bright, friendly pill that pops on coloured sections */
.eyebrow {
    display: inline-flex; align-items: center; gap: 0.5rem;
    font-size: 0.9rem; font-weight: 800; color: var(--blue-dark);
    background: #fff; border: 2px solid var(--blue-soft);
    border-radius: var(--r-pill); padding: 0.35rem 0.9rem; margin-bottom: 1rem; line-height: 1.1;
    box-shadow: var(--shadow-sm);
}
.eyebrow-dot::before { content: ""; flex: none; width: 0.55rem; height: 0.55rem; border-radius: var(--r-pill); background: var(--orange); }
.section-head.center .eyebrow { justify-content: center; }

/* ---------- Buttons (rounded pills, colourful) ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
    border-radius: var(--r-pill); font-family: var(--font-head); font-weight: 800;
    border: 2px solid transparent; cursor: pointer; white-space: nowrap;
    height: 2.85rem; padding: 0 1.4rem; font-size: 0.95rem;
    transition: transform .16s ease, box-shadow .16s ease, background-color .16s ease, color .16s ease, border-color .16s ease;
}
.btn-lg { height: 3.35rem; padding: 0 1.9rem; font-size: 1.05rem; }
.btn svg { width: 1.15em; height: 1.15em; }

.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 10px 20px -8px rgb(247 148 29 / 0.55); }
.btn-primary:hover { background: var(--orange-dark); transform: translateY(-2px); box-shadow: 0 14px 26px -8px rgb(247 148 29 / 0.6); }

.btn-secondary { background: #fff; color: var(--blue-dark); border-color: var(--blue); }
.btn-secondary:hover { background: var(--blue); color: #fff; transform: translateY(-2px); }

.btn-blue { background: var(--blue); color: #fff; box-shadow: 0 10px 20px -8px rgb(31 158 214 / 0.5); }
.btn-blue:hover { background: var(--blue-dark); transform: translateY(-2px); }

.btn:focus-visible, a:focus-visible, summary:focus-visible, .nav-trigger:focus-visible, input:focus-visible, textarea:focus-visible {
    outline: 3px solid var(--yellow); outline-offset: 2px; border-radius: var(--r-sm);
}

/* ---------- Cards ---------- */
.card {
    background: var(--paper); border: 1px solid var(--line);
    border-radius: var(--r-lg); box-shadow: var(--shadow-sm);
    padding: 1.6rem;
}
@media (min-width: 640px) { .card { padding: 1.85rem; } }
.card-interactive { transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease; }
.card-interactive:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.card h3 { margin-top: 0.15rem; }
.card p { margin-top: 0.55rem; color: var(--ink-soft); font-size: 1rem; line-height: 1.6; }

/* Icon chips — bright, round, playful. Colours rotate across a grid. */
.icon-tile {
    width: 3.1rem; height: 3.1rem; flex: none; display: inline-flex;
    align-items: center; justify-content: center; border-radius: var(--r-pill);
    background: var(--blue-soft); color: var(--blue); margin-bottom: 1rem;
}
.icon-tile svg { width: 1.6rem; height: 1.6rem; }
.tile-teal, .tile-blue   { background: var(--blue-soft);   color: var(--blue); }
.tile-amber, .tile-orange{ background: var(--orange-soft); color: var(--orange-dark); }
.tile-coral, .tile-pink  { background: var(--pink-soft);   color: var(--red); }
.tile-green  { background: var(--green-soft);  color: var(--green-dark); }
.tile-purple { background: var(--purple-soft); color: var(--purple); }
/* auto-rotate colours when no explicit tile-* class is given */
.feature-grid > .card:nth-child(5n+1) .icon-tile:not([class*="tile-"]) { background: var(--blue-soft);   color: var(--blue); }
.feature-grid > .card:nth-child(5n+2) .icon-tile:not([class*="tile-"]) { background: var(--orange-soft); color: var(--orange-dark); }
.feature-grid > .card:nth-child(5n+3) .icon-tile:not([class*="tile-"]) { background: var(--green-soft);  color: var(--green-dark); }
.feature-grid > .card:nth-child(5n+4) .icon-tile:not([class*="tile-"]) { background: var(--pink-soft);   color: var(--red); }
.feature-grid > .card:nth-child(5n+5) .icon-tile:not([class*="tile-"]) { background: var(--purple-soft); color: var(--purple); }

/* Small pill badge */
.badge { display: inline-flex; align-items: center; border-radius: var(--r-pill); padding: 0.25rem 0.8rem; font-size: 0.8rem; font-weight: 800; background: var(--blue-soft); color: var(--blue-dark); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgb(255 255 255 / 0.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--sky);
}
.header-inner { max-width: var(--container); margin: 0 auto; padding: 0.45rem var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; }
.brand-logo { height: 3.9rem; width: auto; }
@media (min-width: 640px) { .brand-logo { height: 5.5rem; } }

.nav { display: none; align-items: center; gap: 1.1rem; }
.nav > a, .nav-trigger {
    font-family: var(--font-head); font-size: 0.98rem; font-weight: 800; color: var(--ink);
    background: none; border: 0; padding: 0.5rem 0.25rem; cursor: pointer;
    display: inline-flex; align-items: center; gap: 0.25rem; white-space: nowrap; position: relative;
    transition: color .15s ease;
}
.nav > a::after, .nav-trigger::after {
    content: ""; position: absolute; left: 0.25rem; right: 0.25rem; bottom: 0.15rem; height: 3px;
    border-radius: 3px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .18s ease;
}
.nav > a:hover, .nav-trigger:hover { color: var(--blue); }
.nav > a:hover::after, .nav-item.has-menu:hover .nav-trigger::after, .nav > a[aria-current="page"]::after, .nav-trigger[aria-current="page"]::after { transform: scaleX(1); }
.nav > a[aria-current="page"], .nav-trigger[aria-current="page"] { color: var(--blue); }
.header-actions { display: none; align-items: center; gap: 0.8rem; }
@media (min-width: 1024px) { .nav, .header-actions { display: flex; } }

/* Dropdowns */
.nav-item.has-menu { position: relative; }
.caret { width: 0.8rem; height: 0.8rem; transition: transform .2s ease; }
.dropdown {
    position: absolute; top: calc(100% + 0.5rem); left: 50%; transform: translateX(-50%) translateY(6px);
    min-width: 15rem; background: #fff; border: 2px solid var(--sky); border-radius: var(--r-md);
    box-shadow: var(--shadow-md); padding: 0.5rem; display: flex; flex-direction: column; gap: 0.1rem;
    opacity: 0; visibility: hidden; transition: opacity .18s ease, transform .18s ease;
}
.nav-item.has-menu::after { content: ""; position: absolute; top: 100%; left: 0; right: 0; height: 0.6rem; }
.nav-item.has-menu:hover .dropdown, .nav-item.has-menu:focus-within .dropdown, .nav-item.has-menu.open .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.nav-item.has-menu:hover .caret, .nav-item.has-menu:focus-within .caret, .nav-item.has-menu.open .caret { transform: rotate(180deg); }
.dropdown a { font-family: var(--font-head); font-size: 0.94rem; font-weight: 700; color: var(--ink-soft); padding: 0.6rem 0.75rem; border-radius: var(--r-sm); transition: background .15s ease, color .15s ease; }
.dropdown a:hover { background: var(--sky); color: var(--blue-dark); }

.lang-switch { display: inline-flex; align-items: center; justify-content: center; min-width: 2.5rem; height: 2.5rem; padding: 0 0.6rem; border: 2px solid var(--sky); border-radius: var(--r-pill); font-family: var(--font-head); font-size: 0.85rem; font-weight: 800; color: var(--blue-dark); background: #fff; transition: background .15s ease, border-color .15s; }
.lang-switch:hover { background: var(--sky); border-color: var(--blue); }

/* Mobile toggle + panel */
.menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 2.9rem; height: 2.9rem; border-radius: var(--r-md); border: 2px solid var(--sky); background: #fff; color: var(--blue); cursor: pointer; }
.menu-toggle:hover { background: var(--sky); }
.menu-toggle svg { width: 1.45rem; height: 1.45rem; }
.menu-toggle .icon-close { display: none; }
.menu-toggle.open .icon-open { display: none; }
.menu-toggle.open .icon-close { display: block; }
@media (min-width: 1024px) { .menu-toggle { display: none; } .mobile-panel, .mobile-panel.open { display: none; } }

.mobile-panel { display: none; border-top: 2px solid var(--sky); padding: 1rem var(--gutter) 1.5rem; background: #fff; max-height: calc(100vh - 5rem); overflow-y: auto; }
.mobile-panel.open { display: block; }
.mobile-panel nav { display: flex; flex-direction: column; gap: 0.1rem; }
.mobile-panel nav > a, .mobile-parent { font-family: var(--font-head); font-size: 1.05rem; font-weight: 800; color: var(--ink); padding: 0.7rem 0.6rem; border-radius: var(--r-sm); }
.mobile-panel nav > a:hover, .mobile-parent:hover { background: var(--sky); color: var(--blue-dark); }
.mobile-group-label { font-family: var(--font-head); font-size: 0.85rem; font-weight: 800; color: var(--orange-dark); padding: 1rem 0.6rem 0.35rem; }
.mobile-panel nav a.mobile-sub { font-size: 0.98rem; font-weight: 700; color: var(--ink-soft); padding: 0.55rem 0.6rem 0.55rem 1.4rem; border-radius: var(--r-sm); position: relative; }
.mobile-panel nav a.mobile-sub::before { content: ""; position: absolute; left: 0.7rem; top: 50%; transform: translateY(-50%); width: 0.35rem; height: 0.35rem; border-radius: var(--r-pill); background: var(--orange); }
.mobile-panel nav a.mobile-sub:hover { background: var(--sky); }
.mobile-panel-foot { display: flex; gap: 0.6rem; align-items: center; margin-top: 1rem; }
.mobile-panel-foot .btn { flex: 1; }
.lang-switch-m { flex: 1; text-align: center; padding: 0.75rem; border: 2px solid var(--sky); border-radius: var(--r-pill); font-family: var(--font-head); font-weight: 800; color: var(--blue-dark); }

/* ============================================================
   HERO — full-width slider (faithful recreation of the original)
   3 slides of cut-out kids + faint icon-doodles on soft gradients.
   ============================================================ */
.hero-slider { position: relative; width: 100%; aspect-ratio: 1240 / 560; max-height: 40rem;
    overflow: hidden; background: var(--sky); }
.rslides { position: absolute; inset: 0; }
.rslide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease;
    background-repeat: repeat-x; background-size: auto 100%; background-position: center top; }
.rslide.is-active { opacity: 1; }
.rlayer { position: absolute; display: block; }
.rs-kid { width: auto; filter: drop-shadow(0 10px 12px rgb(34 60 71 / 0.16)); }
.rs-icon { height: auto; opacity: 0.85; }
/* controls */
.rs-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 6;
    width: 2.9rem; height: 2.9rem; border-radius: 50%; border: 0; background: rgb(255 255 255 / 0.9);
    color: var(--blue); font-family: var(--font-head); font-size: 1.8rem; font-weight: 900; line-height: 1;
    cursor: pointer; box-shadow: var(--shadow-sm); display: flex; align-items: center; justify-content: center;
    transition: background .15s ease, color .15s ease; }
.rs-arrow:hover { background: var(--blue); color: #fff; }
.rs-prev { left: 1rem; padding-right: 3px; } .rs-next { right: 1rem; padding-left: 3px; }
.rs-dots { position: absolute; bottom: 1.1rem; left: 50%; transform: translateX(-50%); z-index: 6; display: flex; gap: 0.5rem; }
.rs-dot { width: 0.8rem; height: 0.8rem; border-radius: 50%; border: 2px solid #fff; background: rgb(255 255 255 / 0.55);
    cursor: pointer; padding: 0; box-shadow: var(--shadow-sm); transition: background .2s ease, transform .2s ease; }
.rs-dot.is-active { background: var(--orange); border-color: #fff; transform: scale(1.2); }
/* anniversary badge, repositioned onto the banner */
.hero-anniv { position: absolute; z-index: 6; right: 1.4rem; top: 1.2rem; display: inline-flex; align-items: center; gap: 0.35rem;
    background: var(--orange); color: #fff; border-radius: var(--r-pill); padding: 0.5rem 0.95rem;
    font-family: var(--font-head); font-weight: 900; font-size: 0.9rem; box-shadow: var(--shadow-md);
    transform: rotate(5deg); border: 3px solid #fff; }
.hero-trust { padding: 1.6rem 0; }
/* Mobile: a taller banner with only the primary cut-out kid, centred */
@media (max-width: 720px) {
    .hero-slider { aspect-ratio: 1 / 1; max-height: 24rem; }
    .rslide .rs-icon, .rslide .rs-kid { display: none; }
    .rslide .rs-primary { display: block; left: 50% !important; right: auto !important; bottom: 0;
        transform: translateX(-50%); height: 92% !important; }
    .rs-arrow { width: 2.4rem; height: 2.4rem; font-size: 1.4rem; }
    .hero-anniv { font-size: 0.8rem; padding: 0.4rem 0.8rem; right: 0.8rem; top: 0.8rem; }
}
@media (prefers-reduced-motion: reduce) { .rslide { transition: none; } }

/* ---------- Trust bar (colourful chips) ---------- */
.trustbar { margin-top: 2.75rem; }
.trustbar-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.trust-item { background: #fff; border: 2px solid var(--sky); border-radius: var(--r-md); padding: 1.15rem 1.1rem; text-align: center; box-shadow: var(--shadow-sm); }
.trust-item:nth-child(2) { border-color: var(--orange-soft); }
.trust-item:nth-child(3) { border-color: var(--green-soft); }
.trust-item:nth-child(4) { border-color: var(--pink-soft); }
.trust-num { display: block; font-family: var(--font-head); font-weight: 900; font-size: 1.02rem; color: var(--ink); }
.trust-label { display: block; margin-top: 0.25rem; font-size: 0.85rem; font-weight: 600; color: var(--muted); line-height: 1.4; }
@media (max-width: 800px) { .trustbar-inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 400px) { .trustbar-inner { grid-template-columns: 1fr; } }

/* ============================================================
   FEATURE GRIDS
   ============================================================ */
.feature-grid { display: grid; gap: 1.25rem; }
@media (min-width: 700px) { .feature-grid.cols-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 700px) and (max-width: 899px) { .feature-grid.cols-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .feature-grid.cols-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 620px) and (max-width: 999px) { .feature-grid.cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .feature-grid.cols-4 { grid-template-columns: repeat(4, 1fr); } }
.about-cards { max-width: 60rem; margin: 0 auto; }
.pillar { text-align: center; }
.pillar .icon-tile { margin-left: auto; margin-right: auto; width: 3.5rem; height: 3.5rem; }
.pillar .icon-tile svg { width: 1.8rem; height: 1.8rem; }

/* ============================================================
   CLASSES — colourful "stations on a journey"
   ============================================================ */
.classes-track { position: relative; display: grid; gap: 1.25rem; }
@media (min-width: 620px) and (max-width: 999px) { .classes-track { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .classes-track { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1000px) { .classes-track::before { content: ""; position: absolute; top: 2.6rem; left: 9%; right: 9%; z-index: 0; border-top: 4px dotted var(--blue); opacity: 0.35; } }
.class-card { position: relative; z-index: 1; text-align: center; text-decoration: none; display: flex; flex-direction: column; align-items: center; border-top: 5px solid var(--blue); }
.classes-track > .class-card:nth-child(2) { border-top-color: var(--orange); }
.classes-track > .class-card:nth-child(3) { border-top-color: var(--green); }
.classes-track > .class-card:nth-child(4) { border-top-color: var(--pink); }
.age-badge { display: inline-flex; align-items: center; justify-content: center; padding: 0.35rem 0.9rem; border-radius: var(--r-pill); background: var(--blue); color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 0.85rem; margin-bottom: 0.85rem; }
.classes-track > .class-card:nth-child(2) .age-badge { background: var(--orange); }
.classes-track > .class-card:nth-child(3) .age-badge { background: var(--green); }
.classes-track > .class-card:nth-child(4) .age-badge { background: var(--pink); color: var(--ink); }
.class-card h3 { color: var(--ink); }
.class-card p { margin-top: 0.5rem; font-size: 0.98rem; line-height: 1.5; }
.class-cap { display: inline-flex; align-items: center; gap: 0.35rem; margin-top: 0.7rem; font-family: var(--font-head); font-size: 0.82rem; font-weight: 800; color: var(--muted); }
.class-cap svg { width: 1rem; height: 1rem; color: var(--green); }
.card-link { display: inline-flex; align-items: center; gap: 0.35rem; margin-top: auto; padding-top: 0.9rem; font-family: var(--font-head); font-size: 0.92rem; font-weight: 800; color: var(--blue); transition: gap .18s ease; }
.card-link svg { width: 1rem; height: 1rem; }
a.card:hover .card-link, .hub-card:hover .card-link { gap: 0.65rem; }

/* Hub cards */
.hub-card { display: flex; flex-direction: column; text-decoration: none; }
.hub-card h3 { color: var(--ink); }
.hub-card p { flex: 1; }

/* ============================================================
   GALLERY
   ============================================================ */
.gallery { display: grid; gap: 1.1rem; grid-template-columns: 1fr; }
@media (min-width: 620px) { .gallery { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; } }
@media (min-width: 940px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
.gallery-item { padding: 0; margin: 0; border: 4px solid #fff; cursor: zoom-in; background: #fff; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); aspect-ratio: 4 / 3; position: relative; transition: box-shadow .2s ease, transform .2s ease; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery-item::after { content: ""; position: absolute; inset: 0; z-index: 1; background: var(--blue); opacity: 0; mix-blend-mode: multiply; transition: opacity .3s ease; pointer-events: none; }
.gallery > .gallery-item:nth-child(4n+2)::after { background: var(--orange); }
.gallery > .gallery-item:nth-child(4n+3)::after { background: var(--green); }
.gallery > .gallery-item:nth-child(4n+4)::after { background: var(--pink); }
.gallery-item:hover { box-shadow: var(--shadow-md); transform: translateY(-4px) rotate(-0.5deg); }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item:hover::after { opacity: 0.25; }
.gallery-caption { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 1.4rem 0.9rem 0.8rem; text-align: left; font-family: var(--font-head); font-size: 0.88rem; font-weight: 800; color: #fff; background: linear-gradient(to top, rgb(20 40 48 / 0.78), transparent); }
.section-cta { margin-top: 1.9rem; text-align: center; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
/* Single auto-scrolling row (marquee). JS duplicates the track for a seamless
   loop; pauses on hover, stops for reduced-motion. Full-bleed width. */
.reviews-marquee { width: 100%; overflow: hidden; padding: 0.6rem 0;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
            mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent); }
.reviews-track { display: flex; gap: 1.25rem; width: max-content; padding-left: 1.25rem; align-items: stretch; animation: marquee 95s linear infinite; }
.reviews-track:hover { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.review-card { flex: none; width: 23rem; display: flex; flex-direction: column; gap: 0.7rem; padding: 1.5rem; border-top: 5px solid var(--yellow); position: relative; overflow: hidden; }
.review-card > * { position: relative; z-index: 1; }
.review-card::before { content: "\201C"; position: absolute; z-index: 0; top: -0.4rem; right: 0.9rem; font-family: Georgia, "Times New Roman", serif; font-size: 4.5rem; line-height: 1; color: var(--yellow); opacity: 0.35; }
.reviews-track > .review-card:nth-child(4n+2) { border-top-color: var(--green); }
.reviews-track > .review-card:nth-child(4n+3) { border-top-color: var(--blue); }
.reviews-track > .review-card:nth-child(4n+4) { border-top-color: var(--pink); }
.reviews-track > .review-card:nth-child(4n+2)::before { color: var(--green); }
.reviews-track > .review-card:nth-child(4n+3)::before { color: var(--blue); }
.reviews-track > .review-card:nth-child(4n+4)::before { color: var(--pink); }
.review-stars { color: var(--yellow); font-size: 1rem; letter-spacing: 0.08em; line-height: 1; }
.review-card blockquote { margin: 0; color: var(--ink); line-height: 1.5; font-size: 0.98rem; font-weight: 600; }
.review-foot { display: flex; align-items: center; gap: 0.6rem; margin-top: auto; padding-top: 0.2rem; }
.review-avatar { width: 2.3rem; height: 2.3rem; flex: none; border-radius: var(--r-pill); background: var(--blue); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 900; font-size: 0.95rem; }
.reviews-track > .review-card:nth-child(4n+2) .review-avatar { background: var(--green); }
.reviews-track > .review-card:nth-child(4n+3) .review-avatar { background: var(--blue); }
.reviews-track > .review-card:nth-child(4n+4) .review-avatar { background: var(--pink); color: var(--ink); }
.review-name { font-family: var(--font-head); font-size: 0.92rem; font-weight: 800; color: var(--ink); }
@media (prefers-reduced-motion: reduce) { .reviews-marquee { mask-image: none; -webkit-mask-image: none; } .reviews-track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; } }

/* ============================================================
   FAQ / ACCORDION (rules + faq)
   ============================================================ */
.faq-list { max-width: 48rem; margin: 0 auto; display: flex; flex-direction: column; gap: 0.85rem; }
.faq-item { background: #fff; border: 2px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-sm); padding: 0.3rem 1.4rem; transition: border-color .2s ease; }
.faq-item[open] { border-color: var(--blue); }
.faq-item summary { list-style: none; cursor: pointer; padding: 1rem 0; font-family: var(--font-head); font-weight: 800; font-size: 1.06rem; color: var(--ink); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; flex: none; width: 1.7rem; height: 1.7rem; border-radius: var(--r-pill); background: var(--blue-soft); color: var(--blue); display: inline-flex; align-items: center; justify-content: center; font-size: 1.2rem; font-weight: 900; transition: transform .2s ease, background .2s ease, color .2s; }
.faq-item[open] summary::after { content: "−"; background: var(--blue); color: #fff; }
.faq-item p, .faq-body p { color: var(--ink-soft); line-height: 1.65; font-size: 1rem; }
.faq-item > p { padding: 0 0 1.1rem; }
.faq-body { padding: 0 0 1.1rem; }
.faq-body p { margin-top: 0.6rem; }
.faq-body p:first-child { margin-top: 0; }

/* ============================================================
   PROSE / CHECKLIST / TEAM / DEPT / TABLE / VIDEO / SCHEDULE
   ============================================================ */
/* Article prose flows on white; consecutive prose blocks read as one article */
.prose-section { padding: 1.25rem 0; }
.prose-section + .prose-section { padding-top: 0; }
.prose-section + .prose-section .prose p:first-child { margin-top: 1rem; }
.page-hero + .prose-section { padding-top: 2rem; }
.prose-section .prose h2 { margin-top: 0.5rem; }
.prose p { margin-top: 1rem; color: var(--ink-soft); line-height: 1.75; font-size: 1.06rem; }
.prose p:first-child { margin-top: 0; }
.prose h2 { margin-top: 0.3rem; }
.prose em { color: var(--muted); font-style: italic; }
.prose-head { max-width: 50rem; margin: 0 auto 0.5rem; }
.prose-head h2 { margin-bottom: 0.4rem; }

.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.8rem; }
.checklist li { display: flex; gap: 0.75rem; align-items: flex-start; color: var(--ink-soft); line-height: 1.5; font-size: 1rem; }
.checklist .check { flex: none; width: 1.7rem; height: 1.7rem; border-radius: var(--r-pill); background: var(--green); color: #fff; display: inline-flex; align-items: center; justify-content: center; margin-top: 0.05rem; }
.checklist .check svg { width: 1rem; height: 1rem; }
.bullets { padding-left: 1.1rem; color: var(--ink-soft); line-height: 1.65; }
.bullets li { margin-top: 0.4rem; }

.team-grid { align-items: stretch; }
.team-card { display: flex; flex-direction: column; border-top: 5px solid var(--blue); }
.feature-grid.team-grid > .team-card:nth-child(3n+2) { border-top-color: var(--orange); }
.feature-grid.team-grid > .team-card:nth-child(3n+3) { border-top-color: var(--green); }
.team-top { display: flex; align-items: center; gap: 0.9rem; margin-bottom: 0.9rem; }
.team-avatar { width: 3rem; height: 3rem; flex: none; border-radius: var(--r-pill); background: var(--blue); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 900; font-size: 1.2rem; }
.feature-grid.team-grid > .team-card:nth-child(3n+2) .team-avatar { background: var(--orange); }
.feature-grid.team-grid > .team-card:nth-child(3n+3) .team-avatar { background: var(--green); }
.team-card h3 { font-size: 1.1rem; }
.team-role { font-family: var(--font-head); font-size: 0.85rem; font-weight: 800; color: var(--blue); }
.team-card p { margin-top: 0; font-size: 1rem; line-height: 1.6; }

/* Storytelling timeline (About → our story) */
.story { max-width: 52rem; margin: 0 auto; display: flex; flex-direction: column; gap: 1.75rem; }
.story-item { display: grid; grid-template-columns: 4.5rem 1fr; gap: 1.1rem; align-items: start; position: relative; }
@media (min-width: 640px) { .story-item { grid-template-columns: 5.5rem 1fr; gap: 1.5rem; } }
.story-item:not(:last-child)::before { content: ""; position: absolute; left: 2.25rem; top: 5rem; bottom: -1.9rem; border-left: 3px dotted var(--line); }
@media (min-width: 640px) { .story-item:not(:last-child)::before { left: 2.75rem; top: 6rem; } }
.story-year { width: 4.5rem; height: 4.5rem; flex: none; border-radius: var(--r-pill); display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-md); position: relative; z-index: 1; }
@media (min-width: 640px) { .story-year { width: 5.5rem; height: 5.5rem; } }
.story-year span { font-family: var(--font-head); font-weight: 900; font-size: 1.15rem; color: #fff; }
@media (min-width: 640px) { .story-year span { font-size: 1.4rem; } }
.story-blue { background: var(--blue); } .story-orange { background: var(--orange); }
.story-green { background: var(--green); } .story-pink { background: var(--pink); }
.story-pink span { color: var(--ink); }
.story-body { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); padding: 1.4rem 1.5rem; border-top: 5px solid var(--blue); }
.story-item:nth-child(2) .story-body { border-top-color: var(--orange); }
.story-item:nth-child(3) .story-body { border-top-color: var(--green); }
.story-body h3 { font-size: 1.25rem; }
.story-role { display: inline-block; margin-top: 0.15rem; font-family: var(--font-head); font-size: 0.9rem; font-weight: 800; color: var(--blue); }
.story-item:nth-child(2) .story-role { color: var(--orange-dark); }
.story-body p { margin-top: 0.85rem; color: var(--ink-soft); font-size: 1.05rem; line-height: 1.7; }

.dept-layout { display: grid; gap: 1.5rem; align-items: start; }
@media (min-width: 860px) { .dept-layout { grid-template-columns: 1.7fr 1fr; gap: 2.5rem; } }
.dept-main .checklist { margin-top: 0; }
.dept-main .section-head.center { text-align: left; margin-left: 0; margin-bottom: 1.3rem; }
.dept-info { padding: 1.5rem; position: sticky; top: 7.5rem; border: none; background: var(--blue); color: #fff; }
.dept-info .di-row { display: flex; justify-content: space-between; gap: 1rem; padding: 0.85rem 0; border-bottom: 1px solid rgb(255 255 255 / 0.25); }
.dept-info .di-row:last-child { border-bottom: 0; }
.di-k { color: rgb(255 255 255 / 0.85); font-size: 0.95rem; font-weight: 600; }
.di-v { font-family: var(--font-head); font-weight: 800; color: #fff; font-size: 1rem; text-align: right; }

.stats-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; max-width: 32rem; margin: 2rem auto 0; }
.stat { text-align: center; background: #fff; border: 2px solid var(--sky); border-radius: var(--r-md); box-shadow: var(--shadow-sm); padding: 1.4rem 1rem; }
.stat-num { display: block; font-family: var(--font-head); font-weight: 900; font-size: 2rem; color: var(--blue); }
.stat-label { display: block; margin-top: 0.2rem; font-size: 0.92rem; color: var(--muted); font-weight: 700; }

.table-wrap { overflow-x: auto; border-radius: var(--r-lg); border: 2px solid var(--line); box-shadow: var(--shadow-sm); background: #fff; }
.timetable { width: 100%; border-collapse: collapse; min-width: 40rem; }
.timetable th, .timetable td { padding: 0.85rem 1rem; text-align: left; vertical-align: top; font-size: 0.95rem; }
.timetable thead th { background: var(--blue); color: #fff; font-family: var(--font-head); font-weight: 800; }
.timetable thead th:first-child { border-top-left-radius: var(--r-lg); }
.timetable thead th:last-child { border-top-right-radius: var(--r-lg); }
.timetable tbody th { background: var(--sky); color: var(--ink); font-family: var(--font-head); font-weight: 800; white-space: nowrap; }
.timetable tbody tr + tr th, .timetable tbody tr + tr td { border-top: 1px solid var(--line); }
.timetable td { color: var(--ink-soft); border-left: 1px solid var(--line); }
.tt-time { display: block; font-weight: 600; font-size: 0.78rem; color: var(--muted); margin-top: 0.15rem; }
.tt-note { text-align: center; margin-top: 1.25rem; color: var(--ink-soft); font-size: 1rem; font-weight: 700; }

.schedule-figure { margin: 0 auto; max-width: 52rem; padding: 0.85rem; border: 4px solid #fff; }
.schedule-figure img { width: 100%; height: auto; border-radius: var(--r-md); }
.video-embed { position: relative; max-width: 52rem; margin: 0 auto; aspect-ratio: 16 / 9; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-md); border: 4px solid #fff; background: #000; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ============================================================
   NEWSLETTER (bright, modern block)
   ============================================================ */
.newsletter { display: grid; gap: 1.5rem; align-items: center; background: linear-gradient(120deg, var(--blue), #34b0e2); color: #fff; border-radius: var(--r-xl); box-shadow: var(--shadow-md); padding: 1.9rem; position: relative; overflow: hidden; }
@media (min-width: 820px) { .newsletter { grid-template-columns: 1.15fr 1fr; gap: 2rem; padding: 2.4rem 2.6rem; } }
.newsletter::before { content: ""; position: absolute; right: -3rem; top: -3rem; width: 12rem; height: 12rem; border-radius: var(--r-pill); background: rgb(255 255 255 / 0.14); }
.newsletter::after { content: ""; position: absolute; left: -2rem; bottom: -3rem; width: 9rem; height: 9rem; border-radius: var(--r-pill); background: var(--yellow); opacity: 0.35; }
.newsletter-copy { position: relative; z-index: 1; }
.newsletter-copy .eyebrow { background: rgb(255 255 255 / 0.2); border-color: transparent; color: #fff; box-shadow: none; }
.newsletter-copy h2 { color: #fff; font-size: 1.5rem; }
.newsletter-copy p { margin-top: 0.5rem; color: rgb(255 255 255 / 0.92); font-size: 1rem; line-height: 1.55; }
.newsletter-form { position: relative; z-index: 1; display: flex; gap: 0.6rem; flex-wrap: wrap; }
.newsletter-form input { flex: 1 1 11rem; min-width: 0; height: 3.1rem; padding: 0 1.1rem; border-radius: var(--r-pill); border: 2px solid transparent; background: #fff; font-family: var(--font-body); font-size: 1rem; font-weight: 600; color: var(--ink); }
.newsletter-form input::placeholder { color: var(--muted); }
.newsletter-form .btn { height: 3.1rem; }

/* ============================================================
   CTA BAND (bright, friendly)
   ============================================================ */
.cta-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem; background: linear-gradient(120deg, var(--orange), #ffb04a); color: #fff; border-radius: var(--r-xl); box-shadow: var(--shadow-md); padding: 2rem 2.4rem; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; right: -2.5rem; top: -3rem; width: 12rem; height: 12rem; border-radius: var(--r-pill); background: rgb(255 255 255 / 0.16); }
.cta-band > div { position: relative; z-index: 1; max-width: 42rem; }
.cta-band h2 { color: #fff; font-size: 1.5rem; }
.cta-band p { margin-top: 0.4rem; color: rgb(255 255 255 / 0.95); font-size: 1.02rem; line-height: 1.5; }
.cta-band .btn { position: relative; z-index: 1; background: #fff; color: var(--orange-dark); }
.cta-band .btn:hover { background: var(--ink); color: #fff; }

/* Blog CTA card */
.blog-cta { max-width: 40rem; margin: 0 auto; text-align: center; border-top: 5px solid var(--orange); }
.blog-cta .icon-tile { margin: 0 auto 1rem; width: 3.4rem; height: 3.4rem; }
.blog-cta h2 { font-size: 1.5rem; }
.blog-cta p { margin: 0.6rem 0 1.5rem; color: var(--ink-soft); font-size: 1rem; line-height: 1.6; }

/* ============================================================
   PAGE HERO (interior pages) — colourful, friendly
   ============================================================ */
.page-hero { padding: 2.5rem 0 1.25rem; position: relative;
    background: radial-gradient(42rem 22rem at 12% -30%, var(--sky), transparent 60%), radial-gradient(38rem 20rem at 100% -20%, var(--sun), transparent 58%), var(--paper); }
@media (min-width: 640px) { .page-hero { padding: 3rem 0 1.5rem; } }
.page-hero-head { max-width: 52rem; }
.page-hero h1 { margin-top: 0.6rem; }
.page-hero .lead { margin-top: 0.9rem; font-size: 1.12rem; color: var(--ink-soft); line-height: 1.55; }

/* Breadcrumbs */
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 0.45rem; font-size: 0.85rem; font-weight: 700; color: var(--muted); margin-bottom: 1rem; }
.breadcrumbs a { color: var(--blue); }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs span[aria-current] { color: var(--ink); }
.crumb-sep { color: var(--line); }

/* ============================================================
   CONTACT (modern form)
   ============================================================ */
.contact-layout { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 940px) { .contact-layout { grid-template-columns: 1fr 1.05fr; gap: 2.5rem; } }
.contact-info { display: grid; gap: 1rem; }
@media (min-width: 560px) and (max-width: 939px) { .contact-info { grid-template-columns: repeat(2, 1fr); } }
.contact-card { padding: 1.4rem; }
.contact-card .icon-tile { margin-bottom: 0.75rem; width: 2.7rem; height: 2.7rem; }
.contact-card .icon-tile svg { width: 1.35rem; height: 1.35rem; }
.contact-card h3 { font-size: 1.08rem; }
.contact-card p { margin-top: 0.4rem; color: var(--ink-soft); font-size: 1rem; line-height: 1.55; }
.contact-card a:hover { color: var(--blue); }
.contact-card .muted { color: var(--muted); font-size: 0.88rem; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
@media (min-width: 560px) and (max-width: 939px) { .contact-actions { grid-column: 1 / -1; } }
.contact-actions .btn { flex: 1 1 auto; }
.contact-form { display: flex; flex-direction: column; gap: 0.95rem; border-top: 5px solid var(--blue); }
.field { display: flex; flex-direction: column; gap: 0.35rem; }
.field label { font-family: var(--font-head); font-size: 0.92rem; font-weight: 800; color: var(--ink); }
.field input, .field textarea { width: 100%; padding: 0.75rem 0.95rem; border-radius: var(--r-md); border: 2px solid var(--line); background: #fff; font-family: var(--font-body); font-size: 1rem; font-weight: 500; color: var(--ink); resize: vertical; transition: border-color .15s ease, box-shadow .15s ease; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
.contact-form .btn { margin-top: 0.4rem; }
.contact-form .btn:disabled { opacity: 0.6; cursor: wait; transform: none; }
/* spam trap: invisible to people, filled in by bots */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 0; padding: 0.8rem 1rem; border-radius: var(--r-md); font-weight: 700; line-height: 1.45;
    background: var(--sky); color: var(--blue-dark); }
.form-status.is-ok { background: var(--green-soft); color: var(--green-dark); }
.form-status.is-error { background: var(--orange-soft); color: var(--orange-dark); }
.meal-info { max-width: 52rem; margin: 1.75rem auto 0; background: #fff; border-radius: var(--r-md);
    padding: 1.25rem 1.5rem; box-shadow: var(--shadow-sm); border-left: 5px solid var(--green); }
.meal-info h3 { margin: 0 0 0.45rem; font-size: 1.15rem; }
.meal-info p { margin: 0; color: var(--ink-soft); line-height: 1.6; }
.form-privacy { margin: 0; font-size: 0.85rem; color: var(--muted); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--ink); color: rgb(255 255 255 / 0.82); position: relative; }
.footer-wave { position: absolute; top: -3.3rem; left: 0; width: 100%; height: 3.4rem; line-height: 0; }
.footer-wave svg { width: 100%; height: 100%; display: block; }
.footer-inner { max-width: var(--container); margin: 0 auto; padding: 2.75rem var(--gutter) 1.75rem; position: relative; z-index: 1; }
.footer-grid { display: grid; gap: 2rem; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1.3fr; } }
.footer-logo { height: 6.5rem; width: auto; background: #fff; border-radius: var(--r-md); padding: 0.55rem 0.8rem; box-shadow: var(--shadow-sm); }
.footer-blurb { margin-top: 0.9rem; max-width: 26rem; font-size: 0.96rem; line-height: 1.65; color: rgb(255 255 255 / 0.72); }
.footer-h { font-family: var(--font-head); font-size: 1rem; font-weight: 800; color: #fff; margin-bottom: 0.9rem; }
.footer-col { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col a { font-size: 0.96rem; font-weight: 600; color: rgb(255 255 255 / 0.82); transition: color .15s ease; }
.footer-col a:hover { color: var(--yellow); }
.footer-col p { font-size: 0.96rem; color: rgb(255 255 255 / 0.72); line-height: 1.6; }
/* ESPA banner — centred, large and readable at the bottom of the footer */
.footer-espa-row { margin-top: 2.25rem; padding-top: 1.75rem; border-top: 1px solid rgb(255 255 255 / 0.15); text-align: center; }
.footer-espa-row a { display: inline-block; max-width: 100%; }
.espa-img { width: 100%; max-width: 700px; height: auto; background: #fff; padding: 0.7rem 0.9rem; border-radius: var(--r-md); }
.footer-bottom { margin-top: 1.75rem; padding-top: 1.25rem; border-top: 1px solid rgb(255 255 255 / 0.15); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem; font-size: 0.86rem; color: rgb(255 255 255 / 0.6); }

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; background: rgb(20 40 48 / 0.68); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; pointer-events: none; transition: opacity .3s ease; cursor: zoom-out; }
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox img { max-width: 92vw; max-height: 88vh; border-radius: var(--r-md); border: 5px solid #fff; box-shadow: var(--shadow-lg); transform: scale(.96); transition: transform .3s ease; }
.lightbox.open img { transform: scale(1); }
.lightbox-close { position: absolute; top: 1.25rem; right: 1.5rem; width: 3rem; height: 3rem; border-radius: var(--r-pill); background: #fff; border: 0; color: var(--ink); font-size: 1.6rem; line-height: 1; cursor: pointer; font-weight: 800; }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    html { scroll-behavior: auto; }
    .gallery-item img, .card-interactive, .btn { transition: none; }
    .sec-doodle { animation: none; }
}
