/*
Theme Name: SLC Auto
Theme URI: https://slc-auto.com/
Author: JAVV Digital
Author URI: https://javv-digital.com/
Description: Jednostranična tema za SLC Auto – uvoz vozila po narudžbi iz EU. Svi tekstovi, slike, kontakt podaci, boje i Google Tag postavke uređuju se u Customizeru (Izgled → Prilagodi → SLC Auto). Uključuje obrazac za upit sa spremanjem upita i slanjem e-maila, Google Consent Mode v2, praćenje konverzija za Google Ads i lokalno učitane fontove.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: slc-auto
*/

/* ---------- Fonts (lokalno, bez Google servera) ---------- */
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url("assets/fonts/archivo-latin-ext-wdth-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url("assets/fonts/archivo-latin-wdth-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url("assets/fonts/ibm-plex-mono-latin-ext-500-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url("assets/fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens (boje dolaze iz Customizera kao inline CSS) ---------- */
:root {
  --paper: #F2F4F3;
  --surface: #FFFFFF;
  --ink: #111513;
  --ink-2: #525B56;
  --line: #DADFDC;
  --accent: #33B26D;
  --accent-hover: #46C680;
  --accent-ink: #18803F;
  --on-accent: #06150C;
  --graphite: #0E1110;
  --on-dark: #F1F3F2;
  --on-dark-2: #A3ABA7;
  --line-dark: #262B29;
  --ok: #18803F;
  --danger: #B42318;

  --f-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  --radius: 7px;
  --header-h: 70px;
  color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
[hidden] { display: none !important; }
[id] { scroll-margin-top: calc(var(--header-h) + 20px); }
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--f-display); margin: 0; text-wrap: balance; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.screen-reader-text {
  border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
  height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0;
  position: absolute !important; word-wrap: normal !important;
}
.skip-link:focus {
  clip: auto; clip-path: none; height: auto; width: auto; margin: 0;
  left: 12px; top: 12px; z-index: 100000;
  padding: 12px 18px; background: var(--surface); color: var(--ink);
  border-radius: var(--radius); font-weight: 650; text-decoration: none;
}

.wrap {
  max-width: 1180px;
  margin-inline: auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.ic {
  width: 20px; height: 20px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}
.eyebrow {
  font-family: var(--f-mono);
  font-size: 12.5px; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-2);
  display: flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 18px; height: 1px; background: currentColor; flex: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 22px;
  border-radius: var(--radius); border: 1px solid transparent;
  font-family: var(--f-body); font-size: 16px; font-weight: 650; font-stretch: 104%;
  line-height: 1.2; text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn .ic { width: 18px; height: 18px; }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-hover); color: var(--on-accent); }
.btn-primary[disabled] { opacity: .65; cursor: progress; }
.btn-outline-dark { background: transparent; color: var(--on-dark); border-color: var(--line-dark); }
.btn-outline-dark:hover { border-color: var(--on-dark-2); color: var(--on-dark); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--ink-2); }
.btn-sm { min-height: 42px; padding: 0 16px; font-size: 15px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: var(--graphite); color: var(--on-dark);
  border-bottom: 1px solid var(--line-dark);
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }
.site-header .wrap { display: flex; align-items: center; gap: 32px; min-height: var(--header-h); }
.logo { display: inline-flex; align-items: center; flex: none; line-height: 0; text-decoration: none; }
.logo img { height: 46px; width: auto; }
.site-footer .logo img { height: 60px; }
.nav { margin-left: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 28px; }
.nav a { color: var(--on-dark-2); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav a:hover, .nav .current-menu-item > a { color: var(--on-dark); }
.header-actions { display: flex; align-items: center; gap: 20px; }
.header-phone {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--on-dark); text-decoration: none;
  font-weight: 650; font-variant-numeric: tabular-nums;
}
.header-phone .ic { color: var(--accent); width: 18px; height: 18px; }

