@font-face {
  font-family: "A4Speed";
  src: url("assets/A4SPEED-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Guided configurator — OLSx-inspired structure, TremAuto identity */

.configurator {
  display: block;
  min-height: 0;
  overflow: hidden;
  border: 1px solid #d8d6d0;
  background: var(--white);
  box-shadow: 0 28px 70px rgba(13, 13, 13, 0.13);
}

.progress-panel {
  display: none;
}

.selection-panel {
  padding: 30px 34px 34px;
}

.selection-panel__header {
  align-items: center;
  padding-bottom: 24px;
}

.field-grid {
  display: none !important;
}

.selection-footer {
  min-height: 0;
  margin-top: 22px;
  padding-top: 18px;
}

#backButton {
  display: none;
}

.guided-breadcrumb {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 -34px 30px;
  padding: 15px 34px;
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
  background: #f5f4f1;
  scrollbar-width: none;
}

.guided-breadcrumb::-webkit-scrollbar {
  display: none;
}

.guided-breadcrumb button {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  padding: 7px 0;
  background: transparent;
  color: #96938d;
  cursor: pointer;
  transition: color 160ms ease;
}

.guided-breadcrumb button small {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border: 1px solid #c9c6bf;
  border-radius: 50%;
  font-size: 8px;
  font-weight: 900;
}

.guided-breadcrumb button span {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.guided-breadcrumb > i {
  flex: 0 0 auto;
  color: #c1beb7;
  font-size: 19px;
  font-style: normal;
}

.guided-breadcrumb button.is-complete {
  color: var(--ink);
}

.guided-breadcrumb button.is-complete small {
  border-color: var(--brand-accent, var(--red));
  background: var(--brand-accent, var(--red));
  color: var(--white);
}

.guided-breadcrumb button.is-active {
  color: var(--brand-accent, var(--red));
}

.guided-breadcrumb button.is-active small {
  border-color: var(--brand-accent, var(--red));
  box-shadow: 0 0 0 4px rgba(var(--brand-accent-rgb, 226, 31, 43), 0.1);
}

.guided-breadcrumb button.is-locked {
  opacity: 0.48;
  cursor: default;
}

.guided-picker {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.guided-brand-card {
  position: sticky;
  top: 92px;
  display: grid;
  justify-items: center;
  min-width: 0;
  padding: 25px 20px 22px;
  border: 1px solid var(--line);
  background:
    linear-gradient(145deg, rgba(var(--brand-accent-rgb, 226, 31, 43), 0.08), transparent 58%),
    #f7f6f3;
  text-align: center;
}

.guided-brand-card::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 4px;
  background: var(--brand-accent, var(--red));
}

.guided-brand-card__logo {
  display: grid;
  width: 150px;
  height: 116px;
  place-items: center;
  margin-bottom: 20px;
  padding: 12px;
  border: 1px solid #dedcd6;
  background: var(--white);
}

.guided-brand-card__logo img {
  display: block;
  width: auto;
  height: auto;
  max-width: 120px;
  max-height: 86px;
  object-fit: contain;
}

.guided-brand-card__logo span {
  color: var(--brand-accent, var(--red));
  font-family: var(--display);
  font-size: 50px;
}

.guided-brand-card p {
  margin: 0 0 5px;
  color: var(--muted);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.guided-brand-card > strong {
  max-width: 100%;
  color: var(--ink);
  font-family: var(--display);
  font-size: 25px;
  line-height: 1;
  overflow-wrap: anywhere;
  text-transform: uppercase;
}

.guided-brand-card > button {
  margin-top: 18px;
  padding: 9px 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  color: var(--brand-accent, var(--red));
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}

.guided-options-panel {
  min-width: 0;
}

.guided-options-panel__header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
}

.guided-options-panel__header > div > span {
  display: block;
  margin-bottom: 7px;
  color: var(--brand-accent, var(--red));
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.guided-options-panel__header h4 {
  margin: 0;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(27px, 3vw, 38px);
  line-height: 0.95;
  text-transform: uppercase;
}

.guided-back-button {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  padding: 10px 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  color: var(--ink);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}

.guided-back-button span {
  color: var(--brand-accent, var(--red));
  font-size: 17px;
}

.guided-search {
  position: relative;
  display: block;
  margin-bottom: 14px;
}

.guided-search input {
  width: 100%;
  height: 50px;
  padding: 0 48px 0 16px;
  border: 1px solid var(--line);
  outline: 0;
  background: #f8f7f5;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}

.guided-search input:focus {
  border-color: var(--brand-accent, var(--red));
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(var(--brand-accent-rgb, 226, 31, 43), 0.09);
}

.guided-search b {
  position: absolute;
  top: 50%;
  right: 17px;
  color: var(--brand-accent, var(--red));
  font-size: 20px;
  font-weight: 400;
  transform: translateY(-53%) rotate(-18deg);
  pointer-events: none;
}

.guided-options-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-height: 440px;
  padding: 2px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-color: #aaa7a0 transparent;
  scrollbar-width: thin;
}

.guided-options-grid.is-engine {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.guided-option-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-content: center;
  gap: 3px 12px;
  min-width: 0;
  min-height: 66px;
  padding: 13px 43px 13px 16px;
  overflow: hidden;
  border: 1px solid #dedcd6;
  background: #f8f7f5;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease, transform 160ms ease;
}

.guided-option-card::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 3px;
  background: var(--brand-accent, var(--red));
  transform: scaleY(0);
  transition: transform 160ms ease;
}

.guided-option-card strong {
  min-width: 0;
  overflow: hidden;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.25;
  text-overflow: ellipsis;
  text-transform: uppercase;
}

.guided-option-card small {
  grid-column: 1;
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
}

.guided-option-card i {
  position: absolute;
  top: 50%;
  right: 15px;
  color: var(--brand-accent, var(--red));
  font-size: 22px;
  font-style: normal;
  transform: translateY(-54%);
}

.guided-option-card:hover,
.guided-option-card:focus-visible,
.guided-option-card.is-selected {
  border-color: var(--brand-accent, var(--red));
  outline: 0;
  background: var(--black-soft);
  color: var(--white);
  transform: translateY(-2px);
}

.guided-option-card:hover::before,
.guided-option-card:focus-visible::before,
.guided-option-card.is-selected::before {
  transform: scaleY(1);
}

.guided-option-card:hover small,
.guided-option-card:focus-visible small,
.guided-option-card.is-selected small {
  color: #bdbdbd;
}

.guided-option-card:disabled {
  cursor: wait;
  opacity: 0.65;
}

.guided-message {
  grid-column: 1 / -1;
  margin: 0;
  padding: 42px 24px;
  border: 1px dashed #cfccc5;
  background: #f8f7f5;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.55;
  text-align: center;
}

.guided-message.is-error {
  border-color: rgba(var(--brand-accent-rgb, 226, 31, 43), 0.4);
  color: var(--brand-accent, var(--red));
}

.guided-skeleton {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.guided-skeleton span {
  display: block;
  height: 66px;
  background: linear-gradient(90deg, #ecebe7 20%, #f7f6f3 50%, #ecebe7 80%);
  background-size: 220% 100%;
  animation: shimmer 1.3s infinite linear;
}

@media (max-width: 900px) {
  .guided-picker {
    grid-template-columns: 1fr;
  }

  .guided-brand-card {
    position: relative;
    top: auto;
    grid-template-columns: 92px minmax(0, 1fr) auto;
    justify-items: start;
    align-items: center;
    gap: 0 18px;
    text-align: left;
  }

  .guided-brand-card__logo {
    grid-row: 1 / 4;
    width: 92px;
    height: 76px;
    margin: 0;
  }

  .guided-brand-card__logo img {
    max-width: 72px;
    max-height: 54px;
  }

  .guided-brand-card p,
  .guided-brand-card > strong {
    grid-column: 2;
  }

  .guided-brand-card > button {
    grid-column: 3;
    grid-row: 1 / 4;
    margin: 0;
  }
}

@media (max-width: 700px) {
  .selection-panel {
    padding: 24px 18px 26px;
  }

  .guided-breadcrumb {
    gap: 9px;
    margin: 0 -18px 24px;
    padding: 12px 18px;
  }

  .guided-breadcrumb button span {
    display: none;
  }

  .guided-breadcrumb button.is-active span,
  .guided-breadcrumb button.is-complete:last-of-type span {
    display: inline;
  }

  .guided-picker {
    gap: 22px;
  }

  .guided-brand-card {
    grid-template-columns: 76px minmax(0, 1fr);
    padding: 17px 16px 18px;
  }

  .guided-brand-card__logo {
    width: 76px;
    height: 64px;
  }

  .guided-brand-card > button {
    grid-column: 2;
    grid-row: auto;
    margin-top: 8px;
  }

  .guided-options-panel__header {
    align-items: start;
  }

  .guided-options-panel__header h4 {
    font-size: 29px;
  }

  .guided-back-button {
    font-size: 0;
  }

  .guided-back-button span {
    font-size: 20px;
  }

  .guided-options-grid,
  .guided-options-grid.is-engine,
  .guided-skeleton {
    grid-template-columns: 1fr;
    max-height: 470px;
  }

  .guided-option-card {
    min-height: 62px;
  }

  .selection-footer {
    display: block;
  }

  .status-message {
    max-width: none;
    text-align: left;
  }
}

:root {
  --black: #090909;
  --black-soft: #121212;
  --panel-dark: #181818;
  --white: #ffffff;
  --paper: #f4f3f0;
  --paper-deep: #ebe9e4;
  --ink: #111111;
  --muted: #6b6b68;
  --line: #d9d7d2;
  --line-dark: rgba(255, 255, 255, 0.12);
  --red: #e21f2b;
  --red-dark: #b6121c;
  --green: #168456;
  --shadow: 0 26px 80px rgba(0, 0, 0, 0.18);
  --display: "A4Speed", "Arial Narrow", Arial, sans-serif;
  --body: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--black);
  color: var(--white);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  border: 0;
}

img {
  max-width: 100%;
}

.container {
  width: min(1240px, calc(100% - 48px));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 12px 16px;
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

/* Header */

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 20;
  width: 100%;
  background: rgba(9, 9, 9, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: min(1240px, calc(100% - 48px));
  min-height: 76px;
  margin-inline: auto;
}

.tremauto-logo {
  display: block;
  width: 205px;
  height: auto;
}

/* Hero */

.hero {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(9, 9, 9, 1) 0%, rgba(9, 9, 9, 0.97) 56%, rgba(20, 8, 9, 0.9) 100%),
    repeating-linear-gradient(118deg, rgba(255, 255, 255, 0.015) 0 1px, transparent 1px 34px),
    #090909;
}

.hero::before {
  content: "";
  position: absolute;
  right: -14vw;
  bottom: -85%;
  width: 64vw;
  height: 64vw;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  box-shadow:
    0 0 0 6vw rgba(255, 255, 255, 0.012),
    0 0 0 13vw rgba(255, 255, 255, 0.008);
}

.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 65%;
  width: 1px;
  height: 100%;
  background: linear-gradient(180deg, transparent 16%, rgba(255, 255, 255, 0.06), transparent 84%);
}

.hero__glow {
  position: absolute;
  top: -260px;
  right: -120px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: rgba(226, 31, 43, 0.16);
  filter: blur(110px);
  pointer-events: none;
  animation: ambient-drift 9s ease-in-out infinite alternate;
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: clamp(44px, 7vw, 100px);
  align-items: center;
  min-height: 430px;
  padding: 108px 0 42px;
}

.hero__copy {
  animation: hero-enter 620ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 14px;
  color: #b8b8b8;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 30px;
  height: 3px;
  background: var(--red);
  transform: skewX(-22deg);
}

.eyebrow--dark {
  color: var(--muted);
}

.hero h1 {
  max-width: 700px;
  margin: 0;
  color: var(--white);
  font-family: var(--display);
  font-size: clamp(46px, 5.1vw, 70px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 0.94;
  text-transform: uppercase;
}

.hero h1 em {
  color: var(--red);
  font-style: normal;
}

.hero__subtitle {
  max-width: 600px;
  margin: 18px 0 0;
  color: #b6b6b6;
  font-size: clamp(14px, 1.1vw, 16px);
  line-height: 1.6;
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 26px;
  min-height: 50px;
  margin-top: 24px;
  padding: 0 15px 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--white);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.hero__cta span {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  background: var(--red);
}

.hero__cta:hover {
  border-color: var(--red);
  background: rgba(226, 31, 43, 0.08);
  transform: translateY(-2px);
}

.hero__panel {
  position: relative;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(10px);
  animation: hero-enter 620ms 100ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero__panel > p {
  margin: 0 0 12px;
  color: var(--white);
  font-family: var(--display);
  font-size: 18px;
  line-height: 1.15;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.hero__panel ul {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero__panel li {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 10px;
  align-items: center;
  padding: 10px 0;
  border-top: 1px solid var(--line-dark);
  color: #bdbdbd;
  font-size: 11px;
}

.hero__panel li strong {
  color: var(--red);
  font-size: 10px;
  letter-spacing: 0.12em;
}

/* Brand selector */

.brand-section {
  position: relative;
  z-index: 4;
  padding: 64px 0 58px;
  background:
    linear-gradient(180deg, #ffffff 0%, var(--paper) 100%);
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}

.brand-section__heading {
  margin-bottom: 24px;
}

.brand-search {
  position: relative;
  display: block;
  margin-bottom: 20px;
}

.brand-search input {
  width: 100%;
  height: 58px;
  padding: 0 54px 0 18px;
  border: 1px solid var(--line);
  border-radius: 0;
  outline: 0;
  background: var(--white);
  color: var(--ink);
  font-size: 14px;
  font-weight: 750;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.brand-search input:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(226, 31, 43, 0.1);
}

.brand-search b {
  position: absolute;
  top: 50%;
  right: 20px;
  color: var(--red);
  font-size: 21px;
  line-height: 1;
  transform: translateY(-50%);
  pointer-events: none;
}

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

.brand-grid__message {
  grid-column: 1 / -1;
  margin: 0;
  padding: 42px 24px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
  text-align: center;
}

.brand-card {
  position: relative;
  display: grid;
  grid-template-rows: 66px minmax(28px, auto);
  place-items: center;
  min-width: 0;
  min-height: 118px;
  padding: 12px 10px 10px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fbfbfa;
  color: var(--ink);
  cursor: pointer;
  transition:
    color 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.brand-card::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  background: var(--brand-card-accent, var(--red));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.brand-card:hover,
.brand-card:focus-visible,
.brand-card.is-selected {
  z-index: 1;
  border-color: var(--brand-card-accent, var(--red));
  background:
    linear-gradient(145deg, rgba(var(--brand-card-accent-rgb, 226, 31, 43), 0.1), transparent 66%),
    var(--white);
  color: var(--ink);
  box-shadow: 0 16px 34px rgba(var(--brand-card-accent-rgb, 0, 0, 0), 0.16);
  transform: translateY(-3px);
}

.brand-card:hover::after,
.brand-card:focus-visible::after,
.brand-card.is-selected::after {
  transform: scaleX(1);
}

.brand-card__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 66px;
  overflow: hidden;
}

.brand-card__visual img {
  display: block;
  width: auto;
  height: auto;
  max-width: 112px;
  max-height: 58px;
  object-fit: contain;
  filter: saturate(0.95);
}

.brand-card:hover .brand-card__visual img,
.brand-card:focus-visible .brand-card__visual img,
.brand-card.is-selected .brand-card__visual img {
  filter: saturate(1.08);
}

.brand-card__fallback {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--brand-card-accent, var(--red));
  font-family: var(--display);
  font-size: 22px;
}

.brand-card__fallback[hidden] {
  display: none;
}

.brand-card:hover .brand-card__fallback,
.brand-card:focus-visible .brand-card__fallback,
.brand-card.is-selected .brand-card__fallback {
  border-color: var(--brand-card-accent, var(--red));
  color: var(--brand-card-accent, var(--red));
}

.brand-card strong {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 28px;
  max-width: 100%;
  overflow: hidden;
  padding-top: 4px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.09em;
  line-height: 1.15;
  text-align: center;
  text-transform: uppercase;
  white-space: normal;
}

/* Configurator */

.configurator-section {
  --brand-accent: #e21f2b;
  --brand-accent-rgb: 226, 31, 43;
  --red: var(--brand-accent);
  position: relative;
  z-index: 3;
  padding: 58px 0 82px;
  background:
    radial-gradient(circle at 84% 0%, rgba(var(--brand-accent-rgb), 0.16), transparent 34%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.045), transparent 190px),
    var(--paper);
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  animation: brand-configurator-in 420ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.configurator-section[hidden] {
  display: none !important;
}

.brand-configurator-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  gap: 48px;
  align-items: center;
  min-height: 230px;
  margin-bottom: 34px;
  overflow: hidden;
  padding: 40px 46px;
  border-bottom: 4px solid var(--brand-accent);
  background:
    radial-gradient(circle at 82% 14%, rgba(var(--brand-accent-rgb), 0.32), transparent 30%),
    linear-gradient(115deg, #0a0a0a 0%, #151515 67%, #090909 100%);
  color: var(--white);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.22);
}

.brand-configurator-hero::before {
  content: "";
  position: absolute;
  top: -150px;
  right: -60px;
  width: 360px;
  height: 360px;
  border: 70px solid rgba(var(--brand-accent-rgb), 0.08);
  border-radius: 50%;
  pointer-events: none;
}

.brand-configurator-hero__copy {
  position: relative;
  z-index: 1;
}

.brand-configurator-hero__kicker {
  margin: 0 0 13px;
  color: var(--brand-accent);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.brand-configurator-hero h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(38px, 5vw, 66px);
  letter-spacing: -0.02em;
  line-height: 0.92;
  text-transform: uppercase;
}

.brand-configurator-hero h2 span {
  color: var(--brand-accent);
}

.brand-configurator-hero__copy > p:not(.brand-configurator-hero__kicker) {
  max-width: 690px;
  margin: 18px 0 0;
  color: #c8c8c8;
  font-size: 14px;
  line-height: 1.6;
}

.change-brand-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  padding: 0 0 7px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.46);
  background: transparent;
  color: var(--white);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}

.change-brand-button span {
  color: var(--brand-accent);
  font-size: 15px;
}

.brand-configurator-hero__logo {
  position: relative;
  z-index: 1;
  display: grid;
  width: 160px;
  height: 140px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.32);
}

.brand-configurator-hero__logo::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 4px;
  background: var(--brand-accent);
}

.brand-configurator-hero__logo img {
  display: block;
  width: auto;
  height: auto;
  max-width: 122px;
  max-height: 104px;
  object-fit: contain;
}

.brand-configurator-hero__logo span {
  color: var(--brand-accent);
  font-family: var(--display);
  font-size: 58px;
}

.configurator-section.has-brand .select-field[data-field="make"] {
  display: none;
}

.configurator-section.has-brand .field-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.5fr);
  gap: 44px;
  align-items: end;
  margin-bottom: 24px;
}

