/* Территория лап — стили сайта. Компоненты перенесены из стайлгайда
   Дизайн-система/index.html (v0.2, 29.10.2026); токены — в tokens.css. */

* { box-sizing: border-box; }
/* При повороте мобильный браузер сохраняет заданную шкалу текста; зум доступен. */
html { background: var(--bg); scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; width: 100%; min-width: 0; color: var(--ink); background: var(--bg); font: var(--fs-body)/var(--lh-body) var(--font-body); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.wrap { width: 100%; min-width: 0; max-width: var(--container); margin: 0 auto; padding: 0 var(--inset); }
.eyebrow { font: 600 var(--fs-caption)/1.3 var(--font-body); letter-spacing: var(--tracking-caps); text-transform: uppercase; color: var(--ink-muted); margin: 0 0 var(--space-3); }
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; letter-spacing: var(--tracking-heading); line-height: var(--lh-heading); }
.ds-lead { color: var(--ink-muted); max-width: 720px; margin: 0 0 var(--space-7); font-size: var(--fs-lead); }
.accent { color: var(--accent-word); }
.grid { display: grid; gap: var(--space-5); }
/* Длинное содержимое не должно расширять колонки и всю страницу. */
.grid > *, .hero > *, .fgrid > *, .contacts > *, .contacts-info,
.asit-intro > *, .asit-text > *, .service-block > * { min-width: 0; }
.fgrid, .contact-list { overflow-wrap: anywhere; }
.g2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
/* Без «висящих» карточек: 4 → 2 → 1 и 3 → 1 */
@media (max-width: 1180px) { .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .g3 { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .g4 { grid-template-columns: minmax(0, 1fr); } }
.card { background: var(--surface); border-radius: var(--radius-lg); padding: var(--space-6); box-shadow: var(--shadow-1); }
.note { font-size: var(--fs-small); color: var(--ink-muted); }

/* ---------- Секции ---------- */
.section { padding-top: var(--section-y); }
.section-title { font-size: var(--fs-h2); font-weight: 500; margin-bottom: var(--space-3); }
.section-lead { color: var(--ink-muted); max-width: 720px; margin: 0 0 var(--space-7); font-size: var(--fs-lead); }

/* ---------- Шапка ---------- */
.site-header { position: sticky; top: 0; z-index: 10; background: var(--surface); border-radius: 0 0 var(--radius-xl) var(--radius-xl); box-shadow: var(--shadow-1); transition: box-shadow var(--dur-base) var(--ease-out); }
/* Исходное состояние: логотип · адрес и график · меню · действия — одна строка.
   Компактное (при прокрутке): адрес и график скрыты, ряд ниже, знак меньше. */
.hdr-main { --hdr-gap: clamp(12px, 1vw, 28px); display: grid; grid-template-columns: auto auto 1fr auto; grid-template-areas: "logo info nav actions"; align-items: center; column-gap: var(--hdr-gap); padding: var(--space-4) clamp(16px, 1.4vw, 56px); min-height: var(--header-h); transition: padding var(--dur-base) var(--ease-out), min-height var(--dur-base) var(--ease-out); }
.hdr-logo { grid-area: logo; display: flex; align-items: center; gap: var(--space-3); text-decoration: none; }
.hdr-logo img { width: 52px; height: 52px; transition: width var(--dur-base) var(--ease-out), height var(--dur-base) var(--ease-out); }
.hdr-logo b { display: block; font: 400 22px/1.1 var(--font-display); letter-spacing: -.05em; color: var(--brand); white-space: nowrap; }
.hdr-logo small { display: block; font-size: 13px; line-height: 1.3; color: var(--ink); white-space: nowrap; }
.hdr-info { grid-area: info; display: grid; gap: 6px; padding-left: var(--hdr-gap); border-left: 1px solid var(--line); font-size: 14px; line-height: 1.3; color: var(--ink); }
.hdr-info span { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.hdr-info svg, .hdr-info .metro { flex: 0 0 auto; }
.hdr-info svg { color: var(--mark); }
.hdr-info svg.metro { color: var(--metro-blue); }
.nav { grid-area: nav; display: flex; justify-content: center; gap: 2px; }
.nav a { text-decoration: none; padding: 10px 9px; border-radius: var(--radius-pill); font-weight: 600; font-size: 15px; white-space: nowrap; transition: background var(--dur-fast); }
.nav a:hover { background: var(--sand-100); }
.nav a.is-current { background: var(--sand-100); }
/* Отступы плашек меню растут с шириной экрана (владелец 30.10.2026): на 1440 px полная шапка впритык — там почти как было,
   к 1720 px — 18 px. В компактной шапке нет адреса и часов, места больше — отступы растут раньше */
.nav a { padding-inline: clamp(11px, 2.5vw - 25px, 18px); }
.site-header.is-compact .nav a { padding-inline: clamp(9px, 1.5vw - 8px, 18px); }
.nav a.nav-asit { background: var(--sage-100); color: var(--olive-900); display: inline-flex; align-items: center; gap: 8px; }
.nav a.nav-asit::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); }
.hdr-actions { grid-area: actions; display: flex; align-items: center; gap: var(--space-3); }
.hdr-actions .btn { padding: 4px 20px; }
.phone { font: 600 16px/1 var(--font-display); white-space: nowrap; align-self: center; }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); display: grid; place-items: center; cursor: pointer; color: var(--ink); flex: 0 0 auto; }
.icon-btn:hover { background: var(--sand-100); }
.burger { display: none; }
.site-header.is-compact { box-shadow: var(--shadow-2); }
.site-header.is-compact .hdr-main { grid-template-columns: auto 1fr auto; grid-template-areas: "logo nav actions"; min-height: var(--header-h-compact); padding-top: var(--space-2); padding-bottom: var(--space-2); animation: hdr-swap var(--dur-base) var(--ease-out); }
.site-header.is-compact .hdr-info { display: none; }
.site-header.is-compact .hdr-logo img { width: 44px; height: 44px; }
.site-header.is-compact .hdr-logo b { font-size: 20px; }
.site-header.is-compact .hdr-logo small { font-size: 12px; }
@keyframes hdr-swap { from { opacity: .4; } }
/* Полная строка помещается от 1440 px. Уже: в исходном состоянии меню уходит в бургер,
   в компактном остаётся до 1180 px; ниже 1080 px скрываются адрес, график и телефон. */
@media (max-width: 1439px) {
  .site-header:not(.is-compact) .hdr-main { grid-template-areas: "logo info . actions"; }
  .site-header:not(.is-compact) .nav { display: none; }
  .site-header:not(.is-compact) .burger { display: grid; }
}
@media (max-width: 1179px) {
  .site-header.is-compact .hdr-main { grid-template-areas: "logo . actions"; }
  .nav { display: none; } .burger { display: grid; }
}
@media (max-width: 1080px) {
  .hdr-info, .phone { display: none; }
  .hdr-main, .site-header.is-compact .hdr-main { grid-template-columns: auto 1fr auto; grid-template-areas: "logo . actions"; column-gap: var(--space-3); }
}
@media (max-width: 560px) { .hdr-actions .btn { display: none; } .hdr-actions { gap: var(--space-2); } .hdr-logo small { display: none; } .hdr-logo b { font-size: 20px; } }
@media (max-width: 360px) { .hdr-logo img { width: 44px; height: 44px; } .hdr-logo b { font-size: 18px; } .hdr-actions .icon-btn { width: 44px; height: 44px; } }

