/*
Theme Name: HoneyChat Ru
Description: Брендовый информационный сайт о сервисе HoneyChat. Дизайн-язык «переписка»: контент подан как лента мессенджера, портреты — в гексагональных сотах.
Author: HoneyChat Ru
Version: 1.0.0
Text Domain: honeychat
*/

/* ============================================================
   1. ТОКЕНЫ
   Палитра снята пипеткой с honeychat.bot; медовый янтарь добавлен
   как собственный акцент под тему «мёда» и сот.
   ============================================================ */
:root {
  --bg:        #0F0F1A;
  --bg-deep:   #0A0A12;
  --surface:   #1A1A2E;
  --surface-2: #222240;
  --line:      #2E2E4D;
  --line-soft: #26263F;

  --text:      #F0F0F5;
  --muted:     #9A9ABF;
  --dim:       #6E6E92;

  --pink:      #FF6B9D;
  --pink-deep: #EF4D8A;
  --violet:    #A855F7;
  --cyan:      #22D3EE;
  --honey:     #FFB443;

  --grad-hot:  linear-gradient(100deg, #EF4D8A 0%, #A855F7 100%);
  --grad-warm: linear-gradient(120deg, #FFB443 0%, #FF6B9D 65%);
  --grad-cool: linear-gradient(120deg, #A855F7 0%, #22D3EE 100%);

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-bubble: 20px;

  --wrap: 1120px;
  --gap: clamp(18px, 3vw, 28px);

  --font-display: 'Unbounded', 'Trebuchet MS', sans-serif;
  --font-text: 'Onest', 'Segoe UI', system-ui, sans-serif;

  --shadow-soft: 0 18px 40px -24px rgba(0, 0, 0, .9);
  --shadow-lift: 0 26px 60px -28px rgba(168, 85, 247, .55);
}

/* ============================================================
   2. БАЗА
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-text);
  font-size: 17px;
  line-height: 1.68;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Гексагональная сетка-подложка: фирменный «сотовый» фон, очень тихий. */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='96' viewBox='0 0 56 96'%3E%3Cpath d='M28 0 56 16v32L28 64 0 48V16Z' fill='none' stroke='%23A855F7' stroke-width='1' stroke-opacity='.13'/%3E%3Cpath d='M28 64 56 80v32L28 128 0 112V80Z' fill='none' stroke='%23A855F7' stroke-width='1' stroke-opacity='.13'/%3E%3C/svg%3E");
  background-size: 56px 96px;
  opacity: .5;
  mask-image: linear-gradient(to bottom, #000 0%, rgba(0,0,0,.35) 45%, transparent 85%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, rgba(0,0,0,.35) 45%, transparent 85%);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--pink); text-decoration: none; }
a:hover { color: var(--honey); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -.015em;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(30px, 5.2vw, 54px); font-weight: 800; }
h2 { font-size: clamp(23px, 3.4vw, 34px); }
h3 { font-size: clamp(19px, 2.3vw, 23px); }
h4 { font-size: 17px; }
p { margin: 0 0 1.05em; }
p:last-child { margin-bottom: 0; }

ul, ol { margin: 0 0 1.05em; padding-left: 1.25em; }
li { margin-bottom: .45em; }
li::marker { color: var(--honey); }

strong, b { font-weight: 600; color: #fff; }

:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

.hc-wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.hc-muted { color: var(--muted); }
.hc-small { font-size: 14.5px; color: var(--muted); }

/* ============================================================
   3. КНОПКИ
   ============================================================ */
.hc-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 22px;
  border: 0;
  border-radius: 999px;
  background: var(--grad-hot);
  color: #fff;
  font-family: var(--font-text);
  font-weight: 600;
  font-size: 15.5px;
  line-height: 1.2;
  cursor: pointer;
  text-align: center;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
  box-shadow: 0 10px 26px -14px rgba(239, 77, 138, .95);
}
.hc-btn:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 18px 34px -16px rgba(239, 77, 138, .95); }
.hc-btn:active { transform: translateY(0); }
.hc-btn i, .hc-btn svg { width: 17px; height: 17px; flex: none; }

.hc-btn--lg { padding: 15px 30px; font-size: 16.5px; }

.hc-btn--ghost {
  background: transparent;
  color: var(--muted);
  box-shadow: none;
  border: 1px solid var(--line);
}
.hc-btn--ghost:hover { color: var(--text); border-color: var(--violet); box-shadow: none; }

.hc-btn--honey { background: var(--grad-warm); color: #241503; box-shadow: 0 10px 26px -14px rgba(255, 180, 67, .9); }
.hc-btn--honey:hover { color: #241503; box-shadow: 0 18px 34px -16px rgba(255, 180, 67, .9); }

/* ============================================================
   4. ШАПКА
   ============================================================ */
.hc-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(15, 15, 26, .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.hc-header__in {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 66px;
}

.hc-logo { display: inline-flex; align-items: center; gap: 10px; color: var(--text); flex: none; }
.hc-logo:hover { color: var(--text); }
.hc-logo__icon { width: 30px; height: 30px; display: block; }
.hc-logo__icon svg { width: 100%; height: 100%; }
.hc-logo__text { font-family: var(--font-display); font-weight: 700; font-size: 18px; letter-spacing: -.02em; }
.hc-logo__text b { font-weight: 700; background: var(--grad-hot); -webkit-background-clip: text; background-clip: text; color: transparent; }

.hc-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; flex-wrap: wrap; }
.hc-nav a {
  color: var(--muted);
  font-size: 14.5px;
  font-weight: 500;
  padding: 7px 11px;
  border-radius: 999px;
  transition: color .16s ease, background .16s ease;
}
.hc-nav a:hover { color: var(--text); background: var(--surface-2); }

.hc-header__cta { flex: none; padding: 10px 18px; font-size: 14.5px; }

.hc-burger {
  display: none;
  width: 40px; height: 40px;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  padding: 8px;
}
.hc-burger svg { width: 100%; height: 100%; }

/* ============================================================
   5. ЛЕНТА: разделители, реплики, закреп, «печатает…»
   Это ядро дизайн-языка.
   ============================================================ */
.hc-section { padding: clamp(38px, 6vw, 62px) 0 0; }

/* Разделитель секции — как разделитель дат в мессенджере. */
.hc-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: clamp(40px, 6vw, 68px) 0 26px;
}
.hc-divider::before, .hc-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--line), transparent);
}
.hc-divider span {
  /* сжимаемая пилюля: при flex:none длинный заголовок секции вылезал за экран на узких ширинах */
  flex: 0 1 auto;
  min-width: 0;
  text-align: center;
  padding: 6px 16px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Закреплённое сообщение = TL;DR. Без цветной боковой полосы — она читается
   как самый узнаваемый признак шаблонной AI-вёрстки. */
.hc-pinned {
  position: relative;
  margin: 0 0 30px;
  padding: 20px 22px 20px;
  border-radius: var(--r-lg);
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    var(--grad-warm) border-box;
  border: 1px solid transparent;
  box-shadow: var(--shadow-soft);
}
.hc-pinned__head {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 9px;
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--honey);
}
.hc-pinned__head i, .hc-pinned__head svg { width: 15px; height: 15px; }
.hc-pinned p { font-size: 17.5px; color: var(--text); }

/* Ветка реплик */
.hc-thread { display: flex; flex-direction: column; gap: 12px; margin: 0 0 22px; }

.hc-msg { display: flex; }
.hc-msg--in  { justify-content: flex-start; }
.hc-msg--out { justify-content: flex-end; }

.hc-msg__bubble {
  position: relative;
  max-width: 78%;
  padding: 13px 18px;
  border-radius: var(--r-bubble);
  font-size: 16.5px;
  line-height: 1.6;
  box-shadow: var(--shadow-soft);
}
.hc-msg--in .hc-msg__bubble {
  background: var(--surface-2);
  border-bottom-left-radius: 6px;
  color: var(--text);
}
.hc-msg--out .hc-msg__bubble {
  background: var(--grad-hot);
  border-bottom-right-radius: 6px;
  color: #fff;
}
.hc-msg--out .hc-msg__bubble strong { color: #fff; }
.hc-msg--out .hc-msg__bubble a { color: #fff; text-decoration: underline; }

.hc-msg__meta {
  display: block;
  margin-top: 6px;
  font-size: 12.5px;
  opacity: .68;
}

/* «Печатает…» — перебивка между блоками */
.hc-typing { display: flex; align-items: center; gap: 10px; margin: 6px 0 22px; }
.hc-typing__dots {
  display: inline-flex;
  gap: 4px;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--surface-2);
}
.hc-typing__dots i {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--muted);
  animation: hcBlink 1.3s infinite ease-in-out;
}
.hc-typing__dots i:nth-child(2) { animation-delay: .18s; }
.hc-typing__dots i:nth-child(3) { animation-delay: .36s; }
@keyframes hcBlink { 0%, 60%, 100% { opacity: .3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
.hc-typing__label { font-size: 13.5px; color: var(--dim); }

/* ============================================================
   6. КАРТОЧКА «ОТ БОТА» — контейнер для таблиц и подборок
   ============================================================ */
.hc-card {
  margin: 0 0 24px;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--line-soft);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.hc-card__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 22px;
  border-bottom: 1px solid var(--line-soft);
  background: var(--surface-2);
}
.hc-card__ava {
  flex: none;
  width: 34px; height: 34px;
  display: grid;
  place-items: center;
  background: var(--grad-cool);
  color: #0F0F1A;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}
.hc-card__ava i, .hc-card__ava svg { width: 17px; height: 17px; }
.hc-card__title { margin: 0; font-size: clamp(18px, 2.2vw, 21px); }
.hc-card__body { padding: 22px; }
.hc-card__body > :last-child { margin-bottom: 0; }

.hc-card--accent { background: linear-gradient(160deg, rgba(168, 85, 247, .13), rgba(34, 211, 238, .08)), var(--surface); }
.hc-card--warn   { background: linear-gradient(160deg, rgba(255, 107, 157, .13), rgba(255, 180, 67, .07)), var(--surface); }

/* ============================================================
   7. ПЛИТКИ ФАКТОВ
   ============================================================ */
.hc-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  margin: 0 0 22px;
}
.hc-facts__item {
  padding: 16px 18px;
  border-radius: var(--r-md);
  background: var(--surface-2);
  border: 1px solid var(--line-soft);
}
.hc-facts__val {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(20px, 2.6vw, 26px);
  line-height: 1.15;
  background: var(--grad-warm);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hc-facts__key { display: block; margin-top: 5px; font-size: 13.5px; color: var(--muted); }

/* ============================================================
   8. ТАБЛИЦЫ — всегда со своим горизонтальным скроллом
   ============================================================ */
.hc-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 0 20px; border-radius: var(--r-md); }
.hc-table { width: 100%; border-collapse: collapse; font-size: 15.5px; min-width: 560px; }
.hc-table th, .hc-table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.hc-table th { font-family: var(--font-display); font-weight: 600; font-size: 13.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .03em; white-space: nowrap; }
.hc-table tbody tr:hover { background: rgba(168, 85, 247, .06); }
.hc-table td:first-child { color: #fff; font-weight: 500; }
.hc-table .is-yes { color: var(--cyan); font-weight: 600; }
.hc-table .is-no  { color: var(--dim); }

/* ============================================================
   9. ПЕРСОНАЖИ — портрет в соте
   ============================================================ */
.hc-chars {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: clamp(16px, 2.4vw, 26px);
  margin: 0 0 24px;
}
.hc-char { text-align: center; }
.hc-char__media {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1.06;
  margin: 0 auto 14px;
  background: var(--surface-2);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  transition: transform .22s ease;
}
.hc-char:hover .hc-char__media { transform: translateY(-4px) scale(1.02); }
/* Картинка лежит НАД заглушкой: абсолютно позиционированная заглушка иначе
   рисуется поверх загруженного портрета и просвечивает иконкой. */
.hc-char__media img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; }
.hc-char__media img.is-missing { opacity: 0; }
.hc-char__ph {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: grid;
  place-items: center;
  color: var(--dim);
}
.hc-char__ph i, .hc-char__ph svg { width: 34px; height: 34px; }
.hc-char__name { font-family: var(--font-display); font-weight: 700; font-size: 17px; display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; }
.hc-char__tag {
  font-family: var(--font-text);
  font-weight: 500;
  font-size: 11.5px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--honey);
  border: 1px solid rgba(255, 180, 67, .38);
  border-radius: 999px;
  padding: 2px 9px;
}
.hc-char__role { margin: 7px 0 0; font-size: 14.5px; color: var(--muted); line-height: 1.5; }

/* ============================================================
   10. FAQ — подан диалогом
   ============================================================ */
.hc-faq { display: flex; flex-direction: column; gap: 10px; margin: 0 0 24px; }
.hc-faq__item { border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line-soft); overflow: hidden; }
.hc-faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 20px;
  border: 0;
  background: transparent;
  color: var(--text);
  font-family: var(--font-text);
  font-weight: 600;
  font-size: 16.5px;
  line-height: 1.45;
  text-align: left;
  cursor: pointer;
}
.hc-faq__q i, .hc-faq__q svg { width: 19px; height: 19px; flex: none; color: var(--pink); transition: transform .22s ease; }
.hc-faq__q[aria-expanded="true"] i, .hc-faq__q[aria-expanded="true"] svg { transform: rotate(180deg); }
.hc-faq__a { display: none; padding: 0 20px 18px; }
.hc-faq__item.is-open .hc-faq__a { display: block; }
.hc-faq__a p { color: var(--muted); font-size: 16px; margin: 0; }

