/*
Theme Name: SW Install
Theme URI: https://example.com/
Author: SW Install Team
Description: Тема сайта SW-Install — монтаж технологического оборудования
Version: 0.1.0
Text Domain: sw-install
*/

@import url('https://fonts.googleapis.com/css2?family=Exo+2:wght@400;500;600;700;800&family=Geologica:wght@300;400;500;600&family=IBM+Plex+Mono:wght@400;500&display=swap');

:root {
	--bg: #0B0F14;
	--bg2: #111820;
	--card: #18212B;
	--deep: #132033;
	--text: #F6F8FB;
	--muted: #A8B1BD;
	--tech: #6F7C8A;
	--line: #2B3642;
	--accent: #FED100;
	--accent-2: #FFDE4D;
	--accent-ink: #0B0F14;
	--glass: rgba(255, 255, 255, 0.05);
	--glass-dark: rgba(20, 24, 29, 0.64);
	--radius: 10px;
	--wrap: 1100px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: 'Geologica', sans-serif;
	font-weight: 300;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; border: none; background: none; color: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--accent-ink); }

h1, h2, h3, h4 {
	font-family: 'Exo 2', sans-serif;
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.08;
	margin: 0 0 16px;
	color: var(--text);
}

p { margin: 0 0 16px; color: var(--muted); font-weight: 300; }

.mono { font-family: 'IBM Plex Mono', monospace; letter-spacing: 0.04em; }

.wrap {
	max-width: var(--wrap);
	margin: 0 auto;
	padding: 0 56px;
	position: relative;
}
@media (max-width: 768px) { .wrap { padding: 0 20px; } }
.container { max-width: var(--wrap); margin: 0 auto; padding: 0 56px; }
@media (max-width: 768px) { .container { padding: 0 20px; } }

/* Background texture */
.bg-canvas {
	position: fixed; inset: 0; z-index: -1; pointer-events: none;
	background:
		radial-gradient(circle at 18% 15%, rgba(254,209,0,0.10), transparent 34%),
		radial-gradient(circle at 82% 8%, rgba(255,222,77,0.07), transparent 30%),
		linear-gradient(160deg, #0B0F14 0%, #111820 45%, #0D1218 100%);
}

/* ===================== Section scaffold ===================== */
section.block { padding: 88px 0; position: relative; }
section.block.tight { padding: 56px 0; }
@media (max-width: 768px) { section.block { padding: 56px 0; } }

.sec-tag {
	font-family: 'IBM Plex Mono', monospace;
	font-size: 11px;
	color: var(--tech);
	letter-spacing: 0.16em;
	text-transform: uppercase;
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 24px;
}
.sec-tag::before { content: ""; width: 32px; height: 1px; background: var(--accent); }

.sec-title { font-size: clamp(30px, 4vw, 52px); }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; margin-bottom: 44px; flex-wrap: wrap; }
.sec-lede { color: var(--muted); font-size: 16px; line-height: 1.65; max-width: 560px; }

/* ===================== Buttons ===================== */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 14px 24px;
	font-weight: 600;
	font-size: 13.5px;
	letter-spacing: 0.02em;
	border: 1px solid transparent;
	border-radius: var(--radius);
	cursor: pointer;
	transition: filter .2s, box-shadow .25s, transform .15s, border-color .2s, color .2s, background .2s;
}
.btn--primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 0 0 0 rgba(254,209,0,0); }
.btn--primary:hover { filter: brightness(1.06); box-shadow: 0 0 32px rgba(254,209,0,.45); }
.btn--primary:active { transform: translateY(1px); }
.btn--outline, .btn--ghost {
	background: rgba(255,255,255,0.04);
	color: var(--text);
	border-color: rgba(255,255,255,0.14);
	backdrop-filter: blur(10px);
}
.btn--outline:hover, .btn--ghost:hover { border-color: rgba(255,222,77,.5); color: var(--accent-2); box-shadow: 0 0 24px rgba(255,222,77,.18); }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

