.home-hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  min-height: 100dvh;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero-video,
.hero-media,
.page-hero__media,
.image-section__media,
.review-section__media,
.final-cta__media {
  position: absolute;
  z-index: -3;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-video {
  object-position: 50% 48%;
}

.home-hero::before,
.page-hero::before,
.image-section::before,
.review-section::before,
.final-cta::before {
  position: absolute;
  z-index: -2;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 9, 11, 0.54), rgba(8, 9, 11, 0.33) 45%, rgba(8, 9, 11, 0.82)),
    linear-gradient(90deg, rgba(8, 9, 11, 0.58), transparent 70%);
  content: "";
}

.home-hero::after,
.page-hero::after,
.image-section::after,
.review-section::after,
.final-cta::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.2'/%3E%3C/svg%3E");
  content: "";
  mix-blend-mode: soft-light;
  opacity: 0.14;
  pointer-events: none;
}

.hero-content {
  display: grid;
  width: min(760px, calc(100vw - 40px));
  justify-items: center;
  gap: 20px;
  padding: calc(var(--header-height) + 22px) 0 106px;
  text-align: center;
}

.hero-content .eyebrow {
  justify-content: center;
}

.hero-content h1 {
  font-size: clamp(1.55rem, 2.45vw, 2.12rem);
  letter-spacing: -0.02em;
}

