/*
Theme Name: Alice VPN Ru
Theme URI: https://alicevpn.click/
Author: Alice VPN Ru
Description: Тема сайта Alice VPN Ru. Язык дизайна — «диалог с ботом»: лента реплик, пузыри с асимметричным скруглением, графит и бирюза с офсайта бренда.
Version: 1.0.2
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: alice-vpn
*/

/* ============================================================
   1. Переменные и база
   Палитра снята с CSS офсайта alice-vpn.online (05.08.2026).
   ============================================================ */
:root {
  --bg:            #171c20;
  --bg-deep:       #0f1418;
  --surface:       #222a30;
  --surface-2:     #1b2227;
  --text:          #f2f2f2;
  --muted:         #8593a6;
  --accent:        #51b5cf;
  --accent-bright: #48cee7;
  --accent-deep:   #25768b;
  --accent-dark:   #115465;
  --green:         #43df34;
  --gold:          #deb333;
  --glow:          rgba(81, 181, 207, .35);
  --border:        rgba(133, 147, 166, .22);
  --border-strong: rgba(133, 147, 166, .38);

  --font-display: "Bitter", Georgia, "Times New Roman", serif;
  --font-text:    "Scada", "Segoe UI", Tahoma, sans-serif;
  --font-mono:    "Roboto Mono", ui-monospace, "Courier New", monospace;

  /* Скругление пузыря реплики: три угла мягкие, четвёртый срезан — «хвостик». */
  --bubble-in:  18px 18px 18px 4px;
  --bubble-out: 18px 18px 4px 18px;
  --radius:     14px;
  --radius-sm:  8px;

  --wrap: 1140px;
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-text);
  font-size: 17px;
  line-height: 1.65;
  /* Страховка от горизонтального переполнения на узких экранах. */
  overflow-x: hidden;
}

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

a { color: var(--accent-bright); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.22;
  margin: 0 0 .6em;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2rem, 5vw, 3.1rem); }
h2 { font-size: clamp(1.55rem, 3.6vw, 2.3rem); }
h3 { font-size: clamp(1.2rem, 2.4vw, 1.45rem); }
h4 { font-size: 1.08rem; }

p { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.2em; padding-left: 1.3em; }
li { margin-bottom: .5em; }

