/* ===== Tokens ===== */
:root {
  --bg: #f7f4ee;
  --bg-alt: #efe8dc;
  --bg-card: #ffffff;
  --bg-ink: #171310;
  --bg-ill: radial-gradient(circle at 30% 20%, rgba(232,80,15,0.08), transparent 55%), #efe8dc;
  --text: #1c1712;
  --text-muted: #6b6259;
  --border: rgba(28,23,18,0.12);
  --logo-bg: #1c1712;
  --ground-shadow: rgba(28,23,18,0.18);
  --accent: #e8500f;
  --accent-soft: #ff8a4d;
  --padh: 32px;
}
html[data-theme="dark"] {
  --bg: #0b0a09;
  --bg-alt: #141210;
  --bg-card: #18150f;
  --bg-ink: #0b0a09;
  --bg-ill: radial-gradient(circle at 30% 20%, rgba(232,80,15,0.12), transparent 55%), #100e0c;
  --text: #f5f2ec;
  --text-muted: #9b948a;
  --border: rgba(255,255,255,0.09);
  --logo-bg: #201c17;
  --ground-shadow: rgba(0,0,0,0.5);
}

/* ===== Base ===== */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'IBM Plex Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  min-height: 100vh;
  transition: background 0.4s ease, color 0.4s ease;
}
input::placeholder, textarea::placeholder { color: #9a9086; }
a { text-decoration: none; }
button { font-family: inherit; }
img { max-width: 100%; }

.mono { font-family: 'IBM Plex Mono', monospace; font-weight: 500; }
.container { max-width: 1360px; margin: 0 auto; padding-left: var(--padh); padding-right: var(--padh); }

@keyframes fadeScaleIn { from { opacity:0; transform:translateY(46px) scale(0.97); filter:blur(6px);} to { opacity:1; transform:translateY(0) scale(1); filter:blur(0);} }
@keyframes lineReveal { from { transform:translateY(112%);} to { transform:translateY(0);} }
@keyframes kenBurns { from { transform:scale(1.0);} to { transform:scale(1.09);} }

/* ===== Header ===== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 70;
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  background: transparent; border-bottom: 1px solid transparent;
  transition: background 0.35s ease, border-color 0.35s ease;
}
.site-header.scrolled { background: rgba(247,244,238,0.92); border-bottom-color: var(--border); }
html[data-theme="dark"] .site-header.scrolled { background: rgba(11,10,9,0.92); }

/* Страницы без hero-картинки (znaniya/proekty/novosti/slovar) — шапка сразу
   сидит на светлом фоне страницы, поэтому ей нужны "прокрученные" (тёмные)
   цвета текста с самого начала, а не белые, рассчитанные на тёмный hero. */
.site-header.no-hero { background: var(--bg); border-bottom-color: var(--border); }
.site-header.no-hero .logo-name { color: var(--text); }
.site-header.no-hero .logo-sub { color: var(--text-muted); }
.site-header.no-hero .main-nav a { color: var(--text); }
.site-header.no-hero .phone-link { color: var(--text); }

.header-inner {
  max-width: 1360px; margin: 0 auto; padding: 14px var(--padh);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.logo { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-name { font-family: 'Golos Text', sans-serif; font-weight: 700; font-size: 16px; color: #f7f4ee; transition: color 0.35s ease; }
.logo-sub { font-family: 'IBM Plex Mono', monospace; font-weight: 500; font-size: 8.5px; letter-spacing: 0.14em; color: #cfc7bd; text-transform: uppercase; transition: color 0.35s ease; }
.site-header.scrolled .logo-name { color: var(--text); }
.site-header.scrolled .logo-sub { color: var(--text-muted); }
.logo-mark rect { fill: var(--logo-bg); }

.main-nav { display: flex; align-items: center; gap: 18px; font-size: 13.5px; }
.main-nav a { color: #f7f4ee; cursor: pointer; opacity: 0.85; transition: color 0.35s ease; white-space: nowrap; }
.site-header.scrolled .main-nav a { color: var(--text); }

.nav-dropdown { position: relative; }
.nav-dropdown > a { display: flex; align-items: center; gap: 4px; }
.nav-caret { transition: transform 0.2s ease; flex-shrink: 0; }
.nav-dropdown:hover .nav-caret, .nav-dropdown:focus-within .nav-caret { transform: rotate(180deg); }
.nav-dropdown-menu {
  position: absolute; top: 100%; left: 50%; margin-top: 14px; transform: translateX(-50%) translateY(4px);
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px;
  padding: 8px; min-width: 232px; box-shadow: 0 16px 40px rgba(0,0,0,0.22);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  display: flex; flex-direction: column; gap: 1px; z-index: 80;
}
.nav-dropdown:hover .nav-dropdown-menu, .nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0);
}
.nav-dropdown-menu a {
  padding: 9px 12px; border-radius: 7px; font-size: 13px; color: var(--text) !important;
  opacity: 1 !important; white-space: nowrap;
}
.nav-dropdown-menu a:hover { background: var(--bg-alt); color: var(--accent) !important; }

.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.theme-btn {
  width: 38px; height: 38px; border-radius: 999px; border: 1px solid var(--border);
  background: var(--bg-card); cursor: pointer; display: flex; align-items: center; justify-content: center; flex-shrink: 0; padding: 0;
}
.theme-btn svg { stroke: var(--text); }
.theme-btn .icon-moon { fill: var(--text); stroke: none; }
html[data-theme="light"] .icon-moon { display: none; }
html[data-theme="dark"] .icon-sun { display: none; }

.phone-link { font-weight: 600; color: #f7f4ee; font-size: 13.5px; white-space: nowrap; transition: color 0.35s ease; }
.site-header.scrolled .phone-link { color: var(--text); }

.btn-primary {
  background: linear-gradient(135deg, var(--accent-soft), var(--accent));
  color: #160a02; border: none; border-radius: 8px; font-weight: 700; cursor: pointer; white-space: nowrap;
}
.header-cta { padding: 10px 16px; font-size: 13px; flex-shrink: 0; }

.burger {
  display: none; align-items: center; justify-content: center; width: 38px; height: 38px;
  border-radius: 8px; border: 1px solid var(--border); background: var(--bg-card); cursor: pointer; flex-shrink: 0; padding: 0;
}
.burger line { stroke: var(--text); }

.mobile-menu { display: none; flex-direction: column; padding: 6px var(--padh) 18px; background: var(--bg); border-top: 1px solid var(--border); }
.mobile-menu a { color: var(--text); padding: 12px 2px; font-size: 15px; border-bottom: 1px solid var(--border); }
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu.open { display: flex; }
.mobile-menu a.mobile-submenu-link { padding: 9px 2px 9px 16px; font-size: 13.5px; color: var(--text-muted); }

/* ===== Hero ===== */
.hero { position: relative; height: 92vh; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; animation: kenBurns 24s ease-in-out infinite alternate; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.55) brightness(0.42) contrast(1.08); }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,7,6,0.55) 0%, rgba(8,7,6,0.35) 40%, rgba(8,7,6,0.88) 100%); }
.hero-content {
  position: relative; z-index: 2; max-width: 1360px; margin: 0 auto; padding: 0 var(--padh);
  height: 100%; display: flex; flex-direction: column; justify-content: center;
}
.eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 26px; }
.eyebrow-line { width: 26px; height: 1px; background: var(--accent-soft); }
.eyebrow-text { font-family: 'IBM Plex Mono', monospace; font-weight: 500; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: #e9c9a8; }
.hero h1 { font-family: 'Golos Text', sans-serif; font-weight: 800; color: #f7f4ee; margin: 0 0 24px; line-height: 0.98; letter-spacing: -0.02em; }
.hero .line { overflow: hidden; }
.hero .line span { display: inline-block; font-size: clamp(38px, 5.4vw, 74px); animation: lineReveal 1s cubic-bezier(.16,1,.3,1) both; }
.hero .line:nth-child(1) span { animation-delay: 0.1s; }
.hero .line:nth-child(2) span { animation-delay: 0.28s; }
.hero .line i { font-style: normal; color: var(--accent-soft); }
.hero-sub { font-size: 16px; color: #cfc7bd; max-width: 520px; line-height: 1.7; margin: 0 0 36px; animation: fadeScaleIn 0.9s ease 0.55s both; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; animation: fadeScaleIn 0.9s ease 0.7s both; }
.hero-ctas .btn-primary { padding: 16px 28px; font-size: 14px; }
.btn-ghost {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.28); color: #f7f4ee;
  padding: 16px 28px; border-radius: 8px; font-weight: 600; font-size: 14px; cursor: pointer;
}
.scroll-cue { position: absolute; right: var(--padh); bottom: 36px; z-index: 2; display: flex; align-items: center; gap: 10px; }
.scroll-cue-line { width: 1px; height: 46px; background: rgba(255,255,255,0.35); display: inline-block; }
.scroll-cue-text { font-family: 'IBM Plex Mono', monospace; font-weight: 500; font-size: 10px; letter-spacing: 0.18em; color: rgba(255,255,255,0.6); writing-mode: vertical-rl; }

/* ===== Trust strip ===== */
.stats { background: var(--bg-ink); border-top: 1px solid rgba(255,255,255,0.08); }
.stats-grid { max-width: 1360px; margin: 0 auto; padding: 34px var(--padh); display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap: 0; }
.stat { padding: 14px 18px; border-left: 1px solid rgba(255,255,255,0.1); }
.stat-value { font-family: 'Golos Text', sans-serif; font-size: 22px; font-weight: 800; color: #f7f4ee; }
.stat-label { font-size: 12px; color: #a89f93; margin-top: 4px; line-height: 1.4; }

/* ===== Section commons ===== */
.section-tag { font-family: 'IBM Plex Mono', monospace; font-weight: 500; font-size: 12px; letter-spacing: 0.16em; color: var(--accent); text-transform: uppercase; margin-bottom: 16px; }
.section-title { font-family: 'Golos Text', sans-serif; font-size: clamp(30px, 3.6vw, 46px); font-weight: 800; margin: 0; line-height: 1.08; letter-spacing: -0.01em; }
.split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 60px; }

/* ===== Product ===== */
.product { max-width: 1360px; margin: 0 auto; padding: 110px var(--padh) 80px; scroll-margin-top: 80px; }
.product .split { margin-bottom: 56px; }
.product-lead { font-size: 15.5px; color: var(--text-muted); line-height: 1.75; margin: 0; align-self: end; }
.product-grid { display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap: 1px; background: var(--border); border: 1px solid var(--border); }
.product-cell { background: var(--bg); padding: 32px 26px; transition: background 0.3s ease; }
.product-cell:hover { background: var(--bg-alt); }
.product-num { font-family: 'IBM Plex Mono', monospace; font-weight: 500; font-size: 12px; color: var(--text-muted); margin-bottom: 22px; }
.product-label { font-family: 'Golos Text', sans-serif; font-size: 17px; font-weight: 700; line-height: 1.3; }
.product-note { font-size: 13.5px; color: var(--text-muted); margin-top: 22px; max-width: 640px; line-height: 1.6; }

/* ===== Industries ===== */
.industries { background: var(--bg-alt); scroll-margin-top: 80px; }
.industries-inner { max-width: 1360px; margin: 0 auto; padding: 90px var(--padh); }
.industries-inner .section-title { margin-bottom: 44px; }
.industries-grid { display: grid; grid-template-columns: 0.6fr 1.4fr; gap: 44px; }
.tabs { display: flex; flex-direction: column; gap: 8px; }
.tab-btn {
  text-align: left; padding: 16px 18px; border-radius: 10px; border: 1px solid var(--border);
  background: transparent; cursor: pointer; font-family: 'Golos Text', sans-serif; font-size: 15px; font-weight: 700;
  color: var(--text); transition: all 0.25s ease;
}
.tab-btn.active { border-color: rgba(232,80,15,0.5); background: rgba(232,80,15,0.12); color: var(--accent); }
.industry-panel { padding-top: 4px; }
.industry-intro { font-size: 15.5px; color: var(--text-muted); line-height: 1.75; margin: 0 0 24px; max-width: 600px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { padding: 9px 16px; border-radius: 999px; background: var(--bg-card); border: 1px solid var(--border); font-size: 13.5px; color: var(--text); }

/* ===== Process ===== */
.process { max-width: 1360px; margin: 0 auto; padding: 110px var(--padh); scroll-margin-top: 80px; }
.process-head { position: sticky; top: 100px; align-self: start; }
.process-head .section-title { margin-bottom: 20px; }
.process-lead { font-size: 14.5px; color: var(--text-muted); line-height: 1.7; max-width: 360px; margin: 0; }
.process-steps { display: flex; flex-direction: column; }
.step { display: grid; grid-template-columns: 64px 1fr; gap: 20px; padding: 28px 0; border-bottom: 1px solid var(--border); }
.step-num { font-family: 'Golos Text', sans-serif; font-size: 28px; font-weight: 800; color: var(--text-muted); }
.step-title { font-family: 'Golos Text', sans-serif; font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.step-desc { font-size: 14px; color: var(--text-muted); line-height: 1.65; max-width: 520px; }

/* ===== Cases ===== */
.cases { background: var(--bg-alt); scroll-margin-top: 80px; }
.cases-inner { max-width: 1360px; margin: 0 auto; padding: 90px var(--padh); }
.cases-inner .section-title { margin-bottom: 12px; }
.cases-lead { font-size: 15px; color: var(--text-muted); max-width: 560px; margin: 0 0 44px; line-height: 1.65; }
.cases-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 2px; }
.case-card { background: var(--bg); }
.case-img { width: 100%; height: 260px; object-fit: cover; display: block; }
.case-body { padding: 20px 22px; }
.case-title { font-family: 'Golos Text', sans-serif; font-weight: 700; font-size: 15.5px; margin-bottom: 4px; }
.case-sub { font-size: 13px; color: var(--text-muted); }

/* ===== Why us ===== */
.whyus { max-width: 1360px; margin: 0 auto; padding: 110px var(--padh); }
.whyus-lead { font-size: 14.5px; color: var(--text-muted); line-height: 1.7; max-width: 380px; margin-top: 20px; }
.whyus-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.why-item { display: flex; gap: 12px; padding: 16px 16px 16px 0; border-bottom: 1px solid var(--border); }
.why-dash { font-family: 'Golos Text', sans-serif; color: var(--accent); font-weight: 800; font-size: 15px; flex-shrink: 0; }
.why-text { font-size: 14px; color: var(--text); line-height: 1.55; }

/* ===== Calculator ===== */
.calculator { background: var(--bg-alt); scroll-margin-top: 80px; }
.calculator-inner { max-width: 1360px; margin: 0 auto; padding: 110px var(--padh); }
.calculator-inner .section-title { margin-bottom: 20px; max-width: 700px; }
.calc-lead { font-size: 15px; color: var(--text-muted); max-width: 640px; margin: 0 0 50px; line-height: 1.7; }
.calc-card { border-radius: 16px; background: var(--bg-card); border: 1px solid var(--border); overflow: hidden; }
.calc-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 0; }
.calc-controls { padding: 36px 36px 30px; display: flex; flex-direction: column; gap: 24px; border-right: 1px solid var(--border); }
.control-label { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 10px; }
.pill-row { display: flex; gap: 8px; flex-wrap: wrap; }
.pill-btn {
  padding: 9px 16px; border-radius: 999px; font-size: 13px; font-weight: 600; cursor: pointer;
  border: 1px solid var(--border); background: transparent; color: var(--text);
}
.pill-btn.active { border-color: rgba(232,80,15,0.6); background: rgba(232,80,15,0.14); color: var(--accent); }
.dims-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.dim-label { font-size: 12px; color: var(--text-muted); margin-bottom: 8px; }
.dim-label strong { color: var(--text); }
.dims-grid input[type="range"] { width: 100%; accent-color: var(--accent); }
.colors-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.swatch-row { display: flex; gap: 8px; }
.swatch { width: 28px; height: 28px; border-radius: 8px; cursor: pointer; border: 2px solid var(--border); box-shadow: none; padding: 0; }
.swatch.active { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(232,80,15,0.2); }
.options-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; }
.options-grid label { display: flex; align-items: center; gap: 9px; font-size: 13px; color: var(--text); cursor: pointer; }
.options-grid input[type="checkbox"] { accent-color: var(--accent); width: 16px; height: 16px; }

.calc-preview { position: relative; background: var(--bg-ill); padding: 28px; display: flex; flex-direction: column; }
.preview-label { font-family: 'IBM Plex Mono', monospace; font-weight: 500; font-size: 11px; letter-spacing: 0.1em; color: var(--text-muted); text-transform: uppercase; margin-bottom: 10px; }
.preview-stage { flex-shrink: 0; transform: perspective(900px) rotateX(0deg) rotateY(0deg); transition: transform 0.25s ease-out; cursor: grab; }
.preview-stage svg { width: 100%; height: 280px; }
.preview-stage .ground { fill: var(--ground-shadow); }
.preview-stage .wall, .preview-stage .roof { stroke: rgba(0,0,0,0.25); stroke-width: 1.5; transition: fill 0.3s ease; }
.preview-badges { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.badge {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 8px; padding: 8px 12px;
  font-family: 'IBM Plex Mono', monospace; font-weight: 500; font-size: 12px; color: var(--text);
}
.calc-form { margin-top: auto; padding-top: 20px; display: flex; gap: 10px; flex-wrap: wrap; }
.calc-form input { flex: 1; background: var(--bg-card); border: 1px solid var(--border); border-radius: 8px; padding: 11px 13px; color: var(--text); font-size: 13px; outline: none; }
.calc-form input[type="text"] { min-width: 120px; }
.calc-form input[type="tel"] { min-width: 140px; }
.calc-form .btn-primary { padding: 11px 20px; font-size: 13px; }
.submit-note { margin-top: auto; padding-top: 20px; }
.submit-box { background: rgba(232,80,15,0.1); border: 1px solid rgba(232,80,15,0.35); border-radius: 12px; padding: 16px 18px; }
.submit-box-title { font-weight: 700; font-size: 14px; margin-bottom: 4px; }
.submit-box-text { font-size: 13px; color: var(--text-muted); }
.hidden { display: none !important; }

/* ===== Why metal ===== */
.why-metal-hero { position: relative; height: 340px; overflow: hidden; }
.why-metal-hero img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.5) brightness(0.5); }
.why-metal-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,7,6,0.3), rgba(8,7,6,0.85)); }
.why-metal-title-wrap { position: absolute; inset: 0; display: flex; align-items: center; max-width: 1360px; margin: 0 auto; padding: 0 var(--padh); }
.why-metal-title-wrap h2 { font-family: 'Golos Text', sans-serif; font-size: clamp(28px, 3.4vw, 42px); font-weight: 800; color: #f7f4ee; max-width: 720px; line-height: 1.15; margin: 0; }
.why-metal-body { background: var(--bg); padding: 70px var(--padh); }
.wm-grid { max-width: 1360px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 40px; }
.wm-title { font-family: 'Golos Text', sans-serif; font-size: 19px; font-weight: 700; color: var(--accent); margin-bottom: 12px; }
.wm-desc { font-size: 14.5px; color: var(--text-muted); line-height: 1.75; }

/* ===== Applications ===== */
.applications { max-width: 1360px; margin: 0 auto; padding: 90px var(--padh); }
.applications h2 { font-family: 'Golos Text', sans-serif; font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; margin: 0 0 40px; line-height: 1.08; }
.app-pills { display: flex; flex-wrap: wrap; gap: 12px; }
.app-pill { padding: 14px 22px; border-radius: 999px; border: 1px solid var(--border); background: var(--bg-card); font-size: 14px; font-weight: 500; color: var(--text); }

/* ===== Geography ===== */
.geo { background: var(--bg-alt); }
.geo-inner { max-width: 1360px; margin: 0 auto; padding: 90px var(--padh); }
.geo h2 { font-family: 'Golos Text', sans-serif; font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; margin: 0 0 24px; line-height: 1.08; }
.geo-lead { font-size: 15px; color: var(--text-muted); max-width: 760px; line-height: 1.75; margin: 0 0 36px; }
.geo-cities { display: flex; flex-wrap: wrap; gap: 10px 14px; }
.geo-cities span, .geo-cities a { font-size: 14px; color: var(--text-muted); }
.geo-cities a { text-decoration: none; border-bottom: 1px solid transparent; transition: color 0.2s ease, border-color 0.2s ease; }
.geo-cities a:hover { color: var(--accent); border-bottom-color: var(--accent); }

.geo-other { margin-top: 44px; padding-top: 36px; border-top: 1px solid var(--border); }
.geo-other-lead { font-size: 13px; color: var(--text-muted); margin: 0 0 16px; }
.geo-other-group { margin-bottom: 10px; font-size: 13.5px; line-height: 1.9; }
.geo-other-region { color: var(--text); font-weight: 600; flex-shrink: 0; }
.geo-other-group a { color: var(--text-muted); text-decoration: none; border-bottom: 1px solid transparent; transition: color 0.2s ease, border-color 0.2s ease; }
.geo-other-group a:hover { color: var(--accent); border-bottom-color: var(--accent); }
.geo-other-sep { color: var(--border); }

/* ===== FAQ ===== */
.faq { max-width: 900px; margin: 0 auto; padding: 110px var(--padh); scroll-margin-top: 80px; }
.faq h2 { font-family: 'Golos Text', sans-serif; font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; margin: 0 0 40px; line-height: 1.08; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; padding: 22px 0;
  display: flex; justify-content: space-between; align-items: center; gap: 20px; cursor: pointer;
}
.faq-q-text { font-family: 'Golos Text', sans-serif; font-size: 15.5px; font-weight: 600; color: var(--text); }
.faq-plus { font-size: 20px; color: var(--accent); flex-shrink: 0; transform: rotate(0deg); transition: transform 0.25s ease; }
.faq-item.open .faq-plus { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-item.open .faq-a { max-height: 240px; }
.faq-a p { font-size: 14px; color: var(--text-muted); line-height: 1.7; margin: 0 0 24px; max-width: 740px; }

/* ===== Final CTA ===== */
.final-cta { background: var(--bg-ink); }
.final-cta-inner { max-width: 1360px; margin: 0 auto; padding: 110px var(--padh); text-align: center; display: flex; flex-direction: column; align-items: center; }
.final-cta h2 { font-family: 'Golos Text', sans-serif; font-size: clamp(30px, 4vw, 52px); font-weight: 800; color: #f7f4ee; max-width: 760px; margin: 0 0 20px; line-height: 1.12; }
.final-cta p { font-size: 15.5px; color: #a89f93; max-width: 560px; margin: 0 0 40px; line-height: 1.7; }
.final-cta-btns { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.final-cta-btns .btn-primary { padding: 17px 30px; font-size: 14.5px; }
.final-cta-phone {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.22); color: #f7f4ee;
  padding: 17px 30px; border-radius: 8px; font-weight: 600; font-size: 14.5px;
}

/* ===== Contact ===== */
.contact { max-width: 1360px; margin: 0 auto; padding: 90px var(--padh); scroll-margin-top: 80px; }
.contact h2 { font-family: 'Golos Text', sans-serif; font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; margin: 0 0 40px; line-height: 1.08; }
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 24px; }
.contact-card { border-radius: 16px; background: var(--bg-card); border: 1px solid var(--border); padding: 30px; }
.contact-form { display: grid; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field-label { font-size: 13px; margin-bottom: 5px; color: var(--text); }
.field-label .req { color: var(--accent); }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; padding: 11px 13px; border-radius: 8px; border: 1px solid var(--border);
  background: var(--bg); color: var(--text); font-size: 14px; outline: none; font-family: inherit;
}
.contact-form textarea { resize: vertical; }
.contact-form .btn-primary { padding: 14px 22px; font-size: 14px; }
.form-note { font-size: 12px; color: var(--text-muted); }
.contact-success { background: rgba(232,80,15,0.1); border: 1px solid rgba(232,80,15,0.35); border-radius: 12px; padding: 20px; }
.contact-success-title { font-weight: 700; font-size: 16px; margin-bottom: 6px; }
.contact-success-text { font-size: 14px; color: var(--text-muted); }

.contact-info { display: flex; flex-direction: column; gap: 18px; }
.info-label { font-size: 12px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--text-muted); margin-bottom: 4px; }
.info-phone { font-size: 17px; font-weight: 700; color: var(--accent); }
.info-email { font-size: 15px; font-weight: 600; color: var(--accent); }
.info-text { font-size: 14px; color: var(--text); }
.messengers { display: flex; flex-direction: column; gap: 10px; margin-top: 6px; }
.wa-btn, .tg-btn { text-align: center; color: #fff; padding: 12px 20px; border-radius: 8px; font-weight: 600; font-size: 14px; }
.wa-btn { background: linear-gradient(135deg, #25D366, #128C7E); }
.tg-btn { background: linear-gradient(135deg, #2AABEE, #229ED9); }

/* ===== Footer ===== */
.site-footer { border-top: 1px solid var(--border); padding: 26px var(--padh); }
.footer-inner {
  max-width: 1360px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px; font-size: 13px; color: var(--text-muted);
}
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: var(--text-muted); }

.footer-credit { max-width: 1360px; margin: 10px auto 0; text-align: center; }
.footer-credit a {
  font-size: 11px; color: var(--text-muted); opacity: 0.6; text-decoration: none;
  transition: opacity 0.2s ease, color 0.2s ease;
}
.footer-credit a:hover { opacity: 1; color: var(--accent); }

/* ===== Form error ===== */
.form-error { font-size: 13px; color: #c0392b; margin-top: 8px; }

/* ===== Responsive ===== */
@media (max-width: 1199px) {
  .main-nav { display: none; }
  .phone-link { display: none; }
  .burger { display: flex; }
}
@media (max-width: 1023px) {
  .split { grid-template-columns: 1fr; }
  .industries-grid { grid-template-columns: 1fr; }
  .tabs { flex-direction: row; flex-wrap: wrap; }
  .process-head { position: static; }
  .calc-grid { grid-template-columns: 1fr; }
  .calc-controls { border-right: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
}
@media (max-width: 899px) {
  .product-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .cases-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .wm-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 639px) {
  :root { --padh: 20px; }
  /* height -> min-height + отступ под шапку: длинные заголовки (особенно
     "Строительство ангаров" + длинное название города) переносятся на 2
     строки на узких экранах — при фиксированной высоте с центрированием
     это выталкивало первую строку под фиксированную шапку с blur, и текст
     становился нечитаемым. min-height позволяет секции вырасти, а padding-top
     гарантирует, что центрирование не начнётся выше безопасной зоны. */
  .hero { height: auto; min-height: 560px; padding-top: 84px; }
  .hero .line span { font-size: 34px; }
  .scroll-cue { display: none; }
  .stats-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .cases-grid { grid-template-columns: 1fr; }
  .wm-grid { grid-template-columns: 1fr; }
  .dims-grid { grid-template-columns: 1fr; }
  .colors-grid { grid-template-columns: 1fr; }
  .whyus-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 479px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-bg, .hero .line span, .hero-sub, .hero-ctas { animation: none; }
}

/* ===== Контентные страницы (База знаний, Проекты, Новости, Словарь) ===== */
.breadcrumbs { max-width: 1360px; margin: 0 auto; padding: 96px var(--padh) 0; font-size: 13px; color: var(--text-muted); display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.breadcrumbs a { color: var(--text-muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs-sep { color: var(--border); }
.breadcrumbs-current { color: var(--text); }

.content-hero { max-width: 1360px; margin: 0 auto; padding: 20px var(--padh) 50px; }
.content-hero h1 { font-family: 'Golos Text', sans-serif; font-size: clamp(30px, 3.6vw, 46px); font-weight: 800; margin: 0 0 20px; line-height: 1.1; letter-spacing: -0.01em; }
.content-lead { font-size: 15.5px; color: var(--text-muted); line-height: 1.75; max-width: 720px; margin: 0; }

.knowledge-grid { max-width: 1360px; margin: 0 auto; padding: 10px var(--padh) 110px; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1px; background: var(--border); border: 1px solid var(--border); }
.knowledge-card { background: var(--bg); padding: 28px 24px; transition: background 0.3s ease; text-decoration: none; display: block; }
.knowledge-card:hover { background: var(--bg-alt); }
.knowledge-card-num { font-family: 'IBM Plex Mono', monospace; font-size: 12px; color: var(--text-muted); margin-bottom: 16px; }
.knowledge-card-title { font-family: 'Golos Text', sans-serif; font-size: 16px; font-weight: 700; color: var(--text); margin: 0 0 8px; }
.knowledge-card-desc { font-size: 13px; color: var(--text-muted); line-height: 1.55; margin: 0; }

.category-body { max-width: 1360px; margin: 0 auto; padding: 10px var(--padh) 0; }
.category-empty { border: 1px dashed var(--border); border-radius: 14px; padding: 40px 32px; text-align: center; color: var(--text-muted); font-size: 14.5px; max-width: 720px; }
.back-link-wrap { max-width: 1360px; margin: 0 auto; padding: 28px var(--padh) 90px; }
.back-link { font-size: 14px; color: var(--text-muted); text-decoration: none; }
.back-link:hover { color: var(--accent); }

.placeholder-section { max-width: 720px; margin: 0 auto; padding: 10px var(--padh) 110px; text-align: center; }
.placeholder-box { border: 1px dashed var(--border); border-radius: 16px; padding: 48px 36px; }
.placeholder-box p { font-size: 15px; color: var(--text-muted); line-height: 1.7; margin: 0 0 28px; }
.placeholder-form { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; max-width: 480px; margin: 0 auto; }
.placeholder-form input { flex: 1; min-width: 160px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 8px; padding: 12px 14px; color: var(--text); font-size: 14px; outline: none; }

.dict-list { max-width: 900px; margin: 0 auto; padding: 10px var(--padh) 110px; }
.dict-term { padding: 26px 0; border-bottom: 1px solid var(--border); }
.dict-term:last-child { border-bottom: none; }
.dict-term-title { font-family: 'Golos Text', sans-serif; font-size: 19px; font-weight: 700; margin: 0 0 10px; }
.dict-term-def { font-size: 14.5px; color: var(--text-muted); line-height: 1.7; margin: 0; }

/* список статей на странице категории */
.article-list { display: flex; flex-direction: column; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 2px; overflow: hidden; }
.article-card { background: var(--bg); padding: 24px 26px; text-decoration: none; display: block; transition: background 0.3s ease; }
.article-card:hover { background: var(--bg-alt); }
.article-card-title { font-family: 'Golos Text', sans-serif; font-size: 17px; font-weight: 700; color: var(--text); margin: 0 0 8px; }
.article-card-excerpt { font-size: 13.5px; color: var(--text-muted); line-height: 1.6; margin: 0; }

/* тело статьи */
.article-body { max-width: 820px; margin: 0 auto; padding: 10px var(--padh) 0; }
.article-body h2 { font-family: 'Golos Text', sans-serif; font-size: 24px; font-weight: 800; margin: 48px 0 18px; line-height: 1.2; }
.article-body h2:first-child { margin-top: 0; }
.article-body p { font-size: 15.5px; color: var(--text); line-height: 1.8; margin: 0 0 18px; }
.article-body ul { margin: 0 0 18px; padding-left: 22px; }
.article-body li { font-size: 15px; color: var(--text); line-height: 1.75; margin-bottom: 8px; }
.article-body strong { font-weight: 700; }
.article-body a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.article-meta { font-size: 13px; color: var(--text-muted); margin: 0 0 8px; }
.article-table-wrap { overflow-x: auto; margin: 0 0 28px; border: 1px solid var(--border); border-radius: 10px; }
.article-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.article-table th, .article-table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--border); white-space: nowrap; }
.article-table th { background: var(--bg-alt); font-family: 'Golos Text', sans-serif; font-weight: 700; color: var(--text); }
.article-table td { color: var(--text-muted); }
.article-table tr:last-child td { border-bottom: none; }
.article-callout { background: var(--bg-alt); border: 1px solid var(--border); border-radius: 12px; padding: 20px 24px; margin: 0 0 18px; }
.article-callout p:last-child { margin-bottom: 0; }
.article-faq { margin: 0 0 40px; }
.article-faq .faq-item:first-child { border-top: 1px solid var(--border); }

@media (max-width: 1023px) {
  .knowledge-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 639px) {
  .knowledge-grid { grid-template-columns: 1fr; }
  .placeholder-form { flex-direction: column; }
  .article-body h2 { font-size: 21px; }
}
