/* =========================================================
   IBC1000 — styles.css
   Дизайн-система: индустриальный минимализм, Oswald + Manrope.
   Светлая и тёмная темы (data-theme на <html>).
   ========================================================= */

:root {
  --bg: #e9eef1;
  --surface: #ffffff;
  --surface-2: #f3f7f9;
  --ink: #10222c;
  --ink-soft: #31454f;
  --muted: #51636e;
  --line: #cfd9df;
  --line-soft: #dfe7eb;

  --accent: #0b7fa5;
  --accent-600: #096a8a;
  --accent-700: #07536d;
  --accent-050: #e1f1f7;
  --on-accent: #ffffff;

  --orange: #e8590c;
  --orange-600: #c94a08;
  --orange-050: #fdeee5;

  --steel: #7c8b95;
  --steel-hi: #b4c0c8;
  --wood: #a98558;
  --wood-dk: #4f3d28;
  --tank1: #f8fcfe;
  --tank2: #cde5ee;
  --pallet: #1a2127;
  --lid: #161c21;
  --field: rgba(11, 127, 165, .09);

  --media-bg: #eef4f7;
  --header-bg: rgba(233, 238, 241, .86);

  --radius: 10px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(16, 34, 44, .06), 0 1px 3px rgba(16, 34, 44, .08);
  --shadow: 0 12px 32px rgba(16, 34, 44, .10);
  --shadow-lg: 0 24px 64px rgba(16, 34, 44, .18);

  --container: 1140px;
  --header-h: 74px;
  --ease: cubic-bezier(.22, 1, .36, 1);

  color-scheme: light;
}

:root[data-theme="dark"] {
  --bg: #0c141a;
  --surface: #142029;
  --surface-2: #101b22;
  --ink: #e8f1f5;
  --ink-soft: #c3d1d8;
  --muted: #8fa3af;
  --line: #26363f;
  --line-soft: #1e2c34;

  --accent: #38b6dc;
  --accent-600: #5cc6e6;
  --accent-700: #8ad8ef;
  --accent-050: #12303c;
  --on-accent: #06222d;

  --orange: #ff9650;
  --orange-600: #ffb07a;
  --orange-050: #3a2214;

  --steel: #8a9aa5;
  --steel-hi: #c3ced5;
  --wood: #8a6a42;
  --wood-dk: #2a2016;
  --tank1: #223743;
  --tank2: #2f4d5c;
  --pallet: #2d3a43;
  --lid: #0b1013;
  --field: rgba(56, 182, 220, .12);

  --media-bg: #dce7ec;
  --header-bg: rgba(12, 20, 26, .86);

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .28);
  --shadow: 0 14px 34px rgba(0, 0, 0, .34);
  --shadow-lg: 0 28px 70px rgba(0, 0, 0, .5);

  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0; }

h1, h2, h3, h4, .logo {
  margin: 0;
  font-family: "Oswald", "Arial Narrow", Impact, sans-serif;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: .005em;
}

::selection { background: var(--accent); color: var(--on-accent); }

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

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border: 2px solid var(--accent);
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 800;
  font-size: 15px;
  line-height: 1.1;
  white-space: nowrap;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease),
              background .18s var(--ease), border-color .18s var(--ease), filter .18s;
}
.btn:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}
.btn:active { transform: translateY(0); }

.btn--ghost {
  background: transparent;
  color: var(--accent);
}
.btn--ghost:hover {
  background: var(--accent-050);
  filter: none;
}

.btn--light {
  background: #fff;
  border-color: #fff;
  color: #07536d;
}
.btn--light:hover { background: #e8f4f8; filter: none; }

.btn--sm { padding: 9px 15px; font-size: 13.5px; }
.btn--lg { padding: 15px 28px; font-size: 16px; }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--header-bg);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s, background .25s;
}
.header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 20px rgba(16, 34, 44, .06);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: var(--header-h);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 27px;
  letter-spacing: .01em;
  line-height: 1;
  flex: 0 0 auto;
}
.logo__mark { display: inline-flex; color: var(--accent); }
.logo b { color: var(--accent); font-weight: 600; }

.nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}
.nav__link {
  display: inline-block;
  padding: 9px 13px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 14.5px;
  color: var(--muted);
  transition: color .18s, background .18s;
}
.nav__link:hover { color: var(--accent); background: var(--accent-050); }