/* ============================================================
   11. HERO
   ============================================================ */
.hc-hero { position: relative; padding: clamp(30px, 3.4vw, 44px) 0 0; }
.hc-hero::after {
  content: '';
  position: absolute;
  top: -140px; left: 50%;
  width: min(880px, 120vw);
  height: 420px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(168, 85, 247, .3), transparent 68%);
  filter: blur(50px);
  z-index: -1;
  pointer-events: none;
}
.hc-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: clamp(24px, 4vw, 48px);
  /* start, а не center: демо-переписка высокая, и при центрировании текстовая колонка
     съезжала вниз вместе с кнопкой — на ноутбучных высотах CTA уходил за первый экран */
  align-items: start;
}
/* Лента демо не должна задавать высоту первого экрана: лишние реплики уезжают под скролл. */
.hc-demo__body { max-height: min(74vh, 700px); overflow-y: auto; }
.hc-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}
.hc-hero__eyebrow i, .hc-hero__eyebrow svg { width: 14px; height: 14px; color: var(--cyan); }
.hc-hero h1 { margin-bottom: 18px; }
.hc-hero h1 em { font-style: normal; background: var(--grad-warm); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hc-hero__lead { font-size: clamp(16.5px, 2vw, 19px); color: var(--muted); max-width: 46ch; }
.hc-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.hc-hero__note { margin-top: 14px; font-size: 13.5px; color: var(--dim); }

/* Демо-переписка на первом экране */
.hc-demo {
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-deep) 100%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lift);
  overflow: hidden;
}
.hc-demo__bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line-soft);
  background: var(--surface-2);
}
.hc-demo__ava {
  width: 30px; height: 30px;
  flex: none;
  background: var(--grad-warm);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}
