/* ==========================================================================
   Атлантис — стили сайта
   Палитра и типографика взяты из презентации компании:
   тёмно-синий «чертёжный» фон, слоновая кость, латунь и сигнальный красный.
   ========================================================================== */

/* ---------- Шрифты (локальные, вариативные) ---------- */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-display: swap;
  font-weight: 400 900;
  src: url('../fonts/playfair-display-cyrillic-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-display: swap;
  font-weight: 400 900;
  src: url('../fonts/playfair-display-latin-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-display: swap;
  font-weight: 400 900;
  src: url('../fonts/playfair-display-cyrillic-wght-italic.woff2') format('woff2-variations');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-display: swap;
  font-weight: 400 900;
  src: url('../fonts/playfair-display-latin-wght-italic.woff2') format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url('../fonts/manrope-cyrillic-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url('../fonts/manrope-latin-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-display: swap;
  font-weight: 200 700;
  src: url('../fonts/oswald-cyrillic-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-display: swap;
  font-weight: 200 700;
  src: url('../fonts/oswald-latin-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Переменные ---------- */
:root {
  --navy-950: #000c22;
  --navy-900: #011333;
  --navy-800: #0a2148;
  --navy-700: #15305c;
  --ivory: #f4ecdc;
  --paper: #efe6d4;
  --paper-2: #e6dac3;
  --ink: #14213a;
  --ink-soft: #4a5468;
  --brass: #c89b5e;
  --brass-light: #e3c08a;
  --brass-dark: #9c7136;
  --red: #c8372d;
  --line-dark: rgb(244 236 220 / 0.14);
  --line-light: rgb(20 33 58 / 0.14);

  --font-display: 'Playfair Display', 'Times New Roman', Georgia, serif;
  --font-body: 'Manrope', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-tech: 'Oswald', 'Arial Narrow', 'Roboto Condensed', sans-serif;

  --container: 1200px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --section-y: clamp(4.5rem, 10vw, 8.5rem);
  --radius: 4px;
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Сброс ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  line-height: 1.6;
  color: var(--ivory);
  background: var(--navy-900);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }

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

button { cursor: pointer; }

:focus-visible {
  outline: 2px solid var(--brass-light);
  outline-offset: 3px;
}

::selection { background: var(--brass); color: var(--navy-900); }

[hidden] { display: none !important; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 100;
  padding: 0.75rem 1.25rem;
  background: var(--brass);
  color: var(--navy-900);
  font-weight: 700;
  border-radius: var(--radius);
}
.skip-link:focus { top: 1rem; }

/* ---------- Общие компоненты ---------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  position: relative;
  padding-block: var(--section-y);
  background: var(--navy-900);
}

/* «Чертёжная» сетка на тёмных секциях */
.section--dark {
  background-color: var(--navy-950);
  background-image:
    linear-gradient(var(--line-dark) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-dark) 1px, transparent 1px);
  background-size: 96px 96px;
  background-position: center top;
}
.section--dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, transparent 0%, var(--navy-950) 75%);
  pointer-events: none;
}
.section--dark > .container { position: relative; }

.section--paper {
  background: var(--paper);
  color: var(--ink);
}

.section__head {
  max-width: 760px;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.1rem;
  font-family: var(--font-tech);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass);
}
.eyebrow::before {
  content: '';
  width: 2.25rem;
  height: 1px;
  background: currentColor;
}
.section--paper .eyebrow { color: var(--brass-dark); }

.section__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.75rem, 1.25rem + 2.6vw, 3.5rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-wrap: balance;
  overflow-wrap: break-word;
}
.section__title em,
.hero__title em,
.autonomy__title em {
  font-style: italic;
  font-weight: 500;
  color: var(--brass-light);
}
.section--paper .section__title em { color: var(--brass-dark); }

.section__lead {
  margin-top: 1.25rem;
  font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem);
  color: rgb(244 236 220 / 0.78);
  text-wrap: pretty;
}
.section--paper .section__lead { color: var(--ink-soft); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 52px;
  padding: 0.9rem 1.75rem;
  border: 1px solid var(--brass);
  border-radius: var(--radius);
  background: var(--brass);
  color: var(--navy-900);
  font-family: var(--font-tech);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color 0.25s, color 0.25s, border-color 0.25s, transform 0.25s var(--ease);
}
.btn:hover { background: var(--brass-light); border-color: var(--brass-light); }
.btn:active { transform: translateY(1px); }
.btn--ghost { background: transparent; color: var(--ivory); border-color: rgb(244 236 220 / 0.4); }
.btn--ghost:hover { background: rgb(244 236 220 / 0.08); border-color: var(--ivory); }
.btn--small { min-height: 42px; padding: 0.55rem 1.1rem; font-size: 0.82rem; }
.btn--wide { width: 100%; }

/* ---------- Шапка ---------- */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  transition: background-color 0.3s, box-shadow 0.3s, backdrop-filter 0.3s;
}
.header.is-scrolled {
  background: rgb(1 19 51 / 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line-dark);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: clamp(0.85rem, 1.4vw, 1.5rem);
  height: 100%;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-right: auto;
  flex: none;
  color: var(--ivory);
  text-decoration: none;
  white-space: nowrap;
}
.logo__mark { width: 38px; height: 38px; color: var(--brass); flex: none; }
.logo__text {
  display: flex;
  flex-direction: column;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.logo__text small {
  margin-top: 0.28rem;
  font-family: var(--font-tech);
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--brass);
  white-space: nowrap;
}

