/* ============ АвтоПривоз 24 — компоненты. Наполняется по задачам плана. ============ */

/* ---------- BUTTONS (перенос из mockup-dark.html) ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	font-family: var(--font-body);
	font-weight: 700;
	font-size: .98rem;
	padding: 13px 22px;
	border-radius: 11px;
	border: 1px solid transparent;
	cursor: pointer;
	transition: transform .18s ease, background .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease;
	white-space: nowrap;
}
.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--primary:hover { background: var(--accent-2); transform: translateY(-2px); box-shadow: 0 10px 30px -10px rgba(242,169,59,.55); }
.btn--ghost { background: transparent; border-color: var(--line-2); color: var(--text); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.btn--sm { padding: 10px 16px; font-size: .9rem; border-radius: 9px; }

/* ---------- SITE HEADER / NAV ---------- */
.ap24-site-header {
	position: fixed;
	inset: 0 0 auto 0;
	z-index: 50;
	transition: background .3s ease, border-color .3s ease, backdrop-filter .3s ease;
	border-bottom: 1px solid transparent;
}
.ap24-site-header.is-solid {
	background: rgba(11, 14, 18, .82);
	backdrop-filter: blur(12px);
	border-bottom-color: var(--line);
}
body.admin-bar .ap24-site-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .ap24-site-header { top: 46px; } }
.ap24-nav {
	max-width: var(--wrap-nav);
	margin-inline: auto;
	padding: 16px var(--pad);
	display: flex;
	align-items: center;
	gap: clamp(12px, 2vw, 26px);
}
.brand {
	display: flex;
	align-items: center;
	gap: 10px;
	flex: none;
	white-space: nowrap;
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 1.15rem;
	letter-spacing: .01em;
	color: var(--text);
}
.brand__mark {
	width: 1.7em;
	height: 1.7em;
	flex: none;
	object-fit: contain;
}
.brand__tag {
	align-self: flex-end;
	margin-bottom: .2em;
	font-family: var(--font-mono);
	font-size: .62rem;
	font-weight: 500;
	letter-spacing: .16em;
	color: var(--muted);
}
@media (max-width: 1699px) { .brand__tag { display: none; } }
.ap24-nav__links {
	display: flex;
	gap: clamp(12px, 1.5vw, 20px);
	margin-left: auto;
	font-size: .92rem;
	color: var(--muted);
	list-style: none;
	margin-block: 0;
	padding: 0;
}
.ap24-nav__phone {
	display: none;
	align-items: center;
	gap: 8px;
	margin-left: auto;
	font-family: var(--font-mono);
	font-size: .88rem;
	font-weight: 600;
	color: var(--text);
	white-space: nowrap;
	transition: color .18s ease;
}
.ap24-nav__phone svg { width: 16px; height: 16px; color: var(--accent); flex: none; }
.ap24-nav__phone:hover { color: var(--accent); }
@media (min-width: 1400px) { .ap24-nav__phone { display: inline-flex; } }
@media (min-width: 1150px) {
	.ap24-nav__links li { white-space: nowrap; }
	.ap24-nav__links {
		/* Хватает пунктов, чтобы не влезть в любую ширину — вместо поломки
		   всей шапки лишние уходят в горизонтальный скролл этой полосы. */
		min-width: 0;
		overflow-x: auto;
		scrollbar-width: none;
		-ms-overflow-style: none;
	}
	.ap24-nav__links::-webkit-scrollbar { display: none; }
}
.ap24-nav__links a { transition: color .18s ease; }
.ap24-nav__links a:hover,
.ap24-nav__links .current-menu-item > a { color: var(--text); }
.ap24-nav__cta { margin-left: 8px; }
.ap24-nav__toggle {
	display: none;
	margin-left: auto;
	width: 44px;
	height: 44px;
	border: 1px solid var(--line-2);
	border-radius: 10px;
	background: transparent;
	color: var(--text);
	cursor: pointer;
	align-items: center;
	justify-content: center;
}
.ap24-nav__toggle svg { width: 20px; height: 20px; }

@media (max-width: 1149px) {
	.ap24-nav__cta { display: none; }
	.ap24-nav__toggle { display: inline-flex; }
	.ap24-nav__links {
		position: absolute;
		inset: 100% 0 auto 0;
		flex-direction: column;
		gap: 0;
		margin: 0;
		padding: 8px var(--pad) 18px;
		background: rgba(11, 14, 18, .97);
		backdrop-filter: blur(12px);
		border-bottom: 1px solid var(--line);
		font-size: 1rem;
	}
	.ap24-nav__links[hidden] { display: none; }
	.ap24-nav__links li { border-bottom: 1px solid var(--line); }
	.ap24-nav__links li:last-child { border-bottom: 0; }
	.ap24-nav__links a { display: block; padding: 14px 2px; color: var(--text); }
	.ap24-nav__links .ap24-nav__cta-mobile { display: block; margin-top: 14px; }
	.ap24-nav__links .ap24-nav__cta-mobile a { color: var(--accent-ink); }
}
@media (min-width: 1150px) {
	.ap24-nav__cta-mobile { display: none; }
	.ap24-nav__links[hidden] { display: flex; }
}
@media (max-width: 560px) {
	.ap24-nav { gap: 10px; }
	.brand { font-size: 1.05rem; }
}

/* ---------- SITE FOOTER (перенос .foot из mockup) ---------- */
.ap24-site-footer {
	border-top: 1px solid var(--line);
	background: var(--bg-2);
	padding-block: 56px;
	margin-top: var(--sp-section);
}
.ap24-foot__grid {
	max-width: var(--wrap);
	margin-inline: auto;
	padding-inline: var(--pad);
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr;
	gap: 36px;
}
@media (max-width: 780px) { .ap24-foot__grid { grid-template-columns: 1fr; gap: 28px; } }
.ap24-foot h4 {
	font-family: var(--font-mono);
	font-size: .74rem;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--muted);
	margin: 0 0 14px;
	font-weight: 500;
}
.ap24-foot ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 9px;
	color: var(--muted);
	font-size: .92rem;
}
.ap24-foot a { transition: color .18s ease; }
.ap24-foot a:hover { color: var(--text); }
.ap24-foot__brand .brand { font-size: 1.3rem; }
.ap24-foot__brand p { margin-top: 12px; color: var(--muted); font-size: .92rem; max-width: 40ch; }
.ap24-foot__bar {
	max-width: var(--wrap);
	margin: 40px auto 0;
	padding: 22px var(--pad) 0;
	border-top: 1px solid var(--line);
	display: flex;
	flex-wrap: wrap;
	gap: 8px 20px;
	justify-content: space-between;
	font-family: var(--font-mono);
	font-size: .76rem;
	color: var(--muted);
}
.ap24-foot__bar-req {
	flex-basis: 100%;
	order: -1;
	margin: 0 0 2px;
	font-size: .7rem;
	color: var(--muted);
	opacity: .8;
	line-height: 1.5;
}

/* ---------- STICKY MOBILE CTA ---------- */
.ap24-sticky-cta {
	position: fixed;
	inset: auto 0 0 0;
	z-index: 45;
	display: none;
	gap: 10px;
	padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
	background: rgba(11, 14, 18, .92);
	backdrop-filter: blur(12px);
	border-top: 1px solid var(--line);
}
.ap24-sticky-cta .btn { flex: 1; }
@media (max-width: 720px) { .ap24-sticky-cta { display: flex; } }
/* iOS: у нативного <dialog> бэкдроп считается от «маленького» вьюпорта, а этот
   fixed-бар — от «большого», из-за чего он проступает под модалкой снизу. */
/* страница под поп-апом не прокручивается */
html.ap24-lock, body.ap24-modal-open { overflow: hidden; }
body.ap24-modal-open .ap24-sticky-cta { display: none; }
.ap24-sticky-cta__tg { flex: 0 0 52px !important; padding-inline: 0; display: inline-flex; align-items: center; justify-content: center; }
.ap24-sticky-cta__tg svg { width: 20px; height: 20px; }

/* Плавающая кнопка Telegram (десктоп): появляется после первого экрана. На мобильном
   роль выполняет иконка в липкой панели. */
