/* ==========================================================================
   stop-podpiska.ru — базовые стили.
   ⛔ Палитра, радиусы, сетка и типографика взяты из утверждённого макета
   Александра (variant_1, 20.09.2026). Менять значения токенов — только
   вместе с макетом: на них завязаны все страницы сайта.
   ========================================================================== */

:root {
  /* ---- палитра макета */
  --red:          #d61032;
  --red-hover:    #b70b29;
  --red-soft:     #fff0f3;
  --ink:          #20232a;
  --muted:        #69717d;
  /* Светло-серый для служебных подписей (ОГРН, ИНН): читать их не нужно,
     нужен сам номер рядом. Контраст 3.1:1 — ниже AA для текста, поэтому
     применяется только к меткам, дублирующим значение рядом. */
  --muted-2:      #9aa1ac;
  --line:         #e6e8ed;
  --bg:           #f5f6f8;
  --white:        #fff;

  /* ---- псевдонимы для унаследованных классов (каталог, статьи, формы) */
  --accent:       var(--red);
  --accent-hi:    var(--red-hover);
  --accent-deep:  #8c1020;
  --accent-soft:  var(--red-soft);
  --accent-line:  #f3c9ce;
  --text:         var(--ink);
  --text-2:       #525a66;
  --surface:      var(--white);
  --surface-2:    var(--bg);
  --surface-3:    #e9ecf0;
  --border:       var(--line);
  --border-2:     #dce0e7;
  --bg-2:         var(--white);
  --on-ink:       #eef0f3;
  --on-ink-2:     #9aa1ad;
  --ok:           #0f7a43;
  --ok-soft:      #e9f8ef;
  --warn:         #a15c07;
  --warn-soft:    #fdf3e3;
  --grad-accent:  var(--red);
  --grad-surface: var(--white);
  --grad-dark:    linear-gradient(160deg, #2a2e36 0%, var(--ink) 100%);

  /* ---- размеры макета */
  --max:          1120px;
  --container:    var(--max);
  --radius:       18px;
  --radius-sm:    12px;
  --head-h:       76px;
  --gutter:       20px;

  --font: system-ui, -apple-system, "Segoe UI", Roboto, Arial, Helvetica, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --shadow:    0 1px 2px rgba(32, 35, 42, .05), 0 12px 28px rgba(32, 35, 42, .06);
  --shadow-sm: 0 5px 15px rgba(36, 39, 45, .04);
  --ring:      0 0 0 3px rgba(214, 16, 50, .12);
}

* { box-sizing: border-box; }
html { overflow-x: hidden; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--red); color: #fff; }
button:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid #e96882; outline-offset: 4px; }
input:focus-visible { outline: none; }
a { color: inherit; text-decoration: none; }
/* [2026-09-23] Кнопки офферов без href (переход через POST /go) — курсор как у ссылки. */
[data-go] { cursor: pointer; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button, a, input, summary { touch-action: manipulation; }

/* Иконки из спрайта: один размер и одна толщина штриха на весь сайт */
svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.svg-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
[hidden] { display: none !important; }
.skip { position: absolute; top: -80px; left: 20px; z-index: 20; background: #fff; padding: 10px; border-radius: 8px; }
.skip:focus { top: 10px; }

h1, h2, h3, h4 { margin: 0 0 .6em; font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(32px, 5.2vw, 48px); letter-spacing: -1.8px; line-height: 1.09; font-weight: 750; }
h2 { font-size: clamp(20px, 2.6vw, 25px); letter-spacing: -.65px; }
h3 { font-size: clamp(16px, 1.8vw, 18px); letter-spacing: -.25px; }
p { margin: 0 0 1em; }

.container, .wrap { width: min(calc(100% - var(--gutter) * 2), var(--max)); margin-inline: auto; }
.site { display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; }
.site-main { flex: 1 0 auto; padding-bottom: 48px; }

/* ==========================================================================
   ШАПКА — по макету: белая, 76px, логотип слева, ссылки 14/600,
   тёмная кнопка действия справа (она не должна спорить с красными
   кнопками действий внутри страницы).
   ========================================================================== */
.header { height: var(--head-h); background: #fff; border-bottom: 1px solid var(--line); }
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand__logo { width: 214px; height: auto; display: block; }
.brand__logo--footer { width: 184px; }

.nav { display: flex; align-items: center; gap: 30px; font-size: 14px; font-weight: 600; }
.nav__link { transition: color .15s ease; }
.nav__link:hover, .nav__link.is-active { color: var(--red); }

.header__cta { background: var(--ink); color: #fff !important; padding: 11px 18px; border-radius: 10px; font-size: 14px; font-weight: 600; }
.header__cta:hover { background: #33373f; }
/* 28.09.2026: вторая кнопка — «Сообщить о списании», красная */
.nav .header__cta--red { background: var(--red); margin-left: -18px; }
.nav .header__cta--red:hover { background: var(--red-hover); }
.mnav__link--red { background: var(--red); color: #fff !important; text-align: center; margin-top: 8px; }
.mnav__link--red:hover { background: var(--red-hover) !important; }
@media (max-width: 1100px) {
  .nav { gap: 18px; }
  .nav .header__cta--red { margin-left: -8px; }
  .nav__link[href="/"] { display: none; }
}

.header__burger {
  display: none; background: none; border: 1px solid var(--line); border-radius: 11px;
  width: 44px; height: 44px; align-items: center; justify-content: center; padding: 0; color: var(--ink);
}
.mnav {
  background: #fff; padding: 10px 20px 20px; border-bottom: 1px solid var(--line);
  position: absolute; left: 0; right: 0; z-index: 10; box-shadow: 0 15px 30px rgba(32, 35, 42, .05);
}
.mnav__link { display: block; padding: 13px; border-radius: 8px; font-size: 15px; font-weight: 600; }
.mnav__link:hover { background: var(--bg); }

@media (max-width: 760px) {
  html { scroll-padding-top: 20px; }
  :root { --gutter: 18px; --head-h: 68px; }
  .nav, .header__cta { display: none; }
  .header__burger { display: flex; }
  .mnav:not([hidden]) { display: block; }
  .brand__logo { width: 191px; }
}
@media (max-width: 355px) {
  :root { --gutter: 14px; }
  .brand__logo { width: 179px; }
}

/* ==========================================================================
   ХЛЕБНЫЕ КРОШКИ
   ========================================================================== */
.crumbs { padding: 18px 0 6px; font-size: 13px; color: var(--muted); }
.crumbs__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; }
.crumbs__link { color: var(--muted); transition: color .16s; }
.crumbs__link:hover { color: var(--accent-hi); }
.crumbs__sep { color: var(--border-2); }
.crumbs__current { color: var(--text-2); }

/* ==========================================================================
   ОБЩИЕ БЛОКИ
   ========================================================================== */
.section { padding: 43px 0 0; }
.section__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.section__head--col { display: block; }
.section__title { margin: 0; }
.section__lead { margin: 7px 0 0; color: var(--muted); font-size: 14px; max-width: 780px; }
/* Текстовая ссылка-действие в заголовке секции */
.text-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: 14px; font-weight: 600; color: var(--red); white-space: nowrap; }
.text-link svg { width: 17px; height: 17px; }
.text-link:hover { color: var(--red-hover); }
.count-tag { background: #e9ecf0; color: #626b77; font-size: 12px; padding: 4px 8px; border-radius: 6px; vertical-align: middle; margin-left: 6px; font-weight: 500; }
@media (max-width: 760px) {
  .section { padding-top: 30px; }
  .section__head { margin-bottom: 14px; }
  .section__lead { font-size: 13px; line-height: 1.45; }
  .text-link { font-size: 12px; gap: 4px; }
  .text-link svg { width: 14px; height: 14px; }
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}

/* ⛔ Кнопки по макету: красная — главное действие, белая .btn--ghost —
   второстепенное. Высота 46px: палец, а не курсор. */
.btn, .primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 12px 21px; border-radius: 9px; border: 0; cursor: pointer;
  font-weight: 600; font-size: 15px;
  background: var(--red); color: #fff;
  transition: background .15s ease;
}
.btn:hover, .primary:hover { background: var(--red-hover); }
.btn--ghost, .secondary {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 12px 16px; border-radius: 10px;
  border: 1px solid var(--border-2); background: #fff; color: var(--ink);
  font-size: 14px; font-weight: 600; cursor: pointer;
  transition: background .15s ease;
}
.btn--ghost:hover, .secondary:hover { background: #f7f8fa; }
.secondary svg { width: 16px; height: 16px; }

.disclaimer {
  margin: 26px 0 0; padding: 14px 16px;
  font-size: 13.5px; line-height: 1.6; color: var(--muted);
  background: var(--surface-2);
  border-radius: var(--radius-sm);
}
.disclaimer strong { color: var(--text-2); }

.note {
  padding: 16px 18px; border-radius: var(--radius-sm);
  background: var(--accent-soft); color: var(--text-2);
}

/* Проза (тело статьи / карточки) */
.prose { font-size: 16.5px; color: var(--text-2); }
.prose h2 { color: var(--text); margin-top: 1.7em; }
.prose h3 { color: var(--text); margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 1.1em; }
.prose li { margin-bottom: .45em; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--text); }
.prose blockquote {
  margin: 1.4em 0; padding: 14px 18px;
  border-left: 3px solid var(--accent); background: var(--surface-2);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.prose code {
  padding: 2px 6px; border-radius: 6px; font-size: .92em; font-family: var(--mono);
  background: var(--surface-3); color: var(--text);
}
.prose table { width: 100%; border-collapse: collapse; margin: 1.2em 0; font-size: 15px; }
.prose th, .prose td { padding: 10px 12px; border: 1px solid var(--border); text-align: left; }
.prose th { background: var(--surface-2); color: var(--text); }

/* Пошаговая инструкция */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 22px 0 0; }
.steps__item {
  counter-increment: step; position: relative;
  padding: 0 0 22px 52px; border-left: 2px solid var(--border); margin-left: 15px;
}
.steps__item:last-child { border-left-color: transparent; padding-bottom: 0; }
.steps__item::before {
  content: counter(step);
  position: absolute; left: -16px; top: -2px;
  width: 32px; height: 32px; display: grid; place-items: center;
  border-radius: 50%; background: var(--accent); color: #fff;
  font-size: 14px; font-weight: 700;
}
.steps__title { font-weight: 650; color: var(--text); margin-bottom: 4px; }
.steps__text { color: var(--text-2); font-size: 15.5px; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { margin-top: 44px; }
.faq__title { margin-bottom: 18px; }
.faq__list { display: flex; flex-direction: column; gap: 10px; }
.faq__item {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-sm); overflow: hidden;
}
.faq__q {
  padding: 16px 18px; cursor: pointer; font-weight: 600; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after { content: "+"; color: var(--accent); font-size: 22px; font-weight: 400; line-height: 1; }
.faq__item[open] .faq__q::after { content: "−"; }
.faq__a { padding: 0 18px 16px; color: var(--text-2); font-size: 15.5px; }

/* ==========================================================================
   ВИТРИНА ОФФЕРОВ
   ========================================================================== */
/* ==========================================================================
   БЛОК ОФФЕРОВ — по макету: свёрнутый серый блок с меткой «РЕКЛАМА».
   ⛔ Он намеренно не похож на карточку каталога: реклама не должна
   притворяться нашим справочником. И он свёрнут — открывает тот, кому
   действительно нужен займ, а не каждый читатель инструкции.
   ========================================================================== */
.offers {
  margin: 42px 0; background: #eceef2; border: 1px solid #e0e3e9;
  border-radius: 15px; padding: 0 22px; color: var(--ink);
}
.offers > summary { list-style: none; padding: 20px 0; cursor: pointer; display: flex; align-items: center; gap: 18px; }
.offers > summary::-webkit-details-marker { display: none; }
.offers__label {
  align-self: center; font-size: 10px; font-weight: 600; letter-spacing: .7px;
  border: 1px solid #cdd2da; border-radius: 5px; color: var(--muted); padding: 3px 6px;
}
.offers__head { flex: 1; }
.offers__title { display: block; font-size: 15px; font-weight: 700; margin: 0; }
.offers__lead { display: block; font-size: 12px; color: var(--muted); margin: 4px 0 0; }
.offers > summary > svg { width: 18px; height: 18px; color: var(--muted); transition: transform .18s ease; }
.offers[open] > summary > svg { transform: rotate(180deg); }

.offers__list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; padding-bottom: 16px; }
.offer {
  border: 1px solid #d8dde5; background: #fff; border-radius: 10px; padding: 15px;
  font-size: 14px; font-weight: 600; transition: border-color .15s ease;
}
.offer:hover { border-color: #b9c0cb; }
.offer__name { display: block; }
.offer__note { display: flex; gap: 5px; align-items: center; font-size: 12px; color: var(--muted); margin-top: 8px; font-weight: 400; }
.offer__note svg { width: 14px; height: 14px; }
.offers__disclaimer { font-size: 12px; color: var(--muted); margin: 0 0 20px; line-height: 1.6; }

@media (max-width: 760px) {
  .offers { margin: 29px 0; padding: 0 17px; border-radius: 13px; }
  .offers > summary { gap: 9px; flex-wrap: wrap; padding: 16px 0; }
  .offers__label { font-size: 9px; }
  .offers__title { font-size: 13px; }
  .offers__lead { font-size: 11px; }
  .offers__list { grid-template-columns: 1fr; }
  .offer { display: flex; align-items: center; justify-content: space-between; min-height: 54px; }
  .offer__note { margin-top: 0; }
}

/* ==========================================================================
   ФОРМА ЗАЯВКИ
   ========================================================================== */
.leadform {
  margin-top: 46px; padding: 28px 22px; border-radius: var(--radius);
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
}
.leadform__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-items: start; }
.leadform__title { font-size: 24px; margin-bottom: 10px; }
.leadform__lead { color: var(--text-2); margin: 0; font-size: 15.5px; }
.leadform__form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field__label { font-size: 12.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.field__input {
  min-height: 48px; padding: 12px 14px; border-radius: 11px;
  background: #fff; border: 1px solid var(--border-2);
  outline: none; transition: border-color .16s ease, box-shadow .16s ease;
  resize: vertical;
}
.field__input:focus { border-color: var(--accent); box-shadow: var(--ring); }
.field__input::placeholder { color: #98a0ac; }

.checkbox { grid-column: 1 / -1; display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); }
.checkbox input { margin-top: 3px; accent-color: var(--accent); }
.checkbox a { color: var(--accent); text-decoration: underline; }

.leadform__btn {
  grid-column: 1 / -1; min-height: 50px; padding: 14px; border: 0; border-radius: 12px; cursor: pointer;
  font-weight: 650; font-size: 15.5px; background: var(--accent); color: #fff;
  transition: background .16s ease;
}
.leadform__btn:hover { background: var(--accent-hi); }
.leadform__status { grid-column: 1 / -1; margin: 0; font-size: 14px; }
.leadform__status.is-ok { color: var(--ok); }
.leadform__status.is-err { color: var(--accent); }

@media (max-width: 860px) {
  .leadform { padding: 22px; }
  .leadform__inner { grid-template-columns: 1fr; gap: 22px; }
  .leadform__form { grid-template-columns: 1fr; }
}

/* ==========================================================================
   ФОРМА ОТЗЫВА
   Нейтральная рамка, а не цветная плашка заявки: отзыв — часть справочной
   страницы, а заявка — наше предложение помощи, и путать их не надо.
   ========================================================================== */
.revform {
  margin-top: 40px; padding: 26px 22px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--border-2);
}
.revform__title { font-size: 22px; margin: 0 0 8px; }
.revform__lead { color: var(--text-2); margin: 0 0 20px; font-size: 15px; }
.revform__form { display: grid; gap: 14px; }
/* ⛔ min-width: 0 обязателен: у грид-колонки минимальная ширина по умолчанию
   равна содержимому, и длинная строка в <select> («1 — деньги списали,
   решить не удалось») растягивала форму шире экрана — на 390px страница
   уезжала вбок на 55px. */
.revform__row { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 14px; min-width: 0; }
.revform__row > .field, .revform .field { min-width: 0; }
.revform .field__input { max-width: 100%; }
.revform .field__label i { font-style: normal; text-transform: none; letter-spacing: 0; color: var(--muted-2); }
.field__hint { font-size: 12.5px; color: var(--muted-2); }
.revform__btn {
  justify-self: start; min-height: 48px; padding: 13px 26px; border: 0; border-radius: 12px;
  cursor: pointer; font-weight: 650; font-size: 15.5px; background: var(--accent); color: #fff;
  transition: background .16s ease;
}
.revform__btn:hover { background: var(--accent-hi); }
.revform__btn:disabled { opacity: .55; cursor: default; }
.revform__status { margin: 0; font-size: 14.5px; }
.revform__status.is-ok { color: var(--ok); }
.revform__status.is-err { color: var(--accent); }

@media (max-width: 860px) {
  .revform { padding: 20px 16px; }
  .revform__row { grid-template-columns: 1fr; }
  .revform__btn { justify-self: stretch; }
}

/* ==========================================================================
   ФУТЕР — по макету: белый, тонкая линия сверху, три колонки.
   ========================================================================== */
.footer { margin-top: auto; flex: 0 0 auto; background: #fff; border-top: 1px solid var(--line); padding: 33px 0 24px; color: var(--ink); }
.footer__inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 60px; padding-bottom: 25px; }
.brand--footer { margin-bottom: 14px; }
.footer__about { color: var(--muted); font-size: 13px; line-height: 1.6; margin: 0; max-width: 370px; }
.footer__title { display: block; font-weight: 700; font-size: 13px; margin: 0 0 9px; }
.footer__link { display: block; padding: 6px 0; font-size: 13px; color: var(--muted); transition: color .15s; }
.footer__link:hover { color: var(--red); }
.footer__bottom { border-top: 1px solid var(--line); padding-top: 20px; color: #757d88; font-size: 12px; line-height: 1.7; margin-top: 0; }
.footer__disclaimer { margin: 0 0 10px; font-size: 12px; color: #757d88; line-height: 1.7; }
.footer__copy { margin: 0; font-size: 12px; color: #757d88; }

/* ==========================================================================
   НИЖНЯЯ ПАНЕЛЬ НАВИГАЦИИ — только на телефоне (макет).
   98 % трафика мобильный: три главных действия всегда под большим пальцем.
   ========================================================================== */
.mobile-bottom { display: none; }

@media (max-width: 760px) {
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 24px 17px; padding-bottom: 22px; }
  .footer__about-col { grid-column: 1 / -1; }
  .footer__about { font-size: 12px; }
  .footer__title { font-size: 12px; }
  .footer__link { font-size: 12px; padding: 8px 0; }
  .footer__bottom, .footer__disclaimer, .footer__copy { font-size: 11px; line-height: 1.65; }
  .footer { padding: 26px 0 calc(84px + env(safe-area-inset-bottom)); }
  .site-main { padding-bottom: 20px; }

  .mobile-bottom {
    position: fixed; z-index: 15; bottom: 0; left: 0; right: 0;
    background: rgba(255, 255, 255, .96); border-top: 1px solid var(--line);
    display: grid; grid-template-columns: repeat(4, 1fr);
    padding: 7px 12px calc(7px + env(safe-area-inset-bottom));
    backdrop-filter: blur(15px);
  }
  .mobile-bottom a {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 4px; min-height: 44px; color: #69727e; font-size: 10px;
  }
  .mobile-bottom svg { width: 21px; height: 21px; }
  .mobile-bottom a.is-current { color: var(--red); }
  .mobile-bottom a.mobile-bottom__report { color: var(--red); font-weight: 600; }
}

/* ==========================================================================
   Кнопка «наверх» (21.09.2026).
   Круглая, в правом нижнем углу, поверх всего. Красная — как главное
   действие сайта; на ховере темнеет и чуть приподнимается.
   ⛔ Отступ снизу учитывает безопасную зону айфона (env(safe-area-inset)),
   иначе на нём кнопка залезает под полосу жестов.
   ========================================================================== */
.to-top {
  position: fixed; z-index: 60;
  right: 22px; bottom: calc(22px + env(safe-area-inset-bottom, 0px));
  width: 46px; height: 46px; padding: 0;
  display: grid; place-items: center;
  border: 0; border-radius: 50%; cursor: pointer;
  background: var(--red); color: #fff;
  box-shadow: 0 8px 22px rgba(214, 16, 50, .28);
  opacity: 0; transform: translateY(10px);
  transition: opacity .18s ease, transform .18s ease, background .18s ease;
}
.to-top.is-in { opacity: 1; transform: translateY(0); }
.to-top:hover { background: var(--red-hover); transform: translateY(-2px); }
.to-top:focus-visible { outline: 3px solid #ffd0da; outline-offset: 2px; }

/* ⛔ [2026-09-28] На телефоне снизу стоит панель «Поиск · Сервисы · Статьи»
   (~58px) — кнопка на 14px от края закрывала пункт «Статьи». Поднята над ней. */
@media (max-width: 760px) {
  .to-top { right: 14px; bottom: calc(72px + env(safe-area-inset-bottom, 0px)); width: 42px; height: 42px; }
}

/* ==========================================================================
   Плашка cookie (28.09.2026). Десктоп — карточка в левом нижнем углу
   (правый занят кнопкой «наверх»), телефон — над нижней панелью.
   ========================================================================== */
.cookie {
  position: fixed; z-index: 70;
  left: 22px; bottom: calc(22px + env(safe-area-inset-bottom, 0px));
  max-width: 460px;
  display: flex; align-items: center; gap: 16px;
  padding: 14px 16px 14px 18px;
  background: var(--white); color: var(--ink);
  border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 10px 30px rgba(20, 24, 33, .14);
}
.cookie[hidden] { display: none; }
.cookie__text { margin: 0; font-size: 13px; line-height: 1.5; color: var(--text-2); }
.cookie__text a { color: var(--red); text-decoration: underline; text-underline-offset: 2px; }
.cookie__btn {
  flex: 0 0 auto; min-height: 40px; padding: 0 18px;
  border: 0; border-radius: 10px; cursor: pointer;
  background: var(--red); color: #fff; font: inherit; font-size: 14px; font-weight: 600;
}
.cookie__btn:hover { background: var(--red-hover); }
.cookie__btn:focus-visible { outline: 3px solid #ffd0da; outline-offset: 2px; }
@media (max-width: 760px) {
  .cookie {
    left: 10px; right: 10px; max-width: none;
    bottom: calc(66px + env(safe-area-inset-bottom, 0px));
    padding: 12px 12px 12px 14px; gap: 12px;
  }
  .cookie__text { font-size: 12px; }
  body.has-cookie .to-top { bottom: calc(150px + env(safe-area-inset-bottom, 0px)); }
}
@media (prefers-reduced-motion: reduce) {
  .to-top { transition: none; }
}

/* ==========================================================================
   Вход в форму «Сообщить о сервисе» (28.09.2026): строка под заголовком
   каталога и блок на пустой выдаче поиска.
   ========================================================================== */
.rcta {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  margin: 14px 0 0; padding: 12px 16px; border-radius: 12px;
  background: var(--surface-2); border: 1px solid var(--line);
  font-size: 14.5px; color: var(--text-2);
}
.rcta__text { flex: 1 1 280px; }
.rcta__text b { color: var(--ink); }
.rcta__btn {
  flex: 0 0 auto; display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px;
  border-radius: 10px; background: #fff; border: 1px solid var(--accent-line);
  color: var(--red); font-weight: 600; font-size: 14px; white-space: nowrap;
}
.rcta__btn:hover { background: var(--red-soft); }
.rcta--box { margin-top: 18px; padding: 18px 20px; background: var(--red-soft); border-color: var(--accent-line); }
.rcta--box .rcta__btn { background: var(--red); color: #fff; border-color: var(--red); }
.rcta--box .rcta__btn:hover { background: var(--red-hover); }