.nav__drop { position: relative; }
.nav__link--drop::after {
  content: "▾";
  margin-left: 5px;
  font-size: 10px;
  display: inline-block;
  transform: translateY(-1px);
}
.nav__menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 240px;
  padding: 8px;
  display: grid;
  gap: 2px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s;
  z-index: 20;
}
.nav__drop:hover .nav__menu,
.nav__drop:focus-within .nav__menu {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.nav__menu a {
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 14.5px;
  color: var(--muted);
  white-space: nowrap;
}
.nav__menu a:hover { background: var(--accent-050); color: var(--accent); }

.nav__mobile { display: none; }

.header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}
.header__phone {
  font-weight: 800;
  font-size: 15px;
  white-space: nowrap;
  transition: color .18s;
}
.header__phone:hover { color: var(--accent); }

.theme-toggle {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--muted);
  transition: color .18s, border-color .18s, transform .18s;
}
.theme-toggle:hover { color: var(--accent); border-color: var(--accent); transform: translateY(-1px); }
.theme-toggle__sun { display: none; }
:root[data-theme="dark"] .theme-toggle__moon { display: none; }
:root[data-theme="dark"] .theme-toggle__sun { display: block; }

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
}
.burger span {
  display: block;
  width: 19px;
  height: 2px;
  margin: 0 auto;
  border-radius: 2px;
  background: var(--ink);
  transition: transform .25s var(--ease), opacity .2s;
}
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 44px 0 64px;
  border-bottom: 1px solid var(--line-soft);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(900px 480px at 82% 8%, rgba(11, 127, 165, .15), transparent 62%),
    radial-gradient(700px 420px at 0% 100%, rgba(232, 89, 12, .08), transparent 60%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 46px 46px;
  opacity: .38;
  -webkit-mask-image: radial-gradient(720px 460px at 75% 25%, #000, transparent 78%);
  mask-image: radial-gradient(720px 460px at 75% 25%, #000, transparent 78%);
}
.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 40px;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex: 0 0 auto;
}
.hero__title {
  margin: 18px 0 0;
  font-size: clamp(34px, 5.2vw, 58px);
  max-width: 17ch;
}
.hero__title span { color: var(--accent); }
.hero__text {
  margin: 20px 0 0;
  max-width: 52ch;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.hero__points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 26px;
  color: var(--ink-soft);
  font-weight: 700;
  font-size: 14px;
}
.hero__points li {
  position: relative;
  padding-left: 24px;
}
.hero__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 14px;
  height: 8px;
  border-left: 2.5px solid var(--accent);
  border-bottom: 2.5px solid var(--accent);
  transform: rotate(-45deg);
}
.hero__hint {
  margin-top: 18px;
  max-width: 48ch;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.5;
}

/* ---------- 3D-куб и игра ---------- */
.game {
  text-align: center;
  min-width: 0;
  width: 100%;
}
.stage {
  --s: 1;
  position: relative;
  height: calc(470px * var(--s));
  perspective: 1300px;
  perspective-origin: 50% 45%;
}
.rig {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 360px;
  height: 348px;
  margin: -174px 0 0 -180px;
  transform-style: preserve-3d;
  transform: scale(var(--s)) rotateX(-10deg) rotateY(-22deg);
}
.stage.is-spinning .rig { animation: turn 2.6s cubic-bezier(.5, 0, .2, 1) both; }
@keyframes turn {
  from { transform: scale(var(--s)) rotateX(-10deg) rotateY(-22deg); }
  to   { transform: scale(var(--s)) rotateX(-5deg) rotateY(0deg); }
}
.f {
  position: absolute;
  backface-visibility: hidden;
  transition: filter .45s var(--ease);
}
.fr { left: 0; top: 0; width: 360px; height: 300px; transform: translateZ(150px); }
.pf { left: 0; top: 300px; width: 360px; height: 48px; transform: translateZ(150px); }
.sd { left: 30px; top: 0; width: 300px; height: 300px; transform: rotateY(90deg) translateZ(180px); }
.ps { left: 30px; top: 300px; width: 300px; height: 48px; transform: rotateY(90deg) translateZ(180px); }
.tp { left: 0; top: -150px; width: 360px; height: 300px; transform: rotateX(90deg); }
.sh { fill: #000; opacity: .16; pointer-events: none; }
/* Поле игры живёт только внутри 3D-сцены: не пересекается с .field форм */
.stage .field { opacity: 0; transition: opacity .9s .15s; }
.stage.ready .field { opacity: 1; }

.cage { fill: none; stroke: var(--steel); stroke-width: 5; stroke-linecap: square; }
.cage-hi { fill: none; stroke: var(--steel-hi); stroke-width: 1.5; stroke-linecap: square; }
.field-lines { fill: none; stroke: var(--accent); stroke-opacity: .55; stroke-width: 5.5; stroke-linecap: square; }
.cell {
  fill: transparent;
  cursor: pointer;
  outline: none;
  pointer-events: none;
}
.stage.ready .cell { pointer-events: auto; }
.cell:hover,
.cell:focus-visible { fill: var(--accent); fill-opacity: .16; }
.cell.taken,
.over .cell { cursor: default; }
.cell.taken:hover,
.over .cell:hover { fill: transparent; }
.cell:focus-visible { stroke: var(--accent); stroke-width: 2; }

.mark,
.win {
  fill: none;
  stroke-linecap: round;
  stroke-dasharray: 1 1;
  pointer-events: none;
}
.mark { stroke-width: 8; animation: draw .35s ease-out both; }
.mark.x { stroke: var(--orange); }
.mark.o { stroke: var(--accent); }
.win { display: none; stroke: var(--accent); stroke-width: 7; opacity: .9; }
.win.on { display: block; animation: draw .45s ease-out both; }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }

.stage.is-finished .f { filter: brightness(.52) saturate(.85); }
.stage.is-finished .cell { pointer-events: none; }
.stage__end {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(330px, calc(100% - 40px), calc(360px * var(--s)));
  transform: translate(-50%, -50%);
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius-lg);
  background: rgba(8, 20, 28, .78);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .45);
  backdrop-filter: blur(10px);
  z-index: 5;
  pointer-events: none;
}
.stage__end.on { display: flex; }
.stage__promo {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 10px;
  margin: 0;
  color: #fff;
  text-align: center;
}
.stage__promo-label {
  flex-basis: 100%;
  color: rgba(255, 255, 255, .55);
  font: 600 10px/1.2 Manrope, sans-serif;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.stage__promo b {
  color: #ffd9a8;
  font: 700 28px/1 Oswald, "Arial Narrow", sans-serif;
  letter-spacing: .02em;
}
.stage__promo-perk {
  padding: 5px 9px;
  border: 1px solid rgba(255, 217, 168, .38);
  border-radius: 999px;
  background: rgba(255, 217, 168, .14);
  color: #ffd9a8;
  font: 700 13px/1 Manrope, sans-serif;
}
.stage__promo[hidden] { display: none; }
.game__again {
  width: 100%;
  pointer-events: auto;
  padding: 11px 18px;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 999px;
  background: rgba(0, 0, 0, .28);
  color: #fff;
  font: 700 13px/1 Manrope, sans-serif;
  cursor: pointer;
  transition: background .2s, border-color .2s, transform .2s;
}
.game__again:hover {
  background: rgba(0, 0, 0, .44);
  border-color: rgba(255, 255, 255, .6);
  transform: translateY(-1px);
}
.game__again:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

@media (max-width: 480px) {
  .stage__end { padding: 16px; gap: 12px; }
  .stage__promo b { font-size: 24px; }
}

/* ---------- Sections ---------- */
.section {
  padding: 82px 0;
  border-top: 1px solid var(--line-soft);
}
.section--tight { padding-top: 48px; }
.section--muted { background: var(--surface-2); }
.section__head {
  max-width: 780px;
  margin: 0 0 38px;
}
.section__head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.section__eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.section__title { font-size: clamp(28px, 3.5vw, 40px); }
.section__sub {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.6;
}
.section__more { margin-top: 26px; }

/* ---------- Product cards ---------- */
.prodgrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.prodgrid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }

.prod {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s;
}
.prod:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: var(--shadow);
}
.prod__media {
  position: relative;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  overflow: hidden;
  background: var(--media-bg);
}
.prod__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform .35s var(--ease);
}
.prod:hover .prod__media img { transform: scale(1.04); }
.prod__tag {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 4px 8px;
  border-radius: 5px;
  background: var(--orange);
  color: #fff;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.prod__tag--accent { background: var(--accent); }
.prod__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  padding: 18px;
}
.prod__title {
  font-family: "Oswald", "Arial Narrow", Impact, sans-serif;
  font-size: 21px;
  font-weight: 600;
  line-height: 1.2;
}
.prod__desc {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}
.prod__params {
  display: grid;
  gap: 3px;
  margin-top: 2px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}
.prod__params li { display: flex; gap: 6px; }
.prod__params b { color: var(--ink-soft); font-weight: 700; }
.prod__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--line-soft);
}
.prod__price {
  font-family: "Oswald", "Arial Narrow", Impact, sans-serif;
  color: var(--orange-600);
  font-size: 23px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}
