/* Loja pública — porta de entrada da empresa (Hero-Centric + Trust, UI UX Pro Max) */

.storefront {
  --sf-header-bg: #ffffff;
  --sf-header-ink: #0f172a;
  --sf-display: 'Syncopate', var(--font-display), system-ui, sans-serif;
  scroll-behavior: smooth;
}

.page-home,
.page-about {
  --font-display: var(--sf-display);
}

.wrap-sf {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.sf-topmeta {
  background: #f3f4f6;
  color: #475569;
  font-size: 0.8rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.4rem 1rem;
}

.sf-topmeta-right {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.1rem;
  align-items: center;
}

.sf-topmeta a {
  color: inherit;
  text-decoration: none;
}

.sf-topmeta a:hover {
  color: var(--ink);
}

.sf-eyebrow {
  margin: 0 0 0.4rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
}

.sf-billing-banner {
  padding: 0.55rem 1rem;
  font-size: 0.88rem;
  font-weight: 600;
  text-align: center;
}

.sf-billing-banner.is-grace {
  background: #fef3c7;
  color: #92400e;
}

.sf-billing-banner.is-locked {
  background: #0f172a;
  color: #f8fafc;
}

.sf-billing-banner a {
  color: inherit;
  text-decoration: underline;
}

.sf-header {
  background: var(--sf-header-bg);
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  z-index: 20;
}

.sf-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.sf-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--sf-header-ink);
}

.sf-logo-mark {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  background:
    radial-gradient(circle at 30% 30%, #fff 0 18%, transparent 19%),
    linear-gradient(135deg, var(--accent), var(--brand-mid, var(--accent)));
  box-shadow: inset 0 0 0 2px rgba(15, 23, 42, 0.08);
  flex-shrink: 0;
}

.sf-logo-img {
  height: 2.6rem;
  width: auto;
  max-width: 9rem;
  object-fit: contain;
  display: block;
}

.sf-logo-text {
  display: grid;
  line-height: 1.1;
}

.sf-logo-text strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.sf-logo-text small {
  color: #64748b;
  font-size: 0.75rem;
}

.sf-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem;
  font-weight: 600;
}

.sf-nav a {
  color: var(--sf-header-ink);
  text-decoration: none;
}

.sf-nav-login {
  color: #64748b !important;
  font-weight: 600;
  border: 1px solid #e2e8f0;
  padding: 0.45rem 0.85rem;
  border-radius: 2px;
}

.sf-nav-login:hover {
  color: var(--sf-header-ink) !important;
  border-color: #94a3b8;
}

.sf-nav-cta {
  background: var(--sf-header-ink);
  color: #fff !important;
  padding: 0.55rem 0.9rem;
  border-radius: 2px;
}

.sf-hero {
  position: relative;
  overflow: hidden;
  min-height: min(82vh, 680px);
  display: grid;
  align-items: end;
  background:
    linear-gradient(145deg, #0f172a 0%, color-mix(in srgb, var(--bg) 35%, #0f172a) 55%, var(--bg) 100%);
  color: #f8fafc;
}

.sf-hero-media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.03);
  transition: transform 7s ease-out, opacity 0.45s ease;
  opacity: 0;
}

.sf-hero.has-photo .sf-hero-media {
  opacity: 1;
}

.sf-hero.is-ready .sf-hero-media {
  transform: scale(1);
}

.sf-hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.55) 48%, rgba(15, 23, 42, 0.28) 100%),
    linear-gradient(0deg, rgba(15, 23, 42, 0.9) 0%, transparent 45%);
  pointer-events: none;
}

.sf-hero:not(.has-photo) .sf-hero-veil {
  background:
    linear-gradient(120deg, rgba(15, 23, 42, 0.5) 0%, transparent 70%),
    linear-gradient(0deg, color-mix(in srgb, var(--bg) 70%, transparent) 0%, transparent 50%);
}

.sf-hero:not(.has-photo) {
  color: var(--ink);
}

.sf-hero-copy {
  position: relative;
  z-index: 1;
  padding: 4.75rem 0 2.75rem;
  max-width: 42rem;
}

