/*
Theme Name: Pomodoro
Theme URI: https://pomodoro-moscow.ru/
Author: Бурлаков Даниил Сергеевич
Author URI: https://pomodoro-moscow.ru/
Description: Собственная тема сайта итальянского ресторана «Помодоро» для WordPress. Разработана с нуля без использования стандартных шаблонов: собственная сетка, цветовая схема, типографика, два стиля оформления (стандартный и версия для слабовидящих по ГОСТ Р 52872-2012), страница 404, карта сайта, формы бронирования и обратной связи.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: pomodoro
Tags: restaurant, food, custom-design
*/

/* ==========================================================================
   1. Переменные и сброс
   ========================================================================== */

:root {
	--ink: #14181d;
	--ink-soft: #2b333b;
	--muted: #5d6b78;
	--paper: #ffffff;
	--paper-alt: #f3f6f9;
	--paper-deep: #101418;
	--line: #dde4ea;
	--accent: #c2410c;
	--accent-dark: #9a3412;
	--accent-soft: #fdf0e8;
	--ok: #1f7a4d;
	--danger: #b3261e;

	--font-body: "Segoe UI", "PT Sans", Roboto, "Helvetica Neue", Arial, sans-serif;
	--font-head: Georgia, "PT Serif", "Times New Roman", serif;

	--step-0: 1.0625rem;
	--step-1: 1.25rem;
	--step-2: 1.625rem;
	--step-3: 2.125rem;
	--step-4: 2.875rem;

	--radius: 6px;
	--radius-lg: 12px;
	--shadow-sm: 0 1px 2px rgba(16, 20, 24, .06), 0 2px 8px rgba(16, 20, 24, .05);
	--shadow-md: 0 6px 24px rgba(16, 20, 24, .10);
	--container: 1180px;
	--gutter: 24px;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: var(--step-0);
	line-height: 1.65;
}

img,
svg,
video {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: var(--accent-dark);
	text-decoration-thickness: 1px;
	text-underline-offset: 2px;
}

a:hover {
	color: var(--accent);
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-head);
	font-weight: 700;
	line-height: 1.22;
	margin: 0 0 .6em;
	color: var(--ink);
	letter-spacing: -.01em;
}

h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }
h5 { font-size: var(--step-0); text-transform: uppercase; letter-spacing: .08em; }
h6 { font-size: .9375rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }

p, ul, ol, dl, table, blockquote, figure {
	margin: 0 0 1.1em;
}

ul, ol {
	padding-left: 1.35em;
}

li + li {
	margin-top: .35em;
}

hr {
	border: 0;
	border-top: 1px solid var(--line);
	margin: 2rem 0;
}

blockquote {
	margin: 1.5rem 0;
	padding: 1rem 1.5rem;
	border-left: 4px solid var(--accent);
	background: var(--accent-soft);
	color: var(--ink-soft);
}

code, pre, kbd {
	font-family: Consolas, "Courier New", monospace;
	font-size: .95em;
	background: var(--paper-alt);
	border-radius: 4px;
}

code { padding: .1em .35em; }

pre {
	padding: 1rem 1.25rem;
	overflow: auto;
	border: 1px solid var(--line);
}

table {
	width: 100%;
	border-collapse: collapse;
	font-size: .975rem;
}

th, td {
	padding: .7rem .85rem;
	border-bottom: 1px solid var(--line);
	text-align: left;
	vertical-align: top;
}

thead th {
	background: var(--paper-alt);
	font-family: var(--font-head);
	font-size: .875rem;
	text-transform: uppercase;
	letter-spacing: .04em;
	color: var(--ink-soft);
}

tbody tr:hover {
	background: #fafbfc;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 1000;
	background: var(--accent);
	color: #fff;
	padding: .75rem 1.25rem;
	font-weight: 700;
}

.skip-link:focus {
	left: 12px;
	top: 12px;
	color: #fff;
}

:focus-visible {
	outline: 3px solid var(--accent);
	outline-offset: 2px;
}

/* ==========================================================================
   2. Сетка и контейнеры
   ========================================================================== */

.container {
	width: 100%;
	max-width: var(--container);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.container--narrow {
	max-width: 820px;
}

.section {
	padding: 4.5rem 0;
}

.section--alt {
	background: var(--paper-alt);
}

.section--tight {
	padding: 2.75rem 0;
}

.section__head {
	max-width: 720px;
	margin-bottom: 2.5rem;
}

.section__head p {
	color: var(--muted);
	font-size: var(--step-1);
	line-height: 1.5;
	margin: 0;
}

.section__kicker {
	display: inline-block;
	font-family: var(--font-head);
	font-size: .8125rem;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--accent-dark);
	margin-bottom: .75rem;
}

.grid {
	display: grid;
	gap: 1.5rem;
}

.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.layout-with-sidebar {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 3rem;
	align-items: start;
}

/* ==========================================================================
   3. Кнопки и элементы форм
   ========================================================================== */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .5rem;
	padding: .85rem 1.6rem;
	border: 2px solid transparent;
	border-radius: var(--radius);
	font-family: var(--font-head);
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}

.btn:hover {
	transform: translateY(-1px);
}

.btn--primary {
	background: var(--accent);
	color: #fff;
}

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

.btn--ghost {
	background: transparent;
	color: var(--ink);
	border-color: var(--ink);
}

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

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

.btn--light:hover {
	background: var(--accent);
	color: #fff;
}

.btn--block {
	width: 100%;
}

.btn--sm {
	padding: .55rem 1rem;
	font-size: .9375rem;
}

.field {
	margin-bottom: 1.15rem;
}

.field label,
.field .label {
	display: block;
	font-family: var(--font-head);
	font-size: .9375rem;
	font-weight: 700;
	margin-bottom: .4rem;
}

.field .req {
	color: var(--danger);
}

