/* ============================================================
   Автотек — автосервис, Краснодар
   Direction: linear-app — graphite UI, hairlines, tight display type,
   indigo-violet accent, compact data tables and a delivery checklist.
   ============================================================ */

:root {
  --bg: #0b0c0f;
  --bg-soft: #0e1014;
  --panel: #111419;
  --raise: #151920;

  --line: rgba(255, 255, 255, 0.075);
  --line-soft: rgba(255, 255, 255, 0.045);
  --line-strong: rgba(255, 255, 255, 0.12);

  --ink: #edeef2;
  --body: #a7adb9;
  --muted: #7f8694;
  --faint: #5b626d;

  --accent: #6f6bf5;
  --accent-hi: #9a97ff;
  --accent-dim: rgba(111, 107, 245, 0.14);
  --ok: #3ec98a;

  --font-sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  --r-sm: 4px;
  --r: 6px;
  --r-md: 10px;
  --r-lg: 14px;

  --wrap: 1180px;
  --pad: 24px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font-family: var(--font-sans);
  font-size: 15.5px;
  line-height: 1.6;
  letter-spacing: -0.006em;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(760px 380px at 76% -6%, rgba(111, 107, 245, 0.1), transparent 68%),
    radial-gradient(600px 300px at 4% 4%, rgba(255, 255, 255, 0.028), transparent 70%);
}

h1, h2, h3 {
  margin: 0;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.03em;
}

p {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

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

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

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

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--pad);
  position: relative;
  z-index: 1;
}

.mono {
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 400;
}

.num {
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--accent);
  color: #fff;
  border-radius: var(--r);
  font-size: 14px;
  transition: top 0.2s ease;
}

.skip:focus {
  top: 12px;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: var(--r);
  border: 1px solid transparent;
  font-family: var(--font-sans);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.12) inset, 0 8px 24px rgba(111, 107, 245, 0.18);
}

.btn-primary:hover {
  background: var(--accent-hi);
  color: #0b0c0f;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.025);
  border-color: var(--line-strong);
  color: var(--ink);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-quiet {
  background: transparent;
  border-color: transparent;
  color: var(--muted);
}

.btn-quiet:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.04);
}

.btn-sm {
  min-height: 36px;
  padding: 7px 12px;
  font-size: 13px;
}

.btn-block {
  width: 100%;
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(11, 12, 15, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.brand-mark {
  width: 22px;
  height: 22px;
  border-radius: 5px;
  background: linear-gradient(145deg, var(--accent) 0%, #4642c8 100%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14) inset;
  position: relative;
}

.brand-mark::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 5px;
  width: 3px;
  height: 12px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 1px;
  transform: skewX(-14deg);
}

.brand-text {
  font-size: 16.5px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.brand-meta {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  color: var(--faint);
  padding-left: 10px;
  border-left: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
}

.nav a {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--body);
  transition: color 0.15s ease;
}

.nav a:hover {
  color: var(--ink);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: 4px;
}

.phone-link {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--ink);
  white-space: nowrap;
}

.phone-link:hover {
  color: var(--accent-hi);
}

.burger {
  display: none;
  width: 38px;
  height: 34px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  cursor: pointer;
}

.burger span {
  display: block;
  width: 15px;
  height: 1px;
  margin: 3px auto;
  background: var(--ink);
  transition: transform 0.18s ease;
}

.burger[aria-expanded="true"] span:first-child {
  transform: translateY(2px) rotate(45deg);
}

.burger[aria-expanded="true"] span:last-child {
  transform: translateY(-2px) rotate(-45deg);
}

/* ---------- hero ---------- */

.hero {
  padding: 68px 0 76px;
  border-bottom: 1px solid var(--line-soft);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 25% 100%;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent 88%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent 88%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 56px;
  align-items: start;
}

.eyebrow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 26px;
}

.eyebrow .dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--faint);
}

h1 {
  font-size: clamp(38px, 6.2vw, 68px);
  line-height: 0.97;
  letter-spacing: -0.045em;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 22px;
}

