/* Little Ladybird Creche & Montessori - styles.css
   Tokens follow Little-Ladybird-Brand-Guidelines.pdf and the redesign plan (section 3). */

@font-face {
  font-family: "Quicksand";
  src: url("../fonts/quicksand-700-latin.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Nunito";
  src: url("../fonts/nunito-latin.woff2") format("woff2");
  font-weight: 200 1000;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Metric-matched fallbacks keep layout shift low while the web fonts swap in */
@font-face { font-family: "Quicksand Fallback"; src: local("Arial Rounded MT Bold"), local("Arial Bold"), local("Arial"); size-adjust: 96%; ascent-override: 100%; descent-override: 25%; }
@font-face { font-family: "Nunito Fallback"; src: local("Arial"); size-adjust: 101%; ascent-override: 100%; descent-override: 35%; }

:root {
  --red:        #E30613;
  --red-dark:   #B8050F;
  --ink:        #111111;
  --white:      #FFFFFF;
  --cream:      #F6F3EE;
  --cream-dark: #EAE4DA;
  --grey:       #5C5C5C;
  --grey-light: #8A847A;

  --ok-bg: #DDF1E3;   --ok-ink: #14532D;
  --soon-bg: #FCEBC9; --soon-ink: #6B4200;
  --past-bg: #FBD9DB; --past-ink: #7A0209;

  --font-head: "Quicksand", "Quicksand Fallback", "Arial Rounded MT Bold", system-ui, sans-serif;
  --font-body: "Nunito", "Nunito Fallback", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

  --header-h: 56px;
  --radius: 24px;
  --shadow: 0 2px 8px rgba(17, 17, 17, .06);
  --gutter: 20px;
  --section-y: 60px;
}
@media (min-width: 768px) {
  :root { --gutter: 32px; --section-y: 88px; }
}
@media (min-width: 960px) {
  :root { --header-h: 72px; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header-h); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  text-rendering: optimizeLegibility;
}
@media (min-width: 768px) { body { font-size: 17px; } }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--red-dark); }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.on-ink :focus-visible, .footer :focus-visible { outline-color: var(--white); }
section[id], [id].anchor-alias { scroll-margin-top: var(--header-h); }

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: clamp(36px, 5.2vw + 12px, 58px); line-height: 1.08; }
h2 { font-size: clamp(30px, 2.6vw + 18px, 42px); }
h3 { font-size: clamp(21px, .9vw + 17px, 25px); }
h4 { font-size: 18px; }
.red { color: var(--red); }
.lead { font-size: 18px; line-height: 1.6; color: var(--grey); }
@media (min-width: 768px) { .lead { font-size: 20px; } }
.small { font-size: 14px; }
.muted { color: var(--grey); }
.measure { max-width: 66ch; }
.num { font-variant-numeric: tabular-nums; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.phone-figure { margin: 0; }
.legal .toc__title { margin-top: 0; font-size: 18px; }
.sr-only { position: absolute !important; 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: 12px; top: -80px; z-index: 100; background: var(--ink); color: var(--white); padding: 12px 18px; border-radius: 999px; font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; color: var(--white); }

/* Owner placeholders: deliberately visible until real content is supplied */
.owner { background: #FFF7D6; border: 1px dashed var(--red-dark); color: var(--ink); border-radius: 6px; padding: 0 6px; font-size: .92em; white-space: normal; }

.container { width: 100%; max-width: calc(1180px + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section--cream { background: var(--cream); }
.section-head { max-width: 760px; margin-bottom: 40px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--grey); }
.grid { display: grid; gap: 24px; }
@media (min-width: 768px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* Three-dot divider */
.dots { display: flex; gap: 8px; margin-bottom: 18px; }
.section-head--center .dots { justify-content: center; }
.dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--red); }
.dots i:nth-child(2) { opacity: .7; }
.dots i:nth-child(3) { opacity: .45; }

.eyebrow { font-weight: 700; font-size: 14px; line-height: 1.5; letter-spacing: .02em; color: var(--grey); margin: 0 0 18px; }
.eyebrow::before { content: ""; display: inline-block; width: 10px; height: 10px; margin: 0 10px 1px 0; border-radius: 50%; background: var(--red); vertical-align: middle; }

/* ---------- Icons ---------- */
.icon { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon--lg { width: 30px; height: 30px; }
.icon-badge { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; background: var(--white); border: 1px solid var(--cream-dark); color: var(--ink); flex: none; }
.card--cream .icon-badge, .section:not(.section--cream) .card .icon-badge { background: var(--white); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  font-family: var(--font-head); font-weight: 700; font-size: 17px; line-height: 1.1;
  text-decoration: none; border: 2px solid transparent; white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn .icon { width: 20px; height: 20px; }
.btn--primary { background: var(--red); color: var(--white); }
.btn--primary:hover { background: var(--red-dark); color: var(--white); }
.btn--secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--secondary:hover { background: var(--ink); color: var(--white); }
.btn--light { background: var(--white); color: var(--ink); }
.btn--light:hover { background: var(--cream); color: var(--ink); }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 16px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px 14px; align-items: center; }
@media (prefers-reduced-motion: no-preference) {
  .btn:hover .icon-arrow { transform: translateX(3px); }
  .icon-arrow { transition: transform .2s; }
}
.text-link { font-weight: 700; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; }

/* ---------- Cards ---------- */
.card { background: var(--white); border: 1px solid var(--cream-dark); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; }
.card--cream { background: var(--cream); box-shadow: none; }
.card--ink { background: var(--ink); color: var(--white); border-color: var(--ink); }
.card h3 { margin-bottom: .35em; }
.card p:last-child { margin-bottom: 0; }
@media (prefers-reduced-motion: no-preference) {
  .card--lift { transition: transform .25s ease, box-shadow .25s ease; }
  .card--lift:hover { transform: translateY(-4px); box-shadow: 0 8px 20px rgba(17, 17, 17, .08); }
}

.chip { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; padding: 4px 12px; border-radius: 999px; background: var(--white); border: 1px solid var(--cream-dark); color: var(--ink); }
.chip--ink { background: var(--ink); color: var(--white); border-color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }

/* Ladybird bullet list */
.ll-list { list-style: none; display: grid; gap: 12px; }
.ll-list li { position: relative; padding-left: 34px; }
.ll-list li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 22px; height: 22px;
  background: url("../brand/little-ladybird-mark.svg") center / contain no-repeat;
}

/* Photo placeholder (until real photography is supplied) */
.ph { position: relative; margin: 0; background: var(--cream); border: 1px solid var(--cream-dark); border-radius: var(--radius); overflow: hidden; display: grid; place-items: center; aspect-ratio: 4 / 3; }
.section--cream .ph, .card--cream .ph { background: var(--cream-dark); }
.ph > img[alt=""] { width: 42%; height: auto; opacity: .08; }
/* Real photos dropped into a placeholder figure fill it */
.ph picture, .ph picture img, .ph > img:not([alt=""]) { width: 100%; height: 100%; object-fit: cover; }
.ph:has(picture) figcaption { display: none; }
.ph--photo { background: var(--cream-dark); }
.hero__visual .ph--photo { aspect-ratio: 3 / 2; }
.ph--room-wobblers img { object-position: 62% 50%; }
.ph--room-toddlers img { object-position: 40% 50%; }
.ph figcaption { position: absolute; left: 14px; bottom: 12px; right: 14px; font-size: 14px; color: var(--grey); font-weight: 600; }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.header.is-scrolled { border-bottom-color: var(--cream-dark); box-shadow: var(--shadow); }
.header__inner { height: var(--header-h); display: flex; align-items: center; gap: 16px; }
.header__logo { display: block; flex: none; margin-right: auto; }
.header__logo img { width: 180px; height: auto; }
@media (min-width: 960px) { .header__logo img { width: 204px; } }
.nav { display: none; }
.nav ul { list-style: none; display: flex; align-items: center; gap: 2px; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 11px; border-radius: 999px; font-weight: 700; font-size: 15.5px; text-decoration: none; color: var(--ink); }
.nav a:hover { background: var(--cream); color: var(--ink); }
.nav a[aria-current="true"] { color: var(--red-dark); }
.header__phone { display: none; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; min-height: 44px; padding: 0 6px; white-space: nowrap; }
.header__cta { display: none; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--cream-dark); background: var(--white); color: var(--ink); text-decoration: none; padding: 0; }
.icon-btn:hover { background: var(--cream); color: var(--ink); }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }
.menu-toggle[aria-expanded="true"] .icon-menu { display: none; }