.field input[type="text"],
.field input[type="tel"],
.field input[type="email"],
.field input[type="date"],
.field input[type="search"],
.field input[type="password"],
.field select,
.field textarea,
input[type="search"],
input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
	width: 100%;
	padding: .7rem .9rem;
	border: 1.5px solid var(--line);
	border-radius: var(--radius);
	background: #fff;
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 1rem;
	line-height: 1.4;
	transition: border-color .15s ease, box-shadow .15s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus,
input:focus,
select:focus,
textarea:focus {
	border-color: var(--accent);
	box-shadow: 0 0 0 3px rgba(194, 65, 12, .18);
	outline: none;
}

.field textarea {
	min-height: 130px;
	resize: vertical;
}

.field__hint {
	display: block;
	margin-top: .35rem;
	font-size: .875rem;
	color: var(--muted);
}

.field--check {
	display: flex;
	align-items: flex-start;
	gap: .6rem;
}

.field--check input {
	width: auto;
	margin-top: .3rem;
}

.field--check label {
	font-weight: 400;
	font-family: var(--font-body);
	font-size: .9375rem;
	color: var(--muted);
}

.form-row {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 1.25rem;
}

.notice {
	padding: 1rem 1.25rem;
	border-radius: var(--radius);
	border-left: 4px solid var(--ok);
	background: #eaf6ef;
	color: #14532d;
	margin-bottom: 1.5rem;
}

.notice--error {
	border-left-color: var(--danger);
	background: #fdecea;
	color: #7a1c16;
}

.notice--info {
	border-left-color: var(--accent);
	background: var(--accent-soft);
	color: #6b3200;
}

/* ==========================================================================
   4. Шапка сайта
   ========================================================================== */

.site-header {
	position: sticky;
	top: 0;
	z-index: 90;
	background: #fff;
	border-bottom: 1px solid var(--line);
}

.topbar {
	background: var(--paper-deep);
	color: #cbd5df;
	font-size: .875rem;
}

.topbar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	min-height: 40px;
}

.topbar__list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1.35rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.topbar__list li {
	margin: 0;
	display: flex;
	align-items: center;
	gap: .4rem;
}

.topbar a {
	color: #e7edf3;
	text-decoration: none;
}

.topbar a:hover {
	color: var(--accent);
}

.topbar__status {
	display: inline-flex;
	align-items: center;
	gap: .45rem;
	color: #9fb0c0;
}

.topbar__dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #3ddc84;
	box-shadow: 0 0 0 3px rgba(61, 220, 132, .22);
}

.topbar__dot--off {
	background: #ff8a80;
	box-shadow: 0 0 0 3px rgba(255, 138, 128, .22);
}

.header-main {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	min-height: 84px;
}

.brand {
	display: flex;
	align-items: center;
	gap: .8rem;
	text-decoration: none;
	color: var(--ink);
	flex-shrink: 0;
}

.brand__mark {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border-radius: 12px;
	background: var(--ink);
	color: #fff;
	font-family: var(--font-head);
	font-weight: 700;
	font-size: 1.25rem;
	letter-spacing: -.03em;
	position: relative;
	overflow: hidden;
}

.brand__mark::after {
	content: "";
	position: absolute;
	inset: auto -30% -55% auto;
	width: 46px;
	height: 46px;
	background: var(--accent);
	border-radius: 50%;
	opacity: .85;
}

.brand__mark span {
	position: relative;
	z-index: 1;
}

.brand__name {
	font-family: var(--font-head);
	font-size: 1.3rem;
	font-weight: 700;
	line-height: 1.1;
	display: block;
	letter-spacing: -.02em;
}

.brand__tagline {
	display: block;
	font-size: .78rem;
	color: var(--muted);
	letter-spacing: .06em;
	text-transform: uppercase;
}

.header-actions {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-left: auto;
}

.header-nav {
	border-top: 1px solid var(--line);
	background: #fff;
}

.header-nav .main-nav {
	display: block;
}

.header-phone {
	text-decoration: none;
	color: var(--ink);
	font-family: var(--font-head);
	font-size: 1.2rem;
	font-weight: 700;
	white-space: nowrap;
}

.header-phone small {
	display: block;
	font-family: var(--font-body);
	font-size: .78rem;
	font-weight: 400;
	color: var(--muted);
	letter-spacing: 0;
}

/* Меню */

.main-nav ul {
	display: flex;
	flex-wrap: wrap;
	gap: .15rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.main-nav li {
	position: relative;
	margin: 0;
}

.main-nav a {
	display: block;
	padding: .8rem .95rem;
	color: var(--ink-soft);
	font-family: var(--font-head);
	font-size: 1rem;
	font-weight: 600;
	text-decoration: none;
	border-radius: 8px;
	white-space: nowrap;
	transition: background-color .15s ease, color .15s ease;
}

.main-nav a:hover,
.main-nav .current-menu-item > a,
.main-nav .current_page_item > a,
.main-nav .current-menu-ancestor > a {
	background: var(--accent-soft);
	color: var(--accent-dark);
}

.main-nav .sub-menu {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	display: none;
	flex-direction: column;
	gap: 0;
	min-width: 240px;
	padding: .5rem;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow-md);
	z-index: 20;
}

.main-nav .sub-menu a {
	padding: .55rem .75rem;
	font-weight: 400;
}

.main-nav li:hover > .sub-menu,
.main-nav li:focus-within > .sub-menu {
	display: flex;
}

.nav-toggle {
	display: none;
	align-items: center;
	gap: .5rem;
	padding: .55rem .9rem;
	border: 1.5px solid var(--line);
	border-radius: var(--radius);
	background: #fff;
	font-family: var(--font-head);
	font-weight: 700;
	cursor: pointer;
}

/* ==========================================================================
   5. Главная страница
   ========================================================================== */

.hero {
	position: relative;
	background:
		linear-gradient(105deg, rgba(16, 20, 24, .94) 0%, rgba(16, 20, 24, .82) 45%, rgba(16, 20, 24, .55) 100%),
		radial-gradient(circle at 78% 28%, rgba(194, 65, 12, .55), transparent 55%),
		#1b2229;
	color: #fff;
	overflow: hidden;
}

.hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		repeating-linear-gradient(115deg, rgba(255, 255, 255, .035) 0 2px, transparent 2px 46px);
	pointer-events: none;
}

.hero__inner {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
	gap: 3.5rem;
	align-items: center;
	padding: 5rem 0 5.5rem;
}

.hero__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	padding: .4rem .9rem;
	border: 1px solid rgba(255, 255, 255, .22);
	border-radius: 100px;
	font-size: .8125rem;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: #f5d3c0;
	margin-bottom: 1.25rem;
}

.hero h1 {
	color: #fff;
	font-size: clamp(2.1rem, 3.4vw, 3.15rem);
	margin-bottom: 1rem;
	max-width: 22ch;
}

.hero h1 em {
	font-style: normal;
	color: var(--accent);
}

.hero__lead {
	font-size: 1.125rem;
	line-height: 1.6;
	color: #cfd8e1;
	max-width: 46ch;
	margin-bottom: 2rem;
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: .85rem;
	margin-bottom: 2.5rem;
}

.hero__facts {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.25rem;
	margin: 0;
	padding: 1.5rem 0 0;
	border-top: 1px solid rgba(255, 255, 255, .14);
	max-width: 520px;
}

.hero__facts dt {
	font-family: var(--font-head);
	font-size: 1.75rem;
	font-weight: 700;
	color: #fff;
	line-height: 1.1;
}

.hero__facts dd {
	margin: .25rem 0 0;
	font-size: .875rem;
	color: #a9b6c2;
	line-height: 1.35;
}

.hero-card {
	background: #fff;
	color: var(--ink);
	border-radius: var(--radius-lg);
	padding: 1.9rem;
	box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
}

.hero-card h2 {
	font-size: 1.375rem;
	margin-bottom: .35rem;
}

.hero-card > p {
	color: var(--muted);
	font-size: .9375rem;
	margin-bottom: 1.25rem;
}

.hero-card .btn {
	margin-top: .35rem;
}

/* Полоса преимуществ */

.feature-strip {
	background: var(--paper-deep);
	border-top: 1px solid rgba(255, 255, 255, .08);
	color: #cfd8e1;
}

.feature-strip__inner {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1.5rem;
	padding: 1.5rem 0;
}

.feature-strip__item {
	display: flex;
	gap: .8rem;
	align-items: flex-start;
	font-size: .9375rem;
	line-height: 1.45;
}

.feature-strip__item strong {
	display: block;
	color: #fff;
	font-family: var(--font-head);
}

.feature-strip__icon {
	flex-shrink: 0;
	width: 34px;
	height: 34px;
	border-radius: 9px;
	background: rgba(194, 65, 12, .18);
	color: var(--accent);
	display: grid;
	place-items: center;
	font-weight: 700;
	font-size: .9rem;
}

/* Карточки услуг */

.service-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	padding: 1.6rem;
	transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}

.service-card:hover {
	box-shadow: var(--shadow-md);
	transform: translateY(-3px);
	border-color: #c9d4de;
}

.service-card__num {
	font-family: var(--font-head);
	font-size: .8125rem;
	font-weight: 700;
	letter-spacing: .1em;
	color: var(--accent-dark);
	margin-bottom: .9rem;
}

.service-card h3 {
	font-size: 1.1875rem;
	margin-bottom: .5rem;
}

.service-card p {
	color: var(--muted);
	font-size: .9375rem;
	line-height: 1.55;
	margin-bottom: 1rem;
}

.service-card__price {
	margin-top: auto;
	padding-top: 1rem;
	border-top: 1px dashed var(--line);
	font-family: var(--font-head);
	font-weight: 700;
	color: var(--ink);
	font-size: 1.0625rem;
}

.service-card__price span {
	display: block;
	font-family: var(--font-body);
	font-weight: 400;
	font-size: .8125rem;
	color: var(--muted);
	letter-spacing: .02em;
}

/* Прайс-таблица */

.price-table td:last-child,
.price-table th:last-child {
	text-align: right;
	white-space: nowrap;
	font-family: var(--font-head);
	font-weight: 700;
}

.price-table td:first-child {
	font-weight: 600;
}

/* Акции */

.promo-card {
	position: relative;
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	padding: 1.75rem;
	overflow: hidden;
}

.promo-card--accent {
	background: var(--paper-deep);
	border-color: var(--paper-deep);
	color: #dbe4ec;
}

.promo-card--accent h3,
.promo-card--accent .promo-card__value {
	color: #fff;
}

.promo-card--accent p {
	color: #b6c3cf;
}

.promo-card__badge {
	align-self: flex-start;
	padding: .25rem .7rem;
	border-radius: 100px;
	background: var(--accent-soft);
	color: var(--accent-dark);
	font-family: var(--font-head);
	font-size: .75rem;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	margin-bottom: 1rem;
}

.promo-card--accent .promo-card__badge {
	background: rgba(194, 65, 12, .2);
	color: #ffc29a;
}

.promo-card__value {
	font-family: var(--font-head);
	font-size: 2.25rem;
	font-weight: 700;
	line-height: 1;
	letter-spacing: -.03em;
	margin-bottom: .5rem;
}

.promo-card h3 {
	font-size: 1.125rem;
	margin-bottom: .5rem;
}

.promo-card p {
	color: var(--muted);
	font-size: .9375rem;
	line-height: 1.55;
	margin-bottom: 1.1rem;
}

.promo-card__term {
	margin-top: auto;
	font-size: .8125rem;
	color: var(--muted);
	padding-top: .9rem;
	border-top: 1px dashed var(--line);
}

.promo-card--accent .promo-card__term {
	border-top-color: rgba(255, 255, 255, .18);
	color: #94a3b2;
}

/* Блок доверия */

.trust-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.25rem;
}

.trust-item {
	display: flex;
	gap: 1rem;
	padding: 1.4rem;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
}