/* ===================== Header ===================== */
.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	transition: background-color .35s ease, border-color .35s ease, backdrop-filter .35s ease;
	border-bottom: 1px solid transparent;
	background: rgba(11,15,20,0.55);
	backdrop-filter: blur(14px);
}
.site-header.is-scrolled {
	background: rgba(11,15,20,0.86);
	backdrop-filter: blur(18px);
	-webkit-backdrop-filter: blur(18px);
	border-bottom-color: var(--line);
}
.site-header__inner {
	max-width: var(--wrap);
	margin: 0 auto;
	padding: 0 56px;
	display: flex;
	align-items: center;
	gap: 24px;
	height: 78px;
}
@media (max-width: 768px) { .site-header__inner { padding: 0 20px; } }

.site-logo { display: flex; flex-direction: column; gap: 6px; flex-shrink: 0; }
.site-logo__mark { display: inline-flex; align-items: center; gap: 9px; }
.site-logo__icon { display: block; height: 26px; width: auto; }
.site-logo__word { font-family: 'Exo 2', sans-serif; font-weight: 800; font-size: 21px; letter-spacing: -0.01em; color: var(--text); }
.site-logo__mark:hover .site-logo__word { color: var(--accent-2); }
.site-logo__credit {
	font-family: 'IBM Plex Mono', monospace; font-size: 10px; color: var(--tech);
	letter-spacing: 0.04em;
}
.site-logo__credit span {
	color: var(--muted);
	text-decoration: underline;
	text-decoration-color: rgba(255,255,255,0.25);
	text-underline-offset: 2px;
}
.site-logo__credit:hover span { color: var(--accent-2); text-decoration-color: var(--accent-2); }

.main-nav { flex: 1; margin-left: 8px; min-width: 0; }
.main-nav ul { list-style: none; display: flex; gap: 12px; margin: 0; padding: 0; flex-wrap: nowrap; }
.main-nav a { font-size: 13px; color: var(--muted); transition: color .2s; white-space: nowrap; }
.main-nav a:hover { color: var(--text); }

