/* ── FONTS ── */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&family=Inter:wght@300;400;500;600;700&display=swap');

/* AutoViindu — shared site chrome (nav + footer) — extracted from index.html */
:root {
  --font-display: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  
  /* Consolidated Color Palette */
  --ink: #111612;
  --ink2: #1f2721;
  --ink3: #435046;
  --ink4: #6d7d72;
  --ink5: #b2c0b6;
  --g0: #051a0b;
  --g1: #092c13;
  --g2: #0E5E26;
  --g3: #0E5E26;
  --g4: #127a32;
  --g5: #1aa044;
  --g-l: #eef6f1;
  --g-ll: #f4faf6;
  --g-lll: #fafdfb;
  --gold: #B37B12;
  --gold-l: #fdf5e2;
  --gold-t: #B37B12;
  --red: #9C2A22;
  --red-l: #feebea;
  --blue: #1e4db8;
  --blue-l: #eef2fd;
  --teal: #0E5E26;
  --teal-l: #e2faf2;
  --purple: #6d28d9;
  --purple-l: #f2effc;
  --white: #fff;
  --bg: #F4F8F5;
  --bg2: #eaebe6;
  --bg3: #dce5de;
  --border: #E2EAE4;
  --border2: #ccd7cf;
  
  /* Border Radius */
  --r4: 4px;
  --r8: 8px;
  --r12: 8px; /* max 8px as per guideline */
  --r16: 8px;
  --r20: 8px;
  --r24: 8px;
  --r32: 8px;
  --pill: 999px;
  --nav: 64px;
  --sh1: 0 1px 3px rgba(17,22,18,.05);
  --sh2: 0 4px 12px rgba(17,22,18,.08);
  --sh3: 0 10px 24px rgba(17,22,18,.12);
  --sh4: 0 20px 48px rgba(17,22,18,.15);
  --ease: .22s cubic-bezier(.4, 0, .2, 1);
  --spring: .4s cubic-bezier(.34, 1.56, .64, 1);
  /* ── Motion scale (Emil Kowalski craft bar) ──────────────────────
     Use --ease-out for anything ENTERING or EXITING the screen
     (menus, toasts, cards, page swaps) — it decelerates into place
     and feels responsive. Keep --ease / --ease-in-out for hover /
     colour / state tweaks that stay on screen. */
  --ease-out: .22s cubic-bezier(.22, 1, .36, 1);
  --ease-out-fast: .14s cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: .2s cubic-bezier(.4, 0, .2, 1);
  --dur-1: .12s;   /* micro: checkbox, chevron */
  --dur-2: .2s;    /* standard UI: hover, dropdown */
  --dur-3: .32s;   /* larger surfaces: sheet, page swap */
  --lift: -2px;    /* shared hover-lift distance */
  --font-d: var(--font-display);
  --font-b: var(--font-body);
}

:root {
  /* 6 Consolidated Sizes */
  --t-xs: 12px;  /* captions, small tags, badges */
  --t-sm: 14px;  /* secondary labels, metadata */
  --t-md: 16px;  /* body text */
  --t-lg: 20px;  /* card titles, small headers */
  --t-xl: 28px;  /* section titles */
  --t-2xl: 48px; /* hero headings */
  
  --lh-ui: 1.4;
  --lh-body: 1.6;
}

.wrap {
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 20px
}

@media(min-width:768px) {
  .wrap {
    padding: 0 32px
  }
}

@media(min-width:1280px) {
  .wrap {
    padding: 0 24px
  }
}

/* ══ TOPBAR ══ */
.topbar {
  background: var(--g0);
  padding: 7px 0;
  display: none
}

@media(min-width:768px) {
  .topbar {
    display: block
  }
}

.topbar-in {
  display: flex;
  align-items: center;
  justify-content: space-between
}

.topbar-left,
.topbar-right {
  display: flex;
  align-items: center;
  gap: 18px
}

.topbar-item {
  font-size: 11.5px;
  color: rgba(255, 255, 255, .35);
  display: flex;
  align-items: center;
  gap: 5px;
  transition: color var(--ease);
  cursor: pointer
}

.topbar-item:hover {
  color: rgba(255, 255, 255, .7)
}