.trust-item__icon {
	flex-shrink: 0;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: var(--accent-soft);
	color: var(--accent-dark);
	display: grid;
	place-items: center;
	font-family: var(--font-head);
	font-weight: 700;
}

.trust-item h3 {
	font-size: 1.0625rem;
	margin-bottom: .3rem;
}

.trust-item p {
	margin: 0;
	font-size: .9375rem;
	color: var(--muted);
	line-height: 1.55;
}

/* CTA-полоса */

.cta-band {
	background: linear-gradient(100deg, var(--accent) 0%, var(--accent-dark) 100%);
	color: #fff;
	padding: 3.5rem 0;
}

.cta-band__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
}

.cta-band h2 {
	color: #fff;
	margin: 0 0 .4rem;
	font-size: var(--step-2);
}

.cta-band p {
	margin: 0;
	color: #ffe6d5;
	max-width: 52ch;
}

.cta-band__actions {
	display: flex;
	flex-wrap: wrap;
	gap: .75rem;
}

/* Статистика */

.stats {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1.5rem;
}

.stat {
	padding: 1.5rem;
	border-left: 3px solid var(--accent);
	background: #fff;
	border-radius: 0 var(--radius) var(--radius) 0;
}

.stat__value {
	font-family: var(--font-head);
	font-size: 2.25rem;
	font-weight: 700;
	line-height: 1;
	letter-spacing: -.03em;
}

.stat__label {
	margin-top: .4rem;
	font-size: .875rem;
	color: var(--muted);
	line-height: 1.4;
}

/* Карточки записей */

.post-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	overflow: hidden;
	transition: box-shadow .2s ease, transform .2s ease;
	height: 100%;
}

.post-card:hover {
	box-shadow: var(--shadow-md);
	transform: translateY(-2px);
}

.post-card__thumb {
	aspect-ratio: 16 / 9;
	background:
		linear-gradient(135deg, rgba(194, 65, 12, .85), rgba(16, 20, 24, .92));
	position: relative;
	display: grid;
	place-items: center;
	color: rgba(255, 255, 255, .82);
	font-family: var(--font-head);
	font-size: .8125rem;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.post-card__thumb img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.post-card__body {
	padding: 1.35rem;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.post-card__cat {
	font-family: var(--font-head);
	font-size: .75rem;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--accent-dark);
	margin-bottom: .6rem;
	text-decoration: none;
}

.post-card h3 {
	font-size: 1.125rem;
	margin-bottom: .5rem;
	line-height: 1.35;
}

.post-card h3 a {
	color: var(--ink);
	text-decoration: none;
}

.post-card h3 a:hover {
	color: var(--accent-dark);
}

.post-card p {
	font-size: .9375rem;
	color: var(--muted);
	line-height: 1.55;
	margin-bottom: 1rem;
}

.post-card__meta {
	margin-top: auto;
	padding-top: .9rem;
	border-top: 1px solid var(--line);
	font-size: .8125rem;
	color: var(--muted);
	display: flex;
	justify-content: space-between;
	gap: .75rem;
}

/* ==========================================================================
   6. Внутренние страницы
   ========================================================================== */

.page-head {
	background: var(--paper-alt);
	border-bottom: 1px solid var(--line);
	padding: 2.5rem 0 2.75rem;
}

.page-head h1 {
	margin-bottom: .5rem;
	font-size: clamp(1.75rem, 2.6vw, 2.5rem);
}

.page-head p {
	margin: 0;
	color: var(--muted);
	max-width: 70ch;
	font-size: 1.0625rem;
}

.breadcrumbs {
	font-size: .8125rem;
	color: var(--muted);
	margin-bottom: 1rem;
}

.breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .4rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.breadcrumbs li {
	margin: 0;
	display: flex;
	align-items: center;
	gap: .4rem;
}

.breadcrumbs li + li::before {
	content: "/";
	color: #a9b6c2;
}

.breadcrumbs a {
	color: var(--muted);
	text-decoration: none;
}

.breadcrumbs a:hover {
	color: var(--accent-dark);
	text-decoration: underline;
}

.entry-content {
	font-size: 1.0625rem;
	line-height: 1.75;
	max-width: 74ch;
	color: var(--ink-soft);
}

.entry-content > h2 {
	margin-top: 2.2rem;
	font-size: 1.625rem;
}

.entry-content > h3 {
	margin-top: 1.8rem;
	font-size: 1.3125rem;
}

.entry-content > h2:first-child,
.entry-content > h3:first-child {
	margin-top: 0;
}

.entry-content ul,
.entry-content ol {
	padding-left: 1.5em;
}

.entry-content li {
	margin-bottom: .4rem;
}

.entry-content a {
	font-weight: 600;
}

.entry-content table {
	margin: 1.5rem 0;
	border: 1px solid var(--line);
}

.entry-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	font-size: .875rem;
	color: var(--muted);
	padding-bottom: 1.5rem;
	margin-bottom: 2rem;
	border-bottom: 1px solid var(--line);
}

.entry-meta a {
	color: var(--muted);
}

.entry-footer {
	margin-top: 2.5rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--line);
	font-size: .9375rem;
	color: var(--muted);
}

.tag-list a {
	display: inline-block;
	padding: .2rem .6rem;
	margin: 0 .3rem .35rem 0;
	background: var(--paper-alt);
	border-radius: 100px;
	font-size: .8125rem;
	text-decoration: none;
	color: var(--ink-soft);
}

.tag-list a:hover {
	background: var(--accent-soft);
	color: var(--accent-dark);
}

/* Сайдбар */

.widget {
	background: var(--paper-alt);
	border-radius: var(--radius-lg);
	padding: 1.5rem;
	margin-bottom: 1.5rem;
}

.widget__title,
.widget .widget-title {
	font-family: var(--font-head);
	font-size: 1.0625rem;
	font-weight: 700;
	margin: 0 0 1rem;
	padding-bottom: .75rem;
	border-bottom: 2px solid var(--accent);
	display: block;
}

