/* ==========================================================================
   CROPAS — секции и переиспользуемые блоки
   ========================================================================== */

/* --- HERO --------------------------------------------------------------- */
.hero {
	position: relative;
	overflow: hidden;
	background: var(--bg-white);
	border-bottom: 1px solid var(--bd-2);
}
/* Крошки в герое услуги стояли ВПЛОТНУЮ к шапке: замер 0px против 38–40px
   на кейсах, статьях и страницах. Причина не в самих крошках — у .hero нет
   верхнего отступа, а все 60px (40px на мобильном) лежат на .hero__inner,
   то есть ПОД крошками. Поднимаем отступ над крошками и снимаем его у
   .hero__inner, но только когда крошки есть: на главной их нет (функция
   выходит на is_front_page), и там герой сохраняет прежние 60px. */
.hero > .container > .breadcrumbs { padding-top: 38px; }
.hero .breadcrumbs + .hero__inner { padding-top: 0; align-items: start; }

.hero__inner {
	position: relative;
	display: grid;
	grid-template-columns: 1.12fr .88fr;
	gap: 56px;
	align-items: center;
	padding: 60px 0 64px;
}
.hero__title { margin: 22px 0 0; }
.hero__title .accent { color: var(--accent); }
.hero__sub { margin: 22px 0 0; max-width: 520px; }
.hero__bullets { margin: 30px 0 0; }
.hero__cta { display: flex; gap: 14px; margin: 34px 0 0; flex-wrap: wrap; }
.hero__badges { display: flex; align-items: center; gap: 10px; margin: 34px 0 0; flex-wrap: wrap; }
.hero__rating { display: inline-flex; align-items: center; gap: 9px; }
.hero__rating b { font-weight: 800; font-size: 15px; color: var(--c-black); }
.hero__rating b span { font-weight: 600; color: var(--c-text); }

