:root {
  --ink: #172334;
  --ink-deep: #07111e;
  --muted: #667080;
  --gold: #e4a82e;
  --gold-light: #f8d77c;
  --surface: #ffffff;
  --soft: #f7f4ee;
  --page-max: 430px;
  --shadow: 0 24px 80px rgb(0 0 0 / 38%);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-width: 320px;
  margin: 0;
}

html {
  background: #0b1119;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 50% 2%, rgb(56 77 103 / 44%), transparent 36rem),
    #0b1119;
  color: var(--ink);
  font-family: "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

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

img,
svg {
  display: block;
}

.campaign-page {
  position: relative;
  width: min(100%, var(--page-max));
  min-height: 100vh;
  margin-inline: auto;
  overflow: clip;
  background: var(--surface);
}

.hero,
.services,
.process,
.consult,
.notice {
  position: relative;
}

.hero {
  overflow: hidden;
  background: #121d2d;
}

.hero-stage {
  position: relative;
  padding-top: 99px;
  overflow: hidden;
  background: #172438;
}

.hero-stage::before {
  position: absolute;
  z-index: 0;
  top: 0;
  right: 0;
  left: 0;
  height: 99px;
  content: "";
  background: url("assets/hero-car-keys.webp") center top / 100% 870% no-repeat;
  transform: scaleY(-1);
  transform-origin: center;
  pointer-events: none;
}

.hero-stage::after {
  position: absolute;
  z-index: 2;
  inset: 0;
  content: "";
  background:
    linear-gradient(180deg, rgb(5 13 24 / 35%) 0%, transparent 46%, rgb(7 15 25 / 7%) 72%, rgb(244 247 248 / 28%) 100%),
    linear-gradient(90deg, rgb(3 9 18 / 46%) 0%, transparent 61%);
  pointer-events: none;
}

.hero-art-frame {
  position: relative;
  z-index: 1;
  aspect-ratio: 3 / 2;
}

.hero-art {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
}

.hero-brand-layer {
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
}

.hero-brand {
  position: absolute;
  display: block;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 1px 2px rgb(0 0 0 / 82%));
  transform: translate(-50%, -50%);
}

.hero-brand--mercedes {
  top: 54.5%;
  left: 21.8%;
  width: 18px;
}

.hero-brand--audi {
  top: 54.2%;
  left: 35.4%;
  width: 25px;
}

.hero-brand--bmw {
  top: 54%;
  left: 49.9%;
  width: 20px;
}

.hero-brand--land-rover {
  top: 54.3%;
  left: 63.8%;
  width: 26px;
}

.hero-brand--toyota {
  top: 54.5%;
  left: 77.1%;
  width: 19px;
}

.hero-copy {
  position: absolute;
  z-index: 2;
  top: 25px;
  left: 24px;
  color: #fff;
  text-shadow: 0 2px 12px rgb(0 0 0 / 54%);
}

.hero-copy h1 {
  display: grid;
  gap: 0;
  margin: 0 0 9px;
  font-size: clamp(2.15rem, 10.2vw, 2.75rem);
  font-weight: 950;
  letter-spacing: -0.08em;
  line-height: 1.04;
}

.hero-copy h1 span,
.hero-copy h1 strong {
  display: block;
}

.hero-copy h1 strong {
  color: var(--gold-light);
}

.hero-lead,
.hero-note,
.fit-summary strong,
.fit-summary span,
.service-card h3,
.service-card p,
.process-list p,
.consult h2,
.consult p {
  margin: 0;
}

