.section-pad { padding: var(--section-pad) 0; }

.section-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--clr-accent);
  margin-bottom: 12px;
}

.section-sub {
  font-size: 17px;
  color: var(--clr-muted);
  line-height: 1.65;
  margin-top: 12px;
  max-width: 560px;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
}
.section-header--center { justify-content: center; text-align: center; }
.section-header--center .section-sub { margin: 12px auto 0; }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--clr-black);
}

.link-arrow {
  font-size: 14px;
  font-weight: 500;
  color: var(--clr-text);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--clr-border);
  transition: color 0.2s, border-color 0.2s;
}
.link-arrow:hover { color: var(--clr-accent); border-color: var(--clr-accent); }

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--clr-accent);
  color: var(--clr-white);
  border-color: var(--clr-accent);
}
.btn--primary:hover { background: var(--clr-accent-dark); border-color: var(--clr-accent-dark); }

.btn--ghost {
  background: transparent;
  color: var(--clr-white);
  border-color: rgba(255,255,255,0.45);
}
.btn--ghost:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.85); }

.btn--outline {
  background: transparent;
  color: var(--clr-text);
  border-color: var(--clr-text);
}
.btn--outline:hover { background: var(--clr-text); color: var(--clr-white); }

.btn--outline-blue {
  background: transparent;
  color: var(--clr-accent);
  border-color: var(--clr-accent);
  font-size: 14px;
}
.btn--outline-blue:hover { background: var(--clr-accent); color: var(--clr-white); }

.btn--search {
  background: var(--clr-accent);
  color: var(--clr-white);
  border: none;
  border-radius: 0;
  padding: 0 40px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}
.btn--search:hover { background: var(--clr-accent-dark); }

.hero {
  position: relative;
  height: 93vh;
  min-height: 620px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__bg { position: absolute; inset: 0; }

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(8,12,18,0.85) 38%, rgba(8,12,18,0.25) 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 32px;
  width: 100%;
  margin-bottom: 120px;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--clr-accent-mid);
  margin-bottom: 22px;
  font-weight: 500;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(54px, 7.5vw, 100px);
  font-weight: 900;
  color: var(--clr-white);
  line-height: 0.97;
  margin-bottom: 26px;
  max-width: 680px;
}
.hero__title em {
  font-style: italic;
  color: var(--clr-accent-mid);
}

.hero__sub {
  font-size: 18px;
  font-weight: 300;
  color: rgba(255,255,255,0.72);
  margin-bottom: 40px;
  max-width: 460px;
  line-height: 1.6;
}

.hero__cta-group {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero__stats {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  background: rgba(8,12,18,0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px 32px;
  gap: 0;
}

.hero__stat {
  flex: 1;
  text-align: center;
  max-width: 220px;
}
.hero__stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 700;
  color: var(--clr-white);
  line-height: 1;
  margin-bottom: 4px;
}
.hero__stat-label {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.05em;
}
.hero__stat-sep {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.15);
  flex-shrink: 0;
  margin: 0 8px;
}

.how-it-works { background: var(--clr-white); }

.steps-wrap {
  margin-bottom: 48px;
}

.steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.steps-nav {
  display: none;
}

.step {
  flex: 1;
  padding: 36px 28px;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  position: relative;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.step:hover {
  border-color: var(--clr-accent);
}

.step__num {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 900;
  color: var(--clr-accent-light);
  line-height: 1;
  margin-bottom: 16px;
}

.step h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--clr-text-light);
  margin-bottom: 10px;
}

.step p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--clr-muted);
}

.step__arrow {
  flex-shrink: 0;
  font-size: 22px;
  color: var(--clr-accent);
  padding: 0 12px;
  margin-top: 44px;
  opacity: 0.5;
}

.how-it-works__cta {
  text-align: center;
}

.featured--surface { background: var(--clr-surface); }

.why-us__features .feature-item{
  background: #f6f6f6;
  padding: 20px;
  border-radius: 25px;
}

.cars-grid {
  grid-template-columns: repeat(4, 1fr);
}

.brands { background: var(--clr-white); }

.brands__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.brand-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--clr-muted);
  transition: color 0.22s, border-color 0.22s, background 0.22s, transform 0.22s;
  height: fit-content;
}
.brand-tile:hover {
  color: var(--clr-accent);
  border-color: var(--clr-text-light);
  background: var(--clr-white);
  transform: translateY(-3px);
  box-shadow: 0 8px 28px var(--clr-accent-glow);
  border-width: 2px;
}