.section-heading h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(34px, 3.4vw, 48px);
  letter-spacing: -0.015em;
  line-height: 1;
  text-transform: uppercase;
}

.section-heading > p {
  margin: 0 0 2px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.configurator {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  min-height: 540px;
  overflow: visible;
  background: var(--white);
  box-shadow: var(--shadow);
  animation: card-enter 700ms 120ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.progress-panel {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 28px 24px 24px;
  background:
    linear-gradient(150deg, rgba(226, 31, 43, 0.1), transparent 38%),
    var(--black-soft);
  color: var(--white);
}

.progress-panel__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.progress-panel__top span {
  color: #8f8f8f;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.progress-panel__top strong {
  color: var(--white);
  font-size: 13px;
}

.progress-track {
  width: 100%;
  height: 3px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.14);
}

.progress-track span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--red);
  transition: width 350ms ease;
}

.steps {
  display: grid;
  gap: 0;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.step {
  position: relative;
}

.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 53px;
  bottom: -8px;
  left: 17px;
  width: 1px;
  background: rgba(255, 255, 255, 0.12);
}

.step button {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 15px;
  width: 100%;
  padding: 15px 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.step button:disabled {
  cursor: default;
}

.step__number {
  position: relative;
  z-index: 2;
  display: grid;
  width: 35px;
  height: 35px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background: var(--black-soft);
  color: #777;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.06em;
  transition: 180ms ease;
}

.step__copy {
  display: grid;
  min-width: 0;
}

.step__copy small {
  margin-bottom: 2px;
  color: #656565;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.step__copy strong {
  font-size: 14px;
  letter-spacing: 0.02em;
}

.step__copy em {
  overflow: hidden;
  margin-top: 4px;
  color: #777;
  font-size: 11px;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.step.is-active .step__number {
  border-color: var(--red);
  background: var(--red);
  color: var(--white);
  box-shadow: 0 0 0 5px rgba(226, 31, 43, 0.12);
}

.step.is-active .step__copy strong {
  color: var(--white);
}

.step.is-complete .step__number {
  border-color: var(--red);
  color: var(--white);
}

.step.is-complete .step__number::after {
  content: "✓";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--red);
  font-size: 13px;
}

.step.is-complete .step__copy em {
  color: #c5c5c5;
}

.step.is-locked {
  opacity: 0.56;
}

.progress-panel__note {
  display: grid;
  grid-template-columns: 25px 1fr;
  gap: 12px;
  align-items: start;
  margin-top: auto;
  padding-top: 26px;
  border-top: 1px solid var(--line-dark);
}

.progress-panel__note > span {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  color: #aaa;
  font-family: Georgia, serif;
  font-size: 12px;
  font-style: italic;
}

.progress-panel__note p {
  margin: 0;
  color: #777;
  font-size: 10px;
  line-height: 1.5;
}

.selection-panel {
  min-width: 0;
  padding: 32px;
}

.selection-panel__header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.selection-kicker {
  display: block;
  margin-bottom: 8px;
  color: var(--red);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.selection-panel__header h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(27px, 3vw, 38px);
  letter-spacing: -0.01em;
  line-height: 1;
  text-transform: uppercase;
}

.text-button,
.back-button {
  background: transparent;
  color: var(--ink);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  cursor: pointer;
}

.text-button {
  padding: 10px 0;
  border-bottom: 1px solid currentColor;
}

.text-button:disabled,
.back-button:disabled {
  opacity: 0.35;
  cursor: default;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  padding: 26px 0;
}

.select-field {
  position: relative;
  min-width: 0;
}

.field-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 9px;
}

