/* ============================================================
   Foto Trend — витрина студии печати.
   Фиолетовый здесь фирменный (взят из логотипа заказчицы),
   а не декоративный: одна акцентная гамма на весь сайт.
   Радиусы: карточки 16, поля 12, кнопки — пилюля. Без исключений.
   ============================================================ */

:root {
  --brand: #a445d6;
  --brand-600: #8e33c0;
  --brand-700: #7526a3;
  --brand-300: #d09bea;
  --brand-050: #f8f1fd;

  --ink: #1c1620;
  --ink-2: #4b4353;
  --ink-3: #756c7e;
  --line: #e7e1ec;
  --bg: #ffffff;
  --bg-2: #faf8fc;
  --card: #ffffff;

  --ok: #2f8f5b;
  --warn: #b0740f;
  --err: #c0392f;

  --r-card: 16px;
  --r-field: 12px;
  --wrap: 1180px;
  --shadow: 0 1px 2px rgba(40, 20, 55, .04), 0 12px 32px -12px rgba(80, 40, 110, .18);
  --shadow-lg: 0 2px 4px rgba(40, 20, 55, .05), 0 28px 60px -20px rgba(80, 40, 110, .28);
}

@media (prefers-color-scheme: dark) {
  :root {
    --brand: #bd72e6;
    --brand-600: #a855d6;
    --brand-700: #d09bea;
    --brand-300: #7a3fa0;
    --brand-050: #241a2c;

    --ink: #f2edf6;
    --ink-2: #c3b8cc;
    --ink-3: #978ba1;
    --line: #322939;
    --bg: #15111a;
    --bg-2: #1b1621;
    --card: #1e1826;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 32px -12px rgba(0, 0, 0, .6);
    --shadow-lg: 0 2px 4px rgba(0, 0, 0, .35), 0 28px 60px -20px rgba(0, 0, 0, .7);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 400 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-600); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; font-weight: 800; }
h1 { font-size: clamp(30px, 6vw, 50px); }
h2 { font-size: clamp(24px, 4vw, 34px); }
h3 { font-size: 19px; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.muted { color: var(--ink-3); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--brand-600); color: #fff; padding: 12px 20px; border-radius: 0 0 12px 0;
}
.skip:focus { left: 0; }

:where(a, button, input, textarea, select):focus-visible {
  outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 4px;
}