@media (min-width: 960px) {
  .nav { display: block; }
  .header__cta { display: inline-flex; }
  .menu-toggle, .header__call-icon { display: none; }
}
@media (min-width: 1180px) { .header__phone { display: inline-flex; } }

.mobile-menu { position: fixed; inset: var(--header-h) 0 0 0; background: var(--white); z-index: 49; padding: 12px var(--gutter) 32px; overflow-y: auto; border-top: 1px solid var(--cream-dark); }
.mobile-menu ul { list-style: none; display: grid; }
.mobile-menu li a { display: flex; align-items: center; justify-content: space-between; min-height: 56px; font-family: var(--font-head); font-weight: 700; font-size: 22px; text-decoration: none; border-bottom: 1px solid var(--cream-dark); }
.mobile-menu .btn-row { margin-top: 24px; }
.mobile-menu .btn { flex: 1 1 100%; }
@media (min-width: 960px) { .mobile-menu { display: none !important; } }

/* Sticky mobile action bar */
.action-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .97); border-top: 1px solid var(--cream-dark); box-shadow: 0 -2px 10px rgba(17, 17, 17, .06); transform: translateY(110%); visibility: hidden; transition: transform .25s ease, visibility .25s; }
.action-bar.is-visible { transform: none; visibility: visible; }
.action-bar .btn { min-height: 50px; padding: 0 14px; }
@media (min-width: 960px) { .action-bar { display: none; } }
@media (max-width: 959px) { .footer { padding-bottom: 96px; } }