.field-heading label {
  color: var(--ink);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.field-state {
  color: var(--muted);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.select-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  min-height: 64px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--white);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.select-trigger span {
  overflow: hidden;
  font-size: 14px;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.select-trigger i {
  position: relative;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  border-left: 1px solid var(--line);
}

.select-trigger i::after {
  content: "";
  position: absolute;
  top: 7px;
  right: 1px;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
  transform: rotate(45deg);
  transition: transform 160ms ease;
}

.select-trigger:hover:not(:disabled),
.select-trigger:focus-visible {
  border-color: #8e8c87;
  outline: 0;
}

.select-field.is-open {
  z-index: 30;
}

.select-field.is-open .select-trigger {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(226, 31, 43, 0.1);
}

.select-field.is-open .select-trigger i::after {
  top: 11px;
  transform: rotate(225deg);
}

.select-field.is-complete .select-trigger {
  border-color: #aaa8a2;
  background: #fbfbfa;
}

.select-field.is-complete .field-state {
  color: var(--green);
}

.select-field.is-disabled .select-trigger {
  border-style: dashed;
  background: #f5f4f1;
  color: #aaa8a2;
  cursor: default;
}

.select-field.is-error .select-trigger {
  border-color: rgba(226, 31, 43, 0.65);
  color: var(--red-dark);
}

.select-field.is-unavailable .select-trigger {
  border-color: rgba(var(--brand-accent-rgb, 226, 31, 43), 0.48);
  background:
    linear-gradient(135deg, rgba(var(--brand-accent-rgb, 226, 31, 43), 0.08), transparent),
    #faf9f7;
  color: var(--ink);
  cursor: default;
}

.select-field.is-unavailable .field-state {
  color: var(--brand-accent, var(--red));
}

.select-field.is-unavailable .select-trigger i::after {
  width: 8px;
  height: 8px;
  border: 1px solid var(--brand-accent, var(--red));
  border-radius: 50%;
  transform: none;
}

.select-field.is-disabled .select-trigger i::after {
  width: 8px;
  height: 8px;
  border: 1px solid #aaa8a2;
  border-radius: 50%;
  transform: none;
}

.select-field.is-loading .select-trigger span {
  color: transparent;
  background: linear-gradient(90deg, #e8e7e3 20%, #f6f5f3 50%, #e8e7e3 80%);
  background-size: 220% 100%;
  animation: shimmer 1.3s infinite linear;
}

.select-popover {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  left: 0;
  z-index: 50;
  display: none;
  min-width: 260px;
  padding: 10px;
  border: 1px solid #cbc9c4;
  background: var(--white);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2);
}

.select-field.is-open .select-popover {
  display: block;
  animation: popover-in 160ms ease both;
}

.search-box {
  position: relative;
  display: block;
  margin-bottom: 8px;
}

.search-box input {
  width: 100%;
  height: 44px;
  padding: 0 40px 0 13px;
  border: 1px solid var(--line);
  border-radius: 0;
  outline: 0;
  background: #f8f7f5;
  color: var(--ink);
  font-size: 13px;
}

.search-box input:focus {
  border-color: var(--red);
  background: var(--white);
}

.search-box b {
  position: absolute;
  top: 50%;
  right: 14px;
  color: var(--muted);
  font-size: 19px;
  font-weight: 400;
  transform: translateY(-52%) rotate(-18deg);
}

.option-list {
  max-height: 248px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-color: #a9a7a2 transparent;
  scrollbar-width: thin;
}

.select-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  min-height: 44px;
  padding: 9px 12px;
  background: transparent;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.select-option small {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
}

.select-option:hover,
.select-option:focus-visible,
.select-option[aria-selected="true"] {
  outline: 0;
  background: var(--black-soft);
  color: var(--white);
}

.select-option:hover small,
.select-option:focus-visible small,
.select-option[aria-selected="true"] small {
  color: #bcbcbc;
}

.list-message {
  padding: 24px 12px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}

.list-skeleton {
  display: grid;
  gap: 7px;
  padding: 4px;
}

.list-skeleton span {
  display: block;
  height: 40px;
  background: linear-gradient(90deg, #ecebe8 20%, #f7f6f4 50%, #ecebe8 80%);
  background-size: 220% 100%;
  animation: shimmer 1.3s infinite linear;
}

.selection-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 58px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.back-button {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 0;
}

.back-button span {
  font-size: 18px;
  line-height: 0;
}

.status-message {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  color: var(--muted);
}

.status-message p {
  margin: 0;
  font-size: 11px;
  font-weight: 650;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #c3c1bc;
}

.status-message.is-loading .status-dot {
  background: var(--red);
  box-shadow: 0 0 0 0 rgba(226, 31, 43, 0.35);
  animation: pulse 1.3s infinite;
}

.status-message.is-success .status-dot {
  background: var(--green);
}

.status-message.is-error {
  color: var(--red-dark);
}

.status-message.is-error .status-dot {
  background: var(--red);
}

.retry-button {
  margin-left: 6px;
  padding: 0 0 2px;
  border-bottom: 1px solid currentColor;
  background: transparent;
  color: inherit;
  font-size: inherit;
  font-weight: 900;
  cursor: pointer;
}

/* Result */

.result:empty {
  display: none;
}

.result {
  margin-top: 64px;
  animation: result-in 480ms ease both;
  scroll-margin-top: 24px;
}

.result-shell {
  overflow: hidden;
  border: 1px solid #d8d4cd;
  background: var(--white);
  box-shadow: 0 34px 100px rgba(10, 10, 10, 0.16);
}

.result-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 36px;
  align-items: center;
  min-height: 290px;
  overflow: hidden;
  padding: 54px 56px;
  background:
    linear-gradient(105deg, rgba(5, 5, 5, 0.99), rgba(13, 13, 13, 0.91)),
    var(--black);
  color: var(--white);
}

.result-hero::before {
  content: "";
  position: absolute;
  right: -110px;
  bottom: -180px;
  width: 420px;
  height: 420px;
  border: 76px solid rgba(226, 31, 43, 0.11);
  border-radius: 50%;
}

.result-hero::after {
  content: "";
  position: absolute;
  top: 0;
  right: 22%;
  width: 110px;
  height: 100%;
  background: linear-gradient(180deg, rgba(226, 31, 43, 0.14), rgba(226, 31, 43, 0.02));
  transform: skewX(-18deg);
}

.result-hero__copy,
.vehicle-badge {
  position: relative;
  z-index: 2;
}

.result-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 14px;
  color: #aaa;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.result-label::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--red);
}

.result-hero h2 {
  max-width: 800px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(34px, 4.35vw, 58px);
  letter-spacing: -0.02em;
  line-height: 0.96;
  text-transform: uppercase;
}

.result-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 22px;
  color: #b7b7b7;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.result-hero__meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.result-hero__meta span::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--red);
}