.topbar-sep {
  width: 1px;
  height: 10px;
  background: rgba(255, 255, 255, .08)
}

#av-nav-root, #av-footer-root {
  display: contents;
}

/* ══ HEADER ══ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(255, 255, 255, .97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--sh1);
  transition: box-shadow var(--ease)
}

.site-header.scrolled {
  box-shadow: var(--sh2)
}

.header-in {
  display: flex;
  align-items: center;
  height: var(--nav);
  gap: 10px
}

.logo {
  display: flex;
  align-items: center;
  gap: 2px;
  cursor: pointer;
  flex-shrink: 0;
  min-width: 140px;
}

.logo-mark {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--g3), var(--g4));
  border-radius: var(--r10);
  display: flex;
  align-items: center;
  justify-content: center
}

.logo-mark svg {
  color: #fff
}

.logo-text {
  font-family: var(--font-d);
  font-size: 20px;
  font-weight: 700;
  color: var(--ink)
}

.logo-text span {
  color: var(--g3)
}

.header-search {
  flex: 1;
  max-width: 320px;
  margin-right: 16px;
  position: relative;
  display: none
}

@media(min-width:960px) {
  .header-search {
    display: block
  }
}

.hs-input {
  width: 100%;
  height: 40px;
  padding: 0 40px 0 40px;
  border: 1.5px solid var(--border);
  border-radius: var(--pill);
  font-size: 13.5px;
  color: var(--ink);
  background: var(--bg);
  outline: none;
  transition: all var(--ease)
}

.hs-input:focus {
  border-color: var(--g3);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(26, 107, 42, .08)
}

.hs-icon {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ink4);
  pointer-events: none
}

.hs-kbd {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 9px;
  padding: 2px 5px;
  color: var(--ink4);
  font-family: var(--font-b);
  font-weight: 700
}

.header-nav {
  display: none;
  align-items: center;
  gap: 2px;
  margin-left: auto;
  flex-shrink: 0
}

@media(min-width:960px) {
  .header-nav {
    display: flex
  }
}

.hn-link {
  padding: 8px 12px;
  border-radius: var(--r8);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink3);
  cursor: pointer;
  transition: all var(--ease);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 4px
}

.hn-link:hover,
.hn-link.active {
  color: var(--g3);
  background: var(--g-ll)
}

.header-ctas {
  display: none;
  align-items: center;
  gap: 8px;
  flex-shrink: 0
}

@media(min-width:960px) {
  .header-ctas {
    display: flex
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: var(--r10);
  font-size: 13.5px;
  font-weight: 700;
  transition: all var(--ease);
  cursor: pointer;
  white-space: nowrap;
  font-family: var(--font-b)
}

.btn-primary {
  background: var(--g3);
  color: #fff;
  box-shadow: 0 3px 12px rgba(26, 107, 42, .3)
}

.btn-primary:hover {
  background: var(--g4);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(26, 107, 42, .38)
}

.btn-ghost {
  background: var(--bg2);
  color: var(--ink3);
  border: 1.5px solid var(--border)
}

.btn-ghost:hover {
  border-color: var(--g3);
  color: var(--g3);
  background: var(--g-ll)
}

.btn-sell {
  padding: 8px 14px;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--r8);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink2);
  cursor: pointer;
  transition: all var(--ease)
}

.btn-sell:hover {
  border-color: var(--g3);
  color: var(--g3);
  background: var(--g-ll)
}

.btn-book {
  padding: 8px 16px;
  background: var(--g3);
  color: #fff;
  border-radius: var(--r8);
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(26, 107, 42, .25);
  cursor: pointer;
  transition: all var(--ease)
}

.btn-book:hover {
  background: var(--g4)
}

/* ── Tactile press feedback ───────────────────────────────────────
   Every shared chrome button dips slightly on press, like a native
   control. Kept to the known inline-flex button classes so it can't
   fight a positioning transform. Snappier curve on the way down. */
.btn,
.btn-primary,
.btn-ghost,
.btn-outline,
.btn-sell,
.btn-book,
.icon-btn,
.mm-cta,
.header-nav .av-menu-cta {
  transition: transform var(--ease-out-fast),
              background-color var(--ease),
              border-color var(--ease),
              color var(--ease),
              box-shadow var(--ease);
}
.btn:active,
.btn-primary:active,
.btn-ghost:active,
.btn-outline:active,
.btn-sell:active,
.btn-book:active,
.icon-btn:active,
.mm-cta:active,
.header-nav .av-menu-cta:active {
  transform: scale(.96);
  transition-duration: .04s;
}