/* ---------- Кнопки ---------- */
.btn { --btn-bg: var(--action); --btn-fg: var(--ink-invert); display: inline-flex; align-items: center; gap: var(--space-3); min-height: 52px; padding: 6px 6px 6px 24px; border-radius: var(--radius-pill); border: 0; background: var(--btn-bg); color: var(--btn-fg); font: 600 17px/1.2 var(--font-body); text-decoration: none; cursor: pointer; transition: background var(--dur-fast), transform var(--dur-base) var(--ease-out); max-width: 100%; white-space: normal; }
.btn .arrow { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%; background: var(--white); color: var(--olive-900); display: grid; place-items: center; transition: transform var(--dur-base) var(--ease-out); }
.btn:hover { background: var(--action-hover); }
.btn:hover .arrow { transform: rotate(-45deg); }
.btn:active { transform: scale(.98); }
.btn.no-arrow { padding: 6px 24px; }
.btn-secondary { --btn-bg: transparent; --btn-fg: var(--olive-900); box-shadow: inset 0 0 0 1.5px var(--brand); }
.btn-secondary:hover { background: var(--sage-100); }
.btn-soft { --btn-bg: var(--sage-100); --btn-fg: var(--olive-900); }
.btn-soft:hover { background: var(--sage-200); }
.btn-soft .arrow { background: var(--brand); color: var(--white); }
.btn-invert { --btn-bg: var(--white); --btn-fg: var(--olive-900); }
.btn-invert:hover { background: var(--sand-100); }
.btn-invert .arrow { background: var(--brand); color: #fff; }
.btn-sm { min-height: 44px; font-size: 15px; padding: 4px 4px 4px 18px; }
.btn-sm .arrow { width: 36px; height: 36px; }
.btn[disabled] { --btn-bg: var(--sand-200); --btn-fg: var(--ink-muted); cursor: not-allowed; }
.btn[disabled] .arrow { background: var(--sand-100); color: var(--ink-subtle); transform: none; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--brand); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.row { display: flex; flex-wrap: wrap; gap: var(--space-4); align-items: center; }
.on-dark { background: var(--surface-dark); color: var(--ink-invert); }
/* Оливковая рамка фокуса на тёмном не видна — там она белая */
.on-dark :focus-visible, .site-footer :focus-visible { outline-color: var(--ink-invert); }

/* ---------- Хиро ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: var(--space-7); align-items: center; padding-top: var(--space-8); }
.hero h1 { font-size: var(--fs-display); font-weight: 600; letter-spacing: var(--tracking-display); line-height: 1; margin-bottom: var(--space-5); }
.hero p { font-size: var(--fs-lead); color: var(--ink-muted); max-width: 560px; margin: 0 0 var(--space-6); }
/* Заголовок — название клиники (30.10.2026): «Ветеринарная клиника» — как заголовки блоков («С чем мы можем вам помочь?»):
   тот же размер и толщина; название — отдельной строкой, крупно и жирнее */
.hero h1 { font-size: var(--fs-h2); font-weight: 500; letter-spacing: var(--tracking-heading); line-height: 1.12; }
.hero h1 .accent { display: block; font-size: clamp(40px, 5vw, 72px); font-weight: 600; letter-spacing: var(--tracking-display); line-height: 1.02; }
.hero .hero-sub { font: 600 var(--fs-lead)/1.4 var(--font-display); color: var(--ink); max-width: 560px; }
/* Отступы (владелец 30.10.2026): на компьютере 40 / 30 / 40 px (под заголовком / между текстом и жирной строкой / до кнопок),
   на телефоне 20 / 16 / 24; между — плавно по ширине экрана. Между текстом и жирной строкой:
   больше межстрочного, чтобы жирная строка читалась отдельным выводом, но держалась у текста. Отступ до кнопок — у жирной строки */
.hero h1 { margin-bottom: clamp(20px, 2.8vw, 40px); }
.hero .hero-lead { margin-bottom: clamp(16px, 2.1vw, 30px); }
.hero .hero-sub { margin-bottom: clamp(24px, 2.8vw, 40px); }
.hero-visual { position: relative; aspect-ratio: 1 / 1.02; }
.blob { position: absolute; inset: 0; background: var(--sage-200); border-radius: 46% 54% 40% 60% / 52% 38% 62% 48%; overflow: hidden; }
.blob img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
/* Ролики собаки и кота поверх картинки: края растушёваны, чтобы не было видно границы; видны только во время показа */
.hero-clip { position: absolute; display: block; object-fit: cover; opacity: 0; transition: opacity .4s ease;
  -webkit-mask: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent), linear-gradient(transparent, #000 7%, #000 93%, transparent);
  -webkit-mask-composite: source-in;
  mask: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent), linear-gradient(transparent, #000 7%, #000 93%, transparent);
  mask-composite: intersect; }
.hero-clip.is-playing { opacity: 1; }
.chip-float { position: absolute; display: flex; align-items: center; gap: var(--space-3); padding: var(--space-3) var(--space-4) var(--space-3) var(--space-3); background: var(--surface); border-radius: var(--radius-md); box-shadow: var(--shadow-float); font-size: var(--fs-small); line-height: 1.3; max-width: 230px; }
.chip-float b { display: block; font: 600 16px/1.2 var(--font-display); color: var(--ink); }
.chip-ico { flex: 0 0 auto; width: 44px; height: 44px; border-radius: var(--radius-sm); background: var(--sage-100); color: var(--mark); display: grid; place-items: center; }
.badge-round { position: absolute; width: 112px; height: 112px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; text-align: center; font: 600 13px/1.25 var(--font-body); letter-spacing: .02em; padding: 14px; box-shadow: var(--shadow-float); }
/* Круг на картинке хиро — в углу над вывеской; на телефоне меньше и ближе к краю, чтобы не закрывать надпись */
.hero-visual .badge-round { right: 6%; top: -2%; }
/* Плашки хиро — ссылки в «Контакты» (владелец 30.10.2026): при наведении приподнимаются, как плашка на странице АСИТ */
a.chip-float { text-decoration: none; transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base); }
a.chip-float:hover { transform: translateY(-3px); box-shadow: var(--shadow-float), 0 0 0 2px var(--sage-200); }
/* Анимации главной (30.10.2026), без перебора и плавно (владелец: «не резкие»): первый экран мягко проявляется при загрузке —
   долго, с малым сдвигом и плавным замедлением (--ease-soft), без «выскакивания»; плашки слегка покачиваются, картинка
   медленно «дышит» формой. Покачивание — свойством translate, чтобы не спорить с подъёмом при наведении.
   Первый экран АСИТ — так же (ниже, у .asit-intro); остальные блоки всех страниц проявляет js/motion.js */