.vehicle-badge {
  display: grid;
  width: 104px;
  height: 104px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
}

.vehicle-badge img {
  width: auto;
  height: auto;
  max-width: 78px;
  max-height: 64px;
  object-fit: contain;
}

.vehicle-badge span {
  color: var(--red);
  font-family: var(--display);
  font-size: 34px;
}

.result-hero__identity {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: end;
  min-width: 140px;
}

.result-hero__identity small {
  margin-top: 13px;
  color: rgba(255, 255, 255, 0.44);
  font-size: 7px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.result-hero__identity > strong {
  margin-top: 4px;
  color: #fff;
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.vehicle-visual {
  position: relative;
  display: none !important;
  min-height: 340px;
  place-items: center;
  overflow: hidden;
  padding: 46px 42px 56px;
  isolation: isolate;
  background:
    linear-gradient(rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.82)),
    repeating-linear-gradient(135deg, transparent 0 22px, rgba(10, 10, 10, 0.035) 22px 23px),
    #e6e3de;
}

.vehicle-visual img {
  position: relative;
  z-index: 2;
  width: min(100%, 320px);
  height: auto;
  max-height: 250px;
  object-fit: contain;
  filter: drop-shadow(0 28px 24px rgba(0, 0, 0, 0.2));
}

.vehicle-visual--high {
  min-height: 440px;
}

.vehicle-visual--high img {
  width: min(100%, 980px);
  max-height: 360px;
}

.vehicle-visual::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -150px;
  z-index: 0;
  width: 360px;
  height: 360px;
  border: 64px solid rgba(226, 31, 43, 0.08);
  border-radius: 50%;
  pointer-events: none;
}