.mob-icons {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto
}

@media(min-width:960px) {
  .mob-icons {
    display: none
  }
}

.icon-btn {
  width: 38px;
  height: 38px;
  border: 1.5px solid var(--border);
  border-radius: var(--r8);
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--ink3);
  transition: all var(--ease)
}

.icon-btn:hover {
  border-color: var(--g3);
  color: var(--g3);
  background: var(--g-ll)
}

.burger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 38px;
  height: 38px;
  padding: 10px 9px;
  border: 1.5px solid var(--border);
  border-radius: var(--r8);
  background: var(--bg);
  cursor: pointer
}

.burger-line {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: all .28s
}

.burger.open .burger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg)
}

.burger.open .burger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0)
}

.burger.open .burger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg)
}

@media(min-width:960px) {
  .burger {
    display: none
  }
}

/* search dropdown */
.search-dd {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r16);
  box-shadow: var(--sh3);
  z-index: 800;
  overflow: hidden;
  /* closed state — kept in the DOM so it can animate both ways */
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px) scale(.985);
  transform-origin: top center;
  pointer-events: none;
  transition: opacity var(--ease-out-fast),
              transform var(--ease-out-fast),
              visibility 0s linear .16s;
}

.search-dd.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
  transition: opacity var(--ease-out-fast),
              transform var(--ease-out-fast),
              visibility 0s;
}

/* mobile search — expand header search like desktop */
@media (max-width: 959px) {

  .header-in.search-active #honk-wrapper,
  .header-in.search-active .mob-icons,
  .header-in.search-active .burger,
  .header-in.search-active .header-ctas {
    display: none !important;
  }

  .header-in.search-active .header-search {
    display: block !important;
    flex: 1;
    max-width: 100%;
    margin-right: 0;
  }

  .header-in.search-active #mob-search-back {
    display: flex !important;
  }

  .header-in.search-active .search-dd.open {
    position: fixed !important;
    top: calc(var(--nav) + 8px) !important;
    left: 10px !important;
    right: 10px !important;
    max-height: min(70vh, 480px) !important;
    border-radius: var(--r16) !important;
    border: 1px solid var(--border) !important;
    box-shadow: var(--sh3) !important;
    overflow-y: auto !important;
  }

  .header-in.search-active .hs-kbd {
    display: none;
  }
}


/* ══ MOBILE MENU ══ */
.mobile-menu {
  position: fixed;
  inset: 0;
  top: var(--nav);
  z-index: 850;
  /* closed — stays mounted so the panel can slide back up on close */
  visibility: hidden;
  pointer-events: none;
  transition: visibility 0s linear .26s;
}

.mobile-menu.open {
  visibility: visible;
  pointer-events: auto;
  transition: visibility 0s;
}

@media(min-width: 960px) {
  .mobile-menu {
    display: none !important;
  }
}

.mm-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 16, 10, .55);
  backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity var(--dur-3) ease;
}

.mobile-menu.open .mm-backdrop { opacity: 1; }

.mm-panel {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  max-height: calc(100vh - var(--nav));
  overflow-y: auto;
  transform: translateY(-10px);
  opacity: 0;
  transition: transform var(--ease-out), opacity var(--ease-out);
}

.mobile-menu.open .mm-panel {
  transform: translateY(0);
  opacity: 1;
}

.mm-panel .mm-btn {
  border: none;
  outline: none;
}

.mm-item {
  border-bottom: 1px solid var(--bg2);
  border-bottom-color: #e8ede9;
}

.mm-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink2);
  background: none;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-b)
}

.mm-sub {
  display: none;
  padding: 0 0 8px 16px;
  background: var(--bg)
}

.mm-sub.open {
  display: block
}

.mm-sub-link {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 12px;
  border-radius: var(--r8);
  cursor: pointer;
  transition: all var(--ease);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink2)
}

.mm-sub-link:hover {
  background: var(--g-ll);
  color: var(--g3)
}