.widget ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.widget li {
	margin: 0;
	padding: .5rem 0;
	border-bottom: 1px solid var(--line);
	font-size: .9375rem;
}

.widget li:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.widget a {
	text-decoration: none;
	color: var(--ink-soft);
}

.widget a:hover {
	color: var(--accent-dark);
	text-decoration: underline;
}

.widget--cta {
	background: var(--paper-deep);
	color: #cbd5df;
}

.widget--cta .widget__title {
	color: #fff;
	border-bottom-color: var(--accent);
}

.widget--cta p {
	font-size: .9375rem;
	line-height: 1.55;
	color: #b6c3cf;
}

.widget--cta .header-phone {
	color: #fff;
	font-size: 1.35rem;
}

/* Поиск */

.search-form {
	display: flex;
	gap: .5rem;
}

.search-form input[type="search"] {
	flex: 1;
}

.search-form .btn {
	padding-inline: 1.1rem;
}

/* Пагинация */

.pagination {
	margin-top: 2.5rem;
	display: flex;
	flex-wrap: wrap;
	gap: .4rem;
}

.pagination .page-numbers {
	display: grid;
	place-items: center;
	min-width: 42px;
	height: 42px;
	padding: 0 .6rem;
	border: 1px solid var(--line);
	border-radius: 8px;
	text-decoration: none;
	color: var(--ink-soft);
	font-family: var(--font-head);
	font-weight: 600;
}

.pagination .current {
	background: var(--ink);
	border-color: var(--ink);
	color: #fff;
}

.pagination a.page-numbers:hover {
	border-color: var(--accent);
	color: var(--accent-dark);
}

/* Категории-плитки */

.cat-tiles {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
	gap: 1rem;
}

.cat-tile {
	display: flex;
	flex-direction: column;
	gap: .35rem;
	padding: 1.25rem;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	text-decoration: none;
	color: var(--ink);
	transition: border-color .15s ease, box-shadow .15s ease;
}

.cat-tile:hover {
	border-color: var(--accent);
	box-shadow: var(--shadow-sm);
	color: var(--ink);
}

.cat-tile strong {
	font-family: var(--font-head);
	font-size: 1.0625rem;
}

.cat-tile span {
	font-size: .8125rem;
	color: var(--muted);
}

/* Табы / аккордеон FAQ */

.faq details {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 1.1rem 1.35rem;
	margin-bottom: .75rem;
}

.faq details[open] {
	border-color: #c9d4de;
	box-shadow: var(--shadow-sm);
}

.faq summary {
	font-family: var(--font-head);
	font-weight: 700;
	font-size: 1.0625rem;
	cursor: pointer;
	list-style: none;
	position: relative;
	padding-right: 2rem;
}

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

.faq summary::after {
	content: "+";
	position: absolute;
	right: 0;
	top: -.1em;
	font-size: 1.5rem;
	color: var(--accent);
	line-height: 1;
}

.faq details[open] summary::after {
	content: "−";
}

.faq details > *:last-child {
	margin-bottom: 0;
}

.faq details p {
	margin-top: .85rem;
	color: var(--muted);
	font-size: .975rem;
}

/* Страница 404 */

.error-page {
	padding: 5rem 0 6rem;
	text-align: center;
}

.error-page__code {
	font-family: var(--font-head);
	font-size: clamp(5rem, 16vw, 11rem);
	font-weight: 700;
	line-height: .9;
	letter-spacing: -.06em;
	color: var(--accent);
	margin: 0 0 .5rem;
}

.error-page h1 {
	font-size: clamp(1.5rem, 3vw, 2.25rem);
	margin-bottom: .75rem;
}

.error-page p {
	color: var(--muted);
	max-width: 56ch;
	margin: 0 auto 2rem;
	font-size: 1.0625rem;
}

.error-page .search-form {
	max-width: 460px;
	margin: 0 auto 2rem;
}

.error-page__links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: .6rem;
}

/* Карта сайта */

.sitemap-section + .sitemap-section {
	margin-top: 2.5rem;
}

.sitemap-section h2 {
	font-size: 1.5rem;
	padding-bottom: .6rem;
	border-bottom: 2px solid var(--accent);
}

.sitemap-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: .35rem 1.5rem;
}

.sitemap-list li {
	margin: 0;
	padding: .45rem 0;
	border-bottom: 1px solid var(--line);
	font-size: .975rem;
}

.sitemap-list a {
	text-decoration: none;
	color: var(--ink-soft);
}

.sitemap-list a:hover {
	color: var(--accent-dark);
	text-decoration: underline;
}

.sitemap-list .sitemap-date {
	display: block;
	font-size: .75rem;
	color: var(--muted);
}

/* Контакты */

.contact-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 2.5rem;
	align-items: start;
}

.contact-card {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	padding: 1.75rem;
}

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

.contact-list li {
	display: flex;
	gap: .9rem;
	padding: 1rem 0;
	border-bottom: 1px solid var(--line);
	font-size: 1rem;
}

.contact-list li:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.contact-list strong {
	display: block;
	font-family: var(--font-head);
	font-size: .8125rem;
	text-transform: uppercase;
	letter-spacing: .06em;
	color: var(--muted);
	margin-bottom: .15rem;
}

.contact-list a {
	color: var(--ink);
	font-weight: 600;
	text-decoration: none;
}

.contact-list a:hover {
	color: var(--accent-dark);
	text-decoration: underline;
}

.map-embed {
	border-radius: var(--radius-lg);
	overflow: hidden;
	border: 1px solid var(--line);
	background: var(--paper-alt);
	min-height: 340px;
	display: grid;
	place-items: center;
	text-align: center;
	padding: 2rem;
	color: var(--muted);
}

.map-embed__frame {
	width: 100%;
	min-height: 380px;
	border: 0;
	display: block;
}

.schedule-table td:first-child {
	font-weight: 600;
	white-space: nowrap;
}

.schedule-table tr.is-today td {
	background: var(--accent-soft);
	font-weight: 700;
}

