/* ============================================================================
   remontandroid — landing styles v3 «светлая лаборатория»
   System:
   - Материал: сервисный стол при дневном свете — чистый, точный, инженерный
   - Type: Space Grotesk (display) + Inter (body) + JetBrains Mono (labels)
   - Color: холодный светлый фон, белые карточки, графитовый текст,
     Android-зелёный (CTA) + медь (цены, цифры)
   - Signature: диагностический HUD в hero (скобки, скан-линия, курсор)
   ========================================================================= */

:root {
  /* light bench — холодный светло-серый фон, белые поверхности */
  --bg:       oklch(0.972 0.004 230);
  --bg-2:     #ffffff;
  --bg-3:     oklch(0.945 0.006 230);
  --panel:    #ffffff;

  /* графитовый текст */
  --ink:      oklch(0.23 0.02 250);
  --ink-2:    oklch(0.40 0.018 245);
  --muted:    oklch(0.54 0.015 240);

  --line:     oklch(0.905 0.006 230);
  --line-2:   oklch(0.835 0.008 230);

  /* Android green — бренд, CTA */
  --accent:     #5ec979;
  --accent-ink: oklch(0.24 0.06 150);
  /* тёмно-зелёный для текста/ссылок на светлом */
  --accent-2:   oklch(0.50 0.12 150);

  /* медь — цены, цифры (затемнена для контраста на светлом) */
  --copper:   oklch(0.56 0.11 60);
  --coral:    oklch(0.56 0.11 60); /* legacy alias */
  --danger:   oklch(0.55 0.20 25);

  /* typography */
  --f-display: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --f-body: "Inter", ui-sans-serif, system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* layout — компактнее, чем v2 */
  --container: 1240px;
  --pad-x: clamp(20px, 4vw, 52px);
  --section-pad: clamp(44px, 5.5vw, 80px);
  --radius: 12px;
  --radius-sm: 7px;
  --radius-lg: 16px;
}

/* ---------- reset / base ---------- */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; overflow-x: hidden; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
::selection { background: var(--accent); color: var(--accent-ink); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }

/* ---------- shared building blocks ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

.section {
  padding-top: var(--section-pad);
  padding-bottom: var(--section-pad);
  position: relative;
}
.section--tight { padding-top: calc(var(--section-pad) * 0.6); padding-bottom: calc(var(--section-pad) * 0.6); }
.section--dark { background: var(--bg-3); }

/* eyebrow — терминальная метка: «// sluzby» */
.eyebrow {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--accent-2);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "//";
  font-family: var(--f-mono);
  color: var(--muted);
  opacity: 0.9;
}

.h-display {
  font-family: var(--f-display);
  font-weight: 500;
  letter-spacing: -0.022em;
  line-height: 1.06;
  text-wrap: balance;
}
.h1 { font-size: clamp(34px, 4.8vw, 64px); }
.h2 { font-size: clamp(27px, 3.4vw, 42px); }
.h3 { font-size: clamp(21px, 2.3vw, 28px); }

.lead {
  font-size: clamp(16px, 1.3vw, 18px);
  color: var(--ink-2);
  line-height: 1.55;
  max-width: 60ch;
  text-wrap: pretty;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 20px;
  border-radius: 10px;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  transition: transform .12s ease, background .15s ease, color .15s ease, border-color .15s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--lg { padding: 16px 26px; font-size: 16px; }
.btn--primary { background: var(--accent); color: var(--accent-ink); font-weight: 600; }
.btn--primary:hover { background: oklch(from var(--accent) calc(l + 0.05) c h); box-shadow: 0 8px 22px -8px oklch(from var(--accent) l c h / 0.6); }
/* btn--ink: графитовая кнопка */
.btn--ink { background: var(--ink); color: #fff; font-weight: 600; }
.btn--ink:hover { background: oklch(from var(--ink) calc(l + 0.08) c h); }
.btn--ghost { background: var(--bg-2); color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--accent-2); color: var(--accent-2); }
.btn--text { background: transparent; padding: 6px 0; gap: 6px; color: var(--accent-2); font-family: var(--f-mono); font-size: 13px; letter-spacing: 0.02em; }
.btn--text:hover { color: var(--accent-ink); }

/* Service card CTA */
.btn--service {
  background: transparent;
  color: var(--ink-2);
  border-color: var(--line-2);
  padding: 10px 16px;
  font-size: 14px;
  align-self: flex-start;
}
.btn--service:hover,
.service:hover .btn--service {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
}
.btn--service .arrow { transition: transform .2s ease; }
.btn--service:hover .arrow { transform: translateX(4px); }
.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- top phone bar ---------- */
.topbar {
  background: var(--panel);
  color: var(--ink-2);
  font-size: 13px;
  border-bottom: 1px solid var(--line);
}
.topbar__row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 8px 0;
}
.topbar__left {
  display: flex; align-items: center; gap: 24px;
  font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.02em;
  color: var(--muted);
}
.topbar__hours { display: inline-flex; gap: 8px; align-items: center; }
/* индикатор «в работе» */
.topbar__hours:first-child::before {
  content: "";
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 6px oklch(from var(--accent) l c h / 0.8);
  flex: none;
}

