/* ==========================================================================
   A5flange — стили темы
   Цвета и шрифты задаются в theme.json (Внешний вид → Редактор → Стили),
   здесь — вид компонентов макета.
   ========================================================================== */

:root {
	--a5-accent: var(--wp--preset--color--accent);
	--a5-ink: var(--wp--preset--color--ink);
	--a5-pad: var(--wp--style--root--padding-left, clamp(16px, 5.6vw, 80px));
	--a5-display: var(--wp--preset--font-family--display);
	--a5-mono: var(--wp--preset--font-family--mono);
	--a5-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='square'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
	--a5-gear: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M10 1h4l.6 3.1 2 .8 2.6-1.8 2.8 2.8-1.8 2.6.8 2L24 10v4l-3.1.6-.8 2 1.8 2.6-2.8 2.8-2.6-1.8-2 .8L14 24h-4l-.6-3.1-2-.8-2.6 1.8-2.8-2.8 1.8-2.6-.8-2L0 14v-4l3.1-.6.8-2L2.1 4.8l2.8-2.8 2.6 1.8 2-.8zM12 8a4 4 0 1 0 0 8 4 4 0 0 0 0-8z'/%3E%3C/svg%3E");
	--a5-phone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linejoin='round'%3E%3Cpath d='M5 4h4l2 5-2.5 1.5a11 11 0 0 0 5 5L15 13l5 2v4a2 2 0 0 1-2 2A16 16 0 0 1 3 6a2 2 0 0 1 2-2z'/%3E%3C/svg%3E");
	--a5-clip: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M21 12.5l-8.5 8.5a5 5 0 0 1-7-7L14 5.5a3.3 3.3 0 0 1 4.7 4.7L10.2 18.7a1.7 1.7 0 0 1-2.4-2.4L15.5 8.5'/%3E%3C/svg%3E");

	/* Цвета «по умолчанию» — тёмный фон. */
	--a5-fg: var(--wp--preset--color--paper);
	--a5-fg-2: var(--wp--preset--color--muted);
	--a5-line: var(--wp--preset--color--line);
}

body {
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

::selection {
	background: var(--a5-accent);
	color: var(--a5-ink);
}

:where(a, button, input, textarea, select, summary):focus-visible {
	outline: 2px solid var(--a5-accent);
	outline-offset: 3px;
}

.a5-main {
	margin-block: 0;
}

.a5-main > .wp-block-post-content > :first-child,
.a5-main > :first-child {
	margin-block-start: 0;
}

/* Между секциями страницы нет зазоров — фон секций идёт встык. */
.wp-block-post-content > .alignfull,
.a5-main > .alignfull,
.a5-main > .wp-block-template-part,
.a5-site-footer,
.a5-site-footer > * {
	margin-block: 0 !important;
}

/* Утилиты ---------------------------------------------------------------- */

/* Формат «Выделение» без фона — только цвет текста. */
mark.has-inline-color {
	background-color: transparent;
}

.a5-accent,
.a5-accent-text {
	color: var(--a5-accent) !important;
}

.a5-muted {
	color: var(--wp--preset--color--muted);
}

.a5-soft {
	color: var(--wp--preset--color--soft);
}

.a5-lead {
	font-size: var(--wp--preset--font-size--l);
	line-height: 1.6;
}

.a5-num {
	margin: 0;
	font-family: var(--a5-mono);
	font-size: 13px;
	color: var(--a5-accent);
}

.a5-num--muted {
	color: var(--wp--preset--color--muted);
}

/* Цветовые темы секций --------------------------------------------------- */

.a5-dark {
	background: var(--wp--preset--color--ink);
	color: var(--wp--preset--color--paper);
}

.a5-dark-2 {
	background: var(--wp--preset--color--ink-2);
	color: var(--wp--preset--color--paper);
}

.a5-light {
	--a5-fg: var(--wp--preset--color--text-dark);
	--a5-fg-2: var(--wp--preset--color--text-dark-2);
	--a5-line: var(--wp--preset--color--paper-line);
	background: var(--wp--preset--color--paper);
	color: var(--wp--preset--color--text-dark);
}

.a5-light a:where(:not(.wp-element-button)):hover {
	color: var(--wp--preset--color--accent-dark);
}

.a5-section {
	padding-block: var(--wp--preset--spacing--60);
}

.a5-section--tight {
	padding-block: clamp(40px, 4.5vw, 64px) var(--wp--preset--spacing--60);
}

.a5-section > * + * {
	margin-block-start: clamp(40px, 4.5vw, 64px);
}

/* Стили блоков ----------------------------------------------------------- */

.is-style-a5-mono {
	font-family: var(--a5-mono);
	font-size: 14px;
	line-height: 1.6;
	color: var(--a5-fg-2);
}

.is-style-a5-kicker {
	font-family: var(--a5-mono);
	font-size: 14px;
	color: var(--a5-accent);
}

.a5-light .is-style-a5-kicker {
	color: var(--wp--preset--color--accent-dark);
}

.is-style-a5-cursor {
	font-family: var(--a5-mono);
	font-size: var(--wp--preset--font-size--l);
	color: var(--wp--preset--color--soft);
	line-height: 1.4;
}

.is-style-a5-cursor::after {
	content: "";
	display: inline-block;
	width: 0.55em;
	height: 1.1em;
	margin-left: 8px;
	vertical-align: -0.2em;
	background: var(--a5-accent);
	animation: a5-blink 1.1s steps(1) infinite;
}

@keyframes a5-blink {
	50% { opacity: 0; }
}

.is-style-a5-outline-num {
	margin: 0;
	font-family: var(--a5-display);
	font-weight: 900;
	font-size: clamp(88px, 12.5vw, 180px);
	line-height: 0.8;
	letter-spacing: -0.05em;
	color: transparent;
	-webkit-text-stroke: 2px var(--a5-accent);
	flex-shrink: 0;
}

.is-style-a5-giant {
	font-family: var(--a5-display);
	font-weight: 900;
	font-size: clamp(120px, 25vw, 360px);
	line-height: 1;
	letter-spacing: -0.06em;
	color: transparent;
	-webkit-text-stroke: 1.5px #2e3034;
}

.is-style-a5-outline,
.a5-display--outline {
	color: transparent !important;
	-webkit-text-stroke: 1.5px var(--a5-fg);
}

.a5-display--outline mark {
	-webkit-text-stroke: 0;
}

.a5-display {
	margin: 0;
	font-family: var(--a5-display);
	font-weight: 900;
	font-size: var(--wp--preset--font-size--section);
	line-height: 1;
	letter-spacing: -0.03em;
	text-transform: uppercase;
}

.a5-display + .a5-display {
	margin-block-start: 0 !important;
}

/* Разделитель с шестерёнкой */
hr.wp-block-separator.is-style-a5-gear {
	width: 100%;
	max-width: none;
	height: 16px;
	margin: 0;
	border: 0 !important;
	opacity: 1;
	background:
		linear-gradient(var(--a5-fg), var(--a5-fg)) left center / 64px 1px no-repeat,
		linear-gradient(var(--a5-line), var(--a5-line)) 94px center / calc(100% - 94px) 1px no-repeat;
	position: relative;
}

hr.wp-block-separator.is-style-a5-gear::after {
	content: "";
	position: absolute;
	left: 71px;
	top: 0;
	width: 16px;
	height: 16px;
	background: var(--a5-accent);
	-webkit-mask: var(--a5-gear) center / contain no-repeat;
	mask: var(--a5-gear) center / contain no-repeat;
}

/* Кнопки */
.wp-block-button .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	min-height: 56px;
	box-sizing: border-box;
	transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}

.wp-block-button:not(.is-style-a5-square) .wp-block-button__link::after {
	content: "";
	width: 18px;
	height: 18px;
	flex-shrink: 0;
	background: currentColor;
	-webkit-mask: var(--a5-arrow) center / contain no-repeat;
	mask: var(--a5-arrow) center / contain no-repeat;
	transition: transform 0.15s;
}

.wp-block-button .wp-block-button__link:hover::after {
	transform: translateX(3px);
}

.wp-block-button.is-style-a5-outline .wp-block-button__link {
	background: transparent;
	color: var(--a5-accent);
	border: 1.5px solid var(--a5-accent);
}

.wp-block-button.is-style-a5-outline .wp-block-button__link:hover {
	background: var(--a5-accent);
	color: var(--a5-ink);
}

.wp-block-button.is-style-a5-outline-dark .wp-block-button__link {
	background: transparent;
	color: inherit;
	border: 2px solid currentColor;
}

.wp-block-button.is-style-a5-outline-dark .wp-block-button__link:hover {
	background: var(--a5-fg);
	color: var(--wp--preset--color--ink);
	border-color: var(--a5-fg);
}

.a5-cta .wp-block-button.is-style-a5-outline-dark .wp-block-button__link:hover {
	background: var(--a5-ink);
	color: var(--a5-accent);
	border-color: var(--a5-ink);
}