.ap24-fab {
	position: fixed; right: 24px; bottom: 24px; z-index: 44;
	width: 56px; height: 56px; border-radius: 50%;
	display: none; align-items: center; justify-content: center;
	background: var(--accent); color: var(--accent-ink);
	box-shadow: 0 14px 34px -10px rgba(0,0,0,.65);
	opacity: 0; transform: translateY(12px); pointer-events: none;
	transition: opacity .25s ease, transform .25s ease;
}
.ap24-fab svg { width: 24px; height: 24px; }
.ap24-fab.is-on { opacity: 1; transform: none; pointer-events: auto; }
.ap24-fab:hover { transform: translateY(-2px); }
@media (min-width: 721px) { .ap24-fab { display: flex; } }
body.ap24-modal-open .ap24-fab { display: none; }

/* ---------- MODAL (заявка / заказать звонок) ---------- */
.ap24-modal {
	width: min(460px, calc(100vw - 32px));
	max-height: min(88vh, 760px);
	max-height: min(88dvh, 760px);
	overscroll-behavior: contain;
	padding: 0;
	border: 1px solid var(--line);
	border-radius: 18px;
	background: var(--surface);
	color: var(--text);
	overflow: clip;
}
.ap24-modal::backdrop { background: rgba(6, 9, 12, .66); backdrop-filter: blur(3px); }
.ap24-modal:not([open]) { display: none; }
.ap24-modal__card { padding: clamp(22px, 4vw, 34px); overflow-y: auto; max-height: inherit; overscroll-behavior: contain; }
.ap24-modal__close {
	position: absolute;
	top: 12px;
	right: 12px;
	width: 40px;
	height: 40px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--line-2);
	border-radius: 10px;
	background: transparent;
	color: var(--muted);
	cursor: pointer;
}
.ap24-modal__close:hover { color: var(--text); border-color: var(--accent); }
.ap24-modal__close svg { width: 18px; height: 18px; }
.ap24-modal h2 { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; margin: 0 40px 0 0; }
.ap24-modal__lead { margin-top: 10px; color: var(--muted); font-size: .95rem; }
.ap24-modal .ap24-leadform,
.ap24-modal .wpcf7 { margin-top: 18px; }
/* Телефон: заголовок в 2 строки, форма и кнопка ближе к первому экрану. */
@media (max-width: 560px) {
	.ap24-modal__card { padding: 20px 18px; }
	.ap24-modal h2 { font-size: 1.2rem; line-height: 1.25; }
	.ap24-modal__lead { font-size: .86rem; margin-top: 8px; }
	.ap24-modal .ap24-leadform,
	.ap24-modal .wpcf7 { margin-top: 12px; }
	.ap24-modal .field { margin-bottom: 10px; }
}

/* Компактная форма в поп-апе «Заказать звонок»: только контакты */
.ap24-modal__form[data-ap24-compact] .stepform__bar,
.ap24-modal__form[data-ap24-compact] [data-step-prev],
.ap24-modal__form[data-ap24-compact] [data-step-next] { display: none !important; }
.ap24-modal__form[data-ap24-compact] .stepform__nav .btn { width: 100%; }

/* Мягкое появление (гасится при prefers-reduced-motion) */
@media (prefers-reduced-motion: no-preference) {
	.ap24-modal[open] { animation: ap24-modal-in .22s ease-out both; }
	.ap24-modal[open]::backdrop { animation: ap24-modal-fade .22s ease-out both; }
}
@keyframes ap24-modal-in { from { opacity: 0; transform: translateY(10px) scale(.98); } }
@keyframes ap24-modal-fade { from { opacity: 0; } }
.ap24-foot__cb {
	margin-top: 12px;
	background: none;
	border: 0;
	padding: 0;
	color: var(--accent);
	font: inherit;
	cursor: pointer;
	text-align: left;
}
.ap24-foot__cb:hover { color: var(--accent-2); }

/* ---------- BASE PAGE (page.php / 404) ---------- */
.ap24-page {
	padding-top: clamp(120px, 18vh, 190px);
	padding-bottom: var(--sp-section);
}
.ap24-page__head h1,
.ap24-404 h1 {
	font-family: var(--font-display);
	font-weight: 800;
	font-size: var(--fs-h2);
	letter-spacing: -.015em;
}
.ap24-page__body { margin-top: 22px; max-width: 65ch; }
.ap24-page__body :where(h2, h3) { font-family: var(--font-display); margin-top: 1.6em; }
.ap24-page__body p { margin-top: 1em; color: var(--muted); }
.ap24-contacts { list-style: none; margin: 1.2em 0 0; padding: 0; display: grid; gap: 10px; }
.ap24-contacts li { display: flex; gap: 14px; border-bottom: 1px solid var(--line); padding-bottom: 10px; }
.ap24-contacts li span { min-width: 130px; color: var(--muted); font-family: var(--font-mono); font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; }
.ap24-contacts a { color: var(--accent); }
.ap24-req { margin-top: 1.4em; font-family: var(--font-mono); font-size: .82rem; color: var(--muted); line-height: 1.7; }
.ap24-404 { text-align: center; }
.ap24-404 p { margin-top: 16px; color: var(--muted); }
.ap24-404 a { color: var(--accent); }

/* ---------- SPASIBO (страница после отправки формы) ---------- */
.ap24-spasibo__lead { margin-top: 16px; max-width: 56ch; color: var(--muted); }
.ap24-spasibo__contacts { margin-top: 10px; color: var(--muted); }
.ap24-spasibo__contacts a { color: var(--accent); }
.ap24-spasibo__more { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }
.ap24-spasibo__redirect { margin-top: 40px; color: var(--muted); font-size: .82rem; }
.ap24-spasibo__redirect a { color: var(--accent); }

/* ---------- MOTION: reveal / rise / view transitions ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }
/* Без JS ничего не прячем */
html:not(.ap24-js) .reveal,
html:not(.ap24-js) .rise { opacity: 1; transform: none; animation: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }

/* Hero on-load — чистый CSS, не зависит от JS */
.rise { opacity: 0; transform: translateY(20px); animation: ap24-rise .9s cubic-bezier(.2,.7,.2,1) forwards; }
@keyframes ap24-rise { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
	.reveal, .rise { opacity: 1 !important; transform: none !important; animation: none !important; transition: none !important; }
}

/* Плавная смена страниц (нативный MPA View Transitions) */
@view-transition { navigation: auto; }
@media (prefers-reduced-motion: reduce) {
	::view-transition-group(*),
	::view-transition-old(*),
	::view-transition-new(*) { animation: none !important; }
}

/* ============================================================
   HOMEPAGE — перенос секций из mockup-dark.html (Task 6)
   Классы сохранены как в макете.
   ============================================================ */

