/* RND Motors – site styles */

:root {
  --ink: #0f1012;
  --ink-2: #17191c;
  --ink-3: #24272c;
  --on-ink: #f4f4f2;
  --on-ink-2: #b9bcc2;
  --text: #16181b;
  --text-2: #464c55;
  --text-3: #6a707a;
  --bg: #ffffff;
  --bg-soft: #f5f5f2;
  --bg-soft-2: #ebebe6;
  --line: #e4e4df;
  --line-strong: #cfcfc8;
  --gold: #c9a24d;
  --gold-hover: #d8b363;
  --gold-ink: #7a5c17;
  --gold-soft: #f6efdf;
  --sale: #c8262c;
  --ok: #2c7a4b;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(15, 16, 18, .05), 0 6px 20px rgba(15, 16, 18, .06);
  --shadow-lg: 0 2px 6px rgba(15, 16, 18, .06), 0 22px 48px rgba(15, 16, 18, .14);
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 72px;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-display: "Archivo", "Inter", system-ui, sans-serif;
  color-scheme: light;
}

/* ---------- base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-stretch: 108%;
  line-height: 1.12;
  letter-spacing: -.01em;
  color: var(--text);
}
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.65rem, 3vw, 2.4rem); font-weight: 750; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--gold); color: var(--ink); padding: 10px 16px; border-radius: 8px;
  font-weight: 700; text-decoration: none; transition: top .15s;
}
.skip-link:focus { top: 12px; }

.icon {
  width: 20px; height: 20px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.icon--sm { width: 16px; height: 16px; }
.icon--lg { width: 26px; height: 26px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 14px;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold-ink);
}
.eyebrow::before { content: ""; width: 24px; height: 2px; background: currentColor; border-radius: 2px; }
.on-dark .eyebrow, .eyebrow--light { color: var(--gold); }

.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--text-2); line-height: 1.6; }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px;
  border: 1px solid transparent; border-radius: 12px;
  font-weight: 650; font-size: .98rem; line-height: 1.1; text-decoration: none; white-space: nowrap;
  transition: background-color .18s, border-color .18s, color .18s, transform .18s, box-shadow .18s;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--gold); color: var(--ink); }
.btn--primary:hover { background: var(--gold-hover); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--ink-3); }
.btn--outline { border-color: var(--line-strong); background: #fff; color: var(--text); }
.btn--outline:hover { border-color: var(--text); }
.btn--ghost-light { border-color: rgba(255, 255, 255, .28); color: #fff; background: rgba(255, 255, 255, .04); }
.btn--ghost-light:hover { border-color: #fff; background: rgba(255, 255, 255, .1); }
.btn--block { width: 100%; }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: .92rem; border-radius: 10px; }

.text-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 650; color: var(--text); text-decoration: none;
  border-bottom: 1px solid currentColor; padding-bottom: 1px;
}
.text-link:hover { color: var(--gold-ink); }
.text-link .icon { transition: transform .18s; }
.text-link:hover .icon { transform: translateX(3px); }

/* ---------- header ---------- */

.rnd-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(15, 16, 18, .94);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  color: var(--on-ink);
}
.rnd-header__inner { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.brand { display: flex; align-items: center; flex: none; text-decoration: none; color: #fff; }
.brand img { height: 40px; width: auto; }
.brand__text { font-family: var(--font-display); font-weight: 800; font-style: italic; font-size: 1.5rem; letter-spacing: .02em; }

.site-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.site-nav a {
  position: relative; padding: 10px 14px; border-radius: 8px;
  font-size: .95rem; font-weight: 550; color: var(--on-ink-2); text-decoration: none;
  transition: color .15s, background-color .15s;
}
.site-nav a:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.site-nav a[aria-current="page"] { color: #fff; }
.site-nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--gold);
}
.site-nav__extra { display: none; }

.header-phone {
  display: inline-flex; align-items: center; gap: 8px; flex: none;
  padding: 9px 16px; border-radius: 999px;
  border: 1px solid rgba(201, 162, 77, .55); color: var(--gold);
  font-weight: 650; font-size: .95rem; text-decoration: none; white-space: nowrap;
  transition: background-color .15s, color .15s;
}
.header-phone:hover { background: var(--gold); color: var(--ink); }

.menu-toggle {
  display: none; align-items: center; justify-content: center;
  width: 44px; height: 44px; margin-left: 4px; border: 0; border-radius: 10px;
  background: rgba(255, 255, 255, .08); color: #fff;
}

@media (max-width: 1000px) {
  .rnd-header__inner { gap: 12px; }
  .menu-toggle { display: inline-flex; }
  .header-phone { margin-left: auto; padding: 0; width: 44px; height: 44px; justify-content: center; }
  .header-phone span { display: none; }
  .site-nav {
    position: fixed; left: 0; right: 0; top: var(--header-h);
    flex-direction: column; align-items: stretch; gap: 2px;
    margin: 0; padding: 12px var(--gutter) 24px;
    background: var(--ink); border-bottom: 1px solid rgba(255, 255, 255, .08);
    box-shadow: 0 30px 60px rgba(0, 0, 0, .4);
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .18s, transform .18s, visibility 0s .18s;
  }
  .site-nav.is-open { transform: none; opacity: 1; visibility: visible; transition: opacity .18s, transform .18s; }
  .site-nav a { padding: 14px 12px; font-size: 1.08rem; color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .06); border-radius: 0; }
  .site-nav a[aria-current="page"] { color: var(--gold); }
  .site-nav a[aria-current="page"]::after { display: none; }
  .site-nav__extra { display: grid; gap: 10px; padding-top: 18px; }
  .site-nav__extra .btn { width: 100%; }
}