.nav { display: flex; align-items: center; }
.nav__list { display: flex; align-items: center; gap: clamp(0.7rem, 1.35vw, 1.4rem); }
.nav__list li { flex: none; }
.nav__list a {
  position: relative;
  display: inline-block;
  padding-block: 0.4rem;
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
  text-decoration: none;
  color: rgb(244 236 220 / 0.82);
  transition: color 0.2s;
}
.nav__list a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--brass);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav__list a:hover,
.nav__list a.is-active { color: var(--ivory); }
.nav__list a:hover::after,
.nav__list a.is-active::after { transform: scaleX(1); }
.nav__phone { display: none; }

.header__phone {
  flex: none;
  font-family: var(--font-tech);
  font-size: 0.98rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  white-space: nowrap;
}
.header__phone:hover { color: var(--brass-light); }
.header__cta { flex: none; white-space: nowrap; }

.burger {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: transparent;
}
.burger span {
  position: absolute;
  left: 11px;
  right: 11px;
  height: 2px;
  background: var(--ivory);
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.burger span:nth-child(1) { top: 14px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 28px; }
.burger[aria-expanded='true'] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded='true'] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Первый экран ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--header-h) + 3rem) 0 3rem;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgb(21 48 92 / 0.55), transparent 70%),
    var(--navy-900);
}
.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero__bg img {
  position: absolute;
  left: 0;
  bottom: 0;
  width: min(62vw, 960px);
  opacity: 0.22;
  mix-blend-mode: screen;
  -webkit-mask-image: radial-gradient(ellipse at 40% 60%, #000 30%, transparent 72%);
  mask-image: radial-gradient(ellipse at 40% 60%, #000 30%, transparent 72%);
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.6rem, 1.6rem + 4.4vw, 5.25rem);
  line-height: 1.02;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.hero__title em { display: block; }
.hero__lead {
  max-width: 560px;
  margin-top: 1.75rem;
  font-size: clamp(1.05rem, 1rem + 0.4vw, 1.25rem);
  color: rgb(244 236 220 / 0.8);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.5rem;
}

.hero__clock {
  position: relative;
  justify-self: center;
  width: min(100%, 460px);
}
.hero__clock::before {
  content: '';
  position: absolute;
  inset: -12%;
  border-radius: 50%;
  border: 1px dashed rgb(200 155 94 / 0.28);
  animation: spin 120s linear infinite;
}
.hero__clock.is-paused::before { animation-play-state: paused; }
.hero__clock::after {
  content: '';
  position: absolute;
  inset: -6%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(227 192 138 / 0.24) 0%, rgb(227 192 138 / 0.08) 45%, transparent 72%);
  pointer-events: none;
}
.hero__clock-caption {
  margin-top: 1.5rem;
  text-align: center;
  font-family: var(--font-tech);
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgb(244 236 220 / 0.6);
}
.hero__clock-caption span {
  color: var(--brass-light);
  font-variant-numeric: tabular-nums;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* SVG-часы */
.clock { width: 100%; height: auto; overflow: visible; filter: drop-shadow(0 30px 60px rgb(0 0 0 / 0.5)); }
.clock__case { fill: var(--navy-800); stroke: var(--brass); stroke-width: 3; }
.clock__bezel { fill: none; stroke: var(--brass-dark); stroke-width: 6; }
.clock__minutes {
  fill: none;
  stroke: var(--ink);
  stroke-width: 6;
  stroke-dasharray: 0.06 0.94;
  stroke-dashoffset: 0.03;
}
.clock__hours path { stroke: var(--ink); stroke-width: 6; }
.clock__numerals text {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 600;
  fill: var(--ink);
  text-anchor: middle;
  dominant-baseline: central;
}
.clock__brand {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.32em;
  fill: var(--brass-dark);
  text-anchor: middle;
}
.clock__sub {
  font-family: var(--font-tech);
  font-size: 10px;
  letter-spacing: 0.22em;
  fill: var(--ink-soft);
  text-anchor: middle;
}
/* Поворот стрелок задаётся атрибутом transform="rotate(a 200 200)" из JS — transform-origin в CSS не задаём */
.clock__hand--h path,
.clock__hand--m path { fill: var(--ink); }
.clock__hand--s path { stroke: var(--red); stroke-width: 2.5; stroke-linecap: round; }
.clock__hand--s circle { fill: var(--red); }
.clock__pin { fill: var(--brass); stroke: var(--ink); stroke-width: 2; }

/* Цифры */
.stats {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(3rem, 7vw, 5rem);
  border-top: 1px solid var(--line-dark);
}
.stats__item {
  padding: 1.5rem 1.25rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.stats__item + .stats__item { padding-left: 1.5rem; border-left: 1px solid var(--line-dark); }
.stats__item b {
  font-family: var(--font-tech);
  font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.5rem);
  font-weight: 500;
  line-height: 1.1;
  color: var(--brass-light);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.stats__item > span { font-size: 0.92rem; color: rgb(244 236 220 / 0.66); }

/* ---------- О компании ---------- */
.about { background: var(--navy-900); }
.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}
.features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem 2.5rem;
  margin-top: 3rem;
}
.feature h3 {
  margin: 1rem 0 0.4rem;
  font-family: var(--font-tech);
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.feature p { font-size: 0.95rem; color: rgb(244 236 220 / 0.7); }
.feature__icon {
  width: 48px;
  height: 48px;
  fill: none;
  stroke: var(--brass);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.about__media,
.problem__media,
.oil__media,
.restoration__media { position: relative; }
/* Рамка-«паспарту» привязана только к картинке (а не ко всей figure с подписью),
   поэтому её линия больше не перечёркивает подпись под фото */
.about__frame { position: relative; isolation: isolate; }
.about__frame::before {
  content: '';
  position: absolute;
  inset: -1rem 1rem 1rem -1rem;
  z-index: -1;
  border: 1px solid rgb(200 155 94 / 0.45);
  border-radius: var(--radius);
}
.about__frame img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 40px 80px -30px rgb(0 0 0 / 0.7);
}
.about__media figcaption {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 1.6rem;
  font-family: var(--font-tech);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgb(244 236 220 / 0.6);
}
.about__media figcaption::before {
  content: '';
  flex: none;
  width: 2.25rem;
  height: 1px;
  background: var(--brass);
}
.problem__media figcaption {
  margin-top: 1rem;
  font-family: var(--font-tech);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgb(244 236 220 / 0.55);
}

/* ---------- Проблема ---------- */
.problem__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: start;
}
.problem__media img { border-radius: var(--radius); }
.problem__subtitle {
  margin-bottom: 1.25rem;
  font-family: var(--font-tech);
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
/* Точки отказа: тематические контурные иконки в «сигнальной» плашке вместо символа × */
.fails { display: grid; gap: 0.75rem; }
.fails li {
  display: grid;
  grid-template-columns: 2.75rem minmax(0, 1fr);
  gap: 0.95rem;
  align-items: center;
  padding: 0.85rem 1rem 0.85rem 0.85rem;
  border: 1px solid var(--line-dark);
  border-left: 2px solid rgb(200 55 45 / 0.75);
  border-radius: var(--radius);
  background: linear-gradient(90deg, rgb(200 55 45 / 0.09), rgb(10 33 72 / 0.35) 55%);
  color: rgb(244 236 220 / 0.75);
  font-size: 0.95rem;
  line-height: 1.45;
}
.fails__icon {
  width: 2.75rem;
  height: 2.75rem;
  padding: 0.55rem;
  border-radius: 50%;
  background: rgb(200 55 45 / 0.14);
  box-shadow: inset 0 0 0 1px rgb(200 55 45 / 0.45);
  fill: none;
  stroke: #ec7a6f;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.fails b { display: block; margin-bottom: 0.1rem; color: var(--ivory); font-weight: 600; }

.problem__chain > p { color: rgb(244 236 220 / 0.75); }
.chain {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
  margin: 1.25rem 0 1.5rem;
}
.chain__step {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: rgb(10 33 72 / 0.5);
  font-size: 0.92rem;
  line-height: 1.3;
}
.chain__step span { font-family: var(--font-tech); color: var(--brass); }
.chain__step--bad { border-color: rgb(200 55 45 / 0.6); color: #f1b7b1; }
.chain__step--bad span { color: var(--red); }
.problem__diagram { border-radius: var(--radius); border: 1px solid var(--line-dark); }

.problem__quote {
  margin-top: clamp(3rem, 6vw, 5rem);
  padding-top: 2.5rem;
  border-top: 1px solid var(--line-dark);
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1.1rem + 1.8vw, 2.6rem);
  font-style: italic;
  line-height: 1.25;
  text-align: center;
  text-wrap: balance;
}
.problem__quote strong {
  font-style: normal;
  font-weight: 700;
  color: var(--brass-light);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ---------- Технология ---------- */
.technology { background: var(--navy-900); }
.oil {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.oil__media img { border-radius: var(--radius); box-shadow: 0 40px 80px -30px rgb(0 0 0 / 0.8); }
.stamp {
  position: absolute;
  right: -0.75rem;
  bottom: -1.25rem;
  padding: 0.6rem 1.1rem;
  border: 3px solid var(--red);
  border-radius: 6px;
  color: var(--red);
  background: rgb(0 12 34 / 0.85);
  font-family: var(--font-tech);
  font-size: clamp(1rem, 0.8rem + 0.8vw, 1.45rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.06em;
  text-align: center;
  text-transform: uppercase;
  transform: rotate(-9deg);
}
.oil__list { display: grid; gap: 1.6rem; }
.oil__list li { padding-left: 1.5rem; border-left: 2px solid var(--brass); }
.oil__list h3 {
  font-family: var(--font-tech);
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.oil__list p { margin-top: 0.3rem; color: rgb(244 236 220 / 0.75); }
.oil__list .oil__result { border-left-color: var(--red); }
.oil__result strong { color: var(--brass-light); }

.autonomy {
  margin-top: clamp(4rem, 9vw, 7rem);
  padding: clamp(1.75rem, 4vw, 3.5rem);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgb(21 48 92 / 0.55), rgb(1 19 51 / 0.2)), var(--navy-950);
}
.autonomy__title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.5rem);
  font-weight: 600;
  line-height: 1.15;
  text-align: center;
  text-wrap: balance;
}
.flow {
  --flow-gap: clamp(1.5rem, 7vw, 6rem);
  display: flex;
  justify-content: center;
  gap: var(--flow-gap);
  margin: 2.5rem 0;
}
.flow__node {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-tech);
  font-size: 0.92rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
}
.flow__node svg {
  width: 76px;
  height: 76px;
  padding: 16px;
  border: 1px solid var(--brass);
  border-radius: 50%;
  fill: none;
  stroke: var(--brass-light);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  background: var(--navy-900);
}
/* бегущий «сигнал» между узлами (композитная анимация transform, без repaint фона) */
.flow__node + .flow__node::before {
  content: '';
  position: absolute;
  top: 37px;
  right: calc(100% + 0.5rem);
  width: calc(var(--flow-gap) - 1rem);
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--brass) 0 6px, transparent 6px 12px);
  background-size: 24px 2px;
  animation: flow 1.2s linear infinite;
}
@keyframes flow { to { background-position: 24px 0; } }
.flow.is-paused .flow__node + .flow__node::before { animation-play-state: paused; }
.autonomy__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.autonomy__grid li {
  padding-top: 1rem;
  border-top: 1px solid var(--line-dark);
  font-size: 0.95rem;
  color: rgb(244 236 220 / 0.72);
}
.autonomy__grid b {
  display: block;
  margin-bottom: 0.35rem;
  font-family: var(--font-tech);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ivory);
}

