/* ==========================================================
   Good Shepherd Pre School — styles
   Palette: navy ink, sunshine, sky, coral, leaf on warm cream
   ========================================================== */

:root {
  /* brand colours taken from the school logo: navy #0c2a6d, red #d8261d, yellow */
  --ink: #13306b;
  --ink-2: #2a4a8a;
  --text: #24313f;
  --muted: #5d6978;
  --line: #ebe3d3;
  --paper: #ffffff;
  --cream: #fff8ec;

  --sun: #ffc83d;
  --sun-deep: #e8a800;
  --sun-soft: #fff1c9;
  --sky: #2b8fd6;
  --sky-soft: #e3f1fc;
  --coral: #d8261d;
  --coral-soft: #fde1de;
  --leaf: #2fa66a;
  --leaf-soft: #dcf3e6;
  --grape: #7b5cd6;
  --grape-soft: #ece6ff;

  --radius: 24px;
  --radius-sm: 14px;
  --shadow: 0 10px 30px -12px rgba(31, 58, 95, .25);
  --shadow-lg: 0 24px 60px -20px rgba(31, 58, 95, .35);
  --font-head: 'Fredoka', 'Trebuchet MS', system-ui, sans-serif;
  --font-body: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --container: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sky); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.15; margin: 0 0 .5em; font-weight: 600; }
h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--sun-deep); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--sun); color: var(--ink); }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.narrow { max-width: 820px; }
.center { text-align: center; }
.muted { color: var(--muted); font-size: .95rem; }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem; line-height: 1;
  padding: .85em 1.35em; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-lg { font-size: 1.08rem; padding: 1em 1.6em; }