h1 br {
  display: block;
}

.lead {
  max-width: 52ch;
  font-size: 16px;
  line-height: 1.62;
  color: var(--body);
  letter-spacing: -0.005em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 30px 0 38px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  border-top: 1px solid var(--line);
}

.hero-stats > div {
  padding: 14px 16px 4px 0;
  border-right: 1px solid var(--line-soft);
}

.hero-stats > div:last-child {
  border-right: 0;
  padding-right: 0;
}

.hero-stats dt {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 6px;
}

.hero-stats dd {
  margin: 0;
  font-size: clamp(19px, 2.1vw, 24px);
  font-weight: 600;
  letter-spacing: -0.035em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

/* spec card */
.spec-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035) 0%, rgba(255, 255, 255, 0.014) 100%);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 18px 20px 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.34);
}

.spec-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.spec-id {
  color: var(--faint);
  letter-spacing: 0.14em;
}

.spec-list {
  margin: 0;
}

.spec-list > div {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line-soft);
}

.spec-list dt {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--faint);
  padding-top: 2px;
}

.spec-list dd {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--body);
}

.spec-list a {
  color: var(--ink);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.spec-list a:hover {
  color: var(--accent-hi);
  border-color: var(--accent-hi);
}

.spec-foot {
  margin-top: 12px;
  color: var(--faint);
  font-size: 10px;
  letter-spacing: 0.06em;
}

/* ---------- sections ---------- */

.section {
  padding: 76px 0;
  border-bottom: 1px solid var(--line-soft);
}

.section-head {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) minmax(0, 0.92fr);
  gap: 20px;
  align-items: start;
  margin-bottom: 34px;
}

.idx {
  color: var(--accent);
  letter-spacing: 0.1em;
  padding-top: 8px;
}

.section-head h2 {
  font-size: clamp(25px, 3.2vw, 36px);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 600;
}

.section-note {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 46ch;
  padding-top: 4px;
}

.fineprint {
  margin-top: 14px;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--faint);
  max-width: 70ch;
}

/* ---------- price table ---------- */

.table-shell {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.012);
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  text-align: left;
}

.price-table thead th {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--faint);
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.022);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.price-table thead th:first-child {
  width: 30%;
}

.price-table thead th:nth-child(2) {
  width: 48%;
}

.price-table thead th.num {
  text-align: right;
}

.price-table tbody tr {
  border-bottom: 1px solid var(--line-soft);
  transition: background-color 0.14s ease;
}

.price-table tbody tr:last-child {
  border-bottom: 0;
}

.price-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.028);
}

.price-table tbody th {
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -0.012em;
  color: var(--ink);
  padding: 13px 18px;
  vertical-align: top;
}

.price-table td {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--muted);
  padding: 14px 18px;
  vertical-align: top;
}

.price-table td.num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink);
  letter-spacing: -0.01em;
}

/* ---------- checklist (signature) ---------- */

.checklist-shell {
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.008));
  overflow: hidden;
}

.checklist-head {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr) 108px;
  gap: 14px;
  padding: 11px 20px 11px 84px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  color: var(--faint);
  font-size: 10px;
}

.checklist-head .num {
  text-align: right;
}

.checklist {
  display: block;
}

.chk {
  display: grid;
  grid-template-columns: 18px 18px minmax(0, 1.05fr) minmax(0, 1fr) 108px;
  gap: 14px;
  align-items: center;
  padding: 11px 20px;
  border-bottom: 1px solid var(--line-soft);
  cursor: pointer;
  transition: background-color 0.14s ease;
}

.chk:last-child {
  border-bottom: 0;
}

.chk:hover {
  background: rgba(255, 255, 255, 0.032);
}

.chk input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.chk-box {
  grid-column: 1;
  width: 17px;
  height: 17px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 3px;
  background: rgba(0, 0, 0, 0.25);
  position: relative;
  transition: background-color 0.14s ease, border-color 0.14s ease;
}