/* --- Лид-форма (карточка) ---------------------------------------------- */
.cr-form {
	align-self: start;
	background: var(--bg-white);
	border: 1px solid var(--bd);
	border-radius: var(--r-card);
	padding: 32px;
	box-shadow: var(--sh-card);
}
.cr-form--dark {
	background: rgba(255, 255, 255, .04);
	border-color: rgba(255, 255, 255, .12);
	box-shadow: none;
}
.cr-form__title { font-weight: 800; font-size: 24px; line-height: 1.1; letter-spacing: -.02em; color: var(--c-black); }
.cr-form--dark .cr-form__title { color: #fff; }
.cr-form__sub { font-weight: 500; font-size: 15px; line-height: 1.5; color: var(--c-text); margin: 9px 0 0; }
.cr-form--dark .cr-form__sub { color: var(--c-muted-2); }
.cr-form__fields { display: flex; flex-direction: column; gap: 12px; margin-top: 22px; position: relative; }
/* Парная строка полей и подписанные поля — общие для всех шаблонов.
   Раньше лежали в pages.css, который НЕ подключается на страницах услуг,
   из-за чего «телефон + e-mail» там слипались без сетки и отступа. */
.cr-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cr-form__fields--labeled { display: flex; flex-direction: column; gap: 18px; }
.cr-form__fields--labeled .cr-field { display: block; }
.cr-form__fields--labeled .cr-field__label { display: block; font-weight: 700; font-size: 14px; line-height: 1; color: #2E374B; margin-bottom: 9px; }
/* Пометка «(необязательно)» — приглушённая и нежирная: это служебное
   уточнение рядом с названием поля, а не часть названия. --c-muted даёт
   5.30 на белом, то есть проходит норму AA и при мелком кегле. */
.cr-form__fields--labeled .cr-field__opt { font-weight: 600; color: var(--c-muted); }
/* Звёздочка у обязательных полей больше не рисуется (1.9.70 — помечаем
   необязательные), правило оставлено для собственной разметки в блоке
   «Произвольный HTML», где её мог поставить редактор. */
.cr-form__fields--labeled .cr-field__req { color: var(--accent-ink); }

/* --- Галка согласия --------------------------------------------------- */
/* Воздух вокруг галки больше, чем между полями: она не поле ввода, а отдельное
   решение перед отправкой, и слипшись с полем и кнопкой читается как ещё одна
   строка формы. Замер макета: по 32px сверху и снизу при 18px между полями. */
/* Отступы 14px вместо 26px: строка перестаёт читаться как отдельный блок
   формы и прижимается к кнопке — именно это и делает её незаметной. */
.cr-consent { margin-top: 14px; }
.cr-consent + .cr-form__submit { margin-top: 14px; }
/* Строка кликабельна целиком, поэтому вертикальные отступы держат зону нажатия
   не меньше 24px даже при квадрате 16px — иначе попасть по ней на телефоне
   тяжело (то же правило, что для точек карусели в 1.9.31). */
.cr-consent__row {
	display: flex; align-items: flex-start; gap: 8px; cursor: pointer; padding: 4px 0;
	/* Замер: при кегле 11px и padding 4px строка выходит 23.94px — на 0.06px
	   ниже порога 24×24 (WCAG 2.5.8). Галку нажимают по всей строке-ярлыку,
	   поэтому поднимаем именно её, а не саму галку: отступы не меняются. */
	min-height: 24px;
}
/* accent-color красит саму галку системным контролом: так она остаётся
   нативной (доступность, состояние :focus-visible, поведение на тач),
   а выглядит в цвете темы. Свой квадрат из div здесь не нужен. */
.cr-consent__box {
	flex: none;
	width: 14px;
	height: 14px;
	margin: 1px 0 0;
	/* СЕРАЯ, а не акцентная. Самым громким в строке был именно синий квадрат:
	   насыщенная заливка тянет взгляд сильнее, чем любой мелкий текст рядом.
	   Это контрол, а не текст, — порога контраста для него нет. */
	accent-color: #C8D0DE;
	cursor: pointer;
}
/* Служебная строка, а не часть формы.
   Кегль 11px. Важно: КЕГЛЬ НА КОНТРАСТ НЕ ВЛИЯЕТ — порог AA зависит только от
   цвета (4.5 для обычного текста; «крупным» считается 24px либо 18.7px жирным,
   мы далеко ниже при любом из этих значений). Поэтому шрифт уменьшать можно.
   А вот ЦВЕТ — предел: #6B7590 на белом даёт 4.59 при норме 4.5. Следующие
   ступени вниз замерены и не проходят: #7C8698 — 3.67, #8A93A6 — 3.09,
   #98A2B4 — 2.57. Это юридическое уведомление, а не декор. Вес шрифта не
   спасает: начертания 400 в теме нет (удалено в 1.9.36), только 500 и выше. */
.cr-consent__text { font-weight: 500; font-size: 11px; line-height: 1.45; color: #6B7590; }
.cr-consent__text a { color: #6B7590; text-decoration: underline; text-underline-offset: 2px; }
.cr-consent__text a:hover, .cr-consent__text a:focus-visible { color: var(--accent-ink); }
.cr-consent .cr-field__err { margin-top: 7px; }
/* Ошибка у галки: подсвечиваем рамкой сам контрол, как у полей ввода. */
.cr-consent__box.is-error { outline: 2px solid var(--bad); outline-offset: 1px; }
/* На узких экранах кегль не уменьшаем: 12px — это уже пол. */

/* Обёртка поля. min-width:0 обязателен: внутри .cr-form__row (две колонки
   1fr) трек не сжимается ниже min-content содержимого, и длинный плейсхолдер
   растянул бы ряд — та же ловушка, что чинили в 1.9.38. */
.cr-field { display: block; min-width: 0; }

/* Сообщение об ошибке. Красной рамки мало: цвет как единственный носитель
   смысла — нарушение WCAG 1.4.1, и дальтоник просто не увидит, что не так.
   Поэтому под полем текст, который называет, что вписать. */
/* display задаётся ТОЛЬКО в видимом состоянии. Голое `display:block`
   перебивало браузерное `[hidden]{display:none}` — специфичность у обоих
   правил равная, а наше идёт позже, — и подписи «Укажите телефон» висели
   под пустыми полями ещё до отправки формы. Поймано скриншотом: проба
   смотрела на атрибут hidden, а он был выставлен верно. */
.cr-field__err:not([hidden]) {
	display: block;
}
.cr-field__err {
	margin-top: 6px;
	font-weight: 600;
	font-size: 12.5px;
	line-height: 1.35;
	color: var(--bad);
}
/* Форма mid-CTA — flex-ряд на тёмной подложке: обёртка должна занять место
   поля (216px), иначе ряд рассыпается, а --bad на тёмном нечитаем. */
.mid-cta__form .cr-field { flex: 0 1 216px; }
.mid-cta__form .cr-field .field { width: 100%; }
.mid-cta__form .cr-field__err { color: #FFB4AC; }
/* Строка согласия занимает всю ширину ряда и уходит под кнопку. На тёмной
   подложке --c-muted нечитаем, поэтому свой светлый тон. */
.mid-cta__note { flex: 1 0 100%; margin-top: 12px; font-weight: 600; font-size: 12px; line-height: 1.45; color: rgba(255,255,255,.62); text-align: right; }
.mid-cta__note a { color: rgba(255,255,255,.82); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 768px) { .mid-cta__note { text-align: left; } }
@media (max-width: 768px) { .mid-cta__form .cr-field { flex: 1 1 100%; } }
@media (max-width: 860px) { .cr-form__row { grid-template-columns: 1fr; } }
.cr-form__submit { margin-top: 18px; }
.cr-form__reassure { display: flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; font-size: 14.5px; line-height: 1.3; color: var(--c-text-2); margin-top: 20px; text-align: center; }
/* Гарантия — подпись к кнопке, а не хвост полей: от полей отбита сильнее,
   к кнопке прижата. Правило на соседний элемент, чтобы форма без гарантии
   сохраняла обычный отступ до кнопки. */
.cr-form__reassure + .cr-form__submit { margin-top: 12px; }
.cr-form--dark .cr-form__reassure { color: #fff; }
.cr-form__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); flex: none; }
/* Строка согласия — служебная, не должна спорить с кнопкой. Было
   --c-text-4 (#262626, почти чёрный) и ссылка акцентом. Стало --c-muted:
   5.30 на белом и 4.98 на светлой карточке — норма AA 4.5 соблюдена
   (--c-muted-3 не подходит, там 3.67). Отбивка 8 → 14px. */
.cr-form__note { font-weight: 500; font-size: 12px; line-height: 1.45; color: #6B7590; margin-top: 14px; text-align: center; }
.cr-form__note a { color: #6B7590; text-decoration: underline; text-underline-offset: 2px; }
.cr-form__note a:hover, .cr-form__note a:focus-visible { color: var(--accent-ink); }
/* Строка согласия на ТЁМНЫХ подложках. #6B7590 подобран под белый фон и на
   тёмной карточке даёт 3.83 при норме 4.5 — это поймала проба контраста после
   того, как строку вернули формам, где её не было вовсе. --c-muted-2 на #0F1830
   даёт 7.15 (см. комментарий у токена). Селекторы перечислены явно: сами формы
   про тёмный фон не знают, variant='dark' им не задан. */
.cr-form--dark .cr-form__note,
.cta-home__card .cr-form__note,
.bl-news .cr-form__note { color: var(--c-muted-2); }
/* .cta-card — синий градиент (замер: linear-gradient от #1559C6). Серый
   #6B7590 на нём давал контраст около 1,5:1, а строка юридически значимая. */
.cta-card .cr-form__note,
.cta-card .cr-form__note a { color: rgba(255, 255, 255, .85); }
.cta-card .cr-form__note a:hover,
.cta-card .cr-form__note a:focus-visible { color: #fff; }
.cta-home__card .cr-form__note a,
.bl-news .cr-form__note a { color: var(--c-muted-2); }
.cta-home__card .cr-form__note a:hover,
.cta-home__card .cr-form__note a:focus-visible,
.bl-news .cr-form__note a:hover,
.bl-news .cr-form__note a:focus-visible { color: #fff; }
.cr-form__error { display: none; margin-top: 12px; padding: 12px 14px; background: #FDECEA; border: 1px solid #F3C0BA; border-radius: 10px; color: #B23A2B; font-weight: 600; font-size: 14px; }
.cr-form.is-error .cr-form__error { display: block; }
.cr-form__success { display: none; text-align: center; padding: 18px 8px; }
.cr-form.is-success .cr-form__body { display: none; }
.cr-form.is-success .cr-form__success { display: block; }
.cr-form__success-check { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; background: var(--ok); color: #fff; font-size: 28px; font-weight: 800; margin-bottom: 14px; }
.cr-form__success-title { font-weight: 800; font-size: 22px; color: var(--c-black); }
.cr-form--dark .cr-form__success-title { color: #fff; }
.cr-form__success-text { font-weight: 500; font-size: 15px; line-height: 1.6; color: var(--c-text); margin: 8px auto 0; max-width: 34ch; }
.cr-form--dark .cr-form__success-text { color: var(--c-muted-2); }

/* --- Клиенты (бегущая строка) ------------------------------------------ */
.clients {
	background: var(--bg-soft);
	border-bottom: 1px solid var(--bd-2);
	padding: 34px 0 40px;
}
.clients__title { text-align: center; font-weight: 700; font-size: 12px; line-height: 1; letter-spacing: .16em; text-transform: uppercase; color: var(--c-text); }
.clients__track-wrap {
	margin-top: 26px;
	overflow: hidden;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.clients__track {
	display: flex;
	gap: 54px;
	width: max-content;
	align-items: center;
	animation: cropasMarquee 50s linear infinite;
	padding-left: 54px;
}
.clients__track:hover { animation-play-state: paused; }
.clients__item { font-weight: 800; font-size: 21px; line-height: 1; letter-spacing: -.02em; color: var(--c-text); white-space: nowrap; }
@keyframes cropasMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* --- Строка-гарантия ---------------------------------------------------- */
.guarantee-wrap { background: var(--bg-white); padding: 46px 0 0; }
.guarantee {
	border: 1px solid var(--accent-tint);
	background: linear-gradient(180deg, var(--accent-tint), #fff);
	border-radius: var(--r-card);
	padding: 34px 38px;
	display: grid;
	grid-template-columns: 210px 1px repeat(3, 1fr);
	gap: 30px;
	align-items: center;
}
.guarantee__lead-t { font-weight: 800; font-size: 20px; line-height: 1.15; letter-spacing: -.02em; color: var(--c-black); }
.guarantee__lead-d { font-weight: 500; font-size: 14.5px; line-height: 1.5; color: var(--c-text); margin-top: 8px; }
.guarantee__divider { width: 1px; height: 56px; background: var(--accent-tint); }
.guarantee__item { display: grid; grid-template-columns: auto 1fr; gap: 12px; }
.guarantee__check { flex: none; width: 26px; height: 26px; border-radius: 8px; background: var(--accent-tint); color: var(--accent-ink); display: flex; align-items: center; justify-content: center; font-size: 14.5px; font-weight: 800; }
.guarantee__t { font-weight: 800; font-size: 15px; line-height: 1.2; color: var(--c-black); }
.guarantee__d { font-weight: 500; font-size: 14px; line-height: 1.5; color: var(--c-text); margin-top: 5px; }

/* --- Преимущества ------------------------------------------------------- */
.advantages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 46px; }
.adv-card {
	border: 1px solid var(--bd);
	border-radius: 20px;
	padding: 32px;
	background: linear-gradient(180deg, var(--bg-soft-2), #fff);
}
.adv-card__icon { width: 56px; height: 56px; border-radius: 15px; background: var(--accent-tint); color: var(--accent-ink); display: flex; align-items: center; justify-content: center; }
.adv-card__title { font-weight: 800; font-size: 21px; line-height: 1.2; letter-spacing: -.01em; color: var(--c-black); margin: 18px 0 0; }
.adv-card__text { font-weight: 500; font-size: 15px; line-height: 1.6; color: var(--c-text); margin: 12px 0 0; }

/* --- Награды / рейтинги ------------------------------------------------- */
.awards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.award { display: flex; flex-direction: column; gap: 22px; }
.award__frame {
	width: 100%;
	aspect-ratio: 3 / 4;
	border-radius: 16px;
	overflow: hidden;
	border: 1px solid var(--bd);
	background: #fff;
	box-shadow: 0 20px 44px -30px rgba(15, 24, 48, .5);
	display: flex;
}
.award__frame img { width: 100%; height: 100%; object-fit: cover; }
.award__ph {
	flex: 1;
	background: var(--bg-soft-4);
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 20px;
	font-weight: 700;
	font-size: 13px;
	color: var(--c-muted);
	line-height: 1.4;
}
.award__cap { text-align: center; font-weight: 600; font-size: 15px; line-height: 1.5; color: var(--c-text-2); padding: 0 4px; }

/* --- Факты (тёмные счётчики) ------------------------------------------- */
.facts { background: var(--c-topbar); color: #fff; }
.facts__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.fact__num { font-weight: 700; font-size: clamp(30px, 3.4vw, 44px); line-height: 1; letter-spacing: -.02em; color: #fff; }
.fact__t { font-weight: 700; font-size: 15px; line-height: 1.3; color: var(--accent-soft); margin-top: 12px; }
.fact__d { font-weight: 500; font-size: 14.5px; line-height: 1.55; color: var(--c-muted-2); margin-top: 7px; max-width: 22ch; }

/* --- Кейсы-переключатель ----------------------------------------------- */
.case-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; }
.case-tab {
	background: #fff; border: 1px solid var(--bd); color: var(--c-text-3);
	font-weight: 700; font-size: 14.5px; line-height: 1;
	padding: 11px 18px; border-radius: var(--r-pill); cursor: pointer;
	transition: all var(--tr);
}
.case-tab.is-active { background: var(--accent); color: #fff; border-color: var(--accent); box-shadow: 0 12px 26px -14px rgba(var(--accent-rgb), .9); }

.case-panel {
	margin-top: 22px; background: #fff; border: 1px solid #E2E9F2;
	border-radius: var(--r-card); overflow: hidden;
	box-shadow: 0 20px 40px -30px rgba(15, 24, 48, .4);
}
.case-panel__head { padding: 28px 30px 26px; border-bottom: 1px solid var(--bd-4); display: flex; flex-direction: column; gap: 15px; }
.case-panel__tags { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.case-tag { font-weight: 700; font-size: 12px; line-height: 1; letter-spacing: .04em; text-transform: uppercase; color: var(--accent-ink); background: var(--accent-tint); border: 1px solid rgba(var(--accent-rgb), .2); padding: 7px 13px; border-radius: var(--r-pill); flex: none; white-space: nowrap; }
.case-tag--region { color: var(--c-text-3); background: #EEF3FB; border-color: #DDE7F4; display: inline-flex; align-items: center; gap: 6px; }
.case-tag--region .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.case-panel__no { margin-left: auto; font-family: var(--font-mono); font-weight: 800; font-size: 13px; line-height: 1; color: var(--c-text-4); letter-spacing: .02em; }
.case-panel__title { font-weight: 800; font-size: clamp(24px, 2.6vw, 30px); line-height: 1.16; letter-spacing: -.02em; color: var(--c-black); }
.case-panel__task { font-weight: 600; font-size: 15px; line-height: 1.55; color: var(--c-text-4); margin: 0; max-width: 96ch; }
.case-panel__task b { font-weight: 800; letter-spacing: .05em; text-transform: uppercase; font-size: 11.5px; color: var(--accent); }
.case-panel__cols { display: grid; grid-template-columns: 1fr 1fr; }
.case-panel__chart { padding: 24px 26px; border-right: 1px solid var(--bd-4); display: flex; flex-direction: column; }
.case-panel__chart-head { display: flex; align-items: baseline; justify-content: space-between; }
.case-panel__chart-head span:first-child { font-weight: 700; font-size: 14px; color: var(--c-black); }
.case-panel__chart-head span:last-child { font-weight: 700; font-size: 12px; color: var(--c-text-4); }
.case-chart { position: relative; flex: 1; min-height: 200px; margin-top: 15px; }
/* Подписи оси Y — HTML-слоем поверх SVG: сам SVG растягивается под контейнер
   (preserveAspectRatio="none"), и текст внутри него искажался. */
.chart-ylabs { position: absolute; inset: 0; pointer-events: none; }
.chart-ylabs span { position: absolute; left: 0; transform: translateY(-50%); font-weight: 600; font-size: 12px; line-height: 1; color: #6B7590; white-space: nowrap; }
.chart-ylabs--fixed span { font-weight: 700; color: #262626; }
.chart-dot { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px #fff; transform: translate(-50%, -50%); pointer-events: none; }
.case-xlabels { display: flex; justify-content: space-between; font-weight: 700; font-size: 11.5px; line-height: 1; color: var(--c-text-4); margin-top: 9px; }
.case-panel__pos { padding: 24px 26px; display: flex; flex-direction: column; }
.pos-table { display: flex; flex-direction: column; background: var(--bg-soft-3); border-radius: 13px; padding: 0 15px; }
.pos-table__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 0 10px; border-bottom: 1px solid var(--bd-3); }
.pos-table__head span { font-weight: 800; font-size: 11px; line-height: 1; letter-spacing: .05em; text-transform: uppercase; color: var(--c-text-4); white-space: nowrap; }
.pos-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 7px 10px; margin: 0 -10px; border-bottom: 1px solid var(--bd-3); border-radius: 9px; }
.pos-row:last-child { border-bottom: none; }
.pos-row__q { font-weight: 700; font-size: 14px; line-height: 1.3; color: var(--c-black); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pos-row__now { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--ok); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--font-mono); font-weight: 700; font-size: 14px; }
.case-panel__foot { padding: 20px 26px 24px; border-top: 1px solid var(--bd-4); display: flex; justify-content: flex-end; }

/* --- Тарифы (сравнение) ------------------------------------------------- */
/* stretch, а не start: замер на SMM — карточки 551/588/588, кнопки «Получить КП»
   на 37px по разной высоте. Тянем карточки на одну высоту, кнопку прижимаем к низу. */
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 46px; align-items: stretch; }
.tier { display: flex; flex-direction: column; }
/* .tier__cta лежит внутри .tier__body, поэтому тянуться должен и сам body.
   Низ добирает СПИСОК, а не отступ кнопки: у .tier__cta свой margin-top в
   двух более поздних правилах (sections.css ниже и .tier--pkg в service.css),
   и `margin-top: auto` они перебивали — вычислялось 20px, кнопки оставались
   на 38px по разной высоте. Через flex у списка каскад трогать не нужно. */
.tier__body { display: flex; flex-direction: column; flex: 1; }
.tier__feats { flex: 1; }
.tier { background: #fff; border: 1px solid var(--bd); border-radius: var(--r-card); padding: 32px 30px; position: relative; }
.tier.is-featured { border: 2px solid var(--accent); box-shadow: 0 34px 64px -34px rgba(var(--accent-rgb), .55); }
.tier__badge { position: absolute; top: -13px; right: 24px; background: var(--accent); color: #fff; font-weight: 800; font-size: 12.5px; line-height: 1; letter-spacing: .08em; text-transform: uppercase; padding: 8px 13px; border-radius: var(--r-pill); box-shadow: 0 10px 22px -8px rgba(var(--accent-rgb), .85); }
.tier__name { font-weight: 700; font-size: 15px; line-height: 1; color: var(--c-text); }
.tier__sub { font-weight: 600; font-size: 13px; line-height: 1; color: var(--accent); margin: 7px 0 0; }
.tier__price { font-weight: 800; font-size: clamp(24px, 1.8vw, 29px); line-height: 1.1; letter-spacing: -.02em; color: var(--c-black); margin: 12px 0 0; }
.tier__price span { font-size: 15px; color: var(--c-text); font-weight: 600; }
.tier__opt { display: inline-block; font-weight: 700; font-size: 13.5px; line-height: 1; color: var(--accent-ink); background: var(--accent-tint); padding: 7px 11px; border-radius: 8px; margin: 16px 0 0; }
.tier__note { font-weight: 500; font-size: 14.5px; line-height: 1.55; color: var(--c-text); margin: 12px 0 0; min-height: 44px; }
.tier__divider { height: 1px; background: var(--bd-2); margin: 20px 0; }
.tier__feats { display: flex; flex-direction: column; }
.tier__feat { display: flex; align-items: center; justify-content: flex-start; gap: 12px; padding: 10px 0; border-bottom: 1px solid #DCE4F0; font-weight: 500; font-size: 14.5px; line-height: 1.3; color: var(--c-text); }
.tier__feat:last-child { border-bottom: none; }
.tier__yes { color: var(--ok); font-weight: 800; font-size: 15px; }
.tier__no { color: var(--bad); font-weight: 700; }
.tier__val { color: var(--c-black); font-weight: 700; text-align: right; }
.tier__cta { display: block; text-align: center; margin-top: 22px; padding: 15px; border-radius: var(--r-input); font-weight: 700; font-size: 15px; line-height: 1; text-decoration: none; background: var(--accent-tint); color: var(--accent-ink); transition: filter var(--tr); }
.tier.is-featured .tier__cta { background: var(--accent); color: #fff; box-shadow: 0 12px 24px -10px rgba(var(--accent-rgb), .75); }
.tier__cta:hover { filter: brightness(.97); }

/* --- От чего зависит цена ----------------------------------------------- */
.section-split { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px; }
.price-callout { display: flex; align-items: center; gap: 14px; border: 1px solid var(--accent); border-radius: 16px; padding: 16px 20px; background: var(--accent-tint); }
.price-callout p { font-weight: 500; font-size: 14.5px; line-height: 1.5; color: var(--c-black); max-width: 260px; margin: 0; }
.price-factors { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 40px; }
.pf-card { border: 1px solid var(--bd); border-radius: 16px; padding: 22px; background: var(--bg-soft-2); }
.pf-card__t { font-weight: 800; font-size: 16px; line-height: 1.2; color: var(--c-black); }
.pf-list { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.pf-item { display: grid; grid-template-columns: auto 1fr; gap: 9px; font-weight: 500; font-size: 14.5px; line-height: 1.5; color: var(--c-text); }
.pf-item .bullet { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); margin-top: 7px; }

/* --- CTA-форма (тёмная) ------------------------------------------------- */
.cta-form { background: var(--c-footer); color: #fff; }
.cta-form__grid { display: grid; grid-template-columns: 1fr .82fr; gap: 56px; align-items: center; }
.cta-form__info .cta-next__h { margin-top: 30px; }
.cta-form__title { color: #fff; }
.cta-next__h { font-weight: 700; font-size: 12.5px; line-height: 1; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-soft); }
.cta-steps { margin: 22px 0 0; display: flex; flex-direction: column; gap: 18px; list-style: none; padding: 0; }
.cta-step { display: grid; grid-template-columns: auto 1fr; gap: 13px; align-items: start; }
.cta-step__n { flex: none; width: 27px; height: 27px; border-radius: 50%; background: rgba(var(--accent-rgb), .22); color: var(--accent-soft); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 13px; }
.cta-step__t { font-weight: 600; font-size: 14.5px; line-height: 1.45; color: #EAECF6; padding-top: 3px; }

/* --- Первый месяц ------------------------------------------------------- */
.first-month { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 44px; }
.fm-card { border: 1px solid var(--bd); border-radius: 18px; padding: 26px 24px; background: #fff; position: relative; }
.fm-card__w { display: inline-block; font-weight: 700; font-size: 12.5px; letter-spacing: .04em; text-transform: uppercase; color: var(--accent-ink); background: var(--accent-tint); padding: 6px 11px; border-radius: 999px; }
.fm-card__t { font-weight: 800; font-size: 18px; line-height: 1.2; color: var(--c-black); margin: 16px 0 0; }
.fm-card__d { font-weight: 500; font-size: 14.5px; line-height: 1.55; color: var(--c-text); margin: 10px 0 0; }

/* --- Отзывы (карусель цитат) ------------------------------------------- */
/* minmax(0,1fr), а не 1fr: у 1fr минимальная ширина трека равна min-content
   карточки (~208px), поэтому на мобильном сетка не сжималась — три колонки
   выезжали на 671px при экране 360px и второй с третьим отзывом были не видны
   (body { overflow-x: clip } прятал их без скролла). Плюс брейкпоинты
   3→2→1 в responsive.css, которых у .testimonials не было вовсе. */
.testimonials { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 44px; }
.tcard { border: 1px solid var(--bd); border-radius: 20px; padding: 30px 28px; background: #fff; display: flex; flex-direction: column; }
.tcard__metric { display: inline-block; align-self: flex-start; font-weight: 800; font-size: 14px; color: var(--accent-ink); background: var(--accent-tint); padding: 8px 13px; border-radius: 999px; }
.tcard__quote { font-weight: 600; font-size: 16px; line-height: 1.6; color: var(--c-text-2); margin: 18px 0 0; flex: 1; }
.tcard__author { display: flex; align-items: center; gap: 12px; margin-top: 22px; padding-top: 18px; border-top: 1px solid #D9E2EF; }
.tcard__avatar { flex: none; width: 46px; height: 46px; border-radius: 50%; background: repeating-linear-gradient(135deg, #D9E2EF, #D9E2EF 6px, #E1E8F1 6px, #E1E8F1 12px); }
.tcard__name { font-weight: 700; font-size: 15.5px; line-height: 1.2; color: var(--c-black); }
.tcard__company { font-weight: 500; font-size: 14px; line-height: 1.3; color: var(--c-text); margin-top: 3px; }

/* --- 8 причин ----------------------------------------------------------- */
/* 2 колонки, строки с подчёркиванием (как в макете), а не карточки */
.reasons { display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px; margin-top: 40px; }
.reason { display: grid; grid-template-columns: auto 1fr; column-gap: 18px; padding: 24px 0; border-bottom: 1px solid var(--bd); }
.reason__num { grid-column: 1; grid-row: 1 / span 2; font-weight: 800; font-size: 15px; line-height: 1; color: var(--accent-hover, var(--accent)); padding-top: 3px; }
.reason__t { grid-column: 2; grid-row: 1; font-weight: 800; font-size: 18px; line-height: 1.25; letter-spacing: -.01em; color: var(--c-black); margin: 0; }
.reason__d { grid-column: 2; grid-row: 2; font-weight: 500; font-size: 15.5px; line-height: 1.6; color: var(--c-text); margin: 8px 0 0; }

/* --- Калькулятор -------------------------------------------------------- */
.calc { display: grid; grid-template-columns: 1.05fr .95fr; gap: 34px; margin-top: 44px; align-items: stretch; }
.calc__panel { border: 1px solid var(--bd); border-radius: var(--r-card); padding: 32px; background: #fff; }
.calc__group + .calc__group { margin-top: 24px; }
.calc__label { font-weight: 700; font-size: 14px; color: var(--c-black); margin-bottom: 12px; }
.calc__seg { display: flex; gap: 8px; flex-wrap: wrap; }
.calc__seg .pill--outline { flex: 1; justify-content: center; }
.calc__range { width: 100%; margin-top: 8px; accent-color: var(--accent); }
.calc__q { font-weight: 800; font-size: 18px; color: var(--accent); }
.calc__result { border-radius: var(--r-card); padding: 32px; background: linear-gradient(180deg, var(--accent-tint), #fff); border: 1px solid var(--accent-tint); display: flex; flex-direction: column; justify-content: center; }
.calc__result-label { font-weight: 700; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.calc__price { font-weight: 800; font-size: clamp(28px, 3vw, 40px); line-height: 1.05; letter-spacing: -.02em; color: var(--c-black); margin: 12px 0 0; }
/* Маленьким должен быть ТОЛЬКО суффикс. Было `.calc__price span` — правило
   ловило и оба числа: они рисовались 18px/600, а крупными 40px/800 оставалось
   одно тире между ними, потому что оно лежит голым текстом. Отсюда «жирная
   палка» посередине строки вместо большой цены. */
/* nowrap: «₸/мес» рвался по слешу — «₸/» оставалось в конце строки,
   «мес» уезжало на следующую (замер на 390px). */
.calc__unit { font-size: 18px; font-weight: 600; color: var(--c-text); white-space: nowrap; }
.calc__dash { font-weight: 700; color: var(--c-muted); margin: 0 2px; }
.calc__meta { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.calc__meta-box { background: rgba(255, 255, 255, .7); border-radius: 14px; padding: 16px; }
.calc__meta-n { font-weight: 800; font-size: 20px; color: var(--c-black); }
.calc__meta-l { font-weight: 500; font-size: 13px; color: var(--c-text); margin-top: 4px; }

/* --- Табы (Google/Яндекс, контент/таргет) ------------------------------ */
.tab-switch { display: inline-flex; gap: 6px; background: var(--bg-soft); border: 1px solid var(--bd); border-radius: var(--r-pill); padding: 5px; margin-top: 28px; }
.tab-switch__btn { border: none; background: transparent; font-weight: 700; font-size: 15px; padding: 11px 22px; border-radius: var(--r-pill); cursor: pointer; color: var(--c-text-3); transition: all var(--tr); }
.tab-switch__btn.is-active { background: var(--accent); color: #fff; box-shadow: 0 10px 22px -12px rgba(var(--accent-rgb), .8); }
.tab-pane { display: none; }
.tab-pane.is-active { display: block; }
.opt-groups { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 32px; }
.opt-group { border: 1px solid var(--bd); border-radius: 18px; padding: 26px; background: #fff; }
.opt-group__h { font-weight: 800; font-size: 17px; color: var(--c-black); }
.opt-group__list { margin: 16px 0 0; display: flex; flex-direction: column; gap: 10px; }

/* --- FAQ-аккордеон ------------------------------------------------------ */
.faq { max-width: 860px; margin: 40px auto 0; display: flex; flex-direction: column; gap: 12px; }
.faq--wide { max-width: none; }
.faq-item { border: 1px solid var(--bd); border-radius: 14px; background: #fff; overflow: hidden; transition: border-color var(--tr); }
.faq-item.is-open { border-color: var(--accent); }
.faq-item__head { width: 100%; text-align: left; background: none; border: none; cursor: pointer; padding: 20px 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-weight: 700; font-size: 16.5px; line-height: 1.35; color: var(--c-black); }
.faq-item__sign { flex: none; width: 28px; height: 28px; border-radius: 9px; background: var(--accent-tint); color: var(--accent-ink); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 19px; line-height: 1; transition: background var(--tr), color var(--tr); }
.faq-item__sign::before { content: "+"; }
.faq-item.is-open .faq-item__sign { background: var(--accent); color: #fff; }
.faq-item.is-open .faq-item__sign::before { content: "\2212"; } /* − */
.faq-item__body { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-item.is-open .faq-item__body { max-height: 600px; }
.faq-item__inner { padding: 0 22px 22px; font-weight: 500; font-size: 15px; line-height: 1.7; color: #171717; }

/* --- SEO vs контекст (ROI) --------------------------------------------- */
/* Паддинги отдельных секций строго по макету (в макете значения варьируются). */
.section--p56 { padding-top: 56px; padding-bottom: 56px; }
.section--p60 { padding-top: 60px; padding-bottom: 60px; }
.section--p48 { padding-top: 48px; padding-bottom: 48px; }
.section--pb40 { padding-bottom: 40px; }

.roi { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 40px; }
.roi-card { border: 1px solid var(--bd); border-radius: 20px; padding: 30px 28px; background: #fff; }
.roi-card__tag { display: inline-block; font-weight: 700; font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); background: var(--accent-tint); padding: 7px 12px; border-radius: 999px; }
/* SEO — выделенная карточка (акцентная рамка + градиент + акцентный тег); Контекст — обычная, зелёный тег. */
.roi-card--seo { border: 2px solid var(--accent); background: linear-gradient(180deg, var(--accent-tint), #fff); }
.roi-card--seo .roi-card__tag { background: var(--accent); color: #fff; }
.roi-card--ppc { border: 1.5px solid #C7D4EA; }
.roi-card--ppc .roi-card__tag { background: #D6F0EF; color: #0A6B73; }
.roi-card--ppc .check-list .check { background: #D6F0EF; color: #0A6B73; }
.roi-card__h { font-weight: 800; font-size: 22px; color: var(--c-black); margin: 16px 0 0; }
.roi-card__list { margin: 18px 0 0; }

/* --- Команда ------------------------------------------------------------ */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px; }
.team-card { border: 1px solid var(--bd); border-radius: 18px; padding: 28px; background: #fff; }
.team-card__role { font-weight: 800; font-size: 17px; letter-spacing: -.01em; color: var(--c-black); }
.team-card__role::before { content: ""; display: block; width: 46px; height: 46px; border-radius: 12px; background: var(--accent-tint); border: 1px solid var(--accent-tint); margin-bottom: 18px; }
.team-card__desc { font-weight: 500; font-size: 15px; line-height: 1.6; color: var(--c-text); margin-top: 10px; }

/* --- CMS / типы сайтов -------------------------------------------------- */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.tiles--4 { grid-template-columns: repeat(4, 1fr); }
.tile { border: 1px solid var(--bd); border-radius: 18px; padding: 22px; background: #fff; transition: transform .18s, box-shadow .18s, border-color .18s; }
.tile:hover { border-color: var(--accent); box-shadow: 0 20px 42px -24px rgba(var(--accent-rgb), .6); transform: translateY(-3px); }
.tile__icon { width: 46px; height: 46px; border-radius: 13px; background: var(--accent-tint); color: var(--accent-ink); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.tile__n { font-weight: 800; font-size: 16px; color: var(--c-black); }
.tile__d { font-weight: 600; font-size: 13px; line-height: 1.4; color: #262626; margin-top: 6px; }
/* Карточки CMS — по макету: тег «CMS», крупнее имя, светлый фон. */
.tiles--cms .tile { border-color: #D1DAEA; border-radius: 16px; padding: 26px; background: #FBFCFE; }
/* --accent-hover, а не --accent: карточка лежит на #FBFCFE, а не на чистом
   белом, и эти 4 пункта яркости съедают ~0.15 контраста. Акценты подобраны с
   запасом до 4.6 ПО БЕЛОМУ, поэтому четыре палитры (Голубой, Фуксия,
   Пурпурный, Аметист) давали здесь 4.43–4.47 при норме 4.5. Правило то же,
   что с 1.9.22: --accent — заливка, --accent-hover — текст. */
.tile__k { font-weight: 800; font-size: 13.5px; line-height: 1; letter-spacing: .04em; text-transform: uppercase; color: var(--accent-ink); }
.tiles--cms .tile__n { font-size: 19px; letter-spacing: -.01em; margin-top: 12px; }
.tiles--cms .tile__d { font-weight: 500; font-size: 15px; line-height: 1.6; color: #171717; margin-top: 9px; }

/* --- Полный цикл (фазы + этапы) ---------------------------------------- */
.process__tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 40px; }
.process__tab { background: #fff; color: var(--c-text-3); border: 1px solid var(--bd); cursor: pointer; display: flex; align-items: center; gap: 12px; padding: 13px 18px; border-radius: 13px; font-weight: 800; font-size: 15px; letter-spacing: -.01em; transition: all var(--tr); text-align: left; }
.process__tab.is-active { background: var(--accent); color: #fff; border-color: var(--accent); box-shadow: 0 12px 26px -14px rgba(var(--accent-rgb), .9); }
.process__tab-num { flex: none; width: 30px; height: 30px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 13px; background: var(--accent-tint); color: var(--accent-ink); }
.process__tab.is-active .process__tab-num { background: rgba(255, 255, 255, .22); color: #fff; }
/* Панель фазы: тёмный левый блок (322px) + вертикальный список шагов (как в макете) */
.process__panel { margin-top: 24px; }
.process__panel.is-active { display: grid; grid-template-columns: 322px 1fr; border: 1px solid var(--bd); border-radius: 22px; overflow: hidden; min-height: 372px; }
.process__phase { background: #0F1830; color: #fff; padding: 40px 36px; display: flex; flex-direction: column; position: relative; overflow: hidden; }
.process__phase-glow { position: absolute; top: -64px; right: -54px; width: 230px; height: 230px; background: radial-gradient(closest-side, rgba(var(--accent-rgb), .5), transparent); border-radius: 50%; }
.process__phase-head { position: relative; }
.process__phase-num { font-weight: 800; font-size: 66px; line-height: .9; letter-spacing: -.02em; color: var(--accent-soft); }
.process__phase-k { font-weight: 700; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-soft); margin-top: 22px; }
.process__phase-t { font-weight: 800; font-size: 25px; line-height: 1.15; letter-spacing: -.02em; color: #fff; margin-top: 10px; }
.process__phase-sub { position: relative; margin-top: auto; padding-top: 28px; font-weight: 600; font-size: 14px; line-height: 1.55; color: #ABB2C2; }
.process__steps { display: block; padding: 8px 30px; }
.pstep { display: grid; grid-template-columns: auto 1fr; gap: 18px; padding: 18px 0; border-top: 1px solid #E7EDF6; }
.pstep:first-child { border-top: 0; }
.pstep__num { font-weight: 800; font-size: 15px; line-height: 1; color: var(--accent); padding-top: 2px; }
.pstep__t { font-weight: 800; font-size: 16.5px; line-height: 1.25; letter-spacing: -.01em; color: var(--c-black); }
.pstep__d { font-weight: 500; font-size: 14px; line-height: 1.55; color: var(--c-text); margin-top: 5px; }
/* .is-active обязателен: у правила выше вес (0,2,0), у медиазапроса без него
   (0,1,0) — медиазапрос специфичности не добавляет и проигрывал. Замер до
   правки на 390px: колонки «322px 185px», тёмная карточка 1228px высотой,
   колонка шагов обрезана правым краем экрана (правый край 524 при экране 390). */
@media (max-width: 860px) {
	.process__panel,
	.process__panel.is-active { grid-template-columns: minmax(0, 1fr); min-height: 0; }
	.process__steps { padding: 8px 22px 22px; }
}

/* --- Блог-превью -------------------------------------------------------- */
.blog-preview { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }

/* --- Другие услуги ------------------------------------------------------ */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; }
.svc-card { border: 1px solid var(--bd); border-radius: 18px; padding: 26px 24px; background: #fff; text-decoration: none; display: block; transition: box-shadow var(--tr), transform var(--tr), border-color var(--tr); }
.svc-card:hover { box-shadow: 0 20px 40px -28px rgba(15, 24, 48, .35); border-color: var(--accent-soft); transform: translateY(-2px); }
.svc-card__t { font-weight: 800; font-size: 18px; color: var(--c-black); }
.svc-card__d { font-weight: 500; font-size: 14px; line-height: 1.55; color: var(--c-text); margin-top: 10px; }

/* --- Города ------------------------------------------------------------- */
.cities-cloud { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.city-chip { font-weight: 600; font-size: 14.5px; color: var(--c-text-2); background: #fff; border: 1px solid var(--bd); border-radius: 999px; padding: 9px 16px; }
/* Интерактивные чипы только в блоке городов — в сертификатах и нишах
   тот же класс используется как обычная нефункциональная метка. */
[data-cities] .city-chip { font-family: inherit; cursor: pointer; transition: background .15s, border-color .15s, color .15s; }
[data-cities] .city-chip:hover { border-color: var(--accent); color: var(--accent); }
[data-cities] .city-chip.is-active { background: var(--accent); border-color: var(--accent); color: #fff; }

/* --- Работаем по договору (legal strip) -------------------------------- */
/* Контакты и реквизиты — по макету home.html (реквизиты + карта офиса). */
.legal-contacts { display: grid; grid-template-columns: 1.2fr 1fr; gap: 44px; align-items: center; }
.legal-req { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 24px; }
.legal-req__l { font-weight: 600; font-size: 13.5px; line-height: 1; text-transform: uppercase; letter-spacing: .06em; color: var(--c-text); }
.legal-req__v { display: block; font-weight: 800; font-size: 17px; line-height: 1.2; color: var(--c-black); text-decoration: none; margin-top: 6px; }
.legal-req__v--sm { font-weight: 700; font-size: 15px; line-height: 1.3; }
a.legal-req__v:hover { color: var(--accent); }
.legal-map { aspect-ratio: 16 / 10; border-radius: 20px; border: 1px solid var(--bd); background: repeating-linear-gradient(135deg, #EFF4FA, #EFF4FA 14px, #D9E2EF 14px, #D9E2EF 28px); display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 13.5px; color: #171717; }
@media (max-width: 768px) { .legal-contacts { grid-template-columns: 1fr; } }

/* --- Универсальная «безопасность/факты/проблемы» ----------------------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px; }
.feature-grid--4 { grid-template-columns: repeat(4, 1fr); }
.feat-card { border: 1px solid var(--bd); border-radius: 18px; padding: 28px 26px; background: #fff; }
.feat-card__icon { width: 48px; height: 48px; border-radius: 13px; background: var(--accent-tint); color: var(--accent-ink); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.feat-card__icon--glyph { font-size: 23px; line-height: 1; font-weight: 600; }
.feat-card__t { font-weight: 800; font-size: 18px; line-height: 1.25; color: var(--c-black); }
.feat-card__d { font-weight: 500; font-size: 14.5px; line-height: 1.6; color: var(--c-text); margin-top: 10px; }

/* --- Сравнение «мы / другие» ------------------------------------------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 40px; }
.compare-col { border-radius: 20px; padding: 30px 28px; }
.compare-col--them { background: var(--bg-soft); border: 1px solid var(--bd); }
.compare-col--us { background: var(--c-footer); color: #fff; }
.compare-col__h { font-weight: 800; font-size: 18px; margin-bottom: 18px; }
.compare-col--them .compare-col__h { color: var(--c-text-3); }
.compare-col--us .compare-col__h { color: #fff; }
.compare-list { display: flex; flex-direction: column; gap: 12px; list-style: none; margin: 0; padding: 0; }
.compare-list li { display: grid; grid-template-columns: auto 1fr; gap: 10px; font-weight: 500; font-size: 14.5px; line-height: 1.5; }
.compare-col--them li { color: var(--c-text); }
.compare-col--us li { color: var(--c-muted-2); }
.compare-list .mark { flex: none; font-weight: 800; }
.compare-col--them .mark { color: var(--bad); }
.compare-col--us .mark { color: #34D399; }

/* --- Лид-магнит --------------------------------------------------------- */
.lead-magnet { display: grid; grid-template-columns: 1fr .8fr; gap: 40px; align-items: center; background: linear-gradient(120deg, var(--accent-tint), #fff); border: 1px solid var(--accent-tint); border-radius: var(--r-card); padding: 40px; }
.lead-magnet__badge { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }

/* --- Хвост секции: CTA-кнопка по центру -------------------------------- */
.section__cta { display: flex; justify-content: center; margin-top: 40px; }

/* --- Благодарственные письма на главной (горизонтальная лента, как в макете) --- */
.home-letters{display:flex;gap:20px;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:6px;scrollbar-width:none;-ms-overflow-style:none}
.home-letters::-webkit-scrollbar{display:none;height:0}
.home-letters__card{flex:0 0 214px;scroll-snap-align:start}
.home-letters__frame{aspect-ratio:3/4;border:1px solid #E1E8F1;border-radius:14px;overflow:hidden;background:repeating-linear-gradient(135deg,#F6F9FD,#F6F9FD 11px,#D9E2EF 11px,#D9E2EF 22px);display:flex;align-items:center;justify-content:center;padding:18px;text-align:center}
.home-letters__frame img{width:100%;height:100%;object-fit:cover}
.home-letters__ph{font-weight:600;font-size:12.5px;line-height:1.6;letter-spacing:.02em;color:#171717}
.home-letters__name{font-weight:700;font-size:15px;line-height:1.3;color:var(--c-black,#0A0A0A);margin-top:12px;text-align:center}
.letters-topbar{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:34px}
.section__head--flush{margin-bottom:0}
.letters-arrows{display:flex;gap:10px;flex:0 0 auto}
.lt-arrow{width:44px;height:44px;border-radius:999px;border:1px solid var(--bd);background:#fff;color:var(--c-text);font:500 18px/1 'Manrope',sans-serif;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:border-color var(--tr),color var(--tr)}
.lt-arrow:hover{border-color:var(--accent);color:var(--accent)}
.letters-cta{text-align:center;margin-top:34px}
.letters-link{font-weight:700;font-size:15px;color:var(--accent-ink);text-decoration:none;border-bottom:2px solid var(--accent-tint);padding-bottom:3px}
@media (max-width:768px){.letters-topbar{flex-direction:column;align-items:flex-start}.letters-arrows{display:none}}

/* --- Акцентный CTA-блок «Получить стратегию» --- */
.accent-cta{background:radial-gradient(900px 420px at 85% -10%,rgba(255,255,255,.16),transparent),linear-gradient(120deg,var(--accent-hover),var(--accent));padding:54px 0}
.accent-cta__grid{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center}
.accent-cta__title{font-weight:800;font-size:clamp(24px,2.7vw,34px);line-height:1.08;letter-spacing:-.025em;color:#fff;margin:0}
.accent-cta__sub{font-weight:500;font-size:16px;line-height:1.6;color:rgba(255,255,255,.9);margin:16px 0 0}
.accent-cta__row{display:flex;align-items:center;gap:8px;font-weight:600;font-size:14.5px;color:#fff;margin-top:22px}
.accent-cta__dot{flex:none;width:8px;height:8px;border-radius:50%;background:#8EE3B7}
.accent-cta__wa{display:inline-flex;align-items:center;margin-top:18px;background:#25D366;color:#0B1426;font-weight:700;font-size:14.5px;padding:12px 16px;border-radius:11px;text-decoration:none}
@media(max-width:900px){.accent-cta__grid{grid-template-columns:1fr;gap:26px}}

/* Форма лид-формы на акцентном CTA: без карточки, белые поля и белая кнопка (как в макете) */
.accent-cta .cr-form{background:transparent;border:none;box-shadow:none;padding:0}
.accent-cta .cr-form__body{padding:0;gap:12px}
.accent-cta .cr-form__fields{gap:12px}
.accent-cta .cr-form .field{background:rgba(255,255,255,.96);border:1px solid transparent;color:#0A0A0A}
.accent-cta .cr-form .field::placeholder{color:#6B7280}
.accent-cta .cr-form__submit{background:#fff;color:var(--accent);box-shadow:0 14px 30px -14px rgba(0,0,0,.45)}
.accent-cta .cr-form__submit:hover{background:#fff;opacity:.94}
.accent-cta .cr-form__note{color:rgba(255,255,255,.85)}
.accent-cta .cr-form__note a{color:#fff;text-decoration:underline}
.accent-cta .cr-form__error{color:#fff}

/* Секция городов — центрированный вид «в городе N» как в макете */
.cities{text-align:center}
.cities__title{margin:0 0 6px;font-size:clamp(24px,2.6vw,36px)}
.cities__sub{font-weight:500;font-size:15px;line-height:1.5;color:var(--c-text,#171717);margin:14px 0 26px}
.cities .cities-cloud{justify-content:center;max-width:940px;margin:0 auto}
.cities__cta{margin-top:28px}

/* Тёмный CTA-баннер в середине страницы услуги */
.mid-cta { background: #0F1830; padding: 56px 0; }
.mid-cta__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: center; }
/* Замер до правки на 1440: заголовок в колонке 214px и в 4 строки, а справа
   от него пустовало ~350px. У левой колонки не было минимальной ширины. */
/* Две равные колонки, а не «1fr auto»: у колонки с формой auto = max-content,
   и она забирала 784px из 1136, оставляя заголовку ровно его минимум 320px —
   отсюда 3–4 строки и пустая полоса посередине (замер на 1440px). */
.mid-cta__title { max-width: 520px; }
.mid-cta__title { font-weight: 800; font-size: clamp(22px, 2.6vw, 32px); line-height: 1.15; letter-spacing: -.02em; color: #fff; }
.mid-cta__sub { font-weight: 500; font-size: 15px; line-height: 1.5; color: #AEB6C6; margin: 10px 0 0; }
.mid-cta__btn { white-space: nowrap; height: 47px; padding: 0 26px; border-radius: 11px; }
/* flex-start, а не center: с подписью об ошибке обёртка поля становится выше
   соседей, и при центрировании остальные поля и кнопка съезжали вниз
   относительно него. В обычном состоянии вид не меняется — все элементы
   ряда по 47px. */
.mid-cta__form { display: flex; align-items: flex-start; justify-content: flex-end; gap: 12px; flex-wrap: wrap; }
.mid-cta__field { flex: 0 1 216px; width: 216px; height: 47px; padding: 0 16px; font-size: 14px; color: #fff; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16); border-radius: 11px; }
.mid-cta__field::placeholder { color: rgba(255,255,255,.55); }
.mid-cta__field:focus { outline: none; border-color: rgba(255,255,255,.75); background: rgba(255,255,255,.14); box-shadow: 0 0 0 4px rgba(255,255,255,.28); }
@media (max-width: 768px) { .mid-cta__inner { grid-template-columns: 1fr; } .mid-cta__form { justify-content: flex-start; } .mid-cta__field { flex: 1 1 100%; width: 100%; } }

/* Автор статьи: подпись под заголовком и карточка-био */
.article-byline { display: flex; align-items: center; gap: 12px; margin: 22px 0 0; }
.article-byline__ava { width: 44px; height: 44px; border-radius: 50%; background: var(--accent-tint); color: var(--accent-ink); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 16px; flex: none; }
.article-byline__meta { display: flex; flex-direction: column; }
.article-byline__name { font-weight: 800; font-size: 15px; line-height: 1.2; color: var(--c-black); }
.article-byline__role { font-weight: 500; font-size: 13.5px; line-height: 1.2; color: var(--c-text); margin-top: 3px; }
.article-author { display: flex; gap: 16px; align-items: flex-start; border: 1px solid var(--bd); border-radius: 16px; padding: 24px; background: var(--bg-soft); margin-top: 34px; }
.article-author__ava { width: 52px; height: 52px; border-radius: 50%; background: var(--accent-tint); color: var(--accent-ink); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 19px; flex: none; }
.article-author__name { font-weight: 800; font-size: 16px; line-height: 1.2; color: var(--c-black); }
.article-author__role { font-weight: 600; font-size: 13.5px; line-height: 1.2; color: var(--accent); margin-top: 3px; }
.article-author__bio { font-weight: 500; font-size: 14.5px; line-height: 1.6; color: var(--c-text); margin: 10px 0 0; }

/* Детальный кейс: «О проекте» + «Кратко о проекте» + «Что сделали» */
.case-about { display: grid; grid-template-columns: 1.55fr .85fr; gap: 40px; align-items: start; }
.case-about__text { font-weight: 500; font-size: 16px; line-height: 1.7; color: var(--c-text); margin: 14px 0 0; max-width: 62ch; }
.case-about__card { background: #0F1830; border-radius: 20px; padding: 28px; }
.case-about__card-t { font-weight: 700; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #7E8AA6; }
.case-facts { margin-top: 16px; display: flex; flex-direction: column; }
.case-fact { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.case-fact:last-child { border-bottom: 0; }
.case-fact__l { font-weight: 500; font-size: 14px; color: #AEB6C6; }
.case-fact__v { font-weight: 700; font-size: 14.5px; color: #fff; text-align: right; }
.case-about__cta { width: 100%; margin-top: 20px; justify-content: center; text-align: center; }
.case-dyn { padding: 48px 0 16px; }
.case-dyn .section-title { font-size: 28px; }
.case-did__eyebrow { margin-top: 30px; }
.case-did__intro { margin-top: 12px; }
.case-did { display: flex; flex-direction: column; margin-top: 14px; }
.case-did__item { display: grid; grid-template-columns: 26px 1fr; gap: 14px; align-items: start; padding: 13px 0; border-bottom: 1px solid var(--bd-4); }
.case-did__item:last-child { border-bottom: 0; }
.case-did__n { color: var(--accent); font-weight: 800; font-size: 13px; padding-top: 2px; }
.case-did__t { font-weight: 800; font-size: 16px; line-height: 1.3; color: var(--c-black); }
.case-did__d { font-weight: 500; font-size: 14.5px; line-height: 1.6; color: var(--c-text); margin: 5px 0 0; }
.case-did__outro { margin-top: 18px; }
@media (max-width: 900px) { .case-about { grid-template-columns: 1fr; } }

/* Карусель наград / благодарственных писем (включается при 5+) */
.awards-wrap { position: relative; }
.awards-wrap.is-carousel .awards--track { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-bottom: 4px; }
.awards-wrap.is-carousel .awards--track::-webkit-scrollbar { display: none; }
.awards-wrap.is-carousel .award { scroll-snap-align: start; flex: 0 0 calc((100% - 66px) / 4); }
.letters-wrap.is-carousel .home-letters__card { scroll-snap-align: start; flex: 0 0 calc((100% - 66px) / 4); }
.carousel-arrow { position: absolute; transform: translateY(-50%); /* top задаётся ниже формулой от ширины карточки — см. комментарий */ width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--bd); background: #fff; color: var(--c-black); font-size: 24px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: var(--sh-card); z-index: 2; transition: background var(--tr), color var(--tr), opacity var(--tr); }
/* Вертикаль: стрелки центруются по картинке карточки, а не по проценту от
   всего блока. Было top:46% — центр карточки ВМЕСТЕ с подписью, и стрелка
   сидела на 30px ниже центра рамки (замер: центр рамки 178px от верха блока,
   центр стрелки 209px). Считать в `top` от ширины карточки нельзя: проценты
   там резолвятся от ВЫСОТЫ контейнера. Поэтому габарит картинки повторяет
   пустая рельса, а стрелки центруются по ней. */
.carousel-rail { position: absolute; top: 0; left: 0; right: 0; height: 0; padding-top: calc((100% - 66px) / 3); pointer-events: none; }
.carousel-arrow { top: 50%; pointer-events: auto; }
/* Горизонталь: 22px = половина стрелки, её центр ложится ровно на край блока.
   Было -12px — стрелка залезала на карточку на 32px из своих 44px. */
.carousel-arrow--prev { left: -22px; }
.carousel-arrow--next { right: -22px; }
.carousel-arrow:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
/* Отключённая стрелка не бледнеет поверх карточки, а убирается: полупрозрачный
   кружок на картинке читается как артефакт вёрстки, а не как выключённый контрол. */
.carousel-arrow:disabled { opacity: 0; visibility: hidden; pointer-events: none; }
/* Точка нажатия — кнопка 28×28 (WCAG 2.5.8 требует минимум 24), сама точка
   рисуется через ::before, поэтому внешний вид не меняется. */
/* --c-muted, а НЕ --c-muted-2: второй рассчитан на тёмный подвал и на белой
   карточке отзыва давал 2,57:1 при норме 4,5. Здесь фон светлый — 5,30:1. */
.tcard__date { font-weight: 500; font-size: 12.5px; color: var(--c-muted); margin-top: 3px; }
.carousel-dots { display: flex; gap: 4px; justify-content: center; margin-top: 22px; }
.carousel-dot {
	width: 28px; height: 28px; padding: 0; border: none; background: none; cursor: pointer;
	display: inline-flex; align-items: center; justify-content: center;
}
.carousel-dot::before {
	content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--bd);
	transition: background var(--tr), width var(--tr);
}
.carousel-dot.is-active::before { background: var(--accent); width: 20px; border-radius: 5px; }
@media (max-width: 1024px) { .awards-wrap.is-carousel .award, .letters-wrap.is-carousel .home-letters__card { flex-basis: calc((100% - 44px) / 3); } .carousel-rail { padding-top: calc((100% - 44px) * 4 / 9); } }
@media (max-width: 768px) { .awards-wrap.is-carousel .award, .letters-wrap.is-carousel .home-letters__card { flex-basis: calc((100% - 22px) / 2); } .carousel-arrow { display: none; } }
@media (max-width: 520px) { .awards-wrap.is-carousel .award, .letters-wrap.is-carousel .home-letters__card { flex-basis: 82%; } }

/* ===== Калькулятор: мини-FAQ (возражения) под расчётом ===== */
.calc-faq{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-top:20px}
.calc-faq__card{background:#fff;border:1px solid var(--bd,#D1DAEA);border-radius:14px;padding:18px}
.calc-faq__q{font:800 14.5px/1.3 'Manrope',sans-serif;color:#0A0A0A}
.calc-faq__a{font:500 14px/1.5 'Manrope',sans-serif;color:#171717;margin-top:7px}
@media(max-width:900px){.calc-faq{grid-template-columns:repeat(2,1fr)}}
@media(max-width:520px){.calc-faq{grid-template-columns:1fr}}

/* CTA-блок с формой: используется на F.A.Q., «Отзывах» и детальной странице кейса. */
.faq-cta-sec { background: #fff; padding: 0 0 74px; }
.faq-cta { border-radius: 26px; background: radial-gradient(900px 400px at 85% -20%, rgba(255,255,255,.18), transparent), linear-gradient(120deg, var(--accent-hover), var(--accent)); padding: 52px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; box-shadow: 0 40px 80px -40px rgba(var(--accent-rgb),.6); }
.faq-cta__eyebrow { margin: 0; font-weight: 700; font-size: 13px; line-height: 1; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.8); }
.faq-cta__h { margin: 14px 0 0; font-weight: 800; font-size: clamp(24px,2.8vw,36px); line-height: 1.1; letter-spacing: -.025em; color: #fff; }
.faq-cta__text { margin: 16px 0 0; font-weight: 500; font-size: 16px; line-height: 1.6; color: #DCE6FB; }
.faq-cta__btns { display: flex; align-items: center; gap: 10px; margin-top: 20px; }
.faq-cta__wa { background: #25D366; color: #0B1426; font-weight: 700; font-size: 13px; line-height: 1; padding: 12px 16px; border-radius: 11px; text-decoration: none; }
.faq-cta__phone { background: rgba(255,255,255,.16); color: #fff; font-weight: 700; font-size: 13px; line-height: 1; padding: 12px 16px; border-radius: 11px; text-decoration: none; }
.faq-cta__r .cr-form, .faq-cta__r .cr-form__body { background: transparent; border: 0; box-shadow: none; padding: 0; }
.faq-cta__r .cr-form__fields { display: flex; flex-direction: column; gap: 12px; }
.faq-cta__r .field { width: 100%; border: none; background: #fff; border-radius: 12px; padding: 15px 16px; font-weight: 500; font-size: 15px; line-height: 1.4; color: var(--c-black); }
.faq-cta__r .cr-form__submit { width: 100%; margin-top: 12px; background: #0F1830; color: #fff; border: none; font-weight: 700; font-size: 15px; padding: 16px; border-radius: 12px; }
.faq-cta__r .cr-form__note, .faq-cta__r .cr-form__reassure { display: none; }

@media (max-width: 960px) {
  .faq-cta { grid-template-columns: 1fr; padding: 32px; }
}

/* Фильтры-чипы: используются и в портфолио, и на странице отзывов (1.9.22),
   поэтому живут в sections.css — portfolio.css на /otzyvy/ не подключается. */
.case-filters { display: flex; gap: 9px; flex-wrap: wrap; align-items: center; padding: 26px 0 22px; }
.case-filter { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--bd); color: var(--c-text-3); font-weight: 700; font-size: 14px; padding: 10px 16px; border-radius: var(--r-pill); cursor: pointer; transition: all var(--tr); }
.case-filter.is-active { background: var(--accent); color: #fff; border-color: var(--accent); }
.case-filter__count { font-size: 11px; background: var(--accent-tint); color: var(--accent-ink); border-radius: 999px; padding: 2px 8px; }
.case-filter.is-active .case-filter__count { background: rgba(255, 255, 255, .22); color: #fff; }

/* ==========================================================================
   МЕНЕДЖЕР В ФОРМАХ (inc/manager.php)
   «Айдана свяжется с вами» — фото, фраза, должность. Выводится, только когда
   в «Настройки Cropas → Менеджер» заполнено имя.
   ========================================================================== */
.cr-mgr { display: flex; align-items: center; gap: 12px; text-align: left; }
.cr-mgr__ph {
	/* display задан явно: вне flex-контейнера (кнопка WhatsApp, экран успеха)
	   строчный span игнорировал размеры, и фото растягивалось на весь экран. */
	display: block; position: relative; flex: none;
	width: var(--mgr, 44px); height: var(--mgr, 44px);
	border-radius: 50%; overflow: hidden;
	background: var(--accent-tint);
	box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--bd-2);
}
.cr-mgr__img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* Без фото — первая буква имени в круге акцентного оттенка. */
.cr-mgr__ph--ini {
	display: flex; align-items: center; justify-content: center;
	color: var(--accent-ink); font-weight: 800; line-height: 1;
	font-size: calc(var(--mgr, 44px) * .42);
}
.cr-mgr__txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cr-mgr__line { font-weight: 700; font-size: 14px; line-height: 1.3; color: var(--c-text-2); }
.cr-mgr__role { font-weight: 500; font-size: 12.5px; line-height: 1.35; color: var(--c-muted); }

/* Под кнопкой формы — «подвал» карточки, отбит тонкой линией. */
.cr-mgr--form { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--bd-3); }
.cr-form--dark .cr-mgr--form { border-top-color: rgba(255, 255, 255, .12); }
.cr-form--dark .cr-mgr__ph { box-shadow: 0 0 0 2px rgba(255, 255, 255, .85); background: rgba(255, 255, 255, .12); }
.cr-form--dark .cr-mgr__ph--ini { color: #fff; }
.cr-form--dark .cr-mgr__line { color: #fff; }
.cr-form--dark .cr-mgr__role { color: var(--c-muted-2); }
/* Попап: форма должна помещаться на 390×667 без прокрутки — отступы плотнее,
   а на узком экране остаётся только фраза (должность — лишняя строка). */
.cr-modal .cr-mgr--form { margin-top: 16px; padding-top: 14px; }
@media (max-width: 560px) {
	.cr-modal .cr-mgr--form { margin-top: 12px; padding-top: 12px; gap: 10px; }
	.cr-modal .cr-mgr--form .cr-mgr__ph { width: 38px; height: 38px; }
	.cr-modal .cr-mgr--form .cr-mgr__line { font-size: 13.5px; }
	.cr-modal .cr-mgr--form .cr-mgr__role { display: none; }
}

/* Акцентный CTA-блок на градиенте — крупнее, белым. */
.cr-mgr--cta { margin-top: 24px; gap: 14px; }
.cr-mgr--cta .cr-mgr__ph { box-shadow: 0 0 0 3px rgba(255, 255, 255, .9); background: rgba(255, 255, 255, .18); }
.cr-mgr--cta .cr-mgr__ph--ini { color: #fff; }
.cr-mgr--cta .cr-mgr__line { color: #fff; font-size: 16px; }
.cr-mgr--cta .cr-mgr__role { color: rgba(255, 255, 255, .85); font-size: 13.5px; }

/* Квиз: шаг с телефоном. */
.cr-mgr--quiz { margin-top: 14px; }
.cr-mgr--quiz .cr-mgr__line { font-size: 13.5px; }

/* Страница «Спасибо»: плашка по центру под текстом. */
.cr-mgr--thanks {
	width: fit-content; max-width: 100%; margin: 24px auto 0;
	padding: 14px 22px 14px 14px;
	background: var(--bg-white); border: 1px solid var(--bd-3); border-radius: var(--r-card-sm);
}
.cr-mgr--thanks .cr-mgr__line { font-size: 15.5px; }

/* Экран «Заявка принята»: фото менеджера с зелёной галочкой-статусом. */
.cr-form__success-mgr { position: relative; display: inline-block; margin-bottom: 14px; line-height: 0; }
.cr-form__success-mgr .cr-mgr__ph { box-shadow: 0 0 0 3px #fff, 0 12px 26px -12px rgba(15, 24, 48, .5); }
.cr-form__success-badge {
	position: absolute; right: -3px; bottom: -1px;
	width: 24px; height: 24px; border-radius: 50%;
	display: inline-flex; align-items: center; justify-content: center;
	background: var(--ok); color: #fff; font-size: 13px; font-weight: 800; line-height: 1;
	box-shadow: 0 0 0 2px #fff;
}

/* Кнопка WhatsApp с фото менеджера. */
.wa-fab.wa-fab--mgr { padding: 5px 17px 5px 5px; gap: 10px; }
.wa-fab__av { position: relative; flex: none; line-height: 0; }
.wa-fab__av .cr-mgr__ph { box-shadow: 0 0 0 2px #fff; }
.wa-fab__badge {
	position: absolute; right: -4px; bottom: -3px;
	width: 18px; height: 18px; border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	background: #25D366; color: #fff; box-shadow: 0 0 0 2px #fff;
}
/* На мобиле кнопки — кружки без подписи (responsive.css). Здесь кружком
   становится само фото, значок WhatsApp остаётся в углу. */
@media (max-width: 768px) {
	.wa-fab.wa-fab--mgr { width: auto; height: auto; padding: 0; background: transparent; box-shadow: none; }
	.wa-fab--mgr .cr-mgr__ph { width: 52px; height: 52px; box-shadow: 0 0 0 2px #fff, 0 10px 24px -8px rgba(15, 24, 48, .55); }
	.wa-fab--mgr .wa-fab__badge { width: 22px; height: 22px; }
	.wa-fab--mgr .wa-fab__badge svg { width: 14px; height: 14px; }
}

/* ==========================================================================
   БЛОК «ПРИЗНАНИЕ» (template-parts/global/awards.php) — вариант 3А
   Веер документов + список. Главная, страницы услуг, «Отзывы».
   ========================================================================== */
.aw { position: relative; overflow: hidden; }
.aw__glow { position: absolute; width: 760px; height: 760px; right: -200px; top: -300px; border-radius: 50%; background: radial-gradient(circle, rgba(var(--accent-rgb), .16), transparent 65%); pointer-events: none; }
.aw .container { position: relative; }
.aw__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
/* Список всегда поверх веера: раскрытый веер не должен перекрывать пункты. */
.aw__txt { position: relative; z-index: 2; }
.aw__title { margin-top: 14px; }
.aw__lead { font-weight: 500; font-size: 16px; line-height: 1.6; color: var(--c-text); margin: 14px 0 0; max-width: 540px; }

.aw__list { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.aw__row[hidden] { display: none; }
.aw__item {
	display: flex; align-items: center; gap: 14px; width: 100%;
	padding: 14px 18px; border-radius: 16px;
	background: #fff; border: 1px solid var(--bd-3);
	box-shadow: 0 14px 30px -24px rgba(15, 24, 48, .35);
	text-align: left; font: inherit; color: inherit;
}
.aw__item--zoom { cursor: zoom-in; transition: border-color var(--tr), box-shadow var(--tr); }
.aw__item--zoom:hover,
.aw__item--zoom:focus-visible { border-color: rgba(var(--accent-rgb), .55); box-shadow: 0 0 0 3px rgba(var(--accent-rgb), .12), 0 14px 30px -24px rgba(15, 24, 48, .35); }
.aw__ic { flex: none; width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--accent-tint); color: var(--accent-ink); }
.aw__ic--place { background: var(--accent); color: #fff; font-weight: 800; font-size: 17px; line-height: 1; }
.aw__tx { flex: 1; min-width: 0; }
.aw__tx b { display: block; font-weight: 700; font-size: 16px; line-height: 1.3; color: var(--c-black); }
.aw__tx small { display: block; font-weight: 500; font-size: 13.5px; line-height: 1.4; color: var(--c-muted); margin-top: 2px; }
.aw__see { flex: none; font-weight: 700; font-size: 12.5px; color: var(--accent-ink); background: var(--accent-tint); border-radius: 999px; padding: 6px 11px; }
.aw__see::after { content: " ↗"; }
.aw__more {
	margin-top: 14px; padding: 10px 2px; border: 0; background: none; cursor: pointer;
	font: inherit; font-weight: 700; font-size: 15px; color: var(--accent-ink);
	border-bottom: 2px solid var(--accent-tint);
}
.aw__more:hover { border-bottom-color: var(--accent); }

/* Веер */
.aw__fan { position: relative; height: 470px; }
.aw__doc { position: absolute; top: 40px; left: 50%; width: 300px; margin-left: -150px; border-radius: 14px; transform-origin: 50% 110%; transition: transform .35s ease; }
.aw__doc--img { display: block; aspect-ratio: 3 / 4; overflow: hidden; background: #fff; box-shadow: 0 40px 70px -32px rgba(15, 24, 48, .45); cursor: zoom-in; }
.aw__doc--img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.aw__doc--4 { transform: translateX(-120px) rotate(-16deg) scale(.86); }
.aw__doc--3 { transform: translateX(-62px) rotate(-8deg) scale(.92); }
.aw__doc--2 { transform: translateX(96px) rotate(10deg) scale(.9); }
.aw__doc--1 { transform: translateX(10px) rotate(1deg); }
/* Документов меньше четырёх — веер компактнее и по центру. */
.aw__fan--2 .aw__doc--1 { transform: translateX(-40px) rotate(-3deg); }
.aw__fan--2 .aw__doc--2 { transform: translateX(70px) rotate(8deg) scale(.92); }
.aw__fan--1 .aw__doc--1 { transform: rotate(-2deg); }
/* Раскрытие при наведении — только мышью и на широком экране: на телефоне
   касание «залипает» в :hover, и документы уезжали бы за край. */
@media (hover: hover) and (min-width: 901px) {
	.aw__fan:hover .aw__doc--4 { transform: translateX(-150px) rotate(-19deg) scale(.86); }
	.aw__fan:hover .aw__doc--3 { transform: translateX(-88px) rotate(-10deg) scale(.92); }
	.aw__fan:hover .aw__doc--2 { transform: translateX(130px) rotate(13deg) scale(.9); }
	.aw__fan--2:hover .aw__doc--2 { transform: translateX(105px) rotate(11deg) scale(.92); }
}

/* Лист сертификата — вместо серой заглушки у записей без скана */
.aw-paper { aspect-ratio: 3 / 4; background: #fff; padding: 12px; box-shadow: 0 30px 60px -34px rgba(15, 24, 48, .35), 0 0 0 1px var(--bd-3); }
.aw-paper__in { height: 100%; border: 1.5px solid var(--bd-2); border-radius: 9px; padding: 22px 18px; display: flex; flex-direction: column; text-align: center; background: linear-gradient(180deg, var(--accent-tint), #fff 38%); }
.aw-paper__lbl { font-weight: 800; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--accent-ink); }
.aw-paper__place { font-weight: 800; font-size: 30px; line-height: 1; letter-spacing: -.02em; color: var(--accent); margin-top: auto; }
.aw-paper__t { font-weight: 800; font-size: 22px; line-height: 1.15; letter-spacing: -.02em; color: var(--c-black); margin-top: auto; overflow-wrap: anywhere; }
.aw-paper__place + .aw-paper__t { margin-top: 10px; }
.aw-paper__s { font-weight: 600; font-size: 12.5px; color: var(--c-muted); margin-top: 8px; }
.aw-paper__foot { margin-top: auto; display: flex; align-items: center; gap: 12px; }
.aw-paper__seal { width: 44px; height: 44px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--accent); color: #fff; box-shadow: 0 0 0 4px var(--accent-tint); flex: none; }
.aw-paper__sign { flex: 1; height: 1.5px; background: var(--bd); }

/* Просмотр скана во весь экран */
.aw-lb { position: fixed; inset: 0; z-index: 500; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(11, 20, 38, .82); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.aw-lb[hidden] { display: none; }
.aw-lb__img { max-width: min(92vw, 760px); max-height: 86vh; border-radius: 14px; box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .8); background: #fff; }
.aw-lb__close { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .14); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; }
.aw-lb__close:hover { background: rgba(255, 255, 255, .24); }
.aw-lb__cap { position: absolute; left: 0; right: 0; bottom: 18px; text-align: center; color: #fff; font-weight: 600; font-size: 15px; padding: 0 60px; }

@media (max-width: 900px) {
	.aw__grid { grid-template-columns: 1fr; gap: 20px; }
	.aw__fan { height: 360px; order: -1; }
	.aw__doc { width: 210px; margin-left: -105px; top: 20px; }
	.aw__doc--4 { transform: translateX(-80px) rotate(-16deg) scale(.86); }
	.aw__doc--3 { transform: translateX(-42px) rotate(-8deg) scale(.92); }
	.aw__doc--2 { transform: translateX(64px) rotate(10deg) scale(.9); }
	.aw__fan--2 .aw__doc--1 { transform: translateX(-28px) rotate(-3deg); }
	.aw__fan--2 .aw__doc--2 { transform: translateX(48px) rotate(8deg) scale(.92); }
	.aw-paper__t { font-size: 17px; }
	.aw-paper__place { font-size: 24px; }
	.aw__see { display: none; }
}
@media (prefers-reduced-motion: reduce) { .aw__doc { transition: none; } }