.brand-tile__svg {
  width: 64px;
  height: auto;
  display: block;
}

.brand-tile--more {
  flex-direction: column;
  gap: 8px;
  border-style: dashed;
  height: 100%;
  padding: 10px;
}
.brand-tile--more span {
  font-size: 11px;
  text-align: center;
  line-height: 1.4;
  letter-spacing: 0.02em;
}
.brand-tile__plus {
  font-size: 32px;
  font-weight: 300;
  color: var(--clr-accent);
  line-height: 1;
}

.promo-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 540px;
}

.promo-split__half--img {
  position: relative;
  overflow: hidden;
}
.promo-split__half--img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.promo-split__half--img:hover img { transform: scale(1.03); }

.promo-split__img-overlay {
  position: absolute;
  inset: 0;
  background: rgba(8,12,18,0.32);
}

.promo-split__img-label {
  position: absolute;
  bottom: 32px;
  left: 32px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.promo-split__img-label span {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--clr-white);
  line-height: 1.1;
}
.promo-split__img-label span:last-child { color: var(--clr-accent-mid); }

.promo-split__half--content {
  background: var(--clr-black);
  color: var(--clr-white);
  padding: 72px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.promo-split__half--content h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--clr-white);
  margin: 12px 0 20px;
}
.promo-split__half--content h2 em {
  font-style: italic;
  color: var(--clr-accent-mid);
}

.promo-split__half--content p {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255,255,255,0.62);
  margin-bottom: 24px;
  max-width: 440px;
}

.promo-split__list {
  list-style: none;
  margin-bottom: 36px;
}
.promo-split__list li {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  padding: 9px 0;
  border-bottom: 1px solid rgba(255,255,255,0.09);
  display: flex;
  align-items: center;
  gap: 10px;
}
.promo-split__list li::before {
  content: '✓';
  color: var(--clr-accent-mid);
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
}

.why-us { background: var(--clr-white); }

.why-us__inner {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  align-items: start;
}

.why-us__header p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--clr-muted);
  margin: 20px 0 32px;
  max-width: 360px;
}

.why-us__features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 48px;
}

.feature-item__icon {
  font-size: 20px;
  color: var(--clr-accent);
  margin-bottom: 12px;
}

.feature-item h4 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--clr-black);
  margin-bottom: 8px;
}

.feature-item p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--clr-muted);
}

.cta-banner {
  position: relative;
  padding: 108px 0;
  overflow: hidden;
}

.cta-banner__bg { position: absolute; inset: 0; }
.cta-banner__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 65%;
}
.cta-banner__overlay {
  position: absolute;
  inset: 0;
  background: rgba(4,8,16,0.78);
}

.cta-banner__content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.cta-eyebrow { color: var(--clr-accent-mid) !important; }

.cta-banner__content h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 58px);
  font-weight: 700;
  color: var(--clr-white);
  margin-bottom: 14px;
  line-height: 1.1;
}

.cta-banner__content p {
  font-size: 18px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 38px;
}

.cta-btns { justify-content: center; }

.brand-tile__img {
  width: 100%;
  object-fit: contain;
  transition: opacity 0.2s, filter 0.2s;
  border-radius: 5px;
}

.brand-tile:hover .brand-tile__img {
  filter: grayscale(100%);
  opacity: 0.7;
}

.brand-tile__name {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: currentColor;
}

.testimonials--surface { background: var(--clr-surface); }

.testimonials__track-wrap {
  overflow: hidden;
  position: relative;
}

.testimonials__track {
  display: flex;
  gap: 22px;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial {
  flex: 0 0 calc((100% - 44px) / 3);
  background: var(--clr-white);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  padding: 28px 28px 22px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.testimonial:hover {
  border-color: var(--clr-accent);
  box-shadow: 0 0 0 3px var(--clr-accent-glow);
}

.testimonial__stars {
  color: var(--clr-accent);
  font-size: 15px;
  letter-spacing: 3px;
  margin-bottom: 14px;
}

.testimonial p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--clr-text);
  font-style: italic;
  margin-bottom: 20px;
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--clr-border);
  padding-top: 16px;
}