.sf-kicker {
  margin: 0 0 0.7rem;
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: color-mix(in srgb, currentColor 72%, transparent);
  font-weight: 600;
}

.sf-hero-copy h1 {
  font-family: var(--sf-display);
  font-size: clamp(2.5rem, 8vw, 4.6rem);
  line-height: 1.02;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 700;
  max-width: 14ch;
  color: inherit;
}

.sf-hero-lead {
  margin: 1rem 0 0;
  max-width: 36ch;
  color: color-mix(in srgb, currentColor 88%, transparent);
  font-size: clamp(1.05rem, 2.2vw, 1.2rem);
  line-height: 1.45;
}

.sf-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
  margin-top: 1.75rem;
}

.sf-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: var(--accent);
  color: var(--accent-ink);
  text-decoration: none;
  font-weight: 700;
  padding: 0.75rem 1.15rem;
  border-radius: 2px;
  min-height: 44px;
  border: 0;
  cursor: pointer;
  transition: background-color 0.22s ease, color 0.22s ease, border-color 0.22s ease;
}

.sf-btn-primary:focus-visible,
.sf-btn-ghost:focus-visible,
.sf-nav a:focus-visible,
.sf-hero-slides button:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

.sf-btn-ghost {
  color: inherit;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.55rem 0.85rem;
  border: 1px solid color-mix(in srgb, currentColor 45%, transparent);
  border-radius: 2px;
  cursor: pointer;
  transition: background-color 0.22s ease, border-color 0.22s ease;
}

.sf-btn-ghost:hover {
  background: color-mix(in srgb, currentColor 10%, transparent);
}

.sf-btn-ghost-ink {
  color: var(--ink);
  border-color: var(--line);
}

.sf-hero-slides {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 1.5rem;
  color: color-mix(in srgb, currentColor 80%, transparent);
  font-size: 0.85rem;
}

.sf-hero-slides button {
  background: rgba(15, 23, 42, 0.4);
  border: 1px solid color-mix(in srgb, currentColor 40%, transparent);
  color: inherit;
  min-height: 44px;
  padding: 0.4rem 0.75rem;
  border-radius: 2px;
  cursor: pointer;
}

.sf-trust {
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 55%, var(--bg));
}

.sf-trust-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
  gap: 1.25rem 1.75rem;
  padding: 1.35rem 0;
}

.sf-trust-item {
  display: grid;
  gap: 0.25rem;
  min-width: 0;
}

.sf-trust-item span {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.sf-trust-item strong {
  font-size: 1rem;
  font-weight: 650;
  color: var(--ink);
  line-height: 1.35;
}

.sf-bridge {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 2.5rem 0 3rem;
  border-top: 1px solid var(--line);
}

.sf-bridge-title {
  margin: 0 0 0.35rem;
  font-family: var(--sf-display);
  font-size: clamp(1.1rem, 2.4vw, 1.4rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sf-bridge-copy p {
  margin: 0;
  color: var(--muted);
  max-width: 42ch;
  line-height: 1.45;
}

.sf-about-main {
  padding: 0 0 2rem;
  display: grid;
  gap: 0;
}

.sf-about-story {
  padding: 2.75rem 0 1rem;
}

.sf-about-highlights {
  padding: 2rem 0 1rem;
}

.sf-about-banners {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.sf-about-banners img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
  border: 1px solid var(--line);
}

.sf-about-featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.sf-about-feat-card {
  border: 1px solid var(--line);
  background: var(--bg);
  overflow: hidden;
}

.sf-about-feat-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.sf-about-feat-card div {
  padding: 0.85rem 0.95rem 1rem;
}

.sf-about-feat-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}

.sf-about-feat-card h3 a {
  color: inherit;
  text-decoration: none;
}

.sf-about-feat-card p {
  margin: 0;
  font-weight: 700;
}

.sf-about-social {
  padding: 2rem 0 1rem;
}

.sf-social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.sf-social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 44px;
  padding: 0.55rem 0.9rem;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  text-decoration: none;
  font-weight: 650;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.sf-social-link:hover {
  border-color: color-mix(in srgb, var(--accent) 50%, var(--line));
}

.sf-social-link svg {
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
}

.sf-card-actions .sf-btn-primary {
  font-size: 0.9rem;
  padding: 0.55rem 0.85rem;
}

.sf-featured {
  padding: 2.75rem 0 0.5rem;
}

.sf-featured-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(16rem, 0.85fr);
  gap: 1.5rem 2rem;
  align-items: stretch;
  border-top: 3px solid var(--accent);
  padding-top: 1.25rem;
}

.sf-featured-media {
  display: block;
  color: inherit;
  text-decoration: none;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg);
  min-height: 220px;
}