.wp-block-button.is-style-a5-square .wp-block-button__link {
	width: 48px;
	min-height: 48px;
	height: 48px;
	padding: 0;
	background: transparent;
	color: var(--wp--preset--color--paper);
	border: 1px solid var(--wp--preset--color--line);
	font-size: 13px;
	letter-spacing: 0;
}

.wp-block-button.is-style-a5-square .wp-block-button__link:hover {
	border-color: var(--a5-accent);
	color: var(--a5-accent);
	background: transparent;
}

/* Таблица «Характеристики» */
.wp-block-table.is-style-a5-specs {
	margin: 0;
}

.wp-block-table.is-style-a5-specs table {
	border-collapse: collapse;
	width: 100%;
	border-top: 1px solid var(--a5-line);
}

.wp-block-table.is-style-a5-specs td,
.wp-block-table.is-style-a5-specs th {
	border: 0;
	border-bottom: 1px solid var(--a5-line);
	padding: 14px 0;
	vertical-align: baseline;
}

.wp-block-table.is-style-a5-specs td:first-child {
	font-family: var(--a5-mono);
	font-size: 14px;
	color: var(--a5-fg-2);
	padding-right: 16px;
}

.wp-block-table.is-style-a5-specs td:last-child {
	font-family: var(--a5-display);
	font-weight: 700;
	font-size: 17px;
	text-align: right;
}

/* Моно-список с тире */
.wp-block-list.is-style-a5-dash {
	list-style: none;
	margin: 0;
	padding: 0;
	font-family: var(--a5-mono);
	font-size: 14px;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.wp-block-list.is-style-a5-dash li::before {
	content: "— ";
}

/* Метки-«чипсы» */
.a5-tags {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.a5-tags li {
	padding: 10px 16px;
	border: 1.5px solid currentColor;
	font-family: var(--a5-mono);
	font-size: 14px;
	line-height: 1.2;
}

.a5-tags--dark li {
	border-color: var(--wp--preset--color--line);
	color: var(--wp--preset--color--soft);
}

.a5-tags--dark li:first-child {
	border-color: var(--a5-accent);
	color: var(--a5-accent);
}

/* ==========================================================================
   Шапка
   ========================================================================== */

.a5-site-header {
	position: relative;
	z-index: 50;
}

.a5-topbar {
	min-height: 44px;
	padding: 8px var(--a5-pad);
	box-sizing: border-box;
	border-bottom: 1px solid #26282c;
	font-family: var(--a5-mono);
	font-size: 13px;
	color: var(--wp--preset--color--muted);
	gap: 8px 32px;
}

.a5-topbar p {
	margin: 0;
}

.a5-topbar__group {
	gap: 8px 32px;
}

.a5-topbar a[href^="tel"] {
	color: var(--a5-accent);
}

.a5-topbar a[href^="mailto"] {
	color: var(--wp--preset--color--paper);
}

.a5-topbar a:hover {
	text-decoration: underline;
}

.a5-header {
	min-height: 84px;
	padding: 12px var(--a5-pad);
	box-sizing: border-box;
	border-bottom: 1px solid #26282c;
	gap: 24px;
}

.a5-logo {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--wp--preset--color--paper);
	text-decoration: none;
	flex-shrink: 0;
}

.a5-logo:hover {
	color: var(--wp--preset--color--paper);
}

.a5-logo__mark {
	display: block;
	width: auto;
	height: 46px;
	object-fit: contain;
}

.a5-logo__text {
	font-family: var(--a5-display);
	font-weight: 800;
	font-size: 28px;
	letter-spacing: -0.01em;
	line-height: 1;
}

.a5-nav .wp-block-navigation-item__content {
	padding-block: 4px;
	border-bottom: 2px solid transparent;
}

.a5-nav .wp-block-navigation-item__content:hover,
.a5-nav .current-menu-item > .wp-block-navigation-item__content {
	color: var(--a5-accent);
}

.a5-nav .current-menu-item > .wp-block-navigation-item__content {
	border-bottom-color: var(--a5-accent);
}

.a5-header__actions {
	gap: 8px;
	flex-shrink: 0;
}

.a5-header .a5-header__call {
	display: none;
	margin: 0;
}

.a5-header__cta .wp-block-button__link {
	min-height: 48px;
	padding: 12px 22px;
	font-size: 13px;
	font-weight: 700;
}

.a5-header__cta .wp-block-button__link::after {
	width: 16px;
	height: 16px;
}

/* Мобильное меню (оверлей стандартного блока «Навигация»).
   Бургер показываем до 960px (у ядра — до 600px). */
.a5-nav .wp-block-navigation__responsive-container-open {
	width: 44px;
	height: 44px;
	align-items: center;
	justify-content: center;
	background: var(--a5-accent);
	color: var(--a5-ink);
}

.a5-nav .wp-block-navigation__responsive-container.is-menu-open {
	background: var(--a5-ink) !important;
	color: var(--wp--preset--color--paper) !important;
	padding: 24px var(--a5-pad);
}

.a5-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
	padding-top: 72px;
	align-items: flex-start;
}

.a5-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
	gap: 0 !important;
	width: 100%;
	align-items: stretch !important;
	text-align: left;
}

.a5-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item {
	border-bottom: 1px solid var(--wp--preset--color--line);
}

.a5-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
	display: block;
	padding: 20px 0;
	font-size: 22px;
	letter-spacing: 0.06em;
	border: 0;
}

.a5-nav .is-menu-open .wp-block-navigation__responsive-container-close {
	top: 24px;
	right: var(--a5-pad);
	width: 44px;
	height: 44px;
	display: flex !important;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--wp--preset--color--line);
}

@media (max-width: 1180px) {
	.a5-nav .wp-block-navigation__container {
		gap: 24px !important;
	}

	.a5-header .a5-header__cta {
		display: none !important;
	}
}

@media (min-width: 961px) {
	.a5-nav .wp-block-navigation__responsive-container-open {
		display: none !important;
	}
}

@media (max-width: 960px) {
	.a5-nav .wp-block-navigation__responsive-container-open {
		display: flex !important;
	}

	.a5-nav .wp-block-navigation__responsive-container:not(.is-menu-open) {
		display: none !important;
	}

	.a5-header .a5-header__call {
		display: block !important;
	}

	.a5-header__call a {
		display: block;
		width: 44px;
		height: 44px;
		box-sizing: border-box;
		border: 1px solid var(--wp--preset--color--line);
		font-size: 0;
		position: relative;
	}

	.a5-header__call a::before {
		content: "";
		position: absolute;
		inset: 11px;
		background: var(--wp--preset--color--paper);
		-webkit-mask: var(--a5-phone) center / contain no-repeat;
		mask: var(--a5-phone) center / contain no-repeat;
	}

	.a5-header .a5-header__actions {
		order: 2;
		margin-left: auto;
	}

	.a5-header .a5-nav {
		order: 3;
		flex: 0 0 auto;
	}
}

@media (max-width: 781px) {
	.a5-site-header .a5-topbar {
		display: none !important;
	}

	.a5-header {
		min-height: 64px;
		padding-block: 10px;
		gap: 8px !important;
	}

	.a5-logo__mark {
		height: 36px;
	}

	.a5-logo__text {
		font-size: 21px;
	}
}

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

.a5-footer {
	background: var(--wp--preset--color--footer);
	border-top: 1px solid #26282c;
	padding-block: 56px 40px;
}

.a5-footer__top {
	gap: 40px;
}

.a5-footer__brand {
	gap: 12px;
	max-width: 340px;
}

.a5-footer__brand .a5-logo__mark {
	height: 38px;
}

.a5-footer__brand .a5-logo__text {
	font-size: 24px;
}

.a5-footer__brand p {
	margin: 0;
}

.a5-footer__logo {
	font-family: var(--a5-display);
	font-weight: 800;
	font-size: 24px;
	line-height: 1.2;
}

.a5-footer__about {
	font-size: 15px;
	color: var(--wp--preset--color--muted);
	line-height: 1.5;
}

.a5-footer__nav .wp-block-navigation__container {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px 64px !important;
}

.a5-footer__nav .wp-block-navigation-item__content {
	font-size: 13px;
	letter-spacing: 0.12em;
	color: var(--wp--preset--color--soft);
}

.a5-footer__nav .wp-block-navigation-item__content:hover {
	color: var(--a5-accent);
}

.a5-footer__social {
	gap: 8px;
}

.a5-footer__bottom {
	margin-top: 40px !important;
	padding-top: 24px;
	border-top: 1px solid #26282c;
	font-family: var(--a5-mono);
	font-size: 13px;
	color: #8e9197;
	gap: 12px 32px;
}

.a5-footer__bottom p {
	margin: 0;
}

/* ==========================================================================
   Заголовок секции «01. ——⚙——»
   ========================================================================== */

.a5-sechead {
	gap: 16px 40px;
	align-items: flex-end;
}

.a5-sechead__title {
	flex: 1 1 auto;
	min-width: 0;
	padding-bottom: 6px;
}

.a5-sechead__title > * {
	margin: 0;
}

.a5-sechead__title > * + * {
	margin-top: 18px !important;
}

@media (max-width: 781px) {
	.a5-sechead {
		flex-wrap: wrap !important;
	}

	.a5-sechead__title {
		flex-basis: 100%;
	}
}

