/* Ellie Kids Center: the Miro design (designer's mockups on the "Retrospectives" board, frame "сайт").
   White page, cream #FFFCE1 and pale green #F0F8E3 bands, pink #F7B5CF circles and contact block, blue #2A45BE pill
   buttons, Nunito with wide-spaced capital headings, cream footer with black round icons. */
:root {
  --white: #ffffff; --cream: #fffce1; --green: #f0f8e3; --pink: #f7b5cf; --blue: #2a45be; --blue-dark: #1f3596;
  --ink: #000000; --text: #1b1b1b; --grey: #6f6f6f;
  --font: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1196px; --gut: 24px; --head: 96px;
  --sec: clamp(44px, 4vw + 20px, 88px);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--head) + 8px); background: var(--white); }
body { margin: 0; background: var(--white); color: var(--text); font: 400 16px/1.65 var(--font); letter-spacing: .02em;
  -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 14px; }
b, strong { font-weight: 700; color: var(--ink); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
.m-wrap { width: 100%; max-width: calc(var(--wrap) + var(--gut) * 2); margin: 0 auto; padding: 0 var(--gut); }
.m-skip { position: absolute; left: -9999px; top: 0; }
.m-skip:focus { left: 8px; top: 8px; z-index: 100; background: var(--white); padding: 8px 12px; }

/* ---------- header: cream strip, then white bar: logo | menu | globe ---------- */
.m-strip { height: 28px; background: var(--cream); }
.m-head { position: sticky; top: 0; z-index: 50; background: var(--white); }
.m-head__bar { height: var(--head); display: flex; align-items: center; gap: 24px; }
.m-logo { flex: none; display: block; }
.m-logo img { width: 176px; height: auto; }
.m-nav { flex: 1; display: flex; justify-content: center; gap: clamp(28px, 5vw, 76px); }
.m-nav a { text-decoration: none; font-weight: 500; font-size: 16px; letter-spacing: .1em; color: var(--ink); padding: 8px 0;
  background: linear-gradient(var(--ink), var(--ink)) 0 100% / 0 1.5px no-repeat; transition: background-size .2s ease; }
.m-nav a:hover { background-size: 100% 1.5px; }
.m-lang { flex: none; display: inline-flex; align-items: center; gap: 6px; text-decoration: none; color: var(--ink);
  font-size: 13px; font-weight: 600; letter-spacing: .12em; min-height: 44px; padding: 0 4px; }
.m-globe { width: 20px; height: 20px; }
.m-burger { display: none; width: 44px; height: 44px; margin-left: -10px; border: 0; background: none; color: var(--ink); cursor: pointer; padding: 10px; }
.m-burger svg { width: 24px; height: 24px; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; fill: none; }
.m-burger path { transition: transform .2s ease, opacity .2s ease; transform-origin: 12px 12px; }
.m-head.is-open .m-burger__l1 { transform: translateY(5px) rotate(45deg); }
.m-head.is-open .m-burger__l2 { opacity: 0; }
.m-head.is-open .m-burger__l3 { transform: translateY(-5px) rotate(-45deg); }
.m-menu { position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-top: 1px solid #eee;
  box-shadow: 0 18px 30px rgba(0,0,0,.08); max-height: calc(100dvh - var(--head)); overflow-y: auto; }
.m-menu .m-wrap { display: grid; padding-top: 8px; padding-bottom: 20px; }
.m-menu a { display: flex; align-items: center; gap: 10px; min-height: 48px; text-decoration: none; color: var(--ink);
  font-weight: 700; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; border-bottom: 1px solid #f1f1f1; }
.m-menu a:last-child { border-bottom: 0; }
@media (max-width: 999px) {
  :root { --head: 68px; }
  .m-strip { height: 18px; }
  .m-nav { display: none; }
  .m-burger { display: inline-flex; }
  .m-head__bar { justify-content: space-between; gap: 8px; }
  .m-logo { position: absolute; left: 50%; transform: translateX(-50%); }
  .m-logo img { width: 128px; }
  .m-head__bar { position: relative; }
}

/* ---------- type ---------- */
.m-h1, .m-h2, .m-name, .sec-doc h1, .sec-doc h2 { font-family: var(--font); font-weight: 800; text-transform: uppercase;
  letter-spacing: .13em; color: var(--ink); margin: 0 0 14px; line-height: 1.25; }
.m-h1 { font-size: clamp(25px, 1.3vw + 18px, 38px); }
.m-h2 { font-size: clamp(21px, 1vw + 15px, 32px); }
.m-name { font-size: clamp(18px, .5vw + 15px, 22px); letter-spacing: .1em; }
.m-sub { font-size: clamp(15px, .2vw + 14px, 17px); letter-spacing: .04em; color: var(--ink); margin-bottom: 24px; }
.m-lead { font-weight: 700; font-size: 17px; color: var(--ink); margin: 40px 0 20px; }
.m-kicker { font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--blue); margin: 0 0 12px; }
.m-cap { font-size: 14px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); margin: 18px 0 10px; line-height: 1.4; }
.m-place { font-weight: 700; letter-spacing: .08em; margin: 4px 0 24px; }
main p { text-align: justify; hyphens: auto; -webkit-hyphens: auto; }
.m-center, .m-center p, .m-tile p, .m-cta p, .m-foot p { text-align: inherit; }
.m-center { text-align: center; max-width: 860px; }

