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

/* --- HERO --------------------------------------------------------------- */
.hero {
	position: relative;
	overflow: hidden;
	background: var(--bg-white);
	border-bottom: 1px solid var(--bd-2);
}
.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; }
.cr-form__fields--labeled .cr-field__req { color: var(--accent); }
@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; }
.cr-form__note { font-weight: 500; font-size: 13px; line-height: 1.4; color: var(--c-text-4); margin-top: 8px; text-align: center; }
.cr-form--dark .cr-form__note { color: var(--c-muted-2); }
.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-hover); 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-hover); 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-hover); 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; }

/* --- Тарифы (сравнение) ------------------------------------------------- */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 46px; align-items: start; }
.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-hover); 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-hover); 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-hover); 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-hover); 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 { font-size: 18px; font-weight: 600; color: var(--c-text); }
.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-hover); 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-hover); 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; }
.tile__k { font-weight: 800; font-size: 13.5px; line-height: 1; letter-spacing: .04em; text-transform: uppercase; color: var(--accent); }
.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-hover); }
.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; }
@media (max-width: 860px) { .process__panel { grid-template-columns: 1fr; } .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-hover); 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-hover);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:0 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: 1fr auto; gap: 32px; align-items: center; }
.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; }
.mid-cta__form { display: flex; align-items: center; 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-hover); 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-hover); 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; top: 46%; transform: translateY(-50%); 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); }
.carousel-arrow--prev { left: -12px; }
.carousel-arrow--next { right: -12px; }
.carousel-arrow:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.carousel-arrow:disabled { opacity: .35; cursor: default; }
.carousel-arrow:disabled:hover { background: #fff; color: var(--c-black); border-color: var(--bd); }
/* Точка нажатия — кнопка 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); } }
@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-hover); border-radius: 999px; padding: 2px 8px; }
.case-filter.is-active .case-filter__count { background: rgba(255, 255, 255, .22); color: #fff; }
