/* ==========================================================================
   Badger Tire & Wheel — Custom Stylesheet
   Wholesale Trailer Parts Distributor | Jackson, WI
   ========================================================================== */

/* ---------- CSS Custom Properties ---------- */
:root {
  --bg: #f4f3f0;
  --bg-alt: #eae8e3;
  --bg-card: #ffffff;
  --bg-dark: #1c1e22;
  --text: #1a1c20;
  --text-muted: #4a4d55;
  --text-faint: #7d808a;
  --primary: #a63228;
  --primary-rgb: 166, 50, 40;
  --primary-light: #c94a3e;
  --accent: #c98a1e;
  --accent-light: #e5a832;
  --border: #c8c5be;
  --border-light: #dddbd5;
  --font-heading: 'Barlow Condensed', sans-serif;
  --font-body: 'Source Sans 3', sans-serif;
  --h1: clamp(2.25rem, 1.8rem + 2.25vw, 3.75rem);
  --h2: clamp(1.75rem, 1.45rem + 1.5vw, 2.75rem);
  --h3: clamp(1.375rem, 1.2rem + 0.875vw, 1.875rem);
  --body: clamp(1rem, 0.975rem + 0.125vw, 1.0625rem);
  --transition-color: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}

[data-theme="dark"] {
  --bg: #15171a;
  --bg-alt: #1c1e22;
  --bg-card: #23262b;
  --bg-dark: #0d0e10;
  --text: #e8e6e1;
  --text-muted: #9fa2a9;
  --text-faint: #6b6e76;
  --primary: #d44a3e;
  --primary-rgb: 212, 74, 62;
  --primary-light: #e55d50;
  --accent: #e5a832;
  --accent-light: #f0be4e;
  --border: #33363c;
  --border-light: #292c31;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-size: var(--body);
  font-weight: 400;
  line-height: 1.65;
  color: var(--text);
  background-color: var(--bg);
  transition: var(--transition-color);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden; padding-bottom: 2.25rem; }