/* ---------- buttons: blue pill, outline pill, black pill ---------- */
.m-btns { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 28px; }
.m-btns--center { justify-content: center; }
.m-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 10px 34px; border-radius: 999px;
  background: var(--blue); border: 1.5px solid var(--blue); color: #fff; text-decoration: none; text-align: center;
  font: 700 12px/1.2 var(--font); letter-spacing: .14em; text-transform: uppercase; transition: background-color .2s ease, color .2s ease; }
.m-btn:hover { background: var(--blue-dark); border-color: var(--blue-dark); }
.m-btn--line { background: transparent; color: var(--blue); }
.m-btn--line:hover { background: var(--blue); color: #fff; }
.m-btn--black { background: var(--ink); border-color: var(--ink); }
.m-btn--black:hover { background: #333; border-color: #333; }

/* ---------- sections ---------- */
.m-sec { padding: var(--sec) 0; }
.bg-cream { background: var(--cream); }
.bg-green { background: var(--green); }

/* hero: photo left, text right (main page and CONCEPT mockups) */
.m-hero { padding: 16px 0 var(--sec); }
.m-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 120px); align-items: center; }
.m-hero__img img { width: 100%; aspect-ratio: 6 / 7; object-fit: cover; }
.m-hero__text { max-width: 520px; }

/* pink circles beside text (CONCEPT block) */
.m-circles { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 22px; }
.m-circles li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 20px; align-items: center; text-align: left; }
.m-circles li > div { font-size: 17px; line-height: 1.5; letter-spacing: .03em; color: var(--ink); }
.m-circle { width: 48px; height: 48px; border-radius: 50%; background: var(--pink); display: grid; place-items: center; }
.m-circle__n { font-weight: 800; font-size: 17px; color: var(--ink); }
.m-hero .m-circles { gap: 16px; margin-bottom: 4px; }
.m-hero .m-circles li { grid-template-columns: 40px minmax(0, 1fr); gap: 16px; }
.m-hero .m-circle { width: 40px; height: 40px; }
.m-hero .m-circles li > div { font-size: 16px; }
.m-center .m-circles { max-width: 720px; margin: 28px auto 0; }
#pochatok .m-circles, #format .m-circles, #topics .m-circles, #booking .m-circles, #who .m-circles { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; row-gap: 28px; align-items: start; }
#pochatok .m-circles li, #format .m-circles li, #topics .m-circles li, #booking .m-circles li, #who .m-circles li { align-items: start; }