.header-cta { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.header-phone { font-family: 'Exo 2', sans-serif; font-weight: 600; font-size: 15px; color: var(--text); white-space: nowrap; transition: color .2s; display: flex; flex-direction: column; line-height: 1.3; }
.header-phone small { font-family: 'IBM Plex Mono', monospace; color: var(--tech); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 400; }
.header-phone:hover { color: var(--accent-2); }
@media (max-width: 1020px) { .header-phone { display: none; } }

.nav-toggle {
	display: none;
	width: 40px; height: 40px;
	border: 1px solid var(--line);
	background: rgba(255,255,255,0.03);
	border-radius: 8px;
	align-items: center; justify-content: center;
	flex-direction: column; gap: 4px;
}
.nav-toggle span { display: block; width: 16px; height: 1.5px; background: var(--text); }
@media (max-width: 1180px) {
	.main-nav { display: none; }
	.nav-toggle { display: flex; }
}
.site-header.nav-open .main-nav {
	display: flex;
	position: absolute;
	top: 78px; left: 0; right: 0;
	background: rgba(11,15,20,0.98);
	backdrop-filter: blur(18px);
	border-bottom: 1px solid var(--line);
	padding: 20px 20px 28px;
}
.site-header.nav-open .main-nav ul { flex-direction: column; gap: 18px; }

/* ===================== Hero ===================== */
.hero { position: relative; padding: 120px 0 72px; overflow: hidden; }
.hero-photo {
	position: absolute; inset: 0; z-index: 0;
	background-image: var(--hero-photo, none);
	background-size: cover;
	background-position: center 38%;
}
.hero-photo::after {
	content: "";
	position: absolute; inset: 0;
	background: linear-gradient(100deg, rgba(11,15,20,.95) 0%, rgba(11,15,20,.88) 32%, rgba(11,15,20,.66) 58%, rgba(11,15,20,.38) 100%);
}
.hero-glow-a, .hero-glow-b { position: absolute; pointer-events: none; z-index: 1; filter: blur(50px); border-radius: 50%; }
.hero-glow-a {
	width: 560px; height: 560px; left: -120px; top: -60px;
	background: radial-gradient(circle, rgba(254,209,0,0.22), transparent 60%);
	animation: glow-drift-a 16s ease-in-out infinite;
}
.hero-glow-b {
	width: 640px; height: 640px; right: -180px; top: 60px;
	background: radial-gradient(circle, rgba(255,222,77,0.14), transparent 60%);
	animation: glow-drift-b 20s ease-in-out infinite;
}
@keyframes glow-drift-a {
	0%, 100% { transform: translate(0, 0) scale(1); opacity: 1; }
	50% { transform: translate(40px, 30px) scale(1.12); opacity: .75; }
}
@keyframes glow-drift-b {
	0%, 100% { transform: translate(0, 0) scale(1); opacity: .85; }
	50% { transform: translate(-50px, -25px) scale(1.08); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
	.hero-glow-a, .hero-glow-b { animation: none; }
}
.hero__inner { position: relative; z-index: 2; }

.eyebrow {
	display: inline-block;
	font-family: 'IBM Plex Mono', monospace; font-size: 11px; color: var(--accent-2);
	letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 26px;
	background: rgba(255,222,77,0.12);
	padding: 3px 9px;
}
.hero .eyebrow {
	padding: 8px 16px 8px 14px;
	background: rgba(255,255,255,0.05);
	border: 1px solid rgba(255,255,255,0.1);
	border-radius: var(--radius);
	backdrop-filter: blur(10px);
}

h1 { font-size: clamp(32px, 4.4vw, 56px); }
.hero h1 { margin-bottom: 26px; }
.lede { color: var(--muted); font-size: 17.5px; line-height: 1.65; max-width: 640px; }

.stat-row {
	display: flex; flex-wrap: wrap; gap: 40px; margin-top: 40px;
}
.stat-row__num {
	font-family: 'Exo 2', sans-serif; font-weight: 800; font-size: clamp(28px, 3.2vw, 40px);
	color: var(--accent-2); line-height: 1;
}
.stat-row__label {
	font-family: 'IBM Plex Mono', monospace; font-size: 11.5px; color: var(--tech);
	letter-spacing: 0.04em; margin-top: 8px; max-width: 160px; line-height: 1.4;
}

.fact-row {
	display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px;
}
.fact {
	flex: 1 1 200px;
	padding: 18px 22px;
	background: rgba(24,33,43,0.42);
	backdrop-filter: blur(18px) saturate(1.2);
	-webkit-backdrop-filter: blur(18px) saturate(1.2);
	border: 1px solid rgba(255,255,255,0.09);
	border-radius: 14px;
	box-shadow: 0 8px 28px rgba(0,0,0,0.22), inset 0 1px 0 rgba(255,255,255,0.05);
	font-family: 'IBM Plex Mono', monospace;
	font-size: 12px;
	letter-spacing: 0.02em;
	color: var(--muted);
	line-height: 1.5;
}
.fact::before { content: "—"; color: var(--accent); margin-right: 8px; }

/* ===================== Fork / split cards ===================== */
.fork { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 8px; }
.fork--4 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 700px) { .fork--4 { grid-template-columns: 1fr; } }
.fork-card__list { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.fork-card__list li { font-size: 13.5px; color: var(--muted); padding-left: 16px; position: relative; }
.fork-card__list li::before { content: "—"; position: absolute; left: 0; color: var(--accent-2); }
@media (max-width: 760px) { .fork { grid-template-columns: 1fr; } }
.fork-card {
	background: rgba(24,33,43,0.38);
	backdrop-filter: blur(20px) saturate(1.2);
	-webkit-backdrop-filter: blur(20px) saturate(1.2);
	border: 1px solid rgba(255,255,255,0.09);
	border-radius: 16px;
	box-shadow: 0 10px 36px rgba(0,0,0,0.24), inset 0 1px 0 rgba(255,255,255,0.06);
	padding: 40px;
	display: flex;
	flex-direction: column;
	transition: border-color .25s, transform .25s, box-shadow .25s;
	position: relative;
}
.fork-card:hover { border-color: rgba(254,209,0,0.35); transform: translateY(-3px); box-shadow: 0 16px 48px rgba(0,0,0,0.32), 0 0 0 1px rgba(254,209,0,0.1); }
.fork-card__tag {
	font-family: 'IBM Plex Mono', monospace;
	font-size: 11px; color: var(--accent-2);
	letter-spacing: 0.1em; text-transform: uppercase;
	margin-bottom: 18px;
}
.fork-card h3 { font-size: clamp(20px, 2.4vw, 26px); }
.fork-card p { flex: 1; font-size: 15px; }
.fork-card .btn { align-self: flex-start; margin-top: 8px; }

/* ===================== Grid / generic cards ===================== */
.grid { display: grid; gap: 18px; }
.grid.gap-loose { gap: 22px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

/* Plain two-column layout for non-uniform pairs (e.g. text next to a form) — no divider lines */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 40px; } }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card {
	background: rgba(24,33,43,0.38);
	backdrop-filter: blur(20px) saturate(1.2);
	-webkit-backdrop-filter: blur(20px) saturate(1.2);
	border: 1px solid rgba(255,255,255,0.09);
	border-radius: 14px;
	box-shadow: 0 8px 32px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.06);
	padding: 28px;
}
.card h3 { font-size: 18px; margin-bottom: 10px; }
.card p { font-size: 14.5px; margin-bottom: 0; }

