/* موقع الحضانة — the template's look (his picks «أ» + «د»). The nursery's two colours arrive as --primary / --accent;
   each program brings its own --c. Always the light, playful look of the nursery's brand. */
:root {
  --primary: #7B2D8E; --accent: #D6177F;
  --ink: #24212B; --muted: #6C6875; --line: #E8E3EE; --soft: #F7F2FA; --card: #fff; --ok: #1E7F3E; --okbg: #E4F4E9;
  --warn: #A15C00; --warnbg: #FFF1D6; --bad: #B42318; --badbg: #FDE7E7;
  --radius: 18px; --shadow: 0 6px 24px rgba(36, 18, 48, .10);
  --font: "Cairo", "Segoe UI", Tahoma, sans-serif;
  color-scheme: light;
}
html[lang="en"], html[lang="fr"], html[lang="de"] { --font: "Nunito", "Segoe UI", Arial, sans-serif }
* { box-sizing: border-box }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100% }
body { margin: 0; background: #fff; color: var(--ink); font-family: var(--font); line-height: 1.75; font-size: 16px; overflow-wrap: break-word }
img { max-width: 100%; display: block }
a { color: inherit }
button, input, select, textarea { font: inherit; color: inherit }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto }
.boot { min-height: 100vh; display: grid; place-items: center }
.spin { width: 38px; height: 38px; border-radius: 50%; border: 4px solid var(--line); border-top-color: var(--primary); animation: spin 1s linear infinite }
@keyframes spin { to { transform: rotate(360deg) } }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0) }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px }

/* ---------- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer; text-decoration: none;
  background: var(--accent); color: #fff; border-radius: 1.6em; padding: 11px 24px; font-weight: 800; max-width: 100%; text-align: center;
  box-shadow: 0 4px 14px color-mix(in srgb, var(--accent) 35%, transparent); transition: transform .15s, filter .15s }
.btn:hover { transform: translateY(-1px); filter: brightness(1.06) }
.btn.ghost { background: transparent; color: inherit; border: 2px solid currentColor; box-shadow: none }
.btn.light { background: #fff; color: var(--primary); box-shadow: none }
.btn.sm { padding: 6px 14px; font-size: 14px }
.btn.wide { width: 100% }
.btn[disabled] { opacity: .6; cursor: wait }

/* ---------- announcement + header */
.announce { background: var(--primary); color: #fff; text-align: center; padding: 6px 16px; font-weight: 700; font-size: 14.5px }
.hd { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line) }
.hd .wrap { display: flex; align-items: center; gap: 14px; min-height: 70px }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; color: var(--primary); min-width: 0 }
/* 2026-10-30 (his photo): a logo with a drawing and its name was a speck at 52 px — taller, and a wide logo keeps its width */
.brand img { height: 76px; width: auto; max-width: 190px; min-width: 52px; object-fit: contain; border-radius: 12px; background: #fff; flex-shrink: 0; margin-block: 4px }
@media (max-width: 600px) { .brand img { height: 58px; max-width: 130px } }
.brand span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 220px }
.nav { display: flex; gap: 4px; margin-inline-start: auto }
.nav a { text-decoration: none; font-weight: 700; padding: 6px 12px; border-radius: 999px; color: var(--ink) }
.nav a:hover, .nav a[aria-current="page"] { background: var(--soft); color: var(--primary) }
.burger { display: none; margin-inline-start: auto; background: none; border: 0; font-size: 28px; color: var(--primary); cursor: pointer; padding: 4px 8px }
/* 2026-10-30 (final review): the menu grew to nine pages — at 1024–1440 it pushed the name to «…» and the visit button off
   the screen. ☰ from 1180 down, and above that whenever the header doesn't fit (site.js fitHeader adds .navc) */
@media (max-width: 1180px) {
  .burger { display: block }
  .nav { display: none; position: absolute; inset-inline: 0; top: 100%; background: #fff; flex-direction: column; padding: 10px 16px 16px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow) }
  .nav.open { display: flex }
}
.navc .burger { display: block }
.navc .nav { display: none; position: absolute; inset-inline: 0; top: 100%; background: #fff; flex-direction: column; padding: 10px 16px 16px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow) }
.navc .nav.open { display: flex }
.nophone .hd-phone { display: none }
/* 2026-11-10 (his ask on ZIN's site): a long menu on a computer — its own row under the logo, every page in sight */
@media (min-width: 1181px) {
  .navrow .hd .wrap { flex-wrap: wrap; row-gap: 0 }
  .navrow .hd .brand { margin-inline-end: auto }
  .navrow .hd .nav { order: 10; flex: 0 0 100%; justify-content: center; margin-inline-start: 0; border-top: 1px solid var(--line); padding: 6px 0 }
  .navrow .burger { display: none }
}
@media (max-width: 600px) { .hd .cta-top { display: none } }      /* «احجز زيارة» stays on the bar down to a phone */
.brand span { unicode-bidi: plaintext }      /* an Arabic name in the English header: cut at its end, not its start */

/* ---------- hero «أ»: rotating photos, a wave, the age picker inside */
.hero { position: relative; color: #fff; min-height: min(640px, 92vh); display: flex; align-items: center; overflow: hidden; padding: 70px 0 120px; background: var(--primary) }
.hero .slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 1.2s ease; transform: scale(1.04) }
.hero .slide.on { opacity: 1; animation: kb 9s ease-out forwards }
@keyframes kb { to { transform: scale(1) } }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,6,28,.15), rgba(20,6,28,.72)) }
html[dir="ltr"] .hero::after { background: linear-gradient(270deg, rgba(20,6,28,.15), rgba(20,6,28,.72)) }
.hero .in { position: relative; z-index: 2; max-width: 560px }
.pill { display: inline-block; background: rgba(255,255,255,.22); border-radius: 1em; padding: 2px 14px; font-weight: 800; font-size: 14px; margin-bottom: 8px }
.hero h1 { font-size: clamp(32px, 5vw, 54px); line-height: 1.2; margin: 0 0 10px; text-wrap: balance }
.hero p.lead { font-size: 18px; margin: 0 0 20px; opacity: .95 }
.hero .row { display: flex; gap: 10px; flex-wrap: wrap }
.dots { position: absolute; z-index: 3; bottom: 92px; inset-inline-end: 24px; display: flex; gap: 6px }
.dots button { width: 10px; height: 10px; border-radius: 99px; border: 0; background: rgba(255,255,255,.55); cursor: pointer; padding: 0; transition: width .3s }
.dots button.on { width: 28px; background: #fff }
.wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 70px; z-index: 2; display: block }
.wave.top { top: -1px; bottom: auto; transform: scaleY(-1) }