/* phone CTA pill */
.phone-pill {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 4px 4px 4px 14px;
  background: var(--accent);
  color: var(--accent-ink);
  border-radius: 999px;
  font-weight: 600;
  transition: transform .12s ease, background .15s ease, box-shadow .2s ease;
}
.phone-pill:hover { background: oklch(from var(--accent) calc(l + 0.05) c h); box-shadow: 0 6px 18px -6px oklch(from var(--accent) l c h / 0.6); }
.phone-pill:active { transform: translateY(1px); }
.phone-pill__icon {
  width: 26px; height: 26px;
  border-radius: 999px;
  background: var(--accent-ink); color: var(--accent);
  display: inline-flex; align-items: center; justify-content: center;
  order: 2;
  flex: none;
}
.phone-pill__num {
  font-family: var(--f-mono);
  font-size: 13px; font-weight: 600;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
  order: 1;
}

/* ---------- header / navigation ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: oklch(from var(--panel) l c h / 0.85);
  backdrop-filter: saturate(1.2) blur(14px);
  -webkit-backdrop-filter: saturate(1.2) blur(14px);
  border-bottom: 1px solid var(--line);
}
.header__row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 11px 0;
}
.brand {
  display: inline-flex; align-items: center; gap: 11px;
}
.brand__mark {
  width: 38px; height: 38px;
  display: inline-flex; align-items: center; justify-content: center;
  flex: none;
}
.brand__mark img { width: 100%; height: 100%; object-fit: contain; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-family: var(--f-display); font-weight: 600; font-size: 18px; letter-spacing: -0.018em; color: var(--ink); }
.brand__sub  { font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.06em; color: var(--muted); margin-top: 3px; text-transform: uppercase; }

.nav { display: flex; justify-content: center; gap: 2px; }
.nav a {
  padding: 8px 13px;
  border-radius: 8px;
  font-size: 14px; font-weight: 500;
  color: var(--ink-2);
  transition: background .15s ease, color .15s ease;
}
.nav a:hover { background: var(--bg); color: var(--ink); }

.header__cta { display: flex; align-items: center; gap: 12px; }

/* language switcher (legacy pills) */
.langs {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px;
  background: var(--bg);
}
.langs button {
  border: 0; background: transparent;
  padding: 6px 12px; border-radius: 999px;
  font-family: var(--f-mono); font-size: 12px; font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.langs button.active { background: var(--accent); color: var(--accent-ink); }
.langs button:not(.active):hover { color: var(--ink); }

/* language dropdown */
.langs-dd { position: relative; display: inline-block; }
.langs-dd__toggle {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid var(--line-2); background: var(--bg-2);
  border-radius: 8px; padding: 7px 12px;
  font-family: var(--f-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.04em;
  color: var(--ink); cursor: pointer;
  text-transform: uppercase;
}
.langs-dd__toggle:hover { border-color: var(--muted); }
.langs-dd__caret { font-size: 10px; color: var(--muted); transition: transform .15s ease; }
.langs-dd.is-open .langs-dd__caret { transform: rotate(180deg); }
.langs-dd__menu {
  position: absolute; top: calc(100% + 6px); right: 0; z-index: 60;
  margin: 0; padding: 6px; list-style: none; min-width: 172px;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 14px 36px rgba(20, 30, 45, 0.14);
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity .15s ease, transform .15s ease, visibility .15s ease;
}
.langs-dd.is-open .langs-dd__menu { opacity: 1; visibility: visible; transform: translateY(0); }
.langs-dd__menu li { margin: 0; }
.langs-dd__menu button {
  display: flex; align-items: baseline; gap: 8px; width: 100%;
  border: 0; background: transparent; cursor: pointer; text-align: left;
  padding: 8px 10px; border-radius: 8px; color: var(--ink-2);
}
.langs-dd__menu button:hover { background: var(--bg); color: var(--ink); }
.langs-dd__menu button.is-active { background: var(--accent); color: var(--accent-ink); }
.langs-dd__code { font-family: var(--f-mono); font-size: 12px; font-weight: 600; letter-spacing: 0.04em; min-width: 26px; text-transform: uppercase; }
.langs-dd__name { font-size: 13px; }

/* mobile menu trigger */
.menu-btn {
  display: none;
  width: 40px; height: 40px;
  border-radius: 8px;
  border: 1px solid var(--line-2);
  background: var(--bg-2);
  align-items: center; justify-content: center;
}
.menu-btn span { width: 16px; height: 1.5px; background: var(--ink); display: block; position: relative; }
.menu-btn span::before, .menu-btn span::after {
  content: ""; position: absolute; left: 0; width: 16px; height: 1.5px; background: var(--ink);
}
.menu-btn span::before { top: -5px; }
.menu-btn span::after  { top: 5px; }

/* mobile drawer */
.drawer { display: none; }
.drawer.open { display: block; }
.drawer__panel {
  padding: 14px 0 24px;
  border-top: 1px solid var(--line);
}
.drawer__panel a {
  display: block; padding: 12px 0;
  font-size: 18px; font-family: var(--f-display); font-weight: 500;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}
.drawer__cta { margin-top: 16px; display: flex; gap: 10px; }

/* ---------- hero: диагностический стенд при дневном свете ---------- */
.hero {
  position: relative;
  padding-top: clamp(40px, 5.5vw, 76px);
  padding-bottom: clamp(40px, 5.5vw, 76px);
  overflow: hidden;
  /* инженерная точечная сетка */
  background-image: radial-gradient(oklch(0.35 0.02 240 / 0.07) 1px, transparent 1px);
  background-size: 24px 24px;
}
/* мягкое зелёное свечение за визуалом */
.hero::before {
  content: "";
  position: absolute;
  top: -8%; right: -10%;
  width: 52%; height: 85%;
  background: radial-gradient(closest-side, oklch(from var(--accent) l c h / 0.14), transparent 70%);
  pointer-events: none;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  position: relative;
}
.hero__eyebrow { margin-bottom: 20px; }
.hero__title { margin: 0; }
.hero__title .accent {
  color: var(--accent-2);
  position: relative;
  display: inline-block;
}
/* мигающий курсор терминала после акцентного слова */
.hero__title .accent::after {
  content: "";
  display: inline-block;
  width: 0.45em; height: 0.9em;
  margin-left: 0.12em;
  background: var(--accent);
  vertical-align: baseline;
  transform: translateY(0.12em);
  animation: ra-caret 1.1s steps(1) infinite;
}
@keyframes ra-caret { 50% { opacity: 0; } }
.hero__lead { margin: 22px 0 0; }
.hero__ctas { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }

/* HUD-рамка вокруг фото устройства: угловые скобки видоискателя */
.hero__visual {
  position: relative;
  padding: 12px;
  background:
    linear-gradient(var(--accent-2), var(--accent-2)) left top    / 2px 22px,
    linear-gradient(var(--accent-2), var(--accent-2)) left top    / 22px 2px,
    linear-gradient(var(--accent-2), var(--accent-2)) right top   / 2px 22px,
    linear-gradient(var(--accent-2), var(--accent-2)) right top   / 22px 2px,
    linear-gradient(var(--accent-2), var(--accent-2)) left bottom / 2px 22px,
    linear-gradient(var(--accent-2), var(--accent-2)) left bottom / 22px 2px,
    linear-gradient(var(--accent-2), var(--accent-2)) right bottom/ 2px 22px,
    linear-gradient(var(--accent-2), var(--accent-2)) right bottom/ 22px 2px;
  background-repeat: no-repeat;
}

.hero__device {
  position: relative;
  width: 100%; aspect-ratio: 5/5.4;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 18px 44px -22px rgba(20, 30, 45, 0.28);
}
.hero__device img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.hero__device .placeholder { position: absolute; inset: 0; }
/* скан-линия диагностики поверх фото */
.hero__device::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: -10%;
  height: 64px;
  z-index: 2;
  background: linear-gradient(to bottom,
    oklch(from var(--accent) l c h / 0) 0%,
    oklch(from var(--accent) l c h / 0.14) 46%,
    oklch(from var(--accent) l c h / 0.75) 50%,
    oklch(from var(--accent) l c h / 0.14) 54%,
    oklch(from var(--accent) l c h / 0) 100%);
  animation: ra-scan 5.5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes ra-scan {
  0%   { top: -12%; opacity: 0; }
  6%   { opacity: 1; }
  60%  { top: 104%; opacity: 1; }
  66%  { opacity: 0; }
  100% { top: 104%; opacity: 0; }
}

/* статус-чипы диагностики */
.hero__badge {
  position: absolute;
  z-index: 4;
  background: oklch(from var(--bg-2) l c h / 0.92);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  color: var(--ink);
  border-radius: 8px;
  padding: 10px 14px 10px 28px;
  display: flex; flex-direction: column;
  font-family: var(--f-display);
  box-shadow: 0 14px 32px -14px rgba(20, 30, 45, 0.3);
}
/* зелёный индикатор состояния */
.hero__badge::before {
  content: "";
  position: absolute;
  left: 12px; top: 17px;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 6px oklch(from var(--accent) l c h / 0.8);
}
.hero__badge--1 { left: -10px; top: 34px; }
.hero__badge--2 { right: -8px; bottom: 30px; }
.hero__badge .num {
  font-size: 20px; font-weight: 600; letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  color: var(--accent-2);
}
.hero__badge--2 .num { color: var(--copper); }
.hero__badge .lbl { font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.07em; text-transform: uppercase; color: var(--muted); margin-top: 2px; }

/* hero stats — приборная строка */
.hero__stats {
  margin-top: clamp(40px, 5vw, 64px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-2);
  overflow: hidden;
  box-shadow: 0 10px 30px -18px rgba(20, 30, 45, 0.18);
}
.hero__stat {
  padding: 22px 22px;
  border-right: 1px solid var(--line);
  position: relative;
}
.hero__stat:last-child { border-right: 0; }
.hero__stat .n {
  font-family: var(--f-display); font-weight: 600; letter-spacing: -0.02em;
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1;
  color: var(--copper);
  font-variant-numeric: tabular-nums;
}
.hero__stat .l {
  margin-top: 8px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.03em;
  color: var(--muted);
}

/* brands strip */
.brands {
  margin-top: clamp(28px, 3.5vw, 44px);
  padding: 18px 0;
}
.brands__row { display: flex; flex-wrap: wrap; gap: 14px 32px; align-items: center; }
.brands__label {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.brand-chip {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(15px, 1.4vw, 18px);
  color: var(--ink-2);
  letter-spacing: -0.01em;
  opacity: 0.65;
  transition: opacity .15s ease, color .15s ease;
}
.brand-chip:hover { opacity: 1; color: var(--ink); }

/* ---------- placeholders ---------- */
.placeholder {
  position: relative;
  width: 100%; height: 100%;
  background: var(--bg-3);
  border: 1px dashed var(--line-2);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted);
}
.placeholder span {
  font-family: var(--f-mono);
  font-weight: 500;
  font-size: clamp(11px, 1vw, 13px);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 7px 14px;
  border: 1px solid currentColor;
  border-radius: 999px;
  opacity: 0.7;
}

/* ---------- section header ---------- */
.section-head {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(20px, 3.5vw, 56px);
  align-items: end;
  margin-bottom: clamp(26px, 3.5vw, 44px);
}
.section-head__title { margin: 12px 0 0; }
.section-head__lead { margin: 0; }

/* ---------- services grid ---------- */
.services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.service {
  position: relative;
  padding: clamp(20px, 2.2vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex; flex-direction: column;
  gap: 12px;
  background: var(--bg-2);
  overflow: hidden;
}
/* медная «контактная площадка» в углу карточки */
.service::after {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 30px; height: 30px;
  background:
    linear-gradient(to bottom left, oklch(from var(--copper) l c h / 0.3) 50%, transparent 50%);
  opacity: 0;
  transition: opacity .2s ease;
}
.service:hover { border-color: var(--line-2); }
.service:hover::after { opacity: 1; }
.service:hover .service__icon {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
}
.service__head {
  display: flex; align-items: center; gap: 13px;
}
.service__icon {
  width: 42px; height: 42px;
  border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  background: oklch(from var(--accent) l c h / 0.1);
  border: 1px solid oklch(from var(--accent) l c h / 0.35);
  color: var(--accent-2);
  transition: background .2s ease, color .2s ease, border-color .2s ease;
  flex: none;
}
.service__icon svg { width: 20px; height: 20px; }
.service__title {
  margin: 0;
  font-family: var(--f-display); font-weight: 600;
  font-size: clamp(19px, 1.6vw, 22px);
  letter-spacing: -0.018em;
  line-height: 1.15;
  color: var(--ink);
}
.service__body {
  margin: 0; color: var(--ink-2);
  font-size: 15px; line-height: 1.55;
  max-width: 50ch;
  text-wrap: pretty;
}
.service__tags {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-top: auto;
  padding-top: 4px;
}
.service__chip {
  font-family: var(--f-mono); font-size: 11px;
  letter-spacing: 0.03em;
  padding: 3px 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--muted);
  background: var(--bg);
}
.service__cta { margin-top: 4px; align-self: flex-start; }

/* ---------- why us ---------- */
.why {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.why__card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  background: var(--bg-2);
  display: flex; flex-direction: column;
  min-height: 190px;
}
.why__num {
  font-family: var(--f-mono);
  font-weight: 500;
  font-size: 11px;
  color: var(--accent-2);
  border: 1px solid oklch(from var(--accent) l c h / 0.45);
  background: oklch(from var(--accent) l c h / 0.09);
  padding: 4px 9px;
  border-radius: 6px;
  display: inline-block; align-self: flex-start;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.why__t { margin: 16px 0 8px; font-family: var(--f-display); font-weight: 600; font-size: 18px; letter-spacing: -0.01em; color: var(--ink); }
.why__d { color: var(--ink-2); font-size: 14px; line-height: 1.55; margin: 0; }

/* ---------- repairs list ---------- */
.repairs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.repair {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: start;
}
.repair:hover { border-color: var(--line-2); }
.repair__icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  background: oklch(from var(--accent) l c h / 0.1);
  border: 1px solid oklch(from var(--accent) l c h / 0.35);
  color: var(--accent-2);
  flex: none;
}
.repair__icon svg { width: 21px; height: 21px; }
.repair__body { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.repair__t {
  margin: 0;
  font-family: var(--f-display); font-weight: 600;
  font-size: clamp(17px, 1.5vw, 20px);
  letter-spacing: -0.015em;
  color: var(--ink);
  line-height: 1.2;
}
.repair__d {
  margin: 0;
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.55;
  text-wrap: pretty;
}

/* ---------- pricing: терминальная таблица ---------- */
.pricing {
  display: grid;
  gap: 32px;
}
.tabs {
  display: inline-flex;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 4px;
  gap: 4px;
  margin-bottom: 8px;
}
.tabs button {
  border: 0; background: transparent;
  padding: 9px 18px; border-radius: 7px;
  font-family: var(--f-mono);
  font-weight: 500; font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--muted);
}
.tabs button.active { background: var(--accent); color: var(--accent-ink); font-weight: 600; }
.tabs button:not(.active):hover { color: var(--ink); background: var(--bg); }

.price-group {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-2);
  box-shadow: 0 8px 26px -18px rgba(20, 30, 45, 0.16);
}
.price-group__head {
  display: flex; align-items: baseline; justify-content: space-between;
  padding: 16px 24px; border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.price-group__title { font-family: var(--f-display); font-weight: 600; font-size: 18px; letter-spacing: -0.015em; color: var(--ink); }
.price-group__sub { font-family: var(--f-mono); font-size: 12px; color: var(--muted); letter-spacing: 0.05em; }

.price-table { width: 100%; border-collapse: collapse; }
.price-table th, .price-table td {
  text-align: left;
  padding: 14px 24px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.price-table th {
  font-family: var(--f-mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted);
  background: var(--bg-2);
}
.price-table tbody tr:last-child td { border-bottom: 0; }
.price-table tbody tr:hover { background: var(--bg); }
.price-table .col-name { font-weight: 500; color: var(--ink); width: 28%; }
.price-table .col-price {
  font-family: var(--f-mono); font-weight: 600; font-size: 15px;
  color: var(--copper); white-space: nowrap; width: 18%;
  font-variant-numeric: tabular-nums;
}
.price-table .col-price .cur { font-family: var(--f-mono); font-size: 11px; color: var(--muted); margin-left: 6px; letter-spacing: 0.06em; }
.price-table .col-desc { color: var(--ink-2); font-size: 14px; line-height: 1.55; }

.price-footnote {
  font-family: var(--f-mono);
  font-size: 12px; color: var(--muted);
  letter-spacing: 0.02em;
  display: flex; align-items: center; gap: 10px;
  margin-top: 4px;
}
.price-footnote::before {
  content: "*";
  color: var(--copper);
  font-size: 16px;
  flex: none;
}

/* ---------- reviews ---------- */
.reviews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.review {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-2);
  display: flex; flex-direction: column; gap: 20px;
  min-height: 230px;
}
.review__quote {
  font-family: var(--f-display);
  font-size: 17px;
  line-height: 1.45;
  color: var(--ink);
  letter-spacing: -0.008em;
  margin: 0;
  flex: 1;
  text-wrap: pretty;
}
.review__mark {
  font-family: var(--f-mono); font-size: 24px; color: var(--accent-2); line-height: 0.5;
  margin-bottom: -8px;
}
.review__by { display: flex; align-items: center; gap: 12px; }
.review__avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: oklch(from var(--accent) l c h / 0.12);
  border: 1px solid oklch(from var(--accent) l c h / 0.45);
  color: var(--accent-2);
  font-family: var(--f-mono); font-weight: 600; font-size: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  flex: none;
}
.review__by .name { font-weight: 600; font-size: 14px; color: var(--ink); }
.review__by .role { font-size: 11px; color: var(--muted); font-family: var(--f-mono); letter-spacing: 0.04em; }

/* ---------- news ---------- */
.news {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.news__card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  background: var(--bg-2);
}
.news__media {
  aspect-ratio: 16 / 10;
  border-bottom: 1px solid var(--line);
  background: var(--bg-3);
}
.news__body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.news__meta {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.05em;
  color: var(--muted);
}
.news__tag {
  padding: 3px 8px; border-radius: 5px;
  background: oklch(from var(--copper) l c h / 0.1);
  border: 1px solid oklch(from var(--copper) l c h / 0.35);
  color: var(--copper);
  text-transform: uppercase;
}
.news__t { margin: 2px 0 0; font-family: var(--f-display); font-weight: 500; font-size: 18px; line-height: 1.25; letter-spacing: -0.012em; color: var(--ink); }
.news__d { margin: 2px 0 0; color: var(--ink-2); font-size: 14px; line-height: 1.55; }
.news__more { margin-top: auto; padding-top: 12px; }

/* ---------- faq ---------- */
.faq { max-width: 840px; }
.faq__item {
  border-top: 1px solid var(--line);
  padding: 4px 0;
}
.faq__item:last-child { border-bottom: 1px solid var(--line); }
.faq__q {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  font-family: var(--f-display); font-weight: 500; font-size: clamp(17px, 1.5vw, 20px);
  letter-spacing: -0.012em;
  cursor: pointer; background: none; border: 0; width: 100%; text-align: left;
  color: var(--ink);
}
.faq__q:hover { color: var(--accent-2); }
.faq__plus {
  width: 26px; height: 26px;
  border: 1px solid var(--line-2);
  border-radius: 6px;
  display: inline-flex; align-items: center; justify-content: center;
  flex: none;
  color: var(--ink);
  transition: background .15s ease, color .15s ease, border-color .15s ease, transform .25s ease;
  position: relative;
}
.faq__plus::before, .faq__plus::after {
  content: "";
  position: absolute;
  background: currentColor;
}
.faq__plus::before { width: 10px; height: 1.5px; }
.faq__plus::after { width: 1.5px; height: 10px; transition: transform .25s ease; }
.faq__item.open .faq__plus { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.faq__item.open .faq__plus::after { transform: rotate(90deg); }
.faq__a {
  max-height: 0; overflow: hidden;
  transition: max-height .3s ease, padding .25s ease;
  color: var(--ink-2); font-size: 15px; line-height: 1.6;
}
.faq__item.open .faq__a {
  max-height: 400px;
  padding: 0 56px 20px 0;
}

/* ---------- contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: clamp(28px, 3.5vw, 48px);
  align-items: stretch;
}
.contact-info { display: flex; flex-direction: column; gap: 8px; }
.contact-row { display: flex; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-row:first-of-type { border-top: 1px solid var(--line); }
.contact-row__label {
  flex: 0 0 120px;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.07em;
  text-transform: uppercase; color: var(--muted);
  padding-top: 4px;
}
.contact-row__value {
  font-family: var(--f-display); font-weight: 500; font-size: 17px;
  letter-spacing: -0.01em;
  white-space: pre-line;
  color: var(--ink);
}
.contact-row__value a { color: var(--ink); border-bottom: 1px solid var(--line-2); padding-bottom: 1px; }
.contact-row__value a:hover { color: var(--accent-2); border-bottom-color: var(--accent-2); }

.map-wrap {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-3);
  height: 100%;
  min-height: 340px;
  box-shadow: 0 10px 30px -18px rgba(20, 30, 45, 0.2);
}
.map-wrap iframe {
  width: 100%; height: 100%; border: 0; display: block;
  filter: saturate(0.85);
}
.map-wrap--big { min-height: 440px; }

/* Contact actions */
.contact-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}
.contact-cta {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 20px;
  border-radius: var(--radius);
  text-decoration: none;
  width: 100%;
  min-height: 76px;
  transition: transform .12s ease, background .15s ease, box-shadow .2s ease;
}
.contact-cta:active { transform: translateY(1px); }
.contact-cta__icon {
  width: 46px; height: 46px;
  border-radius: 11px;
  display: inline-flex; align-items: center; justify-content: center;
  flex: none;
}
.contact-cta__icon svg { width: 20px; height: 20px; }
.contact-cta__label {
  font-family: var(--f-display); font-weight: 600;
  font-size: clamp(16px, 1.4vw, 19px);
  letter-spacing: -0.012em;
  font-variant-numeric: tabular-nums;
  line-height: 1.15;
  text-wrap: balance;
}
.contact-cta--phone {
  background: var(--accent); color: var(--accent-ink);
}
.contact-cta--phone:hover { background: oklch(from var(--accent) calc(l + 0.05) c h); box-shadow: 0 10px 26px -10px oklch(from var(--accent) l c h / 0.6); }
.contact-cta--phone .contact-cta__icon {
  background: var(--accent-ink); color: var(--accent);
}
.contact-cta--book {
  background: var(--ink); color: #fff;
}
.contact-cta--book:hover { background: oklch(from var(--ink) calc(l + 0.08) c h); }
.contact-cta--book .contact-cta__icon {
  background: #fff; color: var(--ink);
}
@media (max-width: 560px) {
  .contact-actions { grid-template-columns: 1fr; }
}

.form {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg-2);
  padding: clamp(24px, 2.6vw, 36px);
}
.form__title { margin: 0 0 20px; font-family: var(--f-display); font-weight: 600; font-size: 22px; letter-spacing: -0.015em; color: var(--ink); }
.form__grid { display: grid; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.07em;
  color: var(--muted); text-transform: uppercase;
}
.field input, .field textarea {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 15px;
  font-size: 15px;
  color: var(--ink);
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--accent-2); background: var(--bg-2);
  box-shadow: 0 0 0 3px oklch(from var(--accent) l c h / 0.18);
}
.field textarea { min-height: 120px; resize: vertical; }
.form__submit { margin-top: 8px; display: flex; flex-direction: column; gap: 12px; }
.form__consent { font-size: 12px; color: var(--muted); }
.form__sent {
  padding: 14px; background: oklch(from var(--accent) l c h / 0.14);
  color: var(--accent-ink); border-radius: 8px; font-size: 14px; font-weight: 500;
  border: 1px solid oklch(from var(--accent) l c h / 0.45);
}