.hero-content > p {
  max-width: 650px;
  color: rgba(247, 247, 245, 0.82);
  font-size: clamp(0.96rem, 1.4vw, 1.1rem);
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.scroll-indicator {
  position: absolute;
  bottom: max(20px, env(safe-area-inset-bottom));
  left: 50%;
  display: grid;
  justify-items: center;
  gap: 8px;
  color: rgba(247, 247, 245, 0.72);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.scroll-indicator__mouse {
  position: relative;
  width: 24px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 999px;
}

.scroll-indicator__mouse::after {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--sb-red-bright);
  content: "";
  transform: translateX(-50%);
  animation: scroll-dot 1.9s ease-in-out infinite;
}

@keyframes scroll-dot {
  50% {
    transform: translate(-50%, 13px);
    opacity: 0.5;
  }
}

.stats-strip {
  border-block: 1px solid var(--sb-border);
  background: #0d0f12;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.stat {
  display: grid;
  min-height: 132px;
  place-content: center;
  padding: 20px;
  border-right: 1px solid var(--sb-border);
  text-align: center;
}

.stat:last-child {
  border-right: 0;
}

.stat strong {
  font-size: clamp(1.65rem, 3vw, 2.55rem);
  line-height: 1;
}

.stat span {
  margin-top: 10px;
  color: var(--sb-muted);
  font-size: 0.67rem;
  font-weight: 720;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.google-mark {
  display: inline-flex;
  gap: 1px;
  margin-right: 5px;
  font-weight: 800;
}

.google-mark i {
  font-style: normal;
}

.google-mark i:nth-child(1) { color: #4285f4; }
.google-mark i:nth-child(2) { color: #ea4335; }
.google-mark i:nth-child(3) { color: #fbbc05; }
.google-mark i:nth-child(4) { color: #4285f4; }
.google-mark i:nth-child(5) { color: #34a853; }
.google-mark i:nth-child(6) { color: #ea4335; }

.slider-dots {
  display: none;
}

.image-section,
.review-section,
.final-cta {
  position: relative;
  display: grid;
  min-height: min(760px, 82vh);
  place-items: center;
  overflow: hidden;
  isolation: isolate;
}

.image-section__content,
.final-cta__content {
  display: grid;
  max-width: 780px;
  justify-items: start;
  gap: 22px;
}

.image-section__content h2,
.final-cta__content h2 {
  max-width: 760px;
}

.image-section__content p,
.final-cta__content p {
  max-width: 620px;
  color: rgba(247, 247, 245, 0.8);
  font-size: 1.08rem;
}

.poster-editorial {
  object-position: 50% 48%;
}

.approach-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(50px, 8vw, 110px);
  align-items: start;
}

.approach-intro {
  position: sticky;
  top: calc(var(--header-height) + 46px);
  display: grid;
  gap: 22px;
}

.approach-intro h2 {
  font-size: clamp(2rem, 3.8vw, 4rem);
}

.approach-list {
  display: grid;
  gap: 54px;
}

.approach-card {
  position: relative;
  display: grid;
  min-height: 440px;
  align-content: end;
  overflow: hidden;
  padding: 34px;
  border: 1px solid var(--sb-border);
  border-radius: var(--radius-lg);
  isolation: isolate;
}

.approach-card img {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.approach-card::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(180deg, transparent 24%, rgba(8, 9, 11, 0.94) 92%);
  content: "";
}

.approach-card:hover img {
  transform: scale(1.035);
}

.approach-card__number {
  margin-bottom: auto;
  color: var(--sb-red-bright);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.approach-card h3 {
  margin-top: 235px;
  font-size: clamp(1.55rem, 3vw, 2.6rem);
}

.approach-card p {
  max-width: 500px;
  margin-top: 12px;
}

.approach-card .text-link {
  margin-top: 18px;
}

.review-section {
  min-height: 590px;
  text-align: center;
}

.review-section__media {
  object-position: 50% 62%;
}

.review-content {
  display: grid;
  justify-items: center;
  gap: 20px;
}

.review-score {
  display: block;
  margin-top: 12px;
  font-size: clamp(3.5rem, 9vw, 8rem);
  font-weight: 780;
  letter-spacing: -0.07em;
  line-height: 0.9;
}

.stars {
  color: #f2c94c;
  font-size: 1.08rem;
  letter-spacing: 0.22em;
}

.faq-list {
  border-top: 1px solid var(--sb-border);
}

.faq-item {
  border-bottom: 1px solid var(--sb-border);
}

.faq-question {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 0;
  background: transparent;
  color: var(--sb-white);
  cursor: pointer;
  font-weight: 690;
  text-align: left;
}

.faq-question span:last-child {
  color: var(--sb-red-bright);
  font-size: 1.3rem;
  transition: transform 0.25s ease;
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.32s var(--ease);
}

.faq-answer > div {
  overflow: hidden;
}

.faq-answer p {
  max-width: 780px;
  padding: 0 0 26px;
}

.faq-item.is-open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-item.is-open .faq-question span:last-child {
  transform: rotate(45deg);
}

.final-cta {
  min-height: 650px;
}

.final-cta__media {
  object-position: 50% 50%;
}

.page-hero {
  position: relative;
  display: grid;
  min-height: clamp(480px, 66vh, 720px);
  place-items: end start;
  overflow: hidden;
  padding: calc(var(--header-height) + 90px) 0 76px;
  isolation: isolate;
}

.page-hero__content {
  display: grid;
  max-width: 850px;
  gap: 18px;
}

.page-hero__content p {
  max-width: 670px;
  color: rgba(247, 247, 245, 0.82);
  font-size: clamp(1rem, 1.6vw, 1.18rem);
}

.page-hero--stock .page-hero__media {
  object-position: 50% 54%;
}

.page-hero--contact .page-hero__media {
  object-position: 50% 52%;
}

.filter-section {
  position: relative;
  z-index: 10;
  padding: 0 0 32px;
  background: var(--sb-black);
}

.filter-panel {
  position: relative;
  margin-top: -42px;
  padding: 24px;
  border: 1px solid var(--sb-border);
  border-radius: var(--radius-md);
  background: rgba(20, 22, 26, 0.96);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(18px);
}

.filter-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.filter-panel__head strong {
  font-size: 0.76rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.filter-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.field {
  display: grid;
  gap: 7px;
}

.field label {
  color: var(--sb-muted);
  font-size: 0.68rem;
  font-weight: 720;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 47px;
  padding: 11px 12px;
  border: 1px solid var(--sb-border);
  border-radius: 6px;
  background: #0d0f12;
  color: var(--sb-white);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.field textarea {
  min-height: 150px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--sb-red);
  box-shadow: 0 0 0 3px rgba(212, 33, 45, 0.12);
  outline: 0;
}

.field-error {
  min-height: 18px;
  color: #ff8990;
  font-size: 0.72rem;
}

.filter-actions {
  display: flex;
  align-items: end;
}

.compact-filter {
  position: fixed;
  z-index: 90;
  top: var(--header-height);
  right: 0;
  left: 0;
  visibility: hidden;
  border-bottom: 1px solid var(--sb-border);
  background: rgba(13, 15, 18, 0.95);
  opacity: 0;
  transform: translateY(-100%);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    visibility 0.25s ease;
  backdrop-filter: blur(16px);
}

.compact-filter.is-visible {
  visibility: visible;
  opacity: 1;
  transform: none;
}

.compact-filter__inner {
  display: flex;
  min-height: 56px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.compact-filter button {
  background: transparent;
  color: var(--sb-white);
  cursor: pointer;
  font-size: 0.71rem;
  font-weight: 780;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.stock-results-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.stock-count {
  color: var(--sb-muted);
  font-size: 0.86rem;
}

.empty-state {
  display: none;
  padding: 80px 24px;
  border: 1px solid var(--sb-border);
  border-radius: var(--radius-md);
  background: var(--sb-surface);
  text-align: center;
}

.empty-state.is-visible {
  display: grid;
  justify-items: center;
  gap: 18px;
}

.vehicle-detail {
  padding-top: calc(var(--header-height) + 46px);
}

.vehicle-breadcrumb {
  display: flex;
  gap: 8px;
  padding: 18px 0 26px;
  color: var(--sb-muted);
  font-size: 0.75rem;
}

.vehicle-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: clamp(34px, 5vw, 72px);
  align-items: start;
}

.vehicle-gallery {
  display: grid;
  gap: 14px;
}

.gallery-main {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--sb-border);
  border-radius: var(--radius-md);
  background: #111;
  cursor: zoom-in;
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.gallery-thumb {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  padding: 0;
  border: 1px solid var(--sb-border);
  border-radius: 7px;
  background: #121418;
  cursor: pointer;
}

.gallery-thumb.is-active {
  border-color: var(--sb-red);
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-thumb.is-details img {
  object-fit: contain;
}

.vehicle-info {
  position: sticky;
  top: calc(var(--header-height) + 30px);
  display: grid;
  gap: 24px;
}

.vehicle-title-wrap {
  display: grid;
  gap: 14px;
}

.vehicle-title-wrap h1 {
  font-size: clamp(2.1rem, 4vw, 4rem);
}

.vehicle-price {
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  font-weight: 780;
}

.vehicle-spec-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid var(--sb-border);
  border-radius: var(--radius-sm);
}

.vehicle-spec {
  display: grid;
  gap: 5px;
  padding: 16px;
  border-right: 1px solid var(--sb-border);
  border-bottom: 1px solid var(--sb-border);
}

.vehicle-spec:nth-child(even) {
  border-right: 0;
}

.vehicle-spec:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.vehicle-spec small {
  color: var(--sb-muted);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.highlight-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.highlight-list li {
  padding: 8px 10px;
  border: 1px solid var(--sb-border);
  border-radius: 5px;
  color: var(--sb-muted);
  font-size: 0.76rem;
}

.vehicle-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.vehicle-actions .btn:first-child {
  grid-column: 1 / -1;
}

.lightbox {
  position: fixed;
  z-index: 250;
  inset: 0;
  display: grid;
  visibility: hidden;
  place-items: center;
  padding: 28px;
  background: rgba(3, 4, 5, 0.94);
  opacity: 0;
  transition:
    opacity 0.25s ease,
    visibility 0.25s ease;
}

.lightbox.is-open {
  visibility: visible;
  opacity: 1;
}

.lightbox img {
  max-width: min(1200px, 90vw);
  max-height: 86vh;
  object-fit: contain;
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid var(--sb-border-strong);
  border-radius: 50%;
  background: rgba(8, 9, 11, 0.7);
  color: white;
  cursor: pointer;
}

.lightbox-close {
  top: 22px;
  right: 22px;
}

.lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-nav--prev { left: 22px; }
.lightbox-nav--next { right: 22px; }

.contact-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(50px, 8vw, 110px);
}

.contact-info {
  display: grid;
  align-content: start;
  gap: 26px;
}

.contact-info h2 {
  font-size: clamp(2rem, 4vw, 3.7rem);
}

.contact-details {
  display: grid;
  gap: 14px;
}

.contact-detail {
  display: grid;
  gap: 4px;
  padding: 18px 0;
  border-bottom: 1px solid var(--sb-border);
}

.contact-detail small {
  color: var(--sb-muted);
  font-size: 0.67rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.contact-empty-note {
  padding: 18px;
  border: 1px solid var(--sb-border);
  border-radius: var(--radius-sm);
  background: var(--sb-surface);
  font-size: 0.86rem;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--sb-border);
  border-radius: var(--radius-md);
  background: var(--sb-surface);
}

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

.form-status {
  display: none;
  grid-column: 1 / -1;
  padding: 14px;
  border: 1px solid rgba(241, 66, 76, 0.35);
  border-radius: 6px;
  background: rgba(212, 33, 45, 0.08);
  color: var(--sb-white);
  font-size: 0.85rem;
}

.form-status.is-visible {
  display: block;
}

.not-found {
  position: relative;
  display: grid;
  min-height: 100svh;
  place-items: center;
  overflow: hidden;
  text-align: center;
  isolation: isolate;
}

.not-found img {
  position: absolute;
  z-index: -3;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.not-found::before {
  position: absolute;
  z-index: -2;
  inset: 0;
  background: rgba(8, 9, 11, 0.76);
  content: "";
}

.not-found__content {
  display: grid;
  max-width: 680px;
  justify-items: center;
  gap: 20px;
  padding: 110px 24px 50px;
}

.not-found__code {
  color: var(--sb-red-bright);
  font-family: var(--font-accent);
  font-size: clamp(5rem, 20vw, 13rem);
  font-style: italic;
  line-height: 0.8;
}