/* small pink dots for longer lists */
.m-dots { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 8px; }
.m-dots--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
.m-dots li { position: relative; padding-left: 26px; text-align: left; }
.m-dots li::before { content: ""; position: absolute; left: 0; top: .42em; width: 13px; height: 13px; border-radius: 50%; background: var(--pink); }

/* two staggered photos (DISCOVER THE WORLD WITH US) */
.m-duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; align-items: start; }
.m-duo__a { padding-right: clamp(0px, 3vw, 40px); }
.m-duo__photo { margin-top: 28px; }
.m-duo img { width: 100%; object-fit: cover; }
.m-duo__photo img { aspect-ratio: 1 / 1.02; }
.m-duo__b img { aspect-ratio: 7 / 10; }
.m-groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.m-groups .m-cap { margin-top: 0; }

/* square tiles with spaced captions (WE KNOW EVERYTHING / 10 PRINCIPLES) */
.m-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; margin-top: 28px; }
.m-tile { text-align: center; }
.m-tile__img img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.m-tile .m-cap { margin: 18px 0 8px; }
.m-tile__lead { font-size: 15px; line-height: 1.55; text-align: center !important; margin-bottom: 10px; }
.m-more summary { cursor: pointer; display: inline-block; font-weight: 700; font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue); list-style: none; padding: 6px 0; border-bottom: 1.5px solid currentColor; }
.m-more summary::-webkit-details-marker { display: none; }
.m-more[open] summary { margin-bottom: 10px; }
.m-more dl { margin: 0; text-align: left; font-size: 15px; }
.m-more dt { font-weight: 800; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); margin-top: 12px; }
.m-more dd { margin: 4px 0 0; line-height: 1.55; }
.m-more a { color: var(--blue); font-weight: 700; }

/* note under the steps */
.m-note { margin-top: 40px; padding: 24px 28px; background: var(--cream); max-width: 760px; }
.m-note .m-cap { margin-top: 0; }
.m-note p { margin: 0; }

/* person (TEAM): photo left, text right */
.m-person { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.m-person--flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.m-person__img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.m-person .m-cap { margin-top: 26px; }

/* full-bleed photo then centred text (ABOUT US) */
.m-sec--banner { padding-top: 0; }
.m-banner img { width: 100%; height: clamp(240px, 38vw, 560px); object-fit: cover; }
.m-sec--banner .m-center { padding-top: clamp(32px, 3vw + 12px, 56px); }
.m-trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 36px; }
.m-trio img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.m-map { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); gap: clamp(24px, 4vw, 56px); align-items: center; margin-top: 44px; }
#location .m-map { margin-top: 0; }
.m-map address { font-style: normal; font-size: 17px; line-height: 1.6; color: var(--ink); }
.m-map .m-btns { margin-top: 22px; }
.m-map iframe { width: 100%; height: 340px; border: 0; display: block; background: var(--green); }

/* FAQ */
.m-faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 56px; margin-top: 28px; }
.m-faq__item h3 { font-size: 17px; font-weight: 800; letter-spacing: .03em; color: var(--ink); margin: 0 0 8px; line-height: 1.4; }
.m-faq__item p { margin: 0; }

/* pink contact block (CURIOUS?) */
.m-ctawrap { padding: var(--sec) var(--gut); }
.m-cta { max-width: 988px; margin: 0 auto; background: var(--pink); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 40px; padding: clamp(32px, 4vw, 64px) clamp(24px, 5vw, 72px); min-height: 400px; }
.m-cta__place { align-self: end; margin: 0; font-size: 14px; letter-spacing: .1em; line-height: 1.5; color: var(--ink); }
.m-cta__body { align-self: center; }
.m-cta__body p { color: var(--ink); text-align: left; }
.m-cta__alt { font-size: 14px; margin-top: 18px; }
.m-cta__alt a { font-weight: 700; }

