/* ==========================================================================
   DONGNAN Microswitch RU — main stylesheet
   ========================================================================== */

/* ---------- Fonts ---------- */
@font-face {
	font-family: "Manrope";
	src: url("../fonts/manrope-cyrillic-600.woff2") format("woff2");
	font-weight: 600;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
	font-family: "Manrope";
	src: url("../fonts/manrope-cyrillic-700.woff2") format("woff2");
	font-weight: 700;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
	font-family: "Manrope";
	src: url("../fonts/manrope-cyrillic-800.woff2") format("woff2");
	font-weight: 800;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
	font-family: "Manrope";
	src: url("../fonts/manrope-latin-600.woff2") format("woff2");
	font-weight: 600;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215;
}
@font-face {
	font-family: "Manrope";
	src: url("../fonts/manrope-latin-700.woff2") format("woff2");
	font-weight: 700;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215;
}
@font-face {
	font-family: "Manrope";
	src: url("../fonts/manrope-latin-800.woff2") format("woff2");
	font-weight: 800;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215;
}
@font-face {
	font-family: "Inter";
	src: url("../fonts/inter-cyrillic-400.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
	font-family: "Inter";
	src: url("../fonts/inter-cyrillic-500.woff2") format("woff2");
	font-weight: 500;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
	font-family: "Inter";
	src: url("../fonts/inter-cyrillic-600.woff2") format("woff2");
	font-weight: 600;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
	font-family: "Inter";
	src: url("../fonts/inter-latin-400.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122;
}
@font-face {
	font-family: "Inter";
	src: url("../fonts/inter-latin-500.woff2") format("woff2");
	font-weight: 500;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122;
}
@font-face {
	font-family: "Inter";
	src: url("../fonts/inter-latin-600.woff2") format("woff2");
	font-weight: 600;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122;
}

/* ---------- Tokens ---------- */
:root {
	--c-ink: #0b1b2b;
	--c-navy: #0e2a47;
	--c-navy-2: #123a60;
	--c-navy-3: #17466f;
	--c-accent: #e4572e;
	--c-accent-dark: #c8461f;
	--c-amber: #f2a03d;
	--c-steel: #56697d;
	--c-muted: #78899a;
	--c-mist: #f4f6f9;
	--c-mist-2: #eef2f7;
	--c-line: #e2e8f0;
	--c-white: #fff;
	--c-success: #1f8a5b;

	--shadow-sm: 0 1px 2px rgba(11, 27, 43, .05), 0 2px 6px rgba(11, 27, 43, .05);
	--shadow-md: 0 12px 32px rgba(11, 27, 43, .09);
	--shadow-lg: 0 30px 70px rgba(8, 22, 38, .18);

	--radius-sm: 10px;
	--radius: 16px;
	--radius-lg: 24px;

	--container: 1240px;
	--gutter: 24px;

	--font-head: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
	--font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
}

/* ---------- Reset / base ---------- */
*, *::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: 16px;
	line-height: 1.65;
	color: var(--c-ink);
	background: var(--c-white);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

img, svg, video { max-width: 100%; height: auto; vertical-align: middle; }
img { border: 0; }

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

p { margin: 0 0 1em; }
a { color: var(--c-accent); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--c-accent-dark); }

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

button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }

::selection { background: var(--c-accent); color: #fff; }

:focus-visible { outline: 3px solid rgba(228, 87, 46, .45); outline-offset: 2px; }

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important;
	width: 1px; word-wrap: normal !important;
}
.skip-link {
	position: absolute; left: -9999px; top: 12px; z-index: 9999;
	background: var(--c-white); color: var(--c-navy); padding: 12px 20px; border-radius: 8px;
	box-shadow: var(--shadow-md);
}
.skip-link:focus { left: 12px; }

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