.sf-featured-media img,
.sf-featured-media .vehicle-photo {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  aspect-ratio: 16 / 10;
}

.sf-featured-body h3 {
  margin: 0.2rem 0 0.55rem;
  font-family: var(--sf-display);
  font-size: clamp(1.25rem, 3vw, 1.85rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.15;
}

.sf-featured-meta {
  margin: 0;
  color: var(--muted);
}

.sf-featured-price {
  margin: 0.85rem 0 0;
  font-size: 1.45rem;
  font-weight: 750;
}

.sf-featured-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin: 1.15rem 0 1.35rem;
}

.sf-featured-specs div {
  border: 1px solid var(--line);
  padding: 0.7rem 0.8rem;
  display: grid;
  gap: 0.2rem;
}

.sf-featured-specs span {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.sf-featured-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.sf-featured-actions button {
  font: inherit;
  background: transparent;
}

.sf-visit {
  display: grid;
  grid-template-columns: minmax(16rem, 0.9fr) minmax(0, 1.2fr);
  gap: 1.5rem 2rem;
  padding: 2.75rem 0;
  border-top: 1px solid var(--line);
  align-items: start;
}

.sf-visit-copy h2 {
  margin: 0 0 0.35rem;
  font-family: var(--sf-display);
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sf-visit-facts {
  margin: 1.25rem 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.sf-visit-facts div {
  display: grid;
  gap: 0.15rem;
}

.sf-visit-facts dt {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.sf-visit-facts dd {
  margin: 0;
  font-weight: 650;
  color: var(--ink);
  line-height: 1.35;
}

.sf-visit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.sf-visit-map {
  margin: 0;
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--bg);
  min-height: 280px;
}

.sf-visit-map iframe {
  display: block;
  width: 100%;
  height: min(360px, 48vh);
  border: 0;
  filter: grayscale(0.15) contrast(1.03);
}

.sf-contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.sf-banners {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.75rem;
  padding: 1.25rem 0 0;
}

.sf-banners img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 4px;
  display: block;
}

.sf-banner-carousel {
  display: block;
  position: relative;
}

.sf-banner-track {
  position: relative;
  min-height: 160px;
}

.sf-banner-track img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 180px;
  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
}

.sf-banner-track img.is-active {
  opacity: 1;
  position: relative;
  pointer-events: auto;
}

.sf-banner-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.sf-banner-controls button {
  background: transparent;
  border: 1px solid color-mix(in srgb, var(--ink) 20%, transparent);
  color: var(--ink);
  min-width: 2.2rem;
  min-height: 2.2rem;
  border-radius: 2px;
  cursor: pointer;
}

.sf-check {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  align-self: end;
  padding-bottom: 0.35rem;
}

/* —— A loja: Hero-Centric + Trust (UI UX Pro Max) —— */

.page-about {
  --about-display: 'Syncopate', var(--font-display), system-ui, sans-serif;
  scroll-behavior: smooth;
}

.sf-about-hero {
  position: relative;
  min-height: min(78vh, 640px);
  display: grid;
  align-items: end;
  overflow: hidden;
  background:
    linear-gradient(145deg, #0f172a 0%, color-mix(in srgb, var(--bg) 40%, #0f172a) 55%, var(--bg) 100%);
  color: #f8fafc;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.sf-about-hero.is-ready {
  opacity: 1;
  transform: none;
}

.sf-about-hero-media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.03);
  transition: transform 7s ease-out;
}

