:root {
  --bg: #0a0b0d;
  --surface: #121418;
  --surface-2: #181b20;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: #f4f4f5;
  --muted: #a1a1aa;
  --subtle: #8b8b94;
  --accent: #f5a524;
  --accent-hover: #f8b84a;
  --accent-tint: rgba(245, 165, 36, 0.13);
  --ok: #22c55e;
  --paper: #f5f2eb;
  --paper-ink: #1f1d1a;

  --display: "Archivo", system-ui, -apple-system, sans-serif;
  --body: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;

  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 24px;

  --section: 128px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; }
a { color: inherit; }
p { margin: 0; }
button, input, select { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 700; color: var(--text); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.shell { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 32px; }

.kicker {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
}

.section-head { max-width: 720px; }
.section-head h2 {
  margin-top: 12px;
  font-size: 48px;
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.section-head--left { max-width: none; }

/* Pasek */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 11, 13, 0.8);
  backdrop-filter: blur(16px) saturate(1.5);
  -webkit-backdrop-filter: blur(16px) saturate(1.5);
  border-bottom: 1px solid var(--line);
  transition: transform 0.25s var(--ease);
}
.topbar.is-hidden { transform: translateY(-100%); }
.topbar__row { display: flex; align-items: center; gap: 40px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); text-decoration: none; }
.brand span { font-family: var(--display); font-weight: 700; font-size: 18px; letter-spacing: -0.02em; color: var(--text); }
.brand b { font-weight: 700; color: var(--accent); }
.topbar__nav { display: flex; gap: 32px; margin-left: auto; }
.topbar__nav a { font-size: 14px; font-weight: 500; color: var(--muted); text-decoration: none; transition: color 0.15s ease-out; }
.topbar__nav a:hover, .topbar__nav a.is-current { color: var(--text); }
.topbar__nav a.is-current { box-shadow: 0 1px 0 var(--accent); }
.topbar__call {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  text-decoration: none;
  transition: border-color 0.15s ease-out, background 0.15s ease-out;
}
.topbar__call:hover { border-color: var(--accent); background: var(--accent-tint); }
.pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
.pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--ok); animation: ping 2.4s ease-out infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: 0.6; } 70%, 100% { transform: scale(2.6); opacity: 0; } }

/* Hero */
.hero { position: relative; isolation: isolate; padding: 96px 0 var(--section); border-bottom: 1px solid var(--line); overflow: hidden; }
.hero__photo { position: absolute; inset: 0; z-index: -2; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 60%; transform: scale(1.04); transform-origin: center top; will-change: transform; }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(10, 11, 13, 0.93) 0%, rgba(10, 11, 13, 0.74) 40%, rgba(10, 11, 13, 0.4) 64%, rgba(10, 11, 13, 0.72) 100%),
    linear-gradient(180deg, rgba(10, 11, 13, 0.35) 0%, rgba(10, 11, 13, 0) 40%, rgba(10, 11, 13, 1) 100%);
}
.hero::before {
  content: none;
  position: absolute;
  top: -240px;
  right: -160px;
  width: 720px;
  height: 720px;
  background: radial-gradient(closest-side, rgba(245, 165, 36, 0.1), transparent);
  pointer-events: none;
}
.hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 448px; gap: 96px; align-items: start; }
.hero__copy { padding-top: 16px; }
.hero__title {
  margin-top: 16px;
  font-size: 60px;
  line-height: 1.05;
  letter-spacing: -0.035em;
}
.hero__title-accent { display: block; color: var(--accent); }
.hero__lead { margin-top: 24px; max-width: 520px; font-size: 18px; line-height: 1.6; color: var(--muted); }
.hero__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 520px;
  margin: 48px 0 0;
  padding: 24px 0 0;
  list-style: none;
  border-top: 1px solid var(--line);
}
.hero__facts li { display: grid; gap: 4px; align-content: start; }
.hero__facts .icon-badge { margin-bottom: 8px; }
.hero__facts strong { font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: -0.02em; }
.hero__facts span { font-size: 14px; line-height: 1.4; color: var(--subtle); }
.hero__area { margin-top: 32px; max-width: 520px; font-size: 14px; color: var(--subtle); }

.icon-badge {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: var(--r-md);
  background: var(--accent-tint);
  color: var(--accent);
  flex-shrink: 0;
}

