/* ============================================================
   Ваш автосервис — кузовной ремонт и покраска
   Dark automotive theme, mobile-first
   ============================================================ */

:root {
  --bg: #0a0b0d;
  --bg-elevated: #111318;
  --bg-card: #16181e;
  --bg-card-hover: #1c1f27;
  --bg-soft: #1a1d24;
  --line: rgba(232, 216, 196, 0.1);
  --line-strong: rgba(232, 216, 196, 0.18);
  --text: #f3efe8;
  --text-muted: #a8a196;
  --text-dim: #7a7468;
  --accent: #f0c400;
  --accent-hot: #ff5c2a;
  --accent-soft: rgba(240, 196, 0, 0.16);
  --accent-glow: rgba(255, 92, 42, 0.35);
  --ink: #0a0a0a;
  --yellow: #ffd400;
  --ok: #7dba7a;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --radius: 18px;
  --radius-sm: 12px;
  --header-h: 72px;
  --font-display: "Unbounded", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --max: 1160px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

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

img, svg { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: 0; background: none; }

.container {
  width: min(100% - 32px, var(--max));
  margin-inline: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--accent);
}

h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  margin-bottom: 12px;
}

.lead {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 58ch;
}

.seo-text {
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.6;
  max-width: 68ch;
  margin: 16px 0 0;
}

.section {
  padding: 80px 0;
  position: relative;
}

.section--alt {
  background:
    radial-gradient(800px 300px at 10% 0%, rgba(232, 160, 75, 0.05), transparent 60%),
    var(--bg-elevated);
}

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(10, 11, 13, 0.78);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(100% - 32px, var(--max));
  margin-inline: auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  min-width: 0;
}

.logo__mark {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.logo__name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.logo__tag {
  display: block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-dim);
  text-transform: uppercase;
}

.nav {
  display: none;
  align-items: center;
  gap: 4px;
}

.nav a {
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}

.nav a:hover { color: var(--text); background: rgba(255,255,255,0.04); }

.btn.header__cta { display: none; }

.burger {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--bg-card);
}

.burger span,
.burger span::before,
.burger span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  position: relative;
  transition: transform 0.2s, opacity 0.2s;
}

.burger span::before,
.burger span::after {
  content: "";
  position: absolute;
  left: 0;
}

.burger span::before { top: -6px; }
.burger span::after { top: 6px; }

body.nav-open .burger span { background: transparent; }
body.nav-open .burger span::before { top: 0; transform: rotate(45deg); }
body.nav-open .burger span::after { top: 0; transform: rotate(-45deg); }

.nav-mobile {
  display: none;
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 49;
  background: rgba(10, 11, 13, 0.97);
  padding: 24px 20px;
  flex-direction: column;
  gap: 8px;
}

body.nav-open .nav-mobile { display: flex; }

.nav-mobile a {
  padding: 14px 12px;
  font-size: 1.1rem;
  font-weight: 600;
  border-bottom: 1px solid var(--line);
}

@media (max-width: 759px) {
  .hero { padding: 32px 0 56px; }
  .hero-art { margin-top: 4px; }
  .hero__meta { margin-top: 16px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.01em;
  transition: transform 0.15s, background 0.2s, box-shadow 0.2s, border-color 0.2s, color 0.2s;
  white-space: nowrap;
}

.price-cta__actions .btn {
  white-space: normal;
  text-align: center;
  max-width: 100%;
}

.btn:active { transform: translateY(1px); }

.btn--primary {
  background: linear-gradient(180deg, #ff7348 0%, var(--accent-hot) 100%);
  color: #fff;
  box-shadow: 0 10px 28px var(--accent-glow);
}

.btn--primary:hover { filter: brightness(1.06); }

.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line-strong);
}

.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn--sm { padding: 10px 16px; font-size: 13px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 48px 0 80px;
  overflow: hidden;
  isolation: isolate;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(255, 92, 42, 0.16), transparent 55%),
    radial-gradient(700px 400px at 0% 80%, rgba(232, 160, 75, 0.1), transparent 50%),
    linear-gradient(180deg, #101218 0%, var(--bg) 100%);
}

.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(243, 239, 232, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(243, 239, 232, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 70%);
  pointer-events: none;
}

.hero__grid {
  display: grid;
  gap: 40px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.05rem, 6vw, 3.35rem);
  margin: 0 0 18px;
}

.hero h1 span {
  display: block;
  color: var(--accent);
}