/* ---------- Hero ---------- */
.hero { padding-block: 36px 0; }
@media (min-width: 768px) { .hero { padding-block: 64px 0; } }
.hero__grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1024px) { .hero__grid { grid-template-columns: 1.08fr .92fr; gap: 56px; } }
.hero h1 { margin-bottom: 20px; }
.hero .lead { max-width: 56ch; margin-bottom: 28px; }
.hero__visual { position: relative; }
.hero__visual .ph { aspect-ratio: 5 / 4; border-radius: 32px; }
.hero__badge { position: absolute; left: 16px; bottom: -22px; display: flex; align-items: center; gap: 12px; background: var(--white); border: 1px solid var(--cream-dark); border-radius: 18px; box-shadow: 0 6px 18px rgba(17, 17, 17, .08); padding: 12px 18px; font-family: var(--font-head); font-weight: 700; font-size: 15px; line-height: 1.3; max-width: calc(100% - 32px); }
@media (min-width: 1024px) { .hero__badge { left: -28px; bottom: 28px; } }
.hero__visual .ph figcaption { bottom: auto; top: 14px; }
.hero__spots { position: absolute; right: -8px; top: -14px; display: flex; gap: 10px; }
.hero__spots i { width: 16px; height: 16px; border-radius: 50%; background: var(--red); }
.hero__spots i:nth-child(2) { width: 11px; height: 11px; margin-top: 18px; }

.trust { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 20px; margin-top: 56px; padding-block: 28px; border-top: 1px solid var(--cream-dark); }
@media (max-width: 519px) { .trust { grid-template-columns: 1fr; gap: 14px; } }
@media (min-width: 1024px) { .trust { grid-template-columns: repeat(4, 1fr); margin-top: 64px; } }
.trust li { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 15px; line-height: 1.35; }
.trust .icon-badge { width: 46px; height: 46px; border-radius: 14px; background: var(--cream); }

/* ---------- At a glance ---------- */
.glance .card { display: grid; gap: 14px; align-content: start; }
.glance .card h3 { margin: 4px 0 0; }