.sf-about-hero.is-ready .sf-about-hero-media {
  transform: scale(1);
}

.sf-about-hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.55) 48%, rgba(15, 23, 42, 0.25) 100%),
    linear-gradient(0deg, rgba(15, 23, 42, 0.88) 0%, transparent 42%);
  pointer-events: none;
}

.sf-about-hero:not(.has-photo) .sf-about-hero-veil {
  background:
    linear-gradient(120deg, rgba(15, 23, 42, 0.55) 0%, transparent 70%),
    linear-gradient(0deg, color-mix(in srgb, var(--bg) 75%, transparent) 0%, transparent 50%);
}

.sf-about-hero:not(.has-photo) {
  color: var(--ink);
}

.sf-about-hero-copy {
  position: relative;
  z-index: 1;
  padding: 4.5rem 0 2.75rem;
  max-width: 40rem;
}

.sf-about-kicker {
  margin: 0 0 0.65rem;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: color-mix(in srgb, currentColor 72%, transparent);
}

.sf-about-hero h1 {
  margin: 0;
  font-family: var(--about-display);
  font-size: clamp(2.4rem, 8vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 700;
}

.sf-about-lede {
  margin: 1rem 0 0;
  font-size: clamp(1.05rem, 2.2vw, 1.2rem);
  max-width: 36ch;
  line-height: 1.45;
  color: color-mix(in srgb, currentColor 88%, transparent);
}

.sf-about-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.sf-about-hero-cta .sf-btn-primary,
.sf-about-hero-cta .sf-btn-ghost,
.sf-about-visit-actions .sf-btn-primary,
.sf-about-visit-actions .sf-btn-ghost,
.sf-about-cta .sf-btn-primary {
  cursor: pointer;
  min-height: 44px;
  transition: background-color 0.22s ease, color 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
}

.sf-about-hero-cta .sf-btn-primary:focus-visible,
.sf-about-hero-cta .sf-btn-ghost:focus-visible,
.sf-about-visit-actions a:focus-visible,
.sf-about-cta .sf-btn-primary:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

.sf-about-hero.has-photo .sf-about-hero-secondary {
  border-color: color-mix(in srgb, #f8fafc 55%, transparent);
  color: #f8fafc;
}

.sf-about-hero.has-photo .sf-about-hero-secondary:hover {
  background: color-mix(in srgb, #f8fafc 12%, transparent);
}

.sf-about-trust {
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 55%, var(--bg));
}

.sf-about-trust-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
  gap: 1.25rem 1.75rem;
  padding: 1.35rem 0;
}

.sf-about-trust-item {
  display: grid;
  gap: 0.25rem;
  min-width: 0;
}

.sf-about-trust-item span {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.sf-about-trust-item strong {
  font-size: 1rem;
  font-weight: 650;
  color: var(--ink);
  line-height: 1.35;
}

.sf-about-h2 {
  margin: 0 0 1rem;
  font-family: var(--about-display);
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--ink);
}

.sf-about-h2--cta {
  margin-bottom: 0.35rem;
}

.sf-about-body {
  color: var(--ink);
  line-height: 1.7;
  font-size: 1.05rem;
  max-width: 62ch;
}

.sf-about-body p {
  margin: 0 0 1.1rem;
}

.sf-about-place-head {
  margin-bottom: 1.35rem;
  max-width: 42rem;
}

.sf-about-place-lead {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.45;
}

.sf-about-place-grid {
  display: grid;
  grid-template-columns: minmax(15rem, 0.85fr) minmax(0, 1.35fr);
  gap: 1.5rem 2rem;
  align-items: stretch;
}

.sf-about-visit {
  border-top: 3px solid var(--accent);
  padding: 1.15rem 0 0;
}

.sf-about-facts {
  display: grid;
  gap: 1.05rem;
  margin: 0 0 1.35rem;
  padding: 0;
}

.sf-about-facts div {
  display: grid;
  gap: 0.2rem;
}

.sf-about-facts dt {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.sf-about-facts dd {
  margin: 0;
  font-weight: 650;
  font-size: 1.02rem;
  color: var(--ink);
  line-height: 1.4;
}

.sf-about-visit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.sf-about-map {
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--bg);
  overflow: hidden;
  min-height: 100%;
}

.sf-about-map iframe {
  display: block;
  width: 100%;
  height: min(440px, 52vh);
  border: 0;
  filter: grayscale(0.2) contrast(1.04);
}

.sf-about-map-cap {
  margin: 0;
  padding: 0.7rem 0.95rem;
  font-size: 0.88rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.sf-about-cta {
  padding-top: 1.85rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.sf-about-cta p {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

[data-reveal].is-in {
  opacity: 1;
  transform: none;
}

@media (max-width: 860px) {
  .sf-about-hero {
    min-height: min(70vh, 560px);
  }

  .sf-about-hero-copy {
    padding: 3.25rem 0 2rem;
  }

  .sf-about-place-grid {
    grid-template-columns: 1fr;
  }

  .sf-about-map iframe {
    height: min(360px, 48vh);
  }

  .sf-about-visit-actions a,
  .sf-about-hero-cta a {
    min-height: 48px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .storefront {
    scroll-behavior: auto;
  }

  .sf-about-hero,
  .sf-about-hero-media,
  .sf-hero-media,
  [data-reveal] {
    transition: none;
    transform: none;
    opacity: 1;
  }
}

.sf-stock {
  padding: 2.75rem 0 1rem;
}

.sf-section-head h2 {
  margin: 0 0 0.35rem;
  font-family: var(--sf-display);
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sf-section-lead {
  color: var(--muted);
  margin: 0 0 1.25rem;
  line-height: 1.45;
}

.sf-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: end;
  margin-bottom: 1.25rem;
}

.sf-search {
  flex: 1 1 220px;
}

.sf-search input {
  width: 100%;
}

.sf-slug-dev {
  display: grid;
  gap: 0.25rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.sf-slug-dev input {
  width: 8rem;
}

.sf-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}

.sf-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
}

.sf-fav {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  z-index: 2;
  width: 2.2rem;
  height: 2.2rem;
  border: 0;
  border-radius: 2px;
  background: rgba(15, 23, 42, 0.72);
  color: #fff;
  font-size: 1.05rem;
  line-height: 1;
  cursor: pointer;
}

.sf-fav.is-on,
.sf-fav-btn.is-on {
  color: #fbbf24;
}

.sf-fav-btn {
  cursor: pointer;
}

.sf-card img,
.sf-card .vehicle-photo {
  aspect-ratio: 16 / 10;
  width: 100%;
  object-fit: cover;
  background: var(--line);
}

.sf-card-body {
  padding: 0.9rem 1rem 1rem;
  display: grid;
  gap: 0.4rem;
  flex: 1;
}

.sf-card-body h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  text-transform: uppercase;
}

.sf-card-meta {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.sf-card-price {
  margin: 0.35rem 0 0;
  font-size: 1.2rem;
  font-weight: 700;
}

.sf-contact {
  padding: 0 0 3.25rem;
  background: color-mix(in srgb, var(--surface) 40%, var(--bg));
  border-top: 1px solid var(--line);
}

.sf-section-head--contact {
  padding-top: 2.75rem;
}

.sf-contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(15rem, 0.85fr);
  gap: 1.75rem 2rem;
  align-items: start;
  padding-bottom: 0.5rem;
}

.sf-contact-form-wrap {
  border-top: 3px solid var(--accent);
  padding-top: 1.15rem;
  background: color-mix(in srgb, var(--bg) 70%, var(--surface));
  padding: 1.25rem 1.15rem 1.35rem;
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
}

.sf-contact-form-title {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
}

.sf-contact-side {
  display: grid;
  gap: 0.85rem;
}

.sf-channel-grid {
  display: grid;
  gap: 0.65rem;
}

.sf-channel {
  display: grid;
  gap: 0.2rem;
  padding: 0.85rem 0.95rem;
  border: 1px solid var(--line);
  background: var(--bg);
  text-decoration: none;
  color: inherit;
  min-height: 44px;
  transition: border-color 0.2s ease, background-color 0.2s ease;
  cursor: pointer;
}

.sf-channel:hover {
  border-color: color-mix(in srgb, var(--accent) 55%, var(--line));
}

.sf-channel span {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.sf-channel strong {
  font-weight: 650;
  color: var(--ink);
  line-height: 1.35;
  word-break: break-word;
}

.sf-hours-card {
  border: 1px solid var(--line);
  background: var(--bg);
  padding: 0.95rem 1rem;
}

.sf-hours-card h3 {
  margin: 0 0 0.45rem;
  font-size: 0.95rem;
}

.sf-hours-card p {
  margin: 0;
  color: var(--ink);
  line-height: 1.45;
  white-space: pre-line;
}

.sf-wa-banner {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.95rem 1rem;
  background: #166534;
  color: #fff;
  text-decoration: none;
  min-height: 48px;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.sf-wa-banner:hover {
  background: #14532d;
}

.sf-wa-banner-label {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.9;
}

.sf-wa-banner strong {
  font-size: 1.02rem;
}

.sf-contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem 1rem;
}

.sf-field {
  display: grid;
  gap: 0.3rem;
}

.sf-field--full {
  grid-column: 1 / -1;
}

.sf-field label {
  font-size: 0.82rem;
  color: var(--muted);
}

.sf-field input,
.sf-field select,
.sf-field textarea {
  width: 100%;
  min-height: 44px;
}

.sf-field textarea {
  min-height: 6.5rem;
  resize: vertical;
}

.sf-consent {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  color: var(--ink);
  font-size: 0.92rem;
  line-height: 1.4;
}

.sf-btn-submit {
  font: inherit;
}

.sf-footer {
  border-top: 1px solid var(--line);
  padding: 1.75rem 0 2rem;
  color: var(--muted);
  font-size: 0.92rem;
  background: var(--bg);
}

.sf-footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  margin-bottom: 1rem;
}

.sf-footer-brand {
  margin: 0 0 0.35rem;
  color: var(--ink);
  font-family: var(--sf-display);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.95rem;
}

.sf-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.15rem;
}

.sf-footer a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
}

.sf-footer a:hover {
  color: var(--accent);
}

.sf-attrib {
  font-size: 0.8rem;
  opacity: 0.85;
  margin: 0;
}

.sf-wa {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 30;
  background: #166534;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  min-height: 44px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.sf-filters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.75rem;
  margin: 1rem 0 0.5rem;
  align-items: end;
}

.sf-filters label {
  display: grid;
  gap: 0.3rem;
  font-size: 0.82rem;
  color: var(--muted);
}

.sf-filters input,
.sf-filters select {
  width: 100%;
}

.sf-stock-count {
  margin: 0.5rem 0 1rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.sf-card-media {
  position: relative;
  display: block;
  color: inherit;
  text-decoration: none;
}

.sf-card-brand {
  position: absolute;
  left: 0.6rem;
  top: 0.6rem;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25rem 0.45rem;
}

.sf-card-body h3 a {
  color: inherit;
  text-decoration: none;
}

.sf-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.4rem;
}

.sf-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  color: var(--muted);
  font-size: 0.9rem;
  margin: 1rem 0;
}