.prod__price small {
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: .02em;
}
.prod__link {
  color: var(--accent);
  font-size: 14px;
  font-weight: 800;
}
.prod__link:hover { text-decoration: underline; }

.prodgrid--4 .prod__body { padding: 15px; }
.prodgrid--4 .prod__title { font-size: 19px; }
.prodgrid--4 .prod__desc { font-size: 13.5px; }
.prodgrid--4 .prod__price { font-size: 21px; }
.prodgrid--4 .prod__media { padding: 12px; }

/* ---------- Advantages ---------- */
.why {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.why__item {
  position: relative;
  overflow: hidden;
  padding: 24px 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s;
}
.why__item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--orange));
  opacity: .85;
}
.why__item:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: var(--shadow-sm);
}
.why__num {
  display: block;
  margin-bottom: 10px;
  color: var(--accent);
  font-family: "Oswald", "Arial Narrow", Impact, sans-serif;
  font-size: 13px;
  letter-spacing: .16em;
}
.why__title { font-size: 20px; margin-bottom: 6px; }
.why__text { color: var(--muted); font-size: 14px; line-height: 1.55; }

/* ---------- About ---------- */
.about {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 44px;
  align-items: center;
}
.about__media {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--media-bg);
  box-shadow: var(--shadow-sm);
}
.about__media img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.about__text p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}
.about__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}
.fact {
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.fact b {
  display: block;
  color: var(--accent);
  font-family: "Oswald", "Arial Narrow", Impact, sans-serif;
  font-size: 25px;
  font-weight: 600;
  line-height: 1.1;
}
.fact span { color: var(--muted); font-size: 12px; font-weight: 600; }

/* ---------- Specs table ---------- */
.specs-wrap {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.specs {
  width: 100%;
  border-collapse: collapse;
}
.specs caption {
  caption-side: top;
  padding: 16px 18px;
  text-align: left;
  color: var(--ink);
  font-family: "Oswald", "Arial Narrow", Impact, sans-serif;
  font-size: 20px;
  border-bottom: 1px solid var(--line);
}
.specs th,
.specs td {
  padding: 13px 18px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line-soft);
  font-size: 15px;
}
.specs thead th {
  background: var(--surface-2);
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.specs tbody th {
  width: 44%;
  color: var(--ink);
  font-weight: 700;
}
.specs tbody td { color: var(--muted); }
.specs tbody tr:last-child th,
.specs tbody tr:last-child td { border-bottom: 0; }
.specs-note {
  margin-top: 12px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.5;
}

/* ---------- Callout ---------- */
.callout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 32px 36px;
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, #0a5a76, #073f55);
  color: #fff;
  box-shadow: var(--shadow);
}
.callout h2 {
  color: #fff;
  font-size: clamp(24px, 3vw, 32px);
}
.callout p {
  margin-top: 8px;
  max-width: 62ch;
  color: rgba(255, 255, 255, .82);
  font-size: 15px;
}
.callout .btn { flex: 0 0 auto; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; max-width: 940px; }
.faq__group + .faq__group { margin-top: 28px; }
.faq__group-title {
  margin: 0 0 12px;
  color: var(--ink);
  font-family: "Oswald", "Arial Narrow", Impact, sans-serif;
  font-size: 20px;
  font-weight: 600;
}
.faq__item {
  padding: 0 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .2s, box-shadow .2s;
}
.faq__item[open] {
  border-color: var(--accent);
  box-shadow: var(--shadow-sm);
}
.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 0;
  list-style: none;
  cursor: pointer;
  color: var(--ink);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.45;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after {
  content: "+";
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: var(--accent-050);
  color: var(--accent);
  font-size: 19px;
  font-weight: 700;
  line-height: 1;
  transition: background .18s, color .18s;
}
.faq__item[open] .faq__q::after {
  content: "−";
  background: var(--accent);
  color: var(--on-accent);
}
.faq__a {
  padding: 0 0 17px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

/* ---------- Partners ---------- */
.partners {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}
.partner {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1.55 / 1;
  padding: 14px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.partner:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.partner img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(1);
  opacity: .68;
  transition: filter .2s, opacity .2s;
}
.partner:hover img { filter: none; opacity: 1; }

/* ---------- Contacts ---------- */
.contacts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 46px;
  align-items: start;
}
.contacts__list {
  display: grid;
  gap: 18px;
  margin-bottom: 26px;
}
.contacts__item { display: grid; gap: 3px; }
.contacts__label {
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.contacts__value {
  color: var(--ink);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.45;
}
.contacts__value a { display: block; }
.contacts__value a:hover { color: var(--accent); }
.contacts__cta { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Form ---------- */
.form {
  padding: 30px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.form__title {
  margin: 0 0 6px;
  font-family: "Oswald", "Arial Narrow", Impact, sans-serif;
  font-size: 26px;
  font-weight: 600;
}
.form__sub {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}
.field { display: block; margin-bottom: 14px; }
.field__label {
  display: block;
  margin-bottom: 6px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 700;
}
.field input[type="text"],
.field input[type="tel"] {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  color: var(--ink);
  font-family: inherit;
  font-size: 15px;
  transition: border-color .18s, background .18s, box-shadow .18s;
}
.field input:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--surface);
  box-shadow: 0 0 0 3px var(--accent-050);
}
.field.is-invalid input {
  border-color: #dc2626;
  background: rgba(220, 38, 38, .06);
}
.field--check {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.45;
}
.field--check input {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  flex: 0 0 auto;
  accent-color: var(--accent);
}
.field--check a { color: var(--accent); text-decoration: underline; }

.form__result {
  min-height: 20px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
}
.form__result.is-ok { color: #15803d; }
.form__result.is-err { color: #dc2626; }

.field__hint {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

/* Honeypot */
.hp {
  position: absolute !important;
  left: -9999px !important;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

/* ---------- Call time ---------- */
.field--time { margin-bottom: 16px; }
.calltime { display: grid; gap: 8px; }
.calltime__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.calltime__row--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.calltime__opt {
  display: block;
  width: 100%;
  padding: 10px 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  color: var(--ink-soft);
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
  transition: background .16s, border-color .16s, color .16s, box-shadow .16s, transform .16s;
}
.calltime__opt:hover:not(:disabled) {
  border-color: var(--accent);
  background: var(--accent-050);
  color: var(--accent);
  transform: translateY(-1px);
}
.calltime__opt:focus-visible {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-050);
}
.calltime__opt.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--on-accent);
  box-shadow: 0 6px 16px rgba(11, 127, 165, .22);
}
.calltime__opt:disabled {
  cursor: not-allowed;
  opacity: .42;
  text-decoration: line-through;
  background: var(--surface-2);
  color: var(--muted);
  transform: none;
  box-shadow: none;
}
.calltime__opt--full { grid-column: 1 / -1; }

.form__note {
  margin: 4px 0 14px;
  padding: 10px 12px;
  border-left: 3px solid var(--orange);
  border-radius: 6px;
  background: var(--orange-050);
  color: var(--orange-600);
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.45;
}
.form__note[hidden] { display: none; }

/* ---------- Footer ---------- */
.footer {
  padding: 56px 0 24px;
  background: #0d1b23;
  color: #aebfc8;
  border-top: 1px solid rgba(255, 255, 255, .08);
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.footer__brand .logo { color: #fff; }
.footer__brand .logo b { color: #38b6dc; }
.footer__brand p {
  margin-top: 12px;
  max-width: 36ch;
  color: #9fb2bc;
  font-size: 14px;
  line-height: 1.55;
}
.footer__nav { display: grid; gap: 9px; align-content: start; }
.footer__contacts { display: grid; gap: 9px; align-content: start; }
.footer__nav a,
.footer__contacts a,
.footer__contacts span {
  color: #c3d1d8;
  font-size: 14px;
}
.footer__nav a:hover,
.footer__contacts a:hover { color: #fff; }
.footer__contacts a:first-child {
  color: #fff;
  font-size: 18px;
  font-weight: 800;
}
.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 18px;
  color: #7e929d;
  font-size: 12.5px;
}
.footer__bottom a { color: #9fb2bc; text-decoration: underline; }
.footer__bottom a:hover { color: #fff; }

/* ---------- Modal ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s, visibility .25s;
}
.modal.is-open { opacity: 1; visibility: visible; }
.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 15, 21, .62);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}
.modal__dialog {
  position: relative;
  width: 100%;
  max-width: 440px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transform: translateY(14px) scale(.98);
  transition: transform .25s var(--ease);
}
.modal.is-open .modal__dialog { transform: none; }
.modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  color: var(--muted);
  font-size: 22px;
  line-height: 1;
  transition: background .18s, color .18s;
}
.modal__close:hover { background: var(--line); color: var(--ink); }

/* =========================================================
   CHAT WIDGET
   ========================================================= */
.chat { position: fixed; right: 22px; bottom: 22px; z-index: 300; }

.chat__fab {
  position: relative;
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border: none;
  border-radius: 50%;
  background: linear-gradient(135deg, #0a5a76, #073f55);
  color: #fff;
  box-shadow: 0 12px 30px rgba(7, 63, 85, .42);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}
.chat__fab:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 16px 38px rgba(7, 63, 85, .52);
}
.chat__fab-icon { position: absolute; transition: opacity .2s, transform .25s var(--ease); }
.chat__fab-icon--close { opacity: 0; transform: rotate(-90deg) scale(.6); }
.chat.is-open .chat__fab-icon--chat { opacity: 0; transform: rotate(90deg) scale(.6); }
.chat.is-open .chat__fab-icon--close { opacity: 1; transform: rotate(0) scale(1); }

.chat__fab-dot {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--orange);
  border: 2px solid #fff;
  animation: pulse 1.8s infinite;
}
.chat.is-open .chat__fab-dot { display: none; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(232, 89, 12, .55); }
  70% { box-shadow: 0 0 0 10px rgba(232, 89, 12, 0); }
  100% { box-shadow: 0 0 0 0 rgba(232, 89, 12, 0); }
}

.chat__fab-label {
  position: absolute;
  right: 74px;
  top: 50%;
  transform: translateY(-50%) translateX(8px);
  padding: 8px 13px;
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: var(--bg);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s, transform .2s var(--ease);
}
.chat__fab-label::after {
  content: "";
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: var(--ink);
}
.chat:not(.is-open) .chat__fab:hover .chat__fab-label,
.chat:not(.is-open) .chat__fab-label.is-visible {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

.chat__window {
  position: absolute;
  right: 0;
  bottom: 78px;
  width: 372px;
  max-width: calc(100vw - 44px);
  height: 540px;
  max-height: calc(100vh - 120px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transform-origin: bottom right;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(.96);
  transition: opacity .24s, transform .28s var(--ease), visibility .24s;
}
.chat.is-open .chat__window {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.chat__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 17px;
  background: linear-gradient(135deg, #0a5a76, #073f55);
  color: #fff;
}
.chat__agent { display: flex; align-items: center; gap: 11px; }
.chat__avatar {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: rgba(255, 255, 255, .18);
}
.chat__agent strong { display: block; font-size: 14.5px; }
.chat__status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  opacity: .85;
}
.chat__status i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 3px rgba(74, 222, 128, .25);
}
.chat__close {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: none;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, .14);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  transition: background .18s;
}
.chat__close:hover { background: rgba(255, 255, 255, .26); }

.chat__body {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 11px;
  padding: 17px;
  background: var(--surface-2);
}
.chat__body::-webkit-scrollbar { width: 8px; }
.chat__body::-webkit-scrollbar-thumb { background: var(--line); border-radius: 8px; }

.msg { display: flex; max-width: 86%; }
.msg--bot { align-self: flex-start; }
.msg--user { align-self: flex-end; }
.msg__bubble {
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.5;
  box-shadow: var(--shadow-sm);
  animation: msgIn .25s var(--ease) both;
}
.msg--bot .msg__bubble {
  background: var(--surface);
  color: var(--ink);
  border-bottom-left-radius: 4px;
}
.msg--user .msg__bubble {
  background: var(--accent);
  color: var(--on-accent);
  border-bottom-right-radius: 4px;
}
@keyframes msgIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

.msg--typing .msg__bubble { display: inline-flex; gap: 5px; padding: 13px 15px; }
.msg--typing .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--muted);
  animation: blink 1.2s infinite;
}
.msg--typing .dot:nth-child(2) { animation-delay: .2s; }
.msg--typing .dot:nth-child(3) { animation-delay: .4s; }
@keyframes blink {
  0%, 60%, 100% { opacity: .3; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-3px); }
}

.msg--system {
  width: 100%;
  max-width: 100%;
  align-self: center;
  justify-content: center;
}
.msg__note {
  padding: 6px 13px;
  border-radius: 999px;
  background: var(--accent-050);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
  text-align: center;
}
.msg--manager .msg__bubble { background: var(--surface); border-bottom-left-radius: 4px; }
.msg--manager .msg__bubble::before {
  content: attr(data-manager);
  display: block;
  margin-bottom: 4px;
  color: var(--orange-600);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.msg__img {
  display: block;
  width: 220px;
  max-width: 100%;
  height: auto;
  margin-top: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.chat__quick { display: flex; flex-wrap: wrap; gap: 7px; align-self: flex-start; }
.chip {
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  transition: background .18s, border-color .18s, transform .18s;
}
.chip:hover {
  background: var(--accent-050);
  border-color: var(--accent);
  transform: translateY(-1px);
}

.chat__form {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 13px;
  background: var(--surface);
  border-top: 1px solid var(--line);
}
.chat__form input {
  flex: 1;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  color: var(--ink);
  font-family: inherit;
  font-size: 14.5px;
  transition: border-color .18s, background .18s;
}
.chat__form input:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--surface);
}
.chat__form .chat__send {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  min-width: 38px;
  padding: 0;
  display: grid;
  place-items: center;
  border: none;
  border-radius: 50%;
  background: var(--accent);
  color: var(--on-accent);
  transition: background .18s, transform .18s var(--ease), opacity .18s;
}
.chat__form .chat__send:hover { background: var(--accent-600); transform: translateY(-1px); }
.chat__form .chat__send:disabled { opacity: .55; cursor: default; transform: none; }
.chat__form .chat__send svg { transform: translateX(1px); }

/* =========================================================
   INNER PAGES
   ========================================================= */
.page-head {
  padding: 38px 0 32px;
  background: linear-gradient(180deg, var(--surface-2), var(--bg));
  border-bottom: 1px solid var(--line);
}
.page-head__title { font-size: clamp(30px, 4.4vw, 46px); }
.page-head__sub {
  margin: 12px 0 0;
  max-width: 800px;
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.6;
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 13.5px;
}
.crumbs a:hover { color: var(--accent); }
.crumbs span { color: var(--ink-soft); }

.catnav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 30px;
}
.catnav a {
  padding: 8px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  transition: background .18s, color .18s, border-color .18s;
}
.catnav a:hover { background: var(--accent-050); color: var(--accent); border-color: var(--accent); }
.catnav a.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--on-accent);
}

