/* =========================================================================
   New Dubai Nursery — Early Learning Centre · Since 1985
   Design system. Palette tokens keyed directly to the brand logo
   (sky-blue figure/book, leaf-green growth leaf, sunny-amber sun rays,
   coral dot) on a warm off-white base. See CLAUDE-DESIGN.md.
   ========================================================================= */

:root{
  /* ---- Brand palette (from CLAUDE-DESIGN.md) ---- */
  --bg:        #FBF8F2;
  --surface:   #FFFFFF;
  --text:      #25303B;
  --muted:     #6B7886;
  --primary:   #2199D1;
  --secondary: #5FB85F;
  --accent:    #F5A623;
  --cta:       #F0735E;
  --border:    #E7DFD2;
  --focus:     #176B96;

  /* ---- Derived tints (kept low-chroma, harmonious) ---- */
  --primary-ink:  #176B96;   /* darker blue for text on light */
  --primary-soft: #EAF6FC;   /* sky tint surface */
  --secondary-soft:#EEF7EE;  /* green tint surface */
  --accent-soft:  #FDF1DC;   /* amber tint surface */
  --cta-soft:     #FDEDE9;   /* coral tint surface */
  --cta-ink:      #C7402B;   /* coral darkened for text use */
  --ink-soft:     #4A5763;

  /* ---- Type ---- */
  --font-display: "Baloo 2", system-ui, sans-serif;
  --font-body: "Nunito Sans", system-ui, -apple-system, sans-serif;

  /* ---- Shape & depth ---- */
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 26px;
  --r-xl: 34px;
  --r-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(37,48,59,.05), 0 2px 6px rgba(37,48,59,.04);
  --shadow-md: 0 6px 18px rgba(37,48,59,.07), 0 2px 6px rgba(37,48,59,.05);
  --shadow-lg: 0 18px 48px rgba(37,48,59,.12), 0 6px 16px rgba(37,48,59,.06);
  --shadow-cta: 0 10px 24px rgba(240,115,94,.32);

  /* ---- Layout ---- */
  --maxw: 1180px;
  --gutter: clamp(20px, 5vw, 56px);
  --header-h: 112px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }

@media (prefers-reduced-motion: reduce){
  html { scroll-behavior: auto; }
}

