/*
Theme Name: Автоюрист 36
Theme URI: https://www.avtourist36.ru/
Template: twentytwentyfive
Description: Дочерняя тема для avtourist36.ru на основе Twenty Twenty-Five. Дизайн «Деловой 36»: строгий стиль юрфирмы, красный цвет только для аварийного комиссара, номерной знак «36 RUS» в логотипе. Шрифты Onest, Literata, IBM Plex Mono (лицензия SIL OFL 1.1) хранятся в assets/fonts.
Author: ООО «АВТОЮРИСТ36»
Version: 1.7.3
Requires at least: 6.7
Tested up to: 7.1
Requires PHP: 7.2
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: avtourist36
*/

/* ---------- Основа ---------- */
:root {
	--avt-ink: var(--wp--preset--color--ink, #1C2433);
	--avt-paper: var(--wp--preset--color--paper, #F6F7F9);
	--avt-gr: var(--wp--preset--color--graphite, #5B6472);
	--avt-seal: var(--wp--preset--color--seal, #C8102E);
	--avt-seal-dark: #A60D26;
	--avt-seal-tint: var(--wp--preset--color--seal-tint, #FBEFF1);
	--avt-line: var(--wp--preset--color--line, #D9DDE3);
	--avt-ok: #1E7F45;
	--avt-serif: var(--wp--preset--font-family--literata, Georgia, serif);
	--avt-sans: var(--wp--preset--font-family--onest, system-ui, sans-serif);
	--avt-mono: var(--wp--preset--font-family--plex-mono, ui-monospace, monospace);
	--avt-gutter: clamp(16px, 4vw, 40px);
	--avt-r: 14px;
	--avt-r-sm: 10px;
}

.wp-site-blocks > * + * {
	margin-block-start: 0;
}

.avt-wrap {
	max-width: 1200px;
	margin-inline: auto;
	padding-inline: var(--avt-gutter);
}

.avt-header svg,
.avt-footer svg,
.avt-cta svg,
.avt-svc-hero svg,
.avt-svc-box svg {
	width: 22px;
	height: 22px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.9;
	stroke-linecap: round;
	stroke-linejoin: round;
	flex: none;
}

/* Нажатия: без серой вспышки на телефоне и без тёмной прямоугольной рамки
   при нажатии мышью или пальцем. Рамка остаётся только при переходе клавишей Tab —
   мягкая, красноватая и повторяет скругление элемента. */
html {
	-webkit-tap-highlight-color: transparent;
}

a:focus:not(:focus-visible),
button:focus:not(:focus-visible),
summary:focus:not(:focus-visible),
[tabindex]:focus:not(:focus-visible),
input[type="submit"]:focus:not(:focus-visible) {
	outline: none;
}

a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible,
input[type="submit"]:focus-visible,
input[type="checkbox"]:focus-visible {
	outline: 2px solid rgba(200, 16, 46, 0.55);
	outline-offset: 3px;
}

/* Лёгкое «нажатие» у кнопок и плашек */
.avt-btn,
.avt-komi-btn,
.avt-tile,
.avt-msg,
.avt-callbar a,
.avt-callic,
.avt-kl-photo-call,
.avt-cta-komi,
.wpcf7 input[type="submit"] {
	transition-property: background-color, border-color, color, box-shadow, transform;
	transition-duration: 0.15s;
}

.avt-btn:active,
.avt-komi-btn:active,
.avt-tile:active,
.avt-msg:active,
.avt-callbar a:active,
.avt-callic:active,
.avt-kl-photo-call:active,
.avt-cta-komi:active,
.wpcf7 input[type="submit"]:active {
	transform: scale(0.98);
}

/* ---------- Логотип «Автоюрист 36 RUS» ---------- */
.avt-logo {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	flex: none;
	font-family: var(--avt-serif);
	font-weight: 700;
	font-size: 30px;
	line-height: 1;
	letter-spacing: -0.01em;
	color: var(--avt-ink);
	text-decoration: none;
}

.avt-logo:hover {
	color: var(--avt-ink);
}

.avt-plate {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	padding: 3px 7px;
	border: 2.5px solid currentColor;
	border-radius: 6px;
	background: #fff;
	color: var(--avt-ink);
	font-family: var(--avt-sans);
	line-height: 1;
	letter-spacing: 0;
}

.avt-plate b {
	font-size: 21px;
	font-weight: 700;
}

.avt-plate i {
	display: flex;
	align-items: center;
	gap: 2px;
	font-style: normal;
	font-size: 8px;
	font-weight: 700;
	letter-spacing: 0.12em;
}

.avt-plate em {
	display: inline-block;
	width: 9px;
	height: 6px;
	background: linear-gradient(#fff 0 33%, #1C57A5 33% 66%, #D52B1E 66%);
	outline: 0.5px solid #9AA1A7;
}

/* ---------- Шапка ---------- */
.avt-header > * {
	margin-block: 0 !important;
}

.avt-reqbar {
	background: #fff;
	border-bottom: 1px solid var(--avt-line);
	font: 400 12.5px/1.4 var(--avt-mono);
	color: var(--avt-gr);
}

.avt-reqbar-in {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding-block: 7px;
}

.avt-reqbar-hours {
	color: var(--avt-ink);
}

.avt-headrow {
	display: flex;
	align-items: center;
	gap: 28px;
	padding-block: 18px;
	padding-inline: max(var(--avt-gutter), calc((100% - 1200px) / 2));
	background: #fff;
	border-bottom: 1px solid var(--avt-line);
}

.avt-headrow > * {
	margin: 0 !important;
}

.avt-nav {
	flex: 1;
	font-family: var(--avt-sans);
}

.avt-nav .wp-block-navigation__container {
	gap: 26px;
	justify-content: center;
}

.avt-nav a {
	text-decoration: none;
}

.avt-nav .wp-block-navigation-item__content:hover {
	color: var(--avt-seal);
}

.avt-nav .wp-block-navigation__submenu-container {
	min-width: 290px !important;
	padding: 6px 0 !important;
	border: 1px solid var(--avt-line) !important;
	border-radius: var(--avt-r-sm);
	background: #fff !important;
	box-shadow: 0 14px 30px -18px rgba(28, 36, 51, 0.5);
}

.avt-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	padding: 8px 16px !important;
	font-weight: 400;
}

.avt-nav .wp-block-navigation-item__content {
	white-space: nowrap;
}

/* Мобильное меню: простой список без рамок, слева */
.avt-nav .is-menu-open .wp-block-navigation__responsive-container-content,
.avt-nav .is-menu-open .wp-block-navigation__container,
.avt-nav .is-menu-open .wp-block-navigation-item {
	align-items: flex-start !important;
	justify-content: flex-start !important;
	text-align: left;
}

.avt-nav .is-menu-open .wp-block-navigation__container {
	gap: 14px;
}

.avt-nav .is-menu-open .wp-block-navigation-item__content {
	padding: 4px 0 !important;
	white-space: normal;
	font-weight: 600;
}

.avt-nav .is-menu-open .wp-block-navigation__submenu-container {
	min-width: 0 !important;
	padding: 2px 0 6px 14px !important;
	border: 0 !important;
	border-left: 2px solid var(--avt-line) !important;
	border-radius: 0;
	background: transparent !important;
	box-shadow: none;
	gap: 2px;
}

.avt-nav .is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	padding: 5px 0 !important;
	font-weight: 400;
}

.avt-nav .avt-nav-mobile-only {
	display: none;
}

.avt-nav .is-menu-open .avt-nav-mobile-only {
	display: flex;
}

.avt-headright {
	display: flex;
	align-items: center;
	gap: 20px;
	flex: none;
}

.avt-office {
	display: flex;
	flex-direction: column;
	line-height: 1.2;
}

.avt-office small {
	font: 500 11px/1.3 var(--avt-mono);
	text-transform: uppercase;
	letter-spacing: 0.07em;
	color: var(--avt-gr);
}

.avt-office > a:first-of-type {
	margin-top: 2px;
	font-size: 19px;
	font-weight: 600;
	color: var(--avt-ink);
	text-decoration: none;
	white-space: nowrap;
	font-variant-numeric: tabular-nums;
}

.avt-office-alt {
	margin-top: 3px;
	font-size: 12.5px;
	color: var(--avt-gr);
	text-decoration-style: dashed;
	text-underline-offset: 3px;
}

.avt-komi-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 54px;
	padding: 6px 18px 6px 14px;
	border-radius: var(--avt-r-sm);
	background: var(--avt-seal);
	color: #fff;
	text-decoration: none;
	white-space: nowrap;
}

.avt-komi-btn:hover {
	background: var(--avt-seal-dark);
	color: #fff;
}

.avt-komi-btn svg {
	width: 26px;
	height: 26px;
	stroke-width: 2.1;
}

.avt-komi-btn b {
	display: block;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
}

.avt-komi-btn small {
	display: block;
	font-size: 12.5px;
	line-height: 1.3;
	opacity: 0.92;
}

.avt-callic,
.avt-strip {
	display: none;
}

@media (max-width: 1100px) {
	.avt-office,
	.avt-reqbar-hours {
		display: none;
	}
}

/* ---------- Страница ---------- */
.avt-page {
	padding-block: 28px 64px;
}

.avt-crumbs {
	margin-bottom: 18px;
	font-size: 14px;
	color: var(--avt-gr);
}

.avt-crumbs a {
	color: var(--avt-gr);
}

.avt-page-title {
	margin-block: 0 24px !important;
	text-wrap: balance;
}

/* ---------- Блок «Позвонить / Комиссар» ---------- */
.avt-cta {
	margin-top: 48px;
	overflow: hidden;
	border: 1px solid var(--avt-line);
	border-radius: var(--avt-r);
	background: #fff;
}

.avt-cta-main {
	padding: 26px 26px 22px;
}

.avt-cta-h {
	margin: 0 0 6px;
	font-family: var(--avt-serif);
	font-size: 26px;
	font-weight: 600;
	line-height: 1.2;
}

.avt-cta-t {
	margin: 0 0 18px;
	color: var(--avt-gr);
}

.avt-cta-btns {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px 22px;
}

.avt-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 54px;
	padding: 0 22px;
	border-radius: var(--avt-r-sm);
	font-weight: 600;
	text-decoration: none;
}

.avt-btn-ink {
	background: var(--avt-ink);
	color: #fff;
}

.avt-btn-ink:hover {
	background: #2A3549;
	color: #fff;
}

.avt-link {
	font-weight: 600;
	color: var(--avt-ink);
	text-decoration: underline;
	text-decoration-color: #AEB5BF;
	text-underline-offset: 4px;
}

.avt-cta-komi {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 16px 26px;
	background: var(--avt-seal);
	color: #fff;
	text-decoration: none;
}

.avt-cta-komi:hover {
	background: var(--avt-seal-dark);
	color: #fff;
}

.avt-cta-komi-ic {
	display: grid;
	place-items: center;
	flex: none;
	width: 44px;
	height: 44px;
	border-radius: var(--avt-r-sm);
	background: #fff;
	color: var(--avt-seal);
}

.avt-cta-komi b {
	display: block;
	font-size: 17px;
}

.avt-cta-komi small {
	display: block;
	font-size: 15px;
	opacity: 0.92;
}

.avt-cta-komi > svg:last-child {
	margin-left: auto;
}

/* ---------- Подвал ---------- */
.avt-footer {
	background: var(--avt-ink);
	color: #B7BFCC;
	font-size: 15px;
}

.avt-foot-in {
	display: grid;
	grid-template-columns: 1.3fr 1fr 1fr;
	gap: 32px 40px;
	padding-block: 44px 28px;
}

.avt-logo-inv,
.avt-logo-inv:hover {
	color: #fff;
}

.avt-logo-inv .avt-plate {
	background: transparent;
	color: #fff;
}

.avt-reqs {
	margin: 14px 0 0;
	font: 13px/1.8 var(--avt-mono);
	color: #C9D0DA;
}

.avt-foot-contacts p {
	margin: 0 0 14px;
}

.avt-foot-contacts small {
	display: block;
	font: 500 11px/1.3 var(--avt-mono);
	text-transform: uppercase;
	letter-spacing: 0.07em;
	color: #8C96A6;
}

.avt-foot-contacts a {
	font-size: 17px;
	font-weight: 600;
	color: #fff;
	text-decoration: none;
	overflow-wrap: anywhere;
}

.avt-foot-nav {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.avt-foot-nav a {
	color: #fff;
	text-decoration: none;
}

.avt-foot-nav a:hover,
.avt-foot-contacts a:hover {
	color: #fff;
	text-decoration: underline;
}

.avt-copy {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px;
	padding-block: 18px;
	border-top: 1px solid rgba(255, 255, 255, 0.14);
	font-size: 13px;
	color: #8C96A6;
}

.avt-copy a {
	color: #8C96A6;
}

.avt-callbar {
	display: none;
}

@media (max-width: 900px) {
	.avt-foot-in {
		grid-template-columns: 1fr 1fr;
	}

	.avt-foot-brand {
		grid-column: 1 / -1;
	}
}

/* ---------- Телефон ---------- */
@media (max-width: 599px) {
	.avt-reqbar,
	.avt-komi-btn {
		display: none;
	}

	.avt-headrow {
		gap: 8px;
		padding-block: 10px;
	}

	.avt-headrow .avt-logo {
		font-size: 24px;
	}

	.avt-headrow .avt-plate {
		padding: 2px 5px;
		border-width: 2px;
	}

	.avt-headrow .avt-plate b {
		font-size: 16px;
	}

	.avt-headright {
		order: 2;
		margin-left: auto !important;
	}

	.avt-nav {
		order: 3;
		flex: none;
	}

	.avt-nav .wp-block-navigation__responsive-container-open {
		display: grid;
		place-items: center;
		width: 44px;
		height: 44px;
		border: 1px solid var(--avt-line);
		border-radius: var(--avt-r-sm);
	}

	.avt-nav .wp-block-navigation__responsive-container.is-menu-open {
		padding: 24px 20px;
		font-size: 18px;
	}

	.avt-callic {
		display: grid;
		place-items: center;
		width: 44px;
		height: 44px;
		border-radius: var(--avt-r-sm);
		background: var(--avt-ink);
		color: #fff;
	}

	.avt-strip {
		display: flex;
		align-items: center;
		gap: 10px;
		padding: 11px 16px;
		background: var(--avt-seal);
		color: #fff;
		font-size: 15px;
		line-height: 1.3;
		text-decoration: none;
	}

	.avt-strip:hover {
		color: #fff;
	}

	.avt-strip svg:last-child {
		width: 18px;
		height: 18px;
		margin-left: auto;
	}

	.avt-cta-main {
		padding: 20px 18px;
	}

	.avt-cta-btns {
		flex-direction: column;
		align-items: stretch;
	}

	.avt-btn {
		justify-content: center;
	}

	.avt-link {
		text-align: center;
	}

	.avt-cta-komi {
		padding: 14px 18px;
	}

	.avt-foot-in {
		grid-template-columns: 1fr;
		padding-block: 32px 20px;
	}

	.avt-copy {
		flex-direction: column;
	}

	.avt-callbar {
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 60;
		display: grid;
		grid-template-columns: 1fr 1.15fr 0.95fr;
		gap: 6px;
		padding: 10px 12px calc(12px + env(safe-area-inset-bottom, 0px));
		background: rgba(255, 255, 255, 0.97);
		border-top: 1px solid #DDE1E4;
		box-shadow: 0 -8px 20px -14px rgba(0, 0, 0, 0.35);
	}

	.avt-callbar a {
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 5px;
		height: 52px;
		border-radius: var(--avt-r-sm);
		font-size: 14.5px;
		font-weight: 600;
		text-decoration: none;
	}

	.avt-callbar svg {
		width: 18px;
		height: 18px;
		fill: none;
		stroke: currentColor;
		stroke-width: 2;
		stroke-linecap: round;
		stroke-linejoin: round;
	}

	.avt-cb-call,
	.avt-cb-call:hover {
		background: var(--avt-ink);
		color: #fff;
	}

	.avt-cb-komi,
	.avt-cb-komi:hover {
		background: var(--avt-seal);
		color: #fff;
	}

	.avt-cb-msg,
	.avt-cb-msg:hover {
		border: 1.5px solid var(--avt-ink);
		color: var(--avt-ink);
	}

	body {
		padding-bottom: 78px;
	}
}

@media (max-width: 370px) {
	.avt-callbar {
		gap: 4px;
		padding-inline: 8px;
	}

	.avt-callbar a {
		gap: 4px;
		font-size: 13px;
	}

	.avt-callbar svg {
		width: 16px;
		height: 16px;
	}

	.avt-cb-247 {
		display: none;
	}
}

/* ---------- Форма заявки (Contact Form 7) ---------- */
.wpcf7 input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="hidden"]),
.wpcf7 textarea {
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	padding: 12px 14px;
	border: 1.5px solid #C5CBD3;
	border-radius: var(--avt-r-sm);
	background: #fff;
	font: inherit;
	color: var(--avt-ink);
}

.wpcf7 textarea {
	min-height: 120px;
}

.wpcf7 input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):focus,
.wpcf7 textarea:focus {
	outline: none;
	border-color: var(--avt-ink);
	box-shadow: 0 0 0 4px rgba(28, 36, 51, 0.1);
}

.wpcf7 input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
.wpcf7 textarea {
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.wpcf7 input[type="checkbox"] {
	accent-color: var(--avt-seal);
}

.wpcf7 input[type="submit"] {
	min-height: 54px;
	padding: 0 26px;
	border: 0;
	border-radius: var(--avt-r-sm);
	background: var(--avt-ink);
	color: #fff;
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}

.wpcf7 input[type="submit"]:hover {
	background: #2A3549;
}

.wpcf7 .g-recaptcha {
	max-width: 100%;
	overflow: hidden;
}

/* ================= Главная (вариант D) ================= */
.avt-home {
	padding-bottom: 72px;
}

.avt-home .avt-wrap-in {
	max-width: 1200px;
	margin-inline: max(var(--avt-gutter), calc((100% - 1200px) / 2));
}

.avt-eyebrow {
	margin: 0 0 16px;
	font: 500 13px/1.3 var(--avt-mono);
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--avt-seal);
}

.avt-hero {
	display: grid;
	grid-template-columns: 1.05fr 1fr;
	gap: 48px;
	align-items: start;
	padding-block: 64px 56px;
}

.avt-h1 {
	margin: 0;
	font-family: var(--avt-serif);
	font-size: clamp(2.1rem, 4.6vw, 3.6rem);
	font-weight: 600;
	line-height: 1.08;
	letter-spacing: -0.015em;
	text-wrap: balance;
}

.avt-lead {
	max-width: 34em;
	margin: 20px 0 0;
	font-size: 1.1875rem;
	color: #3A4352;
}

.avt-arg {
	display: flex;
	gap: 14px;
	align-items: flex-start;
	max-width: 540px;
	margin-top: 24px;
	padding: 16px 18px;
	border: 1px solid var(--avt-line);
	border-radius: var(--avt-r);
	background: #fff;
}

.avt-arg p {
	margin: 0;
	color: var(--avt-gr);
}

.avt-arg b {
	color: var(--avt-ink);
	font-weight: 600;
}

.avt-arg-mark {
	display: grid;
	place-items: center;
	flex: none;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: var(--avt-ink);
	color: #fff;
	font-weight: 700;
}

.avt-hero-ctas {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px 24px;
	margin-top: 28px;
}

.avt-home svg,
.avt-komi svg {
	width: 22px;
	height: 22px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.9;
	stroke-linecap: round;
	stroke-linejoin: round;
	flex: none;
}

.avt-tiles-h {
	margin: 0 0 14px;
	font-family: var(--avt-serif);
	font-size: 26px;
	font-weight: 600;
}

.avt-tiles {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
}

.avt-tile {
	display: grid;
	grid-template-columns: 28px 1fr;
	gap: 3px 12px;
	align-content: start;
	padding: 16px;
	border: 1px solid var(--avt-line);
	border-radius: var(--avt-r);
	background: #fff;
	color: var(--avt-ink);
	text-decoration: none;
	transition: border-color 0.15s;
}

.avt-tile:hover {
	border-color: var(--avt-ink);
	color: var(--avt-ink);
}

.avt-tile svg {
	grid-row: span 2;
	width: 26px;
	height: 26px;
}

.avt-tile b {
	font-weight: 600;
	line-height: 1.3;
}

.avt-tile small {
	font-size: 13.5px;
	line-height: 1.35;
	color: var(--avt-gr);
}

.avt-btn-white {
	background: #fff;
	color: var(--avt-seal);
	font-weight: 700;
}

.avt-btn-white:hover {
	background: var(--avt-seal-tint);
	color: var(--avt-seal-dark);
}

.avt-komi {
	display: grid;
	grid-template-columns: 1fr 1.25fr;
	overflow: hidden;
	border: 1px solid var(--avt-line);
	border-radius: var(--avt-r);
	background: #fff;
}

.avt-komi-l {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
	padding: 34px 36px;
	background: var(--avt-seal);
	color: #fff;
}

.avt-komi-ic {
	display: grid;
	place-items: center;
	width: 54px;
	height: 54px;
	border-radius: var(--avt-r-sm);
	background: #fff;
	color: var(--avt-seal);
}

.avt-komi-ic svg {
	width: 32px;
	height: 32px;
	stroke-width: 2.2;
}

.avt-komi-kicker {
	margin: 0;
	font: 500 12.5px/1.3 var(--avt-mono);
	text-transform: uppercase;
	letter-spacing: 0.1em;
	opacity: 0.92;
}

.avt-komi-h {
	margin: 0;
	font-family: var(--avt-serif);
	font-size: 34px;
	font-weight: 600;
	line-height: 1.1;
	color: #fff;
}

.avt-komi-p {
	max-width: 360px;
	margin: 0;
	font-size: 17px;
}

.avt-komi-l .avt-btn {
	margin-top: 6px;
}

.avt-komi-r {
	padding: 34px 36px;
}

.avt-komi-r h3 {
	margin: 0 0 14px;
	font-family: var(--avt-serif);
	font-size: 22px;
	font-weight: 600;
}

.avt-memo {
	display: grid;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: st;
}

.avt-memo li {
	display: grid;
	grid-template-columns: 30px 1fr;
	gap: 12px;
	line-height: 1.45;
	color: var(--avt-gr);
	counter-increment: st;
}

.avt-memo li::before {
	content: counter(st);
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	border: 1.5px solid var(--avt-ink);
	border-radius: 50%;
	font-size: 14px;
	font-weight: 600;
	color: var(--avt-ink);
}

.avt-memo li span {
	padding-top: 4px;
}

.avt-memo b {
	color: var(--avt-ink);
	font-weight: 600;
}

.avt-sec {
	padding-block: 72px 24px;
}

.avt-sec-head {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px 48px;
	align-items: end;
	margin-bottom: 30px;
}

.avt-sec-head h2 {
	margin: 0;
}

.avt-sec-head p {
	margin: 0;
	color: var(--avt-gr);
}

.avt-toc {
	display: grid;
	grid-template-columns: 1fr 1fr;
	column-gap: 48px;
	border-top: 1px solid var(--avt-ink);
}

.avt-row {
	display: grid;
	grid-template-columns: 1fr 18px;
	gap: 16px;
	align-items: center;
	padding: 18px 0;
	border-bottom: 1px solid var(--avt-line);
	color: var(--avt-ink);
	text-decoration: none;
}

.avt-row b {
	display: block;
	font-size: 18px;
	font-weight: 600;
}

.avt-row small {
	display: block;
	margin-top: 3px;
	font-size: 14px;
	line-height: 1.4;
	color: var(--avt-gr);
}

.avt-row svg {
	width: 18px;
	height: 18px;
	color: var(--avt-seal);
	transition: transform 0.15s;
}

.avt-row:hover {
	color: var(--avt-ink);
}

.avt-row:hover svg {
	transform: translateX(3px);
}

.avt-oblig {
	margin-top: 48px;
	padding-block: 64px;
	border-block: 1px solid var(--avt-line);
	background: #fff;
}

.avt-clauses {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 40px;
}

.avt-clause {
	display: grid;
	grid-template-columns: 44px 1fr;
	gap: 6px 14px;
	align-content: start;
}

.avt-clause h3 {
	margin: 0;
	font-size: 19px;
	line-height: 1.3;
}

.avt-clause p {
	margin: 0;
	font-size: 15.5px;
	color: var(--avt-gr);
}

.avt-n {
	grid-row: span 2;
	font-family: var(--avt-serif);
	font-size: 46px;
	font-weight: 600;
	line-height: 0.95;
	color: var(--avt-seal);
}

.avt-contact {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 48px;
	padding-block: 72px 0;
}

.avt-addr h2 {
	margin: 0;
}

.avt-addr dl {
	display: grid;
	grid-template-columns: 130px 1fr;
	gap: 14px 16px;
	margin: 26px 0;
}

.avt-addr dt {
	padding-top: 4px;
	font: 500 11.5px/1.3 var(--avt-mono);
	text-transform: uppercase;
	letter-spacing: 0.07em;
	color: var(--avt-gr);
}

.avt-addr dd {
	margin: 0;
	font-weight: 500;
	overflow-wrap: anywhere;
}

.avt-addr dd a {
	text-decoration: none;
}

.avt-dd-note {
	font-size: 14px;
	font-weight: 400;
	color: var(--avt-gr);
}

.avt-msgs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.avt-msg {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 42px;
	padding: 0 16px;
	border: 1.5px solid var(--avt-ink);
	border-radius: var(--avt-r-sm);
	font-weight: 600;
	color: var(--avt-ink);
}

.avt-msg svg {
	width: 18px;
	height: 18px;
}

.avt-map {
	overflow: hidden;
	border: 1px solid var(--avt-line);
	border-radius: var(--avt-r);
}

.avt-map iframe {
	display: block;
	border: 0;
}

.avt-form {
	align-self: start;
	padding: 30px;
	border: 1px solid var(--avt-line);
	border-top: 3px solid var(--avt-ink);
	border-radius: var(--avt-r);
	background: #fff;
}

.avt-form-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 14px;
}