/* ==========================================================================
   7. Подвал
   ========================================================================== */

.site-footer {
	background: var(--paper-deep);
	color: #a9b6c2;
	font-size: .9375rem;
	padding: 3.5rem 0 0;
}

.site-footer h2,
.site-footer h3 {
	color: #fff;
	font-size: 1rem;
	text-transform: uppercase;
	letter-spacing: .08em;
	margin-bottom: 1rem;
}

.site-footer a {
	color: #cfd8e1;
	text-decoration: none;
}

.site-footer a:hover {
	color: var(--accent);
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
	gap: 2.5rem;
	padding-bottom: 2.5rem;
}

.footer-grid ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.footer-grid li {
	margin-bottom: .55rem;
}

.footer-brand .brand {
	color: #fff;
	margin-bottom: 1rem;
}

.footer-brand .brand__mark {
	background: var(--accent);
}

.footer-brand .brand__mark::after {
	background: #fff;
	opacity: .18;
}

.footer-brand p {
	font-size: .9375rem;
	line-height: 1.6;
	color: #93a2b1;
	max-width: 34ch;
}

.footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, .1);
	padding: 1.25rem 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 1rem;
	font-size: .8125rem;
	color: #7d8b99;
}

.footer-bottom a {
	color: #9fb0c0;
}

/* ==========================================================================
   8. Кнопка «для слабовидящих» и режим доступности
   ========================================================================== */

.a11y-toggle {
	display: inline-flex;
	align-items: center;
	gap: .45rem;
	padding: .35rem .75rem;
	border: 1px solid rgba(255, 255, 255, .28);
	border-radius: 100px;
	background: transparent;
	color: #e7edf3;
	font-family: var(--font-body);
	font-size: .8125rem;
	cursor: pointer;
	transition: background-color .15s ease, color .15s ease;
}

.a11y-toggle:hover {
	background: rgba(255, 255, 255, .12);
	color: #fff;
}

.a11y-toggle__icon {
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: #ffd400;
	color: #000;
	display: grid;
	place-items: center;
	font-weight: 700;
	font-size: .75rem;
	line-height: 1;
}

.a11y-panel {
	position: fixed;
	top: 0;
	right: 0;
	width: 340px;
	max-width: 100%;
	height: 100vh;
	overflow-y: auto;
	background: #fff;
	color: #000;
	border-left: 1px solid #ccc;
	box-shadow: -12px 0 40px rgba(0, 0, 0, .2);
	z-index: 200;
	padding: 1.5rem;
	transform: translateX(102%);
	transition: transform .25s ease;
}

.a11y-panel.is-open {
	transform: translateX(0);
}

.a11y-panel__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1.25rem;
	padding-bottom: 1rem;
	border-bottom: 2px solid #000;
}

.a11y-panel h2 {
	font-size: 1.125rem;
	margin: 0;
	color: #000;
}

.a11y-panel__close {
	background: #000;
	color: #fff;
	border: 0;
	border-radius: 6px;
	width: 34px;
	height: 34px;
	font-size: 1.25rem;
	line-height: 1;
	cursor: pointer;
}

.a11y-group {
	margin-bottom: 1.35rem;
}

.a11y-group__label {
	display: block;
	font-weight: 700;
	font-size: .875rem;
	margin-bottom: .5rem;
}

.a11y-sizes {
	display: flex;
	gap: .4rem;
}

.a11y-sizes button {
	flex: 1;
	padding: .5rem;
	border: 1px solid #767676;
	border-radius: 6px;
	background: #fff;
	color: #000;
	font-weight: 700;
	cursor: pointer;
}

.a11y-sizes button[aria-pressed="true"] {
	background: #000;
	color: #fff;
	border-color: #000;
}

.a11y-switch {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: .55rem 0;
	font-size: .9375rem;
}

.a11y-switch input {
	width: 20px;
	height: 20px;
	accent-color: #000;
}

.a11y-reset {
	width: 100%;
	padding: .7rem;
	border: 2px solid #000;
	border-radius: 6px;
	background: #fff;
	color: #000;
	font-weight: 700;
	cursor: pointer;
}

.a11y-panel__note {
	margin: 1rem 0 0;
	font-size: .8125rem;
	line-height: 1.5;
	color: #444;
}

.a11y-backdrop {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, .45);
	z-index: 190;
	opacity: 0;
	visibility: hidden;
	transition: opacity .2s ease, visibility .2s ease;
}

.a11y-backdrop.is-open {
	opacity: 1;
	visibility: visible;
}

/* Режим для слабовидящих: чёрный фон, жёлтый текст, крупный шрифт */

html.a11y-mode body.a11y-mode {
	background: #000;
	color: #fff;
	--ink: #fff;
	--ink-soft: #fff;
	--muted: #ffe66d;
	--paper: #000;
	--paper-alt: #000;
	--paper-deep: #000;
	--line: #fff;
	--accent: #ffd400;
	--accent-dark: #ffd400;
	--accent-soft: #1a1a00;
}

html.a11y-mode body.a11y-mode * {
	background-image: none !important;
	box-shadow: none !important;
	text-shadow: none !important;
}

html.a11y-mode body.a11y-mode .site-header,
html.a11y-mode body.a11y-mode .header-nav,
html.a11y-mode body.a11y-mode .main-nav,
html.a11y-mode body.a11y-mode .topbar,
html.a11y-mode body.a11y-mode .hero,
html.a11y-mode body.a11y-mode .hero-card,
html.a11y-mode body.a11y-mode .feature-strip,
html.a11y-mode body.a11y-mode .section,
html.a11y-mode body.a11y-mode .service-card,
html.a11y-mode body.a11y-mode .promo-card,
html.a11y-mode body.a11y-mode .post-card,
html.a11y-mode body.a11y-mode .widget,
html.a11y-mode body.a11y-mode .contact-card,
html.a11y-mode body.a11y-mode .page-head,
html.a11y-mode body.a11y-mode .site-footer,
html.a11y-mode body.a11y-mode .trust-item,
html.a11y-mode body.a11y-mode .stat,
html.a11y-mode body.a11y-mode .cta-band,
html.a11y-mode body.a11y-mode .faq details,
html.a11y-mode body.a11y-mode .cat-tile,
html.a11y-mode body.a11y-mode .a11y-panel {
	background: #000 !important;
	color: #fff !important;
	border-color: #fff !important;
}

