/* AUTOFOKUSAS — public one-pager
   Calm white paper, ink line illustrations, lime only as highlighter. */

@font-face {
  font-family: "Onest";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/onest-cyrillic-ext.woff2") format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: "Onest";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/onest-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Onest";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/onest-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Onest";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/onest-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ground: #f8f8f6;
  --band: #f0efea;
  --paper: #ffffff;
  --paper-2: #f7f7f5;
  --paper-3: #efeee9;
  --ink: #191919;
  --ink-2: #37352f;
  --muted: #63625d;
  --text-soft: #4f4e49;
  --placeholder: #706f6b;
  --line: #e4e3de;
  --line-2: #dcdbd6;
  --lime: #c8e218;
  --lime-deep: #a9c20b;
  --lime-soft: #f1f8cf;
  /* Every chosen answer looks the same: quiet grey with a dark edge (cards, rows, choices, folded answers). */
  --chosen-bg: #f2f2ee;
  --chosen-line: #8a8983;
  --danger: #c4321f;
  --danger-soft: #fdf0ee;

  --font-body: "Onest", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 180ms;

  --r-sm: 10px;
  --r: 12px;
  --r-lg: 20px;
  --r-xl: 28px;

  --shell: 1200px;
  --gutter: 20px;
  --section-y: clamp(64px, 9vw, 120px);
  --header-h: 64px;
  --field-h: 52px;
  --safe-b: env(safe-area-inset-bottom, 0px);

  --marker: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 24' preserveAspectRatio='none'%3E%3Cpath d='M3 15 C 40 9, 90 8, 140 9 S 190 11, 197 8 L 196 20 C 160 22, 110 21, 70 21 S 20 22, 4 22 Z' fill='%23c8e218'/%3E%3C/svg%3E");
  --chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='m1.5 1.5 4.5 4.5 4.5-4.5' stroke='%23191919' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
@media (min-width: 960px) {
  :root { --gutter: 32px; --field-h: 48px; --header-h: 72px; }
}

/* ——— Base ——— */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink-2);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
@media (min-width: 960px) { body { font-size: 1.0625rem; } }
::selection { background: rgba(200, 226, 24, 0.55); color: var(--ink); }
input, textarea { caret-color: var(--ink); }
input[type="radio"], input[type="checkbox"] { accent-color: var(--ink); }
.soft-select-panel { scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
.soft-select-panel::-webkit-scrollbar { width: 8px; }
.soft-select-panel::-webkit-scrollbar-thumb { border-radius: 8px; background: var(--line-2); }
/* Lists with their own always-visible bar (main.js) hide the browser's, which phones show only while scrolling. */
.has-rail { scrollbar-width: none !important; }
.has-rail::-webkit-scrollbar { display: none; }
.soft-select-panel.has-rail, .pick-dialog-list.has-rail { padding-right: 16px; }
.scroll-rail { position: absolute; z-index: 41; width: 4px; border-radius: 4px; background: var(--paper-3); pointer-events: none; transition: opacity 200ms ease; }
.scroll-rail.is-moving { opacity: 0; }
.scroll-thumb { width: 100%; border-radius: 4px; background: #a8a7a1; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { color: var(--ink); line-height: 1.2; text-wrap: balance; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
/* No grey/blue flash on tap (mobile); our own :focus-visible and hover states give feedback. */
/* No grey flash on tap; the form's own states show what was pressed (the radio sits invisibly over its answer). */
a, button, summary, label, input, select, textarea { -webkit-tap-highlight-color: transparent; }
summary:focus:not(:focus-visible) { outline: none; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.hp-field { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: var(--r-sm);
  background: var(--ink);
  color: #fff;
}
.skip-link:focus { top: 12px; }
.shell {
  width: 100%;
  max-width: calc(var(--shell) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
/* GTM's call-click trigger matches the clicked element's URL (tel:+37062111600); let the link itself take the click, not its icon or text. */
a[href^="tel:"] * { pointer-events: none; }
.tick { flex: none; width: 20px; height: 20px; padding: 2px; border-radius: 50%; background: var(--lime); color: var(--ink); }

/* Signature: hand-drawn lime highlighter under the key words */
.marker {
  padding: 0 0.08em;
  margin: 0 -0.08em;
  background: var(--marker) no-repeat 0 88% / 100% 0.42em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.btn:active { transform: scale(0.98); }
.btn:disabled { opacity: 0.55; cursor: progress; transform: none; }
.btn-lg { min-height: 52px; padding: 0 26px; font-size: 1rem; }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #333; }
.btn-accent { background: var(--lime); color: var(--ink); border-color: var(--ink); }
.btn-accent:hover { background: #d4ec2e; }
.btn-secondary { background: var(--paper); color: var(--ink); border-color: var(--line-2); }
/* Hover only where there is a mouse: on a phone a touched card keeps its hover edge and looks chosen. */
@media (hover: hover) { .btn-secondary:hover { border-color: var(--ink); } }
.btn-quiet { min-height: 40px; padding: 0 12px; background: transparent; color: var(--ink); }
.btn-quiet:hover { background: var(--band); }

/* ——— Header ——— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 248, 246, 0.88);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  backdrop-filter: saturate(1.6) blur(14px);
  transition: box-shadow var(--dur) var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--line); }
.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  height: var(--header-h);
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.brand-name { font-weight: 800; letter-spacing: 0.04em; font-size: 0.9375rem; }
.nav { display: none; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.phone-link-number, .header-cta { display: none; }
.phone-link svg { width: 20px; height: 20px; }
.lang-menu { position: relative; }
.lang-menu-trigger { font-weight: 600; font-size: 0.875rem; }
.lang-menu-dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  display: grid;
  min-width: 72px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--paper);
  box-shadow: 0 16px 40px -16px rgba(25, 25, 25, 0.25);
}
.lang-menu-option { padding: 8px 12px; border-radius: 8px; text-decoration: none; font-weight: 600; font-size: 0.875rem; }
.lang-menu-option:hover { background: var(--paper-2); }
.nav-toggle {
  display: grid;
  place-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: transparent;
}
.nav-toggle span { display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform var(--dur) var(--ease); }
.site-header.is-open .nav-toggle span:first-child { transform: translateY(4px) rotate(45deg); }
.site-header.is-open .nav-toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }
.mobile-nav {
  display: grid;
  gap: 4px;
  padding: 8px var(--gutter) 20px;
  border-bottom: 1px solid var(--line);
  background: var(--ground);
}
.mobile-nav a:not(.btn) { padding: 12px 0; font-size: 1.125rem; font-weight: 600; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.mobile-nav .btn { margin-top: 10px; min-height: 52px; }
@media (min-width: 960px) {
  .phone-link-number, .header-cta { display: inline; }
  .header-cta { display: inline-flex; margin-left: 6px; }
  .phone-link { gap: 8px; font-weight: 600; }
}
@media (min-width: 1200px) {
  .nav { display: flex; gap: 4px; margin-left: 24px; }
  .nav a { padding: 8px 12px; border-radius: 999px; color: var(--ink-2); text-decoration: none; font-size: 0.9375rem; font-weight: 500; white-space: nowrap; }
  .nav a:hover { background: var(--band); color: var(--ink); }
  .nav-toggle, .mobile-nav { display: none !important; }
}

/* ——— Hero ——— */
.hero {
  position: relative;
  isolation: isolate;
  overflow-x: clip;
  padding: 24px 0 40px;
}
.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: radial-gradient(circle, #d9d8d1 1.1px, transparent 1.4px) 0 0 / 22px 22px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.35) 55%, transparent 100%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.35) 55%, transparent 100%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  gap: 24px;
  grid-template-areas: "copy" "form" "aside";
}
.hero-copy { grid-area: copy; }
.form-panel { grid-area: form; }
.hero-aside { grid-area: aside; }
.hero h1 {
  font-size: clamp(2.25rem, 9.4vw, 3.75rem);
  line-height: 1.03;
  font-weight: 800;
  letter-spacing: -0.035em;
}
.hero-lead {
  max-width: 36rem;
  margin-top: 14px;
  color: var(--text-soft);
  font-size: 1rem;
  line-height: 1.55;
}
.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 16px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink);
}
.hero-proof li { display: inline-flex; align-items: center; gap: 8px; }
.hero-alt { display: grid; gap: 10px; justify-items: center; color: var(--muted); font-size: 0.9375rem; text-align: center; }
.hero-alt-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.hero-alt-actions .btn { min-height: 44px; padding: 0 16px; font-size: 0.9375rem; }
@media (max-width: 420px) { .hero-alt-actions { width: 100%; } .hero-alt-actions .btn { flex: 1 1 100%; } }
.hero-scene { display: none; overflow: visible; }
.hero-mobile-art { pointer-events: none; }
@media (max-width: 1023px) {
  /* The scene stands on the form card's top edge: wheels on the card, ground shadow tucked behind it. */
  .hero-mobile-art { display: block; position: relative; z-index: 0; width: min(78%, 300px); height: auto; margin: 8px auto -30px; }
  .form-panel { position: relative; z-index: 1; }
}
/* Phones: the scene sits in the empty space beside the proof points, so the form still starts on the first screen. */
@media (max-width: 639px) {
  /* Title, lead, proof points and form all start on one left edge: a calm column instead of a centred title
     over left-aligned blocks. A little smaller, so "parduokite paprasčiau" stays on one line. */
  .hero h1 { font-size: clamp(1.875rem, 8.6vw, 2.25rem); line-height: 1.06; text-wrap: balance; }
  .hero-lead { text-wrap: pretty; }
  .hero-copy { position: relative; }
  .hero-copy > :not(.hero-mobile-art) { position: relative; z-index: 1; }
  .hero-mobile-art { position: absolute; right: -14px; bottom: -6px; z-index: 0; width: 54%; max-width: 230px; margin: 0; }
}
@media (max-width: 359px) { .hero-mobile-art { width: 44%; } }
@media (min-width: 640px) and (max-width: 1023px) {
  .hero-copy { text-align: center; }
  .hero h1, .hero-lead { margin-inline: auto; }
  .hero-proof { justify-content: center; }
}
@media (min-width: 1024px) {
  .hero { padding: 48px 0 24px; }
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 520px);
    grid-template-areas: "copy form" "aside form";
    grid-template-rows: auto 1fr;
    column-gap: clamp(40px, 6vw, 88px);
    row-gap: 0;
    align-items: start;
  }
  .hero-copy { padding-top: 24px; }
  .hero-lead { font-size: 1.125rem; margin-top: 18px; }
  /* One proof point per line, as on phones, so the scene has the space to their right. */
  .hero-proof { flex-direction: column; align-items: flex-start; font-size: 0.9375rem; margin-top: 20px; }
  .hero-aside { align-self: start; margin-top: 28px; }
  .hero-alt { justify-items: start; text-align: left; }
  .hero-alt-actions { justify-content: flex-start; }
  /* The scene stands beside the proof points, as on phones, so the copy, the scene and the form share one screen. */
  .hero-copy { position: relative; }
  .hero-copy > :not(.hero-mobile-art) { position: relative; z-index: 1; }
  .hero-mobile-art { display: block; position: absolute; right: 0; bottom: -10px; z-index: 0; width: 46%; max-width: 300px; height: auto; pointer-events: none; }
  .form-panel {
    margin: 0;
    box-shadow: 0 1px 2px rgba(25, 25, 25, 0.04), 0 24px 60px -28px rgba(25, 25, 25, 0.28), 40px -40px 120px -40px rgba(200, 226, 24, 0.55);
  }
}
.process { padding-top: clamp(48px, 7vw, 96px); }

/* ——— Lead form ——— */
.form-panel {
  /* The form scrolls the page itself; the browser's own anchoring would add jumps when questions appear. */
  overflow-anchor: none;
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 540px;
  margin: 0 auto;
  padding: 22px 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--paper);
  box-shadow: 0 1px 2px rgba(25, 25, 25, 0.04), 0 24px 60px -28px rgba(25, 25, 25, 0.28);
}
@media (min-width: 560px) { .form-panel { padding: 28px 28px 24px; } }
.form-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.form-head h2 { font-size: clamp(1.1875rem, 4.6vw, 1.375rem); font-weight: 750; letter-spacing: -0.02em; }
.form-time, .form-time svg { flex: none; }
/* Narrow phones: the form title gets the whole line. */
@media (max-width: 379px) { .form-head .form-time { display: none; } }
.form-time {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--paper-2);
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 600;
  white-space: nowrap;
}

.wizard-progress {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin: 18px 0 22px;
}
.wizard-progress li {
  display: grid;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--placeholder);
}
.wizard-progress li::before {
  content: "";
  height: 4px;
  border-radius: 4px;
  /* The segment fills left to right as the step is reached. */
  background: var(--paper-3) linear-gradient(var(--fill, var(--ink)), var(--fill, var(--ink))) no-repeat left / 0% 100%;
  transition: background-size 420ms var(--ease);
}
.wizard-progress li.is-active, .wizard-progress li.is-done { color: var(--ink); }
.wizard-progress li.is-active::before { background-size: 100% 100%; }
.wizard-progress li.is-done::before { --fill: var(--lime-deep); background-size: 100% 100%; }
.wp-label {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
}
/* A taller tap target over the label and its bar, without changing the look. */
.wp-label { position: relative; }
.wp-label::after { content: ""; position: absolute; inset: -14px -3px -10px; }
.wp-label:disabled { cursor: default; }
.wp-label:not(:disabled):hover { text-decoration: underline; text-underline-offset: 3px; }

