/* =====================================================================
   Ashish Trading Company — main stylesheet
   Palette from the ATC logo. Contrast notes:
   - white on --red ≈ 5.8:1 (AA)      - --charcoal on --gold ≈ 9.7:1 (AAA)
   - --gold on --charcoal ≈ 9.7:1     - gold text is NEVER placed on red
   ===================================================================== */
:root {
  --red: #cc0c1c;      /* logo red */
  --red-deep: #a30a16;
  --red-darker: #7a0710;
  --gold: #f9bd0a;     /* logo gold */
  --white: #ffffff;
  --charcoal: #1f1f1f;
  --ink-2: #4a4a4a;
  --grey-1: #f5f5f5;
  --grey-2: #ededed;
  --grey-3: #d9d9d9;
  --wa: #25d366;
  --wa-dark: #1a7f45;

  --font-head: "Montserrat", "Arial Black", Arial, sans-serif;
  --font-body: "Inter", "Segoe UI", Arial, sans-serif;

  --radius: 10px;
  --radius-lg: 18px;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 6px 20px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.14);
  --header-h: 76px;
  --container: 1200px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--charcoal);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--red); }
a:hover { color: var(--red-deep); }
button { font: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 900; text-transform: uppercase; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); font-weight: 800; text-transform: uppercase; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }

.icon { width: 1.25em; height: 1.25em; flex: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
@media (max-width: 600px) { .container { padding: 0 16px; } }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 1000;
  background: var(--gold); color: var(--charcoal); padding: 10px 16px;
  font-weight: 700; border-radius: 6px; text-decoration: none;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.on-light :focus-visible, .card :focus-visible { outline-color: var(--red); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  min-height: 48px; padding: 0.75em 1.5em;
  border: 2px solid transparent; border-radius: 999px;
  font-family: var(--font-head); font-weight: 700; font-size: 0.95rem;
  letter-spacing: 0.02em; text-transform: uppercase; text-decoration: none;
  cursor: pointer; transition: background 0.18s, color 0.18s, border-color 0.18s, transform 0.18s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn--red { background: var(--red); color: var(--white); }
.btn--red:hover { background: var(--red-deep); color: var(--white); }
.btn--white { background: var(--white); color: var(--red); }
.btn--white:hover { background: var(--grey-1); color: var(--red-deep); }
.btn--outline-white { border-color: rgba(255, 255, 255, 0.85); color: var(--white); background: transparent; }
.btn--outline-white:hover { background: var(--white); color: var(--red); }
.btn--outline { border-color: var(--red); color: var(--red); background: transparent; }
.btn--outline:hover { background: var(--red); color: var(--white); }
.btn--gold { background: var(--gold); color: var(--charcoal); }
.btn--gold:hover { background: #ffbb1a; color: var(--charcoal); }
.btn--wa { background: var(--wa-dark); color: var(--white); }
.btn--wa:hover { background: #146636; color: var(--white); }
.btn--sm { min-height: 40px; padding: 0.5em 1em; font-size: 0.8rem; }
.btn--block { width: 100%; }

/* ---------- Badges ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 0.4em;
  padding: 0.3em 0.8em; border-radius: 999px;
  font-family: var(--font-head); font-size: 0.72rem; font-weight: 800;
  letter-spacing: 0.08em; text-transform: uppercase; line-height: 1.4;
}
.badge--gold { background: var(--gold); color: var(--charcoal); }
.badge--red { background: var(--red); color: var(--white); }
.badge--dark { background: var(--charcoal); color: var(--white); }
.badge--grey { background: var(--grey-2); color: var(--charcoal); }
.badge .icon { width: 1.1em; height: 1.1em; }

/* ---------- Top bar + Header ---------- */
.topbar { background: var(--charcoal); color: #d6d6d6; font-size: 0.82rem; }
.topbar .container { display: flex; justify-content: space-between; gap: 16px; padding-top: 6px; padding-bottom: 6px; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { color: var(--gold); }
.topbar span { display: inline-flex; align-items: center; gap: 6px; }
.topbar .icon { color: var(--gold); width: 1em; height: 1em; }
@media (max-width: 760px) { .topbar { display: none; } }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--red); color: var(--white);
  transition: box-shadow 0.2s;
}
.site-header.is-scrolled { box-shadow: 0 4px 24px rgba(0, 0, 0, 0.22); }
.site-header .container { display: flex; align-items: center; gap: 24px; height: var(--header-h); }

.brand { display: flex; align-items: center; gap: 12px; color: var(--white); text-decoration: none; flex: none; }
.brand:hover { color: var(--white); }
.brand__logo { display: block; height: 54px; width: auto; filter: drop-shadow(0 2px 6px rgba(0,0,0,.18)); transition: transform .2s; }
.brand:hover .brand__logo { transform: scale(1.03); }

.nav { margin-left: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.nav a {
  position: relative; display: block; padding: 10px 14px;
  color: var(--white); text-decoration: none;
  font-family: var(--font-head); font-weight: 700; font-size: 0.86rem;
  letter-spacing: 0.06em; text-transform: uppercase;
}
.nav a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 3px;
  background: var(--gold); border-radius: 2px; transform: scaleX(0); transition: transform 0.2s;
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 10px; }
.header-call {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px;
  border: 2px solid rgba(255,255,255,.7); border-radius: 999px;
  color: var(--white); text-decoration: none; font-weight: 700; font-size: 0.92rem; white-space: nowrap;
}
.header-call:hover { background: var(--white); color: var(--red); }
.header-wa {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  background: var(--white); color: var(--wa-dark);
}
.header-wa:hover { background: var(--gold); color: var(--charcoal); }
.header-wa .icon { width: 24px; height: 24px; }

.nav-toggle {
  display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 10px;
  background: rgba(255,255,255,.12); border: 0; color: var(--white); cursor: pointer;
}
.nav-toggle .icon { width: 26px; height: 26px; }

@media (max-width: 1080px) {
  .header-call span { display: none; }
  .header-call { padding: 9px; border-radius: 50%; }
}
@media (max-width: 900px) {
  :root { --header-h: 66px; }
  .brand__logo { height: 46px; }
  .nav-toggle { display: grid; place-items: center; }
  .header-actions { order: 3; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; margin: 0;
    background: var(--red-deep); box-shadow: 0 20px 30px rgba(0,0,0,.25);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: all 0.2s;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav ul { flex-direction: column; padding: 8px 16px 20px; }
  .nav a { padding: 14px 8px; font-size: 1rem; border-bottom: 1px solid rgba(255,255,255,.12); }
  .nav a::after { left: 8px; right: auto; width: 40px; bottom: 8px; }
}
@media (max-width: 420px) {
  .brand__logo { height: 40px; }
  .header-wa { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--red); color: var(--white);
  padding: clamp(56px, 8vw, 110px) 0 clamp(64px, 9vw, 120px);
}
.hero::before, .hero::after {
  content: ""; position: absolute; z-index: -1; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.1);
}
.hero::before { width: 900px; height: 900px; right: -320px; top: -260px; box-shadow: inset 0 0 0 70px rgba(255,255,255,.03); }
.hero::after { width: 520px; height: 520px; right: -120px; top: -60px; border-width: 18px; border-color: rgba(0,0,0,.06); }
.hero__grid { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 48px; align-items: center; }
.hero__eyebrow { margin-bottom: 22px; }
.hero h1 { margin-bottom: 20px; }
.hero h1 em { font-style: normal; text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: .11em; text-underline-offset: .14em; text-decoration-skip-ink: none; }
.hero__lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 40em; opacity: 0.96; margin-bottom: 32px; }
.hero__lead strong { font-weight: 700; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__seal { display: grid; place-items: center; }
.seal { width: min(360px, 100%); aspect-ratio: 1; filter: drop-shadow(0 20px 40px rgba(0,0,0,.25)); }
.seal .seal-spin { transform-origin: 180px 180px; animation: spin 60s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__seal { order: -1; }
  .seal { width: 180px; }
}

.page-hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--red); color: var(--white); padding: 56px 0 60px;
}
.page-hero::before {
  content: ""; position: absolute; z-index: -1; right: -60px; top: 50%; transform: translateY(-50%);
  width: 520px; height: 520px; border-radius: 50%; background: rgba(0,0,0,.07);
}
.page-hero::after {
  content: ""; position: absolute; z-index: -1; right: 40px; top: 50%; transform: translateY(-50%);
  width: 330px; height: 290px; opacity: .16;
  background: url("../img/brand/atc-mark-white.png") center / contain no-repeat;
}
@media (max-width: 760px) { .page-hero::after { width: 200px; height: 176px; right: -30px; opacity: .12; } .page-hero::before { width: 300px; height: 300px; right: -120px; } }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 10px; }
.page-hero p { max-width: 46em; font-size: 1.1rem; margin: 0; opacity: .95; }
.breadcrumb { font-size: 0.85rem; margin-bottom: 14px; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; opacity: .6; }
.breadcrumb a { color: var(--white); }

/* ---------- Stats strip ---------- */
.stats { background: var(--charcoal); color: var(--white); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 30px 20px; text-align: center; border-left: 1px solid rgba(255,255,255,.1); }
.stat:first-child { border-left: 0; }
.stat { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.stat__num { display: flex; align-items: center; justify-content: center; min-height: calc(clamp(1.8rem, 3.4vw, 2.6rem) * 1.15); white-space: nowrap; font-family: var(--font-head); font-weight: 900; font-size: clamp(1.8rem, 3.4vw, 2.6rem); color: var(--gold); line-height: 1.1; }
.stat__num--text { font-size: clamp(1.2rem, 2.4vw, 2rem); }
.stat__label { display: block; margin-top: 6px; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: #dcdcdc; }
@media (max-width: 760px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.1); }
}

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section--grey { background: var(--grey-1); }
.section--tight { padding: clamp(40px, 5vw, 64px) 0; }
.section-head { max-width: 760px; margin-bottom: 44px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 12px;
  font-family: var(--font-head); font-size: 0.8rem; font-weight: 800;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--red);
}
.eyebrow::before { content: ""; width: 28px; height: 3px; background: var(--gold); border-radius: 2px; }
.section-head--center .eyebrow::after { content: ""; width: 28px; height: 3px; background: var(--gold); border-radius: 2px; }
.section-head h2 { margin-bottom: 14px; }
.section-head p { color: var(--ink-2); font-size: 1.08rem; margin: 0; }

.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); }
@media (max-width: 980px) { .grid--4 { grid-template-columns: repeat(2, 1fr); } .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow); }

