/* Leadkit forms — base layer for this site (prefix "abys"). The site maps the variables below to its own design
   tokens in its CSS (e.g. .abys-form { --lk-accent: var(--brand-cta); }) and adds its own signature touches. */
.abys-form {
  --lk-font: inherit; --lk-ink: #1d232a; --lk-muted: #5c6670; --lk-line: #cfd6dc; --lk-bg: #fff; --lk-surface: #f4f6f8;
  --lk-accent: #1d5ba6; --lk-accent-ink: #fff; --lk-cta: var(--lk-accent); --lk-cta-ink: var(--lk-accent-ink);
  --lk-chip-on: var(--lk-accent); --lk-chip-on-ink: var(--lk-accent-ink); --lk-focus: #1d5ba6; --lk-error: #b3261e;
  --lk-ok: #1e7b34; --lk-radius: 10px; --lk-radius-chip: 999px; --lk-gap: 14px; --lk-pad: clamp(16px, 4vw, 28px);
  font-family: var(--lk-font); color: var(--lk-ink); background: var(--lk-bg); border: 1px solid var(--lk-line);
  border-radius: var(--lk-radius); padding: var(--lk-pad); display: grid; gap: var(--lk-gap); max-width: 720px;
}
.abys-form *, .abys-form *::before, .abys-form *::after { box-sizing: border-box; }
.abys-form [hidden] { display: none !important; }
.abys-form__title { font-size: 1.3em; font-weight: 700; margin: 0; line-height: 1.2; }
.abys-form__intro { margin: 4px 0 0; color: var(--lk-muted); }
.abys-form__intro a { color: inherit; font-weight: 700; white-space: nowrap; }
.abys-steps { display: flex; gap: 6px; list-style: none; padding: 0; margin: 12px 0 0; counter-reset: lk; font-size: .82em; }
.abys-steps__item { flex: 1; padding-top: 8px; border-top: 3px solid var(--lk-line); color: var(--lk-muted); counter-increment: lk; }
.abys-steps__item::before { content: counter(lk) ". "; }
.abys-steps__item[aria-current="step"] { border-color: var(--lk-accent); color: var(--lk-ink); font-weight: 700; }
.abys-steps__item[data-done="true"] { border-color: var(--lk-accent); }
.abys-step { border: 0; padding: 0; margin: 0; display: grid; gap: var(--lk-gap); min-width: 0; }
.abys-group { display: grid; gap: var(--lk-gap); min-width: 0; }
.abys-step__title { font-weight: 700; font-size: 1.05em; padding: 0; margin-bottom: 2px; }
.abys-field { display: grid; gap: 6px; min-width: 0; }
.abys-label { font-weight: 600; font-size: .95em; }
.abys-opt { font-weight: 400; color: var(--lk-muted); }
.abys-input { width: 100%; font: inherit; color: inherit; background: var(--lk-surface); border: 1px solid var(--lk-line);
  border-radius: calc(var(--lk-radius) * .7); padding: 12px 14px; min-height: 48px; }
textarea.abys-input { min-height: 72px; resize: vertical; }
.abys-input:focus-visible, .abys-chip input:focus-visible + .abys-chip__label, .abys-btn:focus-visible, .abys-geoloc:focus-visible,
.abys-photos__drop:focus-within { outline: 3px solid var(--lk-focus); outline-offset: 2px; }
.abys-input[aria-invalid="true"] { border-color: var(--lk-error); }
.abys-input--plate { text-transform: uppercase; letter-spacing: .08em; font-variant-numeric: tabular-nums; }
.abys-hint, .abys-privacy, .abys-fineprint { font-size: .85em; color: var(--lk-muted); margin: 0; }
.abys-privacy a { color: inherit; }
.abys-error { color: var(--lk-error); font-size: .88em; margin: 0; font-weight: 600; }
.abys-grid2 { display: grid; gap: var(--lk-gap); grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); align-items: end; }
.abys-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.abys-chip { position: relative; display: inline-flex; flex-direction: column; justify-content: center; cursor: pointer; }
.abys-chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.abys-chip__label { display: block; padding: 10px 14px; min-height: 44px; border: 1px solid var(--lk-line); border-radius: var(--lk-radius-chip);
  background: var(--lk-bg); font-weight: 600; line-height: 1.25; }
