:root {
	--bg: #0f1419;
	--surface: #182029;
	--surface-2: #1f2a36;
	--text: #e8eef4;
	--muted: #9aabba;
	--accent: #e8a317;
	--accent-2: #2f80ed;
	--line: rgba(255, 255, 255, 0.08);
	--radius: 12px;
	--max: 1120px;
	--font: "Segoe UI", system-ui, -apple-system, Roboto, Ubuntu, sans-serif;
}

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

html { scroll-behavior: smooth; }

body.catalog-page {
	margin: 0;
	font-family: var(--font);
	color: var(--text);
	background: linear-gradient(180deg, #10161d 0%, #0c1116 100%);
	line-height: 1.55;
	min-height: 100vh;
}

img { max-width: 100%; height: auto; }

a {
	color: var(--accent);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.15em;
}

a:hover { color: #ffc14d; }

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	background: #000;
	color: #fff;
	padding: 0.5rem 1rem;
	z-index: 1000;
}

.skip-link:focus { left: 0.5rem; top: 0.5rem; }

.site-header {
	border-bottom: 1px solid var(--line);
	background: rgba(15, 20, 25, 0.92);
	backdrop-filter: blur(8px);
	position: sticky;
	top: 0;
	z-index: 50;
}

.site-header__bar {
	max-width: var(--max);
	margin: 0 auto;
	padding: 0.85rem 1.25rem;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem 1.25rem;
}

.logo {
	display: flex;
	flex-direction: column;
	color: var(--text);
	text-decoration: none;
	font-weight: 700;
	line-height: 1.15;
	min-width: 8rem;
}

.logo span:last-child {
	font-size: 0.75rem;
	font-weight: 500;
	color: var(--muted);
}

.nav-toggle {
	margin-left: auto;
	background: var(--surface-2);
	color: var(--text);
	border: 1px solid var(--line);
	border-radius: 999px;
	padding: 0.45rem 0.9rem;
	cursor: pointer;
	display: none;
}

.site-header__nav { flex: 1; }

.cat-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 0.55rem 1rem;
}

.cat-nav a {
	color: var(--text);
	text-decoration: none;
	font-size: 0.95rem;
}

.cat-nav a[aria-current="page"],
.cat-nav a:hover { color: var(--accent); }

.site-header__contacts {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 0.15rem;
	font-size: 0.9rem;
}

.site-header__contacts a {
	color: var(--text);
	text-decoration: none;
}

.breadcrumbs {
	max-width: var(--max);
	margin: 0 auto;
	padding: 0 1.25rem 0.75rem;
}

.breadcrumbs ol {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem 0.5rem;
	margin: 0;
	padding: 0;
	font-size: 0.85rem;
	color: var(--muted);
}

.breadcrumbs li:not(:last-child)::after {
	content: "/";
	margin-left: 0.5rem;
	color: var(--muted);
}

.breadcrumbs a {
	color: var(--muted);
	text-decoration: none;
}

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

.main {
	max-width: var(--max);
	margin: 0 auto;
	padding: 1.5rem 1.25rem 5rem;
}

.hero {
	background: radial-gradient(circle at top right, rgba(232, 163, 23, 0.12), transparent 45%), var(--surface);
	border: 1px solid var(--line);
	border-radius: calc(var(--radius) + 4px);
	padding: 1.75rem 1.5rem;
	margin-bottom: 1.5rem;
}

.eyebrow {
	margin: 0 0 0.75rem;
	color: var(--accent);
	font-size: 0.9rem;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.hero h1 {
	margin: 0 0 0.85rem;
	font-size: clamp(1.55rem, 2.4vw, 2.15rem);
	line-height: 1.2;
}

.lead {
	margin: 0;
	color: var(--muted);
	max-width: 62ch;
}

.hero-cta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin: 1.25rem 0 0;
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 2.75rem;
	padding: 0.65rem 1.15rem;
	border-radius: 999px;
	background: var(--accent);
	color: #1a1200;
	font-weight: 700;
	text-decoration: none;
	border: 0;
	cursor: pointer;
}

.btn:hover {
	color: #1a1200;
	filter: brightness(1.05);
}

.btn_ghost {
	background: transparent;
	color: var(--text);
	border: 1px solid var(--line);
}

.btn_ghost:hover { color: var(--accent); }

.section {
	margin: 1.75rem 0;
	padding: 1.35rem 1.25rem;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
}

.section h2 {
	margin: 0 0 1rem;
	font-size: 1.25rem;
}

.section h3 {
	margin: 0 0 0.4rem;
	font-size: 1.05rem;
}

.cards {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 0.85rem;
}

.card {
	background: var(--surface-2);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 1rem;
}

.card a {
	color: inherit;
	text-decoration: none;
	display: block;
	height: 100%;
}

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

.card p {
	margin: 0;
	color: var(--muted);
	font-size: 0.95rem;
}

.plain-list {
	margin: 0;
	padding-left: 1.2rem;
}

.plain-list li + li { margin-top: 0.4rem; }

.muted { color: var(--muted); }

.spec-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.95rem;
}

.spec-table th,
.spec-table td {
	border-bottom: 1px solid var(--line);
	padding: 0.65rem 0.5rem;
	text-align: left;
	vertical-align: top;
}

.spec-table th {
	width: 40%;
	color: var(--text);
}

.spec-table td { color: var(--muted); }

.process {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.55rem;
}