/* ── Шапка ─────────────────────────────────────────────── */
.hdr {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.hdr-in { display: flex; align-items: center; gap: 20px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand-mark { border-radius: 50%; }
.brand-txt { display: flex; flex-direction: column; line-height: 1.1; }
.brand-txt b { font-size: 16px; font-weight: 800; letter-spacing: .06em; }
.brand-txt i { font-size: 10.5px; font-style: normal; color: var(--ink-3); letter-spacing: .16em; text-transform: uppercase; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { color: var(--ink-2); font-size: 15.5px; font-weight: 600; text-decoration: none; }
.nav a:hover, .nav a.is-current { color: var(--brand-600); }
.hdr-tel { font-weight: 700; font-size: 15.5px; white-space: nowrap; }
.burger { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; }
.burger span, .burger span::before, .burger span::after {
  display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.burger span { margin: 0 auto; position: relative; }
.burger span::before, .burger span::after { content: ""; position: absolute; }
.burger span::before { top: -7px; } .burger span::after { top: 7px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }
.mobmenu { display: none; flex-direction: column; padding: 8px 20px 20px; border-top: 1px solid var(--line); }
.mobmenu a { padding: 13px 0; font-size: 17px; font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--line); }
.mobmenu-tel { color: var(--brand-600) !important; font-weight: 800 !important; border: 0 !important; }

@media (max-width: 900px) {
  .nav, .hdr-tel { display: none; }
  .burger { display: block; }
  .mobmenu:not([hidden]) { display: flex; }
}

/* ── Кнопки ────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px; border: 1.5px solid transparent;
  font: inherit; font-weight: 700; font-size: 16px; white-space: nowrap;
  cursor: pointer; text-decoration: none;
  transition: transform .12s ease, background-color .18s ease, border-color .18s ease;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--brand-600); color: #fff; }
.btn--primary:hover { background: var(--brand-700); }
.btn--ghost { border-color: var(--line); color: var(--ink); background: var(--card); }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand-600); }
.btn--sm { padding: 10px 18px; font-size: 15px; }
.btn[disabled] { opacity: .55; cursor: default; transform: none; }

.tag {
  display: inline-block; padding: 3px 9px; border-radius: 999px;
  background: var(--brand-050); color: var(--brand-700);
  font-size: 11.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
  vertical-align: middle;
}
.tag--sm { font-size: 10.5px; padding: 2px 7px; }

/* ── Первый экран ──────────────────────────────────────── */
.hero { padding: 56px 0 20px; background: linear-gradient(180deg, var(--brand-050), transparent 70%); }
.hero-in { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero-kicker {
  font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brand-600); margin-bottom: 14px;
}
.hero h1 { margin-bottom: 18px; }
.hero-lead { font-size: 18.5px; color: var(--ink-2); max-width: 34ch; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 30px; }
.hero-facts { display: flex; gap: 30px; list-style: none; padding: 0; margin: 0; flex-wrap: wrap; }
.hero-facts li { display: flex; flex-direction: column; }
.hero-facts b { font-size: 21px; font-weight: 800; letter-spacing: -.02em; }
.hero-facts span { font-size: 13.5px; color: var(--ink-3); }
.hero-img picture { display: block; }
.hero-img img {
  border-radius: 24px; box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3; object-fit: cover; width: 100%;
}
@media (max-width: 900px) {
  .hero { padding: 32px 0 8px; }
  .hero-in { grid-template-columns: 1fr; gap: 28px; }
  .hero-lead { max-width: none; }
  .hero-img { order: -1; }
  .hero-img img { aspect-ratio: 16 / 10; border-radius: 18px; }
}

/* ── Быстрые действия: намеренно неравные, не «три одинаковых плитки» ── */
.tools { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 14px; margin: 40px auto; }
.tool {
  display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto;
  gap: 2px 14px; align-items: center;
  padding: 22px; border: 1px solid var(--line); border-radius: var(--r-card);
  background: var(--card); color: inherit; text-decoration: none;
  transition: border-color .18s ease, transform .18s ease;
}
.tool:hover { border-color: var(--brand); transform: translateY(-2px); text-decoration: none; }
.tool-ico {
  grid-row: 1 / 3; width: 46px; height: 46px; border-radius: 14px;
  display: grid; place-items: center; font-size: 21px; font-weight: 800;
  background: var(--brand-050); color: var(--brand-600);
}
.tool b { font-size: 16.5px; align-self: end; }
.tool span:last-child { font-size: 14px; color: var(--ink-3); line-height: 1.45; }
@media (max-width: 860px) { .tools { grid-template-columns: 1fr; } }

/* ── Секции и карточки услуг ───────────────────────────── */
.sect { margin: 56px auto; }
.sect-head { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.sect-head h2 { margin: 0; }
.sect-head p { margin: 0; color: var(--ink-3); font-size: 16px; }
.sect-all { margin-left: auto; font-weight: 700; white-space: nowrap; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .cards { grid-template-columns: repeat(2, 1fr); gap: 14px; } }
@media (max-width: 560px) { .cards { grid-template-columns: 1fr; } }

.card {
  display: flex; flex-direction: column; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--r-card);
  background: var(--card); color: inherit; text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--brand-300); text-decoration: none; }
.card-img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-2); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card:hover .card-img img { transform: scale(1.04); }
.card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { margin-bottom: 6px; }
.card-body p { font-size: 14.5px; color: var(--ink-2); line-height: 1.5; margin-bottom: 14px; }
.card-price { margin-top: auto; font-weight: 800; color: var(--brand-600); font-size: 15.5px; }

/* ── Акции ─────────────────────────────────────────────── */
.promo-band { margin: 56px auto; padding: 30px; border-radius: 22px; background: var(--brand-050); }
.promo-band h2 { margin-bottom: 18px; }
.promo-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.promo {
  display: flex; flex-direction: column; gap: 4px; padding: 18px 20px;
  background: var(--card); border-radius: var(--r-card); color: inherit; text-decoration: none;
  border: 1px solid transparent; transition: border-color .18s ease;
}
.promo:hover { border-color: var(--brand); text-decoration: none; }
.promo b { font-size: 16.5px; }
.promo span { font-size: 14.5px; color: var(--ink-2); }

/* ── Внутренние страницы ───────────────────────────────── */
.page-head { padding: 30px 0 6px; }
.crumbs { font-size: 14px; color: var(--ink-3); margin-bottom: 14px; }
.crumbs a { color: var(--ink-3); }
.page-lead { font-size: 18px; color: var(--ink-2); max-width: 68ch; }

.svc { display: grid; grid-template-columns: 460px 1fr; gap: 40px; align-items: start; margin: 20px auto 46px; }
.svc-media img { border-radius: 20px; box-shadow: var(--shadow); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.svc-gallery-main { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 20px; background: var(--bg-2); }
.svc-gallery-main picture, .svc-gallery-main img { width: 100%; height: 100%; }
.svc-gallery-main img { border-radius: 20px; }
.svc-gallery-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 10px; }
.gallery-thumb {
  padding: 0; overflow: hidden; aspect-ratio: 1; cursor: pointer;
  border: 2px solid transparent; border-radius: 10px; background: var(--bg-2);
}
.gallery-thumb picture, .gallery-thumb img { width: 100%; height: 100%; }
.gallery-thumb img { border-radius: 8px; box-shadow: none; aspect-ratio: 1; object-fit: cover; }
.gallery-thumb:hover, .gallery-thumb.is-active { border-color: var(--brand); }
.svc-txt p { color: var(--ink-2); }
.svc-promo {
  display: inline-block; padding: 10px 16px; border-radius: 12px;
  background: var(--brand-050); color: var(--brand-700); font-weight: 700;
}
.svc-list { padding-left: 20px; color: var(--ink-2); }
.svc-list li { margin-bottom: 8px; }
.svc-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
@media (max-width: 900px) { .svc { grid-template-columns: 1fr; gap: 24px; } }

/* ── Прайс ─────────────────────────────────────────────── */
.price-band, .calc-band, .about { margin: 46px auto; }
.price-note { color: var(--ink-3); font-size: 15px; }
.price-request {
  padding: 20px 22px; border-radius: var(--r-card); background: var(--brand-050);
  color: var(--brand-700); font-weight: 600; font-size: 16.5px;
}
.table-scroll { overflow-x: auto; margin-bottom: 22px; border: 1px solid var(--line); border-radius: var(--r-card); }
table.price { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 460px; }
table.price th, table.price td { padding: 12px 16px; text-align: left; }
table.price th { background: var(--bg-2); font-weight: 700; font-size: 14px; color: var(--ink-2); }
table.price th:first-child { color: var(--ink); font-size: 15px; }
table.price td { border-top: 1px solid var(--line); }
table.price .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
table.price tbody tr:hover td, table.price tr:hover td { background: var(--bg-2); }
table.price td.num { font-weight: 600; }
table.price td.num:nth-child(2) { color: var(--ink); }

/* ── Калькулятор ───────────────────────────────────────── */
.calc { border: 1px solid var(--line); border-radius: var(--r-card); padding: 24px; background: var(--card); }
.calc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.calc label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 700; color: var(--ink-2); }
.calc select, .calc input[type="number"] {
  padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--r-field);
  font: inherit; font-size: 16px; background: var(--bg); color: var(--ink);
}
.calc select:focus, .calc input:focus { border-color: var(--brand); outline: none; }
.calc-out {
  margin-top: 22px; padding: 20px 22px; border-radius: var(--r-card);
  background: var(--brand-050); display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px;
}
.calc-sum { font-size: 30px; font-weight: 800; letter-spacing: -.02em; color: var(--brand-700); }
.calc-per { color: var(--ink-2); font-size: 15px; }
.calc-hint { flex-basis: 100%; font-size: 14px; color: var(--ink-2); margin: 0; }
.calc-out .btn { margin-left: auto; }
.calc-empty { color: var(--ink-3); }