.wizard-step { display: grid; gap: 20px; }
.wizard-step.is-active { animation: stepIn 260ms var(--ease); }
.wizard-step.is-active.is-back { animation-name: stepInBack; }
@keyframes stepIn { from { opacity: 0; transform: translateX(10px); } }
@keyframes stepInBack { from { opacity: 0; transform: translateX(-10px); } }

.field, .choice-set { display: grid; gap: 8px; min-width: 0; margin: 0; padding: 0; border: 0; }
.field-label, .choice-set legend {
  padding: 0;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 600;
}
.field-label em, .photo-upload em { color: var(--muted); font-style: normal; font-weight: 400; }
.field-note { margin-top: -2px; color: var(--muted); font-size: 0.8125rem; line-height: 1.45; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
/* Error text stays in the DOM for screen readers (aria-live); sighted users get the red field,
   and the layout doesn't jump when an error appears. */
.field-hint {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
/* ...and the words of the error under the field once there is one, so it is clear what to fix. */
.field-hint:not(:empty) { position: static; width: auto; height: auto; overflow: visible; clip-path: none; white-space: normal; color: var(--danger); font-size: 0.8125rem; font-weight: 500; line-height: 1.4; animation: field-in 200ms var(--ease); }

.field input,
.field textarea,
.soft-select-trigger,
.phone-code-trigger,
.phone-field-row input {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  min-height: var(--field-h);
  padding: 0 14px;
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  font-weight: 500;
  text-align: left;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur) var(--ease);
}
.field textarea { padding: 12px 14px; font-family: inherit; line-height: 1.45; resize: vertical; }
.field input::placeholder, .field textarea::placeholder, .phone-field-row input::placeholder { color: var(--placeholder); font-weight: 400; }
@media (hover: hover) { .field input:hover, .soft-select-trigger:hover, .phone-code-trigger:hover, .phone-field-row input:hover { border-color: #b9b8b2; } }
/* Focus, the same for every field (inputs, the year and date lists, the dialog's search and typing): a lime
   edge with a soft lime glow. */
.field input:focus, .field textarea:focus, .phone-field-row input:focus,
.soft-select-trigger.is-open, .pick-search:focus, .pick-manual-row input:focus {
  outline: none;
  border-color: var(--lime-deep);
  box-shadow: 0 0 0 3px rgba(200, 226, 24, 0.35);
}
/* "×" to empty a typed field: shown while it has text and the focus. */
.has-clear { position: relative; display: block; }
.clear-btn { position: absolute; top: 50%; right: 8px; display: none; place-items: center; width: 32px; height: 32px; margin-top: -16px; border: 0; border-radius: 50%; background: none; color: var(--muted); }
.clear-btn::after { content: ""; position: absolute; inset: -6px; }
.clear-btn:hover { background: var(--paper-2); color: var(--ink); }
.has-clear.is-filled:focus-within .clear-btn { display: grid; }
.has-clear.is-filled:focus-within > input { padding-right: 44px; }
.input-suffix.has-clear .clear-btn { right: 34px; }
.field .input-suffix.has-clear.is-filled:focus-within > input { padding-right: 72px; }
.soft-select-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.soft-select-trigger > span:first-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
/* A chosen year or month is an answer too: same look as the others. */
.lead-form .soft-select-trigger:not(.is-placeholder, .phone-code-trigger, .is-invalid) { border-color: var(--chosen-line); background: var(--chosen-bg); }
.is-placeholder > span:first-child { color: var(--placeholder); font-weight: 400; }
.chevron { flex: none; width: 12px; height: 8px; background: var(--chevron) no-repeat center; transition: transform var(--dur) var(--ease); }
.is-open .chevron { transform: rotate(180deg); }
.is-invalid,
.field input.is-invalid,
.soft-select-trigger.is-invalid,
.phone-field-row input.is-invalid { border-color: var(--danger) !important; }
.segmented.is-invalid .segmented-item span { border-color: var(--danger); }

/* Dropdown panel shared by every select: brand, year, date, fuel, phone code. */
.soft-select { position: relative; }
.soft-select-panel {
  position: absolute;
  z-index: 40;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  max-height: 282px;
  padding: 6px;
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
  box-shadow: 0 24px 50px -20px rgba(25, 25, 25, 0.3);
}
.phone-code-picker .soft-select-panel { right: auto; width: min(280px, calc(100vw - 48px)); }
.soft-select-option {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  color: var(--ink);
  border: 0;
  border-radius: var(--r-sm);
  background: transparent;
  text-align: left;
  font-size: 0.9375rem;
  font-weight: 500;
}
.soft-select-option:hover, .soft-select-option.is-cursor { background: var(--paper-2); }
.soft-select-option.is-active { background: var(--chosen-bg); font-weight: 600; }
.soft-select-option-meta { margin-left: auto; color: var(--muted); font-weight: 600; }
.soft-select select { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.suggest { position: relative; }
.suggest > input { width: 100%; }
/* Phones (main.js): a tap shows the whole list without the keyboard; "Type" inside the field brings it up. */
/* Step titles are for screen readers and focus only (.sr-only); the questions name the step on screen. */
.step-title { outline: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Quiet text buttons: "All makes", "Change", "Specify the engine". One loud button per screen is enough. */
.link-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 2px;
  border: 0;
  background: none;
  color: var(--ink);
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--line-2);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
  transition: text-decoration-color var(--dur) var(--ease);
}
.link-btn:hover { text-decoration-color: var(--ink); }
.link-btn em { color: var(--muted); font-style: normal; font-weight: 400; }

/* Make and model: options until one is chosen, then the answer in one line with "Change". */
.pick { display: grid; gap: 8px; min-width: 0; }
.pick.is-invalid { border-color: transparent !important; background: none; }
.pick-options { display: grid; gap: 12px; }
.pick-all { justify-self: start; }
.pick-chosen {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: var(--field-h);
  padding: 0 6px 0 16px;
  border: 1px solid var(--chosen-line);
  border-radius: var(--r);
  background: var(--chosen-bg);
}
.pick-chosen strong { min-width: 0; overflow: hidden; color: var(--ink); font-size: 1rem; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.pick-chosen .link-btn { flex: none; padding: 0 10px; font-size: 0.875rem; }

.brand-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.brand-card {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 12px;
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  text-align: left;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.brand-card img { flex: none; width: 26px; height: 26px; object-fit: contain; }
/* 320px phones: "Volkswagen" fits its card without being cut. */
@media (max-width: 359px) { .form-panel { padding-inline: 14px; } .brand-card { gap: 6px; padding: 0 8px; font-size: 0.8125rem; } .brand-card img { width: 22px; height: 22px; } }
/* Eight makes: two columns of logo + name on phones, four columns of logo over name on wider screens. */
@media (min-width: 420px) {
  .brand-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .brand-card { flex-direction: column; justify-content: center; gap: 6px; min-height: 76px; padding: 10px 6px; font-size: 0.875rem; text-align: center; }
  .brand-card span { max-width: 100%; }
  .brand-card.is-long { padding-inline: 3px; }
}
.brand-card span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* A long make (Volkswagen) a size smaller, so it fits its card whole on every phone. */
.brand-card.is-long span { font-size: 0.75rem; letter-spacing: -0.015em; }
@media (hover: hover) { .brand-card:hover, .model-row:hover { border-color: var(--ink); } }
.brand-card[aria-pressed="true"], .model-row[aria-pressed="true"] { border-color: var(--chosen-line); background: var(--chosen-bg); }
.model-list { display: grid; gap: 10px; }
.model-list[hidden] { display: none; }
.model-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 50px;
  padding: 0 14px 0 16px;
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  text-align: left;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.model-row::after { content: ""; width: 8px; height: 8px; border: solid var(--muted); border-width: 2px 2px 0 0; transform: rotate(45deg); }
.pick.is-invalid .brand-card, .pick.is-invalid .model-row { border-color: var(--danger); }


/* Price with its € and the "don't know yet" choice. */
.input-suffix { position: relative; }
.input-suffix span { position: absolute; top: 50%; right: 16px; transform: translateY(-50%); color: var(--muted); font-weight: 600; pointer-events: none; }
.field .input-suffix input { padding-right: 40px; }
.field input:disabled { background: var(--paper-2); color: var(--placeholder); cursor: not-allowed; }

/* "All makes" / "All models": a sheet from the bottom on phones, a centred dialog on larger screens. */
/* No overflow lock on the page: Safari loses its scroll position with one. The list scrolls on its own
   (overscroll-behavior: contain) and the backdrop takes the taps. */
.pick-dialog {
  position: fixed;
  inset: auto 0 0;
  display: none;
  width: 100%;
  max-width: none;
  height: min(86dvh, 720px);
  max-height: none;
  margin: 0;
  padding: 18px 16px calc(14px + env(safe-area-inset-bottom));
  border: 0;
  border-radius: 22px 22px 0 0;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 -12px 40px -12px rgba(25, 25, 25, 0.3);
}
.pick-dialog[open] { display: flex; flex-direction: column; gap: 12px; animation: sheet-in 280ms var(--ease); }
.pick-dialog::backdrop { background: rgba(25, 25, 25, 0.42); animation: fade-in 200ms ease; }
@keyframes sheet-in { from { transform: translateY(40px); opacity: 0; } }
@keyframes fade-in { from { opacity: 0; } }
@media (min-width: 640px) {
  .pick-dialog { inset: 0; width: min(480px, calc(100% - 48px)); height: min(640px, calc(100dvh - 96px)); margin: auto; padding: 22px 22px 18px; border-radius: var(--r-lg); box-shadow: 0 24px 80px -24px rgba(25, 25, 25, 0.4); }
  .pick-dialog[open] { animation-name: dialog-in; }
  @keyframes dialog-in { from { transform: translateY(10px) scale(0.98); opacity: 0; } }
}
.pick-dialog-grip { display: none; }
@media (max-width: 639px) {
  .pick-dialog-grip { display: block; align-self: center; flex: none; width: 40px; height: 5px; margin: -8px 0 -4px; border-radius: 3px; background: var(--line-2); }
  .pick-dialog-head { touch-action: none; }
}
.pick-dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pick-dialog-head h3 { outline: none; margin: 0; font-size: 1.125rem; font-weight: 800; letter-spacing: -0.01em; }
.pick-dialog-close { display: grid; place-items: center; width: 44px; height: 44px; margin-right: -8px; border: 0; border-radius: 50%; background: none; color: var(--ink); }
.pick-dialog-close:hover { background: var(--paper-2); }
.pick-search {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  min-height: var(--field-h);
  padding: 0 14px 0 42px;
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%2363625d' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='8' cy='8' r='6'/%3E%3Cpath d='m13 13 4 4'/%3E%3C/svg%3E") no-repeat 14px center;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
}
.pick-dialog-list { flex: 1; min-height: 0; display: grid; align-content: start; overflow-y: auto; overscroll-behavior: contain; margin: 0 -6px; padding: 0 6px; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
.pick-dialog-group { margin: 14px 0 4px; padding: 0 12px; color: var(--muted); font-size: 0.8125rem; font-weight: 600; }
.pick-dialog-group:first-child { margin-top: 2px; }
.pick-dialog-option img { flex: none; width: 22px; height: 22px; object-fit: contain; }
.pick-logo { flex: none; width: 24px; height: 24px; object-fit: contain; margin-right: -2px; }
.pick-chosen strong { flex: 1; }
.pick-dialog-option { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 0 12px; border: 0; border-bottom: 1px solid var(--line); background: none; color: var(--ink); font: inherit; font-size: 1rem; font-weight: 500; text-align: left; }
.pick-dialog-option:hover, .pick-dialog-option:focus-visible { background: var(--paper-2); outline: none; }
.pick-dialog-option[aria-selected="true"] { font-weight: 700; background: var(--chosen-bg); }
.pick-empty { margin: 0; color: var(--muted); font-size: 0.9375rem; }
.pick-manual { display: grid; gap: 8px; padding-top: 4px; border-top: 1px solid var(--line); }
.pick-manual .link-btn { justify-self: start; }
.pick-manual-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.pick-manual-row[hidden] { display: none; }
.pick-manual-row input { min-height: var(--field-h); padding: 0 14px; border: 1px solid var(--line-2); border-radius: var(--r); font: inherit; font-size: 16px; }
.pick-manual-row .btn { min-height: var(--field-h); }
/* The value the field already holds, when its list is opened again. */
.suggest-panel .soft-select-option.is-current { font-weight: 700; }

/* Segmented choices */
.segmented { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.segmented-3 { grid-template-columns: repeat(3, 1fr); }
/* A question that appears once the one before it has an answer slides in. "backwards", not "both": a finished
   animation must not leave a stacking context, or a later block (the photos) covers this one's open list. */
.is-revealed { animation: field-in 240ms var(--ease) backwards; }
@keyframes field-in { from { opacity: 0; transform: translateY(-6px); } }
@media (prefers-reduced-motion: reduce) { .is-revealed, .pick-dialog[open], .pick-dialog::backdrop { animation: none; } }
.segmented-item { position: relative; display: block; cursor: pointer; }
.segmented-item input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.segmented-item span {
  display: grid;
  place-items: center;
  min-height: var(--field-h);
  padding: 6px 8px;
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  background: var(--paper);
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.15;
  text-align: center;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
@media (hover: hover) { .segmented-item:hover span { border-color: #b9b8b2; } }
/* No "pressed" scale on the chosen answer: Safari on iPhone redraws a scaled box between pixels and its 1 px bottom
   edge blinks or stays gone. The fill and the darker edge (eased by the transition) show the choice. */
.segmented-item input:checked + span { background: var(--chosen-bg); border-color: var(--chosen-line); color: var(--ink); font-weight: 700; }
.segmented-item input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
@media (max-width: 400px) { .segmented-3 .segmented-item span { font-size: 0.8125rem; padding: 6px 4px; } }
.ta-detail { display: grid; gap: 8px; margin-top: 4px; }

/* Photos */
.photo-upload { display: grid; gap: 8px; }
.photo-upload > .field-label { display: block; }
.photo-drop {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1.5px dashed var(--line-2);
  border-radius: 16px;
  background: var(--paper);
  cursor: pointer;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
@media (hover: hover) { .photo-drop:hover { border-color: var(--ink); background: var(--paper-2); } }
.photo-drop.is-dragover { border-color: var(--ink); background: var(--paper-2); }
.photo-drop.is-disabled { opacity: 0.6; cursor: not-allowed; }
.photo-drop.is-busy { cursor: progress; }
.photo-drop-icon { flex: none; width: 40px; height: 40px; padding: 6px; border-radius: 12px; background: var(--lime); color: var(--ink); }
.photo-drop-text { display: grid; gap: 2px; }
.photo-drop-title { color: var(--ink); font-weight: 600; font-size: 0.9375rem; }
.photo-drop-sub { color: var(--muted); font-size: 0.8125rem; line-height: 1.35; }
.photo-drop-plus { display: none; flex: none; margin-left: auto; color: var(--ink); }
.photo-drop.is-compact { gap: 12px; padding: 10px 14px; border-style: solid; }
.photo-drop.is-compact .photo-drop-icon { width: 34px; height: 34px; padding: 5px; border-radius: 10px; }
.photo-drop.is-compact .photo-drop-sub { display: none; }
.photo-drop.is-compact .photo-drop-plus { display: block; }
.photo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.photo-thumb { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden; background: var(--paper-2); animation: field-in 240ms var(--ease) backwards; }
.photo-thumb img { width: 100%; height: 100%; object-fit: cover; }
.photo-remove {
  position: absolute;
  top: 4px;
  right: 4px;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 1px 3px rgba(25, 25, 25, 0.25);
  color: var(--ink);
}
/* A 44px tap area around the small round button. */
.photo-remove::after { content: ""; position: absolute; inset: -9px; }
.photo-error { color: var(--danger); font-size: 0.8125rem; font-weight: 500; }


/* Contacts step */
.form-summary {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: var(--field-h);
  padding: 0 6px 0 16px;
  border: 1px solid var(--chosen-line);
  border-radius: var(--r);
  background: var(--chosen-bg);
}
.form-summary p { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; }
.form-summary p strong { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.form-summary p strong { color: var(--ink); font-weight: 650; font-size: 0.9375rem; }
.form-summary-edit { flex: none; padding: 0 10px; font-size: 0.875rem; }
.phone-field-row { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px; }
.phone-code-trigger { display: flex; align-items: center; gap: 6px; width: auto; padding: 0 12px; }
.phone-code-value { font-weight: 600; }

/* Wizard nav */
.wizard-nav { display: flex; gap: 10px; margin-top: 32px; }
.wizard-nav .btn { flex: 1; min-width: 0; min-height: 54px; }
/* Narrow phones: "Toliau – pasiūlymas" must fit beside the back button. */
@media (max-width: 380px) { .wizard-nav .wizard-next { gap: 6px; padding: 0 12px; font-size: 0.9375rem; } }
.wizard-back { flex: 0 0 54px !important; padding: 0; }
.wizard-next svg { transition: transform var(--dur) var(--ease); }
/* While the button names what is missing ("Pasirinkite modelį") it is not a "go on": no arrow. */
.wizard-next.is-missing svg { display: none; }
@media (hover: hover) { .wizard-next:hover svg { transform: translateX(3px); } }
/* The step is complete: one small nudge of the arrow (or a soft ring on the last button), never a lock. */
.wizard-next.is-ready svg { animation: ready-nudge 700ms var(--ease); }
.wizard-submit.is-ready { animation: ready-ring 900ms var(--ease); }
@keyframes ready-nudge { 40% { transform: translateX(6px); } 70% { transform: translateX(-1px); } }
@keyframes ready-ring { from { box-shadow: 0 0 0 0 rgba(169, 194, 11, 0.55); } to { box-shadow: 0 0 0 12px rgba(169, 194, 11, 0); } }
@media (prefers-reduced-motion: reduce) { .wizard-next.is-ready svg, .wizard-submit.is-ready { animation: none; } }
.btn-spinner {
  display: none;
  width: 18px;
  height: 18px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin 700ms linear infinite;
}
.is-loading .btn-spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-consent { margin-top: 12px; color: var(--muted); font-size: 0.75rem; line-height: 1.45; }
.form-consent a { color: var(--ink-2); }
.form-status {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: var(--r-sm);
  background: var(--paper-2);
  color: var(--ink);
  font-size: 0.875rem;
  font-weight: 500;
}
.form-status.is-error { background: var(--danger-soft); color: var(--danger); }

/* Success */
.form-panel.is-success .lead-form { display: none; }
.form-success h2 { outline: none; }
.form-success { display: grid; justify-items: center; gap: 12px; padding: 18px 0 6px; text-align: center; animation: stepIn 300ms var(--ease); }
.form-success-mark svg { width: 106px; height: 106px; margin: -21px; }
.success-check { stroke-dasharray: 1; stroke-dashoffset: 0; }
.success-badge, .success-ring { transform-box: fill-box; transform-origin: center; }
.success-ring { opacity: 0; }
.success-sparks path { stroke-dasharray: 1; stroke-dashoffset: 1; opacity: 0; }
.form-success:not([hidden]) .success-badge { animation: badge-pop 520ms cubic-bezier(0.34, 1.56, 0.64, 1) both; }
.form-success:not([hidden]) .success-ring { animation: ring-out 900ms 120ms var(--ease) both; }
.form-success:not([hidden]) .success-check { animation: check-draw 460ms 300ms var(--ease) both; }
.form-success:not([hidden]) .success-sparks path { animation: spark 700ms 380ms var(--ease) both; }
.form-success:not([hidden]) .success-sparks path:nth-child(2) { animation-delay: 430ms; }
.form-success:not([hidden]) .success-sparks path:nth-child(3) { animation-delay: 480ms; }
.form-success:not([hidden]) .success-sparks path:nth-child(4) { animation-delay: 410ms; }
/* The words follow the badge, one after another. */
.form-success:not([hidden]) > :not(.form-success-mark) { animation: field-in 420ms var(--ease) both; }
.form-success:not([hidden]) > h2 { animation-delay: 240ms; }
.form-success:not([hidden]) > p { animation-delay: 320ms; }
.form-success:not([hidden]) > p + p { animation-delay: 380ms; }
.form-success:not([hidden]) > .form-success-actions { animation-delay: 440ms; }
.form-success:not([hidden]) > .form-again { animation-delay: 500ms; }
/* The ad tags (GTM) watch this text become visible: it moves in but never starts transparent. */
.form-success:not([hidden]) > .wpcf7-response-output { animation-name: rise-in; }
@keyframes rise-in { from { transform: translateY(6px); } }
@keyframes check-draw { from { stroke-dashoffset: 1; } }
@keyframes badge-pop { from { transform: scale(0.4); opacity: 0; } }
@keyframes ring-out { 0% { transform: scale(1); opacity: 0.9; } 100% { transform: scale(1.7); opacity: 0; } }
@keyframes spark { 0% { stroke-dashoffset: 1; opacity: 1; } 55% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: -1; opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .form-success:not([hidden]) *, .form-success:not([hidden]) > * { animation: none !important; }
  .success-check { stroke-dashoffset: 0; }
}
.form-success h2 { font-size: 1.5rem; font-weight: 750; letter-spacing: -0.02em; }
.form-success p { color: var(--muted); max-width: 30ch; }
.form-success p strong { color: var(--ink); }
.form-success .form-success-photos { max-width: 34ch; font-size: 0.875rem; }
.form-success-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 6px; }
.form-again { margin-top: 4px; border: 0; background: none; color: var(--muted); font-size: 0.875rem; text-decoration: underline; text-underline-offset: 3px; }

/* ——— Sections ——— */
.section { padding-block: var(--section-y); }
.section-head { max-width: 40rem; margin-bottom: clamp(32px, 5vw, 56px); }
.section h2 {
  font-size: clamp(1.875rem, 4.2vw, 3rem);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.section-head p { margin-top: 14px; color: var(--text-soft); font-size: 1.0625rem; }

/* Process: one connected sequence, no cards */
.steps { position: relative; display: grid; gap: 28px; }
.step { position: relative; display: grid; gap: 12px; align-content: start; }
.step-art img { width: auto; height: 120px; max-width: 100%; }
@media (max-width: 759px) {
  .step-body { grid-template-columns: auto minmax(0, 1fr); column-gap: 12px; align-items: center; }
  .step-body p { grid-column: 1 / -1; }
}
.step-body { display: grid; gap: 6px; }
.step-num {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  background: var(--lime);
  color: var(--ink);
  font-weight: 800;
  font-size: 0.875rem;
}
.step h3 { font-size: 1.1875rem; font-weight: 750; letter-spacing: -0.015em; }
.step p { color: var(--muted); }
@media (min-width: 760px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 40px; }
  .steps::before {
    content: "";
    position: absolute;
    left: 15px;
    width: calc(2 * (100% - 80px) / 3 + 80px);
    top: calc(var(--art-h) + 33px);
    border-top: 2px dashed var(--line-2);
  }
  .steps { --art-h: 180px; }
  .step { grid-template-columns: 1fr; gap: 18px; align-content: start; }
  .step-art { display: grid; place-items: end start; height: var(--art-h); }
  .step-art img { width: auto; height: var(--art-h); max-width: 100%; object-fit: contain; object-position: bottom left; }
  .step-num { position: relative; z-index: 1; box-shadow: 0 0 0 6px var(--ground); }
}

/* Google reviews: band under the hero, white cards, lime stars outlined in ink */
.reviews { background: var(--band); }
.reviews + .process { padding-top: var(--section-y); }
.reviews-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 32px; margin-bottom: clamp(24px, 4vw, 40px); }
.rating { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; color: var(--muted); font-size: 0.9375rem; }
.rating-num { color: var(--ink); font-size: 2.25rem; font-weight: 800; line-height: 1; letter-spacing: -0.03em; }
.stars { position: relative; flex: none; display: inline-block; width: 110px; line-height: 0; }
.stars svg { display: block; width: 100%; height: auto; fill: var(--paper); stroke: var(--ink); stroke-width: 1.3; stroke-linejoin: round; }
.stars-fill { position: absolute; inset: 0 auto 0 0; width: var(--fill); overflow: hidden; }
.stars-fill svg, .stars-sm svg { width: 110px; max-width: none; fill: var(--lime); }
.stars-sm { width: 84px; }
.stars-sm svg { width: 84px; }
.review-list { display: grid; gap: 16px; }
.review-card { display: grid; grid-template-rows: auto 1fr auto; gap: 14px; padding: 22px 22px 20px; border-radius: var(--r-lg); background: var(--paper); }
.review-card blockquote { margin: 0; }
.review-card blockquote p { color: var(--ink-2); font-size: 1.0625rem; line-height: 1.55; }
.review-card blockquote p::before { content: "„"; }
.review-card blockquote p::after { content: "“"; }
.review-author { color: var(--muted); font-size: 0.875rem; }
.review-author strong { color: var(--ink); font-weight: 700; }
.reviews-all { display: inline-block; margin-top: 24px; color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--lime-deep); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.reviews-all:hover { text-decoration-color: var(--ink); }
@media (min-width: 900px) {
  .review-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .review-card { padding: 26px 26px 22px; }
}

/* What we buy */
.buy { background: var(--band); }
.buy-grid { display: grid; gap: 16px; }
.buy-card {
  display: grid;
  gap: 8px;
  align-content: start;
  padding: 20px 20px 24px;
  border-radius: var(--r-lg);
  background: var(--paper);
}
.buy-card img { width: 100%; height: auto; margin-bottom: 10px; }
.buy-card h3 { font-size: 1.25rem; font-weight: 750; letter-spacing: -0.015em; }
.buy-card p { color: var(--muted); }
.buy-links { display: grid; gap: 4px; margin-top: 6px; font-size: 0.9375rem; font-weight: 600; }
.buy-links a, .buy-brands a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.buy-links a:hover, .buy-brands a:hover { text-decoration-color: currentColor; }
.vehicle-types .buy-brands { flex-basis: 100%; color: var(--muted); font-weight: 500; font-size: 0.9375rem; }
.vehicle-types {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-top: 28px;
}
.vehicle-types p { color: var(--ink); font-weight: 600; }
.vehicle-types ul { display: flex; flex-wrap: wrap; gap: 8px; }
.vehicle-types li {
  padding: 7px 14px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink-2);
  font-size: 0.875rem;
  font-weight: 500;
}
@media (max-width: 759px) {
  .buy-card { grid-template-columns: 112px minmax(0, 1fr); column-gap: 14px; row-gap: 4px; align-items: center; padding: 14px 16px 14px 12px; }
  .buy-card img { grid-row: span 2; margin: 0; }
  .buy-card h3 { align-self: end; font-size: 1.0625rem; }
  .buy-card p { align-self: start; font-size: 0.9375rem; line-height: 1.45; }
  .buy-links { grid-column: 1 / -1; margin-top: 4px; }
}
@media (min-width: 760px) {
  .buy-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .buy-card img { width: 100%; height: 150px; object-fit: contain; object-position: bottom center; }
}

/* Price factors */
.price-grid { display: grid; gap: 28px; }
.price .section-head { margin-bottom: 0; }
.price .section-head .btn { margin-top: 24px; }
.price-list { display: grid; gap: 0; counter-reset: none; }
.price-list li { display: flex; gap: 14px; align-items: flex-start; padding: 16px 0; border-top: 1px solid var(--line); }
.price-list li:last-child { border-bottom: 1px solid var(--line); }
.price-num {
  flex: none;
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--band);
  color: var(--ink);
  font-weight: 700;
  font-size: 0.8125rem;
}
.price-list div { display: grid; gap: 2px; }
.price-list strong { color: var(--ink); font-weight: 700; font-size: 1.0625rem; }
.price-list span { color: var(--muted); }
@media (max-width: 759px) { .price .section-head .btn { display: none; } }
@media (min-width: 900px) {
  .price-grid { grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: start; }
  .price .section-head { position: sticky; top: calc(var(--header-h) + 32px); }
  .price-list { grid-template-columns: 1fr 1fr; column-gap: 40px; }
  .price-list li:nth-last-child(2) { border-bottom: 1px solid var(--line); }
}

/* Why us */
.why-grid { display: grid; gap: 40px; align-items: center; }
.feature-list { display: grid; gap: 18px; margin: 28px 0 32px; }
.feature-list li { display: flex; gap: 14px; align-items: flex-start; }
.feature-list .tick { width: 24px; height: 24px; margin-top: 2px; }
.feature-list div { display: grid; gap: 2px; }
.feature-list strong { color: var(--ink); font-weight: 700; font-size: 1.0625rem; }
.feature-list span { color: var(--muted); }
.why-art { display: grid; place-items: center; }
.why-art img { width: 100%; max-width: 420px; height: auto; }
@media (min-width: 900px) {
  .why-grid { grid-template-columns: 1.05fr 1fr; gap: 64px; }
  .why-art img { max-width: 520px; }
}

/* Compare: listing vs dealer vs us — honest table, our column on white paper */
.compare-table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.compare-table th, .compare-table td { text-align: left; vertical-align: top; }
.compare-table .tick { display: inline-block; margin-right: 8px; vertical-align: -4px; }
.compare-table .is-us { color: var(--ink); font-weight: 600; }
.compare-cta { margin-top: 32px; }
/* Price and compare share the ground colour: one section gap between them, not two. */
.price + .compare { padding-top: 0; }
@media (max-width: 759px) {
  .compare-table thead { display: none; }
  .compare-table, .compare-table tbody, .compare-table tr, .compare-table th, .compare-table td { display: block; }
  .compare-table tr { margin-bottom: 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--paper); }
  .compare-table tbody th { margin-bottom: 4px; color: var(--ink); font-weight: 700; }
  .compare-table td { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); gap: 12px; padding: 8px 0; border-top: 1px solid var(--line); color: var(--muted); text-align: left; }
  .compare-table td::before { content: attr(data-label); color: var(--muted); font-weight: 500; }
  .compare-table td.is-us { color: var(--ink); }
  .compare-table td .tick { display: none; }
  .compare-table td.is-us::before { color: var(--ink); font-weight: 700; }
}
@media (min-width: 760px) {
  .compare-table th, .compare-table td { padding: 16px 20px; border-bottom: 1px solid var(--line); }
  .compare-table thead th { color: var(--ink); font-weight: 700; font-size: 1rem; }
  .compare-table tbody th { color: var(--ink); font-weight: 600; }
  .compare-table td { color: var(--muted); }
  .compare-table .is-us { background: var(--paper); }
  .compare-table thead .is-us { border-radius: var(--r-lg) var(--r-lg) 0 0; }
  .compare-table tbody tr:last-child .is-us { border-radius: 0 0 var(--r-lg) var(--r-lg); border-bottom-color: transparent; }
  .compare-table td.is-us { color: var(--ink); }
}

/* Coverage (local SEO) */
.coverage { padding-top: 0; }
.coverage-inner {
  max-width: 52rem;
  padding-top: clamp(40px, 6vw, 72px);
  border-top: 1px solid var(--line);
  text-align: center;
  margin-inline: auto;
}
.coverage h2 { font-size: clamp(1.625rem, 3.4vw, 2.375rem); }
.coverage-inner > p { margin: 14px auto 0; max-width: 40rem; color: var(--text-soft); }
.city-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 24px; }
.city-list li { padding: 6px 13px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); color: var(--ink-2); font-size: 0.875rem; font-weight: 500; }
/* Cities with their own page: ink text, the whole pill is the link. */
.city-list li:has(a) { padding: 0; border-color: var(--line-2); }
.city-list a { display: block; padding: 6px 13px; border-radius: inherit; color: var(--ink); font-weight: 600; text-decoration: none; transition: background var(--dur) var(--ease); }
@media (hover: hover) { .city-list li:has(a):hover { border-color: var(--ink); } }
.city-list a:hover { background: var(--paper-2); }
/* Landing: links to the neighbouring city pages */
.nearby { padding-top: 0; text-align: center; }
.nearby h2 { font-size: clamp(1.25rem, 2.4vw, 1.625rem); }
.nearby .city-list { margin-top: 16px; }
/* "and the rest of Lithuania": plain marked text, no pill. */
.city-list .city-more { border-color: transparent; background: var(--marker) no-repeat 50% 88% / calc(100% - 20px) 0.4em; color: var(--ink); font-weight: 700; }


/* FAQ */
.faq { padding-top: 0; }
.faq-grid { display: grid; gap: 28px; }
.faq-intro p { margin: 12px 0 20px; color: var(--muted); }
.faq-guides { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); }
.faq-guides h3 { color: var(--ink); font-size: 0.9375rem; font-weight: 700; }
.faq-guides ul { display: grid; gap: 2px; margin-top: 8px; }
.faq-guides a { display: inline-flex; gap: 6px; padding: 6px 0; color: var(--ink-2); font-weight: 500; text-decoration: underline; text-decoration-color: var(--lime-deep); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.faq-guides a:hover { color: var(--ink); text-decoration-color: var(--ink); }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  cursor: pointer;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary h3 { font-size: 1.0625rem; font-weight: 650; letter-spacing: -0.01em; line-height: 1.35; }
.faq-icon { position: relative; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--band); transition: background var(--dur) var(--ease); }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: var(--ink); transition: transform var(--dur) var(--ease); }
.faq-icon::after { transform: rotate(90deg); }
details[open] .faq-icon { background: var(--lime); }
details[open] .faq-icon::after { transform: rotate(0); }
.faq-list details p { padding: 0 44px 20px 0; color: var(--muted); }
@media (min-width: 900px) {
  .faq-grid { grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: start; }
  .faq-intro { position: sticky; top: calc(var(--header-h) + 32px); }
}

/* Final CTA */
.final-cta { padding: 0 0 var(--section-y); }
.final-inner {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: grid;
  gap: 24px;
  align-items: center;
  padding: clamp(28px, 5vw, 64px);
  border-radius: var(--r-xl);
  background: var(--band);
}
.final-inner::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: radial-gradient(circle, #d9d8d1 1.1px, transparent 1.4px) 0 0 / 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse at 20% 60%, #000, transparent 70%);
  mask-image: radial-gradient(ellipse at 20% 60%, #000, transparent 70%);
}
.final-art { width: 100%; max-width: 360px; height: auto; margin: 0 auto; }
.final-copy h2 { font-size: clamp(1.75rem, 3.8vw, 2.75rem); line-height: 1.08; font-weight: 800; letter-spacing: -0.03em; }
.final-copy > p { margin-top: 12px; color: var(--ink-2); font-size: 1.0625rem; }
.final-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.final-promise { display: grid; gap: 8px; margin-top: 24px; color: var(--ink); font-weight: 500; font-size: 0.9375rem; }
.final-promise li { display: flex; align-items: center; gap: 10px; }

@media (min-width: 860px) {
  .final-inner { grid-template-columns: 0.8fr 1.2fr; gap: 56px; }
  .final-art { max-width: 420px; }
}

/* ——— Landing and text pages ——— */
.landing-text { margin-top: 14px; color: var(--text-soft); font-size: 1.0625rem; }
.prose { max-width: calc(44rem + var(--gutter) * 2); }
.prose h1 { font-size: clamp(2rem, 5vw, 3rem); line-height: 1.08; font-weight: 800; letter-spacing: -0.03em; }
.prose h2 { margin: 40px 0 12px; font-size: clamp(1.25rem, 2.6vw, 1.5rem); line-height: 1.25; font-weight: 750; letter-spacing: -0.02em; }
.prose h3 { margin: 24px 0 8px; font-size: 1.0625rem; font-weight: 700; }
.prose p, .prose ul, .prose ol { margin-top: 12px; }
/* Question accordion inside a guide: the list spacing, not the prose rhythm. */
.prose .faq-list { margin-top: 16px; }
.prose .faq-list summary h3, .prose .faq-list details p { margin: 0; }
.prose ol { padding-left: 1.25em; list-style: decimal; }
.prose ul { padding-left: 1.25em; list-style: disc; }
.prose li + li { margin-top: 6px; }
.prose strong { color: var(--ink); }
.prose-meta { color: var(--muted); font-size: 0.9375rem; }
.prose code { font-size: 0.875em; color: var(--ink); }
.prose-table { margin-top: 16px; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); }
.prose-table table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 0.875rem; }
.prose-table th, .prose-table td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose-table th { color: var(--ink); font-weight: 650; }
.prose-table tr:last-child td { border-bottom: 0; }
.prose-figure { margin: 28px 0 8px; }
.prose-figure img { display: block; width: 100%; max-width: 520px; height: auto; margin-inline: auto; }
.prose-figure--lead { margin: 24px 0 20px; padding: 24px 16px 12px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--paper); }
.prose-figure figcaption { margin-top: 10px; color: var(--muted); font-size: 0.9375rem; text-align: center; }
.prose-factors { margin-top: 28px; padding: 24px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--paper); }
.prose-factors h3 { margin: 0 0 16px; }
.prose .prose-factors ul { display: grid; gap: 16px 20px; margin: 0; padding: 0; list-style: none; }
.prose-factors li { display: grid; grid-template-columns: 48px 1fr; column-gap: 14px; align-items: center; margin: 0; }
.prose-factors li + li { margin-top: 0; }
.prose-factors img { grid-row: span 2; width: 48px; height: 48px; }
.prose-factors strong { align-self: end; }
.prose-factors span { align-self: start; color: var(--muted); font-size: 0.9375rem; line-height: 1.45; }
@media (min-width: 640px) {
  .prose .prose-factors ul { grid-template-columns: 1fr 1fr; }
}
/* Numbered steps with an ink icon; the --art variant uses the larger scene illustrations. */
.prose .prose-steps { display: grid; gap: 12px; margin-top: 16px; padding: 0; list-style: none; counter-reset: step; }
.prose .prose-steps li { position: relative; display: grid; grid-template-columns: 56px 1fr; column-gap: 16px; align-items: center; margin: 0; padding: 14px 16px 14px 14px; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); counter-increment: step; }
.prose-steps li::before { content: counter(step); position: absolute; top: -8px; left: -8px; display: grid; place-items: center; width: 26px; height: 26px; border: 1.5px solid var(--ink); border-radius: 50%; background: var(--lime); color: var(--ink); font-size: 0.8125rem; font-weight: 800; }
.prose-steps img { width: 56px; height: 56px; }
/* Season strip: four small cards with an ink icon. */
.prose .prose-seasons { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; padding: 0; list-style: none; }
.prose .prose-seasons li { display: grid; align-content: start; gap: 2px; margin: 0; padding: 14px; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); }
.prose-seasons img { width: 40px; height: 40px; margin-bottom: 6px; }
.prose-seasons span { color: var(--muted); font-size: 0.9375rem; line-height: 1.4; }
@media (min-width: 640px) { .prose .prose-seasons { grid-template-columns: repeat(4, 1fr); } }
/* Worked example: one bar is the repair bill, split into what the higher price returns and what is lost. */
.prose-calc { margin: 20px 0 0; padding: 20px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--paper); }
.prose-calc figcaption { margin-bottom: 14px; color: var(--ink); font-weight: 700; }
.prose-calc .calc-head { display: flex; justify-content: space-between; margin: 0 0 8px; color: var(--muted); font-size: 0.9375rem; }
.calc-head b { color: var(--ink); font-weight: 750; }
.calc-stack { display: flex; height: 40px; overflow: hidden; border: 1.5px solid var(--ink); border-radius: 12px; }
.calc-part { display: flex; flex: 0 0 var(--w); align-items: center; justify-content: center; }
.calc-part b { padding: 2px 8px; border-radius: 999px; background: var(--paper); color: var(--ink); font-size: 0.875rem; font-weight: 750; }
.calc-part--back { background: var(--lime); border-right: 1.5px solid var(--ink); }
.calc-part--lost { background: repeating-linear-gradient(135deg, var(--line-2) 0 3px, var(--paper) 3px 10px); }
.prose .calc-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 10px 0 0; padding: 0; list-style: none; color: var(--ink-2); font-size: 0.9375rem; }
.prose .calc-legend li { display: inline-flex; align-items: center; gap: 8px; margin: 0; }
.calc-swatch { width: 14px; height: 14px; border: 1.5px solid var(--ink); border-radius: 4px; }
.calc-swatch--back { background: var(--lime); }
.calc-swatch--lost { background: repeating-linear-gradient(135deg, var(--line-2) 0 2px, var(--paper) 2px 5px); }
.prose .calc-result { margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--line); color: var(--ink-2); }
.calc-result b { padding: 0 4px; background: var(--marker) no-repeat 0 88% / 100% 0.5em; color: var(--ink); font-weight: 800; white-space: nowrap; }
.calc-notes { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 16px; font-size: 0.9375rem; color: var(--ink-2); }
.calc-notes span { display: inline-flex; align-items: center; gap: 6px; }
.calc-notes .tick { width: 18px; height: 18px; padding: 2px; border-radius: 50%; background: var(--lime); color: var(--ink); }
.calc-no { color: var(--muted); }
.calc-no i { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--paper-3); color: var(--ink); font-size: 0.75rem; font-style: normal; font-weight: 800; }
/* Icon cards (documents) and the "×" variant (mistakes); two columns from 640px. */
.prose .prose-cards { display: grid; gap: 10px; margin-top: 16px; padding: 0; list-style: none; }
.prose .prose-cards li { display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: start; margin: 0; padding: 16px; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); line-height: 1.5; }
.prose-cards img { width: 48px; height: 48px; }
.prose .prose-cards--mistakes li { position: relative; display: block; padding-left: 58px; }
.prose .prose-cards--mistakes li::before { content: "×"; position: absolute; top: 15px; left: 16px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--paper-3); color: var(--ink); font-weight: 800; }
.prose-cards--mistakes strong { display: block; margin-bottom: 2px; }
@media (min-width: 640px) { .prose .prose-cards { grid-template-columns: 1fr 1fr; } }
/* Contract sheet: what goes into the sale contract, the date and time on the lime marker. */
.prose-contract { position: relative; margin-top: 16px; padding: 22px 22px 18px; border: 1.5px solid var(--ink); border-radius: 6px 6px 18px 6px; background: var(--paper); box-shadow: 6px 6px 0 var(--paper-3); }
.prose-contract .contract-title { margin: 0 0 12px; padding-bottom: 10px; border-bottom: 1.5px solid var(--ink); color: var(--ink); font-size: 0.8125rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.prose .prose-contract ul { margin: 0; padding: 0; list-style: none; }
.prose .prose-contract li { display: grid; grid-template-columns: 7.5rem 1fr; gap: 12px; margin: 0; padding: 9px 0; border-bottom: 1px dashed var(--line-2); }
.prose-contract li span { color: var(--muted); font-size: 0.875rem; font-weight: 600; }
.prose-contract li.is-key span { color: var(--ink); background: var(--marker) no-repeat 0 88% / 100% 0.5em; justify-self: start; }
.contract-sign { display: flex; gap: 24px; margin-top: 18px; }
.contract-sign span { flex: 1; padding-top: 6px; border-top: 1.5px solid var(--ink); color: var(--muted); font-size: 0.8125rem; }
@media (max-width: 479px) { .prose .prose-contract li { grid-template-columns: 1fr; gap: 2px; } }
/* Yes / no: what you can and can't do without a valid inspection. */
.prose .prose-yesno { display: grid; gap: 8px; margin-top: 16px; padding: 0; list-style: none; }
.prose .prose-yesno li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: center; margin: 0; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); }
.prose-yesno i { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; font-style: normal; font-weight: 800; }
.prose-yesno .is-yes i { border: 1.5px solid var(--ink); background: var(--lime); color: var(--ink); }
.prose-yesno .is-no i { background: var(--paper-3); color: var(--ink); }
/* Linked cards with the landing illustrations. */
.prose .prose-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(10.5rem, 1fr)); gap: 10px; margin-top: 16px; padding: 0; list-style: none; }
.prose .prose-links li { margin: 0; }
.prose-links a { display: grid; gap: 8px; height: 100%; padding: 14px; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); color: var(--ink); font-weight: 700; text-decoration: none; transition: border-color 180ms var(--ease, ease); }
@media (hover: hover) { .prose-links a:hover { border-color: var(--ink); } }
.prose-links img { width: 100%; height: auto; }
.prose-links span::after { content: " →"; }
/* Price flow: four steps joined by a dashed line. */
.prose .prose-flow { display: grid; gap: 10px; margin-top: 16px; padding: 0; list-style: none; }
.prose .prose-flow li { position: relative; display: grid; grid-template-columns: 48px 1fr; column-gap: 14px; align-items: center; margin: 0; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); }
.prose-flow img { grid-row: span 2; width: 48px; height: 48px; }
.prose-flow strong { align-self: end; }
.prose-flow span { align-self: start; color: var(--muted); font-size: 0.875rem; }
.prose-flow li:nth-child(3) span { color: var(--ink); font-weight: 600; }
@media (min-width: 760px) {
  .prose .prose-flow { grid-template-columns: repeat(4, 1fr); }
  .prose .prose-flow li { grid-template-columns: 1fr; align-content: start; justify-items: center; row-gap: 4px; padding: 16px 10px; text-align: center; }
  .prose-flow img { grid-row: auto; margin-bottom: 4px; }
  .prose .prose-flow li + li::before { content: ""; position: absolute; top: 40px; left: -11px; width: 12px; border-top: 2px dashed var(--line-2); }
}
/* Chips: what to put in the request. */
.prose .prose-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; padding: 0; list-style: none; }
.prose .prose-chips li { display: inline-flex; align-items: center; gap: 6px; margin: 0; padding: 6px 12px 6px 8px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--paper); color: var(--ink); font-size: 0.875rem; font-weight: 600; }
.prose-chips .tick { width: 18px; height: 18px; padding: 2px; border-radius: 50%; background: var(--lime); color: var(--ink); }
.prose-cta { display: grid; gap: 16px; justify-items: start; margin-top: 40px; padding: 28px; border-radius: var(--r-lg); background: var(--paper-2); }
.prose-cta p { margin: 0; color: var(--ink); font-weight: 600; }