/* ---------- Испытания ---------- */
.extreme__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2.5vw, 2rem);
}
/* Карточки: фото без текста + типографика сайта поверх (место, климат, температура, плашка) */
.extreme__card {
  overflow: hidden;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: var(--navy-900);
}
.extreme__media { position: relative; overflow: hidden; isolation: isolate; }
.extreme__media img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}
.extreme__card:hover .extreme__media img { transform: scale(1.04); }
.extreme__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: clamp(1.1rem, 2.2vw, 1.6rem);
  background:
    linear-gradient(180deg, rgb(0 12 34 / 0.86) 0%, rgb(0 12 34 / 0.62) 30%, rgb(0 12 34 / 0.18) 44%, transparent 56%),
    linear-gradient(0deg, rgb(0 12 34 / 0.7) 0%, transparent 26%);
  color: var(--ivory);
  text-shadow: 0 1px 2px rgb(0 12 34 / 0.6);
}
.extreme__place {
  font-family: var(--font-tech);
  font-size: clamp(1.15rem, 0.9rem + 0.8vw, 1.5rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.extreme__place span {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--brass-light);
}
.extreme__kind { margin-top: 0.5rem; font-size: 0.92rem; color: rgb(244 236 220 / 0.85); }
.extreme__temp {
  margin-top: 0.35rem;
  font-family: var(--font-tech);
  font-size: clamp(3rem, 2rem + 3.4vw, 4.6rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 1px 2px rgb(0 12 34 / 0.75), 0 4px 24px rgb(0 12 34 / 0.65);
}
.extreme__temp span { margin-left: 0.06em; font-size: 0.5em; font-weight: 500; vertical-align: 0.72em; }
.extreme__card--cold .extreme__temp { color: #d7ecff; }
.extreme__card--heat .extreme__temp { color: #ffd9a8; }
.extreme__temp--text { font-size: clamp(1.45rem, 1.1rem + 1.2vw, 2rem); line-height: 1.1; color: #d3eef0; }
.extreme__badge {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: auto;
  padding: 0.45rem 0.85rem 0.45rem 0.7rem;
  border: 1px solid rgb(227 192 138 / 0.7);
  border-radius: 999px;
  background: rgb(0 12 34 / 0.62);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  font-family: var(--font-tech);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass-light);
}
/* Латунная галочка вместо зелёного «светодиода»: зелёный не входит в палитру сайта
   и читался как индикатор «онлайн», а не как результат испытания */
.extreme__badge::before {
  content: '';
  flex: none;
  width: 0.36rem;
  height: 0.62rem;
  margin: -0.18rem 0.1rem 0 0.15rem;
  border: solid var(--brass-light);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.extreme__body {
  padding: 1rem 1.25rem 1.25rem;
  font-size: 0.92rem;
  color: rgb(244 236 220 / 0.72);
}

/* ---------- Сравнение стрелок ---------- */
.power { background: var(--navy-900); }
.compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 3vw, 2rem);
}
.compare__item {
  overflow: hidden;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: var(--navy-950);
}
.compare__media { position: relative; overflow: hidden; }
/* оба кадра — один и тот же вид, без фильтров и обрезки: сравниваются только стрелки */
.compare__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 0.9s var(--ease); }
.compare__item:hover .compare__media img { transform: scale(1.03); }
.compare__item figcaption { padding: 1.1rem 1.35rem 1.35rem; color: rgb(244 236 220 / 0.75); }
.compare__item b {
  display: block;
  margin-bottom: 0.25rem;
  font-family: var(--font-tech);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.compare__item b { color: rgb(244 236 220 / 0.9); }
.compare__item--strong { border-color: rgb(200 155 94 / 0.55); box-shadow: 0 40px 80px -40px rgb(200 155 94 / 0.35); }
.compare__item--strong b { color: var(--brass-light); }

/* ---------- LED ---------- */
.led__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2.5vw, 2rem);
}
.led__card {
  overflow: hidden;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: var(--navy-900);
}
.led__card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: filter 0.6s var(--ease);
  filter: brightness(0.82);
}
.led__card:hover img { filter: brightness(1.08); }
.led__card p { padding: 0 1.25rem 1.3rem; margin-top: -0.6rem; font-size: 0.92rem; color: rgb(244 236 220 / 0.68); }
.led__card h3 {
  padding: 1.1rem 1.25rem 1.3rem;
  font-family: var(--font-tech);
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.led__card h3 span {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass);
}

