/* PortAuto mockup — Heavy-duty Industrial (Mack/Peterbilt/Cat)
   Bold display type, structured cards, angled accents, big stat numbers.
   ============================================================ */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html, body { height: 100%; }
body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }
ul, ol { list-style: none; }

/* ---------- Tokens ---------- */
:root {
  --primary:    #0B2A6B;
  --primary-700:#08205A;
  --primary-50: #EEF2FB;
  --accent:     #D72638;
  --accent-700: #B61E2E;

  --ink:    #0A0E14;
  --ink-2:  #1A1F2A;
  --text:   #1F2937;
  --muted:  #6B7280;
  --line:   #E2E5EB;
  --line-2: #F0F2F6;
  --surface:#F4F6FA;
  --white:  #FFFFFF;

  --radius:    2px;
  --radius-lg: 4px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .04);
  --shadow:    0 8px 24px rgba(15, 23, 42, .08);
  --shadow-lg: 0 20px 50px rgba(15, 23, 42, .14);

  --container: 1280px;
  --header-h:  84px;
  --topbar-h:  40px;
}

/* ---------- Typography (bold, industrial) ---------- */
h1, h2, h3, h4, h5 {
  font-family: 'Archivo', 'Inter', system-ui, sans-serif;
  font-weight: 800;
  line-height: 1;
  color: var(--ink);
  letter-spacing: -0.025em;
  text-transform: uppercase;
}
h1 {
  font-size: clamp(2.75rem, 6.4vw, 5.25rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 0.95;
}
h2 { font-size: clamp(2rem, 4.4vw, 3.25rem); font-weight: 800; }
h3 { font-size: clamp(1.25rem, 2vw, 1.625rem); font-weight: 700; letter-spacing: -0.02em; }
h4 { font-size: 1.0625rem; font-weight: 700; letter-spacing: -0.01em; text-transform: none; }

p { color: var(--text); }
.lead {
  font-size: clamp(1.0625rem, 1.4vw, 1.1875rem);
  color: var(--text);
  line-height: 1.6;
  max-width: 60ch;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
  font-family: 'Archivo', 'Inter', sans-serif;
}
.eyebrow::before {
  content: ""; width: 32px; height: 2px; background: var(--accent); display: inline-block;
}
.eyebrow--light { color: rgba(255,255,255,.85); }
.eyebrow--light::before { background: var(--accent); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 28px; }
.section   { padding: 88px 0; }
.section--sm { padding: 64px 0; }
.section--xs { padding: 40px 0; }
.section--alt { background: var(--surface); }
.section--ink { background: var(--primary); color: rgba(255,255,255,.85); }
.section--ink h1, .section--ink h2, .section--ink h3, .section--ink h4 { color: var(--white); }
.section--ink p, .section--ink .lead { color: rgba(255,255,255,.85); }

/* Angled section divider */
.angle-cut-top {
  position: relative;
  margin-top: -60px;
  padding-top: 60px;
  clip-path: polygon(0 60px, 100% 0, 100% 100%, 0 100%);
}
.angle-cut-bottom {
  position: relative;
  padding-bottom: 60px;
  margin-bottom: -60px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 60px), 0 100%);
}

.section-head { max-width: 760px; margin-bottom: 64px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { margin-bottom: 20px; }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* ---------- Buttons (industrial, sharp) ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 28px;
  font-family: 'Archivo', 'Inter', sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius);
  border: 2px solid transparent;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--primary); color: var(--white); }
.btn--primary:hover { background: var(--primary-700); }
.btn--accent  { background: var(--accent); color: var(--white); }
.btn--accent:hover { background: var(--accent-700); }
.btn--ink     { background: var(--primary); color: var(--white); }
.btn--ink:hover { background: var(--primary-700); }
.btn--outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn--outline:hover { background: var(--primary); color: var(--white); }
.btn--ghost-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,.6); }
.btn--ghost-light:hover { background: var(--white); color: var(--primary); border-color: var(--white); }
.btn--sm { padding: 12px 22px; font-size: 0.8125rem; }
.btn--lg { padding: 20px 36px; font-size: 0.9375rem; }
.btn--block { width: 100%; justify-content: center; }
.btn .btn-arrow { width: 16px; height: 16px; transition: transform .2s ease; }
.btn:hover .btn-arrow { transform: translateX(4px); }

/* ---------- Form fields ---------- */
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.field label { font-size: 0.75rem; font-weight: 700; color: var(--ink); letter-spacing: 0.08em; text-transform: uppercase; font-family: 'Archivo', 'Inter', sans-serif; }
.input, .select, .textarea {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  font-size: 0.9375rem;
  color: var(--ink);
  transition: border-color .15s, background .15s;
}
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--primary);
}
.textarea { min-height: 140px; resize: vertical; }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--primary);
  color: rgba(255,255,255,.85);
  font-size: 0.75rem;
  font-family: 'Archivo', 'Inter', sans-serif;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  height: var(--topbar-h);
  display: flex; align-items: center;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.topbar a { transition: color .15s; }
.topbar a:hover { color: var(--accent); }
.topbar .topbar-left, .topbar .topbar-right { display: flex; align-items: center; gap: 24px; }
.topbar .topbar-divider { opacity: .35; }
.topbar .topbar-left > a:not(.portland-tag),
.topbar .topbar-left > span:not(.topbar-divider),
.topbar .topbar-right > a {
  display: inline-flex; align-items: center; gap: 8px;
}
.topbar .icon { display: inline-block; width: 13px; height: 13px; opacity: .7; flex-shrink: 0; margin-right: 0; }
.portland-tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
}
.portland-tag .icon { color: var(--accent); margin-right: 0; opacity: 1; }
.portland-tag .ext-icon { width: 10px; height: 10px; opacity: .7; }
.portland-tag:hover { background: var(--accent); border-color: var(--accent); color: var(--white); }
.portland-tag:hover .icon, .portland-tag:hover .ext-icon { color: var(--white); }
@media (max-width: 900px) { .portland-tag { display: none; } }
@media (max-width: 720px) { .topbar { display: none; } }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: var(--white);
  border-bottom: 2px solid var(--ink);
  height: var(--header-h);
  transition: box-shadow .2s ease;
}
.header.is-scrolled { box-shadow: 0 6px 20px rgba(15,23,42,.08); }
.header .container { display: flex; align-items: center; justify-content: space-between; height: 100%; }

.logo { display: flex; align-items: center; gap: 14px; }
.logo img { height: 48px; width: auto; }
.logo .logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo .logo-text strong {
  font-family: 'Archivo', 'Inter', sans-serif; font-weight: 900;
  font-size: 1.375rem; letter-spacing: -0.02em;
  color: var(--primary);
}
.logo .logo-text strong .accent { color: var(--accent); }
.logo .logo-text span {
  font-size: 0.625rem; letter-spacing: 0.18em;
  color: var(--muted); margin-top: 4px;
  text-transform: uppercase; font-weight: 700;
}

.nav { display: flex; gap: 0; }
.nav a {
  padding: 14px 18px;
  font-family: 'Archivo', 'Inter', sans-serif;
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  transition: color .2s ease;
  position: relative;
}
.nav a:hover { color: var(--accent); }
.nav a.is-active { color: var(--accent); }
.nav a.is-active::after {
  content: ""; position: absolute;
  left: 18px; right: 18px; bottom: -2px; height: 3px;
  background: var(--accent);
}

.header-cta { display: flex; align-items: center; gap: 18px; }
.header-cta .phone {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Archivo', 'Inter', sans-serif;
  font-weight: 800; font-size: 0.9375rem;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.header-cta .phone:hover { color: var(--accent); }

.menu-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: var(--radius); }
.menu-toggle:hover { background: var(--surface); color: var(--accent); }

@media (max-width: 1080px) {
  .nav { display: none; }
  .header-cta .phone { display: none; }
  .menu-toggle { display: inline-flex; }
}
@media (max-width: 600px) {
  .header-cta .btn:not(.menu-toggle) { display: none; }
}

/* Mobile drawer */
.drawer {
  position: fixed; inset: 0; background: var(--white); z-index: 100; padding: 24px;
  display: none; flex-direction: column;
}
.drawer.is-open { display: flex; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 32px; padding-bottom: 24px; border-bottom: 2px solid var(--ink); }
.drawer .nav { display: flex; flex-direction: column; gap: 0; }
.drawer .nav a {
  font-size: 1.5rem; padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-family: 'Archivo', sans-serif; font-weight: 800;
  letter-spacing: -0.01em; text-transform: uppercase;
}
.drawer-cta { margin-top: auto; padding-top: 24px; }