/* ==========================================================================
   Главная — первый экран
   ========================================================================== */

/* Первый экран — блок «Обложка»: фото меняется кликом «Заменить». */
.wp-block-cover.a5-hero {
	min-height: clamp(640px, 60.5vw, 872px) !important;
	padding: clamp(48px, 6vw, 88px) var(--a5-pad) 0;
	align-items: stretch;
	overflow: hidden;
}

.a5-hero .wp-block-cover__background {
	background:
		linear-gradient(90deg, rgba(17, 18, 20, 0.96) 0%, rgba(17, 18, 20, 0.82) 38%, rgba(17, 18, 20, 0.3) 72%, rgba(17, 18, 20, 0.12) 100%),
		linear-gradient(0deg, rgba(17, 18, 20, 0.9) 0%, rgba(17, 18, 20, 0) 30%) !important;
	opacity: 1 !important;
}

/* Слайды первого экрана (галерея внутри обложки → фоновые слои) */
.a5-hero__slide {
	position: absolute;
	inset: 0;
	z-index: 0;
	background-size: cover;
	background-position: center;
	opacity: 0;
	transform: scale(1.06);
	transition: opacity 1.2s ease, transform 7s ease-out;
}

.a5-hero__slide.is-active {
	opacity: 1;
	transform: scale(1);
}

:where(body:not(.editor-styles-wrapper)) .a5-hero .a5-hero__slides {
	display: none !important;
}

@media (prefers-reduced-motion: reduce) {
	.a5-hero__slide {
		transition: none;
		transform: none;
	}
}

.a5-hero .wp-block-cover__inner-container {
	width: 100%;
	display: flex;
	flex-direction: column;
	color: var(--wp--preset--color--paper);
}

.a5-hero .wp-block-cover__inner-container > * {
	width: 100%;
	position: relative;
}

.a5-hero__content {
	z-index: 1;
}

.a5-hero__content > * {
	max-width: 900px;
	margin-block: 0;
}

.a5-hero__content > * + * {
	margin-top: 36px !important;
}

.a5-hero__content mark {
	color: var(--a5-accent) !important;
}

.a5-hero__title {
	font-size: clamp(30px, 8.6vw, 76px) !important;
	line-height: 0.96;
}

.a5-hero__lead {
	font-size: clamp(17px, 1.6vw, 22px);
	color: var(--wp--preset--color--paper);
}

.a5-hero__tabs {
	margin-top: auto !important;
	padding-top: 48px;
	gap: 0 !important;
	position: relative;
	z-index: 1;
}

.a5-hero__tabs::before {
	content: "";
	position: absolute;
	left: -100vw;
	right: -100vw;
	top: 48px;
	height: 100%;
	background: rgba(17, 18, 20, 0.88);
	backdrop-filter: blur(6px);
	border-top: 1px solid #2a2c30;
	z-index: -1;
}

.a5-hero__tab {
	position: relative;
	padding: 26px 48px 30px;
	border-right: 1px solid #2a2c30;
}

.a5-hero__tab:first-child {
	padding-left: 0;
}

.a5-hero__tab:last-child {
	border-right: 0;
}

.a5-hero__tab > * {
	margin: 0;
}

.a5-hero__tab > * + * {
	margin-top: 10px;
}

.a5-hero__tab .a5-num {
	color: #6e7177;
}

.a5-hero__tab p:last-child {
	font-size: 15px;
	color: var(--wp--preset--color--muted);
}

.a5-hero__tab-title {
	font-family: var(--a5-display);
	font-weight: 700;
	font-size: 17px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	line-height: 1.3;
	color: var(--wp--preset--color--soft);
}

.a5-hero__tab::before {
	content: "";
	position: absolute;
	left: 0;
	top: -1px;
	width: 0;
	height: 3px;
	background: var(--a5-accent);
	transition: width 0.3s;
}

.a5-hero__tab.is-active::before,
.a5-hero__tab:hover::before {
	width: 62%;
}

.a5-hero__tab.is-active .a5-num,
.a5-hero__tab:hover .a5-num {
	color: var(--a5-accent);
}

.a5-hero__tab.is-active .a5-hero__tab-title {
	color: var(--wp--preset--color--paper);
}

:where(body:not(.editor-styles-wrapper)) .a5-hero__tab-title a::after,
:where(body:not(.editor-styles-wrapper)) .a5-product__title a::after,
:where(body:not(.editor-styles-wrapper)) .a5-card h3 a::after,
:where(body:not(.editor-styles-wrapper)) .a5-contact-card__value a::after {
	content: "";
	position: absolute;
	inset: 0;
}

/* Вся карточка — ссылка на страницу с описанием. */
.a5-card h3 a {
	color: inherit;
}

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

@media (max-width: 781px) {
	.a5-hero__tabs {
		padding-top: 32px;
	}

	.a5-hero__tabs::before {
		top: 32px;
	}

	.a5-hero__tab {
		padding: 20px 0;
		border-right: 0;
		border-bottom: 1px solid #2a2c30;
	}
}

/* Графика «A5: графика» ---------------------------------------------------- */

.a5-decor {
	pointer-events: none;
}

.a5-decor--flange-hero {
	right: calc(var(--a5-pad) * -1 - 150px);
	top: -60px;
	width: 960px;
	height: 960px;
	z-index: 0;
}

.a5-hero > .a5-decor--flange-hero {
	right: -260px;
	left: auto;
}

.a5-decor__disc {
	position: absolute;
	inset: 0;
	border-radius: 50%;
	background: #1a1715;
}

.a5-decor__flange {
	position: absolute;
	right: 110px;
	top: 110px;
	width: 740px;
	height: 740px;
}

@media (prefers-reduced-motion: reduce) {
	.a5-decor__caret,
	.is-style-a5-cursor::after {
		animation: none;
	}
}

.a5-decor__label {
	position: absolute;
	font-family: var(--a5-mono);
	font-size: 13px;
	line-height: 1.6;
	color: var(--wp--preset--color--muted);
	white-space: nowrap;
}

.a5-decor__label--1 {
	left: -200px;
	top: 178px;
}

.a5-decor__label--2 {
	left: 634px;
	top: 450px;
	color: var(--a5-accent);
	background: var(--a5-ink);
	padding: 2px 8px;
}

.a5-decor__label--3 {
	right: 340px;
	top: 750px;
}

@media (max-width: 1280px) {
	.a5-hero > .a5-decor--flange-hero {
		right: -420px;
		opacity: 0.8;
	}

	.a5-decor__label--1 {
		display: none;
	}
}

@media (max-width: 781px) {
	.a5-hero > .a5-decor--flange-hero {
		right: -520px;
		top: -260px;
		opacity: 0.35;
	}

	.a5-decor__label {
		display: none;
	}
}

.a5-decor--flange {
	position: absolute !important;
	right: -120px;
	top: -140px;
	width: 700px;
	height: 700px;
}

.a5-decor--flange svg {
	width: 100%;
	height: 100%;
}

.a5-decor--text {
	position: absolute !important;
	right: 60px;
	top: 30px;
	font-family: var(--a5-display);
	font-weight: 900;
	font-size: clamp(140px, 25vw, 360px);
	line-height: 1;
	letter-spacing: -0.06em;
	color: transparent;
	-webkit-text-stroke: 1.5px #2e3034;
	white-space: nowrap;
}

.a5-decor--log {
	position: absolute !important;
	right: var(--a5-pad);
	top: 64px;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 6px;
	font-family: var(--a5-mono);
	font-size: 14px;
	color: #6e7177;
	text-align: right;
}

.a5-decor__caret {
	color: var(--a5-accent);
	animation: a5-blink 1.1s steps(1) infinite;
}

.a5-decor--cage {
	margin: 0;
	color: var(--wp--preset--color--text-dark);
}

.a5-decor--cage svg {
	display: block;
	width: 100%;
	height: auto;
}

.a5-decor--map {
	position: absolute !important;
	inset: 0;
	pointer-events: auto;
}

.a5-decor--map iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
	filter: grayscale(1) invert(0.92) contrast(0.9);
}

/* ==========================================================================
   Шапка внутренней страницы
   ========================================================================== */

.a5-page-hero {
	position: relative;
	overflow: hidden;
	min-height: clamp(300px, 30vw, 440px);
	padding-block: clamp(40px, 5vw, 72px) 56px;
	box-sizing: border-box;
	border-bottom: 1px solid #26282c;
}

.a5-page-hero > * {
	position: relative;
	margin-block: 0;
}

.a5-page-hero > * + * {
	margin-top: 28px !important;
}

.a5-page-hero > .a5-decor,
.a5-page-hero > .a5-page-hero__aside {
	position: absolute !important;
	margin: 0 !important;
	max-width: none;
}

.a5-page-hero h1,
.a5-page-hero .wp-block-post-title,
.a5-page-hero .wp-block-query-title {
	margin-block: 0;
	font-size: var(--wp--preset--font-size--page);
	font-weight: 900;
	line-height: 0.95;
	letter-spacing: -0.035em;
	text-transform: uppercase;
}