/* ---------- Почему мы ---------- */
.why { background: var(--navy-900); }
.why__list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--line-dark);
}
.why__item {
  padding: 2rem 1.5rem 0 0;
}
.why__item + .why__item { padding-left: 1.5rem; border-left: 1px solid var(--line-dark); }
.why__num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-style: italic;
  line-height: 1;
  color: var(--brass);
}
.why__item h3 {
  margin: 1.25rem 0 0.5rem;
  font-family: var(--font-tech);
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: 0.03em;
}
.why__item p { font-size: 0.95rem; color: rgb(244 236 220 / 0.7); }

/* ---------- Каталог ---------- */
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line-light);
}
.tabs__tab {
  min-height: 46px;
  padding: 0.6rem 1.4rem;
  border: 1px solid var(--line-light);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-family: var(--font-tech);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background-color 0.25s, color 0.25s, border-color 0.25s;
}
.tabs__tab:hover { border-color: var(--ink); }
.tabs__tab[aria-selected='true'] { background: var(--navy-900); border-color: var(--navy-900); color: var(--ivory); }
.section--paper :focus-visible { outline-color: var(--brass-dark); }

.panel {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  animation: panel-in 0.55s var(--ease);
}
@keyframes panel-in { from { opacity: 0; transform: translateY(14px); } }
/* Фото реальных объектов с подписью «город · размер» поверх кадра */
.shot {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--navy-900);
  box-shadow: 0 30px 60px -30px rgb(20 33 58 / 0.55);
}
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.shot:hover img { transform: scale(1.03); }
.shot figcaption {
  position: absolute;
  left: 0.65rem;
  bottom: 0.65rem;
  max-width: calc(100% - 1.3rem);
  padding: 0.3rem 0.7rem;
  border-radius: 0.9rem;
  background: rgb(0 12 34 / 0.72);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  font-family: var(--font-tech);
  font-size: 0.74rem;
  line-height: 1.28;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ivory);
  white-space: normal;
}
.shot--drawing { background: #fbf7ee; }
.shot--drawing img { object-fit: contain; }

/* Галерея вкладки: главный кадр на всю ширину, под ним квадратные плитки.
   Кадр вписывается целиком (contain) на тёмно-синей подложке: ничего не обрезается,
   вертикальные и горизонтальные снимки стоят в ровной сетке. Клик — просмотр на весь экран. */
.panel { align-items: start; }
.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
}
.gallery .shot { aspect-ratio: 1; }
.gallery .shot--main { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
.gallery--portrait .shot { aspect-ratio: 3 / 4; }
.shot__link { position: relative; display: block; width: 100%; height: 100%; cursor: zoom-in; isolation: isolate; }
.shot__link img { position: relative; z-index: 1; object-fit: contain; }
.shot__link::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(ellipse at 50% 40%, var(--navy-700), var(--navy-950));
}
.gallery .shot--drawing .shot__link::before { background: #fbf7ee; }
.shot__link:focus-visible { outline: 3px solid var(--brass-dark); outline-offset: -3px; }
.gallery .shot figcaption { z-index: 2; }

.panel__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.6rem);
  font-weight: 600;
  line-height: 1.1;
}
.panel__lead { margin-top: 0.6rem; font-size: 1.1rem; color: var(--ink-soft); }
.panel__lead strong { color: var(--red); }
.specs { margin: 1.75rem 0 2rem; border-top: 1px solid var(--line-light); }
.specs > div {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 1rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line-light);
}
.specs dt {
  font-family: var(--font-tech);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brass-dark);
}
.specs dd { font-weight: 500; }