.hero > div:first-child > * { animation: rise 1.2s var(--ease-soft) both; }
.hero > div:first-child > :nth-child(2) { animation-delay: .15s; }
.hero > div:first-child > :nth-child(3) { animation-delay: .3s; }
.hero > div:first-child > :nth-child(4) { animation-delay: .45s; }
.hero > div:first-child > :nth-child(5) { animation-delay: .6s; }
.hero-visual .blob { animation: blob-in 1.6s var(--ease-soft) both, blob-breathe 18s 1.6s ease-in-out infinite alternate; }
.hero-visual .badge-round { animation: pop 1.2s .7s var(--ease-soft) both; }
.hero-visual .chip-float { animation: pop 1.2s .9s var(--ease-soft) both, bob 7s 2.1s ease-in-out infinite; }
.hero-visual .chip-float + .chip-float { animation-delay: 1.15s, 3.6s; }
@keyframes rise { from { opacity: 0; translate: 0 14px; } }
@keyframes pop { from { opacity: 0; scale: .95; } }
@keyframes bob { 50% { translate: 0 -4px; } }
@keyframes blob-in { from { opacity: 0; scale: .985; } }
@keyframes blob-breathe { to { border-radius: 52% 48% 44% 56% / 46% 44% 56% 54%; } }
/* Блоки ниже проявляются при прокрутке (js/motion.js ставит is-in); без скрипта и при отключённой анимации видны сразу */
.motion-on [data-reveal]:not(.is-in) { opacity: 0; }
.motion-on [data-reveal].is-in { animation: rise 1.1s var(--ease-soft) both; animation-delay: var(--reveal-delay, 0s); }
#services { scroll-margin-top: calc(136px - var(--section-y)); } /* из большой карточки «Услуги» — заголовок встаёт под шапкой */
.hero-facts { display: flex; gap: var(--space-6); margin-top: var(--space-7); padding-top: var(--space-5); border-top: 1px solid var(--line); }
.hero-facts b { display: block; white-space: nowrap; font: 600 22px/1.2 var(--font-display); }
.hero-facts span { font-size: var(--fs-small); color: var(--ink-muted); }
@media (max-width: 900px) { .hero { grid-template-columns: minmax(0, 1fr); } .hero-visual { max-width: 520px; width: 100%; margin: 0 auto; } }
@media (max-width: 560px) { .hero h1 .accent { font-size: min(11vw, 52px); } .chip-float { display: none; } .hero-visual .badge-round { width: 88px; height: 88px; right: -2%; top: -5%; font-size: 11px; padding: 10px; } .hero-facts { flex-wrap: wrap; gap: var(--space-4); } }
/* На ПК увеличиваем интервалы между группами, на низких окнах учитываем высоту шапки. */
@media (min-width: 1024px) and (hover: hover) and (pointer: fine) {
  .hero {
    padding-top: clamp(12px, calc(16svh - 84px), 64px);
    grid-template-columns:
      minmax(0, 1.05fr)
      minmax(0, min(calc((100% - var(--space-7)) / 2.05), calc((100svh - var(--header-h) - 58px) / 1.02)));
  }
  .hero h1 { margin-bottom: clamp(43px, calc(5svh + 11px), 56px); }
  .hero .hero-lead { margin-bottom: clamp(33px, calc(3.4svh + 12px), 42px); }
  .hero .hero-sub,
  .hero p:only-of-type { margin-bottom: clamp(43px, calc(5svh + 11px), 56px); }
  .hero-facts { margin-top: clamp(52px, calc(4svh + 26px), 62px); }

  @media (max-height: 800px) {
    .hero h1 { font-size: min(var(--fs-h2), clamp(32px, calc(7svh - 8px), 48px)); }
    .hero h1 .accent { font-size: min(clamp(40px, 5vw, 72px), clamp(46px, calc(9svh - 6px), 72px)); }
    .hero p { max-width: 590px; font-size: min(var(--fs-lead), clamp(17px, calc(2svh + 5px), 22px)); line-height: 1.4; }
    .hero .hero-sub { font-size: min(var(--fs-lead), clamp(17px, calc(2svh + 5px), 22px)); line-height: 1.3; }
    .hero-facts { column-gap: clamp(12px, 2vw, 32px); padding-top: clamp(9px, calc(6svh - 27px), 24px); }
    .hero-facts span { display: block; line-height: 1.3; }
  }

  @media (max-width: 1150px) and (max-height: 720px) {
    .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 36%); column-gap: var(--space-6); }
  }
}
/* ---------- Компоненты ---------- */
.service { background: var(--surface); border-radius: var(--radius-lg); padding: var(--space-5); display: flex; flex-direction: column; gap: var(--space-4); min-height: 240px; transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base); box-shadow: var(--shadow-1); text-decoration: none; }
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.service .ico { width: 64px; height: 64px; border-radius: var(--radius-md); background: var(--sage-100); color: var(--mark); display: grid; place-items: center; }
.service h3 { font-size: var(--fs-h4); font-weight: 600; }
.service p { margin: 0; color: var(--ink-muted); font-size: var(--fs-small); }
.service .go { margin-top: auto; align-self: flex-end; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: background var(--dur-fast), color var(--dur-fast); }
.service:hover .go { background: var(--brand); color: #fff; border-color: transparent; }
/* Иконка услуги при наведении на карточку увеличивается (владелец 30.10.2026) — на главной и на странице услуг */
.service .ico svg, .service-block .ico svg { transition: transform var(--dur-base) var(--ease-out); }
.service:hover .ico svg, .service-block:hover .ico svg { transform: scale(1.2); }

.service.service-prices-card { display: none; }
@media (min-width: 1024px) and (hover: hover) and (pointer: fine) {
  .services-prices-button { display: none; }
  .service.service-prices-card {
    display: flex;
    background: linear-gradient(145deg, var(--surface-dark), var(--olive-800));
    color: var(--ink-invert);
  }
  .service-prices-card .ico {
    background: var(--sand-300);
    color: var(--olive-900);
  }
  .prices-document {
    position: relative;
    display: block;
    width: 40px;
    height: 40px;
    transition: transform var(--dur-base) var(--ease-out);
  }
  .prices-document svg { display: block; width: 100%; height: 100%; }
  .prices-document::after {
    content: "";
    position: absolute;
    bottom: 7px;
    left: 50%;
    width: 18px;
    height: 18px;
    transform: translateX(-50%);
    background: currentColor;
    -webkit-mask: url("/assets/icons/paw.svg") center / contain no-repeat;
    mask: url("/assets/icons/paw.svg") center / contain no-repeat;
  }
  .service-prices-card:hover .prices-document { transform: scale(1.2); }
  .service-prices-card:hover .prices-document svg { transform: none; }
  .service-prices-card p { color: var(--on-dark-soft); }
  .service-prices-card .go { border-color: var(--on-dark-muted); }
  .service-prices-card:hover .go,
  .service-prices-card:focus-visible .go { background: var(--sand-300); color: var(--olive-900); }
}
/* «С чем мы можем помочь?»: перечень проблем с лапкой; на телефоне в одну колонку */
.help-problems { list-style: none; margin: 0 0 var(--space-6); padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3) var(--space-6); }
.help-problems li { display: flex; align-items: flex-start; gap: var(--space-3); font-size: var(--fs-body); line-height: 1.45; }
.help-paw { flex: 0 0 auto; width: 22px; height: 22px; margin-top: 1px; background: var(--mark); opacity: .7; mask: url("/assets/icons/paw.svg") center / contain no-repeat; -webkit-mask: url("/assets/icons/paw.svg") center / contain no-repeat; }
@media (max-width: 640px) { .help-problems { grid-template-columns: minmax(0, 1fr); } }
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 180px; gap: var(--space-4); }
.bento > * { border-radius: var(--radius-lg); padding: var(--space-5); position: relative; overflow: hidden; }
/* Карточки — ссылки (владелец 30.10.2026): как карточки услуг — приподнимаются, стрелка в углу заливается цветом */
.bento > a { text-decoration: none; box-shadow: var(--shadow-1); transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base); }
.bento > a:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.bento .go { position: absolute; top: var(--space-4); right: var(--space-4); margin: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--surface); border: 1px solid var(--line); color: var(--ink); display: grid; place-items: center; transition: background var(--dur-fast), color var(--dur-fast), border-color var(--dur-fast); }
.bento > a:hover .go { background: var(--brand); color: #fff; border-color: transparent; }
.b-photo .go { top: auto; bottom: var(--space-4); } /* сверху справа на фото — голова кота */
.b-big { grid-column: span 2; grid-row: span 2; background: var(--surface-dark); color: #fff; display: flex; flex-direction: column; justify-content: flex-end; }
.b-big h3 { font-size: var(--fs-h3); font-weight: 500; max-width: 340px; }
.b-big p { color: var(--sage-200); margin: var(--space-3) 0 0; max-width: 360px; font-size: var(--fs-small); }
/* Фото в большой карточке: снизу оливковое затемнение под заголовок и текст, бигль — справа вверху */
.b-big.has-photo { background: linear-gradient(to top, rgba(53, 58, 30, .94) 0%, rgba(53, 58, 30, .7) 38%, rgba(53, 58, 30, 0) 72%), var(--photo) 70% 40% / cover no-repeat, var(--surface-dark); }
/* Блок АСИТ на главной: фон карточки — градиент в цвет стены на картинке (замерено по её левому краю), поэтому
   картинка справа сливается с карточкой без шва. Картинка во всю высоту карточки, левая треть растворяется в фоне. */
.asit-home { background: linear-gradient(#585433, #4b4729 50%, #434023); }
.asit-home > :not(.asit-home-photo) { position: relative; }
.asit-home-photo { position: absolute; top: 0; right: 0; height: 100%; aspect-ratio: 3 / 2; background: var(--photo) right center / cover no-repeat;
  -webkit-mask: linear-gradient(90deg, transparent, #000 40%); mask: linear-gradient(90deg, transparent, #000 40%); }
/* Уже ~1000 px животные зашли бы под текст — картинка уходит под текст, в нижнюю часть карточки. Отдельный кадр:
   правые 70 % во всю высоту (над головами есть запас стены), стена выровнена в ровный #5d5938 — это и цвет всей карточки */
@media (max-width: 1000px) {
    .asit-home { background: #5d5938; }
    .asit-home-photo { position: static; height: auto; aspect-ratio: 1076 / 1024; margin: var(--space-5) calc(-1 * clamp(24px, 5vw, 64px)) calc(-1 * clamp(24px, 5vw, 64px));
      background-image: var(--photo-mobile); background-size: cover; background-position: center bottom;
      -webkit-mask: linear-gradient(transparent, #000 20%); mask: linear-gradient(transparent, #000 20%); }
}
/* Планшет: картинка не во всю ширину, а в правом нижнем углу; её левый край тоже растворяется в фоне */
@media (min-width: 601px) and (max-width: 1000px) {
    .asit-home-photo { width: 480px; margin-left: auto;
      -webkit-mask: linear-gradient(transparent, #000 20%), linear-gradient(90deg, transparent, #000 30%); -webkit-mask-composite: source-in;
      mask: linear-gradient(transparent, #000 20%), linear-gradient(90deg, transparent, #000 30%); mask-composite: intersect; }
}

/* Телефон: плавное затухание без резкого перепада в конце; переход завершается выше головы собаки. */
@media (max-width: 600px) {
    .asit-home-photo {
      background-image: radial-gradient(ellipse 110% 30% at right top,
        #5d5938 35%, rgb(93 89 56 / .9) 50%, rgb(93 89 56 / .65) 65%,
        rgb(93 89 56 / .35) 78%, rgb(93 89 56 / .1) 90%, transparent 100%),
      linear-gradient(to bottom,
        #5d5938 0%, rgb(93 89 56 / .972) 3%, rgb(93 89 56 / .896) 6%,
        rgb(93 89 56 / .784) 9%, rgb(93 89 56 / .648) 12%, rgb(93 89 56 / .5) 15%,
        rgb(93 89 56 / .352) 18%, rgb(93 89 56 / .216) 21%, rgb(93 89 56 / .104) 24%,
        rgb(93 89 56 / .028) 27%, transparent 30%), var(--photo);
      background-size: 100% 100%, 100% 100%, cover; background-position: center top, center top, right bottom;
      -webkit-mask: none; mask: none;
    }
}

.b-stat { background: var(--surface); }
.b-stat b { font: 600 clamp(40px, 4vw, 56px)/1 var(--font-display); letter-spacing: -.04em; color: var(--brand); }
.b-stat span { display: block; margin-top: var(--space-2); color: var(--ink-muted); font-size: var(--fs-small); }
.b-sand { background: var(--sand-300); }
.bento .tag { width: fit-content; }
.b-photo { grid-column: span 2; background: var(--sage-200) center / cover; }
.b-photo .chip-float { position: absolute; left: var(--space-4); bottom: var(--space-4); }
.leaf-shadow::after { content: ""; position: absolute; inset: 0; pointer-events: none; background:
  radial-gradient(ellipse 30% 9% at 78% 18%, rgba(0,0,0,.18), transparent 70%),
  radial-gradient(ellipse 22% 7% at 88% 34%, rgba(0,0,0,.14), transparent 70%),
  radial-gradient(ellipse 26% 8% at 70% 46%, rgba(0,0,0,.12), transparent 70%),
  radial-gradient(ellipse 60% 70% at 85% 10%, rgba(255,240,190,.20), transparent 70%); transform: rotate(-12deg) scale(1.2); }
@media (max-width: 900px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .bento { grid-template-columns: minmax(0, 1fr); grid-auto-rows: auto; } .bento > * { grid-column: auto; grid-row: auto; min-height: 160px; } .b-big { min-height: 300px; } }

.review { background: var(--surface); border-radius: var(--radius-lg); padding: var(--space-6); display: flex; flex-direction: column; gap: var(--space-4); box-shadow: var(--shadow-1); }
.review q { font: 400 20px/1.45 var(--font-body); quotes: "«" "»"; }
.review footer { display: flex; align-items: center; gap: var(--space-3); font-size: var(--fs-small); color: var(--ink-muted); margin-top: auto; }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--sand-300); display: grid; place-items: center; font: 600 16px/1 var(--font-display); color: var(--olive-900); }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: var(--radius-pill); font-size: 13px; font-weight: 600; background: var(--sand-200); color: var(--olive-900); }
.tag.sage { background: var(--sage-100); }
.tag.dark { background: var(--brand); color: #fff; }

.faq details { background: var(--surface); border-radius: var(--radius-md); padding: 0 var(--space-5); margin-bottom: var(--space-3); box-shadow: var(--shadow-1); }
.faq summary { list-style: none; cursor: pointer; padding: var(--space-5) 0; display: flex; justify-content: space-between; gap: var(--space-4); font: 600 var(--fs-h4)/1.3 var(--font-display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: 0 0 36px; height: 36px; border-radius: 50%; background: var(--sage-100); display: grid; place-items: center; font: 400 24px/1 var(--font-body); color: var(--brand); transition: transform var(--dur-base) var(--ease-out); }
.faq details[open] summary::after { transform: rotate(45deg); }
/* Отступ снизу задаёт сам блок: margin абзаца схлопывался с внешним отступом details */
.faq details[open] { padding-bottom: var(--space-5); }
.faq details p { margin: 0; color: var(--ink-muted); max-width: 720px; }

.field { display: grid; gap: 6px; margin-bottom: var(--space-4); }
.field label { font-size: var(--fs-small); font-weight: 600; }
.field input { height: 56px; border-radius: var(--radius-sm); border: 1.5px solid var(--line); background: var(--surface-muted); padding: 0 var(--space-4); font: 400 17px var(--font-body); color: var(--ink); transition: border-color var(--dur-fast), background var(--dur-fast); }
.field input:hover { border-color: var(--line-strong); }
.field input:focus { outline: none; border-color: var(--brand); background: var(--surface); box-shadow: 0 0 0 4px var(--sage-100); }
.field.err input { border-color: var(--danger); }
.field .hint { font-size: 13px; color: var(--ink-muted); }
.field.err .hint { color: var(--danger); }
.check { display: flex; gap: var(--space-3); font-size: 14px; color: var(--ink-muted); margin: var(--space-2) 0 var(--space-5); }
.check a { color: var(--brand); }
.check input { width: 22px; height: 22px; accent-color: var(--brand); flex: 0 0 auto; margin: 0; }
.unavail { display: flex; gap: var(--space-3); align-items: center; padding: var(--space-3) var(--space-4); border-radius: var(--radius-sm); background: var(--sand-200); font-size: 14px; color: var(--ink-muted); margin-top: var(--space-3); }
.unavail svg { flex: 0 0 auto; }

.search-res { background: var(--surface); border-radius: var(--radius-md); padding: var(--space-5); box-shadow: var(--shadow-1); }
.search-res h4 { font-size: var(--fs-h4); margin: var(--space-2) 0; }
.search-res p { margin: 0; color: var(--ink-muted); font-size: var(--fs-small); }
mark { background: var(--sand-300); color: inherit; border-radius: 4px; padding: 0 3px; }

.to-top { width: 52px; height: 52px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; box-shadow: 0 0 0 2px var(--sand-50), var(--shadow-float); border: 0; cursor: pointer; } /* светлое кольцо — чтобы кнопка не сливалась с футером */
/* ---------- Мотивы ---------- */
.motif { border-radius: var(--radius-lg); min-height: 240px; position: relative; overflow: hidden; padding: var(--space-5); display: flex; flex-direction: column; justify-content: flex-end; }
.motif span { position: relative; z-index: 1; font-size: var(--fs-small); background: rgba(255,255,255,.9); padding: 6px 12px; border-radius: var(--radius-pill); width: fit-content; }
.paws { background: var(--sand-100); box-shadow: inset 0 0 0 1px var(--line); }
.paws i { position: absolute; width: 34px; height: 34px; background: var(--mark); opacity: .2; mask: url("/assets/icons/paw.svg") center / contain no-repeat; -webkit-mask: url("/assets/icons/paw.svg") center / contain no-repeat; }
/* ---------- Футер ---------- */
.site-footer { margin-top: var(--section-y); background: var(--surface-dark); color: var(--sand-100); border-radius: var(--radius-xl) var(--radius-xl) 0 0; padding: var(--space-8) 0 var(--space-6); position: relative; overflow: hidden; }
.site-footer h4 { font: 600 var(--fs-small)/1.3 var(--font-body); letter-spacing: var(--tracking-caps); text-transform: uppercase; color: var(--on-dark-muted); margin-bottom: var(--space-4); }
.site-footer a { text-decoration: none; }
/* Знак в футере — на белом круге, как на белой шапке: оливковые лапы на тёмной оливе не видны */
.footer-mark { width: 60px; height: 60px; flex: 0 0 auto; border-radius: 50%; background: var(--white); display: grid; place-items: center;
  box-shadow: 0 0 0 5px rgba(255, 255, 255, .08), 0 0 28px rgba(255, 240, 190, .22); } /* еле заметный тёплый ореол */
.site-footer .footer-mark img { width: 46px; height: 46px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-2); }
/* Контакты в футере: небольшие бежевые значки слева от строк */
.footer-contacts li { display: flex; align-items: flex-start; gap: 10px; }
.footer-contacts svg { flex: 0 0 auto; margin-top: .3em; color: var(--on-dark-muted); }
.fgrid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.2fr) repeat(2, minmax(0, 1fr)); gap: var(--space-6); } /* «Контакты» шире: адрес и почта в одну строку */
.social { display: flex; gap: var(--space-2); }
.social a { width: 36px; height: 36px; border-radius: 24%; display: block; transition: transform var(--dur-fast) ease; }
.social a:hover { transform: translateY(-2px); }
.site-footer .social a.social-email { display: grid; place-items: center; background: var(--sage-500); color: var(--sand-100); }
.site-footer .social a.social-email:hover, .site-footer .social a.social-email:focus-visible { background: #838b62; }
.fine { margin-top: var(--space-7); padding-top: var(--space-5); border-top: 1px solid rgba(255,255,255,.12); font-size: 13px; color: var(--on-dark-muted); display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-6); justify-content: space-between; }
@media (max-width: 900px) { .fgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .fgrid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Мобильное меню ---------- */
.mobile-nav { display: none; padding: 0 clamp(16px, 1.4vw, 56px) var(--space-5); }
.site-header.menu-open .mobile-nav { display: grid; gap: var(--space-2); }
/* Пункты меню — плашки; кнопка записи остаётся обычной кнопкой-пилюлей */
.mobile-nav a:not(.btn) { text-decoration: none; padding: var(--space-3) var(--space-4); border-radius: var(--radius-sm); font-weight: 600; background: var(--sand-50); }
.mobile-nav a.is-current { background: var(--sand-100); }
.mobile-nav .btn { justify-self: start; margin-top: var(--space-3); }
.mobile-nav .mobile-contacts { display: grid; gap: var(--space-2); padding: var(--space-3) var(--space-4) 0; font-size: var(--fs-small); color: var(--ink-muted); }
.mobile-nav .mobile-contacts b { color: var(--ink); font: 600 18px/1.3 var(--font-display); }
@media (min-width: 1440px) { .site-header.menu-open .mobile-nav { display: none; } }

/* ---------- Служебное ---------- */
.skip-link { position: absolute; left: var(--space-4); top: -100px; z-index: 20; background: var(--surface); padding: var(--space-3) var(--space-4); border-radius: var(--radius-sm); box-shadow: var(--shadow-2); }
.skip-link:focus { top: var(--space-4); }
.admin-bar { background: var(--surface-dark); color: var(--sand-100); font-size: 14px; text-align: center; padding: 8px var(--inset); }
.admin-bar a { color: #fff; font-weight: 600; }
.admin-note { margin: 0; padding: var(--space-4) var(--space-5); border: 1.5px dashed var(--sage-300); border-radius: var(--radius-md); color: var(--ink-muted); font-size: 15px; }
.admin-note a { color: var(--brand); font-weight: 600; }
.on-dark .accent { color: var(--on-dark-muted); }
.prep-steps { margin: 0; padding-left: 1.2em; display: grid; gap: var(--space-3); color: var(--ink-muted); }
.phone-link { text-decoration: none; }
.to-top { position: fixed; right: var(--space-5); bottom: var(--space-5); z-index: 9; opacity: 0; pointer-events: none; transform: translateY(12px); transition: opacity var(--dur-base), transform var(--dur-base) var(--ease-out); }
.to-top.is-visible { opacity: 1; pointer-events: auto; transform: none; }
.stub { padding: var(--section-y) 0; min-height: 50vh; }
.stub h1 { font-size: var(--fs-h1); font-weight: 500; margin-bottom: var(--space-4); }
.stub p { color: var(--ink-muted); font-size: var(--fs-lead); max-width: 640px; }
/* Значки соцсетей — квадраты с одинаково скруглёнными углами (у исходных SVG скругления разные) */
.social-icon { display: block; flex: 0 0 auto; border-radius: 24%; }
/* В футере на тёмном фоне значки приглушены, при наведении — в полном цвете */
.social .social-icon { width: 100%; height: 100%; filter: saturate(.55); opacity: .8; transition: filter var(--dur-fast) ease, opacity var(--dur-fast) ease; }
.social a:hover .social-icon, .social a:focus-visible .social-icon { filter: none; opacity: 1; }
.site-footer .fine a { color: inherit; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
@media (min-width: 1180px) { .site-header.is-compact.menu-open .mobile-nav { display: none; } }

/* Внутренние страницы: заголовок страницы */
.page-head { padding-bottom: var(--space-6); }
.page-title { font-size: var(--fs-h1); }

/* Цены (раздел 7 плана): группа — карточка, строка «услуга … цена»; на телефоне цена под названием не уезжает */
.prices { display: grid; gap: var(--space-5); padding-bottom: var(--section-y); }
.price-group h2 { font-size: var(--fs-h3); font-weight: 500; margin: 0 0 var(--space-2); }
.price-group-lead { color: var(--ink-muted); margin: 0 0 var(--space-4); }
.price-list { list-style: none; margin: 0; padding: 0; }
.price-list li { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-5); padding: var(--space-4) 0; border-top: 1px solid var(--line); }
.price-list li:first-child { border-top: 0; }
.price-name small { display: block; color: var(--ink-muted); font-size: 15px; margin-top: 2px; }
/* Цена — числом (пробелы внутри неразрывные, не переносится) или текстом («по результатам тестов»): текст переносится
   в своей колонке, не уже половины строки, и не сжимает название с примечанием */
.price-name { flex: 1 1 auto; min-width: 0; }
.price-value { flex: 0 1 auto; max-width: 45%; text-align: right; font-family: var(--font-display); font-weight: 600; color: var(--brand); }
.price-empty { display: grid; gap: var(--space-4); justify-items: start; }
.price-empty p { margin: 0; font-size: var(--fs-lead); }
.price-disclaimer { margin: 0; }
.prices-booking-copy { flex: 1 1 460px; min-width: 0; }
.prices-booking-copy .section-lead { max-width: 700px; }
.prices-booking > .btn { flex-shrink: 0; }
@media (max-width: 560px) { .prices-booking > .btn { width: 100%; } }
@media (max-width: 560px) { .price-list li { gap: var(--space-3); } }

/* Лендинг АСИТ (раздел 7 плана): секции из конструктора админки */
.asit-intro { position: relative; overflow: hidden; padding: clamp(24px, 5vw, 64px); border-radius: var(--radius-xl); display: grid; gap: var(--space-6); align-items: center; }
.asit-intro.has-image { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
.asit-intro .tag { margin-bottom: var(--space-5); }
.asit-intro .section-title { max-width: 760px; }
.asit-intro h1.section-title { font-size: var(--fs-h1); }
.asit-lead { max-width: 640px; color: var(--on-dark-soft); font-size: var(--fs-lead); margin: 0 0 var(--space-5); }
.asit-intro-media { position: relative; }
/* Первый экран АСИТ при загрузке — как на главной: карточка проявляется, текст и кнопка — по очереди снизу, картинка — следом, плашка последней */
.asit-intro { animation: blob-in 1.4s var(--ease-soft) both; }
.asit-intro > div:first-child > * { animation: rise 1.2s .2s var(--ease-soft) both; }
.asit-intro > div:first-child > :nth-child(2) { animation-delay: .35s; }
.asit-intro > div:first-child > :nth-child(3) { animation-delay: .5s; }
.asit-intro > div:first-child > :nth-child(4) { animation-delay: .65s; }
.asit-intro-media img { animation: rise 1.4s .45s var(--ease-soft) both; }
.asit-intro .asit-jump { animation: pop 1.2s 1s var(--ease-soft) both; } /* scale — не спорит с transform плашки */
/* Плашка «Что такое АСИТ?» — правым краем вровень с картинкой, наполовину выше её верха — в стиле плашек главной; ведёт ко второму блоку */
.asit-jump { position: absolute; right: 0; top: 0; transform: translateY(-58%); z-index: 1; display: flex; align-items: center; gap: var(--space-3);
  padding: var(--space-3) var(--space-5) var(--space-3) var(--space-3); background: var(--surface); color: var(--ink-muted); border-radius: var(--radius-pill);
  box-shadow: var(--shadow-float); font-size: var(--fs-small); line-height: 1.3; text-decoration: none; transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base); }
.asit-jump b { display: block; font: 600 16px/1.2 var(--font-display); color: var(--ink); }
.asit-jump-ico { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); color: var(--ink); display: grid; place-items: center; transition: background var(--dur-fast), color var(--dur-fast), border-color var(--dur-fast); } /* как стрелка в карточках услуг на главной */
.asit-jump:hover { transform: translateY(-64%); box-shadow: var(--shadow-float), 0 0 0 2px var(--sage-200); }
.asit-jump:hover .asit-jump-ico { background: var(--brand); color: #fff; border-color: transparent; }
.asit-jump:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.asit-anchor { display: block; scroll-margin-top: calc(136px - var(--section-y)); } /* второй блок встаёт под шапкой с одинаковым отступом */
@media (max-width: 560px) {
    .asit-jump { gap: var(--space-2); padding: 8px var(--space-4) 8px 8px; font-size: 13px; }
    .asit-jump b { font-size: 14px; }
    .asit-jump-ico { width: 34px; height: 34px; }
}
.asit-intro img, .asit-text img { width: 100%; height: auto; border-radius: var(--radius-lg); object-fit: cover; }
.asit-text.has-image { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-7); align-items: center; }
.asit-text.image-left img { order: -1; }
.asit-prose { max-width: 720px; color: var(--ink-muted); font-size: var(--fs-lead); }
.asit-prose p { margin: 0 0 var(--space-4); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: var(--space-5); }
.steps h3 { font-size: var(--fs-h4); font-weight: 500; margin: var(--space-4) 0 var(--space-2); }
.steps p { color: var(--ink-muted); margin: 0; }
.step-no { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--surface-sage); color: var(--brand); font-family: var(--font-display); font-weight: 600; }
.asit-faq { max-width: 860px; }
/* Блок «Что такое АСИТ-терапия?»: как на сайте Ксении Подрезовой — кадр процедуры, текст, видео.
   Картинка и видео одной высоты (9 : 16); на телефоне текст сверху, картинка и видео рядом под ним */
.asit-media { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr) minmax(0, 300px); grid-template-areas: "image text video" "image caption video"; gap: 0 var(--space-7); }
.asit-media-text { grid-area: text; align-self: end; }
.asit-media-caption { grid-area: caption; align-self: start; }
.asit-media-image { grid-area: image; align-self: center; }
.asit-media-video { grid-area: video; align-self: center; }
.asit-media:not(.has-image) { grid-template-columns: minmax(0, 1fr) minmax(0, 300px); grid-template-areas: "text video" "caption video"; }
.asit-media-image, .asit-media-video video { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; border-radius: var(--radius-lg); background: var(--sage-100); box-shadow: var(--shadow-1); }
.asit-media-video { position: relative; }
.asit-play { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; transform: translate(-50%, -50%); border: 0; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; cursor: pointer;
  box-shadow: 0 0 0 8px rgba(255, 255, 255, .35), var(--shadow-float); transition: transform var(--dur-base) var(--ease-out), background var(--dur-fast); }
.asit-play svg { width: 32px; height: 32px; margin-left: 1px; fill: currentColor; } /* центр тяжести треугольника — в центре круга */
.asit-play:hover { background: var(--action-hover); transform: translate(-50%, -50%) scale(1.06); }
.asit-play:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
.asit-media-video.is-started .asit-play { display: none; }
.asit-media-caption { display: grid; gap: 2px; margin: var(--space-5) 0 0; padding-top: var(--space-4); border-top: 1px solid var(--line); color: var(--ink-muted); font-size: var(--fs-small); }
.asit-media-caption b { font: 600 18px/1.3 var(--font-display); color: var(--ink); }
@media (max-width: 1180px) {
    .asit-media, .asit-media:not(.has-image) { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "text text" "image video" "caption caption"; gap: var(--space-5) var(--space-4); max-width: 640px; }
    .asit-media:not(.has-image) { grid-template-areas: "text text" "video video" "caption caption"; }
    .asit-media-caption { margin-top: 0; }
    .asit-media:not(.has-image) .asit-media-video { max-width: 320px; }
    .asit-play { width: 60px; height: 60px; box-shadow: 0 0 0 6px rgba(255, 255, 255, .35), var(--shadow-float); }
    .asit-play svg { width: 26px; height: 26px; }
}
.asit-cta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--space-5); background: var(--sand-200); }
.asit-cta .section-lead { margin-bottom: 0; }
@media (max-width: 900px) {
    .asit-intro.has-image, .asit-text.has-image { grid-template-columns: minmax(0, 1fr); }
    .asit-intro-media { margin-top: var(--space-4); } /* место под плашкой «Что такое АСИТ?», чтобы она не прижималась к кнопке */
    .asit-text.image-left img { order: 0; }
}
@media (max-width: 560px) {
    .steps li { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: var(--space-4); align-items: center; }
    .steps h3 { margin: 0; }
    .steps li p { grid-column: 2; margin-top: var(--space-2); }
}

/* Статьи (раздел 10 плана): карточка, разделы-фильтры, страница статьи, постраничная навигация */
.article-card { display: flex; flex-direction: column; gap: var(--space-3); background: var(--surface); border-radius: var(--radius-lg); padding: var(--space-3) var(--space-3) var(--space-5); box-shadow: var(--shadow-1); text-decoration: none; color: inherit; transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base); }
.article-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.article-card > :not(.article-cover) { margin-left: var(--space-3); margin-right: var(--space-3); }
.article-cover { display: grid; place-items: center; aspect-ratio: 16 / 10; border-radius: var(--radius-md); overflow: hidden; background: var(--sage-100); }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.article-cover img.article-cover-mark { width: 30%; height: auto; opacity: .55; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3); color: var(--ink-muted); font-size: var(--fs-small); margin: 0; }
.article-card h3 { font-size: var(--fs-h4); font-weight: 500; }
.article-card p { margin: 0; color: var(--ink-muted); font-size: var(--fs-small); }
.chips { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-5); }
.chips a { padding: 8px 16px; border-radius: var(--radius-pill); background: var(--surface); color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; box-shadow: var(--shadow-1); }
.chips a.is-current { background: var(--brand); color: #fff; }
.articles-list { padding-bottom: var(--section-y); }
.pager { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-2); margin-top: var(--space-7); }
.pager > * { min-width: 44px; height: 44px; display: grid; place-items: center; border-radius: var(--radius-pill); text-decoration: none; color: var(--ink); background: var(--surface); font-weight: 600; }
.pager .is-current { background: var(--brand); color: #fff; }
.pager span.pager-edge { opacity: .35; }
.pager .pager-gap { background: none; }
.article { padding-top: var(--section-y); padding-bottom: var(--section-y); display: grid; gap: var(--space-5); justify-items: start; }
.crumbs { display: flex; flex-wrap: wrap; gap: var(--space-2); font-size: var(--fs-small); color: var(--ink-muted); }
.crumbs a { color: var(--brand); }
.article-head { max-width: 720px; display: grid; gap: var(--space-3); }
.article-head h1 { font-size: var(--fs-h2); font-weight: 500; }
.article-lead { margin: 0; font-size: var(--fs-lead); color: var(--ink-muted); }
.article-cover-full { width: 100%; max-width: 960px; height: auto; border-radius: var(--radius-lg); }
.article-source { margin: 0; color: var(--ink-muted); font-size: var(--fs-small); }
.article-source a { color: var(--brand); }

/* Контакты (раздел 8 плана): слева контакты, справа карта; на телефоне — одна колонка */
.contacts { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-5); padding-bottom: var(--section-y); align-items: start; }
.contacts-info { display: grid; gap: var(--space-6); justify-items: start; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-5); }
.contact-list li { display: flex; gap: var(--space-4); align-items: flex-start; }
.contact-list li > span:last-child { min-width: 0; display: grid; gap: 2px; color: var(--ink-muted); font-size: var(--fs-small); }
.contact-list b, .contact-main { font: 500 19px/1.3 var(--font-display); color: var(--ink); }
.contact-main { text-decoration: none; }
.contact-list .nowrap { white-space: nowrap; }
.contact-main:hover { color: var(--brand); }
.contact-list a:not(.contact-main) { color: var(--brand); }
.contact-ico { flex: 0 0 auto; width: 44px; height: 44px; border-radius: var(--radius-sm); background: var(--sage-100); color: var(--mark); display: grid; place-items: center; }
.contact-ico.contact-metro { color: #0078c9; }
.contact-links { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-4); margin-top: 2px; }
.contact-links a { display: inline-flex; align-items: center; gap: 8px; }
.contacts-map { display: grid; gap: var(--space-4); }
.map-box { position: relative; min-height: 460px; border-radius: var(--radius-lg); overflow: hidden; background: var(--sage-100); display: grid; }
.map-box.is-loaded { background: var(--sage-100); }
.map-placeholder[hidden] { display: none; }
.map-placeholder { display: grid; align-content: center; justify-items: start; gap: var(--space-5); padding: var(--space-6); }
.map-legend { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3); }
.map-legend li { display: flex; align-items: center; gap: var(--space-3); background: var(--surface); padding: var(--space-3) var(--space-4); border-radius: var(--radius-md); box-shadow: var(--shadow-1); }
.map-legend li > span:last-child { display: grid; font-size: var(--fs-small); color: var(--ink-muted); }
.map-legend b { color: var(--ink); font-family: var(--font-display); font-weight: 600; }
.legend-parking { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: #0078c9; color: #fff; font: 700 16px/1 var(--font-display); }
.map-note { margin: 0; font-size: 14px; color: var(--ink-muted); }
.map-links { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-3); color: var(--ink-muted); font-size: var(--fs-small); }
/* Подпись — отдельной строкой: три кнопки карт тогда помещаются в один ряд от планшета и шире */
.map-links > span { flex-basis: 100%; }
/* Кнопки карт: значок сервиса (логотип без надписи) слева от названия */
.map-link { gap: 8px; }
.map-link img { display: block; width: 18px; height: 18px; object-fit: contain; flex: 0 0 auto; }
.map-entrance { min-width: 0; container-type: inline-size; padding: clamp(var(--space-4), 4vw, var(--space-5)); }
.map-entrance-header { display: flex; align-items: center; gap: var(--space-3); margin-bottom: var(--space-4); }
.map-entrance-header .contact-ico { border: 1px solid var(--mark); }
.map-entrance-header h2 { font-size: 20px; font-weight: 600; line-height: 1.2; }
.map-entrance-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-2); }
.map-entrance-link {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) 16px;
  align-items: center;
  gap: var(--space-2);
  min-height: 54px;
  padding: var(--space-2) var(--space-3);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--surface-muted);
  color: var(--brand);
  font: 600 16px/1.2 var(--font-body);
  text-decoration: none;
  transition: background var(--dur-fast), border-color var(--dur-fast);
}
.map-entrance-link img { width: 22px; height: 22px; object-fit: contain; }
.map-entrance-link:hover, .map-entrance-link:focus-visible { background: var(--surface-sage); border-color: var(--brand); }
@container (450px < width <= 540px) {
  .map-entrance-link {
    grid-template-columns: 18px minmax(0, 1fr) 14px;
    gap: var(--space-1);
    padding-inline: var(--space-2);
    font-size: var(--fs-small);
  }
  .map-entrance-link img { width: 18px; height: 18px; }
  .map-entrance-link > svg { width: 14px; height: 14px; }
}
@container (max-width: 450px) {
  .map-entrance-links { grid-template-columns: 1fr; }
}
@media (max-width: 950px) and (hover: none) and (pointer: coarse) {
  .map-entrance-links { grid-template-columns: 1fr; }
}
/* Маркер — булавка, остриём в точку: вход — фирменная олива со знаком клиники, парковка — синяя с «P» */
.map-marker { position: relative; width: 44px; height: 56px; transform: translate(-50%, -100%); white-space: nowrap; cursor: default; }
.map-marker-pin { position: absolute; inset: 0; width: 44px; height: 56px; color: var(--brand); filter: drop-shadow(0 4px 6px rgba(29, 32, 19, .3)); }
.map-marker-parking .map-marker-pin { color: #0078c9; }
.map-marker-icon { position: absolute; left: 7px; top: 7px; width: 30px; height: 30px; border-radius: 50%; background: #fff; display: grid; place-items: center; }
.map-marker-icon img { width: 24px; height: 24px; }
.map-marker-icon span { color: #0078c9; font: 700 17px/1 var(--font-display); }
.map-marker-label { position: absolute; left: calc(100% + 4px); top: 22px; transform: translateY(-50%); background: #fff; padding: 4px 10px; border-radius: var(--radius-pill); font: 600 14px/1.2 var(--font-display); color: var(--ink); box-shadow: var(--shadow-1); }
/* Подпись парковки — слева от булавки, чтобы не наезжала на подпись входа */
.map-marker-parking .map-marker-label { left: auto; right: calc(100% + 4px); }
/* Дорожки следов (как на заглушке): следы по очереди проявляются и постепенно гаснут; слой под содержимым.
   «Контакты» — сразу при открытии, АСИТ — вслед за прокруткой (след запускается классом is-on) */
.contacts-page, .asit-page { position: relative; }
.contacts-page > section, .asit-page > section { position: relative; }
.contacts-tracks, .asit-tracks { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.contacts-tracks .footstep, .asit-tracks .footstep { position: absolute; width: var(--paw-size); height: var(--paw-size); }
.asit-tracks .print { display: block; width: 100%; height: 100%; background: var(--mark); opacity: 0; mask: url("/assets/icons/paw.svg") center / contain no-repeat; -webkit-mask: url("/assets/icons/paw.svg") center / contain no-repeat; }
.asit-tracks .print.is-on { animation: footprint-fade 3.2s ease-out both; }
.asit-tracks .print.right { scale: -1 1; }
.contacts-tracks .print { display: block; width: 100%; height: 100%; background: var(--mark); opacity: 0; mask: url("/assets/icons/paw.svg") center / contain no-repeat; -webkit-mask: url("/assets/icons/paw.svg") center / contain no-repeat;
  animation: footprint-fade var(--print-life) ease-out both; animation-delay: calc(.5s + var(--step) * var(--step-delay)); }
.contacts-tracks .print.right { scale: -1 1; }
@keyframes footprint-fade { 0% { opacity: 0; transform: scale(.82); } 8% { opacity: .22; transform: none; } 35% { opacity: .22; } 100% { opacity: 0; } }
@media (max-width: 900px) {
    .contacts { grid-template-columns: minmax(0, 1fr); }
    .map-box { min-height: 360px; }
    .contact-list b, .contact-main { font-size: 17px; }
}

/* Услуги (раздел 7 плана): блок услуги — иконка слева, название и описание; якорь для карточек без своей страницы */
.services-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-5); padding-bottom: var(--space-7); }
.service-block { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: var(--space-5); align-items: start; scroll-margin-top: calc(var(--header-h) + var(--space-5)); }
.service-block .ico, .service-head .ico { width: 64px; height: 64px; border-radius: var(--radius-md); background: var(--sage-100); color: var(--mark); display: grid; place-items: center; }
.service-block h2 { font-size: var(--fs-h3); font-weight: 500; margin-bottom: var(--space-3); }
.service-block .article-body { font-size: 17px; color: var(--ink-muted); }
.service-block .article-body p:last-child, .service-block .article-body ul:last-child { margin-bottom: 0; }
.service-block .link-arrow { margin-top: var(--space-4); }
.service-block:target { box-shadow: 0 0 0 2px var(--brand), var(--shadow-1); }
.service-excerpt { margin: 0; color: var(--ink-muted); }
.services-prices { padding-bottom: var(--section-y); }
.service-head .ico { margin-bottom: var(--space-2); }
@media (max-width: 900px) { .services-list { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .service-block { grid-template-columns: minmax(0, 1fr); gap: var(--space-4); } }

/* 404 */
.not-found { padding: var(--section-y) var(--inset); min-height: 55vh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: var(--space-7); }
.not-found-text { display: grid; justify-items: start; gap: var(--space-4); }
.not-found-photo { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-xl); box-shadow: var(--shadow-1); }
@media (max-width: 900px) {
    .not-found { grid-template-columns: minmax(0, 1fr); gap: var(--space-5); }
    .not-found-photo { order: -1; max-width: 420px; aspect-ratio: 4 / 3; object-position: 50% 30%; }
}
.not-found-code { font: 600 clamp(72px, 14vw, 160px)/1 var(--font-display); color: var(--sage-200); letter-spacing: -0.04em; }
.not-found .section-lead { margin-bottom: var(--space-3); }

/* Поиск (раздел 10 плана): панель под шапкой, форма, выдача по группам */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* Поиск в шапке: панель поверх кнопок справа, раскрывается из кружка лупы.
   Раскрытие — только transform (без перерисовки): .search-slide выезжает из-за края панели,
   .search-inner сдвигается навстречу и стоит на месте, видимая часть растёт от лупы.
   Сдвиги --sp-out/--sp-in считает site.js. В начале видна левая часть поля с лупой — как сама кнопка. */
.hdr-main { position: relative; }
.search-panel { position: absolute; z-index: 2; top: 50%; left: var(--sp-left, auto); right: var(--sp-right, 0); height: 44px; margin-top: -22px; overflow: hidden; border-radius: var(--radius-pill); pointer-events: none; }
.search-panel[hidden] { display: none; }
.search-panel.is-open { pointer-events: auto; }
.search-slide, .search-inner { height: 100%; transition: transform .4s cubic-bezier(.4, 0, .2, 1); will-change: transform; }
.search-slide { overflow: hidden; border-radius: var(--radius-pill); background: var(--surface); transform: translateX(var(--sp-out, 0)); }
.search-inner { display: flex; align-items: center; gap: var(--space-2); transform: translateX(var(--sp-in, 0)); }
.search-panel.is-open .search-slide, .search-panel.is-open .search-inner { transform: none; }
.search-panel .search-form { flex: 1; min-width: 0; max-width: none; height: 44px; margin: 0; padding: 0 0 0 12px; background: var(--sand-50); }
/* «Найти» прилегает к правому краю поля: на всю высоту, поверх рамки, скругление совпадает с полем */
.search-panel .search-form .btn { align-self: stretch; height: auto; min-height: 0; margin: -1px -1px -1px 0; }
/* Внутри панели фокус — цветной рамкой: внешнее кольцо обрезалось краем панели и торчало справа */
.search-panel .search-form:focus-within { box-shadow: none; }
@media (max-width: 560px) { .search-panel .search-form .btn { display: none; } }
@media (prefers-reduced-motion: reduce) { .search-slide, .search-inner { transition: none; } }
.search-form { display: flex; align-items: center; gap: var(--space-3); max-width: 760px; margin: 0 auto; padding: 6px 6px 6px var(--space-5); background: var(--sand-50); border: 1px solid var(--line); border-radius: var(--radius-pill); color: var(--ink-muted); }
.search-form:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(62, 73, 23, .15); }
.search-form input { flex: 1; min-width: 0; border: 0; background: none; font: inherit; font-size: 17px; color: var(--ink); padding: 8px 0; outline: none; }
.search-form input::-webkit-search-cancel-button { cursor: pointer; }
.search-form .btn { flex: 0 0 auto; }
.search-form-page { margin: var(--space-5) 0 0; background: var(--surface); }
.search-count { margin: var(--space-4) 0 0; color: var(--ink-muted); }
.search-count-groups { display: inline-flex; flex-wrap: wrap; gap: var(--space-3); margin-left: var(--space-3); }
.search-count-groups span::before { content: "·"; margin-right: var(--space-3); }
.search-results { padding-bottom: var(--section-y); display: grid; gap: var(--space-7); }
.search-group h2 { font-size: var(--fs-h3); font-weight: 500; margin-bottom: var(--space-4); padding-bottom: var(--space-3); border-bottom: 1px solid var(--line); }
.search-list { display: grid; gap: var(--space-4); }
.search-res { display: grid; gap: var(--space-2); justify-items: start; background: var(--surface); border-radius: var(--radius-md); padding: var(--space-5); box-shadow: var(--shadow-1); text-decoration: none; color: inherit; transition: box-shadow var(--dur-base); }
.search-res:hover { box-shadow: var(--shadow-2); }
.search-res h3 { font-size: var(--fs-h4); font-weight: 500; }
.search-res p { margin: 0; color: var(--ink-muted); font-size: var(--fs-small); }
.search-res .search-meta { font-size: 13px; }
.search-empty { display: grid; gap: var(--space-4); }
.search-empty h2 { font-size: var(--fs-h3); font-weight: 500; }
.search-empty p { margin: 0; color: var(--ink-muted); }
mark { background: var(--sand-300); color: inherit; border-radius: 4px; padding: 0 2px; }
@media (max-width: 560px) { .search-form .btn { padding: 4px 14px; } }

/* Плашка cookies (раздел 13 плана): карточка внизу слева, на телефоне — во всю ширину */
.cookie-notice { position: fixed; left: var(--space-5); bottom: var(--space-5); z-index: 20; max-width: 400px; display: grid; gap: var(--space-4); justify-items: start; padding: var(--space-5); background: var(--surface); border-radius: var(--radius-md); box-shadow: var(--shadow-2); }
.cookie-notice p { margin: 0; font-size: 15px; line-height: 1.45; color: var(--ink-muted); }
.cookie-notice a { color: var(--brand); }
.cookie-notice[hidden] { display: none; }
.cookie-notice p { padding-right: 1.4rem; }
.cookie-close { position: absolute; top: .55rem; right: .6rem; width: 2rem; height: 2rem; border: 0; border-radius: 50%; background: transparent; color: var(--ink-muted); font: inherit; font-size: 21px; cursor: pointer; }
.cookie-close:hover { background: var(--sage-100); }
.cookie-notice button[hidden] { display: none; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: var(--space-2); }
@media (max-width: 560px) {
    .cookie-notice { left: var(--space-3); right: var(--space-3); bottom: var(--space-3); max-width: none; }
    .cookie-notice .btn { width: 100%; justify-content: center; }
}

/* Запись на приём (раздел 9 плана): окно и общая форма */
.booking-dialog { width: min(520px, calc(100vw - 2 * var(--space-4))); max-height: calc(100dvh - 2 * var(--space-4)); overflow: auto; border: 0; padding: var(--space-6); border-radius: var(--radius-lg); background: var(--bg); color: var(--ink); box-shadow: var(--shadow-2); }
.booking-dialog::backdrop { background: rgba(29, 32, 19, .45); }
.booking-dialog h2 { font-size: var(--fs-h3); font-weight: 500; margin: 0 var(--space-7) var(--space-3) 0; }
.booking-dialog .booking-form { box-shadow: none; }
.booking-close { position: absolute; top: var(--space-4); right: var(--space-4); background: var(--surface); }
.booking-lead { margin: 0 0 var(--space-5); color: var(--ink-muted); }
.booking-off { margin: 0 0 var(--space-4); }
.booking-phone { font: 600 20px/1.3 var(--font-display); align-self: center; }
.field-check { margin-bottom: var(--space-4); }
.field-check .check { margin-bottom: 4px; }
.field-check .hint, .booking-captcha .hint { font-size: 13px; color: var(--danger); }
.booking-captcha { margin-bottom: var(--space-4); }
.booking-status { margin: var(--space-3) 0 0; font-weight: 600; color: var(--brand); }
.booking-status:empty { display: none; }
.booking-note { margin: var(--space-3) 0 0; font-size: 13px; color: var(--ink-muted); }
.booking-form.is-sent :is(.field, .field-check, .booking-captcha, button) { display: none; }
@media (max-width: 560px) { .booking-dialog { padding: var(--space-5); } }

/* Отзывы: листание кнопками, клавиатурой и свайпом, без автоматической смены. */
.reviews-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 3); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 20px; scroll-padding-inline: 4px; }
.reviews-track > .review { scroll-snap-align: start; min-width: 0; overflow-wrap: anywhere; }
.reviews-controls { display: flex; align-items: center; justify-content: flex-end; gap: var(--space-3); margin-top: var(--space-3); }
.reviews-controls[hidden] { display: none; }
.reviews-controls .btn { box-sizing: border-box; flex: 0 0 48px; width: 48px; height: 48px; min-width: 48px; min-height: 48px; max-width: 48px; max-height: 48px; aspect-ratio: 1; padding: 0; border-radius: 50%; justify-content: center; }
.reviews-controls .btn:disabled { opacity: .4; cursor: default; }
@media (max-width: 1000px) { .reviews-track { grid-auto-columns: calc((100% - 24px) / 2); } }
@media (max-width: 600px) { .reviews-track { grid-auto-columns: 88%; gap: 16px; } }