.hero__text {
  color: var(--text-muted);
  font-size: 1.08rem;
  max-width: 46ch;
  margin-bottom: 28px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  color: var(--text-dim);
  font-size: 14px;
}

.hero__meta strong {
  color: var(--text-muted);
  font-weight: 600;
}

.placeholder-chip {
  display: inline;
  border-bottom: 1px dashed var(--accent);
  color: var(--accent);
  font-weight: 600;
}

.note-dot {
  font-size: 11px;
  color: var(--text-dim);
  font-weight: 500;
}

.hero-art {
  position: relative;
  min-height: 0;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 30% 30%, #2a2e38, #12141a 65%);
  box-shadow: var(--shadow);
}

.hero-art svg { width: 100%; height: 100%; }

.hero-art__badge {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(10, 11, 13, 0.72);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  font-size: 13px;
  color: var(--text-muted);
  max-width: calc(100% - 32px);
}

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 36px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  transition: transform 0.2s, border-color 0.2s, background 0.2s;
}

.card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  background: var(--bg-card-hover);
}

.card__icon {
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  color: var(--accent);
}

.card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ---------- Advantages ---------- */
.adv-grid {
  display: grid;
  gap: 20px;
  margin-top: 36px;
}

.adv {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  padding: 8px 0;
}

.adv__num {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--accent);
  line-height: 1;
  width: 48px;
}

.adv h3 { font-size: 1.05rem; margin-bottom: 6px; }
.adv p { color: var(--text-muted); font-size: 0.95rem; }

/* ---------- Steps ---------- */
.steps {
  display: grid;
  gap: 16px;
  margin-top: 36px;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 24px 24px 24px 28px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  border-left: 3px solid var(--accent);
}

.step h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.step h3::before {
  counter-increment: step;
  content: counter(step);
  font-family: var(--font-display);
  color: var(--accent);
  font-size: 0.95rem;
}

.step p { color: var(--text-muted); font-size: 0.95rem; }

/* ---------- Gallery ---------- */
.gallery {
  display: grid;
  gap: 20px;
  margin-top: 36px;
}

.ba {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.ba__frames {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.ba__frame {
  position: relative;
  min-height: 180px;
  overflow: hidden;
}

.ba__frame svg { width: 100%; height: 100%; min-height: 180px; }

.ba__label {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(10, 11, 13, 0.75);
  border: 1px solid var(--line);
}

.ba__caption {
  padding: 14px 18px 16px;
  font-size: 14px;
  color: var(--text-muted);
}

.gallery-note {
  margin-top: 16px;
  font-size: 13px;
  color: var(--text-dim);
}

/* ---------- Prices ---------- */
.price-wrap {
  margin-top: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
}

.price-banner {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  align-items: center;
  padding: 14px 20px;
  background: var(--accent-soft);
  border-bottom: 1px solid var(--line);
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.price-banner span {
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text-muted);
}

.table-scroll { overflow-x: auto; }

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
}

th, td {
  text-align: left;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}

th {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  font-weight: 700;
}

td:last-child, th:last-child { text-align: right; white-space: nowrap; }

tr:last-child td { border-bottom: 0; }

.price-foot {
  padding: 14px 20px;
  font-size: 13px;
  color: var(--text-dim);
  border-top: 1px solid var(--line);
}

/* ---------- FAQ ---------- */
.faq {
  margin-top: 36px;
  display: grid;
  gap: 10px;
}

.faq details {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 4px 18px;
}

.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 28px 16px 0;
  font-weight: 700;
  font-size: 1rem;
  position: relative;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 16px;
  color: var(--accent);
  font-weight: 500;
  font-size: 1.2rem;
  line-height: 1;
}

.faq details[open] summary::after { content: "–"; }

.faq details p {
  color: var(--text-muted);
  padding: 0 8px 18px 0;
  font-size: 0.95rem;
}

/* ---------- Contacts ---------- */
.contact-grid {
  display: grid;
  gap: 24px;
  margin-top: 36px;
}

.form {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  display: grid;
  gap: 14px;
  align-content: start;
}

.form label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}

.form input,
.form textarea,
.form select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  background: var(--bg);
  outline: none;
  transition: border-color 0.2s;
}

.form input:focus,
.form textarea:focus,
.form select:focus {
  border-color: var(--accent);
}

.form textarea { min-height: 120px; resize: vertical; }

.form__row {
  display: grid;
  gap: 14px;
}

.form__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.form__hint {
  font-size: 12px;
  color: var(--text-dim);
}