/* ── Форма заявки ──────────────────────────────────────── */
.form-band {
  display: grid; grid-template-columns: 1.25fr .75fr; gap: 32px; margin: 56px auto;
  padding: 32px; border-radius: 22px; background: var(--bg-2); border: 1px solid var(--line);
}
@media (max-width: 860px) { .form-band { grid-template-columns: 1fr; padding: 22px; } }
.lead h3 { margin-bottom: 4px; font-size: 22px; }
.lead-sub { color: var(--ink-3); font-size: 14.5px; margin-bottom: 18px; }
.lead label { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; font-size: 14px; font-weight: 700; color: var(--ink-2); }
.lead input[type="text"], .lead textarea {
  padding: 13px 15px; border: 1.5px solid var(--line); border-radius: var(--r-field);
  font: inherit; font-size: 16px; background: var(--bg); color: var(--ink); width: 100%;
}
.lead input::placeholder, .lead textarea::placeholder { color: var(--ink-3); }
.lead input:focus, .lead textarea:focus { border-color: var(--brand); outline: none; }
.lead-file input[type="file"] { font-size: 14px; color: var(--ink-2); }
.lead-agree { flex-direction: row !important; align-items: flex-start; gap: 10px !important; font-weight: 400 !important; font-size: 14px !important; color: var(--ink-2) !important; }
.lead-agree input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--brand-600); flex: none; }
.lead-status { margin: 12px 0 0; font-size: 15px; min-height: 22px; }
.lead-status.is-ok { color: var(--ok); font-weight: 600; }
.lead-status.is-err { color: var(--err); font-weight: 600; }
.form-side h3 { margin-bottom: 10px; }
.form-side p { font-size: 15.5px; color: var(--ink-2); }

