/* =========================================================
   ASMA Industrial — основной стиль темы
   Метрики сняты с оригинала (docs/design-tokens.*, probe-home)
   ========================================================= */

:root {
	--color-dark: #142332;
	--color-accent: #f3763a;
	--color-orange: #ffa303;
	--color-link: #2ea3f2;
	--color-text: #666666;
	--color-text-dark: #333333;
	--color-grey: #6b6b6b;
	--color-menu: #adafb0;
	--color-light: #d6d6d6;
	--color-bg-light: #f4f4f4;
	--color-white: #ffffff;
	--color-ghost: rgba(107, 107, 107, 0.05);
	--font-body: 'Open Sans', Arial, sans-serif;
	--font-heading: Arial, 'Arimo', sans-serif;
	--container: 1600px;
	--container-w: 80%;
	--header-h: 64px;
	--topbar-h: 31px;
	--section-pad: 54px;
	--radius: 3px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 14px;
	font-weight: 500;
	line-height: 1.7;
	color: var(--color-text);
	background: var(--color-white);
	padding-top: calc(var(--topbar-h) + var(--header-h));
	word-wrap: break-word;
}
img { max-width: 100%; height: auto; border: 0; }
a { color: var(--color-link); text-decoration: none; }
a:hover { color: var(--color-dark); }
p { margin: 0; padding-bottom: 1em; }
p:last-child { padding-bottom: 0; }
h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-heading);
	color: var(--color-dark);
	margin: 0;
	padding: 0 0 10px;
	line-height: 1;
	font-weight: 700;
}
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
iframe, video { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }

/* ---------- Контейнер и секции ---------- */
.container {
	width: var(--container-w);
	max-width: var(--container);
	margin: 0 auto;
	position: relative;
}
.container--narrow { max-width: 1080px; }
.section-pad { padding: var(--section-pad) 0; }

.section-title {
	font-size: 32px;
	line-height: 1;
	font-weight: 800;
	color: var(--color-dark);
	padding-bottom: 10px;
}
.section-title span, .accent { color: var(--color-accent); }

.watermark {
	position: absolute;
	top: -14px;
	left: 68px;
	font-family: var(--font-heading);
	font-size: 80px;
	line-height: 80px;
	font-weight: 900;
	color: var(--color-ghost);
	pointer-events: none;
	white-space: nowrap;
}

/* ---------- Кнопки ---------- */
.btn {
	display: inline-block;
	font-family: var(--font-heading);
	font-size: 18px;
	font-weight: 500;
	line-height: 1.7;
	text-transform: uppercase;
	padding: 5.4px 18px;
	border-radius: var(--radius);
	border: 2px solid transparent;
	transition: all .2s ease;
	cursor: pointer;
}
.btn--light {
	color: var(--color-dark);
	background: var(--color-light);
	border-color: var(--color-light);
}
.btn--light:hover { background: transparent; color: var(--color-light); }
.btn--dark {
	color: var(--color-white);
	background: var(--color-dark);
	border-color: var(--color-dark);
}
.btn--dark:hover { background: transparent; color: var(--color-dark); }
.btn--outline-dark {
	color: var(--color-dark);
	border-color: var(--color-dark);
	background: transparent;
}
.btn--outline-dark:hover { background: var(--color-dark); color: var(--color-white); }
.btn--small { font-size: 14px; padding: 4px 14px; }