.form-success {
  display: none;
  padding: 16px;
  border-radius: 12px;
  background: rgba(125, 186, 122, 0.12);
  border: 1px solid rgba(125, 186, 122, 0.35);
  color: var(--ok);
  font-size: 14px;
}

.form-success.is-visible { display: block; }

.contacts-side {
  display: grid;
  gap: 16px;
  align-content: start;
}

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}

.contact-card h3 {
  font-size: 1rem;
  margin-bottom: 14px;
}

.contact-list {
  display: grid;
  gap: 12px;
}

.contact-list li {
  display: grid;
  gap: 2px;
  font-size: 15px;
}

.contact-list .k {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
  font-weight: 700;
}

.contact-list a:hover { color: var(--accent); }

.map {
  min-height: 240px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 55% 48%, rgba(232, 160, 75, 0.18), transparent 28%),
    repeating-linear-gradient(0deg, transparent 0 27px, rgba(243,239,232,0.04) 27px 28px),
    repeating-linear-gradient(90deg, transparent 0 27px, rgba(243,239,232,0.04) 27px 28px),
    linear-gradient(160deg, #1a1e28, #12141a);
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 24px;
}

.map__pin {
  width: 48px;
  height: 48px;
  margin: 0 auto 10px;
  color: var(--accent-hot);
  filter: drop-shadow(0 8px 16px var(--accent-glow));
}

.map p { color: var(--text-muted); font-size: 14px; }
.map small { display: block; margin-top: 6px; color: var(--text-dim); }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--line);
  padding: 36px 0 28px;
  color: var(--text-dim);
  font-size: 14px;
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
  justify-content: space-between;
  align-items: flex-start;
}

.footer a:hover { color: var(--text-muted); }

.footer__legal {
  margin-top: 20px;
  font-size: 12px;
  max-width: 70ch;
}

/* ---------- Utilities ---------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* ---------- Desktop ---------- */
@media (min-width: 760px) {
  .hero { padding: 72px 0 100px; }
  .hero__grid {
    grid-template-columns: 1.1fr 0.9fr;
    grid-template-areas:
      "copy art"
      "meta art";
    gap: 20px 56px;
    align-items: start;
  }
  .hero__copy { grid-area: copy; }
  .hero-art { grid-area: art; align-self: center; }
  .hero__meta { grid-area: meta; }
  .hero-art { min-height: 0; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .adv-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1.1fr 0.9fr; }
  .form__row { grid-template-columns: 1fr 1fr; }
  .section { padding: 100px 0; }
}

@media (min-width: 880px) {
  .burger, .nav-mobile { display: none !important; }
  .nav { display: flex; }
}

@media (min-width: 1100px) {
  .btn.header__cta { display: inline-flex; }
  .wa-float { display: none; }
  .services-grid { grid-template-columns: repeat(4, 1fr); }
  .steps { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- WhatsApp ---------- */
.btn--wa {
  background: #1fad5a;
  color: #fff;
  box-shadow: 0 10px 28px rgba(31, 173, 90, 0.28);
}

.btn--wa:hover { filter: brightness(1.06); }

.btn--wa svg,
.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.wa-float {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 60;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #1fad5a;
  color: #fff;
  box-shadow: 0 12px 28px rgba(31, 173, 90, 0.4);
  transition: transform 0.15s, filter 0.2s;
}

.wa-float:hover { filter: brightness(1.08); transform: translateY(-2px); }
.wa-float svg { width: 30px; height: 30px; }

@media (min-width: 1100px) {
  .wa-float { display: none; }
}

@media (max-width: 1099px) {
  .footer { padding-bottom: 96px; }
}


/* ---------- Pricing ( договорная ) ---------- */
.price-cta {
  margin-top: 36px;
  display: grid;
  gap: 24px;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
}

.price-cta::before {
  content: "";
  position: absolute;
  inset: auto auto -40% -10%;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(232, 160, 75, 0.12), transparent 70%);
  pointer-events: none;
}

.price-cta p {
  color: var(--text-muted);
  max-width: 60ch;
  position: relative;
}

.price-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  position: relative;
}

@media (min-width: 760px) {
  .price-cta {
    padding: 40px 40px;
  }
}


/* ---------- Hero photo ---------- */
.hero-art {
  background: #111;
}
.hero-art a.shot {
  display: block;
  cursor: zoom-in;
}
.hero-art img,
.hero-art a.shot img {
  width: 100%;
  height: auto;
  min-height: 0;
  object-fit: contain;
  display: block;
}

@media (min-width: 760px) {
  .hero-art { min-height: 0; }
}

