:root {
  --ink: #101318;
  --muted: #5d6673;
  --line: #dbe2ea;
  --surface: #f5f7fa;
  --panel: #ffffff;
  --blue: #0d3b66;
  --blue-dark: #101318;
  --teal: #00a6a6;
  --red: #d62839;
  --gold: #f0b429;
  --green: #2d936c;
  --shadow: 0 18px 48px rgba(16, 19, 24, .12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--surface);
}

button,
input,
select,
textarea {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 12px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, .92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 210px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #fff;
  font-weight: 900;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--blue), var(--teal));
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav a,
.cart-button,
.menu-toggle {
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.nav a,
.cart-button {
  padding: 10px 12px;
  font-weight: 700;
  font-size: 14px;
}

.nav a:hover,
.cart-button:hover {
  background: #eef3f7;
}

.nav .nav-cta {
  background: var(--red);
  color: #fff;
}

.language-switcher {
  position: relative;
  display: inline-flex;
}

.language-trigger {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  font-weight: 950;
}

.language-trigger span {
  font-size: 17px;
}

.language-trigger strong {
  font-size: 12px;
}

.language-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 25;
  display: none;
  min-width: 92px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.language-switcher.open .language-menu {
  display: grid;
  gap: 4px;
}

.language-menu button {
  min-height: 34px;
  padding: 0 10px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-weight: 950;
  text-align: left;
}

.language-menu button.active,
.language-menu button:hover {
  background: var(--ink);
  color: #fff;
}

.cart-button {
  background: var(--ink);
  color: #fff;
}

.cart-button span {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  margin-left: 5px;
  color: var(--ink);
  border-radius: 999px;
  background: var(--gold);
}

.menu-toggle {
  display: none;
  font-size: 25px;
}

.hero,
.shop-hero {
  position: relative;
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
  align-items: center;
  gap: clamp(24px, 5vw, 74px);
  padding: clamp(52px, 7vw, 88px) clamp(18px, 6vw, 78px) 118px;
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 20%, rgba(0, 166, 166, .22), transparent 28%),
    linear-gradient(132deg, #f9fbfd 0%, #e9f1f5 46%, #d9edf0 100%);
}

.home-hero {
  min-height: calc(100vh - 72px);
  display: grid;
  place-items: center;
  padding: clamp(72px, 9vw, 120px) clamp(18px, 6vw, 78px);
  text-align: center;
  color: #fff;
  background:
    linear-gradient(rgba(13, 23, 38, .70), rgba(13, 23, 38, .72)),
    linear-gradient(135deg, var(--blue), var(--teal));
}

.home-hero-content {
  max-width: 950px;
}

.hero-mark {
  width: 76px;
  height: 76px;
  margin: 0 auto 28px;
  font-size: 34px;
}

.home-hero h1 {
  margin-bottom: 20px;
  font-size: clamp(38px, 7vw, 78px);
}

.home-hero p {
  max-width: 820px;
  margin: 0 auto;
  color: #e8eef4;
  font-size: 20px;
  line-height: 1.6;
}

.centered {
  justify-content: center;
}

.hero-copy {
  max-width: 750px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(46px, 7vw, 86px);
  line-height: .95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
}

.hero p,
.shop-hero p {
  color: #394250;
  font-size: 18px;
  line-height: 1.65;
}

.hero-actions,
.shop-tools,
.section-head,
.vehicle-picker,
.admin-tabs {
  display: flex;
  gap: 12px;
}

.hero-actions {
  flex-wrap: wrap;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 900;
}

.button.primary {
  background: var(--red);
  color: #fff;
}

.button.ghost {
  background: #fff;
  border-color: var(--line);
  color: var(--blue-dark);
  box-shadow: 0 12px 28px rgba(4, 21, 33, 0.12);
}

.button.dark {
  background: var(--blue-dark);
  color: #fff;
}

.button.full {
  width: 100%;
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 460px;
}

.scanner {
  position: relative;
  z-index: 2;
  width: min(88vw, 420px);
  aspect-ratio: 1 / 1.18;
  padding: 34px;
  color: #fff;
  border-radius: 32px 32px 58px 58px;
  background: linear-gradient(160deg, #151a21, #28303a 58%, #11161d);
  box-shadow: var(--shadow);
}

.scanner::before,
.scanner::after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 24px 24px 48px 48px;
  pointer-events: none;
}

.scanner-light {
  display: block;
  width: 18px;
  height: 18px;
  margin-bottom: 72px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 28px var(--green);
}

.scanner strong {
  display: block;
  font-size: 32px;
  letter-spacing: 0;
}

.scanner small {
  color: #aab4c0;
}

.scanner-screen {
  display: grid;
  gap: 9px;
  margin-top: 26px;
  padding: 18px;
  border-radius: 8px;
  background: #0a272d;
  color: #8ff0da;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
}

.cable {
  position: absolute;
  border: 12px solid #242b34;
  border-left: 0;
  border-bottom: 0;
  border-radius: 0 120px 0 0;
}

.cable-one {
  width: 220px;
  height: 130px;
  right: 4%;
  top: 17%;
}

.cable-two {
  width: 260px;
  height: 150px;
  left: 2%;
  bottom: 9%;
  transform: rotate(180deg);
}

.hero-strip {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: repeat(8, minmax(110px, 1fr));
  background: var(--blue-dark);
  color: #fff;
  overflow-x: auto;
}

.hero-strip span {
  padding: 20px 18px;
  text-align: center;
  font-weight: 900;
  border-left: 1px solid rgba(255, 255, 255, .12);
  white-space: nowrap;
}

.section {
  padding: clamp(54px, 7vw, 92px) clamp(18px, 6vw, 78px);
}

.section-head {
  align-items: end;
  justify-content: space-between;
  margin-bottom: 28px;
}

.section-title-center {
  max-width: 820px;
  margin: 0 auto 30px;
  text-align: center;
}

.section-note {
  color: var(--muted);
  line-height: 1.6;
}

.intro {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 30px;
  background: #fff;
}

.intro-grid,
.reviews,
.retrofit-results,
.feature-grid,
.service-grid,
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.intro article,
.reviews article,
.product-card,
.panel,
.config-card,
.recommendation,
.retrofit-card,
.feature-card,
.service-grid article,
.stats-grid article,
.recommend-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(16, 19, 24, .04);
}