.vehicle-visual__glow {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  width: min(72%, 620px);
  height: 44%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  filter: blur(36px);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.vehicle-visual__caption {
  position: absolute;
  right: 24px;
  bottom: 18px;
  left: 24px;
  z-index: 3;
  margin: 0;
  color: #77736e;
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-align: center;
  text-transform: uppercase;
}

.technical-source {
  display: inline-flex;
  margin-top: 18px;
  color: var(--red-dark);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-transform: uppercase;
}

.technical-source:hover {
  color: var(--ink);
}

.tech-item strong.is-diagnostic {
  color: #77736e;
  font-size: 12px;
  line-height: 1.4;
}

.stage-navigation {
  display: flex;
  gap: 2px;
  padding: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--black-soft);
}

.stage-tab {
  position: relative;
  flex: 1 1 0;
  min-height: 64px;
  padding: 0 18px;
  background: #1d1d1d;
  color: #8f8f8f;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease;
}

.stage-tab::after {
  content: "";
  position: absolute;
  right: 18px;
  bottom: 0;
  left: 18px;
  height: 3px;
  background: transparent;
}

.stage-tab:hover {
  color: var(--white);
}

.stage-tab.is-active {
  background: #252525;
  color: var(--white);
}

.stage-tab.is-active::after {
  background: var(--red);
}