/* ---------- Real gallery ---------- */
.gallery {
  display: grid;
  gap: 20px;
  margin-top: 36px;
}

.gallery__main,
.gallery__item {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.gallery__main { grid-column: 1 / -1; }

.gallery a.shot {
  display: block;
  cursor: zoom-in;
  position: relative;
}

.gallery a.shot img,
.hero-art a.shot img {
  width: 100%;
  display: block;
  transition: transform 0.45s ease;
}

.gallery a.shot:hover img { transform: scale(1.03); }

.gallery__caption,
.ba__caption {
  padding: 14px 18px 16px;
  font-size: 14px;
  color: var(--text-muted);
}

.gallery__label {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(10, 11, 13, 0.75);
  border: 1px solid var(--line);
  color: var(--text);
  pointer-events: none;
}

.gallery-note {
  margin-top: 8px;
  font-size: 13px;
  color: var(--text-dim);
}

@media (min-width: 760px) {
  .gallery { grid-template-columns: 1fr 1fr; }
}


.gallery__showcase {
  grid-column: 1 / -1;
  background: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.gallery__banner {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 16px;
  padding: 14px 18px;
  background: var(--ink);
  color: var(--yellow);
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 2.4vw, 1.25rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.gallery__banner span {
  color: #fff;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
}

.gallery__showcase a.shot:hover img { transform: none; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  place-items: center;
  background: rgba(6, 7, 9, 0.92);
  padding: 24px 16px 72px;
  cursor: zoom-out;
}

.lightbox.is-open { display: grid; }

.lightbox img {
  max-width: min(1200px, 100%);
  max-height: calc(100vh - 120px);
  object-fit: contain;
  border-radius: 8px;
  box-shadow: var(--shadow);
  cursor: default;
}

.lightbox figcaption {
  position: absolute;
  bottom: 20px;
  left: 16px;
  right: 16px;
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
}

.lightbox__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 22px;
  line-height: 1;
}

.map__photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1200 / 520;
  object-fit: cover;
  border-radius: calc(var(--radius) - 1px) calc(var(--radius) - 1px) 0 0;
}

.map {
  padding: 0;
  min-height: 0;
  display: block;
  text-align: left;
}

.map__bar {
  padding: 14px 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
  justify-content: space-between;
}

.map__bar p { color: var(--text-muted); font-size: 14px; margin: 0; }
.map__bar a { color: var(--accent); font-weight: 700; font-size: 14px; }


/* ---------- Nav active ---------- */
.nav a[aria-current="page"],
.nav-mobile a[aria-current="page"] {
  color: var(--accent);
  background: var(--accent-soft);
  font-weight: 700;
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 12px;
}

.footer__nav a {
  color: var(--text-muted);
  font-weight: 600;
}

.footer__nav a:hover { color: var(--accent); }

/* ---------- Direction cards ---------- */
.dir-grid {
  display: grid;
  gap: 20px;
  margin-top: 36px;
}

.dir-card {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 12px;
  align-content: start;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px 28px;
  transition: transform 0.2s, border-color 0.2s, background 0.2s;
  min-height: 280px;
}

.dir-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  background: var(--bg-card-hover);
}

.dir-card__svg {
  width: 88px;
  height: 56px;
  color: var(--accent);
}

.dir-card h3 {
  font-size: 1.25rem;
  margin: 0;
}

.dir-card p {
  color: var(--text-muted);
  font-size: 0.98rem;
}

.dir-card__go {
  margin-top: 16px;
  justify-self: start;
  font-weight: 700;
  color: var(--bg);
  background: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: 999px;
}

.dir-card__go::after {
  content: "→";
  transition: transform 0.2s;
}

.dir-card:hover .dir-card__go::after { transform: translateX(4px); }