/* ---------- HERO ---------- */
.hero { position: relative; padding-top: clamp(130px, 20vh, 200px); padding-bottom: var(--sp-section); overflow: hidden; isolation: isolate; }
.hero::after { content: ""; position: absolute; inset: 0; background: var(--glow); z-index: -1; pointer-events: none; }
.hero__map { position: absolute; inset: -6% -4% auto -4%; z-index: -2; opacity: .55; animation: ap24-drift 46s linear infinite alternate; }
@keyframes ap24-drift { to { transform: translate3d(-24px, 14px, 0); } }
.hero__grid {
	position: absolute; inset: 0; z-index: -3;
	background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
	background-size: 88px 88px;
	-webkit-mask-image: radial-gradient(70% 60% at 50% 30%, #000 0%, transparent 78%);
	mask-image: radial-gradient(70% 60% at 50% 30%, #000 0%, transparent 78%);
	opacity: .5;
}
/* max-width в em, не ch: ch зависит от шрифта → при свапе Unbounded менялась
   ширина блока → число строк → высота → CLS. em привязан только к font-size. */
.hero h1 { font-family: var(--font-display); font-weight: 800; font-size: var(--fs-display); line-height: .98; letter-spacing: -.022em; margin: 22px 0 0; max-width: 9.5em; }
.hero h1 .amber { color: var(--accent); }
.hero__lead { margin-top: 26px; max-width: 56ch; font-size: var(--fs-lead); color: var(--muted); }
.hero__cta { margin-top: 34px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.hero__stats { margin-top: 52px; display: flex; flex-wrap: wrap; gap: 14px 40px; padding-top: 24px; border-top: 1px solid var(--line); font-family: var(--font-mono); font-size: .9rem; color: var(--muted); }
.hero__stats b { color: var(--text); font-weight: 500; }
@media (prefers-reduced-motion: reduce) { .hero__map { animation: none; } }

/* ---------- CONTACT ICONS (звонок/Telegram/WhatsApp) ---------- */
.contact-icons { display: flex; gap: 10px; margin-left: 4px; }
.contact-icons__item {
	display: inline-flex; align-items: center; justify-content: center;
	width: 46px; height: 46px; border-radius: 50%;
	border: 1px solid var(--line-2); color: var(--text);
	transition: border-color .15s, color .15s, transform .15s;
}
.contact-icons__item svg { width: 20px; height: 20px; }
.contact-icons__item:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

/* ---------- MARQUEE ---------- */
.marquee {
	border-block: 1px solid var(--line); background: var(--bg-2); padding: 18px 0; overflow: hidden;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__row { display: flex; gap: 56px; width: max-content; animation: ap24-slide 34s linear infinite; }
.marquee:hover .marquee__row { animation-play-state: paused; }
.marquee__row span { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; letter-spacing: .04em; color: var(--muted); white-space: nowrap; }
@keyframes ap24-slide { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__row { animation: none; } }

/* ---------- FLOW / route spine ---------- */
.flow { position: relative; }
@media (min-width: 940px) {
	.flow { padding-left: 60px; }
	.flow::before { content: ""; position: absolute; left: 18px; top: 40px; bottom: 40px; width: 1px; background: linear-gradient(var(--line), var(--line) 60%, transparent); }
	.section::before {
		content: ""; position: absolute; left: -48px; top: calc(var(--sp-section) + 4px); width: 11px; height: 11px; border-radius: 50%;
		background: var(--bg); border: 2px solid var(--line-2); transition: border-color .4s ease, background .4s ease, box-shadow .4s ease;
	}
	.section.is-in::before { border-color: var(--accent); background: var(--accent); box-shadow: 0 0 0 4px rgba(242,169,59,.14); }
}

/* ---------- SECTIONS ---------- */
.section { position: relative; padding-block: var(--sp-section); }
.section + .section { padding-top: 0; }
.section__head { max-width: 62ch; margin-bottom: clamp(32px, 5vw, 56px); }
.section h2 { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-h2); line-height: 1.04; letter-spacing: -.015em; margin: 14px 0 0; }
.section__head p { margin-top: 16px; color: var(--muted); font-size: var(--fs-lead); }

/* ---------- COUNTRY CARDS ---------- */
.countries { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 1040px) { .countries { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .countries { grid-template-columns: 1fr; } }
.country { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 24px 22px; transition: transform .22s ease, border-color .22s ease, background .22s ease; }
.country:hover { transform: translateY(-4px); border-color: rgba(242,169,59,.4); background: var(--surface-2); }
.country__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.country__name { font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; letter-spacing: .01em; }
.country__code { font-family: var(--font-mono); font-size: .78rem; font-weight: 500; color: var(--accent); border: 1px solid var(--line-2); border-radius: 6px; padding: 3px 8px; }
.country p { margin-top: 14px; color: var(--muted); font-size: .96rem; }
.country__spec { margin-top: 16px; border-top: 1px solid var(--line); font-family: var(--font-mono); font-size: .82rem; }
.country__spec div { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.country__spec div b { color: var(--text); font-weight: 500; }
.country__link { display: inline-block; margin-top: 16px; font-family: var(--font-mono); font-size: .82rem; color: var(--accent); }
.country__link:hover { color: var(--accent-2); }

/* ---------- PROCESS ---------- */
.steps { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--line); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }
.step { background: var(--bg); padding: 26px 24px; display: flex; gap: 18px; transition: background .2s ease; }
.step:hover { background: var(--surface); }
.step__n { font-family: var(--font-mono); font-size: 1.05rem; color: var(--accent); font-weight: 500; flex: none; padding-top: 2px; }
.step h3 { font-size: 1.12rem; font-weight: 700; }
.step p { margin-top: 7px; color: var(--muted); font-size: .95rem; }

/* ---------- CALCULATOR ---------- */
.ap24-calc { background: var(--surface-2); border: 1px solid var(--line); border-radius: 18px; padding: clamp(22px, 4vw, 38px); display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 4vw, 44px); }
@media (max-width: 860px) { .ap24-calc { grid-template-columns: 1fr; } }
.ap24-calc__modes { grid-column: 1 / -1; display: flex; gap: 8px; margin-bottom: 4px; }
.field { margin-bottom: 22px; }
.field > label { display: block; font-family: var(--font-mono); font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ap24-calc input[type="range"] { width: 100%; accent-color: var(--accent); margin-top: 6px; }
.ap24-calc select, .ap24-calc input[type="number"] { width: 100%; background: var(--bg); border: 1px solid var(--line-2); color: var(--text); font-family: var(--font-body); font-size: .95rem; padding: 11px 12px; border-radius: 9px; }
.ap24-calc input:disabled { opacity: .4; }
.rangeval { font-family: var(--font-mono); font-size: 1.05rem; color: var(--text); margin-top: 8px; }
.result { background: var(--bg-2); border: 1px solid rgba(242,169,59,.35); border-radius: 14px; padding: 24px; align-self: start; }
.result__label { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.result__sum { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.35rem, 3.4vw, 2rem); color: var(--accent); margin-top: 8px; line-height: 1.1; }
.result__break { margin-top: 18px; font-family: var(--font-mono); font-size: .84rem; }
.result__break div { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.result__break div b { color: var(--text); font-weight: 500; }
.result small { display: block; margin-top: 14px; color: var(--muted); font-size: .78rem; line-height: 1.5; }
.result .btn { width: 100%; margin-top: 16px; }
.ap24-calc__fixform { margin-top: 16px; display: grid; gap: 10px; }
.ap24-calc__fixform input { width: 100%; background: var(--bg); border: 1px solid var(--line-2); color: var(--text); font-family: var(--font-body); padding: 11px 12px; border-radius: 9px; }
.ap24-calc__fixform .consent { display: flex; gap: 8px; font-size: .78rem; color: var(--muted); }
.ap24-calc__fixform .consent input { width: auto; }
.ap24-calc__fixform .consent a { color: var(--accent); }

/* ---------- EXAMPLES ---------- */
.filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.chip { font-family: var(--font-body); font-size: .9rem; font-weight: 600; padding: 8px 14px; border-radius: 9px; border: 1px solid var(--line-2); background: transparent; color: var(--muted); cursor: pointer; transition: all .18s ease; }
.chip:hover { color: var(--text); border-color: var(--text); }
.chip.on { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.grid-cars { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 20px; }
.car { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; transition: transform .22s ease, border-color .22s ease; display: block; }
.car[hidden] { display: none; }
.car:hover { transform: translateY(-4px); border-color: rgba(242,169,59,.4); }
.car__photo { position: relative; aspect-ratio: 4 / 3; display: grid; place-items: center; overflow: hidden; background: linear-gradient(135deg, #16233a, #0e1622); }
.car__photo img { width: 100%; height: 100%; object-fit: cover; }
.car__photo.kr { background: linear-gradient(135deg, #16233a, #0e1622); }
.car__photo.jp { background: linear-gradient(135deg, #3a1a1f, #170e12); }
.car__photo.cn { background: linear-gradient(135deg, #123027, #0c1a16); }
.car__photo.ww { background: linear-gradient(135deg, #2a2440, #14101f); }
.car__photo svg { width: 58%; opacity: .9; }
.car__tag { position: absolute; left: 12px; bottom: 12px; font-family: var(--font-mono); font-size: .68rem; letter-spacing: .1em; color: var(--muted); background: rgba(11,14,18,.6); border: 1px solid var(--line); padding: 3px 7px; border-radius: 5px; }
.car__body { padding: 18px 18px 20px; }
.car__body h3 { font-size: 1.05rem; font-weight: 700; }
.car__meta { margin-top: 8px; font-family: var(--font-mono); font-size: .78rem; color: var(--muted); }
.car__price { margin-top: 14px; font-family: var(--font-mono); font-weight: 500; font-size: 1.15rem; color: var(--accent); }

/* ---------- TRUST / counters ---------- */
.counters { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding-top: 8px; }
@media (max-width: 640px) { .counters { grid-template-columns: 1fr; } }
.counter b { display: block; font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 4.5vw, 3rem); letter-spacing: -.02em; }
.counter span { font-family: var(--font-mono); font-size: .8rem; color: var(--muted); }
.trust-row { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 34px; font-size: .92rem; color: var(--muted); }
.trust-row span { display: flex; align-items: center; gap: 9px; }
.trust-row span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--good); flex: none; }

/* ---------- REVIEWS ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 880px) { .reviews { grid-template-columns: 1fr; } }
.review { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 24px; margin: 0; }
.review p { font-weight: 500; font-size: 1.02rem; }
.review footer { margin-top: 16px; font-family: var(--font-mono); font-size: .8rem; color: var(--muted); }
.r2gis__meta { margin-top: 10px; color: var(--muted); font-size: .95rem; }
.r2gis__stars { color: var(--accent); letter-spacing: 2px; }
.review .r2gis__stars { margin-bottom: 10px; font-size: 1rem; font-weight: 400; }
.r2gis__more { margin-top: 18px; }
.r2gis__more a { color: var(--accent); font-weight: 600; }
.review__photo { margin: 14px 0 0; }
.review__photo img { width: 100%; max-width: 220px; border-radius: 12px; display: block; }
.review__ava, .rv-card__ava { overflow: hidden; }
.review__ava img, .rv-card__ava img { width: 100%; height: 100%; object-fit: cover; display: block; }
.review__who { display: flex; align-items: center; gap: 10px; }
.review__ava { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: .75rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative; font-weight: 600; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-family: var(--font-mono); font-size: 1.3rem; color: var(--accent); transition: transform .25s ease; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 22px; max-width: 65ch; }

/* ---------- LEAD ---------- */
.lead { background: var(--surface-2); border: 1px solid var(--line); border-radius: 20px; padding: clamp(24px, 4vw, 44px); display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 56px); }
@media (max-width: 900px) { .lead { grid-template-columns: 1fr; } }
.lead h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.6rem, 3.2vw, 2.3rem); line-height: 1.06; }
.lead__aside p { margin-top: 16px; color: var(--muted); }
.lead__aside .trust-row { flex-direction: column; gap: 12px; }
.lead form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 520px) { .lead form .row { grid-template-columns: 1fr; } }
.lead form label { display: block; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px; }
.lead form .field { margin-bottom: 16px; }
.lead form input, .lead form textarea { width: 100%; background: var(--bg); border: 1px solid var(--line-2); color: var(--text); font-family: var(--font-body); font-size: .98rem; padding: 12px 13px; border-radius: 10px; }
.lead form textarea { resize: vertical; min-height: 92px; }
.lead form .btn { width: 100%; margin-top: 4px; }
.lead .fineprint { margin-top: 12px; font-size: .78rem; color: var(--muted); }
.lead .consent { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 12px; font-size: .82rem; color: var(--muted); }
.lead .consent input { width: auto; margin-top: 3px; flex: none; }
.lead .consent a { color: var(--accent); }

/* ---------- BLOG / ARTICLE / ZAKAZ ---------- */
.ap24-crumbs { color: var(--muted); font-size: .8rem; margin-bottom: 18px; }
.ap24-crumbs a:hover { color: var(--text); }

.ap24-posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.ap24-postcard { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.ap24-postcard__img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.ap24-postcard__body { padding: 20px; }
.ap24-postcard__meta { font-size: .74rem; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
.ap24-postcard h2 { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; margin-top: 8px; line-height: 1.2; }
.ap24-postcard h2 a:hover { color: var(--accent); }
.ap24-postcard p { margin-top: 10px; color: var(--muted); font-size: .92rem; }

.ap24-article__cover { margin: 8px 0 32px; border-radius: 16px; overflow: hidden; }
.ap24-article__cover img { width: 100%; }
.ap24-article__body { max-width: 68ch; font-size: 1.08rem; }
.ap24-article__body :where(h2, h3) { font-family: var(--font-display); margin-top: 1.8em; }
.ap24-article__body h2 { font-size: 1.5rem; }
.ap24-article__body h3 { font-size: 1.2rem; }
.ap24-article__body p { margin-top: 1.1em; }
.ap24-article__body ul, .ap24-article__body ol { margin-top: 1.1em; padding-left: 1.4em; color: var(--muted); }
.ap24-article__body li { margin: .4em 0; }
/* Широкие таблицы (сравнения на 3–4 колонки) скроллятся внутри себя
   на узких экранах, а не рвут/обрезают страницу. */
.ap24-article__body .table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-top: 1.4em; }
.ap24-article__body table { width: 100%; border-collapse: collapse; margin-top: 1.4em; font-size: .95rem; }
.ap24-article__body .table-scroll table { margin-top: 0; min-width: 30rem; }
.ap24-article__body th, .ap24-article__body td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.ap24-article__body th { background: var(--surface); font-family: var(--font-mono); font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; }
.ap24-article__body a:not(.btn) { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

.ap24-author { display: flex; gap: 16px; margin-top: 40px; padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.ap24-author__photo { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex: none; }
.ap24-author__name { font-weight: 700; }
.ap24-author__role { font-size: .78rem; color: var(--accent); margin-top: 2px; }
.ap24-author__bio { margin-top: 8px; color: var(--muted); font-size: .92rem; }

.ap24-article__cta { margin-top: 36px; padding: 26px; background: var(--surface-2); border: 1px solid rgba(242,169,59,.3); border-radius: 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.ap24-article__cta p { color: var(--muted); max-width: 44ch; }
.ap24-article__cta .btn { margin-left: auto; }

.ap24-zakaz__price { margin-top: 14px; font-family: var(--font-mono); font-size: 1.4rem; color: var(--accent); }
.ap24-zakaz__price span { display: block; font-size: .82rem; color: var(--muted); margin-top: 2px; }
.ap24-zakaz__gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; margin: 24px 0; }
.ap24-zakaz__gallery img { width: 100%; border-radius: 12px; aspect-ratio: 16/9; object-fit: cover; }
.ap24-zakaz__spec { max-width: 520px; margin-top: 8px; }
.ap24-zakaz__story { margin-top: 28px; }

/* ---------- COOKIE NOTICE ---------- */
.ap24-cookie {
	position: fixed;
	left: 16px; right: 16px; bottom: 16px;
	z-index: 60;
	max-width: 640px;
	margin-inline: auto;
	display: flex;
	align-items: center;
	gap: 14px 20px;
	flex-wrap: wrap;
	padding: 16px 18px;
	background: var(--surface-2);
	border: 1px solid var(--line-2);
	border-radius: 14px;
	box-shadow: 0 20px 50px -16px rgba(0,0,0,.6);
}
.ap24-cookie p { font-size: .86rem; color: var(--muted); flex: 1; min-width: 220px; }
.ap24-cookie a { color: var(--accent); }
.ap24-cookie .btn { flex: none; }
.ap24-cookie[hidden] { display: none; }
/* Мобильный: компактная плашка (текст + кнопка в одну строку), чтобы не
   перекрывать CTA героя — раньше занимала ~30% экрана. */
@media (max-width: 720px) {
	.ap24-cookie {
		bottom: 78px;
		left: 10px; right: 10px;
		flex-wrap: nowrap;
		gap: 10px;
		padding: 10px 12px;
		border-radius: 12px;
	}
	.ap24-cookie p { min-width: 0; font-size: .72rem; line-height: 1.35; }
	.ap24-cookie .btn { padding: 8px 12px; font-size: .78rem; }
}

/* ---------- TOAST ---------- */
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 220%); visibility: hidden; background: var(--accent); color: var(--accent-ink); font-weight: 700; font-size: .92rem; padding: 13px 22px; border-radius: 11px; box-shadow: 0 16px 40px -12px rgba(0,0,0,.6); transition: transform .4s cubic-bezier(.2,.8,.2,1); z-index: 80; }
.toast.show { transform: translate(-50%, 0); visibility: visible; }

/* ---------- INSPECTION (что проверяем) ---------- */
.checks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; background: var(--line); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
@media (max-width: 820px) { .checks { grid-template-columns: 1fr; } }
.check { background: var(--bg); padding: 24px 22px; display: flex; gap: 16px; transition: background .2s ease; }
.check:hover { background: var(--surface); }
.check__mark { flex: none; width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; color: var(--good); border: 1px solid var(--line-2); }
.check__mark svg { width: 16px; height: 16px; }
.check h3 { font-size: 1.06rem; font-weight: 700; }
.check p { margin-top: 7px; color: var(--muted); font-size: .93rem; }

/* ---------- PAYMENT SCHEDULE (график оплаты) ---------- */
.paysteps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 940px) { .paysteps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .paysteps { grid-template-columns: 1fr; } }
.paystep { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 22px 20px; }
.paystep__dot { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--surface-2); border: 1px solid var(--line-2); font-family: var(--font-mono); font-size: .95rem; color: var(--accent); }
.paystep__body h3 { margin-top: 14px; font-size: 1.05rem; font-weight: 700; }
.paystep__when { margin-top: 4px; font-family: var(--font-mono); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.paystep__body p:last-child { margin-top: 10px; color: var(--muted); font-size: .9rem; }

/* ---------- CAR CARD ACTIONS ---------- */
.car__body h3 a { transition: color .18s ease; }
.car__body h3 a:hover { color: var(--accent); }
.car__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.car__act { font-family: var(--font-mono); font-size: .76rem; letter-spacing: .04em; padding: 7px 11px; border-radius: 8px; border: 1px solid var(--line-2); color: var(--muted); transition: color .18s ease, border-color .18s ease, background .18s ease; }
.car__act:hover { color: var(--text); border-color: var(--text); }
.car__act--icon { color: var(--accent); }
.car__act--icon:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }

/* ---------- CALC: экономия vs дилер ---------- */
.result__econ { margin-top: 10px; font-family: var(--font-mono); font-size: .86rem; color: var(--good); }
.result__econ[hidden] { display: none; }
.result__note { margin-top: 10px; font-size: .84rem; line-height: 1.5; color: var(--accent-2); border-left: 2px solid var(--accent); padding-left: 10px; }
.result__note[hidden] { display: none; }

/* ---------- OFFERS / витрина «под заказ» ---------- */
.car__badge { position: absolute; right: 12px; top: 12px; font-family: var(--font-mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-ink); background: var(--accent); padding: 4px 8px; border-radius: 6px; }
.car--order { border-color: rgba(242,169,59,.32); }
.car__price-note { display: block; margin-top: 3px; font-family: var(--font-body); font-size: .72rem; font-weight: 400; letter-spacing: 0; color: var(--muted); }

/* ---------- GEO ---------- */
.geo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 48px); }
@media (max-width: 900px) { .geo { grid-template-columns: 1fr; } }
.geo__points { display: grid; gap: 2px; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; align-content: start; }
.geo__point { background: var(--bg); padding: 18px 20px; }
.geo__point b { display: block; font-size: 1rem; }
.geo__point span { display: block; margin-top: 5px; color: var(--muted); font-size: .88rem; }
.geo__hubs-label { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.geo__hubs-list { display: flex; flex-wrap: wrap; gap: 8px; }
.geo__hubs-list span { font-family: var(--font-mono); font-size: .82rem; color: var(--text); border: 1px solid var(--line-2); border-radius: 8px; padding: 7px 11px; }
.geo__hubs-more { color: var(--accent) !important; border-color: var(--line-2); }

/* ---------- GSAP-ветка: движением управляет JS, CSS-переходы reveal выключены ---------- */
.gsap-on .reveal { transition: none; }

/* ---------- ROUTE PROGRESS (фирменный «маршрут авто») ---------- */
.flow__fill,
.flow__car { display: none; }
@media (min-width: 940px) {
	.flow__fill {
		display: block; position: absolute; left: 18px; top: 0; width: 2px; height: 0;
		background: linear-gradient(var(--accent), var(--accent-2));
		box-shadow: 0 0 14px rgba(242,169,59,.4); z-index: 1; pointer-events: none;
	}
	.flow__car {
		display: block; position: absolute; left: 4px; top: 24px; width: 30px; height: 16px;
		color: var(--accent); z-index: 2; pointer-events: none; will-change: transform;
	}
	.flow__car svg { width: 100%; height: 100%; filter: drop-shadow(0 0 8px rgba(242,169,59,.45)); }
}
.scroll-progress {
	position: fixed; left: 0; top: 0; width: 100%; height: 2px; z-index: 55;
	background: transparent; pointer-events: none;
}
.scroll-progress i {
	display: block; height: 100%; width: 100%; transform: scaleX(0); transform-origin: 0 50%;
	background: linear-gradient(90deg, var(--accent), var(--accent-2));
}
@media (min-width: 940px) { .scroll-progress { display: none; } }
@media (prefers-reduced-motion: reduce) {
	.flow__fill, .flow__car, .scroll-progress { display: none !important; }
}

/* ---------- CALC: полоски разбивки ---------- */
.result__break div { position: relative; }
.result__break div::after {
	content: ""; position: absolute; left: 0; bottom: 0; height: 2px;
	width: calc(var(--bar, 0) * 1%); background: var(--line-2);
	transition: width .4s cubic-bezier(.2,.7,.2,1);
}
@media (prefers-reduced-motion: reduce) { .result__break div::after { transition: none; } }

/* ---------- STEP FORM (многошаговая заявка) ---------- */
.stepform__bar { height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; margin-bottom: 22px; }
.stepform__bar span { display: block; height: 100%; width: 50%; background: var(--accent); transition: width .3s ease; }
.stepform__legend { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
.stepform__step[hidden] { display: none; }
.stepform__nav { display: flex; gap: 12px; margin-top: 4px; }
.stepform__nav .btn { flex: 1; margin-top: 0; }
.lead form select, .ap24-leadform select { width: 100%; background: var(--bg); border: 1px solid var(--line-2); color: var(--text); font-family: var(--font-body); font-size: .98rem; padding: 12px 13px; border-radius: 10px; }
.ap24-leadform .chips { margin-bottom: 4px; }
.ap24-leadform .chip.on { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }

/* ---------- FORM FIELDS — единое тёмное оформление (CF7 + fallback + модалка) ---------- */
.ap24-leadform,
.wpcf7-form {
	font-size: .98rem;
}
.ap24-leadform .row,
.wpcf7-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 520px) {
	.ap24-leadform .row,
	.wpcf7-form .row { grid-template-columns: 1fr; }
}
.ap24-leadform .field,
.wpcf7-form .field { margin-bottom: 16px; }
.wpcf7-form label { display: block; }
.wpcf7-form .field > label { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.wpcf7-form .field > label br { display: none; }
.ap24-leadform input:not([type="checkbox"]):not([type="radio"]),
.ap24-leadform textarea,
.ap24-leadform select,
.wpcf7-form input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
.wpcf7-form textarea,
.wpcf7-form select {
	width: 100%;
	margin-top: 8px;
	background: var(--bg);
	border: 1px solid var(--line-2);
	color: var(--text);
	font-family: var(--font-body);
	font-size: .98rem;
	padding: 12px 13px;
	border-radius: 10px;
}
.ap24-leadform textarea,
.wpcf7-form textarea { resize: vertical; min-height: 72px; }
.ap24-leadform input:focus,
.ap24-leadform textarea:focus,
.ap24-leadform select:focus,
.wpcf7-form input:focus,
.wpcf7-form textarea:focus,
.wpcf7-form select:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.wpcf7-form .consent,
.ap24-leadform .consent { display: flex; gap: 10px; align-items: flex-start; margin: 6px 0 14px; font-size: .82rem; color: var(--muted); line-height: 1.5; }
.wpcf7-form .consent input,
.ap24-leadform .consent input { width: auto; margin-top: 3px; flex: none; }
.wpcf7-form .consent a,
.ap24-leadform .consent a { color: var(--accent); }
.wpcf7-form .btn,
.wpcf7-form input[type="submit"],
.ap24-leadform > .btn { width: 100%; margin-top: 4px; }
.wpcf7-form input[type="submit"] {
	background: var(--accent); color: var(--accent-ink);
	border: 1px solid transparent; border-radius: 11px;
	font-family: var(--font-body); font-weight: 700; font-size: .98rem;
	padding: 13px 22px; cursor: pointer;
}
.wpcf7-form input[type="submit"]:hover { background: var(--accent-2); }
.wpcf7-form .wpcf7-not-valid-tip { color: #ff9a8b; font-size: .8rem; margin-top: 6px; }
.wpcf7-form .wpcf7-response-output { margin: 14px 0 0; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line-2); font-size: .88rem; }

/* ---------- VIDEO REVIEWS ---------- */
.vreviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .vreviews { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .vreviews { grid-template-columns: 1fr; } }
.vreview { position: relative; aspect-ratio: 16 / 9; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--surface); }
.vreview iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- WORK HOURS WIDGET ---------- */
.ap24-hours { display: none; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: .72rem; color: var(--muted); white-space: nowrap; min-width: 172px; }
.ap24-hours:not([hidden]) { display: inline-flex; }
.ap24-hours__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); flex: none; }
.ap24-hours.is-open .ap24-hours__dot { background: var(--good); box-shadow: 0 0 0 3px rgba(79,191,139,.16); }
.ap24-hours.is-closed .ap24-hours__dot { background: var(--line-2); }
@media (max-width: 1699px) { .ap24-hours { display: none !important; } }

/* ---------- QUIZ «Подбор авто» ---------- */
.quiz__shell {
	position: relative;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: 20px;
	padding: clamp(22px, 4vw, 44px);
	overflow: hidden;
}
.quiz__shell::before {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background: var(--glow); opacity: .9;
}
.quiz__shell > * { position: relative; }
.quiz__start { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(22px, 4vw, 48px); align-items: center; }
.quiz__start[hidden], .quiz__flow[hidden] { display: none; }
.quiz__start h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.6rem, 1.2rem + 1.7vw, 2.35rem); line-height: 1.16; letter-spacing: -.015em; margin: 18px 0 0; }
.quiz__lead { margin-top: 16px; color: var(--muted); font-size: var(--fs-lead); max-width: 52ch; }
.quiz__gets { list-style: none; margin: 22px 0 26px; padding: 0; display: grid; gap: 10px; }
.quiz__gets li { position: relative; padding-left: 28px; font-size: .98rem; }
.quiz__gets li::before {
	content: ""; position: absolute; left: 0; top: .32em; width: 14px; height: 8px;
	border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg);
}
.quiz__begin { padding: 15px 30px; font-size: 1.02rem; }
.quiz__note { margin-top: 14px; font-size: .78rem; color: var(--muted); letter-spacing: .06em; }
.quiz__start-art { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.quiz__start-art span {
	display: grid; place-items: center; aspect-ratio: 1.2; border: 1px solid var(--line-2); border-radius: 14px;
	font-family: var(--font-mono); font-size: 1.15rem; letter-spacing: .12em; color: var(--muted); background: var(--bg-2);
}
.quiz__start-art span:first-child { color: var(--accent); border-color: rgba(242,169,59,.45); }
.quiz__start-art i { position: absolute; inset: 50% 8% auto; height: 1px; background: linear-gradient(90deg, transparent, var(--accent), transparent); opacity: .5; }
@media (max-width: 820px) {
	.quiz__start { grid-template-columns: 1fr; }
	.quiz__start-art { display: none; }
	.quiz__begin { width: 100%; }
}

.quiz__flow { max-width: 760px; margin-inline: auto; }
.quiz__top { display: flex; align-items: center; gap: 14px; margin-bottom: clamp(22px, 4vw, 34px); }
.quiz__back, .quiz__close {
	flex: none; width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center;
	border: 1px solid var(--line-2); border-radius: 11px; background: transparent; color: var(--muted); cursor: pointer;
	transition: color .18s ease, border-color .18s ease;
}
.quiz__back:hover, .quiz__close:hover { color: var(--text); border-color: var(--accent); }
.quiz__back svg, .quiz__close svg { width: 18px; height: 18px; }
.quiz__close { display: none; }
.quiz__prog { flex: 1; min-width: 0; }
.quiz__bar { height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; }
.quiz__bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--accent), var(--accent-2)); transition: width .35s cubic-bezier(.2,.7,.2,1); }
.quiz__count { margin-top: 9px; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.quiz__step[hidden] { display: none; }
.quiz__q { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.3rem, 1.05rem + 1.3vw, 1.85rem); line-height: 1.22; letter-spacing: -.01em; }
.quiz__qsub { margin-top: 10px; color: var(--muted); font-size: .96rem; }
.quiz__opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; margin-top: 24px; }
.qopt {
	display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 4px;
	min-height: 68px; padding: 16px 18px; text-align: left;
	background: var(--bg); border: 1px solid var(--line-2); border-radius: 14px; color: var(--text);
	font-family: var(--font-body); font-size: 1rem; font-weight: 700; cursor: pointer;
	transition: border-color .18s ease, background .18s ease, transform .18s ease;
}
.qopt[hidden] { display: none; }
.qopt:hover { border-color: var(--accent); background: var(--surface-2); transform: translateY(-2px); }
.qopt:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.qopt.on { border-color: var(--accent); background: rgba(242,169,59,.12); }
.qopt__code { font-size: .74rem; font-weight: 500; letter-spacing: .12em; color: var(--accent); border: 1px solid var(--line-2); border-radius: 6px; padding: 2px 8px; margin-bottom: 4px; }
.qopt__s { font-size: .84rem; font-weight: 500; color: var(--muted); }
@media (max-width: 560px) { .quiz__opts { grid-template-columns: 1fr; } .qopt { min-height: 60px; } }