.chk-box::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 1px;
  width: 4px;
  height: 9px;
  border: solid #fff;
  border-width: 0 1.6px 1.6px 0;
  transform: rotate(45deg) scale(0.6);
  opacity: 0;
  transition: opacity 0.12s ease, transform 0.12s ease;
}

.chk input:checked + .chk-box {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(111, 107, 245, 0.14);
}

.chk input:checked + .chk-box::after {
  opacity: 1;
  transform: rotate(45deg) scale(1);
}

.chk input:focus-visible + .chk-box {
  outline: 2px solid var(--accent-hi);
  outline-offset: 3px;
}

.chk-name {
  grid-column: 3;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.012em;
  color: var(--ink);
}

.chk-note {
  grid-column: 4;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--faint);
}

.chk-price {
  grid-column: 5;
  text-align: right;
  font-size: 12px;
  letter-spacing: -0.01em;
  color: var(--body);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.chk input:not(:checked) ~ .chk-name {
  color: var(--muted);
}

.chk input:not(:checked) ~ .chk-price {
  color: var(--faint);
}

.checklist-foot {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 20px;
  padding: 14px 20px;
  border-top: 1px solid var(--line-strong);
  background: rgba(111, 107, 245, 0.05);
}

.counter {
  color: var(--muted);
  letter-spacing: 0.06em;
  font-size: 11px;
}

.sum {
  font-size: 14px;
  color: var(--muted);
  margin-left: auto;
  white-space: nowrap;
}

.sum strong {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.checklist-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.checklist-shell .fineprint {
  padding: 0 20px 16px;
  margin-top: 0;
}

.fineprint.nudge {
  color: var(--accent-hi);
}

/* ---------- terms ---------- */

.terms-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
}

.term {
  padding: 20px;
  border-right: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.012);
}

.term:last-child {
  border-right: 0;
}

.term-code {
  color: var(--faint);
  font-size: 10px;
  margin-bottom: 12px;
}

.term h3 {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.term-time {
  font-family: var(--font-mono);
  font-size: 19px;
  letter-spacing: -0.03em;
  color: var(--accent-hi);
  margin: 0 0 10px;
  font-variant-numeric: tabular-nums;
}

.term p:last-child {
  font-size: 12.8px;
  line-height: 1.55;
  color: var(--muted);
}

.guarantee {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 18px;
  margin-top: 18px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-left: 2px solid var(--accent);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  background: rgba(255, 255, 255, 0.016);
}

.guarantee .mono {
  color: var(--accent-hi);
  padding-top: 2px;
}

.guarantee p {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 92ch;
}

/* ---------- process ---------- */

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
}

.steps li {
  padding: 20px 18px 22px 0;
  border-right: 1px solid var(--line-soft);
  position: relative;
}

.steps li:last-child {
  border-right: 0;
  padding-right: 0;
}

.steps li::before {
  content: "";
  position: absolute;
  left: 0;
  top: -1px;
  width: 22px;
  height: 2px;
  background: var(--accent);
}

.step-num {
  display: block;
  color: var(--faint);
  font-size: 11px;
  letter-spacing: 0.12em;
  margin-bottom: 26px;
}

.steps h3 {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.018em;
  margin-bottom: 8px;
}

.steps p {
  font-size: 12.8px;
  line-height: 1.55;
  color: var(--muted);
}

/* ---------- reviews ---------- */

.reviews-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
  gap: 22px;
}

.rating-block {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 24px;
  background:
    radial-gradient(320px 160px at 20% 0%, rgba(111, 107, 245, 0.12), transparent 70%),
    rgba(255, 255, 255, 0.016);
}

.rating-value {
  font-size: clamp(64px, 8vw, 92px);
  line-height: 0.86;
  font-weight: 600;
  letter-spacing: -0.06em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.rating-meta {
  margin-top: 14px;
  color: var(--body);
  font-size: 11px;
  letter-spacing: 0.07em;
}

.rating-note {
  margin: 14px 0 20px;
  font-size: 12.8px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 34ch;
}

.fact-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
}