.result-content {
  padding: 48px;
}

.stage-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 26px;
  margin-bottom: 30px;
}

.stage-heading h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(36px, 4vw, 52px);
  line-height: 1;
  text-transform: uppercase;
}

.stage-heading p {
  max-width: 550px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.stage-consult {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  flex: 0 0 auto;
  min-width: 245px;
  padding: 18px 20px;
  border: 1px solid rgba(226, 31, 43, 0.35);
  background: #111;
  color: #fff;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease;
}

.stage-consult span {
  grid-column: 1 / -1;
  display: block;
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.stage-consult strong {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stage-consult i {
  color: var(--red);
  font-size: 18px;
  font-style: normal;
}

.stage-consult:hover {
  background: #1b1b1b;
  transform: translateY(-2px);
}

.performance-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.performance-card {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border: 1px solid var(--line);
  background: #faf9f7;
}

.performance-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--red);
}

.metric-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.metric-title > span:first-child {
  color: var(--muted);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.gain-badge {
  padding: 7px 9px;
  background: rgba(226, 31, 43, 0.1);
  color: var(--red-dark);
  font-size: 10px;
  font-weight: 900;
}

.metric-values {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 24px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.metric-value {
  display: grid;
  gap: 5px;
}

.metric-value small {
  color: var(--muted);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.metric-value strong {
  font-family: var(--display);
  font-size: clamp(31px, 3vw, 43px);
  line-height: 1;
}

.metric-value.is-tuned strong {
  color: var(--red);
}

.metric-arrow {
  color: #aaa;
  font-size: 20px;
  text-align: center;
}

.metric-meter {
  position: relative;
  height: 5px;
  margin-top: 24px;
  overflow: hidden;
  background: #dfddd8;
}

.metric-meter span {
  display: block;
  width: var(--meter-width, 0%);
  height: 100%;
  background: linear-gradient(90deg, var(--red-dark), var(--red));
  animation: meter-in 800ms 100ms ease both;
}

.section-block {
  margin-top: 48px;
}

.block-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.block-heading h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 27px;
  text-transform: uppercase;
}

.block-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
}

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

.tech-item {
  min-height: 105px;
  padding: 18px;
  border: 1px solid var(--line);
  background: var(--white);
}

.tech-item span {
  display: block;
  margin-bottom: 11px;
  color: var(--muted);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.tech-item strong {
  display: block;
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.4;
}

.options-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.option-pill {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  background: #faf9f7;
  color: var(--ink);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.option-pill::before {
  content: "✓";
  margin-right: 8px;
  color: var(--red);
}

.verification-note {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 18px;
  align-items: start;
  margin-top: 48px;
  padding: 24px;
  border: 1px solid #d9cec9;
  background: #f7f2ef;
}

.verification-note > span {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid var(--red);
  border-radius: 50%;
  color: var(--red);
  font-family: Georgia, serif;
  font-style: italic;
}

.verification-note strong {
  display: block;
  margin-bottom: 7px;
  font-size: 12px;
  text-transform: uppercase;
}

.verification-note p {
  margin: 0;
  color: #675e5a;
  font-size: 12px;
  line-height: 1.65;
}

.result-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px;
  align-items: center;
  margin-top: 18px;
  padding: 30px;
  background: var(--black-soft);
  color: var(--white);
}

.result-cta h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(26px, 3vw, 38px);
  text-transform: uppercase;
}

.result-cta p {
  margin: 8px 0 0;
  color: #969696;
  font-size: 12px;
}

.cta-buttons {
  display: flex;
  gap: 10px;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.cta-button--primary {
  border-color: var(--red);
  background: var(--red);
}

.cta-button:hover {
  border-color: var(--red);
  background: var(--red-dark);
  transform: translateY(-2px);
}

.stage-empty {
  padding: 38px;
  border: 1px solid var(--line);
  background: var(--paper);
  text-align: center;
}

.factory-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 0 0 28px;
  padding: 1px;
  background: rgba(255, 255, 255, 0.12);
}

.factory-spec {
  min-height: 150px;
  padding: 30px;
  background: #171717;
}

.factory-spec span {
  display: block;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.factory-spec strong {
  color: #fff;
  font-family: var(--display);
  font-size: clamp(34px, 4vw, 58px);
  line-height: 0.95;
}

@media (max-width: 640px) {
  .factory-specs {
    grid-template-columns: 1fr;
  }
}

.stage-empty h3 {
  margin: 0 0 10px;
  font-family: var(--display);
  font-size: 30px;
  text-transform: uppercase;
}

.stage-empty p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.no-results {
  padding: 54px;
  background:
    linear-gradient(120deg, rgba(226, 31, 43, 0.1), transparent 46%),
    var(--black-soft);
  color: var(--white);
  box-shadow: var(--shadow);
}

.no-results h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(36px, 5vw, 62px);
  line-height: 1;
  text-transform: uppercase;
}

.no-results p {
  max-width: 680px;
  margin: 18px 0 28px;
  color: #aaa;
  font-size: 14px;
  line-height: 1.65;
}

.no-results p strong {
  color: var(--white);
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--line-dark);
  background: var(--black);
}

.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: 150px;
}