/* ---------- footer ---------- */
.footer {
  background: var(--panel);
  color: var(--ink);
  padding: 56px 0 28px;
  border-top: 1px solid var(--line);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 40px;
}
.footer__col h4 {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--muted);
  margin: 0 0 16px;
  font-weight: 500;
}
.footer__col a, .footer__col p {
  display: block;
  color: var(--ink-2);
  font-size: 14px;
  margin: 0 0 9px;
  line-height: 1.55;
}
.footer__col a:hover { color: var(--accent-2); }
.footer__brand p { max-width: 32ch; margin-top: 16px; color: var(--muted); }
.footer__bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding-top: 22px; border-top: 1px solid var(--line);
  font-size: 12px; color: var(--muted);
  font-family: var(--f-mono); letter-spacing: 0.04em;
}
.footer__legal { display: flex; gap: 24px; }
.footer__legal a:hover { color: var(--accent-2); }

/* ---------- sticky mobile call ---------- */
.mobile-call {
  display: none;
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60;
  padding: 12px 16px;
  background: oklch(from var(--bg-2) l c h / 0.94);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line-2);
  color: var(--ink);
  border-radius: 14px;
  font-weight: 600;
  align-items: center; justify-content: space-between;
  gap: 12px;
  box-shadow: 0 14px 36px -12px rgba(20, 30, 45, 0.35);
}
.mobile-call .lhs { display: flex; align-items: center; gap: 12px; }
.mobile-call .lhs .dot { width: 9px; height: 9px; background: var(--accent); border-radius: 50%; box-shadow: 0 0 6px oklch(from var(--accent) l c h / 0.8); }
.mobile-call .num { font-variant-numeric: tabular-nums; letter-spacing: 0.01em; font-family: var(--f-mono); font-size: 14px; }
.mobile-call .arr {
  width: 34px; height: 34px; border-radius: 10px;
  background: var(--accent); color: var(--accent-ink);
  display: inline-flex; align-items: center; justify-content: center;
}

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .nav { display: none; }
  .header__row { grid-template-columns: auto 1fr auto; }
  .header__row > .nav { display: none; }
  .menu-btn { display: inline-flex; }
  .header__cta .btn--primary { display: none; }

  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero__visual { max-width: 440px; }
  .section-head { grid-template-columns: 1fr; align-items: start; }
  .why { grid-template-columns: repeat(2, 1fr); }
  .repairs { grid-template-columns: 1fr; }
  .reviews { grid-template-columns: repeat(2, 1fr); }
  .news { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .topbar__hours { display: none; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); }
  .hero__stat { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .hero__stat:nth-child(2n) { border-right: 0; }
  .hero__stat:nth-last-child(-n+2) { border-bottom: 0; }

  .services { grid-template-columns: 1fr; }
  .why { grid-template-columns: 1fr; }
  .repair { padding: 18px 18px; gap: 16px; }
  .news { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }

  .price-table th, .price-table td { padding: 12px 16px; }
  .price-table .col-desc { display: none; }
  .price-group__head { padding: 14px 16px; }

  .contact-row { flex-direction: column; gap: 8px; }
  .contact-row__label { flex: none; }

  .mobile-call { display: flex; }
  body { padding-bottom: 78px; }

  .topbar__phone { font-size: 14px; }

  /* iOS Safari zooms on focus if the input font-size < 16px */
  .field input, .field textarea { font-size: 16px; }
}