/* ---------- Hero ---------- */
.hero {
  background: radial-gradient(900px 420px at 88% -10%, color-mix(in srgb, var(--accent) 13%, transparent), transparent 65%), var(--graphite);
  color: var(--on-dark);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  gap: 64px; align-items: center;
  padding-block: 76px 88px;
}
.hero .eyebrow { color: var(--on-dark-2); }
.hero h1 {
  margin-top: 22px;
  font-size: clamp(2.15rem, 1.1rem + 3.4vw, 3.65rem);
  font-weight: 760; font-stretch: 116%;
  line-height: 1.04; letter-spacing: -.015em;
}
.hero-lead { margin-top: 22px; font-size: 18.5px; color: var(--on-dark-2); max-width: 34em; }
.checks { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 12px; }
.checks li { display: flex; align-items: center; gap: 12px; font-weight: 520; }
.tick {
  width: 26px; height: 26px; border-radius: 50%; flex: none;
  border: 1px solid var(--line-dark);
  display: grid; place-items: center; color: var(--accent);
}
.tick .ic { width: 14px; height: 14px; stroke-width: 2.6; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-sub { margin-top: 20px; font-size: 14.5px; color: var(--on-dark-2); }
.hero-sub a {
  color: var(--on-dark); text-underline-offset: 3px;
  display: inline-flex; align-items: center; gap: 5px;
}
.hero-sub .ic { width: 14px; height: 14px; }

/* ---------- Inquiry form ---------- */
.quote {
  background: var(--surface); color: var(--ink);
  border: 1px solid var(--line); border-radius: 12px;
  padding: 30px;
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .65);
}
.quote h2 { font-size: 23px; font-weight: 720; font-stretch: 112%; line-height: 1.15; }
.quote-intro { margin-top: 6px; color: var(--ink-2); font-size: 15px; }
.fields { display: grid; gap: 14px; margin-top: 22px; }
.row2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-size: 13.5px; font-weight: 600; }
.field .opt { font-weight: 400; color: var(--ink-2); }
.field input, .field select {
  width: 100%; height: 48px; padding: 0 13px; margin: 0;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--paper); color: var(--ink);
  font-family: var(--f-body); font-size: 16px;
}
.field input::placeholder { color: var(--ink-2); opacity: .75; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer; }
.select { position: relative; }
.select .ic {
  position: absolute; right: 13px; top: 50%; transform: translateY(-50%);
  width: 18px; height: 18px; color: var(--ink-2); pointer-events: none;
}
.field input:focus, .field select:focus {
  outline: none; border-color: var(--accent-ink);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 32%, transparent);
}
.field [aria-invalid="true"] { border-color: var(--danger); }
.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13.5px; line-height: 1.45; color: var(--ink-2); cursor: pointer;
}
.consent input { width: 18px; height: 18px; margin: 1px 0 0; flex: none; accent-color: var(--accent-ink); }
.consent.invalid span { color: var(--danger); }
.form-error { color: var(--danger); font-size: 14px; font-weight: 560; }
.quote .btn { width: 100%; margin-top: 4px; }
.quote-alt { font-size: 14px; color: var(--ink-2); text-align: center; }
.quote-alt a { color: var(--ink); font-weight: 650; text-decoration: none; font-variant-numeric: tabular-nums; }
.success { display: grid; gap: 12px; justify-items: start; outline: none; }
.success .badge {
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  color: var(--ok); background: color-mix(in srgb, var(--ok) 14%, transparent);
}
.success .badge .ic { width: 22px; height: 22px; stroke-width: 2.4; }
.success a { color: var(--ink); font-weight: 650; font-variant-numeric: tabular-nums; }

/* ---------- Sections ---------- */
.section { padding-block: 96px; }
.section-paper { background: var(--paper); }
.section-head {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px 64px; align-items: end; margin-bottom: 48px;
}
.section-head h2, .contact-intro h2 {
  margin-top: 14px;
  font-size: clamp(1.85rem, 1.2rem + 1.9vw, 2.7rem);
  font-weight: 720; font-stretch: 112%;
  line-height: 1.08; letter-spacing: -.01em;
}
.section-head > p, .section-head .aside p { color: var(--ink-2); font-size: 17px; max-width: 36em; }
.section-head .aside { display: grid; gap: 18px; justify-items: start; }

/* ---------- Services: 4-column hairline grid, first service spans two cells ---------- */
.services {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: 10px; overflow: hidden;
}
.service {
  background: var(--surface);
  padding: 32px 30px;
  display: flex; flex-direction: column; gap: 12px; min-width: 0;
}
.service-feature { grid-column: span 2; }
.service-feature h3 { font-size: 23px; font-stretch: 110%; }
.service-feature p { font-size: 16.5px; max-width: 30em; }
.service-feature .includes {
  list-style: none; margin: 4px 0 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 8px;
}
.service-feature .includes li {
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .04em;
  padding: 5px 10px; border-radius: 999px;
  border: 1px solid var(--line); color: var(--ink-2);
}
.service-icon {
  width: 46px; height: 46px; border-radius: 9px;
  border: 1px solid var(--line);
  display: grid; place-items: center; color: var(--ink);
  margin-bottom: 6px;
}
.service-icon .ic { width: 22px; height: 22px; }
.service h3 { font-size: 19.5px; font-weight: 680; font-stretch: 106%; line-height: 1.25; }
.service p { color: var(--ink-2); font-size: 15.5px; }
.service-link {
  margin-top: auto; padding-top: 10px; align-self: flex-start;
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--accent-ink); font-weight: 620; font-size: 15px; text-decoration: none;
}
.service-link .ic { width: 17px; height: 17px; transition: transform .15s; }
.service-link:hover .ic { transform: translateX(3px); }