.mm-sub-label {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--ink4);
  padding: 10px 12px 4px 28px
}

.mm-cta {
  padding: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  border-top: 1px solid var(--bg2)
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: var(--r10);
  font-size: 13.5px;
  font-weight: 700;
  transition: all var(--ease);
  cursor: pointer;
  white-space: nowrap;
  font-family: var(--font-b);
  border: none
}

.btn-primary {
  background: var(--g3);
  color: #fff;
  box-shadow: 0 3px 12px rgba(26, 107, 42, .3)
}

.btn-primary:hover {
  background: var(--g4)
}

.btn-outline {
  background: var(--bg2);
  color: var(--ink3);
  border: 1.5px solid var(--border)
}

.btn-outline:hover {
  border-color: var(--g3);
  color: var(--g3);
  background: var(--g-ll)
}

/* ══ DESKTOP NAV — click menus, no overlay ══ */
.header-nav .av-item {
  position: relative;
}

.header-nav .av-link {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 11px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink3);
  cursor: pointer;
  white-space: nowrap;
  border: none;
  background: none;
  border-radius: var(--r8);
  font-family: var(--font-b);
  transition: color .15s, background .15s;
  user-select: none;
}

.header-nav .av-link:hover,
.header-nav .av-item.open>.av-link {
  color: var(--g3);
  background: var(--g-ll);
}

.header-nav .av-chev {
  width: 10px;
  height: 6px;
  opacity: .45;
  transition: transform .2s;
  flex-shrink: 0;
}

.header-nav .av-item.open>.av-link .av-chev {
  transform: rotate(180deg);
}

.header-nav .av-dd {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 232px;
  max-width: 268px;
  max-height: min(72vh, 480px);
  overflow-y: auto;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r12);
  box-shadow: 0 10px 36px rgba(0, 0, 0, .1);
  z-index: 999;
  padding: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px) scale(.97);
  transform-origin: top left;   /* grows out of its trigger, not from centre */
  pointer-events: none;
  transition: opacity var(--ease-out-fast),
              transform var(--ease-out-fast),
              visibility 0s linear .16s;
}

.header-nav .av-dd.av-dd--r {
  left: auto;
  right: 0;
  transform-origin: top right;
}

.header-nav .av-item.open>.av-dd {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
  transition: opacity var(--ease-out-fast),
              transform var(--ease-out-fast),
              visibility 0s;
}

.header-nav .av-acc {
  border-radius: var(--r8);
}

.header-nav .av-acc-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 9px 11px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink2);
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-b);
  border-radius: var(--r8);
  transition: background .12s, color .12s;
}

.header-nav .av-acc-hd:hover,
.header-nav .av-acc.open>.av-acc-hd {
  background: var(--g-ll);
  color: var(--g3);
}

.header-nav .av-acc-chev {
  width: 14px;
  height: 14px;
  opacity: .35;
  transition: transform .2s;
  flex-shrink: 0;
}

.header-nav .av-acc.open>.av-acc-hd .av-acc-chev {
  transform: rotate(90deg);
  opacity: .6;
}

.header-nav .av-acc-body {
  display: none;
  padding: 0 4px 6px;
}

.header-nav .av-acc.open .av-acc-body {
  display: block;
}

.header-nav .av-menu-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 11px 7px 18px;
  font-size: 12.5px;
  font-weight: 520;
  color: #000000;
  text-decoration: none;
  border-radius: var(--r8);
  transition: background .12s, color .12s;
  cursor: pointer;
}

.header-nav .av-menu-link:hover {
  background: var(--bg2);
  color: var(--g3);
}

.header-nav .av-menu-link--top {
  padding: 9px 11px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink2);
}

.header-nav .av-menu-link--top:hover {
  background: var(--g-ll);
  color: var(--g3);
}

.header-nav .av-tag {
  font-size: 9.5px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: .02em;
  flex-shrink: 0;
}

.header-nav .av-tag--g {
  background: #d6f2e7;
  color: #0d6b4f;
}

.header-nav .av-tag--o {
  background: #fde8d0;
  color: #7d4310;
}