.quiz__sum { margin-top: 16px; font-family: var(--font-mono); font-size: .8rem; color: var(--text); padding: 10px 14px; border: 1px dashed var(--line-2); border-radius: 10px; line-height: 1.5; }
.quiz__peek { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; }
.quiz__peek[hidden] { display: none; }
.quiz__peek img { width: 100%; height: clamp(64px, 11vw, 96px); object-fit: cover; border-radius: 10px; filter: blur(7px) saturate(.9); transform: scale(1.02); border: 1px solid var(--line); }
.quiz__form { margin-top: 20px; }
.quiz__form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 520px) { .quiz__form .row { grid-template-columns: 1fr; } }
.quiz__form .field { margin-bottom: 16px; }
.quiz__form .field[hidden] { display: none; }
.quiz__form .field > label { display: block; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.quiz__form input:not([type="checkbox"]):not([type="radio"]),
.quiz__form textarea {
	width: 100%; background: var(--bg); border: 1px solid var(--line-2); color: var(--text);
	font-family: var(--font-body); font-size: 1rem; padding: 13px 14px; border-radius: 10px;
}
.quiz__form textarea { resize: vertical; min-height: 68px; }
.quiz__form input:focus, .quiz__form textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.quiz__pref { display: flex; gap: 8px; }
.quiz__pref .chip { display: inline-flex; align-items: center; margin: 0; cursor: pointer; text-transform: none; letter-spacing: 0; font-family: var(--font-body); font-size: .92rem; padding: 10px 18px; color: var(--muted); }
.quiz__pref .chip.on { color: var(--accent-ink); }
.quiz__pref input { position: absolute; opacity: 0; pointer-events: none; }
.quiz__form .consent { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 14px; font-size: .82rem; color: var(--muted); line-height: 1.5; }
.quiz__form .consent input { margin-top: 3px; flex: none; }
.quiz__form .consent a { color: var(--accent); }
.quiz__err { margin: 0 0 12px; padding: 11px 14px; border-radius: 10px; border: 1px solid rgba(255,154,139,.5); color: #ff9a8b; font-size: .88rem; }
.quiz__err[hidden] { display: none; }
.quiz__submit { width: 100%; padding: 15px 22px; }
.quiz__submit:disabled { opacity: .6; cursor: wait; transform: none; }

/* Телефон: квиз разворачивается на весь экран — без отвлекающей страницы вокруг. */
@media (max-width: 720px) {
	.quiz.is-open .quiz__shell {
		position: fixed; inset: 0; z-index: 120; border: 0; border-radius: 0;
		padding: 16px 16px calc(24px + env(safe-area-inset-bottom));
		overflow-y: auto; overscroll-behavior: contain; background: var(--bg);
	}
	.quiz.is-open .quiz__shell::before { display: none; }
	.quiz__close { display: inline-flex; }
	body.ap24-quiz-active { overflow: hidden; }
	body.ap24-quiz-active .ap24-fab,
	body.ap24-quiz-active .ap24-sticky-cta,
	body.ap24-quiz-active #ap24-cookie { display: none !important; }
}
@media (prefers-reduced-motion: reduce) {
	.qopt, .quiz__bar span { transition: none; }
}

/* Страница «Спасибо» после квиза */
.ap24-spasibo__recap { margin-top: 18px; font-family: var(--font-mono); font-size: .82rem; padding: 12px 16px; border: 1px dashed var(--line-2); border-radius: 12px; max-width: 62ch; }
.ap24-spasibo__recap[hidden] { display: none; }
.ap24-spasibo__cars { margin-top: 34px; }
.ap24-spasibo__cars h2 { font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; margin-bottom: 8px; }
.ap24-spasibo__cars > p { color: var(--muted); margin-bottom: 20px; max-width: 62ch; }

/* ---------- ПРАВКИ КОНВЕРСИИ 26.09.2026 (по проверке пути клиента) ---------- */
/* P0: на телефоне форма выходила за экран — колонка 1fr = minmax(auto,1fr),
   две кнопки в ряд растягивали её шире контейнера. */
@media (max-width: 900px) { .lead { grid-template-columns: minmax(0, 1fr); } }
.lead > *, .lead form, .wpcf7-form, .wpcf7-form .field { min-width: 0; }
@media (max-width: 520px) {
	.stepform__nav { flex-direction: column; }
	.stepform__nav .btn { width: 100%; flex: none; }
}
/* Согласие: обычный шрифт (наследовал капс+моно от подписей полей) и крупный чекбокс. */
.lead form .consent, .wpcf7-form .consent, .ap24-leadform .consent {
	font-family: var(--font-body); text-transform: none; letter-spacing: 0; font-size: .86rem; line-height: 1.45;
}
.wpcf7-form .consent input[type="checkbox"], .ap24-leadform .consent input[type="checkbox"], .lead .consent input[type="checkbox"] {
	width: 22px; height: 22px; margin-top: 0; accent-color: var(--accent);
}
.wpcf7-form .consent .wpcf7-list-item { margin: 0; }
.wpcf7-form .consent .wpcf7-list-item-label { display: inline; }
/* Поля 16px: на iOS меньший размер вызывает автозум при фокусе. */
@media (max-width: 720px) {
	.ap24-leadform input:not([type="checkbox"]):not([type="radio"]),
	.ap24-leadform textarea, .ap24-leadform select,
	.wpcf7-form input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
	.wpcf7-form textarea, .wpcf7-form select,
	.lead form input, .lead form textarea, .lead form select { font-size: 16px; }
}
/* Ошибка поля не сдвигает вёрстку: место под текст зарезервировано. */
.wpcf7-form .wpcf7-form-control-wrap { display: block; }
.wpcf7-form .wpcf7-not-valid-tip { display: block; min-height: 1.2em; }
/* Заголовки секций: строки не должны наезжать друг на друга. */
.section h2, .lead h2 { line-height: 1.25; }

/* Первый экран направления: плашка доверия и схема цены. */
.napr-trust { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 10px; }
.napr-trust li {
	font-size: .84rem; color: var(--muted); padding: 7px 12px; border: 1px solid var(--line-2);
	border-radius: 999px; background: var(--surface);
}
.ap24-page__head .napr-trust { margin-bottom: clamp(32px, 5vw, 56px); }
.napr-examples__all { margin: 22px 0 0; }
.napr-price__range { margin: 0 0 18px; color: var(--text); font-weight: 600; }
.napr-price__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; counter-reset: pr; }
.napr-price__list li {
	counter-increment: pr; position: relative; padding: 18px 16px 16px; border: 1px solid var(--line);
	border-radius: 14px; background: var(--surface); display: flex; flex-direction: column; gap: 6px;
}
.napr-price__list li::before { content: counter(pr); font-family: var(--font-mono); font-size: .74rem; color: var(--accent); }
.napr-price__list b { font-family: var(--font-display); font-size: 1.05rem; }
.napr-price__list span { color: var(--muted); font-size: .9rem; line-height: 1.4; }
@media (max-width: 900px) { .napr-price__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .napr-price__list { grid-template-columns: minmax(0, 1fr); } }

/* Вложенный label согласия (CF7 кладёт его внутрь .consent) наследовал капс+моно от подписей полей. */
.lead form .consent label, .wpcf7-form .consent label, .lead form .consent .wpcf7-list-item-label {
	font-family: var(--font-body); text-transform: none; letter-spacing: 0; font-size: .86rem; line-height: 1.45; color: var(--muted); margin: 0;
}
.wpcf7-form .consent label { display: flex; gap: 10px; align-items: flex-start; }
/* Пустоты между полями: CF7 оборачивает поля в <p>/<br> с внешними отступами. */
.wpcf7-form p { margin: 0; }
.wpcf7-form br { display: none; }
.wpcf7-form .stepform__nav { margin-top: 10px; }
.wpcf7-form .stepform__legend { margin-bottom: 18px; }
.wpcf7-form .wpcf7-spinner { position: absolute; margin: 0; }
.wpcf7-form .stepform__nav { position: relative; gap: 10px; }

/* Форма на экране: панель и cookie-плашка уступают место; якоря не уходят под фиксированную шапку. */
body.ap24-form-in-view .ap24-sticky-cta, body.ap24-form-in-view .ap24-cookie { display: none; }
#napr-lead, #lead, #quiz { scroll-margin-top: 90px; }


/* ---------- Контент страниц-хабов и статей: ссылки, списки, таблицы, FAQ, кнопки (01.10.2026) ---------- */
.geo__hubs-list a { font-family: var(--font-mono); font-size: .82rem; color: var(--accent); border: 1px solid var(--line-2); border-radius: 8px; padding: 7px 11px; text-decoration: none; }
.geo__hubs-list a:hover { border-color: var(--accent); }
.section__head p a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.ap24-foot__note { margin-top: 12px; font-size: .85rem; color: var(--muted); max-width: 28ch; }
.ap24-page__body { max-width: 72ch; }
.ap24-page__body a:not(.btn) { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.ap24-page__body ul, .ap24-page__body ol { margin-top: 1em; padding-left: 1.4em; color: var(--muted); }
.ap24-page__body li { margin: .4em 0; }
.ap24-page__body .faq { margin-top: 1.2em; max-width: none; }
.ap24-page__body .faq summary { font-size: 1rem; }
.ap24-article__body .faq { margin-top: 1.2em; max-width: none; }
.ap24-article__body .faq summary { font-size: 1.02rem; }
.ap24-article__body .faq details p { margin-top: 0; }
.ap24-cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.4em; }
.ap24-cta-row .btn { text-decoration: none; }
.ap24-note { margin-top: 1.4em; padding: 14px 16px; border: 1px solid var(--line-2); border-radius: 10px; font-size: .95rem; color: var(--muted); }

/* Карта офиса (блок «География», «Контакты») */
.office-map { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: clamp(20px, 3vw, 36px); margin-top: clamp(24px, 4vw, 44px); align-items: stretch; }
@media (max-width: 900px) { .office-map { grid-template-columns: minmax(0, 1fr); } }
.office-map__addr { font-size: 1.05rem; font-weight: 600; margin: 0 0 6px; }
.office-map__meta { color: var(--muted); font-size: .9rem; margin: 0 0 14px; }
.office-map__link { color: var(--accent); }
.office-map__frame { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; min-height: 320px; background: var(--bg); }
.office-map__frame iframe { display: block; width: 100%; height: 320px; border: 0; }

/* ---------- СТРАНИЦА «ОТЗЫВЫ» (/otzyvy/) ---------- */
.rv-page { padding-top: clamp(96px, 14vw, 140px); }
.rv-hero { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(28px, 5vw, 64px); align-items: center; margin-bottom: clamp(36px, 6vw, 72px); }
@media (max-width: 880px) { .rv-hero { grid-template-columns: 1fr; } }
.rv-hero h1 { font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 5.4vw, 3.6rem); line-height: 1.02; letter-spacing: -.02em; margin: 14px 0 0; }
.rv-hero__lead { margin-top: 18px; max-width: 54ch; color: var(--muted); font-size: var(--fs-lead); }
.rv-score { text-align: center; background: var(--surface-2); border: 1px solid var(--line-2); border-radius: 22px; padding: clamp(32px, 5vw, 48px) clamp(24px, 4vw, 36px) clamp(24px, 4vw, 36px); position: relative; overflow: hidden; }
.rv-score::before { content: ""; position: absolute; inset: -40% -20% auto auto; width: 70%; aspect-ratio: 1; background: radial-gradient(circle, rgba(242,169,59,.22), transparent 65%); pointer-events: none; }
.rv-score__num { font-family: var(--font-display); font-weight: 800; font-size: clamp(3.6rem, 9vw, 5.2rem); line-height: 1; color: var(--accent); position: relative; }
.rv-score__stars { margin-top: 8px; color: var(--accent); letter-spacing: 4px; font-size: 1.3rem; position: relative; }
.rv-score__cap { margin-top: 8px; color: var(--muted); font-size: .95rem; position: relative; }
.rv-score__cta { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; position: relative; }