.chime {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
  margin: -0.5rem 0 1.75rem;
}
.chime__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 44px;
  padding: 0.5rem 1.1rem;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-weight: 600;
}
.chime__btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.chime__btn[aria-pressed='true'] { background: var(--ink); color: var(--ivory); }
.chime__btn[aria-pressed='true'] svg { animation: ring 0.5s ease-in-out infinite alternate; transform-origin: 50% 10%; }
@keyframes ring { from { transform: rotate(-14deg); } to { transform: rotate(14deg); } }
.chime small { color: var(--ink-soft); font-size: 0.82rem; }

/* ---------- География ---------- */
.geo__map {
  position: relative;
  margin-inline: calc(var(--gutter) * -0.5);
}
/* Небольшой запас оптимизации: GPU-композитинг только для действительно тяжёлой SVG-карты */
.geo__svg { width: 100%; height: auto; overflow: visible; contain: layout style; }
.geo__land {
  fill: none;
  stroke: rgb(244 236 220 / 0.2);
  stroke-width: 3.6;
  stroke-linecap: round;
  stroke-dasharray: 0 8.5;
}
.geo__city text {
  font-family: var(--font-tech);
  font-size: 13px;
  letter-spacing: 0.04em;
  fill: var(--ivory);
  paint-order: stroke;
  stroke: var(--navy-950);
  stroke-width: 4px;
  stroke-linejoin: round;
}
.geo__dot { fill: var(--brass-light); }
.geo__halo { fill: rgb(227 192 138 / 0.22); transition: r 0.25s; }
.geo__city { cursor: default; }
.geo__city:hover .geo__halo { r: 14; }
.geo__city--hq .geo__dot { fill: var(--red); stroke: var(--ivory); stroke-width: 2; }
.geo__city--hq .geo__ring { fill: none; stroke: var(--red); stroke-width: 1.5; }
.geo__city--hq text { font-size: 15px; font-weight: 600; fill: #ffd0c9; }
.geo__pulse {
  fill: var(--red);
  opacity: 0.6;
  transform-box: fill-box;
  transform-origin: center;
  animation: pulse 2.4s ease-out infinite;
}
.geo__map.is-paused .geo__pulse { animation-play-state: paused; }
@keyframes pulse { to { transform: scale(5); opacity: 0; } }
.geo__lists {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem 4rem;
  margin-top: 2.5rem;
}
.geo__lists h3 {
  margin-bottom: 1rem;
  font-family: var(--font-tech);
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.geo__lists h3 small { margin-left: 0.5rem; color: var(--brass); }
.geo__list { columns: 3 11rem; column-gap: 2rem; }
.geo__lists > div + div .geo__list { columns: 2 11rem; }
.geo__list li {
  break-inside: avoid;
  padding: 0.3rem 0;
  font-size: 0.95rem;
  color: rgb(244 236 220 / 0.82);
}
.geo__list li::before { content: '◆'; margin-right: 0.6rem; font-size: 0.55rem; vertical-align: 0.15em; color: var(--brass); }
.geo__list span { color: rgb(244 236 220 / 0.45); font-size: 0.85rem; }

/* ---------- Дизайн ---------- */
/* Каталог циферблатов: каждая модель — отдельная ячейка в красной «чертёжной» рамке, как в презентации */
.dials {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid rgb(200 55 45 / 0.55);
  border-left: 1px solid rgb(200 55 45 / 0.55);
  background: #f4ecdc;
  box-shadow: 0 20px 50px -30px rgb(20 33 58 / 0.5);
}
.dials li {
  border-right: 1px solid rgb(200 55 45 / 0.55);
  border-bottom: 1px solid rgb(200 55 45 / 0.55);
  padding: clamp(0.25rem, 1vw, 0.6rem);
}
.dials img { width: 100%; aspect-ratio: 1; object-fit: contain; mix-blend-mode: multiply; }
.design__options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.design__options li { padding-top: 1rem; border-top: 2px solid var(--ink); color: var(--ink-soft); }
.design__options b {
  display: block;
  margin-bottom: 0.3rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--ink);
}

/* ---------- Реставрация ---------- */
.restoration__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(2rem, 6vw, 5.5rem);
  align-items: center;
}
.restoration__media img { width: 100%; border-radius: var(--radius); box-shadow: 0 40px 80px -30px rgb(0 0 0 / 0.8); }
.cycle {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 2.25rem;
  counter-reset: cycle;
}
.cycle li {
  counter-increment: cycle;
  padding: 0.65rem 1rem;
  border: 1px solid rgb(200 155 94 / 0.5);
  border-radius: var(--radius);
  font-family: var(--font-tech);
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.cycle li::before { content: '0' counter(cycle) ' '; color: var(--brass); }

/* ---------- Вопросы и ответы ---------- */
.faq__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.faq__grid .section__head { margin-bottom: 0; }
.faq__list { border-top: 1px solid var(--line-light); }
.faq__item { border-bottom: 1px solid var(--line-light); }
.faq__item summary {
  position: relative;
  padding: 1.15rem 2.5rem 1.15rem 0;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1rem + 0.4vw, 1.3rem);
  font-weight: 600;
  line-height: 1.3;
  list-style: none;
  cursor: pointer;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: '+';
  position: absolute;
  right: 0.25rem;
  top: 50%;
  translate: 0 -50%;
  font-family: var(--font-body);
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--brass-dark);
  transition: rotate 0.25s var(--ease);
}
.faq__item[open] summary::after { rotate: 45deg; }
.faq__item summary:focus-visible { outline: 2px solid var(--brass-dark); outline-offset: 4px; }
.faq__item p { padding: 0 0 1.3rem; color: var(--ink-soft); max-width: 62ch; }
.faq .section__lead a { color: var(--ink); white-space: nowrap; }