/* ——— Cookie consent ———
   A floating paper card: bottom sheet on phones, bottom-left on desktop so the form column stays clear.
   Reject and accept are the same size, side by side. */
.consent {
  position: fixed;
  z-index: 60;
  left: 12px;
  right: 12px;
  bottom: calc(12px + var(--safe-b));
  display: grid;
  gap: 10px;
  max-width: 440px;
  padding: 16px 16px 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--paper);
  box-shadow: 0 24px 50px -20px rgba(25, 25, 25, 0.3);
  font-size: 0.875rem;
  line-height: 1.5;
}
.consent h2 { font-size: 1rem; font-weight: 700; }
.consent p { color: var(--text-soft); }
.consent p a { color: var(--ink); }
.consent-options { display: grid; gap: 8px; padding: 4px 0; }
.consent-option { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); cursor: pointer; }
.consent-option input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; }
.consent-option strong { color: var(--ink); }
.consent-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.consent-actions .btn { min-height: 44px; padding: 0 14px; font-size: 0.9375rem; }
.consent-actions [data-consent-save] { grid-column: 2; }
.consent-settings { justify-self: center; padding: 6px 8px; border: 0; background: none; color: var(--muted); font-size: 0.8125rem; text-decoration: underline; text-underline-offset: 3px; }
.consent-settings:hover { color: var(--ink); }
body.consent-open .mobile-dock { display: none; }
.footer-link { padding: 0; border: 0; background: none; color: var(--muted); font-size: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.footer-link:hover { color: var(--ink); }
@media (min-width: 640px) {
  .consent { left: 24px; right: auto; bottom: calc(24px + var(--safe-b)); padding: 20px 20px 14px; }
}

/* ——— Error pages (resources/views/errors/minimal.blade.php) ——— */
.error-page { display: grid; justify-items: center; align-content: center; gap: 12px; min-height: 100svh; padding: 32px var(--gutter); text-align: center; }
.error-page .brand { margin-bottom: 12px; }
.error-art { width: 100%; max-width: 280px; height: auto; }
.error-code { color: var(--muted); font-weight: 700; letter-spacing: 0.08em; }
.error-page h1 { font-size: clamp(1.75rem, 6vw, 2.5rem); font-weight: 800; letter-spacing: -0.03em; }
.error-page p { max-width: 34rem; color: var(--text-soft); }
.error-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 8px; }

