/* ==========================================================================
   ELTECH theme
   ========================================================================== */

:root {
	--red: #da2638;
	--red-dark: #be0012;
	--red-light: #f52a3b;
	--red-grad: linear-gradient(0.151turn, #be0012 0%, #f52a3b 45%);
	--ink: #1d1d1d;
	--text: #2a2a2a;
	--muted: #818181;
	--line: #cecece;
	--bg-soft: #f5f5f5;
	--dark-grad: linear-gradient(170deg, #1d1d1d 0%, #2a2a2a 100%);
	--radius: 12px;
	--radius-sm: 8px;
	--font: "Montserrat", Arial, sans-serif;
	--font-head: "Unbounded", "Montserrat", Arial, sans-serif;
	--container: none; /* резиновая сетка: контент тянется на всю ширину экрана */
	--gutter: clamp(16px, 3vw, 56px);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.55;
	color: var(--text);
	background: #fff;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--red); }
button, input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }

.sr-only {
	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:focus {
	position: fixed !important; top: 10px; left: 10px;
	width: auto; height: auto; clip: auto; z-index: 1000;
	padding: 10px 16px; background: #fff; border-radius: var(--radius-sm);
}

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

.icon { width: 24px; height: 24px; flex: none; }

/* Buttons: same look as the previous site (soft corners, inner glow, dark-red base line) */
.btn,
.wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 58px;
	padding: 14px 32px;
	border: 1px solid transparent;
	border-radius: 5% / 20%;
	font-family: var(--font);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 2px;
	line-height: 1.55;
	text-transform: uppercase;
	text-align: center;
	cursor: pointer;
	transition: all .3s ease-in-out;
}
.btn .icon { width: 20px; height: 20px; }
.btn--red,
.wp-block-button__link {
	color: #fff;
	background: var(--red-grad);
	box-shadow: inset 0 0 27px rgba(255, 255, 255, .6), 0 3px 0 #a70110, 0 15px 70px rgba(245, 42, 59, .25);
}
.btn--red:hover,
.wp-block-button__link:hover {
	color: #fff;
	box-shadow: inset 0 0 27px rgba(255, 255, 255, .6), 0 3px 0 #a70110, 0 15px 70px rgba(245, 42, 59, .55);
}
.btn--outline { color: var(--red); background: #fff; border-color: var(--red); }
.btn--outline:hover { color: var(--red); box-shadow: 0 15px 70px rgba(245, 42, 59, .25); }
.btn--white { color: var(--red); background: #fff; box-shadow: 0 3px 0 rgba(0, 0, 0, .12); }
.btn--white:hover { color: var(--red); box-shadow: 0 3px 0 rgba(0, 0, 0, .12), 0 15px 70px rgba(0, 0, 0, .25); }
.btn--wa { color: #fff; background: #25d366; box-shadow: inset 0 0 27px rgba(255, 255, 255, .45), 0 3px 0 #149447; }
.btn--wa:hover { color: #fff; box-shadow: inset 0 0 27px rgba(255, 255, 255, .45), 0 3px 0 #149447, 0 15px 70px rgba(37, 211, 102, .45); }
.btn--lg { min-width: 350px; min-height: 75px; }
.btn--block { width: 100%; border-radius: 12px; }

/* Header ------------------------------------------------------------------ */
.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(255, 255, 255, .96);
	backdrop-filter: blur(8px);
	border-bottom: 1px solid var(--line);
}
.admin-bar .site-header { top: 32px; }
.site-header__inner {
	display: flex;
	align-items: center;
	gap: 48px;
	min-height: 120px;
}
.burger,
.mega__close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px; height: 44px;
	margin-left: -10px;
	padding: 0;
	border: 0;
	background: none;
	color: var(--text);
	cursor: pointer;
}
.burger .icon { width: 34px; height: 34px; }
.logo img { width: 180px; height: auto; }
.header-contacts {
	display: flex;
	align-items: center;
	margin-left: auto;
}
.hc {
	display: flex;
	align-items: center;
	gap: 24px;
	color: var(--text);
}
.hc__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px; height: 42px;
	border: 1px solid var(--red);
	border-radius: 6px;
	color: var(--red);
}
.hc__icon .icon { width: 20px; height: 20px; }
.hc__text { display: flex; flex-direction: column; font-size: 16px; line-height: 1.4; }
.hc__text small { font-size: 16px; }
.hc__text strong { font-weight: 600; }
.header-contacts .hc { padding: 18px 26px; }
.header-contacts .hc--mail { border-left: 1px solid var(--line); }
.header-contacts .hc--phone { padding-right: 0; }
.header-contacts .hc--phone .hc__icon { display: none; }
.header-contacts .hc--phone .hc__text { text-align: right; }
.hc__phone { font-size: 20px; }
.header-contacts .hc--phone small { color: var(--muted); }

/* Mega menu --------------------------------------------------------------- */
.mega {
	position: fixed;
	inset: 0;
	z-index: 100;
	background: rgba(17, 17, 17, .45);
	overflow-y: auto;
}
.mega[hidden] { display: none; }
.mega__panel {
	background: #fff;
	min-height: 100%;
	padding: 24px 0 48px;
	animation: drop .25s ease;
}
@media (min-width: 960px) {
	.mega__panel { min-height: 0; border-radius: 0 0 var(--radius) var(--radius); }
}
@keyframes drop { from { transform: translateY(-12px); opacity: 0; } to { transform: none; opacity: 1; } }
.mega__top {
	display: flex;
	align-items: center;
	gap: 40px;
	padding-bottom: 20px;
	border-bottom: 1px solid var(--line);
}
.mega__service ul { display: flex; flex-wrap: wrap; gap: 8px 32px; margin: 0; padding: 0; list-style: none; }
.mega__service a { font-weight: 600; font-size: 17px; }
.mega__close { margin-left: auto; }
.mega-cats {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, max(256px, calc((100% - 64px) / 5))), 1fr)); /* at most 5 per row: 10 sections = 5 + 5 */
	gap: 16px;
	margin: 24px 0 28px;
	padding: 0;
	list-style: none;
}
.mega-cat {
	display: flex;
	flex-direction: column;
	padding: 16px 18px 18px;
	border: 1px solid rgba(0, 0, 0, .08);
	border-radius: var(--radius);
	background: #fafafa;
	transition: border-color .2s ease, background-color .2s ease;
}
.mega-cat:hover { border-color: rgba(218, 38, 56, .35); background: #fff; }
.mega-cat__head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; color: var(--ink); }
.mega-cat__head img { flex: none; width: 44px; height: 44px; border-radius: 8px; }
.mega-cat__title { flex: 1; min-width: 0; font-size: 16px; font-weight: 700; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mega-cat__brands { flex: 1; margin: 0 0 10px; padding: 0; list-style: none; }
.mega-cat__brands li { padding: 3px 0; font-size: 14px; line-height: 1.35; }
.mega-cat__brands a { color: #555; }
.mega-cat__brands a:hover, .mega-cat__head:hover .mega-cat__title { color: var(--red); }
.mega-cat__all { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--red); }
.mega-cat__all .icon { width: 13px; height: 13px; }
.mega__bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.mega__phone { font-size: 22px; font-weight: 600; margin-right: auto; }

/* Common sections --------------------------------------------------------- */
.section { padding: 90px 0; }
.section-title,
.page-title {
	margin: 0 0 40px;
	font-family: var(--font-head);
	font-weight: 600;
	font-size: clamp(21px, 0.9rem + 1.4vw, 42px);
	line-height: 1.35;
	text-transform: uppercase;
	color: var(--ink);
}
.section-title a { display: inline-flex; align-items: center; gap: 18px; }
.section-title .icon { width: 28px; height: 28px; stroke-width: 1; }
.section-title--light { color: #fff; }
.section-title--center { text-align: center; }
.section-title .accent { color: var(--red); }

/* Hero -------------------------------------------------------------------- */
.hero {
	position: relative;
	padding: 90px 0 60px;
	text-align: center;
	background: #f1f1f1 var(--hero-bg) center / cover no-repeat;
}
.hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(255, 255, 255, .75), rgba(255, 255, 255, .55));
}
.hero__inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.hero__lines {
	width: 76px; height: 20px; margin-bottom: 36px;
	background:
		linear-gradient(var(--text), var(--text)) 0 0 / 76px 2px no-repeat,
		linear-gradient(var(--text), var(--text)) 14px 9px / 48px 2px no-repeat,
		linear-gradient(var(--text), var(--text)) 26px 18px / 36px 2px no-repeat;
}
.hero__title {
	max-width: 22em;
	margin: 0 0 28px;
	font-family: var(--font-head);
	font-weight: 600;
	font-size: clamp(26px, 0.6rem + 3.4vw, 68px);
	line-height: 1.2;
	text-transform: uppercase;
	color: #000;
}
.hero__text { max-width: 46em; margin: 0 0 44px; font-size: clamp(15px, 0.8rem + 0.35vw, 21px); line-height: 1.6; color: #626262; }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 25px; }
.hero__down { margin-top: 48px; color: var(--text); }
.hero__down .icon { width: 30px; height: 30px; animation: bob 1.8s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(6px); } }