/* ---------- About snapshot ---------- */
.snapshot { display: grid; grid-template-columns: auto 1fr auto; gap: 40px; align-items: center; }
.snapshot__year {
  width: 170px; height: 170px; border-radius: 50%; display: grid; place-content: center; text-align: center;
  background: var(--red); color: var(--white); box-shadow: 0 0 0 8px var(--white), 0 0 0 11px var(--red);
  font-family: var(--font-head); text-transform: uppercase;
}
.snapshot__year small { font-size: 0.72rem; letter-spacing: 0.22em; font-weight: 700; }
.snapshot__year strong { font-size: 2.6rem; font-weight: 900; line-height: 1; }
.snapshot p { font-size: 1.15rem; color: var(--ink-2); margin: 0; }
.snapshot h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
@media (max-width: 820px) {
  .snapshot { grid-template-columns: 1fr; text-align: center; gap: 24px; }
  .snapshot__year { margin: 0 auto; width: 140px; height: 140px; }
}

/* ---------- Brand cards ---------- */
.brand-card {
  position: relative; display: flex; flex-direction: column; gap: 16px;
  padding: 34px 32px 30px; border-top: 6px solid var(--red); overflow: hidden;
}
.brand-card::after {
  content: ""; position: absolute; right: -70px; bottom: -70px; width: 200px; height: 200px;
  border-radius: 50%; border: 22px solid var(--grey-1); z-index: 0;
}
.brand-card > * { position: relative; z-index: 1; }
.brand-card__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.brand-logo {
  display: inline-grid; place-items: center; min-width: 150px; height: 64px; padding: 0 20px;
  border-radius: 12px; background: var(--grey-1); border: 2px dashed var(--grey-3);
  font-family: var(--font-head); font-weight: 900; font-size: 1.4rem; color: var(--red); text-transform: uppercase; letter-spacing: .02em;
}
.brand-logo img { max-height: 48px; width: auto; }
.brand-card h3 { font-size: 1.5rem; text-transform: uppercase; margin: 0; }
.brand-card p { color: var(--ink-2); margin: 0; }
.brand-card__cats { display: flex; flex-wrap: wrap; gap: 8px; }
.brand-card .btn { align-self: flex-start; margin-top: 6px; }

/* ---------- Category cards ---------- */
.cat-card {
  display: flex; flex-direction: column; gap: 10px; padding: 26px 22px;
  text-decoration: none; color: var(--charcoal); border: 2px solid transparent;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.cat-card:hover { border-color: var(--red); transform: translateY(-3px); box-shadow: var(--shadow-lg); color: var(--charcoal); }
.cat-card__icon {
  width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center;
  background: var(--red); color: var(--white); box-shadow: 0 0 0 5px rgba(204,12,28,.12);
}
.cat-card__icon .icon { width: 30px; height: 30px; }
.cat-card h3 { font-size: 1.05rem; margin: 6px 0 0; }
.cat-card p { font-size: .9rem; color: var(--ink-2); margin: 0; flex: 1; }
.cat-card__foot { display: flex; align-items: center; justify-content: space-between; font-weight: 700; font-size: .85rem; color: var(--red); }

/* ---------- Value props ---------- */
.value { display: flex; gap: 18px; padding: 26px; }
.value__icon {
  flex: none; width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center;
  background: var(--charcoal); color: var(--gold);
}
.value__icon .icon { width: 28px; height: 28px; }
.value h3 { margin-bottom: 6px; font-size: 1.08rem; }
.value p { margin: 0; color: var(--ink-2); font-size: .95rem; }

/* ---------- Founders ---------- */
.legacy { position: relative; overflow: hidden; }
.legacy::before {
  content: "SINCE 1986"; position: absolute; left: 50%; top: 20px; transform: translateX(-50%);
  font-family: var(--font-head); font-weight: 900; font-size: clamp(4rem, 13vw, 11rem);
  color: rgba(0,0,0,.035); white-space: nowrap; pointer-events: none; letter-spacing: -.02em;
}
.legacy .container { position: relative; }
.founder { text-align: center; padding: 36px 28px 32px; }
.founder__photo {
  position: relative; width: 150px; height: 150px; margin: 0 auto 22px; border-radius: 50%;
  background: var(--grey-2); box-shadow: 0 0 0 6px var(--white), 0 0 0 11px var(--red);
  display: grid; place-items: center; overflow: visible;
}
.founder__photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.founder__photo span { font-family: var(--font-head); font-weight: 900; font-size: 2.4rem; color: var(--red); }
.founder__photo::after {
  content: ""; position: absolute; top: 4px; right: 10px; width: 20px; height: 20px;
  border-radius: 50%; background: var(--gold); border: 3px solid var(--white);
}
.founder h3 { font-size: 1.25rem; margin-bottom: 4px; }
.founder__title { display: block; font-family: var(--font-head); font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--red); margin-bottom: 14px; }
.founder p { color: var(--ink-2); font-size: .95rem; margin: 0; }

/* ---------- Testimonials ---------- */
.reviews { position: relative; }
.reviews__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 3); gap: 24px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 6px 2px 16px;
}
.reviews__track::-webkit-scrollbar { display: none; }
@media (max-width: 980px) { .reviews__track { grid-auto-columns: calc((100% - 24px) / 2); } }
@media (max-width: 640px) { .reviews__track { grid-auto-columns: 88%; } }
.review { scroll-snap-align: start; padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.review__stars { display: flex; gap: 2px; color: var(--gold); }
.review__stars .icon { width: 20px; height: 20px; }
.review__stars .is-off { color: var(--grey-3); }
.review blockquote { margin: 0; flex: 1; font-size: 1rem; color: var(--charcoal); }
.review footer { display: flex; align-items: center; gap: 12px; }
.review__avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--red); color: var(--white); display: grid; place-items: center; font-weight: 800; font-family: var(--font-head); }
.review footer strong { display: block; line-height: 1.2; }
.review footer small { color: var(--ink-2); }
.reviews__nav { display: flex; gap: 10px; justify-content: flex-end; margin-top: 8px; }
.round-btn {
  width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--red);
  background: var(--white); color: var(--red); display: grid; place-items: center; cursor: pointer;
}
.round-btn:hover { background: var(--red); color: var(--white); }
.round-btn--prev .icon { transform: rotate(180deg); }
.sample-note { font-size: .8rem; color: var(--ink-2); font-style: italic; margin-top: 10px; }