/* Karta telefonu */
.call-card {
  position: relative;
  padding: 32px;
  background: rgba(18, 20, 24, 0.86);
  backdrop-filter: blur(20px) saturate(1.3);
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-xl);
  box-shadow: 0 24px 64px -24px rgba(0, 0, 0, 0.7);
  scroll-margin-top: 96px;
}
.call-card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 32px;
  right: 32px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}
.call-card__status { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--ok); }
.call-card h2 { margin-top: 12px; font-size: 24px; line-height: 1.3; letter-spacing: -0.02em; }
.call-card__lead { margin-top: 8px; font-size: 15px; color: var(--muted); }
.call-card__number {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
  font-family: var(--display);
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  text-decoration: none;
  transition: color 0.15s ease-out;
}
.call-card__number:hover { color: var(--accent); }
.call-card__ring, .dock__ring, .call-fab__ring {
  position: relative;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--accent);
  color: #0a0b0d;
  flex-shrink: 0;
}
.call-card__ring::before, .call-card__ring::after, .call-fab__ring::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--accent);
  animation: ripple 2.4s ease-out infinite;
}
.call-card__ring::after { animation-delay: 1.2s; }
.call-card__ring svg, .dock__ring svg, .call-fab__ring svg { animation: wiggle 2.4s ease-in-out infinite; }
@keyframes ripple { 0% { transform: scale(1); opacity: 0.55; } 100% { transform: scale(1.7); opacity: 0; } }
@keyframes wiggle {
  0%, 60%, 100% { transform: rotate(0); }
  64% { transform: rotate(-14deg); }
  68% { transform: rotate(12deg); }
  72% { transform: rotate(-10deg); }
  76% { transform: rotate(8deg); }
  80% { transform: rotate(0); }
}
.call-card__actions { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; margin-top: 24px; }
.call-card__actions .cta { white-space: nowrap; padding: 0 20px; }
.call-card__prep { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.call-card__prep p { font-size: 14px; font-weight: 600; color: var(--text); }
.call-card__prep ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; padding: 0; list-style: none; }
.call-card__prep li { padding: 6px 12px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 13px; color: var(--muted); }

.copy-number { position: relative; }
.copy-number__done { display: none; }
.copy-number.is-copied { border-color: var(--ok); color: var(--ok); }
.copy-number.is-copied .copy-number__icon { display: none; }
.copy-number.is-copied .copy-number__done { display: block; }

.model-swap { position: relative; display: inline-grid; vertical-align: bottom; overflow: hidden; height: 1.08em; transition: width 0.4s var(--ease); }
.model-swap__word { grid-area: 1 / 1; justify-self: start; white-space: nowrap; transform: translateY(100%); opacity: 0; transition: transform 0.4s var(--ease), opacity 0.3s ease-out; }
.model-swap__word.is-in { transform: none; opacity: 1; }
.model-swap__word.is-out { transform: translateY(-100%); opacity: 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.brand-marquee { position: relative; display: flex; align-items: center; gap: 32px; max-width: 1200px; margin: 96px auto 0; padding: 0 32px; }
.brand-marquee__label { flex-shrink: 0; font-size: 14px; font-weight: 600; color: var(--subtle); }
.brand-marquee__window {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.brand-marquee__track { display: flex; gap: 40px; width: max-content; animation: marquee 40s linear infinite; }
.brand-marquee__track span { font-family: var(--display); font-size: 20px; font-weight: 700; letter-spacing: -0.02em; color: rgba(244, 244, 245, 0.42); white-space: nowrap; transition: color 0.15s ease-out; }
.brand-marquee__window:hover .brand-marquee__track { animation-play-state: paused; }
.brand-marquee__track span:hover { color: var(--text); }
@keyframes marquee { to { transform: translateX(-50%); } }

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 52px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: var(--r-md);
  background: var(--accent);
  color: #0a0a0b;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease-out, border-color 0.15s ease-out, transform 0.15s ease-out;
}
.cta:hover { background: var(--accent-hover); }
.cta:active { transform: translateY(1px); }
.cta svg { transition: transform 0.15s ease-out; }
.cta:hover svg { transform: translateX(2px); }
.cta[disabled] { opacity: 0.6; cursor: progress; }
.cta--ghost { background: transparent; color: var(--text); border-color: var(--line-strong); font-variant-numeric: tabular-nums; }
.cta--ghost:hover { background: var(--surface-2); border-color: rgba(255, 255, 255, 0.28); }

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

/* Sekcje */
section { scroll-margin-top: 64px; }

.anycar { padding: var(--section) 0; }
.anycar__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 64px;
}
.anycar__photo { position: relative; grid-row: span 3; margin: 0; overflow: hidden; border-radius: var(--r-lg); border: 1px solid var(--line); min-height: 320px; }
.anycar__picture, .anycar__picture img { display: block; width: 100%; height: 100%; }
.anycar__picture img { position: absolute; inset: 0; object-fit: cover; object-position: 60% 50%; transition: transform 0.3s ease-out; }
.anycar__photo:hover img { transform: scale(1.03); }
.anycar__photo figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 64px 24px 24px;
  background: linear-gradient(180deg, transparent, rgba(10, 11, 13, 0.9));
  font-family: var(--display);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.state-card {
  position: relative;
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: border-color 0.2s ease-out, transform 0.2s ease-out;
}
.state-card:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.state-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(280px circle at var(--spot-x, 50%) var(--spot-y, 50%), rgba(245, 165, 36, 0.08), transparent 70%);
  opacity: 0;
  transition: opacity 0.2s ease-out;
  pointer-events: none;
}
.state-card:hover::before { opacity: 1; }
.state-card .icon-badge { margin-bottom: 8px; }
.state-card h3 { font-size: 20px; line-height: 1.3; letter-spacing: -0.01em; }
.state-card p { font-size: 15px; color: var(--muted); }
.state-card--cta { background: transparent; border-style: dashed; border-color: var(--line-strong); }
.state-card--cta a {
  margin-top: 8px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  font-variant-numeric: tabular-nums;
}
.state-card--cta a:hover { text-decoration: underline; text-underline-offset: 4px; }