img { display: block; max-width: 100%; height: auto; filter: saturate(0.85); }
a { color: var(--primary); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--primary-light); }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  text-transform: uppercase;
  line-height: 1.1;
  color: var(--text);
  transition: var(--transition-color);
}
h1 { font-size: var(--h1); font-weight: 700; letter-spacing: 0.02em; }
h2 { font-size: var(--h2); font-weight: 700; letter-spacing: 0.02em; }
h3 { font-size: var(--h3); font-weight: 600; letter-spacing: 0.02em; }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.heading-rule {
  display: block;
  width: 48px;
  height: 3px;
  background-color: var(--primary);
  margin-bottom: 1.25rem;
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.heading-rule.visible { transform: scaleX(1); }
.heading-rule--accent { background-color: var(--accent); }

.kicker {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary);
  margin-bottom: 0.5rem;
  display: block;
}
.kicker--light { color: var(--accent-light); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; }
@media (min-width: 768px) { .container { padding: 0 2rem; } }
.section { padding: 5rem 0; }
@media (min-width: 768px) { .section { padding: 6rem 0; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9375rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.875rem 2rem;
  min-height: 44px;
  border-radius: 2px;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
  text-decoration: none;
  line-height: 1.2;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }

.btn--primary { background-color: var(--primary); color: #fff; }
.btn--primary:hover { background-color: var(--primary-light); color: #fff; }
.btn--outline { background-color: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.4); }
.btn--outline:hover { border-color: #fff; color: #fff; background-color: rgba(255,255,255,0.08); }
.btn--outline-dark { background-color: transparent; color: var(--text); border: 1px solid var(--border); }
.btn--outline-dark:hover { border-color: var(--primary); color: var(--primary); }
.btn--white { background-color: #fff; color: var(--primary); }
.btn--white:hover { background-color: #f0efec; color: var(--primary); }
.btn--sm { padding: 0.625rem 1.25rem; font-size: 0.8125rem; }

/* ---------- Skip Link ---------- */
.skip-link {
  position: absolute; top: -100%; left: 1rem;
  background-color: var(--primary); color: #fff;
  padding: 0.5rem 1rem;
  font-family: var(--font-heading); font-weight: 600; font-size: 0.875rem;
  text-transform: uppercase; z-index: 9999; text-decoration: none;
}
.skip-link:focus { top: 0.5rem; color: #fff; }

/* ---------- Dealer Gate Banner ---------- */
.dealer-gate {
  width: 100%;
  height: 36px;
  background-color: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.3s ease, color 0.3s ease;
  position: fixed;
  top: 0; left: 0;
  z-index: 1001;
  will-change: transform, opacity;
}
.dealer-gate.collapsed { transform: translateY(-100%); opacity: 0; pointer-events: none; }
@media (min-width: 640px) { .dealer-gate { font-size: 0.75rem; } }

/* ---------- Header / Nav ---------- */
.header {
  position: fixed;
  top: 36px; left: 0; width: 100%;
  z-index: 1000;
  transition: background-color 0.3s ease, box-shadow 0.3s ease, top 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}
.header.gate-collapsed { top: 0; }
.header.scrolled { background-color: var(--bg); border-bottom-color: var(--border-light); }

.has-dark-hero .header:not(.scrolled) { background-color: transparent; }
.has-dark-hero .header:not(.scrolled) .nav__logo,
.has-dark-hero .header:not(.scrolled) .nav__link,
.has-dark-hero .header:not(.scrolled) .theme-toggle { color: #fff; }
.has-dark-hero .header:not(.scrolled) .nav__link:hover { color: var(--accent-light); }
.has-dark-hero .header:not(.scrolled) .hamburger span { background-color: #fff; }

.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px; max-width: 1200px; margin: 0 auto; padding: 0 1.25rem;
}
@media (min-width: 768px) { .nav { height: 72px; padding: 0 2rem; } }

.nav__logo {
  font-family: var(--font-heading); font-weight: 700; font-size: 1.125rem;
  text-transform: uppercase; letter-spacing: 0.02em; color: var(--text);
  text-decoration: none; transition: color 0.3s ease; white-space: nowrap;
}
@media (min-width: 480px) { .nav__logo { font-size: 1.25rem; } }

.nav__links { display: none; align-items: center; gap: 2rem; }
@media (min-width: 900px) { .nav__links { display: flex; } }

.nav__link {
  font-family: var(--font-heading); font-weight: 600; font-size: 0.875rem;
  text-transform: uppercase; letter-spacing: 0.04em; color: var(--text);
  text-decoration: none; transition: color 0.2s ease;
  min-height: 44px; display: flex; align-items: center;
}
.nav__link:hover { color: var(--primary); }
.nav__link--active { color: var(--primary); }

.nav__actions { display: flex; align-items: center; gap: 0.75rem; }

.theme-toggle {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text); transition: color 0.3s ease; border-radius: 2px;
}
.theme-toggle:hover { color: var(--primary); }
.theme-toggle svg { width: 20px; height: 20px; }
.theme-toggle .icon-moon { display: none; }
.theme-toggle .icon-sun { display: block; }
[data-theme="dark"] .theme-toggle .icon-moon { display: block; }
[data-theme="dark"] .theme-toggle .icon-sun { display: none; }

.hamburger {
  display: flex; flex-direction: column; justify-content: center;
  align-items: center; width: 44px; height: 44px; gap: 5px;
}
@media (min-width: 900px) { .hamburger { display: none; } }
.hamburger span {
  display: block; width: 22px; height: 2px;
  background-color: var(--text);
  transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.3s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__cta-desktop { display: none; }
@media (min-width: 900px) { .nav__cta-desktop { display: inline-flex; } }

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 100px; left: 0; width: 100%;
  background-color: var(--bg);
  border-bottom: 1px solid var(--border-light);
  padding: 1.5rem 1.25rem 2rem;
  z-index: 999;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}
.mobile-menu.gate-collapsed { top: 64px; }
.mobile-menu.open { display: block; }

.mobile-menu__link {
  display: flex; align-items: center;
  font-family: var(--font-heading); font-weight: 600; font-size: 1.125rem;
  text-transform: uppercase; letter-spacing: 0.04em; color: var(--text);
  text-decoration: none; padding: 0.875rem 0; min-height: 44px;
  border-bottom: 1px solid var(--border-light);
  transition: color 0.2s ease, border-color 0.3s ease;
}
.mobile-menu__link:hover { color: var(--primary); }
.mobile-menu__link--active { color: var(--primary); }
.mobile-menu__cta { margin-top: 1.25rem; width: 100%; text-align: center; }

/* ---------- Hero ---------- */
.hero {
  position: relative; width: 100%; min-height: 85vh;
  display: flex; align-items: center; overflow: hidden;
  background-color: var(--bg-dark);
}
.hero__bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to right,
    rgba(0,0,0,0.82) 0%,
    rgba(0,0,0,0.6) 40%,
    rgba(0,0,0,0.15) 75%,
    transparent 100%
  );
}
.hero__content {
  position: relative; z-index: 2; max-width: 620px; padding: 7rem 1.25rem 4rem;
}
@media (min-width: 768px) { .hero__content { padding: 8rem 2rem 5rem; max-width: 680px; } }
@media (min-width: 1024px) { .hero__content { padding: 10rem 2rem 6rem; } }

.hero__headline { color: #fff; margin-bottom: 1.25rem; text-wrap: balance; }
.hero__sub {
  color: rgba(255,255,255,0.75);
  font-size: clamp(1.0625rem, 1rem + 0.3125vw, 1.1875rem);
  line-height: 1.6; margin-bottom: 2.25rem; max-width: 520px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ---------- Trust Bar ---------- */
.trust-bar {
  background-color: var(--bg-dark); padding: 2.5rem 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.trust-bar__grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 2rem 1.5rem; text-align: center;
}
@media (min-width: 640px) { .trust-bar__grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .trust-bar__grid { grid-template-columns: repeat(5, 1fr); gap: 1rem; } }

.trust-bar__item { display: flex; flex-direction: column; align-items: center; gap: 0.25rem; }
.trust-bar__value {
  font-family: var(--font-heading); font-weight: 700;
  font-size: clamp(1.25rem, 1.1rem + 0.75vw, 1.75rem);
  text-transform: uppercase; color: #fff; letter-spacing: 0.02em;
}
.trust-bar__label { font-size: 0.8125rem; color: rgba(255,255,255,0.5); font-weight: 500; }

/* ---------- Product Categories ---------- */
.categories { background-color: var(--bg); transition: background-color 0.3s ease; }
.categories__header { margin-bottom: 3rem; }
.categories__header h2 { text-wrap: balance; }

.categories__grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 640px) { .categories__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .categories__grid { grid-template-columns: repeat(3, 1fr); } }

.category-card {
  border: 1px solid var(--border-light); background-color: var(--bg-card);
  overflow: hidden; transition: border-color 0.2s ease, background-color 0.3s ease;
}
.category-card:hover { border-color: var(--primary); }
.category-card__img { width: 100%; height: 220px; object-fit: cover; }
.category-card__body { padding: 1.5rem; }
.category-card__title { margin-bottom: 0.75rem; }
.category-card__desc { color: var(--text-muted); font-size: 0.9375rem; line-height: 1.6; margin-bottom: 1.25rem; }
.category-card__link {
  font-family: var(--font-heading); font-weight: 600; font-size: 0.8125rem;
  text-transform: uppercase; letter-spacing: 0.06em; color: var(--primary);
  display: inline-flex; align-items: center; gap: 0.375rem;
  transition: gap 0.2s ease, color 0.2s ease;
}
.category-card__link:hover { gap: 0.625rem; color: var(--primary-light); }
.category-card__link svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; }

/* ---------- Value Proposition ---------- */
.value-prop { background-color: var(--bg-alt); transition: background-color 0.3s ease; }
.value-prop__grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
@media (min-width: 800px) { .value-prop__grid { grid-template-columns: 55fr 45fr; gap: 4rem; } }

.value-prop__text h2 { margin-bottom: 2rem; text-wrap: balance; }
.value-prop__item { margin-bottom: 2rem; }
.value-prop__item:last-child { margin-bottom: 0; }
.value-prop__item h3 { margin-bottom: 0.5rem; }
.value-prop__item p { color: var(--text-muted); }

.value-prop__img { width: 100%; height: 400px; object-fit: cover; }
@media (min-width: 800px) { .value-prop__img { height: 520px; } }

/* ---------- Why Badger ---------- */
.why-badger { background-color: var(--bg-dark); transition: background-color 0.3s ease; }
.why-badger__header { margin-bottom: 3rem; }
.why-badger__header h2 { color: #fff; text-wrap: balance; }

.why-badger__grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 640px) { .why-badger__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .why-badger__grid { grid-template-columns: repeat(4, 1fr); } }

.why-block { border-top: 3px solid var(--primary); padding-top: 1.5rem; }
.why-block h3 { color: #fff; margin-bottom: 0.75rem; }
.why-block p { color: rgba(255,255,255,0.6); font-size: 0.9375rem; line-height: 1.6; }

/* ---------- CTA Band ---------- */
.cta-band { background-color: var(--primary); padding: 4rem 0; text-align: center; transition: background-color 0.3s ease; }
.cta-band h2 { color: #fff; margin-bottom: 0.75rem; text-wrap: balance; }
.cta-band p { color: rgba(255,255,255,0.8); font-size: 1.0625rem; margin-bottom: 2rem; }
.cta-band .btn--white:hover { background-color: var(--bg); }

/* ---------- Footer ---------- */
.footer { background-color: var(--bg-dark); padding: 4rem 0 3rem; transition: background-color 0.3s ease; }
.footer__grid {
  display: grid; grid-template-columns: 1fr; gap: 2.5rem;
  padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,0.08);
}
@media (min-width: 768px) { .footer__grid { grid-template-columns: 2fr 1fr 1fr; gap: 3rem; } }

.footer__brand-name {
  font-family: var(--font-heading); font-weight: 700; font-size: 1.25rem;
  text-transform: uppercase; letter-spacing: 0.02em; color: #fff; margin-bottom: 0.5rem;
}
.footer__tagline { color: rgba(255,255,255,0.5); font-size: 0.9375rem; margin-bottom: 1.5rem; }
.footer__wholesale-badge {
  display: inline-flex; align-items: center; gap: 0.375rem;
  font-family: var(--font-heading); font-weight: 600; font-size: 0.6875rem;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--accent); border: 1px solid var(--accent); padding: 0.375rem 0.75rem;
}

.footer__heading {
  font-family: var(--font-heading); font-weight: 700; font-size: 0.8125rem;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: rgba(255,255,255,0.4); margin-bottom: 1.25rem;
}
.footer__link {
  display: block; color: rgba(255,255,255,0.7); font-size: 0.9375rem;
  text-decoration: none; padding: 0.25rem 0; transition: color 0.2s ease;
}
.footer__link:hover { color: #fff; }

.footer__contact-item {
  display: flex; align-items: flex-start; gap: 0.5rem;
  color: rgba(255,255,255,0.7); font-size: 0.9375rem; margin-bottom: 0.75rem;
}
.footer__contact-item svg {
  width: 16px; height: 16px; stroke: rgba(255,255,255,0.4);
  fill: none; stroke-width: 2; flex-shrink: 0; margin-top: 3px;
}
.footer__contact-item a { color: rgba(255,255,255,0.7); transition: color 0.2s ease; }
.footer__contact-item a:hover { color: #fff; }

.footer__bottom {
  padding: 1.25rem 0;
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
  gap: 0.5rem; font-size: 0.8125rem; color: rgba(255,255,255,0.35);
}
.footer__bottom a { color: rgba(255,255,255,0.5); transition: color 0.2s ease; }
.footer__bottom a:hover { color: #fff; }

/* ---------- Page Hero (inner pages) ---------- */
.page-hero {
  background-color: var(--bg-dark); padding: 8rem 0 4rem;
  text-align: center; transition: background-color 0.3s ease;
}
@media (min-width: 768px) { .page-hero { padding: 10rem 0 5rem; } }
.page-hero h1 { color: #fff; text-wrap: balance; max-width: 700px; margin: 0 auto; }

/* ---------- About Page ---------- */
.about-intro { background-color: var(--bg); transition: background-color 0.3s ease; }
.about-intro__content { max-width: 720px; }
.about-intro__content p { color: var(--text-muted); margin-bottom: 1.5rem; }

.about-images { background-color: var(--bg-alt); transition: background-color 0.3s ease; }
.about-images__grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 640px) { .about-images__grid { grid-template-columns: repeat(2, 1fr); } }
.about-images__grid img { width: 100%; height: 320px; object-fit: cover; }
@media (min-width: 640px) { .about-images__grid img { height: 380px; } }

.about-values { background-color: var(--bg); transition: background-color 0.3s ease; }
.about-values__header { margin-bottom: 3rem; }
.about-values__grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 768px) { .about-values__grid { grid-template-columns: repeat(3, 1fr); } }

.about-value-card {
  border: 1px solid var(--border-light); background-color: var(--bg-card);
  padding: 2rem; border-top: 3px solid var(--primary);
  transition: border-color 0.3s ease, background-color 0.3s ease;
}
.about-value-card h3 { margin-bottom: 0.75rem; }
.about-value-card p { color: var(--text-muted); font-size: 0.9375rem; line-height: 1.6; }

/* ---------- Contact Page ---------- */
.contact-section { background-color: var(--bg); transition: background-color 0.3s ease; }
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; }
@media (min-width: 800px) { .contact-grid { grid-template-columns: 3fr 2fr; gap: 4rem; } }

.contact-intro { color: var(--text-muted); margin-bottom: 2rem; }

.form-group { margin-bottom: 1.25rem; }
.form-label {
  display: block; font-family: var(--font-heading); font-weight: 600;
  font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--text); margin-bottom: 0.5rem; transition: color 0.3s ease;
}
.form-input, .form-select, .form-textarea {
  width: 100%; font-family: var(--font-body); font-size: 1rem;
  color: var(--text); background-color: var(--bg-card);
  border: 1px solid var(--border); padding: 0.75rem 1rem;
  border-radius: 2px; min-height: 44px;
  transition: border-color 0.2s ease, background-color 0.3s ease, color 0.3s ease;
}
.form-input:focus, .form-select:focus, .form-textarea:focus { outline: none; border-color: var(--primary); }
.form-textarea { resize: vertical; min-height: 140px; }
.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%234a4d55' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem;
}

.form-status { margin-top: 1rem; font-weight: 500; font-size: 0.9375rem; }
.form-status--success { color: #2d8a4e; }
.form-status--error { color: var(--primary); }

.contact-sidebar__card {
  border: 1px solid var(--border-light); background-color: var(--bg-card);
  padding: 2rem; margin-bottom: 1.5rem;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}
.contact-sidebar__card h3 { margin-bottom: 1.25rem; }
.contact-sidebar__item {
  display: flex; align-items: flex-start; gap: 0.75rem;
  margin-bottom: 1.25rem; color: var(--text-muted); font-size: 0.9375rem; line-height: 1.5;
}
.contact-sidebar__item:last-child { margin-bottom: 0; }
.contact-sidebar__item svg {
  width: 18px; height: 18px; stroke: var(--primary);
  fill: none; stroke-width: 2; flex-shrink: 0; margin-top: 2px;
}
.contact-sidebar__item a { color: var(--text-muted); transition: color 0.2s ease; }
.contact-sidebar__item a:hover { color: var(--primary); }

.cf-turnstile { margin-bottom: 1.25rem; }

/* ---------- Scroll Reveal ---------- */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-stagger > .reveal:nth-child(1) { transition-delay: 0s; }
.reveal-stagger > .reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal-stagger > .reveal:nth-child(3) { transition-delay: 0.15s; }
.reveal-stagger > .reveal:nth-child(4) { transition-delay: 0.2s; }
.reveal-stagger > .reveal:nth-child(5) { transition-delay: 0.25s; }
.reveal-stagger > .reveal:nth-child(6) { transition-delay: 0.3s; }

/* ---------- Subtle Micro-Interactions ---------- */

/* Category card image: slow zoom on hover */
.category-card__img {
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.category-card:hover .category-card__img {
  transform: scale(1.04);
}

/* Form inputs: subtle lift on focus */
.form-input:focus, .form-select:focus, .form-textarea:focus {
  box-shadow: 0 2px 8px rgba(var(--primary-rgb), 0.12);
}

/* Why-block: top border accent slides in */
.why-block {
  transition: border-color 0.35s ease;
}
.why-block:hover {
  border-color: var(--accent);
}

/* Trust bar values: subtle color shift on hover */
.trust-bar__value {
  transition: color 0.25s ease;
}
.trust-bar__item:hover .trust-bar__value {
  color: var(--accent-light);
}

/* About value cards: border accent shift on hover */
.about-value-card {
  transition: border-color 0.3s ease, background-color 0.3s ease, border-top-color 0.35s ease;
}
.about-value-card:hover {
  border-top-color: var(--accent);
}

/* ---------- Whimsy Animations (motion OK) ---------- */
@media (prefers-reduced-motion: no-preference) {
  @keyframes pulse-accent {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
  }
  .heading-rule--accent.visible {
    animation: pulse-accent 3s ease-in-out 1;
  }

  @keyframes drift-404 {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
  }
  .not-found__code {
    animation: drift-404 4s ease-in-out infinite;
  }
}

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .heading-rule { transform: scaleX(1); transition: none; }
  .category-card__img { transition: none; }
  .category-card:hover .category-card__img { transform: none; }
  .not-found__code { animation: none; }
}

/* ---------- 404 Page ---------- */
.not-found {
  background-color: var(--bg-dark);
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 1.25rem 4rem;
  transition: background-color 0.3s ease;
}
@media (min-width: 768px) {
  .not-found { padding: 10rem 2rem 5rem; }
}
.not-found__code {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(5rem, 4rem + 5vw, 8rem);
  color: rgba(255,255,255,0.08);
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.not-found h1 {
  color: #fff;
  margin-bottom: 1rem;
  text-wrap: balance;
}
.not-found p {
  color: rgba(255,255,255,0.6);
  font-size: 1.0625rem;
  max-width: 480px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}
.not-found__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* ---------- Print ---------- */
@media print {
  .dealer-gate, .header, .mobile-menu, .theme-toggle, .hamburger { display: none !important; }
  body { color: #000; background: #fff; }
}

/* ----- Disclaimer Bar ----- */
.disclaimer-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--bg-alt, #f5f5f5);
  border-top: 1px solid var(--border-light, #e0e0e0);
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
  color: var(--text-muted, #888);
  text-align: center;
  z-index: 100;
  box-shadow: 0 -1px 3px rgba(0,0,0,0.05);
}