/* ---------- Footer ---------- */
.footer { background: var(--primary); color: rgba(255,255,255,.78); padding: 80px 0 0; font-size: 0.9375rem; position: relative; }
.footer::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--accent);
}
.footer p { color: rgba(255,255,255,.78); }
.footer h4 {
  color: var(--white); margin-bottom: 24px;
  font-family: 'Archivo', sans-serif; font-weight: 800;
  font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase;
}
.footer a { color: rgba(255,255,255,.78); transition: color .15s; }
.footer a:hover { color: var(--accent); }
.footer .footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr 1.4fr; gap: 64px; }
.footer .footer-about p { color: rgba(255,255,255,.72); margin-top: 18px; line-height: 1.7; }
.footer .footer-about p:last-child { color: rgba(255,255,255,.55); margin-top: 14px; font-size: 0.8125rem; }
.footer .footer-links li { margin-bottom: 12px; }
.footer .footer-links a { font-weight: 500; display: inline-flex; align-items: center; gap: 6px; }
.footer .footer-links a::before {
  content: ""; width: 12px; height: 1px; background: var(--accent);
  transition: width .2s ease;
}
.footer .footer-links a:hover::before { width: 18px; }
.footer .footer-contact p { color: rgba(255,255,255,.85); margin-bottom: 14px; display: flex; gap: 12px; align-items: flex-start; line-height: 1.55; }
.footer .footer-contact svg { flex-shrink: 0; margin-top: 4px; color: var(--accent); opacity: 1; }
.footer .footer-contact a { color: rgba(255,255,255,.85); }
.footer .footer-newsletter p { color: rgba(255,255,255,.72); margin-bottom: 16px; line-height: 1.6; }
.footer .newsletter-form { display: flex; gap: 0; }
.footer .newsletter-form .input { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); color: var(--white); border-right: 0; padding: 12px 14px; }
.footer .newsletter-form .input:focus { border-color: var(--accent); }
.footer .newsletter-form .input::placeholder { color: rgba(255,255,255,.5); }
.footer .newsletter-form .btn { padding: 12px 18px; font-size: 0.75rem; }

/* Footer socials */
.footer-socials { display: flex; gap: 10px; margin-top: 24px; }
.footer-socials a {
  width: 38px; height: 38px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,.22);
  color: rgba(255,255,255,.78);
  transition: background .2s, border-color .2s, color .2s;
}
.footer-socials a:hover { background: var(--accent); border-color: var(--accent); color: var(--white); }
.footer-socials svg { width: 16px; height: 16px; }

.footer .copyright {
  margin-top: 72px; padding: 24px 0;
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  font-size: 0.8125rem; color: rgba(255,255,255,.55);
}
.footer .copyright a { color: rgba(255,255,255,.55); }
.footer .copyright a:hover { color: var(--accent); }
@media (max-width: 980px) { .footer .footer-grid { grid-template-columns: 1fr 1fr; gap: 48px; } }
@media (max-width: 620px) { .footer .footer-grid { grid-template-columns: 1fr; gap: 40px; } .footer { padding-top: 64px; } }

/* ---------- Hero (industrial, bold) ---------- */
.hero {
  position: relative;
  background: var(--primary);
  color: var(--white);
  min-height: 720px;
  display: flex; align-items: center;
  padding: 96px 0;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -2;
  background-size: cover; background-position: center;
}
.hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(95deg, rgba(11,42,107,.88) 0%, rgba(11,42,107,.62) 38%, rgba(11,42,107,.18) 70%, rgba(11,42,107,.05) 100%),
    linear-gradient(180deg, rgba(11,42,107,.20) 0%, transparent 30%, transparent 70%, rgba(11,42,107,.45) 100%);
}
/* hero ends flat — no slant cut */
.hero .container { max-width: var(--container); position: relative; }
.hero .hero-content { max-width: 820px; }
.hero h1 { color: var(--white); margin-bottom: 28px; max-width: 14ch; }
.hero h1 .accent-block {
  display: inline-block; background: var(--accent); color: var(--white);
  padding: 0 16px; margin-right: 8px;
  transform: skew(-6deg);
}
.hero h1 .accent-block > span { display: inline-block; transform: skew(6deg); }
.hero .lead { color: rgba(255,255,255,.85); margin-bottom: 40px; max-width: 56ch; }
.hero .hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .hero-meta-strip {
  display: flex; gap: 40px; flex-wrap: wrap;
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,.18);
}
.hero .meta-item { display: flex; flex-direction: column; gap: 6px; }
.hero .meta-item strong {
  font-family: 'Archivo', sans-serif;
  font-size: 0.6875rem; color: var(--accent);
  letter-spacing: 0.18em; text-transform: uppercase; font-weight: 800;
}
.hero .meta-item span { color: rgba(255,255,255,.92); font-size: 0.9375rem; line-height: 1.4; }
@media (max-width: 800px) {
  .hero { min-height: 600px; padding: 72px 0; }
  .hero .hero-meta-strip { gap: 24px; margin-top: 48px; }
}

.hero--slim { min-height: 360px; padding: 64px 0; }
.hero--slim .hero-meta-strip { display: none; }
.hero--slim h1 { max-width: 22ch; font-size: clamp(2rem, 4.4vw, 3.5rem); }