/* ---------- CTA banner ---------- */
.cta-banner {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--red); color: var(--white); border-radius: var(--radius-lg);
  padding: clamp(36px, 5vw, 60px); display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center;
}
.cta-banner::before {
  content: ""; position: absolute; z-index: -1; left: -80px; bottom: -160px; width: 360px; height: 360px;
  border-radius: 50%; border: 30px solid rgba(255,255,255,.06);
}
.cta-banner h2 { font-size: clamp(1.5rem, 2.8vw, 2.2rem); margin-bottom: 8px; }
.cta-banner p { margin: 0; opacity: .95; }
.cta-banner__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 820px) { .cta-banner { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: stretch; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.info-list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 18px; }
.info-list li { display: flex; gap: 14px; }
.info-list .i {
  flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--red); color: var(--white);
}
.info-list strong { display: block; font-family: var(--font-head); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.info-list a { color: var(--charcoal); font-weight: 600; text-decoration: none; }
.info-list a:hover { color: var(--red); text-decoration: underline; }
.hours { width: 100%; border-collapse: collapse; }
.hours td { padding: 4px 0; }
.hours td:last-child { text-align: right; font-weight: 700; }
.hours .is-closed { color: var(--red); }
.hours .is-today td { color: var(--red); }

[data-render="map"] { display: flex; flex-direction: column; min-height: 380px; }
.map-frame { border: 0; width: 100%; flex: 1; min-height: 380px; border-radius: var(--radius-lg); box-shadow: var(--shadow); background: var(--grey-2); }
.map-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-weight: 600; }

.panel { padding: clamp(24px, 3vw, 36px); }
.panel h3 { font-size: 1.3rem; text-transform: uppercase; }

.form { display: grid; gap: 14px; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 14px; border: 2px solid var(--grey-3); border-radius: 10px;
  font: inherit; color: var(--charcoal); background: var(--white);
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(204,12,28,.15); }
.field textarea { min-height: 110px; resize: vertical; }
.field .hint { font-size: .8rem; color: var(--ink-2); margin-top: 4px; }
.form__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.form__status { font-size: .9rem; margin: 0; min-height: 1.4em; }
.form__status.is-error { color: var(--red); font-weight: 600; }