.damage { padding: 0 0 var(--section); }
.damage__head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; align-items: end; }
.damage__lead { font-size: 16px; color: var(--muted); }
.damage__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 48px; }
.damage-tile { position: relative; margin: 0; overflow: hidden; border-radius: var(--r-lg); border: 1px solid var(--line); aspect-ratio: 4 / 3; }
.damage-tile--wide { grid-column: span 2; aspect-ratio: auto; }
.damage-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease-out; }
.damage-tile:hover img { transform: scale(1.03); }
.damage-tile figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  gap: 2px;
  padding: 48px 20px 20px;
  background: linear-gradient(180deg, transparent, rgba(10, 11, 13, 0.88));
}
.damage-tile b { font-family: var(--display); font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }
.damage-tile span { font-size: 14px; color: var(--muted); }
.damage__call { margin-top: 32px; font-variant-numeric: tabular-nums; }

.steps { padding: var(--section) 0; background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.steps__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px;
  margin: 48px 0 0;
  padding: 0;
  list-style: none;
}
.steps__photo { position: relative; margin: 64px 0 0; overflow: hidden; border-radius: var(--r-xl); border: 1px solid var(--line); aspect-ratio: 21 / 8; }
.steps__picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.steps__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 11, 13, 0) 50%, rgba(18, 18, 20, 0.6)); }
.steps__list { position: relative; }
.steps__progress { position: absolute; top: 20px; left: 0; right: 0; height: 2px; background: var(--line-strong); border-radius: 1px; overflow: hidden; }
.steps__progress i { display: block; height: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 0.15s linear; }
.step { position: relative; display: grid; gap: 24px; align-content: start; }
.step.is-active .step__num { background: var(--accent); border-color: var(--accent); color: #0a0b0d; box-shadow: 0 0 0 6px var(--accent-tint); }
.step__num {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--bg);
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  position: relative;
  z-index: 1;
  transition: background 0.25s ease-out, color 0.25s ease-out, box-shadow 0.25s ease-out;
}
.step h3 { font-size: 20px; line-height: 1.3; letter-spacing: -0.01em; }
.step p { margin-top: 8px; font-size: 15px; color: var(--muted); }
.step__time { display: inline-block; margin-top: 16px; font-size: 14px; font-weight: 500; color: var(--subtle); }