@media (max-width: 480px) {
  .topbar__left { width: 100%; justify-content: space-between; }
  .header__cta .langs-dd { display: none; }
  .drawer .langs-dd { display: inline-block; }
  .drawer .langs-dd__menu { left: 0; right: auto; }
  .topbar__hours { font-size: 11px; }
  .hero__badge--1 { left: -4px; }
  .hero__badge--2 { right: -4px; }
}

/* ---------- blog (news card images, pagination, article) ---------- */
.news__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
a.news__media { display: block; }

.pagination {
  display: flex; justify-content: center; align-items: center; gap: 8px;
  margin-top: 36px; flex-wrap: wrap;
}
.pagination a, .pagination span {
  min-width: 40px; padding: 8px 12px; text-align: center;
  border: 1px solid var(--line); border-radius: 8px;
  font-family: var(--f-mono); font-size: 13px; color: var(--ink-2);
  text-decoration: none;
  background: var(--bg-2);
}
.pagination a:hover { border-color: var(--accent-2); color: var(--accent-2); }
.pagination .is-current { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.pagination .is-disabled { opacity: .4; pointer-events: none; }

.article { max-width: 740px; margin: 0 auto; }
.article h1 { color: var(--ink); }
.article__cover { width: 100%; border-radius: var(--radius); margin: 16px 0 8px; border: 1px solid var(--line); }
.article__meta {
  display: flex; gap: 12px; align-items: center; flex-wrap: wrap;
  font-family: var(--f-mono); font-size: 12px; color: var(--muted); margin-bottom: 8px;
}
.article__body { font-size: 17px; line-height: 1.7; color: var(--ink); }
.article__body h2 { font-family: var(--f-display); font-size: 24px; margin: 30px 0 10px; letter-spacing: -0.015em; color: var(--ink); }
.article__body h3 { font-family: var(--f-display); font-size: 20px; margin: 22px 0 8px; color: var(--ink); }
.article__body p { margin: 0 0 16px; }
.article__body a { color: var(--accent-2); border-bottom: 1px solid oklch(from var(--accent) l c h / 0.4); }
.article__body img { max-width: 100%; border-radius: var(--radius); margin: 16px 0; border: 1px solid var(--line); }
.article__backlink {
  margin-top: 36px; padding: 18px 20px; border: 1px solid var(--line);
  border-radius: var(--radius); background: var(--bg-2);
  color: var(--ink-2);
}
.article__backlink a { color: var(--accent-2); font-weight: 600; }

.blog-head { padding: 32px 0 8px; }
.blog-topbar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 0; border-bottom: 1px solid var(--line); margin-bottom: 8px;
}
.blog-topbar .brand { display: flex; align-items: center; gap: 10px; font-family: var(--f-display); font-weight: 600; text-decoration: none; color: var(--ink); }
.blog-topbar .brand img { width: 30px; height: 30px; }
.blog-langs a { margin-left: 10px; font-family: var(--f-mono); font-size: 12px; color: var(--muted); text-decoration: none; text-transform: uppercase; }
.blog-langs a:hover { color: var(--accent-2); }

