/* atomi.tj — оформление всего сайта (AT-157, 27.10.2026, сессия «Сайты»).
   Общий стиль Atomy Premium: белый и синий, сапфировые поля. Разметка страниц прежняя,
   классы те же — меняется только вид. Прежний файл: git-история папки atomi-tj-v2. */

:root {
  --ground: #ffffff;
  --ice: #eef3fb;
  --ice-2: #e2eaf7;
  --ink: #0b1a3a;
  --ink-2: #3d4a66;
  --sapphire: #0f2e7a;
  --sapphire-2: #0a2160;
  --cobalt: #1d4fd8;
  --cobalt-press: #163fb0;
  --on-dark: #f4f7ff;
  --on-dark-2: #b9c7e6;
  --error: #b3261e;
  --tj-red: #cc0000;
  --tj-green: #006600;

  /* старые имена переменных — для встроенных стилей отдельных страниц */
  --primary: var(--cobalt);
  --text: var(--ink);
  --muted: var(--ink-2);
  --border: var(--ice-2);
  --light: var(--ice);
  --blue-light: #8fb0ff;
  --red: var(--tj-red);
  --green: var(--tj-green);

  --display: "Cormorant Garamond", "Times New Roman", serif;
  --font: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;

  --step-display: clamp(40px, 1.6rem + 4.9vw, 100px);
  --step-h1: clamp(38px, 1.4rem + 3.4vw, 76px);
  --step-h2: clamp(32px, 1.3rem + 2.6vw, 60px);
  --step-h3: 21px;
  --step-lead: clamp(18px, 1rem + .35vw, 21px);
  --step-small: 15px;

  --margin: clamp(20px, 4vw, 56px);
  --max: 1320px;
  --gap-section: clamp(88px, 5rem + 4vw, 168px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--ground); color: var(--ink); font: 400 17px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
[hidden] { display: none !important; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cobalt); }
button, input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 3px; }
::selection { background: var(--cobalt); color: #fff; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); }
h1, h2 { overflow-wrap: break-word; font-family: var(--display); font-weight: 500; letter-spacing: -.02em; line-height: 1; text-wrap: balance; font-variant-numeric: lining-nums; }
h1 { font-size: var(--step-h1); }
h2 { font-size: var(--step-h2); }
h3 { font-family: var(--font); font-weight: 600; font-size: var(--step-h3); line-height: 1.3; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

/* Появление: только при работающем скрипте, содержимое видно и без него */
.fade-in { opacity: 1; }
.js .fade-in { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .fade-in.visible { opacity: 1; transform: none; }
.blue-shimmer, .blue-text, .national-shimmer { color: inherit; }
.national-divider, .blue-divider, .hero-ticker, .section-label, .feature-card__icon, .cat-card__overlay, .logo-desc, .atomy-logo-svg { display: none; }

/* Блеск на сапфировых полях — по просьбе Дениса 27.10 «премиальный с блеском» */
.sheen, .cta-section, .page-hero, .footer { position: relative; overflow: hidden; isolation: isolate; }
.sheen::before, .cta-section::before, .page-hero::before {
  content: ""; position: absolute; inset: -20% -60%; z-index: -1; pointer-events: none;
  background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,.12) 48%, rgba(255,255,255,.24) 50%, rgba(255,255,255,.12) 52%, transparent 60%);
  transform: translateX(-45%); animation: sheen 9s var(--ease) infinite;
}
.page-hero::after, .cta-section::after { content: none; }
@keyframes sheen { 0%, 20% { transform: translateX(-45%); } 70%, 100% { transform: translateX(45%); } }

/* Кнопки */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 28px; border: 0; border-radius: 999px; cursor: pointer;
  font-weight: 600; font-size: 16px; line-height: 1.2; text-decoration: none; text-align: center;
  transition: background-color .2s var(--ease), color .2s, transform .2s var(--ease);
}
.btn svg { width: 16px; height: 16px; }
.btn:active { transform: scale(.98); }
.btn--primary, .btn--white { background: var(--cobalt); color: #fff; }
.btn--primary::after, .btn--white::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.38) 50%, transparent 65%); transform: translateX(-120%);
}
.btn--primary:hover::after, .btn--white:hover::after { transform: translateX(120%); transition: transform .8s var(--ease); }
.btn--primary:hover { background: var(--cobalt-press); color: #fff; }
.btn--white { background: #fff; color: var(--sapphire); }
.btn--white:hover { background: var(--ice); color: var(--sapphire); }
.btn--outline, .btn--ghost { background: var(--ice); color: var(--sapphire); }
.btn--outline:hover, .btn--ghost:hover { background: var(--ice-2); color: var(--sapphire); }
.btn[disabled] { opacity: .6; cursor: progress; }

/* Шапка: знак, ссылки, одно действие */
.header { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.97); transition: box-shadow .2s; }
.header.is-scrolled { box-shadow: 0 1px 0 var(--ice-2); }
.header-inner { max-width: calc(var(--max) + 2 * var(--margin)); margin: 0 auto; padding: 0 var(--margin); min-height: 76px; display: flex; align-items: center; gap: 32px; }
.logo { text-decoration: none; display: inline-flex; align-items: center; gap: 14px; color: var(--sapphire); }
.logo img { display: block; height: 41px; width: auto; }
.logo-badge { display: inline-block; padding: 5px 11px; border: 0; border-radius: 999px; background: var(--sapphire); color: #fff; font-size: 12px; font-weight: 600; letter-spacing: .02em; white-space: nowrap; }
.footer-logo { display: block; width: 200px; height: auto; margin-bottom: 20px; }
.logo-wordmark { font-family: var(--display); font-weight: 600; font-size: 32px; letter-spacing: -.01em; line-height: 1; color: var(--sapphire); }
.logo-tld { color: var(--cobalt); }
.logo-place { font-weight: 500; font-size: 14px; color: var(--ink-2); }
.nav { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.nav a { text-decoration: none; color: var(--ink-2); font-weight: 500; font-size: 16px; padding: 8px 0; transition: color .2s; }
.nav a:hover, .nav a.active { color: var(--cobalt); }
.nav a.active { box-shadow: inset 0 -2px 0 var(--cobalt); }
.nav .nav-cta { color: #fff; background: var(--cobalt); border-radius: 999px; min-height: 44px; padding: 0 22px; display: inline-flex; align-items: center; font-weight: 600; font-size: 15px; box-shadow: none; }
.nav .nav-cta:hover, .nav .nav-cta.active { background: var(--cobalt-press); color: #fff; box-shadow: none; }
.burger { display: none; margin-left: auto; width: 48px; height: 48px; border: 0; background: var(--ice); border-radius: 999px; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 14px; right: 14px; height: 2px; background: var(--sapphire); transition: transform .25s var(--ease), opacity .2s; }
.burger span:nth-child(1) { top: 17px; } .burger span:nth-child(2) { top: 23px; } .burger span:nth-child(3) { top: 29px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Каркас разделов */
.section { padding: var(--gap-section) 0 0; }
.section:last-of-type { padding-bottom: var(--gap-section); }
.section--alt { background: none; }
.section-inner, .stats-inner, .footer-inner { max-width: calc(var(--max) + 2 * var(--margin)); margin: 0 auto; padding: 0 var(--margin); }
.section-title { margin: 0 0 20px; }
.section-sub { font-size: var(--step-lead); color: var(--ink-2); max-width: 36em; margin: 0 0 48px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 6px 10px; font-size: 14px; color: var(--ink-2); margin: 0 0 40px; }
.breadcrumbs a { color: var(--ink-2); text-decoration: none; }
.breadcrumbs a:hover { color: var(--cobalt); text-decoration: underline; }
.breadcrumbs .sep { color: var(--on-dark-2); }

/* Шапка страницы раздела: сапфировое поле с блеском */
.page-hero { background: var(--sapphire); color: var(--on-dark); padding: clamp(64px, 7vw, 120px) var(--margin) clamp(56px, 6vw, 96px); }
.page-hero > * { max-width: var(--max); margin-left: auto; margin-right: auto; }
.page-hero h1 { color: #fff; font-size: var(--step-display); line-height: .98; }
.page-hero p { margin-top: 24px; font-size: var(--step-lead); color: var(--on-dark-2); max-width: var(--max); }
.page-hero + .section { padding-top: 48px; }

/* Главная */
.home-hero { padding: clamp(28px, 4vw, 64px) 0 0; }
.home-hero__grid { max-width: calc(var(--max) + 2 * var(--margin)); margin: 0 auto; padding: 0 var(--margin); display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 0 clamp(32px, 5vw, 88px); align-items: start; }
.home-hero__title { grid-column: 1; grid-row: 1; margin-bottom: clamp(28px, 3vw, 44px); }
.home-hero h1 { font-size: var(--step-display); line-height: .96; margin: 0; }
.home-hero__sticker { display: inline-block; margin: 0 0 22px; padding: 7px 14px; border-radius: 999px; background: var(--sapphire); color: #fff; font-size: 13px; font-weight: 600; letter-spacing: .02em; }
.home-hero__text { grid-column: 1; grid-row: 2; }
.home-hero__lead { font-size: var(--step-lead); max-width: 34em; }
.home-hero__act { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; margin-top: 36px; }
.home-hero__facts { list-style: none; margin: 52px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.home-hero__facts li { font-size: var(--step-small); color: var(--ink-2); padding-top: 18px; background: linear-gradient(var(--cobalt), var(--cobalt)) top left / 40px 3px no-repeat; }
.home-hero__facts b { display: block; color: var(--ink); font-weight: 600; font-size: 16px; margin-bottom: 4px; }
.home-hero__stage { grid-column: 2; grid-row: 1 / span 2; margin: 0; min-height: 480px; background: var(--sapphire); display: flex; align-items: flex-end; align-self: stretch; }
.home-hero__stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.home-hero__stage::after { content: ""; position: absolute; inset: 55% 0 0; z-index: -1; background: linear-gradient(transparent, rgba(10,33,96,.82)); }
.home-hero__stage figcaption { padding: 28px 32px; color: var(--on-dark-2); font-size: var(--step-small); }
.home-hero__stage figcaption b { color: #fff; font-weight: 600; }
.text-link { color: var(--cobalt); font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; transition: text-underline-offset .2s var(--ease); }
.text-link:hover { text-underline-offset: 3px; }

.home-cats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.home-cats li { grid-column: span 3; }
.home-cats li:nth-child(-n+2) { grid-column: span 6; }
.home-cats a { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: var(--ink); background: var(--ice); transition: background-color .2s; }
.home-cats a:hover { background: var(--ice-2); }
.home-cats__img { display: block; overflow: hidden; }
.home-cats img { aspect-ratio: 1; width: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.home-cats li:nth-child(-n+2) img { aspect-ratio: 16 / 9; }
.home-cats a:hover img { transform: scale(1.03); }
.home-cats b { display: block; padding: 16px 18px 2px; font-weight: 600; font-size: 18px; }
.home-cats li:nth-child(-n+2) b { font-family: var(--display); font-weight: 500; font-size: 40px; line-height: 1; padding: 22px 24px 4px; }
.home-cats a > span:last-child { display: block; padding: 0 18px 18px; color: var(--ink-2); font-size: 14px; }
.home-cats li:nth-child(-n+2) a > span:last-child { padding: 0 24px 22px; font-size: 15px; }

.home-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: start; }
.home-routes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.home-routes a { display: block; height: 100%; padding: 24px 26px; background: var(--ice); text-decoration: none; color: var(--ink); transition: background-color .2s; }
.home-routes a:hover { background: var(--ice-2); }
.home-routes b { display: block; font-size: 19px; font-weight: 600; color: var(--sapphire); margin-bottom: 6px; }
.home-routes span { color: var(--ink-2); font-size: var(--step-small); }

.home-band { margin-top: var(--gap-section); background: var(--sapphire); color: var(--on-dark); padding: clamp(80px, 9vw, 150px) 0; }
.home-band__grid { max-width: calc(var(--max) + 2 * var(--margin)); margin: 0 auto; padding: 0 var(--margin); display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 64px; }
.home-band h2 { color: #fff; }
.home-band__lead { margin-top: 28px; font-size: var(--step-lead); color: var(--on-dark-2); max-width: 28em; }
.home-band dl { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
.home-band dt { font-family: var(--display); font-weight: 500; font-size: 44px; line-height: 1; color: #fff; font-variant-numeric: lining-nums; }
.home-band dd { margin: 10px 0 0; color: var(--on-dark-2); }

.home-guides { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; align-items: start; }
.home-guides h3 { margin: 0 0 14px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.home-guides ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.home-guides a { position: relative; display: block; padding: 18px 48px 18px 20px; background: var(--ice); color: var(--ink); text-decoration: none; transition: background-color .2s, transform .2s var(--ease); }
.home-guides a:hover { background: var(--ice-2); }
.home-guides a:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 2px; }
.home-guides b { display: block; font-size: 17px; font-weight: 600; color: var(--sapphire); }
.home-guides span { display: block; margin-top: 4px; color: var(--ink-2); font-size: var(--step-small); }
.home-guides i { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-style: normal; font-size: 20px; color: var(--cobalt); transition: transform .2s var(--ease); }
.home-guides a:hover i { transform: translate(4px, -50%); }

.home-apply { margin-top: var(--gap-section); background: var(--ice); padding: clamp(72px, 8vw, 140px) 0; }
.home-apply__grid { max-width: calc(var(--max) + 2 * var(--margin)); margin: 0 auto; padding: 0 var(--margin); display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: end; }
.home-apply p { font-size: var(--step-lead); margin-top: 24px; max-width: 32em; }
.home-apply__act { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }

/* Статистика старого вида */
.stats { padding: 48px 0 0; }
.stats-inner { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.stat-num { font-family: var(--display); font-size: 48px; font-weight: 500; line-height: 1; color: var(--sapphire); font-variant-numeric: lining-nums; }
.stat-label { color: var(--ink-2); font-size: var(--step-small); margin-top: 8px; }
.stats-note { max-width: var(--max); margin: 24px auto 0; padding: 0 var(--margin); color: var(--ink-2); font-size: 14px; }

/* Каталог: категории */
.cat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.cat-card { display: flex; align-items: flex-end; min-height: 200px; padding: 28px; text-decoration: none; background: var(--ice); color: var(--ink); transition: background-color .2s; position: relative; }
.cat-card:hover { background: var(--ice-2); }
.cat-card::after { content: none; }
.cat-card--hemohim { background: var(--sapphire); }
.cat-card--hemohim .cat-card__name, .cat-card--hemohim .cat-card__count { color: #fff; }
.cat-card--hemohim:hover { background: var(--sapphire-2); }
.cat-card__name { font-family: var(--display); font-weight: 500; font-size: 36px; line-height: 1; }
.cat-card__count { color: var(--ink-2); font-size: var(--step-small); margin-top: 8px; font-variant-numeric: lining-nums; }

/* «Что хотите сделать?» — строка путей */
.intent-router { margin: 0 0 48px; }
.intent-router__head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 8px 48px; align-items: end; margin-bottom: 28px; }
.intent-router__head h2 { font-size: clamp(30px, 1.2rem + 1.8vw, 44px); }
.intent-router__head p { color: var(--ink-2); margin: 0; }
.intent-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.intent-card { display: block; padding: 22px 22px 24px; background: var(--ice); text-decoration: none; color: var(--ink); transition: background-color .2s, color .2s; }
.intent-card:hover { background: var(--sapphire); color: var(--on-dark-2); }
.intent-card__label { display: block; font-weight: 600; font-size: 17px; color: var(--sapphire); margin-bottom: 6px; transition: color .2s; }
.intent-card:hover .intent-card__label { color: #fff; }
.intent-card__text { display: block; font-size: 14px; line-height: 1.45; color: inherit; opacity: .9; }

/* Товары */
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px 16px; }
.product-card { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); background: none; }
.product-card::after { content: none; }
.product-card__img { background: var(--ice); overflow: hidden; aspect-ratio: 1; }
.product-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.product-card:hover .product-card__img img { transform: scale(1.04); }
.product-card__body { padding: 16px 2px 0; }
.product-card__cat { font-size: 14px; color: var(--ink-2); }
.product-card__name { font-weight: 600; font-size: 17px; line-height: 1.3; margin-top: 4px; transition: color .2s; }
.product-card:hover .product-card__name { color: var(--cobalt); }
.product-card__price { font-size: 15px; color: var(--cobalt); font-weight: 600; margin-top: 6px; }

.search-box { position: relative; margin: 0 0 32px; max-width: 520px; }
.search-box svg { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--ink-2); }
.search-box input { width: 100%; min-height: 54px; padding: 0 18px 0 50px; background: var(--ice); border: 2px solid transparent; border-radius: 999px; font-size: 16px; transition: border-color .2s, background-color .2s; }
.search-box input:focus { outline: none; border-color: var(--cobalt); background: #fff; }

/* Карточка товара */
.product-detail { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 80px); align-items: start; margin-bottom: var(--gap-section); }
.product-image { background: var(--ice); position: sticky; top: 100px; }
.product-image img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.product-info h1 { font-size: clamp(36px, 1.4rem + 2.6vw, 64px); line-height: 1; }
.product-price-block { margin: 28px 0; padding: 24px 28px; background: var(--sapphire); color: var(--on-dark-2); }
.product-price-main { font-family: var(--display); font-weight: 500; font-size: 36px; line-height: 1; color: #fff; }
.product-pv { color: var(--on-dark-2); font-size: 14px; }
.product-price-note { font-size: 14px; line-height: 1.5; margin: 10px 0 0; color: var(--on-dark-2); }
.price-big { font-variant-numeric: lining-nums; }
.price-sub { display: block; margin-top: 8px; font-family: "Onest", system-ui, sans-serif; font-size: 15px; font-weight: 600; color: var(--on-dark-2); }
.product-price-row { margin: 14px 0 0; font-size: 15px; font-weight: 400; color: var(--on-dark-2); font-variant-numeric: lining-nums; }
.product-pv { margin: 6px 0 0; font-size: 13px; color: var(--on-dark-2); font-variant-numeric: lining-nums; }
.product-stock { margin: 12px 0 0; padding: 8px 12px; background: rgba(255,255,255,.12); font-size: 14px; color: #fff; }
.product-price-block--none { background: var(--ice); color: var(--ink-2); }
.product-price-block--none .product-price-main { color: var(--sapphire); font-size: 30px; }
.product-price-block--none .product-price-note { color: var(--ink-2); }
.product-card__price { font-variant-numeric: lining-nums; }
.price-none { color: var(--ink-2); font-weight: 500; }
.product-price-note a { color: #fff; }
.product-desc { font-size: var(--step-lead); margin-bottom: 32px; }
.product-seo-block { padding-top: 32px; box-shadow: inset 0 3px 0 var(--ice-2); }
.product-seo-block h2 { font-size: 34px; margin-bottom: 16px; }
.product-seo-block h3 { margin: 28px 0 10px; }
.product-seo-block p, .product-seo-block li { color: var(--ink); }
.product-seo-block ul { margin: 0; padding-left: 22px; }
.product-seo-block li { margin-bottom: 6px; }
.product-seo-block li::marker { color: var(--cobalt); }
.product-seo-note { margin-top: 24px; padding: 16px 20px; background: var(--ice); color: var(--ink-2); font-size: 14px; }
.product-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.similar-section { margin-top: var(--gap-section); }

/* Подсказки и блоки на страницах */
.trust-note { background: var(--ice); padding: 20px 24px; color: var(--ink); font-size: 16px; max-width: 64em; }
.trust-note strong { color: var(--sapphire); }
.how-step { padding: 24px 0; }
.how-step .num { font-family: var(--display); font-weight: 500; font-size: 56px; line-height: 1; color: var(--cobalt); font-variant-numeric: lining-nums; display: block; margin-bottom: 12px; }
.how-step h3 { margin-bottom: 8px; }
.clarity-grid, .features, .steps-grid, .team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 40px 48px; }
.clarity-card, .feature-card, .step-card, .team-card { background: none; padding: 0; }
.feature-card::before, .step-card::before { content: none; }
.clarity-card h3, .feature-card h3, .step-card h3, .team-card h3 { margin-bottom: 10px; font-size: 20px; }
.feature-card h3 { font-family: var(--display); font-weight: 500; font-size: 34px; line-height: 1.05; letter-spacing: -.01em; }
.clarity-card p, .feature-card p, .step-card p, .team-card p { color: var(--ink-2); }
.team-avatar { display: none; }
.team-card .role { color: var(--cobalt); font-weight: 600; font-size: 14px; }

.telegram-panel { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: center; background: var(--sapphire); color: var(--on-dark-2); padding: clamp(28px, 4vw, 48px); margin: 40px 0; }
.telegram-panel__label { display: none; }
.telegram-panel h3 { color: #fff; font-family: var(--display); font-weight: 500; font-size: 36px; line-height: 1.05; margin-bottom: 10px; }
.telegram-panel p { color: var(--on-dark-2); }
.telegram-panel__action { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.telegram-panel__action span { font-size: 14px; }
.message-template { background: var(--ice); padding: 18px 20px; font-size: 15px; margin: 16px 0; }
.message-template strong { color: var(--sapphire); }
.copy-message { background: var(--ice); border: 0; border-radius: 999px; min-height: 44px; padding: 0 20px; font-weight: 600; color: var(--sapphire); cursor: pointer; transition: background-color .2s; }
.copy-message:hover { background: var(--ice-2); }
.copy-message.copied { background: var(--sapphire); color: #fff; }
.quick-lead-bar { display: flex; align-items: center; gap: 12px; padding: 18px 22px; background: var(--ice); color: var(--sapphire); font-weight: 600; text-decoration: none; transition: background-color .2s; }
.quick-lead-bar:hover { background: var(--ice-2); }

.article-products { margin-top: 48px; }
.article-products h2 { font-size: 40px; margin-bottom: 12px; }
.popular-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.popular-card { text-decoration: none; color: var(--ink); display: block; }
.popular-card__img { background: var(--ice); aspect-ratio: 1; overflow: hidden; }
.popular-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.popular-card:hover .popular-card__img img { transform: scale(1.04); }
.popular-card__name { font-weight: 600; margin-top: 14px; }
.popular-card__price { color: var(--cobalt); font-weight: 600; font-size: 15px; }

/* Призыв в конце страниц: сапфировое поле */
.cta-section { margin-top: var(--gap-section); background: var(--sapphire); color: var(--on-dark-2); padding: clamp(72px, 8vw, 140px) 0; }
.cta-section .section-title { color: #fff; font-size: var(--step-h2); }
.cta-section .section-sub { color: var(--on-dark-2); }
.cta-section .section-label { display: none; }
.cta-section + .section { padding-top: var(--gap-section); }

/* Блог */
.blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.blog-card { display: flex; flex-direction: column; gap: 8px; padding: 28px; background: var(--ice); text-decoration: none; color: var(--ink); transition: background-color .2s; }
.blog-card:hover { background: var(--ice-2); }
.blog-card::before { content: none; }
.blog-tag { font-size: 14px; color: var(--cobalt); font-weight: 600; }
.blog-card h3 { font-size: 20px; color: var(--sapphire); }
.blog-card p { color: var(--ink-2); font-size: var(--step-small); }
.blog-card .read-more { margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 8px; color: var(--cobalt); font-weight: 600; font-size: 15px; transition: gap .2s var(--ease); }
.blog-card:hover .read-more { gap: 12px; }

.article-content, .content-block { max-width: 760px; font-size: 18px; line-height: 1.7; }
.article-content h2, .content-block h2 { font-size: 40px; margin: 56px 0 18px; }
.article-content h2:first-child, .content-block h2:first-child { margin-top: 0; }
.article-content ul, .content-block ul { padding-left: 22px; }
.article-content li { margin-bottom: 8px; }
.article-content li::marker { color: var(--cobalt); }
.content-block + .content-block { margin-top: 48px; }

.timeline { display: grid; gap: 28px; max-width: 760px; }
.timeline-item { display: grid; grid-template-columns: 120px 1fr; gap: 24px; }
.timeline-year { font-family: var(--display); font-weight: 500; font-size: 36px; line-height: 1; color: var(--cobalt); font-variant-numeric: lining-nums; }
.timeline-text { color: var(--ink); }

/* Статьи блога (раньше — встроенный стиль на каждой странице) */
.article-v2-shell { max-width: calc(820px + 2 * var(--margin)); margin: 0 auto; padding: clamp(40px, 5vw, 80px) var(--margin) var(--gap-section); }
.article-v2 { background: none; border: 0; padding: 0; box-shadow: none; }
.article-v2__hero { text-align: left; margin: 0 0 48px; }
.article-v2__category, .article-breadcrumb { font-size: 14px; font-weight: 600; color: var(--cobalt); letter-spacing: 0; text-transform: none; background: none; border: 0; padding: 0; }
.article-v2__category::before { content: none; }
.article-v2__title { font-family: var(--display); font-weight: 500; font-size: clamp(40px, 1.6rem + 3vw, 72px); line-height: 1; letter-spacing: -.02em; margin: 16px 0 20px; }
.article-v2__meta { display: flex; gap: 16px; flex-wrap: wrap; color: var(--ink-2); font-size: 14px; }
.article-v2__body { font-size: 18px; line-height: 1.72; }
.article-v2__body > p:first-of-type, .rich-intro p { font-size: 21px; line-height: 1.55; }
.article-v2__body h2 { font-size: clamp(32px, 1.2rem + 1.6vw, 44px); margin: 64px 0 18px; }
.article-v2__body h3 { font-size: 22px; margin: 36px 0 12px; }
.article-v2__body ul, .article-v2__body ol { margin: 0 0 24px; padding-left: 24px; }
.article-v2__body li { margin-bottom: 6px; }
.article-v2__body li::marker { color: var(--cobalt); }
.article-v2__toc { background: var(--ice); border: 0; border-radius: 0; padding: 28px 32px; margin: 0 0 48px; }
.article-v2__toc-label { font-size: 16px; font-weight: 600; color: var(--sapphire); letter-spacing: 0; text-transform: none; margin-bottom: 12px; }
.article-v2__toc ol { list-style: decimal; margin: 0; padding-left: 22px; }
.article-v2__toc li { padding: 5px 0; border: 0; }
.article-v2__toc li::before { content: none; }
.article-v2__toc li::marker { color: var(--cobalt); font-weight: 600; }
.article-v2__toc a { color: var(--ink); text-decoration: none; }
.article-v2__toc a:hover { color: var(--cobalt); text-decoration: underline; }
.article-v2__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 40px 0; }
.rich-module { margin: 0; padding: 0; border: 0; background: none; }
.rich-module__num { display: none; }
.rich-check { background: var(--ice); padding: 22px 26px; margin: 24px 0; }
.rich-check__title { font-weight: 600; color: var(--sapphire); margin-bottom: 8px; letter-spacing: 0; text-transform: none; font-size: 16px; }
.rich-check ul { margin: 0 !important; }
.rich-next { background: var(--sapphire); color: var(--on-dark-2); padding: 28px 32px; margin: 48px 0; }
.rich-next__label { color: #fff; font-weight: 600; margin-bottom: 8px; text-transform: none; letter-spacing: 0; }
.rich-next a { color: #fff; }
.article-related { margin: 64px 0 0; padding-top: 0; border: 0; }
.article-related__title { font-family: var(--display); font-weight: 500; font-size: 40px; letter-spacing: -.01em; text-transform: none; color: var(--ink); margin: 0 0 20px; }
.article-related__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.article-related__link { display: block; height: 100%; padding: 20px 22px; background: var(--ice); border: 0; border-radius: 0; text-decoration: none; color: var(--ink); transition: background-color .2s; }
.article-related__link:hover { background: var(--ice-2); }
.article-related__cat { font-size: 13px; color: var(--cobalt); font-weight: 600; text-transform: none; letter-spacing: 0; }
.article-related__name { display: block; font-weight: 600; margin-top: 4px; }
.article-related__excerpt { display: block; color: var(--ink-2); font-size: 14px; margin-top: 4px; }

/* Вопросы */
.faq-list { max-width: 880px; }
.faq-item { background: var(--ice); margin-bottom: 8px; }
.faq-q { position: relative; cursor: pointer; padding: 22px 64px 22px 26px; font-weight: 600; font-size: 18px; transition: background-color .2s; }
.faq-q:hover { background: var(--ice-2); }
.faq-q::after { content: "+"; position: absolute; right: 26px; top: 50%; transform: translateY(-50%); font-size: 26px; font-weight: 400; color: var(--cobalt); transition: transform .25s var(--ease); }
.faq-item.open .faq-q::after { transform: translateY(-50%) rotate(45deg); }
.faq-a { display: none; padding: 0 26px 24px; color: var(--ink-2); }
.faq-item.open .faq-a { display: block; }

/* Формы */
.contact-form { display: grid; gap: 18px; }
.form-group { display: grid; gap: 8px; }
.form-group label { font-weight: 500; font-size: 15px; }
.form-group input, .form-group textarea, .form-group select { width: 100%; min-height: 54px; padding: 14px 16px; background: var(--ice); border: 2px solid transparent; border-radius: 0; font-size: 17px; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: var(--cobalt); background: #fff; }
.form-group textarea { min-height: 110px; resize: vertical; }

/* Анкета (страница «Анкета» /registratsiya/) */
.anketa { padding: clamp(40px, 5vw, 80px) 0 var(--gap-section); }
.anketa__grid { max-width: calc(var(--max) + 2 * var(--margin)); margin: 0 auto; padding: 0 var(--margin); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 5vw, 88px); align-items: start; }
.anketa h1 { font-size: var(--step-display); line-height: .96; }
.anketa__lead { margin-top: 28px; font-size: var(--step-lead); max-width: 30em; }
.anketa__promise { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 12px; color: var(--ink-2); }
.anketa__promise li { padding-left: 28px; background: linear-gradient(var(--cobalt), var(--cobalt)) 0 .72em / 14px 3px no-repeat; }
.anketa__note { margin-top: 36px; padding: 22px 24px; background: var(--ice); font-size: var(--step-small); color: var(--ink); }
.anketa__note b { color: var(--sapphire); }
.anketa__tg { margin-top: 28px; font-size: var(--step-small); color: var(--ink-2); }
.form { background: var(--ice); padding: clamp(24px, 3vw, 44px); display: grid; gap: 22px; }
.form__row { display: grid; gap: 8px; margin: 0; border: 0; padding: 0; min-width: 0; }
.form label, .form legend { font-weight: 500; font-size: var(--step-small); }
.form legend { padding: 0; margin-bottom: 8px; }
.form input:not([type=radio]):not([type=checkbox]), .form textarea { width: 100%; min-height: 54px; padding: 14px 16px; background: #fff; border: 2px solid transparent; border-radius: 0; font-size: 17px; transition: border-color .2s; }
.form textarea { min-height: 96px; resize: vertical; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--cobalt); }
.form__choice { display: flex; flex-wrap: wrap; gap: 8px; }
.form__choice legend { width: 100%; }
.form__choice label { position: relative; cursor: pointer; display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; background: #fff; border-radius: 999px; font-weight: 500; transition: background-color .2s, color .2s; }
.form__choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.form__choice label:hover { background: var(--ice-2); }
.form__choice label:has(input:checked) { background: var(--sapphire); color: #fff; }
.form__choice label:has(input:focus-visible) { outline: 3px solid var(--cobalt); outline-offset: 2px; }
.form__basket { background: #fff; padding: 14px 16px; font-size: var(--step-small); display: block; }
.form__basket span:first-child { font-weight: 600; }
.form__agree { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; font-weight: 400 !important; color: var(--ink-2); }
.form__agree input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--cobalt); }
.form__err { display: none; color: var(--error); font-size: 14px; }
.form .is-bad .form__err, .form__err.is-on { display: block; }
.form .is-bad input { border-color: var(--error) !important; }
.form__fail { color: var(--error); font-weight: 500; margin: 0; }
.form .btn { width: 100%; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form__done { background: var(--ice); padding: clamp(32px, 4vw, 56px); display: grid; gap: 16px; justify-items: start; }
.form__done h2 { font-size: 48px; }
.link-btn { background: none; border: 0; padding: 4px 0; color: var(--cobalt); font-weight: 600; text-decoration: underline; text-underline-offset: 6px; cursor: pointer; }

/* Подвал: имя сайта крупно, три колонки ссылок */
.footer { background: var(--sapphire-2); color: var(--on-dark-2); padding: clamp(72px, 8vw, 128px) 0 40px; margin-top: 0; }
.footer-big { max-width: calc(var(--max) + 2 * var(--margin)); margin: 0 auto 56px; padding: 0 var(--margin); font-family: var(--display); font-weight: 600; font-size: clamp(72px, 3rem + 10vw, 230px); line-height: .85; letter-spacing: -.03em; color: #fff; }
.footer-big span { color: var(--blue-light); }
.footer-inner { display: grid; grid-template-columns: minmax(0, 5fr) repeat(3, minmax(0, 2fr)); gap: 40px; }
.footer h4 { color: #fff; font-size: 16px; font-weight: 600; margin: 0 0 14px; }
.footer-brand p { font-size: var(--step-small); color: var(--on-dark-2); max-width: 30em; }
.footer-brand a { color: #fff !important; }
.footer-logo { display: none; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer li a { color: var(--on-dark-2); text-decoration: none; font-size: var(--step-small); transition: color .2s; }
.footer li a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { max-width: calc(var(--max) + 2 * var(--margin)); margin: 56px auto 0; padding: 28px var(--margin) 0; font-size: 13px; color: var(--on-dark-2); display: flex; gap: 16px; align-items: flex-start; }
.footer-bottom a { color: #fff; }
.footer-flag { display: inline-flex; flex: none; margin-top: 4px; }
.footer-flag span { display: block; width: 18px; height: 4px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .sheen::before, .cta-section::before, .page-hero::before { animation: none; display: none; }
  .btn::after { display: none; }
  .js .fade-in { opacity: 1; transform: none; transition: none; }
  .product-card__img img, .home-cats img, .popular-card__img img { transition: none; }
}

@media (max-width: 1100px) {
  .nav { gap: 18px; }
  .nav a { font-size: 15px; }
  .logo-place { display: none; }
  .logo img { height: 34px; }
}

@media (max-width: 1024px) {
  .burger { display: block; }
  .nav { display: none; position: fixed; inset: 76px 0 auto 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--margin) 24px; box-shadow: 0 24px 40px rgba(11,26,58,.12); }
  .nav.open { display: flex; }
  .nav a { font-size: 20px; padding: 14px 0; }
  .nav a.active { box-shadow: none; }
  .nav .nav-cta { margin-top: 12px; justify-content: center; min-height: 54px; font-size: 17px; }
  .home-hero__grid, .home-split, .home-band__grid, .home-apply__grid, .anketa__grid, .product-detail, .intent-router__head { grid-template-columns: minmax(0, 1fr); }
  .home-hero__title, .home-hero__text, .home-hero__stage { grid-column: 1; grid-row: auto; }
  .home-hero__stage { min-height: 0; aspect-ratio: 4 / 3; margin-top: 48px; }
  .product-image { position: static; }
  .intent-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .product-grid, .popular-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .home-cats li { grid-column: span 6; }
  .home-cats li:nth-child(-n+2) { grid-column: span 6; }
  .home-guides { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer-inner { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
  .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .header-inner { min-height: 64px; gap: 16px; }
  .nav { inset: 64px 0 auto 0; }
  .logo-wordmark { font-size: 28px; }
  .logo { gap: 10px; }
  .logo img { height: 30px; }
  .logo-badge { font-size: 11px; padding: 4px 8px; }
  .section-sub { margin-bottom: 32px; }
  .home-hero__title { margin-bottom: 24px; }
  .home-hero__sticker { font-size: 12px; margin-bottom: 16px; }
  .home-hero__stage { order: 1; aspect-ratio: 16 / 10; margin: 0 calc(-1 * var(--margin)) 28px; }
  .home-hero__stage figcaption { padding: 16px 20px; }
  .home-hero__text { order: 2; }
  .home-hero__act { margin-top: 28px; gap: 20px; }
  .home-hero__act .btn { width: 100%; }
  .home-hero__facts { grid-template-columns: minmax(0, 1fr); gap: 18px; margin-top: 40px; }
  .home-cats { gap: 10px; }
  .home-cats li { grid-column: span 6; }
  .home-cats li:nth-child(-n+2) { grid-column: span 12; }
  .home-cats li:nth-child(-n+2) b { font-size: 32px; }
  .home-routes { grid-template-columns: minmax(0, 1fr); }
  .home-band dl { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .home-guides { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .stats-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cat-grid { grid-template-columns: minmax(0, 1fr); }
  .cat-card { min-height: 140px; padding: 22px; }
  .intent-grid { grid-template-columns: minmax(0, 1fr); }
  .product-grid, .popular-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; }
  .product-card__name { font-size: 15px; }
  .product-price-block { padding: 20px; }
  .product-actions .btn { width: 100%; }
  .page-hero h1 { font-size: clamp(40px, 11vw, 56px); }
  .blog-grid, .article-related__list { grid-template-columns: minmax(0, 1fr); }
  .telegram-panel { grid-template-columns: minmax(0, 1fr); }
  .timeline-item { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .form { margin: 0 calc(-1 * var(--margin)); }
  .faq-q { padding: 20px 56px 20px 20px; font-size: 17px; }
  .faq-q::after { right: 20px; }
  .faq-a { padding: 0 20px 22px; }
  .footer-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 360px) {
  .footer-inner { grid-template-columns: minmax(0, 1fr); }
}
.product-card__name, .popular-card__name, .home-cats b, .intent-card__label, .blog-card h3, .footer li a, .article-related__name { overflow-wrap: break-word; hyphens: auto; }
main, .article-v2__body, .article-content, .content-block { overflow-wrap: break-word; }
.article-v2__body, .article-content { hyphens: auto; }
.page-404 { padding: clamp(64px, 8vw, 140px) var(--margin) var(--gap-section); max-width: calc(var(--max) + 2 * var(--margin)); margin: 0 auto; }
.page-404 h1 { font-size: var(--step-display); line-height: .96; }
.page-404 p { margin: 24px 0 36px; font-size: var(--step-lead); color: var(--ink-2); }
.page-404 div { display: flex; gap: 12px; flex-wrap: wrap; }

@media (max-width: 380px) {
  .logo { gap: 8px; }
  .logo img { height: 25px; }
  .logo-badge { display: none; }
}

/* AT-157, 28.10: карточки-ссылки должны выглядеть нажимаемыми */
.home-guides a, .home-routes a, .intent-card { background: #fff; border: 1px solid var(--ice-2); box-shadow: 0 1px 2px rgba(11,26,58,.06), 0 6px 18px rgba(11,26,58,.06); transition: border-color .2s, box-shadow .2s, transform .2s var(--ease); }
.home-guides a:hover, .home-routes a:hover, .intent-card:hover { background: #fff; border-color: var(--cobalt); box-shadow: 0 2px 4px rgba(11,26,58,.08), 0 12px 28px rgba(29,79,216,.14); transform: translateY(-2px); }
.home-routes a, .intent-card { position: relative; padding-right: 48px !important; }
.home-routes a::after, .intent-card::after { content: "→"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 20px; color: var(--cobalt); transition: transform .2s var(--ease); }
.home-routes a:hover::after, .intent-card:hover::after { transform: translate(4px, -50%); }
@media (prefers-reduced-motion: reduce) { .home-guides a:hover, .home-routes a:hover, .intent-card:hover { transform: none; } }

.h1-sub { display: block; margin-top: .18em; font-size: .52em; line-height: 1.05; color: var(--cobalt); }