/* ——— Footer ——— */
.site-footer { padding: 48px 0 calc(28px + var(--safe-b)); border-top: 1px solid var(--line); font-size: 0.9375rem; }
.footer-grid { display: grid; gap: 28px; }
.footer-brand p { margin-top: 12px; max-width: 28ch; color: var(--muted); }
.footer-col h2 { margin-bottom: 10px; color: var(--ink); font-size: 0.875rem; font-weight: 700; }
.footer-col ul { display: grid; gap: 6px; color: var(--muted); }
.footer-col a { color: var(--ink-2); text-decoration: none; }
.footer-col a:hover { text-decoration: underline; }
.footer-bottom { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-top: 36px; padding-top: 20px; color: var(--muted); font-size: 0.8125rem; }
.footer-bottom::before { content: ""; position: absolute; top: 0; inset-inline: var(--gutter); border-top: 1px solid var(--line); }
.footer-bottom a { color: var(--muted); }
/* Phones: one column. Tablets: brand on its own row, then 2×2. Wide screens: all five side by side. */
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; column-gap: 32px; } .footer-brand { grid-column: 1 / -1; } }
@media (min-width: 1240px) {
  .footer-grid { grid-template-columns: repeat(5, auto); justify-content: space-between; column-gap: 24px; }
  .footer-brand { grid-column: auto; }
  .footer-brand p { max-width: 22ch; }
  .footer-col a { white-space: nowrap; }
}
.footer-cities { grid-template-columns: 1fr 1fr; column-gap: 16px; }