/* ---------- hero (home) ---------- */

.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 480px at 85% 10%, rgba(201, 162, 77, .16), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(255, 255, 255, .05), transparent 60%),
    var(--ink);
  color: var(--on-ink);
  padding: clamp(40px, 7vw, 88px) 0 clamp(120px, 14vw, 150px);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, #000, transparent 85%);
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 85%);
}
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero .lead { color: var(--on-ink-2); margin: 20px 0 30px; max-width: 34em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 14px 28px; margin: 36px 0 0; padding: 0; list-style: none; }
.hero__facts li { display: flex; align-items: center; gap: 10px; color: var(--on-ink-2); font-size: .95rem; }
.hero__facts strong { color: #fff; font-weight: 650; }
.hero__facts .icon { color: var(--gold); }

.showcase { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; gap: 12px; }
.showcase__item {
  position: relative; display: block; overflow: hidden; border-radius: var(--radius);
  background: var(--ink-3); text-decoration: none; color: #fff; isolation: isolate;
  aspect-ratio: 4 / 3;
}
.showcase__item:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.showcase__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.showcase__item:hover img { transform: scale(1.04); }
.showcase__item::after {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(to top, rgba(10, 11, 12, .88) 0%, rgba(10, 11, 12, .2) 45%, transparent 70%);
}
.showcase__caption { position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 1; display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.showcase__title { font-family: var(--font-display); font-stretch: 108%; font-weight: 700; font-size: 1.02rem; line-height: 1.2; }
.showcase__meta { display: block; font-size: .82rem; color: rgba(255, 255, 255, .72); margin-top: 3px; font-family: var(--font-body); font-weight: 450; }
.showcase__price { flex: none; padding: 6px 10px; border-radius: 8px; background: rgba(15, 16, 18, .75); font-weight: 700; font-size: .92rem; white-space: nowrap; }
.showcase__item:first-child .showcase__title { font-size: 1.3rem; }
.showcase__item:first-child .showcase__price { background: var(--gold); color: var(--ink); font-size: 1rem; }

/* ---------- quick search ---------- */

.quick-search-wrap { position: relative; z-index: 5; margin-top: clamp(-96px, -10vw, -80px); }
.quick-search {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) auto; gap: 14px; align-items: end;
  padding: 22px; border-radius: calc(var(--radius) + 4px);
  background: #fff; box-shadow: var(--shadow-lg); border: 1px solid var(--line);
}
.quick-search__title { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: -2px; }
.quick-search__title h2 { font-size: 1.15rem; }
.quick-search__title .text-link { flex: none; white-space: nowrap; }
.quick-search .btn { min-width: 200px; }

/* ---------- form controls ---------- */

.field { display: grid; gap: 6px; min-width: 0; }
fieldset.field { margin: 0; padding: 0; border: 0; gap: 10px; }
fieldset.field legend { padding: 0; margin-bottom: 10px; }
.field > span, .field-label, fieldset.field legend {
  font-size: .78rem; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3);
}
.input, .select, .textarea {
  width: 100%; min-height: 48px; padding: 0 14px;
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  background: #fff; color: var(--text); font-size: 1rem;
  transition: border-color .15s, box-shadow .15s;
}
.textarea { min-height: 120px; padding: 12px 14px; resize: vertical; line-height: 1.5; }
.select {
  appearance: none; -webkit-appearance: none; padding-right: 40px; text-overflow: ellipsis;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316181b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 16px;
}
.input:hover, .select:hover, .textarea:hover { border-color: var(--text-3); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(201, 162, 77, .35); }
.select:disabled { background-color: var(--bg-soft); color: var(--text-3); cursor: not-allowed; }
.range { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.range .select { padding: 0 30px 0 12px; background-position: right 10px center; }

.search-box { position: relative; }
.search-box .icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--text-3); pointer-events: none; }
.search-box .input { padding-left: 44px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; display: inline-flex; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line-strong);
  background: #fff; font-size: .9rem; font-weight: 550; cursor: pointer; user-select: none;
  transition: background-color .15s, border-color .15s, color .15s;
}
.chip small { color: var(--text-3); font-weight: 500; font-size: .8rem; }
.chip:hover span { border-color: var(--text); }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip input:checked + span small { color: rgba(255, 255, 255, .65); }
.chip input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.chip input:disabled + span { opacity: .45; cursor: not-allowed; }

.check { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; font-size: .95rem; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--ink); flex: none; }

/* ---------- sections ---------- */