.hc-demo__who { font-weight: 600; font-size: 15px; line-height: 1.2; }
.hc-demo__status { font-size: 12px; color: var(--cyan); }
.hc-demo__body { padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.hc-demo .hc-msg__bubble { max-width: 86%; font-size: 15.5px; padding: 11px 15px; }
.hc-demo__photo { padding: 5px; }
/* Кадр в переписке ведёт себя как фото в мессенджере: ограничен по высоте,
   иначе занимает весь первый экран и обрезается серединой. */
.hc-demo__photo img { border-radius: 14px; max-height: 250px; width: auto; }

/* ============================================================
   12. CTA
   ============================================================ */
.hc-cta {
  margin: clamp(44px, 6vw, 72px) 0 0;
  border-radius: var(--r-lg);
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    var(--grad-cool) border-box;
  border: 1px solid transparent;
  overflow: hidden;
}
.hc-cta__inner { padding: clamp(26px, 4vw, 42px); text-align: center; }
.hc-cta__title { margin-bottom: 12px; font-size: clamp(21px, 3vw, 30px); }
.hc-cta__text { color: var(--muted); max-width: 60ch; margin: 0 auto 22px; }

/* ============================================================
   13. ЧИТАЙТЕ ДАЛЬШЕ
   ============================================================ */
.hc-related { margin: clamp(44px, 6vw, 66px) 0 0; }
.hc-related h2 { font-size: clamp(20px, 2.6vw, 26px); margin-bottom: 18px; }
.hc-related__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; }
.hc-related__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 18px;
  border-radius: var(--r-md);
  background: var(--surface);
  border: 1px solid var(--line-soft);
  color: var(--text);
  font-weight: 500;
  font-size: 15.5px;
  transition: border-color .18s ease, transform .18s ease;
}
.hc-related__item:hover { color: var(--text); border-color: var(--violet); transform: translateY(-2px); }
.hc-related__item i, .hc-related__item svg { width: 17px; height: 17px; color: var(--muted); flex: none; }