/* ── Контакты ──────────────────────────────────────────── */
.contacts { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; margin: 20px auto 56px; }
@media (max-width: 860px) { .contacts { grid-template-columns: 1fr; gap: 26px; } }
.contacts h3 { margin-top: 22px; font-size: 14px; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-3); }
.contacts .big { font-size: 19px; font-weight: 700; margin-bottom: 4px; }
.map-box {
  display: block; border-radius: var(--r-card); overflow: hidden;
  border: 1px solid var(--line); margin-bottom: 24px; background: var(--card);
  color: var(--ink); text-decoration: none;
}
.map-box:hover { text-decoration: none; border-color: var(--brand); }
.map-box iframe { width: 100%; height: 320px; border: 0; display: block; pointer-events: none; }
.map-cta { display: block; padding: 13px 16px; color: var(--brand-600); font-weight: 700; }
.requisites { margin: 0; }
.requisites div { padding: 10px 0; border-bottom: 1px solid var(--line); }
.requisites dt { color: var(--ink-3); font-size: 13px; }
.requisites dd { margin: 2px 0 0; color: var(--ink-2); }

/* ── Юридические тексты ────────────────────────────────── */
.legal { max-width: 78ch; margin: 10px auto 56px; font-size: 16px; color: var(--ink-2); }
.legal h2 { font-size: 21px; margin-top: 32px; color: var(--ink); }
.legal h3 { font-size: 17px; margin-top: 22px; color: var(--ink); }
.legal p { margin-bottom: .8em; }
.legal table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 16px 0; }
.legal td, .legal th { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }

.about p { max-width: 72ch; color: var(--ink-2); font-size: 17px; }

/* ── Подвал ────────────────────────────────────────────── */
.ftr { margin-top: 70px; border-top: 1px solid var(--line); background: var(--bg-2); padding: 44px 0 20px; }
.ftr-in { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
@media (max-width: 800px) { .ftr-in { grid-template-columns: 1fr; gap: 26px; } }
.brand--ftr { margin-bottom: 12px; }
.ftr-note { color: var(--ink-3); font-size: 15px; max-width: 40ch; }
.ftr-col h3 { font-size: 13.5px; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-3); margin-bottom: 10px; }
.ftr-col p { font-size: 15.5px; margin-bottom: 8px; color: var(--ink-2); }
.ftr-bottom {
  display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between;
  border-top: 1px solid var(--line); margin-top: 32px; padding-top: 18px;
  font-size: 13.5px; color: var(--ink-3);
}
.ftr-bottom a { color: var(--ink-3); }

