/* Global Motor Traders — redesign
   Palette: ink, concrete, paper, GMT crimson (from the logo), bayside blue, slate
   Type: Archivo, one variable family. Expanded width for display and prices,
   normal width for reading. */

:root {
  --ink: #0d1420;
  --ink-2: #18212f;
  --concrete: #eceef0;
  --paper: #ffffff;
  --line: #d5d9de;
  --crimson: #d9063e;
  --crimson-bright: #ed0745;
  --blue: #1e4fc2;
  --blue-soft: #e4ebfb;
  --slate: #56606e;
  --text: #121a26;

  --r: 4px;
  --wrap: 1280px;
  --gutter: clamp(16px, 4vw, 40px);
  --display: "Archivo", "Arial Black", sans-serif;
  --body: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--concrete);
  color: var(--text);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.55;
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ol, ul, dl, dd { margin: 0; }
ol, ul { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 2px; }
.site-header :focus-visible, .importing :focus-visible,
.contact :focus-visible, .site-footer :focus-visible { outline-color: #fff; }
.search :focus-visible, .checker :focus-visible, .contact-form :focus-visible { outline-color: var(--blue); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--paper); padding: 10px 14px; border-radius: var(--r); }
.skip:focus { left: 8px; }

h2 {
  font-family: var(--display);
  font-stretch: 125%;
  font-weight: 800;
  font-size: clamp(1.75rem, 3.2vw, 2.75rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.h-small { font-size: 1.125rem; letter-spacing: -0.01em; }
h3 { font-family: var(--display); font-stretch: 112%; font-weight: 700; font-size: 1.125rem; line-height: 1.25; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px;
  border: 1.5px solid transparent; border-radius: var(--r);
  font-weight: 700; font-stretch: 108%; font-size: 0.975rem; text-decoration: none; white-space: nowrap;
  cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn-small { min-height: 40px; padding: 0 16px; font-size: 0.9rem; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.btn-primary { background: var(--crimson); color: #fff; }
.btn-primary:hover { background: #b90435; }
.btn-ghost { background: transparent; border-color: var(--text); color: var(--text); }
.btn-ghost:hover { background: var(--text); color: #fff; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--ink); color: #fff; }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 68px; }
.logo img { height: 28px; width: auto; }
.site-nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); }
.site-nav a:not(.btn) { text-decoration: none; font-size: 0.95rem; font-weight: 500; color: #d6dbe3; padding: 8px 0; }
.site-nav a:not(.btn):hover { color: #fff; }
.site-nav .nav-phone { font-weight: 700; color: #fff; font-variant-numeric: tabular-nums; }
.nav-toggle { display: none; min-height: 44px; padding: 0 16px; background: transparent; color: #fff; border: 1.5px solid #4a5568; border-radius: var(--r); font-weight: 700; cursor: pointer; }

/* Hero */
.hero { position: relative; background: var(--concrete); color: var(--text); }
.hero-media { position: absolute; inset: 0; overflow: hidden; }
/* 16:9 image. The hero is shorter than the image, so the crop is split: enough sky goes
   to keep the arch top in frame, enough road stays for the copy to sit on. */
/* 21:9 image, zoomed out so the scene (arch top ≈45% down, tyres ≈88%) fits in a hero
   about 27% as tall as the viewport is wide. object-position 72% centres that band.
   Nothing overlaps the car: the search bar sits in its own band below. */
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 44%; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(236,238,240,.7) 0%, rgba(236,238,240,.25) 14%, rgba(236,238,240,0) 28%);
}
.hero-inner {
  position: relative;
  display: flex; align-items: flex-end;
  min-height: clamp(440px, 36vw, 80vh);
  padding-top: 0;
  padding-bottom: 32px;
}
.hero-copy { max-width: 680px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-outline { background: rgba(255,255,255,.55); border-color: var(--text); color: var(--text); }
.btn-outline:hover { background: var(--text); color: #fff; }
.hero h1 {
  font-family: var(--display);
  font-stretch: 125%;
  font-weight: 800;
  font-size: clamp(2.1rem, 3vw, 2.75rem);
  line-height: 0.98;
  letter-spacing: -0.025em;
}
.hero h1 .line { display: block; }
.hero-sub { margin-top: 12px; max-width: 56ch; font-size: clamp(1.05rem, 1.3vw, 1.15rem); color: #2f3946; }

/* Search bar in its own band directly under the hero */
.search-band { padding: 20px 0 12px; }
.search {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: repeat(3, 1fr) auto; gap: 0;
  background: var(--paper); color: var(--text);
  border-radius: var(--r);
  box-shadow: 0 18px 40px -18px rgba(13,20,32,.45), 0 0 0 1px rgba(13,20,32,.06);
  padding: 10px;
}
.search label { display: grid; gap: 2px; padding: 6px 16px; border-right: 1px solid var(--line); }
.search label span { font-size: 0.8rem; color: var(--slate); }
.search select {
  appearance: none; border: 0; background: transparent; padding: 2px 22px 4px 0; width: 100%;
  font-weight: 700; font-size: 1.05rem; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23121a26' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 2px center;
}
.search .btn { margin-left: 10px; min-height: 60px; padding: 0 30px; }

/* Model rail */
.models { position: relative; padding: 20px 0 8px; }
.model-rail { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin-top: 14px; }
.model {
  display: grid; gap: 2px; text-align: left;
  padding: 14px 16px; background: var(--paper);
  border: 1.5px solid transparent; border-radius: var(--r);
  cursor: pointer; transition: border-color .15s;
}
.model:hover { border-color: var(--text); }
.model.is-on { background: var(--ink); color: #fff; }
.model-code { font-family: var(--display); font-stretch: 125%; font-weight: 800; font-size: 1.2rem; letter-spacing: -0.01em; }
.model-name { font-size: 0.9rem; color: var(--slate); }
.model-count { font-size: 0.8rem; color: var(--slate); font-variant-numeric: tabular-nums; }
.model.is-on .model-name, .model.is-on .model-count { color: #b8c0cc; }

/* Inventory */
.inventory { padding: clamp(40px, 6vw, 72px) 0 clamp(56px, 8vw, 96px); }
.inventory > .wrap { max-width: 1680px; }
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 32px; margin-bottom: 24px; }
.section-head p { color: var(--slate); max-width: 52ch; }

/* Sidebar filters + results, as on the live inventory page */
.inv-layout { display: grid; grid-template-columns: 272px minmax(0, 1fr); gap: 28px; align-items: start; }
.inv-side { position: sticky; top: 88px; display: grid; gap: 20px; }
.side-title { font-size: 1rem; font-weight: 700; padding-bottom: 8px; margin-bottom: 14px; position: relative; }
.side-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 28px; height: 2px; background: var(--crimson); }
.kw {
  width: 100%; min-height: 46px; padding: 0 42px 0 14px;
  border: 1.5px solid var(--line); border-radius: var(--r);
  background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Ccircle cx='6.5' cy='6.5' r='5' fill='none' stroke='%23d9063e' stroke-width='2'/%3E%3Cpath d='M10.5 10.5L15 15' stroke='%23d9063e' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 14px center;
  color: var(--text); font-size: 0.95rem;
}
.kw::placeholder { color: var(--slate); }
.kw:focus { outline: none; border-color: var(--text); }
.filter-box { background: var(--paper); border-radius: var(--r); padding: 20px 18px 18px; display: grid; gap: 10px; }
.filter-box .side-title { margin-bottom: 4px; }
.match-count { color: var(--crimson); font-weight: 700; font-size: 0.95rem; margin-bottom: 4px; font-variant-numeric: tabular-nums; }
.filter-box select, .sort select {
  appearance: none; min-height: 44px; width: 100%; padding: 0 36px 0 12px;
  border: 1.5px solid var(--line); border-radius: var(--r);
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23121a26' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 12px center;
  color: var(--text); font-weight: 600; font-size: 0.95rem; cursor: pointer;
}
.filter-box select:hover, .sort select:hover { border-color: var(--text); }
.filter-box .btn { justify-self: start; margin-top: 6px; }
.filter-box .btn:disabled { opacity: .45; cursor: default; }

.inv-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.crumbs { color: var(--slate); font-size: 0.95rem; }
.crumbs a { color: var(--slate); text-decoration: none; }
.crumbs a:hover { color: var(--text); }
.crumbs span { margin: 0 6px; }
.toolbar-tools { display: flex; align-items: center; gap: 10px; }
.sort { display: flex; align-items: center; }
.sort select { width: auto; min-height: 40px; background-color: var(--paper); }
.view-toggle { display: flex; gap: 4px; }
.view-toggle button {
  display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px;
  border: 1.5px solid var(--line); border-radius: var(--r); background: var(--paper); color: var(--slate); cursor: pointer;
}
.view-toggle button:hover { border-color: var(--text); color: var(--text); }
.view-toggle button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid.is-list { grid-template-columns: 1fr; }
.grid.is-list .car { flex-direction: row; }
.grid.is-list .car-photo { flex: 0 0 320px; aspect-ratio: auto; }
.grid.is-list .car-body { padding: 22px 24px; }
.grid.is-list .car-cta { width: auto; align-self: flex-start; }

.car { display: flex; flex-direction: column; background: var(--paper); border-radius: var(--r); overflow: hidden; }
.car-photo { display: block; position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--ink-2); }
.car-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.car:hover .car-photo img { transform: scale(1.035); }
.badge { position: absolute; top: 12px; left: 12px; padding: 4px 10px; border-radius: 2px; font-size: 0.8rem; font-weight: 700; background: var(--paper); color: var(--text); }
.badge.soon { background: var(--ink); color: #fff; }

.car-body { display: flex; flex-direction: column; flex: 1; padding: 18px 18px 16px; }
.car-title { font-family: var(--display); font-stretch: 112%; font-weight: 700; font-size: 1.15rem; line-height: 1.2; }
.car-title a { text-decoration: none; }
.car-title a:hover { text-decoration: underline; }
.car-note { margin-top: 4px; color: var(--slate); font-size: 0.925rem; }

.specs { display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; gap: 12px; margin: 16px 0; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.specs dt { font-size: 0.78rem; color: var(--slate); }
.specs dd { font-weight: 700; font-size: 0.95rem; font-variant-numeric: tabular-nums; }
.legal { color: var(--blue); }

.car-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; }
.price { font-family: var(--display); font-stretch: 125%; font-weight: 800; font-size: 1.5rem; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.price.ask { font-size: 1.05rem; letter-spacing: 0; }

.car .price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; margin: 12px 0 14px; }
.price-aud { font-family: var(--body, inherit); font-stretch: 100%; font-weight: 500; font-size: 0.875rem; letter-spacing: 0; color: var(--slate); }
.car-meta { display: flex; flex-wrap: wrap; gap: 8px 13px; list-style: none; margin: 0; padding: 12px 0; border-top: 1px solid var(--line); font-size: 0.8125rem; font-variant-numeric: tabular-nums; }
.car-meta li { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.car-meta svg { flex: none; width: 15px; height: 15px; fill: none; stroke: var(--slate); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.car-meta .legal { font-weight: 600; }
.car-meta .legal svg { stroke: currentColor; }
.car-cta { display: flex; justify-content: center; width: 100%; margin-top: auto; }
.car-meta + .car-cta { margin-top: auto; }
.car-body > .car-meta:last-of-type { margin-bottom: 6px; }

.empty { padding: 48px 24px; text-align: center; background: var(--paper); border-radius: var(--r); }
.empty p { margin: 8px auto 20px; max-width: 48ch; color: var(--slate); }
.empty .btn { margin: 4px; }
.inv-more { margin-top: 32px; text-align: center; }

/* Importing */
.importing { background: var(--ink); color: #fff; padding: clamp(56px, 8vw, 104px) 0; }
.importing-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.lede { margin-top: 16px; max-width: 56ch; font-size: 1.1rem; color: #cfd5de; }
.steps { counter-reset: step; margin-top: 36px; display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 44px 1fr; gap: 0 12px; padding: 20px 0; border-top: 1px solid #2a3443; }
.steps li::before {
  content: counter(step);
  grid-row: span 2;
  font-family: var(--display); font-stretch: 125%; font-weight: 800; font-size: 1.75rem; line-height: 1;
  color: var(--crimson-bright);
}
.steps p { color: #b8c0cc; font-size: 0.975rem; margin-top: 4px; }

.checker { background: var(--paper); color: var(--text); border-radius: var(--r); padding: 28px; position: sticky; top: 92px; }
.checker h3 { font-size: 1.35rem; font-stretch: 125%; font-weight: 800; }
.checker > p { margin-top: 8px; color: var(--slate); font-size: 0.975rem; }
.checker-form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; }
.checker-form label, .contact-form label { display: grid; gap: 6px; font-size: 0.9rem; font-weight: 600; }
.checker-form select, .contact-form input, .contact-form textarea {
  min-height: 48px; padding: 10px 12px; width: 100%;
  border: 1.5px solid var(--line); border-radius: var(--r); background: var(--paper); font-weight: 500;
}
.checker-form select:hover, .contact-form input:hover, .contact-form textarea:hover { border-color: #9aa3af; }
.checker .checker-result { margin-top: 16px; padding: 14px 16px; border-radius: var(--r); background: var(--blue-soft); color: #143a92; font-weight: 700; font-size: 1.05rem; }
.checker .checker-result.wait { background: #fde8ee; color: #9c0430; }
.checker .checker-note { font-size: 0.9rem; }

/* Sold */
.sold { padding: clamp(56px, 8vw, 96px) 0; }
.sold-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.sold-strip li { position: relative; }
.sold-strip img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); }
.sold-strip p { margin-top: 8px; font-size: 0.925rem; font-weight: 600; }
.stamp { position: absolute; top: 10px; left: 10px; padding: 3px 9px; border-radius: 2px; background: var(--crimson); color: #fff; font-size: 0.8rem; font-weight: 800; font-stretch: 125%; }

/* Services */
.services { background: var(--paper); padding: clamp(56px, 8vw, 104px) 0; }
.services-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.services-intro p { margin-top: 16px; color: var(--slate); max-width: 48ch; font-size: 1.05rem; }
.services-intro img { margin-top: 28px; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r); }
.service-list > div { display: grid; grid-template-columns: 200px 1fr; gap: 8px 24px; padding: 20px 0; border-top: 1px solid var(--line); }
.service-list > div:last-child { border-bottom: 1px solid var(--line); }
.service-list dt { font-family: var(--display); font-stretch: 112%; font-weight: 700; font-size: 1.05rem; }
.service-list dd { color: var(--slate); }

/* FAQ */
.faq { padding: clamp(56px, 8vw, 104px) 0; }
.faq-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(24px, 6vw, 88px); align-items: start; }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font-weight: 700; font-size: 1.1rem; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; flex: none; font-size: 1.5rem; font-weight: 400; line-height: 1; color: var(--crimson); transition: transform .2s var(--ease); }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { padding: 0 48px 22px 0; max-width: 64ch; color: var(--slate); }
.faq-list a { color: var(--blue); font-weight: 600; }

/* Contact */
.contact { background: var(--ink); color: #fff; padding: clamp(56px, 8vw, 104px) 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.contact-copy > p { margin-top: 12px; color: #cfd5de; font-size: 1.1rem; }
.contact-list { margin-top: 32px; }
.contact-list > div { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 14px 0; border-top: 1px solid #2a3443; }
.contact-list dt { color: #aab3c0; font-size: 0.925rem; }
.contact-list dd { font-weight: 600; overflow-wrap: anywhere; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; background: var(--paper); color: var(--text); padding: clamp(20px, 3vw, 32px); border-radius: var(--r); }
.contact-form .full { grid-column: 1 / -1; }
.contact-form textarea { resize: vertical; }
.contact-form [aria-invalid="true"] { border-color: var(--crimson); }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.form-status { font-size: 0.95rem; font-weight: 600; color: var(--slate); }
.form-status.error { color: var(--crimson); }

/* Footer */
.site-footer { background: var(--ink); color: #aab3c0; border-top: 1px solid #2a3443; padding: 28px 0; font-size: 0.925rem; }
.footer-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.footer-row img { height: 24px; width: auto; }
.footer-row nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-row a { text-decoration: none; }
.footer-row a:hover { color: #fff; }

/* One orchestrated moment: the hero settles in on load */
@media (prefers-reduced-motion: no-preference) {
  .hero-media img { animation: settle 1.6s var(--ease) both; }
  .hero h1 .line { animation: rise .8s var(--ease) both; }
  .hero h1 .line:nth-child(2) { animation-delay: .09s; }
  .hero h1 .line:nth-child(3) { animation-delay: .18s; }
  .hero h1 .line:nth-child(4) { animation-delay: .27s; }
  .hero-sub, .hero-actions { animation: fade .8s ease .45s both; }
  .search { animation: dock .7s var(--ease) .55s both; }
  @keyframes settle { from { transform: scale(1.07); } to { transform: none; } }
  @keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
  @keyframes fade { from { opacity: 0; } to { opacity: 1; } }
  @keyframes dock { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* Tablet */
@media (max-width: 1366px) {
  .hero h1 { font-size: 2.25rem; }
}

@media (max-width: 1080px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .model-rail { grid-template-columns: repeat(3, 1fr); }
  .importing-grid, .services-grid, .faq-grid, .contact-grid { grid-template-columns: 1fr; }
  .checker { position: static; }
  .sold-strip { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: minmax(220px, 1fr); overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x proximity; }
  .sold-strip li { scroll-snap-align: start; }

  .nav-toggle { display: inline-flex; align-items: center; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: var(--ink); padding: 8px var(--gutter) 20px; border-top: 1px solid #2a3443; }
  .site-nav.is-open { display: flex; }
  .site-nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid #2a3443; font-size: 1.05rem; }
  .site-nav .btn { margin-top: 16px; min-height: 48px; }
}

/* Phone */
@media (max-width: 720px) {
  .hero-media { position: relative; inset: auto; aspect-ratio: 2 / 1; }
  .hero-media img { object-position: 85% 50%; }
  .hero-media::after { background: none; }
  .hero-inner { min-height: 0; padding-top: 16px; padding-bottom: 4px; margin-top: 0; }
  .hero-actions .btn { flex: 1 1 auto; }

  .search { grid-template-columns: 1fr; padding: 8px; }
  .toolbar-tools { width: 100%; }
  .toolbar-tools .sort { flex: 1; }
  .toolbar-tools .sort select { width: 100%; }
  .grid.is-list .car { flex-direction: column; }
  .grid.is-list .car-photo { flex: none; aspect-ratio: 4 / 3; }
  .search label { border-right: 0; border-bottom: 1px solid var(--line); padding: 10px 12px; }
  .search .btn { margin: 8px 0 0; min-height: 52px; }

  .model-rail { grid-template-columns: repeat(2, 1fr); }
  .grid { grid-template-columns: 1fr; }
  .inv-layout { grid-template-columns: 1fr; gap: 20px; }
  .inv-side { position: static; }
  .steps { grid-template-columns: 1fr; }
  .service-list > div { grid-template-columns: 1fr; }
  .contact-form { grid-template-columns: 1fr; }
  .contact-list > div { grid-template-columns: 80px 1fr; }
  .faq-list details p { padding-right: 0; }
  .filters { align-items: stretch; }
  .sort { width: 100%; justify-content: space-between; }
}