.review-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-3); color: var(--ink-muted); font-size: var(--fs-small); }
.review-meta:empty { display: none; }
.review-rating { color: var(--brand); font-size: 20px; letter-spacing: 2px; white-space: nowrap; }

.review-summary { margin: 0; font: 400 20px/1.45 var(--font-body); }

.reviews-track { scrollbar-width: none; }
.reviews-track::-webkit-scrollbar { display: none; }
.review-title { margin: 0; font: 500 var(--fs-h4)/1.25 var(--font-display); }
.reviews-editorial-note { margin: 0 0 var(--space-4); color: var(--ink-muted); font-size: var(--fs-small); }

.clinic-details > .section-title { margin-bottom: var(--space-6); }
.clinic-details-list { margin: 0 0 var(--space-5); display: grid; gap: var(--space-4); }
.clinic-details-list > div { display: grid; grid-template-columns: minmax(160px, 1fr) 2fr; gap: var(--space-4); padding-bottom: var(--space-4); border-bottom: 1px solid var(--line); }
.clinic-details-list dt { color: var(--ink-muted); }
.clinic-details-list dd { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 600px) { .clinic-details-list > div { grid-template-columns: minmax(0, 1fr); gap: var(--space-2); } }

/* Главная: дорожка из отзывов к заголовку записи. Анимация как на заглушке;
   отпечатки остаются после появления, не перекрывают форму и текст. */
