:root {
	--navy: #123B6D;
	--navy-deep: #0c2748;
	--blue: #008FE5;
	--blue-hover: #0077c2;
	--steel: #A7ADB3;
	--graphite: #30363D;
	--white: #ffffff;
	--mist: #f4f7fb;
	--line: #e1e6ec;
	--shadow: 0 16px 40px rgba(18, 59, 109, 0.08);
	--radius: 18px;
	--max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: Manrope, "Segoe UI", sans-serif;
	color: var(--graphite);
	background: var(--white);
	line-height: 1.55;
	padding-right: 46px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
h1, h2, h3 { color: var(--navy); line-height: 1.15; margin: 0 0 .5em; }
p { margin: 0 0 1em; }

.container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }

.site-header {
	position: sticky;
	top: 0;
	z-index: 40;
	background: rgba(255,255,255,.94);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--line);
}
.header-inner {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 22px;
	min-height: 84px;
}
.logo {
	position: relative;
	display: inline-flex;
	align-items: center;
	padding: 8px 14px 8px 10px;
	background: transparent;
	line-height: 0;
}
.logo img { height: 46px; width: auto; position: relative; z-index: 1; }
.logo-outline { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.site-nav .menu {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px 12px;
	list-style: none;
	margin: 0;
	padding: 0;
}
.site-nav .menu > li { position: relative; }
.site-nav a { color: var(--navy); font-weight: 700; font-size: 14px; }
.site-nav a:hover, .site-nav .current-menu-item > a, .site-nav .current-menu-ancestor > a { color: var(--blue); }
.site-nav .menu > .menu-item-has-children > a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}
.site-nav .menu > .menu-item-has-children > a::after,
.site-nav .sub-menu > .menu-item-has-children > a::after {
	content: "";
	flex: 0 0 auto;
	width: 6px;
	height: 6px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: translateY(-2px) rotate(45deg);
}
.site-nav .sub-menu {
	display: none;
	position: absolute;
	z-index: 30;
	top: 100%;
	left: 0;
	width: 560px;
	margin: 0;
	padding: 8px 6px;
	column-count: 2;
	column-gap: 8px;
	list-style: none;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 14px;
	box-shadow: var(--shadow);
}
.site-nav .menu > li:hover > .sub-menu,
.site-nav .menu > li:focus-within > .sub-menu { display: block; }
.site-nav .sub-menu > li { break-inside: avoid; margin-bottom: 2px; }
.site-nav .sub-menu > li > a { display: block; padding: 3px 10px 1px; }
.site-nav .sub-menu > .menu-item-has-children > a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
}
.site-nav .sub-menu .sub-menu {
	display: block;
	position: static;
	width: auto;
	column-count: 1;
	padding: 0;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	background: transparent;
}
.site-nav .sub-menu .sub-menu a {
	display: block;
	padding: 2px 10px 2px 16px;
	font-weight: 600;
	font-size: 13px;
	color: #3c4a57;
}
.submenu-toggle { display: none; }
.header-cta { display: flex; align-items: center; gap: 14px; }
.header-phone { color: var(--navy); font-weight: 800; }
.nav-toggle { display: none; width: 42px; height: 42px; border: 0; background: transparent; }
.nav-toggle span { display: block; height: 2px; margin: 6px 0; background: var(--navy); }

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 18px;
	border-radius: 10px;
	border: 0;
	font: inherit;
	font-weight: 800;
	cursor: pointer;
	clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}