/* ---------- Stat strip (editorial inline) ---------- */
.stat-strip {
  background: var(--white);
  color: var(--ink);
  padding: 56px 0;
  border-bottom: 1px solid var(--line);
}
.stat-strip .stat-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
}
.stat-strip .stat {
  padding: 8px 36px;
  border-left: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 6px;
}
.stat-strip .stat:first-child { padding-left: 0; border-left: 0; }
.stat-strip strong {
  display: inline-flex; align-items: baseline; gap: 4px;
  font-family: 'Archivo', sans-serif;
  font-size: clamp(1.75rem, 2.6vw, 2.25rem);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1;
}
.stat-strip strong .unit {
  font-size: 0.55em;
  color: var(--accent);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.stat-strip span {
  color: var(--muted);
  font-size: 0.8125rem;
  line-height: 1.4;
}
@media (max-width: 880px) {
  .stat-strip .stat-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 0; }
  .stat-strip .stat { padding: 8px 24px; }
  .stat-strip .stat:nth-child(odd) { border-left: 0; padding-left: 0; }
  .stat-strip .stat:nth-child(2) { border-left: 1px solid var(--line); }
}
@media (max-width: 500px) {
  .stat-strip .stat-grid { grid-template-columns: 1fr; gap: 20px; }
  .stat-strip .stat { padding: 0; border-left: 0; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
  .stat-strip .stat:last-child { border-bottom: 0; padding-bottom: 0; }
}

/* ---------- Service / icon-box card ---------- */
.icon-box {
  background: var(--white);
  border: 2px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
  position: relative;
  display: flex; flex-direction: column;
  overflow: hidden;
}
.icon-box::before {
  content: ""; position: absolute; top: 0; left: 0; height: 4px; width: 0;
  background: var(--accent); transition: width .25s ease;
}
.icon-box:hover { border-color: var(--ink); transform: translateY(-3px); box-shadow: var(--shadow); }
.icon-box:hover::before { width: 100%; }
.icon-box .icon-wrap {
  width: 56px; height: 56px;
  background: var(--primary);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 28px;
}
.icon-box h3 { font-size: 1.25rem; margin-bottom: 12px; }
.icon-box p  { color: var(--muted); font-size: 0.9375rem; flex: 1; }
.icon-box .more {
  margin-top: 24px;
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.75rem; font-weight: 800; color: var(--ink);
  letter-spacing: 0.12em; text-transform: uppercase;
  font-family: 'Archivo', sans-serif;
}
.icon-box .more svg { width: 14px; height: 14px; transition: transform .2s; }
.icon-box:hover .more { color: var(--accent); }
.icon-box:hover .more svg { transform: translateX(4px); }
.icon-box--accent .icon-wrap { background: var(--accent); }

/* ---------- Magetique-style category tile grid ---------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
}
.cat-tile {
  position: relative;
  height: 220px;
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  color: var(--white);
  isolation: isolate;
  transition: transform .25s ease;
}
.cat-tile:hover { transform: translateY(-3px); }
.cat-tile.red  { background: var(--accent); }
.cat-tile.dark { background: var(--primary); }
.cat-tile .cat-photo {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 65%;
  background-size: cover;
  background-position: center;
  z-index: -1;
  transition: transform .35s ease, width .35s ease;
}
.cat-tile:hover .cat-photo { width: 72%; transform: scale(1.04); }
.cat-tile.red .cat-photo::after,
.cat-tile.dark .cat-photo::after {
  content: ""; position: absolute; inset: 0;
}
.cat-tile.red .cat-photo::after  { background: linear-gradient(90deg, var(--accent) 0%, rgba(215,38,56,.65) 35%, rgba(215,38,56,.15) 75%, transparent 100%); }
.cat-tile.dark .cat-photo::after { background: linear-gradient(90deg, var(--primary) 0%, rgba(11,42,107,.75) 35%, rgba(11,42,107,.20) 75%, transparent 100%); }
.cat-tile .cat-tile-head { position: relative; z-index: 1; }
.cat-tile .cat-num-mini {
  font-family: 'Archivo', sans-serif;
  font-size: 0.6875rem; font-weight: 800;
  letter-spacing: 0.18em;
  opacity: 0.6;
  margin-bottom: 8px;
  display: block;
}
.cat-tile .cat-title {
  font-family: 'Archivo', sans-serif;
  font-weight: 900;
  font-size: clamp(1.625rem, 2.6vw, 2.125rem);
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: -0.025em;
}
.cat-tile .cat-sub {
  font-family: 'Archivo', sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.78;
  margin-top: 4px;
  display: block;
}
.cat-tile .cat-more {
  position: relative; z-index: 1;
  font-family: 'Archivo', sans-serif;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  border-bottom: 2px solid currentColor;
  padding-bottom: 4px;
}
.cat-tile .cat-more svg { width: 12px; height: 12px; transition: transform .2s ease; }
.cat-tile:hover .cat-more svg { transform: translateX(4px); }

@media (max-width: 980px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  .cat-grid { grid-template-columns: 1fr; }
  .cat-tile { height: 180px; }
}

/* ---------- Value list (editorial rows, replaces 4-up cards) ---------- */
.value-list {
  border-top: 1px solid var(--line);
}
.value-row {
  display: grid;
  grid-template-columns: 100px 1.2fr 2fr auto;
  gap: 40px;
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
  transition: padding .25s ease;
  position: relative;
}
.value-row::before {
  content: ""; position: absolute;
  left: 0; top: 0; bottom: 0; width: 0;
  background: var(--accent);
  transition: width .25s ease;
}
.value-row:hover { padding-left: 24px; padding-right: 24px; }
.value-row:hover::before { width: 4px; }
.value-num {
  font-family: 'Archivo', sans-serif;
  font-size: 0.875rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.18em;
}
.value-row .value-title {
  font-family: 'Archivo', sans-serif;
  font-size: clamp(1.25rem, 2vw, 1.625rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0;
}
.value-row .value-desc {
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.65;
  max-width: 56ch;
}
.value-row .value-arrow {
  width: 24px; height: 24px;
  color: var(--muted);
  transition: color .2s, transform .25s;
}
.value-row:hover .value-arrow { color: var(--accent); transform: translateX(6px); }
@media (max-width: 900px) {
  .value-row { grid-template-columns: auto 1fr; gap: 16px 24px; }
  .value-row .value-num { grid-column: 1; grid-row: 1; }
  .value-row .value-title { grid-column: 2; grid-row: 1; }
  .value-row .value-desc { grid-column: 1 / span 2; grid-row: 2; }
  .value-row .value-arrow { display: none; }
}

/* ---------- Big-number stat block (light bg) ---------- */
.stats-row {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 2px solid var(--ink);
}
.stats-row .stat {
  padding: 40px 32px;
  border-right: 2px solid var(--ink);
}
.stats-row .stat:last-child { border-right: 0; }
.stats-row strong {
  display: block;
  font-family: 'Archivo', sans-serif;
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 900;
  color: var(--ink);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 10px;
}
.stats-row strong .unit { font-size: 0.5em; color: var(--accent); margin-left: 4px; }
.stats-row span {
  color: var(--muted); font-size: 0.75rem; letter-spacing: 0.14em;
  text-transform: uppercase; font-weight: 700;
  display: block; font-family: 'Archivo', sans-serif;
}
@media (max-width: 880px) {
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .stats-row .stat:nth-child(2) { border-right: 0; }
  .stats-row .stat:nth-child(1), .stats-row .stat:nth-child(2) { border-bottom: 2px solid var(--ink); }
}
@media (max-width: 500px) {
  .stats-row { grid-template-columns: 1fr; }
  .stats-row .stat { border-right: 0; border-bottom: 2px solid var(--ink); }
  .stats-row .stat:last-child { border-bottom: 0; }
}

/* ---------- Category card (with parts photo) ---------- */
.cat-card {
  background: var(--white);
  border: 2px solid var(--line);
  display: flex; flex-direction: column;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
  position: relative;
  overflow: hidden;
}
.cat-card:hover { border-color: var(--ink); transform: translateY(-3px); box-shadow: var(--shadow); }
.cat-card .cat-photo {
  aspect-ratio: 4/3;
  background-size: cover;
  background-position: center;
  background-color: var(--surface);
  border-bottom: 2px solid var(--line);
  position: relative;
  overflow: hidden;
}
.cat-card .cat-photo::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(11,42,107,.45) 100%);
  transition: opacity .25s ease;
}
.cat-card:hover .cat-photo::before { opacity: 0; }
.cat-card .cat-num {
  position: absolute;
  top: 16px; left: 16px; z-index: 1;
  background: var(--accent);
  color: var(--white);
  padding: 4px 10px;
  font-family: 'Archivo', sans-serif;
  font-size: 0.6875rem; font-weight: 800;
  letter-spacing: 0.16em;
}
.cat-card .cat-body {
  padding: 22px 24px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
}
.cat-card .cat-text { display: flex; flex-direction: column; gap: 4px; flex: 1; min-width: 0; }
.cat-card h4 {
  font-family: 'Archivo', sans-serif; font-weight: 800;
  font-size: 1.0625rem;
  text-transform: uppercase; letter-spacing: -0.01em;
}
.cat-card .meta {
  font-size: 0.75rem; color: var(--muted);
  letter-spacing: 0.12em; text-transform: uppercase;
  font-weight: 700; font-family: 'Archivo', sans-serif;
}
.cat-card .arrow {
  width: 36px; height: 36px;
  border: 2px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink);
  transition: background .2s, color .2s, border-color .2s, transform .2s;
  flex-shrink: 0;
}
.cat-card:hover .arrow { background: var(--accent); color: var(--white); border-color: var(--accent); transform: translateX(3px); }

/* ---------- Brands "now / coming soon" split ---------- */
.brands-now {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 80px;
  align-items: center;
}
.brands-now-current .eyebrow { margin-bottom: 18px; }
.brands-now-current h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 2.875rem);
}
.brands-now-current p {
  color: var(--muted); margin-bottom: 28px; max-width: 50ch; line-height: 1.65;
}
.brands-soon h4 {
  font-family: 'Archivo', sans-serif; font-size: 0.6875rem;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 14px; font-weight: 800;
  display: flex; align-items: center; gap: 10px;
}
.brands-soon h4::before {
  content: ''; width: 18px; height: 2px; background: var(--accent);
}
.brands-soon ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 40px;
  row-gap: 0;
  border-top: 1px solid var(--line);
}
.brands-soon li {
  font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 0.875rem;
  letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--muted);
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px;
}
.brands-soon li::after {
  content: 'Soon';
  font-size: 0.625rem; letter-spacing: 0.14em;
  color: var(--accent); font-weight: 800;
  background: rgba(215,38,56,.10);
  padding: 4px 10px;
  flex-shrink: 0;
}
@media (max-width: 540px) {
  .brands-soon ul { grid-template-columns: 1fr; column-gap: 0; }
}
@media (max-width: 880px) {
  .brands-now { grid-template-columns: 1fr; gap: 40px; }
}