.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--soft { background: var(--bg-soft); }
.section--tight { padding-top: clamp(40px, 5vw, 64px); }
.section--flush-top { padding-top: 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(24px, 4vw, 40px); flex-wrap: wrap; }
.section-head p { margin: 12px 0 0; color: var(--text-2); max-width: 40em; }

.on-dark { background: var(--ink); color: var(--on-ink); }
.on-dark h2, .on-dark h3 { color: #fff; }
.on-dark .lead, .on-dark p { color: var(--on-ink-2); }

/* ---------- tabs (home inventory preview) ---------- */

.tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 0 24px; padding-bottom: 2px; }
.tabs::-webkit-scrollbar { display: none; }
.tab {
  flex: none; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line-strong);
  background: #fff; font-weight: 600; font-size: .92rem; color: var(--text-2);
  transition: background-color .15s, color .15s, border-color .15s;
}
.tab:hover { border-color: var(--text); color: var(--text); }
.tab[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.tab small { color: inherit; opacity: .6; font-weight: 500; margin-left: 4px; }

/* ---------- car cards ---------- */

.car-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(268px, 1fr)); gap: 22px; }
.car-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.car-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.car-card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: box-shadow .22s, transform .22s, border-color .22s;
}
.car-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: transparent; }
.car-card__media { position: relative; aspect-ratio: 4 / 3; background: var(--bg-soft-2); overflow: hidden; }
.car-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.car-card:hover .car-card__media img { transform: scale(1.035); }
.car-card__badges { position: absolute; top: 12px; left: 12px; right: 12px; display: flex; flex-wrap: wrap; gap: 6px; pointer-events: none; }
.car-card__count { position: absolute; right: 12px; bottom: 12px; }
.car-card__body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 16px 18px 18px; }
.car-card__title { font-size: 1.12rem; line-height: 1.25; }
.car-card__title a { text-decoration: none; }
.car-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.car-card__title a:focus-visible { outline: none; }
.car-card:has(a:focus-visible) { outline: 2px solid var(--gold); outline-offset: 2px; }
.car-card__sub { margin: -6px 0 0; font-size: .88rem; color: var(--text-3); }
.car-card__specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px 12px; margin: 0; padding: 0; list-style: none; font-size: .88rem; color: var(--text-2); }
.car-card__specs li { display: flex; align-items: center; gap: 7px; min-width: 0; white-space: nowrap; }
.car-card__specs li span { overflow: hidden; text-overflow: ellipsis; }
.car-card__specs .icon { width: 16px; height: 16px; color: var(--text-3); }
.car-card__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.car-card__vat { font-size: .78rem; color: var(--text-3); text-align: right; line-height: 1.3; }

.badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 9px; border-radius: 999px;
  background: rgba(15, 16, 18, .8); color: #fff;
  font-size: .76rem; font-weight: 650; line-height: 1.1; letter-spacing: .01em;
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
.badge .icon { width: 14px; height: 14px; }
.badge--sale { background: var(--sale); }
.badge--gold { background: var(--gold); color: var(--ink); }
.badge--light { background: var(--bg-soft); color: var(--text-2); backdrop-filter: none; border: 1px solid var(--line); }
.badge--ok { background: #e7f3ec; color: var(--ok); backdrop-filter: none; }

.price { font-family: var(--font-display); font-stretch: 105%; font-weight: 800; font-size: 1.4rem; line-height: 1.1; color: var(--text); white-space: nowrap; }
.price--sale { color: var(--sale); }
.price-old { display: block; font-size: .85rem; color: var(--text-3); text-decoration: line-through; white-space: nowrap; margin-bottom: 2px; }

/* skeletons while live data loads */
.car-card--skeleton .car-card__media, .skeleton-line {
  background: linear-gradient(90deg, var(--bg-soft-2) 25%, var(--bg-soft) 50%, var(--bg-soft-2) 75%);
  background-size: 200% 100%; animation: shimmer 1.3s linear infinite;
}
.skeleton-line { height: 14px; border-radius: 6px; }
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }

.empty-state { grid-column: 1 / -1; padding: 48px 24px; text-align: center; border: 1px dashed var(--line-strong); border-radius: var(--radius); background: var(--bg-soft); }
.empty-state h3 { margin-bottom: 8px; }
.empty-state p { color: var(--text-2); max-width: 32em; margin: 0 auto 20px; }
.empty-state .actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* ---------- features / services ---------- */

.trust-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.trust-item { display: flex; gap: 14px; align-items: flex-start; }
.trust-item__icon { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--gold-soft); color: var(--gold-ink); }
.trust-item h3 { font-size: 1rem; margin-bottom: 4px; }
.trust-item p { font-size: .92rem; color: var(--text-2); line-height: 1.5; }

.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.service {
  position: relative; display: flex; flex-direction: column; gap: 14px;
  padding: 30px 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line);
  transition: box-shadow .2s, transform .2s;
}
.service:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.service__icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 14px; background: var(--ink); color: var(--gold); }
.service h3 { font-size: 1.3rem; }
.service p { color: var(--text-2); }
.service ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: .95rem; color: var(--text-2); }
.service li { display: flex; gap: 10px; align-items: flex-start; }
.service li .icon { width: 18px; height: 18px; color: var(--ok); margin-top: 3px; }
.service .text-link { margin-top: auto; align-self: flex-start; }