.site-footer strong {
  font-family: var(--display);
  font-size: 19px;
  text-transform: uppercase;
}

.site-footer p {
  margin: 7px 0 0;
  color: #777;
  font-size: 11px;
}

.site-footer__legal {
  max-width: 430px;
  text-align: right;
}

/* Motion */

@keyframes shimmer {
  to {
    background-position: -220% 0;
  }
}

@keyframes pulse {
  70% {
    box-shadow: 0 0 0 8px rgba(226, 31, 43, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(226, 31, 43, 0);
  }
}

@keyframes popover-in {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes result-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes meter-in {
  from {
    width: 0;
  }
}

@keyframes hero-enter {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes card-enter {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes brand-configurator-in {
  from {
    opacity: 0;
    transform: translateY(-18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes ambient-drift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(-24px, 18px, 0) scale(1.06);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Responsive */

@media (max-width: 1080px) {
  .brand-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .hero__inner {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 50px;
  }

  .configurator {
    grid-template-columns: 280px minmax(0, 1fr);
  }

  .configurator-section.has-brand .field-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .selection-panel {
    padding: 34px;
  }

  .tech-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .result-cta {
    grid-template-columns: 1fr;
  }

  .cta-buttons {
    width: 100%;
  }

  .cta-button {
    flex: 1;
  }
}

@media (max-width: 860px) {
  .site-header__inner,
  .container {
    width: min(100% - 36px, 1240px);
  }

  .hero {
    min-height: auto;
  }

  .hero::after {
    display: none;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 26px;
    padding: 108px 0 44px;
  }

  .hero__panel {
    max-width: 100%;
  }

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

  .hero__panel ul {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }

  .hero__panel li {
    align-items: start;
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .configurator {
    grid-template-columns: 1fr;
  }

  .brand-configurator-hero {
    grid-template-columns: minmax(0, 1fr) 150px;
    gap: 30px;
    padding: 34px;
  }

  .brand-configurator-hero__logo {
    width: 140px;
    height: 124px;
  }

  .progress-panel {
    padding: 25px;
  }

  .steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin-top: 18px;
  }

  .step:not(:last-child)::after,
  .progress-panel__note,
  .step__copy small {
    display: none;
  }

  .step button {
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 9px;
    padding: 10px 0;
  }

  .step__number {
    width: 30px;
    height: 30px;
  }

  .step__copy strong {
    font-size: 11px;
  }

  .step__copy em {
    font-size: 9px;
  }

  .result-hero {
    padding: 40px;
  }

  .result-content {
    padding: 40px;
  }

  .tech-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .site-header__inner,
  .container {
    width: min(100% - 24px, 1240px);
  }

  .site-header__inner {
    min-height: 68px;
  }

  .tremauto-logo {
    width: 170px;
  }

  .hero__inner {
    padding: 94px 0 34px;
  }

  .hero h1 {
    font-size: clamp(38px, 12vw, 50px);
    line-height: 0.94;
  }

  .hero__subtitle {
    font-size: 15px;
    line-height: 1.6;
  }

  .hero__panel {
    display: none;
  }

  .hero__cta {
    width: 100%;
    justify-content: space-between;
  }

  .brand-section {
    padding: 40px 0 36px;
  }

  .brand-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .brand-card {
    min-height: 108px;
    padding-inline: 8px;
  }

  .configurator-section {
    padding: 34px 0 70px;
  }

  .brand-configurator-hero {
    grid-template-columns: 1fr;
    gap: 24px;
    min-height: 0;
    margin-bottom: 26px;
    padding: 30px 22px;
  }

  .brand-configurator-hero h2 {
    font-size: 40px;
  }

  .brand-configurator-hero__logo {
    grid-row: 1;
    width: 112px;
    height: 98px;
  }

  .brand-configurator-hero__logo img {
    max-width: 88px;
    max-height: 72px;
  }

  .section-heading {
    margin-bottom: 20px;
  }

  .section-heading h2 {
    font-size: 34px;
  }

  .section-heading > p {
    font-size: 14px;
  }

  .progress-panel {
    padding: 20px 16px;
  }

  .steps {
    gap: 3px;
  }

  .step button {
    display: flex;
    justify-content: center;
    padding: 9px 0 4px;
  }

  .step__copy {
    display: none;
  }

  .selection-panel {
    padding: 26px 18px;
  }

  .selection-panel__header {
    align-items: center;
    padding-bottom: 22px;
  }

  .selection-panel__header h3 {
    font-size: 27px;
  }

  .text-button {
    font-size: 8px;
  }

  .field-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 25px 0;
  }

  .configurator-section.has-brand .field-grid {
    grid-template-columns: 1fr;
  }

  .select-popover {
    position: fixed;
    top: auto;
    right: 12px;
    bottom: 12px;
    left: 12px;
    z-index: 100;
    max-height: min(70vh, 520px);
    padding: 14px;
    box-shadow: 0 0 0 100vmax rgba(0, 0, 0, 0.58), 0 20px 80px rgba(0, 0, 0, 0.4);
  }

  .option-list {
    max-height: min(52vh, 400px);
  }

  .selection-footer {
    align-items: flex-start;
  }

  .status-message {
    max-width: 70%;
    text-align: right;
  }

  .result {
    margin-top: 42px;
  }

  .result-hero {
    grid-template-columns: 1fr;
    min-height: 280px;
    padding: 34px 24px;
  }

  .result-hero h2 {
    font-size: 38px;
  }

  .vehicle-badge {
    width: 76px;
    height: 76px;
  }

  .vehicle-badge img {
    max-width: 58px;
    max-height: 46px;
  }

  .vehicle-visual {
    min-height: 250px;
    padding: 34px 24px 48px;
  }

  .vehicle-visual img {
    width: min(100%, 260px);
    max-height: 180px;
  }

  .vehicle-visual--high {
    min-height: 280px;
  }

  .vehicle-visual--high img {
    width: min(100%, 680px);
    max-height: 220px;
  }

  .stage-navigation {
    overflow-x: auto;
  }

  .stage-tab {
    flex: 0 0 auto;
    min-width: 135px;
  }

  .result-content {
    padding: 30px 20px 20px;
  }

  .no-results {
    padding: 36px 24px;
  }

  .stage-heading,
  .block-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .stage-heading {
    display: flex;
  }

  .stage-consult {
    width: 100%;
    min-width: 0;
    text-align: left;
  }

  .performance-grid {
    grid-template-columns: 1fr;
  }

  .performance-card {
    padding: 22px;
  }

  .tech-grid {
    grid-template-columns: 1fr;
  }

  .section-block,
  .verification-note {
    margin-top: 34px;
  }

  .verification-note {
    grid-template-columns: 1fr;
  }

  .result-cta {
    padding: 24px 20px;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .site-footer__inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
  }

  .site-footer__legal {
    margin-top: 0;
    text-align: left;
  }
}

/* Keep the guided layout authoritative over the legacy selector styles. */
.configurator {
  display: block;
  min-height: 0;
  overflow: hidden;
  border: 1px solid #d8d6d0;
  background: var(--white);
  box-shadow: 0 28px 70px rgba(13, 13, 13, 0.13);
}

.progress-panel,
.field-grid,
#backButton {
  display: none !important;
}

.selection-panel {
  padding: 30px 34px 34px;
}

.selection-panel__header {
  align-items: center;
  padding-bottom: 24px;
}

.selection-footer {
  min-height: 0;
  margin-top: 22px;
  padding-top: 18px;
}

@media (max-width: 700px) {
  .selection-panel {
    padding: 24px 18px 26px;
  }

  .selection-footer {
    display: block;
  }
}


/* SEO brand landing e link statici — agosto 2026 */
.seo-brand-content { padding: 74px 0 84px; }
.seo-brand-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 30px; }
.seo-brand-facts article { padding: 24px; border: 1px solid var(--line); background: #fff; }
.seo-brand-facts strong { font-family: var(--display); font-size: 28px; }
.seo-brand-facts p { margin: 12px 0 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.seo-brand-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 30px; }
.seo-text-link { color: var(--ink); font-size: 11px; font-weight: 900; text-decoration: underline; text-underline-offset: 4px; text-transform: uppercase; }
.seo-brand-page .site-footer a { color: inherit; }
@media (max-width: 760px) {
  .seo-brand-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .seo-brand-facts { grid-template-columns: 1fr; }
}