/* ---------- Просмотр фото ---------- */
.lightbox {
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: clamp(0.75rem, 3vw, 2.5rem);
  border: 0;
  background: rgb(0 8 24 / 0.94);
  color: var(--ivory);
}
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgb(0 8 24 / 0.6); }
.lightbox__figure { display: grid; justify-items: center; gap: 0.75rem; max-width: 100%; max-height: 100%; }
.lightbox__img { max-width: min(100%, 1400px); max-height: calc(100dvh - 7rem); width: auto; height: auto; border-radius: var(--radius); }
.lightbox__cap { font-family: var(--font-tech); letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.85rem; color: rgb(244 236 220 / 0.8); }
.lightbox__btn {
  position: fixed;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgb(244 236 220 / 0.35);
  border-radius: 50%;
  background: rgb(0 12 34 / 0.6);
  color: var(--ivory);
  font-size: 1.8rem;
  line-height: 1;
}
.lightbox__btn:hover { border-color: var(--brass-light); color: var(--brass-light); }
.lightbox__btn--close { top: 1rem; right: 1rem; }
.lightbox__btn--prev { left: 1rem; top: 50%; translate: 0 -50%; }
.lightbox__btn--next { right: 1rem; top: 50%; translate: 0 -50%; }
.lightbox.is-single .lightbox__btn--prev,
.lightbox.is-single .lightbox__btn--next { display: none; }