/* ---------- About ---------- */
.about__grid { display: grid; gap: 48px; }
@media (min-width: 1024px) { .about__grid { grid-template-columns: 1.15fr .85fr; gap: 72px; align-items: start; } }
.about__aside { display: grid; gap: 24px; }
.quote { position: relative; overflow: hidden; margin: 0; padding-right: 64px; }
.quote blockquote { margin: 0; font-family: var(--font-head); font-weight: 700; font-size: 24px; line-height: 1.3; }
.quote blockquote p { margin-bottom: 14px; }
.quote figcaption { color: #CFCAC2; font-size: 15px; }
.quote__mark { position: absolute; right: -36px; bottom: -40px; width: 130px; height: 130px; opacity: .12; pointer-events: none; }
.quote blockquote, .quote figcaption { position: relative; }
.about h3 { margin-top: 28px; }

/* ---------- Rooms ---------- */
.room { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.room .ph { border-radius: 0; border: 0; border-bottom: 1px solid var(--cream-dark); }
.room__body { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.room__age { align-self: flex-start; margin-bottom: 12px; }
.room__body > p { flex: 1; }
.timeline-toggle { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 48px; margin-top: 8px; padding: 0 18px; border: 1px solid var(--cream-dark); border-radius: 999px; background: var(--cream); font-family: var(--font-head); font-weight: 700; font-size: 16px; text-align: left; }
.timeline-toggle:hover { border-color: var(--ink); }
.timeline-toggle .icon, .faq__q .icon { transition: transform .2s; width: 20px; height: 20px; }
[aria-expanded="true"] > .icon-chevron { transform: rotate(180deg); }
.timeline { list-style: none; margin-top: 16px; display: grid; gap: 0; }
.timeline li { display: grid; grid-template-columns: 58px 1fr; gap: 12px; padding: 7px 0; border-bottom: 1px dashed var(--cream-dark); font-size: 15px; }
.timeline li:last-child { border-bottom: 0; }
.timeline time { font-weight: 700; font-variant-numeric: tabular-nums; }

/* ---------- Our day ---------- */
.programme { display: flex; flex-direction: column; gap: 10px; }
.programme .icon-badge { margin-bottom: 6px; }
.programme h3 { margin: 0; }
.programme__promise { font-weight: 700; margin: 0; }
.programme p { color: var(--grey); margin: 0; }
.programme .chips { margin-top: auto; padding-top: 10px; }
.journal { margin-top: 32px; display: grid; gap: 20px; align-items: center; }
@media (min-width: 900px) { .journal { grid-template-columns: auto 1fr auto; gap: 28px; } }
.journal p { margin: 0; font-size: 18px; }

/* ---------- Fees ---------- */
.scheme h3 { display: flex; align-items: center; gap: 14px; }
.scheme dl { margin: 18px 0 0; display: grid; gap: 14px; }
.scheme dt { font-family: var(--font-head); font-weight: 700; font-size: 15px; text-transform: uppercase; letter-spacing: .06em; color: var(--grey); }
.scheme dd { margin: 2px 0 0; }
.scheme a { font-weight: 700; }
.rates-note { margin: 18px 0 0; font-size: 14px; color: var(--grey); }

.calc { margin-top: 48px; border-radius: 32px; padding: 28px 22px; }
@media (min-width: 768px) { .calc { padding: 44px; } }
.calc__head { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: baseline; justify-content: space-between; margin-bottom: 28px; }
.calc__head h3 { font-size: clamp(26px, 1.6vw + 18px, 34px); margin: 0; }
.calc__head p { margin: 0; color: #CFCAC2; }
.calc__grid { display: grid; gap: 32px; }
@media (min-width: 900px) { .calc__grid { grid-template-columns: .9fr 1.1fr; gap: 48px; } }
.field { display: grid; gap: 8px; margin-bottom: 22px; }
.field label, .field .label { font-weight: 700; }
.field input[type="date"], .field input[type="number"] {
  width: 100%; min-height: 52px; padding: 10px 16px; border-radius: 14px;
  border: 2px solid #3A3A3A; background: #1E1E1E; color: var(--white); font-size: 18px; font-variant-numeric: tabular-nums; color-scheme: dark;
}
.field input:focus-visible { outline: 3px solid var(--white); outline-offset: 2px; border-color: var(--white); }
.field input:disabled { opacity: .55; }
.field .help { font-size: 14px; color: #CFCAC2; line-height: 1.5; }
.money-input { position: relative; }
.money-input span { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); font-weight: 700; color: #CFCAC2; }
.money-input input { padding-left: 34px !important; }
.check { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; cursor: pointer; min-height: 44px; }
.check input { width: 24px; height: 24px; margin: 2px 0 0; accent-color: var(--red); flex: none; }
.calc__error { color: #FFB3B8; font-weight: 700; font-size: 15px; min-height: 1em; margin: -8px 0 12px; }

.result { background: var(--white); color: var(--ink); border-radius: 22px; padding: 22px; }
@media (min-width: 768px) { .result { padding: 28px; } }
.status { display: flex; gap: 10px; align-items: flex-start; border-radius: 14px; padding: 12px 14px; font-weight: 700; font-size: 15px; line-height: 1.4; margin-bottom: 18px; }
.status::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: currentColor; margin-top: .45em; flex: none; }
.status--ok { background: var(--ok-bg); color: var(--ok-ink); }
.status--soon { background: var(--soon-bg); color: var(--soon-ink); }
.status--past { background: var(--past-bg); color: var(--past-ink); }
.status small { display: block; font-weight: 600; }
.breakdown { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.breakdown th, .breakdown td { padding: 11px 0; border-bottom: 1px solid var(--cream-dark); vertical-align: top; }
.breakdown th { text-align: left; font-weight: 600; padding-right: 12px; }
.breakdown th small { display: block; font-weight: 400; color: var(--grey); font-size: 13.5px; }
.breakdown td { text-align: right; font-weight: 700; white-space: nowrap; }
.breakdown tfoot th, .breakdown tfoot td { border-bottom: 0; padding-top: 16px; font-family: var(--font-head); font-weight: 700; }
.breakdown tfoot th { font-size: 18px; }
.breakdown tfoot td { font-size: 36px; line-height: 1; }
.result__future { margin: 14px 0 0; padding: 12px 14px; border-radius: 14px; background: var(--cream); font-weight: 700; }
.result__note { margin: 14px 0 0; font-size: 14px; color: var(--grey); }
.result__note a { font-weight: 700; }

.faq { margin-top: 64px; display: grid; gap: 32px; }
@media (min-width: 1024px) { .faq { grid-template-columns: .8fr 1.2fr; gap: 64px; } }
.faq__list { display: grid; gap: 12px; }
.faq__item { background: var(--white); border: 1px solid var(--cream-dark); border-radius: 18px; }
.faq__item h4 { margin: 0; font-size: 18px; }
.faq__q { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; min-height: 60px; padding: 14px 20px; background: none; border: 0; border-radius: 18px; text-align: left; font-family: var(--font-head); font-weight: 700; font-size: 18px; line-height: 1.3; }
.faq__a { padding: 0 20px 18px; color: var(--grey); }
.faq__a p { margin: 0; }

/* ---------- Meals ---------- */
.meals__grid { display: grid; gap: 40px; }
@media (min-width: 1024px) { .meals__grid { grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; } }
.menu-table { width: 100%; border-collapse: collapse; }
.menu-table caption { text-align: left; font-family: var(--font-head); font-weight: 700; font-size: 22px; margin-bottom: 12px; }
.menu-table th, .menu-table td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--cream-dark); vertical-align: top; }
.menu-table tr:last-child th, .menu-table tr:last-child td { border-bottom: 0; }
.menu-table th { width: 110px; font-weight: 700; }

/* ---------- Team ---------- */
.team-card { text-align: center; display: grid; justify-items: center; gap: 6px; }
.team-card .avatar { width: 112px; height: 112px; border-radius: 50%; background: var(--cream); border: 1px solid var(--cream-dark); display: grid; place-items: center; margin-bottom: 10px; }
.team-card .avatar img { width: 54px; height: 54px; opacity: .14; }
.team-card h3 { margin: 0; font-size: 20px; }
.team-card p { margin: 0; color: var(--grey); font-size: 15px; }
.team__foot { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; }
.team__foot p { margin: 0; font-family: var(--font-head); font-weight: 700; font-size: 20px; }

/* ---------- Parents / Famly ---------- */
.parents__grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1024px) { .parents__grid { grid-template-columns: 1.1fr .9fr; gap: 72px; } }
.phone { width: min(100%, 320px); margin-inline: auto; background: var(--ink); border-radius: 48px; padding: 14px; box-shadow: 0 18px 40px rgba(17, 17, 17, .14); }
.phone__screen { border-radius: 36px; overflow: hidden; background: #4B1A9A; aspect-ratio: 402 / 874; }
.phone__screen img { width: 100%; height: 100%; object-fit: cover; }
.phone-caption { text-align: center; margin-top: 14px; font-size: 14px; color: var(--grey); }

.steps { list-style: none; counter-reset: step; margin-top: 64px; }
.step { position: relative; counter-increment: step; padding-top: 70px; }
.step::before { content: counter(step); position: absolute; top: 24px; left: 28px; width: 38px; height: 38px; border-radius: 50%; background: var(--red); color: var(--white); display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: 18px; }
.step h4 { font-size: 20px; margin-bottom: .35em; }
.step p { color: var(--grey); }
.steps-head { margin-top: 72px; margin-bottom: -32px; }
.steps-cta { margin-top: 32px; }
.parents__note { margin-top: 20px; }
.socials--footer { margin-top: 14px; }
.h2-like { font-size: clamp(26px, 1.6vw + 18px, 34px); }

/* ---------- Contact ---------- */
.contact__grid { display: grid; gap: 40px; }
@media (min-width: 1024px) { .contact__grid { grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; } }
.contact-list { list-style: none; display: grid; gap: 22px; }
.contact-list li { display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: start; }
.contact-list .icon-badge { width: 48px; height: 48px; border-radius: 14px; }
.contact-list h3 { font-size: 18px; margin: 4px 0 2px; }
.contact-list p { margin: 0; }
.contact-list a { font-weight: 700; }
.socials { display: flex; gap: 10px; margin-top: 4px; }

.map { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--cream-dark); background: var(--cream-dark); aspect-ratio: 4 / 3.3; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-actions { margin-top: 16px; }
.tel-link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; color: var(--ink); white-space: nowrap; }

.closing { position: relative; overflow: hidden; border-radius: 32px; padding: 40px 24px; text-align: center; }
@media (min-width: 768px) { .closing { padding: 64px 48px; } }
.closing h2 { font-size: clamp(24px, 1vw + 20px, 30px); max-width: 26ch; margin-inline: auto; }
.closing p { max-width: 56ch; margin: 0 auto 26px; color: var(--grey); }
.closing .btn-row { justify-content: center; }
.closing__mark { position: absolute; width: 360px; height: 360px; right: -90px; bottom: -110px; opacity: .06; pointer-events: none; }
.closing__content { position: relative; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #D9D5CE; padding-block: 64px 32px; font-size: 15.5px; }
.footer a { color: var(--white); text-decoration: none; }
.footer a:hover { text-decoration: underline; color: var(--white); }
.footer__grid { display: grid; gap: 36px; }
@media (min-width: 768px) { .footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 48px; } }
.footer__logo { width: 200px; height: auto; margin-bottom: 20px; }
.footer h2 { font-size: 16px; color: var(--white); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; }
.footer ul { list-style: none; display: grid; gap: 4px; }
.footer li a { display: inline-flex; align-items: center; min-height: 36px; }
.footer address { font-style: normal; line-height: 1.8; }
.footer .icon-btn { background: transparent; border-color: #3A3A3A; color: var(--white); }
.footer .icon-btn:hover { background: #262626; }
.footer__bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid #2E2E2E; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: 14px; color: #B9B4AC; }
.footer .owner { color: var(--ink); }

/* ---------- Legal pages ---------- */
.legal { max-width: 780px; }
.legal h1 { font-size: clamp(34px, 3vw + 18px, 50px); }
.legal h2 { font-size: clamp(24px, 1.2vw + 18px, 30px); margin-top: 1.6em; }
.legal h3 { font-size: 20px; margin-top: 1.4em; }
.legal ul { padding-left: 1.3em; margin-bottom: 1em; }
.legal li { margin-bottom: .35em; }
.legal .toc { background: var(--cream); border: 1px solid var(--cream-dark); border-radius: var(--radius); padding: 22px 26px; margin: 28px 0; }
.legal .toc ul { margin: 0; }

/* ---------- Motion: fade-up from a visible resting state ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal.in { animation: fadeUp .6s cubic-bezier(.2, .7, .2, 1) both; }
  @keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

@media print {
  .header, .action-bar, .mobile-menu, .map, .calc { display: none !important; }
}