/* ===================== Logo strip ===================== */
.logo-strip {
	display: flex; flex-wrap: wrap; gap: 12px 32px;
	font-family: 'Exo 2', sans-serif; font-weight: 600; font-size: 15px;
	color: var(--tech);
}
.logo-strip span { white-space: nowrap; }

.catalog-card__country { font-weight: 400; color: var(--tech); font-size: 13px; }

/* ===================== Catalog / equip-showcase ===================== */
.catalog-card {
	background: rgba(24,33,43,0.38);
	backdrop-filter: blur(20px) saturate(1.2);
	-webkit-backdrop-filter: blur(20px) saturate(1.2);
	border: 1px solid rgba(255,255,255,0.09);
	border-radius: 14px;
	box-shadow: 0 8px 28px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.05);
	padding: 24px 22px 22px;
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 10px;
	overflow: hidden;
	transition: border-color .25s, transform .25s, box-shadow .25s;
}
.catalog-card::before {
	content: "";
	display: block;
	height: 84px;
	margin: -24px -22px 16px;
	background:
		repeating-linear-gradient(120deg, rgba(255,255,255,0.035) 0 1px, transparent 1px 12px),
		linear-gradient(140deg, #1d2c3c 0%, #141f2a 100%);
	border-bottom: 1px solid rgba(255,255,255,0.08);
}
.catalog-card:hover::before {
	background:
		repeating-linear-gradient(120deg, rgba(254,209,0,0.14) 0 1px, transparent 1px 12px),
		linear-gradient(140deg, #26222e 0%, #141f2a 100%);
}
.catalog-card h3 { font-size: 16.5px; margin-bottom: 0; line-height: 1.3; }
.catalog-card p { font-size: 13.5px; margin-bottom: 6px; flex: 1; color: var(--muted); }
.catalog-card .btn { align-self: flex-start; padding: 10px 18px; font-size: 12.5px; }
.catalog-card:hover { border-color: rgba(254,209,0,0.35); transform: translateY(-2px); box-shadow: 0 14px 40px rgba(0,0,0,0.28), 0 0 0 1px rgba(254,209,0,0.1); }

/* ===================== Flow / step timeline ===================== */
.step-list { display: grid; gap: 16px; }
.step {
	position: relative;
	background: rgba(24,33,43,0.38);
	backdrop-filter: blur(20px) saturate(1.2);
	-webkit-backdrop-filter: blur(20px) saturate(1.2);
	border: 1px solid rgba(255,255,255,0.09);
	border-radius: 14px;
	box-shadow: 0 8px 32px rgba(0,0,0,0.22), inset 0 1px 0 rgba(255,255,255,0.06);
	padding: 22px 26px;
	display: flex;
	gap: 18px;
	align-items: flex-start;
	margin-bottom: 0;
	transition: transform .25s, border-color .25s, box-shadow .25s;
}
.step:hover { transform: translateY(-2px); border-color: rgba(254,209,0,.35); box-shadow: 0 14px 40px rgba(0,0,0,.3), 0 0 0 1px rgba(254,209,0,0.08); }
.step__num {
	flex: none;
	width: 40px; height: 40px;
	display: flex; align-items: center; justify-content: center;
	border-radius: 11px;
	background: rgba(254,209,0,0.1);
	border: 1px solid rgba(254,209,0,0.25);
	font-family: 'IBM Plex Mono', monospace; font-weight: 500; font-size: 14px;
	color: var(--accent-2);
	text-transform: none;
}
.step__num::before { content: ""; }
.step h3 { font-size: 17px; margin-bottom: 6px; }
.step p { font-size: 14px; margin-bottom: 0; }

/* ===================== Why list ===================== */
.why-list { display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr); }
@media (max-width: 700px) { .why-list { grid-template-columns: 1fr; } }
.why-item {
	display: flex; gap: 16px;
	background: rgba(24,33,43,0.38);
	backdrop-filter: blur(20px) saturate(1.2);
	-webkit-backdrop-filter: blur(20px) saturate(1.2);
	border: 1px solid rgba(255,255,255,0.09);
	border-radius: 14px;
	box-shadow: 0 8px 32px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.06);
	padding: 24px 26px;
	transition: border-color .25s, transform .25s;
}
.why-item:hover { border-color: rgba(254,209,0,.3); transform: translateY(-2px); }
.why-item__icon {
	flex: none; width: 34px; height: 34px;
	display: flex; align-items: center; justify-content: center;
	border-radius: 10px;
	font-family: 'IBM Plex Mono', monospace; font-weight: 500; font-size: 12px;
	color: var(--accent-2);
	background: rgba(254,209,0,0.1);
	border: 1px solid rgba(254,209,0,0.22);
}
.why-item h4 { margin: 0 0 6px; font-size: 15.5px; color: var(--text); font-family: 'Exo 2', sans-serif; font-weight: 600; }
.why-item p { margin: 0; font-size: 14px; }