/* ---------- Brands strip (industrial — legacy) ---------- */
.brands {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}
.brand-logo {
  height: 96px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Archivo', sans-serif;
  font-weight: 900;
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  color: var(--ink);
  text-transform: uppercase;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: color .2s, background .2s;
}
.brand-logo:nth-child(5n) { border-right: 0; }
.brand-logo:nth-last-child(-n+5) { border-bottom: 0; }
.brand-logo:hover { color: var(--white); background: var(--primary); }
@media (max-width: 900px) {
  .brands { grid-template-columns: repeat(3, 1fr); }
  .brand-logo:nth-child(n) { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .brand-logo:nth-child(3n) { border-right: 0; }
  .brand-logo:nth-last-child(-n+1) { border-bottom: 0; }
}
@media (max-width: 600px) {
  .brands { grid-template-columns: repeat(2, 1fr); }
  .brand-logo:nth-child(n) { border-right: 1px solid var(--line); }
  .brand-logo:nth-child(2n) { border-right: 0; }
}

/* ---------- Testimonial card ---------- */
.testimonial {
  background: var(--white);
  border: 2px solid var(--line);
  padding: 36px 32px;
  display: flex; flex-direction: column; gap: 20px;
  position: relative;
  transition: border-color .2s, transform .2s;
}
.testimonial:hover { border-color: var(--ink); transform: translateY(-3px); }
.testimonial .stars { color: var(--accent); font-size: 0.875rem; letter-spacing: 4px; }
.testimonial blockquote { font-size: 1.0625rem; color: var(--text); line-height: 1.6; flex: 1; font-weight: 500; }
.testimonial .who { display: flex; align-items: center; gap: 14px; padding-top: 20px; border-top: 1px solid var(--line); }
.testimonial .avatar {
  width: 44px; height: 44px;
  background: var(--primary);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Archivo', sans-serif;
  font-weight: 800; font-size: 0.9375rem;
}
.testimonial .who-meta strong { display: block; font-size: 0.9375rem; color: var(--ink); margin-bottom: 2px; font-family: 'Archivo', sans-serif; font-weight: 800; text-transform: uppercase; letter-spacing: 0.02em; }
.testimonial .who-meta span { font-size: 0.75rem; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; font-weight: 600; font-family: 'Archivo', sans-serif; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: var(--primary);
  color: var(--white);
  padding: 96px 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.cta-banner::before {
  content: ""; position: absolute; top: 0; left: 0; height: 6px; width: 100%;
  background: var(--accent);
}
.cta-banner h2 { color: var(--white); margin-bottom: 18px; max-width: 22ch; margin-left: auto; margin-right: auto; }
.cta-banner p  { color: rgba(255,255,255,.78); max-width: 56ch; margin: 0 auto 36px; font-size: 1.0625rem; }
.cta-banner .cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Dual CTA banner (split, with photo bg) */
.cta-split { display: grid; grid-template-columns: 1fr 1fr; }
.cta-split .cta-card {
  padding: 80px 56px;
  color: var(--white);
  display: flex; flex-direction: column; gap: 16px;
  min-height: 420px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background-size: cover; background-position: center;
}
.cta-split .cta-card::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
}
.cta-split .cta-card.parts::after { background: linear-gradient(135deg, rgba(11,42,107,.94), rgba(8,32,90,.78)); }
.cta-split .cta-card.service::after { background: linear-gradient(135deg, rgba(215,38,56,.92), rgba(11,42,107,.86)); }
.cta-split .cta-card .eyebrow { color: rgba(255,255,255,.92); }
.cta-split .cta-card .eyebrow::before { background: var(--white); }
.cta-split .cta-card h3 { color: var(--white); font-size: clamp(1.75rem, 3vw, 2.5rem); max-width: 14ch; }
.cta-split .cta-card p { color: rgba(255,255,255,.88); flex: 1; max-width: 42ch; line-height: 1.6; }
@media (max-width: 800px) { .cta-split { grid-template-columns: 1fr; } }

/* ---------- Image + text ---------- */
.image-text { display: grid; grid-template-columns: 1.05fr 1fr; gap: 80px; align-items: center; }
.image-text--reverse > .visual { order: 2; }
.image-text .visual {
  aspect-ratio: 4/5;
  background-size: cover; background-position: center;
  background-color: var(--surface);
}
.image-text .eyebrow { margin-bottom: 20px; }
.image-text h2 { margin-bottom: 24px; }
.image-text p { color: var(--muted); margin-bottom: 16px; max-width: 56ch; line-height: 1.65; }
.image-text ul.checks { margin: 28px 0 36px; display: flex; flex-direction: column; gap: 12px; }
.image-text ul.checks li {
  padding-left: 32px; position: relative;
  color: var(--ink); font-weight: 600;
}
.image-text ul.checks li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 18px; height: 4px; background: var(--accent);
}
@media (max-width: 980px) {
  .image-text { grid-template-columns: 1fr; gap: 40px; }
  .image-text--reverse > .visual { order: 0; }
  .image-text .visual { aspect-ratio: 16/10; }
}

/* ---------- 3-step explainer ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.step {
  padding: 36px 28px;
  border: 2px solid var(--line);
  background: var(--white);
  position: relative;
  counter-increment: step;
  transition: border-color .2s;
}
.step:hover { border-color: var(--ink); }
.step::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: 24px; right: 28px;
  font-family: 'Archivo', sans-serif;
  font-size: 2.25rem; font-weight: 900;
  color: var(--line);
  letter-spacing: -0.03em;
}
.step h4 { margin-bottom: 10px; padding-right: 56px; font-size: 1.125rem; font-weight: 800; }
.step p { color: var(--muted); font-size: 0.9375rem; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Map preview ---------- */
.map-preview { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.map-thumb {
  aspect-ratio: 4/3;
  border: 2px solid var(--ink);
  overflow: hidden;
  position: relative;
}
.map-thumb iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 800px) { .map-preview { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- Newsletter inline ---------- */
.newsletter-inline {
  background: var(--primary);
  color: var(--white);
  padding: 56px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.newsletter-inline::before {
  content: ""; position: absolute; top: 0; left: 0; height: 6px; width: 100%;
  background: var(--accent);
}
.newsletter-inline .nl-text { max-width: 520px; }
.newsletter-inline .nl-text h3 { color: var(--white); margin-bottom: 8px; }
.newsletter-inline .nl-text p { color: rgba(255,255,255,.75); }
.newsletter-inline form { display: flex; gap: 0; flex: 1; min-width: 280px; max-width: 480px; }
.newsletter-inline .input { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); color: var(--white); border-right: 0; }
.newsletter-inline .input::placeholder { color: rgba(255,255,255,.5); }

/* ---------- Product card (denser, hover-reveal CTA) ---------- */
.product-card {
  background: var(--white);
  border: 2px solid var(--line);
  display: flex; flex-direction: column;
  transition: border-color .2s, box-shadow .2s, transform .2s;
  position: relative;
  overflow: hidden;
}
.product-card:hover { border-color: var(--accent); box-shadow: var(--shadow); transform: translateY(-3px); }
.product-card .sku-badge {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--accent);
  color: var(--white);
  padding: 5px 10px;
  font-family: 'Archivo', sans-serif;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  z-index: 2;
}
.product-card .pc-img {
  aspect-ratio: 4/3;
  background-size: cover; background-position: center;
  background-color: var(--surface);
  border-bottom: 1px solid var(--line);
}
.product-card .pc-body { padding: 18px 20px; display: flex; flex-direction: column; flex: 1; }
.product-card .pc-cat { font-family: 'Archivo', sans-serif; font-size: 0.6875rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.14em; margin-bottom: 6px; font-weight: 700; }
.product-card h4 { font-family: 'Archivo', sans-serif; font-size: 0.9375rem; margin-bottom: 8px; line-height: 1.25; font-weight: 800; text-transform: uppercase; letter-spacing: -0.01em; }
.product-card p.pc-desc { font-size: 0.8125rem; color: var(--muted); line-height: 1.55; margin-bottom: 12px; }
.product-card .pc-cta { margin-top: auto; padding-top: 12px; }
.product-card .pc-cta .btn { width: 100%; justify-content: center; padding: 12px 16px; font-size: 0.75rem; }
.product-card.is-in-cart { border-color: var(--accent); }

/* Empty filter state */
.shop-empty {
  display: none;
  flex-direction: column; align-items: center; justify-content: center;
  padding: 80px 24px; text-align: center;
  border: 2px dashed var(--line);
  background: var(--surface);
  grid-column: 1 / -1;
}
.shop-empty h4 { font-family: 'Archivo', sans-serif; font-weight: 800; text-transform: uppercase; letter-spacing: -0.01em; margin-bottom: 8px; }
.shop-empty p { color: var(--muted); margin-bottom: 16px; }

/* ---------- Quote Cart drawer ---------- */
.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: 480px; max-width: 100vw;
  background: var(--white);
  z-index: 200;
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform .3s cubic-bezier(.2,.8,.2,1);
  box-shadow: -10px 0 30px rgba(15,23,42,.15);
}
.cart-drawer.is-open { transform: translateX(0); }
.cart-drawer-overlay {
  position: fixed; inset: 0;
  background: rgba(11,18,32,.55);
  z-index: 199;
  opacity: 0; pointer-events: none;
  transition: opacity .25s ease;
}
.cart-drawer-overlay.is-open { opacity: 1; pointer-events: auto; }
.cart-drawer-head {
  padding: 24px 28px; display: flex; align-items: center; justify-content: space-between;
  border-bottom: 2px solid var(--line);
}
.cart-drawer-head h3 { font-family: 'Archivo', sans-serif; font-weight: 800; font-size: 1.125rem; text-transform: uppercase; letter-spacing: -0.01em; }
.cart-drawer-close { width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; border: 2px solid var(--line); }
.cart-drawer-close:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.cart-drawer-body { flex: 1; overflow-y: auto; padding: 8px 28px; }
.cart-drawer-empty { padding: 64px 28px; text-align: center; color: var(--muted); }
.cart-drawer-empty svg { color: var(--line); margin: 0 auto 16px; }
.cart-drawer-empty h4 { font-family: 'Archivo', sans-serif; font-weight: 800; text-transform: uppercase; letter-spacing: -0.01em; margin-bottom: 8px; color: var(--ink); }
.cart-item {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 18px 0; border-bottom: 1px solid var(--line);
}
.cart-item:last-child { border-bottom: 0; }
.cart-item .ci-info { flex: 1; min-width: 0; }
.cart-item .ci-cat { font-family: 'Archivo'; font-size: 0.6875rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.12em; font-weight: 700; }
.cart-item .ci-name { font-family: 'Archivo'; font-weight: 700; font-size: 0.9375rem; line-height: 1.3; margin-top: 2px; }
.cart-item .ci-sku { font-size: 0.75rem; color: var(--muted); margin-top: 4px; font-family: 'Archivo'; }
.cart-item .ci-controls {
  display: flex; flex-direction: column; align-items: flex-end; gap: 10px;
  flex-shrink: 0;
}
.cart-item .ci-remove {
  width: 28px; height: 28px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); color: var(--muted);
  background: transparent;
}
.cart-item .ci-remove:hover { background: var(--accent); border-color: var(--accent); color: var(--white); }