strong { color: #fff; font-weight: 700; }
code, kbd { font-family: var(--font-mono); font-size: .92em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ============================================================
   2. Шапка
   Реф-кнопка обязана быть видна на первом экране на всех ширинах,
   поэтому она лежит рядом с бургером, а не внутри .nav.
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(23, 28, 32, .86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .25s ease, background .25s ease;
}
.site-header.scrolled {
  background: rgba(15, 20, 24, .95);
  box-shadow: 0 6px 26px rgba(0, 0, 0, .45);
}
.site-header__inner {
  display: flex; align-items: center; gap: 18px;
  min-height: var(--header-h);
}

.site-logo { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.site-logo:hover { text-decoration: none; }
.site-logo__icon {
  width: 34px; height: 34px; flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: 11px 11px 11px 3px;
 
  
}
.site-logo__icon svg { width: 20px; height: 20px; }
.site-logo__text {
  font-family: var(--font-display); font-weight: 700; font-size: 1.16rem;
  color: var(--text); letter-spacing: -.01em; white-space: nowrap;
}
.site-logo__text b { color: var(--accent-bright); font-weight: 700; }

.nav { margin-left: auto; }
.nav ul { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.nav li { margin: 0; }
.nav a {
  color: var(--muted); font-size: .95rem; white-space: nowrap;
  padding: 6px 0; border-bottom: 2px solid transparent;
  transition: color .18s ease, border-color .18s ease;
}
.nav a:hover, .nav .current-menu-item > a {
  color: var(--text); border-bottom-color: var(--accent); text-decoration: none;
}

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

.burger {
  display: none; width: 42px; height: 42px; flex-shrink: 0;
  background: transparent; border: 1px solid var(--border);
  border-radius: var(--radius-sm); cursor: pointer;
  padding: 0; place-items: center;
}
.burger span {
  display: block; width: 19px; height: 2px; background: var(--text);
  position: relative; transition: background .18s ease;
}
.burger span::before, .burger span::after {
  content: ""; position: absolute; left: 0; width: 19px; height: 2px;
  background: var(--text); transition: transform .22s ease;
}
.burger span::before { top: -6px; }
.burger span::after  { top: 6px; }
.burger.open span { background: transparent; }
.burger.open span::before { transform: translateY(6px) rotate(45deg); }
.burger.open span::after  { transform: translateY(-6px) rotate(-45deg); }

.mobile-nav {
  display: none; border-top: 1px solid var(--border);
  background: var(--bg-deep); padding: 10px 0 18px;
}
.mobile-nav.open { display: block; }
.mobile-nav ul { list-style: none; margin: 0; padding: 0; }
.mobile-nav li { margin: 0; border-bottom: 1px solid var(--border); }
.mobile-nav li:last-child { border-bottom: 0; }
.mobile-nav a { display: block; padding: 13px 20px; color: var(--text); font-size: 1rem; }

@media (max-width: 980px) {
  .nav { display: none; }
  .burger { display: grid; }
  .header-cta { margin-left: auto; }
}
@media (max-width: 480px) {
  .header-cta__full  { display: none; }
  .header-cta__short { display: inline; }
  .btn--header { padding: 9px 14px; font-size: .85rem; }
}
@media (max-width: 360px) {
  .site-logo__text { display: none; }
}

/* ============================================================
   3. Кнопки
   Ховер не двигает раскладку: только transform, opacity и цвет рамки.
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-text); font-weight: 700; font-size: 1rem;
  padding: 13px 26px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; text-align: center;
  /* Не nowrap: часть ссылок-кнопок несёт длинный текст ("Все тарифы, Премиум
     и пакеты трафика") и на узких экранах должна переноситься, а не выталкивать
     страницу вбок. Короткие CTA (icon+слово) не страдают — переносить нечему. */
  white-space: normal; max-width: 100%;
  transition: transform .18s ease, box-shadow .18s ease,
              border-color .18s ease, background .18s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }

.btn--primary {
  background: linear-gradient(135deg, var(--accent-bright), var(--accent-deep));
  color: #08161b; box-shadow: 0 6px 22px var(--glow);
}
.btn--primary:hover { box-shadow: 0 10px 30px var(--glow); color: #08161b; }

.btn--ghost {
  background: transparent; color: var(--text); border-color: var(--border-strong);
}
.btn--ghost:hover { border-color: var(--accent); color: var(--accent-bright); }

.btn--header { padding: 10px 20px; font-size: .93rem; }
.btn--wide { width: 100%; }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ============================================================
   4. Лента диалога — несущий приём темы
   Секции читаются как переписка: реплики бота слева, ответы справа.
   ============================================================ */
.thread { position: relative; padding: 26px 0; }
/* Нить, вдоль которой висят реплики. */
.thread::before {
  content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px;
  background: linear-gradient(180deg, transparent, var(--border), transparent);
  transform: translateX(-50%);
}
.thread > * { position: relative; }

.msg { display: flex; gap: 14px; margin-bottom: 26px; max-width: 640px; }
.msg--out { margin-left: auto; flex-direction: row-reverse; }

.msg__avatar {
  width: 38px; height: 38px; flex-shrink: 0; margin-top: 4px;
  border-radius: 12px 12px 12px 3px;
  display: grid; place-items: center;
  background: linear-gradient(140deg, var(--accent-bright), var(--accent-dark));
  box-shadow: 0 0 0 1px rgba(72, 206, 231, .25);
}
.msg__avatar svg { width: 20px; height: 20px; color: #08161b; }
.msg--out .msg__avatar {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 12px 12px 3px 12px; box-shadow: none;
}
.msg--out .msg__avatar svg { color: var(--muted); }

.bubble {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--bubble-in); padding: 16px 20px; min-width: 0;
  transition: border-color .2s ease, transform .2s ease;
}
.msg--out .bubble {
  border-radius: var(--bubble-out);
  background: linear-gradient(150deg, rgba(37, 118, 139, .3), rgba(34, 42, 48, .9));
  border-color: rgba(81, 181, 207, .3);
}
.bubble:hover { border-color: var(--accent-deep); }
.bubble > :last-child { margin-bottom: 0; }
.bubble h2, .bubble h3 { margin-top: 0; }

.bubble__time {
  display: block; font-family: var(--font-mono); font-size: .74rem;
  color: var(--muted); letter-spacing: .04em; margin-top: 10px;
}
.msg--out .bubble__time { text-align: right; }

@media (max-width: 860px) {
  .thread::before { left: 19px; }
  .msg, .msg--out { max-width: 100%; margin-left: 0; flex-direction: row; }
  .msg--out .bubble { border-radius: var(--bubble-in); }
  .msg--out .msg__avatar { border-radius: 12px 12px 12px 3px; }
}

/* ============================================================
   5. Первый экран
   ============================================================ */
.hero {
  position: relative; overflow: hidden;
  padding: 62px 0 54px;
  background:
    radial-gradient(760px 420px at 78% -8%, rgba(81, 181, 207, .17), transparent 62%),
    radial-gradient(560px 380px at 6% 106%, rgba(17, 84, 101, .3), transparent 60%);
}
.hero__grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px);
  gap: 48px; align-items: center;
}
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: .78rem; letter-spacing: .08em;
  text-transform: uppercase; color: var(--accent-bright);
  border: 1px solid rgba(81, 181, 207, .34); border-radius: 999px;
  padding: 6px 14px; margin-bottom: 20px;
}
.hero__eyebrow::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--green); box-shadow: 0 0 8px var(--green);
}
.hero h1 { margin-bottom: .45em; }
.hero h1 em { font-style: normal; color: var(--accent-bright); }
.hero__lead { font-size: 1.14rem; color: #cfd6de; max-width: 46ch; margin-bottom: 26px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
.hero__note { font-family: var(--font-mono); font-size: .8rem; color: var(--muted); }

/* Правая колонка первого экрана — портрет Алисы.
   Рамки нет: вырезка стоит прямо на графите, объём даёт свечение-подложка,
   низ кадра уводится в фон маской, чтобы срез не читался прямой линией. */
.hero__figure {
  position: relative; margin: 0; justify-self: center;
  width: 100%; max-width: 400px;
}
.hero__figure::before {
  content: ""; position: absolute; inset: 2% -14% 4%; z-index: 0;
  background:
    radial-gradient(52% 44% at 50% 32%, rgba(81, 181, 207, .28), transparent 68%),
    radial-gradient(40% 20% at 50% 94%, rgba(17, 84, 101, .5), transparent 74%);
  filter: blur(4px);
}
.hero__figure img {
  position: relative; z-index: 1; width: 100%;
  -webkit-mask-image: linear-gradient(180deg, #000 84%, rgba(0, 0, 0, .5) 94%, transparent 100%);
          mask-image: linear-gradient(180deg, #000 84%, rgba(0, 0, 0, .5) 94%, transparent 100%);
}

/* Плашка статуса на портрете — остаток «диалога с ботом»: та же геометрия пузыря. */
.hero__badge {
  position: absolute; z-index: 2; left: 0; bottom: 7%;
  display: inline-flex; align-items: center; gap: 9px;
  padding: 9px 15px; white-space: nowrap;
  background: rgba(27, 34, 39, .88);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(81, 181, 207, .34);
  border-radius: var(--bubble-in);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .5);
}
.hero__badge-dot {
  width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0;
  background: var(--green); box-shadow: 0 0 9px var(--green);
}
.hero__badge-name { font-family: var(--font-display); font-weight: 700; font-size: .92rem; }
.hero__badge-sub { font-family: var(--font-mono); font-size: .72rem; color: var(--muted); }

@media (max-width: 900px) {
  .hero { padding: 44px 0 40px; }
  .hero__grid { grid-template-columns: 1fr; gap: 34px; }
  .hero__figure { max-width: 320px; }
}

/* ============================================================
   6. Секции
   ============================================================ */
.section { padding: 62px 0; }
.section--tint { background: var(--bg-deep); border-block: 1px solid var(--border); }
.section__head { max-width: 720px; margin-bottom: 38px; }
.section__head--center { margin-inline: auto; text-align: center; }
.section__label {
  font-family: var(--font-mono); font-size: .76rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 12px;
}
.section__lead { color: var(--muted); font-size: 1.05rem; margin-bottom: 0; }

.lead { font-size: 1.1rem; color: #cfd6de; }

/* ============================================================
   7. Карточки и сетки
   ============================================================ */
.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--bubble-in); padding: 24px;
  transition: border-color .2s ease, transform .2s ease;
}
.card:hover { border-color: var(--accent-deep); transform: translateY(-3px); }
.card > :last-child { margin-bottom: 0; }
.card__icon {
  width: 42px; height: 42px; border-radius: 12px 12px 12px 3px;
  display: grid; place-items: center; margin-bottom: 16px;
  background: rgba(81, 181, 207, .12); border: 1px solid rgba(81, 181, 207, .26);
}
.card__icon svg { width: 21px; height: 21px; color: var(--accent-bright); }
.card h3 { margin-bottom: .5em; }
.card p { color: var(--muted); margin-bottom: 0; font-size: .97rem; }

/* Крупные цифры — внутри пузыря, моноширинным. */
.stat { text-align: left; }
.stat__num {
  font-family: var(--font-mono); font-weight: 500;
  font-size: clamp(1.7rem, 4vw, 2.35rem); color: var(--accent-bright);
  line-height: 1.1; display: block; margin-bottom: 6px;
}
.stat__label { color: var(--muted); font-size: .92rem; }

/* ============================================================
   8. Тарифы
   ============================================================ */
.plans { display: grid; gap: 22px; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; }
@media (max-width: 940px) { .plans { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; } }

.plan {
  position: relative; background: var(--surface);
  border: 1px solid var(--border); border-radius: 20px; padding: 28px 24px;
  transition: border-color .2s ease, transform .2s ease;
}
.plan:hover { transform: translateY(-3px); border-color: var(--accent-deep); }
.plan--best { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 16px 44px var(--glow); }
.plan__badge {
  position: absolute; top: -13px; left: 24px;
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .06em;
  text-transform: uppercase; color: #08161b; background: var(--accent-bright);
  border-radius: 999px; padding: 4px 13px; font-weight: 500;
}
.plan__name { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; margin-bottom: 4px; }
.plan__term { font-family: var(--font-mono); font-size: .8rem; color: var(--muted); margin-bottom: 18px; }
.plan__price { display: flex; align-items: baseline; gap: 7px; margin-bottom: 4px; }
.plan__price b {
  font-family: var(--font-mono); font-weight: 500; font-size: 2.4rem;
  color: #fff; line-height: 1;
}
.plan__price span { color: var(--muted); font-size: .95rem; }
.plan__total { font-size: .89rem; color: var(--muted); margin-bottom: 18px; }
.plan__save {
  display: inline-block; font-family: var(--font-mono); font-size: .76rem;
  color: var(--green); border: 1px solid rgba(67, 223, 52, .34);
  border-radius: 999px; padding: 3px 10px; margin-bottom: 18px;
}
.plan ul { list-style: none; padding: 0; margin: 0 0 22px; }
.plan li {
  position: relative; padding-left: 26px; margin-bottom: 10px;
  font-size: .95rem; color: #cfd6de;
}
.plan li::before {
  content: ""; position: absolute; left: 0; top: .5em;
  width: 13px; height: 7px; border-left: 2px solid var(--green);
  border-bottom: 2px solid var(--green); transform: rotate(-45deg);
}

/* ============================================================
   9. Шаги
   ============================================================ */
.steps { counter-reset: step; display: grid; gap: 18px; }
.step {
  position: relative; padding-left: 62px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--bubble-in); padding-block: 22px; padding-right: 24px;
}
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 20px; top: 20px;
  width: 30px; height: 30px; border-radius: 10px 10px 10px 2px;
  display: grid; place-items: center;
  font-family: var(--font-mono); font-size: .95rem; font-weight: 500;
  background: linear-gradient(140deg, var(--accent-bright), var(--accent-dark));
  color: #08161b;
}
.step h3 { margin-bottom: .4em; font-size: 1.12rem; }
.step > :last-child { margin-bottom: 0; }
.step p { color: var(--muted); font-size: .97rem; }