/* ===================== Industries chips ===================== */
.chip-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 760px) { .chip-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .chip-grid { grid-template-columns: 1fr; } }
.chip {
	background: rgba(24,33,43,0.38);
	backdrop-filter: blur(16px);
	border: 1px solid rgba(255,255,255,0.09);
	border-radius: 12px;
	padding: 20px 22px;
}
.chip strong { display: block; color: var(--text); margin-bottom: 6px; font-size: 14.5px; font-family: 'Exo 2', sans-serif; font-weight: 600; }
.chip span { font-size: 13px; color: var(--muted); }

/* ===================== Portfolio / case cards ===================== */
.case-card {
	position: relative; overflow: hidden;
	background: rgba(24,33,43,0.38);
	backdrop-filter: blur(20px) saturate(1.2);
	border: 1px solid rgba(255,255,255,0.09);
	border-radius: 14px;
	box-shadow: 0 10px 36px rgba(0,0,0,0.24), inset 0 1px 0 rgba(255,255,255,0.06);
	transition: border-color .25s, transform .25s;
}
.case-card:hover { border-color: rgba(254,209,0,.35); transform: translateY(-3px); }
.case-card__media {
	height: 180px;
	position: relative;
	background:
		repeating-linear-gradient(135deg, rgba(255,255,255,0.035) 0 1px, transparent 1px 14px),
		linear-gradient(155deg, #1d2c3c 0%, #101a24 100%);
	border-bottom: 1px solid rgba(255,255,255,0.08);
	display: flex; align-items: flex-end; padding: 14px 16px;
	font-family: 'IBM Plex Mono', monospace; font-size: 10.5px; letter-spacing: 0.08em;
	text-transform: uppercase; color: var(--tech);
}
.case-card:hover .case-card__media { color: var(--accent-2); }
.case-card__body { padding: 18px 20px 22px; }
.case-card__body h4 { margin: 0 0 8px; font-size: 15px; }
.case-card__body p { margin: 0; font-size: 13px; }

/* ===================== Materials table ===================== */
.table-wrap { overflow-x: auto; border: 1px solid rgba(255,255,255,0.09); border-radius: 14px; }
table.sw-table { width: 100%; border-collapse: collapse; min-width: 560px; }
table.sw-table th, table.sw-table td { text-align: left; padding: 15px 20px; font-size: 14px; border-bottom: 1px solid rgba(255,255,255,0.08); color: var(--muted); }
table.sw-table th { background: rgba(255,255,255,0.03); color: var(--text); font-weight: 600; font-family: 'Exo 2', sans-serif; font-size: 12.5px; text-transform: uppercase; letter-spacing: .06em; }
table.sw-table tr:last-child td { border-bottom: none; }
table.sw-table td:first-child { color: var(--text); font-weight: 500; }

/* ===================== FAQ (native accordion) ===================== */
.faq-item { border-bottom: 1px solid rgba(255,255,255,0.08); padding: 20px 0; }
.faq-item:first-child { padding-top: 0; }
.faq-item summary {
	list-style: none;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	font-size: 16px;
	font-family: 'Exo 2', sans-serif;
	font-weight: 600;
	color: var(--text);
	padding: 4px 0;
	transition: color .2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
	content: "+";
	flex: none;
	width: 28px; height: 28px;
	border-radius: 8px;
	border: 1px solid rgba(255,255,255,0.12);
	background: rgba(255,255,255,0.03);
	display: flex; align-items: center; justify-content: center;
	font-family: 'IBM Plex Mono', monospace;
	font-size: 15px; font-weight: 400;
	color: var(--accent-2);
	transition: transform .25s ease, border-color .25s ease;
}
.faq-item:hover summary { color: var(--accent-2); }
.faq-item[open] summary::after { transform: rotate(45deg); border-color: var(--accent); }
.faq-item p { margin: 12px 0 0; font-size: 14.5px; }
@keyframes faq-reveal { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } }
.faq-item[open] p { animation: faq-reveal .2s ease; }