/* footer: cream, links | contacts with black round icons | legal line */
.m-foot { background: var(--cream); padding: 40px 0 28px; color: var(--ink); }
.m-foot__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.6fr); gap: 32px; max-width: 1040px; }
.m-foot__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.m-foot__links a { text-decoration: none; font-weight: 700; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; }
.m-foot__links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.m-foot__h { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.m-foot__contacts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 18px 40px; }
.m-foot__contacts a { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 700; font-size: 14px; letter-spacing: .06em; min-height: 32px; }
.m-ico { width: 30px; height: 30px; flex: none; fill: var(--ink); }
.m-foot__hours { margin: 18px 0 0; font-size: 14px; letter-spacing: .04em; }
.m-foot__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; margin-top: 36px; max-width: 1040px;
  font-size: 11px; letter-spacing: .1em; }
.m-foot__legal p { margin: 0; display: flex; gap: 14px; flex-wrap: wrap; }
.m-foot__legal a { text-decoration: none; }
.m-foot__legal a:hover { text-decoration: underline; }
.m-foot__note { max-width: 1040px; font-size: 11px; letter-spacing: .04em; color: #555; margin: 16px 0 0; }
.m-foot .m-wrap { max-width: calc(1040px + var(--gut) * 2); }

/* ---------- prose pages (privacy, articles index, article template) ---------- */
.sec-doc { padding: 40px 0 var(--sec); }
.sec-doc .wrap { width: 100%; max-width: calc(860px + var(--gut) * 2); margin: 0 auto; padding: 0 var(--gut); }
.sec-doc h1 { font-size: clamp(25px, 1.3vw + 18px, 38px); text-align: center; margin-bottom: 18px; }
.sec-doc h2 { font-size: 18px; margin: 34px 0 10px; }
.sec-doc h3 { font-size: 17px; margin: 18px 0 6px; color: var(--ink); }
.sec-doc .t-small, .sec-doc .muted { font-size: 14px; color: var(--grey); }
.sec-doc .prose > .t-small:first-of-type { text-align: center; }
.sec-doc .section-head { text-align: center; }
.sec-doc .section-head p { text-align: center; }
.sec-doc .t-label { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--blue); }
.sec-doc .prose a, .sec-doc .crumbs a { color: var(--blue); }
.sec-doc .prose ul { padding-left: 0; list-style: none; }
.sec-doc .prose ul li { position: relative; padding-left: 26px; margin-bottom: 8px; }
.sec-doc .prose ul li::before { content: ""; position: absolute; left: 0; top: .42em; width: 13px; height: 13px; border-radius: 50%; background: var(--pink); }
.sec-doc .article-answer { background: var(--cream); padding: 18px 22px; }
.sec-doc .author-box { display: flex; gap: 18px; align-items: center; background: var(--green); padding: 20px; margin: 32px 0 20px; }
.sec-doc .author-box img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; }
.sec-doc .article-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; margin-top: 32px; }