.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: -40px; position: relative; z-index: 2; }
@media (max-width: 980px) { .contact-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .contact-cards { grid-template-columns: 1fr; } }
.contact-card { padding: 24px; text-decoration: none; color: var(--charcoal); display: flex; flex-direction: column; gap: 8px; border-bottom: 4px solid var(--red); transition: transform .2s; }
.contact-card:hover { transform: translateY(-3px); color: var(--charcoal); }
.contact-card .i { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--grey-1); color: var(--red); }
.contact-card .i .icon { width: 24px; height: 24px; }
.contact-card strong { font-family: var(--font-head); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.contact-card span { font-weight: 700; font-size: 1.05rem; word-break: break-word; }
.contact-card--wa { border-bottom-color: var(--wa); }
.contact-card--wa .i { color: var(--wa-dark); }

/* ---------- Footer ---------- */
.site-footer { background: var(--charcoal); color: #cfcfcf; border-top: 6px solid var(--red); font-size: .95rem; }
.site-footer a { color: #e6e6e6; text-decoration: none; }
.site-footer a:hover { color: var(--gold); text-decoration: underline; }
.footer__grid { display: grid; grid-template-columns: 1.25fr 0.65fr 1fr 1.35fr; gap: 40px; padding: 60px 0 40px; }
@media (max-width: 1100px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; gap: 30px; } }
.site-footer h2 { font-size: .85rem; letter-spacing: .16em; color: var(--white); margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer__logo { display: inline-block; margin-bottom: 20px; border-radius: 14px; overflow: hidden; box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 12px 30px rgba(0,0,0,.45); transition: transform .2s; }
.footer__logo:hover { transform: translateY(-2px); }
.footer__logo img { width: 190px; height: auto; }
.footer__brands { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.footer__brands span { padding: 6px 12px; border: 1px solid rgba(255,255,255,.2); border-radius: 8px; font-family: var(--font-head); font-weight: 800; font-size: .8rem; color: var(--white); text-transform: uppercase; }
.footer__contact { gap: 14px !important; }
.footer__contact li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.55; }
.footer__contact .icon { color: var(--gold); margin-top: 2px; }
.footer__contact li > span, .footer__contact li > a { min-width: 0; }
.nowrap { white-space: nowrap; }
.footer__hours { display: grid; grid-template-columns: auto auto; column-gap: 12px; }
.footer__hours dt { color: #9e9e9e; }
.footer__hours dd { margin: 0; color: #e6e6e6; white-space: nowrap; }
.footer__social { display: flex; gap: 10px; margin-top: 16px; }
.footer__social a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); font-weight: 800; font-size: .8rem; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0 28px; font-size: .85rem; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
/* keep footer text clear of the floating buttons on both sides */
.footer__credit a { color: var(--gold) !important; font-weight: 700; }
.footer__credit a:hover { color: #ffbb1a !important; }
@media (max-width: 1360px) { .footer__bottom { padding-left: 76px; padding-right: 76px; } }
@media (max-width: 640px) { .footer__bottom { padding: 20px 0 90px; flex-direction: column; text-align: center; } }

/* ---------- Floating buttons ----------
   WhatsApp sits bottom-LEFT, chat launcher bottom-RIGHT.
   Both carry a white ring + dark shadow so they stand out on red, white,
   grey and charcoal sections alike. */
.fab {
  width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; flex: none;
  border: 3px solid var(--white); cursor: pointer; text-decoration: none;
  box-shadow: 0 0 0 1px rgba(0,0,0,.08), 0 10px 28px rgba(0,0,0,.35);
  transition: transform .2s, box-shadow .2s;
}
.fab:hover { transform: scale(1.07); }
.fab .icon { width: 28px; height: 28px; }

.fab--wa { position: fixed; left: 20px; bottom: 20px; z-index: 200; background: var(--wa); color: var(--white); }
.fab--wa:hover { color: var(--white); }
.fab--wa .icon { width: 32px; height: 32px; }

.chat-launcher { position: fixed; right: 20px; bottom: 20px; z-index: 200; display: flex; align-items: center; gap: 12px; }
.chat-launcher__label {
  position: relative; padding: 9px 14px; border-radius: 12px; cursor: pointer;
  background: var(--white); color: var(--charcoal); border: 0;
  font-family: var(--font-head); font-weight: 700; font-size: .82rem; line-height: 1.2; text-align: left;
  box-shadow: 0 0 0 1px rgba(0,0,0,.06), 0 8px 24px rgba(0,0,0,.22);
  animation: label-in .35s ease-out 1.2s both;
}
.chat-launcher__label small { display: block; font-family: var(--font-body); font-weight: 500; font-size: .74rem; color: var(--ink-2); }
.chat-launcher__label::after {
  content: ""; position: absolute; right: -6px; top: 50%; width: 12px; height: 12px;
  background: var(--white); transform: translateY(-50%) rotate(45deg);
}
.chat-launcher.is-used .chat-launcher__label { display: none; }
@keyframes label-in { from { opacity: 0; transform: translateX(8px); } to { opacity: 1; transform: none; } }

.fab--chat { position: relative; background: var(--gold); color: var(--charcoal); }
.fab--chat::before { /* soft attention pulse */
  content: ""; position: absolute; inset: -3px; border-radius: 50%;
  border: 3px solid var(--gold); animation: pulse 2.4s ease-out infinite; pointer-events: none;
}
.fab--chat::after { /* unread dot */
  content: ""; position: absolute; top: -2px; right: -2px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--red); border: 2px solid var(--white);
}
.fab--chat[aria-expanded="true"] { background: var(--charcoal); color: var(--white); }
.fab--chat[aria-expanded="true"]::before, .fab--chat[aria-expanded="true"]::after,
.chat-launcher.is-used .fab--chat::after, .chat-launcher.is-used .fab--chat::before { display: none; }
@keyframes pulse { 0% { transform: scale(1); opacity: .8; } 70%, 100% { transform: scale(1.45); opacity: 0; } }

@media (max-width: 640px) {
  .chat-launcher__label { display: none; }
  .fab--wa { left: 14px; bottom: 14px; }
  .chat-launcher { right: 14px; bottom: 14px; }
  .fab { width: 54px; height: 54px; }
}

/* ---------- Chatbot ---------- */
.chat {
  position: fixed; right: 20px; bottom: 96px; z-index: 210;
  width: min(380px, calc(100vw - 28px)); height: min(560px, calc(100vh - 130px));
  background: var(--white); border-radius: 18px;
  box-shadow: 0 0 0 1px rgba(0,0,0,.08), 0 20px 50px rgba(0,0,0,.35);
  display: flex; flex-direction: column; overflow: hidden;
  transform: translateY(12px) scale(.98); opacity: 0; visibility: hidden; transition: all .2s;
}
.chat.is-open { transform: none; opacity: 1; visibility: visible; }
@media (max-width: 640px) { .chat { right: 14px; bottom: 80px; height: calc(100vh - 110px); } }
.chat__head { background: var(--red); color: var(--white); padding: 14px 16px; display: flex; align-items: center; gap: 12px; }
.chat__avatar { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--red-deep); box-shadow: 0 0 0 2px var(--white), 0 0 0 4px var(--gold); }
.chat__avatar img { width: 34px; height: auto; }
.chat__head strong { display: block; font-family: var(--font-head); text-transform: uppercase; letter-spacing: .04em; font-size: .95rem; line-height: 1.2; }
.chat__head small { display: flex; align-items: center; gap: 6px; font-size: .78rem; opacity: .95; }
.chat__head small::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.chat__close { margin-left: auto; background: rgba(255,255,255,.14); border: 0; color: var(--white); width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; }
.chat__close:hover { background: rgba(255,255,255,.28); }
.chat__body { flex: 1; overflow-y: auto; padding: 16px; background: var(--grey-1); display: flex; flex-direction: column; gap: 10px; }
.msg { max-width: 86%; padding: 10px 14px; border-radius: 16px; font-size: .93rem; line-height: 1.5; white-space: pre-line; }
.msg--bot { background: var(--white); border-bottom-left-radius: 4px; box-shadow: 0 1px 2px rgba(0,0,0,.06); }
.msg--user { align-self: flex-end; background: var(--red); color: var(--white); border-bottom-right-radius: 4px; }
.msg a { font-weight: 700; }
.msg .btn { margin-top: 8px; }
.chat__quick { display: flex; flex-wrap: wrap; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--grey-2); background: var(--white); max-height: 132px; overflow-y: auto; }
.chip {
  padding: 7px 12px; border-radius: 999px; border: 1.5px solid var(--red); background: var(--white);
  color: var(--red); font-size: .82rem; font-weight: 600; cursor: pointer; line-height: 1.2;
}
.chip:hover, .chip[aria-pressed="true"] { background: var(--red); color: var(--white); }
.chip--wa { border-color: var(--wa-dark); color: var(--wa-dark); }
.chip--wa:hover { background: var(--wa-dark); color: var(--white); }
.chat__form { display: flex; gap: 8px; padding: 10px 12px 12px; background: var(--white); }
.chat__form input { flex: 1; min-width: 0; padding: 10px 14px; border: 2px solid var(--grey-3); border-radius: 999px; font: inherit; font-size: .92rem; }
.chat__form input:focus { outline: none; border-color: var(--red); }
.chat__form button { width: 44px; height: 44px; flex: none; border-radius: 50%; border: 0; background: var(--red); color: var(--white); display: grid; place-items: center; cursor: pointer; }
.typing { display: inline-flex; gap: 4px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: #999; animation: blink 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 50% { opacity: .25; } }

/* ---------- Products page ---------- */
.shop { display: grid; grid-template-columns: 280px 1fr; gap: 32px; align-items: start; padding: 40px 0 80px; }
.filters { position: sticky; top: calc(var(--header-h) + 20px); max-height: calc(100vh - var(--header-h) - 40px); overflow-y: auto; padding: 22px; }
.filters h2 { font-size: .8rem; letter-spacing: .16em; color: var(--ink-2); margin: 22px 0 10px; }
.filters h2:first-of-type { margin-top: 0; }
.search { position: relative; }
.search .icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--ink-2); pointer-events: none; }
.search input { width: 100%; padding: 12px 14px 12px 42px; border: 2px solid var(--grey-3); border-radius: 999px; font: inherit; }
.search input:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(204,12,28,.15); }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--grey-1); border-radius: 12px; padding: 4px; gap: 4px; }
.seg button { border: 0; background: transparent; padding: 9px 4px; border-radius: 9px; font-weight: 700; font-size: .82rem; cursor: pointer; color: var(--charcoal); }
.seg button[aria-pressed="true"] { background: var(--red); color: var(--white); box-shadow: var(--shadow); }
.cat-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.cat-list button {
  width: 100%; display: flex; align-items: center; gap: 10px; text-align: left;
  padding: 9px 10px; border-radius: 10px; border: 0; background: transparent; cursor: pointer; font-size: .92rem; color: var(--charcoal);
}
.cat-list button .icon { color: var(--red); }
.cat-list button:hover { background: var(--grey-1); }
.cat-list button[aria-pressed="true"] { background: var(--red); color: var(--white); font-weight: 700; }
.cat-list button[aria-pressed="true"] .icon { color: var(--white); }
.cat-list button:disabled { opacity: .45; cursor: default; }
.cat-list .count { margin-left: auto; font-size: .75rem; font-weight: 700; background: var(--grey-2); color: var(--charcoal); padding: 2px 8px; border-radius: 999px; }
.cat-list button[aria-pressed="true"] .count { background: var(--gold); color: var(--charcoal); }
.filters__reset { margin-top: 18px; }
.filters__close { display: none; }