.intro article,
.reviews article,
.retrofit-card,
.feature-card,
.service-grid article,
.stats-grid article,
.recommend-card {
  padding: 22px;
}

.icon,
.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 34px;
  margin-bottom: 16px;
  color: #fff;
  font-weight: 900;
  border-radius: 6px;
  background: var(--blue);
}

.about-band,
.reviews-band {
  background: #fff;
}

.services-band {
  background: #eef4f7;
}

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

.brand-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.brand-tabs button {
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  font-weight: 900;
}

.brand-tabs button.active {
  background: var(--blue);
  color: #fff;
}

.recommend-card {
  max-width: 920px;
  margin: 18px auto 0;
  text-align: center;
}

.recommend-card .tag-row {
  justify-content: center;
  margin: 16px 0;
}

.achievements {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  color: #fff;
}

.achievements .eyebrow {
  color: var(--gold);
}

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

.stats-grid article {
  text-align: center;
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .12);
}

.stats-grid strong {
  display: block;
  margin-bottom: 8px;
  font-size: 36px;
}

.work-carousel {
  position: relative;
  margin-top: 22px;
}

.work-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(330px, calc((100% - 36px) / 3));
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 2px 2px 18px;
  scrollbar-width: none;
}

.work-track::-webkit-scrollbar {
  display: none;
}

.work-card {
  overflow: hidden;
  scroll-snap-align: start;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 8px;
  background: rgba(255, 255, 255, .08);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .16);
}

.work-photo {
  position: relative;
  min-height: 230px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
  overflow: hidden;
  color: #fff;
  background: #11161d;
}

.work-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(16, 19, 24, .12), rgba(16, 19, 24, .78)),
    linear-gradient(90deg, rgba(13, 59, 102, .44), transparent 62%);
}

.work-gallery,
.work-gallery img {
  position: absolute;
  inset: 0;
}

.work-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity .28s ease, transform .35s ease;
}

.work-gallery img.active {
  opacity: 1;
}

.work-card:hover .work-gallery img.active {
  transform: scale(1.08);
}

.mini-gallery-dots {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  display: flex;
  gap: 6px;
}

.mini-gallery-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .52);
  cursor: pointer;
}

.mini-gallery-dots button.active {
  width: 20px;
  background: var(--gold);
}

.work-card {
  cursor: pointer;
}

.work-modal {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr);
  width: min(1180px, 100%);
  max-height: min(88vh, 860px);
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.work-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  background: rgba(255, 255, 255, .92);
}

.work-modal-gallery {
  position: relative;
  min-height: 620px;
  background: #101318;
}

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

.work-modal-dots {
  position: absolute;
  left: 24px;
  bottom: 24px;
  display: flex;
  gap: 8px;
}

.work-modal-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .58);
  cursor: pointer;
}