.avt-form-head h3 {
	margin: 0;
	font-family: var(--avt-serif);
	font-size: 26px;
	font-weight: 600;
	line-height: 1.2;
}

.avt-stamp {
	display: grid;
	place-items: center;
	flex: none;
	width: 92px;
	height: 92px;
	border: 3px double var(--avt-seal);
	border-radius: 50%;
	color: var(--avt-seal);
	text-align: center;
	line-height: 1;
	transform: rotate(-9deg);
}

.avt-stamp b {
	font-family: var(--avt-serif);
	font-size: 26px;
}

.avt-stamp i {
	margin-top: -14px;
	font: 500 8.5px/1.2 var(--avt-mono);
	font-style: normal;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

@media (max-width: 980px) {
	.avt-hero,
	.avt-komi,
	.avt-contact {
		grid-template-columns: 1fr;
	}

	.avt-clauses {
		grid-template-columns: 1fr;
		gap: 24px;
	}
}

@media (max-width: 700px) {
	.avt-sec-head,
	.avt-toc {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 599px) {
	.avt-hero {
		gap: 28px;
		padding-block: 28px 32px;
	}

	.avt-lead {
		font-size: 1.03rem;
	}

	.avt-arg {
		padding: 13px 14px;
	}

	.avt-hero-ctas {
		flex-direction: column;
		align-items: stretch;
	}

	.avt-hero-ctas .avt-btn {
		justify-content: center;
	}

	.avt-hero-ctas .avt-link {
		text-align: center;
	}

	.avt-tiles-h {
		font-size: 22px;
	}

	.avt-tile {
		grid-template-columns: 1fr;
		gap: 6px;
		padding: 13px 12px;
	}

	.avt-tile svg {
		grid-row: auto;
		width: 24px;
		height: 24px;
	}

	.avt-tile b {
		font-size: 15px;
	}

	.avt-tile small {
		font-size: 12.5px;
	}

	.avt-komi-l,
	.avt-komi-r {
		padding: 22px 18px;
	}

	.avt-komi-h {
		font-size: 28px;
	}

	.avt-komi-l .avt-btn {
		width: 100%;
		justify-content: center;
	}

	.avt-sec {
		padding-block: 48px 16px;
	}

	.avt-oblig {
		padding-block: 44px;
	}

	.avt-contact {
		gap: 28px;
		padding-block: 48px 0;
	}

	.avt-addr dl {
		grid-template-columns: 1fr;
		gap: 2px;
	}

	.avt-addr dd {
		margin-bottom: 12px;
	}

	.avt-form {
		padding: 20px;
	}

	.avt-stamp {
		width: 72px;
		height: 72px;
	}

	.avt-stamp b {
		font-size: 20px;
	}

	.avt-stamp i {
		margin-top: -10px;
		font-size: 7px;
	}
}

/* Узкие экраны: ничего не вылезает за край */
.avt-btn,
.avt-msg {
	box-sizing: border-box;
	max-width: 100%;
}

.avt-hero > *,
.avt-komi > *,
.avt-contact > *,
.avt-toc > * {
	min-width: 0;
}

.avt-map iframe {
	max-width: 100%;
}

/* ---------- Включатели: мессенджеры и памятка ---------- */
.avt-no-messengers .avt-if-msg,
.avt-no-messengers .avt-msgs,
.avt-no-messengers #napisat {
	display: none !important;
}

body:not(.avt-no-messengers) .avt-if-nomsg {
	display: none !important;
}

.avt-no-memo .avt-komi {
	grid-template-columns: 1fr;
}

.avt-no-memo .avt-komi-r {
	display: none;
}

/* ---------- Главная: «Автоюрист в Воронеже» ---------- */
.avt-hero .avt-h1 {
	font-size: clamp(2rem, 3.9vw, 3.1rem);
}

.avt-ay-cols {
	display: grid;
	grid-template-columns: 1fr 1fr;
	column-gap: 48px;
	border-top: 1px solid var(--avt-ink);
}

.avt-ay-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.avt-ay-list li {
	padding: 16px 0 16px 22px;
	border-bottom: 1px dashed var(--avt-line);
	position: relative;
	font-size: 15.5px;
	color: var(--avt-gr);
}

.avt-ay-list li::before {
	content: "";
	position: absolute;
	left: 2px;
	top: 25px;
	width: 8px;
	height: 8px;
	background: var(--avt-seal);
}

.avt-ay-list b {
	color: var(--avt-ink);
	font-weight: 600;
}

.avt-ay-h3 {
	margin: 56px 0 22px;
	font-size: 26px;
	line-height: 1.25;
}

.avt-ay-steps {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 32px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.avt-ay-steps li {
	display: grid;
	grid-template-columns: 40px 1fr;
	gap: 14px;
	align-items: start;
}

.avt-ay-steps .avt-n {
	grid-row: auto;
}

.avt-ay-steps b {
	display: block;
	font-size: 18px;
	line-height: 1.3;
}

.avt-ay-steps p {
	margin: 6px 0 0;
	font-size: 15px;
	color: var(--avt-gr);
}

.avt-ay-price {
	max-width: 820px;
}

.avt-ay-price p,
.avt-ay-price li {
	color: #3A4352;
}

.avt-ay-price ul {
	margin: 12px 0 16px;
	padding-left: 1.2em;
}

.avt-ay-price li {
	margin: 4px 0;
}

@media (max-width: 980px) {
	.avt-ay-steps {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 700px) {
	.avt-ay-cols,
	.avt-ay-steps {
		grid-template-columns: 1fr;
	}

	.avt-ay-cols .avt-ay-list + .avt-ay-list li:first-child {
		border-top: 0;
	}

	.avt-ay-h3 {
		margin-top: 40px;
		font-size: 22px;
	}
}

/* ---------- Старые тексты страниц ---------- */
.avt-content img {
	max-width: 100%;
	height: auto;
}

.avt-content table {
	width: 100%;
	border-collapse: collapse;
}

.avt-content td {
	padding: 8px 10px;
	vertical-align: top;
}

.avt-content h2,
.avt-content h3 {
	margin-top: 1.6em;
}

@media (max-width: 700px) {
	.avt-content table,
	.avt-content tbody,
	.avt-content tr,
	.avt-content td {
		display: block;
		width: auto !important;
	}

	.avt-content td {
		padding: 4px 0;
	}

	.avt-content img {
		display: block;
		float: none !important;
		margin: 0 0 12px !important;
	}
}

.avt-content p:empty {
	display: none;
}

.avt-content iframe {
	max-width: 100%;
}

.avt-content code {
	white-space: normal;
	overflow-wrap: anywhere;
}

@media (max-width: 360px) {
	.wpcf7 .g-recaptcha {
		display: block;
		transform: scale(0.88);
		transform-origin: 0 0;
	}
}

h1,
h2 {
	overflow-wrap: break-word;
}

.avt-content h1,
.avt-content h2 {
	hyphens: auto;
}

.avt-content h1 {
	font-size: clamp(1.6rem, 6vw, 2.4rem);
}

@media (max-width: 360px) {
	.avt-form {
		padding: 16px 14px;
	}

	.avt-form .wpcf7 .g-recaptcha {
		transform: scale(0.8);
	}

	.avt-stamp {
		display: none;
	}
}

/* Нижние кнопки на телефоне: значок сверху, подпись снизу — надпись всегда внутри кнопки */
@media (max-width: 599px) {
	.avt-callbar {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 6px;
		padding-inline: 8px;
	}

	.avt-callbar a {
		flex-direction: column;
		gap: 3px;
		height: 56px;
		padding: 0 4px;
		overflow: hidden;
		font-size: 13px;
		line-height: 1.1;
		text-align: center;
		white-space: nowrap;
	}

	.avt-callbar svg {
		width: 20px;
		height: 20px;
	}

	body {
		padding-bottom: 82px;
	}
}

/* Кнопка «Вызвать комиссара»: две строки — надпись и номер целиком */
.avt-btn-2l {
	min-height: 62px;
	padding: 8px 22px 8px 18px;
	text-align: left;
}

.avt-btn-2l span {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2px;
	line-height: 1.15;
	text-align: center;
}

.avt-btn-2l b {
	font-size: 16px;
	font-weight: 700;
}

.avt-btn-2l small {
	font-size: 17px;
	font-weight: 600;
	white-space: nowrap;
	font-variant-numeric: tabular-nums;
	letter-spacing: 0.01em;
}

/* ---------- Карта по кнопке ---------- */
.avt-mapf {
	position: relative;
	display: grid;
	place-items: center;
	min-height: 280px;
	padding: 24px 18px;
	border: 1px solid var(--avt-line);
	border-radius: var(--avt-r);
	background:
		repeating-linear-gradient(90deg, transparent 0 58px, rgba(28, 36, 51, 0.05) 58px 60px),
		repeating-linear-gradient(0deg, transparent 0 46px, rgba(28, 36, 51, 0.05) 46px 48px),
		#EEF1F4;
	text-align: center;
}

.avt-map .avt-mapf {
	border: 0;
	border-radius: 0;
}

.avt-mapf.is-loaded {
	display: block;
	min-height: 0;
	padding: 0;
}

.avt-mapf-in {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	max-width: 420px;
}

.avt-mapf-pin {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: var(--avt-seal);
	color: #fff;
}

.avt-mapf-pin svg {
	width: 26px;
	height: 26px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.avt-mapf-addr {
	margin-top: 4px;
	font-size: 18px;
	color: var(--avt-ink);
}

.avt-mapf-note {
	font-size: 14.5px;
	color: var(--avt-gr);
}

.avt-mapf-btns {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin-top: 12px;
}

.avt-mapf .avt-btn {
	min-height: 48px;
	padding: 0 18px;
	border: 0;
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}

.avt-btn-line {
	border: 1.5px solid var(--avt-ink) !important;
	background: #fff;
	color: var(--avt-ink);
}

.avt-btn-line:hover {
	background: var(--avt-paper);
	color: var(--avt-ink);
}

@media (max-width: 599px) {
	.avt-mapf-btns {
		flex-direction: column;
		align-self: stretch;
	}

	.avt-mapf .avt-btn {
		justify-content: center;
	}
}

/* ================= Лендинг аварийного комиссара ================= */
.avt-kl {
	padding-bottom: 72px;
}

.avt-kl svg {
	width: 22px;
	height: 22px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.9;
	stroke-linecap: round;
	stroke-linejoin: round;
	flex: none;
}

.avt-kl-crumbs {
	display: block;
	margin: 0;
	padding-top: 22px;
}

.avt-kl-hero {
	padding-block: 28px 40px;
}

.avt-kl-hero .avt-h1 {
	max-width: 15em;
}

.avt-kl-hero .avt-lead {
	max-width: 38em;
}

.avt-kl-ctas {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px 28px;
	margin-top: 26px;
}

.avt-btn-seal {
	background: var(--avt-seal);
	color: #fff;
}

.avt-btn-seal:hover {
	background: var(--avt-seal-dark);
	color: #fff;
}

.avt-kl-price {
	max-width: 36em;
	margin: 18px 0 0;
	padding: 10px 14px;
	border-left: 3px solid var(--avt-seal);
	background: var(--avt-seal-tint);
	font-size: 15.5px;
	line-height: 1.45;
	color: #3A4352;
}

.avt-kl-price b {
	color: var(--avt-ink);
	font-weight: 600;
}

.avt-kl-alt {
	margin: 0;
	line-height: 1.4;
	color: var(--avt-gr);
}

.avt-kl-alt a {
	font-weight: 600;
	color: var(--avt-ink);
	text-decoration: none;
	white-space: nowrap;
}

.avt-kl-alt small {
	font-size: 13.5px;
}

/* Инструкция «Что делать сразу после ДТП» */
.avt-kl-steps {
	padding-block: 48px 56px;
	border-block: 1px solid var(--avt-line);
	background: #fff;
}

.avt-kl-steps-in {
	display: grid;
	grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
	gap: 48px;
	align-items: start;
}

.avt-kl-steps h2 {
	margin: 0 0 26px;
}

.avt-kl-list {
	display: grid;
	gap: 18px;
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: st;
}

.avt-kl-list li {
	position: relative;
	padding-left: 58px;
	line-height: 1.55;
	color: #3A4352;
	counter-increment: st;
}

.avt-kl-list li::before {
	content: counter(st);
	position: absolute;
	left: 0;
	top: -4px;
	width: 40px;
	font-family: var(--avt-serif);
	font-size: 34px;
	font-weight: 600;
	line-height: 1;
	text-align: right;
	color: var(--avt-seal);
}

.avt-kl-list b {
	color: var(--avt-ink);
	font-weight: 600;
}

.avt-kl-photo {
	position: sticky;
	top: 24px;
	padding: 22px;
	border: 1px solid var(--avt-line);
	border-radius: var(--avt-r);
	background: var(--avt-paper);
}

.avt-kl .avt-kl-scheme {
	display: block;
	width: 100%;
	max-width: 280px;
	height: auto;
	margin: 0 auto 14px;
	stroke-width: 2;
}

.avt-kl-scheme .s-house {
	fill: #fff;
	stroke: var(--avt-ink);
}

.avt-kl-scheme .s-num {
	fill: var(--avt-ink);
	stroke: none;
	font: 700 14px var(--avt-sans);
}

.avt-kl-scheme .s-car {
	fill: #fff;
	stroke: var(--avt-ink);
	stroke-width: 2.5;
}

.avt-kl-scheme .s-front {
	fill: var(--avt-gr);
	stroke: none;
	font: 500 11px var(--avt-mono);
}

.avt-kl-scheme .s-glass {
	stroke: var(--avt-gr);
}

.avt-kl-scheme .s-cam {
	fill: var(--avt-seal);
	stroke: var(--avt-seal);
}

.avt-kl-scheme .s-cam circle {
	fill: #fff;
	stroke: none;
}

.avt-kl-scheme .s-ray {
	stroke: var(--avt-seal);
	stroke-dasharray: 4 5;
}

.avt-kl-scheme .s-lbl {
	fill: var(--avt-gr);
	stroke: none;
	font: 500 12px var(--avt-mono);
}

.avt-kl-photo-h {
	margin: 0 0 10px;
	font-family: var(--avt-serif);
	font-size: 19px;
	font-weight: 600;
	line-height: 1.3;
}

.avt-kl-check {
	display: grid;
	gap: 6px;
	margin: 0 0 18px;
	padding: 0;
	list-style: none;
	font-size: 15.5px;
	color: #3A4352;
}

.avt-kl-check li {
	position: relative;
	padding-left: 26px;
}

.avt-kl-check li::before {
	content: "";
	position: absolute;
	left: 3px;
	top: 0.35em;
	width: 11px;
	height: 6px;
	border-left: 2px solid var(--avt-seal);
	border-bottom: 2px solid var(--avt-seal);
	transform: rotate(-45deg);
}

.avt-kl-photo-call {
	display: flex;
	flex-direction: column;
	padding: 12px 16px;
	border-radius: var(--avt-r-sm);
	background: var(--avt-seal);
	color: #fff;
	text-decoration: none;
	line-height: 1.3;
}

.avt-kl-photo-call:hover {
	background: var(--avt-seal-dark);
	color: #fff;
}

.avt-kl-photo-call span {
	font-size: 14px;
	opacity: 0.92;
}

.avt-kl-photo-call b {
	font-size: 19px;
	font-variant-numeric: tabular-nums;
}

/* Что делает комиссар */
.avt-kl-does {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	border-top: 1px solid var(--avt-ink);
}

.avt-kl-does > div {
	padding: 20px 24px 22px 0;
	border-bottom: 1px solid var(--avt-line);
}

.avt-kl-does h3 {
	margin: 0 0 6px;
	font-size: 18px;
	line-height: 1.3;
}

.avt-kl-does p {
	margin: 0;
	font-size: 15.5px;
	color: var(--avt-gr);
}

/* Европротокол или ГИБДД */
.avt-kl-vs {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
}

.avt-kl-card {
	padding: 26px 28px;
	border: 1px solid var(--avt-line);
	border-top: 3px solid var(--avt-ink);
	border-radius: var(--avt-r);
	background: #fff;
}

.avt-kl-card h3 {
	margin: 0 0 12px;
	font-family: var(--avt-serif);
	font-size: 22px;
	font-weight: 600;
}

.avt-kl-card ul {
	margin: 0 0 14px;
	padding-left: 1.2em;
	line-height: 1.6;
}

.avt-kl-card p {
	margin: 0;
	padding-top: 14px;
	border-top: 1px dashed var(--avt-line);
	font-size: 15.5px;
	color: var(--avt-gr);
}

/* Вопросы и ответы: скруглённые карточки, «+» в кружке поворачивается в «×» */
.avt-kl-faq {
	display: grid;
	gap: 10px;
	max-width: 820px;
	margin-top: 24px;
}

.avt-kl-faq details {
	border: 1px solid var(--avt-line);
	border-radius: 14px;
	background: #fff;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.avt-kl-faq details:hover {
	border-color: #B9BFC8;
}

.avt-kl-faq details[open] {
	border-color: #B9BFC8;
	box-shadow: 0 6px 20px rgba(28, 36, 51, 0.07);
}

.avt-kl-faq summary {
	position: relative;
	padding: 18px 64px 18px 22px;
	border-radius: 14px;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.35;
	cursor: pointer;
	list-style: none;
	outline: none;
	-webkit-tap-highlight-color: transparent;
	user-select: none;
}

.avt-kl-faq summary::-webkit-details-marker {
	display: none;
}

.avt-kl-faq summary::after {
	content: "+";
	position: absolute;
	right: 18px;
	top: 50%;
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	margin-top: -15px;
	border-radius: 50%;
	background: var(--avt-seal-tint);
	color: var(--avt-seal);
	font-size: 22px;
	font-weight: 400;
	line-height: 1;
	transition: transform 0.25s ease, background-color 0.2s ease, color 0.2s ease;
}

.avt-kl-faq details[open] summary::after {
	transform: rotate(45deg);
	background: var(--avt-seal);
	color: #fff;
}

.avt-kl-faq summary:focus,
.avt-kl-faq summary:focus-visible {
	outline: none;
}

/* Рамка только при переходе с клавиатуры (Tab), мягкая и скруглённая */
.avt-kl-faq summary:focus-visible {
	box-shadow: 0 0 0 3px rgba(200, 16, 46, 0.25);
}

.avt-kl-faq p {
	margin: 0;
	padding: 0 22px 20px;
	max-width: 44em;
	color: #3A4352;
}

/* Вызов и офис */
.avt-kl-call {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
	gap: 0;
	margin-top: 72px;
}

.avt-kl-call .avt-komi-l {
	border-radius: var(--avt-r) 0 0 var(--avt-r);
}

.avt-kl-call .avt-komi-ic svg {
	width: 32px;
	height: 32px;
	stroke-width: 2.2;
}

.avt-kl-call .avt-komi-l .avt-btn {
	margin-top: 6px;
}

.avt-kl-office {
	padding: 30px 32px;
	border: 1px solid var(--avt-line);
	border-left: 0;
	border-radius: 0 var(--avt-r) var(--avt-r) 0;
	background: #fff;
}

.avt-kl-office-h {
	margin: 0 0 6px;
	font-family: var(--avt-serif);
	font-size: 22px;
	font-weight: 600;
}

.avt-kl-office p:not(.avt-kl-office-h) {
	margin: 0 0 18px;
	color: var(--avt-gr);
}

.avt-kl-office a {
	font-weight: 600;
	color: var(--avt-ink);
	text-decoration: none;
	white-space: nowrap;
}

.avt-kl-office .avt-btn {
	white-space: normal;
}

.avt-kl-office .avt-btn-ink {
	color: #fff;
}

@media (max-width: 980px) {
	.avt-kl-steps-in,
	.avt-kl-call {
		grid-template-columns: minmax(0, 1fr);
	}

	.avt-kl-photo {
		position: static;
	}

	.avt-kl-does {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.avt-kl-call .avt-komi-l {
		border-radius: var(--avt-r) var(--avt-r) 0 0;
	}

	.avt-kl-office {
		border-left: 1px solid var(--avt-line);
		border-top: 0;
		border-radius: 0 0 var(--avt-r) var(--avt-r);
	}
}

@media (max-width: 700px) {
	.avt-kl-does,
	.avt-kl-vs {
		grid-template-columns: minmax(0, 1fr);
	}

	.avt-kl-does > div {
		padding-right: 0;
	}
}

@media (max-width: 599px) {
	.avt-kl-crumbs {
		padding-top: 14px;
	}

	.avt-kl-hero {
		padding-block: 18px 28px;
	}

	.avt-kl-ctas {
		flex-direction: column;
		align-items: stretch;
		gap: 14px;
	}

	.avt-kl-ctas .avt-btn {
		justify-content: center;
	}

	/* Звонок в офис есть в нижней панели — инструкция начинается выше */
	.avt-kl-alt {
		display: none;
	}

	.avt-kl-steps {
		padding-block: 32px 36px;
	}

	.avt-kl-steps-in {
		gap: 28px;
	}

	.avt-kl-steps h2 {
		margin-bottom: 20px;
	}

	.avt-kl-list li {
		padding-left: 42px;
	}

	.avt-kl-list li::before {
		width: 28px;
		font-size: 28px;
	}

	.avt-kl-photo {
		padding: 18px 16px;
	}

	.avt-kl-card {
		padding: 20px 18px;
	}

	.avt-kl-faq summary {
		padding: 16px 56px 16px 18px;
		font-size: 17px;
	}

	.avt-kl-faq summary::after {
		right: 14px;
	}

	.avt-kl-faq p {
		padding: 0 18px 18px;
	}

	.avt-kl-call {
		margin-top: 48px;
	}

	.avt-kl-call .avt-komi-l,
	.avt-kl-office {
		padding: 22px 18px;
	}

	.avt-kl-call .avt-komi-l .avt-btn {
		width: 100%;
		justify-content: center;
	}
}

/* ================= Главная: страховой отдел ================= */
.avt-strah {
	display: grid;
	grid-template-columns: 1fr 1.25fr;
	overflow: hidden;
	border: 1px solid var(--avt-line);
	border-radius: var(--avt-r);
	background: #fff;
}

.avt-strah > * {
	min-width: 0;
}

.avt-strah-l {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
	padding: 34px 36px;
	background: var(--avt-ink);
	color: #fff;
}

.avt-strah-ic {
	display: grid;
	place-items: center;
	width: 54px;
	height: 54px;
	border-radius: var(--avt-r-sm);
	background: #fff;
	color: var(--avt-ink);
}

.avt-strah-ic svg {
	width: 32px;
	height: 32px;
	stroke-width: 2;
}

.avt-strah-kicker {
	margin: 0;
	font: 500 12.5px/1.3 var(--avt-mono);
	text-transform: uppercase;
	letter-spacing: 0.1em;
	opacity: 0.8;
}

.avt-strah-h {
	margin: 0;
	font-family: var(--avt-serif);
	font-size: 34px;
	font-weight: 600;
	line-height: 1.1;
	color: #fff;
}

.avt-strah-p {
	max-width: 400px;
	margin: 0;
	font-size: 16.5px;
	line-height: 1.5;
	color: #D5DAE2;
}

.avt-strah-btns {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
	margin-top: 8px;
}

.avt-btn-paper {
	background: #fff;
	color: var(--avt-ink);
	font-weight: 700;
}

.avt-btn-paper:hover {
	background: var(--avt-paper);
	color: var(--avt-ink);
}

.avt-strah-alt {
	font-size: 15px;
	font-weight: 500;
	color: #fff;
	text-decoration: underline;
	text-decoration-color: rgba(255, 255, 255, 0.45);
	text-underline-offset: 4px;
}

.avt-strah-alt:hover {
	color: #fff;
	text-decoration-color: #fff;
}

.avt-strah-r {
	display: flex;
	flex-direction: column;
	padding: 34px 36px;
}

.avt-strah-r h3 {
	margin: 0 0 14px;
	font-family: var(--avt-serif);
	font-size: 22px;
	font-weight: 600;
}

.avt-strah-tiles {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
}

.avt-strah-tiles .avt-tile {
	background: var(--avt-paper);
}

.avt-strah-note {
	margin: auto 0 0;
	padding-top: 18px;
	font-size: 14px;
	color: var(--avt-gr);
}

/* Полный цикл: полис → ДТП → выплата */
.avt-cycle {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	margin: 14px 0 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--avt-ink);
}

.avt-cycle li {
	position: relative;
	border-bottom: 1px solid var(--avt-line);
}

.avt-cycle li + li {
	border-left: 1px solid var(--avt-line);
}

.avt-cycle a {
	display: grid;
	grid-template-columns: 34px 1fr;
	gap: 14px;
	align-items: start;
	height: 100%;
	box-sizing: border-box;
	padding: 18px 22px 18px 0;
	color: var(--avt-ink);
	text-decoration: none;
}

.avt-cycle li + li a {
	padding-left: 22px;
}

.avt-cycle a:hover b {
	text-decoration: underline;
	text-underline-offset: 4px;
}

.avt-cycle-n {
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border: 1.5px solid var(--avt-ink);
	border-radius: 50%;
	font-weight: 600;
}

.avt-cycle-komi .avt-cycle-n {
	border-color: var(--avt-seal);
	color: var(--avt-seal);
}

.avt-cycle small {
	display: block;
	font: 500 11.5px/1.3 var(--avt-mono);
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--avt-gr);
}

.avt-cycle b {
	display: block;
	margin-top: 2px;
	font-size: 18px;
	font-weight: 600;
}

.avt-cycle em {
	display: block;
	margin-top: 2px;
	font-size: 14px;
	font-style: normal;
	line-height: 1.4;
	color: var(--avt-gr);
}

@media (max-width: 980px) {
	.avt-strah {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 700px) {
	.avt-cycle {
		grid-template-columns: 1fr;
	}

	.avt-cycle li + li {
		border-left: 0;
	}

	.avt-cycle li + li a {
		padding-left: 0;
	}
}

@media (max-width: 599px) {
	.avt-strah-l,
	.avt-strah-r {
		padding: 26px 20px;
	}

	.avt-strah-h {
		font-size: 28px;
	}

	.avt-strah-btns,
	.avt-strah-btns .avt-btn {
		align-self: stretch;
		justify-content: center;
	}

	.avt-strah-btns {
		align-items: center;
	}

	.avt-strah-tiles {
		grid-template-columns: 1fr;
	}
}

/* ================= Лендинг страхования (/pages/avtostrahovanie/) ================= */
.avt-sl-price {
	border-left-color: var(--avt-ink);
	background: #fff;
}

.avt-sl .avt-clauses {
	padding-top: 26px;
	border-top: 1px solid var(--avt-ink);
}

.avt-sl-partners {
	max-width: 52em;
	margin: 22px 0 0;
	font-size: 15px;
	color: var(--avt-gr);
}

.avt-sl-call .avt-komi-l {
	background: var(--avt-ink);
}

.avt-sl-call .avt-komi-ic {
	color: var(--avt-ink);
}

.avt-sl-call .avt-komi-kicker {
	opacity: 0.8;
}

.avt-sl-call .avt-komi-p {
	color: #D5DAE2;
}

/* Персональный менеджер: на главной и на лендинге */
.avt-strah-renew {
	display: grid;
	grid-template-columns: 26px 1fr;
	gap: 12px;
	margin-top: 10px;
	padding: 16px;
	border: 1px solid var(--avt-ink);
	border-radius: var(--avt-r);
	color: var(--avt-ink);
	text-decoration: none;
}

.avt-strah-renew:hover {
	background: var(--avt-paper);
	color: var(--avt-ink);
}

.avt-home .avt-strah-renew svg {
	width: 26px;
	height: 26px;
}

.avt-strah-renew b {
	display: block;
	font-weight: 600;
	line-height: 1.3;
}

.avt-strah-renew small {
	display: block;
	margin-top: 3px;
	font-size: 14px;
	line-height: 1.4;
	color: var(--avt-gr);
}

.avt-strah-note a {
	color: var(--avt-ink);
	text-underline-offset: 3px;
}

.avt-sl-renew {
	display: grid;
	grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.4fr);
	gap: 32px 56px;
	align-items: start;
	margin-top: 8px;
	padding-block: 40px;
	border-top: 3px solid var(--avt-ink);
	border-bottom: 1px solid var(--avt-line);
}

.avt-sl-kicker {
	margin: 0 0 10px;
	font: 500 12.5px/1.3 var(--avt-mono);
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--avt-gr);
}

.avt-sl-renew h2 {
	margin: 0 0 14px;
}

.avt-sl-renew-l > p:last-child {
	margin: 0;
	color: var(--avt-gr);
}

.avt-sl-time {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.avt-sl-time li {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding-top: 34px;
	font-size: 15px;
	line-height: 1.45;
	color: var(--avt-gr);
}

/* линия времени с точками */
.avt-sl-time li::before {
	content: "";
	position: absolute;
	top: 8px;
	left: 0;
	right: -20px;
	border-top: 2px solid var(--avt-line);
}

.avt-sl-time li:last-child::before {
	right: 0;
}

.avt-sl-time li::after {
	content: "";
	position: absolute;
	top: 1px;
	left: 0;
	width: 12px;
	height: 12px;
	border: 2px solid var(--avt-ink);
	border-radius: 50%;
	background: #fff;
}

.avt-sl-time li:last-child::after {
	background: var(--avt-ink);
}

.avt-sl-time-t {
	font: 500 12px/1.3 var(--avt-mono);
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--avt-ink);
}

.avt-sl-time b {
	font-size: 17px;
	line-height: 1.3;
	color: var(--avt-ink);
}

.avt-sl-h3 {
	margin: 0 0 20px;
}

#diagnostika a {
	font-weight: 600;
	color: var(--avt-ink);
	white-space: nowrap;
}

@media (max-width: 980px) {
	.avt-sl-renew {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 700px) {
	.avt-sl-time {
		grid-template-columns: minmax(0, 1fr);
		gap: 22px;
	}

	/* на телефоне линия времени идёт сверху вниз */
	.avt-sl-time li {
		padding: 0 0 0 30px;
	}

	.avt-sl-time li::before {
		top: 14px;
		bottom: -22px;
		left: 5px;
		right: auto;
		border-top: 0;
		border-left: 2px solid var(--avt-line);
	}

	.avt-sl-time li:last-child::before {
		display: none;
	}

	.avt-sl-time li::after {
		top: 2px;
	}
}

/* КАСКО: сравнение с ОСАГО и проверка договора юристом */
.avt-sl-card-warn {
	border-top-color: var(--avt-seal);
}

.avt-sl-check {
	margin-top: 40px;
}

.avt-sl-pits {
	display: grid;
	gap: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.avt-sl-pits li {
	position: relative;
	padding-left: 30px;
	font-size: 15.5px;
	line-height: 1.45;
	color: var(--avt-gr);
}

.avt-sl-pits li::before {
	content: "!";
	position: absolute;
	top: 1px;
	left: 0;
	display: grid;
	place-items: center;
	width: 20px;
	height: 20px;
	border: 1.5px solid var(--avt-seal);
	border-radius: 50%;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
	color: var(--avt-seal);
}

.avt-sl-pits b {
	color: var(--avt-ink);
	font-weight: 600;
}

/* Почему через нас, а не напрямую в страховую */
.avt-sl-vs ul {
	display: grid;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
	line-height: 1.45;
}

.avt-sl-vs li {
	position: relative;
	padding-left: 28px;
}

.avt-sl-vs li::before {
	position: absolute;
	top: 0;
	left: 0;
	width: 18px;
	text-align: center;
	font-weight: 700;
}

.avt-sl-them {
	border-top-color: var(--avt-line);
	background: transparent;
	color: var(--avt-gr);
}

.avt-sl-them li::before {
	content: "–";
	color: #9AA2AE;
}

.avt-sl-us {
	border-color: var(--avt-ink);
	border-top-width: 3px;
}

/* зелёные галочки — только в колонке «В «Автоюрист36»» */
.avt-sl-us li {
	padding-left: 32px;
}

.avt-sl-us li::before {
	content: "✓";
	top: 1px;
	display: grid;
	place-items: center;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: var(--avt-ok);
	font-size: 12px;
	line-height: 1;
	color: #fff;
}

.avt-sl-check .avt-strah-p + .avt-strah-p {
	margin-top: -2px;
}

/* =====================================================================
   1.7.0 — «живой» сайт: страницы услуг, рейтинг, карточки, метки, появление
   ===================================================================== */
.avt-nw {
	white-space: nowrap;
}

.avt-hide {
	display: none !important;
}

/* Рейтинг Яндекс Карт */
.avt-rating {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 10px;
	margin-top: 22px;
	padding: 8px 14px;
	border: 1px solid var(--avt-line);
	border-radius: 999px;
	background: #fff;
	color: var(--avt-ink);
	font-size: 14px;
	text-decoration: none;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.avt-rating:hover {
	border-color: #B9BFC8;
	box-shadow: 0 4px 14px rgba(28, 36, 51, 0.08);
	color: var(--avt-ink);
}

.avt-rating-stars {
	background: linear-gradient(90deg, #F5A623 var(--avt-stars, 100%), #D9DDE3 var(--avt-stars, 100%));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	font-size: 16px;
	letter-spacing: 1px;
}

.avt-rating b {
	font-size: 15px;
}

.avt-rating-t,
.avt-rating-more {
	color: var(--avt-gr);
}

@media (max-width: 599px) {
	.avt-rating-more {
		display: none;
	}

	.avt-svc-btns .avt-btn {
		font-size: 15px;
	}
}

/* Плитки и карточки: лёгкий подъём при наведении */
@media (hover: hover) {
	.avt-tile:hover,
	.avt-svc-card:hover {
		transform: translateY(-2px);
		box-shadow: 0 10px 24px rgba(28, 36, 51, 0.08);
	}
}

.avt-tile {
	transition: border-color 0.15s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

/* Главная: «Наши обязательства» — тёмная полоса для ритма */
.avt-oblig {
	border: 0;
	background: var(--avt-ink);
	color: #fff;
}

.avt-oblig h2,
.avt-oblig .avt-clause h3 {
	color: #fff;
}

.avt-oblig .avt-clause p {
	color: #B8C0CC;
}

.avt-oblig .avt-n {
	color: #F0566A;
}

.avt-oblig .avt-link {
	color: #fff;
}

/* Главная: «Автоюрист в Воронеже» — ситуации карточками */
.avt-ay-cols {
	gap: 12px 16px;
	padding-top: 16px;
	border-top: 0;
}

.avt-ay-list {
	display: grid;
	gap: 12px;
	align-content: start;
}

.avt-ay-list li {
	padding: 16px 18px 16px 40px;
	border: 1px solid var(--avt-line);
	border-radius: var(--avt-r);
	background: #fff;
}

.avt-ay-list li::before {
	left: 18px;
	top: 24px;
	border-radius: 50%;
}

.avt-ay-steps li {
	padding: 18px;
	border: 1px solid var(--avt-line);
	border-radius: var(--avt-r);
	background: #fff;
}

.avt-ay-price {
	margin-top: 48px;
	padding: 24px 26px;
	border-radius: var(--avt-r);
	background: var(--avt-seal-tint);
}

.avt-ay-price .avt-ay-h3 {
	margin-top: 0;
}

/* Форма: кнопки-метки «Что случилось?» */
.avt-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 18px;
}

.avt-chips-h {
	flex-basis: 100%;
	margin-bottom: 2px;
}

.avt-chip {
	padding: 9px 14px;
	border: 1.5px solid #C5CBD3;
	border-radius: 999px;
	background: #fff;
	color: var(--avt-ink);
	font: inherit;
	font-size: 15px;
	line-height: 1.2;
	cursor: pointer;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
	-webkit-tap-highlight-color: transparent;
}

.avt-chip:hover {
	border-color: var(--avt-ink);
}

.avt-chip:active {
	transform: scale(0.97);
}

.avt-chip[aria-pressed="true"] {
	border-color: var(--avt-ink);
	background: var(--avt-ink);
	color: #fff;
}

.wpcf7 textarea[rows="3"] {
	min-height: 90px;
}

/* Страницы услуг */
.avt-svc-page .avt-page > .avt-crumbs,
.avt-svc-page .avt-page > .avt-page-title,
.avt-svc-page .avt-page > .avt-svc-hero,
.avt-svc-page .avt-page > .avt-svc,
.avt-svc-page .avt-page > .avt-svc-more,
.avt-svc-page .avt-page > .avt-cta {
	max-width: var(--wp--style--global--wide-size, 1200px);
}

.avt-svc-page .avt-page-title {
	max-width: 900px;
}

.avt-svc-hero {
	margin-bottom: 36px;
}

.avt-svc-btns {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.avt-svc-trust {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 22px;
	margin: 16px 0 0;
	color: var(--avt-gr);
	font-size: 15px;
}

.avt-svc-trust span::before {
	content: "✓";
	margin-right: 7px;
	color: var(--avt-ok);
	font-weight: 700;
}

.avt-svc-hero .avt-rating {
	margin-top: 14px;
}

.avt-svc {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 56px;
	align-items: start;
}

.avt-svc-main > .avt-content {
	max-width: 760px;
}

.avt-svc-main > .avt-content > * {
	margin-left: 0 !important;
	margin-right: 0 !important;
}

.avt-svc-aside {
	position: sticky;
	top: 24px;
}

.avt-svc-box {
	display: grid;
	gap: 12px;
	padding: 24px;
	border: 1px solid var(--avt-line);
	border-top: 3px solid var(--avt-seal);
	border-radius: var(--avt-r);
	background: #fff;
	box-shadow: 0 10px 30px rgba(28, 36, 51, 0.06);
}

.avt-svc-box p {
	margin: 0;
	color: var(--avt-gr);
	font-size: 15px;
}

.avt-svc-box .avt-svc-box-h {
	color: var(--avt-ink);
	font-family: var(--avt-serif);
	font-size: 22px;
	font-weight: 600;
	line-height: 1.25;
}

.avt-svc-box .avt-btn {
	justify-content: center;
}

.avt-svc-box .avt-svc-box-note {
	font-size: 13px;
}

/* Старые тексты: подзаголовки и списки */
.avt-content h2 {
	margin: 1.8em 0 0.6em;
	font-size: clamp(1.45rem, 2.4vw, 1.9rem);
	line-height: 1.2;
	hyphens: manual;
	text-wrap: balance;
}

.avt-content .avt-list {
	display: grid;
	gap: 10px;
	margin: 0 0 1.4em;
	padding: 0;
	list-style: none;
	counter-reset: avt-li;
}

.avt-content .avt-list li {
	position: relative;
	padding-left: 34px;
}

.avt-content ul.avt-list li::before {
	content: "";
	position: absolute;
	left: 8px;
	top: 0.62em;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--avt-seal);
}

.avt-content ol.avt-list li {
	counter-increment: avt-li;
}

.avt-content ol.avt-list li::before {
	content: counter(avt-li);
	position: absolute;
	left: 0;
	top: 0.1em;
	display: grid;
	place-items: center;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: var(--avt-seal-tint);
	color: var(--avt-seal);
	font-size: 13px;
	font-weight: 700;
}

/* «Другие услуги» */
.avt-svc-more {
	margin-top: 64px;
}

.avt-svc-more h2 {
	margin: 0 0 20px;
}

.avt-svc-cards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}

.avt-svc-card {
	display: grid;
	gap: 4px;
	padding: 18px 20px;
	border: 1px solid var(--avt-line);
	border-radius: var(--avt-r);
	background: #fff;
	color: var(--avt-ink);
	text-decoration: none;
	transition: border-color 0.15s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.avt-svc-card:hover {
	border-color: #B9BFC8;
	color: var(--avt-ink);
}

.avt-svc-card b {
	font-size: 17px;
	font-weight: 600;
}

.avt-svc-card small {
	color: var(--avt-gr);
	font-size: 14px;
}

@media (max-width: 980px) {
	.avt-svc {
		grid-template-columns: 1fr;
		gap: 0;
	}

	.avt-svc-aside {
		display: none;
	}

	.avt-svc-cards {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 599px) {
	.avt-svc-cards {
		grid-template-columns: 1fr;
	}

	.avt-svc-btns .avt-btn {
		width: 100%;
		justify-content: center;
	}

	.avt-ay-list li {
		padding: 14px 16px 14px 36px;
	}

	.avt-ay-list li::before {
		left: 16px;
		top: 22px;
	}

	.avt-ay-price {
		padding: 20px;
	}
}

/* Появление блоков при прокрутке */
.avt-rv {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity 0.6s ease, transform 0.6s ease;
}

.avt-rv.is-in {
	opacity: 1;
	transform: none;
}

@media (prefers-reduced-motion: reduce) {
	.avt-rv {
		opacity: 1;
		transform: none;
		transition: none;
	}

	.avt-tile,
	.avt-svc-card,
	.avt-kl-faq summary::after {
		transition: none;
	}
}

.avt-hero-ctas {
	gap: 14px 20px;
}

/* Салют после отправки заявки и сообщения формы */
.avt-salute {
	position: fixed;
	inset: 0;
	width: 100vw;
	height: 100vh;
	z-index: 100000;
	pointer-events: none;
}

.wpcf7 form .wpcf7-response-output {
	margin: 18px 0 0;
	padding: 14px 18px;
	border: 1.5px solid var(--avt-line);
	border-radius: var(--avt-r-sm);
	font-size: 15px;
	line-height: 1.45;
}

.wpcf7 form.sent .wpcf7-response-output {
	border-color: #9CCFB0;
	background: #EAF6EF;
	color: #14532D;
	font-weight: 500;
	animation: avt-pop 0.45s ease;
}

.wpcf7 form.sent .wpcf7-response-output::before {
	content: "✓";
	display: inline-grid;
	place-items: center;
	width: 22px;
	height: 22px;
	margin-right: 10px;
	border-radius: 50%;
	background: var(--avt-ok);
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	vertical-align: -4px;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.spam .wpcf7-response-output {
	border-color: #F2B8C0;
	background: var(--avt-seal-tint);
	color: #7A0A1C;
}

.wpcf7 .wpcf7-not-valid-tip {
	margin-top: 6px;
	color: var(--avt-seal);
	font-size: 14px;
}

.wpcf7 .wpcf7-not-valid {
	border-color: var(--avt-seal) !important;
}

@keyframes avt-pop {
	0% { opacity: 0; transform: translateY(6px) scale(0.98); }
	100% { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
	.wpcf7 form.sent .wpcf7-response-output {
		animation: none;
	}
}

/* =====================================================================
   1.7.2 — статьи (/stati/)
   ===================================================================== */
.avt-art { font-size: 17.5px; line-height: 1.65; }
.avt-art h2 { margin: 2em 0 0.6em; font-size: clamp(1.45rem, 2.4vw, 1.9rem); line-height: 1.2; hyphens: manual; text-wrap: balance; }
.avt-art-lead { font-size: 1.2em; line-height: 1.55; color: var(--avt-ink); }

/* Коротко — три карточки */
.avt-art-short { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 28px 0; }
.avt-art-short-i { padding: 20px; border: 1px solid var(--avt-line); border-radius: var(--avt-r); background: #fff; font-size: 15.5px; line-height: 1.5; }
.avt-art-short-i b { display: block; margin: 12px 0 6px; font-size: 17px; line-height: 1.3; }
.avt-art-short-i p { margin: 0; color: var(--avt-gr); }
.avt-art-ic { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; font: 700 16px/1 var(--avt-sans); }
.avt-art-ic-no { background: var(--avt-seal-tint); color: var(--avt-seal); }
.avt-art-ic-ok { background: #EAF6EF; color: var(--avt-ok); }

/* Ремонт против денег */
.avt-art-vs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 18px 0; }
.avt-art-vs-i { padding: 20px 22px 6px; border-radius: var(--avt-r); border: 1px solid; }
.avt-art-vs-good { background: #EAF6EF; border-color: #9CCFB0; }
.avt-art-vs-bad { background: var(--avt-seal-tint); border-color: #F2B8C0; }
.avt-art-vs-h { margin: 0 0 10px; font-family: var(--avt-serif); font-size: 19px; font-weight: 600; line-height: 1.3; }
.avt-art-vs .avt-list { font-size: 16px; }
.avt-art-vs-good ul.avt-list li::before { background: var(--avt-ok); }

/* Предупреждение */
.avt-art-warn { margin: 36px 0; padding: 24px 26px 8px; border-radius: var(--avt-r); background: #fff; border: 1px solid var(--avt-line); border-left: 4px solid var(--avt-seal); }
.avt-art-warn p { margin: 0 0 12px; }
.avt-art-warn-h { font-family: var(--avt-serif); font-size: 22px; font-weight: 600; line-height: 1.25; color: var(--avt-ink); }
.avt-art-warn .avt-art-warn-sub { margin-top: 16px; font-weight: 600; }
.avt-art-warn .avt-list { font-size: 16px; }

/* Мифы */
.avt-art-myths { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 18px 0; }
.avt-art-myth { padding: 20px 22px; border: 1px solid var(--avt-line); border-radius: var(--avt-r); background: #fff; }
.avt-art-myth p { margin: 0; font-size: 16px; color: #3A4352; }
.avt-art-myth .avt-art-myth-q { margin-bottom: 10px; font-family: var(--avt-serif); font-size: 19px; font-weight: 600; line-height: 1.3; color: var(--avt-ink); }
.avt-art-myth .avt-art-myth-q::before { content: "✕"; display: inline-grid; place-items: center; width: 22px; height: 22px; margin-right: 8px; border-radius: 50%; background: var(--avt-seal-tint); color: var(--avt-seal); font: 700 12px/1 var(--avt-sans); vertical-align: 2px; }

/* Выигрыш: плохой ремонт */
.avt-art-win { margin: 22px 0; padding: 22px 26px; border-radius: var(--avt-r); background: #EAF6EF; border: 1px solid #9CCFB0; }
.avt-art-win p { margin: 0; color: #1F3B2B; }
.avt-art-win .avt-art-win-h { margin-bottom: 8px; font-family: var(--avt-serif); font-size: 21px; font-weight: 600; line-height: 1.25; color: #14532D; }
.avt-art-win .avt-art-win-h::before { content: "✓"; display: inline-grid; place-items: center; width: 24px; height: 24px; margin-right: 10px; border-radius: 50%; background: var(--avt-ok); color: #fff; font: 700 13px/1 var(--avt-sans); vertical-align: 3px; }

/* Призыв */
.avt-art-cta { margin: 40px 0; padding: 28px 30px; border-radius: var(--avt-r); background: var(--avt-ink); color: #fff; }
.avt-art-cta p { margin: 0 0 10px; color: #C9D0DA; }
.avt-art-cta .avt-art-cta-h { font-family: var(--avt-serif); font-size: 26px; font-weight: 600; line-height: 1.2; color: #fff; }
.avt-art-cta-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px !important; }
.avt-art-cta .avt-btn-ink { background: var(--avt-seal); }
.avt-art-cta .avt-btn-line { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.5) !important; }

/* Шаги */
.avt-art-steps { display: grid; gap: 10px; margin: 18px 0; padding: 0; list-style: none; counter-reset: avt-step; }
.avt-art-steps li { counter-increment: avt-step; display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; align-items: center; padding: 16px 20px; border: 1px solid var(--avt-line); border-radius: var(--avt-r); background: #fff; font-size: 16px; line-height: 1.45; }
.avt-art-steps li::before { content: counter(avt-step); grid-row: span 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--avt-seal-tint); color: var(--avt-seal); font-family: var(--avt-serif); font-size: 22px; font-weight: 600; }
.avt-art-steps b { font-size: 17px; line-height: 1.3; }
.avt-art-steps span { color: var(--avt-gr); }

/* Как помогаем */
.avt-art-help { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 18px 0; }
.avt-art-help > div { padding: 20px 22px; border-radius: var(--avt-r); background: #fff; border: 1px solid var(--avt-line); border-top: 3px solid var(--avt-ink); }
.avt-art-help b { display: block; margin-bottom: 6px; font-size: 17px; }
.avt-art-help p { margin: 0; font-size: 15.5px; color: var(--avt-gr); }

.avt-art-meta { margin-top: 40px; padding-top: 16px; border-top: 1px solid var(--avt-line); font-size: 14px; color: var(--avt-gr); }

@media (max-width: 700px) {
	.avt-art { font-size: 16.5px; }
	.avt-art-short, .avt-art-vs, .avt-art-myths, .avt-art-help { grid-template-columns: 1fr; }
	.avt-art-steps li { grid-template-columns: 36px 1fr; padding: 14px 16px; }
	.avt-art-steps li::before { width: 36px; height: 36px; font-size: 19px; }
	.avt-art-warn, .avt-art-cta, .avt-art-win { padding: 20px; }
	.avt-art-cta-btns .avt-btn { width: 100%; justify-content: center; }
}

/* Карточки статей: список на /stati/ и «Полезно знать» на страницах услуг */
.avt-art-cards {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.avt-art-cards-list {
	margin-top: 28px;
	grid-template-columns: 1fr;
}

.avt-art-card {
	display: grid;
	gap: 8px;
	padding: 22px 24px;
	border: 1px solid var(--avt-line);
	border-left: 4px solid var(--avt-seal);
	border-radius: var(--avt-r);
	background: #fff;
	color: var(--avt-ink);
	text-decoration: none;
	transition: border-color 0.15s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.avt-art-card b {
	font-family: var(--avt-serif);
	font-size: 21px;
	font-weight: 600;
	line-height: 1.25;
}

.avt-art-card small {
	color: var(--avt-gr);
	font-size: 15px;
	line-height: 1.5;
}

.avt-art-card-more {
	color: var(--avt-seal);
	font-weight: 600;
	font-size: 15px;
}

@media (hover: hover) {
	.avt-art-card:hover {
		color: var(--avt-ink);
		transform: translateY(-2px);
		box-shadow: 0 10px 24px rgba(28, 36, 51, 0.08);
	}
}

@media (max-width: 700px) {
	.avt-art-cards {
		grid-template-columns: 1fr;
	}
}