@media (min-width: 760px) {
  .dir-grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- Callout / truck note ---------- */
.callout {
  margin: 28px 0 8px;
  padding: 18px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(227, 38, 45, 0.35);
  background: var(--accent-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  align-items: center;
  justify-content: space-between;
}

.callout p {
  margin: 0;
  font-weight: 700;
  color: var(--text);
}

.callout__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* ---------- Truck illustration & placeholder gallery ---------- */
.hero-art--illus {
  display: grid;
  place-items: center;
  padding: 24px 16px 8px;
  background:
    radial-gradient(circle at 50% 40%, rgba(227, 38, 45, 0.08), transparent 55%),
    #111;
  min-height: 240px;
}

.truck-art {
  width: 100%;
  height: auto;
  max-height: 360px;
}

.gallery--soon {
  grid-template-columns: 1fr;
}

@media (min-width: 760px) {
  .gallery--soon { grid-template-columns: 1fr 1fr; }
}

.gallery-soon {
  min-height: 240px;
  border-radius: var(--radius);
  border: 1px dashed var(--line-strong);
  background: var(--bg-card);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 32px 20px;
  color: var(--text-dim);
  gap: 12px;
}

.gallery-soon svg {
  width: 48px;
  height: 48px;
  margin: 0 auto 4px;
  color: var(--accent);
}

.gallery-soon p {
  margin: 0;
  max-width: 28ch;
}

.gallery-soon--empty {
  min-height: 240px;
  opacity: 0.7;
}

.dir-card:hover .dir-card__go {
  background: var(--accent-2, #ffd400);
  color: var(--bg);
}

@media (min-width: 1100px) {
  .services-grid.services-grid--3 { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Page switch (mobile-obvious nav between sections) ---------- */
.page-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 28px;
}
.page-switch a {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 52px;
  padding: 12px 14px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.25;
  border: 1px solid var(--line-strong);
  background: var(--bg-card);
  color: var(--text);
}
.page-switch a:hover,
.page-switch a:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
}
.page-switch a.is-current {
  background: var(--accent);
  color: var(--ink);
  border-color: var(--accent);
}
.hero .page-switch { margin-top: 8px; }
.hero__copy .page-switch { margin-top: 22px; }

/* ---------- Index teaser (short, not a full gallery) ---------- */
.teaser {
  display: grid;
  gap: 16px;
  margin-top: 32px;
}
.teaser__card {
  position: relative;
  display: block;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  color: inherit;
}
.teaser__card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}
.teaser__card:hover img { transform: scale(1.03); }
.teaser__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 12px;
  padding: 14px 16px 16px;
}
.teaser__meta strong {
  font-family: var(--font-display);
  font-size: 1rem;
}
.teaser__meta span {
  color: var(--accent);
  font-weight: 700;
  font-size: 14px;
}
.teaser__actions {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}
.btn--dir {
  justify-content: center;
  min-height: 56px;
  padding: 16px 22px;
  font-size: 17px;
  font-weight: 800;
  background: var(--accent);
  color: var(--ink);
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(227, 38, 45, 0.22);
}
.btn--dir:hover { filter: brightness(1.06); color: var(--ink); }
.btn--dir-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line-strong);
  box-shadow: none;
}
.btn--dir-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  filter: none;
}

@media (min-width: 760px) {
  .teaser { grid-template-columns: 1fr 1fr; }
  .teaser__actions {
    grid-template-columns: 1fr 1fr;
    max-width: 860px;
  }
}

/* ---------- Work blocks on service pages ---------- */
.work {
  margin-top: 48px;
  padding-top: 8px;
}
.work:first-of-type { margin-top: 32px; }
.work__title {
  font-size: clamp(1.2rem, 2.4vw, 1.55rem);
  margin-bottom: 8px;
}
.work__lead {
  color: var(--text-muted);
  margin-bottom: 20px;
  max-width: 70ch;
}
.work-grid {
  display: grid;
  gap: 16px;
}
.work-grid .gallery__item { margin: 0; }
.work-more {
  margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  padding: 4px 8px 8px;
}
.work-more > summary {
  cursor: pointer;
  list-style: none;
  padding: 14px 12px;
  font-weight: 700;
  color: var(--accent);
}
.work-more > summary::-webkit-details-marker { display: none; }
.work-more > summary::after { content: " +"; }
.work-more[open] > summary::after { content: " −"; }
.work-more .work-grid { padding: 0 8px 12px; }

@media (min-width: 760px) {
  .work-grid { grid-template-columns: 1fr 1fr; }
  .work-grid--3 { grid-template-columns: 1fr 1fr 1fr; }
  .work-grid .gallery__item.is-wide { grid-column: 1 / -1; }
}

.nav-mobile .nav-truck { font-size: 15px; }

/* Teaser & work photo framing (override earlier rules) */
html { scroll-padding-top: calc(var(--header-h) + 10px); }
#gallery, .work, #directions, #services, #brands { scroll-margin-top: calc(var(--header-h) + 10px); }

.teaser__card img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 35%;
  display: block;
}

.work-grid a.shot img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 40%;
}
.work-grid .is-wide a.shot img {
  aspect-ratio: 16 / 10;
  object-position: center 35%;
}