/* ---------- Топ-бар ---------- */
.top-bar {
	position: fixed;
	top: 0; left: 0; right: 0;
	z-index: 1001;
	height: var(--topbar-h);
	background: var(--color-dark);
	color: #fff;
	font-size: 12px;
	line-height: 17px;
}
.top-bar__inner { width: 1080px; max-width: 90%; margin: 0 auto; display: flex; gap: 16px; padding: 7px 0; line-height: 17px; }
.top-bar a { color: #fff; }
.top-bar a:hover { color: var(--color-accent); }
.top-bar__item { display: inline-flex; align-items: center; gap: 5px; }
.top-bar__item .icon { font-size: 12px; color: var(--color-accent); }

/* ---------- Шапка ---------- */
.site-header {
	position: fixed;
	top: var(--topbar-h); left: 0; right: 0;
	z-index: 1000;
	background: var(--color-white);
	box-shadow: 0 1px 0 rgba(0, 0, 0, .1);
	height: var(--header-h);
}
.site-header__inner {
	padding: 0 34px;
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	height: 100%;
}
.site-header__logo { align-self: center; }
.site-header__logo img { max-height: 32px; width: auto; display: block; }
.site-header__burger { align-self: center; }
.site-nav__list { display: flex; list-style: none; margin: 0; padding: 0; gap: 26px; }
.site-nav__list li { position: relative; }
.site-nav__list > li > a {
	display: block;
	font-size: 14px;
	font-weight: 600;
	line-height: 14px;
	color: var(--color-menu);
	padding: 0 0 25px;
}
.site-nav__list > li > a:hover,
.site-nav__list > li.current-menu-item > a { color: var(--color-dark); }
.site-nav__list li.menu-item-has-children > a::after {
	content: '';
	display: inline-block;
	margin-left: 6px;
	border: 4px solid transparent;
	border-top-color: currentColor;
	vertical-align: 1px;
}
.site-nav .sub-menu {
	position: absolute;
	top: 100%; left: -20px;
	min-width: 240px;
	background: var(--color-white);
	box-shadow: 0 2px 5px rgba(0, 0, 0, .1);
	list-style: none;
	margin: 0;
	padding: 12px 0;
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: all .2s ease;
	z-index: 1002;
}
.site-nav li:hover > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.site-nav .sub-menu a {
	display: block;
	padding: 6px 20px;
	font-size: 14px;
	font-weight: 600;
	color: var(--color-menu);
}
.site-nav .sub-menu a:hover { color: var(--color-dark); background: rgba(0,0,0,.03); }

/* Бургер и мобильное меню */
.site-header__burger { display: none; background: none; border: 0; padding: 8px; }
.site-header__burger span {
	display: block;
	width: 24px; height: 3px;
	background: var(--color-dark);
	margin: 4px 0;
	border-radius: 2px;
}
.mobile-menu {
	display: none;
	position: absolute;
	top: 100%; left: 0; right: 0;
	background: var(--color-white);
	box-shadow: 0 2px 5px rgba(0, 0, 0, .1);
	padding: 3% 5%;
	max-height: calc(100vh - var(--header-h) - var(--topbar-h));
	overflow: auto;
}
.mobile-menu.is-open { display: block; }
.mobile-menu__list { list-style: none; margin: 0; padding: 0; }
.mobile-menu__list a {
	display: block;
	padding: 10px 0;
	color: var(--color-text);
	font-weight: 600;
	border-bottom: 1px solid rgba(0, 0, 0, .06);
}
.mobile-menu__list .sub-menu { list-style: none; padding-left: 5%; }

/* ---------- Hero (главная) ---------- */
.hero {
	position: relative;
	overflow: hidden;
	background: var(--color-dark);
	padding: 170px 0 228px;
}
.hero__video {
	position: absolute;
	inset: 0;
	width: 100%; height: 100%;
	object-fit: cover;
	z-index: 0;
}
.hero__inner { position: relative; z-index: 2; display: flex; align-items: center; }
.hero__logo { flex: 0 0 26.4%; }
.hero__logo img { max-width: 405px; width: 100%; max-height: 426px; object-fit: contain; display: block; }
.hero__content { flex: 1; min-width: 0; }
.hero__title {
	font-size: 47px;
	line-height: 47px;
	font-weight: 700;
	color: var(--color-light);
	padding-bottom: 10px;
}
.hero__divider {
	border: 0;
	border-top: 2px solid var(--color-accent);
	margin: 0 0 30px;
}
.hero--mobile { display: none; }

/* ---------- О компании (главная) ---------- */
.about {
	padding: 54px 0 30px;
	position: relative;
}
.about__inner { display: flex; align-items: flex-start; padding-top: 26px; }
.about__content { flex: 1 1 63.5%; position: relative; padding: 93px 0 0 68px; }
.about__label { font-family: var(--font-heading); font-size: 24px; line-height: 24px; font-weight: 600; color: var(--color-grey); padding-bottom: 10px; }
.about__title { font-size: 32px; font-weight: 800; line-height: 1; padding-bottom: 24px; margin-bottom: 13px; }
.about__title span { color: var(--color-accent); }
.about__lead { font-family: var(--font-heading); font-size: 18px; line-height: 24.66px; font-weight: 700; color: var(--color-dark); padding-bottom: 8px; }
.about__text { padding-bottom: 28px; }
.about__media { flex: 1 1 36.5%; position: relative; text-align: right; padding-right: 68px; margin-bottom: 28px; }
.about__media img { position: relative; z-index: 1; width: 415px; height: auto; }
.about__media::after {
	content: '';
	position: absolute;
	right: 54px; top: 20px; bottom: -16px;
	width: 429px;
	background: var(--color-accent);
	z-index: 0;
}
.about__media::before {
	content: '';
	position: absolute;
	left: -68px; right: 54px; bottom: -16px;
	height: 16px;
	background: var(--color-accent);
	z-index: 0;
}

/* ---------- Цифры ---------- */
.stats { padding: var(--section-pad) 0; }
.stats .container { padding: 26px 0 27px; max-width: 1500px; }
.stats__grid { display: flex; }
.stats__item { flex: 1; text-align: center; padding: 0; border-left: 1px solid rgba(0,0,0,.12); }
.stats__item:first-child { border-left: 0; }
.stats__value {
	font-family: var(--font-heading);
	font-size: 60px;
	font-weight: 700;
	color: var(--color-ghost);
	line-height: 60px;
	padding-bottom: 10px;
}
.stats__label { font-family: var(--font-heading); font-size: 18px; line-height: 24.66px; font-weight: 700; color: var(--color-dark); }
.stats__text { padding-top: 26px; }
.stats__video { margin: 65px auto 0; width: 1080px; max-width: 100%; }
.stats__video video {
	width: 100%;
	aspect-ratio: 1080 / 608;
	object-fit: cover;
	background: #000;
	box-shadow: 0 12px 18px -6px rgba(0, 0, 0, .3);
}

/* ---------- Ассортимент ---------- */
.range { background: rgba(214, 214, 214, .23); padding: var(--section-pad) 0; }
.range .container { padding: 26px 0 55px 68px; }
.range__title { font-size: 32px; font-weight: 800; line-height: 1.2; padding-bottom: 10px; margin-bottom: 13px; max-width: 825px; }
.range__title span { color: var(--color-accent); }
.range__lead { font-family: var(--font-heading); font-size: 18px; line-height: 24.66px; font-weight: 700; color: var(--color-dark); padding-bottom: 0; margin-bottom: 12px; max-width: 1031px; }
.range__text { max-width: 1031px; }

/* ---------- Мозаика сфер применения ---------- */
.apps { display: grid; grid-template-columns: repeat(3, 1fr); }
.apps__cell { position: relative; overflow: hidden; min-height: 519px; }
.apps__cell--photo img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.apps__cell--text { padding: 8vw 60px; }
.apps__cell--dark { background: var(--color-dark); }
.apps__cell--dark .apps__title, .apps__cell--dark .apps__text { color: #fff; }
.apps__cell--orange { background: var(--color-orange); }
.apps__cell--orange .apps__title, .apps__cell--orange .apps__text { color: #fff; }
.apps__cell--white { background: #fff; }
.apps__cell--white .apps__title { color: var(--color-dark); }
.apps__title { font-size: 24px; font-weight: 800; line-height: 28.8px; padding-bottom: 10px; max-width: 420px; }
.apps__text { font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height: 24px; font-weight: 500; }

/* ---------- Продукция (карточки серий) ---------- */
.products { background: var(--color-bg-light); padding: var(--section-pad) 0; }
.products .container { max-width: 1500px; }
.products__title, .products .section-title { padding: 0 0 63px; line-height: 1.2; }
.products__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 82px 45px; }
.product-card {
	background: var(--color-white);
	border-radius: var(--radius);
	box-shadow: 0 2px 6px rgba(0, 0, 0, .08);
	padding: 0 20px 29px;
	text-align: center;
	display: flex;
	flex-direction: column;
}
.product-card .btn { font-size: 16px; padding: 4.8px 16px; }
.product-card__image { height: 304px; display: flex; align-items: center; justify-content: center; margin-bottom: 21px; }
.product-card__image img { max-height: 304px; width: auto; max-width: 100%; }
.product-card__title { font-size: 20px; font-weight: 800; line-height: 28px; padding-bottom: 10px; }
.product-card__text { font-family: var(--font-heading); font-size: 16px; line-height: 21.92px; font-weight: 700; color: var(--color-dark); padding-bottom: 22px; flex: 1; }
.product-card__button { margin-top: auto; }

/* ---------- Представитель в РФ ---------- */
.rep { padding: var(--section-pad) 0; text-align: center; }
.rep .container { padding: 26px 0 52px; max-width: 1500px; }
.rep__title { font-size: 32px; line-height: 32px; font-weight: 800; padding-bottom: 24px; position: relative; display: block; max-width: 1080px; margin: 0 auto; }
.rep__title::after { content: ''; display: block; margin: 24px auto 0; width: 100%; border-top: 1px solid var(--color-accent); }
.rep__body { padding-top: 44px; }
.rep__company { font-size: 24px; line-height: 33.6px; font-weight: 800; padding-bottom: 10px; }
.rep__text { font-family: var(--font-heading); font-size: 16px; line-height: 21.92px; font-weight: 700; color: var(--color-dark); }
.rep__text p { padding-bottom: 16px; }

/* ---------- Новости ---------- */
.news { padding: var(--section-pad) 0; }
.news .container { max-width: 1500px; }
.news__title { padding: 0 0 63px; line-height: 1.2; }
.news-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 82px;
	margin-bottom: 40px;
}
.news-card {
	background: var(--color-white);
	box-shadow: 0 1px 5px rgba(0, 0, 0, .1);
	display: flex;
	flex-direction: column;
	padding: 0 0 19px;
}

.news-card__image { display: block; }
.news-card__image img { width: 100%; aspect-ratio: 445 / 278; object-fit: cover; display: block; }
.news-card__body { padding: 29px 19px 0; display: flex; flex-direction: column; flex: 1; }
.news-card__title { font-family: var(--font-body); font-size: 18px; font-weight: 700; line-height: 20px; padding-bottom: 10px; }
.news-card__title a { color: var(--color-text-dark); }
.news-card__title a:hover { color: var(--color-accent); }
.news-card__excerpt { font-size: 14px; line-height: 23.8px; flex: 1; }
.news-card__excerpt p { padding-bottom: 0; }
.news-card__more { display: inline-block; margin-top: 10px; color: var(--color-accent); font-size: 14px; text-decoration: underline; }
.news-card__more:hover { color: var(--color-dark); }
.news__footer { text-align: center; }

/* ---------- Предфутер (контакты) ---------- */
.footer-contacts {
	background: var(--color-dark);
	color: #fff;
	padding-top: var(--section-pad);
}
.footer-contacts__inner { display: flex; gap: 77px; padding: 26px 68px 27px; }
.footer-contacts__col { flex: 1; }
.footer-contacts__title { font-size: 28px; line-height: 36.4px; font-weight: 500; color: #fff; padding-bottom: 10px; }
.footer-contacts__heading { font-size: 20px; line-height: 32px; font-weight: 700; color: #fff; padding-bottom: 10px; }
.footer-contacts__line { font-size: 20px; line-height: 26px; font-weight: 500; color: #fff; padding-bottom: 10px; }
.footer-contacts__line a { color: #fff; }
.footer-contacts__line a:hover { color: var(--color-accent); }
.footer-contacts__text { font-size: 14px; line-height: 23.8px; color: #fff; }

.site-footer { background: var(--color-dark); }
.site-footer__bg {
	width: var(--container-w);
	max-width: 1500px;
	margin: 0 auto;
	height: 299px;
	background-size: cover;
	background-position: center;
}
.site-footer__bottom { padding: 15px 0 5px; }
.site-footer__bottom .container { width: 1080px; max-width: 90%; }
.site-footer__info { color: #fff; font-size: 16px; line-height: 23.8px; padding-bottom: 10px; }

/* ---------- Попапы ---------- */
.popup {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	visibility: hidden;
	transition: opacity .4s ease, visibility .4s ease;
}
.popup.is-open { opacity: 1; visibility: visible; }
.popup__overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, .6); }
.popup__window {
	position: relative;
	background: var(--color-white);
	max-width: 900px;
	width: 90%;
	max-height: 86vh;
	overflow: auto;
	padding: 40px;
	border-radius: var(--radius);
	transform: translateY(20px);
	transition: transform .4s ease;
}
.popup.is-open .popup__window { transform: none; }
.popup__close {
	position: absolute;
	top: 10px; right: 10px;
	width: 36px; height: 36px;
	border: 0;
	background: none;
	font-size: 0;
	z-index: 2;
}
.popup__close::before, .popup__close::after {
	content: '';
	position: absolute;
	top: 50%; left: 50%;
	width: 20px; height: 2px;
	background: var(--color-dark);
}
.popup__close::before { transform: translate(-50%, -50%) rotate(45deg); }
.popup__close::after { transform: translate(-50%, -50%) rotate(-45deg); }
.popup__title { font-size: 26px; padding-bottom: 24px; }
.popup__title span { color: var(--color-accent); }
.popup__divider { border: 0; border-top: 1px solid rgba(0, 0, 0, .12); margin: 20px 0; }
body.popup-open { overflow: hidden; }

.popup--model .popup__inner { display: flex; gap: 40px; align-items: flex-start; }
.popup--model .popup__image { flex: 0 0 40%; }
.popup--model .popup__specs { flex: 1; }
.popup--model .popup__model-title { font-size: 26px; padding-bottom: 16px; }
.popup--model .popup__model-title strong { color: var(--color-accent); }

/* ---------- Кнопка «наверх» ---------- */
.scroll-top {
	position: fixed;
	right: 30px; bottom: 30px;
	width: 40px; height: 40px;
	border: 0;
	border-radius: var(--radius);
	background: rgba(0, 0, 0, .4);
	z-index: 9999;
	opacity: 0;
	visibility: hidden;
	transition: opacity .3s;
}
.scroll-top.is-visible { opacity: 1; visibility: visible; }
.scroll-top::before {
	content: '';
	position: absolute;
	left: 50%; top: 55%;
	width: 12px; height: 12px;
	border-top: 3px solid #fff;
	border-left: 3px solid #fff;
	transform: translate(-50%, -50%) rotate(45deg);
}
.scroll-top:hover { background: rgba(0, 0, 0, .6); }

/* ---------- Страница серии ---------- */
.series-hero {
	position: relative;
	background-color: var(--color-dark);
	background-size: cover;
	background-position: center;
	color: #fff;
	padding: 151px 0 80px;
}
.series-hero .container { max-width: 1500px; }
.series-hero__inner { display: flex; align-items: flex-start; gap: 5%; }
.series-hero__content { flex: 1 1 55%; }
.series-hero__suptitle { font-size: 38px; font-weight: 700; line-height: 38px; color: var(--color-light); text-transform: uppercase; padding-bottom: 10px; }
.series-hero__title { font-size: 32px; font-weight: 700; color: #fff; padding-bottom: 10px; }
.series-hero__subtitle { font-size: 18px; font-weight: 700; line-height: 24.66px; color: var(--color-light); padding-bottom: 30px; max-width: 780px; }
.series-hero__image { flex: 1 1 40%; text-align: center; }
.series-hero__image img { max-height: 640px; width: auto; margin: -45px 0 -80px; }

/* Светлая тема hero (тепловозные): выцветший фон, тёмный текст, оранжевый заголовок */
.series-hero--light { background-color: #fff; position: relative; overflow: visible; z-index: 2; }
.series-hero--light > .container { position: relative; z-index: 2; }
.series-hero--light .series-hero__content { position: relative; z-index: 2; }
.series-hero--light .series-hero__suptitle { color: var(--color-dark); }
.series-hero--accent .series-hero__suptitle { color: var(--color-accent) !important; }
.series-hero--light .series-hero__title { color: var(--color-accent); font-size: 24px; font-weight: 700; }
.series-hero--light .series-hero__subtitle { font-size: 14px; font-weight: 500; }
.series-hero--light .series-hero__subtitle { color: var(--color-text-dark); max-width: 520px; }
.series-hero__list { list-style: none; margin: 0 0 20px; padding: 10px 0 0; }
.series-hero__list li {
	position: relative;
	padding: 0 0 12px 34px;
	font-size: 20px;
	font-weight: 700;
	color: var(--color-dark);
}
.series-hero__list li::before {
	content: '';
	position: absolute;
	left: 0; top: 2px;
	width: 22px; height: 22px;
	border: 2px solid var(--color-accent);
	border-radius: 50%;
}
.series-hero__list li::after {
	content: '';
	position: absolute;
	left: 8px; top: 9px;
	width: 6px; height: 6px;
	border-top: 2px solid var(--color-accent);
	border-right: 2px solid var(--color-accent);
	transform: rotate(45deg);
}
.series-hero--light .btn--light { color: #fff; background: var(--color-dark); border-color: var(--color-dark); }

.series-models { padding: 81px 0 54px; }
.series-models .container { max-width: 1080px; }
.series-models__title { padding: 0 0 76px; line-height: 1.2; text-align: center; }
.series-models__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 54px 63px; }
.model-card { padding: 0; text-align: center; }
.model-card__badge { font-family: var(--font-heading); font-size: 18px; line-height: 18px; font-weight: 700; color: var(--color-accent); padding-bottom: 30px; }
.model-card__image img { width: 100%; height: auto; margin: 0 auto 30px; display: block; }
.model-card__name { font-family: var(--font-heading); font-size: 20px; line-height: 20px; font-weight: 800; color: var(--color-dark); padding-bottom: 0; margin-bottom: 29px; }
.model-card__line { font-size: 16px; line-height: 16px; font-weight: 700; color: var(--color-text-dark); padding-bottom: 0; margin-bottom: 20px; }
.model-card__line--vc { color: var(--color-accent); }
.model-card__button { margin-top: 0; }

/* Строчная раскладка моделей (тепловозные) */
.series-models__rows { display: flex; flex-direction: column; gap: 48px; }
.model-row { display: flex; gap: 5.5%; align-items: flex-start; }
.model-row__image { flex: 0 0 40%; }
.model-row__name { font-size: 26px; font-weight: 800; padding-bottom: 14px; }
.model-row__text { padding-bottom: 12px; }
.model-row__extra { padding-bottom: 16px; }

.series-description { padding: var(--section-pad) 0; }
.series-description .container { padding: 26px 0 27px; }
.series-description__labels { padding-bottom: 30px; }
.series-description__label { font-family: var(--font-heading); font-size: 32px; font-weight: 800; color: var(--color-dark); line-height: 1.1; }
.series-description__text { max-width: 1080px; padding-bottom: 24px; }

.series-block { padding: var(--section-pad) 0; }
.series-block--grey { background: var(--color-bg-light); }
.series-block__title { padding: 26px 0 30px; }
.series-apps__items { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px 5.5%; }
.series-apps__num { font-family: var(--font-heading); font-size: 60px; font-weight: 700; color: var(--color-ghost); line-height: 60px; padding-bottom: 10px; }
.series-features__items { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px 5.5%; }
.series-docs__list { list-style: none; padding: 0; }
.series-docs__list a { font-weight: 600; }

/* Инфоблок серии */
.series-info { padding: var(--section-pad) 0; }
.series-info .container { padding: 26px 0 27px; }
.series-info__labels { padding-bottom: 24px; }
.series-info__label { font-family: var(--font-heading); font-size: 32px; font-weight: 800; color: var(--color-dark); line-height: 1.1; }
.series-info__title { font-size: 26px; font-weight: 800; padding-bottom: 28px; }
.series-info__title span { color: var(--color-accent); }
.series-info__block { padding-bottom: 64px; }
.series-info__cols { display: flex; gap: 7%; }
.series-info__col { flex: 1; }
.series-info__feature h4 { font-size: 16px; padding-bottom: 6px; }

/* ---------- Карточка модели (товар) ---------- */
.product-hero { padding: 110px 0 54px; }
.product-hero .container { max-width: 1080px; }
.product-hero__labels { padding: 26px 0 53px; }
.product-hero__label { font-size: 24px !important; }
.product-hero__label { font-family: var(--font-heading); font-size: 32px; font-weight: 800; line-height: 1.1; color: var(--color-dark); }
.product-hero__inner { display: flex; gap: 138px; align-items: flex-start; }
.product-hero__image { flex: 0 0 432px; text-align: center; }
.product-hero__image img { max-width: 383px; width: 100%; height: auto; margin: 0 auto; }
.product-hero__info { flex: 1; }
.product-hero__title { font-size: 32px; font-weight: 800; padding-bottom: 10px; }
.product-hero__divider { border: 0; border-top: 2px solid var(--color-accent); margin: 0 0 24px; width: 120px; }
.product-hero__specs p { padding-bottom: 0; font-size: 16px; line-height: 29px; }

.product-apps { padding: 90px 0 54px; }
.product-apps .container { max-width: 1500px; }
.product-apps__title { padding: 0 0 22px; line-height: 1.2; }
.product-apps__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px 82px; }
.product-apps__item { padding: 0 15px; }
.product-apps__num { font-family: var(--font-heading); font-size: 90px; font-weight: 700; color: var(--color-ghost); line-height: 108px; padding-bottom: 0; }

/* ---------- Архив моделей (/project/): список записей ---------- */
.project-archive { padding: 58px 0 54px; }
.project-archive .container { max-width: 1080px; }
.project-list { display: flex; flex-direction: column; gap: 150px; padding-left: 60px; margin-bottom: 40px; }
.project-item__image { display: block; margin-top: 26px; }
.project-item__image img { width: 600px; max-width: 100%; height: auto; display: block; }
.project-item__title { font-size: 18px; line-height: 24px; font-weight: 700; padding: 0 0 6px; }
.project-item__title a { color: var(--color-dark); }
.project-item__title a:hover { color: var(--color-accent); }
.project-item__meta { font-size: 12px; color: var(--color-grey); padding-bottom: 14px; }
.project-item__excerpt { font-size: 13px; line-height: 22px; color: var(--color-text); max-width: 760px; }

/* ---------- Новости: лента и одиночная ---------- */
.news-archive .container { max-width: 1080px; }
.news-archive .section-title { font-size: 44px; line-height: 54px; padding-bottom: 0; }
.news-archive .hero__divider { display: none; }
.news-archive__intro { padding: 46px 0 151px; font-size: 14px; line-height: 23.8px; font-weight: 700; color: var(--color-text-dark); }
.news-archive .news-grid { grid-template-columns: repeat(3, 1fr); gap: 62px 60px; }
.news-archive .news-card { box-shadow: none; border: 1px solid rgba(0, 0, 0, .1); padding-bottom: 20px; }
.news-archive .news-card__body { padding: 30px 20px 0; }
.news-archive .news-card__title { font-size: 16px; line-height: 20px; }
.news-archive .news-card__excerpt { font-size: 13px; line-height: 20px; }
.entry-content iframe { width: 1080px; max-width: 100%; aspect-ratio: 16 / 9; height: auto; }
.single-post__title { font-size: 32px; padding-bottom: 10px; }
.single-post__meta { color: var(--color-grey); font-size: 13px; padding-bottom: 30px; }
.entry-content img { margin: 20px 0; }
.pagination, .nav-links { display: flex; gap: 10px; justify-content: center; margin: 20px 0; }
.nav-links .page-numbers {
	display: inline-block;
	min-width: 34px;
	padding: 6px 10px;
	text-align: center;
	border: 1px solid rgba(0, 0, 0, .15);
	border-radius: var(--radius);
	color: var(--color-text);
}
.nav-links .page-numbers.current { background: var(--color-dark); color: #fff; border-color: var(--color-dark); }

/* ---------- Контакты ---------- */
.contacts-intro { padding: 200px 0 54px; }
.contacts-intro .container { padding: 26px 0 27px; max-width: 1500px; }
.contacts-intro .section-title { font-size: 47px; line-height: 60px; padding-bottom: 0; }
.contacts-intro .contacts-data__divider { margin: 50px 0; }
.contacts-intro__text { font-size: 16px; line-height: 27.2px; }
.contacts-data { padding: 110px 0 var(--section-pad); }
.contacts-data .container { max-width: 1500px; }
.contacts-data .section-title { margin-bottom: 60px; }
.contacts-data__block { font-size: 16px; line-height: 22px; }
.contacts-data__block p { padding-bottom: 16px; }
.contacts-data__block p:last-child { padding-bottom: 0; }
.contacts-data__divider { border: 0; border-top: 1px solid rgba(0, 0, 0, .12); margin: 44px 0; }
.contacts-map { padding-bottom: var(--section-pad); }
.contacts-map .container { max-width: 1500px; }
.contacts-map iframe { width: 100%; border: 0; }

/* ---------- 404 / поиск ---------- */
.error-404__inner { text-align: center; padding: 60px 0; }
.error-404__code { font-size: 120px; font-weight: 900; color: var(--color-ghost); line-height: 1; }
.error-404__title { font-size: 32px; padding-bottom: 16px; }
.error-404__text { padding-bottom: 30px; }
.search-form { display: flex; gap: 10px; max-width: 480px; }
.search-form input[type="search"] {
	flex: 1;
	padding: 10px 14px;
	border: 1px solid rgba(0, 0, 0, .2);
	border-radius: var(--radius);
	font-family: inherit;
}

/* ---------- CF7 ---------- */
.wpcf7 .wpcf7-form-control:not(.wpcf7-submit) {
	width: 100%;
	padding: 10px 14px;
	border: 1px solid rgba(0, 0, 0, .2);
	border-radius: var(--radius);
	font-family: inherit;
	font-size: 14px;
	margin-bottom: 14px;
}
.wpcf7 .wpcf7-submit { margin-top: 6px; }
.wpcf7 .wpcf7-not-valid-tip { color: #c0392b; font-size: 12px; margin-top: -10px; margin-bottom: 10px; display: block; }

/* =========================================================
   Адаптив
   ========================================================= */
@media (max-width: 1440px) {
	.hero__title { font-size: 40px; line-height: 1.05; }
	.about__media img { width: 100%; max-width: 415px; }
	.apps__cell { min-height: 420px; }
}

@media (max-width: 1100px) {
	.about__content { padding-left: 0; }
	.range .container { padding-left: 0; }
	.footer-contacts__inner { padding-left: 0; padding-right: 0; }
	.watermark { left: 0; }
}

@media (max-width: 980px) {
	.products__grid, .series-models__grid, .news-grid, .project-grid { grid-template-columns: 1fr; }
	.series-apps__items, .product-apps__grid, .series-features__items { grid-template-columns: 1fr; }
	.series-info__cols { flex-direction: column; }
	.apps__cell--photo { display: none; }
	.apps { grid-template-columns: 1fr; }
	.apps__cell { min-height: 0; }
	.apps__cell--text { padding: 48px 30px; }
	.product-card__image { height: auto; }
	.product-card__image img { width: auto; max-width: 100%; }
	.model-card__image img { width: auto; max-width: 100%; }
	.stats__video { width: 100%; }
	.site-nav { display: none; }
	.site-header__burger { display: block; }
	.container { width: 90%; }
	.hero { padding: 100px 0 120px; }
	.hero__inner { flex-direction: column; align-items: flex-start; }
	.hero__logo { flex: 0 0 auto; width: 85%; margin: 0 auto 30px; }
	.hero__suptitle { font-size: 24px; font-weight: 700; color: var(--color-light); padding-bottom: 10px; }
	.hero__title { font-size: 34px; }
	.about__inner { flex-direction: column; }
	.about { background: none !important; }
	.about__media { padding-right: 0; text-align: left; margin-top: 30px; }
	.stats__grid { flex-wrap: wrap; }
	.stats__item { flex: 1 1 50%; margin-bottom: 24px; }
	.stats__item:nth-child(3) { border-left: 0; }
	.series-hero__inner { flex-direction: column; }
	.product-hero__inner { flex-direction: column; }
	.series-apps__items, .product-apps__grid { grid-template-columns: repeat(2, 1fr); }
	.footer-contacts__inner { flex-direction: column; gap: 30px; }
	.model-row { flex-direction: column; }
	.site-footer__bg { height: 200px; }
}

@media (max-width: 767px) {
	.hero--desktop { display: none; }
	.hero--mobile { display: block; }
}

@media (max-width: 640px) {
	.hero__title { font-size: 28px; }
	.section-title, .about__title, .range__title, .rep__title { font-size: 26px; }
	.stats__item { flex: 1 1 100%; border-left: 0; }
	.popup__window { padding: 24px; }
	.popup--model .popup__inner { flex-direction: column; }
	.series-hero__suptitle { font-size: 30px; line-height: 1.1; }
}

/* ---------- О нас: поправки к общим секциям ---------- */
.page-template-template-about .about-page-intro { padding-top: 352px; padding-bottom: 36px; }
.page-template-template-about .about-page-intro .section-title { padding-left: 30px; font-size: 47px; line-height: 60px; padding-bottom: 0; }
.page-template-template-about .about-page-intro .about__lead { padding-left: 30px; }
.page-template-template-about .about-page-intro .hero__divider { margin-left: 30px; }
.page-template-template-about .about-page-intro__text { padding-left: 30px; font-size: 16px; line-height: 27px; max-width: 1470px; }
.page-template-template-about .stats .container { padding-top: 0; }
.page-template-template-about .products .section-title { font-family: var(--font-heading); font-size: 16px; line-height: 27px; font-weight: 700; color: var(--color-dark); padding: 0 0 40px; }

/* Плитки применения на страницах серий (AGM/GEL) */
.series-info .series-apps__items { gap: 30px; }
.series-info .series-apps__item { background: #fff; box-shadow: 0 2px 10px rgba(0, 0, 0, .1); padding: 24px 28px 28px; position: relative; min-height: 265px; }
.series-info .series-apps__num { font-size: 140px; line-height: 140px; padding-bottom: 0; margin-bottom: -52px; }
.series-info .series-apps__item > div:last-child { position: relative; font-weight: 700; color: var(--color-dark); font-size: 14px; line-height: 20px; }

.series-info__text { font-size: 16px; line-height: 27px; }
.series-info__text p { padding-bottom: 26px; }

/* Колоночные ряды в теле новости (раскладка оригинала) */
.entry-content .post-row { display: flex; gap: 44px; align-items: flex-start; margin: 86px 0 50px; max-width: 796px; }
.entry-content .post-col { flex: 1; min-width: 0; }
.entry-content .post-col img { margin: 0; width: 100%; height: auto; display: block; }
.single-post .container--narrow { max-width: 1080px; }
.single-post__title, .single-post .entry-content > p { max-width: 823px; }
.single-post__title { font-size: 26px; line-height: 30px; color: var(--color-dark); font-family: var(--font-body); font-weight: 700; padding-bottom: 34px; max-width: 750px; }

/* Фото-хедер «О нас» */
.about-hero { background-color: var(--color-dark); background-size: cover; background-position: center; padding: 378px 0 60px; min-height: 656px; }
.about-hero__title { color: #fff; font-size: 47px; line-height: 60px; padding-bottom: 0; }
.about-hero__divider { border: 0; border-top: 2px solid var(--color-accent); width: 155px; margin: 14px 0 20px; }
.about-hero__text { color: #fff; font-size: 14px; line-height: 23.8px; max-width: 1470px; }
.about-hero__subtitle, .about-hero__button { display: none; }
@media (max-width: 767px) {
	.about-hero { padding: 140px 0 40px; min-height: 0; }
	.about-hero__title { font-size: 32px; line-height: 40px; }
	.about-hero__subtitle { display: block; color: #fff; font-weight: 700; }
	.about-hero__button { display: block; padding-top: 16px; }
}
.contacts-intro .btn { margin-top: 14px; }

/* ---------- Адаптив: планшет и мобильные добивки ---------- */
@media (max-width: 980px) {
	/* фикс-высоты hero серий заданы инлайном — сбрасываем */
	.series-hero { height: auto !important; min-height: 0 !important; padding: 120px 0 60px; }
	.series-hero__image img { max-height: 420px; margin: 0 auto; }
	.series-hero__suptitle { font-size: 30px; line-height: 34px; }
	.about-hero { padding: 220px 0 50px; min-height: 0; }
	.contacts-intro { padding: 140px 0 40px; }
	.contacts-intro .section-title { font-size: 36px; line-height: 44px; }
	.contacts-data { padding-top: 60px; }
	.product-hero { padding: 60px 0 40px; }
	.product-hero__inner { gap: 30px; }
	.product-hero__image { flex: 0 0 auto; }
	.product-apps { padding: 40px 0; }
	.news-archive .news-grid { grid-template-columns: 1fr; }
	.project-list { padding-left: 0; gap: 80px; }
	.project-item__image img { width: 100%; }
	.series-models { padding: 50px 0; }
	.series-info__cols { gap: 40px; }
	.rep__title { font-size: 26px; line-height: 1.2; }
	.contacts-map iframe { height: 400px; }
	.watermark { font-size: 56px; line-height: 56px; }
	.stats__value { font-size: 44px; line-height: 44px; }
	.product-apps__num, .series-apps__num { font-size: 64px; line-height: 72px; }
}
@media (max-width: 640px) {
	.about-hero { padding: 150px 0 40px; }
	.about-hero__title, .contacts-intro .section-title { font-size: 30px; line-height: 38px; }
	.series-hero { padding: 90px 0 50px; }
	.series-hero__image img { max-height: 320px; }
	.footer-contacts__inner { gap: 24px; }
	.site-footer__bg { height: 160px; }
	.popup--model .popup__image { flex: 0 0 auto; }
}

@media (max-width: 980px) {
	.entry-content .post-row { flex-direction: column; }
	.entry-content .post-col img { width: 100%; }
}

@media (max-width: 767px) {
	.product-apps__grid, .series-apps__items, .series-info .series-apps__items { grid-template-columns: 1fr; }
}

.entry-content .post-divider { border: 0; border-top: 1px solid rgba(0,0,0,.12); margin: 38px 0; }

.single-post .entry-content > p > img { width: 796px; max-width: 100%; height: auto; }

.single-post.section-pad { padding: 93px 0 54px; }
.single-post .entry-content p { padding-bottom: 17px; }

.series-info__block .btn { display: table; margin-left: auto; }

/* сетка моделей AGM/AGM+GEL: увеличенный шаг рядов (как в оригинале) */
.term-agmgel .series-models__grid { row-gap: 106px; }

/* Ссылка «Скачать документ» на карточке модели */
.product-hero__doc { padding: 18px 0 0; }
.product-hero__doc a { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--color-dark); font-size: 16px; }
.product-hero__doc a:hover { color: var(--color-accent); }
.product-hero__doc-icon { width: 26px; height: 32px; border: 2px solid var(--color-accent); border-radius: 3px; position: relative; }
.product-hero__doc-icon::after { content: 'PDF'; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 9px; font-weight: 700; color: var(--color-accent); }

.single-post .entry-content h3 { font-size: 22px; padding: 16px 0; }

.single-post .entry-content .wp-video, .single-post .entry-content video { max-width: 376px; height: auto; }