.btn-accent { background: var(--blue); color: #fff; }
.btn-accent:hover { background: var(--blue-hover); color: #fff; }
.btn-line { background: #fff; color: var(--navy); box-shadow: inset 0 0 0 1.5px var(--navy); }
.btn-line:hover { color: var(--blue); box-shadow: inset 0 0 0 1.5px var(--blue); }
.btn-light { background: #fff; color: var(--navy); }
.btn-small { padding: 7px 12px; font-size: 13px; background: var(--navy); color: #fff; }
.btn-small:hover { background: var(--blue); color: #fff; }
.text-link { font-weight: 800; }

.hero {
	position: relative;
	overflow: hidden;
	background:
		linear-gradient(180deg, #fff 0%, var(--mist) 100%);
	padding: 64px 0 48px;
}
.hero-geo {
	position: absolute;
	inset: 0;
	background:
		repeating-linear-gradient(-58deg, transparent 0 22px, rgba(167,173,179,.28) 22px 23px);
	mask-image: linear-gradient(90deg, transparent 20%, #000 80%);
	pointer-events: none;
}
.hero-inner {
	position: relative;
	display: grid;
	grid-template-columns: 1.2fr .8fr;
	gap: 32px;
	align-items: center;
}
.eyebrow {
	letter-spacing: .16em;
	text-transform: uppercase;
	font-size: 12px;
	font-weight: 800;
	color: var(--steel);
	margin-bottom: 10px;
}
.hero h1 { font-size: clamp(40px, 6vw, 68px); font-weight: 800; letter-spacing: -.03em; }
.hero h1 span { color: var(--blue); }
.lead { font-size: 18px; max-width: 58ch; color: #4c5660; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.hero-mark { position: relative; height: 280px; }
.facet { position: absolute; display: block; }
.facet-navy {
	width: 210px; height: 250px; right: 40px; top: 10px;
	background: linear-gradient(160deg, #1a4f8c, #123B6D);
	clip-path: polygon(28% 0, 100% 0, 72% 100%, 0 100%);
}
.facet-blue {
	width: 150px; height: 230px; right: 120px; top: 28px;
	background: linear-gradient(160deg, #49c0ff, #008FE5);
	clip-path: polygon(30% 0, 100% 0, 70% 100%, 0 100%);
}
.facet-steel {
	width: 90px; height: 180px; right: 10px; bottom: 0;
	background: linear-gradient(180deg, #e5eaee, #8d959c);
	clip-path: polygon(20% 0, 100% 0, 80% 100%, 0 100%);
}

.section { padding: 56px 0; }
.section-tint { background: var(--mist); }
.section-head, .home-block { margin-bottom: 22px; }
.home-block h3 { margin: 28px 0 14px; font-size: 22px; }
.card-grid { display: grid; gap: 16px; }
.card-grid.three { grid-template-columns: repeat(3, 1fr); }
.card-grid.four { grid-template-columns: repeat(4, 1fr); }
.cat-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	color: inherit;
	box-shadow: var(--shadow);
	min-height: 100%;
}
.cat-card:hover { border-color: var(--blue); color: inherit; transform: translateY(-3px); }
.cat-visual { background: var(--mist); border-bottom: 1px solid var(--line); }
.cat-visual .product-drawing { width: 100%; height: 150px; display: block; }
.cat-body { padding: 14px 16px 16px; }
.cat-body h3 { font-size: 18px; margin-bottom: 6px; }
.cat-body p { margin: 0; color: #5d6771; font-size: 14px; }

.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.benefit-grid article {
	background: #fff;
	padding: 22px;
	border-left: 4px solid var(--blue);
	box-shadow: var(--shadow);
}
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: center; }
.mills { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; list-style: none; margin: 0; padding: 0; }
.mills li {
	background: #fff;
	border-left: 3px solid var(--blue);
	padding: 10px 12px;
	font-weight: 800;
	color: var(--navy);
	letter-spacing: .04em;
}
.cta-band { background: linear-gradient(115deg, #123B6D, #0e6cb8); color: #fff; padding: 36px 0; }
.cta-band .container { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.cta-band h2, .cta-band p { color: #fff; margin: 0; }
.cta-band p { opacity: .85; margin-top: 6px; }

.page-hero { background: var(--mist); border-bottom: 1px solid var(--line); padding: 28px 0 18px; }
.hero-intro { color: #53606c; max-width: 70ch; }
.page-wrap { padding-bottom: 72px; }
.catalog-block { margin-top: 34px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0 0 10px; color: #6a7580; font-size: 13px; }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: 6px; color: var(--steel); }

.drawing-stage {
	display: grid;
	grid-template-columns: 1.4fr .6fr;
	gap: 22px;
	align-items: center;
	margin: 28px 0;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow);
}
.drawing-stage .product-drawing { width: 100%; height: auto; display: block; }
.drawing-stage figcaption { padding: 8px 22px 8px 0; }
.param-list { list-style: none; padding: 0; margin: 12px 0 0; }
.param-list li { margin-bottom: 8px; }
.param-list b {
	display: inline-grid;
	place-items: center;
	min-width: 36px;
	padding: 2px 6px;
	margin-right: 8px;
	background: var(--navy);
	color: #fff;
	border-radius: 6px;
	font-size: 13px;
}

.table-toolbar { display: flex; gap: 12px; align-items: center; margin: 8px 0 12px; }
.table-filter { flex: 1; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; font: inherit; }
.table-count { color: #6a7580; font-size: 14px; white-space: nowrap; }
.table-wrap { overflow: auto; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.product-table { width: 100%; border-collapse: collapse; min-width: 760px; background: #fff; }
.product-table th, .product-table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); font-size: 14px; }
.product-table th { background: var(--navy); color: #fff; font-weight: 700; position: sticky; top: 0; }
.product-table tbody tr:hover { background: #f3f8fd; }
.product-table tr.is-hidden { display: none; }
.size-pill {
	display: inline-block;
	padding: 3px 8px;
	background: #e7f5fd;
	color: var(--navy);
	font-weight: 800;
	border-radius: 6px;
}

.contacts-plain { padding-top: 28px; max-width: 640px; }
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { margin-bottom: 16px; font-weight: 700; color: var(--navy); }
.contact-list span { display: block; color: #6a7580; font-size: 13px; font-weight: 600; }
.form-card, .req-list {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 22px;
	box-shadow: var(--shadow);
}
.form-card label { display: block; font-weight: 700; color: var(--navy); margin-bottom: 12px; }
.form-card input, .form-card textarea {
	width: 100%;
	margin-top: 6px;
	padding: 10px 12px;
	border: 1px solid var(--line);
	border-radius: 8px;
	font: inherit;
}
.form-ok { color: #0a7a3e; font-weight: 800; }
.form-error { color: #b42318; font-weight: 800; }
.req-list { margin-top: 28px; }
.req-list div { display: grid; grid-template-columns: 220px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.req-list dt { color: #6a7580; font-weight: 700; }
.req-list dd { margin: 0; color: var(--navy); font-weight: 800; }
.prose { max-width: 78ch; padding-top: 28px; }

.site-footer { background: var(--mist); color: #4d5863; border-top: 1px solid var(--line); padding-top: 36px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; padding-bottom: 24px; }
.footer-brand .logo { margin-bottom: 12px; }
.footer-brand .logo img { height: 42px; }
.site-footer h3 { font-size: 16px; }
.footer-menu, .footer-contacts { list-style: none; padding: 0; margin: 0; }
.footer-menu a, .footer-contacts a { color: var(--navy); font-weight: 700; }
.footer-menu li, .footer-contacts li { margin-bottom: 8px; }
.footer-bottom { border-top: 1px solid var(--line); padding: 14px 0 18px; font-size: 13px; }
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; gap: 8px 24px; flex-wrap: wrap; }
.footer-bottom a { color: var(--navy); font-weight: 700; }

.rail-tab {
	position: fixed;
	z-index: 70;
	right: 0;
	top: 50%;
	transform: translateY(-50%) rotate(180deg);
	writing-mode: vertical-rl;
	border: 0;
	border-radius: 0 12px 12px 0;
	background: var(--navy);
	color: #fff;
	font: inherit;
	font-weight: 800;
	letter-spacing: .14em;
	text-transform: uppercase;
	font-size: 13px;
	padding: 18px 12px;
	cursor: pointer;
}
.rail-tab:hover { background: var(--blue); }
.panel-overlay {
	position: fixed;
	inset: 0;
	z-index: 80;
	background: rgba(12, 39, 72, .46);
}
.panel-overlay[hidden] { display: none; }
.panel-drawer {
	position: absolute;
	top: 0;
	right: 0;
	width: 70%;
	height: 100%;
	background: #fff;
	box-shadow: -24px 0 60px rgba(18, 59, 109, .18);
	display: flex;
	align-items: center;
	justify-content: center;
	animation: ms-drawer .32s ease;
}
@keyframes ms-drawer {
	from { transform: translateX(100%); }
	to { transform: translateX(0); }
}
.panel-close {
	position: absolute;
	top: 14px;
	right: 14px;
	width: 40px;
	height: 40px;
	border: 0;
	background: var(--mist);
	color: var(--navy);
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
}
.panel-center { text-align: center; width: 100%; padding: 64px 40px; }
.panel-center h2 { font-size: clamp(32px, 4vw, 52px); margin: 0 0 40px; }
.panel-icons {
	display: flex;
	justify-content: center;
	align-items: flex-start;
	gap: 36px;
}
.panel-icons a {
	width: 120px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	color: var(--navy);
	font-size: 15px;
	font-weight: 800;
}
.panel-ico {
	width: 76px;
	height: 76px;
	display: grid;
	place-items: center;
	background: var(--navy);
	border-radius: 20px;
}
.panel-ico svg {
	width: 34px;
	height: 34px;
	fill: none;
	stroke: #fff;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}
.panel-ico img { width: 40px; height: 40px; object-fit: contain; }
.panel-icons a:hover .panel-ico { background: var(--blue); }
body.panel-open { overflow: hidden; }
body.panel-open .rail-tab { visibility: hidden; }

@media (max-width: 1100px) {
	.card-grid.four { grid-template-columns: repeat(2, 1fr); }
	.hero-inner, .drawing-stage, .split, .benefit-grid, .footer-grid { grid-template-columns: 1fr; }
	.hero-mark { display: none; }
	.drawing-stage figcaption { padding: 0 18px 18px; }
}
@media (max-width: 800px) {
	body { padding-right: 0; padding-bottom: 64px; }
	.header-inner { grid-template-columns: 1fr auto; }
	.header-cta { display: none; }
	.nav-toggle { display: block; }
	.site-nav { display: none; grid-column: 1 / -1; padding-bottom: 12px; }
	.site-nav.is-open { display: block; }
	.site-nav .menu { flex-direction: column; align-items: flex-start; }
	.site-nav .menu > li { width: 100%; }
	.site-nav .menu-item-has-children { display: flex; flex-wrap: wrap; align-items: center; width: 100%; }
	.site-nav .menu-item-has-children > a { flex: 1; }
	.site-nav .menu-item-has-children > .sub-menu { flex-basis: 100%; }
	.site-nav .sub-menu > .menu-item-has-children > a::after { display: none; }
	.submenu-toggle {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		align-self: center;
		width: 28px;
		height: 22px;
		margin-left: auto;
		border: 0;
		background: transparent;
		color: var(--navy);
		cursor: pointer;
	}
	.submenu-toggle::before {
		content: "";
		width: 6px;
		height: 6px;
		border-right: 2px solid currentColor;
		border-bottom: 2px solid currentColor;
		transform: translateY(-2px) rotate(45deg);
	}
	.site-nav li.is-sub-open > .submenu-toggle::before { transform: translateY(2px) rotate(225deg); }
	.site-nav .sub-menu,
	.site-nav .menu > li:hover > .sub-menu,
	.site-nav .menu > li:focus-within > .sub-menu {
		display: none;
		position: static;
		width: auto;
		column-count: 1;
		padding: 0 0 8px 12px;
		border: 0;
		border-radius: 0;
		box-shadow: none;
		background: transparent;
	}
	.site-nav li.is-sub-open > .sub-menu { display: block; }
	.site-nav .sub-menu .sub-menu { display: none; padding-left: 10px; }
	.site-nav .sub-menu li.is-sub-open > .sub-menu { display: block; }
	.card-grid.three, .card-grid.four { grid-template-columns: 1fr; }
	.cta-band .container, .req-list div { display: block; }
	.rail-tab {
		top: auto;
		bottom: 0;
		left: 0;
		right: 0;
		transform: none;
		writing-mode: horizontal-tb;
		border-radius: 0;
		letter-spacing: .08em;
	}
	.panel-drawer { width: 100%; }
	.panel-center { padding: 56px 12px; }
	.panel-center h2 { margin-bottom: 28px; }
	.panel-icons { gap: 10px; }
	.panel-icons a { width: 72px; font-size: 12px; gap: 8px; }
	.panel-ico { width: 58px; height: 58px; border-radius: 16px; }
	.panel-ico svg { width: 26px; height: 26px; }
	.panel-ico img { width: 30px; height: 30px; }
	.table-toolbar { flex-wrap: wrap; }
	.table-filter { flex: 1 1 100%; min-width: 0; }
	.product-table { min-width: 0; }
	.product-table thead { display: none; }
	.product-table tr { display: block; padding: 14px 16px 16px; }
	.product-table td { display: block; border: 0; padding: 0; }
	.product-table td + td { margin-top: 6px; }
	.product-table td[data-label]::before {
		content: attr(data-label);
		margin-right: 6px;
		color: #6a7580;
		font-weight: 600;
		font-size: 12px;
	}
	.product-table td:first-child { color: var(--navy); font-weight: 800; }
	.product-table td:last-child { margin-top: 10px; }
	.product-table td:last-child .btn { width: 100%; }
}