/* Labels must be positioned relative to the photo, including work-grid shots */
.work-grid a.shot,
.teaser__card {
  position: relative;
  display: block;
}

/* ================= 2026-11 redesign: dark/red hero + story galleries ================= */
:root { --red: #e3262d; --red-dark: #b5161c; }

/* header: red accent, consistent on all pages */
.header { border-bottom: 1px solid rgba(227, 38, 45, 0.35); }
.logo__mark { width: 38px; height: 34px; }
.logo__name { letter-spacing: 0.01em; }
.logo__name::after { content: "."; color: var(--red); }
.logo__tag { color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.18em; font-size: 10px; }
.nav a[aria-current="page"] { color: var(--text); box-shadow: inset 0 -2px 0 var(--red); }
.hero--sub .eyebrow { color: #ff6a6f; border-left: 3px solid var(--red); padding-left: 10px; }
.hero--sub .hero__bg {
  background:
    radial-gradient(800px 420px at 90% 0%, rgba(227, 38, 45, 0.18), transparent 60%),
    linear-gradient(180deg, #0c0d11 0%, var(--bg) 100%);
}

/* ---------- hero ---------- */
.hx { position: relative; isolation: isolate; overflow: hidden; padding: 28px 0 0; background: #08090b; }
.hx__bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(700px 420px at 100% 0%, rgba(227, 38, 45, 0.16), transparent 60%),
    radial-gradient(600px 500px at 0% 100%, rgba(255, 255, 255, 0.04), transparent 60%),
    linear-gradient(180deg, #0d0e12 0%, #08090b 100%);
}
.hx__grid {
  display: grid; gap: 22px;
  grid-template-areas: "head" "ba" "list" "dirs" "cta";
}
.hx__head { grid-area: head; }
.hx__ba { grid-area: ba; margin: 0; }
.hx__list { grid-area: list; }
.hx__cta { grid-area: cta; }
.hx__dirs { grid-area: dirs; }

.hx__kicker {
  margin: 0 0 10px; font-size: 12px; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--text-dim);
}
.hx__title {
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(2.5rem, 11.5vw, 4.6rem); line-height: 0.98; letter-spacing: -0.01em;
  margin: 0 0 16px; color: #fff;
}
.hx__sub {
  margin: 0; padding-left: 14px; border-left: 4px solid var(--red);
  color: #d9d4cc; font-size: 1.05rem; line-height: 1.45; max-width: 34ch;
}

/* before / after with a diagonal split (CSS clip-path) */
.hx__ba-link {
  position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden;
  border-radius: 16px; background: #15171c; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}
.hx__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hx__img--after { clip-path: polygon(58% 0, 100% 0, 100% 100%, 42% 100%); }
.hx__ba-link::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  clip-path: polygon(57.6% 0, 58.4% 0, 42.4% 100%, 41.6% 100%);
  background: #fff;
}
.hx__tag {
  position: absolute; bottom: 12px; padding: 5px 12px; border-radius: 6px;
  font-size: 12px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
}
.hx__tag--before { left: 12px; background: rgba(8, 9, 11, 0.78); color: #fff; }
.hx__tag--after { right: 12px; background: var(--red); color: #fff; }
.hx__ba-cap { margin-top: 8px; font-size: 12px; color: var(--text-dim); }

.hx__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.hx__list li { display: flex; gap: 14px; align-items: center; color: #cfcac2; font-size: 15px; line-height: 1.35; }
.hx__list strong { color: #fff; font-weight: 700; }
.hx__ico { flex: 0 0 auto; width: 40px; height: 40px; color: var(--red); }

.hx__cta { display: grid; gap: 10px; }
.hx__cta .btn { justify-content: center; width: 100%; }
.hx__call { background: var(--red); color: #fff; border: 0; font-weight: 800; }
.hx__call:hover { background: var(--red-dark); color: #fff; }

.hx__dirs { display: grid; gap: 10px; }
.hx__dir {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 18px 20px; border-radius: 14px; text-decoration: none;
  background: #14161b; border: 1px solid rgba(255, 255, 255, 0.1); border-left: 4px solid var(--red);
  color: #fff; font-family: var(--font-display); font-size: 1.05rem; font-weight: 600;
  transition: background 0.2s ease, transform 0.2s ease;
}
.hx__dir b { color: var(--red); font-size: 1.4rem; }
.hx__dir:hover { background: #1b1e25; transform: translateY(-1px); color: #fff; }

.hx__strip {
  display: flex; align-items: center; gap: 14px; margin-top: 28px;
  padding-top: 18px; padding-bottom: 18px; border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.hx__strip p { margin: 0; color: #d9d4cc; font-size: 15px; white-space: nowrap; }
.hx__strip strong { font-family: var(--font-display); font-style: italic; color: #fff; }
.hx__slash { width: 4px; height: 26px; background: var(--red); transform: skewX(-20deg); flex: 0 0 auto; }
.hx__line { flex: 1 1 auto; height: 6px; background: linear-gradient(90deg, transparent, var(--red) 30%); transform: skewX(-30deg); min-width: 30px; }

@media (min-width: 760px) {
  .hx__cta { grid-template-columns: 1fr 1fr; }
  .hx__dirs { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 960px) {
  .hx { padding-top: 44px; }
  .hx__grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    grid-template-areas: "head ba" "list ba" "dirs ba" "cta ba";
    column-gap: 44px; row-gap: 24px; align-items: start;
  }
  .hx__ba { align-self: center; }
  .hx__ba-link { aspect-ratio: 4 / 3.4; border-radius: 20px; }
  .hx__cta { grid-template-columns: 1fr 1fr; max-width: none; }
  .hx__strip p { font-size: 17px; }
}
@media (min-width: 1160px) {
  .hx__cta { grid-template-columns: 1fr 1fr; max-width: none; }
}

/* ---------- story galleries ---------- */
.work-toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.work-toc a {
  padding: 8px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; text-decoration: none;
  color: #e8e3db; background: #15171c; border: 1px solid rgba(255, 255, 255, 0.1);
}
.work-toc a:hover { border-color: var(--red); color: #fff; }
.work { border-top: 1px solid rgba(255, 255, 255, 0.07); padding-top: 28px; }
.work__title { border-left: 4px solid var(--red); padding-left: 12px; }
.work__count { margin: -12px 0 14px; font-size: 13px; color: var(--text-dim); }
.work-grid--story, .work-grid--more { grid-template-columns: 1fr 1fr; gap: 10px; }
.work-grid--story .gallery__item.is-wide { grid-column: 1 / -1; }
.work-grid--story .gallery__caption, .work-grid--more .gallery__caption { padding: 8px 10px 10px; font-size: 13px; line-height: 1.35; }
.work-grid--story .gallery__label, .work-grid--more .gallery__label { top: 8px; left: 8px; font-size: 10px; padding: 3px 8px; }
.work-grid--story a.shot img, .work-grid--more a.shot img { aspect-ratio: 4 / 3; object-fit: cover; object-position: center; }
.work-grid--story .is-wide a.shot img { aspect-ratio: 16 / 10; }
.work-more > summary { color: #fff; }
.work-more > summary::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 8px; background: var(--red); border-radius: 2px; }
@media (min-width: 760px) {
  .work-grid--story { gap: 16px; }
  .work-grid--more { grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
  .work-grid--story .gallery__caption { font-size: 14px; padding: 12px 14px 14px; }
}
.teaser { grid-template-columns: 1fr 1fr; gap: 10px; }
.teaser__meta { padding: 10px 12px 12px; }
.teaser__meta strong { font-size: 0.85rem; line-height: 1.3; }
.teaser__meta span { color: #ff6a6f; font-size: 13px; }
@media (min-width: 760px) {
  .teaser { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .teaser__meta strong { font-size: 0.95rem; }
}

/* site-wide switch from yellow to the brand red (matches the new hero) */
:root { --accent: #ff4a51; --accent-soft: rgba(227, 38, 45, 0.16); --accent-hot: #e3262d; --accent-glow: rgba(227, 38, 45, 0.35); --yellow: #ff4a51; }
.dir-card__go, .page-switch a.is-current, .btn--dir { background: var(--red); color: #fff; border-color: var(--red); }
.btn--dir { box-shadow: 0 10px 28px rgba(227, 38, 45, 0.25); }
.btn--dir:hover { color: #fff; }
.btn--primary { background: var(--red); }
.dir-card:hover .dir-card__go { background: var(--red-dark, #b81d23); color: #fff; }


/* ---------- Subpage hero: real photo / before-after in the art card ---------- */
.hero-art--ba {
  padding: 0;
  background: #111;
  min-height: 0;
}
.hero-art--ba .hx__ba-link {
  border-radius: 0;
  box-shadow: none;
  aspect-ratio: 4 / 3.4;
}
.hero-art--ba .hx__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 0;
}


/* ---------- Avito (subtle secondary) ---------- */
.btn--avito {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-weight: 600;
}
.btn--avito:hover {
  border-color: var(--red);
  color: #fff;
  background: rgba(227, 38, 45, 0.12);
}
.hx__cta .btn--avito {
  font-weight: 600;
}
@media (min-width: 760px) {
  .hx__cta .btn--avito { grid-column: auto; }
}
.footer .btn--avito:hover { color: #fff; }

/* ---------- Related landing pages (compact, no layout break) ---------- */
.more-pages-section {
  padding: 40px 0;
}
.more-pages-section .eyebrow {
  margin-bottom: 8px;
}
.more-pages-section h2 {
  margin: 0 0 16px;
  font-size: 1.35rem;
}
.more-pages {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
}
.more-pages a {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: var(--bg-card);
  color: var(--text);
  font-weight: 600;
  font-size: 15px;
  line-height: 1.3;
  text-decoration: none;
}
.more-pages a:hover,
.more-pages a:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
}
.seo-text + .seo-text {
  margin-top: 14px;
}
.location-block .map {
  margin-top: 24px;
}

/* ---------- Top banner (homepage) ---------- */
.top-banner { background: #08090b; padding: 20px 0 0; }
.top-banner picture { display: block; }
.top-banner__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
@media (max-width: 600px) {
  .top-banner { padding-top: 12px; }
  .top-banner__img { border-radius: var(--radius-sm); }
}

/* ---------- Works by brand ---------- */
#brands { scroll-margin-top: calc(var(--header-h) + 10px); }
.brands { padding: 32px 0 36px; }
.brands .lead { margin: 0 0 18px; }
.brands__grid {
  display: grid;
  gap: 12px;
}
.brands__group {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 16px 14px 14px;
  box-shadow: inset 4px 0 0 var(--red);
}
.brands__group h3 {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  margin: 0 0 12px;
  line-height: 1.25;
}
.brands__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
a.brands__chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  color: var(--text);
  background: #15171c;
  border: 1px solid rgba(255, 255, 255, 0.1);
  -webkit-tap-highlight-color: transparent;
}
a.brands__chip:hover,
a.brands__chip:focus-visible {
  border-color: var(--red);
  color: #fff;
  outline: none;
}
a.brands__chip--other {
  border-color: var(--red);
  color: #fff;
  background: rgba(227, 38, 45, 0.16);
}
a.brands__chip--other:hover,
a.brands__chip--other:focus-visible {
  background: var(--red);
  color: #fff;
}
.brands__more {
  margin-top: 12px;
}
.brands--strip { padding: 20px 0 8px; }
.brands--strip .lead { display: none; }
.brands--strip h2 { font-size: 1.25rem; margin-bottom: 12px; }
.brands--strip .eyebrow { margin-bottom: 8px; }
.brands--strip .brands__group { padding: 14px 12px 12px; }
@media (min-width: 760px) {
  .brands { padding: 48px 0 56px; }
  .brands__grid { grid-template-columns: 1fr 1fr; gap: 20px; align-items: stretch; }
  .brands__group {
    padding: 20px 20px 18px;
    border-radius: var(--radius);
  }
  .brands__group h3 { font-size: 1.15rem; }
  .brands--strip { padding: 28px 0 8px; }
  .brands--strip h2 { font-size: 1.5rem; }
}

.brands__search { margin: 0 0 18px; max-width: 36rem; }
.brands__search-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}
.brands__search-wrap { position: relative; }
.brands__input {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #15171c;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px; /* avoid iOS zoom */
  line-height: 1.3;
  outline: none;
  box-sizing: border-box;
}
.brands__input::placeholder { color: var(--text-dim); }
.brands__input:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(227, 38, 45, 0.22);
}
.brands__suggest {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  z-index: 20;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: #1c1f27;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
  max-height: min(280px, 50vh);
  overflow: auto;
}
.brands__suggest-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  width: 100%;
  min-height: 44px;
  padding: 8px 12px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}
.brands__suggest-item small {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-dim);
}
.brands__suggest-item:hover,
.brands__suggest-item.is-active {
  background: rgba(227, 38, 45, 0.16);
  color: #fff;
}
.brands__empty {
  margin: 10px 0 0;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.45;
}
.brands__empty a {
  color: #ff6a6f;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.brands__empty a:hover { color: #fff; }
@media (min-width: 760px) {
  .brands__search { margin-bottom: 22px; }
  .brands__input { min-height: 52px; border-radius: 16px; }
}