.sf-breadcrumb a {
  color: var(--accent);
}

.detail-main {
  padding-bottom: 5rem;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.8fr);
  gap: 1.5rem;
  align-items: start;
}

.detail-gallery {
  display: grid;
  gap: 0.75rem;
}

.gallery-stage {
  position: relative;
  background: var(--line);
  border-radius: 4px;
  overflow: hidden;
}

.gallery-stage img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.gallery-expand,
.gallery-nav {
  position: absolute;
  z-index: 2;
}

.gallery-expand {
  right: 0.6rem;
  top: 0.6rem;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  border: 0;
  min-width: 40px;
  min-height: 40px;
  cursor: pointer;
}

.gallery-nav {
  left: 0.6rem;
  bottom: 0.6rem;
  display: flex;
  gap: 0.4rem;
  align-items: center;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  padding: 0.25rem 0.45rem;
  border-radius: 4px;
  font-size: 0.85rem;
}

.gallery-nav button {
  background: transparent;
  border: 0;
  color: #fff;
  cursor: pointer;
  min-width: 32px;
  min-height: 32px;
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
  gap: 0.4rem;
}

.gallery-thumbs .thumb {
  padding: 0;
  border: 2px solid transparent;
  background: var(--line);
  cursor: pointer;
  min-height: 0;
}