.btn-primary { background: var(--ink); color: #fff; box-shadow: 0 8px 20px -8px rgba(31, 58, 95, .6); }
.btn-primary:hover { background: var(--ink-2); color: #fff; }
.btn-sun { background: var(--sun); color: var(--ink); box-shadow: 0 8px 20px -10px rgba(232, 168, 0, .9); }
.btn-sun:hover { background: #ffd35f; color: var(--ink); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-outline-light { border-color: rgba(255, 255, 255, .7); color: #fff; }
.btn-outline-light:hover { background: #fff; color: var(--ink); }
.btn-ghost { color: var(--ink); background: var(--sky-soft); }
.btn-ghost:hover { background: var(--sky); color: #fff; }
.btn-link { padding: .4em 0; color: var(--ink); border-bottom: 2px solid var(--sun); border-radius: 0; }
.btn-link:hover { transform: none; color: var(--sky); }
.round-btn {
  width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--ink); background: #fff; color: var(--ink);
  font-size: 1.2rem; cursor: pointer; transition: background .15s, color .15s;
}
.round-btn:hover { background: var(--ink); color: #fff; }

/* ---------- announcement ticker ---------- */
.ticker { background: var(--ink); color: #fff; font-size: .92rem; font-weight: 700; overflow: hidden; }
.ticker-track { display: flex; width: max-content; animation: ticker 38s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker ul { display: flex; margin: 0; padding: 0; list-style: none; }
.ticker li { padding: .55em 1.6em; white-space: nowrap; position: relative; }
.ticker li::after { content: '★'; position: absolute; right: -.35em; color: var(--sun); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid transparent; transition: box-shadow .2s, border-color .2s;
}
/* blur lives on a pseudo-element: backdrop-filter on the header itself would trap the fixed mobile menu inside it */
.site-header::before {
  content: ''; position: absolute; inset: 0; z-index: -1; background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
}
.site-header.is-scrolled { box-shadow: 0 6px 24px -14px rgba(31, 58, 95, .35); border-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 20px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.brand-logo { height: 52px; width: auto; max-width: 100%; }
.brand-footer { background: #fff; padding: 12px 16px; border-radius: 16px; }
.brand-footer .brand-logo { height: 48px; }
.brand-mark {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
  background: var(--sun); color: var(--ink); font-family: var(--font-head); font-weight: 700; font-size: 1.1rem;
  box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .08); transform: rotate(-6deg);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-family: var(--font-head); font-size: 1.25rem; font-weight: 700; }
.brand-text small { font-size: .78rem; color: var(--muted); font-weight: 700; letter-spacing: .02em; }
.brand-light { color: #fff; }
.brand-light .brand-text small { color: rgba(255, 255, 255, .7); }

.main-nav { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.main-nav > ul { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.main-nav a, .sub-toggle {
  display: block; padding: .55em .8em; border-radius: 999px; color: var(--ink); text-decoration: none;
  font-weight: 700; font-size: .98rem; background: none; border: 0; font-family: inherit; cursor: pointer;
}
.main-nav a:hover, .sub-toggle:hover { background: var(--sky-soft); color: var(--ink); }
.main-nav a[aria-current="page"] { background: var(--sun-soft); }
.sub-toggle::after { content: ''; display: inline-block; width: 7px; height: 7px; margin-left: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); }
.has-sub { position: relative; }
.sub {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 240px; list-style: none; margin: 0; padding: 8px;
  background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg); border: 1px solid var(--line);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s ease;
}
.sub a { border-radius: 12px; }
.has-sub.open > .sub, .has-sub:focus-within > .sub { opacity: 1; visibility: visible; transform: none; }
@media (hover: hover) and (min-width: 1101px) { .has-sub:hover > .sub { opacity: 1; visibility: visible; transform: none; } }
.header-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 14px; border: 0; background: var(--sky-soft); cursor: pointer; padding: 12px 11px; flex-direction: column; justify-content: space-between; }
.nav-toggle span { display: block; height: 3px; border-radius: 3px; background: var(--ink); transition: .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }

@media (max-width: 1100px) {
  .nav-toggle { display: flex; }
  .header-actions { margin-left: auto; }
  .main-nav {
    position: fixed; inset: calc(var(--header-h) + var(--ticker-h, 0px)) 0 0 0; z-index: 49; background: #fff;
    flex-direction: column; align-items: stretch; padding: 16px var(--gutter) 120px; overflow-y: auto;
    transform: translateX(100%); visibility: hidden; transition: transform .25s ease, visibility .25s;
  }
  .main-nav.open { transform: none; visibility: visible; }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 4px; }
  .main-nav a, .sub-toggle { font-size: 1.15rem; padding: .8em 1em; width: 100%; text-align: left; }
  .sub { position: static; box-shadow: none; border: 0; padding: 0 0 0 16px; display: none; opacity: 1; visibility: visible; transform: none; }
  .has-sub.open > .sub { display: block; }
  .has-sub:focus-within > .sub { display: block; }
  .nav-extra { padding: 12px 1em; }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 560px) {
  .header-actions .btn-sun { display: none; }
  .brand-text strong { font-size: 1.1rem; }
  .brand-logo { height: 40px; }
}

/* ---------- sections ---------- */
.section { padding: clamp(56px, 8vw, 104px) 0; position: relative; }
.section-cream { background: var(--cream); }
.section-sky { background: var(--sky-soft); }
.section-sun { background: var(--sun-soft); }
.section-ink { background: var(--ink); color: #dfe8f3; }
.section-ink h2, .section-ink h3 { color: #fff; }
.section-head { max-width: 760px; margin: 0 auto clamp(32px, 5vw, 52px); text-align: center; }
.section-head p:last-child { color: var(--muted); margin-bottom: 0; }
.row-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; max-width: none; text-align: left; flex-wrap: wrap; }
.eyebrow {
  display: inline-block; font-family: var(--font-head); font-weight: 600; font-size: .9rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--coral); margin-bottom: .7em;
}
.eyebrow-light { color: var(--sun); }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 40em; }

.grid { display: grid; gap: clamp(16px, 2.4vw, 28px); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }
.align-start { align-items: start; }
@media (max-width: 980px) { .grid-4, .grid-5 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(20px, 3vw, 36px); border: 1px solid var(--line); }

/* ---------- hero ---------- */
.hero { padding: clamp(40px, 6vw, 80px) 0 clamp(56px, 8vw, 100px); background: radial-gradient(1200px 500px at 90% 0%, var(--sky-soft), transparent 60%), radial-gradient(900px 500px at -10% 100%, var(--sun-soft), transparent 60%); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero h1 .hl { position: relative; white-space: nowrap; color: var(--ink); }
.hero h1 .hl::after { content: ''; position: absolute; left: -2%; right: -2%; bottom: .06em; height: .32em; background: var(--sun); z-index: -1; border-radius: 6px; transform: rotate(-1deg); }
.hero h1 { position: relative; z-index: 0; }
.pill {
  display: inline-flex; align-items: center; gap: .55em; padding: .45em 1em; border-radius: 999px; background: #fff; border: 1px solid var(--line);
  font-weight: 800; font-size: .92rem; color: var(--ink); box-shadow: 0 6px 18px -12px rgba(31, 58, 95, .5); margin-bottom: 1.2em;
}
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--leaf); box-shadow: 0 0 0 4px var(--leaf-soft); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(47, 166, 106, .12); } }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.6em 0; }
.hero-trust { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-weight: 700; color: var(--ink-2); font-size: .95rem; }
.hero-trust li::before { content: '✓'; display: inline-grid; place-items: center; width: 22px; height: 22px; margin-right: 8px; border-radius: 50%; background: var(--leaf-soft); color: var(--leaf); font-size: .8rem; }

.hero-art { position: relative; aspect-ratio: 1 / .95; }
.hero-photo { position: absolute; margin: 0; overflow: hidden; background: #fff; box-shadow: var(--shadow-lg); border: 6px solid #fff; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo-main { inset: 6% 4% 14% 14%; border-radius: 40px 40px 40px 120px; }
.hero-photo-a { width: 34%; aspect-ratio: 1; left: 0; bottom: 0; border-radius: 50%; }
.hero-photo-b { width: 30%; aspect-ratio: 1; right: 0; top: 0; border-radius: 28px; transform: rotate(6deg); }
.blob { position: absolute; border-radius: 50%; filter: blur(0); }
.blob-sun { width: 44%; aspect-ratio: 1; background: var(--sun); right: -6%; bottom: 2%; opacity: .9; border-radius: 42% 58% 60% 40% / 45% 45% 55% 55%; }
.blob-sky { width: 22%; aspect-ratio: 1; background: var(--sky); left: 6%; top: 2%; opacity: .85; }
.float-badge {
  position: absolute; background: #fff; border-radius: 18px; padding: 10px 16px; box-shadow: var(--shadow); display: flex; flex-direction: column; line-height: 1.1;
}
.float-badge strong { font-family: var(--font-head); font-size: 1.6rem; color: var(--ink); }
.float-badge span { font-size: .82rem; font-weight: 700; color: var(--muted); }
.badge-years { left: 4%; top: 36%; animation: bob 5s ease-in-out infinite; }
.badge-kids { right: 2%; bottom: 20%; animation: bob 6s ease-in-out infinite reverse; }
@keyframes bob { 50% { transform: translateY(-8px); } }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 560px; width: 100%; margin: 0 auto; }
}

/* ---------- stats ---------- */
.stats-strip { margin-top: -40px; position: relative; z-index: 2; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--ink); border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden; }
.stat { padding: 26px 18px; text-align: center; color: #cfdbe8; border-right: 1px solid rgba(255, 255, 255, .1); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-family: var(--font-head); font-size: clamp(1.8rem, 3.5vw, 2.6rem); color: var(--sun); line-height: 1.1; }
.stat span { font-weight: 700; font-size: .95rem; }
@media (max-width: 700px) { .stats { grid-template-columns: repeat(2, 1fr); } .stat:nth-child(2) { border-right: 0; } .stat:nth-child(-n+2) { border-bottom: 1px solid rgba(255, 255, 255, .1); } }

/* ---------- split ---------- */
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split-reverse .split-media { order: 2; }
.rounded-media { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); background: #fff; }
.rounded-media img { width: 100%; height: 100%; object-fit: cover; }
.tilt-left { transform: rotate(-2deg); }
.tilt-right { transform: rotate(2deg); }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split-reverse .split-media { order: 0; }
  .split-media { max-width: 560px; }
}

.checklist { list-style: none; padding: 0; margin: 1.2em 0 1.6em; display: grid; gap: .7em; }
.checklist li { position: relative; padding-left: 36px; }
.checklist li::before { content: '✓'; position: absolute; left: 0; top: .1em; width: 24px; height: 24px; border-radius: 8px; background: var(--sun); color: var(--ink); display: grid; place-items: center; font-weight: 800; font-size: .85rem; }
.checklist.small { font-size: .95rem; gap: .45em; margin: .8em 0 0; }

/* ---------- value cards ---------- */
.value-card { background: #fff; border-radius: var(--radius); padding: 28px 24px; border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .2s; }
.value-card:hover { transform: translateY(-6px); }
.value-card p { color: var(--muted); margin: 0; font-size: .97rem; }
.icon-bubble { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; margin-bottom: 16px; }
.icon-bubble svg { width: 28px; height: 28px; fill: currentColor; }
.c-sun .icon-bubble { background: var(--sun-soft); color: var(--sun-deep); }
.c-sky .icon-bubble { background: var(--sky-soft); color: var(--sky); }
.c-coral .icon-bubble { background: var(--coral-soft); color: var(--coral); }
.c-leaf .icon-bubble { background: var(--leaf-soft); color: var(--leaf); }

/* ---------- program tabs ---------- */
.tab-list { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 28px; }
.tab-list [role="tab"] {
  font-family: var(--font-head); font-size: 1.1rem; font-weight: 600; color: var(--ink); background: #fff; border: 2px solid var(--line);
  border-radius: 20px; padding: 12px 22px; cursor: pointer; display: flex; flex-direction: column; align-items: center; line-height: 1.2; transition: .15s;
}
.tab-list [role="tab"] small { font-family: var(--font-body); font-size: .8rem; font-weight: 700; color: var(--muted); }
.tab-list [role="tab"]:hover { border-color: var(--sky); }
.tab-list [role="tab"][aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.tab-list [role="tab"][aria-selected="true"] small { color: var(--sun); }
.tab-panel { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 56px); align-items: center; background: var(--cream); border-radius: 32px; padding: clamp(18px, 3vw, 32px); }
.tab-panel[hidden] { display: none; }
.tab-panel .meta, .program-body .meta { font-weight: 800; color: var(--coral); margin-bottom: .5em; }
.no-js .tab-list { display: none; }
.no-js .tab-panel[hidden] { display: grid; margin-top: 20px; }
@media (max-width: 760px) { .tab-panel { grid-template-columns: 1fr; } }

/* ---------- features ---------- */
.feature { background: #fff; border-radius: 20px; padding: 24px; border: 1px solid var(--line); position: relative; }
.feature::before { content: ''; display: block; width: 36px; height: 6px; border-radius: 6px; background: var(--sun); margin-bottom: 14px; }
.grid .feature:nth-child(3n+2)::before { background: var(--sky); }
.grid .feature:nth-child(3n)::before { background: var(--coral); }
.feature h3 { font-size: 1.18rem; }
.feature p { color: var(--muted); margin: 0; font-size: .97rem; }

/* ---------- day care band ---------- */
.band { display: grid; grid-template-columns: 1.1fr 1fr; border-radius: 36px; overflow: hidden; }
.band-daycare { background: linear-gradient(135deg, var(--ink) 0%, #27507e 100%); color: #dbe6f2; }
.band-daycare h2 { color: #fff; }
.band-copy { padding: clamp(28px, 5vw, 64px); }
.band-media { margin: 0; min-height: 320px; }
.band-media img { width: 100%; height: 100%; object-fit: cover; }
.chips { list-style: none; padding: 0; margin: 1.2em 0 1.8em; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .2); padding: .35em .9em; border-radius: 999px; font-weight: 700; font-size: .9rem; color: #fff; }
@media (max-width: 860px) { .band { grid-template-columns: 1fr; } .band-media { order: -1; min-height: 240px; } }

/* ---------- safety ---------- */
.safety-list { list-style: none; padding: 0; margin: 1.2em 0 1.6em; display: grid; gap: 10px; }
.safety-list li { display: flex; gap: 14px; align-items: flex-start; background: #fff; padding: 12px 16px; border-radius: 16px; border: 1px solid var(--line); font-weight: 600; }
.safety-list span { font-size: 1.3rem; line-height: 1.3; }

/* ---------- mosaic / gallery ---------- */
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; grid-auto-flow: dense; gap: 14px; }
.mosaic figure { margin: 0; border-radius: 20px; overflow: hidden; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; transition: transform .4s; }
.mosaic figure:hover img { transform: scale(1.05); }
.m-tall { grid-row: span 2; }
.m-wide { grid-column: span 2; }
@media (max-width: 760px) { .mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; } }

.filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 28px; }
.chip-btn { font: 700 .98rem var(--font-body); padding: .55em 1.2em; border-radius: 999px; border: 2px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; }
.chip-btn[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.gallery-grid { list-style: none; padding: 0; margin: 0 0 28px; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.gallery-grid li[hidden] { display: none; }
.g-item { display: block; width: 100%; padding: 0; border: 0; border-radius: 20px; overflow: hidden; cursor: zoom-in; background: var(--cream); aspect-ratio: 1; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.g-item:hover img { transform: scale(1.05); }
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(92vw, 1000px); max-height: 92vh; overflow: visible; }
.lightbox::backdrop { background: rgba(15, 26, 42, .88); }
.lightbox img { max-height: 80vh; width: auto; margin: 0 auto; border-radius: 16px; }
.lightbox-caption { color: #fff; text-align: center; margin: 12px 0 0; font-weight: 700; }
.lightbox-close { position: absolute; top: -18px; right: -18px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; color: var(--ink); font-size: 1.1rem; cursor: pointer; box-shadow: var(--shadow); }

/* ---------- testimonials ---------- */
.testimonials { position: relative; }
.t-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, calc((100% - 48px) / 3)); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px 4px 24px; scrollbar-width: none; }
.t-track::-webkit-scrollbar { display: none; }
.t-card { margin: 0; scroll-snap-align: start; background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); display: flex; flex-direction: column; justify-content: space-between; position: relative; }
.t-card::before { content: '“'; font-family: Georgia, serif; font-size: 5rem; line-height: .6; color: var(--sun); display: block; height: 36px; }
.t-card p { font-size: 1.02rem; }
.t-card footer { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
.avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--sky-soft); color: var(--sky); display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; }
.t-card cite { font-style: normal; font-weight: 800; color: var(--ink); display: flex; flex-direction: column; line-height: 1.2; }
.t-card cite small { color: var(--muted); font-weight: 700; }
.t-controls { display: flex; gap: 10px; justify-content: center; }
@media (max-width: 760px) { .t-track { grid-auto-columns: 86%; } }

/* ---------- steps ---------- */
.steps { list-style: none; padding: 0; margin: 0 0 40px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.steps li { background: #fff; border: 2px dashed var(--line); border-radius: var(--radius); padding: 26px 22px; position: relative; }
.steps p { color: var(--muted); margin: 0; font-size: .97rem; }
.step-no { width: 48px; height: 48px; border-radius: 16px; background: var(--sun); color: var(--ink); display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; margin-bottom: 14px; }
.steps li:nth-child(2) .step-no { background: var(--sky); color: #fff; }
.steps li:nth-child(3) .step-no { background: var(--coral); color: #fff; }
.steps li:nth-child(4) .step-no { background: var(--leaf); color: #fff; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.center-cta { display: flex; flex-wrap: wrap; gap: 16px 24px; justify-content: center; align-items: center; }
.center-cta.stacked { flex-direction: column; text-align: center; }
.center-cta.stacked p { max-width: 560px; color: var(--muted); }
.big-emoji { font-size: 4rem; margin: 0; }

/* ---------- visit ---------- */
.visit { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.timings { display: grid; gap: 10px; margin: 0; }
.timings div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 18px; background: rgba(255, 255, 255, .07); border-radius: 14px; border: 1px solid rgba(255, 255, 255, .12); }
.timings dt { font-weight: 800; color: var(--sun); }
.timings dd { margin: 0; text-align: right; }
.timings-light div { background: #fff; border-color: var(--line); }
.timings-light dt { color: var(--coral); }
@media (max-width: 800px) { .visit { grid-template-columns: 1fr; } }

/* ---------- page banner ---------- */
.page-banner { background: radial-gradient(900px 400px at 100% 0, var(--sky-soft), transparent 60%), var(--cream); padding: clamp(36px, 5vw, 64px) 0; }
.page-banner-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.page-banner-media { margin: 0; border-radius: 32px 32px 32px 100px; overflow: hidden; box-shadow: var(--shadow-lg); border: 6px solid #fff; }
.page-banner-media img { width: 100%; height: 100%; object-fit: cover; }
.page-banner-compact { text-align: left; }
.crumbs { font-size: .9rem; font-weight: 700; color: var(--muted); margin-bottom: 1em; }
.crumbs a { color: var(--muted); }
@media (max-width: 860px) { .page-banner-inner { grid-template-columns: 1fr; } }

/* ---------- leaders ---------- */
.leader { display: grid; grid-template-columns: 320px 1fr; gap: clamp(24px, 5vw, 56px); align-items: start; margin-bottom: clamp(48px, 7vw, 80px); }
.leader-reverse { grid-template-columns: 1fr 320px; }
.leader-reverse .leader-photo { order: 2; }
.leader-photo { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); position: sticky; top: calc(var(--header-h) + 20px); }
.leader h3 { font-size: 1.7rem; display: flex; flex-direction: column; }
.leader h3 small { font-family: var(--font-body); font-size: .95rem; color: var(--coral); font-weight: 800; }
.leader-cred { color: var(--muted); font-weight: 600; }
.leader blockquote { margin: 1.2em 0; padding: 22px 26px; background: var(--cream); border-left: 6px solid var(--sun); border-radius: 0 20px 20px 0; }
.leader blockquote p:last-child { margin: 0; }
.leader-note { color: var(--muted); font-size: .97rem; }
@media (max-width: 820px) { .leader, .leader-reverse { grid-template-columns: 1fr; } .leader-reverse .leader-photo { order: 0; } .leader-photo { position: static; max-width: 320px; } }

/* ---------- tables ---------- */
.table-wrap { overflow-x: auto; border-radius: 20px; border: 1px solid var(--line); background: #fff; margin-bottom: 1em; }
.age-table { width: 100%; border-collapse: collapse; }
.age-table th, .age-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.age-table thead th { background: var(--ink); color: #fff; font-family: var(--font-head); font-weight: 600; }
.age-table tbody th { font-family: var(--font-head); color: var(--ink); font-weight: 600; }
.age-table tbody tr:last-child > * { border-bottom: 0; }
.age-table tbody tr:nth-child(even) { background: var(--cream); }

/* ---------- program cards ---------- */
.grid-program { grid-template-columns: repeat(6, 1fr); }
.grid-program .program-card { grid-column: span 2; }
.grid-program .program-card:nth-child(4) { grid-column: 2 / span 2; }
.program-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border-top: 8px solid var(--sun); }
.program-card.c-sky { border-color: var(--sky); } .program-card.c-coral { border-color: var(--coral); } .program-card.c-leaf { border-color: var(--leaf); } .program-card.c-grape { border-color: var(--grape); }
.program-card figure { margin: 0; aspect-ratio: 4 / 3; }
.program-card figure img { width: 100%; height: 100%; object-fit: cover; }
.program-body { padding: 22px 24px 26px; }
.program-body p:last-child { margin: 0; color: var(--muted); font-size: .97rem; }
@media (max-width: 980px) { .grid-program { grid-template-columns: repeat(2, 1fr); } .grid-program .program-card, .grid-program .program-card:nth-child(4) { grid-column: auto; } }
@media (max-width: 600px) { .grid-program { grid-template-columns: 1fr; } }

/* ---------- facilities ---------- */
.grid-facility { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.facility-card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.facility-card figure { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; }
.facility-card figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.facility-card:hover figure img { transform: scale(1.05); }
.facility-card h3 { padding: 18px 22px 0; font-size: 1.2rem; }
.facility-card p { padding: 0 22px 22px; margin: 0; color: var(--muted); font-size: .96rem; }

.amenities { margin-bottom: 32px; }
.amenity { background: var(--cream); border-radius: 20px; padding: 22px 16px; text-align: center; font-weight: 800; color: var(--ink); display: flex; flex-direction: column; gap: 8px; align-items: center; }
.amenity span { font-size: 2rem; }
.photo-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 640px) { .photo-row { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 0 22px; box-shadow: 0 4px 14px -10px rgba(31, 58, 95, .35); }
.faq details[open] { border-color: var(--sky); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 36px 18px 0; font-family: var(--font-head); font-weight: 600; font-size: 1.1rem; color: var(--ink); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: var(--sun-soft); display: grid; place-items: center; font-size: 1.2rem; transition: transform .2s; }
.faq details[open] summary::after { content: '–'; background: var(--sky-soft); }
.faq details p { color: var(--muted); padding-bottom: 18px; margin: 0; }

/* ---------- forms ---------- */
.grid-form { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 900px) { .grid-form { grid-template-columns: 1fr; } }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field-full { grid-column: 1 / -1; }
.field label { font-weight: 800; font-size: .93rem; color: var(--ink); }
.req { color: var(--coral); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; padding: .75em .9em; border-radius: 14px; border: 2px solid var(--line); background: #fff; color: var(--text); width: 100%;
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--sky); box-shadow: 0 0 0 4px var(--sky-soft); }
.field [aria-invalid="true"] { border-color: var(--coral); box-shadow: 0 0 0 4px var(--coral-soft); }
.field .error-msg { color: #c0392b; font-size: .85rem; font-weight: 700; }
.check { flex-direction: row; align-items: flex-start; gap: 12px; }
.check input { width: 22px; height: 22px; margin-top: 2px; flex-shrink: 0; accent-color: var(--ink); }
.check label { font-weight: 600; font-size: .92rem; color: var(--muted); }
.form-foot { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 22px; }
.form-status { margin: 0; font-weight: 800; }
.form-status.ok { color: var(--leaf); }
.form-status.err { color: #c0392b; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
button[disabled] { opacity: .6; cursor: progress; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- misc components ---------- */
.contact-card { background: var(--cream); border-radius: var(--radius); padding: 28px; }
.contact-card h2 { font-size: 1.4rem; }
.roles { list-style: none; padding: 0; margin: 0 0 20px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.roles li { background: var(--cream); border-radius: 18px; padding: 18px 20px; display: flex; flex-direction: column; }
.roles strong { font-family: var(--font-head); font-size: 1.15rem; color: var(--ink); font-weight: 600; }
.roles span { color: var(--muted); font-size: .92rem; font-weight: 700; }
@media (max-width: 800px) { .roles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .roles { grid-template-columns: 1fr; } }
.prose h2 { font-size: 1.5rem; margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }

/* ---------- footer ---------- */
.site-footer { background: #0e2250; color: #b9c7d8; padding: 64px 0 0; font-size: .96rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 36px; }
.footer-title { color: #fff; font-size: 1.1rem; margin-bottom: 14px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: #dce6f2; text-decoration: none; }
.site-footer a:hover { color: var(--sun); }
.footer-brand p { margin: 16px 0; }
.footer-contact { margin-top: 12px; }
.footer-hours { margin: 16px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; font-size: .9rem; }
.footer-hours dt { color: var(--sun); font-weight: 800; }
.footer-hours dd { margin: 0; }
.social { display: flex; gap: 10px; }
.social a { width: 42px; height: 42px; border-radius: 12px; background: rgba(255, 255, 255, .08); display: grid; place-items: center; }
.social a:hover { background: var(--sun); }
.social svg { width: 20px; height: 20px; fill: #fff; }
.social a:hover svg { fill: var(--ink); }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 48px; padding: 20px 0; font-size: .88rem; }
.footer-bottom p { margin: 0; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- mobile quick bar ---------- */
.mobile-bar { display: none; }
@media (max-width: 760px) {
  .mobile-bar {
    display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 60;
    background: #fff; border-radius: 20px; box-shadow: 0 10px 30px -8px rgba(15, 26, 42, .45); overflow: hidden;
    padding-bottom: env(safe-area-inset-bottom);
  }
  .mobile-bar a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 4px; font-weight: 800; font-size: .82rem; color: var(--ink); text-decoration: none; }
  .mobile-bar svg { width: 22px; height: 22px; fill: currentColor; }
  .mobile-bar-cta { background: var(--sun); }
  body { padding-bottom: 86px; }
}

/* ---------- motion ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .ticker-track { width: auto; }
  .ticker ul[aria-hidden] { display: none; }
  .ticker ul { flex-wrap: wrap; justify-content: center; }
  .reveal { opacity: 1; transform: none; }
}