.shop-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.shop-toolbar p { margin: 0; color: var(--ink-2); }
.shop-toolbar strong { color: var(--charcoal); }
.filters-open { display: none; }
.jump { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 20px; scrollbar-width: thin; }
.jump a { flex: none; text-decoration: none; padding: 6px 12px; border-radius: 999px; background: var(--grey-1); color: var(--charcoal); font-size: .82rem; font-weight: 600; }
.jump a:hover { background: var(--charcoal); color: var(--white); }

.cat-section { margin-bottom: 48px; }
.cat-section__head { display: flex; gap: 16px; align-items: center; padding: 18px 20px; margin-bottom: 20px; background: var(--charcoal); color: var(--white); border-radius: 14px; border-left: 6px solid var(--red); }
.cat-section__head .cat-card__icon { width: 50px; height: 50px; flex: none; box-shadow: none; }
.cat-section__head .cat-card__icon .icon { width: 24px; height: 24px; }
.cat-section__head h2 { font-size: 1.25rem; margin: 0 0 2px; }
.cat-section__head p { margin: 0; font-size: .88rem; color: #d0d0d0; }
.cat-section__head .badge { margin-left: auto; flex: none; }
@media (max-width: 600px) { .cat-section__head { flex-wrap: wrap; } .cat-section__head .badge { margin-left: 66px; } }

.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; }
@media (min-width: 1280px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 1000px) and (min-width: 541px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .product-grid { grid-template-columns: 1fr; } }