.process li {
	display: flex;
	gap: 0.75rem;
	align-items: flex-start;
	padding: 0.55rem 0.65rem;
	background: var(--surface-2);
	border-radius: 10px;
}

.step-n {
	flex: 0 0 1.6rem;
	height: 1.6rem;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: rgba(232, 163, 23, 0.18);
	color: var(--accent);
	font-weight: 700;
	font-size: 0.85rem;
}

.faq-item {
	border-top: 1px solid var(--line);
	padding: 0.75rem 0;
}

.faq-item:last-child { border-bottom: 1px solid var(--line); }

.faq-item summary {
	cursor: pointer;
	list-style: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item h3 {
	display: inline;
	font-size: 1rem;
}

.faq-item p {
	margin: 0.65rem 0 0;
	color: var(--muted);
}

.offer-box { border-color: rgba(232, 163, 23, 0.35); }

.form-section {
	background: linear-gradient(180deg, rgba(47, 128, 237, 0.08), transparent 40%), var(--surface);
}

.form { max-width: 42rem; }

.form__title {
	margin: 0 0 0.4rem;
	font-size: 1.35rem;
}

.form__note {
	margin: 0 0 1rem;
	color: var(--muted);
}

.form__fields {
	display: grid;
	gap: 0.85rem;
}

.form__field {
	display: grid;
	gap: 0.35rem;
}

.form__field label {
	font-size: 0.9rem;
	color: var(--muted);
}

.form input[type="text"],
.form input[type="email"],
.form input[type="tel"],
.form select,
.form textarea {
	width: 100%;
	border: 1px solid var(--line);
	background: #0d1218;
	color: var(--text);
	border-radius: 10px;
	padding: 0.7rem 0.8rem;
	font: inherit;
	min-height: 2.75rem;
}

.form textarea {
	min-height: 7rem;
	resize: vertical;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
	outline: 2px solid rgba(232, 163, 23, 0.55);
	outline-offset: 1px;
	border-color: rgba(232, 163, 23, 0.55);
}

.form input:disabled,
.form select:disabled,
.form textarea:disabled,
.form button:disabled {
	opacity: 0.65;
	cursor: not-allowed;
}

.form__field_region {
	position: absolute !important;
	left: -10000px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

.form__field_agree {
	display: flex;
	gap: 0.65rem;
	align-items: flex-start;
	grid-template-columns: none;
}

.form__field_agree input {
	margin-top: 0.25rem;
	width: auto;
	min-height: auto;
}

.form__submit {
	justify-self: start;
	min-height: 2.85rem;
	padding: 0.7rem 1.3rem;
	border: 0;
	border-radius: 999px;
	background: var(--accent);
	color: #1a1200;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}

.form__alert {
	min-height: 1.25rem;
	margin-bottom: 0.75rem;
}

.form__alert_success { color: #8ce99a; }

.form__alert .loading {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	color: var(--muted);
}

.site-footer {
	border-top: 1px solid var(--line);
	padding: 2rem 1.25rem 5rem;
	background: #0a0e12;
}

.site-footer__grid {
	max-width: var(--max);
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 1.25rem;
	color: var(--muted);
}

.site-footer a {
	color: var(--text);
	text-decoration: none;
}

.site-footer a:hover { color: var(--accent); }

.copy {
	max-width: var(--max);
	margin: 1.5rem auto 0;
	color: var(--muted);
	font-size: 0.85rem;
}

.linkish {
	background: none;
	border: 0;
	padding: 0;
	color: var(--text);
	font: inherit;
	cursor: pointer;
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

.sticky-cta {
	position: fixed;
	right: 1rem;
	bottom: 1rem;
	z-index: 40;
	background: var(--accent);
	color: #1a1200;
	font-weight: 700;
	text-decoration: none;
	padding: 0.8rem 1.1rem;
	border-radius: 999px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.sticky-cta:hover { color: #1a1200; }

.cookie-consent {
	position: fixed;
	left: 1rem;
	right: 1rem;
	bottom: 1rem;
	z-index: 80;
	max-width: 36rem;
	margin: 0 auto;
	background: #121820;
	color: var(--text);
	border: 1px solid var(--line);
	border-radius: 14px;
	padding: 1rem 1.1rem;
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
	transform: translateY(120%);
	opacity: 0;
	transition: transform 0.25s ease, opacity 0.25s ease;
}

.cookie-consent_open {
	transform: translateY(0);
	opacity: 1;
}

.cookie-consent__text {
	margin: 0 0 0.85rem;
	font-size: 0.92rem;
	color: var(--muted);
}

.cookie-consent__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.cookie-consent__accept,
.cookie-consent__leave,
.cookie-consent__decline {
	border: 0;
	border-radius: 999px;
	padding: 0.55rem 0.95rem;
	font: inherit;
	cursor: pointer;
}

.cookie-consent__accept {
	background: var(--accent);
	color: #1a1200;
	font-weight: 700;
}

.cookie-consent__leave,
.cookie-consent__decline {
	background: var(--surface-2);
	color: var(--text);
	border: 1px solid var(--line);
}

@media (max-width: 820px) {
	.nav-toggle { display: inline-flex; }

	.site-header__nav {
		display: none;
		width: 100%;
		order: 5;
	}

	.site-header__nav.is-open { display: block; }

	.cat-nav {
		flex-direction: column;
		padding: 0.5rem 0 0.25rem;
	}

	.site-header__contacts { display: none; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.cookie-consent { transition: none; }
}