.hero-lead {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.hero-note {
  margin-top: 4px;
  color: rgb(255 255 255 / 80%);
  font-size: 0.76rem;
}

.fit-summary {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  gap: 3px;
  padding: 10px 16px 5px;
  background: linear-gradient(180deg, transparent, rgb(255 255 255 / 22%));
  text-align: center;
}

.fit-summary strong {
  color: #263042;
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  text-shadow: 0 1px 2px rgb(255 255 255 / 78%);
}

.fit-summary span {
  color: #263042;
  font-size: 0.78rem;
  font-weight: 650;
  text-shadow:
    0 1px 1px rgb(255 255 255 / 100%),
    0 0 5px rgb(255 255 255 / 100%),
    0 0 10px rgb(255 255 255 / 92%);
}

.services,
.process {
  background: #fff;
}

.services {
  padding: 6px 12px 14px;
}

.process {
  padding: 0 10px 16px;
}

.section-title {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 9px 36px 11px;
  color: #182438;
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
}

.section-title::before,
.section-title::after {
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--gold));
}

.section-title::after {
  background: linear-gradient(90deg, var(--gold), transparent);
}

.section-title span {
  position: relative;
}

.section-title span::before,
.section-title span::after {
  position: absolute;
  top: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  content: "";
  transform: translateY(-50%);
}

.section-title span::before {
  left: -20px;
}

.section-title span::after {
  right: -20px;
}

.service-grid,
.process-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

.service-card {
  display: flex;
  min-width: 0;
  min-height: 107px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 3px 9px;
  border: 1px solid #f1eee8;
  border-radius: 8px;
  background: linear-gradient(145deg, #fdfcf9, #f7f2e9);
  box-shadow: 0 4px 14px rgb(39 49 66 / 4%);
  text-align: center;
}

.service-icon {
  width: 34px;
  height: 34px;
  margin-bottom: 5px;
  object-fit: contain;
}

.service-card h3 {
  overflow-wrap: anywhere;
  font-size: 0.82rem;
  font-weight: 850;
  line-height: 1.3;
}

.service-card p {
  margin-top: 3px;
  color: #707887;
  font-size: 0.75rem;
  line-height: 1.25;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: start;
}

.process-list li {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.process-list li:not(:last-child)::after {
  position: absolute;
  z-index: 2;
  top: 34px;
  right: -4px;
  width: 9px;
  height: 9px;
  border-top: 2px solid #b3b8bf;
  border-right: 2px solid #b3b8bf;
  content: "";
  transform: rotate(45deg);
}

.step-number {
  position: relative;
  z-index: 3;
  display: grid;
  width: 28px;
  height: 24px;
  place-items: center;
  margin-bottom: -5px;
  border: 2px solid #fff;
  border-radius: 14px;
  background: #24384d;
  box-shadow: 0 2px 4px rgb(0 0 0 / 18%);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
}

.process-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 10px;
  background: linear-gradient(145deg, #eef0f2, #fff);
  box-shadow: inset 0 0 0 1px #edf0f3, 0 5px 12px rgb(32 46 62 / 8%);
  color: #22364b;
}

.process-icon img {
  width: 31px;
  height: 31px;
  object-fit: contain;
}

.process-list p {
  margin-top: 8px;
  color: #263042;
  font-size: 0.75rem;
  font-weight: 650;
  line-height: 1.35;
}

.process-list strong {
  font-weight: 850;
}

.consult-button svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.consult {
  min-height: 260px;
  overflow: hidden;
  padding: 18px 20px 20px;
  background: #07111e;
  color: #fff;
}

.consult::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgb(3 10 18 / 86%) 0%, rgb(3 10 18 / 55%) 54%, rgb(3 10 18 / 13%) 100%),
    linear-gradient(180deg, rgb(3 10 18 / 12%), rgb(3 10 18 / 48%));
  pointer-events: none;
}

.consult-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
}

.consult-copy,
.consult-body {
  position: relative;
  z-index: 2;
}

.consult-copy h2 {
  display: inline-block;
  color: #ffd167;
  font-size: 1.75rem;
  font-weight: 950;
  letter-spacing: -0.04em;
}

.consult-copy p {
  margin-top: 2px;
  color: rgb(255 255 255 / 88%);
  font-size: 0.8rem;
}