/* ---------- tablet and phone ---------- */
@media (max-width: 999px) {
  .m-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .m-groups { grid-template-columns: 1fr; gap: 8px; }
}
@media (max-width: 899px) {
  .m-hero { padding-top: 0; }
  .m-hero__grid, .m-person, .m-person--flip, .m-duo, .m-map, .m-cta { grid-template-columns: 1fr; }
  .m-hero__grid { gap: 28px; }
  .m-hero__img img { aspect-ratio: 5 / 4.2; }
  .m-hero__text { max-width: none; }
  .m-person--flip .m-person__img { order: -1; }
  .m-person__img img { aspect-ratio: 4 / 4.2; }
  .m-duo__a { padding-right: 0; }
  .m-duo__photo img, .m-duo__b img { aspect-ratio: 4 / 4; }
  .m-faq { grid-template-columns: 1fr; gap: 22px; }
  .m-cta { min-height: 0; gap: 24px; }
  .m-cta__place { order: 2; }
  .m-foot__grid { grid-template-columns: 1fr; }
  .sec-doc .article-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 639px) {
  :root { --gut: 20px; }
  body { font-size: 15px; }
  .m-h1, .m-h2 { letter-spacing: .1em; }
  /* tiles scroll sideways on a phone, as in the mockup */
  .m-tiles { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 16px; margin-right: calc(var(--gut) * -1);
    padding-right: var(--gut); padding-bottom: 6px; scrollbar-width: none; }
  .m-tiles::-webkit-scrollbar { display: none; }
  .m-tile { flex: 0 0 80%; scroll-snap-align: start; }
  .m-trio { grid-template-columns: 1fr 1fr; }
  .m-trio > :first-child { grid-column: 1 / -1; }
  .m-trio > :first-child img { aspect-ratio: 4 / 3; }
  #pochatok .m-circles, #format .m-circles, #topics .m-circles, #booking .m-circles, #who .m-circles { grid-template-columns: 1fr; row-gap: 20px; }
  .m-circles li { grid-template-columns: 40px minmax(0, 1fr); gap: 16px; }
  .m-circle { width: 40px; height: 40px; }
  .m-circles li > div { font-size: 16px; }
  .m-dots--2 { grid-template-columns: 1fr; }
  .m-btns { gap: 12px; }
  .m-btns .m-btn { flex: 1 1 140px; padding-left: 16px; padding-right: 16px; }
  .m-map iframe { height: 260px; }
  .m-ctawrap { padding-left: 16px; padding-right: 16px; }
  .m-foot__contacts { display: grid; gap: 14px; }
  .m-foot__legal { display: grid; }
  .sec-doc .article-list { grid-template-columns: 1fr; }
}

/* v13: the pink block carries a photo on its left half (no empty pink); banners only for wide photos */
.m-cta { padding: 0; gap: 0; min-height: 0; align-items: stretch; overflow: hidden; }
.m-cta__img { min-height: 100%; }
.m-cta__img img { width: 100%; height: 100%; min-height: 420px; object-fit: cover; object-position: 50% 40%; }
.m-cta__body { padding: clamp(32px, 4vw, 60px) clamp(24px, 4vw, 60px); align-self: center; }
.m-cta__place { margin-top: 28px !important; align-self: auto; }
.m-banner img { height: clamp(240px, 32vw, 480px); }
@media (max-width: 899px) {
  .m-cta__img img { min-height: 0; aspect-ratio: 16 / 10; height: auto; }
}

/* v14 (2026-11-16): Zhanna's clips in the hero, the second section and the pink block; phone layout closer to the mockup */
.m-video { position: relative; overflow: hidden; background: var(--cream); height: 100%; }
.m-video video { display: block; width: 100%; height: 100%; object-fit: cover; }
.m-hero__img .m-video { aspect-ratio: 6 / 7; }
.m-duo__b .m-video { aspect-ratio: 7 / 10; }
.m-cta__img .m-video { min-height: 420px; }
.m-video__play { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border: 0; border-radius: 50%;
  background: rgba(255,255,255,.85); color: var(--ink); display: grid; place-items: center; cursor: pointer;
  transition: opacity .25s ease; }