.a5-page-hero .wp-block-post-excerpt {
	font-family: var(--a5-mono);
	font-size: var(--wp--preset--font-size--l);
	color: var(--wp--preset--color--soft);
}

.a5-page-hero .wp-block-post-excerpt__excerpt {
	margin: 0;
}

.a5-page-hero .wp-block-post-excerpt__excerpt::after {
	content: "";
	display: inline-block;
	width: 0.55em;
	height: 1.1em;
	margin-left: 8px;
	vertical-align: -0.2em;
	background: var(--a5-accent);
}

.a5-page-hero__aside {
	right: var(--a5-pad);
	top: clamp(40px, 5vw, 64px);
}

.a5-hero-stats {
	gap: 48px;
}

.a5-hero-stat p {
	margin: 0;
}

.a5-hero-stat__num {
	font-family: var(--a5-display);
	font-weight: 900;
	font-size: 72px;
	line-height: 0.9;
	letter-spacing: -0.04em;
	color: var(--a5-accent);
}

.a5-hero-stat--outline .a5-hero-stat__num {
	color: transparent;
	-webkit-text-stroke: 1.5px var(--wp--preset--color--paper);
}

.a5-hero-stat__label {
	margin-top: 12px !important;
	font-family: var(--a5-mono);
	font-size: 14px;
	color: var(--wp--preset--color--muted);
}

.a5-hero-phone {
	font-family: var(--a5-display);
	font-weight: 900;
	font-size: clamp(56px, 7vw, 104px);
	line-height: 0.95;
	letter-spacing: -0.04em;
	text-align: right;
	color: transparent;
	-webkit-text-stroke: 1.5px #3a3c40;
}

.a5-page-hero--post .wp-block-post-title {
	font-size: clamp(32px, 4vw, 56px);
	line-height: 1.05;
}

.a5-post-meta {
	gap: 8px 24px;
	font-family: var(--a5-mono);
	font-size: 14px;
	color: var(--wp--preset--color--muted);
	text-transform: uppercase;
}

.a5-post-meta .wp-block-post-date {
	color: var(--a5-accent);
}

@media (max-width: 1024px) {
	.a5-page-hero > .a5-page-hero__aside,
	.a5-decor--log {
		display: none;
	}
}

@media (max-width: 781px) {
	.a5-page-hero > .a5-decor--flange {
		right: -360px;
		top: -260px;
		opacity: 0.6;
	}

	.a5-decor--text {
		right: -20px;
		top: auto;
		bottom: -20px;
	}
}

/* Хлебные крошки */
.a5-breadcrumbs {
	font-family: var(--a5-mono);
	font-size: 14px;
	color: var(--wp--preset--color--muted);
}

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

.a5-breadcrumbs__sep {
	color: var(--a5-accent);
	margin-inline: 4px;
}

.a5-breadcrumbs [aria-current] {
	color: var(--wp--preset--color--soft);
}

/* ==========================================================================
   Секции главной
   ========================================================================== */

/* Карточки направлений */
.a5-cards {
	gap: 2px !important;
	background: var(--wp--preset--color--paper-line);
	border: 2px solid var(--wp--preset--color--paper-line);
}

.a5-card {
	position: relative;
	background: var(--wp--preset--color--paper);
	display: flex;
	flex-direction: column;
}

.a5-card > * {
	margin: 0;
}

.a5-card__img,
.a5-card__img img {
	margin: 0;
	height: 240px;
	width: 100%;
	object-fit: cover;
	display: block;
	background: var(--wp--preset--color--graphite);
}

.a5-card__tag {
	position: absolute !important;
	left: 16px;
	top: 14px;
	padding: 2px 8px;
	background: var(--a5-ink);
	font-family: var(--a5-mono);
	font-size: 13px;
	color: var(--a5-accent);
}

.a5-card__body {
	padding: 28px 28px 32px;
}

.a5-card__body > * {
	margin: 0;
}

.a5-card__body > * + * {
	margin-top: 14px;
}

.a5-card__body h3 {
	font-size: 20px;
	line-height: 1.15;
}

.a5-card__lead {
	font-size: 16px;
	line-height: 1.5;
	color: var(--wp--preset--color--text-dark-2);
}

/* Колонки с разделителями (услуги, ценности) */
.a5-cols {
	gap: 0 !important;
	border-top: 1px solid var(--a5-line);
}

.a5-col {
	padding: 32px 32px 8px;
	border-right: 1px solid var(--a5-line);
}

.a5-col:first-child {
	padding-left: 0;
}

.a5-col:last-child {
	padding-right: 0;
	border-right: 0;
}

.a5-col > * {
	margin: 0;
}

.a5-col > * + * {
	margin-top: 14px;
}

.a5-col h3 {
	font-size: 19px;
	font-weight: 700;
	line-height: 1.2;
}

.a5-col p:not(.a5-num) {
	font-size: 16px;
	line-height: 1.5;
}

.a5-col--tall {
	min-height: 220px;
}

.a5-col--tall > * + * {
	margin-top: 20px;
}

.a5-col--tall h3 {
	font-size: 22px;
	font-weight: 800;
}

.a5-col .a5-num {
	font-size: 14px;
}

@media (max-width: 1100px) {
	.a5-col {
		padding: 28px 0 24px !important;
		border-right: 0;
		border-bottom: 1px solid var(--a5-line);
	}

	.a5-cols {
		column-gap: 32px !important;
	}

	.a5-col--tall {
		min-height: 0;
	}
}

.a5-services {
	position: relative;
	overflow: hidden;
}

.a5-services::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -180px;
	height: 360px;
	border-radius: 50%;
	background: #2a1608;
}

.a5-services > * {
	position: relative;
}

.a5-services .is-style-a5-kicker + .a5-display {
	margin-top: 24px !important;
}

/* Преимущества */
.a5-features {
	gap: 56px 48px !important;
}

.a5-feature {
	gap: 22px !important;
}

.a5-icon {
	width: 64px;
	height: 64px;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--wp--preset--color--text-dark);
	color: var(--a5-accent);
}

.a5-feature__text > * {
	margin: 0;
}

.a5-feature__text > * + * {
	margin-top: 10px;
}

.a5-feature__text h3 {
	font-size: 19px;
}

.a5-feature__text p {
	font-size: 16px;
	line-height: 1.55;
	color: var(--a5-fg-2);
}

/* Этапы работы */
.a5-steps {
	position: relative;
	gap: 40px 0 !important;
}

.a5-steps::before,
.a5-steps::after {
	content: "";
	position: absolute;
	left: 60px;
	top: 51px;
	height: 18px;
	box-sizing: border-box;
}

.a5-steps::before {
	right: 60px;
	border-top: 2px solid var(--wp--preset--color--steel);
	border-bottom: 2px solid var(--wp--preset--color--steel);
}

.a5-steps::after {
	width: 42%;
	background: var(--a5-accent);
}

.a5-step {
	position: relative;
	z-index: 1;
	padding-right: 32px;
}

.a5-step > * {
	margin: 0;
}

.a5-step > * + * {
	margin-top: 28px;
}

.a5-step__num {
	width: 120px;
	height: 120px;
	box-sizing: border-box;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--a5-display);
	font-weight: 900;
	font-size: 22px;
	background: radial-gradient(circle, transparent 25px, var(--wp--preset--color--steel) 26px 28px, transparent 29px), var(--a5-ink);
	border: 2px solid var(--wp--preset--color--steel);
}

.a5-step.is-done .a5-step__num {
	background: radial-gradient(circle, var(--a5-ink) 28px, var(--a5-accent) 29px);
	border-color: var(--a5-accent);
	color: var(--a5-accent);
}

.a5-step h3 {
	font-size: 20px;
	line-height: 1.2;
}

.a5-step__status {
	font-family: var(--a5-mono);
	font-size: 13px;
	color: var(--wp--preset--color--muted);
}

.a5-step.is-done .a5-step__status {
	color: var(--a5-accent);
}

.a5-steps__footer {
	gap: 24px 48px;
	padding-top: 36px;
	border-top: 1px solid var(--wp--preset--color--line);
	margin-top: 72px !important;
}

.a5-steps__footer p {
	margin: 0;
	max-width: 820px;
	font-size: 18px;
	line-height: 1.6;
}

@media (max-width: 1100px) {
	.a5-steps::before,
	.a5-steps::after {
		display: none;
	}
}

@media (max-width: 781px) {
	.a5-step {
		display: grid;
		grid-template-columns: 72px 1fr;
		column-gap: 20px;
		align-items: center;
		padding: 0;
	}

	.a5-step > * + * {
		margin-top: 0;
	}

	.a5-step__num {
		width: 72px;
		height: 72px;
		grid-row: span 2;
		font-size: 18px;
		background: radial-gradient(circle, transparent 15px, var(--wp--preset--color--steel) 16px 18px, transparent 19px), var(--a5-ink);
	}

	.a5-step.is-done .a5-step__num {
		background: radial-gradient(circle, var(--a5-ink) 18px, var(--a5-accent) 19px);
	}

	.a5-step h3 {
		font-size: 17px;
	}
}