/* ---------- Import steps ---------- */
.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(var(--steps, 5), minmax(0, 1fr)); gap: 28px;
}
.step { position: relative; display: grid; gap: 12px; align-content: start; min-width: 0; }
.step::before {
  content: ""; position: absolute; top: 17px; left: 44px; right: -18px;
  height: 1px; background: var(--line);
}
.step:last-child::before { display: none; }
.step-num {
  position: relative; width: 34px; height: 34px; border-radius: var(--radius);
  display: grid; place-items: center;
  background: var(--ink); color: var(--surface);
  font-family: var(--f-mono); font-size: 13px; font-weight: 500; font-variant-numeric: tabular-nums;
  margin-bottom: 6px;
}
.step h3 { font-size: 18px; font-weight: 680; font-stretch: 106%; line-height: 1.25; }
.step p { color: var(--ink-2); font-size: 15px; }

/* ---------- Reviews ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.review {
  position: relative; min-width: 0; margin: 0;
  display: flex; flex-direction: column; gap: 16px;
  padding: 26px; border-radius: 10px;
  background: var(--surface); border: 1px solid var(--line);
}
.stars { display: flex; gap: 3px; color: var(--accent); }
.stars .ic { width: 18px; height: 18px; fill: currentColor; stroke-width: 1.4; }
.stars .ic.off { fill: none; color: var(--line); }
.review blockquote { margin: 0; font-size: 16.5px; line-height: 1.6; }
.review-by { margin-top: auto; display: grid; gap: 2px; padding-top: 16px; border-top: 1px solid var(--line); }
.review-name { font-weight: 650; }
.review-meta { font-size: 14px; color: var(--ink-2); }
.review-empty { border-style: dashed; }
.review-empty .stars { color: var(--line); }
.review-empty blockquote, .review-empty .review-name { color: var(--ink-2); }
.review-flag {
  position: absolute; top: 22px; right: 22px;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-2);
}
.customizer-note {
  margin-top: 20px; padding: 14px 16px; border-radius: var(--radius);
  border: 1px dashed var(--line); color: var(--ink-2); font-size: 14px;
}

/* ---------- CTA band ---------- */
.cta-band { background: var(--graphite); color: var(--on-dark); }
.cta-band .wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 28px 48px; padding-block: 56px;
}
.cta-band h2 { font-size: clamp(1.6rem, 1.2rem + 1.3vw, 2.2rem); font-weight: 720; font-stretch: 112%; line-height: 1.1; }
.cta-band p { margin-top: 10px; color: var(--on-dark-2); max-width: 36em; }
.cta-band .btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Vehicles ---------- */
.cars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.car {
  display: flex; flex-direction: column; min-width: 0;
  text-decoration: none; color: inherit;
  background: var(--surface);
  border: 1px solid var(--line); border-radius: 10px; overflow: hidden;
  transition: border-color .15s;
}
.car:hover { border-color: var(--ink-2); }
.car-media { position: relative; aspect-ratio: 4 / 3; max-width: 100%; background: var(--paper); overflow: hidden; }
.car-ph {
  position: absolute; inset: 0;
  display: grid; place-content: center; justify-items: center; gap: 10px;
  color: var(--ink-2);
}
.car-ph::before {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(135deg, transparent 0 11px, var(--line) 11px 12px);
  opacity: .6;
}
.car-ph .ic, .car-ph span { position: relative; }
.car-ph .ic { width: 40px; height: 40px; stroke-width: 1.4; }
.car-ph span { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; }
.car-media img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; color: transparent;
  transition: transform .4s ease;
}
.car:hover .car-media img { transform: scale(1.03); }
.car-media.no-img img { display: none; }
.car-body { display: flex; flex-direction: column; gap: 6px; flex: 1; padding: 18px 20px 20px; }
.car-tag { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.car h3 { font-size: 18px; font-weight: 680; font-stretch: 104%; line-height: 1.3; }
.car-spec { font-size: 14.5px; color: var(--ink-2); }
.car-more {
  margin-top: auto; padding-top: 12px;
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--accent-ink); font-weight: 620; font-size: 14.5px;
}
.car-more .ic { width: 15px; height: 15px; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 48px 72px; align-items: start;
}
.contact-intro p { margin-top: 16px; color: var(--ink-2); font-size: 17px; max-width: 30em; }
.contact-intro .btn { margin-top: 28px; }
.contact-list { display: grid; border-top: 1px solid var(--line); }
.contact-item {
  display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 18px;
  padding-block: 20px; border-bottom: 1px solid var(--line); align-items: start;
}
.ci {
  width: 46px; height: 46px; border-radius: 9px;
  display: grid; place-items: center;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink);
}
.ci-label { font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.ci-value { margin-top: 4px; font-size: 17px; font-weight: 560; overflow-wrap: anywhere; }
.ci-value a { text-decoration: none; }
.ci-value.big { font-size: 24px; font-weight: 720; font-stretch: 108%; font-variant-numeric: tabular-nums; line-height: 1.25; }
.ci-note { margin-top: 4px; font-size: 14px; color: var(--ink-2); }
.ci-note a {
  color: var(--accent-ink); text-underline-offset: 3px;
  display: inline-flex; align-items: center; gap: 5px;
}
.ci-note .ic { width: 14px; height: 14px; }

/* ---------- Inner pages (politika kolačića, privatnost…) ---------- */
.page-hero { background: var(--graphite); color: var(--on-dark); }
.page-hero .wrap { padding-block: 56px 48px; }
.page-hero h1 { font-size: clamp(1.9rem, 1.2rem + 2.2vw, 2.9rem); font-weight: 740; font-stretch: 112%; line-height: 1.08; }
.entry { padding-block: 56px 88px; }
.entry-content { max-width: 720px; font-size: 17px; }
.entry-content > * + * { margin-top: 1.1em; }
.entry-content h2 { font-size: 26px; font-weight: 700; font-stretch: 108%; margin-top: 1.8em; }
.entry-content h3 { font-size: 20px; font-weight: 680; margin-top: 1.6em; }
.entry-content a:not(.btn) { color: var(--accent-ink); text-underline-offset: 3px; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; }
.entry-content th, .entry-content td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; }
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { margin-inline: auto; }
.wp-caption-text { font-size: 14px; color: var(--ink-2); }
.post-list { display: grid; gap: 28px; }
.post-list h2 { font-size: 22px; }
.post-list h2 a { text-decoration: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--graphite); color: var(--on-dark-2); font-size: 14.5px; }
.site-footer .wrap { padding-block: 48px 40px; display: grid; gap: 28px; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 24px 48px; }
.footer-brand p { margin-top: 12px; max-width: 26em; }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 28px; }
.footer-links a, .footer-legal a, .footer-legal button {
  color: var(--on-dark); text-decoration: none;
  display: inline-flex; align-items: center; gap: 5px;
}
.footer-links a:hover, .footer-legal a:hover, .footer-legal button:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-links .ic { width: 14px; height: 14px; }
.footer-legal button { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }
.footer-bottom {
  border-top: 1px solid var(--line-dark); padding-top: 22px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px;
}
.footer-legal { display: inline-flex; flex-wrap: wrap; gap: 6px 20px; }