/* ============================================================
   Liveliness: reveal, micro-interactions
   (уважает prefers-reduced-motion)
   ============================================================ */

/* — scroll reveal — */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease-out, transform .6s ease-out; }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-item { opacity: 0; transform: translateY(14px); transition: opacity .55s ease-out, transform .55s ease-out; transition-delay: var(--rd, 0ms); }
.reveal-item.is-in { opacity: 1; transform: none; }

/* — card lift on hover — */
.service, .repair, .why__card, .news__card {
  transition: transform .25s ease-out, box-shadow .25s ease-out,
              background .2s ease, border-color .2s ease, color .15s ease;
}
.service:hover, .repair:hover, .why__card:hover, .news__card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 38px -20px rgba(20, 30, 45, 0.25);
}
.why__card:hover, .news__card:hover { border-color: var(--line-2); }

/* — image zoom on news/blog cards — */
.news__media img { transition: transform .45s ease; }
.news__card:hover .news__media img { transform: scale(1.05); }

/* — primary buttons lift — */
.btn--primary:hover, .btn--ink:hover { transform: translateY(-1px); }

/* — статус-чипы слегка плавают — */
@keyframes ra-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
.hero__badge { animation: ra-float 4.6s ease-in-out infinite; }
.hero__badge--2 { animation-delay: 1.4s; }

