:root {
  --bg: oklch(98% 0.005 250);
  --surface: oklch(100% 0 0);
  --fg: oklch(22% 0.02 240);
  --muted: oklch(50% 0.018 240);
  --border: oklch(90% 0.008 240);
  --accent: oklch(68% 0.18 55);
  --accent-dark: oklch(55% 0.18 50);
  --ink: oklch(17% 0.035 245);
  --ink-2: oklch(23% 0.035 245);
  --ok: oklch(58% 0.16 145);
  --warn: oklch(70% 0.16 78);
  --font-display: -apple-system, BlinkMacSystemFont, "Inter", "Manrope", "Segoe UI", system-ui, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Inter", "Manrope", "Segoe UI", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --shadow: 0 22px 70px oklch(17% 0.035 245 / 0.16);
  --radius: 8px;
  --wrap: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--fg);
  background: var(--bg);
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: color-mix(in oklch, var(--surface) 88%, transparent);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(18px);
}
.header-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 14px 24px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 760; letter-spacing: -0.01em; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 9px;
  background: var(--ink);
  color: white; display: grid; place-items: center;
  box-shadow: inset 0 -8px 18px oklch(100% 0 0 / 0.08);
}
.brand small { display: block; color: var(--muted); font-weight: 560; font-size: 12px; letter-spacing: 0.02em; }
.nav { display: flex; justify-content: center; gap: 18px; font-size: 14px; color: var(--muted); font-weight: 620; }
.nav a:hover { color: var(--fg); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.phone { font-variant-numeric: tabular-nums; font-weight: 780; white-space: nowrap; }
.messenger {
  width: 38px; height: 38px; border: 1px solid var(--border); border-radius: var(--radius);
  display: grid; place-items: center; color: var(--muted); background: var(--surface);
}
.messenger:hover { border-color: color-mix(in oklch, var(--accent), var(--border)); color: var(--fg); }
.btn {
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 12px 16px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 760;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform .16s ease, background .16s ease, border-color .16s ease, box-shadow .16s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid color-mix(in oklch, var(--accent), transparent 68%);
  outline-offset: 2px;
}
.btn-primary { background: var(--accent); color: var(--ink); box-shadow: 0 12px 28px oklch(68% 0.18 55 / .25); }
.btn-primary:hover { background: var(--accent-dark); color: white; }
.btn-ghost { background: var(--surface); border-color: var(--border); color: var(--fg); }
.btn-dark { background: var(--ink); color: white; }
.btn:disabled {
  cursor: wait;
  opacity: .72;
  transform: none;
}
.form-status {
  margin-top: 12px;
  font-size: 14px;
  color: var(--muted);
}
.form-status[data-type="error"] {
  color: oklch(50% .18 28);
}
.consent.error {
  color: oklch(50% .18 28);
}
.section { padding: 88px 24px; }
.section.tight { padding-top: 52px; padding-bottom: 52px; }
.wrap { max-width: var(--wrap); margin: 0 auto; }
.eyebrow {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 12px;
  color: var(--muted);
  font-weight: 720;
}
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 420px); gap: 28px; align-items: end; margin-bottom: 34px; }
h1, h2, h3 { font-family: var(--font-display); margin: 0; color: var(--fg); letter-spacing: -0.02em; line-height: 1.06; overflow-wrap: anywhere; }
h1 { font-size: clamp(42px, 6vw, 78px); max-width: 980px; }
h2 { font-size: clamp(32px, 4vw, 52px); }
h3 { font-size: 22px; line-height: 1.18; }
p { margin: 0; }
.lead { font-size: 19px; color: color-mix(in oklch, var(--muted), var(--fg) 22%); max-width: 66ch; }
.muted { color: var(--muted); }