.cat-block + .cat-block { margin-top: 50px; }
.cat-block__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 14px;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.cat-block__title { font-size: 27px; }
.cat-block__price {
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--orange-050);
  color: var(--orange-600);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}
.cat-block__link {
  margin-left: auto;
  color: var(--accent);
  font-size: 13.5px;
  font-weight: 800;
}
.cat-block__link:hover { text-decoration: underline; }

/* ---------- Alternating feature blocks ---------- */
.feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 52px;
  align-items: center;
}
.feature + .feature { margin-top: 60px; }
.feature--rev .feature__media { order: 2; }
.feature--rev .feature__body { order: 1; }
.feature__media {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--media-bg);
  box-shadow: var(--shadow);
}
.feature__media img {
  width: 100%;
  height: auto;
  border: 0;
  border-radius: calc(var(--radius-lg) - 6px);
  background: transparent;
  box-shadow: none;
  mix-blend-mode: multiply;
}
.feature__eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.feature__body h2 {
  margin: 0 0 12px;
  font-size: clamp(24px, 2.7vw, 30px);
}
.feature__body p {
  margin: 0 0 13px;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.65;
}
.feature__body p:last-child { margin-bottom: 0; }
.feature__list { display: grid; gap: 8px; margin-top: 4px; }
.feature__list li {
  position: relative;
  padding-left: 24px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.5;
}
.feature__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 13px;
  height: 7px;
  border-left: 2.5px solid var(--accent);
  border-bottom: 2.5px solid var(--accent);
  transform: rotate(-45deg);
}

