/*
Theme Name: Official VPN Ru
Theme URI: https://officialvpn.icu/
Author: Official VPN Ru
Description: Тема сайта Official VPN Ru. Язык дизайна — «терминал VPN-бота»: лента чат-сообщений, статус подключения, Telegram-чекмарки вместо иконок-украшений.
Version: 1.0.0
Text Domain: ovpn-theme
*/

/* ============================================================
   1. ТОКЕНЫ — палитра снята с officialbot.org (--ghost-accent-color)
   ============================================================ */
:root {
  --bg:          #ffffff;
  --paper:       #f7f8fa;
  --surface:     #ffffff;
  --bubble-bot:  #eef2f7;
  --bubble-you:  #0194fe;
  --line:        #e6e6e6;
  --line-strong: #d3d7dc;
  --ink:         #1a1a1a;
  --muted:       #6a7282;
  --accent:      #0194fe;
  --accent-deep: #0177cc;
  --accent-pale: #e7f4ff;
  --ok:          #1aa251;
  --warn:        #e0483a;

  --r:      18px;
  --r-tail: 4px;
  --maxw:   1140px;
  --pad:    24px;

  --f-display: 'Exo 2', 'Trebuchet MS', sans-serif;
  --f-text:    'Cuprum', 'Segoe UI', sans-serif;
  --f-mono:    'Anonymous Pro', 'Courier New', monospace;
}

/* ============================================================
   2. БАЗА
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-text);
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--accent-deep); text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: var(--accent); }

h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 700;
  line-height: 1.18;
  color: var(--ink);
  margin: 0 0 .6em;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(1.85rem, 1.2rem + 2.6vw, 3rem); font-weight: 800; }
h2 { font-size: clamp(1.4rem, 1.05rem + 1.5vw, 2.05rem); margin-top: 1.9em; }
h3 { font-size: clamp(1.1rem, .96rem + .6vw, 1.32rem); margin-top: 1.5em; }

p { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.2em; padding-left: 1.35em; }
li { margin-bottom: .5em; }
li::marker { color: var(--accent); }
strong { font-weight: 700; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }
.wrap--narrow { max-width: 1090px; }

.skip-link { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; }
.skip-link:focus { left: 8px; top: 8px; }

/* ============================================================
   3. ЯЗЫК ДИЗАЙНА — чат-пузыри, статус, MRZ заменён "системным логом"
   ============================================================ */

/* Пузырь бота: скруглён со всех сторон, кроме нижнего левого — имитация хвостика */
.bubble {
  position: relative;
  background: var(--bubble-bot);
  color: var(--ink);
  border-radius: var(--r) var(--r) var(--r) var(--r-tail);
  padding: 18px 20px;
  max-width: 640px;
}
.bubble--accent {
  background: var(--accent-pale);
  border: 1px solid rgba(1,148,254,.25);
}
.bubble--warn {
  background: #fdeeec;
  border: 1px solid rgba(224,72,58,.25);
}
.bubble--ok {
  background: #eaf8ef;
  border: 1px solid rgba(26,162,81,.25);
}
.bubble--link { transition: transform .16s ease; text-decoration: none; display: block; }
.bubble--link:hover { transform: translateY(-2px); }
.bubble > *:last-child { margin-bottom: 0; }

/* Пузырь "от пользователя" (синий, скруглён зеркально) — для CTA-ответов в чате */
.bubble--you {
  background: var(--bubble-you);
  color: #fff;
  border-radius: var(--r) var(--r) var(--r-tail) var(--r);
  margin-left: auto;
}
.bubble--you a { color: #fff; }

/* Статус "в сети" — зелёная точка + подпись, замена дисплейным цифрам */
.status {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-mono); font-size: .82rem; color: var(--muted);
}
.status__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 3px rgba(26,162,81,.18);
  flex-shrink: 0;
}
.status--accent .status__dot { background: var(--accent); box-shadow: 0 0 0 3px rgba(1,148,254,.18); }

/* Telegram-чекмарки как акцентный маркер вместо декоративных иконок */
.checks { color: var(--accent); font-family: var(--f-mono); font-size: .85em; letter-spacing: -1px; }