.rv-wall { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 20px; margin-bottom: clamp(40px, 6vw, 72px); }
.rv-card { position: relative; margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: clamp(24px, 4vw, 36px); overflow: hidden; transition: border-color .25s ease, transform .25s ease; }
.rv-card:hover { border-color: var(--line-2); transform: translateY(-2px); }
.rv-card__mark { position: absolute; top: -18px; right: 18px; font-family: var(--font-display); font-weight: 800; font-size: 9rem; line-height: 1; color: rgba(242,169,59,.12); pointer-events: none; }
.rv-card__stars { color: var(--accent); letter-spacing: 3px; font-size: 1.1rem; margin: 0 0 14px; }
.rv-card__text { margin: 0; font-size: clamp(1.08rem, 2.2vw, 1.3rem); line-height: 1.5; font-weight: 500; position: relative; }
.rv-card__chips { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.rv-card__chips li { font-family: var(--font-mono); font-size: .78rem; color: var(--muted); border: 1px solid var(--line-2); border-radius: 999px; padding: 6px 12px; }
.rv-card__who { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "ava name src" "ava meta src"; column-gap: 12px; align-items: center; }
.rv-card__ava { grid-area: ava; width: 42px; height: 42px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-weight: 800; }
.rv-card__name { grid-area: name; font-weight: 700; }
.rv-card__meta { grid-area: meta; color: var(--muted); font-size: .85rem; }
.rv-card__src { grid-area: src; font-family: var(--font-mono); font-size: .8rem; color: var(--accent); border: 1px solid var(--line-2); border-radius: 8px; padding: 6px 10px; }
.rv-card__src:hover { border-color: var(--accent); }
.rv-card__photo { margin: 16px 0 0; }
.rv-card__photo img { width: 100%; max-width: 280px; border-radius: 14px; display: block; }

.rv-how { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: clamp(24px, 4vw, 44px); margin-bottom: clamp(24px, 4vw, 48px); }
.rv-how h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.5rem, 3.2vw, 2.1rem); line-height: 1.1; margin: 0 0 24px; }
.rv-how__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 780px) { .rv-how__steps { grid-template-columns: 1fr; } }
.rv-how__steps li { background: var(--surface-2); border: 1px solid var(--line); border-radius: 14px; padding: 18px; display: flex; gap: 14px; align-items: flex-start; }
.rv-how__steps li span { flex: none; width: 34px; height: 34px; border-radius: 10px; background: rgba(242,169,59,.14); color: var(--accent); display: grid; place-items: center; font-family: var(--font-mono); font-weight: 700; }
.rv-how__steps li p { margin: 0; }
.rv-how__cta { margin: 24px 0 0; }
.rv-how__note { margin: 14px 0 0; color: var(--muted); font-size: .9rem; max-width: 70ch; }