.header-nav .av-menu-cta {
  display: block;
  margin-top: 4px;
  padding: 10px 11px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--g3);
  text-decoration: none;
  border-top: 1px solid var(--border);
  border-radius: 0 0 var(--r8) var(--r8);
  cursor: pointer;
  transition: background .12s;
}

.header-nav .av-menu-cta:hover {
  background: var(--g-ll);
}

.header-nav .av-cta {
  margin-left: 6px;
  flex-shrink: 0;
  background: var(--g3);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: var(--r8);
  border: none;
  cursor: pointer;
  font-family: var(--font-b);
  transition: background .15s;
}

.header-nav .av-cta:hover {
  background: var(--g4);
}

.mm-sub {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease, padding .3s ease
}

.mm-sub.open {
  max-height: 2000px;
  padding: 4px 0 8px
}

.mm-btn svg.mm-chevron {
  transition: transform .25s ease;
  flex-shrink: 0
}

.mm-btn.open svg.mm-chevron {
  transform: rotate(90deg)
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-60px)
  }

  to {
    opacity: 1;
    transform: translateX(0)
  }
}

.logo-img {
  height: 46px;
  width: auto;
  display: block;
  object-fit: contain;
  background: transparent;
  animation: slideInLeft .6s cubic-bezier(.25, .46, .45, .94) forwards
}

@media(min-width: 960px) {
  .logo-img {
    height: 56px;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0
  }

  to {
    opacity: 1
  }
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
    opacity: 0
  }

  to {
    transform: translateY(0);
    opacity: 1
  }
}

@keyframes slideDown {
  from {
    transform: translateY(-10px);
    opacity: 0
  }

  to {
    transform: translateY(0);
    opacity: 1
  }
}

.site-footer {
  background: var(--white);
  color: var(--ink4);
  padding: 52px 0 0;
  font-size: 14px;
  border-top: 1px solid var(--border);
}

.site-footer .wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Grid ── */
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(4, 1fr);
  gap: 26px 20px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}

@media (max-width: 1100px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 720px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Brand col ── */
.footer-logo-img {
  height: 36px;
  width: auto;
  margin-bottom: 14px;
}

.footer-desc {
  font-size: 13px;
  line-height: 1.65;
  color: var(--ink4);
  margin: 0 0 16px;
}

/* ── Social icons ── */
.footer-social {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}

.fsoc {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--g-ll);
  border: 1px solid var(--border);
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
  text-decoration: none;
}

.fsoc:hover {
  border-color: var(--border2);
  box-shadow: var(--sh1);
  transform: translateY(-2px);
}

/* ── Column titles ── */
.footer-col-title {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--ink);
  margin-bottom: 12px;
}

/* ── Footer links ── */
.footer-link {
  display: block;
  font-size: 13.5px;
  color: var(--ink4);
  text-decoration: none;
  padding: 4px 0;
  line-height: 1.5;
  cursor: pointer;
  transition: color 0.18s, transform 0.18s;
}

.footer-link:hover {
  color: var(--g3);
  text-decoration: none;
  transform: translateX(2px);
}

/* ── Bottom bar ── */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding: 16px 0;
  font-size: 12.5px;
  color: var(--ink5);
}

.footer-bottom-txt {
  color: var(--ink5);
}

.fbot-links {
  display: flex;
  gap: 16px;
}

.fbot-links a {
  color: var(--ink5);
  text-decoration: none;
  cursor: pointer;
  transition: color 0.18s;
}

.fbot-links a:hover {
  color: var(--g3);
}

/* ── CSS variable for border-radius used inline ── */
:root {
  --r10: 10px;
}

/* ══ SKELETON LOADERS (shimmer placeholders shown while content is fetching) ══ */
@keyframes skel-shimmer {
  0% { background-position: -150% 0; }
  100% { background-position: 150% 0; }
}

.skel-block {
  background: linear-gradient(100deg, var(--bg2) 30%, var(--bg3) 50%, var(--bg2) 70%);
  background-size: 250% 100%;
  animation: skel-shimmer 1.3s ease-in-out infinite;
  border-radius: var(--r8, 8px);
}

@media (prefers-reduced-motion: reduce) {
  .skel-block { animation: none; }
}

/* New-car card skeleton — mirrors .car-card / .cc-* structure */
.skel-car-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r16, 16px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.skel-car-card .skel-img { height: 150px; border-radius: 0; }