/* ---------- Заявка и контакты ---------- */
.request {
  background:
    radial-gradient(ellipse 70% 80% at 0% 100%, rgb(21 48 92 / 0.6), transparent 70%),
    var(--navy-900);
}
.request__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}
.request__tagline {
  margin-top: 1.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1rem + 0.6vw, 1.45rem);
  font-style: italic;
  color: var(--brass-light);
}
.contacts { margin-top: 2.5rem; font-style: normal; display: grid; gap: 1.5rem; }
.contacts__row { display: flex; flex-direction: column; gap: 0.2rem; }
.contacts__row > span {
  font-family: var(--font-tech);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgb(244 236 220 / 0.5);
}
.contacts__row a:not(.contacts__map) {
  font-family: var(--font-tech);
  font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.75rem);
  letter-spacing: 0.02em;
  text-decoration: none;
  width: fit-content;
}
.contacts__row a:hover { color: var(--brass-light); }
.contacts__map { width: fit-content; margin-top: 0.25rem; color: var(--brass); font-size: 0.95rem; }

.form {
  padding: clamp(1.5rem, 4vw, 2.75rem);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 40px 90px -40px rgb(0 0 0 / 0.85);
}
.form__title { font-family: var(--font-display); font-size: 1.9rem; font-weight: 600; line-height: 1.15; }
.form__hint { margin: 0.5rem 0 1.75rem; color: var(--ink-soft); font-size: 0.95rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.field { display: flex; flex-direction: column; margin-bottom: 1rem; }
.field__label {
  margin-bottom: 0.35rem;
  font-family: var(--font-tech);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.field__input {
  width: 100%;
  min-height: 50px;
  padding: 0.75rem 0.95rem;
  border: 1px solid rgb(20 33 58 / 0.25);
  border-radius: var(--radius);
  background: #fbf7ee;
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field__input:focus { outline: none; border-color: var(--navy-700); box-shadow: 0 0 0 3px rgb(21 48 92 / 0.18); }
.field__input[aria-invalid='true'] { border-color: var(--red); }
textarea.field__input { resize: vertical; min-height: 110px; }
select.field__input {
  appearance: none;
  padding-right: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2314213a' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 12px;
}
.field__error { min-height: 1.1em; margin-top: 0.25rem; font-size: 0.82rem; color: var(--red); }
.field__error:empty { min-height: 0; margin: 0; }
.check { display: flex; gap: 0.7rem; align-items: flex-start; margin: 0.5rem 0 0.25rem; font-size: 0.88rem; color: var(--ink-soft); cursor: pointer; }
.check input { flex: none; width: 20px; height: 20px; margin: 0.1rem 0 0; accent-color: var(--navy-900); }
.check__error { display: block; margin-bottom: 1rem; }
.form .btn { margin-top: 1rem; background: var(--navy-900); border-color: var(--navy-900); color: var(--ivory); }
.form .btn:hover { background: var(--navy-700); border-color: var(--navy-700); }
.form__trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form { position: relative; }
.form .btn:disabled { opacity: 0.6; cursor: progress; }
.check a { color: var(--ink); }
.footer__copy a { color: inherit; }
.form__status { margin-top: 1rem; font-weight: 600; }
.form__status:empty { display: none; }
.form__status.is-ok { color: #1f6b3a; }
.form__status.is-error { color: var(--red); }

/* ---------- Подвал ---------- */
.footer { padding: 2.5rem 0; background: var(--navy-950); border-top: 1px solid var(--line-dark); }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem 2.5rem; }
.logo--footer { margin-right: 0; }
.footer__copy { flex: 1; min-width: 260px; font-size: 0.88rem; color: rgb(244 236 220 / 0.55); }
.footer__up { font-family: var(--font-tech); letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none; color: var(--brass); }

/* ---------- Текстовые страницы (политика конфиденциальности) ---------- */
.doc { padding: calc(var(--header-h) + 3rem) 0 5rem; background: var(--paper); color: var(--ink); }
.doc__inner { max-width: 860px; }
.doc__title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 1.4rem + 2vw, 2.9rem);
  font-weight: 600;
  line-height: 1.15;
  text-wrap: balance;
}
.doc__meta { margin-top: 0.75rem; color: var(--ink-soft); font-size: 0.92rem; }
.doc h2 {
  margin: 2.5rem 0 0.75rem;
  font-family: var(--font-tech);
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.doc p + p { margin-top: 0.75rem; }
.doc ul { margin: 0.75rem 0; padding-left: 1.25rem; list-style: disc; }
.doc li + li { margin-top: 0.35rem; }
.doc a { color: var(--navy-700); }
.doc-page .header .btn--ghost { margin-left: auto; }

/* ---------- Появление при прокрутке ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--delay, 0s);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Адаптив ---------- */
@media (max-width: 1180px) {
  .header__phone { display: none; }
  .problem__grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); }
  .problem__chain { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 0 2.5rem; align-items: start; }
  .problem__chain .problem__diagram { grid-row: 1 / span 3; grid-column: 2; }
  .why__list { grid-template-columns: repeat(3, 1fr); row-gap: 2rem; }
  .why__item:nth-child(4) { padding-left: 0; border-left: 0; }
  .autonomy__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1060px) {
  .header__inner { gap: 0.65rem; }
  .nav__list { gap: 0.6rem; }
  .nav__list a { font-size: 0.84rem; }
  .header__cta { padding: 0.5rem 0.85rem; font-size: 0.78rem; }
}