/* ---------- РЕКЛАМНЫЙ КВИЗ-ЛЕНДИНГ /podbor-avto/ (08.10.2026) ---------- */
body.ap24-lp { padding-bottom: 76px; } /* запас под cookie-плашку, чтобы она не закрывала кнопку отправки */
.ap24-lp-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px clamp(16px, 4vw, 40px); border-bottom: 1px solid var(--line); }
.ap24-lp-header .brand { min-width: 0; }
.ap24-lp-header__phone { font-family: var(--font-mono); font-size: .9rem; color: var(--text); white-space: nowrap; }
.ap24-lp-main { padding: clamp(16px, 4vw, 40px) clamp(16px, 4vw, 40px) 24px; }
.quiz--lp { padding: 0; }
.quiz--lp .quiz__shell { max-width: 760px; margin-inline: auto; }
.quiz__lp-head { margin-bottom: clamp(18px, 3vw, 26px); }
.quiz__lp-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.45rem, 1.1rem + 1.6vw, 2.2rem); line-height: 1.16; letter-spacing: -.015em; }
.quiz__lp-gift { margin-top: 12px; color: var(--muted); font-size: .98rem; }
.quiz__lp-badge { display: inline-block; padding: 3px 10px; margin-right: 6px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }
.quiz__model-form { display: grid; grid-template-columns: 1fr auto; gap: 10px; margin-top: 22px; }
.quiz__model-form input { min-height: 56px; padding: 0 16px; font-size: 1rem; border-radius: 12px; border: 1px solid var(--line-2); background: transparent; color: var(--text); }
.quiz__model-form input:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.quiz__skip { margin-top: 16px; background: none; border: 0; padding: 8px 0; color: var(--muted); font: inherit; font-size: .92rem; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.quiz__skip:hover { color: var(--text); }
.quiz__fine { margin-top: 12px; font-size: .78rem; color: var(--muted); line-height: 1.5; }
.ap24-lp-footer { padding: 18px clamp(16px, 4vw, 40px) 28px; color: var(--muted); font-size: .78rem; line-height: 1.6; border-top: 1px solid var(--line); }
.ap24-lp-footer a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 720px) {
	/* На лендинге квиз не разворачивается на весь экран: шапка с телефоном и cookie-плашка остаются доступны */
	.quiz--lp.is-open .quiz__shell { position: static; inset: auto; z-index: auto; border: 1px solid var(--line); border-radius: 16px; padding: 18px 16px 22px; overflow: visible; background: transparent; }
	.quiz--lp .quiz__shell::before { display: none; }
	.quiz__model-form { grid-template-columns: 1fr; }
	.quiz__model-next { width: 100%; }
	.quiz--lp .quiz__opts { margin-top: 18px; }
}