/* ============================================================
   10. Таблицы — на ≤640px превращаются в стек карточек, без скролла вбок
   ============================================================ */
.table-wrap {
  overflow-x: auto; margin: 0 0 26px;
  border: 1px solid var(--border); border-radius: var(--radius);
}
table.data {
  width: 100%; border-collapse: collapse; min-width: 540px; font-size: .95rem;
}
table.data th, table.data td {
  text-align: left; padding: 13px 16px;
  border-bottom: 1px solid var(--border); vertical-align: top;
}
table.data thead th {
  background: var(--surface-2); font-family: var(--font-display);
  font-weight: 700; font-size: .92rem; color: var(--text);
}
table.data tbody tr:last-child td { border-bottom: 0; }
table.data td { color: #cfd6de; }
table.data td strong { color: #fff; }
table.data .mono { font-family: var(--font-mono); font-size: .88rem; }

@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(--border); border-radius: var(--radius);
    margin-bottom: 12px; overflow: hidden; background: var(--surface);
  }
  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-weight: 700; font-size: .82rem; color: var(--muted);
    font-family: var(--font-text);
  }
}

/* ============================================================
   11. FAQ-аккордеон — grid-template-rows 0fr → 1fr
   ============================================================ */
.faq { display: grid; gap: 12px; }
.faq__item {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--bubble-in); overflow: hidden;
  transition: border-color .2s ease;
}
.faq__item.open { border-color: var(--accent-deep); }
.faq__question {
  width: 100%; display: flex; align-items: flex-start; gap: 14px;
  background: transparent; border: 0; cursor: pointer;
  padding: 18px 20px; text-align: left;
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem;
  color: var(--text); line-height: 1.4;
}
.faq__question::after {
  content: ""; flex-shrink: 0; margin-left: auto; margin-top: .35em;
  width: 9px; height: 9px; border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(45deg); transition: transform .25s ease;
}
.faq__item.open .faq__question::after { transform: rotate(-135deg); }
.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 { padding: 0 20px; margin: 0 0 16px; color: var(--muted); font-size: .98rem; }
.faq__answer p:first-child { padding-top: 2px; }