.abys-chip__hint { display: block; font-size: .78em; color: var(--lk-muted); padding: 2px 14px 0; }
.abys-chip input:checked + .abys-chip__label { background: var(--lk-chip-on); border-color: var(--lk-chip-on); color: var(--lk-chip-on-ink); }
.abys-chips--services { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.abys-chips--services .abys-chip { border: 1px solid var(--lk-line); border-radius: var(--lk-radius); padding: 10px 12px; background: var(--lk-bg); }
.abys-chips--services .abys-chip__label { border: 0; padding: 0; min-height: 0; background: none; }
.abys-chips--services .abys-chip__hint { padding: 2px 0 0; }
.abys-chips--services .abys-chip:has(input:checked) { border-color: var(--lk-chip-on); box-shadow: inset 0 0 0 1px var(--lk-chip-on); }
.abys-chips--services .abys-chip input:checked + .abys-chip__label { background: none; color: inherit; }
.abys-check { display: flex; gap: 10px; align-items: center; min-height: 44px; cursor: pointer; }
.abys-check input { width: 20px; height: 20px; accent-color: var(--lk-accent); flex: none; }
.abys-checks { display: grid; gap: 2px; }
.abys-addr { position: relative; }
.abys-addr__row { display: flex; gap: 8px; }
.abys-geoloc { flex: none; display: inline-flex; align-items: center; gap: 6px; font: inherit; font-size: .85em; font-weight: 600; color: var(--lk-ink);
  background: var(--lk-bg); border: 1px solid var(--lk-line); border-radius: calc(var(--lk-radius) * .7); padding: 0 12px; min-height: 48px; cursor: pointer; }
.abys-addr__list { position: absolute; z-index: 30; left: 0; right: 0; top: 100%; margin: 4px 0 0; padding: 4px; list-style: none;
  background: var(--lk-bg); border: 1px solid var(--lk-line); border-radius: calc(var(--lk-radius) * .7); box-shadow: 0 10px 24px rgba(0, 0, 0, .12); }
.abys-addr__list li { padding: 10px 12px; border-radius: 6px; cursor: pointer; }
.abys-addr__list li[aria-selected="true"], .abys-addr__list li:hover { background: var(--lk-surface); }
.abys-addr__list li[data-lk-attrib] { padding: 6px 12px 4px; font-size: .72em; color: var(--lk-muted); cursor: default; background: none; }
.abys-alert { border-left: 4px solid var(--lk-accent); background: var(--lk-surface); padding: 12px 14px; border-radius: 6px; }
.abys-alert p { margin: 0 0 6px; } .abys-alert p:last-child { margin: 0; }
.abys-alert--error { border-color: var(--lk-error); }
.abys-nav { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; align-items: center; }
.abys-btn { font: inherit; font-weight: 700; border-radius: calc(var(--lk-radius) * .8); padding: 12px 20px; min-height: 48px; cursor: pointer;
  border: 2px solid transparent; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; text-align: center; }
.abys-btn--primary { background: var(--lk-cta); color: var(--lk-cta-ink); }
.abys-btn--secondary { background: var(--lk-bg); color: var(--lk-ink); border-color: var(--lk-ink); }
.abys-btn--ghost { background: none; color: var(--lk-ink); border-color: var(--lk-line); }
.abys-btn[disabled] { opacity: .55; cursor: not-allowed; }
.abys-quote { border: 1px solid var(--lk-line); border-radius: var(--lk-radius); padding: 16px; background: var(--lk-surface); }
.abys-quote__total { font-size: 2.3em; font-weight: 800; line-height: 1; margin: 0; }
.abys-quote__total small { font-size: .4em; font-weight: 600; color: var(--lk-muted); }
.abys-quote__sub, .abys-quote__note { margin: 6px 0 0; color: var(--lk-muted); font-size: .9em; }
.abys-quote__lines { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 4px; font-size: .9em; }
.abys-quote__lines li { display: flex; justify-content: space-between; gap: 12px; border-top: 1px dashed var(--lk-line); padding-top: 4px; }
.abys-quote__lines li span:last-child { white-space: nowrap; font-weight: 600; }
.abys-quote__options p { margin: 8px 0 0; font-size: .9em; }
.abys-quote__deposit { margin: 12px 0 0; padding-top: 10px; border-top: 1px solid var(--lk-line); }
.abys-photos__drop { position: relative; display: flex; align-items: center; gap: 10px; justify-content: center; min-height: 72px; padding: 14px;
  border: 2px dashed var(--lk-line); border-radius: var(--lk-radius); background: var(--lk-surface); font-weight: 600; cursor: pointer; text-align: center; }
.abys-photos__drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.abys-photos__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 8px; }
.abys-photos__grid figure { margin: 0; position: relative; aspect-ratio: 1; border-radius: 8px; overflow: hidden; background: var(--lk-surface); }
.abys-photos__grid img { width: 100%; height: 100%; object-fit: cover; display: block; }
.abys-photos__grid button { position: absolute; right: 4px; bottom: 4px; font: inherit; font-size: .72em; font-weight: 700; border: 0;
  border-radius: 6px; padding: 4px 6px; background: rgba(0, 0, 0, .7); color: #fff; cursor: pointer; }
.abys-status { margin: 0; font-weight: 600; }
.abys-status[data-type="error"] { color: var(--lk-error); }
.abys-status[data-type="success"] { color: var(--lk-ok); }
.abys-done { text-align: center; display: grid; gap: 10px; justify-items: center; padding: 12px 0; color: var(--lk-ok); }
.abys-done__title { font-size: 1.25em; font-weight: 800; margin: 0; color: var(--lk-ink); }
.abys-done__text { margin: 0; color: var(--lk-ink); }
.abys-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.abys-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 520px) {
  .abys-nav { justify-content: stretch; } .abys-nav .abys-btn { flex: 1 1 100%; }
  .abys-geoloc span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
.abys-form li { margin: 0; }
.abys-quote__route { margin: 10px 0 0; font-size: .9em; }
.abys-quote__warning { margin: 8px 0 0; padding: 8px 10px; border-radius: 6px; background: #fff4e5; color: #6b3d00; font-weight: 600; font-size: .9em; }
@media (prefers-reduced-motion: no-preference) { .abys-chip__label, .abys-btn { transition: background-color .15s, border-color .15s, color .15s; } }
@media (max-width: 520px) { .abys-nav--submit .abys-btn--ghost { order: 3; } }

/* --- simplified flow: big choice tiles, folded details, request recap, price card, two clear endings --- */
/* columns follow the form's own width (phone: one row per choice; wide form: 2 or 3 per row) */
.abys-tiles { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 228px), 1fr)); }
.abys-tile { position: relative; display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 10px; row-gap: 1px;
  min-height: 64px; padding: 10px 12px; border: 1px solid var(--lk-line); border-radius: var(--lk-radius); background: var(--lk-bg); cursor: pointer; }
