/* UAUTO — стили сайта. Цвета взяты из логотипа. */
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

:root {
  --ink: #1E2328;
  --logo-bg: #252625;
  --logo-orange: #FBA504;
  --ink-2: #2A3037;
  --ink-3: #39414A;
  --paper: #F1F3F5;
  --white: #FFFFFF;
  --line: #D8DDE2;
  --muted: #5A636D;
  --orange: #F29F1D;
  --orange-dark: #C77A00;
  --blue: #1F7FD1;
  --blue-text: #135EA0;
  --plate: #F5C400;
  --eu: #1F49A8;
  --ok: #1E8A4C;
  --err: #B42318;

  --radius-s: 6px;
  --radius: 10px;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --shadow: 0 1px 2px rgba(30, 35, 40, .06), 0 8px 24px rgba(30, 35, 40, .08);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

body {
  margin: 0;
  font-family: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  font-stretch: 100%;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-text); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 3px; }
::selection { background: var(--orange); color: var(--ink); }

h1, h2, h3, h4 { line-height: 1.12; margin: 0 0 .5em; font-stretch: 118%; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.22rem; font-weight: 700; font-stretch: 110%; }
p { margin: 0 0 1em; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 60ch; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--white { background: var(--white); }
.section--dark { background: var(--ink); color: #E8ECEF; }
.section--dark .lead, .section--dark p { color: #B9C1C9; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 36px; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.section-head p { margin: 8px 0 0; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border-radius: var(--radius-s);
  font: inherit; font-weight: 700; font-stretch: 110%; text-decoration: none; line-height: 1.2;
  border: 2px solid transparent; cursor: pointer; transition: background .15s, color .15s, border-color .15s;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--primary { background: var(--orange); color: var(--ink); }
.btn--primary:hover { background: #FFB53E; color: var(--ink); }
.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover { background: var(--ink-3); color: var(--white); }
.btn--ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn--ghost:hover { background: rgba(127, 127, 127, .12); color: inherit; }
.btn--wa { background: #1FAF54; color: #fff; }
.btn--wa:hover { background: #18934A; color: #fff; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Шапка (тёмная, в цвет фона логотипа) ---------- */
.header { background: var(--logo-bg); border-bottom: 1px solid #333535; position: sticky; top: 0; z-index: 50; color: #fff; }
.header .wrap { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; flex: none; }
.logo__mark { width: auto; height: 52px; border-radius: 6px; }
.logo__word { font-weight: 900; font-stretch: 125%; font-size: 1.6rem; letter-spacing: .01em; line-height: 1; color: #fff; }
.logo__ua { color: var(--logo-orange); }
.nav { margin-left: auto; }
.nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.nav a {
  display: block; padding: 10px 11px; white-space: nowrap; border-radius: var(--radius-s);
  color: #fff; text-decoration: none; font-weight: 600; font-size: .98rem;
}
.nav a:hover { background: #333535; color: #fff; }
.nav a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--logo-orange); border-radius: 0; }
.header__cta { flex: none; }
.menu-btn { display: none; margin-left: auto; background: none; border: 0; padding: 10px; cursor: pointer; color: #fff; }
.menu-btn svg { width: 28px; height: 28px; }

@media (max-width: 1240px) {
  .header__cta { display: none; }
}
@media (max-width: 1000px) {
  .menu-btn { display: block; }
  .header .wrap { min-height: 64px; }
  .logo__mark { height: 44px; }
  .logo__word { font-size: 1.4rem; }
  .nav {
    position: absolute; inset: 100% 0 auto 0; height: calc(100vh - 64px); height: calc(100dvh - 64px);
    background: var(--logo-bg); margin: 0; border-top: 1px solid #3A3C3B;
    padding: 12px var(--gutter) 120px; overflow-y: auto; display: none;
  }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav a { padding: 16px 4px; font-size: 1.2rem; border-bottom: 1px solid #3A3C3B; border-radius: 0; }
  .nav a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--logo-orange); padding-left: 16px; }
  body.nav-open { overflow: hidden; }
}

/* ---------- Круглая кнопка WhatsApp (на всех страницах) ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 60px; height: 60px; border-radius: 50%;
  background: #25D366; color: #fff; display: grid; place-items: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .28); transition: transform .15s, background .15s;
}
.wa-float svg { width: 34px; height: 34px; }
.wa-float:hover { background: #1EBE5A; color: #fff; transform: scale(1.06); }
@media (max-width: 560px) { .wa-float { right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); width: 56px; height: 56px; } }

/* ---------- Номерной знак (фирменный элемент) ---------- */
.plate {
  display: flex; align-items: stretch; height: 64px; border-radius: 7px; overflow: hidden;
  background: #F7C600; border: 2px solid #111; box-shadow: inset 0 0 0 2px #F7C600, inset 0 0 0 3.5px #111;
}
/* Синяя полоса ЕС: 12 звёзд по кругу и «NL», как на настоящем нидерландском номере */
.plate__eu {
  flex: none; width: 44px; background: #003399; color: #fff; display: flex; flex-direction: column;
  align-items: center; justify-content: space-between; padding: 6px 0 5px; font-weight: 800; font-size: 1.05rem; line-height: 1; letter-spacing: .02em;
  font-family: Arial, "Helvetica Neue", sans-serif;
}
.plate__eu svg { width: 30px; height: 30px; }
.plate input {
  flex: 1; min-width: 0; border: 0; background: transparent; color: var(--ink);
  font: inherit; font-weight: 800; font-stretch: 112%; font-size: clamp(1.6rem, 4vw, 2.1rem); letter-spacing: .06em;
  text-transform: uppercase; text-align: center; padding: 0 12px;
}
.plate input::placeholder { color: rgba(30, 35, 40, .26); }
.plate input:focus { outline: none; }
.plate:focus-within { outline: 3px solid var(--blue); outline-offset: 3px; }
.plate--small { height: 44px; border-width: 2px; }
.plate--small .plate__eu { width: 30px; font-size: .72rem; padding: 4px 0 3px; }
.plate--small .plate__eu svg { width: 20px; height: 20px; }
.plate--small input, .plate--small .plate__text { font-size: 1.25rem; }
.plate__text { flex: 1; display: flex; align-items: center; justify-content: center; font-weight: 800; font-stretch: 112%; letter-spacing: .06em; }
.plate-inline { display: inline-flex; width: 190px; }

/* ---------- Hero ---------- */
.hero { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; background: url("../img/hero-car.jpg?v=3") center 40%/cover no-repeat; background-image: image-set(url("../img/hero-car.webp?v=3") type("image/webp"), url("../img/hero-car.jpg?v=3") type("image/jpeg")); }
.hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(25, 27, 30, .92) 0%, rgba(25, 27, 30, .7) 40%, rgba(25, 27, 30, .2) 75%, rgba(25, 27, 30, .4) 100%); }
.hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; padding-top: clamp(48px, 8vw, 104px); padding-bottom: clamp(48px, 8vw, 104px); }
.hero h1 { color: #fff; max-width: 15ch; }
.hero .lead { color: #C9D0D6; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 14px 28px; margin-top: 28px; color: #C9D0D6; font-size: .95rem; }
.hero__meta a { color: #fff; }
.rating { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.rating strong { font-size: 1.1rem; }
.stars { display: inline-flex; gap: 1px; color: var(--orange); }
.stars svg { width: 16px; height: 16px; }

.starter {
  background: var(--white); color: var(--ink); border-radius: var(--radius); padding: clamp(22px, 3vw, 32px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .35);
}
.starter h2 { font-size: 1.4rem; margin-bottom: 6px; }
.starter p { color: var(--muted); font-size: .97rem; margin-bottom: 18px; }
.starter__actions { display: grid; gap: 10px; margin-top: 18px; }
.starter__actions .btn { justify-content: space-between; }
.starter__note { font-size: .85rem; color: var(--muted); margin: 14px 0 0; }

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr); }
  .hero__bg { background-position: center 40%; }
  .hero__bg::after { background: linear-gradient(180deg, rgba(25, 27, 30, .45) 0%, rgba(25, 27, 30, .8) 45%, var(--ink) 80%); }
}

/* ---------- Услуги ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service { padding: 28px 28px 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); }
.service svg { width: 36px; height: 36px; color: var(--blue); margin-bottom: 18px; }
.service h3 { margin-bottom: 8px; }
.service p { color: var(--muted); margin: 0; font-size: .98rem; }
@media (max-width: 900px) { .services { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .services { grid-template-columns: 1fr; } .service { padding: 22px; } }

/* ---------- Карточки машин ---------- */
.car-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 1000px) { .car-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .car-grid { grid-template-columns: 1fr; } }
.car-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; position: relative; }
.car-card:hover { border-color: #AEB7C0; }
.car-card__img { aspect-ratio: 4 / 3; background: #DDE2E7; position: relative; overflow: hidden; }
.car-card__img img { width: 100%; height: 100%; object-fit: cover; }
.car-card__body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.car-card h3 { margin: 0; font-size: 1.15rem; }
.car-card h3 a { color: var(--ink); text-decoration: none; }
.car-card h3 a::after { content: ""; position: absolute; inset: 0; }
.car-card__variant { color: var(--muted); font-size: .95rem; margin: 2px 0 14px; }
.car-card__specs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 16px; padding: 0; list-style: none; font-size: .88rem; }
.car-card__specs li { background: var(--paper); padding: 3px 9px; border-radius: 4px; }
.car-card__price { margin-top: auto; font-size: 1.45rem; font-weight: 800; font-stretch: 115%; }
.badge { position: absolute; top: 12px; left: 12px; background: var(--ink); color: #fff; font-size: .82rem; font-weight: 700; padding: 4px 10px; border-radius: 4px; z-index: 1; }
.badge--res { background: var(--orange); color: var(--ink); }
.badge--sold { background: var(--err); }

/* ---------- Блок продать / обменять ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; } }
.panel { border-radius: var(--radius); padding: clamp(26px, 4vw, 44px); }
.panel--dark { background: var(--ink-2); color: #fff; }
.panel--dark p { color: #BFC7CE; }
.panel--orange { background: var(--orange); color: var(--ink); }
.panel--orange p { color: #3B2A0B; }
.panel h2 { font-size: clamp(1.5rem, 3vw, 2rem); }

.steps { list-style: none; padding: 0; margin: 24px 0 28px; counter-reset: s; display: grid; gap: 14px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; }
.steps li::before {
  content: counter(s); width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  font-weight: 800; border: 2px solid currentColor;
}

/* ---------- Отзывы ---------- */
.review { background: var(--white); border-radius: var(--radius); padding: 26px; border: 1px solid var(--line); margin: 0; display: flex; flex-direction: column; }
.review blockquote { margin: 12px 0 8px; }
.review figcaption { font-weight: 700; margin-top: auto; padding-top: 10px; }
.review__text { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 6; line-clamp: 6; overflow: hidden; }
.review.is-open .review__text { display: block; -webkit-line-clamp: unset; }
.review__more { align-self: flex-start; background: none; border: 0; padding: 4px 0; font: inherit; font-weight: 700; color: var(--blue-text); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* Слайдер отзывов: свайп на телефоне, стрелки и точки */
.rslider { --gap: 24px; --per: 3; }
.rslider__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - (var(--per) - 1) * var(--gap)) / var(--per));
  gap: var(--gap); overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  position: relative; /* иначе скрытые подписи (sr-only) внутри отзывов «вылезают» и растягивают страницу на телефоне */
  scrollbar-width: none; padding-bottom: 4px; align-items: start;
}
.rslider__track::-webkit-scrollbar { display: none; }
.rslider__track:focus-visible { outline-offset: 6px; }
.rslider__track > .review { scroll-snap-align: start; height: 100%; }
.rslider__nav { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 24px; }
.rslider__nav[hidden] { display: none; }
.rslider__btn {
  width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--ink); background: var(--white); color: var(--ink);
  display: grid; place-items: center; cursor: pointer; transition: background .15s, opacity .15s;
}
.rslider__btn:hover { background: var(--ink); color: #fff; }
.rslider__btn:disabled { opacity: .3; cursor: default; background: var(--white); color: var(--ink); }
.rslider__btn svg { width: 22px; height: 22px; }
@media (max-width: 1000px) { .rslider { --per: 2; } }
@media (max-width: 640px) {
  .rslider { --gap: 14px; }
  .rslider__track { grid-auto-columns: 86%; }
  .rslider__btn { width: 42px; height: 42px; }
  .review { padding: 22px; }
}
.google-score { display: flex; align-items: center; gap: 18px; margin-top: 18px; }
.section--band { padding: clamp(40px, 5vw, 64px) 0; }
.section--band .section-head { margin-bottom: 0; }
.google-score__num { font-size: 3rem; font-weight: 800; font-stretch: 120%; line-height: 1; }

/* ---------- Локация ---------- */
.visit { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 860px) { .visit { grid-template-columns: 1fr; } }
.hours { width: 100%; border-collapse: collapse; margin: 8px 0 24px; max-width: 380px; }
.hours td { padding: 7px 0; border-bottom: 1px solid var(--line); }
.hours td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.hours tr.is-today td { font-weight: 700; }
.section--dark .hours td { border-color: var(--ink-3); }
.contact-list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 12px; }
.contact-list li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; }
.contact-list svg { width: 22px; height: 22px; color: var(--blue); margin-top: 3px; }
.section--dark .contact-list svg { color: var(--orange); }
.section--dark a { color: #fff; }

.map { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: #CBD3DA url("../img/map-preview.svg") center/cover; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map__consent {
  position: absolute; inset: auto 16px 16px 16px; background: var(--white); color: var(--ink); border-radius: var(--radius-s);
  padding: 16px 18px; display: flex; gap: 14px; align-items: center; justify-content: space-between; flex-wrap: wrap; box-shadow: var(--shadow);
}
.map__consent p { margin: 0; font-size: .88rem; color: var(--muted); flex: 1 1 220px; }
.map__consent .btn { min-height: 42px; padding: 8px 16px; }

/* ---------- Подвал ---------- */
.footer { background: #171B1F; color: #A9B2BB; font-size: .95rem; padding: 64px 0 28px; }
.footer a { color: #DCE1E5; text-decoration: none; }
.footer a:hover { color: var(--orange); text-decoration: underline; }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 36px; }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }
.footer h3 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer .logo { color: #fff; margin-bottom: 16px; }
.footer .logo__mark { height: 48px; }
.footer__legal { border-top: 1px solid #2C333A; margin-top: 48px; padding-top: 22px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: .86rem; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #252B31; }
.socials a:hover { background: var(--orange); color: var(--ink); }
.socials svg { width: 18px; height: 18px; }

/* ---------- Заголовок внутренних страниц ---------- */
.page-head { background: var(--ink); color: #fff; padding: clamp(40px, 6vw, 72px) 0 clamp(36px, 5vw, 56px); }
.page-head h1 { color: #fff; margin-bottom: 12px; }
.page-head .lead { color: #C3CBD2; margin: 0; }
.crumbs { font-size: .88rem; margin-bottom: 18px; color: #9AA4AD; }
.crumbs a { color: #C9D0D6; }
.crumbs span[aria-hidden] { margin: 0 6px; }

/* ---------- Формы ---------- */
.form-layout { display: grid; grid-template-columns: 1fr 340px; gap: clamp(28px, 4vw, 56px); align-items: start; }
@media (max-width: 960px) { .form-layout { grid-template-columns: 1fr; } }
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 4vw, 40px); }
fieldset { border: 0; padding: 0; margin: 0 0 34px; min-width: 0; }
legend { font-size: 1.3rem; font-weight: 800; font-stretch: 115%; margin-bottom: 18px; padding: 0; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.fields .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .fields { grid-template-columns: 1fr; } }
.field label, .field .label { display: block; font-weight: 600; margin-bottom: 6px; font-size: .97rem; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="number"],
.field input[type="date"], .field input[type="password"], .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--white);
  border: 1.5px solid #B8C0C8; border-radius: var(--radius-s); padding: 11px 13px; min-height: 48px;
}
.field textarea { min-height: 120px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231E2328' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); outline: 3px solid rgba(31, 127, 209, .25); outline-offset: 0; }
.field .hint { font-size: .86rem; color: var(--muted); margin: 6px 0 0; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--err); }
.field .error { color: var(--err); font-size: .9rem; font-weight: 600; margin: 6px 0 0; }
.choice-row { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; }
.choice span { display: block; padding: 10px 16px; border: 1.5px solid #B8C0C8; border-radius: var(--radius-s); cursor: pointer; font-weight: 600; background: var(--white); }
.choice input:checked + span { border-color: var(--ink); background: var(--ink); color: #fff; }
.choice input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-size: .95rem; }
.check input { width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--ink); }
.alert { padding: 14px 18px; border-radius: var(--radius-s); margin-bottom: 24px; font-weight: 600; }
.alert--err { background: #FDECEA; color: var(--err); border: 1px solid #F5C2BC; }
.alert--ok { background: #E7F5EC; color: var(--ok); border: 1px solid #B9E2C8; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.rdw-box { display: grid; grid-template-columns: minmax(200px, 300px) auto; gap: 14px; align-items: end; margin-bottom: 8px; }
@media (max-width: 520px) { .rdw-box { grid-template-columns: 1fr; } }
.rdw-result { margin-top: 12px; font-size: .95rem; padding: 12px 14px; border-radius: var(--radius-s); background: var(--paper); display: none; }
.rdw-result.is-visible { display: block; }
.rdw-result strong { font-stretch: 110%; }
.rdw-result.is-error { background: #FFF6E5; }

.dropzone {
  border: 2px dashed #A9B3BD; border-radius: var(--radius); padding: 26px; text-align: center; background: var(--paper);
  position: relative; transition: border-color .15s, background .15s;
}
.dropzone.is-over { border-color: var(--blue); background: #E6F0FA; }
.dropzone input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.dropzone svg { width: 36px; height: 36px; color: var(--muted); margin: 0 auto 8px; }
.dropzone strong { display: block; }
.dropzone span { color: var(--muted); font-size: .9rem; }
.previews { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; margin-top: 14px; }
.previews figure { margin: 0; position: relative; aspect-ratio: 1; border-radius: var(--radius-s); overflow: hidden; background: #DDE2E7; }
.previews img { width: 100%; height: 100%; object-fit: cover; }
.previews button { position: absolute; top: 4px; right: 4px; width: 28px; height: 28px; border-radius: 50%; border: 0; background: rgba(30, 35, 40, .8); color: #fff; cursor: pointer; font-size: 18px; line-height: 1; }

.aside-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.form-layout > aside { position: sticky; top: 100px; }
@media (max-width: 960px) { .form-layout > aside { position: static; } }
.aside-card h2 { font-size: 1.25rem; }
.aside-card + .aside-card { margin-top: 18px; }
.aside-card .steps { margin: 14px 0 0; }
.aside-card .steps li { font-size: .95rem; }

/* ---------- Каталог ---------- */
.catalog { display: grid; grid-template-columns: 270px 1fr; gap: 32px; align-items: start; }
@media (max-width: 960px) { .catalog { grid-template-columns: 1fr; } }
.filters { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: grid; gap: 16px; position: sticky; top: 100px; }
.filters h2 { font-size: 1.1rem; margin: 0; }
@media (max-width: 960px) {
  .filters { position: static; }
  .filters:not(.is-open) .filters__body { display: none; }
}
.filters__toggle { display: none; }
@media (max-width: 960px) { .filters__toggle { display: flex; } .filters > h2 { display: none; } }
.filters__body { display: grid; gap: 16px; }
.catalog-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.catalog-bar .field { display: flex; align-items: center; gap: 10px; }
.catalog-bar .field label { margin: 0; white-space: nowrap; }
.catalog-bar .field select { min-height: 42px; padding-top: 7px; padding-bottom: 7px; }
.empty { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 40px; text-align: center; }

/* ---------- Страница машины ---------- */
.car-top { display: grid; grid-template-columns: 1.35fr .65fr; gap: 32px; align-items: start; }
@media (max-width: 960px) { .car-top { grid-template-columns: 1fr; } }
.gallery__main { aspect-ratio: 4 / 3; background: #DDE2E7; border-radius: var(--radius); overflow: hidden; position: relative; }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.gallery__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); cursor: pointer; display: grid; place-items: center; }
.gallery__nav svg { width: 22px; height: 22px; }
.gallery__nav--prev { left: 12px; }
.gallery__nav--next { right: 12px; }
.gallery__count { position: absolute; right: 12px; bottom: 12px; background: rgba(30, 35, 40, .8); color: #fff; font-size: .85rem; padding: 3px 10px; border-radius: 4px; }
.gallery__thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; margin-top: 8px; }
.gallery__thumbs button { padding: 0; border: 2px solid transparent; border-radius: var(--radius-s); overflow: hidden; cursor: pointer; aspect-ratio: 4 / 3; background: #DDE2E7; }
.gallery__thumbs button[aria-current="true"] { border-color: var(--orange); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.buybox { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; position: sticky; top: 100px; }
.buybox h1 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-bottom: 4px; }
.buybox__variant { color: var(--muted); margin-bottom: 18px; }
.buybox__price { font-size: 2.2rem; font-weight: 800; font-stretch: 120%; line-height: 1; margin-bottom: 6px; }
.buybox__note { font-size: .88rem; color: var(--muted); margin-bottom: 20px; }
.buybox .btn-row { flex-direction: column; }
.keyspecs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 0 0 22px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.keyspecs dt { font-size: .82rem; color: var(--muted); }
.keyspecs dd { margin: 0; font-weight: 700; }
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table th, .spec-table td { text-align: left; padding: 11px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table th { font-weight: 500; color: var(--muted); width: 45%; }
.car-detail { display: grid; grid-template-columns: 1.35fr .65fr; gap: 32px; margin-top: 48px; }
@media (max-width: 960px) { .car-detail { grid-template-columns: 1fr; } }
.prose { max-width: 70ch; }
.prose h2 { font-size: 1.5rem; margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.4em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.options-list { columns: 2; padding-left: 1.1em; }
@media (max-width: 600px) { .options-list { columns: 1; } }
.checks { list-style: none; padding: 0; display: grid; gap: 10px; }
.checks li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; }
.checks svg { width: 20px; height: 20px; color: var(--ok); margin-top: 3px; }

/* ---------- Прочее ---------- */
.service-rows { display: grid; gap: 0; border-top: 1px solid var(--line); }
.service-row { display: grid; grid-template-columns: 56px 1fr auto; gap: 24px; align-items: start; padding: 32px 0; border-bottom: 1px solid var(--line); }
.service-row svg { width: 40px; height: 40px; color: var(--blue); }
.service-row h2 { font-size: 1.45rem; margin-bottom: 8px; }
.service-row p { color: var(--muted); max-width: 62ch; }
.service-row ul { margin: 0; padding-left: 1.1em; color: var(--muted); }
@media (max-width: 700px) { .service-row { grid-template-columns: 1fr; gap: 12px; padding: 26px 0; } }

.thanks { text-align: center; max-width: 620px; margin: 0 auto; }
.thanks svg { width: 64px; height: 64px; color: var(--ok); margin: 0 auto 18px; }
.callout { background: var(--white); border-left: 4px solid var(--orange); padding: 18px 22px; border-radius: 0 var(--radius-s) var(--radius-s) 0; margin: 24px 0; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.muted { color: var(--muted); }
.center { text-align: center; }


.car-grid--2 { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.empty .btn-row { justify-content: center; }
.crumbs--light { color: var(--muted); }
.crumbs--light a { color: var(--blue-text); }
.section--tight { padding-top: 28px; }
.fields--one { grid-template-columns: 1fr; }
.form-card > h2 { font-size: 1.4rem; margin-bottom: 4px; }
.form-card .btn--block[type="submit"] { margin-top: 18px; }
.thanks .lead { margin-inline: auto; }
.thanks .btn-row { justify-content: center; margin-top: 28px; }
.about-img { border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; margin-bottom: 24px; }
.about-checks svg { color: var(--blue); }

.field label.check { display: grid; font-weight: 400; margin: 0; }

/* Номер внутри полей формы: не наследовать стиль обычных полей */
.field .plate input[type="text"] { background: transparent; border: 0; border-radius: 0; min-height: 0; padding: 0 12px; outline: none; font-size: clamp(1.4rem, 4vw, 1.8rem); font-weight: 800; }
.field.has-error .plate { border-color: var(--err); }
.rdw-box .plate { height: 56px; }
.rdw-box .btn { min-height: 56px; }

/* Главный баннер без формы */
.hero { min-height: calc(100vh - 77px); min-height: calc(100svh - 77px); display: flex; align-items: center; }
.hero .wrap { width: 100%; }
.hero__text { max-width: 640px; }
.hero h1 { max-width: 14ch; }
@media (max-width: 1000px) { .hero { min-height: calc(100vh - 65px); min-height: calc(100svh - 65px); } }
@media (max-width: 900px) { .hero { align-items: flex-end; } .hero .wrap { padding-bottom: 48px; } .hero__bg { background-position: 50% 30%; } }

/* SEO-текст на главной */
.seo-text h2 { margin-bottom: 28px; }
.seo-text__cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); }
.seo-text__cols p { color: var(--muted); max-width: 62ch; }
.seo-text h3 { margin-bottom: 10px; }
@media (max-width: 800px) { .seo-text__cols { grid-template-columns: 1fr; } }

/* Двухцветные иконки IconPark: контур графитовый, заливка фирменным синим */
.duo { color: var(--ink); --duo: #2D8FE3; --duo2: #9FD0F5; flex: none; }
.duo .d { fill: var(--duo); }
.duo .d2 { fill: var(--duo2); }
.service .duo { width: 48px; height: 48px; margin-bottom: 16px; }
.service-row .duo { width: 52px; height: 52px; }
.about-checks li { grid-template-columns: 34px 1fr; align-items: center; }
.about-checks .duo { width: 32px; height: 32px; margin: 0; }
.service .duo, .service-row .duo, .about-checks .duo { color: var(--ink); }

/* ---------- Каталог: фильтры сверху, 4 карточки в ряд ---------- */
.filters { position: static; display: block; padding: 18px 20px; margin-bottom: 24px; }
.filters__body { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)) auto; gap: 14px; align-items: end; }
.filters__body .field label { font-size: .88rem; }
.filters__body .field select { min-height: 44px; padding-top: 8px; padding-bottom: 8px; }
.filters__actions { display: flex; flex-direction: column; gap: 6px; align-items: center; font-size: .88rem; }
.filters__actions .btn { min-height: 44px; white-space: nowrap; }
@media (max-width: 1240px) { .filters__body { grid-template-columns: repeat(3, minmax(0, 1fr)); } .filters__actions { grid-column: 1 / -1; flex-direction: row; justify-content: flex-start; gap: 16px; } .filters__actions .btn { width: auto; } }
@media (max-width: 960px) {
  .filters:not(.is-open) .filters__body { display: none; }
  .filters.is-open .filters__body { margin-top: 16px; }
}
@media (max-width: 600px) { .filters__body { grid-template-columns: 1fr 1fr; } .filters__actions .btn { width: 100%; } }
.car-grid--catalog { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 1240px) { .car-grid--catalog { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) { .car-grid--catalog { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .car-grid--catalog { grid-template-columns: 1fr; } }
.car-grid--catalog .car-card__body { padding: 16px 16px 18px; }
.car-grid--catalog .car-card__price { font-size: 1.3rem; }

/* Проданные */
.car-card--sold .car-card__img img { filter: grayscale(.85); opacity: .75; }
.car-card--sold .car-card__price { color: var(--muted); }
.badge--sold { background: var(--err); color: #fff; }

/* ---------- Галерея: миниатюры в одну ленту ---------- */
.gallery__thumbs { display: flex; grid-template-columns: none; gap: 8px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: thin; padding-bottom: 6px; }
.gallery__thumbs button { flex: 0 0 104px; scroll-snap-align: start; }
.gallery__main img { cursor: zoom-in; }
@media (max-width: 640px) { .gallery__thumbs { display: none; } .gallery__main { border-radius: var(--radius-s); } }

/* Просмотр фото на весь экран */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(12, 14, 16, .96); display: none; align-items: center; justify-content: center; }
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 94vw; max-height: 86vh; object-fit: contain; border-radius: 4px; user-select: none; }
.lightbox__btn { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .14); color: #fff; display: grid; place-items: center; cursor: pointer; }
.lightbox__btn:hover { background: rgba(255, 255, 255, .28); }
.lightbox__btn svg { width: 26px; height: 26px; }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__count { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); color: #fff; font-size: .95rem; }
@media (max-width: 640px) { .lightbox__prev, .lightbox__next { display: none; } }
body.lb-open { overflow: hidden; }

/* Страница машины: колонки не растягиваются от длинной ленты миниатюр */
.car-top, .car-detail { grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); }
@media (max-width: 960px) { .car-top, .car-detail { grid-template-columns: minmax(0, 1fr); } }
.gallery { min-width: 0; }
.filters__body .field select { padding-right: 34px; background-position: right 10px center; }

/* Карта OpenStreetMap */
.map { background: #DDE3E8; }
.map__link {
  position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px;
  background: var(--white); color: var(--ink); text-decoration: none; font-weight: 700; font-size: .9rem;
  padding: 8px 14px; border-radius: var(--radius-s); box-shadow: var(--shadow);
}
.map__link svg { width: 18px; height: 18px; color: var(--err); }
.map__link:hover { background: var(--ink); color: #fff; }
.section--dark .map__link { color: var(--ink); }
.section--dark .map__link:hover { color: #fff; }

/* Уже сохранённые фото (после ошибки в форме) */
.stash-note { margin: 12px 0 0; font-size: .92rem; color: var(--ok, #1E8A4C); font-weight: 600; }
.previews__del span[aria-hidden] { font-size: 20px; font-weight: 400; line-height: 1; margin-top: -2px; }
.previews__del { position: absolute; margin: 0; top: 4px; right: 4px; width: 28px; height: 28px; border-radius: 50%; background: rgba(30, 35, 40, .8); color: #fff; cursor: pointer; display: grid; place-items: center; font-size: 18px; line-height: 1; }
.previews__del input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.previews figure:has(input:checked) img { opacity: .25; }
.previews__del:has(input:checked) { background: #B42318; }
.previews__del:has(input:focus-visible) { outline: 3px solid var(--blue); outline-offset: 2px; }

/* Листалка страниц каталога */
.pager { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin: 36px 0 0; }
.pager__btn { min-width: 44px; height: 44px; padding: 0 12px; display: inline-grid; place-items: center; border: 1.5px solid var(--line, #D8DDE2); border-radius: var(--radius-s, 6px); background: #fff; color: var(--ink); font-weight: 700; text-decoration: none; }
.pager__btn:hover { border-color: var(--ink); }
.pager__btn[aria-current] { background: var(--ink); border-color: var(--ink); color: #fff; }
.pager__gap { color: var(--muted); padding: 0 2px; }
@media (max-width: 480px) {
  .pager { gap: 6px; }
  .pager__btn--wide { flex: 1 1 100%; order: 2; }
}

/* Hero с фото машины: номер с логотипом не должен прятаться под текстом */
.hero__bg { background-color: var(--ink); }
.hero .btn--ghost { background: rgba(25, 27, 30, .6); border-color: rgba(255, 255, 255, .85); color: #fff; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.hero .btn--ghost:hover { background: rgba(25, 27, 30, .85); }
@media (min-width: 901px) {
  /* Компьютер: текст слева на тёмном фоне, фото справа с мягким переходом */
  .hero__bg { left: 36%; background-size: cover; background-position: 55% 45%; }
  .hero__bg::after { background: linear-gradient(90deg, var(--ink) 0%, rgba(25, 27, 30, .6) 14%, rgba(25, 27, 30, 0) 34%, rgba(25, 27, 30, 0) 88%, rgba(25, 27, 30, .3) 100%), linear-gradient(0deg, rgba(25, 27, 30, .35) 0%, rgba(25, 27, 30, 0) 25%); }
  .hero__text { max-width: min(540px, 44vw); }
}
@media (max-width: 900px), (max-width: 1100px) and (orientation: portrait) {
  /* Телефон и планшет: фото с машиной сверху занимает всё свободное место, текст под ним — всё на первом экране */
  .hero { display: flex; flex-direction: column; align-items: stretch; min-height: calc(100vh - 65px); min-height: calc(100svh - 65px); }
  .hero__bg { position: relative; inset: auto; left: 0; flex: 1 1 auto; min-height: 56vw; background-size: cover; background-position: center 62%; }
  .hero__bg::after { background: linear-gradient(180deg, rgba(25, 27, 30, .25) 0%, rgba(25, 27, 30, 0) 16%, rgba(25, 27, 30, 0) 72%, var(--ink) 100%); }
  .hero .wrap { flex: none; padding-top: 0; padding-bottom: 28px; margin-top: -28px; gap: 0; }
  .hero__text { max-width: 640px; }
  .hero h1 { margin-bottom: .35em; }
}
@media (max-width: 599px) {
  .hero__bg { min-height: 62vw; max-height: 108vw; }
  .hero .wrap { padding-bottom: 20px; margin-top: -20px; }
  /* На высоких телефонах лишнее место уходит между фото и текстом, а не пустой полосой внизу */
  .hero { justify-content: space-between; }
  .hero h1 { font-size: clamp(1.9rem, 8.6vw, 2.4rem); }
  .hero .lead { font-size: 1.02rem; line-height: 1.55; margin-bottom: 18px; }
  .hero .btn-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .hero .btn-row .btn { padding-left: 10px; padding-right: 10px; justify-content: center; font-size: .95rem; white-space: nowrap; }
}
/* Круглая кнопка WhatsApp появляется, когда кнопки первого экрана уже прокручены (чтобы не перекрывать их) */
.wa-float { transition: opacity .25s, transform .25s, background .15s; }
.wa-float.is-hidden { opacity: 0; transform: scale(.6); pointer-events: none; }
@media (max-width: 400px) {
  .hero .btn-row .btn svg { display: none; }
  .hero .btn-row .btn { font-size: .92rem; padding-left: 6px; padding-right: 6px; }
}
@media (max-width: 339px) {
  .hero .btn-row { grid-template-columns: 1fr; }
}

/* ===================== Over ons ===================== */
.ab-hero { position: relative; background: var(--ink); color: #fff; overflow: hidden; }
.ab-hero__bg { position: absolute; inset: 0 0 0 44%; background: url("../img/hero-car.jpg?v=3") 50% 60%/cover no-repeat; background-image: image-set(url("../img/hero-car.webp?v=3") type("image/webp"), url("../img/hero-car.jpg?v=3") type("image/jpeg")); }
.ab-hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink) 0%, rgba(30, 35, 40, .55) 22%, rgba(30, 35, 40, .05) 55%); }
.ab-hero__inner { position: relative; padding-top: clamp(40px, 7vw, 96px); padding-bottom: clamp(48px, 8vw, 110px); }
.ab-hero h1 { color: #fff; margin-bottom: .3em; }
.ab-hero .lead { color: #C9D0D6; max-width: min(34em, 40vw); }
.ab-hero__inner > * { max-width: min(560px, 42vw); }
.ab-hero .btn--ghost { background: rgba(25, 27, 30, .6); border-color: rgba(255, 255, 255, .85); color: #fff; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.ab-kicker { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; font-weight: 800; color: var(--orange); margin: 0 0 10px; }
.ab-kicker--dark { color: var(--orange-dark); }
.ab-langs { list-style: none; padding: 0; margin: 4px 0 26px; display: flex; flex-wrap: wrap; gap: 8px; }
.ab-langs li { padding: 6px 12px; border-radius: 99px; border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .08); font-size: .9rem; font-weight: 600; }
@media (max-width: 800px) {
  .ab-hero { display: flex; flex-direction: column; }
  .ab-hero__bg { position: relative; inset: auto; height: 62vw; max-height: 420px; background-position: 50% 62%; order: -1; }
  .ab-hero__bg::after { background: linear-gradient(180deg, rgba(30, 35, 40, .15) 0%, rgba(30, 35, 40, 0) 50%, var(--ink) 100%); }
  .ab-hero__inner { padding-top: 0; margin-top: -28px; }
  .ab-hero__inner > *, .ab-hero .lead { max-width: none; }
  .ab-hero .crumbs { display: none; }
}

/* Цифры: карточки, наезжающие на шапку */
.ab-stats-wrap { background: linear-gradient(180deg, var(--ink) 0 50%, var(--white) 50% 100%); }
.ab-stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.ab-stats li { padding: clamp(18px, 2.4vw, 28px); display: grid; gap: 6px; align-content: start; border-left: 1px solid var(--line); }
.ab-stats li:first-child { border-left: 0; }
.ab-stats strong { font-size: clamp(2rem, 3.6vw, 2.8rem); font-weight: 900; font-stretch: 120%; line-height: 1; color: var(--ink); display: flex; align-items: center; gap: 6px; }
.ab-stats span { color: var(--muted); font-size: .95rem; line-height: 1.35; }
.ab-star svg { width: .7em; height: .7em; color: var(--orange); }
@media (max-width: 800px) {
  .ab-stats { grid-template-columns: 1fr 1fr; }
  .ab-stats li:nth-child(3) { border-left: 0; }
  .ab-stats li:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* История */
.ab-story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.ab-figure { margin: 0; }
.ab-illu { display: block; width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow); }
.ab-figure figcaption { display: flex; align-items: center; gap: 8px; margin-top: 12px; color: var(--muted); font-size: .92rem; }
.ab-figure figcaption svg { width: 18px; height: 18px; color: var(--orange-dark); }
.ab-timeline { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 0; }
.ab-timeline li { display: grid; grid-template-columns: 22px 1fr; gap: 14px; position: relative; padding-bottom: 18px; }
.ab-timeline li:not(:last-child)::before { content: ""; position: absolute; left: 10px; top: 20px; bottom: -2px; width: 2px; background: var(--line); }
.ab-timeline__dot { width: 22px; height: 22px; border-radius: 50%; border: 3px solid var(--orange); background: var(--white); margin-top: 1px; }
.ab-timeline__dot--now { background: var(--orange); box-shadow: 0 0 0 5px rgba(242, 159, 29, .2); }
.ab-timeline strong { display: block; }
.ab-timeline span { color: var(--muted); font-size: .95rem; }
@media (max-width: 900px) { .ab-story { grid-template-columns: minmax(0, 1fr); } .ab-figure { order: -1; } }

/* Почему мы */
.ab-why { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.ab-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; transition: transform .2s, box-shadow .2s; }
.ab-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.ab-card svg { width: 46px; height: 46px; margin-bottom: 16px; }
.ab-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.ab-card p { color: var(--muted); margin: 0; font-size: .97rem; }
@media (max-width: 1000px) { .ab-why { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .ab-why { grid-template-columns: minmax(0, 1fr); } .ab-card { display: grid; grid-template-columns: 46px 1fr; column-gap: 16px; padding: 20px; } .ab-card svg { grid-row: span 2; margin: 0; } }

/* Быстрые ссылки */
.ab-center { text-align: center; margin-bottom: 28px; }
.ab-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; max-width: 920px; margin: 0 auto; }
.ab-link { display: grid; grid-template-columns: 44px 1fr 20px; align-items: center; gap: 16px; padding: 18px 20px; border: 1.5px solid var(--line); border-radius: var(--radius); color: var(--ink); text-decoration: none; background: var(--white); transition: border-color .15s, transform .15s; }
.ab-link:hover { border-color: var(--ink); transform: translateY(-2px); color: var(--ink); }
.ab-link > svg:first-child { width: 44px; height: 44px; }
.ab-link > svg:last-child { width: 20px; height: 20px; color: var(--muted); }
.ab-link strong { display: block; font-size: 1.05rem; }
.ab-link small { color: var(--muted); font-size: .9rem; }
@media (max-width: 640px) { .ab-links { grid-template-columns: minmax(0, 1fr); } }

/* Призыв */
.ab-cta { background: var(--orange); color: var(--ink); padding: clamp(36px, 5vw, 56px) 0; }
.ab-cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap; }
.ab-cta h2 { margin: 0 0 6px; }
.ab-cta p { margin: 0; font-weight: 500; }
@media (max-width: 520px) {
  .ab-cta .btn-row, .ab-hero .btn-row { display: grid; grid-template-columns: 1fr 1fr; width: 100%; gap: 10px; }
  .ab-cta .btn, .ab-hero .btn { justify-content: center; white-space: nowrap; padding-left: 8px; padding-right: 8px; font-size: .95rem; }
}
@media (max-width: 400px) { .ab-cta .btn svg, .ab-hero .btn svg { display: none; } }

/* Карточка машины: живая реакция на наведение */
.car-card { transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s, border-color .2s; }
.car-card__img img { transition: transform .7s cubic-bezier(.2, .7, .2, 1), opacity .45s; }
.car-card__img2 { position: absolute; inset: 0; opacity: 0; }
.car-card__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.car-card__foot .car-card__price { margin-top: 0; }
.car-card__go { pointer-events: none; width: 38px; height: 38px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--paper); color: var(--ink); transition: background .25s, color .25s, transform .35s cubic-bezier(.2, .7, .2, 1); }
.car-card__go svg { width: 18px; height: 18px; }
.car-card h3 a { transition: color .2s; }
@media (hover: hover) {
  .car-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(30, 35, 40, .16); border-color: transparent; }
  .car-card:hover .car-card__img img { transform: scale(1.06); }
  .car-card:hover .car-card__img2 { opacity: 1; }
  .car-card:hover .car-card__go { background: var(--orange); transform: translateX(3px); }
  .car-card:hover h3 a { color: var(--orange-dark); }
  .car-card--sold:hover { transform: translateY(-3px); }
}
.car-card:has(a:focus-visible) { box-shadow: 0 0 0 3px var(--blue); }
@media (prefers-reduced-motion: reduce) {
  .car-card, .car-card__img img, .car-card__go { transition: none; }
  .car-card:hover, .car-card:hover .car-card__img img, .car-card:hover .car-card__go { transform: none; }
}

/* Навигация отзывов: стрелки + маленькие «умные» точки (не больше 7 на экране) */
.rslider__dots { overflow: hidden; flex: none; }
.rslider__strip { display: flex; transition: transform .35s ease; }
.rslider__strip button { flex: none; width: 16px; height: 16px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.rslider__strip button::before { content: ""; display: block; width: 7px; height: 7px; border-radius: 4px; background: #B8C0C8; transition: width .25s, height .25s, background .25s; }
.rslider__strip button.is-s::before { width: 5px; height: 5px; }
.rslider__strip button.is-xs::before { width: 3px; height: 3px; }
.rslider__strip button[aria-current="true"]::before { width: 14px; height: 7px; background: var(--ink); }
.rslider__strip button:hover::before { background: var(--muted); }
.rslider__strip button[aria-current="true"]:hover::before { background: var(--ink); }
.section--dark .rslider__strip button[aria-current="true"]::before { background: var(--orange); }

/* Длинные слова и ссылки без пробелов переносятся, а не растягивают страницу вбок */
p, li, dd, td, th, blockquote, figcaption, h1, h2, h3, h4, label, .lead { overflow-wrap: break-word; }
/* Страховка: ничто не может сдвинуть страницу вбок на телефоне */
body { overflow-x: clip; }

/* Кнопки первого экрана: заметная реакция на наведение */
:is(.hero, .ab-hero) .btn-row .btn { position: relative; overflow: hidden; isolation: isolate;
  transition: transform .25s cubic-bezier(.2, .7, .2, 1), box-shadow .25s, background .25s, color .25s, border-color .25s; }
:is(.hero, .ab-hero) .btn-row .btn svg { transition: transform .25s cubic-bezier(.2, .7, .2, 1); }
/* Оранжевая: лёгкий подъём, тёплое свечение и «блик», пробегающий по кнопке */
:is(.hero, .ab-hero) .btn--primary { background: linear-gradient(135deg, #F7B23B 0%, var(--orange) 55%, #E88F0C 100%); }
:is(.hero, .ab-hero) .btn--primary::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%); transform: translateX(-120%); }
/* Светлая с рамкой: белая заливка «наплывает» слева, текст становится тёмным */
:is(.hero, .ab-hero) .btn--ghost::before { content: ""; position: absolute; inset: 0; z-index: -1; background: #fff;
  transform: scaleX(0); transform-origin: left; transition: transform .3s cubic-bezier(.2, .7, .2, 1); }
@media (hover: hover) {
  :is(.hero, .ab-hero) .btn--primary:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(242, 159, 29, .45); color: var(--ink); background: linear-gradient(135deg, #FFC75E 0%, #FFAE2E 55%, #F29F1D 100%); }
  :is(.hero, .ab-hero) .btn--primary:hover::after { transform: translateX(120%); transition: transform .7s ease; }
  :is(.hero, .ab-hero) .btn--ghost:hover { transform: translateY(-2px); color: var(--ink); border-color: #fff; box-shadow: 0 10px 26px rgba(0, 0, 0, .35); background: rgba(25, 27, 30, .6); }
  :is(.hero, .ab-hero) .btn--ghost:hover::before { transform: scaleX(1); }
  :is(.hero, .ab-hero) .btn-row .btn:hover svg { transform: translateX(-2px) scale(1.12); }
}
/* На телефоне: отклик при нажатии */
:is(.hero, .ab-hero) .btn-row .btn:active { transform: scale(.97); }
:is(.hero, .ab-hero) .btn-row .btn:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  :is(.hero, .ab-hero) .btn-row .btn, :is(.hero, .ab-hero) .btn-row .btn svg, :is(.hero, .ab-hero) .btn--ghost::before { transition: none; }
  :is(.hero, .ab-hero) .btn--primary::after { display: none; }
}

/* ===== Услуги на главной: живые карточки, ведут в запись с выбранной услугой ===== */
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.svc {
  position: relative; display: flex; flex-direction: column; padding: 28px 26px 24px; border-radius: 14px;
  background: var(--paper); border: 1px solid transparent; color: var(--ink); text-decoration: none; overflow: hidden;
  transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s, background .25s, border-color .25s;
}
.svc::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .35s cubic-bezier(.2, .7, .2, 1); }
.svc__icon { width: 68px; height: 68px; border-radius: 18px; background: #E3EEFA; display: grid; place-items: center; margin-bottom: 18px; transition: transform .35s cubic-bezier(.2, .7, .2, 1), background .25s; }
.svc__icon .duo { width: 40px; height: 40px; margin: 0; }
.svc h3 { margin: 0 0 8px; font-size: 1.2rem; transition: color .2s; }
.svc p { color: var(--muted); margin: 0 0 20px; font-size: .98rem; }
.svc__cta { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .95rem; color: var(--blue-text); }
.svc__cta svg { width: 18px; height: 18px; transition: transform .3s cubic-bezier(.2, .7, .2, 1); }
/* Выделенная карточка */
.svc--featured { background: var(--ink); color: #fff; }
.svc--featured p { color: #B9C1C9; }
.svc--featured .svc__icon { background: rgba(255, 255, 255, .08); }
.svc--featured .duo { color: #fff; }
.svc--featured .svc__cta { color: var(--orange); }
@media (hover: hover) {
  .svc:hover { transform: translateY(-6px); background: var(--white); border-color: var(--line); box-shadow: 0 18px 40px rgba(30, 35, 40, .12); }
  .svc--featured:hover { background: var(--ink-2); border-color: transparent; box-shadow: 0 18px 40px rgba(30, 35, 40, .35); }
  .svc:hover::after { transform: scaleX(1); }
  .svc:hover .svc__icon { transform: rotate(-6deg) scale(1.06); }
  .svc:hover:not(.svc--featured) .svc__icon { background: #D4E6F8; }
  .svc:hover:not(.svc--featured) h3 { color: var(--orange-dark); }
  .svc:hover .svc__cta svg { transform: translateX(5px); }
}
.svc:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.svc:active { transform: scale(.985); }
@media (max-width: 900px) { .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .svc-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .svc { display: grid; grid-template-columns: 56px 1fr; column-gap: 16px; padding: 18px; align-items: start; }
  .svc__icon { width: 56px; height: 56px; border-radius: 14px; margin: 0; grid-row: span 3; }
  .svc__icon .duo { width: 34px; height: 34px; }
  .svc h3 { font-size: 1.08rem; margin-bottom: 4px; }
  .svc p { margin-bottom: 10px; font-size: .94rem; }
}
@media (prefers-reduced-motion: reduce) { .svc, .svc::after, .svc__icon, .svc__cta svg { transition: none; } }

/* ===================== Onderhoud & reparatie ===================== */
.sv-hero { position: relative; background: var(--ink); color: #fff; padding: clamp(36px, 6vw, 80px) 0 clamp(32px, 5vw, 56px); overflow: hidden; }
.sv-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 80% at 100% 0%, rgba(242, 159, 29, .22), transparent 60%), radial-gradient(ellipse 50% 70% at 85% 100%, rgba(45, 143, 227, .18), transparent 60%); pointer-events: none; }
.sv-hero .wrap { position: relative; }
.sv-hero h1 { color: #fff; margin-bottom: .3em; }
.sv-hero .lead { color: #C9D0D6; max-width: 40em; }
.sv-hero__btns { margin: 22px 0 34px; }
.sv-hero .btn--ghost { background: rgba(25, 27, 30, .6); border-color: rgba(255, 255, 255, .85); color: #fff; }
.sv-hero .btn--ghost:hover { background: #fff; color: var(--ink); }
.sv-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.sv-chip { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 99px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); color: #fff; text-decoration: none; font-weight: 600; font-size: .95rem; transition: background .2s, border-color .2s, transform .2s; }
.sv-chip .duo { width: 30px; height: 30px; padding: 4px; border-radius: 50%; background: rgba(255, 255, 255, .1); color: #fff; margin: 0; }
.sv-chip:hover { background: rgba(255, 255, 255, .14); border-color: var(--orange); transform: translateY(-2px); color: #fff; }
@media (max-width: 640px) {
  .sv-chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(var(--gutter) * -1); padding: 2px var(--gutter) 6px; scrollbar-width: none; }
  .sv-chips::-webkit-scrollbar { display: none; }
  .sv-chip { flex: none; }
  .sv-hero__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .sv-hero__btns .btn { padding-left: 8px; padding-right: 8px; white-space: nowrap; font-size: .95rem; }
}
@media (max-width: 400px) { .sv-hero__btns .btn svg { display: none; } }

.sv-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.sv-card {
  position: relative; display: flex; flex-direction: column; padding: clamp(24px, 3vw, 34px); border-radius: 16px; background: var(--paper);
  border: 1px solid transparent; overflow: hidden; scroll-margin-top: 90px;
  transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s, background .25s, border-color .25s;
}
.sv-card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .35s cubic-bezier(.2, .7, .2, 1); }
.sv-card:target { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(242, 159, 29, .25); }
.sv-card__head { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 18px; }
.sv-card__head .svc__icon { margin: 0; transition: transform .35s cubic-bezier(.2, .7, .2, 1); }
.sv-card__num { font-size: 2.6rem; font-weight: 900; font-stretch: 120%; line-height: 1; color: rgba(30, 35, 40, .08); }
.sv-card h2 { font-size: clamp(1.3rem, 2vw, 1.55rem); margin-bottom: 10px; }
.sv-card > p { color: var(--muted); margin: 0 0 18px; }
.sv-list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 9px; }
.sv-list li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; }
.sv-list svg { width: 20px; height: 20px; margin-top: 2px; color: var(--ok); background: rgba(30, 138, 76, .1); border-radius: 50%; padding: 3px; }
.sv-card__foot { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.sv-wa { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: #178A45; text-decoration: none; }
.sv-wa svg { width: 20px; height: 20px; }
.sv-wa:hover { text-decoration: underline; color: #126D37; }
.sv-card--featured { background: var(--ink); color: #fff; }
.sv-card--featured h2 { color: #fff; }
.sv-card--featured > p, .sv-card--featured .sv-list { color: #C9D0D6; }
.sv-card--featured .svc__icon { background: rgba(255, 255, 255, .08); }
.sv-card--featured .duo { color: #fff; }
.sv-card--featured .sv-card__num { color: rgba(255, 255, 255, .1); }
.sv-card--featured .sv-list svg { color: #6BD69A; background: rgba(107, 214, 154, .14); }
.sv-card--featured .sv-wa { color: #6BD69A; }
@media (hover: hover) {
  .sv-card:hover { transform: translateY(-5px); background: var(--white); border-color: var(--line); box-shadow: 0 20px 44px rgba(30, 35, 40, .12); }
  .sv-card--featured:hover { background: var(--ink-2); border-color: transparent; box-shadow: 0 20px 44px rgba(30, 35, 40, .35); }
  .sv-card:hover::after { transform: scaleX(1); }
  .sv-card:hover .svc__icon { transform: rotate(-6deg) scale(1.06); }
}
@media (max-width: 860px) { .sv-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; } }
@media (max-width: 480px) {
  .sv-card__foot { display: grid; grid-template-columns: 1fr; gap: 12px; }
  .sv-card__foot .btn { width: 100%; }
  .sv-wa { justify-content: center; }
}

/* Как это работает: 4 шага */
.sv-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; position: relative; }
.sv-steps::before { content: ""; position: absolute; top: 24px; left: 12%; right: 12%; height: 2px; background: repeating-linear-gradient(90deg, var(--orange) 0 8px, transparent 8px 16px); }
.sv-steps li { position: relative; display: grid; justify-items: center; text-align: center; gap: 6px; }
.sv-steps__n { width: 50px; height: 50px; border-radius: 50%; background: var(--orange); color: var(--ink); display: grid; place-items: center; font-weight: 900; font-size: 1.3rem; box-shadow: 0 0 0 6px var(--paper); margin-bottom: 8px; }
.sv-steps strong { font-size: 1.1rem; }
.sv-steps li > span:last-child { color: var(--muted); font-size: .96rem; max-width: 24ch; }
@media (max-width: 760px) {
  .sv-steps { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .sv-steps::before { top: 10px; bottom: 30px; left: 24px; right: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--orange) 0 8px, transparent 8px 16px); }
  .sv-steps li { grid-template-columns: 50px 1fr; justify-items: start; text-align: left; column-gap: 16px; row-gap: 2px; padding-bottom: 22px; }
  .sv-steps__n { grid-row: span 2; margin: 0; }
  .sv-steps li > span:last-child { max-width: none; }
}
@media (prefers-reduced-motion: reduce) { .sv-card, .sv-card::after, .sv-card .svc__icon, .sv-chip { transition: none; } }

/* Hero на компьютере: закат «продолжается» влево — то же фото, размытое и затемнённое, без тёмного пустого поля */
@media (min-width: 901px) {
  .hero::before {
    content: ""; position: absolute; inset: -60px; z-index: 0; pointer-events: none;
    background: url("../img/hero-car.jpg?v=3") 4% 42% / auto 165% no-repeat;
    background-image: image-set(url("../img/hero-car.webp?v=3") type("image/webp"), url("../img/hero-car.jpg?v=3") type("image/jpeg"));
    background-color: #2A2320;
    filter: blur(30px) saturate(1.2) brightness(.62);
  }
  .hero__bg { z-index: 1; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 24%); mask-image: linear-gradient(90deg, transparent 0%, #000 24%); }
  .hero__bg::after { background: linear-gradient(0deg, rgba(25, 27, 30, .35) 0%, rgba(25, 27, 30, 0) 25%), linear-gradient(90deg, rgba(25, 27, 30, 0) 85%, rgba(25, 27, 30, .3) 100%); }
  /* Затемнение под текстом (для читаемости) и тёплое свечение «от солнца» */
  .hero::after {
    content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background:
      radial-gradient(ellipse 40% 55% at 22% 32%, rgba(242, 159, 29, .16), rgba(242, 159, 29, 0) 70%),
      linear-gradient(90deg, rgba(25, 27, 30, .8) 0%, rgba(25, 27, 30, .62) 28%, rgba(25, 27, 30, .25) 44%, rgba(25, 27, 30, 0) 56%),
      linear-gradient(0deg, rgba(25, 27, 30, .45) 0%, rgba(25, 27, 30, 0) 30%);
  }
  .hero .wrap { z-index: 2; }
}
/* Телефоны и вертикальные планшеты — без этого слоя (там фото и так сверху целиком) */
@media (max-width: 900px), (max-width: 1100px) and (orientation: portrait) {
  .hero::before, .hero::after { display: none; }
  .hero__bg { -webkit-mask-image: none; mask-image: none; }
}

/* Фото мастерской на «Over ons» */
.ab-photo { display: block; width: 100%; height: auto; aspect-ratio: 1433 / 1098; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }

/* Иностранный номер: нейтральная белая табличка без полосы NL */
.plate--foreign { background: #fff; box-shadow: inset 0 0 0 2px #fff, inset 0 0 0 3.5px #111; }
.plate--foreign .plate__eu { display: none; }
.plate--foreign input { letter-spacing: .04em; }
.plate-switch { display: inline-flex; align-items: center; gap: 10px; margin: 6px 0 10px; font-weight: 600; font-size: .95rem; cursor: pointer; user-select: none; }
.plate-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.plate-switch__track { position: relative; width: 42px; height: 24px; flex: none; border-radius: 99px; background: #C4CBD2; transition: background .15s; }
.plate-switch__track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.25); transition: transform .15s; }
.plate-switch input:checked + .plate-switch__track { background: var(--ink); }
.plate-switch input:checked + .plate-switch__track::after { transform: translateX(18px); }
.plate-switch input:focus-visible + .plate-switch__track { outline: 3px solid var(--blue); outline-offset: 2px; }
.plate-switch .opt { font-weight: 400; color: var(--muted); }
.btn[hidden], [data-rdw-btn][hidden] { display: none; }
.field label.plate-switch { display: inline-flex; margin: 8px 0 10px; } .plate-switch__track { display: block; }

/* iPhone (Safari): поле даты по умолчанию шире экрана и без подсказки — выравниваем как остальные поля */
.field input[type="date"] {
  -webkit-appearance: none; appearance: none; display: block; width: 100%; min-width: 0; max-width: 100%;
  min-height: 48px; line-height: 1.3; text-align: left; background-color: var(--white); color: var(--ink);
}
.field input[type="date"]::-webkit-date-and-time-value { text-align: left; margin: 0; }
.field input[type="date"]::-webkit-calendar-picker-indicator { opacity: .7; cursor: pointer; }

/* Знак «Erkend bedrijf RDW» в подвале */
.rdw-badge { display: inline-block; margin-top: 18px; border-radius: 8px; overflow: hidden; background: #fff; box-shadow: 0 2px 10px rgba(0, 0, 0, .25); transition: transform .2s, box-shadow .2s; line-height: 0; }
.rdw-badge img { display: block; width: 150px; height: auto; }
.rdw-badge:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0, 0, 0, .35); }