html.a11y-mode body.a11y-mode h1,
html.a11y-mode body.a11y-mode h2,
html.a11y-mode body.a11y-mode h3,
html.a11y-mode body.a11y-mode h4,
html.a11y-mode body.a11y-mode h5,
html.a11y-mode body.a11y-mode h6,
html.a11y-mode body.a11y-mode p,
html.a11y-mode body.a11y-mode li,
html.a11y-mode body.a11y-mode td,
html.a11y-mode body.a11y-mode th,
html.a11y-mode body.a11y-mode strong,
html.a11y-mode body.a11y-mode span,
html.a11y-mode body.a11y-mode div,
html.a11y-mode body.a11y-mode dt,
html.a11y-mode body.a11y-mode dd {
	color: #fff;
}

html.a11y-mode body.a11y-mode .hero__lead,
html.a11y-mode body.a11y-mode .section__head p,
html.a11y-mode body.a11y-mode .service-card p,
html.a11y-mode body.a11y-mode .promo-card p,
html.a11y-mode body.a11y-mode .post-card p,
html.a11y-mode body.a11y-mode .trust-item p,
html.a11y-mode body.a11y-mode .entry-meta,
html.a11y-mode body.a11y-mode .breadcrumbs,
html.a11y-mode body.a11y-mode .breadcrumbs a,
html.a11y-mode body.a11y-mode .footer-brand p,
html.a11y-mode body.a11y-mode .field__hint,
html.a11y-mode body.a11y-mode .page-head p {
	color: #ffe66d !important;
}

html.a11y-mode body.a11y-mode a,
html.a11y-mode body.a11y-mode a:visited {
	color: #ffd400 !important;
	text-decoration: underline !important;
}

html.a11y-mode body.a11y-mode a:hover,
html.a11y-mode body.a11y-mode a:focus {
	background: #ffd400 !important;
	color: #000 !important;
}

html.a11y-mode body.a11y-mode .btn,
html.a11y-mode body.a11y-mode .btn--primary,
html.a11y-mode body.a11y-mode .btn--ghost,
html.a11y-mode body.a11y-mode .btn--light {
	background: #000 !important;
	color: #ffd400 !important;
	border: 2px solid #ffd400 !important;
}

html.a11y-mode body.a11y-mode .btn:hover {
	background: #ffd400 !important;
	color: #000 !important;
}

html.a11y-mode body.a11y-mode img {
	filter: grayscale(100%) contrast(1.15);
}

html.a11y-mode body.a11y-mode .post-card__thumb::after,
html.a11y-mode body.a11y-mode .hero::before {
	display: none;
}

html.a11y-mode body.a11y-mode input,
html.a11y-mode body.a11y-mode select,
html.a11y-mode body.a11y-mode textarea {
	background: #000 !important;
	color: #fff !important;
	border: 2px solid #fff !important;
}

html.a11y-mode body.a11y-mode input::placeholder,
html.a11y-mode body.a11y-mode textarea::placeholder {
	color: #ccc !important;
}

html.a11y-mode body.a11y-mode thead th,
html.a11y-mode body.a11y-mode tbody tr:hover {
	background: #000 !important;
	color: #fff !important;
}

html.a11y-mode body.a11y-mode .topbar__dot {
	background: #ffd400;
	box-shadow: none;
}

html.a11y-mode body.a11y-mode .brand__mark,
html.a11y-mode body.a11y-mode .feature-strip__icon,
html.a11y-mode body.a11y-mode .trust-item__icon,
html.a11y-mode body.a11y-mode .post-card__thumb,
html.a11y-mode body.a11y-mode .a11y-toggle__icon {
	background: #000 !important;
	border: 2px solid #ffd400 !important;
	color: #ffd400 !important;
}

html.a11y-mode body.a11y-mode .brand__mark::after {
	display: none;
}

html.a11y-mode body.a11y-mode .a11y-toggle {
	border-color: #ffd400 !important;
	color: #ffd400 !important;
}

/* Панель настроек остаётся светлой: её элементы управления
   должны читаться независимо от выбранного режима сайта. */
html.a11y-mode body.a11y-mode .a11y-panel {
	background: #ffffff !important;
	color: #000000 !important;
	border-left: 2px solid #000000 !important;
}

html.a11y-mode body.a11y-mode .a11y-panel h2,
html.a11y-mode body.a11y-mode .a11y-panel span,
html.a11y-mode body.a11y-mode .a11y-panel label,
html.a11y-mode body.a11y-mode .a11y-panel p,
html.a11y-mode body.a11y-mode .a11y-panel .a11y-group__label {
	color: #000000 !important;
}

html.a11y-mode body.a11y-mode .a11y-panel__note {
	color: #333333 !important;
}

html.a11y-mode body.a11y-mode .a11y-panel__head {
	border-bottom-color: #000000 !important;
}

html.a11y-mode body.a11y-mode .a11y-sizes button,
html.a11y-mode body.a11y-mode .a11y-reset {
	background: #ffffff !important;
	color: #000000 !important;
	border: 2px solid #000000 !important;
}

html.a11y-mode body.a11y-mode .a11y-sizes button[aria-pressed="true"] {
	background: #000000 !important;
	color: #ffd400 !important;
}

html.a11y-mode body.a11y-mode .a11y-panel__close {
	background: #000000 !important;
	color: #ffffff !important;
}

html.a11y-mode body.a11y-mode .a11y-switch input {
	accent-color: #000000;
}

html.a11y-mode body.a11y-mode .main-nav a {
	color: #ffd400 !important;
	background: #000 !important;
}