/* Quantity widget */
.qty-widget {
  display: inline-flex; align-items: stretch;
  border: 1.5px solid var(--line);
  background: var(--white);
}
.qty-widget .qty-btn {
  width: 30px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  background: transparent; color: var(--ink);
  font-family: 'Archivo', sans-serif; font-weight: 800; font-size: 1rem;
  cursor: pointer;
  transition: background .15s, color .15s;
}
.qty-widget .qty-btn:hover { background: var(--accent); color: var(--white); }
.qty-widget .qty-btn:disabled { color: var(--line); cursor: not-allowed; }
.qty-widget .qty-btn:disabled:hover { background: transparent; color: var(--line); }
.qty-widget .qty-input {
  width: 42px;
  border: 0; border-left: 1px solid var(--line); border-right: 1px solid var(--line);
  text-align: center;
  font-family: 'Archivo', sans-serif; font-weight: 700;
  padding: 0;
  background: transparent;
  -moz-appearance: textfield;
}
.qty-widget .qty-input::-webkit-outer-spin-button,
.qty-widget .qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-widget .qty-input:focus { outline: 2px solid var(--accent); outline-offset: -2px; }
/* Cart contact form section */
.cart-form-section {
  padding: 24px 0 8px;
  margin-top: 16px;
  border-top: 2px solid var(--line);
}
.cart-form-section h4 {
  font-family: 'Archivo', sans-serif;
  font-size: 0.6875rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--muted);
  margin-bottom: 6px; font-weight: 800;
}
.cart-form-section .lead-line {
  font-size: 0.875rem; color: var(--muted); margin-bottom: 18px;
}
.cart-form-section .field { margin-bottom: 14px; }
.cart-form-section .field label {
  font-family: 'Archivo', sans-serif; font-size: 0.6875rem;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted);
  font-weight: 700; margin-bottom: 4px;
}
.cart-form-section .field label .req { color: var(--accent); margin-left: 4px; }
.cart-form-section .input,
.cart-form-section .textarea {
  padding: 10px 12px; border: 1.5px solid var(--line);
  background: var(--white); font-size: 0.875rem;
}
.cart-form-section .textarea { min-height: 80px; }
.cart-form-section .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cart-form-section .field.error .input,
.cart-form-section .field.error .textarea { border-color: var(--accent); }
.cart-form-section .field .err-msg { font-size: 0.75rem; color: var(--accent); margin-top: 4px; display: none; }
.cart-form-section .field.error .err-msg { display: block; }

.cart-drawer-foot {
  padding: 24px 28px; border-top: 2px solid var(--line); background: var(--surface);
  display: flex; flex-direction: column; gap: 12px;
}
.cart-drawer-foot .summary { display: flex; justify-content: space-between; align-items: center; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.cart-drawer-foot .summary strong { font-family: 'Archivo'; font-weight: 800; font-size: 1.125rem; color: var(--ink); }
.cart-drawer-foot .summary span { color: var(--muted); font-size: 0.875rem; }
.cart-drawer-foot .actions { display: flex; gap: 8px; }
.cart-drawer-foot .actions .btn { flex: 1; }
@media (max-width: 540px) {
  .cart-drawer { width: 100vw; }
}

/* ---------- Filter pills row ---------- */
.shop-pills-row {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 0;
  margin-bottom: 32px;
  flex-wrap: wrap;
  border-top: 2px solid var(--line);
  border-bottom: 2px solid var(--line);
}
.shop-pills-row .search { flex: 1; min-width: 280px; max-width: 540px; position: relative; }
.shop-pills-row .search .input { padding: 12px 14px 12px 42px; border: 2px solid var(--line); border-radius: var(--radius); }
.shop-pills-row .search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.filter-pills { display: flex; gap: 6px; flex-wrap: wrap; }
.filter-pill {
  padding: 11px 18px;
  background: var(--white);
  border: 2px solid var(--line);
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  transition: background .2s, border-color .2s, color .2s;
  cursor: pointer;
  border-radius: var(--radius);
}
.filter-pill:hover { border-color: var(--ink); }
.filter-pill.is-active { background: var(--accent); border-color: var(--accent); color: var(--white); }

/* ---------- Sidebar nav (clickable links with counts) ---------- */
.cat-nav { display: flex; flex-direction: column; }
.cat-nav-section { padding: 28px 0; border-bottom: 1px solid var(--line); }
.cat-nav-section:first-child { padding-top: 0; }
.cat-nav-section:last-child { border-bottom: 0; }
.cat-nav h4 {
  font-family: 'Archivo', sans-serif;
  font-size: 0.6875rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--muted);
  margin-bottom: 16px; font-weight: 800;
}
.cat-nav-link {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 16px 10px 18px;
  margin-left: -18px; margin-right: -18px;
  color: var(--ink); font-weight: 500; font-size: 0.9375rem;
  transition: color .2s, background .2s;
  border-left: 3px solid transparent;
  cursor: pointer;
}
.cat-nav-link:hover { color: var(--accent); background: var(--surface); }
.cat-nav-link.is-active {
  color: var(--accent);
  border-left-color: var(--accent);
  background: var(--surface);
  font-weight: 700;
}
.cat-nav-link .count {
  color: var(--muted); font-size: 0.75rem;
  font-feature-settings: "tnum"; font-variant-numeric: tabular-nums;
  font-family: 'Archivo', sans-serif; font-weight: 700;
}
.cat-nav-link.is-active .count { color: var(--accent); }
.cat-nav-link--soon { opacity: 0.55; pointer-events: none; cursor: not-allowed; }
.cat-nav-link--soon:hover { color: var(--ink); background: transparent; }
.cat-nav-link--soon .count {
  background: rgba(215,38,56,.10); color: var(--accent);
  padding: 3px 8px; letter-spacing: 0.14em; font-size: 0.625rem;
}

/* ---------- Quote Cart button (header CTA with count) ---------- */
.quote-cart-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 18px;
  background: var(--accent);
  color: var(--white);
  border: 2px solid var(--accent);
  border-radius: var(--radius);
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background .2s, border-color .2s;
  white-space: nowrap;
}
.quote-cart-btn:hover { background: var(--accent-700); border-color: var(--accent-700); }
.quote-cart-btn svg { width: 16px; height: 16px; }
.quote-cart-btn .cart-count {
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.22);
  min-width: 22px; height: 22px;
  border-radius: 999px;
  font-size: 0.6875rem; font-weight: 800;
  padding: 0 6px;
}
@media (max-width: 600px) {
  .quote-cart-btn .cart-label { display: none; }
}