.fact {
  padding: 20px;
  border-bottom: 1px solid var(--line-soft);
  border-right: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.012);
}

.fact:nth-child(2n) {
  border-right: 0;
}

.fact:nth-last-child(-n+2) {
  border-bottom: 0;
}

.fact .mono {
  display: block;
  color: var(--faint);
  font-size: 10px;
  margin-bottom: 10px;
}

.fact p {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--body);
}

/* ---------- booking ---------- */

.booking-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 48px;
  align-items: start;
}

.booking-intro .idx {
  display: block;
  margin-bottom: 12px;
  padding-top: 0;
}

.booking-intro h2 {
  font-size: clamp(25px, 3.2vw, 36px);
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin-bottom: 12px;
}

.contact-quick {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.contact-quick li {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
  padding: 11px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 14px;
  color: var(--ink);
}

.contact-quick .mono {
  font-size: 10px;
  color: var(--faint);
}

.contact-quick a:hover {
  color: var(--accent-hi);
}

.form-panel {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012));
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  padding: 24px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.32);
}

.field {
  margin-bottom: 14px;
}

.field label {
  display: block;
  margin-bottom: 7px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
}

.field input,
.field select {
  width: 100%;
  min-height: 44px;
  padding: 10px 13px;
  background: rgba(0, 0, 0, 0.32);
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 15px;
  letter-spacing: -0.01em;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  appearance: none;
  -webkit-appearance: none;
}

.field select {
  background-image:
    linear-gradient(45deg, transparent 50%, var(--muted) 50%),
    linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 17px) 19px, calc(100% - 12px) 19px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 36px;
}

.field input::placeholder {
  color: var(--faint);
}

.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(111, 107, 245, 0.2);
}

.field.invalid input,
.field.invalid select {
  border-color: #f2666f;
  box-shadow: 0 0 0 3px rgba(242, 102, 111, 0.12);
}

.err {
  min-height: 0;
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.4;
  color: #f28a91;
}

.err:empty {
  display: none;
}

.form-panel .btn-block {
  margin-top: 6px;
}

.form-fine {
  margin-top: 12px;
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--faint);
}

.form-fine a {
  color: var(--muted);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.form-fine a:hover {
  color: var(--accent-hi);
}

.form-done {
  outline: none;
}

.done-label {
  color: var(--ok);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.form-done h3 {
  font-size: 21px;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}

.done-text {
  margin: 0 0 18px;
  padding: 14px 15px;
  background: rgba(0, 0, 0, 0.34);
  border: 1px solid var(--line);
  border-radius: var(--r);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.7;
  color: var(--body);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.done-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.done-actions .btn {
  flex: 1 1 140px;
}

/* ---------- faq ---------- */

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(0, 1.38fr);
  gap: 40px;
  align-items: start;
}

.faq-head {
  display: block;
  margin-bottom: 0;
  position: sticky;
  top: 92px;
}

.faq-head .idx {
  display: block;
  margin-bottom: 12px;
  padding-top: 0;
}

.faq-head h2 {
  margin-bottom: 12px;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line-soft);
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 4px;
  cursor: pointer;
  list-style: none;
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: -0.012em;
  color: var(--ink);
  transition: color 0.15s ease;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "";
  flex: none;
  width: 9px;
  height: 9px;
  border-right: 1.4px solid var(--muted);
  border-bottom: 1.4px solid var(--muted);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.faq-list details[open] summary::after {
  transform: rotate(-135deg);
}

.faq-list summary:hover {
  color: var(--accent-hi);
}

.faq-list details p {
  padding: 0 26px 18px 4px;
  font-size: 13.5px;
  line-height: 1.62;
  color: var(--muted);
  max-width: 64ch;
}

.faq-list details p a {
  color: var(--body);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

/* ---------- contacts ---------- */

.contacts-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
}

.contact-card {
  padding: 20px;
  border-right: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.012);
}

.contact-card:last-child {
  border-right: 0;
}

.contact-card > .mono {
  display: block;
  color: var(--faint);
  font-size: 10px;
  margin-bottom: 14px;
}

.contact-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--body);
  margin-bottom: 6px;
}