/* ===================== Forms (glass upload-widget style) ===================== */
.sw-form {
	background: rgba(24,33,43,0.42);
	backdrop-filter: blur(22px) saturate(1.25);
	-webkit-backdrop-filter: blur(22px) saturate(1.25);
	border: 1px solid rgba(255,255,255,0.1);
	border-radius: 16px;
	box-shadow: 0 16px 48px rgba(0,0,0,0.28);
	padding: 30px 32px;
	max-width: 640px;
}
.sw-form h3 { font-size: 18px; margin-bottom: 6px; }
.sw-form > p { font-size: 13.5px; margin-bottom: 18px; }
.form-row { display: grid; gap: 0 20px; margin-bottom: 0; grid-template-columns: 1fr 1fr; }
.form-row--full { grid-template-columns: 1fr; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.sw-form label {
	display: block; font-family: 'IBM Plex Mono', monospace;
	font-size: 9.5px; color: var(--tech); letter-spacing: 0.1em; text-transform: uppercase;
	margin-bottom: 4px;
}
.form-row > div { border-bottom: 1px solid rgba(255,255,255,0.1); padding: 12px 0; transition: border-color .2s; }
.form-row > div:focus-within { border-bottom-color: var(--accent); }
.sw-form input, .sw-form textarea {
	width: 100%;
	background: transparent;
	border: none;
	outline: none;
	font-size: 14px;
	font-weight: 300;
	color: var(--text);
	padding: 0;
}
.sw-form textarea { min-height: 48px; resize: vertical; }
.sw-form .btn { margin-top: 20px; }
.sw-form .form-note { font-size: 11.5px; color: var(--tech); margin-top: 12px; margin-bottom: 0; }

/* Anchor offset for sticky header */
.anchor-target { scroll-margin-top: 96px; }

/* ===================== Footer ===================== */
.site-footer { background: var(--deep); padding: 64px 0 28px; border-top: 1px solid var(--line); position: relative; overflow: hidden; }
.site-footer::before {
	content: "";
	position: absolute; top: 0; left: 0; right: 0; height: 1px;
	background: linear-gradient(90deg, transparent, rgba(254,209,0,0.4), transparent);
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { font-family: 'IBM Plex Mono', monospace; color: var(--tech); font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 18px; font-weight: 500; }
.site-footer p { color: var(--muted); font-size: 14px; }
.site-footer a { color: var(--text); font-size: 14px; transition: color .2s; }
.site-footer a:hover { color: var(--accent-2); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.site-footer ul li { color: var(--muted); font-size: 14px; }
.footer-bottom {
	max-width: var(--wrap);
	margin: 44px auto 0;
	padding: 22px 32px 0;
	border-top: 1px solid var(--line);
	font-family: 'IBM Plex Mono', monospace;
	font-size: 11px;
	color: var(--tech);
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 10px;
}

/* ===================== Scroll reveal ===================== */
/* Gated behind .js-reveal-ready (added by main.js only if IntersectionObserver runs) —
   if JS fails, none of this applies and content stays visible by default. */
.js-reveal-ready .fork-card,
.js-reveal-ready .card,
.js-reveal-ready .catalog-card,
.js-reveal-ready .why-item,
.js-reveal-ready .step,
.js-reveal-ready .chip,
.js-reveal-ready .case-card,
.js-reveal-ready .sw-form,
.js-reveal-ready .sec-head,
.js-reveal-ready .faq-item {
	opacity: 0;
	transform: translateY(22px);
	transition: opacity .65s cubic-bezier(.16,.8,.24,1), transform .65s cubic-bezier(.16,.8,.24,1);
}
.js-reveal-ready .is-visible {
	opacity: 1;
	transform: translateY(0);
}

/* Staggered delay for items inside the same grid/list */
.fork > *:nth-child(2),
.grid > *:nth-child(2),
.why-list > *:nth-child(2),
.chip-grid > *:nth-child(2) { transition-delay: .08s; }
.grid > *:nth-child(3),
.why-list > *:nth-child(3),
.chip-grid > *:nth-child(3) { transition-delay: .16s; }
.grid > *:nth-child(4),
.why-list > *:nth-child(4),
.chip-grid > *:nth-child(4) { transition-delay: .24s; }
.grid > *:nth-child(5),
.why-list > *:nth-child(5),
.chip-grid > *:nth-child(5) { transition-delay: .32s; }
.grid > *:nth-child(6),
.why-list > *:nth-child(6),
.chip-grid > *:nth-child(6) { transition-delay: .4s; }
.grid > *:nth-child(7) { transition-delay: .48s; }
.grid > *:nth-child(8) { transition-delay: .56s; }

/* ===================== Section variants ===================== */
.section { padding: 72px 0; position: relative; overflow: hidden; }
.section::before {
	content: "";
	position: absolute; inset: 0; z-index: 0; pointer-events: none;
	background: radial-gradient(ellipse 70% 50% at 50% 30%, rgba(254,209,0,0.08), transparent 60%);
}
.section > .container { position: relative; z-index: 1; }
.section--tight { padding: 56px 0; }
.section--dark { background: var(--deep); }
.section--muted { background: var(--bg2); }
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }

/* ===================== Production photo showcase ===================== */
.prod-layout{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:center}
@media(max-width:900px){.prod-layout{grid-template-columns:1fr;gap:28px}}
.prod-layout.prod-layout--reverse .prod-photo{order:2}
.prod-layout.prod-layout--reverse .prod-text{order:1}
@media(max-width:900px){.prod-layout.prod-layout--reverse .prod-photo,.prod-layout.prod-layout--reverse .prod-text{order:initial}}
.prod-photo{
  position:relative;border-radius:2px;overflow:hidden;
  border:1px solid var(--line);
  box-shadow:0 20px 60px rgba(0,0,0,0.35);
  aspect-ratio:4/3;
}
.prod-photo img{width:100%;height:100%;object-fit:cover;display:block;filter:saturate(0.96) contrast(1.05)}
.prod-text p:last-child{margin-bottom:0}

/* ===================== Competitor comparison cards ===================== */
.compare-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}
@media(max-width:760px){.compare-grid{grid-template-columns:1fr}}
.compare-card{
  background:rgba(24,33,43,0.38);
  backdrop-filter:blur(20px) saturate(1.2);
  -webkit-backdrop-filter:blur(20px) saturate(1.2);
  border:1px solid rgba(255,255,255,0.09);
  border-radius:14px;
  padding:22px 24px;
}
.compare-card__vs{
  font-family:'IBM Plex Mono',monospace;font-size:11px;letter-spacing:.08em;text-transform:uppercase;
  color:var(--tech);margin-bottom:14px;
}
.compare-row{display:flex;gap:12px;align-items:flex-start;padding:10px 0;font-size:14px;line-height:1.5}
.compare-row + .compare-row{border-top:1px solid rgba(255,255,255,0.08)}
.compare-icon{
  flex:none;width:22px;height:22px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  font-size:12px;font-weight:700;margin-top:1px;
}
.compare-row--them .compare-icon{background:rgba(255,255,255,0.06);color:var(--tech)}
.compare-row--them span:last-child{color:var(--tech)}
.compare-row--us .compare-icon{background:rgba(254,209,0,0.14);color:var(--accent-2);border:1px solid rgba(254,209,0,0.3)}
.compare-row--us span:last-child{color:var(--text);font-weight:500}