/* ---------- Legal page layout (Terms / Privacy) ---------- */
.legal-layout { display: grid; grid-template-columns: 260px 1fr; gap: 80px; align-items: start; }
.legal-toc {
  position: sticky; top: calc(var(--header-h) + 24px);
  align-self: start;
}
.legal-toc h4 {
  font-family: 'Archivo', sans-serif;
  font-size: 0.6875rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--muted);
  margin-bottom: 16px; font-weight: 800;
}
.legal-toc ol { counter-reset: toc; display: flex; flex-direction: column; gap: 2px; }
.legal-toc li { counter-increment: toc; }
.legal-toc a {
  display: flex; gap: 12px; align-items: baseline;
  padding: 8px 14px 8px 16px;
  margin-left: -16px; margin-right: -16px;
  font-size: 0.875rem; line-height: 1.4;
  color: var(--muted);
  border-left: 3px solid transparent;
  transition: color .2s, background .2s, border-color .2s;
}
.legal-toc a::before {
  content: counter(toc, decimal-leading-zero);
  font-family: 'Archivo', sans-serif; font-weight: 800;
  font-size: 0.75rem; color: var(--muted); flex-shrink: 0;
}
.legal-toc a:hover { color: var(--ink); background: var(--surface); }
.legal-toc a.is-active {
  color: var(--accent); background: var(--surface);
  border-left-color: var(--accent); font-weight: 600;
}
.legal-toc a.is-active::before { color: var(--accent); }

.legal-content { max-width: 800px; counter-reset: legal-section; }
.legal-content .legal-meta {
  padding-bottom: 32px; margin-bottom: 48px;
  border-bottom: 2px solid var(--line);
  font-size: 0.875rem; color: var(--muted);
  display: flex; gap: 32px; flex-wrap: wrap;
}
.legal-content .legal-meta strong { color: var(--ink); font-family: 'Archivo'; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.75rem; display: block; margin-bottom: 4px; }
.legal-content section { padding: 48px 0; border-bottom: 1px solid var(--line); counter-increment: legal-section; }
.legal-content section:first-of-type { padding-top: 0; }
.legal-content section:last-of-type { border-bottom: 0; }
.legal-content section h2 {
  font-family: 'Archivo', sans-serif; font-weight: 800;
  font-size: clamp(1.375rem, 2.2vw, 1.75rem);
  text-transform: uppercase; letter-spacing: -0.015em;
  margin-bottom: 24px;
  display: flex; gap: 16px; align-items: baseline;
}
.legal-content section h2::before {
  content: counter(legal-section, decimal-leading-zero);
  color: var(--accent); font-size: 0.75em;
}
.legal-content section h3 {
  font-family: 'Archivo', sans-serif; font-weight: 700;
  font-size: 1.0625rem; text-transform: none;
  letter-spacing: 0; margin-top: 24px; margin-bottom: 8px;
}
.legal-content p { color: var(--text); margin-bottom: 14px; line-height: 1.7; }
.legal-content ul, .legal-content ol {
  padding-left: 0; margin: 12px 0 18px;
  display: flex; flex-direction: column; gap: 8px;
}
.legal-content ul li, .legal-content ol li {
  padding-left: 28px; position: relative;
  color: var(--text); line-height: 1.65;
}
.legal-content ul li::before {
  content: ""; position: absolute; left: 0; top: 12px;
  width: 14px; height: 2px; background: var(--accent);
}
.legal-content ol { counter-reset: ol; }
.legal-content ol li {
  counter-increment: ol;
}
.legal-content ol li::before {
  content: counter(ol) ".";
  position: absolute; left: 0; top: 0;
  font-family: 'Archivo', sans-serif; font-weight: 800;
  color: var(--accent); font-size: 0.875rem;
}
.legal-content a.legal-link { color: var(--primary); border-bottom: 1px solid var(--primary); }
.legal-content a.legal-link:hover { color: var(--accent); border-color: var(--accent); }

@media (max-width: 980px) {
  .legal-layout { grid-template-columns: 1fr; gap: 32px; }
  .legal-toc { position: static; }
}

/* ---------- Quote toast notification ---------- */
.quote-toast {
  position: fixed;
  bottom: 24px; right: 24px;
  background: var(--ink);
  color: var(--white);
  padding: 14px 20px;
  font-family: 'Archivo', sans-serif;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-left: 4px solid var(--accent);
  z-index: 300;
  display: flex; align-items: center; gap: 10px;
  transform: translateY(100px);
  opacity: 0;
  transition: transform .3s ease, opacity .3s ease;
}
.quote-toast.is-visible { transform: translateY(0); opacity: 1; }
.quote-toast svg { color: var(--accent); }

/* ---------- Filter sidebar ---------- */
.shop-layout { display: grid; grid-template-columns: 280px 1fr; gap: 40px; }
.filters {
  background: var(--white);
  border: 2px solid var(--line);
  padding: 28px;
  align-self: start;
  position: sticky; top: calc(var(--header-h) + 16px);
}
.filters h4 { font-family: 'Archivo', sans-serif; font-size: 0.6875rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink); margin-bottom: 16px; font-weight: 800; }
.filter-group { padding-bottom: 22px; margin-bottom: 22px; border-bottom: 1px solid var(--line); }
.filter-group:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.filter-group ul li { display: flex; align-items: center; gap: 10px; padding: 5px 0; font-size: 0.9375rem; }
.filter-group ul li input { accent-color: var(--accent); }
.filter-group ul li .count { margin-left: auto; color: var(--muted); font-size: 0.8125rem; }

.shop-toolbar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 20px;
  background: var(--white);
  border: 2px solid var(--line);
  margin-bottom: 24px;
  gap: 16px; flex-wrap: wrap;
}
.shop-toolbar .search { flex: 1; min-width: 220px; max-width: 480px; position: relative; }
.shop-toolbar .search .input { padding-left: 42px; }
.shop-toolbar .search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.shop-toolbar .count { font-family: 'Archivo', sans-serif; font-size: 0.75rem; color: var(--muted); letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; }

@media (max-width: 980px) { .shop-layout { grid-template-columns: 1fr; } .filters { position: static; } }

/* ---------- Contact info ---------- */
.contact-info { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 56px; }
.contact-info .ci {
  background: var(--white);
  border: 2px solid var(--line);
  padding: 32px 28px;
  text-align: left;
  transition: border-color .2s, transform .2s;
  position: relative;
  overflow: hidden;
}
.contact-info .ci::before {
  content: ""; position: absolute; top: 0; left: 0; height: 4px; width: 0;
  background: var(--accent); transition: width .25s ease;
}
.contact-info .ci:hover { border-color: var(--ink); transform: translateY(-3px); }
.contact-info .ci:hover::before { width: 100%; }
.contact-info .ci .icon-wrap {
  width: 48px; height: 48px;
  background: var(--primary); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.contact-info .ci h4 { margin-bottom: 8px; font-size: 0.75rem; font-family: 'Archivo', sans-serif; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.contact-info .ci p, .contact-info .ci a { color: var(--ink); font-size: 0.9375rem; line-height: 1.6; }
.contact-info .ci a:hover { color: var(--accent); }
@media (max-width: 720px) { .contact-info { grid-template-columns: 1fr; } }

/* ---------- Map embed wrapper ---------- */
.map-embed {
  border: 2px solid var(--ink);
  overflow: hidden;
  height: 480px;
  position: relative;
}
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Form panel ---------- */
.form-panel {
  background: var(--white);
  border: 2px solid var(--ink);
  padding: 48px;
  position: relative;
  overflow: hidden;
}
.form-panel::before {
  content: ""; position: absolute; top: 0; left: 0; height: 6px; width: 100%;
  background: var(--accent);
}
.form-panel h3 { margin-bottom: 12px; }
.form-panel .lead { margin-bottom: 28px; font-size: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

/* ---------- Team / values ---------- */
.team-card {
  background: var(--white);
  border: 2px solid var(--line);
  padding: 32px 24px;
  text-align: center;
  transition: border-color .2s, transform .2s;
}
.team-card:hover { border-color: var(--ink); transform: translateY(-3px); }
.team-card .avatar-lg {
  width: 96px; height: 96px;
  background: var(--primary);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Archivo', sans-serif; font-weight: 900; font-size: 1.75rem;
  margin: 0 auto 18px;
}
.team-card h4 { margin-bottom: 4px; font-family: 'Archivo', sans-serif; font-weight: 800; text-transform: uppercase; letter-spacing: -0.01em; }
.team-card .role { color: var(--accent); font-weight: 800; font-size: 0.6875rem; margin-bottom: 12px; letter-spacing: 0.16em; text-transform: uppercase; font-family: 'Archivo', sans-serif; }
.team-card p { color: var(--muted); font-size: 0.875rem; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; }
.gallery .gi {
  background-size: cover; background-position: center;
  background-color: var(--surface);
  border: 2px solid var(--line);
  min-height: 180px;
}
.gallery .gi:first-child { grid-row: span 2; }
@media (max-width: 720px) { .gallery { grid-template-columns: 1fr 1fr; } .gallery .gi:first-child { grid-row: auto; } }

/* ---------- Magetique-style horizontal promo banner ---------- */
.promo-strip {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0;
  background: var(--primary);
  color: var(--white);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 360px;
}
.promo-strip-content {
  padding: 64px 56px;
  display: flex; flex-direction: column; justify-content: center;
  position: relative;
  z-index: 2;
}
.promo-strip-content::before {
  content: ""; position: absolute;
  top: 0; left: 0; height: 100%; width: 4px;
  background: var(--accent);
}
.promo-strip-content .eyebrow { color: var(--white); margin-bottom: 18px; }
.promo-strip-content .eyebrow::before { background: var(--accent); }
.promo-strip-content h2 {
  color: var(--white);
  font-size: clamp(1.875rem, 3.6vw, 2.875rem);
  font-weight: 900;
  margin-bottom: 16px;
  max-width: 16ch;
}
.promo-strip-content p { color: rgba(255,255,255,.85); margin-bottom: 32px; max-width: 50ch; }
.promo-strip-photo {
  background-size: cover;
  background-position: center;
  position: relative;
}
.promo-strip-photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--primary) 0%, rgba(11,42,107,.65) 25%, transparent 60%);
}
.promo-strip-photo .promo-badge {
  position: absolute;
  top: 32px; right: 32px;
  background: var(--accent);
  color: var(--white);
  padding: 12px 18px;
  font-family: 'Archivo', sans-serif;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  z-index: 1;
}
@media (max-width: 900px) {
  .promo-strip { grid-template-columns: 1fr; min-height: auto; }
  .promo-strip-content { padding: 48px 32px; }
  .promo-strip-photo { min-height: 280px; }
  .promo-strip-photo::after { background: linear-gradient(0deg, var(--primary) 0%, rgba(11,42,107,.4) 50%, transparent 100%); }
}