body{
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

a { color: var(--primary-ink); text-decoration: none; }

h1,h2,h3,h4{
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  margin: 0;
  letter-spacing: -0.01em;
  color: var(--text);
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }

:focus-visible{
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: 6px;
}

/* ---------- Layout helpers ---------- */
.wrap{ width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

.section{ padding-block: clamp(56px, 8vw, 104px); position: relative; }
.section--tint{ background: var(--primary-soft); }
.section--cream{ background: var(--bg); }

.eyebrow{
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--primary-ink);
}
.eyebrow::before{
  content:""; width: 22px; height: 3px; border-radius: 2px;
  background: var(--accent);
}

.section-head{ max-width: 640px; margin-bottom: clamp(32px, 5vw, 52px); }
.section-head h2{ font-size: clamp(1.85rem, 4.5vw, 2.9rem); margin-top: 14px; }
.section-head p{ color: var(--ink-soft); font-size: 1.08rem; margin-top: 16px; }
.section-head--center{ margin-inline: auto; text-align: center; }

/* ---------- Buttons ---------- */
.btn{
  --btn-bg: var(--primary);
  --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  line-height: 1;
  padding: 15px 26px;
  min-height: 52px;
  border-radius: var(--r-pill);
  border: none;
  background: var(--btn-bg);
  color: var(--btn-fg);
  cursor: pointer;
  transition: transform .18s ease, box-shadow .2s ease, background .2s ease, filter .2s ease;
  text-align: center;
  white-space: nowrap;
}
.btn svg{ width: 20px; height: 20px; flex: none; }
.btn:hover{ transform: translateY(-2px); }
.btn:active{ transform: translateY(0); }

.btn--cta{ --btn-bg: var(--cta); box-shadow: var(--shadow-cta); }
.btn--cta:hover{ filter: brightness(1.03); box-shadow: 0 14px 30px rgba(240,115,94,.4); }
.btn--wa{ --btn-bg: #25D366; --btn-fg: #073d1c; box-shadow: 0 8px 20px rgba(37,211,102,.28); }
.btn--ghost{
  --btn-bg: transparent; --btn-fg: var(--primary-ink);
  border: 2px solid var(--border);
  background: var(--surface);
}
.btn--ghost:hover{ border-color: var(--primary); color: var(--primary-ink); }
.btn--light{ --btn-bg: #fff; --btn-fg: var(--primary-ink); box-shadow: var(--shadow-md); }
.btn--block{ width: 100%; }
.btn--lg{ min-height: 58px; font-size: 1.1rem; padding: 17px 32px; }

/* ---------- Pills / badges ---------- */
.pill{
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .9rem;
  padding: 8px 15px;
  border-radius: var(--r-pill);
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
}
.pill svg{ width: 17px; height: 17px; }

/* ---------- Cards ---------- */
.card{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}

/* ---------- Consent / note flag ---------- */
.note-flag{
  font-size: .8rem; color: var(--muted);
  font-style: italic;
}

/* ---------- Reveal-on-scroll ---------- */
.reveal{ opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in{ opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce){
  .reveal{ opacity: 1; transform: none; transition: none; }
}

/* =========================================================================
   HEADER
   ========================================================================= */
.header{
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background .3s ease, box-shadow .3s ease;
}
.header.is-stuck{
  border-bottom-color: var(--border);
  box-shadow: 0 4px 20px rgba(37,48,59,.05);
}
.header__inner{
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px;
}
.brand{ display: flex; align-items: center; gap: 12px; }
.brand img{ height: 92px; width: auto; }
.brand__text{ display: flex; flex-direction: column; line-height: 1.05; }
.brand__name{ font-family: var(--font-display); font-weight: 700; font-size: 1.12rem; color: var(--text); }
.brand__tag{ font-size: .7rem; color: var(--muted); letter-spacing: .04em; }

.nav{ display: flex; align-items: center; gap: 4px; }
.nav a{
  font-family: var(--font-display);
  font-weight: 500;
  font-size: .98rem;
  color: var(--text);
  padding: 9px 13px;
  border-radius: var(--r-pill);
  transition: background .18s ease, color .18s ease;
}
.nav a:hover{ background: var(--primary-soft); color: var(--primary-ink); }
.nav a.is-active{ color: var(--primary-ink); background: var(--primary-soft); }

.header__actions{ display: flex; align-items: center; gap: 10px; }
.header__actions .btn{ min-height: 46px; padding: 12px 20px; }

.icon-btn{
  display: none;
  align-items: center; justify-content: center;
  width: 48px; height: 48px;
  border-radius: var(--r-pill);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
}
.icon-btn svg{ width: 24px; height: 24px; }

/* Mobile drawer */
.drawer-backdrop{
  position: fixed; inset: 0; z-index: 70;
  background: rgba(37,48,59,.45);
  opacity: 0; pointer-events: none;
  transition: opacity .25s ease;
}
.drawer-backdrop.is-open{ opacity: 1; pointer-events: auto; }
.drawer{
  position: fixed; top: 0; right: 0; z-index: 80;
  height: 100dvh; width: min(86vw, 360px);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  transform: translateX(100%);
  transition: transform .3s cubic-bezier(.4,0,.2,1);
  display: flex; flex-direction: column;
  padding: 22px;
  overflow-y: auto;
}
.drawer.is-open{ transform: none; }
.drawer__top{ display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.drawer__top img{ height: 42px; }
.drawer nav{ display: flex; flex-direction: column; gap: 2px; }
.drawer nav a{
  font-family: var(--font-display); font-weight: 600; font-size: 1.18rem;
  color: var(--text); padding: 14px 12px; border-radius: var(--r-md);
}
.drawer nav a:hover{ background: var(--primary-soft); }
.drawer__cta{ margin-top: auto; display: flex; flex-direction: column; gap: 10px; padding-top: 22px; }

/* =========================================================================
   HERO
   ========================================================================= */
.hero{ position: relative; overflow: hidden; padding-top: clamp(28px, 5vw, 56px); padding-bottom: clamp(40px, 6vw, 80px); }
.hero__grid{
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: clamp(28px, 5vw, 64px); align-items: center;
}
.hero__copy{ max-width: 560px; }
.hero h1{
  font-size: clamp(2.3rem, 6vw, 4rem);
  letter-spacing: -0.02em;
}
.hero h1 .accent{ color: var(--primary); }
.hero__lead{ font-size: clamp(1.08rem, 2.2vw, 1.3rem); color: var(--ink-soft); margin-top: 22px; }
.hero__cta{ display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero__trustline{ display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 30px; }
.hero__trustline .pill{ background: color-mix(in srgb,var(--surface) 70%, transparent); }

.hero__media{ position: relative; }
.hero__photo{
  position: relative; border-radius: var(--r-xl);
  overflow: hidden; box-shadow: var(--shadow-lg);
  aspect-ratio: 4/5;
  border: 6px solid #fff;
}
.hero__photo img{ width: 100%; height: 100%; object-fit: cover; object-position: center 28%; }
.hero__badge{
  position: absolute; left: -18px; bottom: 26px;
  background: var(--surface);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: 16px 20px;
  display: flex; align-items: center; gap: 13px;
  max-width: 250px;
}
.hero__badge .num{ font-family: var(--font-display); font-weight: 800; font-size: 2rem; color: var(--cta); line-height: 1; }
.hero__badge .lbl{ font-size: .9rem; color: var(--ink-soft); line-height: 1.25; }
.hero__blob{
  position: absolute; z-index: -1; border-radius: 50%;
  filter: blur(2px);
}
.hero__blob--1{ width: 340px; height: 340px; background: radial-gradient(circle at 30% 30%, var(--accent-soft), transparent 70%); top: -80px; right: -60px; }
.hero__blob--2{ width: 300px; height: 300px; background: radial-gradient(circle at 30% 30%, var(--secondary-soft), transparent 70%); bottom: -90px; left: -90px; }

/* =========================================================================
   TRUST STRIP
   ========================================================================= */
.trust{ background: var(--text); color: #fff; }
.trust__inner{
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 10px; padding-block: 26px;
}
.trust__item{ display: flex; align-items: center; gap: 14px; justify-content: center; padding: 8px 14px; }
.trust__item svg{ width: 30px; height: 30px; flex: none; color: var(--accent); }
.trust__item .t-title{ font-family: var(--font-display); font-weight: 700; font-size: 1.06rem; line-height: 1.1; }
.trust__item .t-sub{ font-size: .85rem; color: #b9c2cb; }
.trust__divider{ width: 1px; background: rgba(255,255,255,.14); }

/* =========================================================================
   ABOUT
   ========================================================================= */
.about__grid{ display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.about__media{ position: relative; }
.about__photo{ border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 3/4; border: 6px solid #fff; }
.about__photo img{ width: 100%; height: 100%; object-fit: cover; }
.about__stamp{
  position: absolute; right: -16px; top: -16px;
  width: 116px; height: 116px; border-radius: 50%;
  background: var(--accent); color: #3d2c08;
  display: grid; place-content: center; text-align: center;
  font-family: var(--font-display); font-weight: 800; line-height: 1;
  box-shadow: var(--shadow-lg);
  transform: rotate(-8deg);
}
.about__stamp .s-big{ font-size: 1.7rem; }
.about__stamp .s-small{ font-size: .62rem; letter-spacing: .1em; margin-top: 4px; font-weight: 700; }
.about__body p + p{ margin-top: 18px; }
.about__body p{ color: var(--ink-soft); font-size: 1.08rem; }
.values{ display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 30px; }
.value{ display: flex; gap: 13px; align-items: flex-start; }
.value__ic{ width: 44px; height: 44px; border-radius: var(--r-md); display: grid; place-content: center; flex: none; }
.value__ic svg{ width: 23px; height: 23px; }
.value h4{ font-size: 1.05rem; }
.value p{ font-size: .92rem; color: var(--muted); margin-top: 3px; }

/* =========================================================================
   PROGRAMME
   ========================================================================= */
.prog__cards{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.prog-card{ padding: 28px; display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease; }
.prog-card:hover{ transform: translateY(-4px); box-shadow: var(--shadow-md); }
.prog-card__ic{ width: 56px; height: 56px; border-radius: var(--r-md); display: grid; place-content: center; margin-bottom: 18px; }
.prog-card__ic svg{ width: 30px; height: 30px; }
.prog-card h3{ font-size: 1.3rem; }
.prog-card p{ color: var(--ink-soft); margin-top: 10px; font-size: .98rem; }

.enrich{ margin-top: clamp(36px, 5vw, 56px); }
.enrich__head{ display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.enrich__head h3{ font-size: clamp(1.4rem,3vw,1.9rem); }
.enrich__grid{ display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.enrich-item{
  display: flex; align-items: center; gap: 12px;
  padding: 16px 18px; border-radius: var(--r-md);
  background: var(--surface); border: 1px solid var(--border);
}
.enrich-item svg{ width: 24px; height: 24px; flex: none; color: var(--primary); }
.enrich-item span{ font-family: var(--font-display); font-weight: 600; font-size: .98rem; }

.ages{ margin-top: clamp(36px,5vw,56px); display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.age-card{ padding: 24px; border-radius: var(--r-lg); border: 1px solid var(--border); background: var(--surface); }
.age-card .age-num{ font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; color: var(--primary); }
.age-card h4{ font-size: 1.22rem; margin-top: 6px; }
.age-card p{ color: var(--ink-soft); font-size: .95rem; margin-top: 8px; }

/* =========================================================================
   SAFETY
   ========================================================================= */
.safety{ background: var(--secondary-soft); }
.safety__grid{ display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px,5vw,64px); align-items: center; }
.safety__intro h2{ font-size: clamp(1.85rem,4.5vw,2.9rem); margin-top: 14px; }
.safety__intro p{ color: var(--ink-soft); font-size: 1.1rem; margin-top: 18px; }
.safety__list{ display: grid; gap: 14px; }
.safe-item{ display: flex; gap: 16px; align-items: flex-start; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 20px 22px; box-shadow: var(--shadow-sm); }
.safe-item__ic{ width: 48px; height: 48px; border-radius: 50%; display: grid; place-content: center; flex: none; background: var(--secondary-soft); color: var(--secondary); }
.safe-item__ic svg{ width: 25px; height: 25px; }
.safe-item h4{ font-size: 1.12rem; }
.safe-item p{ color: var(--ink-soft); font-size: .96rem; margin-top: 5px; }

/* =========================================================================
   FACILITIES & GALLERY
   ========================================================================= */
.fac__chips{ display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(30px,4vw,44px); }
.fac-chip{ display: inline-flex; align-items: center; gap: 9px; padding: 10px 16px; border-radius: var(--r-pill); background: var(--surface); border: 1px solid var(--border); font-family: var(--font-display); font-weight: 600; font-size: .92rem; }
.fac-chip svg{ width: 19px; height: 19px; color: var(--primary); }

.gallery{ display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 14px; }
.gphoto{ position: relative; overflow: hidden; border-radius: var(--r-lg); cursor: pointer; background: var(--primary-soft); border: none; padding: 0; }
.gphoto img{ width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gphoto:hover img{ transform: scale(1.06); }
.gphoto::after{
  content:""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(37,48,59,.5), transparent 45%);
  opacity: 0; transition: opacity .3s ease;
}
.gphoto:hover::after{ opacity: 1; }
.gphoto__cap{
  position: absolute; left: 14px; bottom: 12px; z-index: 2;
  color: #fff; font-family: var(--font-display); font-weight: 600; font-size: .95rem;
  opacity: 0; transform: translateY(6px); transition: opacity .3s ease, transform .3s ease;
  text-shadow: 0 1px 4px rgba(0,0,0,.4);
}
.gphoto:hover .gphoto__cap{ opacity: 1; transform: none; }
.gphoto--tall{ grid-row: span 2; }
.gphoto--wide{ grid-column: span 2; }

/* Lightbox */
.lightbox{
  position: fixed; inset: 0; z-index: 100;
  background: rgba(20,26,32,.92);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  opacity: 0; pointer-events: none; transition: opacity .25s ease;
}
.lightbox.is-open{ opacity: 1; pointer-events: auto; }
.lightbox__img{ max-width: min(92vw, 1100px); max-height: 84vh; border-radius: var(--r-md); box-shadow: var(--shadow-lg); }
.lightbox__cap{ position: absolute; bottom: 22px; left: 0; right: 0; text-align: center; color: #e8edf1; font-family: var(--font-display); font-size: 1rem; }
.lightbox__btn{
  position: absolute; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2);
  color: #fff; width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-content: center; cursor: pointer; transition: background .2s ease;
}
.lightbox__btn:hover{ background: rgba(255,255,255,.24); }
.lightbox__btn svg{ width: 26px; height: 26px; }
.lightbox__close{ top: 22px; right: 22px; }
.lightbox__prev{ left: 18px; top: 50%; transform: translateY(-50%); }
.lightbox__next{ right: 18px; top: 50%; transform: translateY(-50%); }

.consent-banner{
  margin-top: 26px; display: flex; align-items: center; gap: 12px;
  font-size: .86rem; color: var(--muted);
  background: var(--accent-soft); border: 1px solid #f0dcb4;
  padding: 12px 18px; border-radius: var(--r-md);
}
.consent-banner svg{ width: 20px; height: 20px; color: var(--accent); flex: none; }

/* =========================================================================
   ADMISSIONS / BOOK A TOUR
   ========================================================================= */
.admit{ background: var(--primary); color: #fff; position: relative; overflow: hidden; }
.admit__grid{ display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(34px,5vw,64px); align-items: start; }
.admit__copy h2{ color: #fff; font-size: clamp(1.95rem,4.5vw,3rem); }
.admit .eyebrow{ color: #cdeafa; }
.admit .eyebrow::before{ background: var(--accent); }
.admit__copy p{ color: #e3f3fb; font-size: 1.1rem; margin-top: 18px; }
.admit__steps{ display: grid; gap: 16px; margin-top: 30px; }
.admit-step{ display: flex; gap: 16px; align-items: flex-start; }
.admit-step__n{ width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.16); display: grid; place-content: center; font-family: var(--font-display); font-weight: 700; flex: none; }
.admit-step h4{ color: #fff; font-size: 1.08rem; }
.admit-step p{ color: #d2ebf7; font-size: .95rem; margin-top: 2px; }
.admit__alt{ display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.form-card{ background: var(--surface); border-radius: var(--r-xl); padding: clamp(24px,3vw,38px); box-shadow: var(--shadow-lg); color: var(--text); }
.form-card h3{ font-size: 1.5rem; }
.form-card > p.sub{ color: var(--muted); margin-top: 6px; font-size: .96rem; }
.field{ margin-top: 18px; }
.field label{ display: block; font-family: var(--font-display); font-weight: 600; font-size: .92rem; margin-bottom: 7px; }
.field label .req{ color: var(--cta); }
.field input, .field select, .field textarea{
  width: 100%; font-family: var(--font-body); font-size: 1rem;
  padding: 13px 15px; border-radius: var(--r-md);
  border: 1.5px solid var(--border); background: var(--bg);
  color: var(--text); transition: border-color .18s ease, box-shadow .18s ease;
}
.field input:focus, .field select:focus, .field textarea:focus{
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-soft);
}
.field textarea{ resize: vertical; min-height: 92px; }
.field--error input, .field--error select{ border-color: var(--cta); }
.field__err{ color: var(--cta-ink); font-size: .82rem; margin-top: 5px; font-weight: 600; }
.field-row{ display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-card form > .btn{ margin-top: 24px; }
.form-foot{ font-size: .82rem; color: var(--muted); margin-top: 14px; text-align: center; }

.form-success{ text-align: center; padding: 22px 8px; }
.form-success__ic{ width: 72px; height: 72px; border-radius: 50%; background: var(--secondary-soft); color: var(--secondary); display: grid; place-content: center; margin: 0 auto 18px; }
.form-success__ic svg{ width: 38px; height: 38px; }
.form-success h3{ font-size: 1.5rem; }
.form-success p{ color: var(--ink-soft); margin-top: 10px; }

/* =========================================================================
   CONTACT
   ========================================================================= */
.contact__grid{ display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px,5vw,56px); align-items: stretch; }
.contact__info{ display: flex; flex-direction: column; gap: 12px; }
.cinfo{ display: flex; gap: 15px; align-items: flex-start; padding: 18px 20px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); }
.cinfo__ic{ width: 46px; height: 46px; border-radius: var(--r-md); flex: none; display: grid; place-content: center; background: var(--primary-soft); color: var(--primary-ink); }
.cinfo__ic svg{ width: 23px; height: 23px; }
.cinfo .lbl{ font-family: var(--font-display); font-weight: 700; font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.cinfo .val{ font-size: 1.06rem; margin-top: 2px; color: var(--text); }
.cinfo a.val:hover{ color: var(--primary-ink); }
.cinfo .val small{ display: block; font-size: .82rem; color: var(--muted); font-weight: 400; }

.map-placeholder{
  border-radius: var(--r-xl); overflow: hidden; min-height: 380px; height: 100%;
  background:
    repeating-linear-gradient(45deg, var(--primary-soft) 0 22px, #e2f1fa 22px 44px);
  border: 1.5px dashed var(--primary);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 30px; gap: 12px; position: relative;
}
.map-placeholder__pin{ width: 64px; height: 64px; border-radius: 50%; background: var(--cta); display: grid; place-content: center; box-shadow: var(--shadow-md); }
.map-placeholder__pin svg{ width: 32px; height: 32px; color: #fff; }
.map-placeholder h4{ font-size: 1.25rem; }
.map-placeholder p{ color: var(--ink-soft); max-width: 360px; }
.map-placeholder .note-flag{ background: var(--surface); padding: 6px 12px; border-radius: var(--r-pill); }

/* =========================================================================
   FOOTER
   ========================================================================= */
.footer{ background: var(--text); color: #cbd3da; padding-block: clamp(48px,6vw,72px) 0; }
.footer__grid{ display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
.footer__brand img{ height: 256px; width: auto; background: #fff; border-radius: var(--r-md); padding: 14px; }
.footer__brand p{ margin-top: 16px; font-size: .95rem; color: #aab3bc; max-width: 280px; }
.footer h5{ font-family: var(--font-display); font-weight: 700; color: #fff; font-size: 1rem; margin-bottom: 16px; letter-spacing: .02em; }
.footer ul{ list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer ul a{ color: #cbd3da; font-size: .95rem; }
.footer ul a:hover{ color: #fff; }
.footer__social{ display: flex; gap: 10px; margin-top: 6px; }
.footer__social a{ width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.08); display: grid; place-content: center; color: #fff; transition: background .2s ease; }
.footer__social a:hover{ background: var(--primary); }
.footer__social svg{ width: 20px; height: 20px; }
.footer__bottom{ margin-top: clamp(40px,5vw,60px); border-top: 1px solid rgba(255,255,255,.1); padding-block: 22px; display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; justify-content: space-between; }
.footer__bottom p{ font-size: .84rem; color: #8d97a1; }
.footer__consent{ font-size: .8rem; color: #8d97a1; font-style: italic; max-width: 560px; }

/* =========================================================================
   FLOATING MOBILE ACTION BAR
   ========================================================================= */
.mobile-bar{
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 55;
  display: none;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px; padding: 9px 12px calc(9px + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  box-shadow: 0 -6px 22px rgba(37,48,59,.08);
}
.mobile-bar a{
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  min-height: 54px; border-radius: var(--r-md);
  font-family: var(--font-display); font-weight: 700; font-size: .76rem;
  color: #fff;
}
.mobile-bar svg{ width: 21px; height: 21px; }
.mobile-bar .mb-call{ background: var(--primary); }
.mobile-bar .mb-wa{ background: #25D366; }
.mobile-bar .mb-tour{ background: var(--cta); }

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 1080px){
  .gallery{ grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 920px){
  .nav, .header__actions .btn--ghost{ display: none; }
  .icon-btn{ display: inline-flex; }
  .hero__grid{ grid-template-columns: 1fr; }
  .hero__media{ order: -1; max-width: 460px; margin-inline: auto; width: 100%; }
  .about__grid{ grid-template-columns: 1fr; }
  .about__media{ max-width: 420px; margin-inline: auto; width: 100%; }
  .safety__grid{ grid-template-columns: 1fr; }
  .admit__grid{ grid-template-columns: 1fr; }
  .contact__grid{ grid-template-columns: 1fr; }
  .prog__cards{ grid-template-columns: 1fr; }
  .enrich__grid{ grid-template-columns: repeat(2, 1fr); }
  .ages{ grid-template-columns: 1fr; }
  .footer__grid{ grid-template-columns: 1fr 1fr; gap: 30px 24px; }
}

@media (max-width: 760px){
  .trust__inner{ grid-template-columns: 1fr; gap: 4px; }
  .trust__item{ justify-content: flex-start; }
  .trust__divider{ display: none; }
  .gallery{ grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .gphoto--wide{ grid-column: span 2; }
  .mobile-bar{ display: grid; }
  body{ padding-bottom: 76px; }
  .lightbox__prev{ left: 8px; } .lightbox__next{ right: 8px; }
  .header__actions .btn--cta{ display: none; }
}

@media (max-width: 560px){
  :root{ --gutter: 18px; }
  .brand__text{ display: none; }
  .values{ grid-template-columns: 1fr; }
  .enrich__grid{ grid-template-columns: 1fr; }
  .field-row{ grid-template-columns: 1fr; }
  .footer__grid{ grid-template-columns: 1fr; }
  .hero__badge{ left: 50%; transform: translateX(-50%); bottom: -22px; }
  .about__stamp{ width: 96px; height: 96px; right: 6px; }
}

@media (max-width: 380px){
  .mobile-bar a{ font-size: .7rem; }
}