/* Таймстемп в стиле мессенджера */
.timestamp { font-family: var(--f-mono); font-size: .72rem; color: var(--muted); letter-spacing: .02em; }

/* Числа — крупный моно в статус-плашке */
.num { display: inline-block; font-family: var(--f-mono); font-weight: 700; font-size: clamp(1.4rem, 1.05rem + 1.4vw, 2.05rem); line-height: 1; color: var(--ink); }
.num--accent { color: var(--accent); }

/* Разделитель "дата" внутри ленты диалога */
.chat-divider {
  display: flex; align-items: center; gap: 12px;
  margin: 32px 0 20px;
  font-family: var(--f-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
}
.chat-divider::before, .chat-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* ============================================================
   4. КНОПКИ
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--f-display); font-weight: 700; font-size: .98rem;
  padding: 13px 24px; border-radius: 999px; border: 1px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: transform .16s ease, background .16s ease, border-color .16s ease;
}
.btn--primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn--primary:hover { background: var(--accent-deep); border-color: var(--accent-deep); color: #fff; transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.btn--lg { padding: 16px 30px; font-size: 1.05rem; }
.btn svg { width: 18px; height: 18px; stroke: currentColor; }

/* ============================================================
   5. ШАПКА
   ============================================================ */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: saturate(140%) blur(6px); }
.site-header.scrolled { border-bottom-color: var(--line-strong); }
.header-row { display: flex; align-items: center; gap: 16px; min-height: 66px; }

.site-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.site-logo__icon { width: 34px; height: 34px; flex-shrink: 0; border-radius: 10px; background: var(--accent); display: grid; place-items: center; }
.site-logo__icon svg { width: 20px; height: 20px; stroke: #fff; fill: none; }
.site-logo__text { font-family: var(--f-display); font-weight: 800; font-size: 1.12rem; color: var(--ink); letter-spacing: -.01em; white-space: nowrap; }
.site-logo__text i { font-style: normal; color: var(--accent); }

.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav a { font-family: var(--f-display); font-size: .92rem; font-weight: 600; color: var(--ink); text-decoration: none; padding: 8px 12px; border-radius: 999px; border: 1px solid transparent; white-space: nowrap; }
.nav a:hover { border-color: var(--line-strong); color: var(--accent); }
.nav a.current { border-color: var(--accent); color: var(--accent); background: var(--accent-pale); }

.header-cta { flex-shrink: 0; }
.header-cta__short { display: none; }

.burger { display: none; width: 40px; height: 40px; flex-shrink: 0; background: none; border: 1px solid var(--line-strong); border-radius: 10px; cursor: pointer; padding: 0; align-items: center; justify-content: center; }
.burger span { display: block; width: 18px; height: 2px; background: var(--ink); position: relative; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--ink); }
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }
.burger.open span { background: transparent; }
.burger.open span::before { top: 0; transform: rotate(45deg); }
.burger.open span::after { top: 0; transform: rotate(-45deg); }

.mobile-nav { display: none; border-top: 1px solid var(--line); background: var(--bg); }
.mobile-nav.open { display: block; }
.mobile-nav a { display: block; padding: 13px 0; font-family: var(--f-display); font-weight: 600; color: var(--ink); text-decoration: none; border-bottom: 1px dashed var(--line); }
.mobile-nav a:last-child { border-bottom: 0; }

/* ============================================================
   6. ПЕРВЫЙ ЭКРАН — эмуляция экрана чата с ботом
   ============================================================ */
/* Плоская --paper остаётся фоном по умолчанию: если WebGL недоступен или
   контекст потерян, первый экран выглядит ровно как раньше. Класс
   .hero--live навешивает скрипт только после успешной компиляции шейдера. */
.hero { position: relative; background: var(--paper); border-bottom: 1px solid var(--line); padding: 40px 0 52px; }
/* overflow-x скрывать нельзя было бы у sticky-родителя, но .hero не sticky —
   обрезаем только вылет холста за скругления. */
.hero--live { overflow: hidden; }
.hero__canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  display: block;
  pointer-events: none;
  /* Холст рендерится в пониженном разрешении и растягивается: без этого
     Chrome даёт ступенчатый апскейл на плавном градиенте. */
  image-rendering: auto;
}
/* Контент первого экрана обязан лежать ВЫШЕ холста, иначе холст перекроет
   заголовок и кнопки: у .hero__canvas position:absolute, а у .wrap по
   умолчанию static, и порядок в потоке отдал бы победу холсту. */