/* ---------- Scroll animations ---------- */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s cubic-bezier(.2,.8,.2,1), transform .8s cubic-bezier(.2,.8,.2,1);
  will-change: opacity, transform;
}
.fade-up.is-visible { opacity: 1; transform: translateY(0); }
.fade-up[data-delay="1"] { transition-delay: .08s; }
.fade-up[data-delay="2"] { transition-delay: .16s; }
.fade-up[data-delay="3"] { transition-delay: .24s; }
.fade-up[data-delay="4"] { transition-delay: .32s; }
.fade-up[data-delay="5"] { transition-delay: .40s; }
.fade-up[data-delay="6"] { transition-delay: .48s; }
.fade-up[data-delay="7"] { transition-delay: .56s; }
.fade-up[data-delay="8"] { transition-delay: .64s; }
@media (prefers-reduced-motion: reduce) {
  .fade-up { opacity: 1; transform: none; transition: none; }
}

/* ---------- Mock banner ---------- */
.mock-banner {
  position: fixed;
  bottom: 14px; left: 14px;
  background: var(--primary);
  color: var(--white);
  padding: 10px 16px;
  font-family: 'Archivo', sans-serif;
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 800;
  z-index: 200;
  border-left: 3px solid var(--accent);
}

/* ---------- Hide Hello Plus / Hello Biz default conversion banner ---------- */
.ehp-conversion-banner,
.elementor-location-popup .ehp-conversion-banner,
.hello-plus-top-bar,
.ehp-top-bar,
[class*="conversion-banner"],
[class*="hello-biz-banner"] { display: none !important; }

/* ============================================================
   PortAuto · WP/Elementor overrides
   Added after rendering inside Elementor showed link-colour bleed
   onto our buttons + Elementor wrapper padding constraining content.
   ============================================================ */

/* --- Force button text colours over Hello Biz parent theme --- */
.portauto-site .btn,
.portauto-site a.btn,
body .portauto-site .btn { text-decoration: none !important; }