.m-video__play svg { width: 28px; height: 28px; fill: currentColor; }
.m-video__i-pause { display: none; }
.m-video.is-playing .m-video__i-play { display: none; }
.m-video.is-playing .m-video__i-pause { display: inline; }
.m-video.is-playing .m-video__play { opacity: 0; }
.m-video.is-playing:hover .m-video__play, .m-video.is-playing .m-video__play:focus-visible { opacity: 1; }
.m-video__sound { position: absolute; right: 12px; bottom: 12px; width: 40px; height: 40px; border: 0; border-radius: 50%;
  background: rgba(255,255,255,.85); color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.m-video__sound svg { width: 22px; height: 22px; fill: currentColor; }
.m-video__i-on { display: none; }
.m-video.is-sound .m-video__i-on { display: inline; }
.m-video.is-sound .m-video__i-off { display: none; }
.m-dotsnav { display: none; justify-content: center; gap: 8px; margin-top: 14px; }
.m-dotsnav span { width: 7px; height: 7px; border-radius: 50%; background: #c9cfbd; }
.m-dotsnav span.is-on { background: var(--ink); }

@media (max-width: 899px) {
  .m-hero__img .m-video { aspect-ratio: 4 / 4.4; }
  .m-duo__b .m-video { aspect-ratio: 4 / 5; }
  .m-cta__img .m-video { min-height: 0; aspect-ratio: 4 / 4.4; }
}
@media (max-width: 639px) {
  .m-dotsnav { display: flex; }
  .m-video__play { width: 56px; height: 56px; margin: -28px 0 0 -28px; }
  /* footer as in the phone mockup: links left, round icons right, legal lines under */
  .m-foot__grid { grid-template-columns: auto minmax(0, 1fr); gap: 20px; }
  .m-foot__contacts { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-start; }
  .m-foot__lbl { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .m-foot__contacts a { min-height: 44px; min-width: 44px; justify-content: center; }
  .m-ico { width: 34px; height: 34px; }
  .m-foot__hours { font-size: 13px; }
  .m-foot__links { gap: 10px; }
  .m-foot__links a { font-size: 13px; }
}
/* the pink block keeps the height of its text; the clip fills the left half */
@media (min-width: 900px) {
  .m-cta__img { position: relative; min-height: 460px; }
  .m-cta__img .m-video { position: absolute; inset: 0; min-height: 0; height: 100%; }
}
/* phone footer: links left, round icons right (2 x 2), hours across the bottom */
@media (max-width: 639px) {
  .m-foot__grid { grid-template-columns: minmax(0, 1fr) auto; align-items: start; }
  .m-foot__grid > div { display: contents; }
  .m-foot__contacts { grid-column: 2; grid-row: 1; display: grid; grid-template-columns: repeat(2, 44px); gap: 6px; }
  .m-foot__hours { grid-column: 1 / -1; margin-top: 4px; }
}
/* v16: clips have no buttons and cannot be tapped */
.m-video video { pointer-events: none; }
.m-video__play, .m-video__sound { display: none !important; }

/* v16 (2026-11-18): larger, heavier, darker text for reading on a phone (Zhanna: "not very readable") */
body { font-size: 18px; font-weight: 500; line-height: 1.62; letter-spacing: .01em; color: #111; }
main p, .m-dots li, .m-more dd, .m-faq__item p { font-weight: 500; color: #111; }
.m-sub { font-size: clamp(18px, .3vw + 16px, 20px); font-weight: 600; }
.m-circles li > div { font-size: 18px; font-weight: 500; }
.m-hero .m-circles li > div { font-size: 17px; }
.m-tile__lead { font-size: 16px; font-weight: 500; }
.m-more dl, .m-more dd { font-size: 16px; }
.m-faq__item h3 { font-size: 19px; }
.m-cap { font-size: 15px; }
.m-lead { font-size: 18px; }
.m-nav a { font-size: 17px; font-weight: 600; }
.m-menu a { font-size: 15px; }
.m-cta__alt, .m-cta__place { font-size: 16px; }
.m-foot__links a { font-size: 15px; }
.m-foot__contacts a { font-size: 15px; }
.m-foot__hours { font-size: 16px; }
.m-foot__legal { font-size: 13px; }
.m-foot__note { font-size: 13px; color: #333; }
.sec-doc .prose p, .sec-doc .prose li { font-size: 18px; }
@media (max-width: 639px) {
  body { font-size: 17px; }
  .m-circles li > div { font-size: 17px; }
  .m-hero .m-circles li > div { font-size: 16px; }
  .m-foot__links a { font-size: 14px; }
  .m-foot__hours { font-size: 15px; }
}
/* v17: Zhanna marked the "Можливо, останнім часом…" paragraph: same size and weight as on a desktop, darker */
@media (max-width: 639px) {
  body, main p, .m-dots li { font-size: 18px; line-height: 1.6; }
}
main p { color: #0d0d0d; }

/* ---------- v18: the whole header (cream strip + white bar) stays pinned at the very top while the page scrolls.
   On iPhone Safari the page runs under the status bar and the floating address bar, so the cream is carried
   upward: no scrolling text shows above the header. ---------- */
:root { --strip: 28px; }
@media (max-width: 999px) { :root { --strip: 18px; } }
html { scroll-padding-top: calc(var(--head) + var(--strip) + 8px); }
.m-head { position: sticky; top: 0; box-shadow: 0 1px 0 rgba(0,0,0,.06); }
.m-head::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 100vh; background: var(--cream); pointer-events: none; }

/* ---------- v18: blog (articles, news...): a label on every post, filter chips when there is more than one kind ---------- */
.m-blog { padding: 40px 0 var(--sec); }
.m-blog .m-h2 { margin: 0 0 10px; }
.m-blog__sub { font-size: 18px; margin: 0 0 22px; max-width: 640px; }
.m-blog__empty { grid-column: 1 / -1; background: var(--cream); padding: 22px 24px; margin: 0; font-size: 18px; }
.m-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 26px; }
.m-chips button { font: 700 14px/1 var(--font); letter-spacing: .12em; text-transform: uppercase; color: var(--blue);
  background: var(--white); border: 1.5px solid var(--blue); border-radius: 999px; padding: 11px 18px; cursor: pointer; }
.m-chips button.is-on { background: var(--blue); color: var(--white); }
.m-posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px 30px; }
.m-post { display: block; text-decoration: none; color: inherit; }
.m-post[hidden] { display: none; }
.m-post__img { aspect-ratio: 1 / 1; overflow: hidden; background: var(--green); margin-bottom: 14px; }
.m-post__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.m-post:hover .m-post__img img { transform: scale(1.03); }
.m-post__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin: 0 0 10px; font-size: 14px; color: var(--grey); }
.m-tag { display: inline-block; font: 800 12px/1 var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--ink);
  padding: 7px 12px; border-radius: 999px; background: var(--pink); }
.m-tag--novyna { background: #cfe8a6; }
.m-post__title { font: 800 19px/1.3 var(--font); letter-spacing: .04em; color: var(--ink); margin: 0 0 8px; }
.m-post:hover .m-post__title { color: var(--blue); }
.m-post__lead { margin: 0; }
.m-article__meta { justify-content: center; margin-top: 18px; }
.m-article__img { margin: 0 0 26px; }
.m-article__img img { width: 100%; height: auto; }
.m-article .crumbs { font-size: 14px; color: var(--grey); text-align: center; }
@media (max-width: 899px) {
  .m-posts { grid-template-columns: 1fr; gap: 30px; }
  .m-blog { padding-top: 28px; }
}
.m-blog--more { background: var(--cream); padding-top: var(--sec); }
.m-blog--more .m-h2 { margin-bottom: 26px; }
.m-preview { margin: 0; padding: 10px var(--gut); background: #2a45be; color: #fff; text-align: center; font-weight: 700; }
.sec-doc .prose ol { padding-left: 24px; }
.sec-doc .prose ol li { margin-bottom: 8px; }
.sec-doc .prose blockquote { margin: 22px 0; padding: 16px 22px; background: var(--cream); border-left: 4px solid var(--pink); }
.sec-doc .prose blockquote p:last-child { margin-bottom: 0; }
.m-article .prose { font-size: 18px; }
.sec-doc .author-box img { flex: none; }
.m-article__img img { aspect-ratio: 4 / 3; object-fit: cover; }
.sec-doc .author-box p { text-align: left; } .sec-doc .prose h2 + ol { font-size: 15px; }