.abys-tile input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.abys-tile__icon { grid-row: span 2; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--lk-surface); color: var(--lk-accent); flex: none; }
.abys-tile__icon svg { width: 22px; height: 22px; }
.abys-tile__label { font-weight: 700; line-height: 1.2; align-self: end; }
.abys-tile__hint { font-size: .8em; line-height: 1.25; color: var(--lk-muted); align-self: start; }
.abys-tile:not(:has(.abys-tile__hint)) .abys-tile__label { grid-row: span 2; align-self: center; }
.abys-tile:has(input:checked) { border-color: var(--lk-chip-on); box-shadow: inset 0 0 0 1px var(--lk-chip-on);
  background: color-mix(in srgb, var(--lk-chip-on) 7%, var(--lk-bg)); }
.abys-tile:has(input:checked) .abys-tile__icon { background: var(--lk-chip-on); color: var(--lk-chip-on-ink); }
.abys-tile:has(input:focus-visible) { outline: 3px solid var(--lk-focus); outline-offset: 2px; }
.abys-tiles--vehicles { grid-template-columns: repeat(auto-fill, minmax(min(100%, 96px), 1fr)); }
.abys-tiles--states { grid-template-columns: repeat(auto-fill, minmax(min(100%, 136px), 1fr)); }
.abys-tile__label, .abys-tile__hint { min-width: 0; overflow-wrap: break-word; }
/* compact tiles (vehicle types, wreck states): icon on top, centred */
.abys-tiles--vehicles .abys-tile, .abys-tiles--states .abys-tile { grid-template-columns: 1fr; justify-items: center; text-align: center;
  align-content: start; padding: 10px 6px; row-gap: 4px; }