/* Проекты */
.a5-projects {
	gap: 2px !important;
}

.wp-block-cover.a5-project {
	padding: 24px;
	align-items: flex-end;
}

.a5-project .wp-block-cover__image-background {
	transition: transform 0.6s;
}

.a5-project:hover .wp-block-cover__image-background {
	transform: scale(1.04);
}

.a5-project .wp-block-cover__background {
	background: linear-gradient(180deg, rgba(17, 18, 20, 0.35) 0%, rgba(17, 18, 20, 0.92) 100%) !important;
	opacity: 1 !important;
}

.a5-project .wp-block-cover__inner-container {
	width: 100%;
	position: static;
	color: var(--wp--preset--color--paper);
}

.a5-project .wp-block-cover__inner-container > * {
	margin: 0;
}

.a5-project__tag {
	position: absolute !important;
	left: 24px;
	top: 24px;
	z-index: 2;
	font-family: var(--a5-mono);
	font-size: 13px;
	color: var(--a5-accent);
}

.a5-project__cat {
	font-family: var(--a5-mono);
	font-size: 13px;
	color: var(--wp--preset--color--muted);
}

.a5-project__title {
	margin-top: 6px !important;
	font-size: 24px;
	color: var(--wp--preset--color--paper);
}

/* Акцентная полоса */
.a5-cta {
	background: var(--a5-accent);
	color: var(--a5-ink);
	padding-block: 56px;
	--a5-fg: var(--a5-ink);
}

.a5-cta a:hover {
	color: var(--a5-ink);
}

.a5-cta__inner {
	gap: 24px 48px;
}

.a5-cta__text {
	margin: 0;
	max-width: 860px;
	font-family: var(--a5-display);
	font-weight: 900;
	font-size: clamp(26px, 2.8vw, 40px);
	line-height: 1.05;
	letter-spacing: -0.02em;
	text-transform: uppercase;
}

.a5-cta .wp-block-button__link {
	min-height: 64px;
	padding-inline: 32px;
}

/* Заявка ------------------------------------------------------------------ */

.a5-request__cols {
	gap: 40px 80px !important;
}

.a5-request__cols > .wp-block-column > * {
	margin-block: 0;
}

.a5-request__cols > .wp-block-column > * + * {
	margin-top: 40px;
}

.a5-kv {
	border-top: 1px solid var(--wp--preset--color--line);
}

.a5-kv > * {
	margin-block: 0 !important;
}

.a5-kv__row {
	padding: 20px 0;
	border-bottom: 1px solid var(--wp--preset--color--line);
	align-items: baseline;
	gap: 8px 24px;
}

.a5-kv__row p {
	margin: 0;
}

.a5-kv__key {
	font-family: var(--a5-mono);
	font-size: 13px;
	color: var(--wp--preset--color--muted);
}

.a5-kv__val {
	font-family: var(--a5-display);
	font-weight: 700;
	font-size: clamp(18px, 1.6vw, 22px);
}

.a5-form-card {
	position: relative;
	padding: clamp(24px, 3vw, 44px);
	background: var(--wp--preset--color--ink-3);
	border: 1px solid #2a2c30;
}

.a5-form-card::before,
.a5-form-card::after {
	content: "";
	position: absolute;
	width: 28px;
	height: 28px;
	border: 0 solid var(--a5-accent);
}

.a5-form-card::before {
	left: -1px;
	top: -1px;
	border-left-width: 3px;
	border-top-width: 3px;
}

.a5-form-card::after {
	right: -1px;
	bottom: -1px;
	border-right-width: 3px;
	border-bottom-width: 3px;
}

.a5-form-card > * {
	margin-block: 0;
}

.a5-form-card > * + * {
	margin-top: 22px;
}

.a5-form-card__head {
	align-items: baseline;
	gap: 8px 24px;
}

.a5-form-card__head > * {
	margin: 0;
}

.a5-form-card__head h3 {
	font-size: 24px;
}

.a5-form-card__head .is-style-a5-mono {
	font-size: 13px;
}

/* Формы Contact Form 7 в разметке темы */
.a5-form {
	display: flex;
	flex-direction: column;
	gap: 22px;
}