/* Catalog grid ------------------------------------------------------------ */
.cat-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
	gap: clamp(15px, 1.6vw, 28px);
}
.cat-card {
	position: relative;
	display: flex;
	flex-direction: column;
	min-height: 260px;
	padding: 20px;
	border-radius: var(--radius);
	color: #fff;
	background:
		radial-gradient(120% 60% at 0% 100%, rgba(255, 255, 255, .05), transparent 60%),
		var(--dark-grad);
	overflow: hidden;
}
.cat-card__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 12px; }
.cat-card__title { margin: 0; font-size: clamp(19px, 0.9rem + 0.5vw, 26px); font-weight: 600; line-height: 1.3; }
.cat-card__title a { color: #fff; }
.cat-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.cat-card__num { font-family: var(--font-head); font-size: 15px; }
.cat-card__brands { flex: 1; margin: 0 0 16px; padding: 0 150px 0 0; list-style: none; font-size: 14px; line-height: 1.7; }
.cat-card__brands a { position: relative; z-index: 2; color: #fff; }
.cat-card__brands a:hover { color: var(--red-light); }
.cat-card__more { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--muted); }
.cat-card__more .icon { width: 14px; height: 14px; }
.cat-card__img {
	position: absolute;
	right: 15px; bottom: 15px;
	width: 143px; height: 143px;
	border-radius: 10px;
	transition: transform .3s ease;
}
.cat-card:hover .cat-card__img { transform: scale(1.04) rotate(-2deg); }

/* Why us ------------------------------------------------------------------ */
.why {
	position: relative;
	padding: 60px 0 85px;
	background: radial-gradient(70% 90% at 100% 0, rgba(255, 255, 255, .15), transparent 60%), var(--red);
	overflow: hidden;
}
.why__grid { display: grid; grid-template-columns: 3fr 2fr; gap: 25px; }
.why__grid .why-card:nth-child(3) { grid-column: 1; }
.why__grid .why-card:nth-child(n+3) { grid-row: 2; }
.why__grid { grid-template-columns: repeat(10, 1fr); }
.why__grid .why-card:nth-child(1) { grid-column: 1 / 7; }
.why__grid .why-card:nth-child(2) { grid-column: 7 / 11; }
.why__grid .why-card:nth-child(3) { grid-column: 1 / 5; }
.why__grid .why-card:nth-child(4) { grid-column: 5 / 11; }
.why-card {
	position: relative;
	min-height: 250px;
	padding: 34px 40px;
	border-radius: var(--radius);
	overflow: hidden;
}
.why-card h3 { margin: 0 0 14px; font-size: 22px; font-weight: 600; }
.why-card p { position: relative; z-index: 1; max-width: 360px; margin: 0; font-size: 16px; line-height: 1.5; }
.why-card--light { background: #fff; color: var(--text); }
.why-card--light p { color: var(--muted); }
.why-card--light strong { color: var(--text); }
.why-card--dark { color: #fff; background: radial-gradient(90% 60% at 100% 100%, rgba(255, 255, 255, .06), transparent 70%), var(--dark-grad); }
.why-card--dark p { color: #9a9a9a; }
.why-card--dark strong { color: #fff; }
.why-card__num { position: absolute; left: 40px; bottom: 30px; font-family: var(--font-head); font-size: 14px; }
.why-card__img { position: absolute; right: 0; bottom: 0; pointer-events: none; }
.why-card__img--container { width: 360px; }
.why-card__img--plane { width: 420px; right: -30px; }

/* Brands marquee -------------------------------------------------------- */
.brands { overflow: hidden; }
.brands__rows { display: grid; gap: 24px; }
.brands__row {
	overflow: hidden;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.brands__track {
	display: flex;
	gap: 24px;
	width: max-content;
	padding: 8px 0 12px;
	animation: brands-scroll 75s linear infinite;
}
.brands__row--reverse .brands__track { animation-name: brands-scroll-reverse; }
.brands__row:hover .brands__track { animation-play-state: paused; }
.brands__item {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 200px;
	height: 104px;
	padding: 18px 24px;
	border: 1px solid rgba(0, 0, 0, .1);
	border-radius: 8px;
	background: #fff;
	transition: border-color .3s ease;
}
.brands__item:hover { border-color: rgba(0, 0, 0, .22); }
.brands__item img { width: auto; height: auto; max-width: 100%; max-height: 56px; object-fit: contain; }
@keyframes brands-scroll { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 12px)); } }
@keyframes brands-scroll-reverse { from { transform: translateX(calc(-50% - 12px)); } to { transform: translateX(0); } }

/* Contact block + form ---------------------------------------------------- */
.contact-block { padding-top: 40px; }
.contact-block__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(380px, 40%); gap: clamp(30px, 4vw, 80px); align-items: start; }
.contact-block .section-title .accent { display: block; }
.checklist { margin: 0 0 56px; padding: 0; list-style: none; }
.checklist li { display: flex; gap: 22px; align-items: center; margin-bottom: 16px; font-size: 19px; }
.checklist .icon { color: var(--red); width: 22px; height: 22px; }
.contact-block__label { margin: 0 0 22px; font-family: var(--font-head); font-weight: 600; font-size: 17px; }
.contact-block__links { display: flex; flex-wrap: wrap; gap: 24px 60px; }
.card-dashed { padding: 34px; border: 1px dashed #2a2a2a; border-radius: var(--radius); background: #fff; }
.form-title { margin: 0 0 4px; font-family: var(--font-head); font-weight: 600; font-size: 20px; }
.form-sub { margin: 0 0 22px; color: var(--muted); }
.lead-form { display: grid; gap: 14px; }
.lead-form input[type="text"],
.lead-form input[type="tel"],
.lead-form textarea {
	width: 100%;
	padding: 18px 20px;
	border: 1px solid #d9d9d9;
	border-radius: var(--radius-sm);
	background: #fff;
	font-size: 15px;
	transition: border-color .15s ease;
}
.lead-form textarea { resize: vertical; min-height: 90px; }
.lead-form input:focus,
.lead-form textarea:focus { outline: none; border-color: var(--red); }
.lead-form .is-invalid { border-color: var(--red) !important; background: #fff5f6 !important; }
.lead-form__hp { position: absolute; left: -9999px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; line-height: 1.4; cursor: pointer; }
.consent input { flex: none; width: 20px; height: 20px; margin: 0; accent-color: var(--red); }
.consent a { color: var(--red); }
.consent.is-invalid { color: var(--red); }
.lead-form__status { margin: 0; font-size: 14px; }
.lead-form__status.is-ok { color: #1a7f37; font-weight: 600; }
.lead-form__status.is-error { color: var(--red); }
.lead-form.is-sending button { opacity: .6; pointer-events: none; }

/* Map + office card ------------------------------------------------------- */
.map-block { padding-top: 0; }
.map-block__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 26%); gap: clamp(16px, 2vw, 32px); }
.map-block__map { min-height: 400px; border-radius: var(--radius); overflow: hidden; background: var(--bg-soft); }
.map-block__map iframe { display: block; width: 100%; height: 100%; min-height: clamp(320px, 30vw, 520px); border: 0; }
.office-card { border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: 0 35px 50px rgba(0, 0, 0, .1); }
.office-card img { width: 100%; height: 140px; object-fit: cover; }
.office-card__body { padding: 22px 25px 25px; }
.office-card__body p { margin: 0 0 14px; font-size: 14px; }
.office-card__body small { display: block; color: var(--muted); font-size: 14px; }
.office-card__body strong { font-family: var(--font-head); font-weight: 600; font-size: 14px; }
.office-card .btn { padding: 14px 16px; letter-spacing: 1px; font-size: 13px; }

/* Inner pages ------------------------------------------------------------- */
.page-main { padding: 26px 0 90px; }
.page-main:has(.cta) { padding-bottom: 0; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 4px 10px; margin: 0 0 30px; padding: 0; list-style: none; font-size: 13px; color: var(--muted); }
.breadcrumbs li + li::before { content: "/"; margin-right: 10px; color: var(--line); }
.breadcrumbs a:hover { color: var(--red); }
.page-head { display: grid; gap: 20px; margin-bottom: 40px; }
.page-head--lead { grid-template-columns: minmax(0, 1fr) minmax(0, 40%); align-items: start; gap: 40px; }
.page-head .page-title { margin: 0; font-size: clamp(22px, 0.9rem + 1.3vw, 38px); }
.page-lead { margin: 6px 0 0; font-size: 13px; line-height: 1.65; color: var(--muted); text-align: right; }

.entry-content { font-size: 15px; line-height: 1.7; }
.entry-content > * { margin-top: 0; margin-bottom: 20px; }
.entry-content h2 { margin: 44px 0 20px; font-family: var(--font-head); font-weight: 600; font-size: clamp(18px, 0.85rem + 0.6vw, 26px); line-height: 1.35; color: var(--ink); }
.entry-content h3 { margin: 28px 0 12px; font-size: 17px; font-weight: 700; line-height: 1.4; color: var(--ink); }
.entry-content > h2:first-child,
.entry-content > h3:first-child { margin-top: 0; }
.entry-content ul { padding-left: 20px; }
.entry-content li { margin-bottom: 4px; }
.entry-content li::marker { color: var(--red); }
.entry-content a:not(.wp-block-button__link) { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.entry-content strong { color: var(--ink); }
.entry-content .wp-block-image { margin: 0 0 20px; }
.entry-content .wp-block-image img { border-radius: var(--radius); }
.entry-content .wp-block-buttons { margin-top: 30px; }

/* group blocks in classic themes get an inner wrapper; let the grid see the real children */
.entry-content .wp-block-group__inner-container { display: contents; }

/* product / series cards */
.eltech-cards {
	display: grid;
	grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr));
	gap: 30px;
	margin: 0 0 40px;
}
.eltech-cards--2 { --cols: 2; }
.eltech-cards--3 { --cols: 3; }
.eltech-cards--4 { --cols: 4; }
.eltech-card { display: flex; flex-direction: column; }
.eltech-card > * { margin-top: 0; margin-bottom: 10px; }
.entry-content .eltech-card .wp-block-image { margin-bottom: 16px; }
.entry-content .eltech-card .wp-block-image img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: contain;
}
.entry-content .eltech-card h3 { margin: 0 0 8px; font-size: 15px; }
.entry-content .eltech-card p,
.entry-content .eltech-card li { font-size: 14px; }
.entry-content .eltech-card a { color: var(--text); text-decoration: none; }
.entry-content .eltech-card a:hover { color: var(--red); }
.entry-content .eltech-cards--2 .eltech-card .wp-block-image img { aspect-ratio: 410 / 272; }

/* image + description rows */
.eltech-media {
	display: grid;
	grid-template-columns: 250px minmax(0, 1fr);
	gap: 30px;
	margin: 0 0 40px;
	padding-bottom: 40px;
	border-bottom: 1px solid #eee;
}
.eltech-media:last-child { border-bottom: 0; }
.entry-content .eltech-media .wp-block-image img { width: 100%; height: auto; }
.eltech-media__body > *:first-child { margin-top: 0; }
.eltech-media__body > * { margin-bottom: 12px; }
.entry-content .eltech-media__body h3 { font-size: 16px; }

/* brand logos */
.eltech-logos {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 40px;
	margin: 0 0 40px;
}
.entry-content .eltech-logos .wp-block-image { margin: 0; }
.entry-content .eltech-logos .wp-block-image img {
	width: 100%;
	aspect-ratio: 260 / 113;
	object-fit: contain;
	border-radius: var(--radius-sm);
	transition: transform .2s ease, box-shadow .2s ease;
}
.entry-content .eltech-logos a:hover img { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(0, 0, 0, .08); }

.eltech-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.entry-content .eltech-gallery .wp-block-image { margin: 0; }
.entry-content .eltech-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 15px; }