.abys-tiles--vehicles .abys-tile .abys-tile__icon, .abys-tiles--states .abys-tile .abys-tile__icon,
.abys-tiles--vehicles .abys-tile .abys-tile__label, .abys-tiles--states .abys-tile .abys-tile__label,
.abys-tiles--states .abys-tile .abys-tile__hint { grid-row: auto; align-self: center; }
.abys-tiles--vehicles .abys-tile__label { font-size: .88em; }
.abys-fixed { margin: 0; display: flex; align-items: center; gap: 12px; }
.abys-more { min-width: 0; }
.abys-more > summary { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; cursor: pointer; list-style: none;
  font-weight: 700; color: var(--lk-accent); }
.abys-more > summary::-webkit-details-marker { display: none; }
.abys-more > summary::before { content: "+"; display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%;
  border: 1.5px solid currentColor; font-size: .95em; line-height: 1; }
.abys-more[open] > summary::before { content: "\2212"; }
.abys-more[open] { display: grid; gap: 10px; }
.abys-more > summary:focus-visible { outline: 3px solid var(--lk-focus); outline-offset: 2px; border-radius: 4px; }
.abys-summary { margin: 0; color: var(--lk-muted); font-size: .92em; }
/* price step: the request is already saved (details came first) */
.abys-saved { margin: 0; padding: 10px 12px 10px 38px; position: relative; border-radius: 8px; color: var(--lk-ink); font-size: .95em;
  background: color-mix(in srgb, var(--lk-ok) 9%, var(--lk-bg)); border: 1px solid color-mix(in srgb, var(--lk-ok) 28%, var(--lk-bg)); }
.abys-saved::before { content: ""; position: absolute; left: 12px; top: 50%; width: 16px; height: 16px; margin-top: -8px; border-radius: 50%;
  background: var(--lk-ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.2l2.6 2.6L12 5.4' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }
.abys-summary span:empty { display: none; }
.abys-link { font: inherit; font-weight: 700; color: var(--lk-accent); background: none; border: 0; padding: 0 2px; min-height: 32px;
  text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.abys-pricecard { background: var(--lk-bg); border: 2px solid var(--lk-accent); }
.abys-pricecard .abys-more { margin-top: 6px; }
.abys-pricecard .abys-more > summary { min-height: 36px; font-size: .92em; }
.abys-step__sub { margin: 4px 0 0; font-weight: 700; }
.abys-btn__sub { display: block; font-size: .78em; font-weight: 500; opacity: .92; }
.abys-btn:has(.abys-btn__sub) { flex-direction: column; gap: 2px; padding-top: 10px; padding-bottom: 10px; line-height: 1.2; }
.abys-nav--stack { display: grid; grid-template-columns: 1fr; justify-content: stretch; }
.abys-nav--stack .abys-btn { width: 100%; }
@media (min-width: 600px) { .abys-nav--stack { grid-template-columns: 1fr 1fr; } }
.abys-reassure { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: .86em; color: var(--lk-muted); }
.abys-reassure li { display: flex; gap: 10px; align-items: baseline; }
.abys-reassure li::before { content: ""; flex: none; width: 12px; height: 7px; border-left: 2px solid var(--lk-ok); border-bottom: 2px solid var(--lk-ok);
  transform: translateY(-3px) rotate(-45deg); }
.abys-reassure li[hidden] { display: none; }
/* rows that hold choice chips: align to the top (a field opening below one column must not shift the other) */
.abys-grid2--top { align-items: start; }