.gallery-thumbs .thumb.is-active {
  border-color: var(--accent);
}

.gallery-thumbs img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
}

.detail-aside {
  position: sticky;
  top: 5.5rem;
  display: grid;
  gap: 0.55rem;
  padding: 1.1rem;
  border: 1px solid var(--line);
  background: var(--surface);
}

.brand-tag {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  color: var(--muted);
}

.detail-aside h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  text-transform: uppercase;
  line-height: 1.05;
}

.detail-sub,
.detail-note,
.detail-store {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.detail-price-label {
  margin: 0.6rem 0 0;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.detail-price {
  margin: 0;
  font-size: 1.7rem;
  font-weight: 700;
}

.detail-specs {
  display: grid;
  gap: 0.35rem;
  margin: 0.4rem 0;
}

.detail-specs > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
  padding: 0.35rem 0;
  font-size: 0.92rem;
}

.detail-specs dt {
  color: var(--muted);
}

.detail-specs dd {
  margin: 0;
  font-weight: 600;
}

.btn-full {
  width: 100%;
  text-align: center;
}

.equipment-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
  padding: 0;
  margin: 0.75rem 0;
}

.equipment-list li {
  border: 1px solid var(--line);
  padding: 0.3rem 0.55rem;
  font-size: 0.85rem;
}

