/* ===== Главная: первый экран ===== */
.hero { padding-top: 8px; }
.hero__paper {
	position: relative; overflow: hidden;
	min-height: clamp(620px, calc(100vh - var(--header-h) - 200px), 800px);
	padding: 72px 0 0 64px;
	border-radius: 32px;
	background-color: #BCCFE7;
	background-image:
		radial-gradient(90% 80% at 78% 8%, rgba(255, 255, 255, 0.62) 0%, rgba(255, 255, 255, 0) 60%),
		linear-gradient(165deg, #CBDAEE 0%, #AEC4E1 100%);
	display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: stretch; gap: 32px;
}
.hero__content { padding-bottom: 48px; }
.hero__team { position: relative; margin: 0; align-self: end; display: flex; justify-content: flex-end; }
.hero__team img { display: block; width: 100%; max-width: 920px; height: auto; }
.hero__content {
	position: relative; z-index: 2;
	display: flex; flex-direction: column; gap: 28px; max-width: 820px;
}
.hero__title {
	margin: 0; font-family: var(--font-display); font-weight: 800;
	font-size: clamp(34px, 3.6vw, 64px); line-height: 1.02; letter-spacing: -0.025em; text-transform: uppercase;
}
.hero__lead { margin: 0; max-width: 560px; font-size: 20px; line-height: 1.3; color: #13233A; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.hero__ratings { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: auto; padding-top: 32px; }
.hero__ratings-label { font-size: 15px; font-weight: 600; color: #13233A; }
.hero__ratings .ratings__frame { box-shadow: 0 6px 20px rgba(28, 58, 104, 0.12); }
.hero__facts {
	list-style: none; margin: 0; padding: 16px 0 0;
	display: flex; flex-wrap: wrap; gap: 10px;
	font-size: 15px; font-weight: 600; counter-reset: fact;
}
.hero__facts li {
	padding: 10px 18px; border-radius: 999px; counter-increment: fact;
	background: rgba(255, 255, 255, 0.55);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), inset 0 0 0 1px rgba(255, 255, 255, 0.4), 0 6px 20px rgba(28, 58, 104, 0.12);
}
.hero__facts li::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 10px; border-radius: 50%; background: var(--red); vertical-align: 2px; }

/* ===== Тарифы ===== */
.tariffs { margin-top: var(--section-gap); }
.tariffs__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.tariff__link {
	display: flex; flex-direction: column; gap: 24px; height: 100%;
	padding: 36px; border-radius: var(--radius-l); background: var(--white);
	text-decoration: none; transition: background-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.tariff__link:hover { box-shadow: 0 0 0 2px var(--red) inset; }
.tariff__head { display: flex; align-items: center; gap: 16px; }
.tariff__icon { flex: 0 0 auto; width: 48px; height: 48px; }
.tariff__icon svg { width: 100%; height: 100%; display: block; }
.tariff__title { font-family: var(--font-display); font-weight: 600; font-size: 22px; line-height: 1.15; }
.tariff__price { font-family: var(--font-display); font-weight: 800; font-size: clamp(30px, 2.6vw, 44px); line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.tariff__rows { display: flex; flex-direction: column; }
.tariff__row { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 16px; }
.tariff__row span { color: var(--ink-2); }
.tariff__more { margin-top: auto; font-weight: 700; }
.tariff__more span { display: inline-block; transition: transform 0.2s var(--ease); }
.tariff__link:hover .tariff__more span { transform: translateX(4px); }

.tariff--accent .tariff__link { color: var(--ink); background-color: #BCCFE7; background-image: radial-gradient(70% 90% at 82% 10%, rgba(255,255,255,.6) 0%, rgba(255,255,255,0) 60%), linear-gradient(165deg, #CBDAEE 0%, #AEC4E1 100%); }
.tariff--accent .tariff__link:hover { box-shadow: 0 0 0 2px var(--red) inset; }
.tariff--accent .tariff__row { border-top-color: rgba(34, 67, 108, 0.18); }
.tariff--accent .tariff__row span { color: #22436C; }

.placeholder-next { padding: 120px var(--gutter); color: var(--ink-2); min-height: 60vh; }

@media (max-width: 1240px) {
	.hero__paper { padding: 56px 0 0 40px; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }
}
@media (max-width: 1023px) {
	.hero__paper { grid-template-columns: minmax(0, 1fr); padding: 48px 32px 0; }
	.hero__team img { max-width: 640px; margin: 0 auto; }
}
@media (max-width: 1023px) {
	.tariffs__list { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) { .piece { animation: none; } }

/* ===== Общие для секций ===== */
.section { padding-top: var(--section-gap); }
.section__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 48px; margin-bottom: 40px; }
.section__head > div { display: flex; flex-direction: column; gap: 20px; }
.section__note { margin: 0; max-width: 440px; font-size: 19px; color: #3F6DAE; }
.h2 { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: clamp(28px, 3vw, 46px); line-height: 1.04; letter-spacing: -0.02em; text-transform: uppercase; }
.h2 .accent { color: #3F6DAE; }
.placeholder-next { min-height: 0; padding: 72px var(--gutter) 0; }

/* ===== Сменяющиеся слова на первом экране ===== */
.hero__rotate { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 12px; font-family: var(--font-display); font-weight: 500; font-size: clamp(20px, 1.8vw, 28px); line-height: 1.2; }
.hero__rotate-words { position: relative; display: inline-grid; overflow: hidden; padding: 0.08em 0; }
.hero__rotate-words > span {
	grid-area: 1 / 1; white-space: nowrap; color: var(--red);
	opacity: 0; transform: translateY(60%); transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}
.hero__rotate-words > span.is-active { opacity: 1; transform: none; }
.hero__rotate-words > span.is-leaving { opacity: 0; transform: translateY(-60%); }

/* ===== Подсветка карточек по курсору ===== */
.spotlight { position: relative; isolation: isolate; overflow: hidden; }
.spotlight::before {
	content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(240, 20, 47, 0.10), transparent 60%);
	opacity: 0; transition: opacity 0.3s var(--ease);
}
.spotlight:hover::before { opacity: 1; }
.tariff--accent .spotlight::before { background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.45), transparent 60%); }
.tariff__link.spotlight:hover { box-shadow: none; }

/* ===== Нам доверяют: бегущая строка ===== */
.marquee {
	overflow: hidden; padding: 8px 0;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee__track { list-style: none; margin: 0; padding: 0; display: flex; gap: 16px; width: max-content; animation: marquee var(--marquee-time, 60s) linear infinite; will-change: transform; }
.marquee.is-paused .marquee__track { animation-play-state: paused; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
	flex: 0 0 auto; width: 240px; height: 160px; padding: 8px;
	display: flex; align-items: center; justify-content: center;
	border-radius: var(--radius-m); background: var(--white);
}
.marquee__item img { display: block; width: 100%; height: 100%; object-fit: contain; }
@keyframes marquee { to { transform: translateX(-50%); } }

.trust__video {
	margin-top: 24px; aspect-ratio: 21 / 9; border-radius: var(--radius-l);
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
	background-color: #BCCFE7; background-image: linear-gradient(165deg, #CBDAEE 0%, #AEC4E1 100%); color: #22436C; font-weight: 600;
}
.trust__video-play { width: 88px; height: 88px; border-radius: 50%; background: var(--red); position: relative; }
.trust__video-play::after { content: ""; position: absolute; left: 36px; top: 28px; border-left: 26px solid var(--white); border-top: 16px solid transparent; border-bottom: 16px solid transparent; }

/* ===== Кейсы: раскрывающиеся панели ===== */
.accordion-cases { list-style: none; margin: 0; padding: 0; display: flex; gap: 16px; height: clamp(480px, 42vw, 640px); }
.acase { flex: 1 1 0; min-width: 0; transition: flex-grow 0.6s var(--ease); }
.acase.is-active { flex-grow: 4; }
.acase__link {
	position: relative; display: block; height: 100%; overflow: hidden; border-radius: var(--radius-l);
	background: var(--white); text-decoration: none; color: var(--ink);
}
.acase__shot {
	position: absolute; inset: 0;
	display: flex; align-items: center; justify-content: center; color: #22436C; font-size: 15px; font-weight: 600;
	background-color: #BCCFE7; background-image: radial-gradient(90% 80% at 78% 8%, rgba(255,255,255,.6) 0%, rgba(255,255,255,0) 60%), linear-gradient(165deg, #CBDAEE 0%, #AEC4E1 100%);
	transition: transform 0.8s var(--ease);
}
.acase.is-active .acase__shot { transform: scale(1.03); }
.acase__vlabel {
	position: absolute; left: 50%; bottom: 40px; transform: translateX(-50%) rotate(180deg);
	writing-mode: vertical-rl; font-family: var(--font-display); font-weight: 800; font-size: 26px; text-transform: uppercase; white-space: nowrap;
	transition: opacity 0.3s var(--ease);
}
.acase.is-active .acase__vlabel { opacity: 0; }
.acase__body {
	position: absolute; left: 24px; right: 24px; bottom: 24px; max-width: 560px;
	display: flex; flex-direction: column; gap: 10px; padding: 28px; border-radius: var(--radius-m);
	background: rgba(255, 255, 255, 0.9);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), inset 0 0 0 1px rgba(255, 255, 255, 0.4), 0 12px 40px rgba(16, 32, 64, 0.16);
	opacity: 0; transform: translateY(16px); transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
	pointer-events: none;
}
.acase.is-active .acase__body { opacity: 1; transform: none; transition-delay: 0.2s; }
.acase__type { font-family: var(--font-display); font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-2); }
.acase__name { font-family: var(--font-display); font-weight: 800; font-size: clamp(26px, 2.4vw, 40px); line-height: 1.05; text-transform: uppercase; }
.acase__text { font-size: 17px; color: var(--ink-2); }
.acase__more { font-weight: 700; color: var(--red); }

@media (prefers-reduced-motion: reduce) {
	.marquee__track { animation: none; flex-wrap: wrap; width: auto; }
	.marquee__item[aria-hidden="true"] { display: none; }
}

/* ===== Первый экран v2: фото в край, форма звонка ===== */
.hero {
	position: relative; overflow: hidden; padding: 0;
	min-height: clamp(660px, calc(100vh - var(--header-h) - 60px), 840px);
	background-color: #BCCFE7;
	background-image:
		radial-gradient(70% 90% at 82% 10%, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0) 60%),
		linear-gradient(165deg, #CBDAEE 0%, #AEC4E1 100%);
	display: flex; align-items: center;
}
.hero__inner { position: relative; z-index: 2; width: 100%; }
.hero__content { max-width: 680px; padding: 64px 0; gap: 28px; }
.hero__team {
	position: absolute; right: 0; bottom: 0; z-index: 1; margin: 0;
	height: 100%; width: min(56vw, 1140px); display: flex; align-items: flex-end; justify-content: flex-end;
}
.hero__team img { display: block; width: 100%; max-width: none; height: auto; max-height: 100%; object-fit: contain; object-position: right bottom; }

.hero__title {
	font-size: clamp(32px, 3.2vw, 56px); line-height: 1.15; letter-spacing: -0.02em; text-transform: none;
}
.ratings--hero .ratings__frame { box-shadow: 0 6px 20px rgba(28, 58, 104, 0.12); }

.hero__links { display: flex; flex-wrap: wrap; gap: 12px 32px; }
.hero__facts { padding-top: 4px; }

@media (max-width: 1240px) {
	.hero__content { max-width: 600px; }
	.hero__team { width: 50vw; }
}
@media (max-width: 1023px) {
	.hero { flex-direction: column; align-items: stretch; }
	.hero__team { position: relative; width: 100%; height: auto; }
	.hero__team img { max-width: 720px; margin-left: auto; }
}

.hero .ratings { margin-bottom: 4px; }

/* ===== Первый экран: панель-блок ===== */
.hero.hero--panel { display: block; min-height: 0; padding: 8px var(--gutter) 0; background: none; overflow: visible; }
.hero--panel .hero__paper {
	position: relative; overflow: hidden; border-radius: 32px;
	min-height: clamp(620px, calc(100vh - var(--header-h) - 160px), 800px);
	padding: 64px 0 0 64px;
	display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 32px; align-items: stretch;
	background-color: #BCCFE7;
	background-image:
		radial-gradient(70% 90% at 82% 10%, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0) 60%),
		linear-gradient(165deg, #CBDAEE 0%, #AEC4E1 100%);
}
.hero--panel .hero__content { align-self: center; padding: 0 0 56px; max-width: 760px; gap: 24px; }
.hero--panel .hero__team { position: relative; inset: auto; width: auto; height: auto; align-self: end; display: flex; justify-content: flex-end; }
.hero--panel .hero__team img { width: 100%; max-width: 940px; height: auto; max-height: none; }
@media (max-width: 1240px) {
	.hero--panel .hero__paper { padding: 48px 0 0 40px; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }
}
@media (max-width: 1023px) {
	.hero--panel .hero__paper { grid-template-columns: minmax(0, 1fr); padding: 40px 24px 0; }
	.hero--panel .hero__content { padding-bottom: 0; }
}
.hero__rotate-words > span.is-leaving { transform: translateY(-100%); }
.hero__rotate-words > span { transform: translateY(100%); }
.hero__rotate-words > span.is-active { transform: none; }

/* ===== Калькулятор ===== */
.calc__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 16px; }
.calc__params { padding: 24px 48px; border-radius: var(--radius-l); background: var(--white); }
.calc__row { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.calc__row:last-child { border-bottom: 0; }
.calc__label { font-size: 20px; font-weight: 600; }
.calc__hint { margin: 4px 0 0; font-size: 14px; color: var(--ink-2); max-width: 520px; }

.stepper { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.stepper__btn {
	width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--ground);
	font: 500 24px/1 var(--font-text); color: var(--ink); cursor: pointer; transition: background-color 0.15s var(--ease);
}
.stepper__btn:hover { background: #E4E9F0; }
.stepper__input {
	width: 80px; height: 48px; border: 0; border-radius: var(--radius-s); background: none; text-align: center;
	font: 600 28px/1 var(--font-display); color: var(--ink); font-variant-numeric: tabular-nums; -moz-appearance: textfield;
}
.stepper__input::-webkit-outer-spin-button, .stepper__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper__input:focus-visible { outline: 3px solid var(--cobalt); }

.switch { position: relative; display: inline-flex; flex: 0 0 auto; cursor: pointer; }
.switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.switch__track { width: 64px; height: 36px; border-radius: 999px; background: #DDE3EC; position: relative; transition: background-color 0.2s var(--ease); }
.switch__track::after {
	content: ""; position: absolute; top: 4px; left: 4px; width: 28px; height: 28px; border-radius: 50%;
	background: var(--white); box-shadow: 0 2px 6px rgba(16, 32, 64, 0.2); transition: transform 0.2s var(--ease);
}
.switch input:checked + .switch__track { background: var(--red); }
.switch input:checked + .switch__track::after { transform: translateX(28px); }
.switch input:focus-visible + .switch__track { outline: 3px solid var(--cobalt); outline-offset: 2px; }

.calc__result { display: flex; flex-direction: column; gap: 16px; padding: 48px; border-radius: var(--radius-l); color: var(--ink);
	background-color: #BCCFE7; background-image: radial-gradient(70% 90% at 82% 10%, rgba(255,255,255,.6) 0%, rgba(255,255,255,0) 60%), linear-gradient(165deg, #CBDAEE 0%, #AEC4E1 100%); }
.calc__price { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: clamp(36px, 3.6vw, 60px); line-height: 1; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.calc__discount {
	display: flex; align-items: center; gap: 14px; margin: 0; padding: 10px 18px 10px 10px;
	border-radius: 999px; background: #E3F6EA; color: #0E5A32; width: fit-content; max-width: 100%;
	font-size: 14px; font-weight: 600; line-height: 1.28;
	box-shadow: 0 8px 24px rgba(14, 90, 50, 0.18);
	animation: badge-in 0.35s var(--ease);
}
.calc__badge {
	flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center;
	min-width: 72px; height: 48px; padding: 0 14px; border-radius: 999px;
	background: #1E9E5A; color: var(--white);
	font-family: var(--font-display); font-size: 22px; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums;
}
@keyframes badge-in { from { opacity: 0; transform: scale(0.92); } }
.calc__discount[hidden] { display: none; }
.calc__lead { margin: 8px 0 0; font-size: 17px; }
.calc__result .callback__row { flex-wrap: wrap; align-items: center; gap: 12px; }
.calc__result .callback__phone { flex: 0 1 244px; width: 244px; max-width: 100%; }
.calc__result .callback__row .btn { flex: 0 0 auto; width: auto; }

@media (max-width: 1100px) {
	.calc__grid { grid-template-columns: minmax(0, 1fr); }
	.calc__params { padding: 8px 24px; }
	.calc__result { padding: 32px 24px; }
}

/* ===== «Капли» — связка кнопок, как слитые капли ===== */
.goo-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.drops { position: relative; height: 128px; margin-top: 4px; }
.drops__bg, .drops__fg { position: absolute; inset: 0; display: grid; grid-template-columns: 128px minmax(0, 1fr) 128px; align-items: center; gap: 6px; }
.drops__bg { filter: url(#goo); }
.drops__dot { width: 128px; height: 128px; border-radius: 50%; background: var(--white); transition: transform 0.35s var(--ease); }
.drops__pill { height: 104px; border-radius: 999px; background: var(--white); margin: 0 -6px; transition: transform 0.35s var(--ease); }
.drops__stat { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; color: var(--ink); text-align: center; }
.drops__stat b { font-family: var(--font-display); font-weight: 500; font-size: 32px; line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.drops__stat b { max-width: 104px; white-space: nowrap; }
.drops__stat small { margin-top: 6px; font-size: 13px; font-weight: 500; color: var(--ink-2); }
.drops__btn {
	height: 104px; border: 0; border-radius: 999px; background: transparent; cursor: pointer;
	font: 700 18px/1.2 var(--font-text); color: var(--ink);
}
.drops__btn:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 2px; }
.drops:has(.drops__btn:hover) .drops__pill { transform: scale(1.04, 1.08); }
.drops:has(.drops__btn:hover) .drops__dot { transform: scale(0.94); }
.drops:has(.drops__btn:active) .drops__pill { transform: scale(0.98); }
.calc__result .callback__phone { background: var(--white); }
@media (max-width: 560px) {
	.drops { height: 100px; }
	.drops__bg, .drops__fg { grid-template-columns: 96px minmax(0, 1fr) 96px; }
	.drops__dot { width: 96px; height: 96px; }
	.drops__pill, .drops__btn { height: 80px; }
	.drops__stat b { font-size: 28px; }
}

/* Тип сайта и интеграции */
.calc__row--types { display: block; margin: 0; padding: 24px 0; border: 0; border-bottom: 1px solid var(--line); min-width: 0; }
.calc__row--types legend { float: left; width: 100%; padding: 0; margin-bottom: 16px; }
.calc__row--types legend + * { clear: both; }
.seg { display: flex; flex-wrap: wrap; gap: 6px; padding: 6px; border-radius: 999px; background: var(--ground); width: fit-content; max-width: 100%; }
.seg__item, .chip { position: relative; cursor: pointer; }
.seg__item input, .chip input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.seg__item span { display: block; padding: 12px 20px; border-radius: 999px; font-size: 16px; font-weight: 600; transition: background-color 0.2s var(--ease), color 0.2s var(--ease); }
.seg__item input:checked + span { background: var(--ink); color: var(--white); }
.seg__item input:focus-visible + span, .chip input:focus-visible + span { outline: 3px solid var(--cobalt); outline-offset: 2px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip span {
	display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 999px;
	background: var(--ground); font-size: 16px; font-weight: 600; transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}
.chip span::before { content: "+"; font-weight: 700; color: var(--red); transition: transform 0.2s var(--ease); }
.chip input:checked + span { background: var(--red); color: var(--white); }
.chip input:checked + span::before { content: "✓"; color: var(--white); }

/* ===== Этапы создания сайта ===== */
.stages__board {
	position: relative; padding: 32px; border-radius: var(--radius-l); background: var(--white);
	display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 12px; row-gap: 12px;
}
/* шкала: светлая подложка второй фазы */
.stages__board::before {
	content: ""; position: absolute; top: 16px; bottom: 16px; left: calc(32px + (100% - 64px + 12px) / 12 * 4 - 6px); right: 16px;
	border-radius: var(--radius-m); background: #F6F8FB; pointer-events: none;
}
.stages__phase { position: relative; display: flex; flex-direction: column; gap: 14px; padding-bottom: 20px; }
.stages__phase--pre { grid-column: 1 / span 4; }
.stages__phase--dev { grid-column: 5 / span 8; }
.stages__phase-title {
	margin: 0; padding: 16px 40px 16px 22px; color: var(--white);
	font-family: var(--font-display); font-weight: 600; font-size: 18px; line-height: 1.2;
	clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 50%, calc(100% - 18px) 100%, 0 100%);
	border-radius: 14px 0 0 14px;
}
.stages__phase--pre .stages__phase-title { background: var(--ink); }
.stages__phase--dev .stages__phase-title { background: var(--red); }
.stages__meta { margin: 0; display: flex; flex-wrap: wrap; gap: 6px 24px; font-size: 15px; }
.stages__meta div { display: flex; gap: 6px; }
.stages__meta dt { color: var(--ink-2); }
.stages__meta dt::after { content: ":"; }
.stages__meta dd { margin: 0; font-weight: 600; }

.stages__steps { display: contents; list-style: none; }
.step { position: relative; z-index: 1; min-width: 0; }
.step:hover, .step:focus-within, .step.is-open { z-index: 10; }
.step__btn {
	display: flex; align-items: center; gap: 12px; width: 100%; min-height: 56px; padding: 8px 10px 8px 8px;
	border: 0; border-radius: 16px; background: var(--ground); color: var(--ink); cursor: pointer; text-align: left;
	font: 600 16px/1.2 var(--font-text); transition: background-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.step__num {
	flex: 0 0 auto; width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
	background: var(--white); font-family: var(--font-display); font-weight: 600; font-size: 15px; color: var(--red);
}
.step__name { flex: 1 1 auto; min-width: 0; }
.step__i {
	flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
	box-shadow: inset 0 0 0 1.5px #B8C2D0; color: var(--ink-2); font: 700 13px/1 var(--font-display);
}
.step__btn:hover, .step.is-open .step__btn { background: var(--powder); }
.step__btn:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 2px; }
.step__pop {
	position: absolute; top: calc(100% + 8px); left: 0; z-index: 5; width: min(380px, 80vw);
	padding: 18px 20px; border-radius: var(--radius-m); background: var(--white); box-shadow: var(--shadow-float);
	font-size: 15px; line-height: 1.3; color: var(--ink);
	opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(6px);
	transition: opacity 0.18s var(--ease), transform 0.18s var(--ease), visibility 0s linear 0.18s;
}
.step:last-child .step__pop, .step:nth-last-child(2) .step__pop { left: auto; right: 0; }
.step:hover .step__pop, .step.is-open .step__pop {
	opacity: 1; visibility: visible; pointer-events: auto; transform: none;
	transition: opacity 0.18s var(--ease), transform 0.18s var(--ease), visibility 0s;
}

@media (max-width: 1023px) {
	.stages__board { grid-template-columns: minmax(0, 1fr); padding: 20px; }
	.stages__board::before { display: none; }
	.stages__phase--pre, .stages__phase--dev { grid-column: 1; }
	.stages__phase--dev { grid-row: 3; margin-top: 16px; }
	.step { grid-column: 1 !important; grid-row: auto !important; }
	.step:first-child { grid-row: 2 !important; }
	.step__pop { position: static; width: auto; margin-top: 8px; display: none; transform: none; box-shadow: none; background: var(--ground); }
	.step.is-open .step__pop { display: block; }
}

/* ===== Горизонтальная форма с фото основателя ===== */
.lead__paper {
	position: relative; overflow: hidden; border-radius: 32px; padding: 64px 64px 0;
	display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: 48px; align-items: end;
	background-color: #BCCFE7;
	background-image:
		radial-gradient(70% 90% at 82% 10%, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0) 60%),
		linear-gradient(165deg, #CBDAEE 0%, #AEC4E1 100%);
}
.lead__body { display: flex; flex-direction: column; gap: 40px; padding-bottom: 72px; }
.lead__title { margin: 0; max-width: 900px; font-family: var(--font-display); font-weight: 800; font-size: clamp(28px, 3vw, 46px); line-height: 1.08; letter-spacing: -0.02em; }
.lead__title span { color: var(--red); }
.lead .callback__consent { max-width: 760px; }
/* В нижней форме колонки уже: уменьшаем шрифт и боковые отступы, чтобы маска влезала */
.lead .callback__field .callback__phone { padding: 0 16px 0 18px; font-size: 17px; }
.lead .callback__phone-progress { left: 18px; font-size: 17px; }
.lead__messengers { display: flex; flex-direction: column; gap: 16px; }
.lead__subtitle { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: 24px; line-height: 1.2; }
.lead__social { list-style: none; margin: 0; padding: 0; display: flex; gap: 14px; }
.lead__social a {
	display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px;
	border-radius: 16px; background: var(--white); box-shadow: 0 0 0 1px var(--line);
	transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.lead__social a:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(11, 11, 14, 0.08), 0 0 0 1px var(--line); }
.lead__social svg, .lead__social img { display: block; width: 30px; height: 30px; }
.lead__social img { border-radius: 8px; }
.lead__person { position: relative; margin: 0; align-self: end; }
.lead__person img { display: block; width: 100%; height: auto; }
@media (max-width: 1023px) {
	.lead__paper { grid-template-columns: minmax(0, 1fr); padding: 40px 24px 0; }
	.lead__body { padding-bottom: 0; }
	.lead__person { max-width: 420px; justify-self: center; }
}

/* ===== Что вы получаете ===== */
.benefits { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 20px 48px; align-items: start; }
.benefits__head { position: sticky; top: calc(var(--top-h) + 32px); display: flex; flex-direction: column; gap: 20px; }
.benefits__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.benefit {
	display: flex; flex-direction: column; min-height: 300px; padding: 36px 40px;
	border-radius: var(--radius-l); background: var(--white);
}
.benefit__fig { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; }
.benefit__fig b { font-family: var(--font-display); font-weight: 600; font-size: clamp(40px, 3.4vw, 64px); line-height: 1; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.benefit__fig span { font-size: 16px; font-weight: 600; color: var(--ink-2); }
.benefit__title { margin: 20px 0 0; font-family: var(--font-display); font-weight: 500; font-size: clamp(18px, 1.4vw, 24px); line-height: 1.2; letter-spacing: -0.01em; }
.benefit__text { margin: auto 0 0; padding-top: 28px; max-width: 480px; font-size: 17px; line-height: 1.4; color: var(--ink-2); }
@media (max-width: 1240px) {
	.benefits { grid-template-columns: minmax(0, 1fr); }
	.benefits__head { position: static; }
}
@media (max-width: 767px) { .benefits__list { grid-template-columns: minmax(0, 1fr); } .benefit { min-height: 0; padding: 28px; } }

/* ===== С кем мы работаем ===== */
.audience { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px 64px; align-items: center; }
.audience__body { display: flex; flex-direction: column; gap: 48px; }
.audience__head { display: flex; flex-direction: column; gap: 20px; }
.audience__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.audience__card { display: flex; flex-direction: column; gap: 14px; padding: 36px 40px; border-radius: var(--radius-l); background: var(--white); }
.audience__card--ip {
	background-color: #BCCFE7;
	background-image:
		radial-gradient(70% 90% at 82% 10%, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0) 60%),
		linear-gradient(165deg, #CBDAEE 0%, #AEC4E1 100%);
}
.audience__title { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: clamp(22px, 1.8vw, 30px); line-height: 1.2; letter-spacing: -0.01em; }
.audience__text { margin: 0; max-width: 620px; font-size: 18px; line-height: 1.4; color: var(--ink-2); }
.audience__card--ip .audience__text { color: #22334D; }
.audience__tags { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.audience__tags li { padding: 9px 16px; border-radius: 999px; background: var(--ground); font-size: 15px; font-weight: 600; line-height: 1.2; }
.audience__card--ip .audience__tags li { background: rgba(255, 255, 255, 0.7); }
.audience__tags li:first-child { background: var(--red); color: var(--white); }
.audience__media { margin: 0; justify-self: end; width: 100%; max-width: 900px; }
.audience__media img { display: block; width: 100%; height: auto; }
@media (max-width: 1023px) {
	.audience { grid-template-columns: minmax(0, 1fr); }
	.audience__media { justify-self: center; }
	.audience__card { padding: 28px; }
}

/* ===== Промо: рассрочка ===== */
.promo__paper {
	position: relative; overflow: hidden; border-radius: 32px; padding: 40px 48px 40px 64px;
	display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: center;
	background-color: #BCCFE7;
	background-image:
		radial-gradient(70% 90% at 82% 10%, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0) 60%),
		linear-gradient(165deg, #CBDAEE 0%, #AEC4E1 100%);
}
.promo__body { display: flex; flex-direction: column; align-items: flex-start; gap: 36px; max-width: 680px; }
.promo__img { display: block; width: 100%; max-width: 720px; height: auto; justify-self: end; }
@media (max-width: 1023px) {
	.promo__paper { grid-template-columns: minmax(0, 1fr); padding: 40px 24px; }
	.promo__img { justify-self: center; }
}

/* ===== Гарантии по договору ===== */
.guarantee__top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px 64px; align-items: center; }
.guarantee__body { display: flex; flex-direction: column; gap: 48px; }
.guarantee__head { display: flex; flex-direction: column; gap: 20px; }
.guarantee__lead { margin: 0; font-size: 20px; line-height: 1.4; color: var(--ink-2); }
.guarantee__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.guarantee__item { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr); gap: 8px 32px; padding: 28px 0; border-top: 1px solid var(--line); }
.guarantee__item:last-child { border-bottom: 1px solid var(--line); }
.guarantee__title { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: clamp(18px, 1.4vw, 22px); line-height: 1.25; }
.guarantee__text { margin: 0; font-size: 17px; line-height: 1.4; color: var(--ink-2); }
.guarantee__aside { display: flex; flex-direction: column; align-items: center; gap: 0; }
.guarantee__img { display: block; width: 100%; max-width: 640px; height: auto; }
.guarantee__card {
	position: relative; margin-top: -48px; width: min(100%, 560px); padding: 32px 36px;
	border-radius: var(--radius-l); background: var(--ink); color: var(--white);
	display: flex; flex-direction: column; gap: 12px;
}
.guarantee__card-title { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: clamp(24px, 2vw, 32px); line-height: 1.1; letter-spacing: -0.02em; text-transform: uppercase; }
.guarantee__card-text { margin: 0; font-size: 17px; line-height: 1.4; color: rgba(255, 255, 255, 0.82); }
@media (max-width: 1023px) {
	.guarantee__top { grid-template-columns: minmax(0, 1fr); }
	.guarantee__item { grid-template-columns: minmax(0, 1fr); }
}

/* ===== С нами комфортно ===== */
.comfort__panel { display: flex; flex-direction: column; gap: 48px; }
.comfort__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.comfort__item { display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; }
.comfort__item img { display: block; width: 160px; height: 160px; }
.comfort__item p { margin: 0; max-width: 300px; font-family: var(--font-display); font-weight: 500; font-size: clamp(18px, 1.4vw, 22px); line-height: 1.25; }
@media (max-width: 767px) {

	.comfort__list { grid-template-columns: minmax(0, 1fr); }
}

/* ===== Технологии ===== */
.tech { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 48px 64px; align-items: center; }
.tech__body { display: flex; flex-direction: column; gap: 32px; }
.tech__text { display: flex; flex-direction: column; gap: 16px; max-width: 760px; font-size: 18px; line-height: 1.45; color: var(--ink-2); }
.tech__text p { margin: 0; }
.tech__cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.tech__card { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; min-height: 300px; padding: 36px; border-radius: var(--radius-l); background: var(--white); }
.tech__logos { display: flex; align-items: center; height: 96px; }
.tech__logos svg { display: block; }
.tech__logos--grid { display: grid; grid-template-columns: repeat(4, 44px); gap: 12px; }
.tech__name { margin: 40px 0 0; font-family: var(--font-display); font-weight: 600; font-size: clamp(20px, 1.6vw, 26px); line-height: 1.2; }
.tech__note { margin: 0; font-size: 16px; line-height: 1.4; color: var(--ink-2); }
@media (max-width: 1023px) { .tech { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) { .tech__cards { grid-template-columns: minmax(0, 1fr); } .tech__card { min-height: 0; } }

/* ===== Слайдер (офис) ===== */
.slider { display: flex; flex-direction: column; gap: 28px; }
.slider__track {
	list-style: none; margin: 0; padding: 0; display: grid; grid-auto-flow: column;
	grid-auto-columns: calc((100% - 2 * 20px) / 3); gap: 20px;
	overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none;
}
.slider__track::-webkit-scrollbar { display: none; }
.slider__track:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 4px; border-radius: var(--radius-l); }
.slider__slide { scroll-snap-align: start; border-radius: var(--radius-l); overflow: hidden; background: var(--line); }
.slider__slide img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.slider__nav { display: flex; align-items: center; justify-content: center; gap: 24px; }
.slider__arrow {
	display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; padding: 0;
	border: 0; border-radius: 50%; background: var(--white); color: var(--ink); cursor: pointer;
	box-shadow: inset 0 0 0 1px var(--line); transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}
.slider__arrow:not(:disabled):hover { background: var(--red); color: var(--white); box-shadow: none; }
.slider__arrow:disabled { opacity: 0.35; cursor: default; }
.slider__arrow:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 2px; }
.slider__dots { display: flex; align-items: center; gap: 8px; }
.slider__dot { position: relative; width: 10px; height: 10px; padding: 0; border: 0; border-radius: 999px; background: #C9D3E1; cursor: pointer; transition: width 0.25s var(--ease), background-color 0.25s var(--ease); }
.slider__dot::after { content: ""; position: absolute; inset: -17px; }
.slider__dot.is-active { width: 28px; background: var(--red); }
.slider__dot:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 2px; }
@media (max-width: 1023px) { .slider__track { grid-auto-columns: calc((100% - 20px) / 2); } }
@media (max-width: 600px) { .slider__track { grid-auto-columns: 86%; } }
@media (prefers-reduced-motion: reduce) { .slider__track { scroll-behavior: auto; } .slider__dot { transition: none; } }

/* ===== Команда: цитата основателя ===== */
.team { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 48px 64px; align-items: center; }
.team__body { display: flex; flex-direction: column; gap: 48px; }
.team__quote { margin: 0; display: flex; flex-direction: column; gap: 28px; }
.team__quote blockquote {
	position: relative; margin: 0; padding: 56px 56px 48px 96px;
	border-radius: var(--radius-l); background: var(--white);
}
.team__quote blockquote::before {
	content: "“"; position: absolute; left: 32px; top: 28px;
	font-family: var(--font-display); font-weight: 800; font-size: 96px; line-height: 0.8; color: var(--red);
}
.team__quote p { margin: 0; font-size: clamp(18px, 1.4vw, 22px); line-height: 1.45; }
.team__author { display: flex; flex-direction: column; gap: 6px; padding-left: 96px; }
.team__author b { font-family: var(--font-display); font-weight: 600; font-size: clamp(18px, 1.5vw, 24px); line-height: 1.2; }
.team__author span { font-size: 16px; color: var(--ink-2); }
.team__photo { display: block; width: 100%; max-width: 640px; height: auto; justify-self: end; }
@media (max-width: 1023px) {
	.team { grid-template-columns: minmax(0, 1fr); }
	.team__photo { justify-self: center; }
	.team__quote blockquote { padding: 72px 28px 32px; }
	.team__quote blockquote::before { left: 24px; top: 24px; font-size: 72px; }
	.team__author { padding-left: 0; }
}

/* ===== Ключевые сотрудники ===== */
.staff__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.staff__card { display: flex; flex-direction: column; gap: 20px; }
.staff__photo {
	position: relative; overflow: hidden; aspect-ratio: 1 / 1; border-radius: var(--radius-l); padding-top: 24px;
	display: flex; align-items: flex-end; justify-content: center;
	background-color: #BCCFE7;
	background-image:
		radial-gradient(70% 90% at 82% 10%, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0) 60%),
		linear-gradient(165deg, #CBDAEE 0%, #AEC4E1 100%);
}
.staff__photo img { display: block; width: 100%; height: auto; }
.staff__info { display: flex; flex-direction: column; gap: 4px; padding: 0 8px; }
.staff__name { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: clamp(20px, 1.6vw, 26px); line-height: 1.2; }
.staff__role { margin: 0; font-size: 17px; color: var(--ink-2); }
@media (max-width: 1023px) { .staff__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .staff__list { grid-template-columns: minmax(0, 1fr); } }

/* ===== FAQ ===== */
.faq { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 48px 80px; align-items: start; }
.faq__aside { position: sticky; top: calc(var(--top-h) + 32px); display: flex; flex-direction: column; gap: 40px; }
.faq__img { display: block; width: 100%; max-width: 400px; height: auto; }
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
	display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px 0;
	font-family: var(--font-display); font-weight: 500; font-size: clamp(18px, 1.4vw, 22px); line-height: 1.3;
	cursor: pointer; list-style: none;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q:hover { color: var(--red); }
.faq__q:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 4px; border-radius: 6px; }
.faq__icon { position: relative; flex: 0 0 44px; width: 44px; height: 44px; border-radius: 50%; background: var(--white); transition: background-color 0.35s var(--ease), transform 0.45s cubic-bezier(0.22, 1, 0.36, 1); }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 2px; margin: -1px 0 0 -8px; border-radius: 2px; background: var(--ink); transition: background-color 0.25s var(--ease); }
.faq__icon::after { transform: rotate(90deg); }
.faq__item.is-open .faq__icon { background: var(--red); transform: rotate(45deg); }
.faq__item.is-open .faq__icon::before, .faq__item.is-open .faq__icon::after { background: var(--white); }
.faq__a { box-sizing: border-box; padding: 0 64px 32px 0; font-size: 17px; line-height: 1.5; color: var(--ink-2); }
.faq__a > * { margin: 0 0 12px; }
.faq__a > *:last-child { margin-bottom: 0; }
.faq__a ul, .faq__a ol { padding-left: 22px; }
.faq__a li + li { margin-top: 4px; }
.faq__a a { color: var(--red); }
.faq__a a:hover { color: var(--red-dark); }
@media (max-width: 1023px) {
	.faq { grid-template-columns: minmax(0, 1fr); }
	.faq__aside { position: static; }
	.faq__img { max-width: 240px; }
	.faq__a { padding-right: 0; }
}
@media (prefers-reduced-motion: reduce) { .faq__icon { transition: none; } }

/* ===== Мы на карте ===== */
.map__box { position: relative; overflow: hidden; height: 600px; border-radius: 32px; background: var(--line); }
.map__frame { display: block; width: 100%; height: 100%; border: 0; }
.map__card {
	position: absolute; top: 24px; right: 24px; width: min(380px, calc(100% - 48px)); box-sizing: border-box; padding: 32px;
	border-radius: var(--radius-l); background: var(--white); box-shadow: 0 18px 40px rgba(28, 58, 104, 0.14);
	display: flex; flex-direction: column; gap: 18px;
}
.map__logo { display: block; width: 200px; height: auto; margin-bottom: 6px; }
.map__row p { margin: 0; font-size: 17px; line-height: 1.4; }
.map__row .map__label { margin-bottom: 4px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.map__row a { color: var(--ink); text-decoration: none; font-family: var(--font-display); font-weight: 600; font-size: 20px; }
.map__row a:hover { color: var(--red); }
@media (max-width: 767px) {
	.map__box { height: auto; overflow: visible; background: none; }
	.map__frame { height: 420px; border-radius: 24px; }
	.map__card { position: static; width: 100%; margin-top: 16px; box-shadow: none; }
}

/* ===== Форма на всю ширину под тарифами ===== */
.strip { margin-top: 16px; }
.strip__box {
	display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 32px 56px; align-items: center;
	padding: 40px 48px; border-radius: var(--radius-l);
	background-color: #BCCFE7;
	background-image:
		radial-gradient(70% 90% at 82% 10%, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0) 60%),
		linear-gradient(165deg, #CBDAEE 0%, #AEC4E1 100%);
}
.strip__text { display: flex; flex-direction: column; gap: 10px; }
.strip__title { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: clamp(22px, 1.9vw, 30px); line-height: 1.15; letter-spacing: -0.02em; }
.strip__title .accent { color: #2E5A99; }
.strip__lead { margin: 0; font-size: 17px; line-height: 1.4; color: #22334D; }
.strip .callback__row--wide { flex-wrap: nowrap; }
.strip .callback__field { flex: 0 0 244px; min-width: 0; }
.strip .callback__field .callback__phone, .strip .callback__phone-progress { font-size: 17px; }
.strip .callback__field .callback__phone { background: var(--white); }
.strip .callback__row--wide .btn { flex: 0 0 auto; }
@media (max-width: 1240px) {
	.strip__box { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 767px) {
	.strip__box { padding: 28px 24px; }
	.strip .callback__row--wide { flex-wrap: wrap; }
	.strip .callback__field { flex-basis: 100%; }
	.strip .callback__row--wide .btn { width: 100%; }
}

/* ===== Объединённые блоки ===== */
.benefits__main { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.perks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.perk { display: flex; align-items: center; gap: 16px; padding: 20px 24px; border-radius: var(--radius-l); background: var(--white); }
.perk img { flex: 0 0 72px; width: 72px; height: 72px; }
.perk p { margin: 0; font-family: var(--font-display); font-weight: 500; font-size: 17px; line-height: 1.25; }
.audience__list--row { flex-direction: row; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 64px; }
.promo__paper--inline { margin-top: 16px; background: var(--white); background-image: none; }
.promo__title { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: clamp(26px, 2.6vw, 40px); line-height: 1.08; letter-spacing: -0.02em; text-transform: uppercase; }
.promo__title .accent { color: #3F6DAE; }
@media (max-width: 1240px) { .perks { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 1023px) { .audience__list--row { grid-template-columns: minmax(0, 1fr); margin-top: 40px; } }

/* Этапы на тёмной ленте — контрастная пауза в середине страницы */
.stages-band { margin-top: 0; padding: var(--section-gap) 0 0; background: none; color: var(--ink); }
.stages-band .section__note { color: #C5D6EB; }
.stages-band .eyebrow { color: rgba(255, 255, 255, 0.8); }
.stages-band .stages__board { color: var(--ink); }

/* ===== Мобильная версия: кейсы карточками друг под другом ===== */
@media (max-width: 767px) {
	.accordion-cases { flex-direction: column; height: auto; }
	.acase, .acase.is-active { flex: 0 0 auto; }
	.acase__link { height: auto; min-height: 0; }
	.acase__shot { position: relative; inset: auto; aspect-ratio: 4 / 3; transform: none !important; }
	.acase__vlabel { display: none; }
	.acase__body { position: relative; left: auto; right: auto; bottom: auto; max-width: none; margin: -40px 12px 12px; opacity: 1; transform: none; pointer-events: auto; }
	.tech__card { min-height: 0; }
	.tech__logos { height: 64px; }
	.tech__logos svg[width="96"] { width: 64px; height: 64px; }
}

/* Первый экран: рейтинги и факты — справа над командой, слева остаются заголовок и форма */
.hero--panel .hero__side { display: flex; flex-direction: column; align-self: stretch; min-width: 0; }
.hero--panel .hero__badges { display: flex; flex-direction: column; align-items: flex-end; gap: 16px; padding: 0 48px 0 0; position: relative; z-index: 2; }
.hero--panel .hero__badges .ratings { margin: 0; }
.hero--panel .hero__badges .hero__facts { flex-direction: column; align-items: flex-end; padding: 0; }
.hero--panel .hero__side .hero__team { margin-top: auto; }
@media (max-width: 1023px) {
	.hero--panel .hero__badges { align-items: flex-start; padding: 24px 0 0; }
	.hero--panel .hero__badges .hero__facts { align-items: flex-start; }
}

/* ===== Страница «Контакты» ===== */
.cpage { padding-top: 32px; display: flex; flex-direction: column; gap: 32px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--ink-2); }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--red); }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }
.cpage__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 48px; }
.cpage__title { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: clamp(40px, 5vw, 80px); line-height: 1; letter-spacing: -0.03em; text-transform: uppercase; }
.cpage__lead { margin: 0; max-width: 520px; font-size: 18px; line-height: 1.4; color: var(--ink-2); }
.cpage__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.ccard { display: flex; flex-direction: column; gap: 16px; padding: 36px; border-radius: var(--radius-l); background: var(--white); min-width: 0; }
.ccard--call { grid-column: span 5; background-color: #BCCFE7; background-image: radial-gradient(70% 90% at 82% 10%, rgba(255,255,255,.6) 0%, rgba(255,255,255,0) 60%), linear-gradient(165deg, #CBDAEE 0%, #AEC4E1 100%); }
.ccard--write { grid-column: span 4; }
.ccard--visit { grid-column: span 3; }
.ccard--req { grid-column: span 12; }
.ccard__label { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #3F6DAE; }
.ccard--call .ccard__label { color: #22436C; }
.ccard__phones { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.ccard__phones li { display: flex; flex-direction: column; gap: 2px; }
.ccard__phones a { font-family: var(--font-display); font-weight: 800; font-size: clamp(24px, 2.2vw, 34px); line-height: 1.1; letter-spacing: -0.02em; color: var(--ink); text-decoration: none; white-space: nowrap; }
.ccard__phones a:hover { color: var(--red); }
.ccard__phones span { font-size: 14px; color: #33435C; }
.ccard__phones .is-free { color: #11643A; font-weight: 600; }
.ccard__btn { align-self: flex-start; margin-top: auto; }
.ccard__mail { display: flex; align-items: center; gap: 10px; min-width: 0; }
.ccard__mail a { font-family: var(--font-display); font-weight: 800; font-size: clamp(22px, 1.9vw, 28px); line-height: 1.1; color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.ccard__mail a:hover { color: var(--red); }
.ccard__mail .copy-btn__tip { right: auto; left: 0; }
.ccard__note { margin: 0; font-size: 16px; line-height: 1.45; color: var(--ink-2); }
.ccard__messengers { list-style: none; margin: auto 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.ccard__messengers a { display: flex; align-items: center; gap: 12px; padding: 10px 16px 10px 10px; border-radius: 16px; background: var(--ground); color: var(--ink); text-decoration: none; font-weight: 700; transition: background-color 0.15s var(--ease), color 0.15s var(--ease); }
.ccard__messengers a:hover { background: var(--line); color: var(--red); }
.ccard__messengers svg, .ccard__messengers img { width: 36px; height: 36px; border-radius: 10px; flex: 0 0 auto; }
.ccard__address { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: clamp(22px, 1.9vw, 28px); line-height: 1.15; }
.ccard__routes { display: flex; flex-direction: column; gap: 8px; }
.ccard--visit .ratings { margin-top: auto; }
.ccard__req-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.ccard__req-copy { position: relative; display: inline-flex; align-items: center; min-height: 40px; padding: 0 18px; border: 0; border-radius: 999px; background: var(--ground); color: var(--ink); font: 700 14px/1 var(--font-text); cursor: pointer; transition: background-color 0.15s var(--ease); }
.ccard__req-copy:hover { background: var(--line); }
.ccard__req-copy.is-done { background: #E3F6EA; color: #11643A; }
.ccard__req-copy.is-done .copy-btn__tip { opacity: 1; transform: none; }
.ccard__req-copy:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 2px; }
.ccard__req { margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px 32px; }
.ccard__req div { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.ccard__req dt { font-size: 13px; color: var(--ink-2); }
.ccard__req dd { margin: 0; font-size: 17px; font-weight: 600; font-variant-numeric: tabular-nums; }
@media (max-width: 1240px) {
	.ccard--call { grid-column: span 6; }
	.ccard--write { grid-column: span 6; }
	.ccard--visit { grid-column: span 12; }
	.ccard__req { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
	.ccard--call, .ccard--write { grid-column: span 12; }
	.ccard { padding: 28px 24px; }
	.ccard__req { grid-template-columns: minmax(0, 1fr); }
}

/* Контакты: копирование справа от почты, мессенджеры в одну строку пополам */
.ccard__mail .copy-btn { order: 2; }
.ccard__mail .copy-btn__tip { left: auto; right: 0; }
.ccard--contact .ccard__messengers { display: flex; flex-direction: row; flex-wrap: nowrap; gap: 8px; }
.ccard--contact .ccard__messengers a { display: inline-flex; width: auto; min-width: 0; }
.ccard--contact .ccard__messengers span { white-space: nowrap; }

/* Ссылки не растягиваются на всю ширину колонки: активна только сама надпись */
.ccard__phones li, .ccard__routes { align-items: flex-start; }
.ccard__phones a { align-self: flex-start; }

/* Контакты: как нас найти */
.cfind { display: flex; flex-direction: column; gap: 20px; margin-top: 48px; }
.cfind__title { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: clamp(24px, 2.4vw, 36px); line-height: 1.1; letter-spacing: -0.02em; text-transform: uppercase; }
.cfind__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: step; }
.cfind__step { display: flex; flex-direction: column; gap: 14px; counter-increment: step; }
.cfind__step img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-l); }
.cfind__step p { margin: 0; display: flex; gap: 12px; align-items: baseline; font-size: 17px; font-weight: 600; line-height: 1.35; }
.cfind__step p::before { content: counter(step); flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: var(--red); color: var(--white); font-size: 14px; font-weight: 700; transform: translateY(-1px); }
.ccard--visit .open-status { margin-top: -4px; }
@media (max-width: 767px) { .cfind__steps { grid-template-columns: minmax(0, 1fr); } }

/* ===== Страница «О компании» ===== */
.about-hero { display: flex; flex-direction: column; gap: 20px; max-width: 1100px; }
.about-hero__lead { margin: 0; max-width: 760px; font-size: 20px; line-height: 1.45; color: var(--ink-2); }
.mission { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 48px 64px; align-items: center; }
.mission__body { display: flex; flex-direction: column; gap: 20px; }
.mission__text { display: flex; flex-direction: column; gap: 14px; max-width: 720px; font-size: 18px; line-height: 1.5; color: var(--ink-2); }
.mission__text p { margin: 0; }
.mission__person { position: relative; margin: 0; border-radius: 32px; overflow: hidden; padding-top: 32px;
	background-color: #BCCFE7; background-image: radial-gradient(70% 90% at 82% 10%, rgba(255,255,255,.6) 0%, rgba(255,255,255,0) 60%), linear-gradient(165deg, #CBDAEE 0%, #AEC4E1 100%); }
.mission__person img { display: block; width: 100%; max-width: 560px; height: auto; margin: 0 auto; }
.mission__person figcaption { position: absolute; left: 20px; bottom: 20px; right: 20px; display: flex; flex-direction: column; gap: 2px; padding: 16px 20px; border-radius: var(--radius-m); background: rgba(255, 255, 255, 0.92); }
.mission__person b { font-family: var(--font-display); font-weight: 800; font-size: 18px; }
.mission__person span { font-size: 14px; color: var(--ink-2); }

/* Отзывы (сквозной блок и страница /otzyvy/) */
.reviews { display: flex; flex-direction: column; gap: 32px; }
.reviews .rpage__widgets { margin-top: 0; }

/* Услуги */

/* Реквизиты */
.req__box { display: flex; flex-direction: column; gap: 28px; padding: 40px; border-radius: var(--radius-l); background: var(--white); }
.req__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.req__title { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: clamp(24px, 2.4vw, 36px); line-height: 1.1; text-transform: uppercase; letter-spacing: -0.02em; }
.req__copy { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border: 0; border-radius: 999px; background: var(--ground); color: var(--ink); font: 700 15px/1 var(--font-text); cursor: pointer; transition: background-color 0.15s var(--ease); }
.req__copy:hover { background: var(--line); }
.req__copy.is-done { background: #E3F6EA; color: #11643A; }
.req__copy.is-done .copy-btn__tip { opacity: 1; transform: none; }
.req__copy:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 2px; }
.req__list { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 40px; }
.req__list div { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.req__list dt { font-size: 13px; color: var(--ink-2); }
.req__list dd { margin: 0; font-size: 17px; font-weight: 600; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }

@media (max-width: 1240px) {

	.req__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1023px) {
	.mission { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 767px) {
	.req__list { grid-template-columns: minmax(0, 1fr); }
	.req__box { padding: 28px 24px; }
	.rpage__frame { height: 600px; }
}

/* Фото основателя на «О компании» — без подложки, подпись под фото */
.mission__person { background: none; background-image: none; padding-top: 0; border-radius: 0; overflow: visible; }
.mission__person figcaption { position: static; margin-top: 12px; padding: 0; background: none; align-items: center; text-align: center; }

/* Отзывы: подпись Яндекса внизу виджета */
.reviews__frame { position: relative; }
.reviews__credit { position: absolute; left: 0; right: 0; bottom: 8px; padding: 0 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: center; font-size: 10px; color: #b3b3b3; text-decoration: none; }

/* Видео из Дзена */
.trust__video { position: relative; aspect-ratio: 16 / 9; max-height: 720px; overflow: hidden; background: var(--ink); background-image: none; }
.trust__video iframe { display: block; width: 100%; height: 100%; border: 0; background: transparent; }
/* Фасад-постер: показывает превью, пока посетитель не нажмёт «Смотреть». */
.trust__video-facade { position: absolute; inset: 0; z-index: 3; display: block; width: 100%; height: 100%; padding: 0; border: 0; background: var(--ink); color: var(--white); cursor: pointer; overflow: hidden; text-align: left; }
.trust__video-facade img { display: block; width: 100%; height: 100%; object-fit: cover; opacity: 0.78; }
.trust__video-facade::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 11, 14, 0.05) 35%, rgba(11, 11, 14, 0.62) 100%); }
.trust__video-facade-play { position: absolute; top: 50%; left: 50%; z-index: 1; transform: translate(-50%, -50%); }
.trust__video-facade-label { position: absolute; left: 28px; bottom: 22px; z-index: 1; color: var(--white); font: 600 15px/1.3 var(--font-text); }
.trust__video-facade:focus-visible { outline: 3px solid var(--white); outline-offset: -5px; }
.trust__video.is-video-started .trust__video-facade { display: none; }
.trust__video > .site63-yandex-gate,
.trust__video > iframe { position: relative; z-index: 1; }
@media (max-width: 767px) {
	.trust__video-facade-label { left: 18px; bottom: 16px; font-size: 13px; }
	.trust__video-facade-play { transform: translate(-50%, -50%) scale(0.78); }
}
/* Видео + карточка «Давайте знакомиться» — заполняют всю ширину */
.trust__media { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 16px; margin-top: 24px; align-items: stretch; }
.trust__media .trust__video { margin-top: 0; max-height: none; aspect-ratio: 16 / 9; width: 100%; }
.trust__about { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: 36px; border-radius: var(--radius-l);
	background-color: #BCCFE7; background-image: radial-gradient(70% 90% at 82% 10%, rgba(255,255,255,.6) 0%, rgba(255,255,255,0) 60%), linear-gradient(165deg, #CBDAEE 0%, #AEC4E1 100%); }
.trust__about-title { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: clamp(22px, 2vw, 30px); line-height: 1.12; letter-spacing: -0.02em; }
.trust__about-text { margin: 0; font-size: 16px; line-height: 1.45; color: #22334D; }
.trust__facts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; width: 100%; }
.trust__facts li { display: flex; align-items: baseline; gap: 12px; padding-top: 12px; border-top: 1px solid rgba(34, 51, 77, 0.15); }
.trust__facts b { flex: 0 0 auto; min-width: 84px; font-family: var(--font-display); font-weight: 800; font-size: 24px; line-height: 1; }
.trust__facts span { font-size: 15px; line-height: 1.35; color: #22334D; }
.trust__about .btn { margin-top: auto; }
@media (max-width: 1023px) { .trust__media { grid-template-columns: minmax(0, 1fr); } }

/* ===== Страница «Отзывы» ===== */
.rpage__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 48px; }
.rpage__intro { display: flex; flex-direction: column; gap: 20px; max-width: 760px; }
.rpage__lead { margin: 0; font-size: 19px; line-height: 1.45; color: var(--ink-2); }
.rpage__side { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.rpage__leave { display: flex; flex-wrap: wrap; gap: 10px; }
.rpage__btn-2gis { background: var(--white); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.rpage__btn-2gis:hover { background: var(--ink); color: var(--white); box-shadow: none; }
.rpage__widgets { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.rpage__col { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.rpage__src { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: 20px; }
.rpage__frame { height: 800px; overflow: hidden; border-radius: var(--radius-l); background: var(--white); }
.rpage__frame--ya { max-width: 730px; background: none; }
.rpage__frame iframe { display: block; width: 100%; height: 100%; border: 0; }
@media (max-width: 1023px) { .rpage__widgets { grid-template-columns: minmax(0, 1fr); } .rpage__frame--ya { max-width: none; } }

/* ===== Страница «Гарантия» ===== */
.wpage__hero { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px 64px; align-items: end; }
.wpage__intro { display: flex; flex-direction: column; gap: 20px; max-width: 980px; }
.wpage__lead { margin: 0; max-width: 820px; font-size: 19px; line-height: 1.45; color: var(--ink-2); }
.wpage__badge { display: flex; align-items: center; gap: 16px; padding: 28px 36px; border-radius: var(--radius-l); background: var(--red); color: var(--white); }
.wpage__badge b { font-family: var(--font-display); font-weight: 800; font-size: 96px; line-height: 0.9; letter-spacing: -0.05em; }
.wpage__badge span { font-size: 17px; font-weight: 700; line-height: 1.25; }
.wpage__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 16px; }
.wcard { display: flex; flex-direction: column; gap: 20px; padding: 40px; border-radius: var(--radius-l); background: var(--white); }
.wcard--in { background-color: #BCCFE7; background-image: radial-gradient(70% 90% at 82% 10%, rgba(255,255,255,.6) 0%, rgba(255,255,255,0) 60%), linear-gradient(165deg, #CBDAEE 0%, #AEC4E1 100%); }
.wcard__title { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: clamp(22px, 2vw, 30px); line-height: 1.15; }
.wcard__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.wcard__list li { position: relative; padding-left: 40px; font-size: 18px; line-height: 1.4; }
.wcard__list li::before { content: ""; position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 8px; background-position: center; background-repeat: no-repeat; background-size: 16px; }
.wcard--in .wcard__list li::before { background-color: #1E9E5A; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.wcard--out .wcard__list li::before { background-color: var(--ground); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 7l10 10M17 7L7 17' fill='none' stroke='%23F0142F' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E"); }
.wcard__note { margin: auto 0 0; font-size: 15px; font-weight: 600; color: #11643A; }
.wpage__why { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 64px; padding: 40px; border-radius: var(--radius-l); background: var(--ink); color: var(--white); }
.wpage__why div { display: flex; flex-direction: column; gap: 12px; }
.wpage__why-title { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: clamp(22px, 2vw, 30px); line-height: 1.15; }
.wpage__why p { margin: 0; font-size: 17px; line-height: 1.5; color: rgba(255, 255, 255, 0.82); }
.wpage__why .wpage__promise { align-self: center; font-family: var(--font-display); font-weight: 700; font-size: clamp(19px, 1.6vw, 24px); line-height: 1.35; color: var(--white); }
@media (max-width: 1023px) {
	.wpage__hero, .wpage__grid, .wpage__why { grid-template-columns: minmax(0, 1fr); }
	.wpage__badge { justify-self: start; }
}
@media (max-width: 767px) { .wcard, .wpage__why { padding: 28px 24px; } .wpage__badge b { font-size: 72px; } }

/* ===== Страница «Лучше честно» ===== */
.refuse__hero { display: flex; flex-direction: column; gap: 20px; max-width: 1100px; }
.refuse__title { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: clamp(36px, 4.6vw, 72px); line-height: 1.02; letter-spacing: -0.03em; text-transform: uppercase; text-wrap: balance; }
.refuse__lead { margin: 0; max-width: 760px; font-size: 19px; line-height: 1.45; color: var(--ink-2); }
.refuse { padding-top: 64px; }
.refuse__aside { gap: 20px; align-items: flex-start; }
.refuse__count { margin: 0; display: flex; align-items: center; gap: 16px; }
.refuse__count b { font-family: var(--font-display); font-weight: 800; font-size: 120px; line-height: 0.85; letter-spacing: -0.05em; color: var(--red); }
.refuse__count span { max-width: 160px; font-family: var(--font-display); font-weight: 700; font-size: 22px; line-height: 1.15; }
.refuse__aside-text { margin: 0; max-width: 360px; font-size: 17px; line-height: 1.45; color: var(--ink-2); }
.refuse__q { display: flex; align-items: baseline; gap: 16px; }
.refuse__num { flex: 0 0 auto; font-style: normal; font-family: var(--font-display); font-weight: 800; font-size: 15px; color: var(--red); min-width: 22px; }
.refuse__list .faq__a { padding-left: 38px; }
.refuse__list .faq__a b { color: var(--ink); }
.refuse__yes-wrap { padding-top: var(--section-gap); }
.refuse__yes { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 64px; padding: 48px; border-radius: var(--radius-l); background: var(--ink); color: var(--white); }
.refuse__yes div { display: flex; flex-direction: column; gap: 14px; }
.refuse__yes-title { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: clamp(28px, 3vw, 44px); line-height: 1.05; text-transform: uppercase; letter-spacing: -0.02em; }
.refuse__yes p { margin: 0; font-size: 17px; line-height: 1.5; color: rgba(255, 255, 255, 0.82); }
.refuse__yes .refuse__yes-cta { font-family: var(--font-display); font-weight: 700; font-size: clamp(19px, 1.6vw, 24px); line-height: 1.3; color: var(--white); }
@media (max-width: 1023px) { .refuse__yes { grid-template-columns: minmax(0, 1fr); } .refuse__count b { font-size: 88px; } }
@media (max-width: 767px) { .refuse__yes { padding: 32px 24px; } .refuse__list .faq__a { padding-left: 0; } }
/* Сотрудники: карточки ниже, фото мельче */
.staff__photo { aspect-ratio: 5 / 4; }
.staff__photo img { width: 78%; }
.staff__photo img { width: 72%; }
/* «Лучше честно»: причины слева, «9 причин» справа (на телефоне — сверху) */
@media (min-width: 1024px) {
	.refuse { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }
	.refuse__aside { order: 2; padding-left: 40px; }
}
@media (min-width: 1024px) {
	.refuse__aside { justify-self: end; width: 100%; max-width: 380px; padding-left: 0; }
}

/* ===== Страница «Вакансии» ===== */
.jobs__hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: 32px 64px; align-items: end; }
.jobs__intro { display: flex; flex-direction: column; gap: 20px; }
.jobs__lead { margin: 0; max-width: 720px; font-size: 19px; line-height: 1.45; color: var(--ink-2); }
.jobs__cv { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 32px; border-radius: var(--radius-l);
	background-color: #BCCFE7; background-image: radial-gradient(70% 90% at 82% 10%, rgba(255,255,255,.6) 0%, rgba(255,255,255,0) 60%), linear-gradient(165deg, #CBDAEE 0%, #AEC4E1 100%); }
.jobs__status { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.7); font-size: 13px; font-weight: 700; color: #8A3A12; }
.jobs__status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #E0782B; }
.jobs__status.is-open { color: #11643A; }
.jobs__status.is-open::before { background: #1E9E5A; }
.jobs__cv-title { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: 24px; line-height: 1.15; }
.jobs__cv .ccard__mail .copy-btn { order: 2; background: rgba(255,255,255,.7); }
.jobs__cv-note { margin: 0; font-size: 15px; line-height: 1.4; color: #22334D; }
.jobs__cv .ccard__messengers { width: 100%; margin: 0; }
.jobs__cv .ccard__messengers a { background: rgba(255,255,255,.8); }
.jobs__perks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.jobs__perks li { display: flex; flex-direction: column; gap: 8px; padding: 32px; border-radius: var(--radius-l); background: var(--white); }
.jobs__perks h3 { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: 22px; line-height: 1.2; }
.jobs__perks p { margin: 0; font-size: 16px; line-height: 1.45; color: var(--ink-2); }
.jobs__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 20px; min-width: 0; }
.jobs__badge { flex: 0 0 auto; padding: 4px 10px; border-radius: 999px; background: #1E9E5A; color: var(--white); font-family: var(--font-text); font-size: 12px; font-weight: 700; }
.jobs__item.is-archive .jobs__badge { background: var(--line); color: var(--ink-2); }
.jobs__name { font-size: clamp(20px, 1.7vw, 26px); font-weight: 700; }
.jobs__salary { font-family: var(--font-text); font-size: 16px; font-weight: 600; color: var(--ink-2); }
.jobs__body { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 48px; }
.jobs__block h3 { margin: 0 0 10px; font-family: var(--font-display); font-weight: 800; font-size: 18px; color: var(--ink); }
.jobs__block ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.jobs__links { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 12px 32px; }
@media (max-width: 1023px) {
	.jobs__hero, .jobs__body { grid-template-columns: minmax(0, 1fr); }
	.jobs__perks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) { .jobs__perks { grid-template-columns: minmax(0, 1fr); } .jobs__cv { padding: 24px; } }

.jobs__links { gap: 10px; }
.jobs__board { display: inline-flex; align-items: center; gap: 12px; min-height: 52px; padding: 8px 18px 8px 10px; border-radius: 16px; background: var(--white); color: var(--ink); font-weight: 700; text-decoration: none; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow 0.15s var(--ease), color 0.15s var(--ease); }
.jobs__board:hover { color: var(--red); box-shadow: inset 0 0 0 1.5px var(--ink); }
.jobs__board img { display: block; height: auto; }
.faq__a .jobs__board { color: var(--ink); }
.faq__a .jobs__board:hover { color: var(--red); }
.jobs__head { align-items: center; }
.jobs__badge { line-height: 1.2; }

/* ===== Страница «Акции» ===== */
.akcii__hero { display: flex; flex-direction: column; gap: 20px; }
.akcii__lead { margin: 0; max-width: 720px; font-size: 19px; line-height: 1.45; color: var(--ink-2); }
.akcii__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.pcard { position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; min-height: 460px; padding: 40px; border-radius: var(--radius-l); background: var(--white); }
.pcard--hosting { color: var(--white); background-color: var(--red); background-image: radial-gradient(120% 90% at 100% 0%, rgba(255,255,255,.26) 0%, rgba(255,255,255,0) 55%), linear-gradient(150deg, #FF3048 0%, #F0142F 45%, #B80C22 100%); }
.pcard__top { display: flex; flex-wrap: wrap; gap: 8px; }
.pcard__status, .pcard__left { margin: 0; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; background: var(--ground); color: var(--ink); }
.pcard--hosting .pcard__status, .pcard--hosting .pcard__left { background: rgba(255,255,255,.2); color: var(--white); }
.pcard__left { background: var(--ink); color: var(--white); }
.pcard__big { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; }
.pcard__big b { font-family: var(--font-display); font-weight: 800; font-size: clamp(56px, 6vw, 96px); line-height: 0.95; letter-spacing: -0.04em; white-space: nowrap; }
.pcard__big span { font-size: 17px; font-weight: 700; opacity: .85; }
.pcard--referral .pcard__big b { color: var(--red); }
.pcard__title { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: clamp(22px, 2vw, 30px); line-height: 1.15; }
.pcard__text { margin: 0; max-width: 460px; font-size: 17px; line-height: 1.45; opacity: .92; }
.pcard__steps { margin: 0; padding: 0; list-style: none; counter-reset: ps; display: flex; flex-direction: column; gap: 10px; }
.pcard__steps li { counter-increment: ps; display: flex; gap: 12px; font-size: 16px; line-height: 1.4; color: var(--ink-2); }
.pcard__steps li::before { content: counter(ps); flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: var(--red); color: var(--white); font-size: 13px; font-weight: 700; }
.pcard__btn { margin-top: auto; }
.btn--light { background: var(--white); color: var(--ink); }
.btn--light:hover { background: var(--ink); color: var(--white); }
.pcard--hosting::after { content: ""; position: absolute; right: -40px; bottom: -40px; z-index: -1; width: 260px; height: 260px; border-radius: 40px; border: 2px solid rgba(255,255,255,.3); transform: rotate(12deg); box-shadow: 30px -30px 0 -2px rgba(255,255,255,.12); }
.pcard.is-over { opacity: .6; filter: grayscale(1); }

/* Колесо фортуны */
.wheel__box { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 48px 72px; align-items: center; padding: 56px; border-radius: 32px;
	background-color: #BCCFE7; background-image: radial-gradient(70% 90% at 82% 10%, rgba(255,255,255,.6) 0%, rgba(255,255,255,0) 60%), linear-gradient(165deg, #CBDAEE 0%, #AEC4E1 100%); }
.wheel__stage { position: relative; width: 100%; max-width: 520px; aspect-ratio: 1; justify-self: center; }
.wheel__disc { position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 10px var(--white), 0 24px 60px rgba(28, 58, 104, 0.25);
	background: conic-gradient(var(--red) 0 90deg, var(--white) 90deg 180deg, var(--ink) 180deg 270deg, #3F6DAE 270deg 360deg); }
.wheel__label { position: absolute; left: 50%; top: 50%; width: 34%; transform-origin: 0 50%; transform: rotate(calc(var(--i) * 90deg - 45deg)) translateX(40%); margin-top: -0.6em;
	font-family: var(--font-display); font-weight: 800; font-size: clamp(13px, 1.3vw, 18px); line-height: 1.2; text-align: center; color: var(--white); }
.wheel__label[style*="--i: 1"] { color: var(--ink); }
.wheel__pointer { position: absolute; left: 50%; top: -18px; z-index: 2; width: 0; height: 0; margin-left: -18px; border-left: 18px solid transparent; border-right: 18px solid transparent; border-top: 34px solid var(--ink); filter: drop-shadow(0 4px 6px rgba(0,0,0,.2)); }
.wheel__hub { position: absolute; left: 50%; top: 50%; z-index: 2; width: 22%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: var(--white); box-shadow: 0 6px 20px rgba(0,0,0,.18);
	display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 800; font-size: clamp(22px, 2.4vw, 36px); color: var(--red); }
.wheel__body { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; min-width: 0; }
.wheel__text { margin: 0; max-width: 520px; font-size: 18px; line-height: 1.45; color: #22334D; }
.wheel__spin:disabled { opacity: .7; cursor: progress; }
.wheel__result { margin: 0; min-height: 1.4em; font-family: var(--font-display); font-weight: 800; font-size: 20px; line-height: 1.3; color: var(--ink); }
.wheel__result.is-win { color: var(--red); }
.wheel .callback { width: 100%; }
.wheel .callback__field .callback__phone { background: var(--white); }
@media (max-width: 1023px) { .wheel__box { grid-template-columns: minmax(0, 1fr); padding: 40px 24px; } .akcii__grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 767px) { .pcard { min-height: 0; padding: 28px 24px; } }
/* Акции: все карточки на белом, акцент только цифрой */
.pcard--hosting { color: var(--ink); background: var(--white); background-image: none; }
.pcard--hosting .pcard__big b { color: var(--red); }
.pcard--hosting .pcard__status { background: var(--ground); color: var(--ink); }
.pcard--hosting .pcard__left { background: var(--ink); color: var(--white); }
.pcard--hosting .pcard__text { color: var(--ink-2); opacity: 1; }
.pcard--hosting::after { border-color: var(--line); box-shadow: 30px -30px 0 -2px var(--ground); }

/* Колесо — картинка со старого сайта (оригинал 299 px, поэтому крупнее не растягиваем) */
.wheel__stage { max-width: 360px; }
.wheel__disc--img { background: none; box-shadow: 0 0 0 8px var(--white), 0 24px 60px rgba(28, 58, 104, 0.25); overflow: hidden; }
.wheel__disc--img img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* Метка «Действует…» — зелёная, как статус «работаем» */
.pcard .pcard__status, .pcard--hosting .pcard__status { display: inline-flex; align-items: center; gap: 8px; background: #E3F6EA; color: #11643A; }
.pcard .pcard__status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #1E9E5A; }
.pcard.is-over .pcard__status { background: var(--ground); color: var(--ink-2); }
.pcard.is-over .pcard__status::before { background: var(--ink-2); }

/* ===== Страница «Сайт в рассрочку» ===== */

.inst__facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.inst__fact { display: flex; flex-direction: column; gap: 6px; padding: 36px; border-radius: var(--radius-l); background: var(--white); }
.inst__fact b { font-family: var(--font-display); font-weight: 800; font-size: clamp(48px, 4.6vw, 80px); line-height: 0.95; letter-spacing: -0.04em; color: var(--red); white-space: nowrap; }
.inst__fact span { font-family: var(--font-display); font-weight: 700; font-size: 20px; }
.inst__fact p { margin: 10px 0 0; font-size: 16px; line-height: 1.45; color: var(--ink-2); }
.inst__plus-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.inst__plus-list li { display: flex; flex-direction: column; gap: 10px; padding: 32px 0 0; border-top: 2px solid var(--ink); }
.inst__plus-list h3 { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: clamp(20px, 1.7vw, 26px); line-height: 1.2; }
.inst__plus-list p { margin: 0; max-width: 420px; font-size: 17px; line-height: 1.45; color: var(--ink-2); }
.inst__terms-wrap { padding-top: 64px; }
.inst__terms { border-radius: var(--radius-l); background: var(--white); }
.inst__terms summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 32px; list-style: none; cursor: pointer; font-family: var(--font-display); font-weight: 700; font-size: 18px; }
.inst__terms summary::-webkit-details-marker { display: none; }
.inst__terms summary .faq__icon { background: var(--ground); }
.inst__terms[open] summary .faq__icon { background: var(--red); transform: rotate(45deg); }
.inst__terms[open] summary .faq__icon::before, .inst__terms[open] summary .faq__icon::after { background: var(--white); }
.inst__terms-body { display: flex; flex-direction: column; gap: 12px; padding: 0 32px 28px; max-width: 980px; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.inst__terms-body p { margin: 0; }
@media (max-width: 1023px) {

	.inst__facts, .inst__plus-list { grid-template-columns: minmax(0, 1fr); }
}
/* Рассрочка: первый экран на белом, как плашка рассрочки в блоке гарантий */

/* Рассрочка: преимущества и условия — доработанный вид */
.inst__plus-list { gap: 0; padding: 12px; border-radius: var(--radius-l); background: var(--white); }
.inst__plus-list li { gap: 14px; padding: 32px; border-top: 0; }
.inst__plus-list li + li { border-left: 1px solid var(--line); }
.inst__ico { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 16px; background: #FDE6E9; color: var(--red); }
.inst__ico--dark { background: var(--ink); color: var(--white); }
.inst__terms-wrap { padding-top: 16px; }
.inst__terms { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: 32px 56px; padding: 40px; border-radius: var(--radius-l); background: var(--white); }
.inst__terms-head { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.inst__terms-title { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: clamp(24px, 2.2vw, 32px); line-height: 1.1; }
.inst__terms-note { margin: 0; max-width: 340px; font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.inst__terms-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 40px; }
.inst__terms-list li { display: flex; flex-direction: column; gap: 6px; padding-top: 16px; border-top: 1px solid var(--line); }
.inst__terms-list b { font-family: var(--font-display); font-weight: 800; font-size: 18px; line-height: 1.25; }
.inst__terms-list span { font-size: 15px; line-height: 1.5; color: var(--ink-2); }
@media (max-width: 1023px) {
	.inst__plus-list li + li { border-left: 0; border-top: 1px solid var(--line); }
	.inst__terms { grid-template-columns: minmax(0, 1fr); padding: 28px 24px; }
}
@media (max-width: 767px) { .inst__terms-list { grid-template-columns: minmax(0, 1fr); } .inst__plus-list li { padding: 24px 16px; } }
.inst__ico svg { display: block; width: 28px; height: 28px; }

/* ===== Страница «Уведомление в РКН» ===== */

.rkn__fines-box { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 64px; align-items: center; padding: 48px; border-radius: var(--radius-l); background: var(--ink); color: var(--white); }
.rkn__fines-head { display: flex; flex-direction: column; gap: 14px; }
.rkn__fines-head .eyebrow { color: rgba(255,255,255,.75); }
.rkn__fines-title { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: clamp(28px, 3vw, 44px); line-height: 1.05; text-transform: uppercase; letter-spacing: -0.02em; }
.rkn__fines-head p { margin: 0; font-size: 17px; line-height: 1.5; color: rgba(255,255,255,.8); }
.rkn__fines-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.rkn__fines-list li { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 24px; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.15); }
.rkn__fines-list li:first-child { border-top: 1px solid rgba(255,255,255,.15); }
.rkn__fines-list span { font-size: 17px; color: rgba(255,255,255,.8); }
.rkn__fines-list b { font-family: var(--font-display); font-weight: 800; font-size: clamp(22px, 2vw, 30px); color: #FF5A6E; white-space: nowrap; font-variant-numeric: tabular-nums; }
.rkn__steps { list-style: none; margin: 0; padding: 0; counter-reset: rs; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.rkn__steps li { counter-increment: rs; display: flex; flex-direction: column; gap: 10px; padding: 28px; border-radius: var(--radius-l); background: var(--white); }
.rkn__steps li::before { content: counter(rs); display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin-bottom: 6px; border-radius: 12px; background: #FDE6E9; color: var(--red); font-family: var(--font-display); font-weight: 800; font-size: 18px; }
.rkn__steps h3 { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: 19px; line-height: 1.2; }
.rkn__steps p { margin: 0; font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.rkn__need-box { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 32px 64px; align-items: start; }
.rkn__need-box > div { display: flex; flex-direction: column; gap: 20px; }
.rkn__need-note { margin: 0; max-width: 420px; font-size: 17px; line-height: 1.45; color: var(--ink-2); }
.rkn__need-list { list-style: none; margin: 0; padding: 12px 32px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; border-radius: var(--radius-l); background: var(--white); }
.rkn__need-list li { position: relative; padding: 16px 0 16px 28px; border-bottom: 1px solid var(--line); font-size: 16px; line-height: 1.4; }
.rkn__need-list li::before { content: ""; position: absolute; left: 0; top: 22px; width: 10px; height: 10px; border-radius: 3px; background: var(--red); }
@media (max-width: 1240px) { .rkn__steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 1023px) {
	.rkn__fines-box, .rkn__need-box { grid-template-columns: minmax(0, 1fr); }
	.rkn__fines-box { padding: 32px 24px; }
	.rkn__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) { .rkn__steps, .rkn__need-list { grid-template-columns: minmax(0, 1fr); } .rkn__need-list { padding: 8px 20px; } }

/* ===== Страница «Курсы по созданию сайтов» ===== */

.course__for { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.course__for li { display: flex; flex-direction: column; gap: 12px; padding: 36px; border-radius: var(--radius-l); background: var(--white); }
.course__for h3 { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: clamp(22px, 2vw, 28px); line-height: 1.15; }
.course__for p { margin: 0; font-size: 16px; line-height: 1.5; color: var(--ink-2); }
.course__learn { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 32px 64px; align-items: start; }
.course__learn-head { position: sticky; top: calc(var(--top-h) + 32px); display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.course__learn-list { list-style: none; margin: 0; padding: 0; counter-reset: cl; border-top: 1px solid var(--line); }
.course__learn-list li { counter-increment: cl; display: flex; gap: 20px; align-items: baseline; padding: 20px 0; border-bottom: 1px solid var(--line); font-size: 19px; line-height: 1.35; font-weight: 600; }
.course__learn-list li::before { content: counter(cl, decimal-leading-zero); flex: 0 0 auto; min-width: 32px; font-family: var(--font-display); font-weight: 800; font-size: 15px; color: var(--red); }
.course__why { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 32px 64px; align-items: center; }
.course__photo { position: relative; margin: 0; border-radius: 32px; overflow: hidden; }
.course__photo img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; }
.course__photo figcaption { position: absolute; left: 16px; right: 16px; bottom: 16px; display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; border-radius: var(--radius-m); background: rgba(255,255,255,.94); }
.course__photo b { font-family: var(--font-display); font-weight: 800; font-size: 17px; }
.course__photo span { font-size: 14px; line-height: 1.4; color: var(--ink-2); }
.course__why-body { display: flex; flex-direction: column; gap: 20px; }
.course__why-list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.course__why-list li { display: flex; flex-direction: column; gap: 8px; padding: 28px; border-radius: var(--radius-l); background: var(--white); }
.course__why-list h3 { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: 20px; line-height: 1.2; }
.course__why-list p { margin: 0; font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.course__why-note { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 19px; line-height: 1.35; }
@media (max-width: 1023px) {
	.course__learn, .course__why { grid-template-columns: minmax(0, 1fr); }

	.course__for { grid-template-columns: minmax(0, 1fr); }
	.course__learn-head { position: static; }
	.course__photo { max-width: 480px; }
}
@media (max-width: 767px) { .course__why-list { grid-template-columns: minmax(0, 1fr); } .course__learn-list li { font-size: 17px; } }
/* Курсы: цифры не вылезают из карточек, сетка без пустых ячеек */

/* ===== Страница «Техподдержка» ===== */
.tp__hero { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr); gap: 16px; }
.tp__intro { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; padding: 48px; border-radius: 32px;
	background-color: #BCCFE7; background-image: radial-gradient(70% 90% at 82% 10%, rgba(255,255,255,.6) 0%, rgba(255,255,255,0) 60%), linear-gradient(165deg, #CBDAEE 0%, #AEC4E1 100%); }
.tp__title { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: clamp(32px, 3.6vw, 56px); line-height: 1.05; letter-spacing: -0.03em; text-transform: uppercase; text-wrap: balance; }
.tp__title span { color: #2E5A99; }
.tp__lead { margin: 0; max-width: 640px; font-size: 18px; line-height: 1.45; color: #22334D; }
.tp__btns { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.tp__facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.tp__fact { display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; padding: 28px; border-radius: var(--radius-l); background: var(--white); }
.tp__fact b { font-family: var(--font-display); font-weight: 800; font-size: clamp(32px, 3vw, 48px); line-height: 1; letter-spacing: -0.03em; color: var(--red); }
.tp__fact span { font-size: 15px; line-height: 1.4; color: var(--ink-2); }
.tp__fact--dark { background: var(--ink); }
.tp__fact--dark b { color: var(--white); }
.tp__fact--dark span { color: rgba(255,255,255,.8); }
.tpc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 400px); gap: 16px; align-items: start; }
.tpc__main { padding: 24px; border-radius: var(--radius-l); background: var(--white); }
.tpc__tools { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 8px 16px; }
.tpc__tool { min-height: 40px; padding: 0 16px; border: 0; border-radius: 999px; background: var(--ground); color: var(--ink); font: 700 14px/1 var(--font-text); cursor: pointer; }
.tpc__tool:hover { background: var(--line); }
.tpc__tool--green { background: #1E9E5A; color: var(--white); transition: background-color 0.2s var(--ease); }
.tpc__tool--green:hover { background: #17834A; }
.tpc__tool:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 2px; }
.tpc__list { list-style: none; margin: 0; padding: 0; }
.tpc__row { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto 140px; align-items: center; gap: 16px; padding: 16px 8px; border-top: 1px solid var(--line); cursor: pointer; border-radius: 12px; }
.tpc__row:hover { background: var(--ground); }
.tpc__row input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tpc__box { width: 24px; height: 24px; border-radius: 7px; box-shadow: inset 0 0 0 1.5px #C9D2DE; background: var(--white); position: relative; transition: box-shadow .15s var(--ease); }
.tpc__box::after { content: ""; position: absolute; inset: 5px; border-radius: 4px; background: var(--red); transform: scale(0); transition: transform .15s var(--ease); }
.tpc__row input:checked + .tpc__box::after { transform: scale(1); }
.tpc__row input:focus-visible + .tpc__box { outline: 3px solid var(--cobalt); outline-offset: 2px; }
.tpc__name { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.tpc__name b { font-size: 16px; line-height: 1.3; }
.tpc__name small { font-size: 13px; line-height: 1.35; color: var(--ink-2); }
.tpc__type { padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.tpc__type--month { background: #E3F6EA; color: #11643A; }
.tpc__type--once { background: var(--ground); color: var(--ink-2); }
.tpc__price { text-align: right; font-family: var(--font-display); font-weight: 800; font-size: 17px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.tpc__price small { font-family: var(--font-text); font-weight: 600; font-size: 12px; color: var(--ink-2); }
.tpc__result { position: sticky; top: calc(var(--top-h) + 32px); display: flex; flex-direction: column; gap: 6px; padding: 32px; border-radius: var(--radius-l);
	background-color: #BCCFE7; background-image: radial-gradient(70% 90% at 82% 10%, rgba(255,255,255,.6) 0%, rgba(255,255,255,0) 60%), linear-gradient(165deg, #CBDAEE 0%, #AEC4E1 100%); }
.tpc__label { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #22436C; }
.tpc__sum { margin: 0 0 12px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.tpc__sum b { font-family: var(--font-display); font-weight: 800; font-size: clamp(36px, 3vw, 48px); line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.tpc__sum s { font-size: 18px; color: #4A5A72; }
.tpc__sum--small b { font-size: 28px; }
.tpc__discount { width: 100%; margin: 4px 0; padding: 8px 16px 8px 8px; gap: 12px; background: var(--white); color: var(--ink-2); box-shadow: 0 6px 18px rgba(16, 32, 64, 0.08); animation: none; text-wrap: pretty; }
.tpc__discount .calc__badge { min-width: 64px; height: 42px; font-size: 19px; background: #C9D3E2; transition: background 0.3s var(--ease); }
.tpc__discount.is-on { background: #E3F6EA; color: #0E5A32; box-shadow: 0 8px 24px rgba(14, 90, 50, 0.18); animation: badge-in 0.35s var(--ease); }
.tpc__discount.is-on .calc__badge { background: #1E9E5A; }
.tpc__count { margin: 4px 0 12px; font-size: 14px; color: #22334D; }
.tpc__result .callback .callback__phone { background: var(--white); }
.tpc__article { margin-top: 16px; padding-top: 16px; border-top: 1px solid rgba(34,67,108,.16); }
.tpc__article p { margin: 0 0 6px; font-size: 14px; line-height: 1.4; color: #22334D; }
.tpc__article .tpc__article-title { margin-bottom: 4px; font-weight: 700; color: var(--ink); }
.tpc__article-link { display: inline-flex; min-height: 38px; align-items: center; margin-top: 8px; padding: 0 18px; border-radius: 999px; background: var(--red); color: var(--white); font: 700 13px/1 var(--font-text); text-decoration: none; transition: background .25s var(--ease); }
.tpc__article-link:hover { background: var(--red-dark); color: var(--white); text-decoration: none; }
.tp__mon { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.tp__mon li { display: flex; flex-direction: column; gap: 10px; padding: 32px; border-radius: var(--radius-l); background: var(--white); }
.tp__mon h3 { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: 20px; line-height: 1.2; }
.tp__mon p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
@media (max-width: 1240px) { .tp__mon { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tpc { grid-template-columns: minmax(0, 1fr); } .tpc__result { position: static; } }
@media (max-width: 1023px) { .tp__hero { grid-template-columns: minmax(0, 1fr); } .tp__intro { padding: 32px 24px; } }
@media (max-width: 767px) {
	.tp__mon { grid-template-columns: minmax(0, 1fr); }
	.tpc__main { padding: 12px; }
	.tpc__row { grid-template-columns: 26px minmax(0, 1fr); row-gap: 8px; }
	.tpc__type { grid-column: 2; justify-self: start; }
	.tpc__price { grid-column: 2; text-align: left; }
}
@media (max-width: 767px) { .tp__title, .price__title, .faqp__title, .refuse__title { font-size: clamp(26px, 7.4vw, 32px); overflow-wrap: anywhere; hyphens: auto; } }
.faq__a a[href^="tel:"] { white-space: nowrap; font-weight: 600; }

/* ===== Страница «SEO-продвижение» ===== */
.seo-p__plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.seo-p__plan { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: 36px; border-radius: var(--radius-l); background: var(--white); }
.seo-p__plan h3 { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: 22px; line-height: 1.2; }
.seo-p__price { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: clamp(32px, 3vw, 44px); line-height: 1; letter-spacing: -0.03em; color: var(--red); font-variant-numeric: tabular-nums; }
.seo-p__text { margin: 0; font-size: 16px; line-height: 1.45; color: var(--ink-2); }
.seo-p__list { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 10px; flex: 1 1 auto; }
.seo-p__list li { position: relative; padding-left: 30px; font-size: 15px; line-height: 1.35; }
.seo-p__list li::before { content: ""; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; background: #E3F6EA url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.6 2.5L14 7.5' fill='none' stroke='%231E9E5A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat; }
.seo-p__plan--blue { justify-content: flex-end; background: var(--white); border: 2px solid var(--red); }
.seo-p__plan--blue { position: relative; overflow: hidden; isolation: isolate; }
.seo-p__ask { position: absolute; z-index: -1; left: -24px; top: -16px; width: 208px; height: auto; transform: rotate(-8deg); pointer-events: none; }
@media (max-width: 767px) { .seo-p__plans .seo-p__plan--blue { padding-top: 125px; } .seo-p__ask { width: 136px; left: -20px; top: -20px; } }
.btn--white { background: var(--white); color: var(--ink); }
.btn--white:hover { background: #E6ECF4; }

.seo-p__start { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 40px; align-items: center; padding: 48px; border-radius: 32px;
	background-color: #BCCFE7; background-image: radial-gradient(70% 90% at 82% 10%, rgba(255,255,255,.6) 0%, rgba(255,255,255,0) 60%), linear-gradient(165deg, #CBDAEE 0%, #AEC4E1 100%); }
.seo-p__start-text { display: flex; flex-direction: column; gap: 18px; }
.seo-p__start-text .h2 { margin: 0; }
.seo-p__start-text > p:not(.eyebrow) { margin: 0; font-size: 17px; line-height: 1.45; color: #22334D; }
.seo-p__case { display: flex; flex-direction: column; gap: 6px; padding: 20px 22px; border-radius: var(--radius-m, 20px); background: var(--white); }
.seo-p__case b { font-family: var(--font-display); font-size: 18px; }
.seo-p__case span { font-size: 15px; line-height: 1.4; color: var(--ink-2); }
.seo-p__shots { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.seo-p__shots li { aspect-ratio: 3 / 5; overflow: hidden; border-radius: 16px; background: var(--white); box-shadow: 0 10px 30px rgba(16, 32, 64, 0.12); }
.seo-p__shots li:nth-child(even) { transform: translateY(24px); }
.seo-p__shots img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: left top; }

.seo-p__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: none; }
.seo-p__steps li { display: flex; flex-direction: column; gap: 12px; padding: 32px; border-radius: var(--radius-l); background: var(--white); }
.seo-p__num { font-family: var(--font-display); font-weight: 800; font-size: 40px; line-height: 1; letter-spacing: -0.03em; color: #2E5A99; }
.seo-p__steps h3 { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: 20px; line-height: 1.2; }
.seo-p__steps p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--ink-2); }

@media (max-width: 1240px) {
	.seo-p__plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.seo-p__plan--blue { grid-column: 1 / -1; }
	.seo-p__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.seo-p__start { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 767px) {
	.seo-p__plans, .seo-p__steps { grid-template-columns: minmax(0, 1fr); }
	.seo-p__plan, .seo-p__steps li { padding: 28px 24px; }
	.seo-p__start { padding: 32px 20px; gap: 28px; }
	.seo-p__shots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.seo-p__shots li:nth-child(even) { transform: none; }
}

/* Выделенная карточка-факт: белая с красной рамкой */
.tp__fact--blue { box-shadow: inset 0 0 0 2px var(--red); }

/* ===== Страница «Разработка логотипа» ===== */
.logo-p__pick { display: inline-block; vertical-align: middle; margin-left: 6px; padding: 4px 10px; border-radius: 999px; background: #E3F6EA; color: #0E5A32; font-family: var(--font-text); font-size: 12px; font-weight: 700; letter-spacing: 0.02em; }
.logo-p__meta { margin: 0 0 8px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; width: 100%; flex: 1 1 auto; align-content: start; }
.logo-p__meta div { padding: 12px 14px; border-radius: 14px; background: var(--ground); }
.logo-p__meta dt { font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: #3F6DAE; }
.logo-p__meta dd { margin: 4px 0 0; font-size: 16px; font-weight: 700; white-space: nowrap; }
.logo-p__works { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.logo-p__works li { position: relative; grid-column: span 2; overflow: hidden; border-radius: var(--radius-l); background: var(--white); aspect-ratio: 1000 / 684; }
.logo-p__works li:nth-child(-n+2) { grid-column: span 3; }
.logo-p__works img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.logo-p__works li:hover img { transform: scale(1.04); }
.logo-p__works span { position: absolute; left: 16px; top: 16px; padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.92); font-size: 14px; font-weight: 700; color: var(--ink); }
@media (max-width: 1023px) { .logo-p__works { grid-template-columns: repeat(2, minmax(0, 1fr)); } .logo-p__works li, .logo-p__works li:nth-child(-n+2) { grid-column: span 1; } .logo-p__works li:first-child { grid-column: 1 / -1; } }
@media (max-width: 767px) { .logo-p__works { grid-template-columns: minmax(0, 1fr); gap: 12px; } .logo-p__works li:first-child { grid-column: auto; } .logo-p__meta div { padding: 10px; } .logo-p__meta dd { font-size: 14px; } }
@media (max-width: 767px) { .faqp__title { hyphens: manual; } }

/* ===== Страница «Частые вопросы» ===== */
.faqp__hero { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; padding: 48px; border-radius: 32px;
	background-color: #BCCFE7; background-image: radial-gradient(70% 90% at 82% 10%, rgba(255,255,255,.6) 0%, rgba(255,255,255,0) 60%), linear-gradient(165deg, #CBDAEE 0%, #AEC4E1 100%); }
.faqp__search { position: relative; display: flex; align-items: center; width: 100%; max-width: 640px; }
.faqp__search svg { position: absolute; left: 22px; width: 22px; height: 22px; color: var(--ink-2); pointer-events: none; }
.faqp__search input { width: 100%; min-height: 48px; padding: 0 24px 0 56px; border: 0; border-radius: 999px; background: var(--white); color: var(--ink); font: 500 17px/1.2 var(--font-text); box-shadow: 0 8px 24px rgba(28, 58, 104, 0.1); }
.faqp__search input:focus { outline: 3px solid var(--cobalt); outline-offset: 2px; }
.faqp { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: 48px 80px; align-items: start; }
.faqp__nav { position: sticky; top: calc(var(--top-h) + 32px); display: flex; flex-direction: column; gap: 16px; }
.faqp__nav ul { list-style: none; margin: 0; padding: 8px; display: flex; flex-direction: column; gap: 2px; border-radius: var(--radius-l); background: var(--white); }
.faqp__nav a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-radius: 14px; color: var(--ink); font-weight: 700; font-size: 16px; text-decoration: none; transition: background-color 0.2s var(--ease), color 0.2s var(--ease); }
.faqp__nav a small { min-width: 28px; padding: 3px 8px; border-radius: 999px; background: var(--ground); color: var(--ink-2); font-size: 12px; text-align: center; }
.faqp__nav a:hover { color: var(--red); }
.faqp__nav a.is-active { background: var(--ground); color: var(--red); }
.faqp__ask { min-height: 330px; padding: 28px; gap: 12px; }
.faqp__ask .seo-p__ask { width: 150px; }
.faqp__ask h3 { font-size: 20px; }
.faqp__groups { display: flex; flex-direction: column; gap: 64px; min-width: 0; }
.faqp__group { scroll-margin-top: calc(var(--top-h) + 32px); }
.faqp__gtitle { margin: 0 0 8px; font-family: var(--font-display); font-weight: 800; font-size: clamp(24px, 2vw, 32px); line-height: 1.15; letter-spacing: -0.02em; color: #2E5A99; }
.faqp__group[hidden], .faq__item[hidden] { display: none; }
.faqp__empty { margin: 0; padding: 32px; border-radius: var(--radius-l); background: var(--white); font-size: 17px; color: var(--ink-2); }
.faqp__empty-btn { padding: 0; border: 0; background: none; color: var(--red); font: inherit; font-weight: 700; cursor: pointer; }
.faq__a ol b { color: var(--ink); }
@media (max-width: 1023px) {
	.faqp { grid-template-columns: minmax(0, 1fr); gap: 32px; }
	.faqp__nav { position: static; }
	.faqp__nav ul { flex-direction: row; overflow-x: auto; scrollbar-width: none; border-radius: 999px; padding: 6px; }
	.faqp__nav ul::-webkit-scrollbar { display: none; }
	.faqp__nav a { white-space: nowrap; border-radius: 999px; padding: 10px 14px; font-size: 15px; }
	.faqp__ask { display: none; }
	.faqp__hero { padding: 32px 24px; }
}
@media (max-width: 767px) { .faqp__search input { font-size: 16px; min-height: 54px; } .faqp__groups { gap: 48px; } }

/* ===== Статья блога ===== */
.post__head { display: flex; flex-direction: column; gap: 18px; max-width: 980px; margin-top: 8px; }
.post__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; font-size: 14px; color: var(--ink-2); }
.post__cat { padding: 6px 12px; border-radius: 999px; background: var(--white); color: #2E5A99; font-weight: 700; text-decoration: none; }
.post__cat:hover { color: var(--red); }
.post__title { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: clamp(30px, 3.6vw, 52px); line-height: 1.1; letter-spacing: -0.03em; text-wrap: balance; }
.post__lead { margin: 0; max-width: 760px; font-size: 20px; line-height: 1.4; color: var(--ink-2); }
.post__top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 32px 56px; align-items: center; }
.post__cover { margin: 0; overflow: hidden; border-radius: 24px; background: #BCCFE7; }
.post__cover img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.post__layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 320px); gap: 48px 56px; align-items: start; margin-top: 48px; }
.post__aside { position: sticky; top: calc(var(--top-h) + 32px); display: flex; flex-direction: column; gap: 16px; }
.post-toc, .post-share { padding: 24px; border-radius: var(--radius-l); background: var(--white); }
.post-toc__title { margin: 0 0 12px; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #3F6DAE; }
.post-toc ol { margin: 0; padding: 0; list-style: none; counter-reset: toc; display: flex; flex-direction: column; gap: 2px; }
.post-toc li { counter-increment: toc; }
.post-toc a { display: flex; gap: 10px; padding: 8px 10px; margin: 0 -10px; border-radius: 12px; font-size: 15px; font-weight: 600; line-height: 1.3; color: var(--ink-2); text-decoration: none; transition: background-color 0.4s var(--ease), color 0.4s var(--ease); }
.post-toc a::before { content: counter(toc, decimal-leading-zero); font-variant-numeric: tabular-nums; color: #AEC4E1; font-weight: 700; transition: color 0.4s var(--ease); }
.post-toc a:hover { color: var(--red); }
.post-toc a.is-active { background: var(--ground); color: var(--ink); }
.post-toc a.is-active::before { color: var(--red); }
.post-share__row { display: flex; flex-wrap: wrap; gap: 8px; }
.post-share__btn { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; padding: 0; border: 0; border-radius: 16px; background: var(--ground); color: var(--ink); cursor: pointer; transition: transform 0.3s var(--ease), background-color 0.3s var(--ease), color 0.3s var(--ease); }
.post-share__btn svg, .post-share__btn img { width: 26px; height: 26px; display: block; }
.post-share__btn:hover { transform: translateY(-2px); background: #E6ECF4; color: var(--red); }
.post-share__btn:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 2px; }
.post-share__copy .copy-btn__tip { display: none; }
.post-share__copy.is-done { background: #E3F6EA; color: #11643A; }
.post-help { min-height: 320px; padding: 28px; gap: 12px; }
.post-help .seo-p__ask { width: 150px; }
.post-help h3 { font-size: 20px; }

/* Текст статьи */
.prose { max-width: none; font-size: 18px; line-height: 1.6; color: #22262F; }
.prose > * { margin: 0 0 22px; }
.prose > *:last-child { margin-bottom: 0; }
.prose h2 { margin: 56px 0 18px; font-family: var(--font-display); font-weight: 800; font-size: clamp(24px, 2.2vw, 32px); line-height: 1.15; letter-spacing: -0.02em; color: var(--ink); scroll-margin-top: calc(var(--top-h) + 32px); }
.prose h3 { margin: 40px 0 14px; font-family: var(--font-display); font-weight: 700; font-size: 22px; line-height: 1.2; color: var(--ink); }
.prose h2:first-child { margin-top: 0; }
.prose a { color: var(--red); font-weight: 600; text-decoration: none; }
.prose a:hover { color: var(--red-dark); }
.prose b, .prose strong { color: var(--ink); }
.prose ul, .prose ol { padding-left: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.prose ul li { position: relative; padding-left: 28px; }
.prose ul li::before { content: ""; position: absolute; left: 6px; top: 0.6em; width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
.prose ol { counter-reset: li; }
.prose ol[start="6"] { counter-reset: li 5; }
.prose ol[start="7"] { counter-reset: li 6; }
.prose ol li { position: relative; counter-increment: li; padding-left: 44px; min-height: 30px; }
.prose ol li::before { content: counter(li); position: absolute; left: 0; top: 0; display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: var(--white); box-shadow: inset 0 0 0 1.5px #D3DCE8; color: var(--ink); font-size: 14px; font-weight: 700; line-height: 1; }
.prose code { padding: 2px 8px; border-radius: 8px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); font-size: 0.88em; color: var(--ink); white-space: nowrap; }
.prose figure { margin: 32px 0; }
.prose figure img { display: block; width: 100%; height: auto; border-radius: 20px; background: var(--white); box-shadow: 0 0 0 1px var(--line), 0 12px 32px rgba(16, 32, 64, 0.08); }
.prose figure a { display: block; cursor: zoom-in; }
.prose figcaption { margin-top: 12px; font-size: 14px; color: var(--ink-2); text-align: center; }
.prose .post-note { padding: 16px 20px; border-radius: 16px; background: var(--white); font-size: 16px; }
.prose .post-highlight { padding: 22px 26px; border-left: 4px solid var(--red); border-radius: 0 20px 20px 0; background: #EAF1FA; color: var(--ink); font-size: 19px; line-height: 1.35; }
.prose .post-highlight strong { display: block; font-family: var(--font-display); font-weight: 800; font-size: clamp(20px, 2vw, 26px); line-height: 1.2; letter-spacing: -0.01em; }
.prose .post-highlight span { display: block; margin-top: 6px; font-size: 15px; line-height: 1.4; color: var(--ink-2); }
@media (max-width: 767px) { .prose .post-highlight { padding: 18px 20px; font-size: 17px; } }
.prose .post-tip { position: relative; padding: 22px 24px 22px 64px; border-radius: 20px; background: #E3F6EA; color: #0E5A32; font-size: 17px; }
.prose .post-tip::before { content: "!"; position: absolute; left: 20px; top: 20px; width: 30px; height: 30px; border-radius: 50%; background: #1E9E5A; color: var(--white); font: 800 17px/30px var(--font-display); text-align: center; }
.prose .post-tip b { color: #0E5A32; }
.post-video { position: relative; overflow: hidden; aspect-ratio: 16 / 9; border-radius: 20px; background: var(--ink); }
.post-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.prose .post-video__alt { margin-top: -8px; font-size: 15px; color: var(--ink-2); }

/* Статья «Cookies на сайте»: сводка, карточки, таблица, демо-макеты */
.post__body .sa-summary { margin: 0 0 28px; padding: 26px 30px; border: 1px solid var(--line); border-radius: var(--radius-m); background: linear-gradient(180deg, #F4F8FD, #EAF1FA); }
.post__body .sa-summary p { margin: 0 0 12px; font-size: 16px; line-height: 1.55; color: var(--ink-2); }
.post__body .sa-summary p:last-child { margin-bottom: 0; }
.post__body .sa-summary p:first-child { margin-bottom: 10px; }
.post__body .sa-summary p:first-child strong { color: var(--ink); font: 700 17px/1.3 var(--font-display); }

.post__body .sa-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 26px 0; }
.post__body .sa-card { padding: 22px; border: 1px solid var(--line); border-radius: 20px; background: var(--white); }
.post__body .sa-card h3 { margin: 0 0 8px; font: 700 18px/1.25 var(--font-display); letter-spacing: -0.01em; }
.post__body .sa-card p { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
.post__body .sa-number { display: block; margin-bottom: 10px; color: var(--red); font: 800 13px/1 var(--font-display); letter-spacing: 0.04em; }

.post__body .sa-note { margin: 26px 0; padding: 22px 26px; border: 1px solid var(--line); border-left: 4px solid var(--red); border-radius: 0 20px 20px 0; background: var(--white); }
.post__body .sa-note p { margin: 0 0 10px; font-size: 16px; line-height: 1.55; color: var(--ink-2); }
.post__body .sa-note p:last-child { margin-bottom: 0; }
.post__body .sa-note p:first-child { margin-bottom: 8px; }
.post__body .sa-note p:first-child strong { color: var(--ink); font: 700 17px/1.3 var(--font-display); }
.post__body .sa-note ul { margin: 0 0 12px; }

.post__body .sa-table-wrap { margin: 26px 0; border: 1px solid var(--line); border-radius: 18px; background: var(--white); overflow-x: auto; }
.post__body .sa-table-wrap table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 15px; line-height: 1.45; }
.post__body .sa-table-wrap th,
.post__body .sa-table-wrap td { padding: 16px 20px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.post__body .sa-table-wrap th { background: #E6EEF8; color: #3D4A5E; font: 700 13px/1.3 var(--font-text); letter-spacing: 0.02em; text-transform: uppercase; }
.post__body .sa-table-wrap tr:last-child td { border-bottom: 0; }
.post__body .sa-table-wrap td strong { color: var(--ink); white-space: nowrap; }
.post__body .sa-small { font-size: 13px; line-height: 1.5; color: var(--ink-2); }

.post__body .sa-demo { margin: 28px 0; padding: 26px; border: 1px solid #D8E4F2; border-radius: 26px; background: linear-gradient(180deg, #F5F9FE 0%, #E8F0F9 100%); }
.post__body .sa-demo-caption { margin: 0 0 16px; text-align: center; font-size: 12px; letter-spacing: 0.02em; color: var(--ink-2); }
.post__body .sa-cookie { max-width: 560px; margin: 0 auto; padding: 24px; border: 1px solid var(--line); border-radius: 22px; background: var(--white); box-shadow: 0 14px 36px rgba(16, 32, 64, 0.08); }
.post__body .sa-cookie h3 { margin: 0 0 10px; font: 700 20px/1.25 var(--font-display); }
.post__body .sa-cookie p { margin: 0 0 14px; font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.post__body .sa-cookie-links { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 0 0 18px; font-size: 12px; line-height: 1.4; }
.post__body .sa-cookie-links span { color: var(--ink-2); font-weight: 600; }
.post__body .sa-cookie-links .sa-refuse { color: var(--ink); font-weight: 500; }
.post__body .sa-cookie-links a { color: var(--red); font-weight: 600; text-decoration: none; }
.post__body .sa-mock-button { display: inline-flex; min-height: 44px; align-items: center; padding: 0 22px; border-radius: 999px; background: var(--red); color: var(--white); font: 600 13px/1 var(--font-text); }
.post__body .sa-placeholder { max-width: 600px; margin: 0 auto; padding: 34px 26px; border: 1px solid var(--line); border-radius: 22px; background: var(--white); text-align: center; }
.post__body .sa-placeholder h3 { margin: 0 0 10px; font: 700 20px/1.25 var(--font-display); }
.post__body .sa-placeholder p { max-width: 440px; margin: 0 auto 18px; font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.post__body .sa-placeholder .sa-mock-button { background: var(--white); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }

@media (max-width: 767px) {
	.post__body .sa-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
	.post__body .sa-summary,
	.post__body .sa-demo { padding: 20px; }
	.post__body .sa-cookie { padding: 18px; }
	.post__body .sa-table-wrap table { min-width: 0; font-size: 13.5px; }
	.post__body .sa-table-wrap th,
	.post__body .sa-table-wrap td { padding: 12px 14px; }
	.post__body .sa-table-wrap td strong { white-space: normal; }
}

/* Карточки статей */
.post-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.post-card a { display: flex; flex-direction: column; gap: 12px; height: 100%; padding: 12px 12px 24px; border-radius: var(--radius-l); background: var(--white); color: var(--ink); text-decoration: none; }
.post-card__img { overflow: hidden; border-radius: 18px; aspect-ratio: 16 / 9; background: var(--ground); }
.post-card__img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.post-card a:hover img { transform: scale(1.04); }
.post-card__date { padding: 0 12px; font-size: 13px; color: var(--ink-2); }
.post-card__title { padding: 0 12px; font-family: var(--font-display); font-weight: 700; font-size: 19px; line-height: 1.25; transition: color 0.2s var(--ease); }

@media (max-width: 1100px) {
	.post__top { grid-template-columns: minmax(0, 1fr); }
	.post__cover { max-width: 520px; }
	.post__layout { grid-template-columns: minmax(0, 1fr); }
	.post__aside { position: static; order: -1; }
	.post-share { display: none; }
	.post-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
	.post__lead { font-size: 17px; }
	.post__cover { border-radius: 18px; }
	.post__layout { margin-top: 32px; gap: 32px; }
	.prose { font-size: 17px; }
	.prose h2 { margin-top: 44px; }
	.prose .post-tip { padding: 18px 18px 18px 58px; }
	.prose .post-tip::before { left: 16px; top: 18px; }
	.prose code { white-space: normal; }
	.post-cards { grid-template-columns: minmax(0, 1fr); }
}

/* Блоки кода в статьях */
.code-wrap { position: relative; margin: 28px 0; }
.code-wrap::before { content: attr(data-lang); position: absolute; z-index: 1; left: 24px; top: 20px; font: 700 11px/1 var(--font-text); letter-spacing: 0.08em; color: #8A93A6; pointer-events: none; }
.prose pre { position: relative; margin: 28px 0; padding: 56px 24px 24px; overflow-x: auto; border-radius: 20px; background: #12141A; color: #E6EAF2; font: 400 14px/1.65 ui-monospace, "SF Mono", Menlo, Consolas, monospace; tab-size: 4; -moz-tab-size: 4; white-space: pre; scrollbar-width: thin; }
.code-wrap pre { margin: 0; }
.prose pre code { padding: 0; border-radius: 0; background: none; box-shadow: none; color: inherit; font: inherit; white-space: inherit; }
.code-copy { position: absolute; z-index: 1; right: 12px; top: 10px; display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 12px; border: 0; border-radius: 999px; background: rgba(255,255,255,.08); color: #E6EAF2; font: 700 13px/1 var(--font-text); cursor: pointer; transition: background-color 0.3s var(--ease), color 0.3s var(--ease); }
.code-copy:hover { background: rgba(255,255,255,.16); }
.code-copy.is-done { background: #1E9E5A; color: var(--white); }
.code-copy svg { width: 15px; height: 15px; }
@media (max-width: 767px) { .code-wrap { margin-left: -16px; margin-right: -16px; } .prose pre { border-radius: 0; padding: 52px 16px 20px; font-size: 13px; } .code-wrap::before { left: 16px; } }

/* ===== Блог: список статей ===== */
.blog__hero { display: flex; flex-direction: column; gap: 28px; padding: 8px 0 0; }
.blog__intro { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; max-width: none; }
.blog__intro .tp__lead { max-width: none; }
.projects-counter { margin: -4px 0 0; font-family: var(--font-display); font-size: 15px; font-weight: 700; line-height: 1.4; color: var(--ink-2); }
.projects-counter::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: var(--red); vertical-align: 1px; }
.blog__title { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: clamp(32px, 3.6vw, 56px); line-height: 1.05; letter-spacing: -0.03em; text-transform: uppercase; text-wrap: balance; }
.blog__cats { display: flex; flex-wrap: wrap; gap: 8px; }
.blog__cats a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; background: var(--white); color: var(--ink); font-size: 15px; font-weight: 700; text-decoration: none; transition: background-color 0.3s var(--ease), color 0.3s var(--ease); }
.blog__cats a small { padding: 3px 8px; border-radius: 999px; background: var(--ground); color: var(--ink-2); font-size: 12px; }
.blog__cats a:hover { color: var(--red); }
.blog__cats a.is-active { background: var(--ink); color: var(--white); }
.blog__cats a.is-active small { background: rgba(255,255,255,.18); color: var(--white); }

.bcards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.bcard__link { display: flex; flex-direction: column; height: 100%; padding: 12px; border-radius: var(--radius-l); background: var(--white); color: var(--ink); text-decoration: none; transition: box-shadow 0.4s var(--ease), transform 0.4s var(--ease); }
.bcard__img { display: block; overflow: hidden; border-radius: 18px; aspect-ratio: 16 / 9; background: linear-gradient(165deg, #CBDAEE 0%, #AEC4E1 100%); }
.bcard__img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.bcard__link:hover .bcard__img img { transform: scale(1.04); }
.bcard__body { display: flex; flex-direction: column; gap: 12px; flex: 1 1 auto; padding: 20px 12px 12px; }
.bcard__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: 13px; color: var(--ink-2); }
.bcard__cat { padding: 4px 10px; border-radius: 999px; background: var(--ground); color: #2E5A99; font-weight: 700; }
.bcard__title { font-family: var(--font-display); font-weight: 700; font-size: 20px; line-height: 1.25; letter-spacing: -0.01em; transition: color 0.3s var(--ease); }
.bcard__text { font-size: 15px; line-height: 1.45; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.bcard__more { margin-top: auto; padding-top: 4px; font-size: 15px; font-weight: 700; color: var(--ink); }
.bcard__more span { display: inline-block; transition: transform 0.3s var(--ease); }
.bcard__link:hover .bcard__more span { transform: translateX(4px); }
.bcards--projects { gap: 24px; }
.bcard--big { grid-column: 1 / -1; }
.bcard--big .bcard__link { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 16px 40px; align-items: center; }
.bcard--big .bcard__img { aspect-ratio: 16 / 10; }
.bcard--big .bcard__body { padding: 24px 28px 24px 0; gap: 16px; }
.bcard--big .bcard__title { font-size: clamp(24px, 2.2vw, 34px); line-height: 1.15; font-weight: 800; letter-spacing: -0.02em; }
.bcard--big .bcard__text { font-size: 17px; -webkit-line-clamp: 4; }
.blog__pages { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 40px; }
.blog__pages .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 48px; height: 48px; padding: 0 14px; border-radius: 999px; background: var(--white); color: var(--ink); font-weight: 700; text-decoration: none; transition: color 0.3s var(--ease), background-color 0.3s var(--ease); }
.blog__pages a.page-numbers:hover { color: var(--red); }
.blog__pages .page-numbers.current { background: var(--ink); color: var(--white); }
.blog__pages .page-numbers.dots { background: none; }
@media (max-width: 1100px) {
	.bcards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.bcard--big .bcard__link { grid-template-columns: minmax(0, 1fr); }
	.bcard--big .bcard__body { padding: 20px 12px 12px; }
}
@media (max-width: 767px) {
	.blog__title { font-size: clamp(26px, 7.4vw, 32px); }
	.blog__cats { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 0 16px; }
	.blog__cats::-webkit-scrollbar { display: none; }
	.blog__cats a { white-space: nowrap; flex: 0 0 auto; }
	.bcards { grid-template-columns: minmax(0, 1fr); }
	.bcards--projects { gap: 20px; }
}
.section.blog__list { margin-top: 48px; padding-top: 0; }
@media (max-width: 767px) { .section.blog__list { margin-top: 32px; } }

/* ===== Главная: «Полезное из блога» — слайдер статей ===== */
.hblog__head { align-items: flex-end; }
.hblog__tools { display: flex; align-items: center; gap: 16px; }
.hblog__tools .section__note { max-width: 360px; }
.hblog__nav { display: flex; gap: 8px; flex: 0 0 auto; }
.hblog__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 32px) / 3); grid-template-columns: none; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; overscroll-behavior-x: contain; padding: 8px 0 24px; margin: -8px 0 -24px; }
.hblog__track::-webkit-scrollbar { display: none; }
.hblog__track > li { scroll-snap-align: start; }
.hblog__track .bcard--big { grid-column: auto; }
.hblog__all a { position: relative; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 6px; height: 100%; min-height: 380px; padding: 32px; overflow: hidden; isolation: isolate; border: 2px solid var(--red); border-radius: var(--radius-l); background: var(--white); color: var(--ink); text-decoration: none; }
.hblog__art { position: absolute; z-index: -1; top: 28px; right: 8px; width: 220px; height: auto; transform: rotate(-6deg); transition: transform 0.6s var(--ease); }
.hblog__all a:hover .hblog__art { transform: rotate(-2deg) translateY(-6px); }
.hblog__count { font-family: var(--font-display); font-weight: 800; font-size: 72px; line-height: 1; letter-spacing: -0.04em; color: var(--red); }
.hblog__label { margin-bottom: 18px; font-size: 17px; font-weight: 600; color: var(--ink-2); }
.hblog__bar { position: relative; height: 4px; margin-top: 32px; border-radius: 4px; background: var(--line); overflow: hidden; }
.hblog__bar span { position: absolute; left: 0; top: 0; bottom: 0; width: 30%; border-radius: 4px; background: var(--red); transition: transform 0.35s var(--ease), width 0.35s var(--ease); }
@media (max-width: 1100px) { .hblog__track { grid-auto-columns: calc((100% - 16px) / 2); } .hblog__tools .section__note { display: none; } }
@media (max-width: 767px) {
	.hblog__head { flex-direction: row; align-items: flex-end; }
	.hblog__track { grid-auto-columns: 84%; gap: 12px; margin-left: -16px; margin-right: -16px; padding-left: 16px; padding-right: 16px; scroll-padding: 0 16px; }
	.hblog__all a { min-height: 340px; padding: 24px; }
	.hblog__art { width: 170px; }
	.hblog__count { font-size: 56px; }
	.hblog__bar { margin-top: 24px; }
}

.projects-view__toggle,
.projects-view__controls {
	display: flex;
	align-items: center;
	gap: 8px;
}
.projects-view__toggle { margin-bottom: 24px; }
.projects-view__button,
.projects-view__arrow {
	min-height: 44px;
	padding: 0 18px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: var(--white);
	color: var(--ink);
	font: 700 14px/1 var(--font-text);
	cursor: pointer;
	transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.projects-view__button.is-active { border-color: var(--ink); background: var(--ink); color: var(--white); }
.projects-view__button:focus-visible,
.projects-view__arrow:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 3px; }
.projects-view__controls { justify-content: flex-end; margin-bottom: 16px; }
.projects-view__arrow { width: 44px; padding: 0; font-size: 20px; }
.projects-view__arrow:disabled { opacity: 0.4; cursor: not-allowed; }
.projects-view__page { margin: 0 8px; color: var(--ink-2); font-size: 14px; }
.projects-view__slides { min-width: 0; }
.projects-view__slides > [data-project-slide][hidden] { display: none !important; }
.projects-view__slides .acase__link { color: var(--ink); }
.projects-view__slides .acase__shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.projects-view__slides .acase__name { text-transform: none; }

/* ===== Новости: галерея и видео в тексте ===== */
.prose .wp-block-gallery, .prose .wp-block-gallery.has-nested-images { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 28px 0; padding: 0; }
.prose .wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image) { width: auto !important; max-width: none; margin: 0 !important; flex: none; }
.prose .wp-block-gallery.has-nested-images figure.wp-block-image img { width: 100%; height: 100%; }
.prose .wp-block-gallery .wp-block-image { margin: 0; }
.prose .wp-block-gallery .wp-block-image img { aspect-ratio: 4 / 3; object-fit: cover; height: auto; }
.prose .wp-block-gallery figcaption { display: none; }
.prose .wp-block-gallery:has(> figure:nth-child(3)) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.post-videos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 28px 0; }
.post-videos video { display: block; width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 20px; background: var(--ink); }
.bcard__cat--project { background: #FDECEE; color: var(--red); }
@media (max-width: 767px) { .prose .wp-block-gallery, .prose .wp-block-gallery:has(> figure:nth-child(3)) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ===== Проект портфолио ===== */
.prj__hero { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.6fr); gap: 16px; }
.prj__intro { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; padding: 48px; border-radius: 32px; background: var(--white); }
.prj__title { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: clamp(30px, 3.4vw, 52px); line-height: 1.08; letter-spacing: -0.03em; text-wrap: balance; }

.prj__facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; align-content: stretch; }
.prj__facts li { display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 24px 28px; border-radius: var(--radius-l); background: var(--white); }
.prj__facts li:first-child { box-shadow: inset 0 0 0 2px var(--red); }
.prj__facts b { font-family: var(--font-display); font-weight: 800; font-size: clamp(32px, 3vw, 46px); line-height: 1; letter-spacing: -0.03em; color: var(--red); }
.prj__facts span { font-size: 15px; color: var(--ink-2); }
.section.prj__shots { padding-top: 48px; }
.prj__hero--no-facts { grid-template-columns: minmax(0, 1fr); }
.prj__shots { display: flex; flex-direction: column; gap: 0; }
.prj__shot { margin: 0; overflow: hidden; border-radius: 0; background: none; }
.prj__shot img { display: block; width: 100%; height: auto; }
@media (max-width: 1023px) { .prj__hero { grid-template-columns: minmax(0, 1fr); } .prj__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } .prj__intro { padding: 32px 24px; } }
@media (max-width: 767px) { .section.prj__shots { padding-top: 32px; } .prj__shots { gap: 0; } .prj__shot { border-radius: 0; } }

/* ===== Просмотр фото по клику (лайтбокс) ===== */
.lbox { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 64px 80px; background: rgba(11, 11, 14, 0.88); opacity: 0; visibility: hidden; transition: opacity 0.35s var(--ease), visibility 0s linear 0.35s; }
.lbox.is-open { opacity: 1; visibility: visible; transition: opacity 0.35s var(--ease), visibility 0s; }
.lbox__img { max-width: 100%; max-height: 100%; border-radius: 16px; object-fit: contain; box-shadow: 0 30px 80px rgba(0,0,0,.4); transform: scale(0.96); transition: transform 0.35s var(--ease), opacity 0.25s var(--ease); }
.lbox.is-open .lbox__img { transform: none; }
.lbox__btn { position: absolute; display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.12); color: var(--white); cursor: pointer; transition: background-color 0.25s var(--ease); }
.lbox__btn:hover { background: var(--red); }
.lbox__btn:focus-visible { outline: 3px solid var(--white); outline-offset: 2px; }
.lbox__close { top: 20px; right: 20px; }
.lbox__prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lbox__next { right: 20px; top: 50%; transform: translateY(-50%); }
.lbox__count { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); color: rgba(255,255,255,.8); font-size: 14px; font-weight: 600; }
.lbox[data-single] .lbox__prev, .lbox[data-single] .lbox__next, .lbox[data-single] .lbox__count { display: none; }
html.lbox-open { overflow: hidden; }
.prose a:has(> img) { cursor: zoom-in; }
@media (max-width: 767px) { .lbox { padding: 72px 12px; } .lbox__prev, .lbox__next { top: auto; bottom: 16px; transform: none; width: 46px; height: 46px; } .lbox__count { bottom: 30px; } }

/* ===== Главная: «Новости студии» ===== */
.hnews__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 16px; align-items: stretch; }
.hnews__main { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius-l); background: var(--white); color: var(--ink); text-decoration: none; transition: box-shadow 0.4s var(--ease), transform 0.4s var(--ease); }
.hnews__img { display: block; margin: 12px 12px 0; overflow: hidden; border-radius: 18px; aspect-ratio: 16 / 9; background: linear-gradient(165deg, #CBDAEE 0%, #AEC4E1 100%); }
.hnews__img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.hnews__main:hover .hnews__img img { transform: scale(1.04); }
.hnews__body { display: flex; flex-direction: column; gap: 12px; flex: 1 1 auto; padding: 24px 28px 28px; }
.hnews__date { font-size: 13px; font-weight: 600; color: #3F6DAE; }
.hnews__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(22px, 2vw, 30px); line-height: 1.15; letter-spacing: -0.02em; transition: color 0.3s var(--ease); }
.hnews__text { font-size: 16px; line-height: 1.45; color: var(--ink-2); }
.hnews__more { margin-top: auto; padding-top: 4px; font-weight: 700; }
.hnews__more span { display: inline-block; transition: transform 0.3s var(--ease); }
.hnews__main:hover .hnews__more span { transform: translateX(4px); }
.hnews__list { list-style: none; margin: 0; padding: 8px; display: flex; flex-direction: column; border-radius: var(--radius-l); background: var(--white); }
.hnews__list li { flex: 1 1 0; display: flex; }
.hnews__list li + li { border-top: 1px solid var(--line); }
.hnews__item { display: flex; align-items: stretch; gap: 24px; width: 100%; padding: 12px; border-radius: 18px; color: var(--ink); text-decoration: none; transition: background-color 0.3s var(--ease); }
.hnews__thumb { flex: 0 0 44%; min-height: 120px; overflow: hidden; border-radius: 16px; background: linear-gradient(165deg, #CBDAEE 0%, #AEC4E1 100%); }
.hnews__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hnews__info { display: flex; flex-direction: column; justify-content: center; gap: 8px; flex: 1 1 auto; min-width: 0; padding: 8px 0; }
.hnews__thumb img { transition: transform 0.6s var(--ease); }
.hnews__item:hover .hnews__thumb img { transform: scale(1.04); }
.hnews__name { font-family: var(--font-display); font-weight: 700; font-size: 18px; line-height: 1.25; transition: color 0.3s var(--ease); }
.hnews__go { flex: 0 0 auto; align-self: center; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line); transition: background-color 0.3s var(--ease), color 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.hnews__item:hover .hnews__go { background: var(--red); color: var(--white); box-shadow: none; }
@media (max-width: 1023px) { .hnews__grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 767px) {
	.hnews__body { padding: 20px; }
	.hnews__item { gap: 14px; padding: 12px; }
	.hnews__thumb { flex-basis: 40%; min-height: 96px; }
	.hnews__name { font-size: 16px; }
	.hnews__go { display: none; }
}

/* Статья и новость: больше воздуха — над крошками и перед текстом */
.post-page .post { padding-top: 100px; }
.post-page .post__layout { margin-top: 200px; }
@media (max-width: 767px) { .post-page .post { padding-top: 40px; } .post-page .post__layout { margin-top: 64px; } }

/* Кнопки «Читать →», «Читать новость →», «Смотреть проект →» в карточках — маленькие красные */
.bcard__more, .hnews__more { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 16px; border-radius: 999px; background: var(--red); color: var(--white) !important; font-size: 14px; font-weight: 700; line-height: 1; transition: background-color 0.3s var(--ease); }
.bcard__link:hover .bcard__more, .hnews__main:hover .hnews__more { background: var(--red-dark); color: var(--white); }
.bcard__more { margin-top: auto; }
.bcard__body > .bcard__more { margin-top: auto; }
.hnews__more { margin-top: auto; }
.acase__more { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 0 16px; border-radius: 999px; background: var(--red); color: var(--white); font-size: 14px; font-weight: 700; line-height: 1; transition: background-color 0.3s var(--ease); }
.acase__link:hover .acase__more { background: var(--red-dark); }

.hnews__info .hnews__more { margin-top: 6px; }
.hnews__item:hover .hnews__more { background: var(--red-dark); }
.hnews__more span { display: inline-block; transition: transform 0.3s var(--ease); }
.hnews__item:hover .hnews__more span, .bcard__link:hover .bcard__more span { transform: translateX(4px); }
.tariff__more { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 0 16px; border-radius: 999px; background: var(--red); color: var(--white); font-size: 14px; font-weight: 700; line-height: 1; transition: background-color 0.3s var(--ease); }
.tariff__link:hover .tariff__more { background: var(--red-dark); }
.section__head .hblog__tools { display: flex; flex-direction: row; flex-wrap: nowrap; align-items: center; gap: 16px; }
.section__head .hblog__tools .link-arrow { order: 2; }
.acase__shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.acase__vlabel { padding: 18px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.92); font-size: 22px; line-height: 1; }

/* ===== Прайс-лист ===== */
.rates { border-radius: var(--radius-l); background: var(--white); padding: 8px 24px 16px; }
.rates__head, .rates__row { display: grid; grid-template-columns: minmax(0, 1fr) 150px 150px 150px; align-items: center; gap: 16px; }
.rates__head { padding: 18px 0 14px; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #3F6DAE; }
.rates__head span:not(:first-child) { text-align: right; }
.rates__gname { margin: 0; padding: 22px 0 8px; border-top: 1px solid var(--line); font-family: var(--font-display); font-weight: 800; font-size: 20px; color: var(--ink); }
.rates__row { padding: 14px 0; border-top: 1px dashed var(--line); }
.rates__gname + .rates__row { border-top: 0; }
.rates__name { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.rates__name b { font-size: 17px; }
.rates__name small { font-size: 14px; color: var(--ink-2); }
.rates__val { text-align: right; font-family: var(--font-display); font-weight: 700; font-size: 18px; white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--ink-2); }
.rates__val--main { font-weight: 800; font-size: 20px; color: var(--ink); }
.rates__val--green { color: #11643A; }
.rates__notes { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.rates__notes li { padding: 20px 24px; border-radius: var(--radius-l); background: var(--white); font-size: 15px; line-height: 1.4; color: var(--ink-2); }
.rates__notes b { display: block; margin-bottom: 4px; font-family: var(--font-display); font-size: 17px; color: var(--ink); }
.rcalc__urgent { display: inline-flex; align-items: center; gap: 12px; margin-right: auto; font-weight: 700; cursor: pointer; }
.rcalc__row { display: grid; grid-template-columns: minmax(0, 1fr) auto 140px; align-items: center; gap: 16px; padding: 14px 8px; border-top: 1px solid var(--line); }
.rcalc__row.is-on { background: #FBFCFE; }
.rcalc__step { display: inline-flex; align-items: center; gap: 4px; padding: 4px; border-radius: 999px; background: var(--ground); }
.rcalc__step button { width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: var(--white); color: var(--ink); font: 700 18px/1 var(--font-text); cursor: pointer; transition: background-color 0.2s var(--ease), color 0.2s var(--ease); }
.rcalc__step button:hover { background: var(--red); color: var(--white); }
.rcalc__step input { width: 48px; height: 36px; border: 0; background: none; text-align: center; font: 700 16px/1 var(--font-text); color: var(--ink); -moz-appearance: textfield; }
.rcalc__step input::-webkit-outer-spin-button, .rcalc__step input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.rcalc__min { margin: 0; padding: 10px 14px; border-radius: 12px; background: #FDECEE; color: var(--red); font-size: 14px; font-weight: 700; }
.price__fixed-head { padding-bottom: 0; }
.price__fixed-head .section__head { margin-bottom: 24px; }
@media (max-width: 1023px) { .rates__notes { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 767px) {
	.rates { padding: 4px 16px 12px; }
	.rates__head { display: none; }
	.rates__row { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
	.rates__name { grid-column: 1 / -1; }
	.rates__val { text-align: left; font-size: 16px; }
	.rates__val::before { content: attr(data-label); display: block; margin-bottom: 2px; font-family: var(--font-text); font-size: 11px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: #3F6DAE; }
	.rcalc__row { grid-template-columns: minmax(0, 1fr) auto; }
	.rcalc__row .tpc__price { grid-column: 1 / -1; text-align: left; }
}

/* Карточки услуг: плашка «Хит», заголовок блока на внутренних страницах, 2–5 карточек */
.tariff__link { position: relative; }
.tariff__hit { position: absolute; top: 24px; right: 24px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--red); color: var(--white); font-size: 12px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; box-shadow: 0 6px 16px rgba(240, 20, 47, 0.3); }
.tariff__hit::before { content: "★"; font-size: 12px; }
.tariffs__list--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tariffs__list--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tariffs__list--5 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.tariffs__list--5 > li { grid-column: span 2; }
.tariffs__list--5 > li:nth-child(n+4) { grid-column: span 3; }
.tariffs--titled { padding-top: var(--section-gap); margin-top: 0; }
@media (max-width: 1100px) { .tariffs__list--4, .tariffs__list--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tariffs__list--5 > li, .tariffs__list--5 > li:nth-child(n+4) { grid-column: auto; } }
@media (max-width: 767px) { .tariffs__list--2, .tariffs__list--4, .tariffs__list--5 { grid-template-columns: minmax(0, 1fr); } }

/* Контакты: «Звоните» + «Пишите» в одном синем блоке (50%), «Приходите» — вторая половина */
.ccard--contact { gap: 16px; }
.ccard--contact .ccard__btn { margin-top: 8px; }
.ccard__write { display: flex; flex-direction: column; gap: 14px; margin-top: 16px; padding-top: 28px; border-top: 1px solid rgba(34, 67, 108, 0.18); }
.ccard__write .ccard__label { color: #22436C; }
.ccard__write .ccard__note { color: #33435C; }
.ccard__write .ccard__messengers { margin: 4px 0 0; }
.ccard__write .ccard__messengers a { background: rgba(255, 255, 255, 0.75); }
.ccard__write .ccard__messengers a:hover { background: var(--white); }
.ccard__write .copy-btn { background: rgba(255, 255, 255, 0.7); }
@media (min-width: 1101px) {
	.ccard--call { grid-column: 1 / span 6; }
	.ccard--visit { grid-column: 7 / span 6; }
}
@media (max-width: 1100px) { .ccard--call, .ccard--visit { grid-column: span 12; } }
@media (min-width: 1101px) { .ccard--visit .ccard__routes { flex-direction: row; flex-wrap: wrap; } }

/* «Приходите»: фото бизнес-центра заполняет свободную высоту, рейтинги поверх фото */
.ccard__photo { position: relative; flex: 1 1 auto; min-height: 220px; margin: 8px 0 0; overflow: hidden; border-radius: 20px; background: var(--ground); }
.ccard__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.ccard__photo figcaption { position: absolute; left: 12px; bottom: 12px; }
.ccard__photo .ratings { margin: 0; }
.ccard__photo .ratings__frame { box-shadow: 0 6px 20px rgba(16, 32, 64, 0.2); }
@media (max-width: 1100px) { .ccard__photo { min-height: 260px; } }

/* Кнопка со стрелкой рядом с большой кнопкой — того же размера */
.tp__btns { gap: 12px 16px; }
.tp__btns .btn, .tp__btns .link-arrow { min-height: 48px; padding: 0 26px; font-size: 16px; }
@media (max-width: 600px) {
	.tp__btns > .btn, .tp__btns > .link-arrow { box-sizing: border-box; max-width: 100%; white-space: normal; text-align: center; }
}
/* Кейсы: карточка с текстом в правом нижнем углу, слева видно сайт */
@media (min-width: 768px) { .acase__body { left: auto; right: 24px; width: min(460px, calc(100% - 48px)); } }

/* Фото в слайдере офиса и «Как нас найти» открываются крупно по клику */
.slider__zoom, .cfind__zoom { display: block; height: 100%; cursor: zoom-in; }
.slider__zoom img, .cfind__zoom img { transition: transform 0.6s var(--ease); }
.slider__zoom:hover img, .cfind__zoom:hover img { transform: scale(1.03); }
.slider__slide, .cfind__step { overflow: hidden; }

/* ===== Страница услуги (интернет-магазин и далее) ===== */

.svc__inc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 380px); gap: 16px; align-items: start; }
.svc__inc-list { list-style: none; margin: 0; padding: 12px 28px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; border-radius: var(--radius-l); background: var(--white); }
.svc__inc-list li { position: relative; display: flex; flex-direction: column; gap: 3px; padding: 16px 0 16px 38px; border-bottom: 1px solid var(--line); }
.svc__inc-list li::before { content: ""; position: absolute; left: 0; top: 16px; width: 24px; height: 24px; border-radius: 50%; background: #E3F6EA url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.6 2.5L14 7.5' fill='none' stroke='%231E9E5A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 24px no-repeat; }
.svc__inc-list b { font-size: 16px; line-height: 1.3; }
.svc__inc-list small { font-size: 14px; line-height: 1.35; color: var(--ink-2); }
.svc__ours { display: inline-block; margin-left: 4px; padding: 2px 8px; border-radius: 999px; background: #FDECEE; color: var(--red); font-size: 11px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; vertical-align: 2px; }
.svc__price { position: sticky; top: calc(var(--top-h) + 32px); display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 36px; border-radius: var(--radius-l);
	background-color: #BCCFE7; background-image: radial-gradient(70% 90% at 82% 10%, rgba(255,255,255,.6) 0%, rgba(255,255,255,0) 60%), linear-gradient(165deg, #CBDAEE 0%, #AEC4E1 100%); }
.svc__price-label { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #22436C; }
.svc__price-sum { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: clamp(34px, 3vw, 46px); line-height: 1; letter-spacing: -0.03em; }
.svc__price-text { margin: 0 0 6px; font-size: 16px; line-height: 1.45; color: #22334D; }
.svc__extra { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.svc__extra li { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 28px; border-radius: var(--radius-l); background: var(--white); }
.svc__extra-price { padding: 6px 12px; border-radius: 999px; background: #FDECEE; color: var(--red); font-family: var(--font-display); font-weight: 800; font-size: 16px; white-space: nowrap; }
.svc__extra h3 { margin: 4px 0 0; font-family: var(--font-display); font-weight: 800; font-size: 19px; line-height: 1.2; }
.svc__extra p { margin: 0; font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.svc__why { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.svc__why-item { display: flex; flex-direction: column; gap: 24px; padding: 16px 16px 32px; border-radius: var(--radius-l); background: var(--white); }
.svc__why-img { border-radius: 20px; overflow: hidden; aspect-ratio: 16 / 9; background: #DCE5F2; }
.svc__why-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.svc__why-text { display: flex; flex-direction: column; gap: 12px; padding: 0 16px; }
.svc__why-num { font-family: var(--font-display); font-weight: 800; font-size: 32px; line-height: 1; color: #AEC4E1; }
.svc__why-text h3 { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: clamp(22px, 1.8vw, 26px); line-height: 1.15; letter-spacing: -0.02em; }
.svc__why-text p { margin: 0; font-size: 16px; line-height: 1.5; color: var(--ink-2); }
@media (max-width: 1100px) {
	.svc__inc { grid-template-columns: minmax(0, 1fr); }
	.svc__price { position: static; }
	.svc__extra { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) { .svc__why { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 767px) {

	.svc__inc-list { grid-template-columns: minmax(0, 1fr); padding: 4px 20px; }
	.svc__extra { grid-template-columns: minmax(0, 1fr); }
	.svc__why { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 767px) { .calc__row { flex-wrap: wrap; gap: 12px 16px; } .calc__row > div:first-child { flex: 1 1 200px; min-width: 0; } }

/* ===== Калькулятор интернет-магазина ===== */
.scalc__group { margin: 8px 8px 4px; padding-top: 16px; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #3F6DAE; }
.scalc__group:first-child { margin-top: 0; padding-top: 0; }
.scalc__row { grid-template-columns: minmax(0, 1fr) auto; }
.scalc__opt { cursor: pointer; }
.scalc__opt:hover { background: var(--ground); }
.scalc__seg { flex-wrap: nowrap; }
.scalc__seg .seg__item span { padding: 9px 14px; font-size: 14px; }
.scalc__lines { list-style: none; margin: 0 0 8px; padding: 12px 0 0; border-top: 1px solid rgba(34, 67, 108, 0.18); display: flex; flex-direction: column; gap: 6px; }
.scalc__lines li { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; color: #22334D; }
.scalc__lines b { white-space: nowrap; font-variant-numeric: tabular-nums; }
.scalc__note { margin: 0 0 8px; font-size: 13px; line-height: 1.4; color: #33435C; }
@media (max-width: 767px) { .scalc__row { grid-template-columns: minmax(0, 1fr); } .scalc__opt { grid-template-columns: minmax(0, 1fr) auto; } .scalc__seg { overflow-x: auto; } }

/* Небольшая подборка клиентов: статичная сетка вместо короткой бегущей строки. */
.trust__grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; list-style: none; padding: 0; margin: 0; }
.trust__grid .marquee__item { width: auto; min-width: 0; height: 160px; }
@media (max-width:767px) { .trust__grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; } .trust__grid .marquee__item { height: 120px; padding: 16px; } }

/* Общие отзывы: узкие телефоны не растягивают страницу. */
.rpage__side .ratings { flex-wrap: wrap; max-width: 100%; }

/* Сквозной блок «Карточки с серым рисунком» (art-cards.php) */
.art-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.art-card { position: relative; overflow: hidden; isolation: isolate; min-height: 250px; padding: 32px; border-radius: var(--radius-l); background: var(--white); }
.art-card__art { position: absolute; z-index: -1; right: -14px; bottom: -14px; width: 124px; height: 124px; fill: none; stroke: #DDE3EC; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; transform: rotate(-8deg); pointer-events: none; }
.art-card h3 { margin: 0; font: 800 20px/1.2 var(--font-display); }
.art-card p { margin: 12px 0 0; max-width: 82%; font-size: 15px; line-height: 1.3; color: var(--ink-2); }
@media (max-width: 1100px) { .art-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) {
	.art-cards { grid-template-columns: minmax(0, 1fr); }
	.art-card { min-height: 0; padding: 24px 24px 76px; }
	.art-card p { max-width: none; }
	.art-card__art { width: 92px; height: 92px; }
}

/* Текстовые карточки в 3 колонки */
.tp__mon--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tp__mon--3 p { line-height: 1.3; }
@media (max-width: 1100px) { .tp__mon--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) { .tp__mon--3 { grid-template-columns: minmax(0, 1fr); } }

/* Юридические страницы (template-parts/legal.php) */
.legal__doc { max-width: none; padding: 56px; border-radius: var(--radius-l); background: var(--white); font-size: 17px; line-height: 1.35; }
.legal__doc h2 { margin-top: 40px; font-size: clamp(21px, 1.8vw, 26px); }
.legal__doc h3 { margin-top: 28px; font-size: 19px; }
.legal__doc > * { margin-bottom: 14px; }
.legal__doc ul { gap: 8px; }
.legal__doc .legal-table { margin: 24px 0; border: 1px solid var(--line); border-radius: 16px; background: var(--white); overflow-x: auto; }
.legal__doc .legal-table table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 15px; line-height: 1.45; }
.legal__doc .legal-table th,
.legal__doc .legal-table td { padding: 14px 18px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.legal__doc .legal-table th { background: #E6EEF8; color: #3D4A5E; font: 700 13px/1.3 var(--font-text); }
.legal__doc .legal-table tr:last-child td { border-bottom: 0; }
.legal__doc blockquote { margin: 24px 0; padding: 18px 24px; border-left: 4px solid var(--red); border-radius: 0 16px 16px 0; background: var(--white); }
.legal__doc blockquote p { margin: 0; color: var(--ink-2); }
@media (max-width: 767px) {
	.legal__doc .legal-table { border: 0; border-radius: 0; background: transparent; overflow: visible; }
	.legal__doc .legal-table table { display: block; min-width: 0; font-size: 14px; }
	.legal__doc .legal-table thead { display: none; }
	.legal__doc .legal-table tbody { display: block; }
	.legal__doc .legal-table tr { display: block; margin: 0 0 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); }
	.legal__doc .legal-table td { display: block; padding: 0 0 10px; border: 0; }
	.legal__doc .legal-table td:last-child { padding-bottom: 0; }
	.legal__doc .legal-table td::before { content: attr(data-label); display: block; margin-bottom: 3px; color: var(--ink-2); font: 700 11px/1.3 var(--font-text); letter-spacing: 0.04em; text-transform: uppercase; }
	.legal__doc .legal-table code { white-space: normal; word-break: break-word; }
}
.legal-page { padding-bottom: 100px; }
@media (max-width: 767px) { .legal__title { overflow-wrap: anywhere; hyphens: auto; } .legal__doc { padding: 28px 20px; font-size: 16px; } .legal-page { padding-bottom: 64px; } }

/* Сквозной блок «Все услуги» — бенто-сетка (template-parts/front/services.php) */
.sbento__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; }
.section__head .sbento__filter { display: flex; flex-direction: row; flex-wrap: wrap; gap: 8px; }
.sbento__tab { min-height: 44px; padding: 0 18px; border: 0; border-radius: 999px; background: var(--white); color: var(--ink); font: 600 15px/1 var(--font-text); cursor: pointer; transition: background-color 0.2s var(--ease), color 0.2s var(--ease); }
.sbento__tab:hover { color: var(--red); }
.sbento__tab.is-active { background: var(--ink); color: var(--white); }
.sbento__tab:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 2px; }
.sbento__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.sbento__item { display: flex; min-width: 0; }
.sbento__item[hidden] { display: none; }
.sbento__card { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; width: 100%; padding: 32px; border-radius: var(--radius-l); background: var(--white); color: var(--ink); text-decoration: none; transition: box-shadow 0.2s var(--ease); }
a.sbento__card:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 3px; }
a.sbento__card:hover .tariff__more { background: var(--red-dark); }
a.sbento__card:hover .tariff__more span { transform: translateX(4px); }
.sbento__title { font: 800 22px/1.15 var(--font-display); letter-spacing: -0.01em; }
.sbento__text { font-size: 15px; line-height: 1.3; color: var(--ink-2); }
.sbento__price { color: var(--ink); font: 800 20px/1.2 var(--font-display); letter-spacing: -0.01em; white-space: nowrap; }

.hero__title,
.cpage__title,
.refuse__title,
.price__title,
.faqp__title,
.post__title,
.blog__title,
.prj__title,
.legal__title,
.placeholder h1 {
	font-size: clamp(28px, 3vw, 46px);
	line-height: 1.04;
}

.hero__title span,
.cpage__title span,
.refuse__title span,
.price__title span,
.faqp__title span,
.post__title span,
.blog__title span,
.prj__title span,
.placeholder h1 span {
	color: #3F6DAE;
}
.sbento__card .tariff__more { margin-top: auto; }
.sbento__item--hit .sbento__title { padding-right: 72px; }
.sbento__item--hit .spotlight::before { background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.45), transparent 60%); }
.sbento__item--hit .sbento__card, .sbento__card--cta { background-color: #BCCFE7; background-image: radial-gradient(70% 90% at 82% 10%, rgba(255,255,255,.6) 0%, rgba(255,255,255,0) 60%), linear-gradient(165deg, #CBDAEE 0%, #AEC4E1 100%); }
.sbento__item--hit .sbento__text, .sbento__card--cta .sbento__text { color: #22334D; }
.sbento__card--cta .btn { margin-top: auto; }
.sbento__cta-text { display: flex; flex-direction: column; gap: 12px; }
.sbento__item--cta.is-wide .sbento__card { flex-direction: row; align-items: center; justify-content: space-between; gap: 24px 40px; }
.sbento__item--cta.is-wide .sbento__title { font-size: clamp(24px, 2.2vw, 32px); }
.sbento__item--cta.is-wide .sbento__text { max-width: 440px; font-size: 16px; }
.sbento__item--cta.is-wide .btn { margin-top: 0; flex: 0 0 auto; }
@media (max-width: 1100px) { .sbento__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) {
	.sbento__grid { grid-template-columns: minmax(0, 1fr); }
	.sbento__card { padding: 24px; }
	.section__head .sbento__filter { overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); }
	.sbento__tab { flex: 0 0 auto; }
}
@media (prefers-reduced-motion: reduce) { .sbento__card, .sbento__tab { transition: none; } }

/* Все карточки-ссылки: при наведении — световое пятно под курсором (.spotlight), как у карточек цен на главной */
.spotlight:hover { box-shadow: none; transform: none; }
.hnews__list .spotlight::before { border-radius: 18px; }

.site63-yandex-gate[data-site63-active="1"] .site63-widget-placeholder,
.site63-yandex-gate[data-site63-active="1"] > .site63-widget-placeholder { display: none !important; visibility: hidden !important; }

/* ===== После согласия: возвращаем внешним виджетам высоту контейнеров =====
   Плагин cookie consent оборачивает iframe в .site63-widget-frame с height:auto.
   У iframe нет height-атрибута, поэтому браузер даёт 150 px. Заставляем
   обёртки и iframe заполнять родные контейнеры. */
.trust__video .site63-yandex-gate,
.reviews__frame .site63-yandex-gate,
.post-video .site63-yandex-gate { width: 100% !important; height: 100% !important; }
.trust__video .site63-yandex-gate[data-site63-active="1"] .site63-widget-frame,
.reviews__frame .site63-yandex-gate[data-site63-active="1"] .site63-widget-frame,
.post-video .site63-yandex-gate[data-site63-active="1"] .site63-widget-frame { width: 100% !important; height: 100% !important; }
.trust__video .site63-widget-frame iframe,
.reviews__frame .site63-widget-frame iframe,
.post-video .site63-widget-frame iframe { display: block; width: 100% !important; height: 100% !important; border: 0; }
@media (min-width: 768px) {
	.map__box .site63-yandex-gate { position: absolute; inset: 0; width: 100% !important; height: 100% !important; }
	.map__box .site63-yandex-gate[data-site63-active="1"] .site63-widget-frame { width: 100% !important; height: 100% !important; }
	.map__box .site63-widget-frame iframe { display: block; width: 100% !important; height: 100% !important; border: 0; }
}
@media (max-width: 767px) {
	.map__box .site63-widget-frame { height: auto !important; }
	.map__box .site63-widget-frame iframe { display: block; width: 100% !important; height: 420px !important; border: 0; }
}

/* Второстепенные кнопки первого экрана — как «Подробнее» в плитке услуг */
.hero__links .link-arrow { min-height: 38px; padding: 0 16px; font-size: 14px; }

/* Поля и кнопка в результате калькулятора — на всю ширину */
.tpc__result .callback__row--stack .callback__field,
.tpc__result .callback__row--stack .callback__field .callback__phone {
	width: 100%;
	max-width: 100%;
}
.tpc__result .callback__row--stack .btn {
	width: 100%;
	max-width: 100%;
}

/* Вкладки калькулятора техподдержки */
.tpc__tabs {
	display: flex; flex-wrap: wrap; gap: 6px; width: fit-content; max-width: 100%;
	margin: 0 8px 16px; padding: 6px; border-radius: 999px; background: var(--ground);
}
.tpc__tab {
	min-height: 40px; padding: 0 18px; border: 0; border-radius: 999px;
	background: transparent; color: var(--ink-2); font: 700 14px/1 var(--font-text); cursor: pointer;
	transition: background-color 0.2s var(--ease), color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.tpc__tab:hover { color: var(--ink); }
.tpc__tab.is-active { background: var(--white); color: var(--ink); box-shadow: 0 2px 8px rgba(16,32,64,.10); }
.tpc__tab:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 2px; }
.tpc__panel[hidden] { display: none; }
@media (max-width: 560px) {
	.tpc__tabs { width: 100%; }
	.tpc__tab { flex: 1 1 0; padding: 0 10px; }
}
.tpc__row.is-locked { cursor: default; }
.tpc__row.is-locked:hover { background: transparent; }

/* ===== Мобильные исправления по аудиту 17.11.2026 ===== */
@media (max-width: 767px) {
	/* Длинные названия проектов */
	.prj__title { max-width: 100%; overflow-wrap: break-word; hyphens: manual; }

	/* FAQ: текст должен сжиматься, иконка — оставаться внутри карточки */
	.faq__q { gap: 16px; }
	.faq__q > span { min-width: 0; overflow-wrap: anywhere; }

	/* Подсказка прокрутки у горизонтальных фильтров */
	.faqp__nav ul,
	.blog__cats,
	.section__head .sbento__filter {
		flex-wrap: wrap;
		overflow: visible;
		-webkit-mask-image: none;
		mask-image: none;
	}
	.faqp__nav ul { border-radius: 20px; }
	.blog__cats { margin: 0; padding: 0; }
	.section__head .sbento__filter { margin: 0; padding: 0; }
	.faqp__nav a,
	.blog__cats a,
	.section__head .sbento__filter a { white-space: normal; }
}

@media (min-width: 1024px) and (max-width: 1100px) {
	.tech__logos--grid { grid-template-columns: repeat(4, 40px); gap: 8px; }
	.tech__logos--grid svg { width: 40px; height: 40px; }
}

@media (max-width: 380px) {
	.scalc__seg .seg__item span { padding: 9px 11px; font-size: 13px; }
}

/* Код в статьях: явная горизонтальная прокрутка */
.prose pre.wp-block-code { overflow-x: auto; scrollbar-width: thin; scrollbar-color: #B9C7D8 transparent; }

@media (max-width: 767px) {
	.faqp__nav a,
	.blog__cats a,
	.section__head .sbento__filter a {
		flex: 0 1 auto;
		max-width: 100%;
		min-width: 0;
		overflow-wrap: anywhere;
	}
}

/* Сравнение «до/после» в новости — без тени и внешней рамки */
.post__body .wp-block-image img.news-compare-image { box-shadow: none; border-radius: 12px; }

/* Акции-баннеры */
.pcard.pcard--media {
	padding: 0;
	min-height: 0;
	gap: 0;
	background: transparent;
}
.pcard.pcard--media::after { display: none; }
.pcard__media-link {
	display: block;
	width: 100%;
	border-radius: var(--radius-l);
	overflow: hidden;
	background: var(--white);
}
.pcard__media-link img {
	display: block;
	width: 100%;
	height: auto;
	transition: transform 0.45s var(--ease);
}
.pcard__media-link:hover img { transform: scale(1.012); }
.pcard__media-link:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
	.pcard__media-link img { transition: none; }
}

/* Статус и счётчик акции над баннером */
.pcard.pcard--media { gap: 12px; }
.pcard__top--media { width: 100%; }

/* Форма колеса: два поля и кнопка в один ряд на десктопе */
.wheel .callback__row--wide {
	display: grid;
	grid-template-columns: minmax(0, 244px) minmax(0, 244px) auto;
	align-items: end;
	justify-content: start;
	gap: 16px;
}
.wheel .callback__row--wide .callback__field {
	width: 100%;
	max-width: none;
}
.wheel .callback__row--wide .btn {
	align-self: end;
	width: auto;
	justify-self: start;
}
@media (max-width: 767px) {
	.wheel .callback__row--wide {
		display: flex;
		flex-wrap: wrap;
	}
	.wheel .callback__row--wide .btn {
		width: 100%;
		justify-self: auto;
	}
}

/* Широкие формы: поля и кнопка в один ряд, без переноса кнопки */
.callback__row--wide {
	display: grid;
	grid-template-columns: minmax(0, 244px) minmax(0, 244px) auto;
	align-items: end;
	justify-content: start;
	gap: 16px;
}
.callback__row--wide .callback__field {
	width: 100%;
	max-width: none;
}
.callback__row--wide .btn {
	align-self: end;
	justify-self: start;
	width: auto;
}
@media (max-width: 767px) {
	.callback__row--wide {
		display: flex;
		flex-wrap: wrap;
	}
	.callback__row--wide .btn,
	.callback__row--wide .s63-submit-wrap {
		width: 100%;
	}
	.callback__row--wide .s63-submit-wrap .btn {
		width: 100%;
	}
}

/* Широкая форма: поля выравниваются по верху, ошибка не сдвигает соседнее поле */
.callback__row--wide { align-items: start; }
.callback__row--wide .btn,
.callback__row--wide .s63-submit-wrap,
.wheel .callback__row--wide .btn,
.wheel .callback__row--wide .s63-submit-wrap {
	align-self: start;
	margin-top: 28px;
}
@media (max-width: 767px) {
	.callback__row--wide .btn,
	.callback__row--wide .s63-submit-wrap,
	.wheel .callback__row--wide .btn,
	.wheel .callback__row--wide .s63-submit-wrap {
		margin-top: 0;
	}
}

/* В колесе тоже верхнее выравнивание полей при ошибке */
.wheel .callback__row--wide { align-items: start; }

/* Три акции в один ряд на десктопе */
.akcii__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1200px) {
	.akcii__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
	.akcii__grid { grid-template-columns: minmax(0, 1fr); }
}

/* Зазор между акциями */
.akcii__grid { gap: 50px; }

/* На телефонах поле телефона в калькуляторе тоже на всю ширину */
@media (max-width: 767px) {
	.calc__result .callback__phone {
		flex: 1 1 100%;
		width: 100%;
		max-width: none;
	}
}

/* При отправке кнопка оборачивается в s63-submit-wrap: не удваиваем верхний отступ */
.callback__row--wide .s63-submit-wrap .btn,
.wheel .callback__row--wide .s63-submit-wrap .btn {
	margin-top: 0;
}