.paper { padding: var(--section) 0; overflow: hidden; }
.paper__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 96px; align-items: center; }
.paper__copy h2 { margin-top: 12px; font-size: 48px; line-height: 1.1; letter-spacing: -0.03em; }
.paper__copy > p { margin-top: 24px; font-size: 18px; color: var(--muted); }
.paper__points { display: grid; gap: 24px; margin: 40px 0 0; padding: 0; list-style: none; }
.paper__points li { display: grid; gap: 4px; padding-left: 20px; border-left: 2px solid var(--accent); font-size: 15px; color: var(--muted); }
.paper__points b { font-size: 16px; font-weight: 600; color: var(--text); }

.paper__photo { position: relative; margin: 40px 0 0; overflow: hidden; border-radius: var(--r-lg); border: 1px solid var(--line); aspect-ratio: 16 / 9; }
.paper__picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.certificate { margin: 0; }
.certificate__sheet {
  position: relative;
  padding: 40px;
  background: var(--paper);
  color: var(--paper-ink);
  border-radius: var(--r-sm);
  box-shadow: 0 32px 64px -24px rgba(0, 0, 0, 0.8);
  transform: rotate(-1.5deg) translateY(16px);
  opacity: 0;
  transition: transform 0.6s var(--ease), opacity 0.5s ease-out;
}
.certificate.is-visible .certificate__sheet { transform: rotate(-1.5deg); opacity: 1; }
.certificate__top { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(31, 29, 26, 0.55); }
.certificate__title { margin-top: 8px; font-family: var(--display); font-weight: 700; font-size: 24px; line-height: 1.2; letter-spacing: -0.02em; }
.certificate__fields { margin: 24px 0 0; }
.certificate__fields div { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 16px; padding: 12px 0; border-bottom: 1px solid rgba(31, 29, 26, 0.12); }
.certificate__fields dt { font-size: 13px; color: rgba(31, 29, 26, 0.6); }
.certificate__fields dd { margin: 0; font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.certificate__blur { filter: blur(4px); user-select: none; }
.certificate__sign { display: flex; justify-content: flex-end; margin-top: 40px; }
.certificate__sign span { width: 168px; padding-top: 8px; border-top: 1px solid rgba(31, 29, 26, 0.4); font-size: 12px; text-align: center; color: rgba(31, 29, 26, 0.55); }
.certificate__stamp {
  position: absolute;
  right: 40px;
  bottom: 64px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 2px;
  width: 140px;
  height: 140px;
  padding: 0 16px;
  border: 2px solid rgba(220, 80, 20, 0.8);
  border-radius: 50%;
  color: rgba(220, 80, 20, 0.85);
  text-align: center;
  text-transform: uppercase;
  transform: rotate(-12deg) scale(1.6);
  opacity: 0;
  mix-blend-mode: multiply;
  transition: transform 0.25s cubic-bezier(0.5, 0, 0.75, 0) 0.6s, opacity 0.15s ease-out 0.6s;
}
.certificate__stamp span { font-family: var(--display); font-weight: 800; font-size: 22px; letter-spacing: 0.02em; line-height: 1; }
.certificate__stamp small { font-size: 8px; font-weight: 700; letter-spacing: 0.04em; line-height: 1.3; }
.certificate.is-visible .certificate__stamp { transform: rotate(-12deg) scale(1); opacity: 1; }
.certificate figcaption { margin-top: 24px; text-align: right; font-size: 12px; color: var(--subtle); }

.docs { padding: var(--section) 0; background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.docs__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 96px; align-items: start; }
.docs__hint { margin-top: 16px; max-width: 360px; font-size: 16px; color: var(--muted); }
.docs__meter { display: grid; gap: 8px; max-width: 280px; margin-top: 32px; }
.docs__meter-bar { height: 4px; border-radius: 2px; background: var(--line-strong); overflow: hidden; }
.docs__meter-bar i { display: block; width: 0; height: 100%; background: var(--accent); transition: width 0.3s ease-out; }
.docs__meter-text { font-size: 14px; font-weight: 500; color: var(--subtle); font-variant-numeric: tabular-nums; }
.docs__meter.is-full .docs__meter-text { color: var(--ok); }
.docs__meter.is-full .docs__meter-bar i { background: var(--ok); }

.checklist { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line-strong); }
.checklist li { border-bottom: 1px solid var(--line-strong); }
.checklist label { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; align-items: start; padding: 20px 0; cursor: pointer; }
.checklist input { position: absolute; opacity: 0; pointer-events: none; }
.checklist__box { position: relative; width: 22px; height: 22px; margin-top: 2px; border: 1.5px solid rgba(255, 255, 255, 0.28); border-radius: 6px; transition: background 0.15s ease-out, border-color 0.15s ease-out; }
.checklist__box::after { content: ""; position: absolute; left: 6px; top: 2px; width: 6px; height: 11px; border: solid #0a0a0b; border-width: 0 2px 2px 0; transform: rotate(45deg) scale(0); transition: transform 0.15s ease-out; }
.checklist label:hover .checklist__box { border-color: var(--accent); }
.checklist input:checked + .checklist__box { background: var(--accent); border-color: var(--accent); }
.checklist input:checked + .checklist__box::after { transform: rotate(45deg) scale(1); }
.checklist input:focus-visible + .checklist__box { outline: 2px solid var(--accent); outline-offset: 2px; }
.checklist span:last-child { display: grid; gap: 4px; font-size: 15px; color: var(--muted); }
.checklist b { font-size: 16px; font-weight: 600; color: var(--text); transition: color 0.15s ease-out; }
.checklist input:checked ~ span:last-child b { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(255, 255, 255, 0.3); }

.faq { padding: var(--section) 0; }
.faq__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 96px; }
.faq__list { border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line-strong); }
.faq summary {
  position: relative;
  padding: 24px 48px 24px 0;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
  list-style: none;
  transition: color 0.15s ease-out;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 4px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 1.5px solid var(--muted);
  border-bottom: 1.5px solid var(--muted);
  transform: translateY(-75%) rotate(45deg);
  transition: transform 0.2s ease-out;
}
.faq details[open] summary::after { transform: translateY(-25%) rotate(-135deg); }
.faq summary:hover { color: var(--accent); }
.faq details p { max-width: 600px; padding: 0 48px 24px 0; font-size: 16px; color: var(--muted); }