/* — header shadow on scroll — */
.header { transition: box-shadow .25s ease, background-color .25s ease; }
.header.is-scrolled { box-shadow: 0 8px 26px -14px rgba(20, 30, 45, 0.18); }

/* — accessible focus ring — */
:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 2px; border-radius: 6px; }

/* — respect reduced motion — */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal, .reveal-item { opacity: 1 !important; transform: none !important; }
  .hero__title .accent::after { animation: none; opacity: 1; }
  .hero__device::after { display: none; }
}

/* ─── Social links ──────────────────────────────────────────────────────── */
.socials { display: flex; flex-wrap: wrap; gap: 10px; }
.socials__link { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.socials__icon { display: inline-flex; }
.socials__icon svg { width: 20px; height: 20px; display: block; }

/* «О нас»: чипы */
.socials--about { justify-content: center; margin-top: 32px; }
.socials--about .socials__link {
  padding: 8px 15px; border-radius: 8px;
  border: 1px solid var(--line-2); background: var(--bg-2);
  color: var(--ink); font-weight: 600; font-size: 14px;
  transition: color .15s, border-color .15s, background .15s, transform .15s;
}
.socials--about .socials__link:hover { transform: translateY(-2px); }
.socials--about .socials__link:nth-child(1):hover { color: #fff; background: #229ED9; border-color: #229ED9; }
.socials--about .socials__link:nth-child(2):hover { color: #fff; background: linear-gradient(45deg, #f09433, #dc2743, #bc1888); border-color: transparent; }
.socials--about .socials__link:nth-child(3):hover { color: #fff; background: #0f1419; border-color: #0f1419; }

/* Подвал */
.socials--footer { flex-direction: column; gap: 12px; }
.footer__col .socials--footer .socials__link {
  display: inline-flex; align-items: center; gap: 10px; margin: 0;
  color: var(--ink-2); font-size: 14px;
}
.socials--footer .socials__icon svg { width: 18px; height: 18px; }
.footer__col .socials--footer .socials__link:hover { color: var(--accent-2); }