.work-modal-dots button.active {
  width: 34px;
  background: var(--gold);
}

.work-modal-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 5vw, 52px);
}

.work-modal-content p {
  color: var(--muted);
  line-height: 1.65;
}

.work-modal-meta {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.work-modal-meta span {
  padding: 10px 12px;
  border-radius: 8px;
  background: #eef3f7;
  color: #314154;
  font-weight: 850;
}

.bmw-work {
  background: linear-gradient(135deg, #0d3b66, #00a6a6);
}

.audi-work {
  background: linear-gradient(135deg, #202833, #5d6673);
}

.vw-work {
  background: linear-gradient(135deg, #d62839, #f0b429);
}

.passat-work {
  background: linear-gradient(135deg, #1c4d7a, #2d936c);
}

.audi-c7-work {
  background: linear-gradient(135deg, #1f2937, #8b9bb0);
}

.volvo-work {
  background: linear-gradient(135deg, #123c69, #4b86b4);
}

.work-photo span,
.work-photo strong {
  position: relative;
  z-index: 2;
  text-shadow: 0 2px 16px rgba(0, 0, 0, .45);
}

.work-photo span {
  font-weight: 950;
  text-transform: uppercase;
}

.work-photo strong {
  margin-top: 4px;
  font-size: 28px;
}

.work-body {
  padding: 22px;
  color: #fff;
}

.work-body .tag {
  display: inline-flex;
  margin-bottom: 14px;
  background: rgba(255, 255, 255, .14);
  color: #fff;
}

.work-body p {
  color: #d7e8ff;
  line-height: 1.6;
}

.carousel-button {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  background: rgba(16, 19, 24, .82);
  color: #fff;
  cursor: pointer;
  font-size: 34px;
  line-height: 1;
  transform: translateY(-50%);
  box-shadow: 0 16px 28px rgba(0, 0, 0, .22);
}

.carousel-button:hover {
  background: var(--red);
}

#workPrev {
  left: -18px;
}

#workNext {
  right: -18px;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 4px;
}

.carousel-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .32);
  cursor: pointer;
}

.carousel-dots button.active {
  width: 28px;
  background: var(--gold);
}

.shop-tools {
  flex-wrap: wrap;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
}

textarea {
  min-height: 112px;
  resize: vertical;
}

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

.product-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
}

.product-art {
  min-height: 180px;
  display: grid;
  place-items: center;
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(13, 59, 102, .08), rgba(0, 166, 166, .16)),
    #eef5f7;
}

.device-art {
  display: grid;
  place-items: center;
  width: 138px;
  height: 108px;
  border-radius: 18px;
  background: linear-gradient(155deg, var(--blue), var(--blue-dark));
  color: #fff;
  box-shadow: inset 0 -14px 0 rgba(255, 255, 255, .06), 0 12px 24px rgba(16, 19, 24, .16);
  text-align: center;
  font-weight: 900;
}

.product-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  padding: 18px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.tag {
  padding: 5px 8px;
  color: #314154;
  font-size: 12px;
  font-weight: 800;
  border-radius: 999px;
  background: #eef3f7;
}

.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
}

.price {
  font-size: 20px;
  font-weight: 950;
}

.configurator {
  background: #fff;
}

.config-card {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
  gap: 12px;
  padding: 18px;
}

label {
  color: #384454;
  font-size: 13px;
  font-weight: 850;
}

label select {
  margin-top: 7px;
}

.recommendation {
  margin-top: 16px;
  padding: 22px;
}

.recommendation-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.retrofit {
  background: #eef4f7;
}

.vehicle-picker {
  width: min(100%, 760px);
  align-items: center;
}

.vehicle-configurator {
  display: grid;
  gap: 18px;
  max-width: 1180px;
  margin: 0 auto;
}

.config-progress {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.config-progress span {
  height: 6px;
  border-radius: 999px;
  background: rgba(16, 19, 24, .13);
  overflow: hidden;
}

.config-progress span::before {
  content: "";
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  transition: width .34s ease;
}

.config-progress span.active::before {
  width: 100%;
}

.config-step,
.config-summary {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(16, 19, 24, .04);
}

.config-step,
.config-summary {
  display: none;
}

.config-step.active {
  display: block;
  animation: configStepIn .34s ease both;
}

.config-summary.active {
  display: flex;
  animation: configStepIn .34s ease both;
}

@keyframes configStepIn {
  from {
    opacity: 0;
    transform: translateY(14px) scale(.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.step-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.step-head > div {
  flex: 1;
}

.step-head span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  color: #fff;
  font-weight: 950;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--blue), var(--teal));
}

.step-head h3,
.step-head p,
.config-summary h3,
.config-summary p {
  margin-bottom: 0;
}

.step-head p,
.config-summary p {
  color: var(--muted);
}

.step-back {
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--blue);
  cursor: pointer;
  font-weight: 900;
}