.portauto-site .btn--accent,
.portauto-site a.btn--accent { color: #fff !important; background: var(--accent) !important; border-color: var(--accent) !important; }
.portauto-site .btn--accent:hover,
.portauto-site a.btn--accent:hover { background: var(--accent-700) !important; border-color: var(--accent-700) !important; color: #fff !important; }

.portauto-site .btn--primary,
.portauto-site a.btn--primary { color: #fff !important; background: var(--primary) !important; border-color: var(--primary) !important; }
.portauto-site .btn--primary:hover,
.portauto-site a.btn--primary:hover { background: var(--primary-700) !important; border-color: var(--primary-700) !important; color: #fff !important; }

.portauto-site .btn--ink,
.portauto-site a.btn--ink { color: #fff !important; background: var(--primary) !important; border-color: var(--primary) !important; }

.portauto-site .btn--outline,
.portauto-site a.btn--outline { color: var(--primary) !important; background: transparent !important; border-color: var(--primary) !important; }
.portauto-site .btn--outline:hover,
.portauto-site a.btn--outline:hover { color: #fff !important; background: var(--primary) !important; }

.portauto-site .btn--ghost-light,
.portauto-site a.btn--ghost-light { color: #fff !important; background: transparent !important; border-color: rgba(255,255,255,.6) !important; }
.portauto-site .btn--ghost-light:hover,
.portauto-site a.btn--ghost-light:hover { color: var(--primary) !important; background: #fff !important; border-color: #fff !important; }

/* Quote Cart button (header) */
.portauto-site .quote-cart-btn,
.portauto-site a.quote-cart-btn { color: #fff !important; background: var(--accent) !important; border-color: var(--accent) !important; }
.portauto-site .quote-cart-btn:hover { background: var(--accent-700) !important; border-color: var(--accent-700) !important; color: #fff !important; }
.portauto-site .quote-cart-btn .cart-count { color: #fff !important; }

/* Portland top-bar tag */
.portauto-site .portland-tag,
.portauto-site a.portland-tag { color: rgba(255,255,255,.85) !important; }
.portauto-site .portland-tag:hover { color: #fff !important; }

/* Top bar links + nav links — restore correct colours */
.portauto-site .topbar a { color: rgba(255,255,255,.85) !important; }
.portauto-site .topbar a:hover { color: var(--accent) !important; }
.portauto-site .nav a { color: var(--ink) !important; text-decoration: none !important; }
.portauto-site .nav a:hover { color: var(--accent) !important; }
.portauto-site .nav a.is-active { color: var(--accent) !important; }
.portauto-site .header-cta .phone { color: var(--ink) !important; }
.portauto-site .header-cta .phone:hover { color: var(--accent) !important; }

/* Footer links */
.portauto-site .footer a { color: rgba(255,255,255,.78) !important; text-decoration: none !important; }
.portauto-site .footer a:hover { color: var(--accent) !important; }

/* Eyebrow accent */
.portauto-site .eyebrow,
.portauto-site .eyebrow--accent { color: var(--accent) !important; }
.portauto-site .eyebrow--light { color: rgba(255,255,255,.85) !important; }

/* --- Strip Elementor wrapper padding so .container can centre our content --- */
.portauto-site .elementor-section,
.portauto-site .elementor-section.elementor-section-boxed > .elementor-container,
.portauto-site .elementor-container,
.portauto-site .elementor-column,
.portauto-site .elementor-column-wrap,
.portauto-site .elementor-widget-wrap,
.portauto-site .elementor-widget-html,
.portauto-site .elementor-widget-html .elementor-widget-container { padding: 0 !important; margin: 0 !important; max-width: 100% !important; }

.portauto-site .elementor-widget-wrap > .elementor-element { width: 100% !important; }

/* Hello Biz canvas / single-page templates can add max-width — kill it */
body.portauto-site,
body.portauto-site .site,
body.portauto-site .site-content,
body.portauto-site #content,
body.portauto-site .entry-content { max-width: none !important; padding: 0 !important; margin: 0 !important; }

/* WordPress admin bar offsets sticky header */
body.admin-bar.portauto-site .header { top: 32px; }
@media (max-width: 782px) {
  body.admin-bar.portauto-site .header { top: 46px; }
}

/* Fix headline scaling — clamp upper bound a bit lower so 'BUILT FOR FLEETS THAT' doesn't clip on tablet */
.portauto-site .hero h1 { font-size: clamp(2.25rem, 5.4vw, 4.5rem); }
.portauto-site .hero .accent-block { display: inline-block; max-width: 100%; }
.portauto-site h1, .portauto-site h2 { word-wrap: break-word; overflow-wrap: break-word; hyphens: auto; }

/* Ensure section bg colours render edge-to-edge */
.portauto-site .section--ink,
.portauto-site .section--alt,
.portauto-site .stat-strip,
.portauto-site .cta-banner,
.portauto-site .footer { width: 100vw; margin-left: calc(50% - 50vw) !important; margin-right: calc(50% - 50vw) !important; }

/* ---------- Force SVG icon visibility on icon-buttons ---------- */
.portauto-site .cart-drawer-close,
.portauto-site button.cart-drawer-close {
  color: var(--ink) !important;
  background: transparent !important;
  border: 1px solid var(--line) !important;
  cursor: pointer;
}
.portauto-site .cart-drawer-close:hover { background: var(--ink) !important; color: #fff !important; border-color: var(--ink) !important; }
.portauto-site .cart-drawer-close svg,
.portauto-site .cart-drawer-close svg line { stroke: currentColor !important; }
.portauto-site .cart-drawer-close svg { width: 18px !important; height: 18px !important; display: block !important; }

/* Cart-item remove (×) button */
.portauto-site .cart-item .ci-remove,
.portauto-site button.ci-remove {
  color: var(--muted) !important;
  background: transparent !important;
  border: 1px solid var(--line) !important;
  cursor: pointer;
}
.portauto-site .cart-item .ci-remove:hover { background: var(--accent) !important; color: #fff !important; border-color: var(--accent) !important; }
.portauto-site .ci-remove svg,
.portauto-site .ci-remove svg line { stroke: currentColor !important; }
.portauto-site .ci-remove svg { display: block !important; }

/* Quantity widget buttons */
.portauto-site .qty-widget .qty-btn,
.portauto-site button.qty-btn {
  color: var(--ink) !important;
  background: transparent !important;
  cursor: pointer;
}
.portauto-site .qty-widget .qty-btn:hover { background: var(--accent) !important; color: #fff !important; }
.portauto-site .qty-widget .qty-btn:disabled { color: var(--line) !important; background: transparent !important; cursor: not-allowed; }

/* Mobile menu hamburger toggle */
.portauto-site .menu-toggle,
.portauto-site button.menu-toggle {
  color: var(--ink) !important;
  background: transparent !important;
}
.portauto-site .menu-toggle:hover { color: var(--accent) !important; background: var(--surface) !important; }
.portauto-site .menu-toggle svg { stroke: currentColor !important; display: block !important; }
.portauto-site .menu-toggle svg line { stroke: currentColor !important; }

/* Drawer-close (mobile menu close) */
.portauto-site .drawer-close { color: var(--ink) !important; }
.portauto-site .drawer-close svg { stroke: currentColor !important; display: block !important; }

/* SVG icons inside btn-arrow on buttons */
.portauto-site .btn .btn-arrow,
.portauto-site .btn svg { stroke: currentColor !important; display: inline-block !important; vertical-align: middle; }

/* Cat-card / value-list arrows */
.portauto-site .cat-card .arrow svg,
.portauto-site .value-arrow,
.portauto-site .more svg { stroke: currentColor !important; }

/* Topbar + footer-contact icons */
.portauto-site .topbar .icon,
.portauto-site .footer-contact svg { stroke: currentColor !important; display: inline-block !important; }
.portauto-site .footer-contact svg { color: var(--accent) !important; }

/* Footer social icons */
.portauto-site .footer-socials a { color: rgba(255,255,255,.78) !important; }
.portauto-site .footer-socials a:hover { background: var(--accent) !important; border-color: var(--accent) !important; color: #fff !important; }
.portauto-site .footer-socials svg { fill: currentColor !important; display: block !important; }

/* Quote toast */
.portauto-site .quote-toast svg { color: var(--accent) !important; stroke: currentColor !important; display: inline-block !important; }

/* ---------- Hide Elementor Floating Bars (the "Returning for another trip?" popup) ---------- */
.e-floating-bars,
.e-floating-bars__overlay,
[class*="e-floating-bars"],
[class^="elementor-floating-bar"],
.elementor-element[data-widget_type*="floating-bar"] { display: none !important; }

/* If it injects an inline body padding to compensate for the bar, remove it too */
body.has-floating-bar,
body.ehp-body-padding-top { padding-top: 0 !important; }

/* ---------- TOPBAR — force white text on dark blue background ---------- */
.portauto-site .topbar,
.portauto-site .topbar > .container,
.portauto-site .topbar > .container > * { color: rgba(255,255,255,.88) !important; }

.portauto-site .topbar a,
.portauto-site .topbar a:link,
.portauto-site .topbar a:visited,
.portauto-site .topbar a:active,
.portauto-site .topbar a *,
.portauto-site .topbar span,
.portauto-site .topbar div { color: rgba(255,255,255,.88) !important; text-decoration: none !important; }

.portauto-site .topbar a:hover,
.portauto-site .topbar a:hover * { color: var(--accent) !important; }
.portauto-site .topbar a:hover svg { stroke: var(--accent) !important; }

.portauto-site .topbar svg,
.portauto-site .topbar .icon,
.portauto-site .topbar .ext-icon { stroke: currentColor !important; color: inherit !important; opacity: .8 !important; }

.portauto-site .topbar .topbar-divider { opacity: .35 !important; color: rgba(255,255,255,.4) !important; }

/* Portland pill-tag — keep the pill border + text light */
.portauto-site .portland-tag,
.portauto-site .portland-tag:link,
.portauto-site .portland-tag:visited {
  color: rgba(255,255,255,.92) !important;
  background: rgba(255,255,255,.08) !important;
  border: 1px solid rgba(255,255,255,.20) !important;
}
.portauto-site .portland-tag:hover {
  color: #fff !important;
  background: var(--accent) !important;
  border-color: var(--accent) !important;
}
.portauto-site .portland-tag svg,
.portauto-site .portland-tag .icon,
.portauto-site .portland-tag .ext-icon { stroke: currentColor !important; opacity: 1 !important; }

/* ---------- CAT-TILE — force white text on red + dark-blue tiles ---------- */
.portauto-site .cat-tile,
.portauto-site .cat-tile:link,
.portauto-site .cat-tile:visited,
.portauto-site a.cat-tile,
.portauto-site .cat-tile *,
.portauto-site .cat-tile .cat-title,
.portauto-site .cat-tile .cat-sub,
.portauto-site .cat-tile .cat-num-mini,
.portauto-site .cat-tile .cat-more,
.portauto-site .cat-tile .cat-more svg { color: #fff !important; text-decoration: none !important; }

.portauto-site .cat-tile.red,
.portauto-site a.cat-tile.red { background: var(--accent) !important; }
.portauto-site .cat-tile.dark,
.portauto-site a.cat-tile.dark { background: var(--primary) !important; }

.portauto-site .cat-tile .cat-more svg { stroke: currentColor !important; }

/* Tighten heading on small tiles so "SUSPENSION" / "BODY & CAB" / "ELECTRICAL" don't run into the photo edge */
.portauto-site .cat-tile .cat-title {
  font-size: clamp(1.375rem, 2.2vw, 1.875rem) !important;
  line-height: 0.95 !important;
}

/* Strengthen gradient overlay so the red text reads on the photo no matter what */
.portauto-site .cat-tile.red .cat-photo::after  { background: linear-gradient(90deg, var(--accent) 0%, rgba(215,38,56,.85) 45%, rgba(215,38,56,.35) 80%, transparent 100%) !important; }
.portauto-site .cat-tile.dark .cat-photo::after { background: linear-gradient(90deg, var(--primary) 0%, rgba(11,42,107,.88) 45%, rgba(11,42,107,.35) 80%, transparent 100%) !important; }

/* Hover — keep contrast */
.portauto-site .cat-tile:hover .cat-title,
.portauto-site .cat-tile:hover .cat-sub,
.portauto-site .cat-tile:hover .cat-num-mini,
.portauto-site .cat-tile:hover .cat-more { color: #fff !important; }

/* ---------- NUCLEAR: hide Elementor Floating Bars in every variant ---------- */
.e-floating-bars,
.e-floating-bars__overlay,
[class*="e-floating-bars"],
[class*="floating-bar"],
[class*="floating_bar"],
.elementor-floating-element,
.elementor-element[data-element_type*="floating"],
[data-widget_type*="floating-bars"],
body > div[class*="e-floating"],
.e-floating-bars__close-button {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  height: 0 !important;
  width: 0 !important;
  position: absolute !important;
  left: -99999px !important;
  top: -99999px !important;
  overflow: hidden !important;
}

body { padding-top: 0 !important; padding-bottom: 0 !important; }

/* ---------- Unicode × button styling for cart-drawer-close + ci-remove ---------- */
.portauto-site .cart-drawer-close {
  font-family: 'Inter', sans-serif !important;
  font-size: 28px !important;
  line-height: 1 !important;
  font-weight: 300 !important;
  padding: 0 !important;
  width: 36px !important;
  height: 36px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.portauto-site .cart-item .ci-remove {
  font-family: 'Inter', sans-serif !important;
  font-size: 22px !important;
  line-height: 1 !important;
  font-weight: 300 !important;
  padding: 0 !important;
  width: 28px !important;
  height: 28px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}