/* ============================================================
   12. Отзывы и звёзды
   fill: currentColor обязателен — иконки Lucide приходят с fill="none",
   без заливки любая оценка выглядит пятёркой.
   ============================================================ */
.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: .35; }
/* Не inset: 0 — он задаёт и left, и right, инлайновая ширина перебивается. */
.star-rating__fg {
  position: absolute; top: 0; left: 0; bottom: 0;
  overflow: hidden; white-space: nowrap; color: var(--gold);
}
.star-rating svg {
  width: var(--star-size, 20px); height: var(--star-size, 20px);
  flex-shrink: 0; fill: currentColor; stroke: currentColor;
}

.rating-summary {
  display: flex; flex-wrap: wrap; align-items: center; gap: 18px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--bubble-in); padding: 22px 24px; margin-bottom: 30px;
}
.rating-summary__num {
  font-family: var(--font-mono); font-weight: 500; font-size: 2.7rem;
  color: var(--gold); line-height: 1;
}
.rating-summary__meta { color: var(--muted); font-size: .93rem; }

.review { background: var(--surface); border: 1px solid var(--border); border-radius: var(--bubble-in); padding: 22px; }
.review__head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; flex-wrap: wrap;}
.review__avatar {
  width: 40px; height: 40px; border-radius: 12px 12px 12px 3px; flex-shrink: 0;
  display: grid; place-items: center;
  background: rgba(81, 181, 207, .14); border: 1px solid rgba(81, 181, 207, .28);
  font-family: var(--font-display); font-weight: 700; color: var(--accent-bright);
}
.review__name { font-weight: 700; color: #fff; font-size: .98rem; }
.review__date { font-family: var(--font-mono); font-size: .76rem; color: var(--muted); }
.review__stars { margin-left: auto; }
.review p { color: #cfd6de; font-size: .97rem; margin-bottom: 0; }

/* ============================================================
   13. Прочие блоки
   ============================================================ */
.callout {
  background: linear-gradient(150deg, rgba(37, 118, 139, .24), rgba(34, 42, 48, .9));
  border: 1px solid rgba(81, 181, 207, .3);
  border-radius: var(--bubble-in); padding: 22px 24px; margin: 0 0 26px;
}
.callout > :last-child { margin-bottom: 0; }
.callout--warn { background: rgba(222, 179, 51, .09); border-color: rgba(222, 179, 51, .34); }

.pill-row { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 22px; }
.pill {
  font-family: var(--font-mono); font-size: .8rem; color: var(--muted);
  border: 1px solid var(--border); border-radius: 999px; padding: 5px 13px;
}
.pill--on { color: var(--green); border-color: rgba(67, 223, 52, .34); }

.cta-band {
  text-align: center; padding: 54px 0;
  background:
    radial-gradient(620px 300px at 50% 0%, rgba(81, 181, 207, .18), transparent 65%),
    var(--bg-deep);
  border-block: 1px solid var(--border);
}
.cta-band h2 { margin-bottom: .4em; }
.cta-band p { color: var(--muted); max-width: 54ch; margin-inline: auto; margin-bottom: 24px; }

.av-breadcrumb { font-size: .86rem; color: var(--muted); padding: 18px 0 0; }
.av-breadcrumb__link { color: var(--muted); }
.av-breadcrumb__link:hover { color: var(--accent-bright); }
.av-breadcrumb__sep { margin: 0 8px; opacity: .5; }
.av-breadcrumb__current { color: var(--text); }

.page-head { padding: 26px 0 40px; }
.page-head h1 { margin-bottom: .35em; }
.page-head .lead { max-width: 66ch; margin-bottom: 0; }

/* Широкий кадр с радужкой Алисы под лидом внутренней страницы.
   Картинка светлее базы сайта, поэтому её сажают на графит тремя слоями:
   геометрия пузыря, бирюзовая заливка по центру и затемнение по краям. */
.eye-figure {
 
}
.eye-figure img {
  width: 800px; 
  object-fit: cover; object-position: 50% 48%;
  filter: saturate(.92) contrast(1.06) brightness(.9);
	margin: 0 auto;
	margin-top: 20px;
	margin-bottom: 20px;
	border-radius: 30px;
	
}
.eye-figure::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(58% 130% at 50% 50%, rgba(81, 181, 207, .12), transparent 72%),
    linear-gradient(90deg, rgba(15, 20, 24, .6), transparent 26%, transparent 74%, rgba(15, 20, 24, .6)),
    linear-gradient(180deg, rgba(15, 20, 24, .28), transparent 38%, rgba(23, 28, 32, .55));
}


.content > h2 { margin-top: 1.6em; }
.content > h3 { margin-top: 1.4em; }
.content > p, .content > ul, .content > ol { color: #cfd6de; }

/* ============================================================
   14. Подвал
   ============================================================ */
.site-footer {
  background: var(--bg-deep); border-top: 1px solid var(--border);
  padding: 46px 0 28px; margin-top: 0;
}
.site-footer__grid {
  display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr));
  gap: 32px; margin-bottom: 32px;
}
@media (max-width: 820px) { .site-footer__grid { grid-template-columns: 1fr; gap: 26px; } }
.site-footer h4 {
  font-family: var(--font-mono); font-size: .76rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted); font-weight: 500; margin-bottom: 14px;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: #cfd6de; font-size: .95rem; }
.site-footer a:hover { color: var(--accent-bright); }
.site-footer__about { color: var(--muted); font-size: .95rem; max-width: 42ch; }
.site-footer__bottom {
  border-top: 1px solid var(--border); padding-top: 22px;
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between;
  color: var(--muted); font-size: .85rem;
}
.site-footer__disclaimer { max-width: 76ch; }

/* ============================================================
   15. Доступность
   ============================================================ */
:focus-visible { outline: 2px solid var(--accent-bright); outline-offset: 3px; border-radius: 4px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important; transition-duration: .001ms !important;
  }
}
@media (max-width: 420px) {
	.wrap {
		padding: 0 10px;
	}
}
@media (max-width: 380px) {
	.review__stars {
		margin-left: inherit;
	}
}