.section { padding: 92px 0; }
.section--mist { background: var(--c-mist); }
.section--dark {
	background: linear-gradient(140deg, #0a1c30 0%, #0f2d4b 55%, #123a5c 100%);
	color: #c9d6e4;
}
.section--dark h2, .section--dark h3 { color: #fff; }

.icon { width: 1.15em; height: 1.15em; flex: none; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 48px; padding: 0 24px;
	border: 1.5px solid transparent; border-radius: var(--radius-sm);
	font-family: var(--font-body); font-size: 15px; font-weight: 600; line-height: 1;
	text-decoration: none; white-space: nowrap;
	transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.btn .icon { width: 18px; height: 18px; }
.btn--primary { background: var(--c-accent); color: #fff; box-shadow: 0 8px 20px rgba(228, 87, 46, .25); }
.btn--primary:hover { background: var(--c-accent-dark); color: #fff; transform: translateY(-1px); box-shadow: 0 12px 26px rgba(228, 87, 46, .32); }
.btn--outline { background: transparent; border-color: #cfd9e4; color: var(--c-navy); }
.btn--outline:hover { border-color: var(--c-navy); color: var(--c-navy); background: rgba(14, 42, 71, .04); }
.btn--ghost { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .22); color: #fff; }
.btn--ghost:hover { background: rgba(255, 255, 255, .14); color: #fff; border-color: rgba(255, 255, 255, .4); }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: 14px; }
.btn--lg { min-height: 54px; padding: 0 28px; font-size: 16px; }
.btn--block { width: 100%; }

/* Context: dark backgrounds */
.hero .btn--outline,
.contact-section .btn--outline,
.inquiry-section .btn--outline { border-color: rgba(255,255,255,.3); color: #fff; }
.hero .btn--outline:hover,
.contact-section .btn--outline:hover { border-color: #fff; background: rgba(255,255,255,.1); color: #fff; }

/* ---------- Chips / badges ---------- */
.chip {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 8px 16px; border-radius: 999px; border: 1px solid var(--c-line);
	background: #fff; color: var(--c-navy); font-size: 14px; font-weight: 500;
	transition: all .18s ease;
}
.chip:hover { border-color: var(--c-accent); color: var(--c-accent); }
.chip.is-active { background: var(--c-navy); border-color: var(--c-navy); color: #fff; }
.chip span { font-size: 12px; opacity: .6; }
.chip--sm { padding: 4px 12px; font-size: 12.5px; background: var(--c-mist); border-color: transparent; }
.chip--sm:hover { background: #fff; border-color: var(--c-accent); }

.badge {
	display: inline-flex; align-items: center; gap: 6px;
	padding: 6px 12px; border-radius: 8px; font-size: 12px; font-weight: 600;
	letter-spacing: .04em; text-transform: uppercase;
}
.badge--dark { background: var(--c-navy); color: #fff; }
.badge--accent { background: rgba(228, 87, 46, .12); color: var(--c-accent); }

.eyebrow {
	display: inline-flex; align-items: center; gap: 10px;
	font-size: 12.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
	color: var(--c-accent); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--c-accent); border-radius: 2px; }
.eyebrow--light { color: #ffb59d; }
.eyebrow--light::before { background: #ffb59d; }

.link-arrow {
	display: inline-flex; align-items: center; gap: 8px;
	font-weight: 600; font-size: 15px; color: var(--c-navy); white-space: nowrap;
}
.link-arrow .icon { width: 18px; height: 18px; transition: transform .2s ease; }
.link-arrow:hover { color: var(--c-accent); }
.link-arrow:hover .icon { transform: translateX(4px); }
.link-arrow--sm { font-size: 14px; }

.check-list { list-style: none; margin: 22px 0; padding: 0; display: grid; gap: 12px; }
.check-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 15.5px; color: var(--c-steel); }
.check-list .icon { width: 20px; height: 20px; color: var(--c-accent); margin-top: 2px; }
.check-list--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.section--dark .check-list li { color: #c9d6e4; }

/* ---------- Top bar / header ---------- */
.topbar { background: #08192b; color: #9fb2c6; font-size: 13px; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; min-height: 42px; gap: 20px; }
.topbar__left, .topbar__right { display: flex; align-items: center; gap: 24px; }
.topbar__item { display: inline-flex; align-items: center; gap: 8px; color: #9fb2c6; }
.topbar__item .icon { width: 15px; height: 15px; color: #ff9c7d; }
a.topbar__item:hover { color: #fff; }
.topbar__item--muted { color: #7f93a8; }
.topbar__link { color: #dbe6f1; font-weight: 500; }
.topbar__link:hover { color: #ff9c7d; }

.site-header { position: relative; z-index: 100; background: #fff; }
.header-main {
	background: #fff; border-bottom: 1px solid var(--c-line);
	position: sticky; top: 0; z-index: 90;
	transition: box-shadow .25s ease;
}
.header-main.is-stuck { box-shadow: 0 10px 30px rgba(11, 27, 43, .08); }
.header-main__inner { display: flex; align-items: center; gap: 32px; min-height: 98px; }

.logo { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.logo__mark { display: inline-flex; }
.logo__mark svg { display: block; }
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__text strong {
	font-family: var(--font-head); font-size: 22px; font-weight: 800; letter-spacing: .02em; color: var(--c-navy);
}
.logo__text em {
	font-style: normal; font-size: 9.5px; letter-spacing: .28em; color: var(--c-muted); margin-top: 5px; font-weight: 500;
}

.primary-nav { margin-left: auto; }
.menu { list-style: none; margin: 0; padding: 0; }
.menu--primary { display: flex; align-items: center; gap: 6px; }
.menu--primary > li { position: relative; }
.menu--primary > li > a {
	display: inline-flex; align-items: center; gap: 5px;
	padding: 10px 12px; border-radius: 8px;
	font-size: 14.5px; font-weight: 500; color: var(--c-ink); white-space: nowrap;
}
.menu--primary > li > a:hover,
.menu--primary > li.current-menu-item > a,
.menu--primary > li.current-menu-ancestor > a { color: var(--c-accent); background: rgba(228, 87, 46, .06); }
.menu--primary > li.menu-item-has-children > a::after {
	content: ""; width: 6px; height: 6px; margin-left: 3px;
	border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
	transform: rotate(45deg) translateY(-2px);
}

.menu--primary .sub-menu {
	position: absolute; top: calc(100% + 10px); left: 0;
	display: none; grid-template-columns: repeat(2, minmax(230px, 1fr)); gap: 2px;
	margin: 0; padding: 12px; min-width: 280px;
	background: #fff; border: 1px solid var(--c-line); border-radius: 14px;
	box-shadow: var(--shadow-md); list-style: none;
}
.menu--primary .sub-menu::before {
	content: ""; position: absolute; top: -10px; left: 0; right: 0; height: 10px;
}
.menu--primary li:hover > .sub-menu,
.menu--primary li:focus-within > .sub-menu { display: grid; }
.menu--primary .sub-menu a {
	display: block; padding: 9px 12px; border-radius: 8px; font-size: 14px; color: var(--c-ink); white-space: nowrap;
}
.menu--primary .sub-menu a:hover { background: var(--c-mist); color: var(--c-accent); }
.menu--primary .sub-menu .sub-menu { position: static; display: grid; grid-template-columns: 1fr; padding: 0 0 0 12px; box-shadow: none; border: 0; }

.header-actions { display: flex; align-items: center; gap: 12px; flex: none; }
.icon-btn {
	display: inline-flex; align-items: center; justify-content: center;
	width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--c-line);
	background: #fff; color: var(--c-navy); transition: all .18s ease;
}
.icon-btn:hover { border-color: var(--c-navy); background: var(--c-mist); }

.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--c-line); background: #fff; border-radius: 10px; padding: 11px; }
.burger span { display: block; height: 2px; background: var(--c-navy); border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }
.burger span + span { margin-top: 5px; }

.search-panel { border-top: 1px solid var(--c-line); background: #fff; padding: 18px 0; }
.search-form { display: flex; gap: 12px; }
.search-form input {
	flex: 1; min-height: 48px; padding: 0 18px; border: 1px solid var(--c-line); border-radius: var(--radius-sm);
	background: var(--c-mist);
}
.search-form input:focus { background: #fff; border-color: var(--c-accent); outline: none; }

/* Mobile drawer */
.mobile-drawer {
	position: fixed; top: 0; right: 0; bottom: 0; width: min(360px, 88vw); z-index: 200;
	background: #fff; padding: 20px; overflow-y: auto;
	transform: translateX(102%); transition: transform .3s cubic-bezier(.4, 0, .2, 1);
	display: flex; flex-direction: column; gap: 24px;
}
.mobile-drawer.is-open { transform: translateX(0); }
.mobile-drawer__head { display: flex; align-items: center; justify-content: space-between; }
.mobile-drawer__title { font-family: var(--font-head); font-weight: 700; font-size: 20px; }
.menu--mobile { display: grid; gap: 2px; }
.menu--mobile li { list-style: none; }
.menu--mobile a { display: block; padding: 11px 12px; border-radius: 8px; font-size: 15.5px; font-weight: 500; color: var(--c-ink); }
.menu--mobile a:hover { background: var(--c-mist); color: var(--c-accent); }
.menu--mobile .sub-menu { padding-left: 14px; margin: 0; display: grid; gap: 2px; }
.menu--mobile .sub-menu a { font-size: 14px; font-weight: 400; color: var(--c-steel); }
.mobile-drawer__contacts { margin-top: auto; display: grid; gap: 12px; padding-top: 20px; border-top: 1px solid var(--c-line); }
.mobile-contact { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--c-steel); }
.mobile-contact .icon { width: 18px; height: 18px; color: var(--c-accent); }
.drawer-overlay { position: fixed; inset: 0; z-index: 190; background: rgba(6, 16, 27, .5); backdrop-filter: blur(2px); }

/* ---------- Hero ---------- */
.hero {
	position: relative; overflow: hidden; color: #d4e0ec;
	background:
		radial-gradient(900px 480px at 82% 18%, rgba(228, 87, 46, .18), transparent 62%),
		radial-gradient(700px 500px at 12% 82%, rgba(34, 104, 165, .35), transparent 65%),
		linear-gradient(135deg, #081a2c 0%, #0d2942 55%, #12395c 100%);
	padding: 76px 0 0;
}
.hero__pattern {
	position: absolute; inset: 0; opacity: .5; pointer-events: none;
	background-image:
		linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
	background-size: 56px 56px;
	mask-image: linear-gradient(to bottom, #000 0%, rgba(0,0,0,.35) 75%, transparent 100%);
	-webkit-mask-image: linear-gradient(to bottom, #000 0%, rgba(0,0,0,.35) 75%, transparent 100%);
}
.hero__inner {
	position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center;
	padding-bottom: 56px;
}
.hero__title {
	font-size: clamp(2.1rem, 3.7vw, 3.35rem); line-height: 1.08; letter-spacing: -.03em;
	color: #fff; margin-bottom: 20px; max-width: 15ch;
}
.hero__text { font-size: 17px; line-height: 1.7; color: #afc2d6; max-width: 56ch; margin-bottom: 30px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }
.hero__points { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.hero__points li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: #9db2c8; }
.hero__points .icon { width: 18px; height: 18px; color: #6fd3a5; }

.hero__visual { position: relative; }
.hero__card {
	position: relative; background: #fff; border-radius: 26px; padding: 22px;
	box-shadow: 0 40px 90px rgba(2, 12, 24, .45);
	transform: rotate(-1.4deg);
}
.hero__card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.hero__product {
	display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: contain;
	background: radial-gradient(circle at 50% 45%, #fff 40%, #f1f5f9 100%);
	border-radius: 18px;
}
.hero__card-foot {
	display: flex; justify-content: space-between; gap: 10px;
	border-top: 1px solid var(--c-line); padding-top: 14px; margin-top: 6px;
	font-size: 12px; color: var(--c-muted); text-align: center;
}
.hero__card-foot strong { display: block; color: var(--c-navy); font-size: 14px; font-family: var(--font-head); }

.hero__float {
	position: absolute; display: flex; align-items: center; gap: 12px;
	background: rgba(255, 255, 255, .96); border-radius: 16px; padding: 14px 18px;
	box-shadow: var(--shadow-lg); color: var(--c-navy);
}
.hero__float .icon { width: 26px; height: 26px; color: var(--c-accent); }
.hero__float span { display: flex; flex-direction: column; font-size: 11px; color: var(--c-muted); line-height: 1.4; }
.hero__float strong { font-family: var(--font-head); font-size: 15px; color: var(--c-ink); }
.hero__float--tl { top: -22px; left: -34px; }
.hero__float--br { right: -64px; bottom: 26px; }

.stats {
	position: relative; display: grid; grid-template-columns: repeat(4, 1fr);
	border-top: 1px solid rgba(255,255,255,.12);
}
.stat { padding: 26px 10px 30px; text-align: center; }
.stat + .stat { border-left: 1px solid rgba(255,255,255,.09); }
.stat__value { display: block; font-family: var(--font-head); font-size: clamp(1.6rem, 2.4vw, 2.2rem); font-weight: 800; color: #fff; letter-spacing: -.02em; }
.stat__label { display: block; font-size: 12.5px; color: #8ba2b9; margin-top: 4px; }

/* ---------- Cert strip ---------- */
.cert-strip {
	display: flex; align-items: center; gap: 28px; flex-wrap: wrap;
	padding: 18px var(--gutter); border-bottom: 1px solid var(--c-line); background: #fff;
	justify-content: center;
}
.cert-strip__label { font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--c-muted); font-weight: 600; }
.cert-strip__list { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.cert-badge {
	font-family: var(--font-head); font-weight: 800; font-size: 15px; letter-spacing: .04em;
	color: #9aa9b8; transition: color .2s ease;
}
.cert-badge:hover { color: var(--c-navy); }

/* ---------- Section head ---------- */
.section-head {
	display: flex; align-items: flex-end; justify-content: space-between; gap: 32px;
	margin-bottom: 44px;
}
.section-head__text { max-width: 720px; }
.section-head__title {
	font-size: clamp(1.7rem, 2.6vw, 2.4rem); line-height: 1.15; margin-bottom: 12px;
}
.section-head__desc { font-size: 16px; color: var(--c-steel); margin: 0; max-width: 66ch; }
.section-head--center { flex-direction: column; align-items: center; text-align: center; }
.section-head--center .section-head__desc { margin: 0 auto; }
.section--dark .section-head__desc { color: #9fb4c9; }

/* ---------- Category cards ---------- */
.category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.category-card {
	display: flex; flex-direction: column; background: #fff; border: 1px solid var(--c-line);
	border-radius: var(--radius); overflow: hidden; color: inherit;
	transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.category-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #d3dde8; color: inherit; }
.category-card__media { display: block; background: var(--c-mist); padding: 22px; }
.category-card__media img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: contain; mix-blend-mode: multiply; transition: transform .4s ease; }
.category-card:hover .category-card__media img { transform: scale(1.04); }
.category-card__body { display: flex; flex-direction: column; gap: 8px; padding: 22px 24px 24px; flex: 1; }
.category-card__name { font-family: var(--font-head); font-size: 19px; font-weight: 700; color: var(--c-ink); }
.category-card__desc { font-size: 14px; color: var(--c-steel); line-height: 1.6; flex: 1; }
.category-card__foot { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; padding-top: 14px; border-top: 1px solid var(--c-line); }
.category-card__count { font-size: 12.5px; color: var(--c-muted); }
.category-card__link { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--c-accent); }
.category-card__link .icon { width: 16px; height: 16px; }

/* ---------- Series cards ---------- */
.series-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.series-card {
	display: flex; flex-direction: column; background: #fff; border: 1px solid var(--c-line);
	border-radius: var(--radius-sm); overflow: hidden; color: inherit;
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.series-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #d3dde8; color: inherit; }
.series-card__media { display: block; background: #fff; padding: 16px; border-bottom: 1px solid var(--c-line); }
.series-card__media img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: contain; }
.series-card__body { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px 16px; flex: 1; }
.series-card__model { font-family: var(--font-head); font-weight: 700; font-size: 15.5px; color: var(--c-ink); }
.series-card__desc { font-size: 12.5px; color: var(--c-muted); line-height: 1.5; flex: 1;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.series-card__link { display: inline-flex; margin-top: 8px; color: var(--c-accent); }
.series-card__link .icon { width: 18px; height: 18px; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; }
.about__media { position: relative; }
.about__media img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); aspect-ratio: 4 / 3; object-fit: cover; }
.about__badge {
	position: absolute; right: -18px; bottom: -18px; max-width: 190px;
	background: var(--c-accent); color: #fff; border-radius: 16px; padding: 18px 20px;
	box-shadow: 0 20px 40px rgba(228, 87, 46, .35);
}
.about__badge strong { display: block; font-family: var(--font-head); font-size: 30px; font-weight: 800; line-height: 1; }
.about__badge span { font-size: 12px; line-height: 1.4; display: block; margin-top: 6px; opacity: .92; }
.about__title { font-size: clamp(1.7rem, 2.6vw, 2.35rem); margin-bottom: 18px; }
.about__content p { color: var(--c-steel); font-size: 16px; }
.about__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 26px; }

/* ---------- Advantages ---------- */
.advantage-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 52px; }
.advantage-card {
	background: rgba(255, 255, 255, .045); border: 1px solid rgba(255, 255, 255, .1);
	border-radius: var(--radius); padding: 28px 26px;
	transition: background .2s ease, transform .2s ease, border-color .2s ease;
}
.advantage-card:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255,255,255,.18); transform: translateY(-3px); }
.advantage-card__icon {
	display: inline-flex; align-items: center; justify-content: center;
	width: 54px; height: 54px; border-radius: 14px; margin-bottom: 20px;
	background: rgba(228, 87, 46, .15); color: #ff9c7d;
}
.advantage-card__icon .icon { width: 26px; height: 26px; }
.advantage-card h3 { font-size: 18px; margin-bottom: 10px; color: #fff; }
.advantage-card p { font-size: 14.5px; line-height: 1.65; color: #9fb4c9; margin: 0; }

/* ---------- Applications ---------- */
.application-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.application-card {
	display: flex; flex-direction: column; gap: 8px; padding: 26px 24px;
	background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius);
	color: inherit; transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.application-card:hover { border-color: rgba(228, 87, 46, .4); transform: translateY(-3px); box-shadow: var(--shadow-md); color: inherit; }
.application-card__icon { color: var(--c-accent); margin-bottom: 6px; }
.application-card__icon .icon { width: 30px; height: 30px; }
.application-card__name { font-family: var(--font-head); font-weight: 700; font-size: 16px; color: var(--c-ink); }
.application-card__desc { font-size: 13.5px; line-height: 1.55; color: var(--c-muted); }

/* ---------- Certifications ---------- */
.certifications { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.certifications__content h2 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); margin-bottom: 16px; }
.certifications__content p { color: var(--c-steel); }
.certifications__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.cert-card {
	display: flex; flex-direction: column; gap: 6px; align-items: center; justify-content: center;
	min-height: 118px; padding: 18px 12px; background: #fff; border: 1px solid var(--c-line);
	border-radius: 14px; text-align: center; transition: all .2s ease;
}
.cert-card:hover { border-color: #cbd7e3; box-shadow: var(--shadow-sm); }
.cert-card__mark { font-family: var(--font-head); font-weight: 800; font-size: 17px; color: var(--c-navy); letter-spacing: .02em; }
.cert-card__label { font-size: 11.5px; color: var(--c-muted); line-height: 1.35; }

/* ---------- Post cards ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card {
	display: flex; flex-direction: column; background: #fff; border: 1px solid var(--c-line);
	border-radius: var(--radius); overflow: hidden; transition: transform .2s ease, box-shadow .2s ease;
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.post-card__media { display: block; overflow: hidden; background: var(--c-mist); }
.post-card__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .4s ease; }
.post-card:hover .post-card__media img { transform: scale(1.04); }
.post-card__body { display: flex; flex-direction: column; gap: 10px; padding: 22px 24px 24px; flex: 1; }
.post-card__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 12.5px; color: var(--c-muted); }
.post-card__title { font-size: 17.5px; line-height: 1.35; margin: 0; }
.post-card__title a { color: var(--c-ink); }
.post-card__title a:hover { color: var(--c-accent); }
.post-card__desc { font-size: 14px; color: var(--c-steel); line-height: 1.6; margin: 0; flex: 1; }

/* ---------- Contact section ---------- */
.contact-section {
	background:
		radial-gradient(800px 420px at 88% 10%, rgba(228, 87, 46, .16), transparent 60%),
		linear-gradient(135deg, #081a2c 0%, #0d2942 60%, #12395c 100%);
	color: #b8c9da;
}
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 66px; align-items: start; }
.contact__info h2 { color: #fff; font-size: clamp(1.8rem, 2.7vw, 2.4rem); margin-bottom: 16px; }
.contact__info > p { color: #a9bccf; max-width: 50ch; }
.contact-list { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 18px; }
.contact-list li { display: flex; align-items: flex-start; gap: 14px; font-size: 14.5px; color: #c3d1df; }
.contact-list .icon { width: 20px; height: 20px; color: #ff9c7d; margin-top: 3px; }
.contact-list span { display: flex; flex-direction: column; gap: 2px; }
.contact-list em { font-style: normal; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: #7f97ae; }
.contact-list a { color: #fff; font-weight: 500; }
.contact-list a:hover { color: #ff9c7d; }
.contact-list--light li { color: var(--c-steel); }
.contact-list--light em { color: var(--c-muted); }
.contact-list--light a { color: var(--c-navy); }
.contact-list--light a:hover { color: var(--c-accent); }
.contact-list--light .icon { color: var(--c-accent); }

.contact__form {
	background: #fff; border-radius: var(--radius-lg); padding: 34px 36px;
	box-shadow: var(--shadow-lg); color: var(--c-ink);
}
.contact__form h3 { font-size: 22px; margin-bottom: 20px; }

.inquiry-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { margin-top: 14px; }
.field__label { font-size: 12.5px; font-weight: 500; color: var(--c-steel); }
.field__label em { color: var(--c-accent); font-style: normal; }
.field input, .field textarea {
	width: 100%; min-height: 46px; padding: 11px 14px;
	border: 1px solid var(--c-line); border-radius: 9px; background: #fff;
	font-size: 14.5px; transition: border-color .18s ease, box-shadow .18s ease;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field textarea:focus {
	outline: none; border-color: var(--c-accent); box-shadow: 0 0 0 3px rgba(228, 87, 46, .12);
}
.field input::placeholder, .field textarea::placeholder { color: #a6b3c0; }
.hp-field { position: absolute !important; left: -9999px; opacity: 0; height: 0; width: 0; }
.inquiry-form__foot { display: flex; align-items: center; gap: 20px; margin-top: 18px; flex-wrap: wrap; }
.inquiry-form__note { font-size: 11.5px; color: var(--c-muted); line-height: 1.45; margin: 0; flex: 1; min-width: 180px; }
.form-status { margin: 14px 0 0; font-size: 14px; min-height: 1em; }
.form-status.is-success { color: var(--c-success); }
.form-status.is-error { color: #c0392b; }
.inquiry-form.is-loading .btn { opacity: .7; pointer-events: none; }

.inquiry-section { color: var(--c-steel); }
.inquiry { display: grid; grid-template-columns: .85fr 1.15fr; gap: 60px; align-items: start; }
.inquiry__text h2 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); margin-bottom: 14px; }
.inquiry__form { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-sm); }

/* ---------- CTA band ---------- */
.cta-band {
	position: relative; overflow: hidden; color: #fff;
	background:
		radial-gradient(700px 300px at 92% 20%, rgba(228, 87, 46, .3), transparent 60%),
		linear-gradient(120deg, #0b2037 0%, #123a5c 100%);
	padding: 54px 0;
}
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; font-size: clamp(1.4rem, 2.2vw, 1.95rem); margin-bottom: 8px; }
.cta-band p { color: #a9bccf; margin: 0; max-width: 62ch; font-size: 15px; }
.cta-band__actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* ---------- Footer ---------- */
.site-footer { background: #071726; color: #8ea3b8; padding-top: 64px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.35fr; gap: 48px; padding-bottom: 52px; }
.logo--footer .logo__text strong { color: #fff; }
.logo--footer .logo__text em { color: #7f97ae; }
.footer-brand__text { font-size: 13.5px; line-height: 1.7; margin: 20px 0 22px; max-width: 38ch; color: #8ea3b8; }
.footer-certs { display: flex; flex-wrap: wrap; gap: 6px 14px; font-family: var(--font-head); font-weight: 700; font-size: 13px; color: #6d8499; }
.footer-col__title {
	font-family: var(--font-head); font-size: 13px; font-weight: 700; letter-spacing: .12em;
	text-transform: uppercase; color: #fff; margin-bottom: 18px;
}
.menu--footer { display: grid; gap: 10px; list-style: none; padding: 0; margin: 0; }
.menu--footer a { color: #8ea3b8; font-size: 14px; }
.menu--footer a:hover { color: #fff; }
.footer-contacts { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.footer-contacts li { display: flex; align-items: flex-start; gap: 11px; font-size: 13.5px; line-height: 1.55; }
.footer-contacts .icon { width: 17px; height: 17px; color: #ff9c7d; margin-top: 2px; }
.footer-contacts a { color: #c8d7e5; }
.footer-contacts a:hover { color: #fff; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a {
	display: inline-flex; align-items: center; justify-content: center;
	width: 38px; height: 38px; border-radius: 10px;
	background: rgba(255,255,255,.06); color: #c8d7e5; transition: all .18s ease;
}
.footer-social a:hover { background: var(--c-accent); color: #fff; }
.footer-social .icon { width: 18px; height: 18px; }
.footer-bottom {
	display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
	padding: 22px 0; border-top: 1px solid rgba(255,255,255,.08); font-size: 12.5px; color: #6d8499;
}
.footer-bottom p { margin: 0; }
.footer-bottom__links { display: flex; gap: 22px; }
.footer-bottom__links a { color: #8ea3b8; }
.footer-bottom__links a:hover { color: #fff; }

.to-top {
	position: fixed; right: 24px; bottom: 24px; z-index: 80;
	width: 46px; height: 46px; border-radius: 12px; border: 0;
	background: var(--c-accent); color: #fff; box-shadow: 0 12px 28px rgba(228, 87, 46, .35);
	display: inline-flex; align-items: center; justify-content: center;
	opacity: 0; visibility: hidden; transform: translateY(10px);
	transition: all .25s ease;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--c-accent-dark); }

/* ---------- Breadcrumbs / page hero ---------- */
.breadcrumbs { font-size: 12.5px; color: var(--c-muted); margin-bottom: 18px; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.breadcrumbs li { display: inline-flex; align-items: center; gap: 8px; }
.breadcrumbs li + li::before { content: "/"; color: #b9c5d1; }
.breadcrumbs a { color: var(--c-muted); }
.breadcrumbs a:hover { color: var(--c-accent); }
.breadcrumbs [aria-current="page"] { color: var(--c-steel); }

.page-hero {
	position: relative; background: var(--c-mist); border-bottom: 1px solid var(--c-line);
	padding: 46px 0 54px;
}
.page-hero__title { font-size: clamp(1.9rem, 3vw, 2.8rem); margin-bottom: 14px; max-width: 24ch; }
.page-hero__lead { font-size: 16.5px; color: var(--c-steel); max-width: 78ch; margin: 0; }
.page-hero__lead p { margin: 0 0 .6em; }
.page-hero__lead p:last-child { margin: 0; }
.page-hero__split { display: grid; grid-template-columns: 1.25fr .75fr; gap: 48px; align-items: center; }
.page-hero__media { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius-lg); padding: 20px; box-shadow: var(--shadow-sm); display: flex; align-items: center; justify-content: center; }
.page-hero__media img { width: auto; max-width: 100%; max-height: 250px; object-fit: contain; }
.page-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.page-hero--post .page-hero__title { max-width: 30ch; }
.page-hero--category { padding-bottom: 58px; }
.page__body { padding: 56px 0 80px; }
.page__body .prose, .contact-page .page__body .prose { max-width: 980px; }

.post-meta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-size: 13px; color: var(--c-muted); margin-bottom: 14px; }

/* ---------- Prose ---------- */
.prose { font-size: 16px; line-height: 1.75; color: #24384b; overflow-wrap: break-word; }
.prose > *:first-child { margin-top: 0; }
.prose h2 { font-size: clamp(1.4rem, 2.1vw, 1.75rem); margin: 2em 0 .65em; }
.prose h3 { font-size: 1.25rem; margin: 1.7em 0 .55em; }
.prose h4 { font-size: 1.08rem; margin: 1.4em 0 .5em; }
.prose p { margin: 0 0 1.1em; }
.prose ul, .prose ol { margin: 0 0 1.2em; padding-left: 1.3em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--c-accent); }
.prose img { border-radius: 12px; height: auto; }
.prose figure { margin: 1.8em 0; }
.prose figcaption { font-size: 12.5px; color: var(--c-muted); text-align: center; margin-top: 8px; }
.prose a { text-decoration: underline; text-underline-offset: 2px; }
.prose blockquote {
	margin: 1.6em 0; padding: 18px 22px; border-left: 3px solid var(--c-accent);
	background: var(--c-mist); border-radius: 0 10px 10px 0; font-size: 1.02rem; color: var(--c-steel);
}
.prose blockquote p:last-child { margin: 0; }
.prose code { background: var(--c-mist-2); padding: 2px 6px; border-radius: 5px; font-size: .9em; }
.prose hr { border: 0; border-top: 1px solid var(--c-line); margin: 2.2em 0; }
.prose .table-wrap { overflow-x: auto; margin: 1.6em 0; border: 1px solid var(--c-line); border-radius: 12px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 520px; margin: 0; }
.prose th, .prose td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--c-line); vertical-align: top; }
.prose thead th { background: var(--c-mist); font-weight: 600; color: var(--c-navy); }
.prose tbody tr:last-child th, .prose tbody tr:last-child td { border-bottom: 0; }
.prose tbody th { font-weight: 500; color: var(--c-steel); width: 42%; }
.prose tbody tr:nth-child(even) { background: #fbfcfe; }
.prose .btn { text-decoration: none; }
.prose--center { text-align: center; }

/* content helpers generated by importer */
.cert-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 34px 0; }
.cert-gallery figure { margin: 0; padding: 14px; background: #fff; border: 1px solid var(--c-line); border-radius: 14px; text-align: center; }
.cert-gallery img { width: 100%; aspect-ratio: 3 / 4; object-fit: contain; background: #fff; border-radius: 8px; }
.cert-gallery figcaption { font-size: 12px; line-height: 1.45; color: var(--c-muted); margin-top: 10px; }
@media (max-width: 760px) {
	.hero__float { display: none; } .cert-gallery { grid-template-columns: repeat(2, 1fr); gap: 12px; } }
@media (max-width: 480px) { .cert-gallery { grid-template-columns: 1fr; } }

.prose .check-list li::before {
	content: "✓";
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	margin-right: 12px;
	margin-top: 1px;
	flex: none;
	border-radius: 50%;
	background: rgba(228, 87, 46, .1);
	color: var(--c-accent);
	font-size: 12px;
	font-weight: 700;
}
.prose .check-list li { display: flex; align-items: flex-start; }

.series-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 0 0 30px; }
.series-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: var(--c-mist); border-radius: 12px; padding: 12px; }
.spec-block { margin: 30px 0; }
.info-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 24px 0; }
.info-card { background: var(--c-mist); border-radius: 12px; padding: 18px 20px; }
.info-card { font-size: 13.5px; color: var(--c-steel); }
.info-card strong { display: block; font-family: var(--font-head); font-size: 23px; font-weight: 800; color: var(--c-navy); margin-bottom: 3px; letter-spacing: -.02em; }
.faq-list { display: grid; gap: 12px; margin: 24px 0 0; }
.faq-item { border: 1px solid var(--c-line); border-radius: 12px; padding: 0 20px; background: #fff; }
.faq-item summary { cursor: pointer; padding: 16px 0; font-weight: 600; font-family: var(--font-head); font-size: 15.5px; list-style: none; position: relative; padding-right: 28px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); color: var(--c-accent); font-size: 22px; line-height: 1; }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { margin: 0 0 16px; color: var(--c-steel); font-size: 14.5px; }

/* ---------- Catalog / product cards ---------- */
.catalog { padding-top: 44px; }
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.product-grid--catalog { grid-template-columns: repeat(4, 1fr); }
.product-card {
	display: flex; flex-direction: column; background: #fff; border: 1px solid var(--c-line);
	border-radius: var(--radius); overflow: hidden;
	transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #d3dde8; }
.product-card__media { position: relative; display: block; background: var(--c-mist); padding: 14px; }
.product-card__media img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: contain; mix-blend-mode: multiply; transition: transform .35s ease; }
.product-card:hover .product-card__media img { transform: scale(1.04); }
.product-card__tag {
	position: absolute; top: 12px; left: 12px; background: rgba(255,255,255,.94);
	color: var(--c-steel); font-size: 10.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
	padding: 4px 9px; border-radius: 6px;
}
.product-card__body { display: flex; flex-direction: column; gap: 8px; padding: 18px 18px 20px; flex: 1; }
.product-card__title { font-size: 15px; line-height: 1.4; margin: 0;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-card__title a { color: var(--c-ink); }
.product-card__title a:hover { color: var(--c-accent); }
.product-card__desc { font-size: 12.5px; color: var(--c-muted); line-height: 1.55; margin: 0; flex: 1;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 12px; border-top: 1px solid var(--c-line); margin-top: 4px; }
.product-card__link { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 600; color: var(--c-navy); }
.product-card__link .icon { width: 15px; height: 15px; }
.product-card__link:hover { color: var(--c-accent); }
.product-card__cta { font-size: 11.5px; font-weight: 600; color: var(--c-accent); border-bottom: 1px dashed rgba(228,87,46,.4); }
.product-card__cta:hover { border-bottom-style: solid; }

.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 48px; }
.pagination .page-numbers {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 42px; height: 42px; padding: 0 14px; border-radius: 10px;
	border: 1px solid var(--c-line); background: #fff; color: var(--c-navy);
	font-size: 14px; font-weight: 500;
}
.pagination .page-numbers:hover { border-color: var(--c-accent); color: var(--c-accent); }
.pagination .page-numbers.current { background: var(--c-navy); border-color: var(--c-navy); color: #fff; }
.pagination .dots { border: 0; }
.empty-state { color: var(--c-steel); background: var(--c-mist); border-radius: 12px; padding: 26px 28px; }

/* ---------- Single product ---------- */
.single-product { padding-top: 26px; }
.product-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; padding: 26px 0 46px; }
.product-gallery__main {
	background: var(--c-mist); border: 1px solid var(--c-line); border-radius: var(--radius-lg);
	padding: 30px; display: flex; align-items: center; justify-content: center;
}
.product-gallery__main img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; mix-blend-mode: multiply; }
.product-gallery__thumbs { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.product-thumb {
	width: 74px; height: 74px; padding: 6px; border: 1px solid var(--c-line); border-radius: 10px;
	background: #fff; transition: border-color .18s ease;
}
.product-thumb img { width: 100%; height: 100%; object-fit: contain; }
.product-thumb.is-active, .product-thumb:hover { border-color: var(--c-accent); }
.product-title { font-size: clamp(1.7rem, 2.6vw, 2.3rem); line-height: 1.2; margin: 14px 0 16px; }
.product-lead { font-size: 16px; color: var(--c-steel); margin-bottom: 8px; }
.product-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 18px; }
.product-note { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--c-muted); }
.product-note .icon { width: 17px; height: 17px; color: var(--c-accent); }

.product-body { display: grid; grid-template-columns: 1fr 340px; gap: 48px; padding-bottom: 70px; }
.product-content.prose { min-width: 0; }
.product-aside { display: grid; gap: 20px; align-content: start; position: sticky; top: 100px; }
.spec-card { border: 1px solid var(--c-line); border-radius: var(--radius); padding: 22px 22px 8px; background: #fff; }
.spec-card h2 { font-size: 16px; margin-bottom: 14px; }
.spec-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.spec-table th, .spec-table td { padding: 9px 0; border-bottom: 1px solid var(--c-line); text-align: left; vertical-align: top; }
.spec-table th { font-weight: 500; color: var(--c-steel); width: 46%; padding-right: 12px; }
.spec-table td { color: var(--c-ink); font-weight: 500; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.aside-cta { background: var(--c-navy); color: #c5d4e3; border-radius: var(--radius); padding: 26px; }
.aside-cta h3 { color: #fff; font-size: 18px; margin-bottom: 8px; }
.aside-cta p { font-size: 13.5px; margin-bottom: 16px; color: #a9bccf; }
.aside-cta__mail { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 13px; color: #c5d4e3; }
.aside-cta__mail:hover { color: #fff; }
.aside-cta__mail .icon { width: 16px; height: 16px; color: #ff9c7d; }
.related-products { border-top: 1px solid var(--c-line); padding: 46px 0 70px; }
.related-products h2 { font-size: 1.55rem; margin-bottom: 28px; }

/* ---------- Blog single ---------- */
.single-post { padding-top: 0; }
.post-cover { margin: 40px auto 0; }
.post-cover img { width: 100%; max-height: 520px; object-fit: cover; border-radius: var(--radius-lg); }
.post-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 60px; padding: 48px 0 72px; }
.post-content { min-width: 0; }
.post-aside { display: grid; gap: 24px; align-content: start; }
.aside-list { border: 1px solid var(--c-line); border-radius: var(--radius); padding: 22px; }
.aside-list h3 { font-size: 15px; margin-bottom: 14px; }
.aside-list__item { display: flex; flex-direction: column; gap: 3px; padding: 11px 0; border-top: 1px solid var(--c-line); color: inherit; }
.aside-list__item:first-of-type { border-top: 0; }
.aside-list__date { font-size: 11.5px; color: var(--c-muted); }
.aside-list__title { font-size: 13.5px; font-weight: 500; color: var(--c-ink); line-height: 1.45; }
.aside-list__item:hover .aside-list__title { color: var(--c-accent); }

/* ---------- Contact page ---------- */
.contact-page { padding-top: 54px; }
.contact-page__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.contact-page__info h2, .contact-page__form h2 { font-size: 1.5rem; margin-bottom: 22px; }
.contact-page__info h2 { margin-top: 0; }
.contact-page__form { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-sm); }
.contact-page__social { display: flex; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.map-section { margin-top: 64px; }
.map-card { display: grid; grid-template-columns: 1.15fr .85fr; overflow: hidden; border-radius: var(--radius-lg); background: linear-gradient(135deg, #0a1c30, #123a5c); color: #c3d1df; box-shadow: var(--shadow-md); }
.map-card__info { padding: 44px 46px; }
.map-card__info h2 { color: #fff; font-size: clamp(1.5rem, 2.3vw, 2rem); margin-bottom: 14px; }
.map-card__info > p { color: #a9bccf; font-size: 15px; max-width: 46ch; }
.map-card__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.map-card__visual { position: relative; min-height: 320px; background: radial-gradient(420px 320px at 60% 45%, rgba(228, 87, 46, .22), transparent 70%), rgba(255,255,255,.03); overflow: hidden; }
.map-card__grid { position: absolute; inset: 0; opacity: .5; background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px); background-size: 42px 42px; transform: rotate(-6deg) scale(1.2); }
.map-card__pin { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 50%; background: var(--c-accent); color: #fff; box-shadow: 0 16px 36px rgba(228,87,46,.45); }
.map-card__pin .icon { width: 30px; height: 30px; }
.map-card__label { position: absolute; left: 50%; bottom: 34px; transform: translateX(-50%); background: rgba(255,255,255,.95); color: var(--c-navy); font-size: 12px; font-weight: 600; padding: 7px 14px; border-radius: 999px; white-space: nowrap; }
@media (max-width: 900px) { .map-card { grid-template-columns: 1fr; } .map-card__info { padding: 30px 24px; } .map-card__visual { min-height: 220px; } }
.error-404 { padding: 110px 0 130px; text-align: center; }
.error-404__code {
	font-family: var(--font-head); font-weight: 800; font-size: clamp(5rem, 14vw, 9rem);
	line-height: 1; color: transparent; -webkit-text-stroke: 2px rgba(228, 87, 46, .35);
}
.error-404 h1 { margin: 8px 0 12px; }
.error-404 p { color: var(--c-steel); max-width: 46ch; margin: 0 auto 26px; }
.error-404__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.22,.61,.36,1); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
	.menu--primary { gap: 0; }
	.menu--primary > li > a { padding: 10px 9px; font-size: 14px; }
	.header-main__inner { gap: 20px; }
	.product-grid, .product-grid--catalog { grid-template-columns: repeat(3, 1fr); }
	.series-grid { grid-template-columns: repeat(4, 1fr); }
	.hero__inner { gap: 40px; }
}

@media (max-width: 1024px) {
	.hero__float--br { right: -12px; bottom: -20px; }
	.primary-nav { display: none; }
	.burger { display: inline-flex; flex-direction: column; justify-content: center; }
	.header-cta { display: none; }
	.header-main__inner { justify-content: space-between; }
	.header-actions { margin-left: auto; }

	.hero { padding-top: 54px; }
	.hero__inner { grid-template-columns: 1fr; gap: 48px; }
	.hero__content { max-width: 640px; }
	.hero__visual { max-width: 520px; }
	.hero__title { max-width: none; }
	.hero__float--tl { left: -14px; }
	.hero__float--br { right: -8px; }

	.about, .certifications, .contact, .inquiry, .contact-page__grid { grid-template-columns: 1fr; gap: 40px; }
	.about__media { max-width: 640px; }
	.about__badge { right: 12px; bottom: -16px; }
	.advantage-grid { grid-template-columns: repeat(2, 1fr); }
	.application-grid { grid-template-columns: repeat(2, 1fr); }
	.product-body { grid-template-columns: 1fr; }
	.product-aside { position: static; grid-template-columns: 1fr 1fr; }
	.post-layout { grid-template-columns: 1fr; gap: 40px; }
	.post-aside { grid-template-columns: 1fr 1fr; }
	.footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; }
	.footer-col--contacts { grid-column: 1 / -1; }
	.page-hero__split { grid-template-columns: 1fr; }
	.page-hero__media { display: none; }
}

@media (max-width: 760px) {
	:root { --gutter: 18px; }
	.section { padding: 62px 0; }
	.section-head { flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 30px; }
	.category-grid, .post-grid, .product-grid, .product-grid--catalog { grid-template-columns: repeat(2, 1fr); }
	.series-grid { grid-template-columns: repeat(2, 1fr); }
	.certifications__grid { grid-template-columns: repeat(2, 1fr); }
	.about__badge strong { font-size: 24px; }
	.hero__card-foot { font-size: 10.5px; }
	.hero__float { padding: 10px 14px; }
	.hero__float strong { font-size: 13px; }
	.hero__float span { font-size: 10px; }
	.stats { grid-template-columns: 1fr 1fr; }
	.stat:nth-child(3) { border-left: 0; }
	.stat:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.09); }
	.topbar__left .topbar__item--muted, .topbar__right { display: none; }
	.topbar__inner { justify-content: center; }
	.product-hero { grid-template-columns: 1fr; gap: 28px; }
	.product-aside { grid-template-columns: 1fr; }
	.post-aside { grid-template-columns: 1fr; }
	.inquiry-form__grid { grid-template-columns: 1fr; }
	.contact__form, .inquiry__form, .contact-page__form { padding: 24px 20px; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.footer-brand { grid-column: 1 / -1; }
	.footer-col--contacts { grid-column: 1 / -1; }
	.footer-bottom { flex-direction: column; align-items: flex-start; }
	.cta-band__inner { flex-direction: column; align-items: flex-start; gap: 22px; }
	.section-head__title { font-size: 1.55rem; }
	.hero__title { font-size: 2rem; }
	.hero__text { font-size: 15.5px; }
	.check-list--two { grid-template-columns: 1fr; }
	.info-grid { grid-template-columns: 1fr; }
	.series-gallery { grid-template-columns: repeat(2, 1fr); }
	.post-cover img { max-height: 320px; }
}

@media (max-width: 520px) {
	.category-grid, .post-grid, .product-grid, .product-grid--catalog,
	.application-grid, .advantage-grid { grid-template-columns: 1fr; }
	.product-grid .product-card { flex-direction: row; }
	.product-card__media { width: 42%; flex: none; padding: 8px; }
	.product-card__media img { aspect-ratio: 1/1; }
	.product-card__body { padding: 12px 14px; }
	.product-card__desc { display: none; }
	.product-card__foot { border-top: 0; padding-top: 4px; }
	.hero__actions .btn { width: 100%; }
	.logo__text strong { font-size: 19px; }
	.footer-grid { grid-template-columns: 1fr; }
	.map-section iframe { height: 320px; }
	.to-top { right: 14px; bottom: 14px; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
	.reveal { opacity: 1; transform: none; }
}

/* Print */
@media print {
	.site-header, .site-footer, .to-top, .cta-band, .inquiry-section { display: none; }
	body { color: #000; }
	.prose a { text-decoration: none; color: #000; }
}
/* ---------- Mobile header fixes ---------- */
.logo img,
.logo__img {
	display: block;
	width: auto;
	height: 65x;
	max-width: 210px;
	object-fit: contain;
}
.burger { flex: none; }
.burger span { width: 100%; }

@media (max-width: 1024px) {
	.header-main__inner { gap: 14px; }
}

@media (max-width: 760px) {
	.logo img,
	.logo__img { height: 38px; max-width: 150px; }
	.header-main__inner { gap: 10px; }
	.header-actions { gap: 8px; }

	/* 顶部邮箱、电话改为上下两行居中 */
	.topbar__inner {
		flex-direction: column;
		justify-content: center;
		gap: 2px;
		padding: 6px 0;
		min-height: 0;
	}
	.topbar__left {
		flex-direction: column;
		align-items: center;
		gap: 2px;
	}
	.topbar__item { font-size: 12px; gap: 6px; }
	.topbar__item .icon { width: 13px; height: 13px; }

	.burger { width: 40px; height: 40px; padding: 9px; }
}