/* split band (sell your car, financing) */
.band { position: relative; overflow: hidden; border-radius: calc(var(--radius) + 8px); }
.band--dark {
  background:
    radial-gradient(600px 300px at 100% 0%, rgba(201, 162, 77, .22), transparent 65%),
    var(--ink);
  color: var(--on-ink);
}
.band__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); padding: clamp(32px, 5vw, 64px); align-items: center; }
.band h2 { color: #fff; margin-bottom: 14px; }
.band p { color: var(--on-ink-2); }
.band__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.steps { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; counter-reset: step; }
.steps li {
  counter-increment: step; position: relative; padding: 16px 18px 16px 64px;
  border-radius: 14px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08);
  color: var(--on-ink-2); font-size: .95rem; line-height: 1.5;
}
.steps li strong { display: block; color: #fff; font-size: 1rem; margin-bottom: 2px; }
.steps li::before {
  content: counter(step); position: absolute; left: 16px; top: 16px;
  display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  background: var(--gold); color: var(--ink); font-weight: 800; font-family: var(--font-display);
}
.steps--light li { background: #fff; border-color: var(--line); color: var(--text-2); }
.steps--light li strong { color: var(--text); }

/* about + trust badge */
.about { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.about__text p { color: var(--text-2); font-size: 1.05rem; }
.about__points { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 26px 0 0; padding: 0; list-style: none; }
.about__points li { display: flex; gap: 10px; align-items: flex-start; font-weight: 550; }
.about__points .icon { color: var(--ok); margin-top: 2px; }
.trust-card { padding: 28px; border-radius: calc(var(--radius) + 4px); background: #1d1b3a; color: #fff; box-shadow: var(--shadow-lg); }
.trust-card img { width: 100%; border-radius: 10px; }
.trust-card p { margin: 16px 0 0; font-size: .92rem; color: rgba(255, 255, 255, .78); }
.trust-card a { color: #e9cf8f; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.stat { padding: 18px; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.stat strong { display: block; font-family: var(--font-display); font-stretch: 108%; font-size: 1.6rem; font-weight: 800; line-height: 1.1; }
.stat span { font-size: .86rem; color: var(--text-3); }

/* ---------- contact ---------- */

.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.contact-list { margin: 28px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.contact-list .icon-box { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--ink); color: var(--gold); }
.contact-list small { display: block; font-size: .78rem; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); }
.contact-list a, .contact-list strong { font-weight: 650; font-size: 1.05rem; text-decoration: none; color: var(--text); }
.contact-list a:hover { color: var(--gold-ink); }
.map-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }

.form-card { padding: clamp(22px, 4vw, 36px); border-radius: calc(var(--radius) + 4px); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.form-card h2, .form-card h3 { margin-bottom: 6px; }
.form-card > p { color: var(--text-2); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 22px; }
.form-grid .full { grid-column: 1 / -1; }
.form-note { font-size: .85rem; color: var(--text-3); margin-top: 12px; }
.form-status { margin-top: 14px; padding: 12px 14px; border-radius: 10px; background: #e7f3ec; color: var(--ok); font-size: .92rem; font-weight: 550; }

/* ---------- page header (inner pages) ---------- */

.page-head {
  position: relative; overflow: hidden;
  background: radial-gradient(700px 300px at 90% 0%, rgba(201, 162, 77, .16), transparent 60%), var(--ink);
  color: var(--on-ink); padding: clamp(28px, 5vw, 52px) 0 clamp(28px, 5vw, 48px);
}
.page-head h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 3rem); }
.page-head p { color: var(--on-ink-2); margin: 10px 0 0; max-width: 42em; }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 14px; padding: 0; list-style: none; font-size: .88rem; color: var(--on-ink-2); }
.breadcrumbs a { color: var(--on-ink-2); text-decoration: none; }
.breadcrumbs a:hover { color: #fff; }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.breadcrumbs--light { color: var(--text-3); }
.breadcrumbs--light a { color: var(--text-3); }
.breadcrumbs--light a:hover { color: var(--text); }

/* ---------- inventory ---------- */

.inventory { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 32px; align-items: start; padding: 32px 0 80px; }
.filters {
  position: sticky; top: calc(var(--header-h) + 16px);
  display: flex; flex-direction: column;
  max-height: calc(100vh - var(--header-h) - 32px);
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
}
.filters__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px 14px; border-bottom: 1px solid var(--line); }
.filters__head h2 { font-size: 1.1rem; }
.filters__head .link-button { margin-left: auto; }
.filters__body { display: grid; gap: 22px; padding: 18px 20px 22px; overflow-y: auto; overscroll-behavior: contain; }
.filters__foot { display: none; }
.filters .filters__close { display: none; }
.link-button { border: 0; background: none; padding: 4px 0; color: var(--gold-ink); font-weight: 650; font-size: .9rem; text-decoration: underline; text-underline-offset: 3px; }
.link-button:hover { color: var(--text); }

.results-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 18px; }
.results-bar .search-box { flex: 1 1 260px; }
.results-bar .select { width: auto; min-width: 210px; }
.results-count { margin: 0; font-weight: 650; }
.results-count span { color: var(--text-3); font-weight: 500; }
.filters-toggle { display: none; }
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: -4px 0 18px; }
.active-filter {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 8px 6px 12px;
  border-radius: 999px; border: 0; background: var(--gold-soft); color: var(--gold-ink); font-size: .86rem; font-weight: 600;
}
.active-filter .icon { width: 14px; height: 14px; }
.active-filter:hover { background: #efe1bf; }
.data-note { margin-top: 28px; font-size: .85rem; color: var(--text-3); }

.backdrop { position: fixed; inset: 0; z-index: 70; background: rgba(10, 11, 12, .55); opacity: 0; visibility: hidden; transition: opacity .2s, visibility 0s .2s; }
.backdrop.is-open { opacity: 1; visibility: visible; transition: opacity .2s; }

/* ---------- vehicle page ---------- */

.vehicle-top { padding: 22px 0 8px; }
.vehicle { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(330px, 1fr); gap: clamp(24px, 3vw, 40px); align-items: start; }
.gallery__main {
  position: relative; display: block; width: 100%; padding: 0; border: 0;
  aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--ink-2); cursor: zoom-in;
  touch-action: pan-y;
}
.gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.gallery__nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  display: grid; place-items: center; width: 46px; height: 46px; border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .92); color: var(--ink); box-shadow: var(--shadow);
  opacity: 0; transition: opacity .2s, background-color .2s;
}
.gallery__nav--prev { left: 14px; }
.gallery__nav--next { right: 14px; }
.gallery:hover .gallery__nav, .gallery__nav:focus-visible { opacity: 1; }
.gallery__nav:hover { background: #fff; }
.gallery__counter { position: absolute; left: 14px; bottom: 14px; z-index: 2; pointer-events: none; }
.gallery__zoom { position: absolute; right: 14px; bottom: 14px; z-index: 2; pointer-events: none; }
.gallery__stage { position: relative; }
.gallery__thumbs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.gallery__thumb {
  position: relative; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden;
  aspect-ratio: 4 / 3; background: var(--bg-soft-2); transition: border-color .15s, opacity .15s;
}
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumb:hover { opacity: .85; }
.gallery__thumb[aria-current="true"] { border-color: var(--gold); }
.gallery__thumb--more::after {
  content: attr(data-more); position: absolute; inset: 0; display: grid; place-items: center;
  background: rgba(15, 16, 18, .62); color: #fff; font-weight: 750; font-size: 1.1rem;
}

.summary {
  position: sticky; top: calc(var(--header-h) + 16px);
  padding: 26px; border-radius: calc(var(--radius) + 2px); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow);
}
.summary__badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.summary h1 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.summary__sub { margin: 8px 0 0; color: var(--text-3); }
.summary__price { margin: 20px 0 0; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.summary__price .price { font-size: 2.1rem; }
.summary__price .price-old { font-size: .95rem; }
.summary__save { display: inline-flex; margin-left: 10px; vertical-align: middle; }
.summary__vat { display: block; margin-top: 6px; font-size: .88rem; color: var(--text-3); }
.summary__monthly { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; padding: 10px 14px; border-radius: 10px; background: var(--bg-soft); font-size: .92rem; color: var(--text-2); text-decoration: none; }
.summary__monthly span { display: inline-flex; align-items: center; gap: 8px; }
.summary__monthly strong { color: var(--text); white-space: nowrap; }
.summary__monthly:hover { background: var(--bg-soft-2); }
.keyspecs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 12px; margin: 20px 0 22px; padding: 0; list-style: none; }
.keyspecs li { display: flex; gap: 10px; align-items: center; min-width: 0; }
.keyspecs .icon-box { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--bg-soft); color: var(--text-2); }
.keyspecs small { display: block; font-size: .74rem; letter-spacing: .04em; text-transform: uppercase; color: var(--text-3); line-height: 1.3; }
.keyspecs strong { display: block; font-size: .95rem; font-weight: 650; line-height: 1.3; overflow-wrap: anywhere; }
.summary__actions { display: grid; gap: 10px; }
.summary__row { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.summary__note { display: flex; gap: 10px; margin: 16px 0 0; font-size: .86rem; color: var(--text-3); line-height: 1.5; }
.summary__note .icon { margin-top: 1px; color: var(--gold-ink); }
.icon-button { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; border: 1px solid var(--line-strong); background: #fff; color: var(--text); transition: border-color .15s; }
.icon-button:hover { border-color: var(--text); }

.vehicle-body { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(330px, 1fr); gap: clamp(24px, 3vw, 40px); padding: 40px 0 24px; }
.vehicle-body__main { display: grid; gap: 22px; min-width: 0; }
.panel { padding: clamp(20px, 3vw, 30px); border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.panel h2 { font-size: 1.4rem; margin-bottom: 18px; }
.spec-table { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; margin: 0; }
.spec-table div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.spec-table dt { color: var(--text-3); font-size: .93rem; }
.spec-table dd { margin: 0; font-weight: 600; font-size: .95rem; text-align: right; }
.equipment { columns: 2 280px; column-gap: 32px; }
.equipment__group { break-inside: avoid; margin-bottom: 22px; }
.equipment__group h3 { font-size: .82rem; font-family: var(--font-body); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); margin-bottom: 8px; }
.equipment__group ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.equipment__group li { display: flex; gap: 8px; align-items: flex-start; font-size: .95rem; }
.equipment__group li .icon { width: 16px; height: 16px; margin-top: 4px; color: var(--ok); }
.equipment--collapsed .is-extra { display: none; }
.notes p { color: var(--text-2); }
.notes ul { margin: 0 0 1em; padding-left: 1.2em; color: var(--text-2); }
.notes li { margin-bottom: 4px; }
.notes strong { color: var(--text); }

.calc { display: grid; gap: 18px; }
.calc__fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.calc__slider { display: grid; gap: 8px; }
.calc__slider input[type="range"] { width: 100%; accent-color: var(--ink); }
.calc__result { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; border-radius: 14px; background: var(--ink); color: #fff; }
.calc__result strong { font-family: var(--font-display); font-stretch: 105%; font-size: 1.9rem; line-height: 1; }
.calc__result span { color: var(--on-ink-2); font-size: .9rem; }
.calc__note { font-size: .84rem; color: var(--text-3); margin: 0; }

.aside-card { padding: 24px; border-radius: var(--radius); background: var(--ink); color: var(--on-ink); }
.aside-card h2 { color: #fff; font-size: 1.25rem; margin-bottom: 10px; }
.aside-card p { color: var(--on-ink-2); font-size: .95rem; }
.aside-card .btn { width: 100%; margin-top: 10px; }
.aside-card + .aside-card { margin-top: 18px; }
.aside-card--light { background: var(--bg-soft); color: var(--text); }
.aside-card--light h2 { color: var(--text); }
.aside-card--light p { color: var(--text-2); }
.vehicle-body__aside { min-width: 0; }

.not-found { padding: 80px 0; text-align: center; }
.not-found h1 { margin-bottom: 12px; }
.not-found p { color: var(--text-2); max-width: 34em; margin: 0 auto 26px; }
.not-found .actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ---------- lightbox & dialog ---------- */

.lightbox { position: fixed; inset: 0; z-index: 120; display: flex; flex-direction: column; background: rgba(8, 9, 10, .97); color: #fff; }
.lightbox__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; }
.lightbox__title { font-weight: 600; font-size: .95rem; color: rgba(255, 255, 255, .8); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lightbox__stage { position: relative; flex: 1; display: grid; place-items: center; min-height: 0; padding: 0 72px 24px; touch-action: pan-y; }
.lightbox__stage img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 6px; user-select: none; -webkit-user-drag: none; }
.lightbox button { border: 0; background: rgba(255, 255, 255, .1); color: #fff; transition: background-color .15s; }
.lightbox button:hover { background: rgba(255, 255, 255, .2); }
.lightbox__close { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; }
.lightbox__nav--prev { left: 12px; }
.lightbox__nav--next { right: 12px; }

dialog.modal {
  width: min(560px, calc(100% - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 0;
  border-radius: calc(var(--radius) + 4px); box-shadow: 0 40px 100px rgba(0, 0, 0, .35); color: var(--text);
}
dialog.modal::backdrop { background: rgba(10, 11, 12, .6); backdrop-filter: blur(2px); }
.modal__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 24px 24px 0; }
.modal__head p { margin: 6px 0 0; color: var(--text-3); font-size: .92rem; }
.modal__body { padding: 8px 24px 24px; }
.modal__close { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border: 0; border-radius: 50%; background: var(--bg-soft); }
.modal__close:hover { background: var(--bg-soft-2); }

.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 130; transform: translate(-50%, 20px);
  padding: 12px 18px; border-radius: 12px; background: var(--ink); color: #fff; font-weight: 550; font-size: .95rem;
  box-shadow: var(--shadow-lg); opacity: 0; transition: opacity .2s, transform .2s; pointer-events: none;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ---------- footer ---------- */

.site-footer { background: var(--ink); color: var(--on-ink-2); padding: clamp(48px, 7vw, 80px) 0 28px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1fr; gap: 36px; }
.site-footer h2 { font-family: var(--font-body); font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.site-footer ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.site-footer a { color: var(--on-ink-2); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-brand img { height: 48px; width: auto; margin-bottom: 16px; }
.footer-brand p { max-width: 24em; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .86rem; }
.footer-legal { margin: 14px 0 0; font-size: .8rem; color: var(--on-ink-2); opacity: .75; }

/* Privacy policy: every language is in the page, only the current one is shown. */
.legal-text { display: none; }
html:not([lang|="en"]):not([lang|="fi"]):not([lang|="ru"]):not([lang|="pl"]) .legal-text--et,
html[lang|="en"] .legal-text--en, html[lang|="fi"] .legal-text--fi,
html[lang|="ru"] .legal-text--ru, html[lang|="pl"] .legal-text--pl { display: block; }
.legal ul { padding-left: 1.2em; }
.legal h2 { font-size: clamp(1.15rem, 2.4vw, 1.4rem); }

/* ---------- responsive ---------- */

@media (max-width: 1100px) {
  .car-grid--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .quick-search { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quick-search .btn { grid-column: 1 / -1; }
  .trust-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  .hero__grid, .about, .contact, .band__grid { grid-template-columns: minmax(0, 1fr); }
  .services { grid-template-columns: minmax(0, 1fr); }
  .car-grid--3, .car-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vehicle, .vehicle-body { grid-template-columns: minmax(0, 1fr); }
  .summary { position: static; }

  .inventory { grid-template-columns: minmax(0, 1fr); padding-top: 20px; }
  .filters {
    position: fixed; top: 0; right: 0; bottom: 0; z-index: 80;
    width: min(420px, 100%); max-height: none; border-radius: 0; border: 0;
    transform: translateX(100%); visibility: hidden;
    transition: transform .25s ease, visibility 0s .25s;
  }
  .filters.is-open { transform: none; visibility: visible; transition: transform .25s ease; }
  .filters .filters__close { display: inline-grid; }
  .filters__foot { display: flex; gap: 10px; padding: 14px 20px; border-top: 1px solid var(--line); background: #fff; }
  .filters__foot .btn { flex: 1; }
  .filters-toggle { display: inline-flex; }
  .results-bar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .results-bar .search-box { grid-column: 1 / -1; }
  .results-sort .select { width: 100%; min-width: 0; }
}

@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .car-grid, .car-grid--3, .car-grid--4 { grid-template-columns: minmax(0, 1fr); }
  .quick-search { grid-template-columns: minmax(0, 1fr); padding: 18px; }
  .trust-strip { grid-template-columns: minmax(0, 1fr); }
  .showcase { grid-template-columns: 1fr 1fr; gap: 8px; }
  .showcase__caption { left: 10px; right: 10px; bottom: 10px; }
  .showcase__item:not(:first-child) .showcase__price { display: none; }
  .showcase__item:not(:first-child) .showcase__title { font-size: .9rem; }
  .showcase__item:not(:first-child) .showcase__meta { display: none; }
  .form-grid, .calc__fields, .spec-table, .about__points, .stats { grid-template-columns: minmax(0, 1fr); }
  .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stat { padding: 14px 12px; }
  .stat strong { font-size: 1.3rem; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .gallery__thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .gallery__thumbs .gallery__thumb:nth-child(n + 5) { display: none; }
  .gallery__nav { opacity: 1; width: 40px; height: 40px; }
  .lightbox__stage { padding: 0 8px 16px; }
  .lightbox__nav { width: 44px; height: 44px; background: rgba(0, 0, 0, .45) !important; }
  .summary { padding: 20px; }
  .keyspecs { gap: 12px 8px; }
  .hero__facts { gap: 10px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

@media print {
  .rnd-header, .site-footer, .gallery__nav, .summary__actions, .aside-card, .backdrop, .filters, .tabs { display: none !important; }
  .vehicle, .vehicle-body { grid-template-columns: 1fr; }
  .panel, .summary { border: 0; box-shadow: none; padding: 0; }
}

/* ---------- WordPress theme additions ---------- */

/* Hide the page briefly while it switches to the visitor's language. */
.rnd-i18n-pending body { visibility: hidden; }

/* Keep the sticky header below the WordPress admin bar for logged-in users. */
.admin-bar .rnd-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .rnd-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .rnd-header { top: 0; } }

.lang-switch { position: relative; flex: none; }
.lang-switch__button {
  display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, .18); border-radius: 999px; background: transparent;
  color: var(--on-ink); font-weight: 650; font-size: .9rem; letter-spacing: .04em;
}
.lang-switch__button:hover { border-color: rgba(255, 255, 255, .5); }
.lang-switch__button .icon { width: 16px; height: 16px; }
.lang-switch__list {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 60; min-width: 150px;
  margin: 0; padding: 6px; list-style: none; border-radius: 12px;
  background: var(--ink-2); border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 20px 40px rgba(0, 0, 0, .35);
}
.lang-switch__list button {
  display: flex; justify-content: space-between; gap: 12px; width: 100%; padding: 9px 12px;
  border: 0; border-radius: 8px; background: none; color: var(--on-ink-2); font-size: .95rem; text-align: left;
}
.lang-switch__list button:hover { background: rgba(255, 255, 255, .07); color: #fff; }
.lang-switch__list button[aria-current="true"] { color: var(--gold); }
.lang-switch__list small { opacity: .6; }
@media (max-width: 1000px) {
  .lang-switch__button { height: 44px; padding: 0 10px; }
  .lang-switch__button .icon:first-child { display: none; }
}

/* Spam trap field: invisible to people, filled in by bots. */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-status--pending { background: var(--bg-soft); color: var(--text-2); }
.lang-note { display: flex; gap: 10px; align-items: flex-start; margin: 0; padding: 12px 16px; border-radius: 12px; background: var(--gold-soft); color: var(--gold-ink); font-size: .92rem; }
.lang-note .icon { margin-top: 2px; }
.panel__count { font-size: .9rem; color: var(--text-3); font-weight: 500; }
.trust-card--badge { padding: 0; overflow: hidden; background: #2a2850; }
.trust-card--badge img { border-radius: 0; }
.trust-card--badge p { margin: 0; padding: 18px 22px 22px; }

/* Plain WordPress pages (e.g. privacy policy) */
.prose { max-width: 760px; padding: 40px 0 80px; }
.prose h2 { margin: 1.6em 0 .6em; }
.prose h3 { margin: 1.4em 0 .5em; }
.prose p, .prose li { color: var(--text-2); }
.prose a { color: var(--gold-ink); }
.prose img { border-radius: 12px; }
@media (max-width: 1000px) {
  .lang-switch { margin-left: auto; }
  .rnd-header .header-phone { margin-left: 0; }
}

/* ---------- Brand font (Bruno Ace) for the main headings ---------- */
:root { --font-brand: "Bruno Ace", "Archivo", "Inter", system-ui, sans-serif; }
.hero h1,
.page-head h1,
.section-head h2,
.band h2,
.about h2,
.contact h2,
.not-found h1 {
  font-family: var(--font-brand);
  font-weight: 400;
  font-stretch: normal;
  letter-spacing: .01em;
  line-height: 1.18;
}
.hero h1 { text-transform: uppercase; font-size: clamp(1.8rem, 3.8vw, 3rem); }
.hero h1 em { display: block; margin-top: .15em; }
.page-head h1 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
.section-head h2, .band h2, .about h2, .contact h2 { font-size: clamp(1.4rem, 2.4vw, 2rem); }
/* Bruno Ace has no Cyrillic letters, so Russian keeps the regular heading font. */
html[lang="ru"] .hero h1, html[lang="ru"] .page-head h1, html[lang="ru"] .section-head h2,
html[lang="ru"] .band h2, html[lang="ru"] .about h2, html[lang="ru"] .contact h2, html[lang="ru"] .not-found h1 {
  font-family: var(--font-display); font-weight: 800; font-stretch: 108%; letter-spacing: -.01em;
}
.stat { min-width: 0; }
.stat span { display: block; overflow-wrap: anywhere; hyphens: auto; }
@media (max-width: 360px) { .stat span { font-size: .78rem; } .stat { padding: 12px 10px; } }
.quick-search__title { flex-wrap: wrap; row-gap: 6px; }

/* ---------- Hero background photo ----------
   Black car on black: 3D render by Sunder Muthukumaran on Unsplash
   (https://unsplash.com/photos/ZzxH-0Dbq_M), free under the Unsplash License,
   with the number plate removed. */
.hero {
  background:
    linear-gradient(90deg, rgba(10, 11, 12, .78) 0%, rgba(10, 11, 12, .35) 50%, rgba(10, 11, 12, .2) 100%),
    linear-gradient(to bottom, rgba(10, 11, 12, .2) 0%, rgba(10, 11, 12, .1) 60%, var(--ink) 100%),
    url("../img/hero-car.jpg") center 60% / cover no-repeat,
    var(--ink);
}
.hero::after { display: none; }
@media (max-width: 960px) {
  .hero {
    background:
      linear-gradient(to bottom, rgba(10, 11, 12, .55) 0%, rgba(10, 11, 12, .8) 55%, var(--ink) 100%),
      url("../img/hero-car-1400.jpg") 35% 0 / auto 520px no-repeat,
      var(--ink);
  }
}

/* ---------- Photo upload (sell your car) ---------- */
.photo-drop {
  position: relative; display: grid; justify-items: center; gap: 4px; padding: 22px 16px;
  border: 2px dashed var(--line-strong); border-radius: 12px; background: var(--bg-soft);
  text-align: center; cursor: pointer; transition: border-color .15s, background-color .15s;
}
.photo-drop:hover, .photo-drop.is-over { border-color: var(--gold); background: var(--gold-soft); }
.photo-drop:focus-within { outline: 2px solid var(--gold); outline-offset: 2px; }
.photo-drop input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.photo-drop .icon { width: 28px; height: 28px; color: var(--gold-ink); }
.photo-drop strong { font-size: 1rem; }
.photo-drop small { color: var(--text-3); font-size: .85rem; text-transform: none; letter-spacing: 0; font-weight: 400; }
.photo-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; margin: 10px 0 0; padding: 0; list-style: none; }
.photo-list:empty { display: none; }
.photo-list li { position: relative; aspect-ratio: 4 / 3; border-radius: 8px; overflow: hidden; background: var(--bg-soft-2); }
.photo-list img { width: 100%; height: 100%; object-fit: cover; }
.photo-list button {
  position: absolute; top: 4px; right: 4px; display: grid; place-items: center; width: 26px; height: 26px;
  border: 0; border-radius: 50%; background: rgba(15, 16, 18, .78); color: #fff;
}
.photo-list button .icon { width: 14px; height: 14px; }
[data-photo-error] { color: var(--sale); }