@media (prefers-reduced-motion: no-preference) {
  /* Signature moment, once per load: the car pulls up behind the seller, brakes (nose dips, settles),
     then the price bubble pops. On phones it parks on the form card's edge. */
  .hero-scene .hs-car { transform-box: view-box; transform-origin: 203px 219px; animation: car-arrive 1000ms 150ms linear both; }
  .hero-scene .hs-bubble { transform-box: view-box; transform-origin: 150px 72px; animation: bubble-pop 380ms 1050ms var(--ease) both, bubble-float 3.2s 1450ms ease-in-out infinite; }
  .hero-scene .hs-tag { transform-box: view-box; transform-origin: 364px 152px; animation: tag-sway 4s 1150ms ease-in-out infinite; }
  .hero-scene.is-offscreen * { animation-play-state: paused; }
  /* Our column's ticks land one by one when the comparison comes into view. */
  .js .compare-table.reveal td.is-us .tick { transform: scale(0); transition: transform 360ms var(--ease) calc(200ms + var(--i, 0) * 70ms); }
  .js .compare-table.reveal.is-in td.is-us .tick { transform: none; }
  @supports (animation-timeline: view()) {
    .steps::before {
      transform-origin: left center;
      animation: line-grow linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 100%;
    }
  }
  .faq-list details::details-content {
    block-size: 0;
    overflow: hidden;
    transition: block-size 280ms var(--ease), content-visibility 280ms allow-discrete;
  }
  .faq-list details[open]::details-content { block-size: auto; }
}
@supports (interpolate-size: allow-keywords) {
  :root { interpolate-size: allow-keywords; }
}
@keyframes car-arrive {
  0% { transform: translateX(-110px); opacity: 0; animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1); }
  14% { opacity: 1; }
  70% { transform: none; animation-timing-function: cubic-bezier(0.3, 0, 0.4, 1); }
  84% { transform: rotate(1.4deg); animation-timing-function: cubic-bezier(0.3, 0, 0.4, 1); }
  100% { transform: none; }
}
@keyframes bubble-pop { from { opacity: 0; transform: scale(0.6); } }
@keyframes bubble-float { 50% { transform: translateY(-4px); } }
@keyframes tag-sway { 0%, 100% { transform: rotate(0deg); } 50% { transform: rotate(-6deg); } }
@keyframes line-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes marker-draw { from { background-size: 0% 0.42em; } to { background-size: 100% 0.42em; } }

