/* Шрифт Nunito (SIL OFL 1.1, assets/fonts/OFL.txt) — со своего хостинга, насыщенность 400–900 в одном файле на набор
   символов; браузер качает только нужные наборы (аудит 27.11, СК-4: без Google Fonts) */
@font-face { font-family: 'Nunito'; font-style: normal; font-weight: 400 900; font-display: swap; src: url('/assets/fonts/nunito-cyrillic-ext.woff2') format('woff2'); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: 'Nunito'; font-style: normal; font-weight: 400 900; font-display: swap; src: url('/assets/fonts/nunito-cyrillic.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Nunito'; font-style: normal; font-weight: 400 900; font-display: swap; src: url('/assets/fonts/nunito-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Nunito'; font-style: normal; font-weight: 400 900; font-display: swap; src: url('/assets/fonts/nunito-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* =====================================================================
   MAXILAND — стили сайта
   Бренд: синий #1565C0 + оранжевый #FF6D00, шрифт Nunito
   ===================================================================== */

:root {
  --blue: #1565C0;
  --blue-dark: #0D47A1;
  --blue-pale: #E8F1FC;
  --orange: #CC4A00;          /* кнопки и текст: контраст с белым 4.6:1 */
  --orange-dark: #A63B00;
  --orange-bright: #FF6D00;   /* декор: шарики, бегущая строка, точки */
  --orange-pale: #FFF1E6;
  --yellow: #FFC53D;
  --ink: #14213D;
  --muted: #5B6B82;
  --line: #E3E9F2;
  --bg: #FFFFFF;
  --bg-soft: #F5F8FC;
  --radius: 20px;
  --radius-lg: 28px;
  --shadow: 0 6px 24px rgba(20, 33, 61, .08);
  --shadow-lg: 0 18px 48px rgba(20, 33, 61, .14);
  --ease: cubic-bezier(.4, 0, .2, 1);
  --header-h: 72px;
  --container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Nunito', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { margin: 0; line-height: 1.15; font-weight: 900; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 5.2vw, 4rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.25rem; font-weight: 800; }
p { margin: 0; }
em { font-style: normal; color: var(--orange); }
:focus-visible { outline: 3px solid var(--blue-dark); outline-offset: 3px; border-radius: 6px; box-shadow: 0 0 0 3px #fff; }
.section--blue :focus-visible, .footer :focus-visible, .lightbox :focus-visible, .hero :focus-visible { outline-color: #FFC53D; box-shadow: 0 0 0 3px var(--blue-dark); }
.skip { position: absolute; top: -100px; left: 12px; z-index: 200; background: var(--blue-dark); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 800; }
.skip:focus { top: 12px; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 22px; }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--soft { background: var(--bg-soft); }
.section--blue { background: var(--blue-dark); color: #fff; }
.section--blue em { color: var(--yellow); }
.section-head { max-width: 720px; margin: 0 auto clamp(28px, 4vw, 48px); text-align: center; }
.section-head--left { margin-left: 0; text-align: left; }
.kicker {
  display: inline-block;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 12px;
}
.section--blue .kicker { color: var(--yellow); }
.section-sub { color: var(--muted); margin-top: 14px; font-size: 1.05rem; }
.section--blue .section-sub { color: rgba(255,255,255,.82); }

/* --- Кнопки --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  font: inherit;
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--orange { background: var(--orange); color: #fff; box-shadow: 0 8px 24px rgba(255,109,0,.32); }
.btn--orange:hover { background: var(--orange-dark); }
.btn--blue { background: var(--blue); color: #fff; box-shadow: 0 8px 24px rgba(21,101,192,.28); }
.btn--blue:hover { background: var(--blue-dark); }
.btn--white { background: #fff; color: var(--blue-dark); box-shadow: var(--shadow); }
.btn--ghost { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.5); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.btn--ghost:hover { background: rgba(255,255,255,.22); }
.btn--outline { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn--outline:hover { background: var(--blue-pale); }
.btn--sm { padding: 10px 18px; font-size: .92rem; }
.btn--lg { padding: 17px 32px; font-size: 1.08rem; }
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }

/* --- Шапка --- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255,255,255,.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header__inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.logo { display: flex; align-items: center; }
.logo img { height: 48px; width: auto; }
.footer .logo img { height: 56px; }
.logo b { color: var(--orange); font-weight: 900; }
.nav { display: flex; gap: 2px; margin-left: auto; flex-wrap: nowrap; }
.nav a { padding: 8px 10px; border-radius: 999px; font-weight: 700; font-size: .9rem; color: var(--ink); white-space: nowrap; transition: background .2s, color .2s; }
.nav a:hover { background: var(--blue-pale); color: var(--blue); }
.header__actions { display: flex; align-items: center; gap: 10px; }
.lang { padding: 8px 12px; border-radius: 999px; border: 2px solid var(--line); font-weight: 800; font-size: .85rem; color: var(--blue); letter-spacing: .04em; }
.lang:hover { border-color: var(--blue); }
.burger { display: none; width: 44px; height: 44px; border: 0; background: var(--blue-pale); border-radius: 12px; cursor: pointer; padding: 0; margin-left: auto; }
.burger span { display: block; width: 20px; height: 2.5px; margin: 4px auto; background: var(--blue); border-radius: 2px; transition: transform .25s, opacity .25s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-h); left: 0; right: 0; bottom: 0;
  background: #fff;
  z-index: 99;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.mobile-nav.open { display: block; animation: menuIn .25s var(--ease); }
@keyframes menuIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.mobile-nav__inner { padding: 12px 22px calc(120px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; }
.mobile-nav a { display: block; padding: 15px 4px; font-size: 1.2rem; font-weight: 800; border-bottom: 1px solid var(--line); color: var(--ink); }
.mobile-nav a.btn { display: inline-flex; margin-top: 18px; width: 100%; border-bottom: 0; font-size: 1rem; }
.mobile-nav a.btn + a.btn { margin-top: 10px; }
body.menu-open .sticky-bar { display: none; }

/* --- Hero --- */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero__shade {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(13,71,161,.92) 0%, rgba(13,71,161,.72) 42%, rgba(13,71,161,.18) 75%, rgba(13,71,161,.05) 100%);
}
.hero__content { max-width: 640px; padding: clamp(56px, 8vw, 96px) 0; }
.hero__kicker { display: inline-block; padding: 8px 16px; border-radius: 999px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3); font-weight: 800; font-size: .85rem; letter-spacing: .04em; margin-bottom: 22px; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.hero h1 em { color: var(--yellow); }
.hero__sub { margin: 22px 0 30px; font-size: 1.15rem; color: rgba(255,255,255,.9); max-width: 560px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: rgba(255,255,255,.95); color: var(--blue-dark); font-weight: 800; font-size: .92rem; box-shadow: var(--shadow); }
.chip svg { width: 18px; height: 18px; color: var(--orange); }

/* --- Филиалы --- */
.branches { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.bcard { background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.bcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.bcard__img { aspect-ratio: 4 / 3; overflow: hidden; position: relative; }
.bcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.bcard:hover .bcard__img img { transform: scale(1.05); }
.bcard__city { position: absolute; left: 16px; top: 16px; padding: 8px 14px; border-radius: 999px; background: var(--orange); color: #fff; font-weight: 900; font-size: .95rem; box-shadow: 0 6px 18px rgba(255,109,0,.4); }
.bcard__body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.bcard__meta { display: flex; flex-direction: column; gap: 6px; color: var(--muted); font-size: .95rem; }
.bcard__meta div { display: flex; align-items: center; gap: 8px; }
.bcard__meta svg { width: 18px; height: 18px; color: var(--blue); flex-shrink: 0; }
.bcard__price { margin-top: auto; padding-top: 10px; font-weight: 900; color: var(--blue-dark); font-size: 1.1rem; }
.bcard__price small { font-weight: 700; color: var(--muted); font-size: .85rem; }
.bcard__actions { display: flex; gap: 10px; margin-top: 6px; }
.bcard__actions .btn { flex: 1; }

/* --- Развлечения --- */
.attr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.acard { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.acard__img { aspect-ratio: 16 / 11; overflow: hidden; }
.acard__img img { width: 100%; height: 100%; object-fit: cover; }
.acard__body { padding: 18px 20px 22px; }
.acard__body p { color: var(--muted); margin-top: 6px; font-size: .97rem; }

/* --- Цены --- */
.tabs { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.tab { padding: 12px 22px; border-radius: 999px; border: 2px solid var(--line); background: #fff; font: inherit; font-weight: 800; cursor: pointer; color: var(--ink); transition: all .2s; }
.tab[aria-selected="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.js .panel { display: none; }
.js .panel.active { display: block; }
.price-card { max-width: 720px; margin: 0 auto; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: clamp(22px, 3vw, 36px); }
.price-card h3 { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.price-card h3 span { font-size: .9rem; font-weight: 700; color: var(--muted); }
.price-group { margin-top: 22px; }
.price-group__label { font-size: .8rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); margin-bottom: 8px; }
.price-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 13px 0; border-bottom: 1px dashed var(--line); }
.price-row:last-child { border-bottom: 0; }
.price-row b { font-size: 1.15rem; white-space: nowrap; color: var(--blue-dark); }
.price-row b small { font-size: .8rem; color: var(--muted); font-weight: 700; margin-left: 4px; }
.promo { display: flex; align-items: center; gap: 12px; margin-top: 22px; padding: 14px 18px; border-radius: 16px; background: var(--orange-pale); color: var(--orange-dark); font-weight: 800; }
.promo svg { width: 22px; height: 22px; flex-shrink: 0; }
.price-note { text-align: center; color: var(--muted); font-size: .92rem; margin-top: 24px; max-width: 640px; margin-left: auto; margin-right: auto; }

/* --- Дни рождения --- */
.bday { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.bday__img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3; }
.bday__img img { width: 100%; height: 100%; object-fit: cover; }
.bday__list { display: grid; gap: 12px; margin: 26px 0 30px; }
.bday__list li { display: flex; gap: 12px; align-items: flex-start; font-weight: 700; }
.bday__list svg { width: 24px; height: 24px; flex-shrink: 0; color: var(--yellow); }
.bday__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* --- Галерея --- */
.gallery { columns: 3; column-gap: 16px; }
.gallery a { display: block; margin-bottom: 16px; border-radius: 18px; overflow: hidden; break-inside: avoid; box-shadow: var(--shadow); }
.gallery img { width: 100%; height: auto; transition: transform .5s var(--ease); }
.gallery a:hover img { transform: scale(1.04); }
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(10,20,40,.94); display: none; align-items: center; justify-content: center; padding: 20px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 90vh; border-radius: 12px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lightbox__close, .lightbox__prev, .lightbox__next { position: absolute; border: 0; background: rgba(255,255,255,.12); color: #fff; width: 48px; height: 48px; border-radius: 50%; font-size: 26px; cursor: pointer; display: grid; place-items: center; }
.lightbox__close { top: 18px; right: 18px; }
.lightbox__prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 14px; top: 50%; transform: translateY(-50%); }

/* --- FAQ --- */
.faq { max-width: 780px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border-radius: 16px; box-shadow: var(--shadow); padding: 4px 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 0; font-weight: 800; font-size: 1.05rem; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--orange); font-size: 1.6rem; font-weight: 400; line-height: 1; transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding: 0 0 18px; }

/* --- Контакты и форма --- */
.contacts { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.contact-list { display: grid; gap: 14px; }
.ccard { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: 18px; padding: 18px 20px; }
.ccard h3 { color: #fff; font-size: 1.1rem; }
.ccard p { color: rgba(255,255,255,.8); font-size: .95rem; margin-top: 4px; }
.ccard__links { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.ccard__links a { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: rgba(255,255,255,.14); font-weight: 800; font-size: .85rem; }
.ccard__links svg { width: 16px; height: 16px; }
.contact-main { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.form { background: #fff; color: var(--ink); border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 34px); box-shadow: var(--shadow-lg); }
.form h3 { font-size: 1.35rem; }
.form > p { color: var(--muted); margin: 6px 0 20px; }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-weight: 800; font-size: .88rem; }
.field input, .field select, .field textarea { width: 100%; padding: 13px 15px; border: 2px solid var(--line); border-radius: 14px; font: inherit; font-size: 1rem; background: var(--bg-soft); transition: border-color .2s, background .2s; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); background: #fff; }
.field [aria-invalid="true"] { border-color: #B91C1C; }
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; } .field--row > div { display: grid; gap: 6px; }
.field textarea { min-height: 88px; resize: vertical; }
.form .btn { width: 100%; margin-top: 6px; }
.form__privacy { font-size: .8rem; color: var(--muted); margin-top: 12px; }
.form__msg { display: none; margin-top: 14px; padding: 14px 16px; border-radius: 14px; font-weight: 800; }
.form__msg.ok { display: block; background: #E8F7EC; color: #1B7F3A; }
.form__msg.err { display: block; background: var(--orange-pale); color: var(--orange-dark); }
.hp { position: absolute; left: -9999px; }

/* --- Подвал --- */
.footer { background: #0B1F3F; color: rgba(255,255,255,.8); padding: 56px 0 96px; }
.footer__grid { display: grid; grid-template-columns: minmax(0,1.4fr) repeat(4, minmax(0,1fr)); gap: 32px; }
.footer h4 { color: #fff; margin: 0 0 14px; font-size: 1rem; }
.footer li { margin-bottom: 8px; }
.footer a:hover { color: #fff; }
.footer .logo { color: #fff; margin-bottom: 12px; }
.footer__bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); font-size: .88rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.social { display: flex; gap: 10px; }
.social a { width: 42px; height: 42px; border-radius: 12px; background: rgba(255,255,255,.1); display: grid; place-items: center; }
.social svg { width: 20px; height: 20px; }

/* --- Мобильная панель --- */
.sticky-bar { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: #fff; border-top: 1px solid var(--line); padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); gap: 8px; box-shadow: 0 -6px 24px rgba(20,33,61,.1); }
.sticky-bar a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 8px 4px; border-radius: 14px; font-weight: 800; font-size: .78rem; color: var(--blue-dark); background: var(--blue-pale); }
.sticky-bar a.tg { background: var(--orange); color: #fff; }
.sticky-bar svg { width: 22px; height: 22px; }

/* --- Страница филиала --- */
.bhero { position: relative; min-height: 62vh; display: flex; align-items: flex-end; color: #fff; isolation: isolate; overflow: hidden; }
.bhero__bg { position: absolute; inset: 0; z-index: -2; }
.bhero__bg img { width: 100%; height: 100%; object-fit: cover; }
.bhero__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(13,71,161,.15) 0%, rgba(13,71,161,.85) 100%); }
.bhero__content { padding-top: 120px; padding-bottom: 44px; }
.breadcrumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 0 8px; font-size: .9rem; line-height: 1.3; color: rgba(255,255,255,.8); margin-bottom: 12px; }
.breadcrumbs > * { display: inline-flex; align-items: center; min-height: 36px; }
.breadcrumbs a:hover { color: #fff; }
.bhero h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
.bhero__meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.info { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.info__text { font-size: 1.1rem; color: var(--muted); }
.info__facts { display: grid; gap: 14px; }
.fact { display: flex; gap: 14px; align-items: flex-start; background: #fff; border-radius: 16px; padding: 16px 18px; box-shadow: var(--shadow); }
.fact svg { width: 24px; height: 24px; color: var(--orange); flex-shrink: 0; margin-top: 2px; }
.fact small { display: block; font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.fact b { font-size: 1.05rem; }
.map { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 16 / 9; background: var(--bg-soft); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.others { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 20px; }
.ocard { display: flex; gap: 16px; align-items: center; background: #fff; border-radius: 18px; padding: 14px; box-shadow: var(--shadow); }
.ocard img { width: 110px; height: 84px; object-fit: cover; border-radius: 12px; flex-shrink: 0; }
.ocard p { color: var(--muted); font-size: .9rem; }
.cta-band { text-align: center; }
.cta-band .btn { margin: 6px; }

/* --- Анимация появления --- */
.js .reveal { opacity: 0; transform: translateY(26px) scale(.97); transition: opacity .55s var(--ease), transform .75s cubic-bezier(.34, 1.4, .64, 1); }
.js .reveal.in { opacity: 1; transform: none; }
.branches .bcard:nth-child(2), .attr .acard:nth-child(3n+2), .pkgs .pkg:nth-child(2), .events .event:nth-child(2), .scards .scard:nth-child(3n+2) { transition-delay: .1s; }
.branches .bcard:nth-child(3), .attr .acard:nth-child(3n+3), .pkgs .pkg:nth-child(3), .events .event:nth-child(3), .scards .scard:nth-child(3n+3) { transition-delay: .2s; }
.events .event:nth-child(4) { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .bcard, .bcard__img img, .gallery img { transition: none; }
}

/* --- Адаптив --- */
@media (max-width: 1024px) {
  .branches, .attr { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__grid { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
}
@media (max-width: 1180px) {
  .nav { display: none; }
  .burger { display: block; }
}
@media (max-width: 860px) {
  .bday, .contacts, .info { grid-template-columns: 1fr; }
  .gallery { columns: 2; }
}
@media (max-width: 640px) {
  :root { --header-h: 58px; }
  body { font-size: 16px; }
  .header__actions .btn { display: none; }
  .logo img { height: 34px; }
  .hero__content { padding: 36px 0 44px; }
  .hero__sub { font-size: 1.02rem; margin: 14px 0 20px; }
  .hero__actions .btn--ghost { display: none; }
  .sticky-bar { padding: 6px 8px calc(6px + env(safe-area-inset-bottom)); }
  .sticky-bar a { flex-direction: row; gap: 6px; padding: 11px 6px; font-size: .85rem; min-height: 44px; }
  .sticky-bar svg { width: 20px; height: 20px; }
  .tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .tab { padding: 12px 6px; font-size: .95rem; white-space: nowrap; }
  .branches, .attr, .others { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero__content { padding: 64px 0 56px; }
  .hero__actions .btn { width: 100%; }
  .bcard__actions { flex-direction: column; }
  .sticky-bar { display: flex; }
  .footer { padding-bottom: 110px; }
  .footer__grid { grid-template-columns: 1fr; }
  .gallery { columns: 2; column-gap: 10px; }
  .gallery a { margin-bottom: 10px; border-radius: 12px; }
  .bhero__content { padding-top: 90px; }
}


/* --- Семейные правила, карты, афиша, баннеры, внутренние страницы --- */
.row-note { display: block; font-size: .8rem; color: var(--muted); font-weight: 600; }
.family { margin-top: 40px; }
.family__grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.frule { background: #fff; border-radius: 16px; padding: 16px; box-shadow: var(--shadow); display: grid; gap: 4px; text-align: center; }
.frule b { font-size: .95rem; }
.frule__v { font-size: 1.35rem; font-weight: 900; color: var(--orange); }
.frule small { color: var(--muted); font-size: .8rem; }
.events { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.event { background: #fff; border-radius: 18px; padding: 20px; box-shadow: var(--shadow); border-top: 4px solid var(--orange); }
.event__date { font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); margin-bottom: 8px; }
.event h3 { font-size: 1.05rem; margin-bottom: 6px; }
.event p { color: var(--muted); font-size: .95rem; }
.band { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 20px; }
.band__card { position: relative; min-height: 300px; border-radius: var(--radius-lg); overflow: hidden; background-size: cover; background-position: center; display: flex; align-items: flex-end; color: #fff; isolation: isolate; box-shadow: var(--shadow-lg); }
.band__card::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(13,71,161,.05) 0%, rgba(13,71,161,.88) 100%); }
.band__card > div { padding: 26px; }
.band__card .kicker { color: #FFC53D; margin-bottom: 8px; }
.band__card h3 { font-size: 1.5rem; margin-bottom: 8px; }
.band__card p { color: rgba(255,255,255,.88); font-size: .97rem; }
.band__more { display: inline-block; margin-top: 12px; font-weight: 800; color: #FFC53D; }
.bhero--page { min-height: 52vh; }
.bhero--page .hero__sub { max-width: 640px; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.step { background: #fff; border-radius: 18px; padding: 24px 22px; box-shadow: var(--shadow); }
.step__n { width: 44px; height: 44px; border-radius: 50%; background: var(--orange); color: #fff; font-weight: 900; font-size: 1.2rem; display: grid; place-items: center; margin-bottom: 14px; }
.step h3 { margin-bottom: 6px; }
.step p { color: var(--muted); }
.pkgs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.pkg { position: relative; background: #fff; border-radius: var(--radius-lg); padding: 28px 24px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 14px; border: 2px solid transparent; }
.pkg--hit { border-color: var(--orange); box-shadow: var(--shadow-lg); }
.pkg__tag { position: absolute; top: -14px; left: 24px; background: var(--orange); color: #fff; font-weight: 900; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; padding: 6px 14px; border-radius: 999px; }
.pkg h3 { font-size: 1.5rem; }
.pkg__price { font-size: 1.7rem; font-weight: 900; color: var(--blue-dark); line-height: 1.1; }
.pkg__price small { display: block; font-size: .85rem; color: var(--muted); font-weight: 700; margin-top: 4px; }
.pkg__list { display: grid; gap: 8px; flex: 1; }
.pkg__list li { display: flex; gap: 10px; align-items: flex-start; font-size: .97rem; }
.pkg__list svg { width: 22px; height: 22px; flex-shrink: 0; color: var(--blue); }
.two { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.rules { display: grid; gap: 10px; margin-top: 16px; }
.rules li { padding-left: 26px; position: relative; }
.rules li::before { content: ''; position: absolute; left: 0; top: .55em; width: 12px; height: 12px; border-radius: 50%; background: var(--orange-bright); }
.scards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.scard { background: #fff; border-radius: 18px; padding: 24px 22px; box-shadow: var(--shadow); }
.scard svg { width: 36px; height: 36px; color: var(--orange); margin-bottom: 12px; }
.scard h3 { margin-bottom: 6px; font-size: 1.12rem; }
.scard p { color: var(--muted); font-size: .96rem; }
.gallery--2 { columns: 2; }
@media (max-width: 1024px) {
  .family__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .events { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .scards, .pkgs, .steps { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
}
@media (max-width: 860px) { .band, .two { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .family__grid, .events, .scards, .pkgs, .steps { grid-template-columns: 1fr; }
  .band__card { min-height: 240px; }
  .pkg--hit { transform: none; }
}

.pkg .btn, .bcard__actions .btn, .cta-band .btn { white-space: normal; }


/* --- «Прыжок»: шарики, появление первого экрана, бегущая строка, волны, статус, калькулятор --- */
.hero__balls { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero .container { position: relative; z-index: 1; }
@keyframes popIn { 0% { opacity: 0; transform: translateY(30px) scale(.94); } 60% { opacity: 1; transform: translateY(-6px) scale(1.02); } 100% { opacity: 1; transform: none; } }
.hero__content > * { animation: popIn .8s cubic-bezier(.34, 1.4, .64, 1) both; }
.hero__content > :nth-child(2) { animation-delay: .1s; } .hero__content > :nth-child(3) { animation-delay: .2s; } .hero__content > :nth-child(4) { animation-delay: .3s; } .hero__content > :nth-child(5) { animation-delay: .4s; }
.hero h1 em { display: inline-block; animation: bounceWord 2.6s cubic-bezier(.34, 1.56, .64, 1) 1.2s 3; transform-origin: 50% 100%; }
@keyframes bounceWord { 0%, 20%, 100% { transform: none; } 8% { transform: translateY(-10px) scaleY(1.06); } 14% { transform: translateY(0) scaleY(.96); } }

.ticker { overflow: hidden; background: var(--orange-bright); color: var(--ink); font-weight: 900; font-size: .95rem; letter-spacing: .06em; text-transform: uppercase; padding: 12px 0; white-space: nowrap; }
.ticker__track { display: inline-flex; align-items: center; gap: 22px; animation: ticker 38s linear infinite; padding-left: 22px; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker i { width: 8px; height: 8px; border-radius: 50%; background: #fff; display: inline-block; }
@keyframes ticker { to { transform: translateX(-50%); } }

.section--blue.wave-white, .section--blue.wave-soft { position: relative; padding-top: clamp(84px, 11vw, 140px); }
.section--blue.wave-white::before, .section--blue.wave-soft::before { content: ''; position: absolute; left: 0; right: 0; top: -1px; height: clamp(34px, 5vw, 64px); background-repeat: no-repeat; background-size: 100% 100%; }
.section--blue.wave-white::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 64' preserveAspectRatio='none'%3E%3Cpath d='M0 0h1440v20c-160 30-320 44-480 30S640 8 480 22 160 62 0 40z' fill='%23FFFFFF'/%3E%3C/svg%3E"); }
.section--blue.wave-soft::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 64' preserveAspectRatio='none'%3E%3Cpath d='M0 0h1440v20c-160 30-320 44-480 30S640 8 480 22 160 62 0 40z' fill='%23F5F8FC'/%3E%3C/svg%3E"); }

.open-now { display: inline-flex; align-items: center; gap: 7px; font-weight: 800; font-size: .9rem; }
.open-now::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: #9CA3AF; flex-shrink: 0; }
.open-now.is-open { color: #1B7F3A; } .open-now:empty { display: none; }
.open-now.is-open::before { background: #22C55E; box-shadow: 0 0 0 4px rgba(34,197,94,.2); }
.open-now.is-closed { color: var(--muted); }
.chip--status .open-now { color: inherit; } .chip--status .open-now.is-open { color: #1B7F3A; }

.calc { margin-top: 40px; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: clamp(22px, 3vw, 34px); max-width: 860px; margin-left: auto; margin-right: auto; }
.calc__head h3 { font-size: 1.5rem; } .calc__head p { color: var(--muted); margin: 4px 0 18px; }
.calc__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.calc__grid label { display: grid; gap: 6px; font-weight: 800; font-size: .85rem; }
.calc__grid select, .calc__grid input[type=number] { width: 100%; padding: 12px 14px; border: 2px solid var(--line); border-radius: 14px; font: inherit; font-size: 1rem; background: var(--bg-soft); }
.calc__grid select:focus, .calc__grid input:focus { border-color: var(--blue); background: #fff; }
.calc__check { grid-column: 1 / -1; display: flex !important; align-items: center; gap: 10px; font-size: .95rem !important; }
.calc__check input { width: 20px; height: 20px; accent-color: var(--orange); }
.calc__result { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--line); }
.calc__lines { display: flex; flex-wrap: wrap; gap: 6px 14px; color: var(--muted); font-size: .88rem; font-weight: 600; }
.calc__total { font-size: 1.1rem; font-weight: 800; } .calc__total b { font-size: 1.7rem; color: var(--orange); font-weight: 900; white-space: nowrap; }
.calc__note { color: var(--muted); font-size: .82rem; margin-top: 10px; }
@media (max-width: 860px) { .calc__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (prefers-reduced-motion: reduce) {
  .hero__content > *, .hero h1 em, .ticker__track { animation: none; }
  .hero__balls { display: none; }
}


/* --- SEO-слоты: H1 в две строки и текстовый блок --- */
h1 small { display: block; font-size: .42em; font-weight: 800; letter-spacing: 0; margin-top: 12px; opacity: .92; line-height: 1.3; }
.hero h1 small { color: #fff; }
.seo-text { padding-top: 0; padding-bottom: clamp(40px, 6vw, 72px); }
.seo-text__inner { max-width: 780px; margin: 0 auto; }
.seo-text h2 { font-size: 1.35rem; margin-bottom: 10px; }
.seo-text p { color: var(--muted); font-size: 1rem; }


/* --- Страница аттракционов: возраст --- */
.ages { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.age { background: #fff; border-radius: 18px; padding: 22px; box-shadow: var(--shadow); border-top: 5px solid var(--orange); }
.age__range { font-size: 1.5rem; font-weight: 900; color: var(--blue-dark); margin-bottom: 8px; }
.age p { color: var(--muted); }
@media (max-width: 860px) { .ages { grid-template-columns: 1fr; } }

/* --- SEO-строка внутри H1 первого экрана в виде прежней плашки --- */
.hero h1 small.hero__kicker { display: block; width: fit-content; font-size: .85rem; font-weight: 800; letter-spacing: .04em; line-height: 1.4; margin: 0 0 22px; opacity: 1; color: #fff; text-transform: none; }
.hero__content > :nth-child(1) { animation-delay: 0s; } .hero__content > :nth-child(2) { animation-delay: .15s; } .hero__content > :nth-child(3) { animation-delay: .3s; } .hero__content > :nth-child(4) { animation-delay: .45s; }


/* --- Технический пакет: якоря под липкой шапкой, picture, prose, лайтбокс-подпись, конфетти --- */
section[id], [id="zayavka"] { scroll-margin-top: calc(var(--header-h) + 12px); }
picture { display: contents; }
.prose h2 { font-size: 1.3rem; margin: 26px 0 8px; } .prose p { color: var(--muted); margin-bottom: 10px; }
.lightbox__cap { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); max-width: min(90vw, 720px); color: #fff; background: rgba(0,0,0,.45); padding: 8px 14px; border-radius: 10px; font-size: .9rem; text-align: center; }
.lightbox__cnt { position: absolute; top: 26px; left: 22px; color: rgba(255,255,255,.8); font-weight: 800; font-size: .9rem; }
.confetti { position: fixed; inset: 0; pointer-events: none; z-index: 300; }
.hero__bg { will-change: transform; }


/* --- Блог --- */
.blog-card { display: flex; flex-direction: column; color: var(--ink); }
.blog-card__meta { display: inline-block; margin-top: 10px; font-weight: 800; color: var(--orange); font-size: .9rem; }
.article { max-width: 760px; margin: 0 auto; font-size: 1.05rem; }
.article__meta { color: var(--muted); font-size: .88rem; margin-bottom: 18px; }
.article h2 { font-size: 1.5rem; margin: 30px 0 10px; }
.article p { color: var(--ink); margin-bottom: 12px; }
.article ul, .article ol { margin: 0 0 14px 22px; padding: 0; list-style: disc; } .article ol { list-style: decimal; }
.article li { margin-bottom: 6px; }
.article a { color: var(--blue); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }


/* --- Правки по ревью: тап-цели, блокировка прокрутки, таблица условий, reduce-motion --- */
.ccard__links a { padding: 11px 14px; min-height: 44px; }
.footer li a { display: inline-block; padding: 6px 0; }
.social a { width: 44px; height: 44px; }
.breadcrumbs a { padding: 0; }
.lang { min-height: 40px; display: inline-flex; align-items: center; }
.mobile-nav, .lightbox { overscroll-behavior: contain; }
.lightbox { touch-action: none; }
body.is-locked { position: fixed; left: 0; right: 0; overflow: hidden; }
.table-wrap { overflow-x: auto; margin-top: 10px; }
.bt { width: 100%; border-collapse: collapse; font-size: .95rem; }
.bt th, .bt td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.bt th { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.bt td { font-weight: 700; white-space: nowrap; }
@media (max-width: 1024px) { .header { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(255,255,255,.97); } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .mobile-nav.open { animation: none; } .tab, .faq summary::after { transition: none; } }

.two > * { min-width: 0; }
@media (max-width: 860px) { .band, .two { grid-template-columns: minmax(0, 1fr); } }

/* текст после первого экрана внутренних страниц — на белом, с отступом */
.bhero + .seo-text { padding-top: clamp(28px, 4vw, 48px); }
.seo-text__inner { position: relative; z-index: 1; }

/* выравнивание чипов и статуса */
.chip { line-height: 1.2; }
.chip .open-now { font-size: inherit; }
.bhero__meta .chip { padding: 8px 14px; }

/* --- визуальное ревью: акцент в заголовках на фото, контраст крошек, перенос чипов --- */
.bhero h1 em { color: var(--yellow); }
.breadcrumbs { color: rgba(255,255,255,.92); text-shadow: 0 1px 2px rgba(0,0,0,.35); }
.bhero__meta { gap: 8px; }
.bhero__meta .chip { white-space: normal; text-align: left; }
.hero__chips .chip { white-space: normal; }
.price-row span { padding-right: 6px; }
@media (max-width: 640px) {
  .price-row { flex-direction: column; align-items: flex-start; gap: 4px; }
  .price-row b { font-size: 1.05rem; }
  .row-note { font-size: .78rem; }
}


/* ==================== Визуальное ревью (мобильные): 23 правки ==================== */
.bhero h1 em, .bhero .hero__sub em, .band__card em { color: var(--yellow); }
.breadcrumbs { margin-bottom: 6px; }
.bhero__shade { background: linear-gradient(180deg, rgba(13,71,161,.45) 0%, rgba(13,71,161,.62) 45%, rgba(13,71,161,.9) 100%); }
.bhero .kicker { color: var(--yellow); text-shadow: 0 1px 2px rgba(0,0,0,.35); }
.chip { align-items: flex-start; } .chip svg { flex-shrink: 0; margin-top: 1px; }
.bhero__meta .chip { min-width: 0; max-width: 100%; }
.price-card h3 span { line-height: 1.45; flex: 1 1 100%; margin-top: 2px; }
.price-row > span:first-child { text-wrap: pretty; }
.promo { align-items: flex-start; } .promo svg { margin-top: 2px; } .promo span { text-wrap: pretty; }
.ccard__links a { flex: 1 1 calc(50% - 4px); justify-content: center; } .ccard__links a:nth-child(3) { flex-basis: 100%; }
.bcard__meta div { align-items: flex-start; } .bcard__meta svg { margin-top: 3px; }
.event { border-top: 0; position: relative; overflow: hidden; } .event::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--orange-bright); }
.two h2, .section-head--left h2 { text-wrap: pretty; }
.seo-text h2 { font-size: clamp(1.45rem, 5vw, 1.7rem); margin-bottom: 12px; }
.section-sub, .hero__sub, .seo-text p, .acard__body p, .event p, .price-note { text-wrap: pretty; }
.bhero + .seo-text { padding-top: clamp(40px, 6vw, 64px); } .seo-text { padding-bottom: clamp(20px, 4vw, 48px); }
.js .article.reveal, .js .faq.reveal, .js .form.reveal { opacity: 1; transform: none; transition: none; }
.sticky-bar a { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .sticky-bar a svg { flex-shrink: 0; }
.footer__bottom a { display: inline-block; padding: 6px 0; }
html, body { overflow-x: clip; }
.container, .bhero__content, .two > *, .pkg, .price-card { min-width: 0; max-width: 100%; }
h1, h2, h3, p { overflow-wrap: break-word; }
.article__meta { display: flex; flex-wrap: wrap; gap: 8px; font-weight: 700; }
@media (max-width: 1180px) { .header__actions { margin-left: auto; } .burger { margin-left: 0; } .header__inner { gap: 12px; } }
@media (max-width: 640px) {
  .bhero h1 { font-size: 1.75rem; line-height: 1.18; }
  .bhero .hero__sub { font-size: .98rem; line-height: 1.55; margin: 16px 0 14px; text-wrap: pretty; }
  .bhero__content { padding-bottom: 36px; }
  .hero__chips { gap: 8px; margin-top: 28px; } .hero__chips .chip { font-size: .85rem; padding: 8px 12px; gap: 6px; } .hero__chips .chip svg { width: 16px; height: 16px; }
  .bhero__meta .chip:first-child { flex: 1 1 100%; } .bhero__meta .chip:not(:first-child) { flex: 1 1 calc(50% - 4px); justify-content: center; } .bhero__meta .chip svg { width: 16px; height: 16px; }
  .hero__shade { background: linear-gradient(180deg, rgba(13,71,161,.88) 0%, rgba(13,71,161,.74) 55%, rgba(13,71,161,.5) 100%); }
  .price-row b { white-space: normal; line-height: 1.3; } .price-row b small { font-size: .75rem; margin-left: 2px; }
  .bday__actions .btn, .contact-main .btn { flex: 1 1 100%; width: 100%; }
  .cta-band .btn { display: flex; width: min(100%, 320px); margin: 0 auto; } .cta-band .btn + .btn { margin-top: 12px; }
  .calc__result { flex-direction: column; align-items: stretch; gap: 14px; } .calc__result .btn { width: 100%; } .calc__grid label:first-child { grid-column: 1 / -1; }
  .family__grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; } .frule { padding: 14px 10px; } .frule:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .gallery, .gallery--2 { columns: auto; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
  .gallery a { margin: 0; aspect-ratio: 4 / 3; } .gallery img { height: 100%; object-fit: cover; } .gallery a:last-child:nth-child(odd) { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
  h2 { font-size: 1.55rem; line-height: 1.18; } .section-head .section-sub { margin-top: 10px; font-size: 1rem; }
  .info__text { font-size: 1.02rem; line-height: 1.55; }
  .sticky-bar { padding: 6px 12px calc(6px + env(safe-area-inset-bottom)); gap: 6px; } .sticky-bar a { padding: 11px 4px; gap: 5px; font-size: .82rem; } .sticky-bar svg { width: 18px; height: 18px; }
  .footer { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
}
@media (max-width: 360px) { .sticky-bar a { font-size: .78rem; } }

/* ---------- аудит 27.11.2026 ---------- */
/* ДЗ-1 телефон в шапке: от 1280 px — кнопка-значок, от 1360 px — с номером (уже — телефон в меню и нижней панели) */
.hdr-phone { display: none; align-items: center; justify-content: center; gap: 6px; border-radius: 999px; font-weight: 800; font-size: .9rem; color: var(--blue-dark); white-space: nowrap; transition: background .2s; }
.hdr-phone svg { width: 18px; height: 18px; flex-shrink: 0; }
.hdr-phone:hover { background: var(--blue-pale); }
@media (min-width: 1280px) { .hdr-phone { display: inline-flex; width: 40px; height: 40px; background: var(--blue-pale); } .hdr-phone span { display: none; } }
@media (min-width: 1360px) { .hdr-phone { width: auto; height: auto; padding: 8px 12px; background: transparent; } .hdr-phone span { display: inline; } }
/* ДЗ-8 надзаголовок на светлом фоне — контраст не ниже 4,5:1 */
.section--soft .kicker { color: var(--orange-dark); }
/* ДЗ-9 пояснения к ценам, подписи и форма — не мельче ~13 px */
.row-note, .form__privacy { font-size: .85rem; }
.fact small, .event__date, .bt th { font-size: .8rem; }
@media (max-width: 640px) { .row-note { font-size: .84rem; } }
/* ДЗ-5 бегущая строка — пауза и касанием (main.js), и фокусом */
.ticker:focus-within .ticker__track, .ticker.paused .ticker__track { animation-play-state: paused; }

/* Маршрут: окно выбора карт (main.js, заказчик 27.11.2026) — по центру, на телефоне снизу */
.route-sheet { position: fixed; inset: 0; z-index: 210; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(10, 20, 40, .55); }
.route-sheet[hidden] { display: none; }
.route-sheet__box { width: 100%; max-width: 380px; display: grid; gap: 10px; padding: 22px; border-radius: 22px; background: #fff; box-shadow: var(--shadow-lg); animation: menuIn .2s var(--ease); }
.route-sheet__title { margin: 0; color: var(--ink); font-size: 1.15rem; font-weight: 900; text-align: center; text-wrap: balance; }
.route-sheet__sub { margin: 0 0 4px; color: var(--muted); font-size: .95rem; text-align: center; }
.route-sheet__box .btn { width: 100%; }
.route-sheet__cancel { padding: 12px; border: 0; background: none; color: var(--muted); font: inherit; font-weight: 800; cursor: pointer; border-radius: 999px; }
.route-sheet__cancel:hover { background: var(--bg-soft); }
@media (max-width: 640px) {
  .route-sheet { align-items: flex-end; padding: 0; }
  .route-sheet__box { max-width: none; border-radius: 22px 22px 0 0; padding: 22px 18px calc(14px + env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) { .route-sheet__box { animation: none; } }