.contact-card a {
  color: var(--ink);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.contact-card a:hover {
  color: var(--accent-hi);
  border-color: var(--accent-hi);
}

.contact-strong {
  color: var(--ink) !important;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 12px !important;
}

.text-link {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--accent) !important;
  padding-bottom: 2px;
}

.contact-hint {
  display: block;
  margin-top: 10px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--faint);
}

.contact-hint a {
  color: var(--muted);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

/* ---------- footer ---------- */

.site-footer {
  padding: 30px 0 34px;
  background: var(--bg-soft);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 20px 32px;
}

.footer-brand {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.footer-meta {
  margin-top: 4px;
  font-size: 12.5px;
  color: var(--faint);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-left: auto;
  align-items: center;
}

.footer-links a {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--muted);
}

.footer-links a:hover {
  color: var(--accent-hi);
}

.footer-fine {
  flex-basis: 100%;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
  color: var(--faint);
  font-size: 10px;
  letter-spacing: 0.05em;
}

/* ---------- responsive ---------- */

@media (max-width: 1080px) {
  .nav {
    gap: 14px;
  }

  .brand-meta {
    display: none;
  }

  .hero-grid {
    gap: 34px;
  }

  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .steps li:nth-child(3) {
    border-right: 0;
    padding-right: 0;
  }

  .steps li:nth-child(n + 4) {
    border-top: 1px solid var(--line-soft);
    margin-top: 4px;
  }
}

@media (max-width: 900px) {
  :root {
    --pad: 20px;
  }

  .section {
    padding: 60px 0;
  }

  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--pad) 16px;
    background: #0d0f13;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px rgba(0, 0, 0, 0.5);
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 11px 0;
    font-size: 15px;
    border-bottom: 1px solid var(--line-soft);
  }

  .burger {
    display: block;
  }

  .spec-list > div {
    grid-template-columns: 92px minmax(0, 1fr);
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .spec-card {
    max-width: 640px;
  }

  .section-head {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 14px;
    margin-bottom: 26px;
  }

  .section-head .section-note {
    grid-column: 2;
    padding-top: 0;
    max-width: 58ch;
  }

  .terms-grid {
    grid-template-columns: 1fr 1fr;
  }

  .term:nth-child(2n) {
    border-right: 0;
  }

  .term:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line-soft);
  }

  .contact-quick li {
    grid-template-columns: 86px minmax(0, 1fr);
  }

  .booking-grid,
  .reviews-grid,
  .faq-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }

  .faq-head {
    position: static;
  }

  .contacts-grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact-card {
    border-bottom: 1px solid var(--line-soft);
  }

  .contact-card:nth-child(2n) {
    border-right: 0;
  }

  .contact-card:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .price-table thead th:nth-child(2) {
    width: auto;
  }
}