.hero {
  background: radial-gradient(circle at 82% 12%, oklch(68% 0.18 55 / .16), transparent 34%),
              linear-gradient(135deg, var(--ink), var(--ink-2));
  color: white;
  padding: 62px 24px 76px;
  overflow: clip;
}
.hero h1, .hero .lead { color: white; }
.hero .lead { opacity: .86; }
.hero-grid { max-width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.05fr) 430px; gap: 42px; align-items: center; }
.hero-copy { animation: rise .5s ease both; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 24px; }
.hero-proof { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: oklch(100% 0 0 / .16); border: 1px solid oklch(100% 0 0 / .14); border-radius: 12px; overflow: hidden; max-width: 760px; }
.proof-item { padding: 16px; background: oklch(100% 0 0 / .06); }
.proof-item strong { display: block; font-size: 23px; color: white; font-variant-numeric: tabular-nums; }
.proof-item span { font-size: 13px; color: oklch(92% 0.02 245); }
.hero-panel {
  background: var(--surface);
  color: var(--fg);
  border: 1px solid oklch(100% 0 0 / .2);
  border-radius: 14px;
  padding: 18px;
  box-shadow: var(--shadow);
}
.photo-slab {
  position: relative;
  min-height: 240px;
  border-radius: 10px;
  overflow: hidden;
  margin: 0;
  background: oklch(95% 0.006 245);
}
.photo-slab img {
  display: block;
  width: 100%;
  height: 240px;
  object-fit: cover;
}
.photo-slab:after {
  content: attr(data-caption);
  position: absolute; inset: auto 14px 14px 14px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .04em;
  color: white;
  background: oklch(17% 0.035 245 / .78);
  border: 1px solid oklch(100% 0 0 / .18);
  border-radius: 999px;
  padding: 8px 10px;
  backdrop-filter: blur(8px);
}
.form-card { display: grid; gap: 12px; margin-top: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 13px; font-weight: 720; color: var(--fg); }
.field input, .field textarea, .field select {
  min-height: 46px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 13px;
  background: white;
  color: var(--fg);
}
.field textarea { min-height: 92px; resize: vertical; }
.field.error input { border-color: oklch(58% .2 28); }
.error-text { display: none; color: oklch(50% .18 28); font-size: 12px; }
.field.error .error-text { display: block; }
.consent { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); font-size: 12px; }
.consent input { margin-top: 3px; }
.consent a { color: var(--fg); text-decoration: underline; text-underline-offset: 2px; }
.micro { color: var(--muted); font-size: 12px; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 22px;
}
.card:hover { border-color: color-mix(in oklch, var(--accent), var(--border) 70%); }
.icon {
  width: 38px; height: 38px; border-radius: 8px;
  display: grid; place-items: center;
  background: color-mix(in oklch, var(--accent), white 78%);
  color: var(--ink);
  margin-bottom: 16px;
}
.list { padding: 0; margin: 16px 0 0; list-style: none; display: grid; gap: 10px; color: var(--muted); }
.list li { display: grid; grid-template-columns: 18px 1fr; gap: 8px; }
.list li:before { content: "✓"; color: var(--ok); font-weight: 900; }
.service-card, .tariff-card, .case-card, .review-card { display: flex; flex-direction: column; gap: 16px; }
.service-card .btn, .tariff-card .btn, .case-card .btn { margin-top: auto; }
.price { font-size: 34px; font-weight: 820; letter-spacing: -0.02em; color: var(--fg); }
.price small { font-size: 14px; color: var(--muted); font-weight: 620; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { font-family: var(--font-mono); font-size: 12px; color: var(--muted); border: 1px solid var(--border); border-radius: 999px; padding: 6px 9px; background: var(--surface); }
.band { background: var(--ink); color: white; }
.band h2, .band h3 { color: white; }
.band .lead, .band .muted { color: oklch(88% 0.012 245); }
.band .card { background: oklch(100% 0 0 / .06); border-color: oklch(100% 0 0 / .14); color: white; }
.band .list { color: oklch(88% 0.012 245); }
.local-map {
  min-height: 360px;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  margin: 0;
  background: oklch(95% 0.006 245);
}
.local-map img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}
.map-label {
  position: absolute; left: 20px; bottom: 20px; right: 20px;
  background: white; border: 1px solid var(--border); border-radius: 10px; padding: 16px;
  box-shadow: 0 18px 40px oklch(17% 0.035 245 / .14);
}
.case-photo, .tiny-photo {
  border-radius: 9px;
  border: 1px solid var(--border);
  min-height: 160px;
  background: oklch(95% 0.006 245);
  overflow: hidden;
  margin: 0;
}
.tiny-photo { min-height: 84px; }
.case-photo img, .tiny-photo img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  transition: transform .22s ease, filter .22s ease;
}
.case-card:hover .case-photo img { transform: scale(1.025); filter: saturate(1.05) contrast(1.03); }
.stars { color: var(--accent-dark); letter-spacing: .08em; }
.reviewer { display: flex; align-items: center; gap: 10px; }
.avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: white; font-weight: 800; }
.brand-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 24px; }
.brand-chip {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px;
  background: var(--surface);
  font-weight: 820;
  color: var(--muted);
  text-align: center;
}
.faq { display: grid; gap: 10px; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.faq-q { width: 100%; min-height: 56px; border: 0; background: transparent; padding: 16px 18px; display: flex; justify-content: space-between; align-items: center; font-weight: 780; color: var(--fg); cursor: pointer; text-align: left; }
.faq-a { display: none; padding: 0 18px 18px; color: var(--muted); }
.faq-item.open .faq-a { display: block; }
.quiz {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 18px 46px oklch(17% 0.035 245 / .08);
}
.quiz-steps { display: grid; gap: 18px; }
.choice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.choice {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
  background: white;
  cursor: pointer;
  font-weight: 700;
}
.choice:hover, .choice.is-selected { border-color: var(--accent); background: color-mix(in oklch, var(--accent), white 86%); }
.page-hero {
  padding: 72px 24px;
  background: linear-gradient(135deg, var(--ink), var(--ink-2));
  color: white;
}
.page-hero h1, .page-hero .lead { color: white; }
.breadcrumb { color: oklch(88% 0.012 245); font-size: 14px; margin-bottom: 18px; }
.cta-panel {
  display: grid;
  grid-template-columns: 1fr 390px;
  gap: 26px;
  align-items: center;
  background: var(--ink);
  color: white;
  border-radius: 16px;
  padding: 32px;
}
.cta-panel h2 { color: white; }
.cta-panel .field label,
.cta-panel .consent,
.cta-panel .form-status,
.cta-panel .micro {
  color: oklch(88% 0.012 245);
}
.cta-panel .consent a {
  color: white;
}
.site-footer { padding: 46px 24px 86px; border-top: 1px solid var(--border); background: var(--surface); }
.footer-grid { max-width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: 1.2fr repeat(3, 1fr); gap: 28px; }
.footer-grid a, .footer-grid p { color: var(--muted); font-size: 14px; }
.mobile-stick {
  display: none;
  position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 35;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  background: color-mix(in oklch, var(--surface) 92%, transparent);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 8px;
  backdrop-filter: blur(16px);
  box-shadow: 0 16px 46px oklch(17% 0.035 245 / .18);
}

@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 980px) {
  .header-inner { grid-template-columns: 1fr auto; }
  .nav { display: none; }
  .phone { display: none; }
  .hero-grid, .section-head, .cta-panel { grid-template-columns: 1fr; }
  .hero-proof, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .brand-strip { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .section { padding: 62px 18px; }
  .hero { padding: 42px 18px 58px; }
  .header-inner { padding: 12px 14px; gap: 10px; }
  .header-actions .messenger, .header-actions .btn { display: none; }
  h1 { font-size: clamp(32px, 9.5vw, 42px); }
  h2 { font-size: 32px; }
  .hero-grid { gap: 24px; }
  .hero-proof, .grid-2, .grid-3, .grid-4, .choice-grid { grid-template-columns: 1fr; }
  .brand-strip { grid-template-columns: 1fr 1fr; }
  .hero-cta { display: grid; }
  .photo-slab { min-height: 190px; }
  .local-map,
  .local-map img { min-height: 300px; }
  .map-label {
    position: static;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
    border-bottom: 0;
    box-shadow: none;
  }
  .cta-panel { padding: 22px; }
  .footer-grid { grid-template-columns: 1fr; }
  .mobile-stick { display: grid; }
  body { padding-bottom: 78px; }
}
