/* =========================================================
   Korolev Studio: дизайн-токены
   Единственный источник правды для цветов, шрифтов, размеров.
   Меняем значение здесь, и оно меняется на всём сайте.
   ========================================================= */
:root {
  /* ---- Цвет: 60% фон, 30% вторичный, 10% акцент ---- */
  --salt:        #F4F8F9;  /* основной фон: холодная «соль», не кремовый */
  --mist:        #E3F0F2;  /* вторичный фон: бледная лазурь для блоков */
  --white:       #FFFFFF;  /* карточки на фоне */
  --ink:         #0D2230;  /* основной текст: синие чернила */
  --ink-soft:    #3B5260;  /* вторичный текст, границы полей */

  --lazur:        #0A7C91; /* акцент: кнопки (белый текст 4.88:1) */
  --lazur-deep:   #065A6B; /* ссылки, наведение (на светлом 7.3:1) */
  --lazur-bright: #46CDDD; /* акцент на тёмном (8.6:1 на --night) */

  --night:          #0D2230; /* тёмные блоки */
  --on-night:       #EAF4F6; /* текст на тёмном (14.6:1) */
  --on-night-muted: #9DB6C0; /* вторичный текст на тёмном (7.7:1) */

  --err: #B3261E;          /* ошибка (на светлом 6.1:1), всегда с иконкой и текстом */
  --ok:  #1B6B3A;          /* успех, всегда с иконкой и текстом */

  --line:       rgba(13, 34, 48, .14);
  --line-night: rgba(234, 244, 246, .16);

  /* ---- Шрифты: оба с кириллицей и латиницей (oʻ, gʻ) ---- */
  --font-display: 'Unbounded', ui-sans-serif, system-ui, sans-serif; /* заголовки */
  --font-body:    'Onest', ui-sans-serif, system-ui, sans-serif;     /* текст */

  /* ---- Шкала размеров: 14 / 16 / 20 / 28 / 40 / 56 (на телефоне заголовки меньше) ---- */
  --fs-14: .875rem;
  --fs-16: 1rem;
  --fs-20: 1.25rem;
  --fs-28: clamp(1.375rem, 1.1rem + 1.2vw, 1.75rem);
  --fs-40: clamp(1.625rem, 1.1rem + 2.4vw, 2.5rem);
  --fs-56: clamp(1.875rem, 1rem + 4vw, 3.5rem);

  /* ---- Отступы: кратно 8 ---- */
  --s-1: 8px;  --s-2: 16px; --s-3: 24px; --s-4: 32px;
  --s-6: 48px; --s-8: 64px; --s-10: 80px; --s-15: 120px;
  --section-y: clamp(80px, 12vw, 160px); /* воздух между секциями: 48 на телефоне, до 96 на десктопе */

  /* ---- Скругления: размер зависит от роли элемента ---- */
  --r-sm: 10px;  /* поля ввода */
  --r-md: 14px;  /* кнопки */
  --r-lg: 20px;  /* карточки */
  --r-xl: 28px;  /* крупные панели */
  --r-pill: 999px;

  /* ---- Прочее ---- */
  --container: 1200px;
  --gutter: max(16px, 4vw); /* поля по бокам растут вместе с экраном */
  --shadow: 0 1px 2px rgba(13, 34, 48, .06), 0 12px 28px -14px rgba(13, 34, 48, .22);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --t: .2s var(--ease);
  --tap: 48px; /* минимальная высота нажимаемого элемента (норма 44) */
}

/* =========================================================
   Korolev Studio: базовые стили и компоненты
   Опирается на tokens.css
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; font-size: clamp(100%, .5vw + 9.6px, 108%); } /* 16px до 1280px, дальше плавно крупнее */
body {
  margin: 0; background: var(--salt); color: var(--ink);
  font: 400 var(--fs-16)/1.5 var(--font-body);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; letter-spacing: -.015em; margin: 0; text-wrap: balance; }
p, span, li { text-wrap: pretty; }
h1 { font-size: var(--fs-56); line-height: 1.1; }
h2 { font-size: var(--fs-40); line-height: 1.15; }
h3 { font-size: var(--fs-28); line-height: 1.2; }
h4 { font-size: var(--fs-20); line-height: 1.25; }
p { margin: 0; }
a { color: var(--lazur-deep); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
.on-night :focus-visible { outline-color: var(--lazur-bright); }
.container { width: 100%; max-width: none; margin-inline: auto; padding-inline: var(--gutter); } /* на всю ширину экрана */
.section { padding-block: var(--section-y); }
.lead { font-size: var(--fs-20); line-height: 1.5; color: var(--ink-soft); max-width: 60ch; }
.prose { max-width: 68ch; }
.muted { color: var(--ink-soft); }
.small { font-size: var(--fs-14); }
.stack > * + * { margin-top: var(--s-3); }
.stack-lg > * + * { margin-top: var(--s-6); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Подпись-метка секции: обычный текст, не капс ---------- */
.kicker { font-size: var(--fs-14); font-weight: 600; color: var(--lazur-deep); margin-bottom: var(--s-1); }

/* ---------- Зубцы крепостной стены: фирменная деталь ---------- */
.merlons { height: 14px; background: var(--night);
  -webkit-mask: linear-gradient(90deg, #000 0 16px, transparent 16px 32px) 0 0 / 32px 100%;
          mask: linear-gradient(90deg, #000 0 16px, transparent 16px 32px) 0 0 / 32px 100%; }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-1);
  min-height: var(--tap); padding: 0 var(--s-3); border-radius: var(--r-md);
  font: 600 var(--fs-16)/1 var(--font-body); text-decoration: none; cursor: pointer;
  border: 1.5px solid transparent;
  transition: background var(--t), color var(--t), border-color var(--t), transform var(--t);
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--lazur); color: var(--white); }
.btn-primary:hover { background: var(--lazur-deep); color: var(--white); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--mist); color: var(--ink); }
.btn-on-night { background: var(--lazur-bright); color: var(--ink); }
.btn-on-night:hover { background: var(--white); color: var(--ink); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-2); }

/* ---------- Шапка и язык ---------- */
.header { border-bottom: 1px solid var(--line); background: var(--salt); }
.header .container { display: flex; align-items: center; justify-content: space-between; gap: var(--s-2); min-height: 72px; }
.logo { min-height: 44px; display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: var(--font-display); font-weight: 600; font-size: 1.0625rem; letter-spacing: -.01em; }
.logo svg { width: 30px; height: 26px; fill: var(--lazur); }
.logo span { font-weight: 400; color: var(--ink-soft); }
.nav { display: none; gap: var(--s-3); }
.nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); text-decoration: none; font-weight: 500; padding: var(--s-1) 0; border-bottom: 2px solid transparent; }
.nav a:hover { border-color: var(--lazur); }
.nav a[aria-current="page"] { border-color: var(--lazur); }
@media (min-width: 900px) { .nav { display: flex; } }
.lang { display: inline-flex; border: 1.5px solid var(--ink-soft); border-radius: var(--r-pill); padding: 2px; }
.lang a { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: var(--r-pill); color: var(--ink); text-decoration: none; font-weight: 600; font-size: var(--fs-14); }
.lang a[aria-current="true"] { background: var(--ink); color: var(--white); }

/* ---------- Первый экран ---------- */
.hero { padding-block: clamp(40px, 7vw, 96px) var(--section-y); }
.hero h1 { max-width: 16ch; }
.hero .lead { margin-top: var(--s-3); }
.hero .btn-row { margin-top: var(--s-4); }
.facts { display: grid; gap: var(--s-2); margin-top: var(--s-6); padding: 0; list-style: none; }
.facts li { padding-left: var(--s-3); border-left: 3px solid var(--lazur); font-weight: 500; }
@media (min-width: 720px) { .facts { grid-template-columns: repeat(3, 1fr); gap: var(--s-4); } }

/* ---------- Карточки пакетов ---------- */
.packages { display: grid; gap: var(--s-3); }
@media (min-width: 900px) { .packages { grid-template-columns: repeat(3, 1fr); align-items: stretch; } }
.pkg { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s-4); box-shadow: var(--shadow); }
.pkg h3 { font-size: var(--fs-20); }
.pkg .price { font-family: var(--font-display); font-weight: 600; font-size: var(--fs-28); line-height: 1.15; margin-top: var(--s-2); }
.pkg .price small { display: block; font-family: var(--font-body); font-weight: 400; font-size: var(--fs-14); color: var(--ink-soft); margin-top: 4px; }
.pkg ul { list-style: none; padding: 0; margin: var(--s-3) 0; display: grid; gap: 12px; flex: 1; }
.pkg li { display: grid; grid-template-columns: 20px 1fr; gap: 12px; }
.pkg li svg { width: 20px; height: 20px; margin-top: 2px; fill: none; stroke: var(--lazur); stroke-width: 2.5; }
.pkg .term { font-size: var(--fs-14); color: var(--ink-soft); margin-bottom: var(--s-2); }
.pkg--main { background: var(--night); color: var(--on-night); border-color: var(--night); }
.pkg--main .price small, .pkg--main .term { color: var(--on-night-muted); }
.pkg--main li svg { stroke: var(--lazur-bright); }
.pkg .badge { align-self: flex-start; font-size: var(--fs-14); font-weight: 600; padding: 4px 12px; border-radius: var(--r-pill); background: var(--lazur-bright); color: var(--ink); margin-bottom: var(--s-2); }

/* ---------- Как работаем (это реальная последовательность) ---------- */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s-2); }
.steps li { counter-increment: step; display: grid; grid-template-columns: 48px 1fr; gap: var(--s-2); padding: var(--s-3); background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); }
.steps li::before { content: counter(step); width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--mist); color: var(--lazur-deep); font-family: var(--font-display); font-weight: 600; }
.steps strong { display: block; }
.steps .term { font-size: var(--fs-14); color: var(--ink-soft); }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(5, 1fr); } .steps li { grid-template-columns: 1fr; } }

/* ---------- Тёмный блок ---------- */
.on-night { background: var(--night); color: var(--on-night); }
.on-night .muted, .on-night .lead { color: var(--on-night-muted); }
.on-night .kicker { color: var(--lazur-bright); }
.on-night a { color: var(--lazur-bright); }
.reasons { display: grid; gap: var(--s-4); margin-top: var(--s-6); }
@media (min-width: 900px) { .reasons { grid-template-columns: repeat(3, 1fr); } }
.reasons h4 { margin-bottom: var(--s-1); }
.reasons p { color: var(--on-night-muted); }

/* ---------- Таблица цен ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white); }
table { border-collapse: collapse; width: 100%; min-width: 560px; }
caption { text-align: left; padding: var(--s-2) var(--s-3); font-weight: 600; }
th, td { text-align: left; padding: var(--s-2) var(--s-3); border-top: 1px solid var(--line); vertical-align: top; }
th { font-size: var(--fs-14); color: var(--ink-soft); font-weight: 600; }
td:last-child, th:last-child { text-align: right; white-space: nowrap; }

/* ---------- Форма ---------- */
.form { display: grid; gap: var(--s-3); max-width: 520px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; }
.field input[type="text"], .field input[type="tel"], .field select, .field textarea {
  width: 100%; min-height: var(--tap); padding: 12px 16px; border: 1.5px solid var(--ink-soft); border-radius: var(--r-sm);
  background: var(--white); color: var(--ink); font: inherit; transition: border-color var(--t), box-shadow var(--t);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:hover, .field textarea:hover { border-color: var(--ink); }
.field input:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; border-color: var(--ink); }
.field .hint { font-size: var(--fs-14); color: var(--ink-soft); margin-top: 6px; }
.field.has-error input { border-color: var(--err); border-width: 2px; }
.msg { display: flex; gap: 8px; align-items: flex-start; font-size: var(--fs-14); margin-top: 6px; font-weight: 500; }
.msg svg { width: 18px; height: 18px; flex: none; margin-top: 1px; }
.msg.err { color: var(--err); }
.msg.ok { color: var(--ok); }
.check { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; font-size: var(--fs-14); }
.check input { width: 24px; height: 24px; accent-color: var(--lazur); margin: 0; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; min-height: 56px; display: flex; align-items: center; justify-content: space-between; gap: var(--s-2); padding: var(--s-2) 0; font-weight: 600; font-size: var(--fs-20); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 12px; height: 12px; flex: none; border-right: 2.5px solid var(--lazur-deep); border-bottom: 2.5px solid var(--lazur-deep); transform: rotate(45deg) translateY(-3px); transition: transform var(--t); }
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq details > div { padding: 0 0 var(--s-3); max-width: 68ch; color: var(--ink-soft); }

/* ---------- Закреплённая панель связи на телефоне ---------- */
.dock { display: flex; gap: var(--s-1); padding: var(--s-1); background: var(--white); border-top: 1px solid var(--line); }
.dock .btn { flex: 1; }

/* ---------- Только страница-образец ---------- */
.swatches { display: grid; gap: var(--s-2); grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.sw { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: var(--white); }
.sw i { display: block; height: 72px; }
.sw div { padding: 12px 16px; font-size: var(--fs-14); }
.sw b { display: block; font-size: var(--fs-16); }
.spec { display: grid; gap: var(--s-3); grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-xl); padding: var(--s-4); }
.scale > div { display: grid; grid-template-columns: 72px 1fr; align-items: baseline; gap: var(--s-2); padding: 10px 0; border-bottom: 1px solid var(--line); }
.scale code { font-size: var(--fs-14); color: var(--ink-soft); }
.states { display: flex; flex-wrap: wrap; gap: var(--s-2); align-items: center; }
.demo-label { font-size: var(--fs-14); color: var(--ink-soft); margin-bottom: var(--s-1); }
.phone { max-width: 360px; border: 1.5px solid var(--ink-soft); border-radius: var(--r-xl); overflow: hidden; background: var(--salt); }
.phone .body { padding: var(--s-3); min-height: 120px; }
.footer { padding-block: var(--s-6) var(--s-4); }
.footer .row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-3); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* =========================================================
   Korolev Studio: стили страниц сайта (поверх tokens.css и ds.css)
   ========================================================= */

/* ---------- Доступность ---------- */
.skip { position: absolute; left: var(--s-2); top: -100px; z-index: 100; background: var(--ink); color: var(--white); padding: 12px 16px; border-radius: var(--r-sm); }
.skip:focus { top: var(--s-1); }

/* ---------- Шапка: мобильное меню ---------- */
.header { position: relative; z-index: 20; }
.header-tools { display: flex; align-items: center; gap: var(--s-1); }
.menu-btn { width: var(--tap); height: var(--tap); display: inline-grid; place-items: center; background: transparent; border: 1.5px solid var(--ink-soft); border-radius: var(--r-md); color: var(--ink); cursor: pointer; }
.menu-btn svg { width: 24px; height: 24px; }
.menu-btn:hover { background: var(--mist); }
@media (max-width: 899px) {
  .nav { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; padding: var(--s-1) var(--gutter) var(--s-3); background: var(--salt); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); display: none; }
  .header.is-open .nav { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: var(--fs-20); }
}
@media (min-width: 900px) { .menu-btn { display: none; } }

/* ---------- Первый экран ---------- */
.hero h1 { max-width: 18ch; }
.hero-meta { margin-top: var(--s-3); }

/* ---------- Заголовок секции ---------- */
.section-head { max-width: 62ch; }
.section-head .lead { margin-top: var(--s-2); }
.more { margin-top: var(--s-4); }
.bg-mist { background: var(--mist); }

/* ---------- Портфолио ---------- */
.case { display: grid; gap: var(--s-4); background: var(--white); border: 1px solid var(--line); border-radius: var(--r-xl); padding: var(--s-4); box-shadow: var(--shadow); }
@media (min-width: 900px) { .case { grid-template-columns: 5fr 7fr; padding: var(--s-6); gap: var(--s-6); } }
.case-side { border-radius: var(--r-lg); background: var(--night); color: var(--on-night); padding: var(--s-4); display: flex; flex-direction: column; justify-content: space-between; gap: var(--s-4); min-height: 220px; }
.case-side .name { font-family: var(--font-display); font-weight: 600; font-size: var(--fs-28); line-height: 1.15; }
.case-side p { color: var(--on-night-muted); }
.case-side a { color: var(--lazur-bright); font-weight: 600; }
.case ul { list-style: none; padding: 0; margin: var(--s-3) 0 0; display: grid; gap: 12px; }
.case li { display: grid; grid-template-columns: 20px 1fr; gap: 12px; }
.case li svg { width: 20px; height: 20px; margin-top: 2px; fill: none; stroke: var(--lazur); stroke-width: 2.5; }
.note { font-size: var(--fs-14); color: var(--ink-soft); margin-top: var(--s-3); }

/* ---------- Подбор пакета ---------- */
.calc { display: grid; gap: var(--s-4); background: var(--white); border: 1px solid var(--line); border-radius: var(--r-xl); padding: var(--s-4); box-shadow: var(--shadow); }
@media (min-width: 900px) { .calc { grid-template-columns: 1fr 1fr; padding: var(--s-6); gap: var(--s-6); } }
.calc fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.calc fieldset + fieldset { margin-top: var(--s-3); }
.calc legend { font-weight: 600; font-size: var(--fs-20); margin-bottom: var(--s-2); padding: 0; }
.opt { display: block; position: relative; margin-bottom: 8px; }
.opt input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.opt span { display: flex; align-items: center; min-height: var(--tap); padding: 10px 16px; border: 1.5px solid var(--ink-soft); border-radius: var(--r-md); background: var(--salt); transition: background var(--t), border-color var(--t); }
.opt:hover span { border-color: var(--ink); }
.opt input:checked + span { background: var(--mist); border-color: var(--lazur-deep); box-shadow: inset 0 0 0 1px var(--lazur-deep); font-weight: 600; }
.opt input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 2px; }
.calc-result { border-radius: var(--r-lg); background: var(--mist); padding: var(--s-4); align-self: start; min-height: 220px; }
.calc-result .big { font-family: var(--font-display); font-weight: 600; font-size: var(--fs-28); line-height: 1.15; margin-top: 4px; }
.calc-result .res-price { font-size: var(--fs-20); font-weight: 600; margin-top: var(--s-2); }
.calc-result .res-note { margin-top: var(--s-2); color: var(--ink-soft); }
.calc-result .btn-row { margin-top: var(--s-3); }

/* ---------- Заявка ---------- */
.cta-grid { display: grid; gap: var(--s-6); align-items: start; }
@media (min-width: 900px) { .cta-grid { grid-template-columns: 5fr 6fr; gap: var(--s-8); } }
.cta-grid .form { max-width: none; }
.contact-list { list-style: none; padding: 0; margin: var(--s-4) 0 0; display: grid; gap: 12px; }
.contact-list a { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; text-decoration: none; min-height: 44px; }
.contact-list svg { width: 22px; height: 22px; color: var(--lazur); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Подвал ---------- */
.footer-grid { display: grid; gap: var(--s-4); }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: var(--s-6); } }
.footer-title { font-weight: 600; margin-bottom: var(--s-2); }
.footer-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.footer-list a, .footer-list li { display: inline-block; padding: 6px 0; text-decoration: none; color: var(--on-night); }
.footer-list a:hover { color: var(--lazur-bright); text-decoration: underline; }
.footer-copy { margin-top: var(--s-6); padding-top: var(--s-3); border-top: 1px solid var(--line-night); }
.footer .logo svg { width: 30px; height: 26px; }

.footer-copy a { display: inline-block; padding: 14px 0; }

/* =========================================================
   Тёмный первый экран: огромное название, линии-стена, шапка-«таблетка»
   ========================================================= */