.home-booking-trail { position: relative; }
.booking-tracks { position: absolute; inset: 0 0 auto; pointer-events: none; }
.booking-tracks .footstep { position: absolute; width: var(--paw-size); height: var(--paw-size); }
.booking-tracks .print { display: block; width: 100%; height: 100%; background: var(--mark); opacity: .18; mask: url("/assets/icons/paw.svg") center / contain no-repeat; -webkit-mask: url("/assets/icons/paw.svg") center / contain no-repeat; }
.booking-tracks .print.right { scale: -1 1; }
@media (max-width: 949px) {
  .home-booking-trail { padding-top: 160px; }
  .booking-tracks .print { opacity: .15; }
}
@media (prefers-reduced-motion: no-preference) {
  .booking-tracks:not(.is-walking) .print { opacity: 0; }
  .booking-tracks.is-walking .print { animation: booking-footprint .55s ease-out backwards; animation-delay: calc(.4s + var(--step) * .19s); }
  @keyframes booking-footprint { from { opacity: 0; transform: scale(.82); } }
}

/* Основные услуги и неполный прайс — 06.11.2026 */
.catalog-note{margin:24px 0 0;padding:18px 22px;background:var(--sage-100,#edf0e2);border:1px solid #d9dec6;border-radius:16px;color:var(--ink,#1d2013);font-size:15px;line-height:1.6}.catalog-note p{margin:0}.catalog-note a{color:var(--olive-800,#3e4917);font-weight:600;white-space:nowrap}.catalog-nav{display:flex;flex-wrap:wrap;gap:8px;margin:24px 0 0}.catalog-nav a{font-size:14px;line-height:1.3;padding:10px 15px;border:1px solid #d0d6bd;border-radius:40px;text-decoration:none;color:#3e4917;background:#fff}.catalog-nav a:hover{background:#e8edda}.price-group{scroll-margin-top:110px}@media(max-width:600px){.catalog-note{padding:16px;font-size:14px}.catalog-nav a{padding:9px 12px;font-size:13px}}