.hero > .wrap { position: relative; z-index: 1; }

.chatscreen {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 32px;
  align-items: start;
}

/* Цвета текста первого экрана считаны под САМЫЙ ТЁМНЫЙ кадр градиента
   (rgb(122,192,246) на нынешней насыщенности), а не под плоскую подложку.
   Исходные цвета темы здесь не годятся:
     кикер  --accent #0194fe не проходил AA (нужно 4.5:1) даже на плоском
             фоне — 2.96; #01426f на градиенте даёт 5.32;
     лид    --muted  #6a7282 давал 4.55 на плоском и 3.96 на градиенте;
             #363e49 даёт 5.51.
   При смене палитры градиента эти два цвета пересчитывать заново.
   Оба класса живут только на первом экране главной, остальной сайт не задет. */
.hero__kicker { font-family: var(--f-mono); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: #01426f; margin: 0 0 14px; }
.hero h1 { margin-bottom: .5em; }
.hero__lead { font-size: 1.08rem; color: #363e49; margin-bottom: 1.4em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* Иллюстрация первого экрана — правая колонка .chatscreen.
   Кадр квадратный 500×500, а текстовая колонка рядом примерно 360px высотой:
   если пустить картинку во всю ширину колонки (~505px на 1140), первый экран
   вырастет почти вдвое. Поэтому ширина ограничена 380px и кадр отцентрован
   в колонке — высота остаётся сопоставимой с текстом.
   Ленивая загрузка здесь запрещена: блок виден сразу при открытии страницы. */
.hero__figure { display: flex; justify-content: center; }
.hero__figure img {
  width: 100%;
  max-width: 500px;
  height: auto;

  border-radius: var(--r) var(--r) var(--r) var(--r-tail);
}

/* ============================================================
   7. СЕКЦИИ
   ============================================================ */
.section { padding: 30px 0 10px; }
.section--paper { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding-bottom: 40px; margin-top: 40px; }
/* .section__label снят 11.08.2026: надстрочные подписи секций под запретом
   по стоп-листу (ПОВТОРЫ_МЕЖДУ_САЙТАМИ.md, С4). Секция начинается с заголовка.
   Правило удалено целиком, чтобы класс не вернулcя через редактор темы. */

.grid { display: grid; gap: 16px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card__icon { width: 26px; height: 26px; margin-bottom: 10px; color: var(--accent); }
.card__icon svg { width: 26px; height: 26px; stroke: currentColor; fill: none; }

/* Карточка = пузырь чата с заголовком, единая метафора по всему сайту */
.card {
  background: var(--bubble-bot);
  border-radius: var(--r) var(--r) var(--r) var(--r-tail);
  padding: 20px;
  transition: transform .16s ease;
}
.card:hover { transform: translateY(-2px); }
.card h3 { margin-top: 0; margin-bottom: .4em; font-size: 1.06rem; }
.card p:last-child { margin-bottom: 0; }

/* Шаги — как последовательность сообщений от бота */
.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; display: flex; flex-direction: column; gap: 12px; }
.steps li {
  counter-increment: step;
  position: relative;
  background: var(--bubble-bot);
  border-radius: var(--r) var(--r) var(--r) var(--r-tail);
  padding: 14px 18px 14px 54px;
}
.steps li::before {
  content: counter(step);
  position: absolute; left: 14px; top: 14px;
  width: 26px; height: 26px;
  display: grid; place-items: center;
  background: var(--accent); color: #fff;
  border-radius: 50%;
  font-family: var(--f-mono); font-weight: 700; font-size: .82rem;
}
.steps li strong { display: block; font-family: var(--f-display); margin-bottom: 2px; }

/* Иллюстрации в потоке контента — та же несущая форма, что у пузыря бота:
   три угла по --r, левый нижний по --r-tail. Ширина ограничена жёстко:
   контентная колонка 800px, и квадратный кадр во всю её ширину даёт
   почти полтора экрана высоты. */
.illus { margin: 26px auto 30px; max-width: 620px; }
.illus img {
  width: 100%; height: auto;
  background: var(--paper);
  border-radius: var(--r) var(--r) var(--r) var(--r-tail);
}

/* Текст и иллюстрация бок о бок. minmax(0, 1fr) вместо голого 1fr
   обязателен: минимальный размер грид-колонки по умолчанию auto, и тогда
   широкая картинка или длинное неразрывное слово раздвигают колонку шире
   контейнера — страница получает горизонтальную прокрутку.
   Ширину бокового кадра задаёт сама колонка, поэтому .illus с его
   max-width: 620px здесь не используется. */
.textpic {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  margin: 26px 0 30px;
}
.textpic__text > :first-child { margin-top: 0; }
.textpic__text > :last-child { margin-bottom: 0; }
.textpic__pic img {
  width: 100%; height: auto;
  background: var(--paper);
  border-radius: var(--r) var(--r) var(--r) var(--r-tail);
}

/* Тарифные пузыри */
.plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.plan {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  padding: 22px;
}
.plan--pro { border-color: var(--accent); background: var(--accent-pale); }
.plan__name { font-family: var(--f-display); font-weight: 800; font-size: 1.2rem; margin-bottom: 4px; }
.plan__tag { font-family: var(--f-mono); font-size: .72rem; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 14px; }
.plan__feature { display: flex; align-items: baseline; gap: 8px; margin-bottom: 8px; font-size: .92rem; }
.plan__feature .checks { flex-shrink: 0; }
.plan-price-row { display: flex; align-items: baseline; gap: 10px; margin: 14px 0; flex-wrap: wrap; }
.plan-price { font-family: var(--f-mono); font-weight: 700; font-size: 1.5rem; }
.plan-price__period { font-family: var(--f-mono); font-size: .78rem; color: var(--muted); }

/* ============================================================
   8. ТАБЛИЦЫ — карточки на ≤640px (паттерн 12)
   ============================================================ */
.table-wrap { overflow-x: auto; margin: 0 0 24px; border: 1px solid var(--line-strong); border-radius: 16px; }
table.data { width: 100%; border-collapse: collapse; min-width: 520px; font-size: .94rem; }
table.data th, table.data td { text-align: left; padding: 12px 15px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.data thead th { background: var(--paper); font-family: var(--f-mono); font-weight: 700; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
table.data tbody tr:last-child td { border-bottom: 0; }
table.data td.mono, table.data td .mono { font-family: var(--f-mono); }

@media (max-width: 640px) {
  .table-wrap { overflow-x: visible; border: 0; }
  table.data { min-width: 0; }
  table.data thead { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
  table.data, table.data tbody, table.data tr, table.data td { display: block; width: 100%; }
  table.data tr { border: 1px solid var(--line-strong); border-radius: 16px; margin-bottom: 12px; overflow: hidden; }
  table.data tr:last-child { margin-bottom: 0; }
  table.data td { padding: 10px 14px 10px 44%; position: relative; min-height: 20px; }
  table.data tr td:last-child { border-bottom: 0; }
  table.data td::before { content: attr(data-label); position: absolute; left: 14px; top: 10px; width: 38%; font-family: var(--f-mono); font-weight: 700; font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
}

/* ============================================================
   9. FAQ — grid-template-rows 0fr → 1fr (паттерн 3), пузырь-вопрос
   ============================================================ */
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq__item { background: var(--bubble-bot); border-radius: var(--r) var(--r) var(--r) var(--r-tail); overflow: hidden; }
.faq__question {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  font-family: var(--f-display); font-weight: 700; font-size: 1rem; color: var(--ink);
  padding: 16px 44px 16px 18px; position: relative;
}
.faq__question::after { content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-family: var(--f-mono); font-size: 1.3rem; color: var(--accent); }
.faq__item.open .faq__question::after { content: "\2212"; }
.faq__answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .28s ease; }
.faq__answer > div { overflow: hidden; }
.faq__item.open .faq__answer { grid-template-rows: 1fr; }
.faq__answer p { margin: 0 18px 16px; color: var(--muted); }

/* ============================================================
   10. ОТЗЫВЫ И ЗВЁЗДЫ
   ============================================================ */
.star-rating { position: relative; display: inline-flex; line-height: 0; vertical-align: middle; }
.star-rating__bg, .star-rating__fg { display: flex; gap: 2px; }
.star-rating__bg { color: var(--muted); opacity: .3; }
.star-rating__fg { position: absolute; top: 0; left: 0; bottom: 0; overflow: hidden; white-space: nowrap; color: #f2a600; }
.star-rating svg { width: var(--star-size, 20px); height: var(--star-size, 20px); flex-shrink: 0; fill: currentColor; stroke: currentColor; }

.review { background: var(--bubble-bot); border-radius: var(--r) var(--r) var(--r) var(--r-tail); padding: 18px 20px; margin-bottom: 20px;}
.review__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; margin-bottom: 8px; }
.review__name { font-family: var(--f-display); font-weight: 700; }
.review__date { font-family: var(--f-mono); font-size: .72rem; color: var(--muted); letter-spacing: .04em; }
.review__text { margin: 8px 0 0; }

.rating-box { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.rating-box__value { font-family: var(--f-display); font-weight: 800; font-size: 3rem; line-height: 1; }
.rating-box__meta { font-size: .9rem; color: var(--muted); }

/* ============================================================
   11. ХЛЕБНЫЕ КРОШКИ, КОНТЕНТ, ПОДВАЛ
   ============================================================ */
.ovpn-breadcrumb { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: 16px 0 0; }
.ovpn-breadcrumb a { color: var(--muted); text-decoration: none; }
.ovpn-breadcrumb a:hover { color: var(--accent); }
.ovpn-breadcrumb__sep { margin: 0 7px; color: var(--line-strong); }
.ovpn-breadcrumb__current { color: var(--ink); }

.page-head { padding: 8px 0 4px; }
.page-lead { font-size: 1.08rem; color: var(--muted); }

/* .tldr снят 11.08.2026 вместе с блоками «Коротко» — стоп-лист, С6. */

.mt-sm { margin-top: 14px; }
.flush { padding: 0; }
.footer-col__about { font-size: .9rem; color: var(--muted); margin-bottom: 14px; }

.related { margin-top: 44px; }
.related ul { list-style: none; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); }
.related a { font-family: var(--f-display); font-weight: 600; text-decoration: none; display: block; padding: 12px 16px; background: var(--bubble-bot); border-radius: 999px; color: var(--ink); transition: transform .16s ease, background .16s ease; }
.related a:hover { background: var(--accent-pale); color: var(--accent); transform: translateY(-2px); }

.site-footer { background: var(--paper); border-top: 1px solid var(--line-strong); margin-top: 56px; padding: 36px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; margin-bottom: 26px; }
.footer-col h4 { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; font-weight: 700; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: var(--ink); text-decoration: none; font-size: .93rem; }
.footer-col a:hover { color: var(--accent); }
.footer-note { font-size: .82rem; color: var(--muted); border-top: 1px dashed var(--line-strong); padding-top: 16px; }
.footer-note p { margin: 0 0 6px; }

/* ============================================================
   12. АДАПТИВ
   ============================================================ */
@media (max-width: 980px) {
  .chatscreen { grid-template-columns: 1fr; }
	.hero__figure img {
		max-width: 400px;
	}
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .plans { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .nav { display: none; }
  .burger { display: inline-flex; }
  .header-cta { margin-left: auto; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .grid--2, .grid--3 { grid-template-columns: 1fr; }
  /* Картинка уходит ПОД текст, а не сжимается в вертикальную полоску */
  .textpic { grid-template-columns: minmax(0, 1fr); }
  .related ul { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  :root { --pad: 16px; }
  .footer-grid { grid-template-columns: 1fr; }
  .card { padding: 16px; }
}

/* Сжатие шапки на узких экранах (паттерн 11) — CTA не прячем в бургер */
@media (max-width: 480px) {
  .header-cta__full { display: none; }
  .header-cta__short { display: inline; }
  .header-cta .btn { padding: 10px 16px; font-size: .88rem; }
}
@media (max-width: 380px) {
  .site-logo__text { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  .card:hover, .btn:hover, .related a:hover { transform: none; }
}