.agebox { margin-top: 22px; background: rgba(255,255,255,.97); color: var(--ink); border-radius: 20px; padding: 14px 16px; box-shadow: 0 10px 30px rgba(0,0,0,.18); display: grid; gap: 10px }
.agebox b.q { font-size: 17px }
/* 2026-11-09: under the main picture, after the numbers — no longer over it */
.agesec { padding-block: 18px 6px; position: relative; z-index: 2 }
.agesec .agebox { margin: 0 auto; max-width: 880px; box-shadow: 0 8px 24px rgba(36, 18, 48, .10); border: 1px solid var(--line) }
.chips { display: flex; gap: 6px; flex-wrap: wrap }
.chip { border: 2px solid var(--line); background: #fff; border-radius: 1em; padding: 4px 14px; font-weight: 800; cursor: pointer; font-size: 14.5px }
.chip[aria-pressed="true"] { background: var(--c, var(--primary)); border-color: var(--c, var(--primary)); color: #fff }
.match { display: flex; align-items: center; gap: 12px; background: var(--soft); border-radius: 14px; padding: 8px 10px; flex-wrap: wrap }
.match img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; border: 3px solid var(--c) }
.match .t { flex: 1; min-width: 160px }
.match .t b { color: var(--c) }

/* ---------- facts: cards floating over the wave */
/* 1 to 4 cards, always centred (ZIN has 2: «٣ فروع» and «٥ برامج») */
.facts { position: relative; z-index: 4; margin-top: -70px; display: flex; justify-content: center; gap: 16px }
.fact { flex: 1 1 0; max-width: 290px; background: #fff; border-radius: var(--radius); padding: 16px 12px; text-align: center; box-shadow: var(--shadow); border-bottom: 5px solid var(--c) }
.fact i { font-style: normal; font-size: 30px; display: block; line-height: 1.2 }
.fact b { display: block; font-size: 18px }
.fact small { color: var(--muted) }
@media (max-width: 760px) { .facts { flex-wrap: wrap; gap: 10px; margin-top: -56px } .fact { flex: 1 1 calc(50% - 5px) } }

/* ---------- sections */
.sec { padding: 64px 0 }
.sec.alt { background: var(--soft) }
.sec h2 { font-size: clamp(26px, 3.4vw, 36px); margin: 0 0 6px; color: var(--primary); line-height: 1.3 }
.sec .sub { color: var(--muted); margin: 0 0 28px; font-size: 17px }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px }
.pcard { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); text-decoration: none; display: flex; flex-direction: column; transition: transform .2s }
.pcard:hover { transform: translateY(-4px) }
.pcard .ph { aspect-ratio: 4/3; background: var(--soft) center/cover; border-bottom: 6px solid var(--c) }
.pcard .bd { padding: 14px 16px 18px; display: grid; gap: 2px }
.pcard b { font-size: 20px; color: var(--c) }
.pcard small { color: var(--muted) }
.seat { justify-self: start; display: inline-block; border-radius: 1em; padding: 1px 12px; font-weight: 800; font-size: 13.5px; margin-top: 6px }
.seat.available { background: var(--okbg); color: var(--ok) }
.seat.limited { background: var(--warnbg); color: var(--warn) }
.seat.full { background: var(--badbg); color: var(--bad) }