.product {
  display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--grey-2);
  transition: box-shadow .2s, transform .2s, border-color .2s;
}
.product:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); border-color: var(--grey-3); }
.product__media {
  position: relative; aspect-ratio: 4 / 3; background: var(--grey-1); display: grid; place-items: center;
  border: 0; padding: 0; cursor: pointer; width: 100%; color: var(--red);
}
.product__media img { width: 100%; height: 100%; object-fit: contain; padding: 16px; }
.product__media .icon { width: 64px; height: 64px; opacity: .85; }
.product__media::after, .modal__media::after {
  content: ""; position: absolute; top: 10px; right: 12px; width: 40px; height: 35px; opacity: .55;
  background: url("../img/brand/atc-mark-red.png") center / contain no-repeat; pointer-events: none;
}
.modal__media::after { top: auto; bottom: 16px; right: 16px; width: 64px; height: 56px; }
.product__media .badge { position: absolute; top: 12px; left: 12px; }
.product__media .product__view { position: absolute; right: 12px; bottom: 12px; font-size: .75rem; font-weight: 700; background: var(--white); color: var(--charcoal); padding: 4px 10px; border-radius: 999px; opacity: 0; transition: opacity .2s; }
.product:hover .product__view, .product__media:focus-visible .product__view { opacity: 1; }
.product__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product__sub { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--red); }
.product h3 { font-size: 1rem; margin: 0; line-height: 1.3; }
.product h3 button { all: unset; cursor: pointer; }
.product h3 button:hover { color: var(--red); }
.product h3 button:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; border-radius: 4px; }
.product__model { font-size: .82rem; color: var(--ink-2); margin: 0; font-family: ui-monospace, Consolas, monospace; }
.product__specs { display: flex; flex-wrap: wrap; gap: 6px; margin: 2px 0 6px; padding: 0; list-style: none; }
.product__specs li { font-size: .78rem; background: var(--grey-1); padding: 3px 8px; border-radius: 6px; }
.product__specs b { font-weight: 600; color: var(--ink-2); }
.product .btn { margin-top: auto; }

.load-more { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 12px; }
.load-more p { margin: 0; font-size: .9rem; color: var(--ink-2); }
.empty { text-align: center; padding: 60px 20px; }
.empty .icon { width: 56px; height: 56px; color: var(--grey-3); margin: 0 auto 12px; }

@media (max-width: 900px) {
  .shop { grid-template-columns: 1fr; padding-top: 24px; }
  .filters-open { display: inline-flex; }
  .filters {
    position: fixed; inset: 0 auto 0 0; z-index: 300; width: min(340px, 88vw); max-height: none; border-radius: 0;
    transform: translateX(-105%); transition: transform .25s; overflow-y: auto;
  }
  .filters.is-open { transform: none; box-shadow: var(--shadow-lg); }
  .filters__close { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
  .filters__close strong { font-family: var(--font-head); text-transform: uppercase; }
  .filters__close button { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--grey-1); display: grid; place-items: center; cursor: pointer; }
  .scrim { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 290; }
}

/* ---------- Product modal ---------- */
.modal {
  width: min(880px, calc(100vw - 24px)); max-height: calc(100vh - 40px); padding: 0; border: 0;
  border-radius: 20px; box-shadow: var(--shadow-lg); overflow: auto; color: var(--charcoal);
}
.modal::backdrop { background: rgba(20, 20, 20, .6); }
.modal__grid { display: grid; grid-template-columns: 1fr 1.1fr; }
@media (max-width: 720px) { .modal__grid { grid-template-columns: 1fr; } }
.modal__media { background: var(--grey-1); display: grid; place-items: center; min-height: 300px; position: relative; color: var(--red); }
.modal__media img { width: 100%; height: 100%; object-fit: contain; padding: 24px; }
.modal__media .icon { width: 120px; height: 120px; }
.modal__media .badge { position: absolute; top: 16px; left: 16px; }
.modal__body { padding: 32px; display: flex; flex-direction: column; gap: 12px; }
.modal__body h2 { font-size: 1.5rem; text-transform: none; margin: 0; }
.modal__close { position: absolute; top: 12px; right: 12px; z-index: 2; width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--white); box-shadow: var(--shadow); display: grid; place-items: center; cursor: pointer; }
.modal__close:hover { background: var(--red); color: var(--white); }
.spec-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.spec-table th, .spec-table td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--grey-2); }
.spec-table th { width: 42%; color: var(--ink-2); font-weight: 600; background: var(--grey-1); }
.modal__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.modal__note { font-size: .8rem; color: var(--ink-2); margin: 0; }

/* ---------- Dealerships ---------- */
.dealer { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 48px; align-items: start; }
@media (max-width: 900px) { .dealer { grid-template-columns: 1fr; } }
.dealer .brand-logo { height: 80px; min-width: 200px; font-size: 1.8rem; margin-bottom: 20px; }
.ribbon {
  position: relative; display: inline-flex; align-items: center; gap: 10px; padding: 10px 26px 10px 18px; margin: 4px 0 22px;
  background: var(--gold); color: var(--charcoal); font-family: var(--font-head); font-weight: 800;
  font-size: .82rem; letter-spacing: .08em; text-transform: uppercase;
  clip-path: polygon(0 0, 100% 0, calc(100% - 14px) 50%, 100% 100%, 0 100%);
}
.ribbon .icon { width: 20px; height: 20px; }
.dealer__story { font-size: 1.08rem; color: var(--ink-2); }
.certificate {
  position: relative; padding: 34px 28px 30px; text-align: center; background: #fffdf6;
  border: 2px solid var(--gold); outline: 6px double rgba(242,169,0,.45); outline-offset: -14px; border-radius: 6px;
}
.certificate__logo { width: 190px; height: auto; margin: 0 auto 14px; }
.certificate small { display: block; font-family: var(--font-head); letter-spacing: .24em; font-size: .7rem; font-weight: 800; color: var(--ink-2); text-transform: uppercase; }
.certificate h3 { font-size: 1.35rem; text-transform: uppercase; margin: 10px 0 6px; }
.certificate p { font-size: .9rem; color: var(--ink-2); margin: 0 0 14px; }
.certificate__seal {
  width: 96px; height: 96px; margin: 16px auto 0; border-radius: 50%; display: grid; place-content: center;
  background: var(--red); color: var(--white); box-shadow: 0 0 0 4px #fffdf6, 0 0 0 7px var(--gold);
  font-family: var(--font-head); font-weight: 900; line-height: 1.05; font-size: .8rem; text-transform: uppercase;
}
.certificate__seal b { font-size: 1.3rem; }
.certificate__placeholder { font-size: .75rem; color: var(--ink-2); font-style: italic; margin-top: 14px; }