.option-grid {
  display: grid;
  gap: 10px;
}

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

.model-option-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  max-height: 330px;
  overflow: auto;
  padding-right: 4px;
}

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

.option-card {
  min-height: 78px;
  padding: 13px;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f9fbfd;
  color: var(--ink);
  cursor: pointer;
}

.option-card strong,
.option-card span {
  display: block;
}

.option-card strong {
  margin-bottom: 6px;
}

.option-card span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.option-card:hover,
.option-card.active {
  border-color: var(--teal);
  background: linear-gradient(135deg, rgba(13, 59, 102, .08), rgba(0, 166, 166, .14));
}

.option-card.active {
  box-shadow: inset 0 0 0 2px rgba(0, 166, 166, .22);
}

.config-summary {
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: var(--ink);
  color: #fff;
}

.config-summary .eyebrow {
  color: var(--gold);
}

.config-summary p {
  color: #cbd4df;
}

.summary-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  place-items: center;
  padding: 22px;
  background: rgba(16, 19, 24, .72);
}

.modal-backdrop.open {
  display: grid;
}

.options-modal {
  width: min(1120px, 100%);
  max-height: min(88vh, 860px);
  overflow: auto;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

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

.modal-head p {
  color: var(--muted);
}

.modal-close {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  font-weight: 950;
}

.modal-layout {
  padding: 24px;
}

.coding-category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 16px 0 22px;
}

.coding-category-card {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  align-items: center;
  gap: 14px;
  min-height: 82px;
  padding: 16px;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(16, 19, 24, .035);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.coding-category-card:hover,
.coding-category-card.active {
  transform: translateY(-2px);
  border-color: var(--teal);
  box-shadow: 0 14px 28px rgba(0, 166, 166, .13);
}

.category-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--teal);
  font-size: 22px;
  font-weight: 950;
}

.coding-category-card strong {
  line-height: 1.18;
}

.coding-category-card em,
.category-title-row > strong {
  display: grid;
  place-items: center;
  min-width: 32px;
  height: 28px;
  padding: 0 10px;
  color: var(--ink);
  font-style: normal;
  font-weight: 950;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
}

.category-details {
  min-height: 96px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.category-details > p {
  color: var(--muted);
}

.category-details small {
  color: var(--muted);
}

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

.category-title-row > div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.category-title-row h3 {
  margin-bottom: 0;
}

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

.activation-item {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f9fbfd;
}

.activation-item span {
  display: inline-flex;
  margin-bottom: 9px;
  padding: 5px 8px;
  color: #fff;
  font-size: 12px;
  font-weight: 850;
  border-radius: 999px;
  background: var(--blue);
}

.activation-item h4 {
  margin: 0 0 6px;
}

.activation-item p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
}

.retrofit-card ul {
  margin: 14px 0 0;
  padding-left: 18px;
  color: #354152;
}

.reviews {
  margin-top: 18px;
}

.reviews span {
  display: block;
  margin: 3px 0 12px;
  color: var(--muted);
  font-size: 13px;
}

.account-admin {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 18px;
  background: #fff;
}

.panel {
  padding: 24px;
}

.stacked-form,
.lead-form,
.admin-login,
.admin-product-form {
  display: grid;
  gap: 10px;
}

.state-box,
.admin-content-box {
  margin-top: 14px;
  padding: 14px;
  border-radius: 8px;
  background: #eef3f7;
  color: #354152;
}

.admin-area.hidden,
.hidden {
  display: none;
}

.admin-tabs {
  margin: 18px 0 12px;
}

.admin-tabs button {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  font-weight: 850;
}