/* ---------- Map (2ГИС, makemap) ---------- */
.map {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-2);
}
.map iframe {
  display: block;
  width: 100%;
  height: 420px;
  border: 0;
}
.map__note { margin: 10px 0 0; font-size: 14px; color: var(--muted); }
.map__note a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.map__note a:hover { color: var(--accent-600); }

/* ---------- Cookie notice ---------- */
.cookie {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 980px;
  margin: 0 auto;
  padding: 15px 19px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.cookie.is-visible { opacity: 1; transform: none; }
.cookie__text {
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.45;
}
.cookie__text a { color: var(--accent); text-decoration: underline; }
.cookie__actions { display: flex; gap: 8px; margin-left: auto; flex: 0 0 auto; }

/* ---------- Text pages ---------- */
.prose { max-width: 900px; }
.prose h2 {
  margin: 32px 0 10px;
  font-size: 23px;
}
.prose h3 {
  margin: 24px 0 8px;
  font-size: 19px;
}
.prose p {
  margin: 0 0 13px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.68;
}
.prose ul {
  margin: 0 0 14px;
  padding-left: 22px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.68;
}
.prose li { margin-bottom: 5px; list-style: disc; }
.prose a { color: var(--accent); text-decoration: underline; }
.prose__meta {
  margin-top: 26px;
  color: var(--muted);
  font-size: 13.5px;
}

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .55s var(--ease), transform .55s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (min-width: 940px) {
  .hero__inner {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
    gap: 48px;
  }
}

@media (max-width: 1024px) {
  .prodgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .prodgrid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about,
  .contacts { grid-template-columns: 1fr; gap: 32px; }
  .partners { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .callout { grid-template-columns: 1fr; }
  .callout .btn { justify-self: start; }
}

@media (max-width: 939px) {
  .hero { padding: 36px 0 56px; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__title { max-width: 20ch; }
  .game { max-width: 540px; margin: 0 auto; }
}

@media (max-width: 860px) {
  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    padding: 12px 20px 22px;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity .22s, transform .22s var(--ease), visibility .22s;
    z-index: 99;
  }
  .nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
  }
  .nav__link { padding: 11px 12px; font-size: 16px; }
  .nav__drop { width: 100%; }
  .nav.is-open .nav__menu {
    position: static;
    min-width: 0;
    margin: 2px 0 4px;
    padding: 2px 0 2px 12px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .nav__menu a { padding: 8px 12px; }
  .nav__mobile {
    display: grid;
    gap: 8px;
    margin-top: 8px;
    padding-top: 13px;
    border-top: 1px solid var(--line);
  }
  .nav__phone {
    padding: 6px 12px;
    color: var(--ink);
    font-size: 18px;
    font-weight: 800;
  }
  .header__phone,
  .header__cta { display: none; }
  .burger { display: flex; }
  .header__actions { margin-left: auto; }
  .header__inner { gap: 10px; }

  .feature { grid-template-columns: 1fr; gap: 20px; }
  .feature + .feature { margin-top: 44px; }
  .feature--rev .feature__media,
  .feature--rev .feature__body { order: 0; }
}

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .section { padding: 58px 0; }
  .section__head { margin-bottom: 28px; }
  .section__sub { font-size: 15px; }

  .logo { font-size: 23px; gap: 8px; }
  .logo__mark svg { width: 27px; height: 27px; }
  .theme-toggle { width: 38px; height: 38px; }
  .burger { width: 40px; height: 40px; }

  .hero { padding: 28px 0 46px; }
  .hero__title { font-size: clamp(32px, 9vw, 42px); max-width: none; }
  .hero__text { font-size: 16px; }
  .hero__cta .btn { flex: 1 1 100%; }
  .hero__points { gap: 8px 16px; font-size: 13px; }
  .hero__hint { font-size: 12.5px; }
  .badge { font-size: 10.5px; }

  .prodgrid,
  .prodgrid--4,
  .why { grid-template-columns: 1fr; }
  .prodgrid { max-width: 420px; margin: 0 auto; }
  .prodgrid--4 { max-width: none; }
  .prod__title { font-size: 21px; }

  .about__facts { grid-template-columns: 1fr 1fr; }
  .contact,
  .contacts { gap: 26px; }

  .form { padding: 22px; }
  .modal__dialog { padding: 24px 20px; }
  .callout { padding: 24px 22px; }
  .callout .btn { width: 100%; }

  .specs th,
  .specs td { padding: 11px 13px; font-size: 14px; }
  .specs tbody th { width: 48%; }
  .specs caption { padding: 13px 14px; font-size: 18px; }

  .partners { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .partner { padding: 10px; }

  .faq__item { padding: 0 15px; }
  .faq__q { font-size: 15px; padding: 13px 0; }
  .faq__a { font-size: 14px; }

  .footer { padding: 42px 0 20px; }
  .footer__inner { grid-template-columns: 1fr; gap: 24px; }
  .footer__bottom { font-size: 12px; }

  .map iframe { height: 300px; }

  .chat { right: 14px; bottom: 14px; }
  .chat__window {
    width: calc(100vw - 28px);
    height: calc(100vh - 130px);
  }
  .chat__fab-label { display: none; }

  .cookie {
    left: 12px;
    right: 12px;
    bottom: 12px;
    flex-direction: column;
    align-items: stretch;
    gap: 11px;
  }
  .cookie__actions { margin-left: 0; }
  .cookie__actions .btn { flex: 1 1 auto; }
}

@media (max-width: 420px) {
  .calltime__row--three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .calltime__opt { font-size: 12px; padding: 9px 5px; }
  .partners { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about__facts { grid-template-columns: 1fr; }
  .hero__points { display: grid; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .rig,
  .stage.is-spinning .rig,
  .mark,
  .win.on { animation: none; }
  .f { transition: none; }
  .stage__end { transition: none; }
  .prod:hover,
  .btn:hover,
  .why__item:hover { transform: none; }
}