.closing { position: relative; isolation: isolate; overflow: hidden; padding: var(--section) 0; border-top: 1px solid var(--line); text-align: center; }
.closing__photo { position: absolute; inset: 0; z-index: -2; }
.closing__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.closing::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at center, rgba(10, 11, 13, 0.78), rgba(10, 11, 13, 0.94) 70%); }
.closing__inner { display: grid; justify-items: center; gap: 24px; }
.closing h2 { max-width: 640px; font-size: 48px; line-height: 1.1; letter-spacing: -0.03em; }
.closing__phone {
  font-family: var(--display);
  font-weight: 700;
  font-size: 60px;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--accent);
  text-decoration: none;
  font-variant-numeric: tabular-nums;
  transition: color 0.15s ease-out;
}
.closing__phone:hover { color: var(--accent-hover); }

.footer { position: relative; overflow: hidden; padding: 96px 0 0; background: var(--surface); border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); }
.footer__top { display: grid; grid-template-columns: minmax(0, 5fr) repeat(3, minmax(0, 2fr)); gap: 48px; }
.footer__intro { display: grid; gap: 20px; align-content: start; max-width: 380px; }
.footer__intro p { color: var(--muted); }
.footer__call { display: inline-flex; align-items: center; gap: 12px; width: fit-content; padding: 8px 20px 8px 8px; border: 1px solid var(--line-strong); border-radius: 999px; text-decoration: none; transition: border-color 0.15s ease-out, background 0.15s ease-out; }
.footer__call:hover { border-color: var(--accent); background: var(--accent-tint); }
.footer__call-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: var(--bg); }
.footer__call small { display: block; font-size: 12px; color: var(--subtle); }
.footer__call b { font-family: var(--display); font-size: 20px; letter-spacing: -0.02em; color: var(--text); font-variant-numeric: tabular-nums; }
.footer__title { margin-bottom: 16px; font-size: 14px; font-weight: 600; color: var(--text); }
.footer__col ul { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.footer__col a, .footer__col button { padding: 0; border: 0; background: none; font: inherit; color: var(--muted); text-decoration: none; cursor: pointer; transition: color 0.15s ease-out; }
.footer__col a:hover, .footer__col button:hover { color: var(--accent); }
.footer__contact { display: flex; flex-wrap: wrap; gap: 12px 32px; margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; }
.footer__contact span, .footer__contact a { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); text-decoration: none; }
.footer__contact svg { color: var(--accent); }
.footer__contact a:hover { color: var(--text); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding: 24px 0 32px; font-size: 13px; color: var(--subtle); }
.footer__wordmark {
  margin: 0 0 -0.22em;
  font-family: var(--display);
  font-size: clamp(64px, 17vw, 248px);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.05em;
  text-align: center;
  white-space: nowrap;
  color: transparent;
  background: linear-gradient(180deg, rgba(245, 165, 36, 0.16), rgba(245, 165, 36, 0));
  -webkit-background-clip: text;
  background-clip: text;
  user-select: none;
}