.tl { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 14px; position: relative }
.tl .st2 { display: grid; justify-items: center; text-align: center; gap: 6px; font-weight: 700 }
.tl .st2 i { font-style: normal; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font-size: 28px;
  background: color-mix(in srgb, var(--c) 18%, #fff); border: 3px solid var(--c) }
.tl .st2 small { color: var(--muted); font-weight: 600 }

.about { display: grid; grid-template-columns: 1fr 1fr; gap: 20px }
.about div { background: #fff; border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); border-top: 6px solid var(--c) }
.about h3 { margin: 0 0 6px; color: var(--c) }
@media (max-width: 760px) { .about { grid-template-columns: 1fr } }

.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; align-items: stretch }
.quote { background: #fff; border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); margin: 0; display: flex; flex-direction: column; gap: 8px }
.quote::before { content: "“"; font-size: 54px; line-height: .6; color: var(--accent); font-family: Georgia, serif }
.quote footer { color: var(--muted); font-weight: 700; margin-top: auto }
.rating { display: flex; align-items: center; gap: 14px; background: #fff; border-radius: var(--radius); padding: 16px 20px; box-shadow: var(--shadow); text-decoration: none; margin-bottom: 20px; width: fit-content }
.rating b { font-size: 34px; color: #C88700 }
.rating .stars { color: #F2B705; font-size: 20px; letter-spacing: 2px }

.news { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px }
.news article { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow) }
.news .ph { aspect-ratio: 16/10; background: var(--soft) center/cover }
.news .bd { padding: 12px 16px 16px }
.news h3 { margin: 0; font-size: 18px }
.news time { color: var(--muted); font-size: 14px }
.news p { margin: 6px 0 0; color: var(--muted) }

.video { aspect-ratio: 16/9; width: 100%; border: 0; border-radius: var(--radius); box-shadow: var(--shadow); background: #000 }
.partners { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 12px }
.partners span { border: 1.5px solid var(--line); border-radius: 14px; padding: 16px 8px; text-align: center; font-weight: 800; color: #5B5A66; background: #fff }

.faq details { background: #fff; border-radius: 14px; margin-bottom: 10px; box-shadow: 0 2px 10px rgba(0,0,0,.05); border: 1px solid var(--line) }
.faq summary { cursor: pointer; padding: 14px 18px; font-weight: 800; list-style: none; display: flex; justify-content: space-between; gap: 10px }
.faq summary::after { content: "+"; color: var(--accent); font-size: 22px; line-height: 1 }
.faq details[open] summary::after { content: "−" }
.faq details p { margin: 0; padding: 0 18px 16px; color: var(--muted) }

.branches { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px }
.branch { background: #fff; border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); display: grid; gap: 4px; border-inline-start: 6px solid var(--primary) }
.branch h3 { margin: 0; color: var(--primary) }
.branch .row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px }

.band { position: relative; background: linear-gradient(90deg, var(--primary), var(--accent)); color: #fff; padding: 90px 0 56px }
.band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap }
.band h2 { margin: 0; font-size: clamp(24px, 3vw, 34px) }
.booklet { display: flex; align-items: center; gap: 18px; background: #fff; border-radius: var(--radius); padding: 20px 24px; box-shadow: var(--shadow); flex-wrap: wrap }
.booklet i { font-style: normal; font-size: 44px }
.booklet div { flex: 1; min-width: 200px }

/* ---------- programs page «د»: a colour band per age, waves between */
.pagehead { background: var(--soft); padding: 46px 0 30px; text-align: center }
.pagehead h1 { margin: 0; color: var(--primary); font-size: clamp(30px, 4vw, 44px) }
.pagehead p { margin: 4px 0 0; color: var(--muted); font-size: 17px }
.agenav { position: sticky; top: 70px; z-index: 20; background: rgba(255,255,255,.95); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line) }
.agenav .wrap { display: flex; gap: 8px; padding: 10px 0; overflow-x: auto; scrollbar-width: none }
.agenav a { flex: none; text-decoration: none; background: var(--c); color: #fff; border-radius: 14px; padding: 4px 16px; font-weight: 800; line-height: 1.35; display: grid }
.agenav small { font-weight: 600; opacity: .92; font-size: 12.5px; unicode-bidi: isolate }
.pband { position: relative; background: var(--c); color: #fff; padding: 84px 0 64px; scroll-margin-top: 130px }
.pband .head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 18px }
.pband h2 { margin: 0; font-size: clamp(30px, 4vw, 42px); color: #fff }
.pband .ages { font-weight: 700; opacity: .95; unicode-bidi: isolate }
.pband .tag { background: rgba(255,255,255,.25); border-radius: 1em; padding: 1px 14px; font-weight: 700 }
.pgrid { display: grid; grid-template-columns: 240px 1fr 280px; gap: 28px; align-items: start }
/* 2026-11-09: the programs' bands on the home page (his ask on ZIN's site) */
.pband.homeprog { padding: 70px 0 48px }
.pband.homeprog .homeprog-circ { width: 220px; height: 220px; max-width: 100%; margin: 6px auto 0; border-radius: 50%; background: rgba(255,255,255,.25) center/cover; border: 7px solid rgba(255,255,255,.75); box-shadow: 0 12px 30px rgba(0,0,0,.18) }
@media (max-width: 600px) { .pband.homeprog .homeprog-circ { width: 180px; height: 180px } }
.pgrid .circ { width: 240px; height: 240px; border-radius: 50%; background: rgba(255,255,255,.25) center/cover; border: 7px solid rgba(255,255,255,.75); box-shadow: 0 12px 30px rgba(0,0,0,.18) }
.goals .gh { background: #fff; color: var(--ink); text-align: center; font-weight: 800; border-radius: 12px; padding: 8px; margin-bottom: 8px }
.goals details { background: rgba(255,255,255,.18); border-radius: 12px; margin-bottom: 8px }
.goals details[open] { background: rgba(255,255,255,.3) }
.goals summary { cursor: pointer; list-style: none; padding: 9px 14px; font-weight: 800; display: flex; justify-content: space-between; gap: 8px }
.goals summary::after { content: "+"; font-size: 20px; line-height: 1 }
.goals details[open] summary::after { content: "−" }
.goals details p { margin: 0; padding: 0 14px 12px }
.pside { display: grid; gap: 12px }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px }
.stats div { background: #fff; color: var(--ink); border-radius: 14px; padding: 8px 4px; text-align: center; font-size: 13.5px; font-weight: 700 }
.stats b { display: block; font-size: 22px; color: var(--primary) }
.stats .ok b { color: var(--ok) } .stats .limited b { color: var(--warn) } .stats .full b { color: var(--bad) }
.mday { display: flex; flex-wrap: wrap; gap: 6px }
.mday span { background: rgba(255,255,255,.22); border-radius: 1em; padding: 2px 12px; font-size: 14px; font-weight: 700 }
@media (max-width: 960px) {
  .pgrid { grid-template-columns: 1fr }
  .pgrid .circ { width: 190px; height: 190px; margin-inline: auto }
}

/* ---------- forms */
.formpage { display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; align-items: start }
@media (max-width: 860px) { .formpage { grid-template-columns: 1fr } }
.form { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; display: grid; gap: 14px; border-top: 6px solid var(--accent) }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px }
@media (max-width: 560px) { .form .two { grid-template-columns: 1fr } }
.field { display: grid; gap: 4px }
.field label { font-weight: 800; font-size: 14.5px }
.field input, .field select, .field textarea { border: 1.5px solid var(--line); border-radius: 12px; padding: 11px 12px; background: #fff; width: 100% }
/* 2026-11-05: an empty date input collapses on iPhones; in an Arabic page it still starts from the field's right */
.field input[type="date"] { min-height: 46px; min-width: 0; max-width: 100% }
[dir="rtl"] .field input[type="date"] { text-align: right }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--primary); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 18%, transparent) }
.field .hint { color: var(--muted); font-size: 13px }
.slots { display: flex; gap: 6px; flex-wrap: wrap }
.slots .chip { font-size: 14px }
/* the application tracking page (2026-11-04, his pick: «خطوات الطلب»): the design's own colour and fonts */
.trk { max-width: 520px; display: grid; gap: 16px }
.trk-card { display: grid; gap: 12px }
.trk-top { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; font-size: 14px; color: var(--muted) }
.trk-code { font-weight: 700; letter-spacing: 1px; font-variant-numeric: tabular-nums; unicode-bidi: isolate }
.trk-big { margin: 0; font-size: 22px; color: var(--ink, inherit); overflow-wrap: anywhere }
.trk-steps { list-style: none; margin: 0; padding: 0; display: grid }
.trk-st { display: grid; grid-template-columns: 24px 1fr; gap: 10px; padding-block: 8px; align-items: start; overflow-wrap: anywhere }
.trk-st small { display: block; color: var(--muted); font-size: 14px; font-weight: 400 }
.trk-st b { font-weight: 600 }
.trk-dot { width: 18px; height: 18px; border-radius: 50%; background: #d9d6e3; margin-block-start: 4px }
.trk-st.done .trk-dot { background: #12784a }
.trk-st.now .trk-dot { background: var(--primary); outline: 4px solid color-mix(in srgb, var(--primary) 22%, transparent) }
.trk-st.now b { color: var(--trk, var(--primary)); font-weight: 700 }
.trk-st.wait { color: var(--muted) }
.trk-st.wait b { font-weight: 400 }
.trk-btn { display: block; text-align: center; border-radius: 12px; padding: 12px; font-weight: 700; text-decoration: none; min-height: 44px }
.trk-btn.trk-wa { background: #0f7d53; color: #fff }
.trk-btn.trk-alt { background: transparent; color: var(--trk, var(--primary)); border: 2px solid var(--trk, var(--primary)) }
/* a photo's real <img> (site.js `lazyPhotos`): it loads the photo and carries its alt; the design's background shows it */
.lz { position: absolute !important; width: 1px !important; height: 1px !important; min-width: 0 !important; max-width: 1px !important;
  margin: 0 !important; padding: 0 !important; border: 0 !important; opacity: 0 !important; transform: none !important; animation: none !important;
  pointer-events: none !important }
.hp { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; opacity: 0 }
.msg { border-radius: 12px; padding: 12px 14px; font-weight: 700 }
.msg.ok { background: var(--okbg); color: var(--ok) }
.msg.bad { background: var(--badbg); color: var(--bad) }
.side { display: grid; gap: 16px }
.infocard { background: var(--soft); border-radius: var(--radius); padding: 18px 20px }
.infocard h3 { margin: 0 0 6px; color: var(--primary) }
.jobs { display: grid; gap: 12px }
.job { background: #fff; border-radius: 14px; padding: 16px 18px; box-shadow: 0 2px 10px rgba(0,0,0,.06); border-inline-start: 5px solid var(--accent) }
.job h3 { margin: 0 }
.job p { margin: 4px 0 0; color: var(--muted); white-space: pre-line }
.empty { text-align: center; color: var(--muted); padding: 40px 10px }

/* ---------- modal (the booklet) */
.modal { position: fixed; inset: 0; z-index: 60; background: rgba(20,8,28,.55); display: grid; place-items: center; padding: 16px }
.modal .form { width: min(440px, 100%); position: relative }
.modal > .booked { max-height: 100%; overflow: auto; text-align: center; justify-items: center }
.booked h2 { margin: 0; color: var(--primary) }
.booked-tick { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-size: 30px; font-weight: 800; background: var(--okbg); color: var(--ok) }
.booked dl { margin: 0; width: 100%; background: var(--soft); border-radius: 12px; padding: 4px 14px }
.booked dl > div { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--line) }
.booked dl > div:last-child { border-bottom: 0 }
.booked dt { color: var(--muted); flex: none }
.booked dd { margin: 0; font-weight: 700; color: var(--ink); text-align: end; overflow-wrap: anywhere }
.modal .x { position: absolute; top: 8px; inset-inline-end: 10px; border: 0; background: none; font-size: 26px; cursor: pointer; color: var(--muted) }

/* ---------- footer + floating buttons */
.ft { background: #1F1428; color: #EDE7F2; padding: 48px 0 90px }
.ft .wrap { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 28px }
.ft h4 { margin: 0 0 8px; color: #fff }
.ft a { color: #EDE7F2; text-decoration: none }
.ft a:hover { text-decoration: underline }
.ft ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px }
.ft .logo { width: 64px; height: 64px; object-fit: contain; background: #fff; border-radius: 14px; margin-bottom: 8px }
.ft .by { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.12); padding-top: 14px; font-size: 13.5px; opacity: .75 }
.social { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px }
.social a { border: 1px solid rgba(255,255,255,.3); border-radius: 1em; padding: 2px 12px; font-size: 13.5px }
@media (max-width: 760px) { .ft .wrap { grid-template-columns: 1fr } }
.wa { position: fixed; z-index: 40; bottom: 18px; inset-inline-start: 18px; width: 58px; height: 58px; border-radius: 50%; background: #25D366; display: grid; place-items: center; box-shadow: 0 6px 18px rgba(0,0,0,.25) }
.wa svg { width: 32px; height: 32px; fill: #fff }
.stickybook { display: none }
@media (max-width: 760px) {
  .stickybook { display: block; position: fixed; z-index: 39; bottom: 0; inset-inline: 0; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: #fff; box-shadow: 0 -4px 16px rgba(0,0,0,.08) }
  .stickybook .btn { width: calc(100% - 70px) }
  .wa { bottom: 10px; width: 50px; height: 50px; inset-inline-start: auto; inset-inline-end: 14px }
  .sec { padding: 46px 0 }
  .hero { padding: 40px 0 110px; min-height: 0 }
}
.ssr { padding: 30px 0 60px }
.ssr h1 { color: var(--primary) }
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 20px }


/* ================================================================ look «١» (2026-10-26, round 2): ZIN's spirit, done properly
   a big wave, photos inside ZIN's rounded shapes with a coloured ring, little coloured marks, the programs upright and staggered */
:root { --display: "Baloo Bhaijaan 2", "Cairo", sans-serif; --lav: #F3F0F8 }
.hero h1, .sec h2, .pagehead h1, .progpage h1, .band h2 { font-family: var(--display); font-weight: 800 }
.hero { min-height: min(680px, 92vh); padding-bottom: 170px }
.hero::after { background: linear-gradient(270deg, rgba(25,8,32,.74), rgba(25,8,32,.12) 70%) }
html[dir="ltr"] .hero::after { background: linear-gradient(90deg, rgba(25,8,32,.74), rgba(25,8,32,.12) 70%) }
.hero .kick { display: inline-block; color: #FFD1E8; font-weight: 800; margin-bottom: 4px }
.hero h1 { font-size: clamp(36px, 5.4vw, 62px); line-height: 1.15 }
.btn.ghostw { background: transparent; color: #fff; border: 2px solid #fff; box-shadow: none }
.bigwave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 150px; z-index: 2; display: block }
.dots { bottom: 150px }
.factsbar { background: var(--lav); padding-bottom: 10px }
.factsbar .facts { margin-top: -90px }
.c { text-align: center }
.sec.lav { background: var(--lav) }
.deco { position: relative; overflow: hidden }
.cf { position: absolute; display: block; pointer-events: none; z-index: 0 }
.cf.sq { width: 20px; height: 20px; border: 4px solid var(--accent); top: 34px; inset-inline-start: 46%; transform: rotate(12deg) }
.cf.tri { width: 0; height: 0; border-left: 14px solid transparent; border-right: 14px solid transparent; border-bottom: 24px solid var(--primary); bottom: 34px; inset-inline-end: 4%; transform: rotate(-18deg) }
.cf.dot { width: 16px; height: 16px; border-radius: 50%; background: var(--accent); bottom: 70px; inset-inline-start: 48% }
.cf.ring { width: 20px; height: 20px; border-radius: 50%; border: 4px solid #24212B; top: 24px; inset-inline-start: 4% }
.cf.squig { width: 120px; height: 24px; top: 30px; inset-inline-end: 6% }
.cf.squig path { fill: none; stroke: var(--primary); stroke-width: 4; stroke-linecap: round }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px; align-items: center; position: relative; z-index: 1 }
.split.rev > .blob { order: 2 }
.split .tx h2 { margin-bottom: 4px }
.dotline { display: block; width: 210px; max-width: 70%; border-top: 4px dotted var(--c, var(--primary)); margin: 4px 0 16px }
.dotline.c { margin-inline: auto }
.tx p { font-size: 17px; color: #45404F }
.blob { position: relative; padding: 10px }
.blob::before { content: ""; position: absolute; inset: 0; border-radius: 58% 42% 45% 55% / 48% 52% 48% 52%; background: var(--ring); transform: rotate(-4deg) }
.blob > div { position: relative; aspect-ratio: 4/3.6; background: #eee center/cover; border-radius: 46% 54% 38% 62% / 55% 38% 62% 45%; box-shadow: 0 14px 34px rgba(36,18,48,.18) }
.blob.tall > div { aspect-ratio: 3/3.6 }
.blob.wide > div { aspect-ratio: 4/3 }
.slotbox { background: #fff; border-radius: 18px; padding: 14px 16px; box-shadow: 0 8px 26px rgba(123,45,142,.14); margin-top: 18px; display: grid; gap: 10px; max-width: 520px }
.slotbox .days { display: flex; gap: 8px; flex-wrap: wrap; align-items: center }
.slotbox .days a { text-decoration: none; border: 2px solid var(--line); border-radius: 14px; padding: 4px 14px; display: grid; line-height: 1.35 }
.slotbox .days a:first-child { border-color: var(--primary); background: var(--soft) }
.slotbox .days small { color: var(--ok); font-weight: 700 }
.slotbox .more { border: 0 !important; color: var(--primary); font-weight: 800 }
.stagger { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 20px; align-items: start }
.stagger .st { text-decoration: none; display: grid; gap: 2px; transition: transform .2s }
.stagger .st:hover { transform: translateY(-4px) }
@media (min-width: 900px) { .stagger:not(.small) .st:nth-child(even) { margin-top: 56px } }
.stagger .ph { aspect-ratio: 3/4; border-radius: 22px; background: var(--soft) center/cover; border-bottom: 7px solid var(--c); box-shadow: 0 10px 26px rgba(36,18,48,.12) }
.stagger.small .ph { aspect-ratio: 1 }
.stagger b { font-family: var(--display); font-size: 21px; color: var(--c); filter: brightness(.82); margin-top: 8px }
.stagger .ages { color: var(--muted); font-weight: 700 }
.stagger span { color: #5B5A66; font-size: 15px }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px }
.ticks li { display: grid; padding-inline-start: 34px; position: relative }
.ticks li::before { content: "\2713"; position: absolute; inset-inline-start: 0; top: 2px; width: 24px; height: 24px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 800 }
.ticks b { font-size: 17px }
.ticks span { color: var(--muted) }
.curr { background: var(--primary); color: #fff; border-radius: 26px; padding: 34px 38px; box-shadow: 0 16px 40px color-mix(in srgb, var(--primary) 35%, transparent) }
.curr h2 { color: #fff; margin: 0 0 6px }
.curr p { opacity: .92; margin: 0 0 12px }
.curr ul { margin: 0; padding-inline-start: 22px; display: grid; gap: 6px }
.curr li { font-size: 16px }
.trio { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; align-items: start }
.tri { text-align: center; display: grid; justify-items: center; gap: 4px }
.tri .blob { width: min(300px, 100%) }
.tri h3 { margin: 10px 0 0; font-family: var(--display); font-size: 22px }
.tri p { color: #5B5A66; margin: 0 }
.tri-ic { width: 120px; height: 120px; border-radius: 50%; display: grid; place-items: center; font-size: 46px; background: color-mix(in srgb, var(--ring) 22%, #fff); border: 5px solid var(--ring) }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 180px; gap: 12px }
.gallery .g { border-radius: 18px; background: #eee center/cover }
.gallery .g0 { grid-row: span 2 }
.gallery .g3 { grid-column: span 2 }
.gallery .g5 { grid-row: span 2 }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px } .gallery .g3 { grid-column: auto } }
.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 20px; text-align: center }
.mem { display: grid; justify-items: center; gap: 2px }
.mem .face { width: 130px; height: 130px; border-radius: 50%; background: var(--soft) center/cover; border: 5px solid #fff; box-shadow: 0 0 0 4px var(--ring) }
.mem .face.none { display: grid; place-items: center; font-size: 50px }
.mem b { margin-top: 8px }
.mem small { color: var(--muted) }
.partners .logo { padding: 10px; display: grid; place-items: center; min-height: 92px }
.partners .logo img { max-height: 70px; max-width: 100%; object-fit: contain }
.overlap { position: relative; min-height: 360px; display: flex; align-items: center }
.ov-ph { position: absolute; inset: 0; border-radius: 26px; background: #eee center/cover }
.ov-card { position: relative; margin-inline-start: 6%; background: var(--primary); color: #fff; border: 7px solid #8BC53F; border-radius: 24px; padding: 28px 30px; max-width: 460px; box-shadow: 0 16px 40px rgba(0,0,0,.25) }
.ov-card h2 { color: #fff; margin: 0 0 6px; font-size: 28px }
.ov-card p { opacity: .92 }
.progpage { background: linear-gradient(180deg, color-mix(in srgb, var(--c) 14%, #fff), #fff); padding: 50px 0 60px }
.progpage h1 { font-size: clamp(36px, 5vw, 56px); color: var(--c); filter: brightness(.8); margin: 6px 0 4px }
.agechip { display: inline-block; background: var(--c); color: #fff; border-radius: 1em; padding: 2px 14px; font-weight: 800 }
.progpage .lead { font-size: 18px; color: #45404F }
.stats.light { max-width: 420px; margin: 14px 0 }
.stats.light div { background: #fff; box-shadow: 0 4px 14px rgba(0,0,0,.06) }
.split2 { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: start }
.goals.pale details { background: #fff; color: var(--ink) }
.goals.pale details[open] { background: #fff; box-shadow: 0 4px 14px rgba(0,0,0,.06) }
.goals.pale .gh { background: var(--primary); color: #fff }
.daychip { display: grid !important; line-height: 1.35; border-radius: 14px !important; text-align: center }
.daychip small { color: var(--ok); font-weight: 700 }
.daychip[aria-pressed="true"] small { color: #fff }
.chip[disabled] { opacity: .4; text-decoration: line-through; cursor: not-allowed }
/* 2026-11-08 (his pick ٢): the visit's month calendar */
#wdays { display: grid; gap: 8px; max-width: 420px }
.calhead { display: flex; align-items: center; justify-content: space-between; gap: 8px }
.calnav { width: 36px; height: 34px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; font-size: 20px; line-height: 1 }
.calnav[disabled] { opacity: .3; cursor: default }
/* 2026-11-11 (his photo): a day took its column's whole width — 57 px circles 4 px apart ran into each other on a
   computer. Now each day is a 42 px circle (smaller when the column is) in the middle of its column, with room round it. */
.cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px 4px; text-align: center; justify-items: center; align-items: center }
.calwd { font-size: 12px; color: var(--muted); font-weight: 700 }
.calday { width: 88%; max-width: 42px; aspect-ratio: 1; padding: 0; box-sizing: border-box; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 15px; line-height: 1; border: 0; background: transparent; font-variant-numeric: tabular-nums }
button.calday { background: color-mix(in srgb, var(--primary) 12%, #fff); color: var(--primary); cursor: pointer }
button.calday.low { box-shadow: inset 0 0 0 2px var(--warn) }
button.calday[aria-pressed="true"] { background: var(--primary); color: #fff; box-shadow: none }
.calday.off { color: var(--muted); opacity: .45 }
.callegend { display: flex; flex-wrap: wrap; gap: 14px; font-size: 12.5px; color: var(--muted) }
.callegend i { display: inline-block; width: 11px; height: 11px; border-radius: 50%; vertical-align: middle; margin-inline-end: 5px; background: color-mix(in srgb, var(--primary) 12%, #fff); box-shadow: inset 0 0 0 1px var(--primary) }
.callegend i.low { box-shadow: inset 0 0 0 2px var(--warn) }
#wtimes .tgroup { flex-basis: 100%; display: grid; gap: 4px }
#wtimes .tgroup small { color: var(--muted); font-weight: 700; font-size: 12.5px }
.chosen { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; background: var(--okbg); color: var(--ok); border-radius: 12px; padding: 8px 12px; font-weight: 800; font-size: 14.5px; margin-top: 4px }
.linkbtn { background: none; border: 0; padding: 0; color: var(--primary); font-weight: 700; text-decoration: underline; cursor: pointer }
[type="submit"]:disabled { opacity: .5; cursor: not-allowed; transform: none }
@media (max-width: 860px) {
  .split, .split2 { grid-template-columns: 1fr; gap: 26px }
  .split.rev > .blob { order: 0 }
  .blob { max-width: 440px; margin-inline: auto; width: 100% }
  .hero { padding-bottom: 130px }
  .bigwave { height: 90px }
  .dots { bottom: 100px }
  .factsbar .facts { margin-top: -60px }
  .curr { padding: 24px 20px }
  .overlap { min-height: 0; display: grid }
  .ov-ph { position: relative; height: 220px }
  .ov-card { margin: -40px 12px 0 }
}

/* 2026-10-26 review: text on a program's colour is readable (WCAG 4.5:1) — --on is white or dark ink, --deep a darker
   shade of the colour for text on white */
.pband { color: var(--on, #fff) }
.pband h2 { color: var(--on, #fff) }
.pband .tag { background: color-mix(in srgb, var(--on, #fff) 18%, transparent) }
.agenav a { color: var(--on, #fff) }
.agechip { color: var(--on, #fff) }
.chip[aria-pressed="true"] { color: var(--on, #fff) }
.stagger b { color: var(--deep, var(--c)); filter: none }
.progpage h1 { color: var(--deep, var(--c)); filter: none }
.pcard b, .match .t b { color: var(--deep, var(--c)) }

/* 2026-11-07 (his picks 3 and 5): the parents' app — real screens (assets/app/, one set per language, transparent), then one
   phone with its captions. The soft colour behind each picture is the theme's, so a picture sits on any design. */
.appgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center }
.appshots, .appshot { position: relative; isolation: isolate }
.appshots img, .appshot img { display: block; width: 100%; height: auto }
.appshots::before, .appshot::before { content: ""; position: absolute; z-index: -1; border-radius: 50%; pointer-events: none }
/* 2026-11-10 (his pick 4): the nursery's own photos inside the three phones — sizes in cqw (1 unit of the 1000-wide
   sheet = .1cqw), places in % of the sheet, so they stay on their spots at any width */
.ap-phones { position: relative; container-type: inline-size }
.ap-cut { position: absolute; inset: 0; pointer-events: none }
.appshots .ap-ov, .appshots .ap-alb { position: absolute; transform-origin: 0 0; overflow: hidden; background: #eee }
.appshots .ap-ov img, .appshots .ap-alb img { width: 100%; height: 100%; object-fit: cover; display: block }
.appshots .ap-alb { width: 24.8cqw; height: 43.6cqw; padding: .6cqw .7cqw; background: #f4f2f9; border-radius: 0 0 3cqw 3cqw; font-size: .85cqw; color: #222; line-height: 1.3 }
.ap-card { background: #fff; border-radius: .9cqw; padding: .6cqw; margin-bottom: .6cqw; border-inline-start: .2cqw solid var(--primary, #7c3aed) }
.ap-hd { display: flex; justify-content: space-between; align-items: center; margin: .1cqw .2cqw .5cqw }
.ap-hd small { color: #888 }
.ap-g { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 5.4cqw; gap: .3cqw }
.ap-g > div { border-radius: .4cqw; overflow: hidden; background: #eee }
.ap-g .t2 { grid-row: span 2 }
.ap-g .w2 { grid-column: span 2 }
.appshots::before { inset: 28% 12% 0; background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 20%, transparent), transparent) }
.appshot::before { inset: 8% -8%; background: radial-gradient(closest-side, color-mix(in srgb, var(--primary) 18%, transparent), transparent) }
.appcard h2 { font-family: var(--display); margin: 0 0 6px }
.appcard .ticks { margin: 14px 0 20px }
.appguide { position: relative; width: min(100%, 1000px); aspect-ratio: 1000 / 880; margin: 44px auto 0 }
.appshot { position: absolute; top: 0; left: 26.5%; width: 47% }
.appguide svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible }
.appguide path { fill: none; stroke: var(--accent); stroke-width: 2.2 }
.appguide circle { fill: #fff; stroke: var(--accent); stroke-width: 3 }
.appdot, .appcaps i { display: none }
.appcaps { list-style: none; margin: 0; padding: 0 }
.appcaps li { position: absolute; width: 22.5%; transform: translateY(-50%); padding: 11px 14px; margin: 0; background: var(--card, #fff); color: var(--ink);
  border-radius: 16px; box-shadow: var(--shadow); overflow-wrap: anywhere }
.appcaps li.s { inset-inline-start: 0; border-inline-end: 4px solid var(--accent) }
.appcaps li.e { inset-inline-end: 0; border-inline-start: 4px solid var(--accent) }
.appcaps b { display: block; font-family: var(--display); font-size: 17px; line-height: 1.3; color: var(--primary) }
.appcaps span { display: block; font-size: 13.5px; line-height: 1.35; color: var(--muted) }
@media (max-width: 860px) { .appgrid { grid-template-columns: 1fr } }
@media (max-width: 760px) {
  .appguide { aspect-ratio: auto; margin-top: 32px }
  .appguide svg { display: none }
  .appshot { position: relative; left: auto; width: min(340px, 100%); margin-inline: auto }
  .appshot::before { inset: 8% 0 }
  .appdot { display: flex; position: absolute; transform: translateX(var(--dx, 0)); width: 24px; height: 24px; margin: -12px 0 0 -12px; align-items: center; justify-content: center;
    background: var(--accent); color: #fff; border-radius: 50%; border: 2px solid #fff; font: 700 12px/1 var(--font); font-style: normal; box-shadow: 0 2px 6px rgba(0, 0, 0, .25) }
  .appcaps { margin-top: 18px; display: grid; gap: 10px }
  .appcaps li, .appcaps li.s, .appcaps li.e { position: static; display: flex; gap: 12px; align-items: center; width: auto; transform: none; border: 0; top: auto !important }
  .appcaps i { display: flex; flex: none; width: 28px; height: 28px; align-items: center; justify-content: center; background: var(--accent); color: #fff; border-radius: 50%; font: 700 14px/1 var(--font); font-style: normal }
}

/* 2026-10-28 (his photo: a program's line ran out of its pill on a phone) — every text the nursery writes stays inside
   its box: a pill that wraps becomes a rounded box (border-radius 1em above), a long word or link breaks */
.pband .tag, .pill, .seat, .mday span { max-width: 100%; display: inline-block }

/* 2026-10-28: the owner's draft says so (the editor's preview) */
.preview-tag { position: fixed; top: 8px; inset-inline-start: 50%; transform: translateX(-50%); z-index: 99; background: #f59e0b; color: #1f2937;
  font: 800 13px/1.4 var(--font); padding: 4px 14px; border-radius: 1em; box-shadow: 0 4px 12px rgba(0,0,0,.2); pointer-events: none }
[dir="rtl"] .preview-tag { transform: translateX(50%) }
/* 2026-10-29: the part switched in the editor, lit up for a moment, and a word about it at the bottom */
.pv-flash { animation: pvflash 2.2s ease-out 1 }
@keyframes pvflash { 0%, 60% { box-shadow: inset 0 0 0 4px #f59e0b, 0 0 0 9999px rgba(15, 23, 42, .18) } 100% { box-shadow: none } }
.pv-note { position: fixed; bottom: 18px; inset-inline-start: 50%; transform: translate(-50%, 140%); z-index: 99; background: #16a34a; color: #fff;
  font-weight: 800; padding: 10px 18px; border-radius: 14px; box-shadow: 0 10px 30px rgba(0,0,0,.25); transition: transform .3s; max-width: 90vw; text-align: center }
[dir="rtl"] .pv-note { transform: translate(50%, 140%) }
.pv-note.off { background: #b91c1c }
.pv-note.on { transform: translate(-50%, 0) } [dir="rtl"] .pv-note.on { transform: translate(50%, 0) }

/* 2026-10-28: the 🌐 language menu in the header (its own colours: it opens on a white panel in every design) */
.lg { position: relative }
.lg summary { list-style: none; display: flex; align-items: center; gap: 5px; cursor: pointer; padding: 5px 10px;
  border: 1.5px solid color-mix(in srgb, currentColor 30%, transparent); border-radius: 1em; font-size: 13px }
.lg summary::-webkit-details-marker { display: none }
.lg-menu { position: absolute; top: calc(100% + 6px); inset-inline-end: 0; z-index: 60; background: #fff; color: #1f2937;
  border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,.18); padding: 6px; display: grid; min-width: 140px }
.lg-menu a { text-decoration: none; color: #1f2937; padding: 8px 12px; border-radius: 8px; font-weight: 700; font-size: 14px }
.lg-menu a:hover { background: #f1f5f9 }
.lg-menu a[aria-current="true"] { background: var(--primary); color: #fff }

/* 2026-10-28: «pick a day first» under the days, before any time shows */
.slots .hint { margin: 4px 0 0; color: var(--muted); font-size: 14px }
.field .hintline { display: block; color: var(--muted); font-size: 12.5px; margin-top: 4px }

/* 2026-10-28 (his pick): the grouped top menu — Programs ▾, Admission ▾, About ▾, Branches ▾ — and the phone */
.nav { align-items: center }
.nav > a { white-space: nowrap }            /* 2026-10-29: a menu item never breaks in two */
.nav .dd { position: relative }
.nav .dd > summary { list-style: none; cursor: pointer; white-space: nowrap }
.nav .dd > summary::-webkit-details-marker { display: none }
.nav .dd > summary > a { display: inline-block; white-space: nowrap }
.nav .dd-menu { position: absolute; top: calc(100% + 6px); inset-inline-start: 0; z-index: 60; background: #fff; border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,.18); padding: 6px; display: grid; min-width: 190px }
.hd .nav .dd-menu a { color: #1f2937; border-radius: 8px; padding: 8px 12px; font-weight: 700; background: none; white-space: nowrap }
.hd .nav .dd-menu a:hover, .hd .nav .dd-menu a[aria-current="page"] { background: #f1f5f9; color: var(--primary) }
.hd-phone { text-decoration: none; font-weight: 800; color: inherit; white-space: nowrap; font-size: 14px }
@media (max-width: 1380px) { .hd-phone { display: none } }      /* 2026-10-29: room for the menu, the name and the visit button */
.hd .btn { white-space: nowrap }
@media (max-width: 1180px) {
  .nav .dd-menu { position: static; box-shadow: none; padding: 0 0 0 12px; min-width: 0; background: none }
  [dir="rtl"] .nav .dd-menu { padding: 0 12px 0 0 }
  .hd .nav .dd-menu a { color: inherit }
}
.navc .nav .dd-menu { position: static; box-shadow: none; padding: 0 0 0 12px; min-width: 0; background: none }
.navc[dir="rtl"] .nav .dd-menu { padding: 0 12px 0 0 }
.navc .hd .nav .dd-menu a { color: inherit }
/* 2026-11-09 (his ask on ZIN's site): the site's phone at the end of the menu — a line of its own in the drawer */
.hd .nav a.nav-phone { white-space: nowrap; unicode-bidi: isolate; font-weight: 800 }
.navc .hd .nav a.nav-phone { border-top: 1px solid var(--line); border-radius: 0; margin-top: 6px; padding-top: 12px }
@media (max-width: 1180px) { .hd .nav a.nav-phone { border-top: 1px solid var(--line); border-radius: 0; margin-top: 6px; padding-top: 12px } }
/* … a branch's page, the blog and an article */
/* 2026-11-10 (his asks on ZIN's site): a branch's page with its photo across the top and its words as cards */
.bp-cover { position: relative; min-height: 380px; display: flex; align-items: flex-end; background: var(--soft) center/cover; color: #fff }
.bp-cover::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(20,10,30,.72), rgba(20,10,30,.1) 70%) }
.bp-cover .wrap { position: relative; padding-top: 40px; padding-bottom: 34px; width: 100% }
.bp-cover h1 { margin: 0 0 8px; font-family: var(--display); font-weight: 800; font-size: clamp(36px, 5vw, 58px); color: #fff; line-height: 1.1 }
.bp-cover .link { display: inline-block; margin-bottom: 12px; font-weight: 700; color: #fff; text-decoration: none }
.bp-cover .bp-where { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 17px; font-weight: 600; margin-bottom: 16px }
.bp-cover .row { display: flex; gap: 10px; flex-wrap: wrap }
.bp-cover .btn.ghost { background: rgba(255,255,255,.92); color: var(--primary); border-color: transparent }
.bp-cover.nopic { min-height: 0; color: var(--ink) }
.bp-cover.nopic::before { display: none }
.bp-cover.nopic h1, .bp-cover.nopic .link { color: var(--primary) }
.bp-feats { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; margin-top: 8px }
.bp-feat { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 22px; box-shadow: 0 8px 24px rgba(36,18,48,.07) }
.bp-feat i { display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: var(--soft); color: var(--primary); margin-bottom: 12px }
.bp-feat h3 { margin: 0 0 6px; font-size: 19px; color: var(--ink) }
.bp-feat p { margin: 0; color: var(--muted); line-height: 1.75 }
@media (max-width: 600px) { .bp-cover { min-height: 300px } }
/* a program's page: the nursery's photos beside the goals */
.pp-pics h2 { margin-top: 0 }
.pp-grid { display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; gap: 10px }
.pp-grid .g { border-radius: 16px; background: #eee center/cover; box-shadow: 0 6px 18px rgba(36,18,48,.1) }
.pp-grid .g.big { grid-column: span 2; grid-row: span 2 }
@media (max-width: 600px) { .pp-grid { grid-auto-rows: 110px } }
/* the home page's programs: the photo beside the words, one side then the other */
.pband.homeprog { padding: 56px 0 40px }
.homeprog .hp-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: center }
.homeprog.alt .hp-row { grid-template-columns: auto minmax(0, 1fr) }
.homeprog.alt .hp-row .homeprog-circ { order: -1 }
.homeprog.nopic .hp-row { grid-template-columns: 1fr }
.homeprog .hp-row .head { margin: 0 }
.pband.homeprog .hp-row .homeprog-circ { margin: 0 }
@media (max-width: 760px) {
  .homeprog .hp-row, .homeprog.alt .hp-row { grid-template-columns: 1fr; gap: 18px }
  .homeprog.alt .hp-row .homeprog-circ { order: 0 }
  .pband.homeprog .hp-row .homeprog-circ { margin: 0 auto }
}
/* the application: numbered steps above the form, shut (2026-11-10: the form laid out as «احجز زيارة») */
.sec.ap-stepsec { padding-bottom: 0 }
.ap-steps { max-width: 860px; margin-inline: auto }
.ap-steps h2 { margin: 0 0 12px; color: var(--primary) }
.ap-step { background: #fff; border: 1px solid var(--line); border-radius: 16px; margin-bottom: 10px; box-shadow: 0 4px 14px rgba(36,18,48,.05) }
.ap-step summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px; padding: 12px 14px; font-weight: 800 }
.ap-step summary::-webkit-details-marker { display: none }
.ap-step summary b { flex: 0 0 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--primary); color: #fff; font-size: 17px }
.ap-step summary::after { content: "+"; margin-inline-start: auto; font-size: 20px; color: var(--primary) }
.ap-step[open] summary::after { content: "−" }
.ap-step > div { padding: 0 16px 12px; line-height: 1.8 }
.ap-step > div p { margin: 4px 0 }
.branchpage .link, .post .link { display: inline-block; margin-bottom: 14px; font-weight: 700; color: var(--primary); text-decoration: none }
.branchpage .bp-text { font-size: 17px; line-height: 1.8 }
.branchpage .bp-where { display: grid; gap: 6px; margin: 14px 0 }
.branchpage .row { display: flex; gap: 8px; flex-wrap: wrap }
.branch h3 a { color: inherit; text-decoration: none }
.news.blog h3 a { color: inherit; text-decoration: none }
.news.blog .ph { display: block }
.news.blog .more { display: inline-block; margin-top: 10px; font-weight: 700; color: var(--primary); text-decoration: none }
.wrap.narrow { width: min(820px, 100% - 32px) }
.post h1 { margin: 0 0 6px; color: var(--primary); font-size: clamp(28px, 4vw, 40px) }
.post time { color: var(--muted) }
.post .post-ph { aspect-ratio: 16/9; border-radius: var(--radius); background: var(--soft) center/cover; margin: 18px 0 }
.post .post-text { font-size: 17px; line-height: 1.9 }
.booklet-get { padding-bottom: 0 }

/* 2026-10-29: «اعرف أكتر» — a line for each page the home leaves out */
.more-pages .mp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px }
.more-pages .mp { display: grid; grid-template-columns: auto 1fr auto; grid-template-rows: auto auto; column-gap: 14px; align-items: center;
  text-decoration: none; color: inherit; background: #fff; border-radius: 18px; padding: 16px 18px; box-shadow: 0 8px 24px rgba(0,0,0,.07);
  border: 1px solid rgba(0,0,0,.05); transition: transform .15s }
.more-pages .mp:hover { transform: translateY(-3px) }
.more-pages .mp i { grid-column: 1; grid-row: 1 / 3; font-style: normal; font-size: 30px; width: 54px; height: 54px; display: grid; place-items: center;
  border-radius: 16px; background: color-mix(in srgb, var(--mp, var(--primary, #7B2D8E)) 12%, #fff) }
.more-pages .mp b { grid-column: 2; font-size: 18px; color: var(--mp, var(--primary, #7B2D8E)) }
.more-pages .mp span { grid-column: 2; font-size: 13.5px; opacity: .75; line-height: 1.5 }
.more-pages .mp em { grid-column: 3; grid-row: 1 / 3; font-style: normal; font-size: 22px; color: var(--mp, var(--primary, #7B2D8E)) }