/* ── Появление секций ────────────────────────────────────
   Анимируем ТОЛЬКО сдвиг, никогда не прозрачность: если наблюдатель
   не сработает (вебвью, фоновая вкладка, отключённый JS), контент
   обязан остаться читаемым. Сдвинутый на 14px текст читается,
   прозрачный — нет. Проверено на этом же сайте: секции залипли
   на opacity:0 и страница ушла в белый лист. */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { transform: translateY(14px); transition: transform .45s cubic-bezier(.16, 1, .3, 1); }
  .js .reveal.is-in { transform: none; }
}

/* ── Заглушка вместо фотографии ──────────────────────────
   У части услуг своих снимков ещё нет (у заказчицы запланирована
   фотосессия). Показываем логотип на фирменной подложке: выглядит
   как осознанное решение, а не как битая картинка. */
.ph {
  aspect-ratio: 4 / 3; width: 100%; height: 100%;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--brand-050), color-mix(in srgb, var(--brand-300) 22%, var(--bg)));
  border-radius: inherit;
}
.ph img { width: 38%; max-width: 170px; opacity: .9; }
/* .card-img img задаёт object-fit: cover для фотографий — логотип он бы
   растянул и обрезал, поэтому для заглушки правило перебиваем явно. */
.card-img .ph { border-radius: 0; }
.card-img .ph img, .svc-media .ph img { height: auto; object-fit: contain; }
.card:hover .ph img { transform: none; }
.svc-media .ph { border-radius: 20px; box-shadow: var(--shadow); }

/* ── Варианты внутри услуги (виды брелоков, магнитов) ──── */
.variants { display: grid; gap: 14px; margin: 22px 0 6px; }
.variant {
  padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--r-card);
  background: var(--card);
}
.variant b { display: block; font-size: 16.5px; margin-bottom: 5px; }
.variant p { margin: 0; font-size: 15px; color: var(--ink-2); line-height: 1.5; }
.variants-note { font-size: 15px; color: var(--ink-3); }

/* Селект типа продукции в форме заявки */
.lead select {
  padding: 13px 15px; border: 1.5px solid var(--line); border-radius: var(--r-field);
  font: inherit; font-size: 16px; background: var(--bg); color: var(--ink); width: 100%;
}
.lead select:focus { border-color: var(--brand); outline: none; }

/* ── Куки-уведомление ────────────────────────────────────
   Требование 152-ФЗ и условие Метрики. Показываем один раз:
   отметка о согласии живёт в localStorage. */
.cookiebar {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 50;
  max-width: 620px; margin: 0 auto;
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px 10px 16px; border-radius: 14px;
  background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-lg);
}
/* Полоса намеренно узкая и в одну строку: раньше она была высокой и на мобильном
   накрывала кнопку «Рассчитать стоимость» в первом экране — та переставала
   нажиматься, хотя визуально была на месте. Фиксированная плашка обязана
   отъедать минимум высоты. */
.cookiebar p { margin: 0; flex: 1; font-size: 13px; color: var(--ink-2); line-height: 1.35; }
.cookiebar .btn { flex: none; padding: 9px 18px; font-size: 14.5px; }
/* Пока плашка висит, резервируем под неё место в конце страницы,
   иначе она перекрывает подвал. */
.js.has-cookiebar body { padding-bottom: 76px; }
@media (max-width: 400px) {
  .cookiebar { left: 8px; right: 8px; bottom: 8px; padding: 9px 10px 9px 13px; gap: 9px; }
  .cookiebar p { font-size: 12.5px; }
  .cookiebar .btn { padding: 8px 14px; font-size: 14px; }
}

/* ── Видео вместо фото в карточке услуги ────────────────
   Ведёт себя ровно как <img>, чтобы сетка карточек не разъезжалась. */
.svc-video { width: 100%; height: 100%; object-fit: cover; display: block; background: var(--bg-2); }
.card-img .svc-video { aspect-ratio: 4 / 3; }
.svc-media .svc-video { aspect-ratio: 4 / 3; border-radius: 20px; box-shadow: var(--shadow); }