.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--subtle); }
.crumbs a { color: var(--accent); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; text-underline-offset: 4px; }
.hero--region .hero__title { margin-top: 20px; }

.region { padding: var(--section) 0; }
.region__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 96px; align-items: start; }
.region__lead { margin-top: 16px; font-size: 16px; color: var(--muted); }
.region__cities { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.region__cities li { padding: 10px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; font-size: 15px; transition: border-color 0.15s ease-out; }
.region__cities li:hover { border-color: var(--accent); }

.region-steps { padding: var(--section) 0; background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.region-steps__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 48px 0 0; padding: 0; list-style: none; counter-reset: rstep; }
.region-steps__list li { display: grid; gap: 8px; padding: 32px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg); counter-increment: rstep; }
.region-steps__list li::before { content: counter(rstep); display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 8px; border-radius: 50%; background: var(--accent-tint); color: var(--accent); font-weight: 600; }
.region-steps__list b { font-family: var(--display); font-size: 20px; letter-spacing: -0.01em; }
.region-steps__list span { font-size: 15px; color: var(--muted); }
.region-steps__more { display: inline-block; margin-top: 32px; font-weight: 600; color: var(--accent); text-decoration: none; }
.region-steps__more:hover { text-decoration: underline; text-underline-offset: 4px; }

.legal { padding: 64px 0 var(--section); }
.legal__shell { max-width: 800px; }
.legal__title { margin-top: 24px; font-size: 48px; line-height: 1.1; letter-spacing: -0.03em; }
.legal__date { margin-top: 12px; font-size: 14px; color: var(--subtle); }
.legal__body { display: grid; gap: 40px; margin-top: 48px; }
.legal__section h2 { font-size: 20px; line-height: 1.3; letter-spacing: -0.01em; }
.legal__section p, .legal__section li { margin-top: 12px; font-size: 16px; color: var(--muted); }
.legal__section ul { margin: 0; padding-left: 20px; }
.legal__section a { color: var(--accent); }

.dock { display: none; }

.call-fab {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 20px 6px 6px;
  background: rgba(24, 27, 32, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.7);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  text-decoration: none;
  transform: translateY(160%);
  transition: transform 0.3s var(--ease), border-color 0.15s ease-out;
}
.call-fab.is-shown { transform: none; }
.call-fab:hover { border-color: var(--accent); }
.call-fab__ring { width: 44px; height: 44px; }

.toast {
  position: fixed;
  left: 50%;
  top: 80px;
  z-index: 95;
  padding: 12px 20px;
  background: var(--text);
  color: var(--bg);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.6);
  transform: translate(-50%, -12px);
  opacity: 0;
  transition: transform 0.25s var(--ease), opacity 0.2s ease-out;
}
.toast.is-shown { transform: translate(-50%, 0); opacity: 1; }