.eltech-brand-list ul,
.brand-chips ul {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	padding: 0;
	list-style: none;
}
.eltech-brand-list li,
.brand-chips li > * {
	display: inline-block;
	margin: 0;
	padding: 10px 18px;
	border: 1px dashed var(--text);
	border-radius: var(--radius-sm);
	font-weight: 600;
	font-size: 14px;
	color: var(--ink);
	text-decoration: none !important;
}
.brand-chips { margin: 20px 0 40px; }
.brand-chips h2 { margin: 0 0 20px; font-family: var(--font-head); font-size: 22px; font-weight: 600; }
.brand-chips a:hover { border-color: var(--red); color: var(--red); }

/* tables */
.entry-content .wp-block-table { margin: 0 0 40px; overflow-x: auto; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: 14px; }
.entry-content .wp-block-table th,
.entry-content .wp-block-table td { border: 0; }
.entry-content th { padding: 14px; text-align: left; font-weight: 700; border-bottom: 2px solid var(--ink); }
.entry-content td { padding: 12px 14px; border-bottom: 1px solid #eee; vertical-align: top; }
.entry-content tbody tr:nth-child(even) { background: var(--bg-soft); }
.entry-content td:last-child { white-space: nowrap; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 13px; }
.entry-content .has-fixed-layout { table-layout: auto; }

.subpages { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0; }
.subpages a { display: inline-flex; align-items: center; gap: 8px; padding: 14px 20px; border: 1px solid var(--line); border-radius: var(--radius-sm); font-weight: 600; }
.subpages a:hover { border-color: var(--red); }
.subpages .icon { width: 14px; height: 14px; }

/* request form on brand pages */
.request-card { max-width: 640px; margin: 10px 0 20px; }

/* CTA band */
.cta { margin-top: 60px; padding: 60px 0; background: radial-gradient(60% 120% at 100% 0, rgba(255, 255, 255, .16), transparent 60%), var(--red); color: #fff; }
.cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta h2 { margin: 0 0 10px; font-family: var(--font-head); font-weight: 600; font-size: clamp(20px, 0.9rem + 0.9vw, 32px); line-height: 1.3; }
.cta p { margin: 0; max-width: 640px; color: rgba(255, 255, 255, .85); }
.cta__actions { display: flex; flex-direction: column; align-items: center; gap: 12px; flex: none; }
.cta__actions .btn--lg { min-width: 300px; }
.cta__phone { font-size: 20px; font-weight: 600; color: #fff; }
.cta__phone:hover { color: #fff; text-decoration: underline; }

/* Footer ------------------------------------------------------------------ */
.site-footer { color: #fff; background: var(--ink); }
.site-footer__top { display: flex; align-items: center; gap: 40px; padding-top: 48px; padding-bottom: 48px; }
.site-footer .logo img { width: 190px; }
.footer-nav { flex: 1; }
.footer-nav ul { display: flex; flex-wrap: wrap; justify-content: space-around; gap: 12px 30px; margin: 0; padding: 0; list-style: none; }
.footer-nav a { font-size: 17px; color: #aaa; }
.footer-nav a:hover { color: #fff; }
.site-footer__top .btn { min-width: 300px; }
.site-footer__bottom {
	display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 40px;
	padding-top: 28px; padding-bottom: 32px;
	border-top: 1px solid #3a3a3a;
	font-size: 14px; color: #8b8b8b;
}
.site-footer__bottom::before { content: ""; position: absolute; }
.site-footer__legal,
.site-footer__links { display: flex; flex-wrap: wrap; gap: 6px 24px; }
.site-footer__links a { color: #aaa; text-decoration: underline; text-underline-offset: 3px; }
.site-footer__links a:hover { color: #fff; }

/* Modal / toast / floating WhatsApp -------------------------------------- */
.modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal__overlay { position: absolute; inset: 0; background: rgba(17, 17, 17, .6); }
.modal__box {
	position: relative;
	width: 100%; max-width: 520px; max-height: calc(100vh - 40px);
	overflow-y: auto;
	padding: 40px 36px 32px;
	border-radius: var(--radius);
	background: #fff;
	animation: drop .2s ease;
}
.modal__close { position: absolute; top: 12px; right: 12px; display: inline-flex; padding: 8px; border: 0; background: none; cursor: pointer; color: var(--muted); }
.modal__close:hover { color: var(--red); }
.modal__title { margin: 0 0 8px; font-family: var(--font-head); font-weight: 600; font-size: 22px; line-height: 1.3; }
.modal__text { margin: 0 0 22px; color: var(--muted); font-size: 15px; }
body.has-modal { overflow: hidden; }

.wa-float {
	position: fixed; right: 20px; bottom: 20px; z-index: 90;
	display: inline-flex; align-items: center; justify-content: center;
	width: 58px; height: 58px;
	border-radius: 50%;
	color: #fff; background: #25d366;
	box-shadow: 0 10px 24px rgba(0, 0, 0, .2);
}
.wa-float:hover { color: #fff; transform: scale(1.05); }
.wa-float .icon { width: 30px; height: 30px; }

.toast { position: fixed; left: 50%; bottom: 24px; z-index: 300; transform: translateX(-50%); padding: 14px 22px; border-radius: var(--radius-sm); color: #fff; background: #1a7f37; box-shadow: 0 10px 30px rgba(0, 0, 0, .2); }
.toast--error { background: var(--red); }

.cookie-bar {
	position: fixed; left: 20px; right: 96px; bottom: 20px; z-index: 95;
	display: flex; align-items: center; gap: 20px;
	max-width: 760px;
	padding: 14px 18px;
	border-radius: var(--radius-sm);
	font-size: 13px; line-height: 1.5;
	color: #ddd; background: rgba(29, 29, 29, .96);
}
.cookie-bar[hidden] { display: none; }
.cookie-bar a { color: #fff; text-decoration: underline; }
.cookie-bar button { flex: none; padding: 10px 18px; border: 0; border-radius: 6px; color: #fff; background: var(--red); font-weight: 600; cursor: pointer; }

/* Responsive -------------------------------------------------------------- */
@media (max-width: 1199px) {
	.site-header__inner { gap: 28px; }
	.header-contacts .hc { padding: 14px 16px; gap: 14px; }
	.hc__text, .hc__text small { font-size: 14px; }
	.cat-card__brands { padding-right: 120px; }
	.cat-card__img { width: 120px; height: 120px; }
	.why-card__img--container { width: 280px; }
	.why-card__img--plane { width: 330px; }
}

@media (max-width: 959px) {
	.site-header__inner { min-height: 84px; gap: 16px; }
	.logo img { width: 130px; }
	.header-contacts { gap: 10px; }
	.header-contacts .hc { padding: 0; border: 0 !important; }
	.header-contacts .hc__text { display: none; }
	.header-contacts .hc--phone .hc__icon { display: inline-flex; }
	.hero { padding: 60px 0 40px; }
	.btn--lg { min-width: 0; min-height: 64px; flex: 1 1 260px; }
	.section { padding: 64px 0; }
	.why__grid { grid-template-columns: 1fr 1fr; }
	.why__grid .why-card:nth-child(n) { grid-column: auto; grid-row: auto; }
	.why-card__img { opacity: .35; }
	.contact-block__inner { grid-template-columns: 1fr; }
	.map-block__inner { grid-template-columns: 1fr; }
	.page-head--lead { grid-template-columns: 1fr; gap: 12px; }
	.page-lead { text-align: left; font-size: 14px; }
	.eltech-cards--4 { --cols: 3; }
	.eltech-logos { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
	.cta__inner { flex-direction: column; align-items: flex-start; }
	.cta__actions { align-items: flex-start; }
	.site-footer__top { flex-wrap: wrap; }
	.footer-nav { flex-basis: 100%; order: 3; }
	.footer-nav ul { justify-content: flex-start; }
	.admin-bar .site-header { top: 46px; }
}

@media (max-width: 639px) {
	:root { --gutter: 16px; }
	body { font-size: 15px; }
	.site-header__inner { min-height: 72px; }
	.burger { margin-left: -8px; }
	.logo img { width: 110px; }
	.hc__icon { width: 40px; height: 40px; }
	.header-contacts .hc--address { display: none; }
	.hero__text { margin-bottom: 30px; }
	.hero__actions { flex-direction: column; width: 100%; gap: 14px; }
	.btn--lg { flex: none; width: 100%; }
	.section-title, .page-title { margin-bottom: 26px; }
	.cat-card { min-height: 0; padding-top: 112px; }
	.cat-card__img { top: 15px; left: 15px; right: auto; bottom: auto; width: 80px; height: 80px; }
	.cat-card__head { margin-bottom: 8px; }
	.cat-card__brands { display: flex; flex-wrap: wrap; gap: 4px 14px; padding: 0; }
	.cat-card__num { position: absolute; top: 20px; right: 20px; }
	.why { padding: 48px 0 56px; }
	.why__grid { grid-template-columns: 1fr; gap: 15px; }
	.why-card { min-height: 0; padding: 26px 24px 60px; }
	.why-card__num { left: 24px; bottom: 22px; }
	.why-card__img { display: none; }
	.brands__rows, .brands__track { gap: 16px; }
	.brands__item { width: 140px; height: 76px; padding: 12px 16px; }
	.brands__item img { max-height: 40px; }
	@keyframes brands-scroll { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 8px)); } }
	@keyframes brands-scroll-reverse { from { transform: translateX(calc(-50% - 8px)); } to { transform: translateX(0); } }
	.card-dashed { padding: 22px 18px; }
	.checklist li { font-size: 16px; gap: 14px; }
	.contact-block__links { flex-direction: column; gap: 16px; }
	.map-block__map, .map-block__map iframe { min-height: 320px; }
	.eltech-cards--3, .eltech-cards--4 { --cols: 2; }
	.eltech-cards { gap: 20px 14px; }
	.eltech-cards--2 { --cols: 1; }
	.eltech-media { grid-template-columns: 1fr; gap: 16px; }
	.eltech-logos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.eltech-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.cta { padding: 44px 0; }
	.cta__actions { width: 100%; align-items: stretch; }
	.cta__actions .btn--lg { min-width: 0; }
	.site-footer__top { gap: 24px; }
	.site-footer__top .btn { width: 100%; min-width: 0; }
	.footer-nav ul { flex-direction: column; gap: 10px; }
	.mega__top { flex-wrap: wrap; gap: 16px; }
	.mega__service { order: 3; flex-basis: 100%; }
	.mega-cats { grid-template-columns: minmax(0, 1fr); gap: 8px; margin: 18px 0 22px; }
	.mega-cat { padding: 10px 12px; }
	.mega-cat__head { margin-bottom: 0; gap: 12px; }
	.mega-cat__head img { width: 36px; height: 36px; }
	.mega-cat__brands, .mega-cat__all { display: none; }
	.mega__bottom .btn { flex: 1 1 100%; }
	.modal { padding: 0; align-items: flex-end; }
	.modal__box { max-height: 92vh; padding: 36px 20px 24px; border-radius: var(--radius) var(--radius) 0 0; }
	.cookie-bar { left: 12px; right: 12px; bottom: 86px; flex-direction: column; align-items: stretch; gap: 10px; }
	.wa-float { right: 14px; bottom: 14px; }
}

@media (prefers-reduced-motion: reduce) {
	.brands__row { overflow-x: auto; }
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