@media (max-width: 960px) {
  :root { --header-h: 66px; }

  .burger { display: block; }
  .header__cta { display: none; }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 0;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 2rem var(--gutter) 3rem;
    background: var(--navy-950);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity 0.3s, transform 0.3s var(--ease), visibility 0.3s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__list a {
    display: block;
    padding: 1rem 0;
    border-bottom: 1px solid var(--line-dark);
    font-family: var(--font-display);
    font-size: 1.6rem;
  }
  .nav__list a::after { display: none; }
  .nav__phone { display: block; font-family: var(--font-tech); font-size: 1.4rem; color: var(--brass-light); text-decoration: none; }
  .header.menu-open { background: var(--navy-950); }

  .hero { min-height: auto; padding-top: calc(var(--header-h) + 2.5rem); }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__clock { width: min(78vw, 380px); order: -1; }
  .hero__bg img { width: 100%; opacity: 0.16; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats__item:nth-child(3) { padding-left: 0; border-left: 0; }
  .stats__item { padding-bottom: 1.25rem; }

  .about__grid,
  .oil,
  .panel,
  .restoration__grid,
  .request__grid { grid-template-columns: 1fr; }
  .about__media { max-width: 460px; margin-inline: auto; }
  .problem__grid,
  .problem__chain { grid-template-columns: 1fr; }
  .problem__media { max-width: 420px; }
  .problem__chain .problem__diagram { grid-row: auto; grid-column: auto; }
  .extreme__grid,
  .led__grid { grid-template-columns: repeat(3, minmax(240px, 1fr)); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 0.75rem; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
  .extreme__card,
  .led__card { scroll-snap-align: start; }
  .geo__lists { grid-template-columns: 1fr; }
  .geo__map { margin-inline: calc(var(--gutter) * -1); }
  .design__options { grid-template-columns: 1fr; }
  .panel__media { order: -1; }
  .faq__grid { grid-template-columns: 1fr; }
  .faq__grid .section__head { margin-bottom: 0.5rem; }
  .dials { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .features,
  .autonomy__grid,
  .form__row { grid-template-columns: 1fr; }
  .why__list { grid-template-columns: 1fr; }
  .why__item,
  .why__item + .why__item { padding: 1.5rem 0 0; border-left: 0; }
  .why__item + .why__item { border-top: 1px solid var(--line-dark); }
  .why__item { display: grid; grid-template-columns: 3.5rem 1fr; column-gap: 0.75rem; }
  .why__num { grid-row: span 2; font-size: 2.4rem; }
  .why__item h3 { margin-top: 0; }
  .chain { grid-template-columns: 1fr; }
  .flow { gap: 1.25rem; --flow-gap: 1.25rem; }
  .flow__node { font-size: 0.72rem; letter-spacing: 0.06em; }
  .flow__node svg { width: 60px; height: 60px; padding: 12px; }
  .flow__node + .flow__node::before { top: 29px; }
  .specs > div { grid-template-columns: 1fr; gap: 0.2rem; }
  .cycle { grid-template-columns: 1fr 1fr; }
  .tabs { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
  .tabs__tab { flex: none; }
  .stamp { right: 0.5rem; bottom: -1rem; }
  .compare { grid-template-columns: 1fr; }
  /* узкие кадры каталога: подпись переносится, а не обрезается многоточием */
  .shot figcaption { left: 0.45rem; bottom: 0.45rem; max-width: calc(100% - 0.9rem); padding: 0.25rem 0.6rem; border-radius: 0.9rem; font-size: 0.68rem; letter-spacing: 0.06em; line-height: 1.3; white-space: normal; }
  /* Карта на телефоне — с горизонтальной прокруткой, чтобы подписи оставались читаемыми */
  .geo__map { overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
  .geo__svg { min-width: 760px; }
  .dials { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.45rem; }
  .gallery .shot--main { aspect-ratio: 4 / 3; }
  .lightbox__btn--prev,
  .lightbox__btn--next { top: auto; bottom: 1rem; translate: none; }
  .hero__clock { width: min(66vw, 300px); }
  .geo__list,
  .geo__lists > div + div .geo__list { columns: 2; }
}

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

@media print {
  .header,
  .hero__bg,
  .form,
  .burger { display: none !important; }
  .section,
  .section--dark { background: #fff !important; color: #000 !important; }
  .js .reveal { opacity: 1 !important; transform: none !important; }
}