@media (max-width: 760px) {
  .hero {
    padding: 44px 0 54px;
  }

  .hero-stats {
    grid-template-columns: 1fr 1fr;
  }

  .hero-stats > div {
    padding: 12px 12px 10px 0;
    border-bottom: 1px solid var(--line-soft);
  }

  .hero-stats > div:nth-child(2n) {
    border-right: 0;
  }

  .hero-stats > div:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .checklist-head {
    display: none;
  }

  .chk {
    grid-template-columns: 18px 18px minmax(0, 1fr) auto;
    grid-template-areas:
      "box gap name price"
      ". . note note";
    gap: 6px 10px;
    align-items: start;
    padding: 12px 16px;
  }

  .chk-box {
    grid-area: box;
    margin-top: 1px;
  }

  .chk-name {
    grid-area: name;
    font-size: 14px;
  }

  .chk-note {
    grid-area: note;
    padding-bottom: 2px;
  }

  .chk-price {
    grid-area: price;
    padding-top: 1px;
  }

  .chk input:not(:checked) ~ .chk-name {
    color: var(--muted);
  }

  .checklist-foot {
    padding: 14px 16px;
  }

  .sum {
    margin-left: 0;
    width: 100%;
    order: 3;
  }

  .checklist-actions {
    order: 4;
    width: 100%;
    flex-wrap: wrap;
  }

  .checklist-actions .btn {
    flex: 1 1 auto;
  }

  .checklist-shell .fineprint {
    padding: 0 16px 14px;
  }

  .guarantee {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  .steps {
    grid-template-columns: 1fr 1fr;
  }

  .steps li {
    padding: 18px 16px 20px 0;
  }

  .steps li:nth-child(3) {
    border-right: 1px solid var(--line-soft);
    padding-right: 16px;
  }

  .steps li:nth-child(2n) {
    border-right: 0;
    padding-right: 0;
  }

  .steps li:nth-child(n + 3) {
    border-top: 1px solid var(--line-soft);
  }

  .steps li:nth-child(n + 4) {
    margin-top: 0;
  }

  .step-num {
    margin-bottom: 16px;
  }

  .fact-list {
    grid-template-columns: 1fr;
  }

  .fact {
    border-right: 0;
  }

  .fact:nth-last-child(-n + 2) {
    border-bottom: 1px solid var(--line-soft);
  }

  .fact:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 640px) {
  .header-inner {
    min-height: 58px;
    gap: 12px;
  }

  .phone-link {
    display: none;
  }

  .header-cta {
    margin-left: auto;
    gap: 8px;
  }

  .brand-text {
    font-size: 15.5px;
  }

  .terms-grid {
    grid-template-columns: 1fr;
  }

  .term {
    border-right: 0;
    border-bottom: 1px solid var(--line-soft);
  }

  .term:last-child {
    border-bottom: 0;
  }

  .term:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line-soft);
  }

  .hero-actions .btn {
    flex: 1 1 auto;
  }

  .price-table,
  .price-table tbody,
  .price-table tr,
  .price-table th,
  .price-table td {
    display: block;
    width: 100%;
  }

  .price-table thead {
    display: none;
  }

  .price-table tbody tr {
    padding: 14px 16px;
    border-bottom: 1px solid var(--line);
  }

  .price-table tbody tr:last-child {
    border-bottom: 0;
  }

  .price-table tbody th,
  .price-table td {
    padding: 0;
  }

  .price-table tbody th {
    font-size: 15px;
    margin-bottom: 4px;
  }

  .price-table td {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 6px;
  }

  .price-table td.num {
    text-align: left;
    font-size: 14px;
    color: var(--accent-hi);
    margin-bottom: 0;
  }

  .contacts-grid {
    grid-template-columns: 1fr;
  }

  .contact-card {
    border-right: 0;
    border-bottom: 1px solid var(--line-soft);
  }

  .contact-card:nth-last-child(-n + 2) {
    border-bottom: 1px solid var(--line-soft);
  }

  .contact-card:last-child {
    border-bottom: 0;
  }

  .form-panel {
    padding: 18px;
  }

  .footer-links {
    margin-left: 0;
  }
}

@media (max-width: 420px) {
  :root {
    --pad: 16px;
  }

  h1 {
    font-size: clamp(32px, 9.4vw, 38px);
  }

  .lead {
    font-size: 15px;
  }

  .eyebrow {
    font-size: 10px;
    gap: 8px;
  }

  .hero-stats dd {
    font-size: 19px;
  }

  .section-head h2 {
    font-size: 24px;
  }

  .chk {
    padding: 12px 13px;
  }

  .chk-name {
    font-size: 13.5px;
  }

  .chk-note {
    font-size: 12px;
  }

  .chk-price {
    font-size: 11.5px;
  }

  .sum strong {
    font-size: 14px;
  }

  .checklist-actions .btn {
    width: auto;
    flex: 1 1 auto;
  }

  .done-actions .btn {
    flex: 1 1 100%;
  }

  .done-text {
    font-size: 11.5px;
  }

  .rating-block {
    padding: 20px;
  }

  .footer-links {
    gap: 6px 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
