/* Benmollis Monitor — публичный сайт. Направление «тёплый, про бизнес клиента»:
   абрикосовый фон, эспрессо, мандариновый акцент, базилик для статусов; заголовки — Literata. */

@font-face {
  font-family: "Literata"; font-style: normal; font-display: swap; font-weight: 300 800;
  src: url("fonts/literata-cyrillic-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Literata"; font-style: normal; font-display: swap; font-weight: 300 800;
  src: url("fonts/literata-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --apricot: #FFF4E6;      /* фон страницы */
  --oat: #F6E7D3;          /* подложки, карточки второго плана */
  --crust: #EAD3B6;        /* линии */
  --espresso: #2B1D14;     /* текст, тёмные блоки */
  --roast: #6B5242;        /* второстепенный текст (контраст 7:1 на абрикосовом) */
  --tangerine: #E8611A;    /* акцент (декор: линии, рамки, табло) */
  --tangerine-deep: #C4470E;/* фон кнопок и призыва — белый текст с контрастом 4.9:1 */
  --tangerine-ink: #B5430B;/* акцент для текста и ссылок (контраст ≥ 4.5:1) */
  --basil: #2F6B4F;        /* «на связи», галочки */
  --card: #FFFDF9;
  --serif: "Literata", "PT Serif", Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, "Helvetica Neue", Arial, sans-serif;
  --radius: 18px;
  --shadow: 0 18px 40px -18px rgba(43, 29, 20, .35);
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--apricot); color: var(--espresso); font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased; overflow-x: clip; /* clip, не hidden: иначе шапка перестаёт быть sticky */
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--tangerine-ink); text-underline-offset: 3px; }
a:hover { color: var(--espresso); }
:focus-visible { outline: 3px solid var(--tangerine); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { text-wrap: balance; font-family: var(--serif); font-weight: 650; line-height: 1.12; letter-spacing: -.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 1.3rem + 3.2vw, 3.7rem); }
.nobr { white-space: nowrap; }
@media (max-width: 400px) { .nobr { white-space: normal; } }
h2 { font-size: clamp(1.75rem, 1.3rem + 1.9vw, 2.75rem); }
h3 { font-size: clamp(1.2rem, 1.1rem + .45vw, 1.45rem); }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.wrap--center { text-align: center; }
.muted { color: var(--roast); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--espresso); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 8px; }