/* ---------- HERO: кнопки на первом экране (09.10.2026, по замерам 1280x720 / 1366x768 / 360-407) ---------- */
.hero { padding-top: clamp(104px, 13vh, 170px); padding-bottom: clamp(56px, 8vh, 96px); }
.hero h1 { font-size: clamp(2rem, 1.2rem + 2.6vw, 3.25rem); line-height: 1.02; max-width: 14em; margin-top: 18px; }
.hero__lead { margin-top: 18px; max-width: 52ch; }
.hero__cta { margin-top: 24px; }
.hero__more { margin-top: 36px; max-width: 62ch; font-size: .95rem; color: var(--muted); }
.hero__stats { margin-top: 28px; }
@media (min-width: 1440px) and (min-height: 850px) {
	.hero h1 { font-size: var(--fs-display); line-height: .98; max-width: 11em; }
	.hero__lead { margin-top: 24px; }
	.hero__cta { margin-top: 30px; }
}
@media (max-width: 560px) {
	.hero { padding-top: 92px; }
	.hero h1 { font-size: clamp(1.7rem, 1.3rem + 1.7vw, 1.95rem); line-height: 1.06; max-width: none; margin-top: 14px; }
	.hero__lead { margin-top: 14px; font-size: 1rem; }
	.hero__cta { margin-top: 20px; gap: 10px; }
	.hero__cta .btn { width: 100%; justify-content: center; }
	.hero__more { margin-top: 28px; font-size: .9rem; }
}