.share-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.share-btn {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  padding: 0.4rem 0.7rem;
  min-height: 40px;
  cursor: pointer;
  font: inherit;
}

.mobile-car-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 25;
  display: none;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background: var(--surface);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.12);
}

.photo-dialog {
  border: 0;
  padding: 0;
  max-width: min(96vw, 1100px);
  width: 96vw;
  background: #0b0b0b;
  color: #fff;
}

.photo-dialog::backdrop {
  background: rgba(0, 0, 0, 0.85);
}

.photo-dialog img {
  width: 100%;
  max-height: 85vh;
  object-fit: contain;
  display: block;
}

.dialog-close,
.dialog-nav {
  position: absolute;
  z-index: 2;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 0;
  min-width: 44px;
  min-height: 44px;
  cursor: pointer;
}

.dialog-close {
  top: 0.5rem;
  right: 0.5rem;
}

.dialog-nav.prev {
  left: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
}

.dialog-nav.next {
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
}

.photo-count {
  text-align: center;
  margin: 0.5rem;
  color: #ddd;
}

@media (max-width: 860px) {
  .sf-hero {
    min-height: min(72vh, 580px);
  }

  .sf-hero-copy {
    padding: 3.25rem 0 2rem;
  }

  .sf-featured-grid,
  .sf-visit,
  .sf-contact-layout {
    grid-template-columns: 1fr;
  }

  .sf-contact-form {
    grid-template-columns: 1fr;
  }

  .sf-nav a:not(.sf-nav-cta):not(.sf-nav-login) {
    display: none;
  }

  .sf-hero-actions a,
  .sf-contact-actions a,
  .sf-contact-actions button,
  .sf-featured-actions a,
  .sf-featured-actions button,
  .sf-visit-actions a {
    min-height: 48px;
  }

  .detail-layout {
    grid-template-columns: 1fr;
  }

  .detail-aside {
    position: static;
  }

  .mobile-car-cta {
    display: flex;
  }

  .sf-wa {
    bottom: 4.5rem;
  }
}