.a5-form__row {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.a5-field {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.a5-field > span:first-child {
	font-family: var(--a5-mono);
	font-size: 13px;
	color: var(--wp--preset--color--muted);
}

.a5-form input[type="text"],
.a5-form input[type="tel"],
.a5-form input[type="email"],
.a5-form textarea {
	width: 100%;
	box-sizing: border-box;
	min-height: 54px;
	padding: 14px 16px;
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 0;
	background: var(--a5-ink);
	color: var(--wp--preset--color--paper);
	font: inherit;
	font-size: 16px;
	transition: border-color 0.15s;
}

.a5-form textarea {
	min-height: 128px;
	resize: vertical;
}

.a5-form ::placeholder {
	color: #6e7177;
}

.a5-form input:focus,
.a5-form textarea:focus {
	border-color: var(--a5-accent);
	outline: none;
}

.a5-file {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 56px;
	padding: 8px 16px;
	box-sizing: border-box;
	border: 1.5px dashed var(--wp--preset--color--steel);
	color: var(--wp--preset--color--soft);
	font-size: 15px;
	cursor: pointer;
	text-align: center;
}

.a5-file::before {
	content: "";
	width: 20px;
	height: 20px;
	flex-shrink: 0;
	background: currentColor;
	-webkit-mask: var(--a5-clip) center / contain no-repeat;
	mask: var(--a5-clip) center / contain no-repeat;
}

.a5-file:hover,
.a5-file.is-filled {
	border-color: var(--a5-accent);
	color: var(--a5-accent);
}

.a5-file .wpcf7-form-control-wrap {
	position: static;
}

.a5-file input[type="file"] {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	cursor: pointer;
}

.a5-form .a5-submit {
	width: 100%;
	min-height: 62px;
	border: 0;
	border-radius: 0;
	background: var(--a5-accent);
	color: var(--a5-ink);
	font-family: var(--a5-display);
	font-weight: 800;
	font-size: 15px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background-color 0.15s;
}

.a5-form .a5-submit:hover {
	background: var(--wp--preset--color--paper);
}

/* Защита от спама: поле-ловушка скрыто от людей, капча над кнопкой */
.a5-hp {
	position: absolute !important;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.a5-captcha {
	min-height: 102px;
	margin-bottom: 16px;
}

.a5-quiz input[name="a5_answer"] {
	max-width: 180px;
}

.a5-form__note {
	margin: 0;
	font-size: 13px;
	line-height: 1.4;
	color: #8e9197;
}

.a5-form__note a {
	text-decoration: underline;
}

.a5-topic .wpcf7-radio {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.a5-topic .wpcf7-list-item {
	margin: 0;
}

.a5-topic label {
	position: relative;
	cursor: pointer;
}

.a5-topic input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.a5-topic .wpcf7-list-item-label {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0 16px;
	box-sizing: border-box;
	border: 1px solid var(--wp--preset--color--line);
	font-family: var(--a5-mono);
	font-size: 14px;
}

.a5-topic input:checked + .wpcf7-list-item-label {
	background: var(--a5-accent);
	border-color: var(--a5-accent);
	color: var(--a5-ink);
}

.a5-topic input:focus-visible + .wpcf7-list-item-label {
	outline: 2px solid var(--a5-accent);
	outline-offset: 2px;
}

.wpcf7 form .wpcf7-not-valid-tip {
	margin-top: 6px;
	font-size: 13px;
	color: var(--a5-accent);
}

.wpcf7 form .wpcf7-response-output {
	margin: 16px 0 0;
	padding: 14px 16px;
	border: 1px solid var(--wp--preset--color--line);
	font-size: 15px;
}

.wpcf7 form.sent .wpcf7-response-output {
	border-color: #6fb37a;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output {
	border-color: var(--a5-accent);
}

@media (max-width: 600px) {
	.a5-form__row {
		grid-template-columns: 1fr;
	}
}

/* ==========================================================================
   О компании
   ========================================================================== */

.a5-intro {
	gap: 40px 32px !important;
}

.a5-intro > .wp-block-column > * {
	margin-block: 0;
}

.a5-intro > .wp-block-column:first-child > * + * {
	margin-top: 36px;
}

.a5-statement {
	font-family: var(--a5-display);
	font-weight: 800;
	font-size: clamp(26px, 2.8vw, 40px);
	line-height: 1.12;
	letter-spacing: -0.02em;
	text-transform: uppercase;
}

.a5-intro .a5-lead {
	color: #3a3d42;
}

.a5-intro__img,
.a5-intro__img img {
	margin: 0;
	width: 100%;
	height: 380px;
	object-fit: cover;
	display: block;
}

.a5-mission {
	margin-top: 2px !important;
	padding: 28px;
	background: var(--wp--preset--color--ink-2);
	color: var(--wp--preset--color--paper);
}

.a5-mission > * {
	margin: 0;
}

.a5-mission > * + * {
	margin-top: 12px;
}

.a5-mission p:last-child {
	font-size: 18px;
	line-height: 1.55;
}

.a5-mission .is-style-a5-mono {
	font-size: 13px;
}

.a5-stats {
	background: var(--wp--preset--color--ink-2);
	gap: 0 !important;
}

.a5-stat {
	padding: 64px 48px;
	border-right: 1px solid #2e3034;
}

.a5-stat:first-child {
	padding-left: var(--a5-pad);
}

.a5-stat:last-child {
	border-right: 0;
}

.a5-stat > * {
	margin: 0;
}

.a5-stat__num {
	font-family: var(--a5-display);
	font-weight: 900;
	font-size: clamp(80px, 8.4vw, 120px);
	line-height: 0.85;
	letter-spacing: -0.05em;
}

.a5-stat--accent .a5-stat__num {
	color: var(--a5-accent);
}

.a5-stat--outline .a5-stat__num {
	color: transparent;
	-webkit-text-stroke: 2px var(--wp--preset--color--paper);
}

.a5-stat__label {
	margin-top: 16px !important;
	font-family: var(--a5-mono);
	font-size: 15px;
	color: var(--wp--preset--color--muted);
}

@media (max-width: 781px) {
	.a5-stat {
		padding: 36px var(--a5-pad) !important;
		border-right: 0;
		border-bottom: 1px solid #2e3034;
	}
}

/* ==========================================================================
   Продукция
   ========================================================================== */

.a5-filterbar {
	gap: 16px 24px;
	align-items: center;
}

.a5-filterbar > * {
	margin: 0;
}

.a5-filter {
	gap: 8px;
}

.a5-filter .wp-block-button__link,
.a5-chips a {
	min-height: 44px;
	padding: 0 18px;
	display: inline-flex;
	align-items: center;
	box-sizing: border-box;
	background: transparent;
	color: var(--wp--preset--color--paper);
	border: 1px solid var(--wp--preset--color--line);
	font-family: var(--a5-mono);
	font-weight: 400;
	font-size: 14px;
	letter-spacing: 0;
	text-transform: none;
}

.a5-filter .wp-block-button__link::after {
	display: none;
}

.a5-filter .wp-block-button__link:hover,
.a5-chips a:hover {
	border-color: var(--a5-accent);
	color: var(--a5-accent);
	background: transparent;
}

.a5-filter .wp-block-button__link.is-active,
.a5-filter .wp-block-button:first-child .wp-block-button__link:not(.is-inactive),
body.blog .a5-chip-all a,
.a5-chips .current-cat a {
	background: var(--a5-accent);
	border-color: var(--a5-accent);
	color: var(--a5-ink);
}

.a5-filter .a5-count {
	margin-left: 6px;
	opacity: 0.7;
}

.a5-products {
	gap: 2px !important;
	background: #2a2c30;
	border: 2px solid #2a2c30;
}

.a5-product {
	position: relative;
	display: flex;
	flex-direction: column;
	background: var(--wp--preset--color--ink-2);
}

.a5-product[hidden] {
	display: none;
}

.a5-product > * {
	margin: 0;
}

.a5-product__img,
.a5-product__img img {
	margin: 0;
	width: 100%;
	height: 240px;
	object-fit: cover;
	display: block;
	background: var(--wp--preset--color--graphite);
}

.a5-product__img img {
	transition: transform 0.6s;
}

.a5-product:hover .a5-product__img img {
	transform: scale(1.04);
}

.a5-product__img {
	overflow: hidden;
}

.a5-product__tag {
	position: absolute !important;
	left: 20px;
	top: 18px;
	z-index: 1;
	padding: 2px 8px;
	background: var(--a5-ink);
	font-family: var(--a5-mono);
	font-size: 13px;
	color: var(--a5-accent);
}

.a5-product__body {
	flex-grow: 1;
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 28px;
}

.a5-product__body > * {
	margin: 0;
}

.a5-product__body p {
	font-size: 16px;
	line-height: 1.55;
	color: var(--wp--preset--color--soft);
}

.a5-product__title {
	font-size: 22px;
	font-weight: 900;
	line-height: 1.1;
}

.a5-product__title a:hover,
.a5-product:hover .a5-product__title a {
	color: var(--a5-accent);
}

.a5-product__body .a5-product__more {
	margin-top: auto;
	padding-top: 8px;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-family: var(--a5-display);
	font-weight: 800;
	font-size: 13px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--a5-accent);
}

.a5-product__more::after {
	content: "";
	width: 16px;
	height: 16px;
	background: currentColor;
	-webkit-mask: var(--a5-arrow) center / contain no-repeat;
	mask: var(--a5-arrow) center / contain no-repeat;
	transition: transform 0.15s;
}

.a5-product:hover .a5-product__more::after {
	transform: translateX(4px);
}

.a5-product--featured {
	grid-column: span 2;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	min-height: 560px;
}

.a5-product--featured .a5-product__img,
.a5-product--featured .a5-product__img img {
	height: 100%;
}

.a5-product--featured .a5-product__body {
	padding: 36px;
	gap: 20px;
}

.a5-product--featured .a5-product__title {
	font-size: var(--wp--preset--font-size--xxl);
}

.a5-product--featured .wp-block-table td:last-child {
	font-family: var(--a5-mono);
	font-weight: 400;
	font-size: 14px;
}

.a5-product--cta {
	justify-content: flex-end;
	min-height: 360px;
	background: var(--a5-ink);
	outline: 1.5px dashed var(--wp--preset--color--steel);
	outline-offset: -20px;
}

.a5-product--cta .a5-product__body {
	flex-grow: 0;
	padding: 40px;
}

.a5-product--cta:hover {
	outline-color: var(--a5-accent);
}

@media (max-width: 1100px) {
	.a5-product--featured {
		grid-column: 1 / -1;
	}
}

@media (max-width: 781px) {
	.a5-product--featured {
		grid-template-columns: 1fr;
		min-height: 0;
	}

	.a5-product--featured .a5-product__img,
	.a5-product--featured .a5-product__img img {
		height: 240px;
	}
}

/* Карточка продукции ----------------------------------------------------- */

.a5-product-hero {
	padding-block: clamp(40px, 5vw, 72px) var(--wp--preset--spacing--60);
	border-bottom: 1px solid #26282c;
}

.a5-product-hero__cols {
	gap: 48px 64px !important;
}

.a5-product-hero__cols .wp-block-column > * {
	margin-block: 0;
}

.a5-product-hero__cols .wp-block-column > * + * {
	margin-top: 28px;
}

.a5-product-hero h1 {
	font-size: clamp(40px, 5.6vw, 80px);
}

.a5-page-hero h1,
.a5-product-hero h1,
.a5-hero__title {
	overflow-wrap: normal;
	word-break: normal;
	hyphens: manual;
}

.a5-framed {
	position: relative;
	margin: 0;
}

.a5-framed img {
	display: block;
	width: 100%;
	height: clamp(300px, 36vw, 520px);
	object-fit: cover;
}

.a5-framed::before,
.a5-framed::after {
	content: "";
	position: absolute;
	width: 40px;
	height: 40px;
	border: 0 solid var(--a5-accent);
	z-index: 1;
}

.a5-framed::before {
	left: -12px;
	top: -12px;
	border-left-width: 3px;
	border-top-width: 3px;
}

.a5-framed::after {
	right: -12px;
	bottom: -12px;
	border-right-width: 3px;
	border-bottom-width: 3px;
}

.a5-specs-cols {
	gap: 40px 64px !important;
}

.a5-specs-cols .wp-block-column > * {
	margin-block: 0;
}

.a5-specs-cols .wp-block-column > * + * {
	margin-top: 32px;
}

.a5-scheme {
	padding: 28px;
	border: 1.5px solid var(--wp--preset--color--text-dark);
}

.a5-scheme > * {
	margin: 0;
}

.a5-scheme__head {
	margin-bottom: 16px !important;
	font-family: var(--a5-mono);
	font-size: 13px;
	color: var(--wp--preset--color--text-dark-2);
}

.a5-scheme__head p {
	margin: 0;
}

.a5-light .wp-block-table.is-style-a5-specs td:last-child {
	font-size: 20px;
}

.a5-gallery.wp-block-gallery {
	gap: 8px !important;
}

.a5-gallery.wp-block-gallery .wp-block-image img {
	height: 150px;
	object-fit: cover;
}

.a5-rowhead {
	gap: 16px 32px;
}

.a5-rowhead > * {
	margin: 0;
}

.a5-arrow-link a {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-family: var(--a5-display);
	font-weight: 800;
	font-size: 13px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--a5-accent);
}

.a5-arrow-link a::after {
	content: "";
	width: 16px;
	height: 16px;
	background: currentColor;
	-webkit-mask: var(--a5-arrow) center / contain no-repeat;
	mask: var(--a5-arrow) center / contain no-repeat;
}

.a5-arrow-link a:hover {
	color: var(--wp--preset--color--paper);
}

/* ==========================================================================
   Таблица отгрузок
   ========================================================================== */

.a5-shipments {
	--a5-grid: 80px 140px minmax(0, 1fr) minmax(0, 360px) 56px;
}

.a5-shipments__head,
.a5-shipments summary,
.a5-shipments__body {
	display: grid;
	grid-template-columns: var(--a5-grid);
	gap: 24px;
}

.a5-shipments__head {
	padding-bottom: 16px;
	border-bottom: 1px solid var(--wp--preset--color--line);
	font-family: var(--a5-mono);
	font-size: 13px;
	color: var(--wp--preset--color--muted);
}

.a5-shipments__row {
	border-bottom: 1px solid var(--wp--preset--color--line);
}

.a5-shipments summary {
	align-items: center;
	padding: 26px 0;
	cursor: pointer;
	list-style: none;
}

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

.a5-shipments__num,
.a5-shipments__date {
	font-family: var(--a5-mono);
	font-size: 14px;
	color: var(--wp--preset--color--muted);
}

.a5-shipments__row[open] .a5-shipments__num {
	color: var(--a5-accent);
}

.a5-shipments__title {
	font-family: var(--a5-display);
	font-weight: 800;
	font-size: 20px;
	line-height: 1.25;
	text-transform: uppercase;
}

.a5-shipments summary:hover .a5-shipments__title {
	color: var(--a5-accent);
}

.a5-shipments__doc {
	font-family: var(--a5-mono);
	font-size: 13px;
	line-height: 1.5;
	color: var(--wp--preset--color--muted);
	overflow-wrap: anywhere;
}

.a5-shipments__sign {
	width: 44px;
	height: 44px;
	box-sizing: border-box;
	border: 1px solid var(--wp--preset--color--line);
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--a5-mono);
	font-size: 22px;
	justify-self: end;
}

.a5-shipments__sign::before {
	content: "+";
}

.a5-shipments__row[open] .a5-shipments__sign {
	background: var(--a5-accent);
	border-color: var(--a5-accent);
	color: var(--a5-ink);
}

.a5-shipments__row[open] .a5-shipments__sign::before {
	content: "−";
}

.a5-shipments__body {
	padding-bottom: 36px;
}

.a5-shipments__main {
	grid-column: 3;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.a5-shipments__photos {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 8px;
}

.a5-shipments__photos img {
	width: 100%;
	height: 150px;
	object-fit: cover;
	display: block;
	background: var(--wp--preset--color--graphite);
}

.a5-shipments__text {
	font-size: 16px;
	line-height: 1.6;
	color: var(--wp--preset--color--soft);
}

.a5-shipments__text p {
	margin: 0;
}

.a5-shipments__more {
	font-family: var(--a5-mono);
	font-size: 14px;
	color: var(--a5-accent);
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.a5-shipments__side {
	grid-column: 4;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
}

.a5-btn {
	display: inline-flex;
	align-items: center;
	min-height: 52px;
	padding: 0 22px;
	background: var(--a5-accent);
	color: var(--a5-ink) !important;
	font-family: var(--a5-display);
	font-weight: 800;
	font-size: 13px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	transition: background-color 0.15s;
}

.a5-btn:hover {
	background: var(--wp--preset--color--paper);
}

.a5-shipments__note {
	font-family: var(--a5-mono);
	font-size: 13px;
	line-height: 1.5;
	color: var(--wp--preset--color--muted);
}

.a5-shipments__empty {
	font-family: var(--a5-mono);
	color: var(--wp--preset--color--muted);
}

/* Компактный список */
.a5-shipments__list {
	list-style: none;
	margin: 0;
	padding: 0;
	border-top: 1px solid var(--wp--preset--color--line);
}

.a5-shipments__list li {
	border-bottom: 1px solid var(--wp--preset--color--line);
}

.a5-shipments__list a {
	display: grid;
	grid-template-columns: 120px minmax(0, 1fr) 24px;
	gap: 24px;
	align-items: center;
	padding: 26px 0;
}

.a5-shipments__list .a5-shipments__date {
	color: var(--a5-accent);
}

.a5-shipments__list .a5-shipments__title {
	font-weight: 700;
	font-size: clamp(17px, 1.6vw, 22px);
	text-transform: none;
}

.a5-shipments__list a:hover .a5-shipments__title {
	color: var(--a5-accent);
}

@media (max-width: 1024px) {
	.a5-shipments {
		--a5-grid: 64px 110px minmax(0, 1fr) 44px;
	}

	.a5-shipments__head span:nth-child(4),
	.a5-shipments__doc {
		display: none;
	}

	.a5-shipments__head span:nth-child(5) {
		display: block;
	}

	.a5-shipments__main {
		grid-column: 3 / -1;
	}

	.a5-shipments__side {
		grid-column: 3 / -1;
	}
}

@media (max-width: 600px) {
	.a5-shipments {
		--a5-grid: minmax(0, 1fr) 44px;
	}

	.a5-shipments__head {
		display: none;
	}

	.a5-shipments summary {
		grid-template-areas: "meta sign" "title sign";
		row-gap: 6px;
		column-gap: 16px;
		padding: 20px 0;
	}

	.a5-shipments__num {
		display: none;
	}

	.a5-shipments__date {
		grid-area: meta;
		font-size: 13px;
	}

	.a5-shipments__title {
		grid-area: title;
		font-size: 16px;
	}

	.a5-shipments__sign {
		grid-area: sign;
	}

	.a5-shipments__main,
	.a5-shipments__side {
		grid-column: 1 / -1;
	}

	.a5-shipments__photos img {
		height: 96px;
	}

	.a5-shipments__list a {
		grid-template-columns: minmax(0, 1fr) 24px;
		gap: 6px 16px;
		padding: 20px 0;
	}

	.a5-shipments__list .a5-shipments__date {
		grid-column: 1;
	}

	.a5-shipments__list .a5-shipments__title {
		grid-column: 1;
	}

	.a5-shipments__list svg {
		grid-column: 2;
		grid-row: 1 / span 2;
	}
}

/* Постраничная навигация */
.a5-pager {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	margin-top: 40px;
}

.a5-pager__info {
	font-family: var(--a5-mono);
	font-size: 14px;
	color: var(--wp--preset--color--muted);
}

.a5-pager__links,
.a5-query-pager {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	font-family: var(--a5-mono);
	font-size: 15px;
}

.a5-pager__links > *,
.a5-query-pager .page-numbers,
.a5-query-pager .wp-block-query-pagination-previous,
.a5-query-pager .wp-block-query-pagination-next {
	min-width: 48px;
	height: 48px;
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--wp--preset--color--line);
	margin: 0 !important;
}

.a5-pager__links .a5-pager__gap,
.a5-query-pager .page-numbers.dots {
	border: 0;
	color: var(--wp--preset--color--muted);
}

.a5-pager__links a:hover,
.a5-query-pager a:hover {
	border-color: var(--a5-accent);
	color: var(--a5-accent);
}

.a5-pager__links [aria-current],
.a5-query-pager .page-numbers.current {
	background: var(--a5-accent);
	border-color: var(--a5-accent);
	color: var(--a5-ink);
}

.a5-query-pager {
	margin-top: 64px !important;
}

/* ==========================================================================
   Новости
   ========================================================================== */

.a5-news > * + * {
	margin-top: 48px !important;
}

.a5-filterbar {
	padding-bottom: 20px;
	border-bottom: 1px solid var(--wp--preset--color--line);
}

.a5-chips {
	gap: 8px;
}

.a5-chips > p,
.a5-chips > ul {
	margin: 0;
}

.a5-chips__list {
	list-style: none;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.a5-chips__list li {
	margin: 0;
}

.a5-search {
	min-width: min(320px, 100%);
}

.a5-search .wp-block-search__inside-wrapper {
	border: 1px solid var(--wp--preset--color--line);
	padding: 0;
}

.a5-search .wp-block-search__input {
	min-height: 44px;
	border: 0;
	background: transparent;
	color: var(--wp--preset--color--paper);
	font-family: var(--a5-mono);
	font-size: 14px;
	padding-inline: 14px;
}

.a5-search .wp-block-search__button {
	margin: 0;
	min-width: 44px;
	border: 0;
	border-left: 1px solid var(--wp--preset--color--line);
	background: transparent;
	color: var(--wp--preset--color--paper);
	padding: 0 12px;
}

.a5-search .wp-block-search__button:hover {
	color: var(--a5-accent);
}

.a5-news-grid {
	gap: 48px 32px !important;
}

.a5-news-card {
	height: 100%;
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.a5-news-card > * {
	margin: 0;
}

.a5-news-card__media {
	position: relative;
	background: var(--wp--preset--color--graphite);
	overflow: hidden;
}

.a5-news-card__media .wp-block-post-featured-image {
	margin: 0;
	height: 220px;
}

.a5-news-card__media .wp-block-post-featured-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s;
}

.a5-news-card:hover .wp-block-post-featured-image img {
	transform: scale(1.04);
}

.a5-noimg {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 220px;
	background:
		radial-gradient(circle at 75% 40%, transparent 58px, #3a3c40 59px 60px, transparent 61px),
		radial-gradient(circle at 75% 40%, transparent 98px, #3a3c40 99px 100px, transparent 101px),
		var(--wp--preset--color--graphite);
}

.a5-datebadge {
	position: absolute;
	left: 0;
	bottom: 0;
	padding: 12px 16px;
	background: var(--a5-ink);
	gap: 8px !important;
	align-items: baseline !important;
}

.a5-datebadge > * {
	margin: 0;
}

.a5-datebadge__day {
	font-family: var(--a5-display);
	font-weight: 900;
	font-size: 28px;
	line-height: 1;
	color: var(--a5-accent);
}

.a5-datebadge__month {
	font-family: var(--a5-mono);
	font-size: 12px;
	text-transform: uppercase;
	color: var(--wp--preset--color--muted);
}

.a5-news-card__body {
	display: flex;
	flex-direction: column;
	gap: 12px;
	flex-grow: 1;
}

.a5-news-card__body > * {
	margin: 0;
}

.a5-news-card .wp-block-post-title {
	font-size: 19px;
	font-weight: 800;
	line-height: 1.25;
	letter-spacing: 0;
}

.a5-news-card .wp-block-post-title a:hover {
	color: var(--a5-accent);
}

.a5-news-card__cat,
.a5-news-card__more {
	display: none;
}

.a5-news-card__excerpt {
	font-family: var(--a5-mono);
	font-size: 13px;
	color: var(--wp--preset--color--muted);
	line-height: 1.5;
}

.a5-news-card__excerpt p {
	margin: 0;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* Первая новость на первой странице — крупная карточка */
@media (min-width: 900px) {
	body.blog:not(.paged) .a5-news-grid > li:first-child {
		grid-column: 1 / -1;
	}

	body.blog:not(.paged) .a5-news-grid > li:first-child .a5-news-card {
		display: grid;
		grid-template-columns: 7fr 5fr;
		gap: 0;
		background: var(--wp--preset--color--ink-2);
		border: 1px solid #2a2c30;
	}

	body.blog:not(.paged) .a5-news-grid > li:first-child .a5-news-card__media .wp-block-post-featured-image {
		height: 460px;
	}

	body.blog:not(.paged) .a5-news-grid > li:first-child .a5-news-card__media::before {
		content: "Новое";
		position: absolute;
		left: 24px;
		top: 20px;
		z-index: 1;
		padding: 8px 12px;
		background: var(--a5-accent);
		color: var(--a5-ink);
		font-family: var(--a5-mono);
		font-size: 13px;
	}

	body.blog:not(.paged) .a5-news-grid > li:first-child .a5-news-card__body {
		padding: 44px;
		gap: 22px;
	}

	body.blog:not(.paged) .a5-news-grid > li:first-child .wp-block-post-title {
		font-size: 34px;
		font-weight: 900;
		line-height: 1.05;
		letter-spacing: -0.02em;
	}

	body.blog:not(.paged) .a5-news-grid > li:first-child .a5-news-card__excerpt {
		font-family: var(--wp--preset--font-family--body);
		font-size: 17px;
		line-height: 1.6;
		color: var(--wp--preset--color--soft);
	}

	body.blog:not(.paged) .a5-news-grid > li:first-child .a5-news-card__excerpt p {
		-webkit-line-clamp: 6;
	}

	body.blog:not(.paged) .a5-news-grid > li:first-child .a5-news-card__cat {
		display: block;
		font-family: var(--a5-mono);
		font-size: 14px;
		text-transform: uppercase;
		color: var(--wp--preset--color--muted);
	}

	body.blog:not(.paged) .a5-news-grid > li:first-child .a5-news-card__more {
		display: inline-flex;
		margin-top: auto;
		font-family: var(--a5-display);
		font-weight: 800;
		font-size: 13px;
		letter-spacing: 0.12em;
		text-transform: uppercase;
		color: var(--a5-accent);
	}
}

/* ==========================================================================
   Запись и обычная страница
   ========================================================================== */

.a5-prose .wp-block-post-content {
	font-size: 18px;
	line-height: 1.7;
	color: var(--wp--preset--color--soft);
}

.a5-prose .wp-block-post-content :where(h2, h3, h4) {
	color: var(--wp--preset--color--paper);
	margin-top: 1.6em;
}

.a5-prose .wp-block-post-content a:where(:not(.wp-element-button)) {
	color: var(--a5-accent);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.a5-prose .wp-block-post-content img {
	height: auto;
}

/* Описания продукции, перенесённые со старого сайта */
.a5-prose .a5-content-img {
	margin-block: 32px;
}

.a5-prose .a5-content-img img {
	display: block;
	max-width: 100%;
	background: var(--wp--preset--color--paper);
}

.a5-prose .wp-block-table.a5-table {
	overflow-x: auto;
	margin-block: 32px;
}

.a5-prose .a5-table table {
	border-collapse: collapse;
	width: 100%;
	font-size: 15px;
}

.a5-prose .a5-table td {
	border: 1px solid var(--wp--preset--color--line);
	padding: 10px 14px;
	vertical-align: top;
}

.a5-prose .a5-table tr:first-child td {
	color: var(--wp--preset--color--paper);
	background: var(--wp--preset--color--ink-3);
}

.a5-prose .wp-block-post-content .wp-block-list li {
	margin-bottom: 6px;
}

.a5-prose .wp-block-buttons {
	margin-top: 48px;
}

.a5-post-cover {
	max-width: 900px !important;
	margin-left: 0 !important;
	margin-bottom: 40px;
}

.a5-post-cover img {
	max-height: 560px;
	object-fit: cover;
}

.a5-post-cover.a5-fallback-image:has(.a5-noimg) {
	display: none;
}

.a5-post-nav {
	margin-top: 64px !important;
	padding-top: 24px;
	border-top: 1px solid var(--wp--preset--color--line);
	gap: 16px 48px;
	font-family: var(--a5-mono);
	font-size: 14px;
	color: var(--wp--preset--color--muted);
}

.a5-post-nav a {
	color: var(--wp--preset--color--paper);
}

.a5-post-nav a:hover {
	color: var(--a5-accent);
}

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

.a5-contact-cards {
	gap: 2px !important;
	background: #2a2c30;
	border: 2px solid #2a2c30;
}

.a5-contact-card {
	position: relative;
	padding: 28px;
	background: var(--wp--preset--color--ink-2);
	transition: background-color 0.15s;
}

.a5-contact-card:hover {
	background: var(--wp--preset--color--ink-3);
}

.a5-contact-card > * {
	margin: 0;
}

.a5-contact-card__label {
	font-family: var(--a5-mono);
	font-size: 13px;
	color: var(--wp--preset--color--muted);
}

.a5-contact-card__value {
	margin-top: 12px !important;
	font-family: var(--a5-display);
	font-weight: 700;
	font-size: 22px;
	line-height: 1.2;
}

.a5-contact-card:hover .a5-contact-card__value a {
	color: var(--a5-accent);
}

.a5-address > * {
	margin: 0;
}

.a5-address__text {
	margin-top: 12px !important;
	font-family: var(--a5-display);
	font-weight: 800;
	font-size: clamp(24px, 2.4vw, 32px);
	line-height: 1.15;
	text-transform: uppercase;
}

.a5-socials {
	gap: 8px;
}

.a5-socials .wp-block-button__link {
	min-height: 48px;
	padding: 0 20px;
	border-width: 1px !important;
	border-color: var(--wp--preset--color--line) !important;
	font-size: 13px;
}

.a5-socials .wp-block-button__link::after {
	display: none;
}

.a5-map {
	position: relative;
	height: clamp(420px, 36vw, 520px);
	background: #16171a;
	border-top: 1px solid #26282c;
}

.a5-map__card {
	position: absolute !important;
	left: var(--a5-pad);
	bottom: 48px;
	z-index: 1;
	padding: 28px 32px;
	background: var(--a5-ink);
	border-left: 3px solid var(--a5-accent);
	max-width: 420px;
}

.a5-map__card > * {
	margin: 0;
}

.a5-map__card > * + * {
	margin-top: 8px;
}

.a5-map__title {
	font-family: var(--a5-display);
	font-weight: 800;
	font-size: 24px;
	text-transform: uppercase;
}

.a5-map__card .a5-arrow-link {
	margin-top: 20px;
}

@media (max-width: 781px) {
	.a5-map {
		height: auto;
		display: flex;
		flex-direction: column;
	}

	.a5-map > .a5-decor--map {
		position: relative !important;
		height: 360px;
	}

	.a5-map__card {
		position: static !important;
		max-width: none;
		margin: 0 !important;
	}
}

/* ==========================================================================
   Общая адаптивность
   ========================================================================== */

@media (max-width: 781px) {
	.wp-block-columns.a5-request__cols,
	.wp-block-columns.a5-intro,
	.wp-block-columns.a5-specs-cols,
	.wp-block-columns.a5-product-hero__cols {
		flex-wrap: wrap !important;
	}

	.a5-cta .wp-block-buttons,
	.a5-cta .wp-block-button,
	.a5-steps__footer .wp-block-buttons,
	.a5-steps__footer .wp-block-button {
		width: 100%;
	}

	.a5-cta .wp-block-button__link,
	.a5-steps__footer .wp-block-button__link {
		width: 100%;
	}

	.a5-footer__nav .wp-block-navigation__container {
		gap: 14px 32px !important;
	}
}