/* --- Кнопки ---------------------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 48px;
  padding: .7em 1.35em; border-radius: 999px; border: 2px solid transparent; font: 600 1rem/1.2 var(--sans);
  text-decoration: none; cursor: pointer; transition: transform .15s ease, background-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--accent { background: var(--tangerine-deep); color: #fff; }
.btn--accent:hover { background: #A93C0A; color: #fff; }
.btn--dark { background: var(--espresso); color: var(--apricot); }
.btn--dark:hover { background: #3d2a1d; color: var(--apricot); }
.btn--ghost { background: transparent; color: var(--espresso); border-color: var(--crust); }
.btn--ghost:hover { border-color: var(--espresso); color: var(--espresso); }
.btn--sm { min-height: 44px; padding: .5em 1.05em; font-size: .95rem; }
.btn--block { width: 100%; }

/* --- Шапка ------------------------------------------------------------------------------------------ */
.top { position: sticky; top: 0; z-index: 20; background: rgba(255, 244, 230, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--crust); }
.top__row { display: flex; align-items: center; gap: 16px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--espresso); text-decoration: none; font: 700 1.15rem/1 var(--serif); }
.brand em { font-style: normal; font-weight: 450; color: var(--roast); }
.brand:hover { color: var(--espresso); }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a { padding: 10px 12px; border-radius: 10px; color: var(--espresso); text-decoration: none; font-weight: 500; white-space: nowrap; }
.nav a:hover { background: var(--oat); }
.nav .btn { margin-left: 6px; }
.nav .btn--accent { color: #fff; background: var(--tangerine-deep); }
.nav .btn--accent:hover { color: #fff; background: #A93C0A; }
.nav__login { color: var(--tangerine-ink) !important; }
.top__menu { display: none; margin-left: auto; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 2px solid var(--crust); background: transparent; font: 600 .95rem var(--sans); color: var(--espresso); cursor: pointer; }
@media (max-width: 1120px) {  /* шапка: 7 пунктов + «Попробовать» не помещаются в строку — меню */
  .top__menu { display: inline-flex; align-items: center; }
  .nav { display: none; position: absolute; inset: 68px 0 auto 0; flex-direction: column; align-items: stretch; gap: 2px; padding: 12px 16px 20px; background: var(--apricot); border-bottom: 1px solid var(--crust); box-shadow: var(--shadow); }
  .nav-open .nav { display: flex; }
  .no-js .top__menu { display: none; }
  .no-js .nav { display: flex; position: static; flex-direction: row; flex-wrap: wrap; box-shadow: none; border: 0; padding: 0 0 8px; background: transparent; }
  .no-js .top__row { flex-wrap: wrap; }
  .nav a { padding: 14px 12px; font-size: 1.05rem; }
  .nav .btn { margin: 8px 0 0; }
}

/* --- Подвал ----------------------------------------------------------------------------------------- */
.foot { margin-top: 96px; background: var(--espresso); color: #E9DCCB; padding: 56px 0 28px; }
.foot a { color: #FFD9C2; }
.foot a:hover { color: #fff; }
.foot__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 32px; }
.brand--foot, .brand--foot:hover { color: #fff; }
.brand--foot em { color: #CDB8A5; }
.foot__lead { margin-top: 14px; color: #CDB8A5; max-width: 30ch; }
.foot__h { font: 600 .82rem/1 var(--sans); text-transform: uppercase; letter-spacing: .08em; color: #CDB8A5; margin-bottom: 14px; }
.foot__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.foot__list a { display: inline-block; padding: 9px 0; }
.foot__legal { margin-top: 40px; padding-top: 20px; border-top: 1px solid #4A3527; font-size: .85rem; color: #B9A491; }
@media (max-width: 900px) { .foot__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot__grid { grid-template-columns: 1fr; } .foot { margin-top: 64px; } }

/* --- Уведомления, формы (регистрация, вход) --------------------------------------------------------- */
.flashes { margin-top: 20px; display: grid; gap: 10px; }
.note { padding: 14px 18px; border-radius: 14px; background: var(--card); border: 1px solid var(--crust); }
.note--success { border-color: #A9CDB9; background: #EEF7F1; }
.note--danger, .note--error { border-color: #F2B8A3; background: #FFF0EA; }
.note--warning { border-color: #EFCF94; background: #FFF7E3; }

.page { padding: 56px 0 0; }
.page--narrow .wrap { max-width: 520px; }
.page--text .wrap { max-width: 780px; }
.page__lead { color: var(--roast); font-size: 1.08rem; }
.panel { background: var(--card); border: 1px solid var(--crust); border-radius: var(--radius); padding: clamp(20px, 4vw, 32px); box-shadow: var(--shadow); }
.form-label { display: block; font-weight: 600; margin-bottom: 6px; }
.form-control, .form-select {
  width: 100%; min-height: 48px; padding: 10px 14px; border: 1.5px solid var(--crust); border-radius: 12px;
  background: #fff; font: 400 1rem/1.4 var(--sans); color: var(--espresso);
}
.form-control:focus, .form-select:focus { outline: none; border-color: var(--tangerine); box-shadow: 0 0 0 4px rgba(232, 97, 26, .18); }
.form-control.is-invalid { border-color: #C2410C; }
.form-text { font-size: .9rem; color: var(--roast); margin-top: 6px; }
.invalid-feedback { font-size: .92rem; color: #A23A0A; margin-top: 6px; }
.invalid-feedback--check { margin: -8px 0 12px; }
.mb-3 { margin-bottom: 18px; }
.check { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; line-height: 1.45; }
.check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--tangerine); flex: none; }
.form-foot { text-align: center; margin-top: 18px; color: var(--roast); }
.alert { padding: 14px 18px; border-radius: 14px; margin-bottom: 16px; }
.alert-danger { background: #FFF0EA; border: 1px solid #F2B8A3; }

/* --- Текстовые страницы (условия, политика) --------------------------------------------------------- */
.doc h2 { font-size: 1.45rem; margin-top: 1.8em; }
.doc li { margin-bottom: .4em; }
.doc .meta { color: var(--roast); font-size: .95rem; }

/* --- Главная: общий ритм секций --------------------------------------------------------------------- */
.section { padding: clamp(64px, 8vw, 112px) 0 0; }
.eyebrow { display: inline-block; font: 600 .82rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--tangerine-ink); margin-bottom: 14px; }
.section__head { max-width: 720px; margin-bottom: 40px; }
.section__head p { color: var(--roast); font-size: 1.08rem; }

/* Первый экран: заголовок-сценарий и живое табло */
.hero { padding: clamp(40px, 6vw, 80px) 0 0; }
.hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero h1 em { font-style: italic; color: var(--tangerine-ink); font-weight: 600; }
.hero__lead { font-size: clamp(1.05rem, 1rem + .3vw, 1.22rem); color: var(--roast); max-width: 34ch; margin: 18px 0 28px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 26px 0 0; padding: 0; list-style: none; color: var(--roast); font-size: .97rem; }
.hero__facts li::before { content: "✓"; color: var(--basil); font-weight: 700; margin-right: 8px; }
@media (max-width: 900px) { .hero__grid { grid-template-columns: 1fr; } }

/* Табло: телевизор, на котором меню меняется утро → день → вечер */
.board { position: relative; }
.board__tv {
  position: relative; aspect-ratio: 16 / 10; border-radius: 22px; padding: 12px; background: #1B120C;
  box-shadow: 0 40px 70px -30px rgba(43, 29, 20, .6), inset 0 0 0 2px #3A2A1F;
}
.board__screen { position: relative; height: 100%; border-radius: 12px; overflow: hidden; background: #2B1D14; }
.board__slide { position: absolute; inset: 0; padding: 7% 8%; display: grid; grid-template-rows: auto 1fr auto; color: #FFF4E6; opacity: 0; animation: board-cycle 15s infinite; }
.board__slide:nth-child(1) { background: radial-gradient(120% 90% at 85% 10%, #F7B26B 0%, #E8611A 45%, #8A3410 100%); animation-delay: 0s; }
.board__slide:nth-child(2) { background: radial-gradient(120% 90% at 85% 10%, #8FD0A9 0%, #2F6B4F 50%, #183B2B 100%); animation-delay: 5s; }
.board__slide:nth-child(3) { background: radial-gradient(120% 90% at 85% 10%, #8E6BB8 0%, #3D2A63 50%, #1C1230 100%); animation-delay: 10s; }
.board__time { font: 600 .78rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; opacity: .85; }
.board__title { align-self: center; font: 650 clamp(1.5rem, 1rem + 2.6vw, 2.6rem)/1.05 var(--serif); }
.board__title small { display: block; font: 400 clamp(.8rem, .7rem + .4vw, 1rem)/1.4 var(--sans); opacity: .85; margin-top: 10px; }
.board__price { display: flex; justify-content: space-between; align-items: baseline; font: 600 clamp(.85rem, .75rem + .4vw, 1.05rem) var(--sans); border-top: 1px solid rgba(255, 255, 255, .35); padding-top: 10px; }
.board__price b { font: 700 clamp(1.3rem, 1rem + 1.4vw, 2rem) var(--serif); }
.board__stand { width: 22%; height: 18px; margin: 0 auto; background: #1B120C; border-radius: 0 0 6px 6px; }
.board__rail { display: flex; justify-content: space-between; gap: 8px; margin-top: 18px; padding: 0; list-style: none; font-size: .92rem; color: var(--roast); }
.board__rail li { flex: 1; text-align: center; padding: 10px 6px; border-radius: 12px; background: var(--oat); position: relative; overflow: hidden; }
.board__rail li b { display: block; font: 700 1rem var(--sans); color: var(--espresso); font-variant-numeric: tabular-nums; }
.board__rail li::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--tangerine); transform: scaleX(0); transform-origin: left; animation: rail-cycle 15s infinite; }
.board__rail li:nth-child(2)::after { animation-delay: 5s; }
.board__rail li:nth-child(3)::after { animation-delay: 10s; }
@keyframes board-cycle { 0% { opacity: 0; } 3%, 30% { opacity: 1; } 34%, 100% { opacity: 0; } }
@keyframes rail-cycle { 0% { transform: scaleX(0); } 33% { transform: scaleX(1); } 34%, 100% { transform: scaleX(0); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .board__slide, .board__rail li::after { animation: none; }
  .board__slide:nth-child(2) { opacity: 1; }
  .btn:hover { transform: none; }
}

/* Для кого: три сценария с мини-расписанием */
.who { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.who__card { background: var(--card); border: 1px solid var(--crust); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; }
.who__card p { color: var(--roast); }
.who__tag { font: 600 .82rem/1 var(--sans); color: var(--basil); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 12px; }
.who__plan { margin: auto 0 0; padding: 14px 0 0; border-top: 1px dashed var(--crust); list-style: none; display: grid; gap: 8px; font-size: .95rem; }
.who__plan li { display: flex; gap: 12px; }
.who__plan time, .who__plan b { min-width: 3.6em; font-variant-numeric: tabular-nums; color: var(--tangerine-ink); font-weight: 700; }
@media (max-width: 900px) { .who { grid-template-columns: 1fr; } }
/* 152-ФЗ: облачный и локальный вариант */
.pd { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.pd__card .ticks { margin: 4px 0 20px; }
.pd__btn { margin-top: auto; align-self: flex-start; }
.pd__note { margin: 18px 0 0; font-size: .92rem; color: var(--roast); }
@media (max-width: 900px) { .pd { grid-template-columns: 1fr; } }

/* Как начать: четыре шага по порядку */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; padding: 0; margin: 0; list-style: none; }
.steps li { position: relative; padding: 24px 22px; border-radius: var(--radius); background: var(--oat); counter-increment: step; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--espresso); color: var(--apricot); font: 700 1.1rem var(--serif); margin-bottom: 16px; }
.steps h3 { font-size: 1.15rem; }
.steps p { color: var(--roast); margin: 0; font-size: .97rem; }
.steps__note { margin-top: 22px; color: var(--roast); }
.how__shots { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 36px; align-items: start; }
@media (max-width: 760px) { .how__shots { grid-template-columns: 1fr; } }
@media (max-width: 1000px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Возможности: текст + настоящий скриншот, чередуются */
.feature { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(28px, 5vw, 72px); align-items: center; padding: 36px 0; }
.feature + .feature { border-top: 1px solid var(--crust); }
.features > .feature:nth-child(even) { grid-template-columns: 1.25fr 1fr; }
.features > .feature:nth-child(even) .feature__text { order: 2; }
.feature__text p { color: var(--roast); }
.ticks { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 8px; }
.ticks li { padding-left: 28px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 14px; height: 8px; border-left: 2.5px solid var(--basil); border-bottom: 2.5px solid var(--basil); transform: rotate(-45deg); }
@media (max-width: 900px) { .feature, .features > .feature:nth-child(even) { grid-template-columns: 1fr; } .features > .feature:nth-child(even) .feature__text { order: 0; } }

/* Рамки для скриншотов */
.shot { margin: 0; }
.shot img { width: 100%; height: auto; border-radius: 10px; }
.shot--browser { padding: 30px 8px 8px; border-radius: 16px; background: var(--card); border: 1px solid var(--crust); box-shadow: var(--shadow); position: relative; }
.shot--browser::before { content: ""; position: absolute; top: 12px; left: 16px; width: 44px; height: 8px; background: radial-gradient(circle at 4px 4px, #E8A189 4px, transparent 4.5px), radial-gradient(circle at 20px 4px, #EFCF94 4px, transparent 4.5px), radial-gradient(circle at 36px 4px, #A9CDB9 4px, transparent 4.5px); }
.shot--tv { padding: 10px; border-radius: 18px; background: #1B120C; box-shadow: var(--shadow); }
.shot--tv img { border-radius: 8px; }
.shot.shot--tv figcaption { color: #E2D2C0; margin: 12px 0 4px; }
.shot--phone { width: min(300px, 70%); margin-inline: auto; padding: 10px; border-radius: 36px; background: #1B120C; box-shadow: var(--shadow); }
.shot--phone img { border-radius: 26px; }
.shot figcaption { margin-top: 12px; font-size: .9rem; color: var(--roast); text-align: center; }
.shot__placeholder { aspect-ratio: 16 / 10; display: grid; place-items: center; border-radius: 10px; background: var(--oat); color: var(--roast); font-size: .9rem; text-align: center; padding: 16px; }

/* Экраны: тёмный блок */
.dark { margin-top: clamp(64px, 8vw, 112px); padding: clamp(56px, 7vw, 96px) 0; background: var(--espresso); color: #F3E6D6; }
.dark h2 { color: #fff; }
.dark .eyebrow { color: #FFB085; }
.dark .section__head p { color: #CDB8A5; }
.platforms { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.platform { border: 1px solid #4A3527; border-radius: var(--radius); padding: 28px; background: #34241A; }
.platform h3 { color: #fff; }
.platform p { color: #CDB8A5; }
.platform .ticks li::before { border-color: #8FD0A9; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; padding: 0; list-style: none; }
.chips li { padding: 8px 14px; border-radius: 999px; border: 1px solid #4A3527; color: #E9DCCB; font-size: .95rem; }
@media (max-width: 760px) { .platforms { grid-template-columns: 1fr; } }

/* Цены */
.prices { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.price { background: var(--card); border: 1px solid var(--crust); border-radius: var(--radius); padding: clamp(24px, 4vw, 36px); display: flex; flex-direction: column; }
.price--main { border: 2px solid var(--tangerine); }
.price__sum { font: 700 clamp(2.2rem, 1.8rem + 1.5vw, 3rem)/1 var(--serif); margin: 6px 0 4px; }
.price__sum small { font: 500 1rem var(--sans); color: var(--roast); }
.price .ticks { margin: 18px 0 26px; }
.price .btn { margin-top: auto; }
@media (max-width: 760px) { .prices { grid-template-columns: 1fr; } }

/* Вопросы */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--crust); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; font: 600 1.12rem/1.4 var(--serif); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 16px; font: 400 1.6rem/1 var(--sans); color: var(--tangerine-ink); }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--roast); padding-right: 40px; }

/* Финальный призыв */
.cta { margin-top: clamp(64px, 8vw, 112px); }
.cta__box { border-radius: 28px; padding: clamp(32px, 6vw, 64px); background: var(--tangerine-deep); color: #fff; display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: center; }
.cta__box h2 { color: #fff; margin: 0 0 10px; }
.cta__box p { margin: 0; color: #fff; }
.cta__box .btn--dark { justify-self: end; }
@media (max-width: 760px) { .cta__box { grid-template-columns: 1fr; } .cta__box .btn--dark { justify-self: stretch; } }

/* Плашка и настройки cookie */
.cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 40; max-width: 560px; margin-left: auto; padding: 18px 20px; border-radius: 18px; background: var(--espresso); color: #F3E6D6; box-shadow: var(--shadow); }
.cookie p { margin: 0 0 12px; font-size: .95rem; }
.cookie a { color: #FFD9C2; }
.cookie__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.cookie .btn--ghost { color: #F3E6D6; border-color: #6B5242; }
.cookie__link { padding: 10px 6px; border: 0; background: none; color: #FFD9C2; font: inherit; font-size: .95rem; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.cookie-dialog { width: min(520px, 100% - 32px); max-height: calc(100% - 32px); padding: 24px; border: 0; border-radius: 20px; background: var(--apricot); color: var(--espresso); box-shadow: var(--shadow); }
.cookie-dialog::backdrop { background: rgb(43 29 20 / .55); }
.cookie-dialog h2 { margin: 0 0 16px; font-size: 1.4rem; }
.cookie-opt { display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: start; padding: 14px 0; border-top: 1px solid var(--crust); cursor: pointer; }
.cookie-opt strong { display: block; margin-bottom: 2px; }
.cookie-opt span { font-size: .95rem; color: var(--roast); }
.cookie-opt strong { color: var(--espresso); }
/* необходимые нельзя отключить — метка вместо неподвижного переключателя */
.cookie-opt__always { display: inline-block; margin-left: 6px; padding: 2px 9px; vertical-align: 1px; border-radius: 12px; background: #DCEBE2; color: var(--basil); font-size: .78rem; font-weight: 700; white-space: nowrap; }
div.cookie-opt { cursor: default; }
.cookie-dialog__lead { margin: 0 0 14px; color: var(--roast); font-size: .95rem; }
/* переключатель вместо галочки */
.cookie-opt input { appearance: none; position: relative; width: 44px; height: 26px; margin: 2px 0 0; border-radius: 13px; background: var(--crust); cursor: pointer; transition: background .15s; }
.cookie-opt input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgb(0 0 0 / .25); transition: transform .15s; }
.cookie-opt input:checked { background: var(--basil); }
.cookie-opt input:checked::after { transform: translateX(18px); }
.cookie-opt input:focus-visible { outline: 3px solid var(--tangerine-deep); outline-offset: 2px; }
.cookie-dialog__more { margin: 4px 0 18px; padding-top: 14px; border-top: 1px solid var(--crust); font-size: .95rem; }
.cookie-dialog .cookie__actions .btn--ghost { color: var(--espresso); }
@media (prefers-reduced-motion: reduce) { .cookie-opt input, .cookie-opt input::after { transition: none; } }
.no-js .doc__action { display: none; }
.table-scroll { overflow-x: auto; margin: 0 0 1.2em; }
.cookie-table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: .95rem; }
.cookie-table th, .cookie-table td { padding: 10px 12px 10px 0; border-bottom: 1px solid var(--crust); text-align: left; vertical-align: top; }
.cookie-table th { color: var(--roast); font-weight: 600; }
/* на телефоне — строка таблицы становится карточкой, без прокрутки вбок */
@media (max-width: 640px) {
  .cookie-table { min-width: 0; }
  .cookie-table thead { display: none; }
  .cookie-table tr { display: block; padding: 10px 0; border-bottom: 1px solid var(--crust); }
  .cookie-table td { display: block; position: relative; padding: 3px 0 3px 8em; border: 0; }
  .cookie-table td::before { content: attr(data-label); position: absolute; left: 0; color: var(--roast); font-weight: 600; }
}

/* «Связаться с нами» — окно с формой заявки в CRM */
.contact { width: min(560px, 100% - 32px); max-height: calc(100% - 32px); padding: 0; border: 0; border-radius: 20px; background: var(--apricot); color: var(--espresso); box-shadow: var(--shadow); overflow: auto; }
.contact::backdrop { background: rgb(43 29 20 / .55); }
.contact[open] { animation: contact-in .22s cubic-bezier(.2, .8, .2, 1); }
@keyframes contact-in { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.contact__form { position: relative; padding: clamp(20px, 4vw, 32px); }
.contact h2 { margin: 0 40px 8px 0; font-size: 1.5rem; }
.contact__lead { margin: 0 0 18px; color: var(--roast); font-size: .97rem; }
.contact__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.contact__opt { font-weight: 400; color: var(--roast); }
.contact__close { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: var(--espresso); font-size: 28px; line-height: 1; cursor: pointer; }
.contact__close:hover { background: var(--oat); }
.contact__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact__status { min-height: 1.5em; margin: 0 0 12px; font-size: .95rem; }
.contact__status[data-state="ok"] { color: var(--basil); font-weight: 600; }
.contact__status[data-state="error"] { color: #A23A0A; }
textarea.form-control { min-height: 88px; resize: vertical; }
@media (max-width: 560px) { .contact__row { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .contact[open] { animation: none; } }
