/* Автосервис Киров — базовые стили */

:root {
  --ink: #0e1726;
  --ink-2: #1a2a41;
  --muted: #5d6b7f;
  --muted-2: #8794a6;
  --bg: #f5f6f8;
  --surface: #ffffff;
  --surface-2: #eef1f5;
  --line: #e1e6ee;
  --accent: #f26419;
  --accent-2: #ff8a3d;
  --accent-soft: #fff1e8;
  --green: #1f7a4d;
  --green-soft: #e8f5ee;
  --red: #b42318;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 12px 34px rgba(14, 23, 38, 0.09);
  --shadow-sm: 0 4px 14px rgba(14, 23, 38, 0.06);
  --max: 1180px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; display: block; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--accent); }
button, input, textarea { font: inherit; }

input[type="hidden"] { display: none !important; }

h1, h2, h3, h4 {
  margin: 0 0 0.5em;
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 750;
}

p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }

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

.narrow { max-width: 820px; }

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

.skip-link {
  position: absolute;
  left: 16px; top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
}
.skip-link:focus { top: 12px; color: #fff; }

:focus-visible {
  outline: 3px solid rgba(242, 100, 25, 0.55);
  outline-offset: 3px;
  border-radius: 4px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  color: var(--ink);
}
.brand:hover { color: var(--ink); }

.brand-mark {
  display: inline-block;
  width: 42px; height: 42px;
  line-height: 42px;
  text-align: center;
  border-radius: 12px;
  background: var(--ink);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow: inset 0 -2px 0 rgba(255,255,255,.12);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
  letter-spacing: 0.06em;
}
.brand-text strong { font-size: 15px; font-weight: 800; }
.brand-text small { font-size: 10px; color: var(--accent); font-weight: 700; letter-spacing: 0.22em; margin-top: 4px; }

.nav {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: auto;
  font-size: 15px;
  font-weight: 600;
}
.nav a { color: var(--ink-2); white-space: nowrap; font-size: 14.5px; }
.nav a:hover { color: var(--accent); }
.nav .btn { color: #fff; padding-left: 15px; padding-right: 15px; }

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  padding: 11px 10px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, border-color .15s ease, color .15s ease;
  text-align: center;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 20px rgba(242, 100, 25, 0.28); }
.btn-primary:hover { background: #d9540f; color: #fff; }

.btn-ghost { background: transparent; border-color: rgba(255,255,255,.35); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.6); }

.page-hero-compact .btn-ghost,
.section .btn-ghost { border-color: var(--line); color: var(--ink); }
.section .btn-ghost:hover { border-color: var(--ink); background: #fff; }

.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: #f3f5f8; color: var(--ink); }

.btn-sm { min-height: 38px; padding: 8px 16px; font-size: 14px; }
.btn-lg { min-height: 54px; padding: 15px 28px; font-size: 16px; }
.btn-block { width: 100%; }

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

.hero {
  position: relative;
  overflow: hidden;
  padding: 84px 0 72px;
  color: #fff;
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(242,100,25,.28), transparent 60%),
    radial-gradient(700px 420px at 10% 100%, rgba(59,130,246,.16), transparent 60%),
    linear-gradient(160deg, #0e1726 0%, #122036 55%, #0e1726 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(700px 420px at 30% 20%, #000 20%, transparent 75%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, .8fr);
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow-light { color: var(--accent-2); text-transform: none; letter-spacing: .02em; font-size: 13px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); display: inline-block; }
.eyebrow-light .dot { background: var(--accent-2); }

.hero h1 {
  font-size: clamp(44px, 6.2vw, 78px);
  line-height: .98;
  letter-spacing: -0.045em;
  margin: 0 0 22px;
  color: #fff;
}
.hero h1 span { display: block; color: var(--accent-2); }

.hero-lead {
  max-width: 560px;
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.5;
  color: rgba(255,255,255,.78);
  margin-bottom: 28px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 34px; }

.hero-stats {
  display: flex;
  gap: 34px;
  margin: 0;
  padding: 22px 0 0;
  list-style: none;
  border-top: 1px solid rgba(255,255,255,.14);
}
.hero-stats li { display: flex; flex-direction: column; gap: 2px; }
.hero-stats strong { font-size: 24px; line-height: 1.15; letter-spacing: -0.02em; color: #fff; }
.hero-stats span { font-size: 12px; color: rgba(255,255,255,.55); }

.hero-panel {
  padding: 30px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius);
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(10px);
  box-shadow: 0 30px 60px rgba(0,0,0,.25);
}
.panel-kicker { margin: 0 0 10px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-2); font-weight: 800; }
.panel-title { margin: 0 0 12px; font-size: 26px; color: #fff; letter-spacing: -.02em; }
.panel-text { margin: 0 0 18px; font-size: 15px; color: rgba(255,255,255,.72); }

.check-list { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 9px; }
.check-list li { position: relative; padding-left: 26px; font-size: 14px; color: var(--muted); }
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 3px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--green-soft);
  box-shadow: inset 0 0 0 1px rgba(31,122,77,.25);
}
.check-list li::after {
  content: "";
  position: absolute;
  left: 5px; top: 7px;
  width: 6px; height: 3px;
  border-left: 1.6px solid var(--green);
  border-bottom: 1.6px solid var(--green);
  transform: rotate(-45deg);
}
.check-list-light li { color: rgba(255,255,255,.78); }
.check-list-light li::before { background: rgba(255,255,255,.1); box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); }
.check-list-light li::after { border-color: var(--accent-2); }