/* ---------- About ---------- */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .story { grid-template-columns: 1fr; } }
.story__text p { color: var(--ink-2); font-size: 1.05rem; }
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 27px; top: 10px; bottom: 10px; width: 3px; background: var(--grey-2); }
.timeline li { position: relative; padding: 0 0 26px 76px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline .dot {
  position: absolute; left: 0; top: 0; width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; background: var(--red); color: var(--white);
  font-family: var(--font-head); font-weight: 900; font-size: .72rem; box-shadow: 0 0 0 5px var(--white);
}
.timeline li:nth-child(even) .dot { background: var(--charcoal); color: var(--gold); }
.timeline h3 { margin: 4px 0 4px; font-size: 1.05rem; }
.timeline p { margin: 0; color: var(--ink-2); font-size: .95rem; }

.utility-note { background: #fff8e6; border-left: 4px solid var(--gold); padding: 12px 16px; border-radius: 8px; font-size: .88rem; margin: 0; }

/* ---------- Small-screen overflow guards ---------- */
.contact-grid > *, .shop > *, .dealer > *, .story > *, .snapshot > *, .hero__grid > *, .cta-banner > *, .grid > * { min-width: 0; }
.info-list a, .footer__contact a, .contact-card span { overflow-wrap: anywhere; }
@media (max-width: 520px) {
  .btn { white-space: normal; text-align: center; }
  .form__actions .btn, .cta-banner__actions .btn, .hero__ctas .btn { flex: 1 1 100%; }
  .ribbon { font-size: .74rem; letter-spacing: .04em; }
  .dealer .brand-logo { min-width: 0; }
}

/* ---------- Alignment pass ---------- */
/* Brand cards: keep the CTA pinned to the bottom so both cards line up */
.brand-card .btn { margin-top: auto; }
.brand-card__cats { margin-bottom: 8px; }

/* Hours table: short day names, "Today" pill, never split a time range */
.hours td { white-space: nowrap; vertical-align: middle; }
.hours td:first-child { padding-right: 12px; }
.hours .today {
  display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 999px; vertical-align: 1px;
  background: var(--gold); color: var(--charcoal); font-size: .66rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
}
.hours .is-today td { color: var(--charcoal); font-weight: 700; }
.hours .is-today td.is-closed, .hours td.is-closed { color: var(--red); }
@media (max-width: 420px) {
  .hours tr { display: block; padding: 4px 0; }
  .hours td { display: block; padding: 0; text-align: left !important; }
}

/* Products sidebar: wider, names wrap neatly with the count centred */
.shop { grid-template-columns: 300px minmax(0, 1fr); }
.filters { padding: 20px 18px; }
.cat-list button { align-items: center; padding: 9px 10px; line-height: 1.3; font-size: .9rem; }
.cat-list button > span:not(.count) { flex: 1; min-width: 0; }
.cat-list .count { margin-left: 8px; min-width: 30px; text-align: center; }
.seg button { white-space: nowrap; font-size: .8rem; }
@media (max-width: 900px) { .shop { grid-template-columns: minmax(0, 1fr); } }

/* Hero badge: wraps as a tidy rounded label rather than a stretched pill */
.hero__eyebrow .badge { border-radius: 12px; line-height: 1.35; padding: .5em .9em; }

/* Dealerships */
.dealer .eyebrow { letter-spacing: .1em; align-items: flex-start; }
.dealer .eyebrow::before { margin-top: .6em; flex: none; }
.ribbon { line-height: 1.3; }

/* Phones */
@media (max-width: 520px) {
  .btn { font-size: .84rem; padding: .7em 1.1em; }
  .btn--sm { font-size: .76rem; }
  .brand-card { padding: 28px 20px 24px; }
  .stat { padding: 22px 8px; }
  .stat__label { font-size: .7rem; letter-spacing: .06em; }
  .founder { padding: 30px 18px 26px; }
  .founder__title { letter-spacing: .06em; }
  .panel { padding: 22px 18px; }
  .section-head { margin-bottom: 32px; }
}

/* Footer bottom: legal lines left, developer credit right */
.footer__bottom { align-items: center; }
.footer__legal { display: flex; flex-wrap: wrap; column-gap: 24px; row-gap: 4px; }
.footer__credit { white-space: nowrap; }
@media (max-width: 640px) { .footer__legal { flex-direction: column; align-items: center; } }
@media (min-width: 641px) {
  .footer__bottom { flex-wrap: nowrap; }
  .footer__legal { flex: 1 1 auto; min-width: 0; }
  .footer__credit { flex: none; }
}

/* ---------- Brand logo highlights ---------- */
.about-logo { display: flex; align-items: center; gap: 22px; margin: 6px 0 26px; padding: 18px 20px; border-radius: 16px; background: var(--grey-1); border-left: 5px solid var(--gold); }
.about-logo img { width: 120px; height: auto; flex: none; border-radius: 10px; box-shadow: 0 8px 20px rgba(204,12,28,.25); }
.about-logo p { margin: 0; font-size: .95rem !important; }
@media (max-width: 480px) { .about-logo { flex-direction: column; text-align: center; } }
.hero .seal image { filter: drop-shadow(0 4px 10px rgba(0,0,0,.25)); }