.consent {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 24px;
  width: min(720px, calc(100% - 32px));
  padding: 16px 16px 16px 24px;
  background: var(--surface-2);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  box-shadow: 0 24px 48px -16px rgba(0, 0, 0, 0.8);
  transform: translateX(-50%);
  font-size: 14px;
  color: var(--muted);
  animation: rise 0.3s ease-out;
}
.consent__actions { display: flex; gap: 8px; flex-shrink: 0; }
.consent button {
  height: 40px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  background: transparent;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease-out;
}
.consent button:hover { background: var(--surface); }
.consent .consent__ok { background: var(--text); border-color: var(--text); color: var(--bg); }
.consent .consent__ok:hover { background: #fff; }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.5s ease-out, transform 0.5s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1024px) {
  :root { --section: 96px; }
  .topbar__nav { display: none; }
  .topbar__call { margin-left: auto; }
  .hero { padding-top: 64px; }
  .hero__grid, .paper__grid, .docs__grid, .faq__grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .hero__title { font-size: 48px; }
  .call-card { max-width: 560px; }
  .footer__top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__intro { grid-column: 1 / -1; max-width: 560px; }
  .region__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .region-steps__list { grid-template-columns: minmax(0, 1fr); }
  .brand-marquee { margin-top: 64px; }
  .anycar__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .damage__head { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .damage__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .damage-tile--wide { grid-column: auto; aspect-ratio: 4 / 3; }
  .anycar__photo { grid-row: auto; grid-column: 1 / -1; min-height: 0; aspect-ratio: 16 / 9; }
  .steps__photo { aspect-ratio: 16 / 9; }
  .steps__list { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .step { grid-template-columns: 40px minmax(0, 1fr); gap: 20px; }
  .step::after { display: none; }
  .section-head h2, .paper__copy h2, .closing h2 { font-size: 36px; line-height: 1.15; }
  .closing__phone { font-size: 48px; }
}

@media (max-width: 640px) {
  :root { --section: 64px; }
  .shell { padding: 0 20px; }
  .topbar__row { height: 56px; }
  .topbar__call { height: 36px; padding: 0 12px; }
  .hero { padding-top: 40px; }
  .hero__photo img { object-position: 40% 50%; }
  .hero::after { background: linear-gradient(180deg, rgba(10, 11, 13, 0.7) 0%, rgba(10, 11, 13, 0.9) 45%, rgba(10, 11, 13, 1) 75%); }
  .hero__facts .icon-badge { width: 32px; height: 32px; }
  .hero__facts .icon-badge svg { width: 16px; height: 16px; }
  .hero__title { font-size: 36px; line-height: 1.1; }
  .hero__lead { margin-top: 16px; font-size: 16px; }
  .hero__facts { margin-top: 32px; gap: 12px; }
  .hero__facts strong { font-size: 16px; }
  .hero__facts span { font-size: 13px; }
  .hero__area { display: none; }
  .call-card { padding: 24px 20px; border-radius: 20px; }
  .call-card__number { font-size: 32px; gap: 12px; }
  .call-card__actions { grid-template-columns: minmax(0, 1fr); }
  .brand-marquee { flex-direction: column; align-items: flex-start; gap: 12px; padding: 0 20px; margin-top: 48px; }
  .brand-marquee__window { width: 100%; }
  .brand-marquee__track span { font-size: 17px; }
  .call-fab { display: none; }
  .steps__progress { display: none; }
  .section-head h2, .paper__copy h2, .closing h2 { font-size: 30px; line-height: 1.2; }
  .anycar__grid { grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 40px; }
  .damage__grid { grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 32px; }
  .damage__call { width: 100%; }
  .state-card { padding: 24px; }
  .steps__list { margin-top: 40px; }
  .paper__copy > p { font-size: 16px; }
  .certificate__sheet { padding: 28px 24px; }
  .certificate__fields div { grid-template-columns: 112px minmax(0, 1fr); gap: 12px; }
  .certificate__stamp { right: 20px; bottom: 56px; width: 116px; height: 116px; padding: 0 12px; }
  .certificate__stamp span { font-size: 18px; }
  .faq summary { font-size: 16px; padding-right: 40px; }
  .closing__phone { font-size: 40px; }
  .footer { padding: 64px 0 88px; }
  .footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
  .footer__contact { margin-top: 40px; flex-direction: column; }
  .footer__bottom { flex-direction: column; padding-bottom: 8px; }
  .legal__title { font-size: 36px; }
  .consent { flex-direction: column; align-items: stretch; gap: 16px; bottom: 88px; padding: 16px; }
  .consent__actions button { flex: 1; }
  .dock {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 60;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 16px 8px 8px;
    background: var(--accent);
    color: #0a0b0d;
    border-radius: 999px;
    box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.8);
    text-decoration: none;
    transform: translateY(160%);
    transition: transform 0.3s var(--ease);
  }
  .dock.is-shown { transform: none; }
  .dock__ring { width: 44px; height: 44px; background: #0a0b0d; color: var(--accent); }
  .dock__text { display: grid; line-height: 1.2; }
  .dock__text b { font-size: 16px; }
  .dock__text small { font-size: 13px; font-weight: 600; opacity: 0.75; font-variant-numeric: tabular-nums; }
}

@media (prefers-reduced-motion: reduce) {
  .brand-marquee__track { animation: none !important; }
  .hero__photo img { transform: none !important; }
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal, .certificate__sheet, .certificate__stamp { opacity: 1 !important; }
}