/* ============================================================
   14. ХЛЕБНЫЕ КРОШКИ И ЗАГОЛОВОК СТРАНИЦЫ
   ============================================================ */
.hc-breadcrumb { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 22px 0 0; font-size: 13.5px; color: var(--dim); }
.hc-breadcrumb a { color: var(--muted); }
.hc-breadcrumb a:hover { color: var(--pink); }
.hc-breadcrumb__sep { color: var(--dim); }

.hc-pagehead { padding: 18px 0 6px; }
.hc-pagehead h1 { margin-bottom: 14px; }
.hc-pagehead__lead { font-size: clamp(16.5px, 2vw, 19px); color: var(--muted); max-width: 62ch; }

/* ============================================================
   15. ЗВЁЗДЫ
   ============================================================ */
.hc-stars { position: relative; display: inline-block; line-height: 0; vertical-align: middle; }
.hc-stars__row { display: inline-flex; gap: 2px; }
.hc-stars svg { width: 15px; height: 15px; fill: var(--line); }
.hc-stars__fill { position: absolute; inset: 0; overflow: hidden; white-space: nowrap; }
.hc-stars__fill svg { fill: var(--honey); }

/* ============================================================
   16. ПОДВАЛ
   ============================================================ */
.hc-footer {
  margin-top: clamp(56px, 8vw, 90px);
  padding: clamp(36px, 5vw, 56px) 0 28px;
  background: var(--bg-deep);
  border-top: 1px solid var(--line-soft);
}
.hc-footer__grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: clamp(20px, 3vw, 36px); }
.hc-footer h4 { font-size: 14px; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.hc-footer ul { list-style: none; margin: 0; padding: 0; }
.hc-footer li { margin-bottom: 9px; }
.hc-footer li a { color: var(--muted); font-size: 15px; }
.hc-footer li a:hover { color: var(--pink); }
.hc-footer__about { margin-top: 14px; max-width: 36ch; color: var(--muted); font-size: 15px; }
.hc-footer__bottom {
  margin-top: clamp(28px, 4vw, 42px);
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  justify-content: space-between;
  align-items: center;
}
.hc-footer__bottom p { margin: 0; font-size: 13.5px; color: var(--dim); max-width: 78ch; }

/* ============================================================
   17. ВОЗРАСТНАЯ ВСПЛЫВАШКА
   ============================================================ */
.hc-agegate { display: none; }
html.js:not(.age-ok) .hc-agegate {
  display: flex;
  position: fixed;
  inset: 0;
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(10, 10, 18, .93);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
html.js:not(.age-ok) body { overflow: hidden; }
.hc-agegate__card {
  width: 100%;
  max-width: 460px;
  padding: clamp(24px, 4vw, 34px);
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  text-align: center;
  box-shadow: var(--shadow-lift);
}
.hc-agegate__badge {
  display: inline-grid;
  place-items: center;
  width: 58px; height: 58px;
  margin-bottom: 16px;
  background: var(--grad-warm);
  color: #241503;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 17px;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}
.hc-agegate__card h2 { font-size: clamp(21px, 3vw, 26px); }
.hc-agegate__card p { color: var(--muted); font-size: 15.5px; }
.hc-agegate__row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 22px; }

/* ============================================================
   18. АДАПТИВ
   ============================================================ */
@media (max-width: 1000px) {
  .hc-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 880px) {
  .hc-hero__grid { grid-template-columns: 1fr; }
  .hc-hero__lead { max-width: none; }
}

@media (max-width: 820px) {
  .hc-burger { display: block; }
  .hc-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    margin: 0;
    padding: 12px 20px 18px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
  }
  .hc-nav.is-open { display: flex; }
  .hc-nav a { padding: 11px 12px; font-size: 16px; }
  .hc-header__in { position: relative; }
  /* CTA остаётся видимым на первом экране и НЕ прячется в бургер */
  .hc-header__cta { order: 3; padding: 9px 15px; font-size: 14px; }
  .hc-burger { order: 4; margin-left: 0; }
  .hc-logo { margin-right: auto; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .hc-msg__bubble { max-width: 88%; font-size: 15.5px; }
  .hc-chars { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
  .hc-card__body { padding: 18px; }
  .hc-card__head { padding: 14px 18px; }
  .hc-footer__grid { grid-template-columns: 1fr; }
  .hc-footer__bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 420px) {
  .hc-logo__text { font-size: 16px; }
  .hc-header__cta { padding: 8px 13px; font-size: 13.5px; }
  .hc-divider span { font-size: 11.5px; padding: 5px 12px; }
  .hc-chars { grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); }
}

/* ============================================================
   19. УТИЛИТЫ
   ============================================================ */
.hc-cols-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin: 0 0 22px; }
.hc-tile {
  padding: 20px;
  border-radius: var(--r-md);
  background: var(--surface);
  border: 1px solid var(--line-soft);
}
.hc-tile h3 { font-size: 18px; margin-bottom: 8px; display: flex; align-items: center; gap: 9px; }
.hc-tile h3 i, .hc-tile h3 svg { width: 19px; height: 19px; color: var(--honey); flex: none; }
.hc-tile p { color: var(--muted); font-size: 15.5px; margin: 0; }

.hc-steps { list-style: none; margin: 0 0 22px; padding: 0; counter-reset: hcstep; display: flex; flex-direction: column; gap: 14px; }
.hc-steps li {
  counter-increment: hcstep;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 16px;
  align-items: start;
  padding: 18px 20px;
  border-radius: var(--r-md);
  background: var(--surface);
  border: 1px solid var(--line-soft);
  margin: 0;
}
.hc-steps li::before {
  content: counter(hcstep);
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  background: var(--grad-cool);
  color: #0F0F1A;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}
.hc-steps h3 { font-size: 17.5px; margin-bottom: 6px; }
.hc-steps p { color: var(--muted); font-size: 15.5px; margin: 0; }

.hc-note {
  padding: 16px 20px;
  border-radius: var(--r-md);
  background: rgba(255, 180, 67, .09);
  border: 1px dashed rgba(255, 180, 67, .42);
  font-size: 15.5px;
  color: var(--text);
  margin: 0 0 22px;
}
.hc-note strong { color: var(--honey); }

.hc-warn {
  padding: 16px 20px;
  border-radius: var(--r-md);
  background: rgba(255, 107, 157, .1);
  border: 1px dashed rgba(255, 107, 157, .44);
  font-size: 15.5px;
  margin: 0 0 22px;
}
.hc-warn strong { color: var(--pink); }