.text-link { display: inline-block; font-weight: 700; font-size: 14px; color: var(--accent); }
.text-link:hover { color: #d9540f; }
.text-link-light { color: var(--accent-2); }

/* ---------- strip ---------- */

.strip {
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding: 0;
}
.strip-grid > div {
  padding: 22px 24px;
  border-left: 1px solid var(--line);
}
.strip-grid > div:first-child { border-left: 0; padding-left: 0; }
.strip-grid strong { display: block; font-size: 14px; }
.strip-grid span { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; }

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

.section { padding: 82px 0; }
.section-soft { background: var(--surface-2); }
.section-dark { background: var(--ink); color: #fff; }
.section-dark .section-head h2 { color: #fff; }
.section-dark .section-lead { color: rgba(255,255,255,.65); }

.section-head { max-width: 760px; margin-bottom: 42px; }
.section-head h2 { font-size: clamp(30px, 3.6vw, 44px); margin-bottom: 12px; }
.section-lead { font-size: 17px; color: var(--muted); margin: 0; }

.section-head-split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  max-width: none;
}
.section-head-split > div { max-width: 720px; }
.section-head-split .btn { flex: 0 0 auto; margin-bottom: 4px; }

/* ---------- service cards ---------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  display: flex;
  text-decoration: none;
  flex-direction: column;
  min-height: 190px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.service-card:hover {
  transform: translateY(-3px);
  border-color: rgba(242,100,25,.35);
  box-shadow: var(--shadow);
  color: var(--ink);
}
.service-card h3 { font-size: 19px; margin: 10px 0 8px; text-decoration: none; }
.service-card p, .service-card .card-link { text-decoration: none; }
.service-card p { font-size: 14px; line-height: 1.5; color: var(--muted); margin: 0 0 16px; }
.service-card .card-link { margin-top: auto; }

.card-tag {
  display: inline-block;
  align-self: flex-start;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: #a33d08;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 750;
  color: var(--accent);
}

/* ---------- parts ---------- */

.parts-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.part-card {
  position: relative;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  min-height: 200px;
  padding: 22px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  background: rgba(255,255,255,.04);
  color: #fff;
  transition: background .18s ease, transform .18s ease, border-color .18s ease;
}
.part-card:hover { background: rgba(255,255,255,.08); border-color: rgba(242,100,25,.5); transform: translateY(-2px); color: #fff; }
.part-card h3 { font-size: 17px; margin: 12px 0 8px; color: #fff; text-decoration: none; }
.part-card p { font-size: 13px; line-height: 1.5; color: rgba(255,255,255,.6); margin: 0 0 14px; }
.part-card .card-link { margin-top: auto; color: var(--accent-2); }
.part-card-num { font-size: 11px; font-weight: 800; letter-spacing: .12em; color: rgba(255,255,255,.35); }

.part-card-light {
  background: #fff;
  border-color: var(--line);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.part-card-light:hover { background: #fff; border-color: rgba(242,100,25,.35); color: var(--ink); box-shadow: var(--shadow); }
.part-card-light h3 { color: var(--ink); }
.part-card-light p { color: var(--muted); }
.part-card-light .part-card-num { color: var(--muted-2); }
.part-card-light .card-link { color: var(--accent); }

.miake-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 26px;
  padding: 26px 30px;
  border: 1px solid rgba(242,100,25,.35);
  border-radius: var(--radius);
  background: linear-gradient(120deg, rgba(242,100,25,.14), rgba(255,255,255,.04));
}
.miake-banner .btn { flex: 0 0 auto; white-space: nowrap; }
.miake-banner h3 { margin: 0 0 6px; font-size: 20px; color: #fff; }
.miake-banner p { margin: 0; font-size: 14px; color: rgba(255,255,255,.65); }
.section:not(.section-dark) .miake-banner { background: linear-gradient(120deg, #fff4ec, #fff); border-color: #ffd8c2; }
.section:not(.section-dark) .miake-banner .btn { flex: 0 0 auto; white-space: nowrap; }
.section:not(.section-dark) .miake-banner h3 { color: var(--ink); }
.section:not(.section-dark) .miake-banner p { color: var(--muted); }

/* ---------- partner / ads ---------- */

.partner-band {
  padding: 26px 0;
  background: var(--surface-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.partner-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 24px 28px;
  border: 1px solid #ffd8c2;
  border-radius: var(--radius);
  background: linear-gradient(120deg, #fff6f0, #fff);
}
.partner-cta h2 { font-size: 22px; margin: 0 0 6px; }
.partner-cta p { margin: 0; font-size: 14px; color: var(--muted); max-width: 620px; }
.partner-cta .btn { flex: 0 0 auto; }

.aside-card-ad { background: var(--accent-soft); border-color: #ffd8c2; box-shadow: none; }
.aside-card-ad h3 { color: #8a3408; }

.format-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 22px 0 8px;
}
.format-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.format-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.format-head h3 { font-size: 18px; margin: 0; }
.price-chip {
  flex: 0 0 auto;
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: #a33d08;
  font-size: 12px;
  font-weight: 750;
  white-space: nowrap;
}
.format-card p { font-size: 14px; color: var(--muted); margin: 0 0 12px; }
.format-card .marker-list { margin: 0; }
.format-card .marker-list li { font-size: 14px; }

@media (max-width: 720px) {
  .partner-cta { flex-direction: column; align-items: flex-start; }
  .format-grid { grid-template-columns: 1fr; }
}

/* ---------- steps ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  list-style: none;
  padding: 0;
  counter-reset: step;
}
.steps li {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.step-num {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
  color: var(--accent);
  margin-bottom: 12px;
}
.steps h3 { font-size: 18px; margin: 0 0 8px; }
.steps p { font-size: 14px; color: var(--muted); margin: 0; }

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

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

.faq { display: grid; gap: 0; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary {
  position: relative;
  padding: 18px 40px 18px 0;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px; top: 50%;
  transform: translateY(-50%);
  width: 26px; height: 26px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 18px;
  font-weight: 500;
  color: var(--accent);
  transition: transform .2s ease;
}
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 40px 18px 0; margin: 0; color: var(--muted); font-size: 15px; }

/* ---------- page hero / breadcrumbs ---------- */

.page-hero {
  padding: 64px 0 54px;
  color: #fff;
  background:
    radial-gradient(700px 300px at 80% 0%, rgba(242,100,25,.24), transparent 65%),
    linear-gradient(150deg, #0e1726, #17283f);
}
.page-hero h1 { color: #fff; font-size: clamp(34px, 4.6vw, 56px); margin-bottom: 14px; }
.page-hero .page-lead { color: rgba(255,255,255,.72); max-width: 760px; font-size: 18px; margin-bottom: 24px; }
.page-hero .hero-actions { margin-bottom: 24px; }
.page-hero .hero-stats { border-top-color: rgba(255,255,255,.14); }
.page-hero-compact { padding: 54px 0 46px; }

.breadcrumbs {
  background: #fff;
  border-bottom: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--muted);
}
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 12px 0; }
.breadcrumbs li { display: inline-flex; align-items: center; gap: 8px; }
.breadcrumbs li:not(:last-child)::after { content: "/"; color: var(--muted-2); }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--accent); }

/* ---------- page layout ---------- */

.page { padding: 46px 0 0; }
.page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 48px;
  align-items: start;
}
.page-main { min-width: 0; }
.page-head { margin-bottom: 28px; }
.page-head h1 { font-size: clamp(32px, 4.2vw, 50px); margin-bottom: 14px; }
.page-lead { font-size: 18px; line-height: 1.55; color: var(--muted); margin-bottom: 18px; }

.meta-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.chip {
  display: inline-block;
  padding: 6px 11px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 12px;
  font-weight: 650;
  color: var(--ink-2);
}
.chip-muted { background: var(--surface-2); color: var(--muted); }

.disclaimer-inline {
  padding: 12px 14px;
  border-left: 3px solid var(--accent);
  background: #fff;
  border-radius: 0 8px 8px 0;
  font-size: 13px;
  color: var(--muted);
  margin: 16px 0 0;
}

.prose { max-width: 760px; }
.prose p { font-size: 16.5px; line-height: 1.7; color: #2b3a4f; }
.prose h2 { font-size: 28px; margin-top: 38px; }
.prose h3 { font-size: 20px; margin-top: 28px; }
.prose ul, .prose ol { color: #2b3a4f; }
.prose li { margin-bottom: 6px; }

.two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 30px 0;
}
.panel {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.panel h2 { font-size: 20px; margin-bottom: 14px; }
.panel .marker-list { margin: 0; }

.marker-list { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 9px; }
.marker-list li { position: relative; padding-left: 20px; font-size: 15px; color: #2b3a4f; }
.marker-list li::before {
  content: "";
  position: absolute;
  left: 2px; top: .62em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* ---------- parts callout ---------- */

.parts-callout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  gap: 26px;
  margin: 34px 0;
  padding: 28px;
  border: 1px solid #ffd8c2;
  border-radius: var(--radius);
  background: linear-gradient(120deg, #fff6f0, #fff);
}
.parts-callout h2 { font-size: 24px; margin-bottom: 12px; }
.parts-callout-cta { align-self: center; padding-left: 24px; border-left: 1px solid #ffd8c2; }
.parts-callout-cta p { font-size: 14px; color: var(--muted); }

.tag-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 14px; }
.tag-list li {
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-size: 13px;
  color: var(--ink-2);
}
.tag-list-lg li { font-size: 14px; padding: 8px 12px; }

/* ---------- prices ---------- */

.prices { margin: 34px 0; }
.prices h2, .related h2, .faq h2 { font-size: 26px; margin-bottom: 16px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); }
th { background: var(--surface-2); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 800; }
tr:last-child td { border-bottom: 0; }
td:last-child { white-space: nowrap; font-weight: 700; }
tbody tr:nth-child(even) { background: #fbfcfd; }
.note { font-size: 12.5px; color: var(--muted); margin-top: 10px; }

/* ---------- related ---------- */

.related { margin: 34px 0; }
.related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.related-card {
  display: flex;
  text-decoration: none;
  flex-direction: column;
  gap: 8px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  font-size: 15px;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.related-card:hover { border-color: rgba(242,100,25,.4); box-shadow: var(--shadow-sm); color: var(--ink); }
.related-card .card-tag { align-self: flex-start; }
.related-card .card-link { margin-top: 6px; }
.related-card strong, .contact-card strong { text-decoration: none; }

/* ---------- aside ---------- */

.page-aside { position: sticky; top: 96px; display: grid; gap: 14px; }
.aside-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.aside-card h3 { font-size: 17px; margin-bottom: 8px; }
.aside-card p { font-size: 14px; color: var(--muted); }
.aside-card .btn { margin-top: 6px; }
.aside-card-muted { background: var(--surface-2); box-shadow: none; }
.facts { margin: 0; display: grid; gap: 10px; }
.facts dt { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted-2); font-weight: 700; }
.facts dd { margin: 0; font-size: 14px; color: var(--ink-2); }

/* ---------- form ---------- */

.lead-section {
  padding: 82px 0;
  background:
    radial-gradient(700px 320px at 15% 0%, rgba(242,100,25,.1), transparent 60%),
    var(--ink);
  color: #fff;
}
.lead-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 54px; align-items: start; }
.lead-copy h2 { font-size: clamp(30px, 3.4vw, 42px); color: #fff; margin-bottom: 12px; }
.lead-copy p { color: rgba(255,255,255,.72); font-size: 16px; }
.lead-copy .check-list li { color: rgba(255,255,255,.78); }
.lead-copy .check-list li::before { background: rgba(255,255,255,.1); box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); }
.lead-copy .check-list li::after { border-color: var(--accent-2); }
.lead-alt { font-size: 14px; color: rgba(255,255,255,.6); margin-top: 18px; }
.lead-alt a { color: var(--accent-2); text-decoration: underline; text-underline-offset: 3px; }

.lead-form {
  padding: 28px;
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  box-shadow: 0 30px 70px rgba(0,0,0,.25);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: block; margin-bottom: 14px; }
.field > span { display: block; margin-bottom: 6px; font-size: 12.5px; font-weight: 700; color: var(--ink-2); }
.field input, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fbfcfd;
  color: var(--ink);
  font-size: 15px;
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(242,100,25,.12);
}
.field textarea { resize: vertical; min-height: 84px; }
.field input::placeholder, .field textarea::placeholder { color: #a3adbb; }

.check { display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px; color: var(--muted); margin: 4px 0 16px; }
.check input { width: 16px; height: 16px; margin-top: 2px; accent-color: var(--accent); flex: 0 0 auto; }
.check a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-status { margin: 10px 0 0; font-size: 13px; min-height: 18px; }
.form-status.is-error { color: var(--red); }
.form-status.is-success { color: var(--green); }
.form-note { margin: 8px 0 0; font-size: 11.5px; color: var(--muted-2); }
.lead-form.is-sending { opacity: .7; pointer-events: none; }

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

.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.contact-card {
  display: flex;
  text-decoration: none;
  flex-direction: column;
  gap: 6px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, border-color .18s ease;
}
.contact-card:hover { transform: translateY(-2px); border-color: rgba(242,100,25,.4); color: var(--ink); }
.contact-label { font-size: 10.5px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted-2); font-weight: 800; }
.contact-card strong { font-size: 15px; word-break: break-word; }
.contact-note { font-size: 12px; color: var(--muted); }
.contact-card-muted { background: var(--surface-2); box-shadow: none; }

/* ---------- sitemap ---------- */

.sitemap-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; }
.sitemap-grid h2 { font-size: 22px; margin: 0 0 14px; }
.sitemap-grid h2:not(:first-child) { margin-top: 34px; }
.sitemap-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.sitemap-list a { font-size: 15px; color: var(--ink-2); }
.sitemap-list a:hover { color: var(--accent); }

/* ---------- legal ---------- */

.legal p, .legal li { font-size: 15px; color: #2b3a4f; }
.legal h2 { font-size: 22px; margin: 30px 0 10px; }
.legal-date { font-size: 13px; color: var(--muted); }

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

.site-footer { background: #0b1320; color: rgba(255,255,255,.72); padding: 56px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 34px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.1); }
.brand-footer .brand-mark { background: #22344c; color: #fff; }
.brand-footer .brand-text strong { color: #fff; }
.brand-footer .brand-text small { color: var(--accent-2); }
.footer-note { font-size: 13px; line-height: 1.55; color: rgba(255,255,255,.55); margin: 14px 0 0; max-width: 320px; }
.footer-note.muted { color: rgba(255,255,255,.35); font-size: 12px; }
.footer-title { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: #fff; margin: 4px 0 14px; }
.footer-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-list a { font-size: 13.5px; color: rgba(255,255,255,.62); }
.footer-list a:hover { color: var(--accent-2); }
.footer-list .muted { color: rgba(255,255,255,.38); font-size: 12.5px; }
.footer-more { display: inline-block; margin-top: 12px; font-size: 12.5px; font-weight: 700; color: var(--accent-2); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-top: 20px; font-size: 12px; color: rgba(255,255,255,.4); }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: rgba(255,255,255,.55); }
.footer-bottom a:hover { color: #fff; }

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

@media (max-width: 1024px) {
  .nav { gap: 16px; font-size: 14px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-panel { max-width: 560px; }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .parts-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-grid { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .page-aside { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: 2 / -1; }
}

@media (max-width: 860px) {
  .section { padding: 64px 0; }
  .hero { padding: 64px 0 56px; }
  .strip-grid { grid-template-columns: repeat(2, 1fr); }
  .strip-grid > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .section-head-split { flex-direction: column; align-items: flex-start; }
  .lead-grid { grid-template-columns: 1fr; gap: 34px; }
  .sitemap-grid { grid-template-columns: 1fr; gap: 10px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: auto; }
}

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute;
    left: 0; right: 0; top: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin-left: 0;
    padding: 10px 18px 18px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 40px rgba(14,23,38,.12);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 4px; border-bottom: 1px solid var(--line); font-size: 15px; white-space: normal; }
  .nav .btn { margin-top: 12px; border-bottom: 0; justify-content: center; }
}

@media (max-width: 420px) {
  .btn { white-space: normal; }
}

@media (max-width: 720px) {
  .container { padding: 0 18px; }
  .header-inner { min-height: 66px; }
  .nav-toggle { display: block; }
  .nav {
    position: absolute;
    left: 0; right: 0; top: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 18px 18px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 40px rgba(14,23,38,.12);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 4px; border-bottom: 1px solid var(--line); font-size: 15px; white-space: normal; }
  .nav .btn { margin-top: 12px; border-bottom: 0; justify-content: center; }
  .hero h1 { font-size: clamp(40px, 12vw, 56px); }
  .hero-stats { gap: 22px; }
  .hero-stats strong { font-size: 21px; }
  .card-grid { grid-template-columns: 1fr; }
  .parts-grid { grid-template-columns: 1fr 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .parts-callout { grid-template-columns: 1fr; }
  .parts-callout-cta { padding-left: 0; border-left: 0; border-top: 1px solid #ffd8c2; padding-top: 18px; }
  .form-row { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .page-aside { grid-template-columns: 1fr; }
  .miake-banner { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .footer-bottom { flex-direction: column; }
  .contact-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .steps-compact { grid-template-columns: 1fr; }
  .strip-grid { grid-template-columns: 1fr; }
  .strip-grid > div { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
  .strip-grid > div:first-child { border-top: 0; }
  .lead-section { padding: 60px 0; }
  .lead-form { padding: 20px; }
  .page { padding-top: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