@media (min-width: 480px) { .skel-car-card .skel-img { height: 165px; } }
@media (min-width: 768px) { .skel-car-card .skel-img { height: 185px; } }

.skel-car-card .skel-body {
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.skel-car-card .skel-line { height: 11px; }
.skel-car-card .skel-line.w-85 { width: 85%; }
.skel-car-card .skel-line.w-60 { width: 60%; }
.skel-car-card .skel-line.w-40 { height: 15px; width: 40%; margin-top: 2px; }
.skel-car-card .skel-btn { height: 34px; border-radius: 10px; margin-top: 6px; }

/* Used-car card skeleton — mirrors .used-card / .uc-* structure */
.skel-used-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r16, 16px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.skel-used-card .skel-img { height: 160px; border-radius: 0; }

@media (min-width: 480px) { .skel-used-card .skel-img { height: 178px; } }
@media (min-width: 768px) { .skel-used-card .skel-img { height: 200px; } }

.skel-used-card .skel-body {
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.skel-used-card .skel-line { height: 11px; }
.skel-used-card .skel-line.w-85 { width: 85%; }
.skel-used-card .skel-line.w-50 { width: 50%; }
.skel-used-card .skel-price-row { display: flex; justify-content: space-between; align-items: center; margin-top: 4px; }
.skel-used-card .skel-line.w-30 { height: 16px; width: 30%; }
.skel-used-card .skel-btn { height: 32px; width: 40%; border-radius: 10px; }

/* Detail-page skeleton — mirrors .dp-layout (gallery + thumbs + highlights +
   variant tabs + spec accordions on the left, price sidebar on the right).
   Shown on a slow connection / deep-link refresh before the car loads. */
.dp-skel-hero {
  background: linear-gradient(160deg, var(--g0, #0d1b2a), var(--g1, #16324f));
  padding: 16px 0 18px;
}
.dp-skel-bc { height: 11px; width: 210px; max-width: 55%; opacity: .35; }
.dp-skel-htitle { height: 22px; width: 300px; max-width: 70%; margin-top: 12px; opacity: .35; }
@media (max-width: 899px) { .dp-skel-htitle { display: none; } }

.dp-skel-body { padding-top: 16px; padding-bottom: 48px; }

.dp-skel-gallery { width: 100%; aspect-ratio: 16 / 10; border-radius: 0; }
@media (min-width: 900px) { .dp-skel-gallery { aspect-ratio: 16 / 9; border-radius: var(--r16, 16px); } }

.dp-skel-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 10px 12px 0; }
.dp-skel-thumbs > div { height: 54px; border-radius: 8px; }
.dp-skel-hl { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 16px 12px 0; }
.dp-skel-hl > div { height: 58px; border-radius: 12px; }
.dp-skel-title { display: flex; flex-direction: column; gap: 10px; margin: 18px 12px 0; }
.dp-skel-title .skel-line { height: 20px; }

/* width helpers, scoped so they don't collide with the card skeletons */
.dp-skel .w-85 { width: 85%; }
.dp-skel .w-60 { width: 60%; }
.dp-skel .w-50 { width: 50%; }
.dp-skel .w-40 { width: 40%; }
.dp-skel-tabs { display: flex; gap: 10px; margin: 18px 12px 0; }
.dp-skel-tabs > div { flex: 1; height: 44px; border-radius: 10px; }
.dp-skel-accord { display: flex; flex-direction: column; gap: 10px; margin: 18px 12px 0; }
.dp-skel-accord > div { height: 52px; border-radius: 12px; }

.dp-skel-side { display: flex; flex-direction: column; gap: 14px; margin: 18px 12px 0; }
.dp-skel-card {
  background: var(--white, #fff);
  border: 1px solid var(--border, #e5e7eb);
  border-radius: var(--r16, 16px);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.dp-skel-card .skel-line { height: 12px; }
.dp-skel-price { height: 26px !important; width: 62%; }
.dp-skel-btn { height: 42px; border-radius: 10px; }

@media (min-width: 900px) {
  .dp-skel-thumbs, .dp-skel-hl, .dp-skel-title, .dp-skel-tabs, .dp-skel-accord, .dp-skel-side {
    margin-left: 0;
    margin-right: 0;
  }
}

/* Homepage skeleton — mirrors the real hero + body-type pill strip + section
   carousels (see window.AV_homeSkeleton). Reuses .hero / .home-discover /
   .home-section / .home-carousel for positioning; only the placeholder
   shapes are defined here. */
.skh-hero {
  position: relative;
  height: 520px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
@media (min-width: 768px) { .skh-hero { height: 580px; } }
@media (min-width: 1100px) { .skh-hero { height: 640px; } }

/* Lighter placeholders on the dark hero */
.skh-hero .skel-block {
  background: linear-gradient(100deg, rgba(255, 255, 255, 0.06) 30%, rgba(255, 255, 255, 0.14) 50%, rgba(255, 255, 255, 0.06) 70%);
  background-size: 250% 100%;
}

.skh-hero-inner { display: flex; flex-direction: column; gap: 14px; }
.skh-hero-eyebrow { height: 12px; width: 150px; }
.skh-hero-title { height: 30px; width: 55%; max-width: 460px; }
@media (min-width: 768px) { .skh-hero-title { height: 42px; } }
.skh-hero-title.skh-w70 { width: 38%; max-width: 340px; }
.skh-hero-specs { display: flex; gap: 12px; margin-top: 10px; }
.skh-hero-specs > div { height: 46px; width: 92px; border-radius: 10px; }

.skh-search { position: absolute; left: 0; right: 0; bottom: 24px; }
.skh-search-bar { width: 100%; height: 64px; border-radius: 14px; }
@media (min-width: 900px) { .skh-search-bar { height: 88px; } }

.skh-discover { padding: 16px 0; }
.skh-pill { flex-shrink: 0; width: 132px; height: 66px; border-radius: 10px; }

.skh .home-head__left { width: 100%; max-width: 560px; }
.skh-eyebrow { height: 10px; width: 110px; }
.skh-title { height: 26px; width: 240px; margin-top: 6px; }
.skh-link { height: 40px; width: 116px; border-radius: 999px; flex-shrink: 0; }
.skh-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.skh-chip { height: 32px; width: 72px; border-radius: 999px; }
.skh-card { flex: 0 0 280px; }


/* ══ "Try these next" — quick-link strip at the foot of landing pages ══ */
.try-next {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.try-next-hd {
  font-family: var(--font-d, inherit);
  font-size: clamp(20px, 3vw, 30px);
  font-weight: 800;
  color: var(--ink1, #0a1f44);
  line-height: 1.1;
  margin: 0;
  flex-shrink: 0;
}
.try-next-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(205px, 1fr));
  gap: 12px;
  flex: 1 1 300px;
  min-width: 0;
}
.try-next-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  background: var(--white, #fff);
  border: 1px solid var(--border, #e5e7eb);
  border-radius: 16px;
  cursor: pointer;
  text-align: left;
  font: inherit;
  width: 100%;
  transition: box-shadow .2s, transform .2s, border-color .2s;
}
.try-next-card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, .09);
  transform: translateY(-2px);
  border-color: var(--g3, #0E5E26);
}
.try-next-ico {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 12px;
  background: rgba(14, 94, 38, .10);
  color: var(--g3, #0E5E26);
  display: flex;
  align-items: center;
  justify-content: center;
}
.try-next-ico i,
.try-next-ico svg {
  width: 20px;
  height: 20px;
}
/* photo variant — a real car image in place of the icon */
.try-next-media {
  width: 58px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg2, #eef2f7);
}
.try-next-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.try-next-media.is-empty {
  background: linear-gradient(135deg, var(--bg2, #eef2f7), var(--bg3, #e2e8f0));
}
.try-next-txt {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
}
.try-next-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink1, #0a1f44);
  line-height: 1.25;
}
.try-next-sub {
  font-size: 12px;
  color: var(--ink4, #94a3b8);
  font-weight: 500;
}
.try-next-arr {
  color: var(--ink4, #94a3b8);
  flex-shrink: 0;
  transition: transform .2s, color .2s;
}
.try-next-card:hover .try-next-arr {
  color: var(--g3, #0E5E26);
  transform: translateX(3px);
}
@media (prefers-reduced-motion: reduce) {
  .try-next-card,
  .try-next-arr { transition: none; }
  .try-next-card:hover { transform: none; }
  .try-next-card:hover .try-next-arr { transform: none; }
}


/* ══ Chip box — bold heading + a wrap of question pills (used-car sell CTA) ══ */
.uc-chipbox { margin-top: 36px; }
.chipbox {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  background: var(--white, #fff);
  border: 1px solid var(--border, #e5e7eb);
  border-radius: 24px;
  padding: 24px 30px;
}
.chipbox-hd {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.chipbox-spark {
  color: var(--g3, #0E5E26);
  display: flex;
  flex-shrink: 0;
}
.chipbox-spark i,
.chipbox-spark svg { width: 28px; height: 28px; }
.chipbox-title {
  font-family: var(--font-d, inherit);
  font-size: clamp(21px, 2.8vw, 29px);
  font-weight: 800;
  color: var(--ink1, #0a1f44);
  line-height: 1.12;
  margin: 0;
}
.chipbox-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  flex: 1;
  min-width: 0;
}
.chipbox-chip {
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--g3, #0E5E26);
  background: rgba(14, 94, 38, .07);
  border: 1px solid rgba(14, 94, 38, .18);
  border-radius: 999px;
  padding: 9px 16px;
  cursor: pointer;
  white-space: nowrap;
  transition: background .18s, border-color .18s, transform .18s;
}
.chipbox-chip:hover {
  background: rgba(14, 94, 38, .13);
  border-color: rgba(14, 94, 38, .34);
  transform: translateY(-1px);
}
@media (max-width: 760px) {
  .chipbox {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 18px;
    border-radius: 20px;
  }
  .chipbox-chips { width: 100%; flex: none; }
}
@media (max-width: 400px) {
  .chipbox-chip { white-space: normal; }
}
@media (prefers-reduced-motion: reduce) {
  .chipbox-chip { transition: none; }
  .chipbox-chip:hover { transform: none; }
}


/* ═══════════════════════════════════════════════════════════════════
   SHARED PAGE / VIEW TRANSITION
   Applied to #app-root in the SPA (see app.js goTo) and usable on any
   content container. Content fades up 8px on the responsive ease-out
   curve — quick enough to feel instant, enough to read as "new page".
═══════════════════════════════════════════════════════════════════ */
@keyframes av-page-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.av-page-in {
  animation: av-page-in .32s cubic-bezier(.22, 1, .36, 1);
}


/* ═══════════════════════════════════════════════════════════════════
   HOVER GATING  (touch devices)
   On a phone/tablet there is no real hover — the browser fakes one on
   tap and it stays stuck until you tap elsewhere. So on touch we keep
   colour/shadow hover styling but cancel the movement (lift / zoom).
   `html` prefix is only to out-rank the base rules in cars.css /
   home-premium.css / compare.css, which load after this file.
═══════════════════════════════════════════════════════════════════ */
@media (hover: none) {
  html .btn-primary:hover,
  html .fsoc:hover,
  html .footer-link:hover,
  html .car-card:hover,
  html .color-swatch:hover,
  html .av-btn-submit:hover,
  html .cute-submit:hover,
  html .pill-submit:hover,
  html .home-pill:hover img,
  html .home-pill:hover svg,
  html .brand-card:hover,
  html .home-tool-card:hover,
  html .bcalc-cta:hover,
  html .svc-card:hover,
  html .nav-arrow-btn:hover,
  html .cmp-slot-card.filled:hover,
  html .cmp-empty-cta:hover,
  html .cmp-car-pick:hover {
    transform: none;
  }
}


/* ═══════════════════════════════════════════════════════════════════
   REDUCED MOTION  (accessibility — one global guard for every page)
   Someone who sets "reduce motion" in their OS gets a calm site:
   movement and looping animation are removed, but opacity / colour
   fades stay so nothing snaps or disappears without a cue.
═══════════════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  /* keep gentle opacity fades so state changes are still legible */
  .av-page-in,
  .search-dd.open,
  .toast,
  .mm-panel,
  .mm-backdrop { animation: av-fade-only .12s linear !important; }
}
@keyframes av-fade-only { from { opacity: 0; } to { opacity: 1; } }

