@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,200..800&family=Geist:wght@300..900&display=swap');

:root {
  --tm-font-body: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --tm-font-display: 'Bricolage Grotesque', 'Geist', ui-sans-serif, system-ui, sans-serif;
  --tm-page-gutter: clamp(1rem, 4vw, 3.25rem);
  --tm-surface-radius: clamp(20px, 2.5vw, 30px);
}

html,
body,
button,
input,
select,
textarea {
  font-family: var(--tm-font-body);
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

img,
svg {
  max-width: 100%;
}

:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 3px solid rgba(3,13,99, .32);
  outline-offset: 3px;
}

/* Keep dense legacy public navigation from colliding at tablet widths. */
@media (min-width: 769px) and (max-width: 1100px) {
  .navbar .nav-links > li:has(a[href*="testimonials"]),
  .navbar .nav-links > li:has(a[href*="blog"]),
  .navbar .nav-links > li:has(a[href*="faq"]),
  .navbar .nav-links > li:has(a[href*="contact"]) {
    display: none;
  }
}

/* Keep the contact shortcut available without obscuring primary controls. */
@media (max-width: 1024px) {
  #wa-float {
    width: 46px !important;
    height: 46px !important;
    right: 12px !important;
    bottom: 12px !important;
  }
}

/* One primary-action treatment across public marketing pages. */
.cta-button,
.cf-submit,
.btn-band-prim {
  background: #030d63 !important;
  box-shadow: 0 8px 20px rgba(3,13,99, .16) !important;
}

.cta-button:hover,
.cf-submit:hover,
.btn-band-prim:hover {
  background: #0f1c80 !important;
}