html.a11y-mode body.a11y-mode .main-nav .current-menu-item > a,
html.a11y-mode body.a11y-mode .main-nav .current_page_item > a {
	background: #ffd400 !important;
	color: #000 !important;
}

html.a11y-mode body.a11y-mode .main-nav li,
html.a11y-mode body.a11y-mode .header-nav {
	border-color: #ffd400 !important;
}

html.a11y-mode body.a11y-mode .site-header {
	border-bottom: 2px solid #ffd400 !important;
}

/* Размеры шрифта в режиме доступности */

html.a11y-mode body.a11y-mode.a11y-size-1 { font-size: 1.15rem; }
html.a11y-mode body.a11y-mode.a11y-size-2 { font-size: 1.3rem; }
html.a11y-mode body.a11y-mode.a11y-size-3 { font-size: 1.5rem; }

html.a11y-mode body.a11y-mode.a11y-size-2 h1 { font-size: 2.2rem; }
html.a11y-mode body.a11y-mode.a11y-size-3 h1 { font-size: 2.5rem; }
html.a11y-mode body.a11y-mode.a11y-size-2 h2 { font-size: 1.85rem; }
html.a11y-mode body.a11y-mode.a11y-size-3 h2 { font-size: 2.1rem; }

/* Режим «без изображений» */

html.a11y-mode body.a11y-mode.a11y-no-images img,
html.a11y-mode body.a11y-mode.a11y-no-images .post-card__thumb,
html.a11y-mode body.a11y-mode.a11y-no-images .map-embed__frame {
	display: none !important;
}

html.a11y-mode body.a11y-mode.a11y-serif {
	font-family: Georgia, "Times New Roman", serif;
}

html.a11y-mode body.a11y-mode.a11y-serif h1,
html.a11y-mode body.a11y-mode.a11y-serif h2,
html.a11y-mode body.a11y-mode.a11y-serif h3,
html.a11y-mode body.a11y-mode.a11y-serif h4,
html.a11y-mode body.a11y-mode.a11y-serif .btn,
html.a11y-mode body.a11y-mode.a11y-serif .brand__name {
	font-family: Georgia, "Times New Roman", serif;
}

html.a11y-mode body.a11y-mode.a11y-spacing {
	letter-spacing: .06em;
	word-spacing: .16em;
	line-height: 2;
}

/* ==========================================================================
   9. Адаптивность
   ========================================================================== */

@media (max-width: 1080px) {
	:root {
		--step-4: 2.4rem;
		--step-3: 1.9rem;
	}

	.header-main {
		gap: 1rem;
		min-height: 72px;
	}

	.main-nav a {
		padding: .5rem .45rem;
		font-size: .875rem;
	}

	.header-phone {
		font-size: 1.05rem;
	}

	.header-phone small {
		display: none;
	}

	.hero__inner {
		grid-template-columns: 1fr;
		gap: 2.5rem;
		padding: 3.5rem 0 4rem;
	}

	.hero h1 {
		max-width: none;
	}

	.layout-with-sidebar {
		grid-template-columns: 1fr;
		gap: 2.5rem;
	}

	.footer-grid {
		grid-template-columns: 1fr 1fr;
		gap: 2rem;
	}

	.feature-strip__inner {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 860px) {
	.topbar__list li:not(:first-child) {
		display: none;
	}

	.nav-toggle {
		display: inline-flex;
		order: 3;
	}

	.header-nav {
		display: none;
	}

	.header-nav.is-open {
		display: block;
		box-shadow: var(--shadow-md);
	}

	.main-nav {
		display: block;
	}

	.main-nav .container,
	.main-nav {
		padding-block: .5rem;
	}

	.main-nav ul {
		flex-direction: column;
		gap: 0;
	}

	.main-nav li {
		border-bottom: 1px solid var(--line);
	}

	.main-nav li:last-child {
		border-bottom: 0;
	}

	.main-nav a {
		padding: .8rem .25rem;
		border-radius: 0;
	}

	.main-nav .sub-menu {
		position: static;
		display: flex;
		box-shadow: none;
		border: 0;
		padding: 0 0 .5rem 1rem;
		min-width: 0;
	}

	.header-main {
		position: relative;
		flex-wrap: wrap;
	}

	.header-actions {
		gap: .6rem;
	}

	.header-actions .btn {
		display: none;
	}

	.grid--3,
	.grid--4 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.contact-grid,
	.trust-grid {
		grid-template-columns: 1fr;
	}

	.stats {
		grid-template-columns: 1fr 1fr;
	}

	.section {
		padding: 3rem 0;
	}

	.cta-band__inner {
		flex-direction: column;
		align-items: flex-start;
	}
}

@media (max-width: 620px) {
	:root {
		--gutter: 16px;
		--step-4: 2rem;
		--step-3: 1.6rem;
		--step-2: 1.35rem;
	}

	.header-phone small {
		display: none;
	}

	.brand__tagline {
		display: none;
	}

	.grid--2,
	.grid--3,
	.grid--4,
	.form-row,
	.hero__facts,
	.stats,
	.feature-strip__inner,
	.footer-grid {
		grid-template-columns: 1fr;
	}

	.hero__facts {
		gap: 1rem;
	}

	.hero-card {
		padding: 1.4rem;
	}

	.entry-content {
		font-size: 1rem;
	}

	.table-scroll {
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}

	.search-form {
		flex-direction: column;
	}

	.a11y-panel {
		width: 100%;
	}
}

/* ==========================================================================
   10. Печать
   ========================================================================== */

@media print {
	.topbar,
	.site-header,
	.site-footer,
	.a11y-toggle,
	.a11y-panel,
	.cta-band,
	.sidebar,
	.hero__actions,
	.btn {
		display: none !important;
	}

	body {
		font-size: 12pt;
		color: #000;
	}

	a {
		color: #000;
		text-decoration: underline;
	}

	.hero,
	.page-head {
		background: none !important;
		color: #000 !important;
	}
}