.admin-tabs button.active {
  background: var(--blue);
  color: #fff;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.admin-table th,
.admin-table td {
  padding: 10px 8px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.mini-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.mini-actions button {
  padding: 7px 9px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
}

.contact {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 30px;
  background: linear-gradient(135deg, var(--blue-dark), #0f172a);
  color: #fff;
}

.contact p {
  color: #cbd4df;
}

.contact-info {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.site-footer {
  background: #080f18;
  color: #ffffff;
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(280px, .78fr) minmax(520px, 1.22fr);
  gap: clamp(52px, 8vw, 130px);
  padding: 72px clamp(24px, 6vw, 64px) 62px;
}

.footer-about {
  max-width: 430px;
}

.footer-brand {
  min-width: 0;
  margin-bottom: 22px;
}

.footer-brand .brand-mark {
  background: #121d2b;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .04);
}

.footer-brand strong {
  color: #fff;
}

.footer-brand small,
.footer-about p,
.footer-bottom p {
  color: #b9d6ff;
}

.footer-about p {
  margin-bottom: 18px;
  line-height: 1.55;
}

.social-row {
  display: flex;
  gap: 10px;
}

.social-row a {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  color: #e8f1ff;
  font-size: 18px;
  font-weight: 900;
  border: 1px solid rgba(185, 214, 255, .22);
  border-radius: 8px;
  background: rgba(255, 255, 255, .035);
}

.footer-nav-area {
  display: grid;
  gap: 34px;
  align-content: start;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(34px, 8vw, 120px);
  padding-top: 4px;
}

.footer-links h3,
.footer-contact-row h3 {
  margin: 0 0 22px;
  color: #fff;
  font-size: 14px;
  font-weight: 950;
}

.footer-links a {
  display: block;
  margin-bottom: 14px;
  color: #b9d6ff;
  font-weight: 850;
}

.footer-links a:hover,
.social-row a:hover {
  color: #fff;
}

.footer-contact-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding-top: 24px;
  border-top: 1px solid rgba(185, 214, 255, .13);
}

.footer-contact-row a,
.footer-contact-row p {
  min-height: 72px;
  margin: 0;
  padding: 14px 16px;
  color: #d7e8ff;
  line-height: 1.45;
  font-weight: 850;
  border: 1px solid rgba(185, 214, 255, .11);
  border-radius: 8px;
  background: rgba(255, 255, 255, .03);
}

.footer-contact-row span {
  display: block;
  margin-bottom: 4px;
  color: #8faed1;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 56px;
  padding: 18px clamp(24px, 6vw, 56px);
  border-top: 1px solid rgba(185, 214, 255, .13);
}

.footer-bottom p {
  margin: 0;
  font-size: 14px;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 30;
  width: min(100%, 430px);
  height: 100vh;
  padding: 22px;
  background: #fff;
  box-shadow: var(--shadow);
  transform: translateX(104%);
  transition: transform .22s ease;
}

.cart-drawer.open {
  transform: translateX(0);
}

.cart-head,
.cart-total,
.cart-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.cart-head button {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 8px;
  background: #eef3f7;
  cursor: pointer;
  font-size: 24px;
}

.cart-item {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.cart-total {
  margin: 18px 0;
  font-size: 20px;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  z-index: 40;
  max-width: min(92vw, 520px);
  padding: 13px 16px;
  color: #fff;
  border-radius: 8px;
  background: var(--blue-dark);
  box-shadow: var(--shadow);
  transform: translate(-50%, 120px);
  transition: transform .2s ease;
}

.toast.show {
  transform: translate(-50%, 0);
}

@media (max-width: 1100px) {
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

@media (max-width: 820px) {
  .menu-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px 18px 18px;
    background: #fff;
    border-bottom: 1px solid var(--line);
  }

  .nav.open {
    display: flex;
  }

  .hero,
  .shop-hero,
  .intro,
  .contact,
  .account-admin {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .shop-hero {
    min-height: auto;
  }

  .hero-visual {
    min-height: 360px;
  }

  .section-head,
  .vehicle-picker {
    align-items: stretch;
    flex-direction: column;
  }

  .product-grid,
  .intro-grid,
  .reviews,
  .retrofit-results,
  .recommendation-list,
  .feature-grid,
  .service-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .work-track {
    grid-auto-columns: minmax(280px, 86%);
  }

  .carousel-button {
    display: none;
  }

  .work-modal {
    grid-template-columns: 1fr;
    overflow: auto;
  }

  .work-modal-gallery {
    min-height: 360px;
  }

  .footer-main,
  .footer-links,
  .footer-contact-row {
    grid-template-columns: 1fr;
  }

  .footer-main {
    min-height: auto;
    padding-top: 46px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .config-card {
    grid-template-columns: 1fr;
  }

  .brand-option-grid,
  .model-option-grid,
  .generation-option-grid,
  .coding-category-grid,
  .activation-list {
    grid-template-columns: 1fr;
  }

  .config-summary {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .brand small {
    display: none;
  }

  .hero {
    padding-bottom: 98px;
  }

  .shop-hero {
    padding-bottom: 98px;
  }

  .hero-strip {
    grid-template-columns: repeat(8, 140px);
  }

  .scanner {
    border-radius: 24px 24px 42px 42px;
  }

  .product-art {
    min-height: 150px;
  }
}