/* Shared motion language: quiet, quick and fully disabled when requested. */
@media (prefers-reduced-motion: no-preference) {
  @keyframes tm-nav-arrive {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
  }

  @keyframes tm-page-arrive {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
  }

  body > .navbar,
  body > nav.navbar {
    animation: tm-nav-arrive .45s cubic-bezier(.22, .9, .24, 1) both;
  }

  body > main,
  body > .shop-hero,
  body > .page-wrap {
    animation: tm-page-arrive .52s .05s cubic-bezier(.22, .9, .24, 1) both;
  }

  :where(a, button, .car-card, .type-card, .about-card, .faq-item) {
    transition-timing-function: cubic-bezier(.22, .9, .24, 1) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

h1,
h2,
h3,
h4,
h5,
h6,
.hero-title,
.page-title,
.section-title,
.card-title,
.pc-title,
.main-price {
  font-family: var(--tm-font-display);
  font-optical-sizing: auto;
}

/* Compact loading mark: keep the page visible instead of covering it. */
.loader {
  top: 50% !important;
  left: 50% !important;
  right: auto !important;
  bottom: auto !important;
  width: 64px !important;
  height: 64px !important;
  min-width: 0 !important;
  min-height: 0 !important;
  padding: 0 !important;
  background: rgba(255, 255, 255, .96) !important;
  border: 1px solid rgba(3,13,99, .08);
  border-radius: 50%;
  box-shadow: 0 14px 34px rgba(3,13,99, .22);
  transform: translate(-50%, -50%);
  pointer-events: none !important;
  overflow: visible !important;
}

.loader .logo-wrap {
  width: 64px !important;
  height: 64px !important;
}

.loader .logo-wrap svg {
  width: 54px !important;
  height: 54px !important;
  fill: #030d63 !important;
  filter: drop-shadow(0 8px 16px rgba(3,13,99, .18));
}

.loader .loading-text,
.loader .loading-dots,
.loader .dots {
  display: none !important;
}

/* Shared footer fallback for standalone pages that do not load style.css. */
.sitewide-footer {
  box-sizing: border-box;
  width: calc(100% - 3%);
  margin: 0 1.5% 1.5%;
  padding: clamp(2.5rem, 6vw, 4rem) 4% 2rem;
  border-radius: 30px;
  background: #030d63;
  color: #fff;
}
.sitewide-footer .footer-inner {
  width: min(1300px, 100%);
  margin: 0 auto 2.5rem;
  display: grid;
  grid-template-columns: minmax(220px, 2fr) repeat(4, minmax(110px, 1fr));
  gap: 2rem;
}
.sitewide-footer .footer-brand img {
  display: block;
  width: auto;
  height: 48px;
  max-width: 150px;
  object-fit: contain;
  margin: 0 0 1rem;
}
.sitewide-footer .footer-brand p {
  max-width: 280px;
  margin: 0;
  color: rgba(255,255,255,.64);
  font-size: .85rem;
  line-height: 1.65;
}
.sitewide-footer .footer-col h4 {
  margin: 0 0 1rem;
  color: #fff;
  font-size: .76rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.sitewide-footer .footer-col a {
  display: block;
  width: fit-content;
  margin: 0 0 .55rem;
  color: rgba(255,255,255,.64);
  font-size: .86rem;
  text-decoration: none;
}
.sitewide-footer .footer-col a:hover { color: #fff; }
.sitewide-footer .footer-bottom {
  width: min(1300px, 100%);
  margin: 0 auto;
  padding-top: 1.35rem;
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.sitewide-footer .footer-copy {
  margin: 0;
  color: rgba(255,255,255,.58);
  font-size: .75rem;
}
.sitewide-footer .footer-social { display: flex; gap: .5rem; }
.sitewide-footer .footer-social a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  color: #030d63;
}
.sitewide-footer .footer-social svg { width: 15px; height: 15px; }
@media (max-width: 760px) {
  .sitewide-footer { width: calc(100% - 16px); margin: 0 8px 8px; padding: 2.25rem 1.25rem 1.5rem; border-radius: 26px; }
  .sitewide-footer .footer-inner { grid-template-columns: 1fr 1fr; gap: 1.75rem 1rem; }
  .sitewide-footer .footer-brand { grid-column: 1 / -1; }
  .sitewide-footer .footer-brand img { height: 42px; }
  .sitewide-footer .footer-bottom { align-items: flex-start; flex-direction: column; }
}

/* Slimmer footer: brand + three short columns, one bottom line */
footer.sitewide-footer{padding:clamp(2rem,4vw,2.75rem) 4% 1.25rem;border-radius:28px}
footer.sitewide-footer .footer-inner{grid-template-columns:minmax(220px,1.6fr) repeat(3,minmax(120px,1fr));gap:1.6rem;margin-bottom:1.75rem}
footer.sitewide-footer .footer-brand img{height:40px;margin-bottom:.75rem}
footer.sitewide-footer .footer-brand p{max-width:300px}
footer.sitewide-footer .footer-col h4{margin:0 0 .75rem;font:500 11px/1 'Geist Mono',ui-monospace,monospace;letter-spacing:.14em;color:rgba(255,255,255,.5)}
footer.sitewide-footer .footer-col a{margin:0 0 .4rem;font-size:.85rem}
footer.sitewide-footer .footer-bottom{padding-top:1.1rem}
footer.sitewide-footer .footer-top{border:1px solid rgba(255,255,255,.2);border-radius:999px;background:transparent;color:rgba(255,255,255,.8);font:600 .78rem 'Geist',sans-serif;padding:.5rem 1rem;cursor:pointer;transition:background .2s,color .2s,transform .2s}
footer.sitewide-footer .footer-top:hover{background:#fff;color:#030d63}
footer.sitewide-footer .footer-top:active{transform:scale(.96)}
@media (max-width:768px){
  footer.sitewide-footer .footer-inner{grid-template-columns:1fr 1fr;gap:1.4rem 1rem}
  footer.sitewide-footer .footer-brand{grid-column:1/-1}
  footer.sitewide-footer .footer-col-cars{display:none}
}
@media (max-width:480px){footer.sitewide-footer .footer-bottom{flex-wrap:wrap}}