/* ---------- Mobile action bar ---------- */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  display: none; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 10px;
  padding: 10px max(16px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
  background: var(--graphite); border-top: 1px solid var(--line-dark);
}
.mobile-bar .btn { min-height: 48px; padding: 0 12px; }

/* ---------- Cookie consent ---------- */
.cookie {
  position: fixed; z-index: 35;
  right: max(16px, env(safe-area-inset-right, 0px));
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  width: min(400px, calc(100% - 32px));
  display: grid; gap: 14px; padding: 20px;
  background: var(--surface); color: var(--ink);
  border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .45);
}
.cookie p { font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.cookie strong { display: block; margin-bottom: 4px; font-size: 15px; color: var(--ink); }
.cookie a { color: var(--ink); text-underline-offset: 3px; }
.cookie-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.cookie-btns .btn { flex: 1; min-height: 42px; font-size: 15px; padding: 0 14px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav { display: none; }
  .header-actions { margin-left: auto; }
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; padding-block: 48px 56px; }
  .cars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reviews { grid-template-columns: minmax(0, 1fr); max-width: 640px; }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .step { grid-template-columns: 34px minmax(0, 1fr); column-gap: 18px; row-gap: 4px; padding-bottom: 30px; }
  .step-num { grid-row: span 2; margin-bottom: 0; }
  .step h3, .step p { grid-column: 2; }
  .step h3 { padding-top: 5px; }
  .step::before { top: 42px; bottom: 6px; left: 17px; right: auto; width: 1px; height: auto; }
  .step:last-child { padding-bottom: 0; }
}
@media (max-width: 860px) {
  .section { padding-block: 64px; }
  .section-head { grid-template-columns: minmax(0, 1fr); margin-bottom: 32px; }
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  .header-actions .btn { display: none; }
  .mobile-bar { display: grid; }
  body { padding-bottom: 0; }
  .site-footer .wrap { padding-bottom: calc(40px + 72px); }
  .cookie {
    left: max(12px, env(safe-area-inset-left, 0px));
    right: max(12px, env(safe-area-inset-right, 0px));
    width: auto;
    bottom: calc(80px + env(safe-area-inset-bottom, 0px));
  }
}
@media (max-width: 620px) {
  .services, .cars { grid-template-columns: minmax(0, 1fr); }
  .service-feature { grid-column: auto; }
  .logo img { height: 40px; }
  .quote { padding: 22px; }
  .hero-ctas .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