/* Квиз-лендинг: на узких телефонах первый вопрос плитками в 2 колонки, чтобы ответы были на первом экране */
@media (max-width: 560px) {
	.quiz--lp .quiz__opts--country { grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
	.quiz--lp .quiz__opts--country .qopt { min-height: 72px; padding: 12px; }
	.quiz--lp .quiz__lp-title { font-size: 1.35rem; }
	.quiz--lp .quiz__top { margin-bottom: 14px; }
	.ap24-lp-main { padding-top: 12px; }
}

/* отзывы: квадратные карточки, текст до 120 символов + «Читать далее» */
.reviews { align-items: start; }
.review { display: flex; flex-direction: column; aspect-ratio: 1 / 1; }
.review.is-open { aspect-ratio: auto; }
.review__text { margin: 0; }
.review__who { margin-top: auto; padding-top: 16px; }
.review__toggle, .rv-card__toggle { align-self: flex-start; background: none; border: 0; padding: 0; margin-top: 10px; color: var(--accent); font: inherit; font-weight: 600; font-size: .9rem; cursor: pointer; }
.review__toggle:hover, .rv-card__toggle:hover { text-decoration: underline; }
@media (max-width: 880px) { .review { aspect-ratio: auto; } }
.rv-wall { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); align-items: start; }
.rv-card { display: flex; flex-direction: column; aspect-ratio: 1 / 1; padding: 24px; }
.rv-card.is-open { aspect-ratio: auto; }
.rv-card__text { font-size: 1.02rem; }
.rv-card__chips { display: none; }
.rv-card.is-open .rv-card__chips { display: flex; }
.rv-card__who { margin-top: auto; }
@media (max-width: 640px) { .rv-card { aspect-ratio: auto; } }