.testimonial__avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--clr-accent-light);
  color: var(--clr-accent-dark);
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.testimonial__author strong { display: block; font-size: 14px; font-weight: 500; color: var(--clr-black); }
.testimonial__author span  { font-size: 12px; color: var(--clr-muted); }

.testimonials__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}

.testimonials__btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid var(--clr-border);
  background: var(--clr-white);
  color: var(--clr-text);
  font-size: 16px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.testimonials__btn:hover:not(:disabled) {
  border-color: var(--clr-accent);
  background: var(--clr-accent);
  color: var(--clr-white);
}
.testimonials__btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.testimonials__dots {
  display: flex;
  gap: 8px;
}

.testimonials__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--clr-border);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  padding: 0;
}
.testimonials__dot--active {
  background: var(--clr-accent);
  transform: scale(1.3);
}

.testimonials__empty {
  font-size: 15px;
  color: var(--clr-muted);
  padding: 32px 0;
}

.contact-alert{
  font-size: 20px;
  padding: 14px 20px;
  font-weight: bold;
  font-family: var(--font-display);
  color: var(--cb-primary);
  text-align: center;
  background: var(--cb-primary);
  width: fit-content;
  margin: 20px auto;
  color: #fff;
  border-radius: 7px;
}

.hero__eyebrow,.hero__title,.hero__sub,.hero__cta-group,.hero__stats {
  opacity: 0; transform: translateY(16px);
  transition: opacity .5s ease, transform .5s ease;
}

@media (max-width: 1100px) {
  .steps { flex-wrap: wrap; }
  .step { 
    flex: 0 0 calc(50% - 24px); 
    margin-bottom: 10px;
  }
  .step__arrow:nth-child(4) { display: none; }
  .cars-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1024px) {
  .promo-split { grid-template-columns: 1fr; }
  .promo-split__half--img { aspect-ratio: 16/6; }
  .why-us__inner { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 768px) {
  #reviewNext,
  #reviewPrev{
    display: none;
  }
  #reviewDots{
    padding: 10px;
  }
  .why-us__features{
    gap: 10px 48px !important;
  }
  :root { --section-pad: 64px; }

  .hero { height: 85vh; }
  .hero::after { display: none; }
  .hero__stats { gap: 0; padding: 16px 20px; }
  .hero__stat-num { font-size: 22px; }
  .hero__scroll-hint { display: none; }
  .search-bar { position: static; }
  .search-form { flex-direction: column; border-radius: 0; }
  .search-form__field { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .btn--search { padding: 16px; width: 100%; border-radius: 0; }

  .steps-wrap { overflow: hidden; }
  .steps {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 0;
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
  }
  .step {
    flex: 0 0 100%;
    width: 100%;
    min-width: 100%;
    margin-bottom: 0;
  }
  .step__arrow { display: none; }

  .steps-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 24px;
  }
  .steps-nav__btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1.5px solid var(--clr-border);
    background: var(--clr-white);
    color: var(--clr-text);
    font-size: 16px;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s, color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .steps-nav__btn:hover:not(:disabled) {
    border-color: var(--clr-accent);
    background: var(--clr-accent);
    color: var(--clr-white);
  }
  .steps-nav__btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
  }
  .steps-nav__dots {
    display: flex;
    gap: 8px;
  }
  .steps-nav__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: var(--clr-border);
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    padding: 0;
  }
  .steps-nav__dot--active {
    background: var(--clr-accent);
    transform: scale(1.3);
  }

  .why-us__features { grid-template-columns: 1fr; }
  .promo-split__half--content { padding: 48px 32px; }
  .brands__grid { grid-template-columns: repeat(2, 1fr); }
  .brands__grid > *:last-child { grid-column: 1 / span 2; }
}

@media (max-width: 540px) {
  .container { padding: 0 18px; }
  .cars-grid { grid-template-columns: 1fr; }
  .hero__title { font-size: 46px; }
  .hero__stat-sep { display: none; }
  .nav-cta{
    display: none;
  }
}
@media (max-width: 768px) {
  .testimonial {
    flex: 0 0 calc((100% - 22px) / 2);
  }
  .contact-alert{
    font-size: 17px;
    margin: 20px !important;
  }
}

@media (max-width: 540px) {
  .testimonial {
    flex: 0 0 100%;
  }
}