.header-cta { display: none; min-height: 44px; padding-block: 0; padding-inline: 1.25rem; font-size: var(--fs-14); }
.header--dark { position: fixed; top: 12px; left: 12px; right: 12px; border: 1px solid var(--line-night); border-radius: 24px; background: rgba(13, 34, 48, .72); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.header--dark .container { padding-inline: 20px; min-height: 68px; }
.header--dark .logo, .header--dark .nav a { color: var(--on-night); }
.header--dark .logo svg { fill: var(--lazur-bright); }
.header--dark .logo span { color: var(--on-night-muted); }
.header--dark .nav a:hover, .header--dark .nav a[aria-current="page"] { border-color: var(--lazur-bright); }
.header--dark .lang { border-color: var(--line-night); }
.header--dark .lang a { color: var(--on-night); }
.header--dark .lang a[aria-current="true"] { background: var(--lazur-bright); color: var(--ink); }
.header--dark .menu-btn { color: var(--on-night); border-color: var(--line-night); }
.header--dark .menu-btn:hover { background: rgba(234, 244, 246, .1); }
@media (min-width: 900px) { .header-cta { display: inline-flex; } .header--dark .header-tools { gap: var(--s-2); } }
@media (max-width: 899px) {
  .header--dark .nav { top: calc(100% + 8px); border: 1px solid var(--line-night); border-radius: 20px; background: rgba(13, 34, 48, .96); box-shadow: none; }
  .header--dark .nav a { border-bottom-color: var(--line-night); }
}

.hero-dark { --pw: min(calc((100svh - 100px) * 1.12 * .642), 46vw); position: relative; overflow: hidden; min-height: 100svh; color: var(--on-night); background: radial-gradient(120% 90% at 78% 8%, #14405a 0%, var(--night) 55%, #08161f 100%); }
.hd-ring { position: absolute; width: min(70vw, 118svh); aspect-ratio: 1; right: -8vw; top: 50%; transform: translateY(-46%); border: 16px solid var(--lazur); border-radius: 50%; opacity: .85; pointer-events: none; }
.hd-wall { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; height: 52px; pointer-events: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='52' viewBox='0 0 96 52'%3E%3Cpath d='M0 52V26H22V0H62V26H96V52Z' fill='%2346CDDD'/%3E%3C/svg%3E") repeat-x left bottom / 96px 52px; }
.hd-glow { position: absolute; right: calc(var(--pw) * -.15); bottom: 0; width: calc(var(--pw) * 2); aspect-ratio: 1; transform: translateY(35%); background: radial-gradient(closest-side, rgba(70, 205, 221, .34), rgba(70, 205, 221, 0)); filter: blur(30px); pointer-events: none; }
.hd-photo { position: absolute; z-index: 2; right: clamp(0px, 2vw, 80px); top: 96px; width: var(--pw); height: auto; display: block; }
.hd-inner { position: absolute; z-index: 1; left: var(--gutter); top: calc(96px + var(--pw) * .719); transform: translateY(-52%); width: min(calc(100% - var(--pw) - 4vw - var(--gutter)), 46vw); }
.hd-title { margin: 0; line-height: 0; }
.hd-word { display: block; width: 100%; height: auto; overflow: visible; }
.hd-word text { font-family: var(--font-display); font-weight: 600; font-size: 128px; }
.hd-word .w1 { fill: var(--on-night); }
.hd-word .w2 { fill: var(--lazur-bright); }
.hd-sub { margin: var(--s-2) 0 0; font-size: var(--fs-14); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--on-night-muted); }
.hd-list { position: absolute; z-index: 4; left: var(--gutter); bottom: 78px; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: auto auto; gap: 8px 28px; font-family: var(--font-display); font-weight: 500; font-size: clamp(.8125rem, .5vw + .6rem, 1.125rem); }
.hd-list li { display: flex; align-items: center; gap: 10px; }
.hd-list i { width: 10px; height: 10px; flex: none; background: var(--lazur-bright); clip-path: polygon(0 0, 30% 0, 30% 30%, 70% 30%, 70% 0, 100% 0, 100% 100%, 0 100%); }
@media (max-width: 719px) {
  .hero-dark { --pw: min(90vw, 40svh); min-height: 100svh; }
  .hd-inner { top: 94px; transform: none; width: calc(100% - 2 * var(--gutter)); }
  .hd-photo { right: 50%; transform: translateX(50%); top: auto; bottom: 0; }
  .hd-ring { width: 120vw; right: -30vw; top: auto; bottom: 8%; transform: none; }
  .hd-list { display: none; }
  .hd-sub { font-size: .75rem; }
}

@media (min-width: 720px) and (max-height: 899px) { .hd-list { display: none; } }

/* Подпись под «WEB STUDIO»: обычным регистром, крупнее */
.hd-sub { margin-top: var(--s-3); font-size: clamp(1.0625rem, .5vw + .85rem, 1.75rem); font-weight: 500; letter-spacing: 0; text-transform: none; line-height: 1.3; color: var(--on-night); max-width: 22ch; }
@media (max-width: 719px) { .hd-sub { font-size: 1rem; max-width: none; margin-top: var(--s-2); } }

/* круг убран по просьбе */
.hd-ring { display: none; }

/* WEB STUDIO в одну строку по центру, позади фото */
.hd-inner { left: var(--gutter); width: calc(100% - 2 * var(--gutter)); text-align: center; }
.hd-sub { margin-inline: auto; max-width: none; text-align: center; }
@media (max-width: 719px) { .hd-inner { transform: none; } }
@media (min-width: 720px) {
  .hd-inner { z-index: 4; top: 54%; transform: translateY(-50%); }
  .hd-sub { text-shadow: 0 2px 18px rgba(5,18,27,.85); }
}
/* без кольца; надпись за фото */
.hd-ring { display: none; }
@media (min-width: 720px) { .hd-inner { z-index: 1; } }


/* «O» в STUDIO читается: надпись заканчивается у плеча, а не прячется целиком за фото */
@media (min-width: 720px) {
  .hd-inner { width: calc(100% - 2vw - var(--pw) * .5 - 2 * var(--gutter)); }
}

/* надпись приподнята: нижний край букв над кончиком пальца */
@media (min-width: 720px) { .hd-word { transform: translateY(calc(var(--pw) * -.1)); } }
@media (min-width: 720px) { .hd-sub { transform: translateY(calc(var(--pw) * -.03)); } }

/* ещё на ~1 см выше; подпись прямо под надписью, по её центру */
@media (min-width: 720px) {
  .hd-word { transform: translateY(calc(var(--pw) * -.175)); }
  .hd-sub { transform: translateY(calc(var(--pw) * -.205)); }
}

/* ===== Герой v3: WEB STUDIO внизу, на всю ширину, поверх фото; слева заголовок, на который я указываю ===== */
.hd-inner, .hd-sub, .hd-list { display: none; }
.hx-word { position: absolute; z-index: 4; left: var(--gutter); right: var(--gutter); bottom: 54px; margin: 0; line-height: 0; }
.hx-word svg { width: 100%; height: auto; display: block; }
.hx-word text { font-family: var(--font-display); font-weight: 600; font-size: 128px; }
.hx-word .w1 { fill: var(--on-night); }
.hx-word .w2 { fill: var(--lazur-bright); }
.hx-copy { position: absolute; z-index: 5; left: var(--gutter); top: calc(96px + var(--pw) * .719 - 60px); transform: translateY(-50%); width: min(calc(100% - var(--pw) - 2vw - 2 * var(--gutter) - 3vw), 46vw); }
.hx-kicker { margin: 0 0 var(--s-3); color: var(--lazur-bright); font-size: .875rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.hx-title { margin: 0; color: var(--on-night); font-weight: 600; font-size: clamp(1.6rem, 2.9vw, 3.25rem); line-height: 1.1; letter-spacing: -.01em; text-wrap: balance; }
.hx-text { margin: 18px 0 0; color: rgba(236,246,250,.78); font-size: clamp(1rem, .5vw + .85rem, 1.25rem); line-height: 1.45; max-width: 36em; }
.hx-btns { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: 28px; }
.hx-ghost { background: transparent; color: var(--on-night); border: 1.5px solid rgba(236,246,250,.45); }
.hx-ghost:hover { border-color: var(--lazur-bright); color: var(--lazur-bright); }
.hx-ghost svg { width: 1.15em; height: 1.15em; margin-right: .5em; fill: currentColor; }
@media (max-width: 719px) {
  .hero-dark { --pw: min(76vw, 30svh); }
  .hx-copy { top: 104px; transform: none; width: auto; right: var(--gutter); }
  .hx-kicker { display: none; }
  .hx-title { font-size: 1.5rem; }
  .hx-text { font-size: .9375rem; margin-top: var(--s-3); }
  .hx-btns { margin-top: var(--s-4); }
  .hx-btns .btn { flex: 1 1 100%; justify-content: center; }
  .hx-word { bottom: 62px; }
}

/* блок слева: крупнее заголовок и ровно посередине между меню и «WEB STUDIO» */
@media (min-width: 720px) {
  .hx-copy { top: calc((84px + 100svh - 54px - (100vw - 2 * var(--gutter)) * .118) / 2); transform: translateY(-50%); }
  .hx-title { font-size: clamp(2rem, 4.2vw, 5rem); }
}

/* без зубчатой полосы; кнопки крупнее */
.hd-wall { display: none; }
.hx-word { bottom: 30px; }
.hx-btns .btn { min-height: 3.5rem; padding: 0 2rem; font-size: 1.125rem; border-radius: 14px; }
@media (min-width: 720px) {
  .hx-copy { top: calc((84px + 100svh - 30px - (100vw - 2 * var(--gutter)) * .118) / 2); }
  .hx-btns .btn { min-height: 3.75rem; padding: 0 2.25rem; font-size: clamp(1.0625rem, .35vw + .95rem, 1.375rem); }
}
@media (max-width: 719px) { .hx-word { bottom: 28px; } .hx-btns .btn { min-height: 3.5rem; } }

/* я левее и крупнее, голова уходит под верхнюю плашку; описание в две строки */
@media (min-width: 720px) {
  .hero-dark { --pw: min(calc((100svh - 40px) * 1.18 * .642), 48vw); }
  .hd-photo { top: 44px; right: clamp(40px, 6vw, 170px); }
  .hx-copy { width: min(calc(100% - var(--pw) - 6vw - 2 * var(--gutter) - 2vw), 52vw); }
}
@media (min-width: 720px) {
  .hx-btns { gap: 12px; flex-wrap: nowrap; }
  .hx-btns .btn { min-height: clamp(3.25rem, 3.6vw, 3.75rem); padding: 0 clamp(1.25rem, 1.8vw, 2.25rem); font-size: clamp(1rem, 1.1vw, 1.375rem); white-space: nowrap; }
}

/* верхняя плашка убрана: меню лежит прямо на экране, логотип по левому краю текста */
.header--dark { position: absolute; top: 0; left: 0; right: 0; border: 0; border-radius: 0; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.header--dark .container { max-width: none; padding-inline: var(--gutter); min-height: 84px; }

/* ===== Плавающее меню-«док»: всегда на экране, раскрывается по наведению ===== */
.header--dark .nav, .header--dark .menu-btn, .header--dark .header-cta { display: none !important; }
.dock { width: max-content; max-width: calc(100vw - 24px); position: fixed; z-index: 60; top: max(16px, env(safe-area-inset-top, 0px)); left: 50%; translate: -50% 0; display: flex; align-items: center; padding: 7px; border-radius: 999px; background: rgba(8, 24, 35, .95); -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3); border: 1px solid rgba(70, 205, 221, .4); box-shadow: 0 14px 44px rgba(0, 0, 0, .4), 0 0 38px rgba(70, 205, 221, .18); color: var(--on-night); transition: box-shadow .4s, border-color .4s; }
.dock:hover, .dock.is-open { border-color: rgba(70, 205, 221, .8); box-shadow: 0 16px 50px rgba(0, 0, 0, .45), 0 0 52px rgba(70, 205, 221, .32); }
.dock-toggle { display: inline-flex; align-items: center; gap: 12px; height: 50px; padding: 0 16px 0 5px; background: none; border: 0; color: inherit; font: 600 1.0625rem/1 var(--font-body); cursor: pointer; border-radius: 999px; }
.dock-mark { position: relative; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(135deg, #7fe6f0, var(--lazur-bright) 55%, #2aa9bd); color: var(--ink); }
.dock-mark svg { width: 22px; height: 19px; fill: currentColor; }
.dock-mark::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1.5px solid rgba(70, 205, 221, .6); animation: dock-pulse 2.6s ease-out infinite; }
@keyframes dock-pulse { 0% { transform: scale(.85); opacity: .9; } 100% { transform: scale(1.35); opacity: 0; } }
.dock-chev { width: 16px; height: 16px; opacity: .7; transition: transform .45s cubic-bezier(.7, 0, .2, 1); }
.dock.is-open .dock-chev { transform: rotate(180deg); }
.dock-links { display: grid; grid-template-columns: 0fr; transition: grid-template-columns .55s cubic-bezier(.7, 0, .2, 1); }
.dock.is-open .dock-links { grid-template-columns: 1fr; }
.dock-inner { min-width: 0; overflow: hidden; display: flex; align-items: center; gap: 4px; white-space: nowrap; opacity: 0; transition: opacity .3s; }
.dock.is-open .dock-inner { opacity: 1; transition: opacity .4s .15s; }
.dock-inner a { padding: 12px 16px; border-radius: 999px; color: rgba(236, 246, 250, .78); font-weight: 500; font-size: 1rem; text-decoration: none; transition: background .25s, color .25s; }
.dock-inner a:hover, .dock-inner a:focus-visible { color: #fff; background: rgba(255, 255, 255, .1); }
.dock-inner a[aria-current="page"] { color: var(--lazur-bright); }
.dock-inner .dock-cta { margin-left: 6px; background: var(--lazur-bright); color: var(--ink); font-weight: 600; }
.dock-inner .dock-cta:hover, .dock-inner .dock-cta:focus-visible { background: #7fe6f0; color: var(--ink); }
.dock-lang { display: none; }
@media (max-width: 1099px) {
  .dock-inner a { padding: 12px 11px; font-size: .9375rem; }
}
@media (max-width: 899px) {
  .dock { width: auto; top: max(12px, env(safe-area-inset-top, 0px)); left: auto; right: max(12px, env(safe-area-inset-right, 0px)); translate: none; flex-direction: column; align-items: stretch; border-radius: 28px; }
  .dock-toggle { justify-content: flex-end; height: 46px; padding: 0 14px 0 4px; }
  .dock-mark { width: 38px; height: 38px; }
  .dock-links { grid-template-columns: none; grid-template-rows: 0fr; transition: grid-template-rows .5s cubic-bezier(.7, 0, .2, 1); }
  .dock.is-open .dock-links { grid-template-columns: none; grid-template-rows: 1fr; }
  .dock-inner { flex-direction: column; align-items: stretch; gap: 2px; padding-top: 6px; }
  .dock-inner a { padding: 14px 16px; font-size: 1.0625rem; }
  .dock-inner .dock-cta { margin: 6px 0 0; text-align: center; }
  .dock-lang { display: flex; gap: 6px; padding: 10px 6px 4px; }
  .dock-lang a { padding: 8px 14px; border: 1px solid var(--line-night); }
  .dock-lang a[aria-current="true"] { background: var(--lazur-bright); color: var(--ink); border-color: var(--lazur-bright); }
  .header--dark .header-tools .lang { display: none; }
}
@media (prefers-reduced-motion: reduce) { .dock-mark::after { animation: none; } .dock-links, .dock-inner { transition-duration: .01s; } }


/* ===== Меню внутри буквы «U»: ровный круг по центру «чаши» буквы, панель раскручивается из круга ===== */
@media (min-width: 900px) {
  .dock--in-o { --orb: 72px; box-sizing: border-box; display: block; width: var(--orb); height: var(--orb); padding: 0; border-radius: 50%; right: auto; bottom: auto; translate: -50% -50%; border: 1.5px solid rgba(70, 205, 221, .6); background: radial-gradient(circle at 50% 35%, #123349, #081823 70%); animation: dock-blink 2.6s ease-in-out infinite; }
  .dock--in-o.is-open, .dock--in-o:hover { animation: none; }
  .dock--in-o .dock-toggle { box-sizing: border-box; width: 100%; height: 100%; padding: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: calc(var(--orb) * .06); border-radius: 50%; }
  .dock--in-o .dock-mark { width: calc(var(--orb) * .4); height: calc(var(--orb) * .4); }
  .dock--in-o .dock-mark::after { display: none; }
  .dock--in-o .dock-mark svg { width: 60%; height: auto; }
  .dock--in-o .dock-label { font-size: max(.5rem, calc(var(--orb) * .14)); letter-spacing: .1em; text-transform: uppercase; line-height: 1; }
  .dock--in-o .dock-chev { display: none; }
  .dock--in-o .dock-links { --gap: 14px; position: absolute; left: 50%; bottom: calc(100% + var(--gap)); width: 264px; display: block; grid-template-columns: none; translate: -50% 0; transform-origin: 50% calc(100% + var(--gap) + var(--orb) / 2); background: rgba(8, 24, 35, .98); border: 1px solid rgba(70, 205, 221, .45); border-radius: 26px; box-shadow: 0 18px 50px rgba(0, 0, 0, .5), 0 0 40px rgba(70, 205, 221, .16); clip-path: circle(0px at 50% calc(100% + var(--gap) + var(--orb) / 2)); transform: rotate(-16deg) scale(.55); visibility: hidden; pointer-events: none; transition: clip-path .7s cubic-bezier(.3, .7, .2, 1), transform .7s cubic-bezier(.3, .7, .2, 1), visibility 0s .7s; }
  .dock--in-o.dock--down .dock-links { bottom: auto; top: calc(100% + var(--gap)); transform-origin: 50% calc(0% - var(--gap) - var(--orb) / 2); clip-path: circle(0px at 50% calc(0% - var(--gap) - var(--orb) / 2)); }
  .dock--in-o .dock-links::after { content: ""; position: absolute; left: 0; right: 0; height: calc(var(--gap) + 6px); bottom: calc(-1 * var(--gap) - 6px); }
  .dock--in-o.dock--down .dock-links::after { bottom: auto; top: calc(-1 * var(--gap) - 6px); }
  .dock--in-o.is-open .dock-links { clip-path: circle(700px at 50% calc(100% + var(--gap) + var(--orb) / 2)); transform: none; visibility: visible; pointer-events: auto; transition: clip-path .7s cubic-bezier(.3, .7, .2, 1), transform .7s cubic-bezier(.3, .7, .2, 1), visibility 0s; }
  .dock--in-o.dock--down.is-open .dock-links { clip-path: circle(700px at 50% calc(0% - var(--gap) - var(--orb) / 2)); }
  .dock--in-o .dock-inner { display: flex; flex-direction: column; align-items: stretch; gap: 2px; padding: 10px; opacity: 1; overflow: visible; }
  .dock--in-o .dock-inner a { padding: 13px 16px; font-size: 1.0625rem; line-height: 1.2; opacity: 0; translate: 0 8px; transition: opacity .3s, translate .3s, background .25s, color .25s; }
  .dock--in-o.is-open .dock-inner a { opacity: 1; translate: 0 0; transition: opacity .4s calc(.2s + var(--i, 0) * .05s), translate .4s calc(.2s + var(--i, 0) * .05s), background .25s, color .25s; }
  .dock--in-o .dock-inner a:nth-child(2) { --i: 1; } .dock--in-o .dock-inner a:nth-child(3) { --i: 2; } .dock--in-o .dock-inner a:nth-child(4) { --i: 3; } .dock--in-o .dock-inner a:nth-child(5) { --i: 4; } .dock--in-o .dock-inner a:nth-child(6) { --i: 5; }
  .dock--in-o .dock-inner .dock-cta { margin: 6px 0 0; text-align: center; padding: 14px 18px; }
}
@keyframes dock-blink { 0%, 100% { box-shadow: 0 8px 26px rgba(0,0,0,.45), 0 0 0 0 rgba(70,205,221,.5); } 50% { box-shadow: 0 8px 26px rgba(0,0,0,.45), 0 0 0 9px rgba(70,205,221,0); } }
@media (prefers-reduced-motion: reduce) { .dock--in-o { animation: none; } }

/* заголовок крупнее и заглавными */
.hx-title { text-transform: uppercase; letter-spacing: 0; line-height: 1.05; font-weight: 700; }
@media (min-width: 720px) {
  .hero-dark { --fixed: 215px; }
  .hx-copy { width: min(54vw, calc(100% - 2 * var(--gutter))); }
  .hx-title { width: auto; font-size: clamp(1.75rem, min(4.2vw, calc((100svh - 114px - (100vw - 2 * var(--gutter)) * .14 - var(--fixed)) / 3.2)), 5.5rem); }
}
@media (max-width: 719px) { .hx-title { font-size: 1.625rem; } }

/* ===== Меню закреплено в правом нижнем углу сетки и раскрывается влево ===== */
@media (min-width: 900px) {
  .dock { top: auto; bottom: max(22px, env(safe-area-inset-bottom, 0px)); left: auto; right: var(--gutter); translate: none; flex-direction: row-reverse; }
  .dock-open .header--dark .logo { opacity: 1; }
}

/* ===== Круглое меню: только слово «Меню» в кружке, мигает; раскрывается влево и вверх ===== */
.dock-mark, .dock-chev { display: none !important; }
.dock-up { display: none; }
.dock-toggle { box-sizing: border-box; width: 76px; height: 76px; padding: 0; justify-content: center; gap: 0; border-radius: 50%; background: radial-gradient(circle at 50% 30%, #153a52, #081823 72%); border: 1.5px solid rgba(70, 205, 221, .65); animation: dock-ring 2.4s ease-in-out infinite; }
.dock-label { font-size: .8125rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.dock.is-open .dock-toggle, .dock-toggle:hover { animation: none; border-color: var(--lazur-bright); box-shadow: 0 0 30px rgba(70, 205, 221, .35); }
@keyframes dock-ring { 0%, 100% { box-shadow: 0 8px 26px rgba(0,0,0,.45), 0 0 0 0 rgba(70,205,221,.55); } 50% { box-shadow: 0 8px 26px rgba(0,0,0,.45), 0 0 0 12px rgba(70,205,221,0); } }
@media (prefers-reduced-motion: reduce) { .dock-toggle { animation: none; } }
@media (min-width: 900px) {
  .dock { padding: 0; background: none; border: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; gap: 12px; }
  .dock:hover, .dock.is-open { box-shadow: none; border: 0; }
  .dock-inner { background: rgba(8, 24, 35, .96); border: 1px solid rgba(70, 205, 221, .5); border-radius: 999px; padding: 6px; box-shadow: 0 14px 44px rgba(0,0,0,.4); }
  .dock-inner .dock-cta { display: none; }
  .dock-up { display: block; position: absolute; right: 0; bottom: calc(100% + 14px); padding: 15px 24px; border-radius: 999px; background: var(--lazur-bright); color: var(--ink); font-weight: 600; font-size: 1rem; text-decoration: none; white-space: nowrap; box-shadow: 0 14px 40px rgba(0,0,0,.4), 0 0 30px rgba(70,205,221,.3); opacity: 0; transform: translateY(14px) scale(.6); transform-origin: 100% 100%; pointer-events: none; transition: opacity .3s, transform .5s cubic-bezier(.3, .7, .2, 1); }
  .dock-up::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 16px; }
  .dock.is-open .dock-up { opacity: 1; transform: none; pointer-events: auto; transition-delay: .12s; }
  .dock-up:hover, .dock-up:focus-visible { background: #7fe6f0; }
}
@media (max-width: 899px) { .dock-toggle { width: 60px; height: 60px; align-self: flex-end; } .dock-label { font-size: .6875rem; } }

/* ===== Меню по центру внизу экрана; ряд ссылок раскрывается влево, «Начать проект» вверх ===== */
@media (min-width: 900px) {
  .dock { left: 50%; right: auto; translate: -50% 0; bottom: max(24px, env(safe-area-inset-bottom, 0px)); width: 76px; }
  .dock-links { position: absolute; right: calc(100% + 12px); top: 50%; translate: 0 -50%; }
  .dock-links::after { content: ""; position: absolute; left: 100%; top: 0; bottom: 0; width: 14px; }
  .dock-up { right: auto; left: 50%; translate: -50% 0; transform-origin: 50% 100%; }
}
@media (min-width: 900px) {
  .dock-links { display: block; grid-template-columns: none; overflow: hidden; max-width: 0; width: max-content; padding: 0; transition: max-width .6s cubic-bezier(.3, .7, .2, 1); border-radius: 999px; }
  .dock.is-open .dock-links { grid-template-columns: none; max-width: min(820px, calc(50vw - 70px)); overflow: visible; }
  .dock-inner { width: max-content; overflow: hidden; }
}

/* ===== Раскрытие в две стороны: слева половина ссылок, справа половина; кнопка остаётся по центру ===== */
@media (min-width: 900px) {
  .dock-up { display: none; }
  .dock-inner .dock-cta { display: block; margin-left: 4px; }
  .dock-r { right: auto; left: calc(100% + 12px); }
  .dock-r::after { left: auto; right: 100%; }
  .dock.is-open .dock-links { max-width: min(520px, calc(50vw - 70px)); }
}

/* ===== Единая круглая кнопка: слово «МЕНЮ» вращается, круг раскручивается в стороны от центра в капсулу ===== */
@media (min-width: 900px) {
  .dock, .dock:hover, .dock.is-open { position: fixed; left: 50%; right: auto; top: auto; bottom: max(24px, env(safe-area-inset-bottom, 0px)); translate: -50% 0; box-sizing: border-box; display: block; height: 76px; padding: 0; overflow: hidden; border: 1.5px solid rgba(70, 205, 221, .65); border-radius: 999px; background: radial-gradient(circle at 50% 30%, #153a52, #081823 72%); -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: 0 8px 26px rgba(0,0,0,.45); gap: 0; }
  .dock { width: 76px; animation: dock-ring 2.4s ease-in-out infinite; transition: width .8s cubic-bezier(.65, 0, .2, 1), border-color .4s, box-shadow .4s; }
  .dock.is-open { width: var(--full, 900px); animation: none; border-color: var(--lazur-bright); box-shadow: 0 16px 50px rgba(0,0,0,.45), 0 0 40px rgba(70,205,221,.3); }
  .dock-toggle, .dock-toggle:hover, .dock.is-open .dock-toggle { position: absolute; inset: 0; width: 100%; height: 100%; animation: none; border: 0; background: none; box-shadow: none; border-radius: 999px; }
  .dock-label { transition: transform .8s cubic-bezier(.65, 0, .2, 1), opacity .35s; }
  .dock.is-open .dock-label { transform: rotate(540deg) scale(.3); opacity: 0; }
  .dock .dock-links, .dock.is-open .dock-links { position: absolute; inset: 0; right: auto; left: 0; top: 0; translate: none; width: 100%; max-width: none; display: flex; align-items: center; justify-content: center; overflow: visible; border-radius: 0; grid-template-columns: none; opacity: 0; pointer-events: none; transition: opacity .25s; }
  .dock.is-open .dock-links { opacity: 1; pointer-events: auto; z-index: 2; transition: opacity .45s .35s; }
  .dock-links::after, .dock-r::after { display: none; }
  .dock .dock-inner { position: static; width: max-content; overflow: visible; background: none; border: 0; box-shadow: none; border-radius: 0; padding: 0 14px; opacity: 1; flex-direction: row; }
  .dock-inner .dock-cta { display: block; margin-left: 6px; }
}

/* ===== Раскрытое меню: слева круг «МЕНЮ» (вращается и остаётся), справа круг «Начать проект» ===== */
@media (min-width: 900px) {
  .dock .dock-toggle, .dock:hover .dock-toggle, .dock.is-open .dock-toggle { inset: auto; top: 1px; left: 1px; width: 71px; height: 71px; border-radius: 50%; border: 1.5px solid transparent; background: transparent; transition: background .5s, border-color .5s; }
  .dock.is-open .dock-toggle { background: radial-gradient(circle at 50% 30%, #1b4a66, #0a2232 75%); border-color: rgba(70, 205, 221, .7); }
  .dock.is-open .dock-label { transform: rotate(360deg); opacity: 1; }
  .dock .dock-inner { padding: 0 94px; }
  .dock-inner .dock-cta { position: absolute; right: 1px; top: 1px; margin: 0; width: 71px; height: 71px; padding: 0 6px; box-sizing: border-box; display: grid; place-items: center; border-radius: 50%; text-align: center; font-size: .75rem; line-height: 1.15; font-weight: 700; white-space: normal; }
}
@media (min-width: 900px) {
  .dock .dock-toggle, .dock:hover .dock-toggle, .dock.is-open .dock-toggle { top: 3px; left: 4px; width: 66px; height: 66px; }
  .dock-inner .dock-cta { right: 4px; top: 3px; width: 66px; height: 66px; font-size: .6875rem; }
  .dock .dock-inner { padding: 0 90px; }
}
.hx-title { font-weight: 800; }
/* заголовок обычным регистром */
.hx-title { text-transform: none; font-weight: 700; letter-spacing: -.015em; line-height: 1.08; }
@media (min-width: 720px) { .hx-title { font-size: clamp(1.9rem, min(5vw, calc((100svh - 114px - (100vw - 2 * var(--gutter)) * .14 - var(--fixed)) / 3.2)), 6rem); } }

/* заголовок строго в две строки */
@media (min-width: 720px) {
  .hx-title { white-space: nowrap; font-size: clamp(1.7rem, min(3.6vw, calc((100svh - 114px - (100vw - 2 * var(--gutter)) * .14 - var(--fixed)) / 2.4)), 5rem); }
}
@media (max-width: 719px) { .hx-br { display: none; } }

/* крупнее заголовок; я выше, крупнее и чуть левее */
@media (min-width: 720px) {
  .hero-dark { --pw: min(calc((100svh - 40px) * 1.28 * .642), 50vw); }
  .hd-photo { top: 6px; right: clamp(56px, 7.4vw, 200px); }
  .hx-copy { width: min(62vw, calc(100% - 2 * var(--gutter))); }
  .hx-title { font-size: clamp(1.9rem, min(4.5vw, calc((100svh - 114px - (100vw - 2 * var(--gutter)) * .14 - var(--fixed)) / 2.4)), 6.25rem); }
}
@media (min-width: 720px) {
  .hx-title { font-size: clamp(1.9rem, min(4.5vw, calc((100vw - clamp(56px, 7.4vw, 200px) - var(--pw) * .66 - var(--gutter) - 24px) / 14.2), calc((100svh - 114px - (100vw - 2 * var(--gutter)) * .14 - var(--fixed)) / 2.4)), 6.25rem); }
}

/* меню наверху по центру; «Начать проект» тёмный, как «Меню» */
@media (min-width: 900px) {
  .dock, .dock:hover, .dock.is-open { bottom: auto; top: max(18px, env(safe-area-inset-top, 0px)); }
  .dock-inner .dock-cta, .dock-inner .dock-cta:hover, .dock-inner .dock-cta:focus-visible { background: radial-gradient(circle at 50% 30%, #1b4a66, #0a2232 75%); color: #fff; border: 1.5px solid rgba(70, 205, 221, .7); }
  .dock-inner .dock-cta:hover, .dock-inner .dock-cta:focus-visible { border-color: var(--lazur-bright); box-shadow: 0 0 22px rgba(70, 205, 221, .4); }
}

/* ===== Кнопки: при наведении по диагонали «открывается» заливка и так же закрывается ===== */
.btn { position: relative; overflow: hidden; isolation: isolate; transition: color .35s .08s, border-color .35s; }
.btn::before { content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: -25%; width: 150%; background: var(--fill, var(--ink)); transform: translateX(-112%) skewX(-24deg); transition: transform .6s cubic-bezier(.65, 0, .2, 1); pointer-events: none; }
.btn:hover::before, .btn:focus-visible::before { transform: translateX(0) skewX(-24deg); }
.btn:hover, .btn:focus-visible { color: var(--fill-text, #fff); }
/* светлые кнопки на тёмном фоне → заливаются белым; контурные → нашим цветом; бирюзовые на светлом → тёмным */
.btn-primary { --fill: var(--ink); --fill-text: #fff; }
.btn-primary:hover { background: var(--lazur); }
.btn-ghost { --fill: var(--lazur); --fill-text: #fff; }
.btn-ghost:hover { background: transparent; }
.btn-on-night { --fill: #fff; --fill-text: var(--ink); }
.btn-on-night:hover { background: var(--lazur-bright); }
.hx-ghost { --fill: #eaf6fa; --fill-text: var(--ink); }
.hx-ghost:hover { background: transparent; border-color: #eaf6fa; }
@media (prefers-reduced-motion: reduce) { .btn::before { transition: none; } }

/* заливка открывается от середины в обе стороны (и так же закрывается) */
.btn::before { left: 0; width: 100%; transform: none; clip-path: polygon(65% 0, 65% 0, 35% 100%, 35% 100%); transition: clip-path .6s cubic-bezier(.65, 0, .2, 1); }
.btn:hover::before, .btn:focus-visible::before { transform: none; clip-path: polygon(-20% 0, 150% 0, 120% 100%, -50% 100%); }
/* скос слева направо («\») */
.btn::before { clip-path: polygon(35% 0, 35% 0, 65% 100%, 65% 100%); }
.btn:hover::before, .btn:focus-visible::before { clip-path: polygon(-50% 0, 120% 0, 150% 100%, -20% 100%); }

.dock-open .header--dark .logo { opacity: 1 !important; }

/* ===== Меню в стиле кнопок: прямоугольная плитка «МЕНЮ»; панель открывается от середины в обе стороны по диагонали ===== */
@media (min-width: 900px) {
  .dock, .dock:hover, .dock.is-open { height: 64px; width: var(--full, 900px); border: 0; border-radius: 14px; background: none; box-shadow: none; overflow: hidden; animation: none; pointer-events: none; transition: none; }
  .dock.is-open { pointer-events: auto; filter: drop-shadow(0 16px 28px rgba(0, 0, 0, .4)); }
  .dock::before { content: ""; position: absolute; inset: 0; border-radius: 14px; background: rgba(8, 24, 35, .96); box-shadow: inset 0 0 0 1.5px rgba(70, 205, 221, .55); clip-path: polygon(calc(50% - 40px) 0, calc(50% - 40px) 0, calc(50% + 40px) 100%, calc(50% + 40px) 100%); transition: clip-path .65s cubic-bezier(.65, 0, .2, 1); }
  .dock.is-open::before { clip-path: polygon(-50% 0, 120% 0, 150% 100%, -20% 100%); }
  .dock .dock-toggle, .dock:hover .dock-toggle, .dock.is-open .dock-toggle { position: absolute; z-index: 3; inset: auto; top: 5px; left: calc(50% - 70px); width: 140px; height: 54px; border-radius: 10px; border: 1.5px solid rgba(70, 205, 221, .7); background: radial-gradient(circle at 50% 20%, #1b4a66, #0a2232 80%); pointer-events: auto; transition: left .65s cubic-bezier(.65, 0, .2, 1), border-color .3s, box-shadow .3s; animation: dock-ring 2.4s ease-in-out infinite; }
  .dock.is-open .dock-toggle { left: 5px; animation: none; }
  .dock .dock-inner { padding: 0 150px; }
  .dock-inner .dock-cta { right: 5px; top: 5px; width: 132px; height: 54px; border-radius: 10px; font-size: .8125rem; padding: 0 8px; white-space: nowrap; }
}

@media (min-width: 900px) { .dock .dock-label, .dock.is-open .dock-label { transform: none; opacity: 1; transition: none; } }
@media (min-width: 900px) { .dock .dock-inner { flex: none; } }
@media (min-width: 900px) and (max-width: 1500px) {
  .dock .dock-inner { padding: 0 128px; }
  .dock .dock-inner a { padding: 12px 10px; font-size: .9375rem; }
  .dock .dock-toggle, .dock:hover .dock-toggle, .dock.is-open .dock-toggle { width: 112px; left: calc(50% - 56px); }
  .dock.is-open .dock-toggle { left: 5px; }
  .dock-inner .dock-cta { width: 112px; font-size: .75rem; }
}
@media (min-width: 900px) and (max-width: 1500px) { .dock .dock-inner a.dock-cta { font-size: .75rem; padding: 0 6px; } }

/* без тёмного свечения: только бирюзовая пульсация */
@keyframes dock-pulse-clean { 0%, 100% { box-shadow: 0 0 0 0 rgba(70, 205, 221, .55); } 50% { box-shadow: 0 0 0 10px rgba(70, 205, 221, 0); } }
@media (min-width: 900px) {
  .dock, .dock:hover, .dock.is-open { overflow: visible; }
  .dock .dock-toggle, .dock:hover .dock-toggle { animation: dock-pulse-clean 2.4s ease-in-out infinite; box-shadow: none; }
  .dock.is-open .dock-toggle { animation: none; box-shadow: none; }
  .dock.is-open { filter: none; }
}
@media (max-width: 899px) { .dock-toggle { animation-name: dock-pulse-clean; } }

/* ===== Меню со скосом слева направо («\»): и закрытое, и раскрытое ===== */
@media (min-width: 900px) {
  .dock::before { transform: skewX(32deg); border-radius: 8px; clip-path: polygon(50% 0, 50% 0, 50% 100%, 50% 100%); }
  .dock.is-open::before { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
  .dock .dock-toggle, .dock:hover .dock-toggle, .dock.is-open .dock-toggle { border-radius: 8px; transform: skewX(32deg); }
  .dock .dock-toggle .dock-label { display: inline-block; transform: skewX(-32deg); }
  .dock-inner .dock-cta { border-radius: 8px; transform: skewX(32deg); }
  .dock-inner .dock-cta span { display: inline-block; transform: skewX(-32deg); }
  .dock .dock-inner { padding: 0 156px; }
}
@media (min-width: 900px) and (max-width: 1500px) { .dock .dock-inner { padding: 0 134px; } }

/* чуть уже и ниже */
@media (min-width: 900px) {
  .dock, .dock:hover, .dock.is-open { height: 56px; }
  .dock .dock-toggle, .dock:hover .dock-toggle, .dock.is-open .dock-toggle { top: 5px; height: 46px; width: 108px; left: calc(50% - 54px); }
  .dock.is-open .dock-toggle { left: 6px; }
  .dock-inner .dock-cta { top: 5px; right: 6px; height: 46px; width: 112px; font-size: .75rem; }
  .dock .dock-inner { padding: 0 128px; }
  .dock .dock-inner a:not(.dock-cta) { padding: 10px 12px; font-size: .9375rem; }
  .dock-label { font-size: .75rem; }
}

/* ещё ниже; «Начать проект» с запасом по ширине */
@media (min-width: 900px) {
  .dock, .dock:hover, .dock.is-open { height: 48px; }
  .dock .dock-toggle, .dock:hover .dock-toggle, .dock.is-open .dock-toggle { top: 4px; height: 40px; width: 132px; left: calc(50% - 66px); }
  .dock.is-open .dock-toggle { left: 6px; }
  .dock-inner .dock-cta { top: 4px; right: 6px; height: 40px; width: 142px; padding: 0 12px; font-size: .78125rem; white-space: nowrap; }
  .dock .dock-inner { padding: 0 158px; }
  .dock .dock-inner a:not(.dock-cta) { padding: 8px 12px; }
}
@media (min-width: 900px) and (max-width: 1500px) { .dock .dock-inner { padding: 0 158px; } .dock .dock-inner a.dock-cta { font-size: .78125rem; padding: 0 12px; } }
@media (min-width: 900px) and (max-width: 1500px) { .dock .dock-inner a:not(.dock-cta) { padding: 8px 8px; font-size: .875rem; } .dock .dock-inner { padding: 0 152px; } }

/* объём: градиентная заливка и ступенчатая тень у «WEB STUDIO», мягкая тень у заголовка */
.hx-word .w1 { fill: url(#gw); }
.hx-word .w2 { fill: url(#gs); }
.hx-word svg { filter: drop-shadow(0 2px 0 rgba(5, 28, 42, .95)) drop-shadow(0 5px 0 rgba(5, 28, 42, .75)) drop-shadow(0 9px 0 rgba(5, 28, 42, .5)) drop-shadow(0 22px 26px rgba(0, 0, 0, .5)); }
.hx-title { background: linear-gradient(180deg, #ffffff 25%, #c4e0ec 100%); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; filter: drop-shadow(0 2px 0 rgba(4, 22, 34, .55)) drop-shadow(0 10px 22px rgba(0, 0, 0, .5)); }
.hx-text { text-shadow: 0 2px 14px rgba(0, 0, 0, .55); }
.hx-kicker { text-shadow: 0 2px 10px rgba(0, 0, 0, .5); }
.hd-photo { filter: drop-shadow(0 24px 40px rgba(0, 0, 0, .45)); }

/* «WEB STUDIO» мягко уходит вниз: плавное растворение к низу букв, без ступенчатой тени */
.hx-word svg { filter: drop-shadow(0 -8px 28px rgba(70, 205, 221, .18)); }

/* пункты меню: яркая заливка нашим цветом по диагонали от середины, не касается краёв панели */
@media (min-width: 900px) {
  .dock .dock-inner a:not(.dock-cta) { position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; height: 32px; padding: 0 14px; border-radius: 8px; background: none; transition: color .3s .06s; }
  .dock .dock-inner a:not(.dock-cta)::before { content: ""; position: absolute; z-index: -1; inset: 0; background: var(--lazur-bright); clip-path: polygon(35% 0, 35% 0, 65% 100%, 65% 100%); transition: clip-path .5s cubic-bezier(.65, 0, .2, 1); }
  .dock .dock-inner a:not(.dock-cta):hover, .dock .dock-inner a:not(.dock-cta):focus-visible { background: none; color: var(--ink); }
  .dock .dock-inner a:not(.dock-cta):hover::before, .dock .dock-inner a:not(.dock-cta):focus-visible::before { clip-path: polygon(-50% 0, 120% 0, 150% 100%, -20% 100%); }
}
@media (min-width: 900px) and (max-width: 1500px) { .dock .dock-inner a:not(.dock-cta) { padding: 0 10px; } }

/* заливка пунктов меню светлым цветом сайта */
@media (min-width: 900px) {
  .dock .dock-inner a:not(.dock-cta)::before { background: var(--salt, #f3f8fa); }
  .dock .dock-inner a:not(.dock-cta):hover, .dock .dock-inner a:not(.dock-cta):focus-visible { color: var(--ink); }
}

/* ещё чуть ниже по высоте */
@media (min-width: 900px) {
  .dock, .dock:hover, .dock.is-open { height: 42px; }
  .dock .dock-toggle, .dock:hover .dock-toggle, .dock.is-open .dock-toggle { top: 4px; height: 34px; }
  .dock-inner .dock-cta { top: 4px; height: 34px; }
  .dock .dock-inner a:not(.dock-cta) { height: 28px; }
  .dock-label { font-size: .6875rem; }
}

/* заливка пункта такого же размера и со скосом, как плитки «МЕНЮ» и «Начать проект» */
@media (min-width: 900px) {
  .dock .dock-inner a:not(.dock-cta) { height: 34px; padding: 0 18px; margin: 0 2px; border-radius: 8px; transform: skewX(32deg); }
  .dock .dock-inner a:not(.dock-cta) > span { display: inline-block; transform: skewX(-32deg); }
  .dock .dock-inner a:not(.dock-cta)::before { clip-path: polygon(50% 0, 50% 0, 50% 100%, 50% 100%); }
  .dock .dock-inner a:not(.dock-cta):hover::before, .dock .dock-inner a:not(.dock-cta):focus-visible::before { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
}
@media (min-width: 900px) and (max-width: 1500px) { .dock .dock-inner a:not(.dock-cta) { padding: 0 13px; margin: 0 1px; } }
@media (min-width: 900px) and (max-width: 1500px) { .dock .dock-inner a:not(.dock-cta) { padding: 0 11px; margin: 0; } .dock .dock-inner { padding: 0 146px; } }

/* строка над заголовком: значок места и «Нукус, Узбекистан» */
.hx-kicker { display: flex; align-items: center; gap: 10px; font-size: 1rem; letter-spacing: .14em; }
.hx-kicker svg { width: 22px; height: 22px; flex: none; fill: none; stroke: var(--lazur-bright); stroke-width: 2; stroke-linejoin: round; }
.hx-kicker::after { content: ""; width: 56px; height: 2px; margin-left: 4px; background: linear-gradient(90deg, var(--lazur-bright), transparent); }
/* заголовок чуть крупнее (всё так же две строки, не заходит на фото) */
@media (min-width: 720px) {
  .hx-title { font-size: clamp(1.9rem, min(4.9vw, calc((100vw - clamp(56px, 7.4vw, 200px) - var(--pw) * .66 - var(--gutter) - 24px) / 13.4), calc((100svh - 114px - (100vw - 2 * var(--gutter)) * .14 - var(--fixed)) / 2.3)), 6.75rem); }
}

/* ===== Две кнопки первого экрана со скосом, как у меню; заливка открывается от середины ===== */
@media (min-width: 720px) {
  .hx-btns { gap: 30px; margin-left: 20px; }
  .hx-btns .btn { border-radius: 10px; transform: skewX(32deg); padding: 0 clamp(2rem, 2.6vw, 3rem); }
  .hx-btns .btn:active { transform: skewX(32deg) translateY(1px); }
  .hx-btns .btn-in { display: inline-flex; align-items: center; transform: skewX(-32deg); }
  .hx-btns .btn::before { clip-path: polygon(50% 0, 50% 0, 50% 100%, 50% 100%); }
  .hx-btns .btn:hover::before, .hx-btns .btn:focus-visible::before { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
}
/* я ещё чуть крупнее */
@media (min-width: 720px) { .hero-dark { --pw: min(calc((100svh - 40px) * 1.38 * .642), 52vw); } }
@media (min-width: 720px) {
  .hero-dark { --pw: min(calc((100svh - 40px) * 1.34 * .642), 51vw); }
  .hx-btns { gap: 22px; }
  .hx-btns .btn { padding: 0 clamp(1.4rem, 2vw, 3rem); }
}

/* ===== Телефон: меню и кнопки такие же, как на компьютере (скос 32°) ===== */
.hx-btns .btn-in { display: inline-flex; align-items: center; justify-content: center; gap: 10px; white-space: nowrap; }
.hx-btns .btn-in svg { flex: none; }
@media (max-width: 719px) {
  .hx-btns { gap: 14px; margin-inline: 18px; }
  .hx-btns .btn { border-radius: 10px; transform: skewX(32deg); min-height: 3.25rem; padding: 0 1rem; font-size: 1.0625rem; }
  .hx-btns .btn:active { transform: skewX(32deg) translateY(1px); }
  .hx-btns .btn-in { transform: skewX(-32deg); }
  .hx-btns .btn::before { clip-path: polygon(50% 0, 50% 0, 50% 100%, 50% 100%); }
  .hx-btns .btn:hover::before, .hx-btns .btn:focus-visible::before { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
}
@media (max-width: 899px) {
  .dock, .dock:hover, .dock.is-open { display: block; width: 124px; height: 42px; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; overflow: visible; filter: none; top: max(14px, env(safe-area-inset-top, 0px)); left: auto; right: calc(max(12px, env(safe-area-inset-right, 0px)) + 16px); translate: none; }
  .dock .dock-toggle, .dock:hover .dock-toggle, .dock.is-open .dock-toggle { position: absolute; inset: 0; width: 100%; height: 42px; align-self: auto; border-radius: 8px; transform: skewX(32deg); border: 1.5px solid rgba(70, 205, 221, .7); background: radial-gradient(circle at 50% 20%, #1b4a66, #0a2232 80%); box-shadow: none; animation: dock-pulse-clean 2.4s ease-in-out infinite; }
  .dock.is-open .dock-toggle { animation: none; border-color: var(--lazur-bright); }
  .dock .dock-toggle .dock-label { display: inline-block; transform: skewX(-32deg); font-size: .75rem; letter-spacing: .1em; }
  .dock .dock-links, .dock.is-open .dock-links { position: absolute; top: 52px; right: 0; width: min(250px, calc(100vw - 80px)); display: block; grid-template-columns: none; grid-template-rows: none; overflow: visible; max-width: none; translate: none; border-radius: 0; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .3s, transform .4s cubic-bezier(.65, 0, .2, 1), visibility 0s .4s; }
  .dock.is-open .dock-links { opacity: 1; visibility: visible; transform: none; transition: opacity .3s, transform .4s cubic-bezier(.65, 0, .2, 1); }
  .dock .dock-inner { display: flex; flex-direction: column; align-items: stretch; gap: 10px; padding: 0; overflow: visible; opacity: 1; width: auto; background: none; border: 0; box-shadow: none; }
  .dock .dock-inner > a { display: flex; align-items: center; justify-content: center; position: static; height: 44px; padding: 0; margin: 0; border-radius: 8px; transform: skewX(32deg); background: #09202e; border: 1.5px solid rgba(70, 205, 221, .5); color: rgba(236, 246, 250, .9); font-size: 1rem; font-weight: 500; text-align: center; overflow: visible; }
  .dock .dock-inner > a::before { content: none; }
  .dock .dock-inner a > span { display: inline-block; transform: skewX(-32deg); }
  .dock .dock-inner > a:hover, .dock .dock-inner > a:focus-visible { background: var(--salt, #f3f8fa); color: var(--ink); border-color: var(--salt, #f3f8fa); }
  .dock .dock-inner .dock-cta, .dock .dock-inner .dock-cta:hover { background: radial-gradient(circle at 50% 30%, #1b4a66, #0a2232 75%); color: #fff; border: 1.5px solid rgba(70, 205, 221, .85); margin-top: 4px; font-weight: 600; width: auto; }
  .dock .dock-lang { display: flex; justify-content: center; gap: 10px; padding: 0; }
  .dock .dock-lang a { padding: 0; width: 64px; height: 38px; display: flex; align-items: center; justify-content: center; border-radius: 8px; transform: skewX(32deg); background: #09202e; border: 1.5px solid rgba(70, 205, 221, .5); color: #fff; font-size: .9375rem; }
  .dock .dock-lang a[aria-current="true"] { background: var(--lazur-bright); color: var(--ink); border-color: var(--lazur-bright); }
}

/* телефон: маленькая плитка меню в углу; фото под кнопками, а не поверх них */
@media (max-width: 899px) {
  .dock, .dock:hover, .dock.is-open { width: 88px; height: 30px; top: max(18px, env(safe-area-inset-top, 0px)); right: calc(max(12px, env(safe-area-inset-right, 0px)) + 12px); }
  .dock .dock-toggle, .dock:hover .dock-toggle, .dock.is-open .dock-toggle { height: 30px; border-radius: 7px; }
  .dock .dock-toggle .dock-label { font-size: .625rem; letter-spacing: .08em; }
  .dock .dock-links, .dock.is-open .dock-links { top: 40px; }
  @keyframes dock-pulse-clean { 0%, 100% { box-shadow: 0 0 0 0 rgba(70, 205, 221, .55); } 50% { box-shadow: 0 0 0 7px rgba(70, 205, 221, 0); } }
}
@media (max-width: 719px) {
  .hero-dark { display: flex; flex-direction: column; }
  .hx-copy { position: relative; top: auto; left: auto; right: auto; transform: none; width: auto; margin: 0 var(--gutter); padding-top: 96px; }
  .hd-photo { position: relative; z-index: 2; top: auto; bottom: auto; right: auto; transform: none; margin: 22px auto 0; flex: none; order: 2; }
  .hx-copy { order: 1; }
  .hx-title { font-weight: 800; }
}

/* RU / OʻZ в шапке: такие же скошенные плитки, как «Меню» */
.header--dark .lang { display: flex; gap: 10px; padding: 0; border: 0; background: none; box-shadow: none; margin-right: 12px; }
.header--dark .lang a { display: flex; align-items: center; justify-content: center; box-sizing: border-box; width: 62px; height: 40px; padding: 0; border-radius: 8px; transform: skewX(32deg); border: 1.5px solid rgba(70, 205, 221, .7); background: radial-gradient(circle at 50% 20%, #1b4a66, #0a2232 80%); color: #fff; font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; transition: background .3s, color .3s, border-color .3s; }
.header--dark .lang a > span { display: inline-block; transform: skewX(-32deg); }
.header--dark .lang a:hover { border-color: var(--lazur-bright); background: var(--salt, #f3f8fa); color: var(--ink); }
.header--dark .lang a[aria-current="true"] { background: var(--lazur-bright); border-color: var(--lazur-bright); color: var(--ink); }

/* RU / OʻZ: одна скошенная плитка, как «Меню» (132×40), две кнопки внутри обводки */
.header--dark .lang { box-sizing: border-box; width: 132px; height: 40px; gap: 4px; padding: 3px; margin-right: 12px; border: 1.5px solid rgba(70, 205, 221, .7); border-radius: 8px; transform: skewX(32deg); background: radial-gradient(circle at 50% 20%, #1b4a66, #0a2232 80%); }
.header--dark .lang a { flex: 1; width: auto; height: 100%; min-height: 0; transform: none; border: 0; border-radius: 5px; background: none; }
.header--dark .lang a:hover { background: var(--salt, #f3f8fa); color: var(--ink); }
.header--dark .lang a[aria-current="true"] { background: var(--lazur-bright); color: var(--ink); }
@media (min-width: 900px) { .header--dark .lang { position: relative; top: -3px; height: 34px; } }
@media (min-width: 720px) {
  .hero-dark { --pw: min(calc((100svh - 40px) * 1.42 * .642), 53vw); }
  .hd-photo { right: clamp(64px, 8.4vw, 230px); }
}
@media (min-width: 720px) {
  .hero-dark { --pw: min(calc((100svh - 40px) * 1.39 * .642), 52vw); }
  .hd-photo { right: clamp(60px, 7.6vw, 220px); }
  .hx-btns { gap: 16px; }
  .hx-btns .btn { padding: 0 clamp(1rem, 1.5vw, 3rem); }
}

/* ===== Логотип: скошенная «K» + двухстрочная надпись ===== */
.logo .logo-k, .footer .logo .logo-k, .header--dark .logo .logo-k { width: 50px; height: 38px; fill: none; flex: none; }
.logo .logo-t { display: inline-flex; flex-direction: column; line-height: 1; gap: 2px; color: inherit; }
.logo .logo-t b { font-family: var(--font-body); font-weight: 800; font-style: italic; font-size: 1.1875rem; letter-spacing: -.015em; color: #fff; }
.logo .logo-t i { font-family: var(--font-display); font-weight: 400; font-style: normal; font-size: .8125rem; letter-spacing: .16em; color: #9fd6e2; transform: skewX(-10deg); transform-origin: left; text-transform: none; }
.header:not(.header--dark) .logo .logo-t b { color: var(--ink); }
/* надпись логотипа в одну строку */
.logo .logo-t { flex-direction: row; align-items: baseline; gap: .45em; white-space: nowrap; }
.logo .logo-t b { font-size: 1.25rem; }
.logo .logo-t i { font-family: var(--font-body); font-weight: 400; font-size: 1.25rem; letter-spacing: 0; transform: none; color: #9fd6e2; }
.header:not(.header--dark) .logo .logo-t i { color: var(--ink-soft); }
/* надпись по нижней линии «K» */
.logo { align-items: flex-end; }
.logo .logo-k { display: block; }
.logo .logo-t { position: relative; top: 2px; line-height: 1; }

/* ===== Логотип: только надпись (вариант Б) ===== */
.logo .logo-t { position: relative; top: 0; align-items: baseline; gap: .32em; padding-bottom: 7px; line-height: 1; font-style: italic; }
.logo .logo-t b { font-family: var(--font-body); font-weight: 800; font-style: italic; font-size: 1.5rem; letter-spacing: -.025em; background: linear-gradient(180deg, #fff 30%, #b4d8e4 100%); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.logo .logo-t i { font-family: var(--font-body); font-weight: 600; font-style: italic; font-size: 1.5rem; letter-spacing: -.025em; color: var(--lazur-bright); transform: none; }
.logo .logo-t::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: linear-gradient(90deg, var(--lazur-bright), rgba(70, 205, 221, 0)); border-radius: 2px; }
.header:not(.header--dark) .logo .logo-t b { background: none; -webkit-text-fill-color: var(--ink); color: var(--ink); }
.header:not(.header--dark) .logo .logo-t i { color: var(--lazur); }
.footer .logo { align-items: center; }

/* логотип: надпись из варианта Б (вектор) */
.logo .logo-t { display: inline-block; padding-bottom: 8px; }
.logo .logo-t .logo-wm { display: block; width: 235px; height: auto; fill: none; }
.footer .logo .logo-t .logo-wm { width: 235px; }
@media (max-width: 719px) { .header .logo .logo-t .logo-wm { width: 176px; } }

/* геолокация: линия не справа, а снизу под всей строкой, длиннее текста */
.hx-kicker { position: relative; display: flex; width: max-content; max-width: 100%; padding-bottom: 12px; margin-bottom: var(--s-3); }
.hx-kicker::after { content: ""; position: absolute; left: 0; bottom: 0; width: calc(100% + 70px); max-width: 100vw; height: 2px; margin: 0; background: linear-gradient(90deg, var(--lazur-bright), rgba(70, 205, 221, 0)); border-radius: 2px; }
/* логотип на одной линии с меню */
@media (min-width: 900px) { .header .logo { position: relative; top: -5px; } }
@media (max-width: 899px) { .header .logo { position: relative; top: -14px; } }

/* ===== Заголовок: строгий угловатый шрифт Exo 2, заглавными ===== */
.hx-title { font-family: 'Exo 2', 'Onest', ui-sans-serif, system-ui, sans-serif; font-weight: 800; text-transform: uppercase; letter-spacing: .005em; line-height: 1.06; }
@media (min-width: 720px) {
  .hx-title { font-size: clamp(1.7rem, min(4vw, calc((100vw - clamp(60px, 7.6vw, 220px) - var(--pw) * .66 - var(--gutter) - 24px) / 17.2), calc((100svh - 114px - (100vw - 2 * var(--gutter)) * .14 - var(--fixed)) / 2.4)), 5.6rem); }
}
@media (max-width: 719px) { .hx-title { font-size: 1.4rem; } }
@media (min-width: 720px) {
  .hx-title { font-size: clamp(1.6rem, min(3.7vw, calc((100vw - clamp(60px, 7.6vw, 220px) - var(--pw) * .66 - var(--gutter) - 24px) / 20.2), calc((100svh - 114px - (100vw - 2 * var(--gutter)) * .14 - var(--fixed)) / 2.4)), 5.2rem); }
}

/* заголовок в три строки (и на компьютере, и на телефоне) */
.hx-title { white-space: nowrap; }
@media (min-width: 720px) {
  .hx-title { font-size: clamp(1.7rem, min(4.4vw, calc((100vw - clamp(60px, 7.6vw, 220px) - var(--pw) * .66 - var(--gutter) - 24px) / 15.5), calc((100svh - 114px - (100vw - 2 * var(--gutter)) * .14 - var(--fixed)) / 3.6)), 5.6rem); }
}
@media (max-width: 719px) { .hx-title { font-size: min(1.7rem, 5.6vw); } }

/* акцентное слово в заголовке */
.hx-title .hx-hl { background: linear-gradient(180deg, #8ff0fa 10%, #34c4dc 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.hx-title .hx-lc { text-transform: none; letter-spacing: -.01em; }
/* короткая третья строка: заголовок можно сделать крупнее */
@media (min-width: 720px) {
  .hx-title { font-size: clamp(1.9rem, min(5.2vw, calc((100vw - clamp(60px, 7.6vw, 220px) - var(--pw) * .66 - var(--gutter) - 24px) / 12), calc((100svh - 114px - (100vw - 2 * var(--gutter)) * .14 - var(--fixed)) / 3.4)), 6.5rem); }
}
@media (max-width: 719px) { .hx-title { font-size: min(2.1rem, 7.6vw); } }
@media (min-width: 720px) {
  .hx-title { font-size: clamp(1.8rem, min(4.6vw, calc((100vw - clamp(60px, 7.6vw, 220px) - var(--pw) * .66 - var(--gutter) - 24px) / 14.5), calc((100svh - 114px - (100vw - 2 * var(--gutter)) * .14 - var(--fixed)) / 3.5)), 6rem); }
}
@media (max-width: 719px) { .hx-title { font-size: min(1.85rem, 6.3vw); } }

/* фото: прежний размер, чуть левее */
@media (min-width: 720px) {
  .hd-photo { top: 6px; right: clamp(70px, 8.8vw, 260px); }
  .hx-btns { gap: 12px; }
  .hx-btns .btn { padding: 0 clamp(.9rem, 1.3vw, 3rem); }
}

/* ===== Внутренние страницы ===== */
.page-hero { padding-block: clamp(36px, 6vw, 72px) var(--s-4); background: linear-gradient(180deg, var(--mist), var(--salt)); }
.page-hero h1 { max-width: 22ch; }
.page-hero .lead { margin-top: var(--s-2); }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0 0 var(--s-3); font-size: var(--fs-14); color: var(--ink-soft); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--ink-soft); }
.crumbs a { color: var(--ink-soft); }
.svc-grid { display: grid; gap: var(--s-3); }
@media (min-width: 760px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
.svc { display: flex; flex-direction: column; gap: var(--s-2); background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s-4); box-shadow: var(--shadow); }
.svc h3 { font-size: var(--fs-20); }
.svc .for { font-size: var(--fs-14); color: var(--lazur-deep); font-weight: 600; }
.svc ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.svc li { display: grid; grid-template-columns: 20px 1fr; gap: 12px; }
.svc li svg { width: 20px; height: 20px; margin-top: 2px; fill: none; stroke: var(--lazur); stroke-width: 2.5; }
.svc .meta { margin-top: auto; padding-top: var(--s-2); border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: var(--s-2); flex-wrap: wrap; font-size: var(--fs-14); color: var(--ink-soft); }
.svc .meta strong { color: var(--ink); }
.two-col { display: grid; gap: var(--s-6); align-items: start; }
@media (min-width: 900px) { .two-col { grid-template-columns: 1fr 1fr; gap: var(--s-8); } .two-col--wide { grid-template-columns: 7fr 5fr; } }
.check-list { list-style: none; padding: 0; margin: var(--s-3) 0 0; display: grid; gap: 12px; }
.check-list li { display: grid; grid-template-columns: 20px 1fr; gap: 12px; }
.check-list li svg { width: 20px; height: 20px; margin-top: 2px; fill: none; stroke: var(--lazur); stroke-width: 2.5; }
.note-box { background: var(--mist); border-radius: var(--r-lg); padding: var(--s-3) var(--s-4); }
.about-photo { border-radius: var(--r-xl); overflow: hidden; background: var(--night); max-width: 420px; }
.about-photo img { width: 100%; height: auto; }
.legal h2 { font-size: var(--fs-28); margin-top: var(--s-6); }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal ul { margin-top: var(--s-2); max-width: 70ch; }
.legal ul { padding-left: 1.2em; }
.cta-band { background: var(--night); color: var(--on-night); border-radius: var(--r-xl); padding: var(--s-6) var(--s-4); display: grid; gap: var(--s-3); }
.cta-band p { color: var(--on-night-muted); max-width: 56ch; }
.cta-band .btn-row { margin-top: var(--s-1); }
.article-list { display: grid; gap: var(--s-3); }
@media (min-width: 760px) { .article-list { grid-template-columns: repeat(2, 1fr); } }
.article-card { display: flex; flex-direction: column; gap: var(--s-1); background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s-4); box-shadow: var(--shadow); text-decoration: none; color: var(--ink); }
.article-card:hover { border-color: var(--lazur); }
.article-card h3 { font-size: var(--fs-20); }
.article-card .tag { font-size: var(--fs-14); color: var(--lazur-deep); font-weight: 600; }
.article-card p { color: var(--ink-soft); }
.article-card .go { margin-top: auto; padding-top: var(--s-2); font-weight: 600; color: var(--lazur-deep); }

/* ===== Шапка внутренних страниц: тёмная полоса, как на главной; меню в «доке» по центру ===== */
.header:not(.header--dark) { background: var(--night); border-bottom: 0; }
.header:not(.header--dark) .container { max-width: none; padding-inline: var(--gutter); min-height: 84px; }
.header:not(.header--dark) .nav, .header:not(.header--dark) .menu-btn, .header:not(.header--dark) .header-cta { display: none !important; }
.header:not(.header--dark) .logo { color: var(--on-night); }
.header:not(.header--dark) .lang { border-color: var(--line-night); }
.header:not(.header--dark) .lang a { color: var(--on-night); }
.header:not(.header--dark) .lang a[aria-current="true"] { background: var(--lazur-bright); color: var(--ink); }
@media (max-width: 899px) { .header:not(.header--dark) .header-tools .lang { display: none; } }

/* ===== Косые кнопки на всём сайте (как на первом экране) ===== */
.section-head--wide { max-width: none; }
.br-d { display: none; }
@media (min-width: 720px) { .br-d { display: inline; } }
.btn { border-radius: 10px; transform: skewX(32deg); padding-inline: clamp(1.5rem, 2vw, 2.25rem); }
.btn:active { transform: skewX(32deg) translateY(1px); }
.btn-in { display: inline-flex; align-items: center; justify-content: center; gap: 10px; transform: skewX(-32deg); }
.btn::before { clip-path: polygon(50% 0, 50% 0, 50% 100%, 50% 100%); }
.btn:hover::before, .btn:focus-visible::before { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
.pkg .btn, .form .btn { align-self: stretch; }
.pkg > .btn { margin-inline: 14px; }

/* ===== Первый экран стоит на месте, остальное накатывает сверху ===== */
.hero-dark { position: sticky; top: 0; z-index: 0; }
.hero-dark ~ * { position: relative; z-index: 1; }
.hero-dark ~ .section:not(.bg-mist):not(.on-night) { background: var(--salt); }
.hero-dark ~ .footer { background: var(--night); }

/* логотип и язык стоят на месте, пока первый экран не закрыт */
.header--dark { position: fixed; z-index: 1; }
.hero-dark ~ * { z-index: 2; }
.footer { position: relative; z-index: 2; }
.section-head--wide .lead { max-width: none; }

/* заголовок первого экрана тем же шрифтом, что и WEB STUDIO (Unbounded); он шире, поэтому кегль меньше */
.hx-title { font-family: var(--font-display); font-weight: 600; letter-spacing: -.01em; line-height: 1.12; }
@media (min-width: 720px) {
  .hx-title { font-size: clamp(1.4rem, min(3.2vw, calc((100vw - clamp(60px, 7.6vw, 220px) - var(--pw) * .66 - var(--gutter) - 24px) / 21), calc((100svh - 114px - (100vw - 2 * var(--gutter)) * .14 - var(--fixed)) / 4.4)), 4.5rem); }
}
@media (max-width: 719px) { .hx-title { font-size: min(1.3rem, 4.6vw); } }

.hx-title .hx-l2, .hx-title .hx-l2 .hx-lc { letter-spacing: .05em; }

.hero-dark, .header--dark { will-change: transform; }

/* каждый экран минимум в высоту окна, содержимое по центру: предыдущий экран не выглядывает снизу */
.hero-dark ~ section { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; }
.hero-dark ~ section > .container { width: 100%; }

/* ===== Второй экран: что я делаю ===== */
.what { background: radial-gradient(110% 90% at 80% 0%, #14405a 0%, var(--night) 58%, #08161f 100%); min-height: 100svh; display: flex; flex-direction: column; justify-content: center; }
.what .container { width: 100%; }
.what-kicker { margin: 0 0 var(--s-2); color: var(--lazur-bright); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; font-size: var(--fs-14); }
.what-title { color: var(--on-night); max-width: none; font-size: clamp(1.6rem, 3.6vw, 3.25rem); line-height: 1.12; }
.what-grid { display: grid; grid-template-columns: 1fr; gap: var(--s-3); margin-top: var(--s-6); }
.what-card { position: relative; display: flex; flex-direction: column; gap: 10px; padding: var(--s-4); border: 1px solid rgba(70, 205, 221, .28); border-radius: 22px; background: linear-gradient(160deg, rgba(20, 64, 90, .55), rgba(8, 22, 31, .6)); color: var(--on-night); text-decoration: none; overflow: hidden; transition: border-color .3s, transform .3s; }
.what-card:hover, .what-card:focus-visible { border-color: var(--lazur-bright); transform: translateY(-4px); }
.what-card::after { content: ""; position: absolute; inset: auto -30% -60% auto; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(70, 205, 221, .22), transparent 65%); pointer-events: none; }
.what-n { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.5rem, 4vw, 3.75rem); line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--lazur-bright); }
.what-card strong { font-family: var(--font-display); font-weight: 600; font-size: var(--fs-20); line-height: 1.2; }
.what-card p { margin: 0; color: var(--on-night-muted); }
.what-facts { display: flex; flex-wrap: wrap; gap: 10px 14px; list-style: none; margin: 40px 0 0; padding: 0; }
.what-facts li { padding: 10px 18px; border: 1px solid rgba(70, 205, 221, .35); border-radius: 999px; color: var(--on-night); font-weight: 500; }
@media (min-width: 640px) { .what-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .what-grid { grid-template-columns: repeat(4, 1fr); } }

/* второй экран светлый: чередуем тёмный и светлый */
.what { background: var(--salt); color: var(--ink); }
.what-kicker { color: var(--lazur); }
.what-title { color: var(--ink); }
.what-card { border-color: rgba(10, 124, 145, .22); background: var(--white, #fff); color: var(--ink); box-shadow: 0 10px 30px rgba(13, 34, 48, .07); }
.what-card:hover, .what-card:focus-visible { border-color: var(--lazur); box-shadow: 0 16px 40px rgba(13, 34, 48, .12); }
.what-card::after { background: radial-gradient(circle, rgba(10, 124, 145, .12), transparent 65%); }
.what-n { -webkit-text-stroke: 1.5px var(--lazur); }
.what-card p { color: var(--ink-muted, #4a6370); }
.what-facts li { border-color: rgba(10, 124, 145, .35); color: var(--ink); background: var(--white, #fff); }

/* второй экран: ряды вместо карточек */
.what-grid { display: block; margin-top: var(--s-6); border-top: 1px solid rgba(13, 34, 48, .14); }
.what-card { display: grid; grid-template-columns: 56px 1fr; column-gap: 20px; row-gap: 6px; align-items: baseline; padding: 26px 8px; border: 0; border-bottom: 1px solid rgba(13, 34, 48, .14); border-radius: 0; background: none; box-shadow: none; overflow: visible; transform: none; transition: background .3s, padding .3s; }
.what-card::after { display: none; }
.what-card:hover, .what-card:focus-visible { transform: none; box-shadow: none; background: rgba(10, 124, 145, .06); padding-inline: 20px; }
.what-n { grid-row: 1 / span 2; -webkit-text-stroke: 0; color: var(--lazur); font-family: var(--font-body); font-weight: 600; font-size: 1rem; letter-spacing: .08em; }
.what-card strong { font-size: clamp(1.25rem, 2.2vw, 1.875rem); }
.what-card p { max-width: 62ch; }
.what-go { display: none; color: var(--lazur); font-size: 1.5rem; transition: translate .3s; }
@media (min-width: 900px) {
  .what-card { grid-template-columns: 70px minmax(0, 1fr) minmax(0, 1.25fr) 40px; column-gap: 28px; align-items: center; padding-block: 30px; }
  .what-n { grid-row: auto; }
  .what-card p { max-width: none; }
  .what-go { display: block; justify-self: end; }
  .what-card:hover .what-go { translate: 6px 0; }
}
.what-facts li { background: none; }

.svc { scroll-margin-top: 110px; }

@media (min-width: 760px) { .svc-grid > .svc:last-child:nth-child(odd) { grid-column: 1 / -1; } }

/* второй экран: ряд = услуга, что делаю, цена; при наведении заливается */
.what-n { font-size: .8125rem; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.what-price { display: inline-block; justify-self: start; margin-top: 6px; padding: 8px 16px; border-radius: 999px; background: rgba(10, 124, 145, .1); color: var(--lazur); font-weight: 600; font-size: .9375rem; white-space: nowrap; transition: background .3s, color .3s; }
.what-card { grid-template-columns: 1fr; padding: 22px 16px; border-radius: 18px; border-bottom: 0; margin-top: 8px; background: var(--white, #fff); border: 1px solid rgba(13, 34, 48, .1); transition: background .3s, color .3s, border-color .3s, transform .3s; }
.what-grid { border-top: 0; }
.what-card:hover, .what-card:focus-visible { background: var(--ink); color: var(--on-night); border-color: var(--ink); padding-inline: 16px; transform: translateX(6px); }
.what-card:hover strong, .what-card:focus-visible strong { color: var(--on-night); }
.what-card:hover p, .what-card:focus-visible p { color: var(--on-night-muted); }
.what-card:hover .what-n, .what-card:focus-visible .what-n, .what-card:hover .what-go, .what-card:focus-visible .what-go { color: var(--lazur-bright); }
.what-card:hover .what-price, .what-card:focus-visible .what-price { background: var(--lazur-bright); color: var(--ink); }
.what-n { grid-row: auto; }
@media (min-width: 900px) {
  .what-card { grid-template-columns: 150px minmax(0, 1fr) minmax(0, 1.4fr) 190px 34px; column-gap: 24px; padding: 24px 28px; }
  .what-price { justify-self: end; margin: 0; }
  .what-go { justify-self: end; }
  .what-card:hover .what-go { translate: 4px 0; }
}

.what-card p b { display: block; margin-top: 4px; font-weight: 600; color: var(--ink); }
.what-card:hover p b, .what-card:focus-visible p b { color: var(--on-night); }
.what-card strong { text-transform: none; }
.pk-badge { display: inline-block; margin-left: 10px; padding: 3px 10px; border-radius: 999px; background: var(--lazur-bright); color: var(--ink); font: 600 .75rem/1.4 var(--font-body); font-style: normal; vertical-align: middle; white-space: nowrap; }
.pk-row.is-main { border-color: var(--lazur); box-shadow: 0 0 0 1px var(--lazur); }
#paketi .what-n { text-transform: none; letter-spacing: .02em; }
#paketi .what-price { font-size: 1.0625rem; }
@media (min-width: 900px) { #paketi .what-card { grid-template-columns: 170px minmax(0, 1fr) minmax(0, 1.5fr) 200px 34px; } }

.what-card, .what-price, .pk-badge, .what-facts li { --sk: 32deg; }
@media (max-width: 899px) { .what-card { --sk: 9deg; } .what-card .what-price { --sk: 32deg; } }
/* ===== Строки, плашки и бейджи со скосом, как кнопки (угол 32°); форма рисуется на ::before, текст остаётся прямым ===== */
.what-card, .what-price, .pk-badge, .what-facts li { position: relative; isolation: isolate; }
.what-card::before, .what-price::before, .pk-badge::before, .what-facts li::before { content: ""; position: absolute; inset: 0; z-index: -1; transform: skewX(var(--sk)); transition: background .3s, border-color .3s, transform .3s; }
.what-grid { padding-inline: 26px; }
.what-card { background: none; border: 0; box-shadow: none; border-radius: 0; margin-top: 10px; padding: 24px 48px; }
.what-card::before { border-radius: 14px; background: var(--white, #fff); border: 1px solid rgba(13, 34, 48, .1); }
.what-card:hover, .what-card:focus-visible { background: none; border: 0; transform: none; padding-inline: 48px; }
.what-card:hover::before, .what-card:focus-visible::before { background: var(--ink); border-color: var(--ink); transform: skewX(var(--sk)) translateX(8px); }
.pk-row.is-main { border: 0; box-shadow: none; }
.pk-row.is-main::before { border-color: var(--lazur); box-shadow: 0 0 0 1px var(--lazur); }
.what-price { background: none; border-radius: 0; padding: 9px 24px; }
.what-price::before { border-radius: 8px; background: rgba(10, 124, 145, .12); }
.what-card:hover .what-price, .what-card:focus-visible .what-price { background: none; }
.what-card:hover .what-price::before, .what-card:focus-visible .what-price::before { background: var(--lazur-bright); }
.pk-badge { background: none; padding: 3px 16px; }
.pk-badge::before { border-radius: 6px; background: var(--lazur-bright); }
.what-facts { gap: 12px 20px; padding-left: 14px; }
.what-facts li { border: 0; background: none; padding: 10px 26px; }
.what-facts li::before { border: 1px solid rgba(10, 124, 145, .4); border-radius: 10px; background: var(--white, #fff); }
@media (max-width: 899px) { .what-card { padding: 20px 40px; } .what-grid { padding-inline: 22px; } }

@media (min-width: 900px) {
  .what-card, #paketi .what-card { grid-template-columns: 135px 270px minmax(0, 1fr) auto 30px; column-gap: 22px; padding: 16px 56px 16px 52px; }
  .what-card strong { font-size: clamp(1.15rem, 1.7vw, 1.5rem); }
  .what-price { min-width: 140px; text-align: center; }
}

.what, #paketi { overflow-x: clip; }

/* одинаковая высота строк и больше воздуха между ними */
.what-card { margin-top: 20px; }
.what-grid > .what-card:first-child { margin-top: 0; }
@media (min-width: 900px) {
  .what-card, #paketi .what-card { min-height: 116px; align-items: center; grid-template-columns: 140px 340px minmax(0, 1fr) auto 30px; padding-block: 18px; }
  .what-card strong { white-space: nowrap; }
  .pk-badge { margin-left: 12px; }
  .what-grid { margin-top: 48px; }
}

.what-grid, .what-grid.pk-rows { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; grid-auto-rows: 1fr; }
@media (min-width: 640px) { .what-grid, .what-grid.pk-rows { grid-template-columns: minmax(0, 1fr); } }
@media (min-width: 1100px) { .what-grid, .what-grid.pk-rows { grid-template-columns: minmax(0, 1fr); } }
.what-card, .what-grid > .what-card:first-child { margin-top: 0; }
@media (min-width: 900px) { .what-card, #paketi .what-card { grid-template-columns: 135px 280px minmax(0, 1fr) auto 30px; column-gap: 20px; } }

@media (min-width: 900px) { .what-card, #paketi .what-card { grid-template-columns: 130px 310px minmax(0, 1fr) auto 30px; column-gap: 26px; } .what-card strong { font-size: clamp(1.1rem, 1.5vw, 1.4rem); } }

@media (min-width: 900px) {
  .what-card, #paketi .what-card { grid-template-columns: 140px clamp(300px, 25vw, 480px) minmax(0, 1fr) auto 30px; column-gap: clamp(24px, 3vw, 64px); }
  .what-card strong { font-size: clamp(1.05rem, 1.25vw, 1.35rem); }
}

@media (min-width: 900px) {
  .what-card, #paketi .what-card { grid-template-columns: minmax(130px, .75fr) minmax(300px, 1.15fr) minmax(0, 1.55fr) auto 30px; column-gap: clamp(28px, 4.2vw, 96px); padding: 22px clamp(56px, 6vw, 120px) 22px clamp(60px, 7vw, 140px); min-height: 124px; }
  .what-grid { gap: 28px; }
  .pk-badge { margin-left: 16px; padding: 5px 26px; font-size: .8125rem; }
}

@media (min-width: 900px) {
  .what-card, #paketi .what-card { grid-template-columns: minmax(120px, .7fr) minmax(280px, 1.05fr) minmax(0, 1.7fr) auto 30px; column-gap: clamp(20px, 3.2vw, 96px); padding: 22px clamp(44px, 4.2vw, 120px) 22px clamp(50px, 5vw, 140px); }
}

@media (min-width: 900px) {
  .what-card, #paketi .what-card { grid-template-columns: clamp(120px, 9vw, 180px) clamp(290px, 25vw, 520px) minmax(0, 1fr) auto 30px; column-gap: clamp(18px, 2.6vw, 80px); }
  .pk-badge { margin-left: 38px; }
}

/* плашки снова прямоугольные (кнопки и меню остаются со скосом) */
.what-card, .what-price, .pk-badge, .what-facts li, .what-card .what-price { --sk: 0deg; }
@media (max-width: 899px) { .what-card { --sk: 0deg; } }
.what-grid { padding-inline: 0; }
.what-card::before { border-radius: 16px; }
.what-card:hover::before, .what-card:focus-visible::before { transform: none; }
.what-price::before, .pk-badge::before { border-radius: 999px; }
.what-facts { padding-left: 0; }
.what-facts li::before { border-radius: 999px; }
@media (min-width: 900px) {
  .what-card, #paketi .what-card { padding: 22px clamp(28px, 3vw, 56px); }
}
@media (max-width: 899px) { .what-card { padding: 22px 22px; } }

/* плашки внутри строк и нижние плашки снова со скосом; сами строки прямоугольные */
.what-price, .what-card .what-price, .pk-badge, .what-facts li { --sk: 32deg; }
.what-price { padding: 9px 26px; }
.what-price::before { border-radius: 8px; }
.pk-badge::before { border-radius: 6px; }
.what-facts { padding-left: 14px; }
.what-facts li { padding: 10px 28px; }
.what-facts li::before { border-radius: 10px; }
.pk-row strong { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.pk-badge { margin-left: auto; margin-right: 12px; }
@media (max-width: 899px) { .pk-row strong { justify-content: flex-start; } .pk-badge { margin-left: 12px; } }

/* шаги: номер в скошенной плашке с мягким морганием, как у кнопки «Меню» */
.steps li { position: relative; grid-template-columns: 1fr; }
@media (max-width: 899px) { .steps li { grid-template-columns: 64px 1fr; } }
.steps li::before { width: 56px; height: 44px; border-radius: 0; background: none; color: var(--lazur-deep); position: relative; z-index: 1; }
.steps li::after { content: ""; position: absolute; left: var(--s-3); top: var(--s-3); width: 56px; height: 44px; border-radius: 8px; background: var(--mist); transform: skewX(32deg); animation: step-blink 2.8s ease-in-out infinite; }
.steps li:nth-child(2)::after { animation-delay: .5s; } .steps li:nth-child(3)::after { animation-delay: 1s; }
.steps li:nth-child(4)::after { animation-delay: 1.5s; } .steps li:nth-child(5)::after { animation-delay: 2s; }
@keyframes step-blink { 0%, 100% { box-shadow: 0 0 0 0 rgba(10, 124, 145, .38); } 50% { box-shadow: 0 0 0 9px rgba(10, 124, 145, 0); } }
@media (prefers-reduced-motion: reduce) { .steps li::after { animation: none; } }

.steps li { align-content: start; }
.steps li::after { left: calc(var(--s-3) + 14px); }
.steps li::before { margin-left: 14px; }

.steps li::after { animation: none; box-shadow: none; }

@media (min-width: 900px) { .calc-result { align-self: center; } }
.calc-result .btn-row { display: flex; flex-wrap: wrap; gap: 14px 18px; padding-inline: 14px; }

/* шаги: крупный контурный номер во всю плашку за текстом */
.steps li { overflow: hidden; grid-template-columns: 1fr; }
.steps li::after { display: none; }
.steps li::before { position: absolute; z-index: 0; margin: 0; width: auto; height: auto; right: -4px; bottom: -26px; top: auto; left: auto; display: block; font-family: var(--font-display); font-weight: 600; font-size: 15rem; line-height: 1; color: transparent; -webkit-text-stroke: 2px rgba(10, 124, 145, .24); pointer-events: none; }
.steps li > * { position: relative; z-index: 1; }
@media (max-width: 899px) { .steps li { grid-template-columns: 1fr; } .steps li::before { font-size: 9.5rem; bottom: -22px; right: 6px; } }

.cta-band p { max-width: none; }

/* бейдж «Подходит большинству» на /ceny/ со скосом, подписи подвала в акцентном цвете */
.pkg .badge { position: relative; isolation: isolate; background: none; border-radius: 0; padding: 4px 18px; }
.pkg .badge::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--lazur-bright); border-radius: 6px; transform: skewX(32deg); }
.footer-title { color: var(--lazur-bright); font-weight: 700; font-size: 1.25rem; letter-spacing: .01em; }

/* «Как проходит работа»: меньше воздуха, без цифр-очертаний */
#process { padding-block: clamp(40px, 5vw, 64px); }
#process .steps { margin-top: var(--s-4) !important; }
.steps li::after { display: none !important; }
/* единый формат цифр: Unbounded, градиент от яркого лазурного к глубокому */
#chto .what-n.what-n, .steps li::before {
  font-family: var(--font-display); font-weight: 600; letter-spacing: .02em; text-transform: none;
  background: linear-gradient(135deg, var(--lazur-bright), var(--lazur-deep));
  -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-stroke: 0;
}
#chto .what-n.what-n { font-size: clamp(2rem, 3vw, 2.75rem); line-height: 1; }
.steps li::before { content: counter(step, decimal-leading-zero); position: static; display: block; width: auto; height: auto; margin: 0 0 var(--s-2); font-size: 2.25rem; line-height: 1; pointer-events: auto; }
@media (max-width: 899px) { .steps li::before { font-size: 2rem; margin: 0 0 8px; } }

/* три плашки под рядами услуг: заливка как у сроков (7–10 дней) */
.what-facts li { color: var(--lazur); font-weight: 600; }
.what-facts li::before { background: rgba(10, 124, 145, .12); border: 0; }


/* на ноутбуках логотип в шапке компактнее, чтобы развёрнутое меню не наезжало на него */
@media (min-width: 720px) and (max-width: 1499px) { .header .logo .logo-t .logo-wm { width: 170px; } }

/* единые вертикальные отступы у всех секций: сверху = снизу = --section-y, без растяжки на высоту окна */
.hero-dark ~ section, .what { min-height: 0; display: block; padding-block: var(--section-y); }
#process { padding-block: var(--section-y); }

/* блок под заголовком внутренней страницы: чуть больше воздуха */
.page-hero { padding-block: clamp(52px, 8vw, 104px) var(--s-4); }
.page-hero + .section { padding-top: clamp(40px, 5vw, 72px); }

/* ряды: колонки подгоняются под содержимое, но с потолком, чтобы не вылезти за край при любом шрифте */
@media (min-width: 1100px) {
  .what-grid, .what-grid.pk-rows { grid-template-columns: fit-content(190px) fit-content(330px) minmax(200px, 1fr) fit-content(260px) 54px; column-gap: 28px; }
  .what-grid > .what-card, #paketi .what-grid > .what-card { grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; align-items: center; padding: 22px 48px; }
  .what-card:hover, .what-card:focus-visible { padding-inline: 48px; }
  .pk-badge { margin-left: 18px; margin-right: 0; }
}
@media (min-width: 1100px) and (max-width: 1360px) {
  .what-grid, .what-grid.pk-rows { grid-template-columns: fit-content(150px) fit-content(270px) minmax(160px, 1fr) fit-content(230px) 48px; column-gap: 20px; }
  .what-grid > .what-card, #paketi .what-grid > .what-card { padding: 20px 32px; }
  .what-card:hover, .what-card:focus-visible { padding-inline: 32px; }
}

/* «Почему со мной»: воздух между заголовком пункта и описанием */
.reasons h3 { margin-bottom: 14px; }
.reasons p { margin-top: 0; max-width: none; }
@media (min-width: 900px) and (max-width: 1700px) { .reasons { column-gap: 28px; } .reasons p { font-size: .9375rem; } }
@media (min-width: 900px) and (max-width: 1560px) { .reasons p { font-size: .875rem; } }

/* «Расскажите о задаче»: вторая строка подзаголовка помещается в одну строку на ноутбуке */
@media (min-width: 900px) { #zayavka .lead { font-size: clamp(1rem, 1.2vw, 1.25rem); } }

/* «Как проходит работа»: тёмная секция, как «Почему со мной» */
#process .steps li { background: rgba(255, 255, 255, .05); border-color: var(--line-night); }
#process .steps strong { color: var(--on-night); }
#process .steps .term { color: var(--lazur-bright); }
#process .steps p { color: var(--on-night-muted); }

/* кнопка на карточке проекта: текст не должен наследовать цвет ссылки */
.case-side a.btn { align-self: flex-start; }
.case-cta { align-self: flex-start; }

/* линейные иконки (шаги работы, «Почему со мной») */
.ic { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.steps li { position: relative; }
.st-ic { position: absolute; top: var(--s-3); right: var(--s-3); width: 30px; height: 30px; color: var(--lazur-bright); opacity: .9; }
.r-ic { position: relative; isolation: isolate; display: inline-grid; place-items: center; width: 60px; height: 48px; margin-bottom: var(--s-2); color: var(--lazur-bright); }
.r-ic::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 10px; background: rgba(70, 205, 221, .12); border: 1px solid rgba(70, 205, 221, .3); transform: skewX(-18deg); }

/* быстрые контакты на телефоне: Telegram слева, звонок справа от кнопки «Меню» */
.quick { display: none; }
@media (max-width: 899px) {
  .quick { display: block; }
  .quick a { position: fixed; z-index: 50; right: max(16px, env(safe-area-inset-right, 0px)); left: auto; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; transition: opacity .3s, scale .15s; }
  .quick a:active { scale: .95; }
  .quick svg { width: 24px; height: 24px; }
  .quick-tg { bottom: max(16px, env(safe-area-inset-bottom, 0px)); background: #00a8cc; color: #fff; border: 1px solid rgba(103, 232, 249, .4); box-shadow: 0 0 20px rgba(0, 168, 204, .45); }
  .quick-tg svg { fill: currentColor; stroke: none; }
  .quick-ph { bottom: calc(max(16px, env(safe-area-inset-bottom, 0px)) + 64px); background: rgba(10, 24, 38, .9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border: 1px solid rgba(163, 230, 53, .6); color: #a3e635; box-shadow: 0 0 20px rgba(163, 230, 53, .4); }
  .quick-ph::before { content: ""; position: absolute; inset: -4px; border-radius: 50%; background: rgba(163, 230, 53, .25); animation: quick-halo 1.8s cubic-bezier(0, 0, .2, 1) infinite; pointer-events: none; z-index: -1; }
  .quick-ph .quick-ph-ic { fill: currentColor; stroke: none; transform: scaleX(-1); }
  .dock-open .quick a { opacity: 0; pointer-events: none; }
}
@keyframes quick-halo { 0% { transform: scale(1); opacity: .8; } 75%, 100% { transform: scale(1.6); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .quick-ph::before { animation: none; opacity: 0; } }

.steps li > .st-ic { position: absolute; top: var(--s-3); right: var(--s-3); }

/* кнопка на карточке проекта у́же и компактнее на телефоне */
@media (max-width: 719px) {
  .case-side a.btn { padding-inline: 1.25rem; font-size: .9375rem; min-height: 44px; }
}

/* «Как проходит работа»: строки с описанием и списком, как в «Что я делаю» */
.pw { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: pw; }
.pw > li { counter-increment: pw; position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px 18px; align-items: center; padding: 22px 22px 22px 20px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line-night); border-radius: var(--r-lg); }
.pw > li::before { content: counter(pw, decimal-leading-zero); grid-column: 1; grid-row: 1; font-family: var(--font-display); font-weight: 600; font-size: 1.75rem; line-height: 1; color: var(--lazur-bright); min-width: 2.2ch; }
.pw h3 { grid-column: 2; grid-row: 1; margin: 0; font-size: var(--fs-20); color: var(--on-night); }
.pw-term { grid-column: 3; grid-row: 1; position: relative; isolation: isolate; padding: 7px 18px; font-size: .875rem; font-weight: 600; color: var(--lazur-bright); white-space: nowrap; }
.pw-term::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 8px; background: rgba(70, 205, 221, .12); border: 1px solid rgba(70, 205, 221, .35); transform: skewX(32deg); }
.pw-d { grid-column: 1 / -1; margin: 0; color: var(--on-night-muted); font-size: .9375rem; }
.pw ul { grid-column: 1 / -1; list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.pw ul li { position: relative; padding-left: 22px; color: var(--on-night); font-size: .875rem; }
.pw ul li::before { content: ""; position: absolute; left: 3px; top: .35em; width: 6px; height: 10px; border: solid var(--lazur-bright); border-width: 0 2px 2px 0; transform: rotate(40deg); }
@media (min-width: 1100px) {
  .pw > li { grid-template-columns: 64px 56px minmax(150px, .8fr) minmax(0, 1.5fr) minmax(0, 1.1fr) 140px; gap: 0 24px; padding: 22px 28px 22px 24px; }
  .pw > li::before { grid-row: 1; }
  .pw h3 { grid-column: 2; }
  .pw-d { grid-column: 4; grid-row: 1; }
  .pw ul { grid-column: 5; grid-row: 1; }
  .pw-term { grid-column: 5; justify-self: end; }
}

/* «Что я делаю»: к описанию добавлен список из трёх пунктов */
.what-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; position: relative; z-index: 1; }
.what-list li { position: relative; padding-left: 22px; font-size: .875rem; color: var(--ink); }
.what-list li::before { content: ""; position: absolute; left: 3px; top: .3em; width: 6px; height: 10px; border: solid var(--lazur); border-width: 0 2px 2px 0; transform: rotate(40deg); }
.what-card:hover .what-list li, .what-card:focus-visible .what-list li { color: var(--on-night); }
.what-card:hover .what-list li::before, .what-card:focus-visible .what-list li::before { border-color: var(--lazur-bright); }
#chto .what-n.what-n { font-size: clamp(2.25rem, 3.2vw, 3.25rem); overflow: visible; padding-right: .1em; }
@media (max-width: 1099px) {
  #chto .what-card { grid-template-columns: auto minmax(0, 1fr) auto; column-gap: 16px; row-gap: 12px; }
  #chto .what-card p, #chto .what-list { grid-column: 1 / -1; }
  #chto .what-go { display: none; }
  #chto .what-n { grid-column: 1; grid-row: 1; }
  #chto .what-card strong { grid-column: 2; grid-row: 1; white-space: normal; }
  #chto .what-price { grid-column: 3; grid-row: 1; margin: 0; }
  #chto .what-card p { grid-row: 2; }
  #chto .what-list { grid-row: 3; }
}
@media (min-width: 1100px) {
  #chto .what-grid { grid-template-columns: max-content fit-content(300px) minmax(220px, 1.5fr) minmax(190px, 1fr) fit-content(190px) 54px; column-gap: 28px; }
}
@media (min-width: 1100px) and (max-width: 1360px) {
  #chto .what-grid { grid-template-columns: max-content fit-content(240px) minmax(180px, 1.4fr) minmax(170px, 1fr) fit-content(160px) 48px; column-gap: 20px; }
}

/* ===== «Что я делаю» и «Как проходит работа»: один дизайн строк ===== */
.what-title { font-size: var(--fs-40); line-height: 1.15; }
/* общие размеры */
.pw { gap: 22px; }
@media (min-width: 900px) { .pw { gap: 28px; } }
.pw > li { border-radius: 16px; padding: 22px; min-height: 0; }
@media (min-width: 900px) { .pw > li { min-height: 124px; padding: 22px clamp(28px, 3vw, 56px); } }
/* цифры: тот же шрифт, размер и градиент */
.pw > li::before, #chto .what-n.what-n { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.25rem, 3.2vw, 3.25rem); line-height: 1; letter-spacing: 0; text-transform: none; color: transparent; -webkit-text-stroke: 0; background: linear-gradient(135deg, var(--lazur-bright), var(--lazur-deep)); -webkit-background-clip: text; background-clip: text; padding-right: .1em; min-width: 0; }
/* названия */
.pw h3, #chto .what-card strong { overflow-wrap: break-word; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.05rem, 1.25vw, 1.35rem); line-height: 1.2; letter-spacing: 0; white-space: normal; }
@media (max-width: 1099px) { .pw h3, #chto .what-card strong { font-size: 1.125rem; } }
/* описания и списки */
.pw-d, #chto .what-card p { font-size: 1rem; line-height: 1.5; }
.pw ul, .what-list { gap: 5px; }
/* плашки сроков */
.pw-term { padding: 9px 26px; font-size: .9375rem; min-width: 140px; text-align: center; }
.pw-term::before { border-radius: 8px; background: rgba(70, 205, 221, .12); }
/* плитки с иконками */
@media (min-width: 1100px) {
  #chto .what-grid, .pw { grid-template-columns: max-content fit-content(400px) minmax(240px, 1.3fr) minmax(240px, 1fr) fit-content(230px) 54px; column-gap: 24px; }
  #chto .what-card strong { grid-column: 2; }
  #chto .what-card p { grid-column: 3; }
  #chto .what-list { grid-column: 4; }
  #chto .what-price { grid-column: 5; }
  #chto .what-go { grid-column: 6; }
  .pw > li { grid-column: 1 / -1; grid-template-columns: subgrid; column-gap: 28px; padding: 22px 48px; }
  .pw > li::before { grid-column: 1; }
  .pw h3 { grid-column: 2; }
  .pw-d { grid-column: 3; }
  .pw ul { grid-column: 4; }
  .pw-term { grid-column: 5; justify-self: end; }
}
@media (min-width: 1100px) and (max-width: 1360px) {
  #chto .what-grid, .pw { grid-template-columns: max-content fit-content(300px) minmax(200px, 1.4fr) minmax(180px, 1fr) fit-content(190px) 48px; column-gap: 20px; }
  .pw > li { column-gap: 20px; padding: 20px 32px; }
  .pw h3, #chto .what-card strong { grid-column: 2; }
  .pw-d, #chto .what-card p { grid-column: 3; }
  .pw ul, #chto .what-list { grid-column: 4; }
  .pw-term, #chto .what-price { grid-column: 5; }
  #chto .what-go { grid-column: 6; }
}

@media (max-width: 719px) { .pw-term { padding: 8px 16px; min-width: 0; font-size: .875rem; } .what-price { min-width: 0; } }

/* услуги: кнопки действия в каждой карточке и подсветка открытой по ссылке */
.svc-cta { padding-left: 12px; display: flex; flex-wrap: wrap; gap: 12px; margin-top: var(--s-2); }
.svc:target { border-color: var(--lazur); box-shadow: 0 0 0 2px var(--lazur), var(--shadow); }

/* пакеты: при переходе по ссылке с главной карточка выбранного пакета видна сразу, рядом остальные */
.pkg { scroll-margin-top: 110px; }
.pkg:target { outline: 2px solid var(--lazur); outline-offset: 3px; }

/* ===== плавный переход между страницами: содержимое мягко «растворяется» с размытием и сдвигом, шапка и меню остаются на месте, сверху бежит бирюзовая линия ===== */
@keyframes ks-in { from { opacity: 0; filter: blur(3px); transform: translateY(14px); } to { opacity: 1; filter: blur(0); transform: none; } }
main, .footer { animation: ks-in .7s cubic-bezier(.16, 1, .3, 1) backwards; }
html.pt-go main, html.pt-go .footer { opacity: 0; transform: translateY(-6px); transition: opacity .24s ease, transform .24s ease; }
html::after { content: ""; position: fixed; left: 0; top: 0; height: 3px; width: 0; z-index: 9999; pointer-events: none; opacity: 0; background: linear-gradient(90deg, #0a7c91, #46cddd, #b8f2f8); box-shadow: 0 0 14px rgba(70, 205, 221, .85); }
html.pt-go::after { width: 100%; opacity: 1; transition: width .5s cubic-bezier(.2, .7, .2, 1), opacity .1s; }
@media (prefers-reduced-motion: reduce) { main, .footer { animation: none; } html.pt-go main, html.pt-go .footer { opacity: 1; filter: none; transform: none; transition: none; } html::after { display: none; } }

/* ряды на широких экранах: свободное место делится между колонками поровну, а не копится в одном месте */
@media (min-width: 1361px) {
  #chto .what-grid, .pw { grid-template-columns: max-content minmax(210px, 1fr) minmax(260px, 1.6fr) minmax(230px, 1.1fr) max-content 54px; column-gap: clamp(28px, 3.6vw, 90px); }
  .what-grid.pk-rows { grid-template-columns: fit-content(190px) minmax(max-content, 1fr) minmax(260px, 2fr) max-content 54px; column-gap: clamp(28px, 3.6vw, 90px); }
  .pw-term, #chto .what-price { min-width: 150px; }
}

/* «Подходит большинству»: ровно посередине между названием пакета и описанием */
@media (min-width: 1100px) {
  .pk-rows { --pk-gap: 20px; }
  .pk-row strong { justify-content: flex-start; }
  .pk-row .pk-badge { margin-left: auto; margin-right: auto; }
}
@media (min-width: 1361px) { .pk-rows { --pk-gap: clamp(28px, 3.6vw, 90px); } }

/* ===== «Почему со мной проще и быстрее»: тёмная секция, стеклянные карточки ===== */
#pochemu.why { background: linear-gradient(180deg, #08121e 0%, #030712 100%); color: #fff; padding-block: clamp(64px, 8vw, 112px); }
#pochemu .why-in { max-width: calc(1200px + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.why-tag { display: inline-block; padding: 6px 14px; border-radius: 999px; border: 1px solid rgba(45, 212, 191, .35); background: rgba(45, 212, 191, .08); color: #2dd4bf; font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
#pochemu h2 { margin: 18px 0 0; max-width: 22ch; color: #fff; font-size: clamp(2.25rem, 4vw, 3rem); line-height: 1.12; text-wrap: balance; }
.why-sub { margin: 16px 0 0; max-width: 60ch; color: #94a3b8; font-size: 1.0625rem; }
.why-grid { display: grid; grid-template-columns: 1fr; gap: 24px; margin-top: clamp(32px, 4vw, 48px); }
@media (min-width: 768px) { .why-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.why-card { padding: 28px; border-radius: 16px; background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .08); transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease, background .3s ease; }
.why-card:hover { transform: translateY(-4px); border-color: #2dd4bf; background: rgba(255, 255, 255, .05); box-shadow: 0 0 0 1px rgba(45, 212, 191, .35), 0 14px 40px rgba(45, 212, 191, .14); }
.why-ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: rgba(45, 212, 191, .12); border: 1px solid rgba(45, 212, 191, .25); color: #2dd4bf; }
.why-ic .ic { width: 24px; height: 24px; }
.why-card h3 { margin: 20px 0 0; color: #fff; font-size: 1.1875rem; line-height: 1.3; font-weight: 600; }
.why-card p { margin: 10px 0 0; color: #94a3b8; font-size: .9375rem; line-height: 1.6; max-width: none; }
@media (prefers-reduced-motion: reduce) { .why-card, .why-card:hover { transition: none; transform: none; } }

/* ===== Подбор пакета: форма слева, динамическая карточка справа ===== */
.calc { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; margin-top: var(--s-6); padding: 0; background: none; border: 0; box-shadow: none; border-radius: 0; align-items: start; }
@media (min-width: 1024px) { .calc { grid-template-columns: repeat(12, minmax(0, 1fr)); padding: 0; gap: 32px; } .calc-form { grid-column: span 7; } .calc-result { grid-column: span 5; position: sticky; top: 110px; align-self: start; } }
.calc-form { padding: clamp(20px, 3vw, 36px); background: var(--white); border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 18px 50px rgba(13, 34, 48, .08); }
.calc .q { border: 0; margin: 0; padding: 0; min-width: 0; }
.calc .q + .q { margin-top: 28px; }
.calc .q legend { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; padding: 0; font-weight: 700; font-size: 1.125rem; color: var(--ink); }
.q-n { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--lazur); color: #fff; font-size: .875rem; font-weight: 700; flex: none; }
.rc-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 560px) { .rc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.rc { position: relative; display: block; margin: 0; }
.rc input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; z-index: 1; }
.rc-box { display: grid; grid-template-columns: 44px minmax(0, 1fr) 22px; align-items: center; gap: 12px; height: 100%; padding: 14px; border: 1.5px solid var(--line); border-radius: 16px; background: var(--white); transition: border-color .2s, background .2s, box-shadow .2s, transform .2s; }
.rc:hover .rc-box { border-color: var(--lazur); transform: translateY(-1px); }
.rc-ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(10, 124, 145, .1); color: var(--lazur); transition: background .2s, color .2s; }
.rc-ic .ic { width: 22px; height: 22px; }
.rc-t { display: grid; gap: 2px; min-width: 0; }
.rc-t b { font-weight: 600; font-size: .9375rem; line-height: 1.25; color: var(--ink); }
.rc-t small { font-size: .8125rem; line-height: 1.35; color: var(--ink-soft); }
.rc-dot { width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--white); transition: background .2s, border-color .2s; position: relative; }
.rc input:checked + .rc-box { border-color: var(--lazur); background: rgba(10, 124, 145, .07); box-shadow: 0 0 0 1px var(--lazur); }
.rc input:checked + .rc-box .rc-ic { background: var(--lazur); color: #fff; }
.rc input:checked + .rc-box .rc-dot { background: var(--lazur); border-color: var(--lazur); }
.rc input:checked + .rc-box .rc-dot::after { content: ""; position: absolute; left: 6px; top: 2.5px; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.rc input:focus-visible + .rc-box { outline: 3px solid var(--ink); outline-offset: 2px; }
.q-city { margin-top: 28px; }
.q-city label { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 1.125rem; margin-bottom: 14px; }
.q-city .muted { font-weight: 400; font-size: .9375rem; }
.in-wrap { position: relative; }
.in-wrap .ic { position: absolute; left: 14px; top: 50%; width: 20px; height: 20px; margin-top: -10px; color: var(--lazur); pointer-events: none; }
.in-wrap input[type="text"] { padding-left: 46px; border-radius: 14px; width: 100%; }
/* карточка результата */
.calc-result { overflow: hidden; padding: clamp(24px, 3vw, 32px); min-height: 0; border-radius: 24px; color: #fff; background: linear-gradient(160deg, #0f2a3c 0%, #08121e 70%); border: 1px solid rgba(70, 205, 221, .25); box-shadow: 0 24px 60px rgba(8, 18, 30, .35); }
.calc-result { position: relative; top: auto; align-self: start; }
@media (min-width: 1024px) { .calc-result { position: sticky; top: 110px; } }
.calc-result::before { content: ""; position: absolute; right: -80px; top: -80px; width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(circle, rgba(70, 205, 221, .28), transparent 65%); pointer-events: none; }
.calc-result > * { position: relative; }
.res-kicker { margin: 0; color: var(--lazur-bright); font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.calc-result .big { margin: 10px 0 0; color: #fff; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.5rem, 2.4vw, 1.875rem); line-height: 1.15; }
.res-empty { margin: 14px 0 0; color: #94a3b8; font-size: 1rem; }
.calc-result.is-empty { min-height: 180px; }
.res-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.res-price, .res-term { display: inline-block; padding: 8px 16px; border-radius: 10px; font-weight: 600; font-size: .9375rem; }
.res-price { background: rgba(70, 205, 221, .16); border: 1px solid rgba(70, 205, 221, .4); color: var(--lazur-bright); }
.res-term { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); color: #e2e8f0; }
.calc-result .res-note { margin: 16px 0 0; color: #94a3b8; font-size: .9375rem; }
.res-list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.res-list li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; align-items: start; color: #e2e8f0; font-size: .9375rem; }
.res-list .ic { width: 18px; height: 18px; margin-top: 2px; color: var(--lazur-bright); stroke-width: 2.4; }
.res-alt { display: block; margin-top: 14px; text-align: center; color: #cbd5e1; font-size: .875rem; }
.res-alt:hover { color: #fff; }
.calc-result .note { margin: 16px 0 0; color: #64748b; font-size: .8125rem; text-align: center; }
/* сброс старых стилей .res-price/.res-term */
.calc-result .res-price, .calc-result .res-term { margin: 0; font-size: .9375rem; font-weight: 600; line-height: 1.2; }
.res-chips { align-items: center; }
@media (prefers-reduced-motion: reduce) { .rc-box, .res-cta, .res-cta .ic { transition: none; } }

#podbor { background: #F4F7F9; }
.container.podbor-in { max-width: calc(1200px + 2 * var(--gutter)); margin-inline: auto; }
@media (min-width: 1024px) { .calc-form { grid-column: span 7; } .calc-result { grid-column: span 5; } }
.calc-form { border-radius: 16px; box-shadow: 0 1px 3px rgba(15, 23, 42, .06); border-color: #f1f5f9; }
.calc-result { background: #0B1B2B; border-radius: 16px; border-color: rgba(255, 255, 255, .06); }
.res-kicker { display: inline-block; padding: 5px 12px; border-radius: 999px; background: rgba(34, 211, 238, .12); border: 1px solid rgba(34, 211, 238, .35); color: #67e8f9; }
/* ===== Кейс: контейнер 1200, светлый фон, карточка 5/7 ===== */
.container.wrap-1200 { max-width: calc(1200px + 2 * var(--gutter)); margin-inline: auto; }
#portfolio .case { border-radius: 24px; border-color: #f1f5f9; box-shadow: 0 1px 3px rgba(15, 23, 42, .06); padding: clamp(20px, 3vw, 32px); gap: 32px; }
@media (min-width: 1024px) { #portfolio .case { grid-template-columns: repeat(12, minmax(0, 1fr)); } #portfolio .case > .case-side { grid-column: span 5; } #portfolio .case > div:last-child { grid-column: span 7; } }
#portfolio .case-side { background: #0B1B2B; border-radius: 16px; padding: clamp(20px, 2.5vw, 28px); min-height: 240px; }
#portfolio .case-side .name { font-weight: 800; font-size: clamp(1.75rem, 3vw, 2.25rem); color: #fff; }
#portfolio .case-side p { color: #94a3b8; }
#portfolio .case-side .name { color: #fff; }
#portfolio .case h3 { font-size: 1.25rem; font-weight: 700; margin: 0 0 16px; }
#portfolio .case ul { margin-top: 0; }
#portfolio .case .note { margin-top: 24px; color: #94a3b8; font-size: .875rem; }
/* ===== Как проходит работа: 12-колоночные плашки ===== */
#process { background: #0D1B2A; padding-block: clamp(64px, 8vw, 112px); }
#process .section-head h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.625rem, 3vw, 1.875rem); color: #fff; }
#process .section-head .lead { margin-top: 8px; font-size: .875rem; color: #94a3b8; max-width: none; }
#process .pw { display: flex; flex-direction: column; gap: 16px; margin-top: 32px !important; }
#process .pw > li { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px 16px; align-items: center; min-height: 0; padding: 24px; background: #132337; border: 1px solid rgba(30, 41, 59, .8); border-radius: 16px; box-shadow: none; transition: border-color .25s; }
#process .pw > li:hover { border-color: rgba(6, 182, 212, .3); }
#process .pw > li::before { grid-column: auto; grid-row: auto; font-family: var(--font-display); font-weight: 800; font-size: 1.875rem; line-height: 1; color: #22d3ee; background: none; -webkit-background-clip: border-box; background-clip: border-box; -webkit-text-fill-color: #22d3ee; padding: 0; }
#process .pw .pw-t, #process .pw ul, #process .pw .pw-term { grid-column: auto; grid-row: auto; }
#process .pw h3 { grid-column: auto; grid-row: auto; margin: 0; font-family: var(--font-body, inherit); font-weight: 700; font-size: 1.125rem; line-height: 1.3; color: #fff; }
#process .pw .pw-d { grid-column: auto; grid-row: auto; margin: 6px 0 0; font-size: .875rem; line-height: 1.5; color: #cbd5e1; }
#process .pw ul { gap: 4px; }
#process .pw ul li { font-size: .75rem; line-height: 1.5; color: #cbd5e1; padding-left: 20px; }
#process .pw .pw-term { justify-self: start; min-width: 0; padding: 4px 12px; font-size: .75rem; font-weight: 500; text-align: center; white-space: nowrap; color: #67e8f9; background: rgba(6, 182, 212, .1); border: 1px solid rgba(6, 182, 212, .3); border-radius: 999px; }
#process .pw .pw-term::before { display: none; }
@media (min-width: 768px) {
  #process .pw > li { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
  #process .pw > li::before { grid-column: span 2; }
  #process .pw .pw-t { grid-column: span 4; }
  #process .pw ul { grid-column: span 4; }
  #process .pw .pw-term { grid-column: span 2; justify-self: end; }
}
/* ===== Пакеты: 3 карточки + плашка «Продвижение» ===== */
.pk3-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; margin-top: 32px; align-items: stretch; }
@media (min-width: 768px) { .pk3-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pk3 { position: relative; display: flex; flex-direction: column; align-items: flex-start; padding: 24px; background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; box-shadow: 0 1px 3px rgba(15, 23, 42, .06); color: #0f172a; }
.pk3-term { display: inline-block; width: max-content; max-width: 100%; padding: 4px 12px; border-radius: 999px; background: #f1f5f9; color: #475569; font-size: .75rem; font-weight: 500; }
.pk3-name { margin: 12px 0 0; font-family: var(--font-body, inherit); font-size: 1.25rem; font-weight: 700; line-height: 1.25; color: #0f172a; }
.pk3-price { margin: 8px 0; font-size: 1.5rem; font-weight: 800; line-height: 1.2; color: #0891b2; }
.pk3-d { margin: 0; font-size: .9375rem; color: #475569; }
.pk3-list { list-style: none; margin: 16px 0 24px; padding: 0; display: grid; gap: 10px; font-size: .9375rem; color: #334155; }
.pk3-list li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; align-items: start; }
.pk3-list .ic { width: 18px; height: 18px; margin-top: 2px; fill: none; stroke: #0891b2; stroke-width: 2.5; }
.pk3 .pk3-cta { width: calc(100% - 20px); margin: auto 10px 0; }
.pk3--main { background: #0B1B2B; border: 2px solid #22d3ee; color: #fff; box-shadow: 0 20px 45px rgba(11, 27, 43, .3); }
.pk3--main .pk3-name { color: #fff; font-size: 1.5rem; }
.pk3--main .pk3-price { color: #22d3ee; font-size: 1.875rem; }
.pk3--main .pk3-d { color: #94a3b8; }
.pk3--main .pk3-list { color: #cbd5e1; }
.pk3--main .pk3-list .ic { stroke: #22d3ee; }
.pk3--main .pk3-term { background: #1e293b; color: #67e8f9; }
.pk3-flag { display: inline-block; margin-bottom: 8px; padding: 4px 12px; border-radius: 999px; background: #22d3ee; color: #0f172a; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.pk3-wide { display: flex; flex-direction: column; align-items: stretch; justify-content: space-between; gap: 16px; margin-top: 24px; padding: 20px; background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; }
.pk3-wide-h { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 8px; }
.pk3-wide-h .pk3-name { margin: 0; }
.pk3-wide-r { display: flex; flex-direction: column; gap: 12px; }
.pk3-wprice { margin: 0; font-size: 1.125rem; font-weight: 700; color: #0891b2; }
@media (min-width: 768px) { .pk3-wide { flex-direction: row; align-items: center; } .pk3-wide-l { max-width: 640px; } .pk3-wide-r { flex-direction: row; align-items: center; gap: 20px; flex: none; } }
/* заголовок пакетов: «и» не висит в конце строки */
@media (min-width: 640px) { #h-paketi .h-ln { display: block; } }
/* плашка «Продвижение» */
.pk3-wide { gap: 24px; margin-top: 24px; padding: 24px; border-radius: 16px; box-shadow: 0 1px 3px rgba(15, 23, 42, .06); }
.pk3-wide-l { min-width: 0; }
.pk3-wide-h { margin-bottom: 4px; gap: 8px 12px; }
.pk3-wide .pk3-d { margin: 4px 0 0; max-width: 36rem; font-size: .875rem; line-height: 1.55; color: #64748b; }
.pk3-wide-r { gap: 16px; align-items: stretch; }
.pk3-wprice { font-size: 1rem; font-weight: 700; white-space: nowrap; color: #0891b2; }
.pk3-wide .pk3-cta { padding: 10px 20px; font-weight: 500; white-space: nowrap; }
@media (min-width: 768px) { .pk3-wide { flex-direction: row; align-items: center; justify-content: space-between; } .pk3-wide-l { max-width: none; flex: 1 1 auto; } .pk3-wide-r { flex-direction: row; align-items: center; gap: 24px; } }
@media (max-width: 767px) { .pk3-wide-r { align-items: flex-start; } .pk3-wide .pk3-cta { width: 100%; } .pk3-wprice { align-self: flex-start; } }
/* ===== «Как проходит работа»: воздушная типографика ===== */
#process .pw { gap: 16px; }
#process .pw > li { padding: 24px; gap: 16px; background: rgba(17, 34, 51, .7); border-color: rgba(51, 65, 85, .5); box-shadow: 0 1px 2px rgba(0, 0, 0, .15); }
#process .pw > li:hover { border-color: rgba(6, 182, 212, .4); }
#process .pw > li::before { font-weight: 700; font-size: 1.5rem; opacity: .9; white-space: nowrap; }
#process .pw h3 { font-weight: 600; font-size: 1rem; line-height: 1.4; }
#process .pw .pw-d { margin-top: 8px; max-width: 24rem; font-size: .8125rem; line-height: 1.7; color: rgba(203, 213, 225, .9); }
#process .pw ul { gap: 6px; }
#process .pw ul li { font-size: .75rem; line-height: 1.6; color: rgba(203, 213, 225, .8); }
#process .pw .pw-term { padding: 4px 12px; font-size: 11px; background: rgba(8, 51, 68, .6); border-color: rgba(6, 182, 212, .3); color: #67e8f9; }
@media (min-width: 768px) {
  #process .pw > li { padding: 28px; gap: 24px; }
  #process .pw > li::before { grid-column: span 1; font-size: 1.875rem; }
  #process .pw h3 { font-size: 1.125rem; }
  #process .pw .pw-d { font-size: .875rem; }
  #process .pw .pw-t { grid-column: span 5; }
  #process .pw ul { grid-column: span 4; }
  #process .pw .pw-term { grid-column: span 2; justify-self: end; }
}
/* плашка «Продвижение»: 4 / 5 / 3 колонки */
.pk3-wide { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-items: center; padding: 24px; border-color: rgba(226, 232, 240, .8); }
.pk3-wide .pk3-d { margin-top: 4px; max-width: none; font-size: .875rem; font-weight: 500; color: #64748b; }
.pk3-wide .pk3-wide-list { margin: 0; gap: 6px; font-size: .75rem; color: #475569; }
.pk3-wide .pk3-wide-list .ic { width: 16px; height: 16px; margin-top: 1px; stroke: #06b6d4; }
.pk3-wide-r { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.pk3-wprice { font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #94a3b8; }
.pk3-wide .pk3-cta { width: auto; padding: 10px 20px; font-size: .875rem; }
@media (min-width: 768px) {
  .pk3-wide { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; }
  .pk3-wide-l { grid-column: span 4; max-width: none; }
  .pk3-wide-list { grid-column: span 5; }
  .pk3-wide-r { grid-column: span 3; align-items: flex-end; flex-direction: column; }
}
/* «Как проходит работа»: равномерное распределение и ровные строки */
#process .pw .pw-d { max-width: none; }
@media (min-width: 768px) {
  #process .pw > li { column-gap: 24px; }
  #process .pw .pw-t { padding-right: 16px; }
  #process .pw ul { padding-left: 8px; }
}
@media (max-width: 1199px) { #process .pw .pw-d br { display: none; } }
/* «Как проходит работа»: flex-строка — цифра слева, текст, список, срок у правого края */
@media (min-width: 768px) and (max-width: 899px) {
  #process .pw > li { grid-template-columns: minmax(0, 1fr); }
  #process .pw > li::before, #process .pw .pw-t, #process .pw ul, #process .pw .pw-term { grid-column: auto; justify-self: start; }
  #process .pw .pw-t { padding-right: 0; }
  #process .pw ul { padding-left: 0; }
}
@media (min-width: 900px) {
  #process .pw > li { display: flex; align-items: center; gap: 24px; padding: 28px; }
  #process .pw > li::before { flex: 0 0 auto; min-width: 64px; }
  #process .pw .pw-t { flex: 0 1 26rem; min-width: 20rem; max-width: 26rem; padding-right: 0; }
  #process .pw ul { flex: 0 1 280px; min-width: 220px; padding-left: 16px; }
  #process .pw .pw-term { flex: 0 0 auto; margin-left: auto; }
}
@media (min-width: 900px) { #process .pw > li:nth-child(5) .pw-d { max-width: 20rem; } }
@media (min-width: 900px) and (max-width: 959px) { #process .pw > li { gap: 16px; padding: 24px; } #process .pw > li::before { min-width: 52px; } #process .pw .pw-t { min-width: 18rem; } #process .pw ul { padding-left: 0; flex-basis: 220px; } #process .pw .pw-d { font-size: .8125rem; } }
/* «Как проходит работа»: мобильный вертикальный стек (до 900px) */
@media (max-width: 899px) {
  #process { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
  #process .pw > li { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 24px 22px; }
  #process .pw .pw-t { display: contents; }
  #process .pw > li::before { order: 1; }
  #process .pw h3 { order: 2; width: 100%; font-size: 1.25rem; line-height: 1.3; overflow-wrap: normal; word-break: normal; hyphens: none; }
  #process .pw .pw-term { order: 3; justify-self: auto; margin: 0; width: max-content; }
  #process .pw .pw-d { order: 4; margin: 4px 0 0; max-width: none; }
  #process .pw ul { order: 5; margin-top: 4px; padding-left: 0; }
}
/* «Бизнес»: плашка вынесена из потока, базовые линии совпадают с соседями */
.pk3--main { padding: 23px; }
.pk3--main .pk3-name { font-size: 1.25rem; }
.pk3--main .pk3-price { font-size: 1.5rem; }
.pk3-flag { position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%); margin: 0; padding: 4px 12px; font-size: 10px; font-weight: 700; letter-spacing: .08em; white-space: nowrap; box-shadow: 0 4px 12px rgba(34, 211, 238, .35); }
@media (min-width: 768px) { .pk3 .pk3-d { min-height: 3.1em; } }
/* ===== Что я делаю: карточки услуг 1/4/4/3 ===== */
.sv-kicker { margin: 0 0 8px; color: #0891b2; font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.sv-title { margin: 0; font-size: clamp(1.625rem, 3vw, 1.875rem); font-weight: 700; line-height: 1.2; color: #0f172a; }
@media (min-width: 640px) { .sv-title .h-ln { display: block; } }
.sv-list { display: flex; flex-direction: column; gap: 16px; margin-top: 32px; }
.sv { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "n r" "h h" "d d" "u u"; gap: 12px 16px; align-items: center; padding: 24px; background: #fff; border: 1px solid rgba(226, 232, 240, .8); border-radius: 16px; box-shadow: 0 1px 3px rgba(15, 23, 42, .06); color: #0f172a; text-decoration: none; transition: border-color .25s, transform .25s; }
.sv:hover { border-color: rgba(6, 182, 212, .4); }
.sv-n { grid-area: n; font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; line-height: 1; color: #06b6d4; white-space: nowrap; }
.sv-h { grid-area: h; margin: 0; font-family: var(--font-body); font-size: 1.25rem; font-weight: 700; line-height: 1.3; color: #0f172a; overflow-wrap: normal; word-break: normal; hyphens: none; }
.sv-d { grid-area: d; min-width: 0; }
.sv-desc { margin: 0; font-size: .8125rem; line-height: 1.55; color: #64748b; }
.sv-gain { margin: 6px 0 0; font-size: .8125rem; font-weight: 600; line-height: 1.5; color: #1e293b; }
.sv-ul { grid-area: u; list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 4px; font-size: .75rem; color: #475569; }
.sv-ul li { display: grid; grid-template-columns: 16px minmax(0, 1fr); gap: 8px; align-items: start; }
.sv-ul .ic { width: 16px; height: 16px; margin-top: 1px; fill: none; stroke: #06b6d4; stroke-width: 2.5; }
.sv-r { grid-area: r; display: flex; align-items: center; justify-content: flex-end; gap: 12px; }
.sv-term { padding: 6px 12px; border-radius: 999px; background: #f1f5f9; color: #475569; font-size: .75rem; font-weight: 500; white-space: nowrap; }
.sv-go { color: #94a3b8; font-size: 1.125rem; line-height: 1; transition: color .2s, transform .2s; }
.sv:hover .sv-go { color: #06b6d4; transform: translateX(3px); }
.sv-t { display: contents; }
@media (min-width: 900px) {
  .sv { grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-areas: none; gap: 24px; }
  .sv-n, .sv-h, .sv-d, .sv-ul, .sv-r { grid-area: auto; }
  .sv-n { grid-column: span 1; }
  .sv-t { display: block; grid-column: span 4; min-width: 0; }
  .sv-h { font-size: 1.125rem; }
  .sv-d { margin-top: 4px; }
  .sv-ul { grid-column: span 4; margin: 0; }
  .sv-r { grid-column: span 3; }
}
.sv-facts { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
@media (min-width: 768px) { .sv-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
.sv-facts li { padding: 12px 16px; border: 1px solid rgba(165, 243, 252, .6); border-radius: 12px; background: rgba(236, 254, 255, .8); color: #164e63; font-size: .75rem; font-weight: 600; text-align: center; }
/* ===== FAQ: карточный аккордеон ===== */
.container.wrap-1000 { max-width: calc(1000px + 2 * var(--gutter)); margin-inline: auto; }
.faq-cards { display: flex; flex-direction: column; gap: 16px; margin-top: 32px; border-top: 0; }
.faq-cards details { padding: 22px 24px; background: #fff; border: 1px solid rgba(226, 232, 240, .8); border-radius: 16px; box-shadow: 0 1px 3px rgba(15, 23, 42, .06); transition: border-color .25s, box-shadow .25s; }
@media (min-width: 768px) { .faq-cards details { padding: 24px 28px; } }
.faq-cards details:hover { border-color: rgba(34, 211, 238, .5); }
.faq-cards details[open] { border-color: rgba(34, 211, 238, .8); box-shadow: 0 0 0 1px rgba(34, 211, 238, .8), 0 8px 24px rgba(15, 23, 42, .08); }
.faq-cards summary { min-height: 0; padding: 0; gap: 16px; font-size: 1rem; font-weight: 700; line-height: 1.4; color: #0f172a; }
@media (min-width: 768px) { .faq-cards summary { font-size: 1.125rem; } }
.faq-cards summary::after { content: "+"; display: grid; place-items: center; width: 36px; height: 36px; flex: none; border: 0; border-radius: 50%; background: #f1f5f9; color: #64748b; font-size: 1.25rem; font-weight: 500; line-height: 1; transform: none; transition: background .2s, color .2s, transform .25s; }
.faq-cards details[open] summary::after { content: "−"; background: #22d3ee; color: #0f172a; transform: rotate(180deg); }
.faq-cards details > div { margin-top: 16px; padding: 16px 0 0; max-width: 42rem; border-top: 1px solid #f1f5f9; font-size: .9375rem; line-height: 1.65; color: #475569; }
.faq-cards details[open] > div { animation: faq-in .25s ease; }
@keyframes faq-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .faq-cards details[open] > div { animation: none; } .faq-cards summary::after { transition: none; } }
/* Кейс: типографика */
#portfolio .case-side .name { font-size: 1.25rem; font-weight: 700; letter-spacing: .04em; white-space: nowrap; line-height: 1.2; }
@media (min-width: 768px) { #portfolio .case-side .name { font-size: 1.5rem; } }
#portfolio .case-side p:not(.name):not(.case-cta) { margin-top: 8px !important; font-size: .75rem; line-height: 1.55; color: #cbd5e1; }
#portfolio .case h3 { font-size: 1.125rem; font-weight: 700; margin: 0 0 12px; color: #0f172a; }
#portfolio .case ul { gap: 8px; }
#portfolio .case li { font-size: .75rem; line-height: 1.55; color: #475569; grid-template-columns: 16px minmax(0, 1fr); gap: 8px; }
@media (min-width: 768px) { #portfolio .case li { font-size: .875rem; } }
#portfolio .case li svg { width: 16px; height: 16px; margin-top: 2px; }
#portfolio .case .note { margin-top: 16px; font-size: 11px; color: #94a3b8; }
/* ===== Заявка: карточка 5/7 ===== */
.lead-card { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: start; padding: 24px; background: #fff; border: 1px solid rgba(226, 232, 240, .8); border-radius: 24px; box-shadow: 0 8px 28px rgba(15, 23, 42, .08); }
@media (min-width: 768px) { .lead-card { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 48px; padding: 40px; } .lead-info { grid-column: span 5; } .lead-form { grid-column: span 7; } }
.lead-info, .lead-form { min-width: 0; }
.lead-status { display: inline-flex; align-items: center; gap: 8px; width: max-content; max-width: 100%; margin-bottom: 12px; padding: 4px 12px; border: 1px solid rgba(167, 243, 208, .7); border-radius: 999px; background: #ecfdf5; color: #059669; font-size: 12px; font-weight: 600; }
.lead-status i { width: 8px; height: 8px; border-radius: 50%; background: #10b981; box-shadow: 0 0 0 3px rgba(16, 185, 129, .2); }
.lead-h { margin: 0 0 8px; }
.lead-sub { margin: 0 0 24px; color: var(--t-sub); font-size: var(--t-body); line-height: var(--t-lh); max-width: 26rem; }
.lead-link { display: flex; align-items: center; gap: 12px; margin-top: 12px; padding: 14px; border-radius: 16px; font-size: .875rem; font-weight: 500; text-decoration: none; transition: background .2s; }
.lead-link svg { width: 20px; height: 20px; flex: none; fill: currentColor; stroke: none; }
.lead-link--tg { background: #ecfeff; border: 1px solid rgba(165, 243, 252, .7); color: #0e7490; }
.lead-link--tg:hover { background: rgba(207, 250, 254, .8); }
.lead-link--tel { background: #f8fafc; border: 1px solid rgba(226, 232, 240, .7); color: #334155; }
.lead-link--tel:hover { background: #f1f5f9; }
.lead-form, .form.lead-form { display: grid; gap: 16px; max-width: none; width: 100%; }
#zayavka .field { margin: 0; }
#zayavka .field label { display: block; margin-bottom: 6px; font-size: 12px; font-weight: 600; color: #334155; }
#zayavka .field input[type="text"], #zayavka .field textarea { width: 100%; padding: 12px 16px; border: 1px solid #e2e8f0; border-radius: 12px; background: #f8fafc; color: #0f172a; font-size: .875rem; outline: none; box-shadow: none; transition: border-color .2s, background .2s, box-shadow .2s; }
#zayavka .field textarea { min-height: 0; resize: none; }
#zayavka .field input::placeholder, #zayavka .field textarea::placeholder { color: #94a3b8; }
#zayavka .field input[type="text"]:focus, #zayavka .field textarea:focus { border-color: #06b6d4; background: #fff; box-shadow: 0 0 0 3px rgba(6, 182, 212, .2); outline: none; }
#zayavka .field.has-error input, #zayavka .field.has-error textarea { border-color: #ef4444; }
#zayavka .check { display: flex; align-items: flex-start; gap: 8px; margin-top: 4px; font-size: 12px; line-height: 1.5; color: #64748b; }
#zayavka .check input { margin-top: 2px; width: 16px; height: 16px; accent-color: #06b6d4; flex: none; }
#zayavka .check a { color: #0e7490; }
.lead-submit:disabled { opacity: .6; cursor: default; }
@media (max-width: 767px) { .lead-submit { justify-self: stretch; width: calc(100% - 28px); } }
#zayavka .lead-h { font-size: var(--t-h2); }
/* ===== Подвал ===== */
.footer.ft, .hero-dark ~ .footer.ft { background: #04141f; border-top: 1px solid rgba(6, 182, 212, .2); padding: 0; }
.ft-in { max-width: calc(1200px + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.ft-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; padding-block: 48px; }
@media (min-width: 640px) { .ft-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ft-brand { grid-column: 1 / -1; } }
@media (min-width: 768px) { .ft-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); padding-block: 64px; } .ft-brand { grid-column: span 4; } .ft-c2 { grid-column: span 2; } .ft-c3 { grid-column: span 3; } .ft-c4 { grid-column: span 3; } }
.ft-text { margin: 12px 0 16px; max-width: 24rem; font-size: .75rem; line-height: 1.65; color: #94a3b8; }
@media (min-width: 768px) { .ft-text { font-size: .875rem; } }
.ft-open { display: inline-flex; align-items: center; gap: 8px; width: max-content; max-width: 100%; padding: 4px 12px; border: 1px solid rgba(16, 185, 129, .3); border-radius: 999px; background: rgba(2, 44, 34, .6); color: #34d399; font-size: 12px; }
.ft-open i { width: 8px; height: 8px; border-radius: 50%; background: #10b981; box-shadow: 0 0 0 3px rgba(16, 185, 129, .2); }
.ft-title { margin: 0 0 16px; font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #22d3ee; }
.ft-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: .75rem; line-height: 1.5; color: #cbd5e1; }
@media (min-width: 768px) { .ft-list { font-size: .875rem; } }
.ft-list a { color: #cbd5e1; text-decoration: none; transition: color .2s; }
.ft-list a:hover { color: #fff; }
.ft-list a.ft-cy:hover { color: #22d3ee; }
.ft-bar { display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 12px; padding-block: 24px 28px; border-top: 1px solid rgba(30, 41, 59, .8); color: #64748b; font-size: .75rem; text-align: center; }
@media (max-width: 767px) { .ft-bar { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); } }
@media (min-width: 768px) { .ft-bar { flex-direction: row; text-align: left; } }
/* ===================================================================
   ЕДИНАЯ ТИПОГРАФИКА САЙТА (design-system alignment)
   H2 24/30 · H3 18/20 · текст 12/14 · списки 12/14 · бейджи 11/12
   =================================================================== */
:root { --t-h2: 1.5rem; --t-h3: 1.125rem; --t-body: .75rem; --t-list: .75rem; --t-badge: 11px; --t-lh: 1.65; --t-ink: #475569; --t-ink-night: #cbd5e1; --t-sub: #64748b; --t-sub-night: #94a3b8; }
@media (min-width: 768px) { :root { --t-h2: 1.875rem; --t-h3: 1.25rem; --t-body: .875rem; --t-list: .875rem; --t-badge: 12px; } }

/* 1. Заголовки секций */
.section-head h2, .sv-title, #h-chto, #h-paketi, #h-portfolio, #h-process, #h-faq, #h-podbor, #h-pochemu, #pochemu h2, #process .section-head h2, #chto .what-title {
  font-size: var(--t-h2); font-weight: 700; line-height: 1.2; letter-spacing: -.01em; }
.section-head .lead, .section-head--wide .lead, #process .section-head .lead, .why-sub, #pochemu .why-sub {
  max-width: 42rem; margin-top: 8px; font-size: var(--t-body); line-height: var(--t-lh); font-weight: 400; color: var(--t-sub); }
#process .section-head .lead, #pochemu .why-sub { color: var(--t-sub-night); }

/* 2. Заголовки карточек */
.sv-h, .pk3-name, .pk3--main .pk3-name, #process .pw h3, #portfolio .case h3, #pochemu .why-card h3, .svc h3, .pkg h3 { font-size: var(--t-h3); font-weight: 700; line-height: 1.3; }
@media (max-width: 899px) { #process .pw h3, .sv-h { font-size: var(--t-h3); } }
#portfolio .case-side .name { font-size: var(--t-h3); }

/* 3. Описания */
.sv-desc, .sv-gain, .pk3-d, .pk3-wide .pk3-d, #process .pw .pw-d, #pochemu .why-card p, .faq-cards details > div, #portfolio .case-side p:not(.name):not(.case-cta) {
  font-size: var(--t-body); line-height: var(--t-lh); }
.sv-desc, .pk3-d, .faq-cards details > div { color: var(--t-ink); }
.sv-gain { color: #1e293b; }
.pk3--main .pk3-d { color: var(--t-ink-night); }
#process .pw .pw-d, #pochemu .why-card p, #portfolio .case-side p:not(.name):not(.case-cta) { color: var(--t-ink-night); }
.faq-cards summary { font-size: 1rem; }
@media (min-width: 768px) { .faq-cards summary { font-size: 1.125rem; } }

/* 4. Списки и галочки */
.sv-ul, .pk3-list, .pk3-wide .pk3-wide-list, #process .pw ul li, #portfolio .case li, #podbor .res-list li { font-size: var(--t-list); line-height: 1.6; }
.sv-ul, .pk3-list, .pk3-wide .pk3-wide-list, #portfolio .case li { color: var(--t-ink); }
.pk3--main .pk3-list, #process .pw ul li, #podbor .res-list li { color: var(--t-ink-night); }

/* 5. Бейджи, сноски, метки */
.sv-term, .pk3-term, #process .pw .pw-term, .pk3-flag, .pk3-wprice, #portfolio .case .note, .res-kicker, .calc-result .note, .sv-kicker, .what-kicker, .why-tag { font-size: var(--t-badge); font-weight: 500; }
.pk3-flag, .sv-kicker, .res-kicker, .why-tag { font-weight: 700; }
/* «Как проходит работа»: баланс колонок и крупные бейджи сроков */
#process .pw .pw-term { padding: 8px 16px; border-radius: 12px; font-size: .75rem; font-weight: 600; letter-spacing: .03em; background: rgba(8, 51, 68, .8); border: 1px solid rgba(6, 182, 212, .4); color: #67e8f9; box-shadow: 0 1px 2px rgba(0, 0, 0, .25); white-space: nowrap; }
@media (min-width: 768px) { #process .pw .pw-term { font-size: .875rem; } }
@media (min-width: 900px) {
  #process .pw > li { gap: 0; padding: 28px; }
  #process .pw > li::before { flex: 0 0 auto; min-width: 0; width: 3rem; font-size: 1.875rem; margin-right: 16px; }
  #process .pw .pw-t { flex: 0 1 24rem; min-width: 18rem; max-width: 24rem; margin-left: 8px; }
  #process .pw ul { flex: 0 1 17rem; width: 17rem; min-width: 12rem; margin: 0 auto; padding: 0; }
  #process .pw .pw-term { flex: 0 0 auto; margin-left: 0; min-width: 7.5rem; text-align: center; }
}
@media (min-width: 900px) and (max-width: 1023px) { #process .pw .pw-term { min-width: 6rem; padding: 8px 12px; } #process .pw ul { flex-basis: 14rem; width: 14rem; } #process .pw .pw-t { flex-basis: 26rem; max-width: 26rem; } }
/* Сроки в «Как проходит работа»: компактная плашка со скосом (текст прямой) */
#process .pw .pw-term { position: relative; isolation: isolate; min-width: 5.5rem; padding: 6px 18px; border: 0; background: none; box-shadow: none; border-radius: 0; font-size: .75rem; font-weight: 600; letter-spacing: .04em; color: #67e8f9; text-align: center; white-space: nowrap; }
#process .pw .pw-term::before { display: block; content: ""; position: absolute; inset: 0; z-index: -1; transform: skewX(-12deg); border-radius: 2px; background: rgba(8, 51, 68, .7); border: 1px solid rgba(6, 182, 212, .3); }
@media (min-width: 768px) { #process .pw .pw-term { font-size: .75rem; } }
@media (min-width: 900px) { #process .pw .pw-term { min-width: 6rem; } }
@media (max-width: 899px) { #process .pw .pw-term { padding: 5px 16px; } }
/* Сроки: фирменный скос 32°, как у всех плашек сайта */
#process .pw .pw-term { padding: 7px 26px; min-width: 6.5rem; }
#process .pw .pw-term::before { transform: skewX(32deg); border-radius: 8px; background: rgba(8, 51, 68, .7); border: 1px solid rgba(6, 182, 212, .35); }
@media (max-width: 899px) { #process .pw .pw-term { padding: 6px 24px; } }
/* Подвал: колонки по сетке 4/2/3/3 и плашка статуса с фирменным скосом */
@media (min-width: 768px) { .ft-grid .ft-brand { grid-column: 1 / span 4; } .ft-grid .ft-c2 { grid-column: 5 / span 2; } .ft-grid .ft-c3 { grid-column: 7 / span 3; } .ft-grid .ft-c4 { grid-column: 10 / span 3; } }
.ft-open { position: relative; isolation: isolate; margin-left: 7px; padding: 5px 22px; border: 0; border-radius: 0; background: none; font-weight: 500; }
.ft-open::before { content: ""; position: absolute; inset: 0; z-index: -1; transform: skewX(32deg); border-radius: 6px; border: 1px solid rgba(16, 185, 129, .4); background: rgba(2, 44, 34, .7); }
/* Подвал: три правые колонки на равных расстояниях (сетка 24) */
@media (min-width: 768px) { .ft-grid { grid-template-columns: repeat(24, minmax(0, 1fr)); } .ft-grid .ft-brand { grid-column: 1 / span 8; } .ft-grid .ft-c2 { grid-column: 9 / span 5; } .ft-grid .ft-c3 { grid-column: 14 / span 5; } .ft-grid .ft-c4 { grid-column: 19 / span 6; } }
/* ===== Все кнопки сайта — как на первом экране: скос 32°, заливка раскрывается от середины ===== */
.btn { min-height: 3rem; font-size: 1rem; }
.btn svg, .btn .ic { flex: none; }
.pk3 .pk3-cta { width: calc(100% - 20px); margin: auto 10px 0; }
.pk3-wide .pk3-cta { width: auto; white-space: nowrap; }
@media (max-width: 767px) { .pk3-wide .pk3-cta { width: 100%; } }
.res-cta { display: flex; width: calc(100% - 20px); margin: 24px 10px 0; }
.lead-submit { justify-self: start; margin: 8px 0 0 14px; border-width: 1.5px; }
.lead-submit:disabled { opacity: .6; cursor: default; }
.lead-submit:disabled::before { clip-path: polygon(50% 0, 50% 0, 50% 100%, 50% 100%); }
.case-side a.btn { padding-inline: 1.5rem; }
/* ===== Все плашки и вкладки — с фирменным скосом 32°, текст прямой; цвет — наш лазурный ===== */
.pk3-term, .pk3--main .pk3-term, .sv-term, .pk3-flag, .why-tag, .lead-status, .ft-open, .res-kicker, .res-price, .res-term, .sv-facts li { isolation: isolate; border: 0; border-radius: 0; background: none; box-shadow: none; }
.pk3-term, .sv-term, .why-tag, .lead-status, .ft-open, .res-kicker, .res-price, .res-term, .sv-facts li { position: relative; }
.pk3-term::before, .sv-term::before, .pk3-flag::before, .why-tag::before, .lead-status::before, .ft-open::before, .res-kicker::before, .res-price::before, .res-term::before, .sv-facts li::before { content: ""; position: absolute; inset: 0; z-index: -1; transform: skewX(32deg); border-radius: 6px; border: 1px solid transparent; }
/* светлые карточки */
.pk3-term, .sv-term { padding: 5px 22px; color: var(--lazur); font-weight: 600; }
.pk3-term::before, .sv-term::before { background: rgba(10, 124, 145, .12); border-color: rgba(10, 124, 145, .25); }
.lead-status { margin-left: 8px; padding: 5px 22px; color: var(--lazur); font-weight: 600; }
.lead-status::before { background: rgba(10, 124, 145, .12); border-color: rgba(10, 124, 145, .3); }
.lead-status i, .ft-open i { background: var(--lazur-bright); box-shadow: 0 0 0 3px rgba(70, 205, 221, .25); }
.sv-facts { padding-inline: 14px; }
.sv-facts li { padding: 9px 22px; color: var(--lazur-deep, #086a7c); }
.sv-facts li::before { background: rgba(10, 124, 145, .08); border-color: rgba(10, 124, 145, .3); }
/* тёмные блоки */
.pk3--main .pk3-term { color: var(--lazur-bright); }
.pk3--main .pk3-term::before { background: rgba(70, 205, 221, .14); border-color: rgba(70, 205, 221, .4); }
.pk3-flag { padding: 5px 24px; color: var(--ink); }
.pk3-flag::before { background: var(--lazur-bright); box-shadow: 0 4px 12px rgba(70, 205, 221, .35); }
.why-tag, .res-kicker { padding: 6px 24px; color: var(--lazur-bright); }
.why-tag::before, .res-kicker::before { background: rgba(70, 205, 221, .1); border-color: rgba(70, 205, 221, .4); }
.ft-open { margin-left: 7px; padding: 5px 24px; color: var(--lazur-bright); }
.ft-open::before { background: rgba(70, 205, 221, .12); border-color: rgba(70, 205, 221, .4); }
.res-price, .res-term { padding: 8px 24px; }
.res-price { color: var(--lazur-bright); }
.res-price::before { background: rgba(70, 205, 221, .16); border-color: rgba(70, 205, 221, .4); }
.res-term { color: #e2e8f0; }
.res-term::before { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .16); }
.calc-result .res-chips { gap: 14px; padding-left: 8px; }
/* «Почему со мной»: вместо зелёно-бирюзового — наш лазурный */
.why-card:hover { border-color: var(--lazur-bright); box-shadow: 0 0 0 1px rgba(70, 205, 221, .35), 0 14px 40px rgba(70, 205, 221, .14); }
.why-ic { background: rgba(70, 205, 221, .12); border-color: rgba(70, 205, 221, .25); color: var(--lazur-bright); }
/* Карточка кейса: тёмная плашка — содержимое по центру */
#portfolio .case-side { justify-content: center; align-items: center; text-align: center; gap: 28px; }
#portfolio .case-side .case-cta, .case-side a.btn { align-self: center; }
/* ===== «Что я делаю» и «Как проходит работа»: одинаковые размеры и сетка ===== */
#chto .sv, #process .pw > li { padding: 28px; border-radius: 16px; }
#chto .sv-n, #process .pw > li::before { font-family: var(--font-display); font-weight: 700; font-size: 1.875rem; line-height: 1; letter-spacing: 0; white-space: nowrap; opacity: 1; }
#chto .sv-h, #process .pw h3 { font-family: var(--font-body); font-weight: 700; font-size: var(--t-h3); line-height: 1.3; letter-spacing: 0; }
#chto .sv-desc, #process .pw .pw-d { margin: 0; font-size: var(--t-body); line-height: 1.65; }
#chto .sv-gain { font-size: var(--t-body); line-height: 1.65; margin-top: 6px; }
#chto .sv-d { margin-top: 6px; }
#process .pw .pw-d { margin-top: 6px; }
#chto .sv-ul, #process .pw ul { gap: 6px; font-size: var(--t-list); line-height: 1.6; }
#chto .sv-ul li, #process .pw ul li { font-size: var(--t-list); line-height: 1.6; }
#chto .sv-term, #process .pw .pw-term { min-width: 6.5rem; padding: 7px 26px; font-size: var(--t-badge); font-weight: 600; text-align: center; white-space: nowrap; }
@media (min-width: 900px) {
  #chto .sv { display: flex; align-items: center; gap: 0; }
  #chto .sv-n { flex: 0 0 auto; width: 3rem; margin-right: 16px; }
  #chto .sv-t { display: block; flex: 0 1 24rem; min-width: 18rem; max-width: 24rem; margin-left: 8px; }
  #chto .sv-ul { flex: 0 1 17rem; width: 17rem; margin: 0 auto; }
  #chto .sv-r { flex: 0 0 auto; margin-left: 0; gap: 14px; }
}
@media (max-width: 899px) {
  #chto .sv, #process .pw > li { padding: 24px 22px; }
  #chto .sv-term, #process .pw .pw-term { padding: 6px 24px; }
}
@media (min-width: 900px) {
  #chto .sv-term, #process .pw .pw-term { box-sizing: border-box; width: 8.5rem; padding-inline: 8px; }
  #chto .sv-r { width: 11rem; justify-content: flex-end; }
  #process .pw .pw-term { margin-left: 2.5rem; flex: 0 0 auto; }
  #chto .sv-ul, #process .pw ul { flex: 0 0 17rem; margin: 0 auto; }
}
/* Текстовая колонка шире, описания лежат свободно (1:1 в обоих блоках) */
#chto .sv-title, #process .section-head h2 { font-family: var(--font-display); }
@media (min-width: 900px) {
  #chto .sv-t, #process .pw .pw-t { flex: 0 1 28rem; min-width: 18rem; max-width: 28rem; }
  #chto .sv-desc, #process .pw .pw-d { max-width: none; }
}
@media (min-width: 900px) and (max-width: 1099px) { #chto .sv-t, #process .pw .pw-t { flex-basis: 22rem; max-width: 22rem; } }
#chto .sv-desc, #chto .sv-gain, #process .pw .pw-d { text-wrap: balance; }
/* Кейс: название крупнее и массивнее */
#portfolio .case-side .name { font-size: clamp(1.75rem, 2.6vw, 2.5rem); font-weight: 800; letter-spacing: .02em; line-height: 1.1; white-space: normal; }
#portfolio .case-side { gap: 20px; }
#portfolio .case-side p:not(.name):not(.case-cta) { text-wrap: balance; }
/* Кейс: пропорции — название в одну строку, компактная кнопка, ровная правая часть */
#portfolio .case-side .name { font-size: clamp(1.25rem, 2.1vw, 1.75rem); font-weight: 700; letter-spacing: .05em; white-space: nowrap; line-height: 1.15; }
#portfolio .case-side { gap: 18px; }
#portfolio .case-side .btn { min-height: 2.5rem; padding-inline: 1.25rem; font-size: .8125rem; font-weight: 700; }
#portfolio .case-side .btn-in { gap: 6px; }
#portfolio .case > div:last-child { display: flex; flex-direction: column; justify-content: space-between; padding-block: 8px; }
#portfolio .case h3 { font-size: var(--t-h3); margin-bottom: 12px; }
#portfolio .case ul { display: grid; gap: 10px; }
#portfolio .case .note { margin-top: 16px; padding-top: 12px; border-top: 1px solid #f1f5f9; font-size: 11px; color: #94a3b8; }
/* Бирюзовые (активного цвета) кнопки при наведении заливаются белым */
.btn-primary { --fill: #fff; --fill-text: var(--lazur-deep, #0a7c91); }
.btn-primary:hover, .btn-primary:focus-visible { border-color: var(--lazur); }
.btn-on-night { --fill: #fff; --fill-text: var(--ink); }
.btn-on-night:hover, .btn-on-night:focus-visible { border-color: var(--lazur-bright); }
/* ===== Страница «Пакеты и цены»: стандарты главной ===== */
.page-hero--ceny .crumbs { margin-bottom: 8px; font-size: .75rem; color: #94a3b8; }
.page-hero--ceny .crumbs a, .page-hero--ceny .crumbs li + li::before { color: #94a3b8; }
.page-hero--ceny h1 { max-width: none; font-size: var(--t-h2); font-weight: 700; line-height: 1.2; letter-spacing: -.01em; }
.page-hero--ceny .lead { max-width: 42rem; margin-top: 12px; margin-bottom: 8px; font-size: var(--t-body); line-height: 1.65; color: var(--t-sub); }
.packages--ceny { gap: 24px; }
@media (min-width: 768px) { .packages--ceny { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; } }
.packages--ceny .pkg { position: relative; padding: 24px; }
.packages--ceny .pkg h3 { font-size: var(--t-h3); font-weight: 700; margin: 0; }
.packages--ceny .pkg .price { margin-top: 10px; font-size: clamp(1.25rem, 2vw, 1.5rem); font-weight: 700; line-height: 1.2; }
.packages--ceny .pkg .price small { font-size: var(--t-badge); }
.packages--ceny .pkg .term { margin: 8px 0 0 !important; font-size: var(--t-body); }
.packages--ceny .pkg .small { margin: 6px 0 0 !important; font-size: var(--t-body); line-height: 1.65; min-height: calc(2 * 1.65em); }
.packages--ceny .pkg ul { margin: 20px 0 24px; gap: 8px; align-content: start; }
.packages--ceny .pkg li { grid-template-columns: 16px minmax(0, 1fr); gap: 10px; font-size: var(--t-list); line-height: 1.6; }
.packages--ceny .pkg li svg { width: 16px; height: 16px; margin-top: 3px; }
.packages--ceny .pkg > .btn { margin-inline: 10px; font-size: .875rem; }
/* плашка «Подходит большинству» — над карточкой, не сдвигает строки */
.packages--ceny .pkg .badge { position: absolute; top: -12px; left: 24px; margin: 0; padding: 4px 20px; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; color: var(--ink); }
.packages--ceny .pkg .badge::before { box-shadow: 0 2px 6px rgba(10, 30, 50, .18); }
/* белые кнопки: при наведении заливаются активным бирюзовым */
.packages--ceny .btn-ghost { background: #fff; border-color: #cbd5e1; color: var(--ink); --fill: var(--lazur-bright); --fill-text: var(--ink); }
.packages--ceny .btn-ghost:hover, .packages--ceny .btn-ghost:focus-visible { background: #fff; border-color: var(--lazur-bright); }
/* ===== «Пакеты и цены»: вкладки и крупная карточка выбранного пакета ===== */
.pk-tabs { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; padding-inline: 8px; }
.pk-tab { position: relative; isolation: isolate; padding: 10px 28px; border: 0; background: none; font: 500 var(--t-body)/1.2 var(--font-body); color: #334155; cursor: pointer; transition: color .2s; }
.pk-tab::before { content: ""; position: absolute; inset: 0; z-index: -1; transform: skewX(32deg); border-radius: 8px; background: #fff; border: 1px solid #cbd5e1; transition: background .2s, border-color .2s; }
.pk-tab:hover::before { background: rgba(70, 205, 221, .14); border-color: var(--lazur-bright); }
.pk-tab[aria-selected="true"] { color: var(--ink); font-weight: 700; }
.pk-tab[aria-selected="true"]::before { background: var(--lazur-bright); border-color: var(--lazur-bright); box-shadow: 0 2px 8px rgba(70, 205, 221, .35); }
.pk-tab:focus-visible { outline: 2px solid var(--lazur); outline-offset: 3px; }
.pk-panels { display: grid; gap: 24px; }
.pk-panel { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 24px; background: #fff; border: 1px solid rgba(226, 232, 240, .8); border-radius: 24px; box-shadow: 0 1px 3px rgba(15, 23, 42, .06); scroll-margin-top: 110px; }
.js-pk .pk-panel[hidden] { display: none; }
@media (min-width: 768px) { .pk-panel { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px; padding: 32px; } .pk-p-l { grid-column: span 5; } .pk-p-r { grid-column: span 7; } }
.pk-p-l { display: flex; flex-direction: column; align-items: flex-start; padding: 8px 4px; }
.pk-flag { margin-bottom: 14px; padding: 4px 20px; position: relative; isolation: isolate; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.pk-flag::before { content: ""; position: absolute; inset: 0; z-index: -1; transform: skewX(32deg); border-radius: 6px; background: var(--lazur-bright); }
.pk-p-name { margin: 0; font-size: var(--t-h2); font-weight: 700; line-height: 1.2; letter-spacing: -.01em; color: var(--ink); }
.pk-p-price { margin: 14px 0 0; font-size: clamp(1.5rem, 2.4vw, 1.875rem); font-weight: 700; line-height: 1.15; color: var(--lazur); }
.pk-p-price small { display: block; margin-top: 4px; font-size: var(--t-badge); font-weight: 400; color: var(--t-sub); }
.pk-p-term { margin: 14px 0 0; font-size: var(--t-body); font-weight: 600; color: #334155; }
.pk-p-desc { margin: 8px 0 24px; max-width: 28rem; font-size: var(--t-body); line-height: 1.65; color: var(--t-ink); text-wrap: balance; }
.pk-p-l .btn { margin: auto 10px 0 10px; }
.pk-p-r h4 { margin: 0 0 12px; font-size: var(--t-h3); font-weight: 700; color: var(--ink); }
.pk-p-r h4:not(:first-child) { margin-top: 28px; padding-top: 24px; border-top: 1px solid #f1f5f9; }
.pk-p-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.pk-p-list li { display: grid; grid-template-columns: 16px minmax(0, 1fr); gap: 10px; font-size: var(--t-list); line-height: 1.6; color: var(--t-ink); }
.pk-p-list svg { width: 16px; height: 16px; margin-top: 3px; fill: none; stroke: var(--lazur); stroke-width: 2.5; }
/* ===== «Продвижение отдельно»: единая карточка 7/5 ===== */
.promo { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; padding: 24px; background: #fff; border: 1px solid rgba(226, 232, 240, .8); border-radius: 24px; box-shadow: 0 1px 3px rgba(15, 23, 42, .06); }
@media (min-width: 768px) { .promo { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 40px; padding: 40px; } .promo-l { grid-column: span 7; } .promo-r { grid-column: span 5; } }
.promo-l { display: flex; flex-direction: column; align-items: flex-start; }
.promo-kicker { position: relative; isolation: isolate; margin: 0 0 14px 8px; padding: 4px 22px; font-size: var(--t-badge); font-weight: 700; color: var(--lazur); }
.promo-kicker::before { content: ""; position: absolute; inset: 0; z-index: -1; transform: skewX(32deg); border-radius: 6px; background: rgba(10, 124, 145, .12); border: 1px solid rgba(10, 124, 145, .3); }
.promo h2 { margin: 0 0 12px; font-size: var(--t-h2); font-weight: 700; line-height: 1.2; letter-spacing: -.01em; color: var(--ink); }
.promo-lead { margin: 0 0 24px; max-width: 36rem; font-size: var(--t-body); line-height: 1.65; color: var(--t-ink); }
.promo-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.promo-list li { display: grid; grid-template-columns: 16px minmax(0, 1fr); gap: 10px; font-size: var(--t-list); line-height: 1.6; font-weight: 500; color: #334155; }
.promo-list svg { width: 16px; height: 16px; margin-top: 3px; fill: none; stroke: var(--lazur); stroke-width: 2.5; }
.promo-r { display: flex; flex-direction: column; justify-content: space-between; gap: 24px; padding: 24px; background: rgba(248, 250, 252, .8); border: 1px solid rgba(226, 232, 240, .7); border-radius: 16px; }
@media (min-width: 768px) { .promo-r { padding: 28px; } }
.promo-r h3 { margin: 0 0 8px; font-size: var(--t-h3); font-weight: 700; color: var(--ink); }
.promo-cond { margin: 0 0 12px; font-size: var(--t-body); line-height: 1.65; color: var(--t-ink); }
.promo-note { margin: 0; font-size: 11px; line-height: 1.6; color: #94a3b8; }
.promo-cta { align-self: stretch; margin-inline: 10px; font-size: .875rem; }
.promo-cta, .packages--ceny .btn-ghost { background: #fff; border-color: #cbd5e1; color: var(--ink); --fill: var(--lazur-bright); --fill-text: var(--ink); }
.promo-cta:hover, .promo-cta:focus-visible { background: #fff; border-color: var(--lazur-bright); }
/* ===== Таблица «Что входит в каждый пакет» ===== */
.cmp-head { margin-bottom: 32px; }
.cmp-head h2 { margin: 0 0 8px; font-size: var(--t-h2); font-weight: 700; line-height: 1.2; letter-spacing: -.01em; color: var(--ink); }
.cmp-head p { margin: 0; max-width: 42rem; font-size: var(--t-body); line-height: 1.65; color: var(--t-sub); }
.cmp-wrap { position: relative; overflow-x: auto; background: #fff; border: 1px solid rgba(226, 232, 240, .8); border-radius: 24px; box-shadow: 0 1px 3px rgba(15, 23, 42, .06); }
.cmp { width: 100%; min-width: 640px; table-layout: fixed; border-collapse: collapse; text-align: left; }
.cmp th:first-child { width: 31%; }
.cmp th, .cmp td { padding: 16px 20px; border-top: 1px solid #f1f5f9; vertical-align: middle; text-align: center; white-space: normal; font-size: var(--t-body); color: #0f172a; font-weight: 600; }
.cmp th:first-child, .cmp td:first-child { text-align: left; }
.cmp thead th { padding-block: 18px; border-top: 0; border-bottom: 1px solid #e2e8f0; background: #f8fafc; font-size: .875rem; font-weight: 700; color: var(--ink); }
.cmp tbody th { font-weight: 500; color: #334155; }
.cmp tbody tr { transition: background .2s; }
.cmp tbody tr:hover { background: rgba(248, 250, 252, .9); }
.cmp .cmp-hl { background: rgba(70, 205, 221, .1); }
.cmp thead .cmp-hl { background: rgba(70, 205, 221, .22); color: #0b4f5c; }
.cmp tbody tr:hover .cmp-hl { background: rgba(70, 205, 221, .16); }
.cmp-pop { position: relative; isolation: isolate; display: inline-block; margin-left: 8px; padding: 2px 14px; font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); vertical-align: 2px; }
.cmp-pop::before { content: ""; position: absolute; inset: 0; z-index: -1; transform: skewX(32deg); border-radius: 5px; background: var(--lazur-bright); }
.cmp-yes { color: var(--lazur) !important; }
.cmp-yes .cmp-ic { display: inline-block; width: 16px; height: 16px; margin-right: 6px; vertical-align: -3px; fill: none; stroke: var(--lazur); stroke-width: 2.5; }
.cmp-no { color: #cbd5e1 !important; font-weight: 400 !important; }
/* ===== CTA-баннер (на всех страницах): две части, кнопки справа ===== */
.cta-band { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; padding: 32px 24px; background: #0a1826; border: 1px solid #1e293b; border-radius: 24px; box-shadow: 0 20px 40px rgba(2, 10, 20, .25); }
@media (min-width: 768px) { .cta-band { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "h b" "p b"; column-gap: 40px; row-gap: 8px; align-items: center; padding: 48px; } .cta-band h2 { grid-area: h; align-self: end; } .cta-band p { grid-area: p; align-self: start; } .cta-band .btn-row { grid-area: b; margin: 0; flex-wrap: nowrap; } }
.cta-band h2 { margin: 0; max-width: 36rem; font-size: var(--t-h2); font-weight: 700; line-height: 1.2; letter-spacing: -.01em; color: #fff; }
.cta-band p { margin: 0; max-width: 40rem; font-size: var(--t-body); line-height: 1.65; color: #cbd5e1; text-wrap: balance; }
.cta-band .btn-row { margin: 0; gap: 16px; padding-inline: 10px; }
.cta-band .btn { font-size: .875rem; font-weight: 700; white-space: nowrap; }
.cta-band .btn svg { width: 18px; height: 18px; fill: currentColor; stroke: none; }
.btn-tg { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .22); --fill: var(--lazur-bright); --fill-text: var(--ink); backdrop-filter: blur(4px); font-weight: 500 !important; }
.btn-tg:hover, .btn-tg:focus-visible { background: rgba(255, 255, 255, .1); border-color: var(--lazur-bright); }
@media (max-width: 767px) { .cta-band .btn-row { align-self: stretch; flex-direction: column; } .cta-band .btn { width: 100%; } }
/* ===== «Что входит в любой сайт» / «Как это устроено»: две карточки ===== */
.info-2 { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; align-items: stretch; }
@media (min-width: 768px) { .info-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; } }
.info-card { display: flex; flex-direction: column; padding: 24px; background: #fff; border: 1px solid rgba(226, 232, 240, .8); border-radius: 24px; box-shadow: 0 1px 3px rgba(15, 23, 42, .06); }
@media (min-width: 768px) { .info-card { padding: 32px; } }
.info-card h2 { margin: 0 0 16px; font-size: var(--t-h2); font-weight: 700; line-height: 1.2; letter-spacing: -.01em; color: var(--ink); }
.info-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.info-list li { display: grid; grid-template-columns: 16px minmax(0, 1fr); gap: 10px; font-size: var(--t-list); line-height: 1.6; font-weight: 500; color: #334155; }
.info-list svg { width: 16px; height: 16px; margin-top: 3px; fill: none; stroke: var(--lazur); stroke-width: 2.5; }
.info-text { display: grid; gap: 16px; font-size: var(--t-body); line-height: 1.65; color: var(--t-ink); }
.info-text p { margin: 0; }
.info-text a { color: var(--lazur); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; transition: color .2s; }
.info-text a:hover { color: var(--lazur-bright); }
.info-foot { margin: auto 0 0; padding-top: 16px; border-top: 1px solid #f1f5f9; font-size: var(--t-badge); line-height: 1.6; color: #94a3b8; }
.info-text + .info-foot { margin-top: 24px; }
@media (min-width: 768px) { .info-text + .info-foot { margin-top: auto; } }
/* ===== Страница «Услуги»: карточки услуг ===== */
.svc-grid { gap: 24px; }
@media (min-width: 768px) { .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; } }
.svc { gap: 0; padding: 24px; border-radius: 24px; border-color: rgba(226, 232, 240, .8); box-shadow: 0 1px 3px rgba(15, 23, 42, .06); transition: border-color .25s; }
@media (min-width: 768px) { .svc { padding: 32px; } }
.svc:hover { border-color: rgba(70, 205, 221, .55); }
.svc .for { position: relative; isolation: isolate; align-self: flex-start; margin: 0 0 14px 8px; padding: 4px 22px; font-size: var(--t-badge); font-weight: 600; color: var(--lazur); }
.svc .for::before { content: ""; position: absolute; inset: 0; z-index: -1; transform: skewX(32deg); border-radius: 6px; background: rgba(10, 124, 145, .12); border: 1px solid rgba(10, 124, 145, .28); }
.svc h3 { margin: 0 0 8px; font-size: var(--t-h3); font-weight: 700; line-height: 1.3; color: var(--ink); }
.svc > .muted, .svc-l > .muted { margin: 0 0 16px; font-size: var(--t-body); line-height: 1.65; color: var(--t-ink); }
.svc ul { gap: 8px; margin-bottom: 24px; }
.svc li { grid-template-columns: 16px minmax(0, 1fr); gap: 10px; font-size: var(--t-list); line-height: 1.6; color: #334155; font-weight: 500; }
.svc li svg { width: 16px; height: 16px; margin-top: 3px; }
.svc .meta { margin-top: auto; margin-bottom: 20px; padding-top: 16px; border-top: 1px solid #f1f5f9; align-items: center; font-size: var(--t-body); color: var(--t-sub); font-weight: 500; }
.svc .meta strong { font-weight: 700; color: var(--ink); }
.svc .meta span:first-child strong { position: relative; isolation: isolate; display: inline-block; margin-left: 6px; padding: 2px 14px; font-weight: 600; color: #334155; }
.svc .meta span:first-child strong::before { content: ""; position: absolute; inset: 0; z-index: -1; transform: skewX(32deg); border-radius: 5px; background: #f1f5f9; }
.svc-cta { padding-left: 10px; gap: 14px; margin-top: 0; }
.svc-cta .btn { min-height: 2.5rem; padding-inline: 1.25rem; font-size: .8125rem; font-weight: 700; }
.svc-cta .btn svg { width: 16px; height: 16px; fill: currentColor; stroke: none; }
.svc-cta .btn-ghost { font-weight: 500; background: #fff; border-color: #cbd5e1; color: var(--ink); --fill: var(--lazur-bright); --fill-text: var(--ink); }
.svc-cta .btn-ghost:hover { background: #fff; border-color: var(--lazur-bright); }
/* пятая карточка — акцентная, на всю ширину */
@media (min-width: 768px) { .svc-grid > .svc--dark { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px 32px; align-items: center; } .svc--dark .svc-l { grid-column: span 7; } .svc--dark .svc-r { grid-column: span 5; } }
.svc--dark { background: #0a1826; border-color: #1e293b; color: #fff; box-shadow: 0 20px 40px rgba(2, 10, 20, .2); }
.svc--dark:hover { border-color: rgba(70, 205, 221, .6); }
.svc--dark .for { color: var(--lazur-bright); }
.svc--dark .for::before { background: rgba(70, 205, 221, .12); border-color: rgba(70, 205, 221, .4); }
.svc--dark h3 { color: #fff; }
.svc--dark .muted, .svc--dark li { color: #cbd5e1 !important; }
.svc--dark li svg { stroke: var(--lazur-bright); }
.svc--dark ul { margin-bottom: 0; }
.svc-r { display: flex; flex-direction: column; gap: 16px; margin-top: 8px; }
@media (min-width: 768px) { .svc-r { align-items: flex-end; margin-top: 0; } .svc--dark .svc-r .meta { width: 100%; } }
.svc--dark .meta { border-top: 0; padding-top: 0; margin-bottom: 0; color: #94a3b8; flex-direction: column; align-items: flex-start; gap: 6px; }
@media (min-width: 768px) { .svc--dark .meta { align-items: flex-end; } }
.svc--dark .meta strong { color: #fff; }
.svc--dark .meta span:first-child strong::before { background: rgba(255, 255, 255, .1); }
.svc--dark .meta span:first-child strong { color: #e2e8f0; }
.svc--dark .svc-cta { padding-left: 0; }
.svc-more { margin: 32px 0 0; text-align: center; font-size: var(--t-badge); color: #64748b; }
.svc-more a { color: var(--lazur); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 767px) { .svc-cta .btn { flex: 1 1 100%; } }
/* Цена в карточках услуг — акцент */
.svc .meta span:last-child { font-size: var(--t-badge); font-weight: 500; color: #94a3b8; }
.svc--dark .meta span:last-child { color: #94a3b8; }
.svc .meta .svc-price { margin-left: 4px; font-size: clamp(1rem, 1.4vw, 1.125rem); font-weight: 800; letter-spacing: -.01em; color: var(--lazur); }
.svc .meta .svc-price--t { font-size: var(--t-body); font-weight: 700; letter-spacing: -.01em; color: #1e293b; }
.svc--dark .meta .svc-price--t { color: #fff; }
/* Второстепенные кнопки на тёмном: светлые, контрастные; при наведении — бирюзовые */
.btn-tg { background: rgba(255, 255, 255, .2); color: #fff; border-color: rgba(255, 255, 255, .45); font-weight: 600 !important; }
.btn-tg:hover, .btn-tg:focus-visible { background: rgba(255, 255, 255, .2); border-color: var(--lazur-bright); box-shadow: 0 4px 14px rgba(70, 205, 221, .3); }
.svc--dark .svc-cta .btn-tg { min-height: 2.5rem; padding-inline: 1.25rem; font-size: .8125rem; }
/* Карточки услуг: главная кнопка — к белому, второстепенная — к тёмно-синему */
.svc:not(.svc--dark) .svc-cta .btn-ghost { --fill: #0a1826; --fill-text: #fff; }
.svc:not(.svc--dark) .svc-cta .btn-ghost:hover, .svc:not(.svc--dark) .svc-cta .btn-ghost:focus-visible { background: #fff; border-color: #0a1826; color: #fff; }
/* Второстепенные кнопки на тёмных карточках: белые, при наведении — тёмно-синие */
.btn-tg, .svc--dark .svc-cta .btn-tg { background: #fff; color: var(--ink); border-color: #fff; font-weight: 700 !important; box-shadow: 0 4px 12px rgba(0, 0, 0, .25); --fill: #0a1826; --fill-text: #fff; backdrop-filter: none; }
.btn-tg:hover, .btn-tg:focus-visible, .svc--dark .svc-cta .btn-tg:hover, .svc--dark .svc-cta .btn-tg:focus-visible { background: #fff; color: #fff; border-color: #475569; box-shadow: 0 4px 12px rgba(0, 0, 0, .25); }
.svc-l { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.svc .for { width: max-content; max-width: 100%; }
.svc .meta .svc-price--t { color: #0f172a; }
.svc--dark .meta .svc-price--t { color: #fff; }
.info-2--sm .info-card h2 { font-size: clamp(1.25rem, 1.8vw, 1.5rem); margin-bottom: 12px; }
.article-list { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: stretch; }
@media (min-width: 768px) { .article-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; } }
@media (min-width: 1024px) { .article-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.article-card { display: flex; flex-direction: column; justify-content: space-between; gap: 0; padding: 24px; border-radius: 24px; border: 1px solid rgba(226,232,240,.8); box-shadow: 0 1px 2px rgba(15,23,42,.05); transition: border-color .2s, box-shadow .2s; cursor: pointer; }
@media (min-width: 768px) { .article-card { padding: 32px; } }
.article-card:hover { border-color: rgba(34,211,238,.8); box-shadow: 0 4px 6px -1px rgba(15,23,42,.1), 0 2px 4px -2px rgba(15,23,42,.08); }
.article-card .tag { position: relative; isolation: isolate; align-self: flex-start; width: max-content; padding: 4px 14px; margin: 0 0 16px 6px; font-size: 12px; font-weight: 700; color: #0e7490; background: none; border: 0; }
.article-card .tag::before { content: ""; position: absolute; inset: 0; z-index: -1; transform: skewX(32deg); border-radius: 6px; background: #ecfeff; border: 1px solid rgba(165,243,252,.7); }
.article-card h3 { font-size: clamp(1.125rem, 1.6vw, 1.25rem); font-weight: 700; line-height: 1.3; margin: 0 0 12px; color: #0f172a; transition: color .2s; text-wrap: balance; }
.article-card:hover h3 { color: #0891b2; }
.article-card p { font-size: .875rem; line-height: 1.65; color: #475569; margin: 0 0 24px; }
.article-card .go { display: flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 16px; border-top: 1px solid #f1f5f9; font-size: .875rem; font-weight: 700; color: #0891b2; transition: color .2s; }
.article-card:hover .go { color: #06b6d4; }
.article-soon { display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; min-height: 220px; padding: 24px; border: 2px dashed #e2e8f0; border-radius: 24px; background: rgba(248,250,252,.5); }
@media (min-width: 768px) { .article-soon { padding: 32px; } }
.article-soon .soon-label { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: #94a3b8; margin-bottom: 8px; }
.article-soon h3 { max-width: 220px; font-size: 1rem; font-weight: 700; line-height: 1.35; color: #334155; margin: 0; text-wrap: balance; }
.article-card .go span[aria-hidden] { display: inline-block; transition: transform .2s; }
.article-card:hover .go span[aria-hidden] { transform: translate(3px,-3px); }
.ct-grid { display: grid; grid-template-columns: minmax(0,1fr); gap: 32px; align-items: start; }
@media (min-width: 1024px) { .ct-grid { grid-template-columns: repeat(12, minmax(0,1fr)); gap: 48px; } .ct-side { grid-column: span 5; } .ct-form { grid-column: span 7; } }
.ct-side { display: grid; gap: 24px; min-width: 0; }
.ct-side h2 { font-size: var(--t-h2); margin: 0; }
.ct-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ct-link { display: flex; align-items: center; gap: 16px; padding: 16px; background: #fff; border: 1px solid rgba(226,232,240,.8); border-radius: 16px; box-shadow: 0 1px 2px rgba(15,23,42,.05); text-decoration: none; transition: border-color .2s, box-shadow .2s; min-height: 0; }
.ct-link:hover { border-color: #22d3ee; box-shadow: 0 4px 6px -1px rgba(15,23,42,.1); }
.ct-ic { flex: none; width: 40px; height: 40px; border-radius: 12px; background: #ecfeff; color: #0891b2; display: flex; align-items: center; justify-content: center; transition: background .2s, color .2s; }
.ct-ic svg { width: 20px; height: 20px; color: inherit; }
.ct-link:hover .ct-ic { background: #22d3ee; color: #0f172a; }
.ct-k { display: block; font-size: 12px; font-weight: 500; color: #94a3b8; }
.ct-v { display: block; font-size: 1rem; font-weight: 700; color: #0f172a; overflow-wrap: anywhere; transition: color .2s; }
.ct-link:hover .ct-v { color: #0891b2; }
.ct-loc { padding: 24px; background: #fff; border: 1px solid rgba(226,232,240,.8); border-radius: 24px; box-shadow: 0 1px 2px rgba(15,23,42,.05); }
.ct-badge { position: relative; isolation: isolate; display: inline-block; width: max-content; margin: 0 0 12px 6px; padding: 4px 14px; font-size: 12px; font-weight: 600; color: #475569; }
.ct-badge::before { content: ""; position: absolute; inset: 0; z-index: -1; transform: skewX(32deg); border-radius: 6px; background: #f1f5f9; }
.ct-loc h3 { font-size: 1.125rem; margin: 0 0 4px; }
.ct-loc p { margin: 0; font-size: .875rem; line-height: 1.65; color: #475569; }
.ct-note { margin: 0; padding-inline: 4px; font-size: 12px; line-height: 1.65; font-style: italic; color: #64748b; }
.ct-form { max-width: none; gap: 20px; padding: 24px; background: #fff; border: 1px solid rgba(226,232,240,.8); border-radius: 24px; box-shadow: 0 1px 2px rgba(15,23,42,.05); }
@media (min-width: 768px) { .ct-form { padding: 32px; } }
.ct-form .field label { margin-bottom: 8px; font-size: .875rem; font-weight: 700; color: #0f172a; }
.ct-form .field input[type="text"], .ct-form .field textarea { width: 100%; padding: 12px 16px; border: 1px solid #e2e8f0; border-radius: 12px; background: #fff; color: #0f172a; font-size: .875rem; outline: none; box-shadow: none; transition: border-color .2s, box-shadow .2s; }
.ct-form .field textarea { min-height: 112px; resize: vertical; }
.ct-form .field input::placeholder, .ct-form .field textarea::placeholder { color: #94a3b8; }
.ct-form .field input[type="text"]:hover, .ct-form .field textarea:hover { border-color: #cbd5e1; }
.ct-form .field input[type="text"]:focus, .ct-form .field textarea:focus { border-color: #22d3ee; box-shadow: 0 0 0 3px #cffafe; outline: none; }
.ct-form .field.has-error input, .ct-form .field.has-error textarea { border-color: #ef4444; border-width: 1px; }
.ct-form .check { display: flex; align-items: flex-start; gap: 12px; font-size: 12px; line-height: 1.5; color: #475569; }
.ct-form .check input { flex: none; width: 16px; height: 16px; margin-top: 2px; accent-color: #06b6d4; }
.ct-form .check a { color: #0e7490; text-decoration: underline; }
.ct-form .btn { margin-left: 14px; }
.lead-status { font-weight: 700; letter-spacing: .01em; }
.lead-status i { position: relative; width: 10px; height: 10px; box-shadow: none; flex: none; }
.lead-status i::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--lazur-bright); opacity: .75; animation: ls-ping 1.4s cubic-bezier(0,0,.2,1) infinite; }
@keyframes ls-ping { 75%, 100% { transform: scale(2.4); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .lead-status i::after { animation: none; opacity: 0; } }
.ft-open { font-weight: 700; letter-spacing: .01em; }
.ft-open i { position: relative; width: 10px; height: 10px; box-shadow: none; flex: none; }
.ft-open i::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--lazur-bright); opacity: .75; animation: ls-ping 1.4s cubic-bezier(0,0,.2,1) infinite; }
@media (prefers-reduced-motion: reduce) { .ft-open i::after { animation: none; opacity: 0; } }
.lead-status { color: #15803d; font-weight: 800; padding: 6px 24px; }
.lead-status::before { background: #f0fdf4; border-color: #86efac; box-shadow: 0 1px 2px rgba(15,23,42,.05); }
.lead-status i { background: #22c55e; }
.lead-status i::after { background: #4ade80; }
/* статус: салатовый (lime) */
.ft-open { color: #bef264; font-weight: 600; font-size: 12px; }
.ft-open::before { background: rgba(26, 46, 5, .6); border-color: rgba(132, 204, 22, .4); }
.ft-open i { background: #a3e635; box-shadow: 0 0 8px rgba(163, 230, 53, .8); }
.ft-open i::after { background: #a3e635; }
.lead-status { color: #3f6212; font-weight: 700; }
.lead-status::before { background: #f7fee7; border-color: #a3e635; }
.lead-status i { background: #84cc16; box-shadow: 0 0 6px rgba(132, 204, 22, .5); }
.lead-status i::after { background: #a3e635; }
.hx-copy .hx-status { display: inline-flex; margin: 0 0 16px 7px; }
.hx-copy .hx-status::before { box-shadow: 0 0 15px rgba(163, 230, 53, .15); }
.lead-btns { display: grid; gap: 12px; margin-top: 24px; padding-left: 12px; }
.lead-btn { width: 100%; min-height: 0; padding: 12px 20px; font-size: .875rem; font-weight: 700; box-shadow: none; }
.lead-btn svg { width: 16px; height: 16px; flex: none; }
.lead-btn--tg { background: #22d3ee; color: #0f172a; border: 1px solid #22d3ee; box-shadow: 0 1px 2px rgba(15,23,42,.08); --fill: #0f172a; --fill-text: #fff; }
.lead-btn--tg svg { fill: currentColor; stroke: none; }
.lead-btn--tg:hover, .lead-btn--tg:focus-visible { color: #fff; border-color: #0f172a; }
.lead-btn--tel { background: rgba(241,245,249,.8); color: #1e293b; border: 1px solid rgba(226,232,240,.8); font-weight: 600; --fill: rgba(226,232,240,.8); --fill-text: #1e293b; }
.lead-btn--tel svg { fill: none; stroke: #475569; stroke-width: 2; }
.lead-btn--tel:hover, .lead-btn--tel:focus-visible { color: #1e293b; }
.lead-btn--tg { background: #00a8cc; color: #fff; border-color: #00a8cc; --fill: #0a1826; --fill-text: #fff; }
.lead-btn--tg:hover, .lead-btn--tg:focus-visible { color: #fff; border-color: #0a1826; }
.lead-btn--tel { background: rgba(241,245,249,.9); color: #1e293b; border: 1px solid rgba(226,232,240,.8); cursor: pointer; user-select: auto; -webkit-user-select: auto; box-shadow: 0 1px 2px rgba(15,23,42,.06); --fill: #0a1826; --fill-text: #fff; transition: color .35s .08s, border-color .35s, box-shadow .2s, transform .2s; }
.lead-btn--tel::before { display: block; }
.lead-btn--tel:hover, .lead-btn--tel:focus-visible { color: #fff; border-color: #0a1826; background: rgba(241,245,249,.9); transform: skewX(32deg) translateY(-2px); box-shadow: 0 6px 14px rgba(10,24,38,.22); }
.lead-btn--tel:hover svg, .lead-btn--tel:focus-visible svg { stroke: #fff; }
.lead-btn--tel:active { transform: skewX(32deg) translateY(0); }
/* ===== Мобильное меню: полноэкранная стеклянная шторка ===== */
.dm-head, .dm-foot { display: none; }
.dm-list { display: contents; }
@media (max-width: 899px) {
  .dock.is-open { z-index: 70; inset: 0; top: 0; right: 0; left: 0; bottom: 0; width: auto; max-width: none; height: 100dvh; padding: max(24px, env(safe-area-inset-top, 0px)) 24px max(24px, env(safe-area-inset-bottom, 0px)); border: 0; border-radius: 0; background: rgba(4, 20, 31, .95); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); box-shadow: none; animation: dm-in .25s ease-out; }
  .dock.is-open { display: flex; flex-direction: column; }
  .dock.is-open .dock-toggle { display: none; }
  .dock.is-open .dock-links { position: static; top: auto; right: auto; flex: 1; min-height: 0; width: auto; display: grid; grid-template-rows: 1fr; overflow: hidden; opacity: 1; visibility: visible; transform: none; }
  .dock.is-open .dock-inner { display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 0; overflow-y: auto; opacity: 1; width: auto; min-height: 0; height: 100%; }
  .dock.is-open .dm-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 16px; border-bottom: 1px solid rgba(30, 41, 59, .8); }
  .dm-logo { display: inline-flex; padding: 0; background: none; }
  .dm-logo:hover { background: none; }
  .dm-logo svg { width: 150px; height: auto; display: block; }
  .dm-close { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; color: #94a3b8; background: rgba(15, 23, 42, .5); border: 1px solid #1e293b; border-radius: 12px; cursor: pointer; transition: color .2s; }
  .dm-close:hover, .dm-close:focus-visible { color: #fff; }
  .dm-close svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
  .dock.is-open .dm-list { display: flex; flex-direction: column; margin-block: auto; text-align: center; padding-block: 16px; }
  .dock.is-open .dm-list a { display: block; height: auto; margin: 0; padding: 14px 16px; border: 0; border-bottom: 1px solid rgba(30, 41, 59, .4); border-radius: 0; transform: none; background: none; color: #e2e8f0; font-size: 1.25rem; font-weight: 700; text-align: center; }
  .dock.is-open .dm-list a > span { transform: none; display: inline; }
  .dock.is-open .dm-list a:last-child { border-bottom: 0; }
  .dock.is-open .dm-list a:hover, .dock.is-open .dm-list a:focus-visible { color: #22d3ee; background: none; border-color: rgba(30, 41, 59, .4); }
  .dock.is-open .dm-list a[aria-current="page"] { color: #22d3ee; }
  .dock .dock-inner > .dock-cta { display: none; }
  .dock.is-open .dm-foot { display: grid; gap: 16px; padding-top: 16px; border-top: 1px solid rgba(30, 41, 59, .8); }
  .dock.is-open .dm-foot { padding-inline: 16px; }
  .dock.is-open .dm-foot .dm-cta { width: 100%; height: auto; margin: 0; padding: 14px 24px; color: #0f172a; font-size: 1rem; font-weight: 700; justify-content: center; }
  .dock.is-open .dm-foot .dm-cta:hover, .dock.is-open .dm-foot .dm-cta:focus-visible { color: var(--fill-text, #0f172a); }
  .dock.is-open .dm-head { flex: none; }
  .dock.is-open .dm-foot { flex: none; }
  .dm-foot p { margin: 0; text-align: center; font-size: .75rem; color: #94a3b8; }
  .dock.is-open .dm-foot p a { display: inline; height: auto; margin: 0; padding: 0; border: 0; transform: none; background: none; border-radius: 0; font-size: inherit; font-weight: 600; color: #22d3ee; }
  html.dock-open { overflow: hidden; }
}
@keyframes dm-in { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .dock.is-open { animation: none; } }
/* мобильное меню: стекло, пункты слева с точкой, скошенная кнопка */
@media (max-width: 899px) {
  .dock.is-open { background: rgba(4, 20, 31, .75); -webkit-backdrop-filter: blur(40px); backdrop-filter: blur(40px); border-bottom: 1px solid rgba(6, 182, 212, .2); }
  .dock.is-open .dm-head { border-bottom-color: rgba(51, 65, 85, .5); }
  .dock.is-open .dm-close { color: #cbd5e1; background: rgba(30, 41, 59, .5); border-color: rgba(51, 65, 85, .6); }
  .dock.is-open .dm-close:hover { color: #fff; }
  .dock.is-open .dm-foot { border-top-color: rgba(51, 65, 85, .5); }
  .dock.is-open .dm-list { text-align: left; padding-left: 8px; gap: 20px; }
  .dock.is-open .dm-list a { display: flex; align-items: center; gap: 12px; justify-content: flex-start; padding: 6px 0; border: 0; text-align: left; font-size: 1.125rem; font-weight: 800; letter-spacing: .02em; color: #fff; }
  .dock.is-open .dm-list a::before { content: ""; position: static; display: block; flex: none; width: 6px; height: 6px; margin: 0; border-radius: 50%; background: rgba(34, 211, 238, .4); clip-path: none; transform: none; transition: background .2s, box-shadow .2s; }
  .dock.is-open .dm-list a:hover, .dock.is-open .dm-list a:focus-visible, .dock.is-open .dm-list a[aria-current="page"] { color: #22d3ee; border: 0; }
  .dock.is-open .dm-list a:hover::before, .dock.is-open .dm-list a:focus-visible::before, .dock.is-open .dm-list a[aria-current="page"]::before { background: #22d3ee; box-shadow: 0 0 8px #22d3ee; }
  .dock.is-open .dm-foot .dm-cta { border-radius: 4px; box-shadow: 0 0 20px rgba(34, 211, 238, .3); background: #22d3ee; border-color: #22d3ee; --fill: #fff; --fill-text: #0f172a; }
}
/* мобильное меню v3: по центру, прозрачное стекло-карточка, 3D-разворот страницы */
@media (max-width: 899px) {
  .dock.is-open { inset: 16px; top: max(16px, env(safe-area-inset-top, 0px)); bottom: max(16px, env(safe-area-inset-bottom, 0px)); right: max(16px, env(safe-area-inset-right, 0px)); left: max(16px, env(safe-area-inset-left, 0px)); height: auto; max-height: 92dvh; margin-block: auto; padding: 24px; border: 1px solid rgba(6, 182, 212, .3); border-radius: 16px; background: rgba(4, 20, 31, .45); -webkit-backdrop-filter: blur(40px); backdrop-filter: blur(40px); box-shadow: 0 20px 50px rgba(0, 0, 0, .6); transform-origin: top center; animation: dm-flip-in .5s cubic-bezier(.16, 1, .3, 1) backwards; }
  .dock.is-open.dock-closing { animation: dm-flip-out .42s cubic-bezier(.4, 0, 1, 1) both; pointer-events: none; }
  .dock.is-open .dm-head { border-bottom-color: rgba(6, 182, 212, .2); }
  .dock.is-open .dm-foot { border-top-color: rgba(6, 182, 212, .2); }
  .dock.is-open .dm-list { text-align: center; padding-left: 0; gap: 0; }
  .dock.is-open .dm-list a { justify-content: center; padding: 8px 16px; margin-block: 2px; border-bottom: 1px solid rgba(30, 41, 59, .4); text-align: center; font-size: 1.25rem; font-weight: 700; letter-spacing: 0; color: #f1f5f9; }
  .dock.is-open .dm-list a:last-child { border-bottom: 0; }
  .dock.is-open .dm-list a::before { display: none; }
  .dock.is-open .dm-list a:hover, .dock.is-open .dm-list a:focus-visible, .dock.is-open .dm-list a[aria-current="page"] { color: #22d3ee; }
  .dock.is-open .dm-foot .dm-cta { border-radius: 4px; }
  .dock.is-open .dm-foot p { color: #cbd5e1; }
}
@keyframes dm-flip-in { from { opacity: 0; transform: perspective(1000px) rotateX(-85deg) scale(.95); } to { opacity: 1; transform: perspective(1000px) rotateX(0) scale(1); } }
@keyframes dm-flip-out { from { opacity: 1; transform: perspective(1000px) rotateX(0) scale(1); } to { opacity: 0; transform: perspective(1000px) rotateX(-85deg) scale(.95); } }
@media (prefers-reduced-motion: reduce) { .dock.is-open, .dock.is-open.dock-closing { animation: none; } }
@media (max-width: 899px) {
  .dock.is-open .dm-list a, .dock.is-open .dm-list a:hover, .dock.is-open .dm-list a:focus-visible { background: none; box-shadow: none; }
  .dock.is-open .dm-list a::before, .dock.is-open .dm-list a:hover::before, .dock.is-open .dm-list a:focus-visible::before, .dock.is-open .dm-list a[aria-current="page"]::before { display: none; }
  .dock.is-open .dm-head .dm-logo { padding: 0; margin: 0; background: none; }
}
/* ===== Единое правило: бирюзовые (Primary) кнопки: белый текст, hover: #04141f, текст белый ===== */
.btn-primary, .btn-on-night, .lead-btn--tg, .dock.is-open .dm-foot .dm-cta, .dock-inner .dm-foot .dm-cta {
  background: #00a8cc; color: #fff; border-color: #00a8cc; font-weight: 700; --fill: #04141f; --fill-text: #fff;
}
.btn-primary:hover, .btn-primary:focus-visible, .btn-on-night:hover, .btn-on-night:focus-visible, .lead-btn--tg:hover, .lead-btn--tg:focus-visible,
.dock.is-open .dm-foot .dm-cta:hover, .dock.is-open .dm-foot .dm-cta:focus-visible { background: #00a8cc; color: #fff; border-color: #04141f; }
.btn-on-night:hover, .btn-on-night:focus-visible { border-color: #00a8cc; }
.btn-primary svg, .btn-on-night svg, .lead-btn--tg svg { color: #fff; }
/* «Написать в Telegram» рядом с главной кнопкой: белый текст, при наведении бирюзовая заливка */
.hx-ghost { color: #fff; --fill: #00a8cc; --fill-text: #fff; }
.hx-ghost:hover, .hx-ghost:focus-visible { color: #fff; border-color: #00a8cc; background: transparent; }
#portfolio .case-side a.btn, .case-side a.btn { color: #fff; }
#portfolio .case-side a.btn:hover, .case-side a.btn:hover { color: #fff; }
/* ===== Контраст: на бирюзовой заливке текст белый, на светлом тёмный ===== */
.pk-tab:hover { color: #fff; }
.pk-tab:hover::before { background: #00a8cc; border-color: #00a8cc; }
.pk-tab[aria-selected="true"], .pk-tab[aria-selected="true"]:hover { color: #fff; font-weight: 700; }
.pk-tab[aria-selected="true"]::before { background: #00a8cc; border-color: #00a8cc; box-shadow: 0 2px 8px rgba(0, 168, 204, .35); }
.pk3-flag { color: #fff; font-weight: 700; }
.pk3-flag::before { background: #00a8cc; box-shadow: 0 4px 12px rgba(0, 168, 204, .35); }
.cmp-pop { color: #fff; font-weight: 800; font-size: 10px; letter-spacing: .08em; }
.cmp-pop::before { background: #00a8cc; }
.promo-kicker { color: #1e293b; }
.pk-flag { color: #fff; font-weight: 700; }
.pk-flag::before { background: #00a8cc; }
/* ===== Галочки: салатовый (lime-600 на светлом, lime-400 на тёмном) ===== */
:root { --ck: #65a30d; }
.pk3--main, .svc--dark, .cta-band { --ck: #a3e635; }
#faq .sv-kicker { font-size: var(--t-badge); font-weight: 800; letter-spacing: .1em; color: #06b6d4; }
.faq-cards details > div { max-width: none; font-size: .875rem; line-height: 1.625; color: #475569; }
@media (min-width: 768px) { .faq-cards details > div { font-size: 1rem; } }
.faq-cards summary::after { background: #f1f5f9; color: #00a8cc; font-weight: 600; transition: background .25s, color .25s, transform .3s; }
.faq-cards details[open] summary::after { background: #00a8cc; color: #fff; }
/* таблица: салатовая только галочка, «Да» тёмное как остальной текст */
.cmp-yes span:not(.visually-hidden) { color: #0f172a; font-weight: 500; }
/* ghost-кнопки на «Цены»: при наведении бирюзовая заливка, текст и стрелка белые */
.promo-cta, .packages--ceny .btn-ghost { --fill: #00a8cc; --fill-text: #fff; }
.promo-cta:hover, .promo-cta:focus-visible, .packages--ceny .btn-ghost:hover, .packages--ceny .btn-ghost:focus-visible { color: #fff; border-color: #00a8cc; background: #fff; }
.promo-cta:hover svg, .promo-cta:focus-visible svg { color: #fff; }
/* бейджи: лёгкая салатовая заливка, тонкая зелёная рамка, салатовый текст (как статус-плашка) */
.pk-flag, .cmp-pop, .promo-kicker { color: #65a30d; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.pk-flag { font-size: 11px; }
.cmp-pop { font-size: 10px; }
.promo-kicker { font-size: 11px; }
.pk-flag::before, .cmp-pop::before, .promo-kicker::before { background: rgba(132, 204, 22, .1); border: 1px solid rgba(132, 204, 22, .6); box-shadow: none; }
.pk3-flag { color: #a3e635; font-weight: 800; }
.pk3-flag::before { background: linear-gradient(rgba(132, 204, 22, .12), rgba(132, 204, 22, .12)), #0a1826; border: 1px solid rgba(132, 204, 22, .6); box-shadow: none; }
/* ===== Салатовый акцент: этапы работы, стрелки, галочки-плашки, «Преимущества» ===== */
.pw ul li::before { border-color: #a3e635; }
.sv:hover .sv-go, .sv:focus-visible .sv-go { color: #a3e635; }
.sv-facts li .sv-ck { color: #84cc16; font-weight: 800; }
.why-tag { color: #a3e635; font-weight: 800; font-size: 10px; letter-spacing: .08em; }
.why-tag::before { background: rgba(132, 204, 22, .1); border-color: rgba(132, 204, 22, .6); }
.res-kicker { color: #a3e635; font-weight: 800; font-size: 10px; letter-spacing: .08em; }
.res-kicker::before { background: rgba(132, 204, 22, .1); border-color: rgba(132, 204, 22, .6); }
.why-ic { background: rgba(6, 182, 212, .1); border-color: rgba(6, 182, 212, .4); color: #22d3ee; box-shadow: none; }
.why-card { transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease, background .3s ease; }
.why-card:hover { border-color: rgba(34, 211, 238, .8); box-shadow: 0 0 25px rgba(0, 168, 204, .25); }
/* ===== Бейджи-подсказки: салатовый статус-стиль ===== */
.svc .for, .article-card .tag, .ct-badge { color: #65a30d; font-weight: 800; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.svc .for::before, .article-card .tag::before, .ct-badge::before { background: rgba(132, 204, 22, .1); border: 1px solid rgba(132, 204, 22, .6); }
.svc--dark .for { color: #a3e635; }
.svc--dark .for::before { background: rgba(132, 204, 22, .1); border-color: rgba(132, 204, 22, .6); }
/* ===== Контакты: единый вид с формой на главной ===== */
.ct-head { display: grid; gap: 16px; justify-items: start; }
.ct-head .hx-status { display: inline-flex; margin: 0 0 0 7px; }
.ct-head .hx-status::before { box-shadow: 0 0 15px rgba(163, 230, 53, .15); }
.ct-btns { margin-top: 0; }
.ct-head .hx-status { color: #65a30d; font-weight: 800; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.ct-head .hx-status::before { background: rgba(132, 204, 22, .1); border: 1px solid rgba(132, 204, 22, .6); box-shadow: none; }
.ct-head .hx-status i { background: #84cc16; box-shadow: 0 0 0 3px rgba(132, 204, 22, .25); }
/* ===== Футер: описание в 3 строки, крупные заголовки колонок ===== */
.ft-text { max-width: none; margin: 12px 0 16px; }
.ft-title { display: block; margin: 0 0 12px; font-size: 1rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #22d3ee; line-height: 1.4; }
/* ===== Футер: компактные заголовки колонок ===== */
.ft-title { display: block; margin: 0 0 10px; font-size: .75rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #22d3ee; opacity: .9; line-height: 1.4; }
@media (min-width: 768px) { .ft-title { font-size: .875rem; } }
/* ===== Ноутбуки (1024–1536px): капсула строго по центру экрана, ширина подобрана под голову на фото; от 1537px всё как было ===== */
@media (min-width: 1024px) and (max-width: 1536px) {
  .dock, .dock:hover, .dock.is-open { height: 40px; }
  .dock .dock-toggle, .dock:hover .dock-toggle, .dock.is-open .dock-toggle { top: 4px; height: 32px; }
  .dock .dock-toggle .dock-label { font-size: .625rem; letter-spacing: .08em; }
  .dock .dock-inner { gap: 0; }
  .dock .dock-inner a:not(.dock-cta) { height: 28px; margin: 0; font-weight: 500; white-space: nowrap; }
  .dock .dock-inner a.dock-cta { top: 4px; height: 32px; padding: 0 8px; }
}
@media (min-width: 1024px) and (max-width: 1399px) {
  .dock .dock-toggle, .dock:hover .dock-toggle, .dock.is-open .dock-toggle { width: 68px; left: calc(50% - 34px); }
  .dock.is-open .dock-toggle { left: 6px; }
  .dock .dock-inner { padding: 0 112px 0 82px; }
  .dock .dock-inner a:not(.dock-cta) { padding: 0 6px; font-size: .75rem; }
  .dock .dock-inner a.dock-cta { width: 102px; padding: 0 10px; font-size: .6875rem; }
}
@media (min-width: 1400px) and (max-width: 1536px) {
  .dock .dock-toggle, .dock:hover .dock-toggle, .dock.is-open .dock-toggle { width: 80px; left: calc(50% - 40px); }
  .dock.is-open .dock-toggle { left: 6px; }
  .dock .dock-inner { gap: 0; padding: 0 124px 0 94px; }
  .dock .dock-inner a:not(.dock-cta) { padding: 0 7px; font-size: .8125rem; }
  .dock .dock-inner a.dock-cta { width: 114px; padding: 0 10px; font-size: .75rem; }
}
@media (min-width: 1180px) and (max-width: 1399px) {
  .dock .dock-toggle, .dock:hover .dock-toggle, .dock.is-open .dock-toggle { width: 60px; left: calc(50% - 30px); }
  .dock.is-open .dock-toggle { left: 6px; }
  .dock .dock-inner { padding: 0 112px 0 72px; }
  .dock .dock-inner a:not(.dock-cta) { padding: 0 5px; font-size: 11.5px; }
  .dock .dock-inner a.dock-cta { width: 102px; font-size: 11px; padding: 0 10px; }
}
@media (min-width: 1024px) and (max-width: 1536px) { .dock .dock-inner a.dock-cta, .dock .dock-inner a.dock-cta span { white-space: nowrap; } }
/* ===== Мобильное меню: плотная тёмная карточка и затемнение страницы под ней ===== */
@media (max-width: 899px) {
  html.dock-open::before { content: none; }
  .dock.is-open { background: rgba(4, 20, 31, .95); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); border: 1px solid rgba(6, 182, 212, .2); box-shadow: 0 25px 50px -12px rgba(0, 0, 0, .6); }
  .dock.is-open .dm-list a { color: #fff; font-size: 1.125rem; font-weight: 700; border-bottom: 1px solid rgba(30, 41, 59, .8); transition: color .2s; }
  .dock.is-open .dm-list a:last-child { border-bottom: 0; }
  .dock.is-open .dm-list a:hover, .dock.is-open .dm-list a:focus-visible, .dock.is-open .dm-list a[aria-current="page"] { color: #22d3ee; }
  .dock.is-open .dm-head { border-bottom-color: rgba(30, 41, 59, .8); }
  .dock.is-open .dm-foot { border-top-color: rgba(30, 41, 59, .8); }
  .dock.is-open .dm-close { color: #fff; background: rgba(30, 41, 59, .8); border-color: rgba(51, 65, 85, .6); transition: background .2s, border-color .2s; }
  .dock.is-open .dm-close:hover, .dock.is-open .dm-close:focus-visible { color: #fff; background: #06b6d4; border-color: #06b6d4; }
  .dock.is-open .dm-foot p { color: #cbd5e1; }
}
/* ===== Мобильное меню: «Unfold Paper», карточка выходит из кнопки МЕНЮ (правый верхний угол) и разворачивается как листок и сворачивается обратно ===== */
@keyframes dm-flip-in { from { opacity: 0; transform: perspective(1000px) rotateX(-75deg) rotateY(22deg) scale(.12, .06); } to { opacity: 1; transform: perspective(1000px) translateY(0) rotateX(0) scale(1, 1); } }
@keyframes dm-flip-out { from { opacity: 1; transform: perspective(1000px) translateY(0) rotateX(0) scale(1, 1); } to { opacity: 0; transform: perspective(1000px) rotateX(-75deg) rotateY(22deg) scale(.12, .06); } }
@keyframes dm-item-in { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
@media (max-width: 899px) {
  .dock.is-open { transform-origin: calc(100% - 52px) 17px; animation: dm-flip-in .6s cubic-bezier(.3, 1.08, .45, 1) backwards; }
  .dock.is-open.dock-closing { animation: dm-flip-out .3s cubic-bezier(.4, 0, .2, 1) both; pointer-events: none; }
  .dock.is-open .dm-head, .dock.is-open .dm-list a, .dock.is-open .dm-foot { animation: dm-item-in .35s ease-out backwards; }
  .dock.is-open .dm-head { animation-delay: .05s; }
  .dock.is-open .dm-list a:nth-child(1) { animation-delay: .1s; }
  .dock.is-open .dm-list a:nth-child(2) { animation-delay: .15s; }
  .dock.is-open .dm-list a:nth-child(3) { animation-delay: .2s; }
  .dock.is-open .dm-list a:nth-child(4) { animation-delay: .25s; }
  .dock.is-open .dm-list a:nth-child(5) { animation-delay: .3s; }
  .dock.is-open .dm-foot { animation-delay: .35s; }
  .dock.is-open.dock-closing .dm-head, .dock.is-open.dock-closing .dm-list a, .dock.is-open.dock-closing .dm-foot { animation: none; }
}
@media (prefers-reduced-motion: reduce) { .dock.is-open, .dock.is-open .dm-head, .dock.is-open .dm-list a, .dock.is-open .dm-foot { animation: none !important; } }
/* ===== Калькулятор на телефоне: плавающая плашка с подобранным пакетом ===== */
.calc-bar { display: none; }
@media (max-width: 767px) {
  .calc-out, #calc-out { scroll-margin-bottom: 96px; }
  .calc-bar { position: fixed; z-index: 30; left: 16px; right: 16px; bottom: max(16px, env(safe-area-inset-bottom, 0px)); display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px; margin: 0; background: rgba(4, 20, 31, .95); border: 1px solid rgba(6, 182, 212, .4); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-radius: 16px; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, .6); color: #fff; font: inherit; text-align: left; cursor: pointer; animation: calc-bar-in .35s cubic-bezier(.16, 1, .3, 1) backwards; }
  .calc-bar[hidden] { display: none; }
  .calc-bar-t { display: grid; gap: 2px; min-width: 0; }
  .calc-bar-t b { font-size: .9375rem; font-weight: 700; color: #fff; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .calc-bar-t small { font-size: .8125rem; color: #a3e635; font-weight: 600; }
  .calc-bar-go { flex: none; position: relative; isolation: isolate; display: inline-flex; align-items: center; padding: 9px 18px; margin-right: 6px; color: #fff; font-size: .8125rem; font-weight: 700; }
  .calc-bar-go::before { content: ""; position: absolute; inset: 0; z-index: -1; transform: skewX(32deg); border-radius: 6px; background: #00a8cc; box-shadow: 0 0 14px rgba(0, 168, 204, .35); }
  .calc-bar:active .calc-bar-go::before { background: #04141f; }
  html.calc-bar-on .quick { opacity: 0; pointer-events: none; }
  html.dock-open .calc-bar { display: none; }
}
@keyframes calc-bar-in { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .calc-bar { animation: none; } }
@media (max-width: 767px) {
  #calc-out.is-pulse { animation: calc-pulse .9s ease-out; }
}
@keyframes calc-pulse { 0% { box-shadow: 0 0 0 0 rgba(0, 168, 204, .7); } 100% { box-shadow: 0 0 0 18px rgba(0, 168, 204, 0); } }
@media (prefers-reduced-motion: reduce) { #calc-out.is-pulse { animation: none; } }
/* ===== Внутренние страницы на ноутбуках (1024–1536px): первый экран компактнее; от 1537px без изменений ===== */
@media (min-width: 1024px) and (max-width: 1536px) {
  .page-hero { padding-block: 24px 4px; }
  .page-hero--ceny .crumbs { margin-bottom: 4px; }
  .page-hero--ceny h1 { font-size: clamp(1.625rem, 2.2vw, 1.875rem); }
  .page-hero--ceny .lead { margin: 6px 0 0; font-size: .875rem; line-height: 1.55; max-width: 42rem; }
  .page-hero + .section { padding-top: 16px; }
  .pk-panels, .tabs { gap: 14px; }
  .pk-panel { gap: 20px; padding: 20px 24px; }
  .svc { padding: 20px 24px; }
  .svc .for { margin-bottom: 10px; }
  .svc ul { gap: 6px; margin-bottom: 14px; }
  .ct-side { gap: 16px; }
  .ct-loc, .ct-form { padding: 20px 24px; }
  .ct-form { gap: 14px; }
  .article-card { padding: 20px 24px; }
  .case { padding: 20px; gap: 20px; }
  .case-side { padding: 24px; }
}
/* ===== Контакты: форма строго с верхней линией левого блока, компактнее на ноутбуках ===== */
.ct-grid { align-items: start; }
.ct-form { margin-top: 0; }
@media (min-width: 1024px) and (max-width: 1536px) {
  .ct-form { gap: 12px; padding: 20px 24px; }
  .ct-form .field label { margin-bottom: 6px; }
  .ct-form .field input[type="text"], .ct-form .field textarea { padding: 10px 16px; }
  .ct-form .field textarea { min-height: 88px; }
}
/* ===== Главный экран на телефоне (до 719px): компактная плашка статуса, крупнее H1, перенос в описании ===== */
.hx-br-m { display: none; }
@media (max-width: 719px) {
  .hx-copy .hx-status { padding: 4px 16px; gap: 6px; font-size: 10px; margin-bottom: 14px; }
  .hx-copy .hx-status i { width: 6px; height: 6px; }
  .hx-title { font-size: 1.5rem; font-weight: 800; line-height: 1.25; }
}
@media (min-width: 640px) and (max-width: 719px) {
  .hx-copy .hx-status { font-size: .75rem; }
  .hx-title { font-size: 1.875rem; }
}
/* плашка статуса на ноутбуках (720–1535px): компактнее; от 1536px прежний размер */
@media (min-width: 720px) and (max-width: 1535px) {
  .hx-copy .hx-status { padding: 3px 16px; gap: 6px; font-size: 10px; margin-bottom: 12px; }
  .hx-copy .hx-status i { width: 7px; height: 7px; box-shadow: 0 0 0 2px rgba(70, 205, 221, .25); }
}
/* заголовок на ноутбуках и обычных мониторах (1024–2559px): крупнее, в три строки; правый край не доходит до фото. От 2560px прежний размер */
@media (min-width: 1024px) and (max-width: 2559px) {
  .hx-title { font-size: clamp(1.6rem, min(3.6vw, calc((100vw - clamp(60px, 7.6vw, 220px) - var(--pw) * .5 - var(--gutter) - 24px) / 21), calc((100svh - 114px - (100vw - 2 * var(--gutter)) * .14 - var(--fixed)) / 3.8)), 4.5rem); }
  .hx-copy .hx-status { margin-bottom: 12px; }
  .hx-copy .hx-text { font-size: 1rem; line-height: 1.6; margin-top: 12px; }
  .hx-copy .hx-btns { margin-top: 20px; }
}

/* 34-дюймовый монитор (от 2560px): левый блок сбит в плотную группу и прижат к надписи WEB STUDIO, а не парит по центру */
@media (min-width: 2560px) {
  .hx-copy { top: auto; transform: none; bottom: calc(30px + (100vw - 2 * var(--gutter)) * .15 - 4px); }
  .hx-copy .hx-status { margin-bottom: 20px; }
  .hx-copy .hx-text { font-size: 1.125rem; line-height: 1.6; margin-top: 22px; }
  .hx-copy .hx-btns { margin-top: 30px; }
}

/* описание: телефон (<640px) text-xs, три смысловые строки; ноутбук/ПК text-base, от 1280px text-lg, max-w-xl, без переноса */
.hx-text { font-size: 1rem; line-height: 1.625; max-width: 36rem; color: rgba(203, 213, 225, .9); }
@media (min-width: 1280px) { .hx-text { font-size: 1.125rem; } }
@media (max-width: 639px) {
  .hx-text { font-size: .75rem; max-width: none; text-align: left; }
  .hx-br-m { display: inline; }
}

/* карточки «Услуг» на телефоне: колонка не шире экрана, длинная плашка переносится */
.svc-grid { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 768px) { .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.svc .for { white-space: normal; }

.footer, footer.site-footer { overflow-x: clip; }

/* «Начать проект» в капсуле всегда в одну строку, плашка при необходимости расширяется под текст */
@media (min-width: 900px) {
  .dock .dock-inner a.dock-cta, .dock .dock-inner a.dock-cta span { white-space: nowrap; text-wrap: nowrap; }
  .dock .dock-inner a.dock-cta { min-width: max-content; }
}

/* «Цена после разбора» того же салатового цвета, что и галочки (lime-600 на светлом) */
.pk3-wprice { color: #65a30d; }

/* карточки статей: заголовок text-lg / xl:text-xl, bold, leading-snug, по левому краю; одинаковая высота и ссылка внизу */
.article-card { align-items: flex-start; text-align: left; }
.article-card h3 { font-size: 1.125rem; font-weight: 700; line-height: 1.375; text-align: left; text-wrap: pretty; max-width: none; }
@media (min-width: 1280px) { .article-card h3 { font-size: 1.25rem; } }
.article-card p { text-align: left; }
.article-card .go { align-self: stretch; }

.nb { white-space: nowrap; }
.article-card h3 { color: #0f172a; }

/* список без точек-маркеров */
.legal ul.no-dots { list-style: none; padding-left: 0; }

/* якорные блоки не прячутся под плавающей панелью */
section[id], article[id], div[id] { scroll-margin-top: 96px; }

/* ===== Сравнение пакетов на телефоне: переключатель пакетов вместо горизонтальной прокрутки ===== */
.cmp-tabs { display: none; }
@media (max-width: 767px) {
  .cmp-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin: 0 0 14px; }
  .cmp-tab { position: relative; isolation: isolate; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 46px; padding: 8px 6px; border: 0; background: none; font: 600 .875rem/1.2 var(--font-body); color: #334155; cursor: pointer; }
  .cmp-tab::before { content: ""; position: absolute; inset: 0; z-index: -1; transform: skewX(32deg); border-radius: 8px; background: #fff; border: 1px solid #cbd5e1; transition: background .2s, border-color .2s; }
  .cmp-tab small { font-size: 9px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #65a30d; }
  .cmp-tab[aria-selected="true"] { color: #fff; font-weight: 700; }
  .cmp-tab[aria-selected="true"]::before { background: #00a8cc; border-color: #00a8cc; box-shadow: 0 2px 8px rgba(0, 168, 204, .35); }
  .cmp-tab[aria-selected="true"] small { color: #fff; }
  .cmp-wrap { overflow-x: hidden; }
  .cmp { min-width: 0; }
  .cmp th:first-child { width: 46%; }
  .cmp th, .cmp td { padding: 14px 12px; font-size: .875rem; }
  .cmp thead th .cmp-pop { display: none; }
  .cmp-wrap[data-col="2"] tr > :nth-child(3), .cmp-wrap[data-col="2"] tr > :nth-child(4),
  .cmp-wrap[data-col="3"] tr > :nth-child(2), .cmp-wrap[data-col="3"] tr > :nth-child(4),
  .cmp-wrap[data-col="4"] tr > :nth-child(2), .cmp-wrap[data-col="4"] tr > :nth-child(3) { display: none; }
}

/* ноутбуки: фото сдвинуто правее, чтобы голова не задевала раскрытую панель меню; от 1537px как было */
@media (min-width: 1024px) and (max-width: 1536px) {
  .hd-photo { right: max(0px, calc(clamp(70px, 8.8vw, 260px) - 5.6vw)); }
}

/* ===== Невысокие экраны (ноутбуки): первый экран внутренних страниц плотнее, чтобы заголовок и главный блок помещались целиком ===== */
@media (min-width: 900px) and (max-height: 800px) {
  .page-hero + .section { padding-top: 12px; padding-bottom: 32px; }
  .pk-panel { padding: 16px 24px; gap: 16px; }
  .pk-p-l .btn, .pk-p-r .btn { margin-top: 8px; }
  .ct-form .field textarea { min-height: 84px; }
  .ct-grid { gap: 28px 40px; }
}

/* ===== Контакты на широких мониторах: левая колонка не раздувается заголовком и не заезжает под форму ===== */
.ct-side { grid-template-columns: minmax(0, 1fr); }
.ct-side h2 { overflow-wrap: anywhere; }
.ct-side .lead-btns .btn, .ct-side .ct-btns .btn { max-width: 100%; }
@media (min-width: 1537px) {
  .ct-side { grid-column: span 6; }
  .ct-form { grid-column: span 6; }
  .ct-side h2 { font-size: clamp(1.75rem, 1.5vw + .5rem, 2.25rem); }
}

/* ===== Кнопки при наведении, по всему сайту: бирюзовые (тёмные) становятся белыми с тёмным текстом; светлые и прозрачные становятся тёмно-синими (цвет --ink) с белым текстом ===== */
.btn.btn-primary, .btn.btn-on-night, .btn.lead-btn--tg, .btn.dm-cta { --fill: #fff !important; --fill-text: var(--ink) !important; }
.btn.btn-primary:hover, .btn.btn-primary:focus-visible, .btn.btn-on-night:hover, .btn.btn-on-night:focus-visible,
.btn.lead-btn--tg:hover, .btn.lead-btn--tg:focus-visible, .btn.dm-cta:hover, .btn.dm-cta:focus-visible,
.dock.is-open .dm-foot .dm-cta:hover, .dock.is-open .dm-foot .dm-cta:focus-visible { color: var(--ink) !important; border-color: #00a8cc !important; }
.btn.btn-primary:hover svg, .btn.btn-primary:focus-visible svg, .btn.btn-on-night:hover svg, .btn.btn-on-night:focus-visible svg,
.btn.lead-btn--tg:hover svg, .btn.lead-btn--tg:focus-visible svg { color: var(--ink) !important; }
.btn.btn-ghost, .btn.btn-tg, .btn.hx-ghost, .btn.lead-btn--tel, .btn.promo-cta { --fill: var(--ink) !important; --fill-text: #fff !important; }
.btn.btn-ghost:hover, .btn.btn-ghost:focus-visible, .btn.btn-tg:hover, .btn.btn-tg:focus-visible, .btn.hx-ghost:hover, .btn.hx-ghost:focus-visible,
.btn.lead-btn--tel:hover, .btn.lead-btn--tel:focus-visible, .btn.promo-cta:hover, .btn.promo-cta:focus-visible { color: #fff !important; border-color: var(--ink) !important; }
.btn.btn-ghost:hover svg, .btn.btn-ghost:focus-visible svg, .btn.btn-tg:hover svg, .btn.btn-tg:focus-visible svg, .btn.hx-ghost:hover svg,
.btn.lead-btn--tel:hover svg, .btn.promo-cta:hover svg { color: #fff !important; fill: currentColor; }

/* ===== Главный экран: кнопка «Написать в Telegram» при наведении белая с тёмным текстом ===== */
.hx-btns .btn.hx-ghost { --fill: #fff !important; --fill-text: var(--ink) !important; }
.hx-btns .btn.hx-ghost:hover, .hx-btns .btn.hx-ghost:focus-visible { color: var(--ink) !important; border-color: #fff !important; }
.hx-btns .btn.hx-ghost:hover svg, .hx-btns .btn.hx-ghost:focus-visible svg { color: var(--ink) !important; fill: currentColor; }


/* ===== Плашка «На связи · Отвечу в течение дня»: примерно на 30% меньше ===== */
.lead-status { font-size: 10px; padding: 3px 14px; gap: 6px; margin-bottom: 10px; letter-spacing: .01em; }
.lead-status i { width: 7px; height: 7px; }

/* ===== Фон первого экрана: метеоры; на ПК картинка стоит один раз по центру, края растворяются в звёздном небе, на телефоне полная вертикальная ===== */
.hero-dark::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .92;
  background: url("/img/bg-meteor-wide.webp") center / cover no-repeat; }
@media (max-width: 719px) { .hero-dark::before { opacity: .9; background: url("/img/bg-meteor-m.webp") center / cover no-repeat; } }

/* ===== Поп-ап заявки на пакет (тёмный, две колонки: эксперт и форма) ===== */
.pm[hidden] { display: none; }
.pm { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: max(16px, env(safe-area-inset-top)) 16px max(16px, env(safe-area-inset-bottom)); }
.pm-back { position: absolute; inset: 0; background: rgba(4, 12, 20, .74); backdrop-filter: blur(6px); animation: pm-fade .4s ease both; }
/* карточка в стиле средней карточки пакетов: тёмная, бирюзовая окантовка и подсветка */
.pm-box { position: relative; width: min(100%, 900px); max-height: calc(100svh - 32px); overflow-y: auto; border-radius: 28px; background: #0B1B2B; border: 2px solid #22d3ee; box-shadow: 0 0 0 6px rgba(34, 211, 238, .08), 0 0 60px rgba(34, 211, 238, .28), 0 30px 80px rgba(0, 0, 0, .55); outline: 0; animation: pm-in .45s cubic-bezier(.16, 1, .3, 1) both; }
.pm-in { position: relative; padding: 40px 48px 36px; color: #e2e8f0; border-radius: 26px; background: radial-gradient(90% 60% at 0% 0%, rgba(34, 211, 238, .10), transparent 65%); }
@keyframes pm-fade { from { opacity: 0; } }
@keyframes pm-in { from { opacity: .35; transform: translateY(12px) scale(.9); } }
@keyframes pm-out { to { opacity: 0; transform: translateY(8px) scale(.94); } }
@keyframes pm-fade-out { to { opacity: 0; } }
.pm.pm-closing .pm-box { animation: pm-out .2s cubic-bezier(.4, 0, 1, 1) both; }
.pm.pm-closing .pm-back { animation: pm-fade-out .2s ease both; }
@media (prefers-reduced-motion: reduce) { .pm-box, .pm-back, .pm.pm-closing .pm-box, .pm.pm-closing .pm-back { animation: none; } }
.pm-x { position: absolute; z-index: 2; top: 18px; right: 20px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .07); color: #cbd5e1; font-size: 24px; line-height: 1; cursor: pointer; }
.pm-x:hover { background: rgba(255, 255, 255, .15); color: #fff; }
.pm-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
.pm-side { display: grid; justify-items: start; }
.pm-kicker { margin: 0 0 10px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #22d3ee; }
.pm-sub { margin: 0; max-width: none; font-size: 1rem; line-height: 1.6; color: #94a3b8; }
.pm-title { margin: 0 0 12px; font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; line-height: 1.2; color: #fff; padding-right: 44px; white-space: nowrap; }
.pm-l { display: block; }
.pm-form { display: grid; gap: 18px; }
.pm-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.pm-field label, .pm-way legend { display: block; margin-bottom: 6px; padding: 0; font-size: 13px; font-weight: 600; color: #cbd5e1; }
.pm-field label span { font-weight: 400; color: #64748b; }
.pm-field input[type="text"], .pm-field textarea { width: 100%; padding: 12px 14px; border: 1px solid rgba(71, 85, 105, .7); border-radius: 12px; background: rgba(2, 6, 23, .55); color: #fff; font: inherit; font-size: 16px; resize: none; transition: border-color .2s, box-shadow .2s; }
.pm-field input::placeholder, .pm-field textarea::placeholder { color: #64748b; }
.pm-field input:focus, .pm-field textarea:focus { outline: 0; border-color: #22d3ee; box-shadow: 0 0 0 3px rgba(34, 211, 238, .15); }
.pm-field.has-error input { border-color: #f87171; }
.pm-field .msg { margin: 6px 0 0; font-size: 12px; color: #fca5a5; }
.pm-way { margin: 0; padding: 0; border: 0; min-width: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pm-way legend { width: 100%; }
.pm-way label { position: relative; margin: 0; cursor: pointer; }
.pm-way input { position: absolute; inset: 0; opacity: 0; cursor: pointer; margin: 0; }
.pm-way span { display: block; padding: 10px 18px; border: 1px solid rgba(71, 85, 105, .7); border-radius: 12px; font-size: 14px; color: #cbd5e1; background: rgba(2, 6, 23, .6); transition: background .2s, border-color .2s, color .2s; }
.pm-way label:hover span { border-color: rgba(34, 211, 238, .6); }
.pm-way input:checked + span { background: rgba(6, 182, 212, .12); border-color: #22d3ee; color: #67e8f9; }
.pm-way input:focus-visible + span { outline: 2px solid #22d3ee; outline-offset: 2px; }
.pm-check { display: flex; gap: 10px; align-items: flex-start; font-size: 12px; line-height: 1.5; color: #94a3b8; }
.pm-check input { width: 16px; height: 16px; margin-top: 2px; accent-color: #06b6d4; flex: none; }
.pm-check a { color: #67e8f9; }
.pm-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding-left: 14px; }
.pm-submit { min-height: 46px; padding-inline: 30px; font-size: .9375rem; }
.pm-status { margin: 0; flex: 1 1 200px; font-size: 13px; color: #fca5a5; }
.pm-status:empty { display: none; }
.pm-done { text-align: center; padding: 28px 0 8px; }
.pm-done .pm-title { padding-right: 0; margin-bottom: 10px; }
.pm-done svg { width: 56px; height: 56px; margin-bottom: 12px; fill: none; stroke: #22d3ee; stroke-width: 1.8; }
.pm-done .pm-sub { margin-bottom: 20px; }
html.pm-lock { overflow: hidden; }
@media (max-width: 640px) { .pm-box { border-radius: 22px; } .pm-in { padding: 28px 20px 24px; border-radius: 20px; } .pm-title { font-size: 1.25rem; } .pm-row { grid-template-columns: minmax(0, 1fr); } .pm-actions { padding-left: 10px; } }
@media (max-width: 767px) { .pm-title { white-space: normal; } .pm-l { display: inline; } }
@media (prefers-reduced-motion: reduce) { .pm-back, .pm-box { animation: none; } }
@media (max-width: 400px) { .pm-field input::placeholder, .pm-field textarea::placeholder { font-size: 14px; } }

/* перенос строки только на широких экранах */
@media (max-width: 1023px) { .br-d { display: none; } }

/* «Оставить заявку» в подборе пакета: при наведении текст тёмный, стрелка зелёная */
.btn.btn-on-night.res-cta svg { transition: color .2s; }
.btn.btn-on-night.res-cta:hover svg, .btn.btn-on-night.res-cta:focus-visible svg { color: #65a30d !important; }

/* форма заявки на главной: одна колонка, шапка сверху, поля снизу; карточка по центру */
#zayavka .lead-card { display: flex; flex-direction: column; align-items: stretch; gap: 28px; max-width: 42rem; margin-inline: auto; padding: 32px; }
@media (min-width: 768px) { #zayavka .lead-card { gap: 32px; padding: 40px; } #zayavka .lead-info, #zayavka .lead-form { grid-column: auto; } }
@media (max-width: 400px) { #zayavka .lead-card { padding: 24px; } }
#zayavka .lead-info { display: flex; flex-direction: column; align-items: flex-start; }
#zayavka .lead-h { margin: 0 0 8px; }
#zayavka .lead-sub { margin: 0; max-width: 36rem; }

/* мягкое появление блоков при прокрутке */
.js-rv .rv { opacity: 0; transform: translateY(24px); transition: opacity .8s cubic-bezier(.16, 1, .3, 1), transform .8s cubic-bezier(.16, 1, .3, 1); transition-delay: var(--rd, 0s); }
.js-rv .rv.rv-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js-rv .rv { opacity: 1; transform: none; transition: none; } }

/* ===== страница 404 ===== */
.nf { position: relative; overflow: hidden; min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 140px 0 80px; color: var(--on-night); background: radial-gradient(120% 90% at 78% 8%, #14405a 0%, var(--night) 55%, #08161f 100%); }
.nf-glow { position: absolute; left: 50%; top: 42%; width: min(80vw, 760px); aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(34, 211, 238, .28), transparent); pointer-events: none; }
.nf-in { position: relative; display: grid; justify-items: center; gap: 18px; }
.nf-code { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: clamp(5.5rem, 22vw, 14rem); line-height: 1; letter-spacing: -.02em; background: linear-gradient(180deg, #ffffff 0%, #bfeaf2 50%, #22d3ee 100%); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 40px rgba(34, 211, 238, .35)); }
.nf-h { margin: 0; font-size: clamp(1.5rem, 3vw, 2.25rem); color: var(--on-night); }
.nf-t { margin: 0; max-width: 34rem; color: var(--on-night-muted); font-size: 1.05rem; line-height: 1.6; text-wrap: balance; }
.nf-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 14px; }
.nf-btns .btn.hx-ghost { --fill: #fff !important; --fill-text: var(--ink) !important; }
.nf-btns .btn.hx-ghost:hover, .nf-btns .btn.hx-ghost:focus-visible { color: var(--ink) !important; border-color: #fff !important; }
.nf-btns .btn.hx-ghost:hover svg, .nf-btns .btn.hx-ghost:focus-visible svg { color: var(--ink) !important; fill: currentColor; }

/* телефон: заголовки и вкладки сравнения не выходят за край экрана */
h1, h2, h3 { overflow-wrap: break-word; }
@media (max-width: 480px) { .page-hero h1 { font-size: 1.5rem; } .legal h2 { font-size: 1.15rem; } }
.cmp-tabs { padding-inline: 6px; }

/* Телефон: чуть плотнее отступы, чтобы первый экран с фото и «WEB STUDIO» помещался в экран */
@media (max-width: 719px) {
  .hero-dark { height: 100svh; min-height: 600px; }
  .hx-copy { flex: none; padding-top: 110px; }
  .hx-title { font-size: min(6vw, 1.5rem); line-height: 1.1; margin-top: 20px; }
  .hx-text { margin-top: 16px; line-height: 1.4; font-size: .75rem; }
  .hx-text .hx-br-m { display: none; }
  .hx-btns { margin-top: 16px; gap: 10px; }
  .hx-btns .btn { min-height: 3rem; }
  .hd-photo { flex: 1 1 0; min-height: 0; width: 100%; height: auto; margin: 6px 0 0; object-fit: contain; object-position: center bottom; align-self: stretch; translate: 0 24px; scale: 1.08; transform-origin: 50% 100%; }
  .hx-word { right: var(--gutter); bottom: 14px; }
  .hx-copy .hx-status { font-size: 7.5px; letter-spacing: 0; padding: 2px 8px; gap: 4px; margin: 0 0 0 7px; position: relative; top: 9px; }
  .hx-copy .hx-status i { top: -1.2px; width: 4px; height: 4px; box-shadow: 0 0 0 2px rgba(70, 205, 221, .25); }
  .quick-tg { bottom: calc(max(16px, env(safe-area-inset-bottom, 0px)) + 62px); }
  .quick-ph { bottom: calc(max(16px, env(safe-area-inset-bottom, 0px)) + 126px); }
}