.consult-body {
  display: grid;
  grid-template-columns: 116px 1fr;
  align-items: center;
  gap: 16px;
  margin-top: 10px;
}

.qr-shell {
  background: #fff;
}

.qr-shell {
  padding: 7px;
  border: 3px solid #e5b33d;
  border-radius: 6px;
  box-shadow: 0 5px 18px rgb(0 0 0 / 32%);
}

.qr-shell img {
  width: 100%;
  height: auto;
}

.consult-details {
  display: grid;
  justify-items: start;
  gap: 4px;
  min-width: 0;
}

.consult-details p {
  color: rgb(255 255 255 / 87%);
  font-size: 0.75rem;
  line-height: 1.35;
}

.consult-details strong {
  display: inline-block;
  margin: 2px 0 5px;
  padding: 7px 20px;
  border-radius: 7px;
  background: linear-gradient(180deg, #ffd461, #e9a92b);
  box-shadow: 0 5px 15px rgb(0 0 0 / 24%);
  color: #121b27;
  font-size: 1.3rem;
  font-weight: 950;
}

.notice {
  padding: 10px 15px 11px;
  border-top: 1px solid #e5e7ea;
  background: #fff;
  color: #5e6670;
  font-size: 0.75rem;
  line-height: 1.55;
}

.notice strong {
  color: #3f4854;
}

.sticky-cta {
  position: sticky;
  z-index: 10;
  bottom: 0;
  padding: 10px 15px calc(10px + env(safe-area-inset-bottom));
  background: rgb(255 255 255 / 94%);
  box-shadow: 0 -7px 22px rgb(18 28 42 / 8%);
  backdrop-filter: blur(12px);
}

.consult-button {
  display: flex;
  width: 100%;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid #e7af35;
  border-radius: 999px;
  background: linear-gradient(180deg, #fbd872 0%, #dda329 100%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 55%), 0 8px 18px rgb(191 134 31 / 23%);
  color: #111b28;
  cursor: pointer;
  font-size: 1.18rem;
  font-weight: 900;
  transition: transform 160ms ease, filter 160ms ease;
}

.consult-button:hover {
  filter: brightness(1.035);
}

.consult-button:active {
  transform: translateY(1px) scale(0.997);
}

.consult-button:focus-visible {
  outline: 3px solid #67a8ff;
  outline-offset: 3px;
}

.consult-button svg {
  width: 29px;
  height: 29px;
  stroke-width: 2;
}

.consult-button span {
  display: inline-block;
  transform-origin: center;
  animation: cta-text-pulse 1.4s ease-in-out infinite;
}

@keyframes cta-text-pulse {
  0%,
  100% {
    opacity: 0.78;
    transform: scale(1);
    text-shadow: none;
  }

  50% {
    opacity: 1;
    transform: scale(1.045);
    text-shadow:
      0 0 7px rgb(255 255 255 / 92%),
      0 0 15px rgb(255 235 151 / 82%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .consult-button span {
    animation: none;
  }
}

@media (max-width: 360px) {
  .hero-copy {
    top: 20px;
    left: 18px;
  }

  .hero-copy h1 {
    font-size: 2.15rem;
  }

  .service-grid {
    gap: 0.35rem;
  }

  .service-card {
    min-height: 101px;
    padding-inline: 2px;
  }

  .service-card h3,
  .service-card p,
  .process-list p {
    font-size: 0.75rem;
  }

  .process-list li:not(:last-child)::after {
    right: -2px;
  }

  .consult {
    padding-inline: 16px;
  }

  .consult-body {
    grid-template-columns: 105px 1fr;
    gap: 12px;
  }
}

@media (min-width: 700px) {
  body {
    padding: 28px 0;
  }

  .campaign-page {
    min-height: calc(100vh - 56px);
    border-radius: 24px;
    box-shadow: var(--shadow);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