@media (max-width: 640px) {
  .hero-proof { flex-direction: column; gap: 6px; }
}
@media (max-width: 759px) {
  .final-actions .btn { flex: 1 1 100%; }
  .why-art { order: -1; justify-items: start; }
  .why-art img { max-height: 150px; width: auto; }
}
.hero-grid:has(.form-panel.is-success) .hero-alt { display: none; }

/* ——— Mobile dock ——— */
.mobile-dock {
  position: fixed;
  z-index: 45;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 8px;
  padding: 10px var(--gutter) calc(10px + var(--safe-b));
  background: rgba(248, 248, 246, 0.94);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  backdrop-filter: saturate(1.6) blur(14px);
  box-shadow: 0 -1px 0 var(--line);
  transform: translateY(110%);
  transition: transform 260ms var(--ease);
}
.mobile-dock.is-visible { transform: none; }
.mobile-dock-btn { min-height: 48px; }
@media (min-width: 641px) { .mobile-dock { display: none !important; } }
body:has(.mobile-dock.is-visible) .site-footer { padding-bottom: calc(96px + var(--safe-b)); }

/* ——— Highlighter draws in as a heading comes into view (content is always visible) ——— */
@media (prefers-reduced-motion: no-preference) {
  .js .hero .marker { animation: marker-draw 720ms 240ms var(--ease) both; }
  .js .reveal .marker { background-size: 0% 0.42em; transition: background-size 720ms 200ms var(--ease); }
  .js .reveal.is-in .marker { background-size: 100% 0.42em; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
