:root {
  color-scheme: dark;
  --bg: #080a0e;
  --panel: #10141c;
  --panel-2: #151b25;
  --line: rgba(255, 255, 255, 0.11);
  --text: #f5f7fb;
  --muted: #a9b0bd;
  --soft: #d5d9e2;
  --gold: #d7b46a;
  --red: #e34a45;
  --cyan: #60c8d8;
  --green: #25d366;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    linear-gradient(180deg, rgba(8, 10, 14, 0.7), var(--bg) 720px),
    var(--bg);
  color: var(--text);
}

body.locked {
  overflow: hidden;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px clamp(18px, 4vw, 56px);
  background: rgba(8, 10, 14, 0.78);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1;
  letter-spacing: 0;
}

.brand strong {
  font-size: 1rem;
  font-weight: 760;
}

.brand span {
  color: var(--muted);
  font-size: 0.75rem;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--soft);
  font-size: 0.92rem;
}

.nav a:hover {
  color: var(--text);
}

.hero {
  position: relative;
  min-height: calc(100svh - 74px);
  display: grid;
  align-items: end;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 10, 14, 0.99) 0%, rgba(8, 10, 14, 0.9) 38%, rgba(8, 10, 14, 0.38) 100%),
    linear-gradient(0deg, var(--bg) 0%, rgba(8, 10, 14, 0.12) 40%),
    url("hero-car.png") 78% center / min(78vw, 1180px) auto no-repeat,
    radial-gradient(circle at 78% 46%, rgba(96, 200, 216, 0.16), transparent 34%),
    linear-gradient(135deg, #090b10 0%, #141922 100%);
}

.hero-inner {
  position: relative;
  width: min(1160px, 100%);
  margin: 0 auto;
  padding: clamp(56px, 11vw, 120px) clamp(18px, 4vw, 42px) 84px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(215, 180, 106, 0.38);
  color: var(--gold);
  background: rgba(215, 180, 106, 0.08);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 650;
  text-transform: uppercase;
}

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

h1 {
  max-width: 800px;
  margin-top: 22px;
  font-size: clamp(2.65rem, 8vw, 6.8rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 650px;
  margin-top: 24px;
  color: var(--soft);
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
  line-height: 1.55;
}

.proof-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 720px;
  margin-top: 28px;
}

.proof-strip span,
.ally {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--soft);
  background: rgba(255, 255, 255, 0.045);
  font-size: 0.88rem;
  font-weight: 720;
  text-align: center;
}

.hero-actions,
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  color: var(--text);
  background: var(--panel-2);
  cursor: pointer;
  font-weight: 720;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.22);
}

.button.primary {
  background: #f2f4f8;
  color: #07090d;
}

.button.whatsapp {
  background: var(--green);
  color: #04170b;
}

.button.ghost {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.button.full {
  width: 100%;
}

.section {
  padding: clamp(56px, 9vw, 96px) clamp(18px, 4vw, 56px);
}

.section-inner {
  width: min(1160px, 100%);
  margin: 0 auto;
}

.section-title {
  display: grid;
  gap: 12px;
  max-width: 760px;
  margin-bottom: 28px;
}

.section-title h2 {
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1;
  letter-spacing: 0;
}

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

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

.ally-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ally {
  border-radius: var(--radius);
  min-height: 44px;
  color: var(--text);
}

.tile,
.form-shell,
.admin-shell,
.detail-shell,
.thanks-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(16, 20, 28, 0.9);
  box-shadow: var(--shadow);
}

.tile {
  min-height: 190px;
  padding: 22px;
  display: grid;
  align-content: space-between;
  gap: 20px;
}

.tile .mark {
  width: 34px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--red), var(--gold), var(--cyan));
}

.tile h3 {
  font-size: 1.18rem;
}

.tile p {
  color: var(--muted);
  line-height: 1.55;
}

.band {
  border-block: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(227, 74, 69, 0.08), rgba(96, 200, 216, 0.07));
}

.offer-grid .tile {
  min-height: 210px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: 32px;
  align-items: start;
}

.steps.compact {
  grid-template-columns: 1fr;
}

.warning,
.final-cta {
  max-width: 930px;
}

.warning h2,
.final-cta h2 {
  margin-top: 18px;
  font-size: clamp(2.15rem, 6vw, 5rem);
  line-height: 0.98;
}

.warning p,
.final-cta p {
  max-width: 780px;
  margin-top: 18px;
  color: var(--soft);
  font-size: 1.08rem;
  line-height: 1.62;
}

.legal-note {
  color: var(--muted) !important;
  font-size: 0.86rem !important;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.step {
  min-height: 150px;
  padding: 20px;
  background: #0d1118;
}

.step span {
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 800;
}

.step h3 {
  margin-top: 20px;
  font-size: 1rem;
}

.step p {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.5;
  font-size: 0.93rem;
}

.form-page,
.admin-page,
.thanks-page {
  min-height: 100svh;
  padding: 22px clamp(14px, 3vw, 28px) 44px;
  background:
    linear-gradient(180deg, rgba(21, 27, 37, 0.72), rgba(8, 10, 14, 0.96)),
    url("hero-car.jpg") center / cover fixed;
}

.topbar {
  width: min(1120px, 100%);
  margin: 0 auto 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}

.form-shell,
.admin-shell,
.detail-shell,
.thanks-panel {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: clamp(18px, 4vw, 34px);
  backdrop-filter: blur(16px);
}

.form-intro {
  display: grid;
  gap: 12px;
  max-width: 790px;
  margin-bottom: 28px;
}

.form-intro h1 {
  margin: 0;
  font-size: clamp(2rem, 7vw, 4.2rem);
  line-height: 0.98;
}

.form-intro p,
.fineprint {
  color: var(--muted);
  line-height: 1.55;
}

form {
  display: grid;
  gap: 18px;
}

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

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

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

label {
  color: var(--soft);
  font-size: 0.88rem;
  font-weight: 650;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.055);
  color: var(--text);
  padding: 12px 13px;
  outline: none;
}

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

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(96, 200, 216, 0.72);
  box-shadow: 0 0 0 3px rgba(96, 200, 216, 0.14);
}

select option {
  background: #121821;
}

.source-pill {
  display: inline-flex;
  width: max-content;
  min-height: 32px;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--cyan);
  border: 1px solid rgba(96, 200, 216, 0.3);
  background: rgba(96, 200, 216, 0.07);
  font-size: 0.82rem;
  font-weight: 700;
}

.hidden-field {
  position: absolute;
  left: -10000px;
  opacity: 0;
}

.status {
  min-height: 24px;
  color: var(--gold);
  font-weight: 700;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
}

th,
td {
  padding: 13px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
  font-size: 0.9rem;
}

th {
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
}

tr:hover td {
  background: rgba(255, 255, 255, 0.03);
}

.admin-tools {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(150px, 220px) auto;
  gap: 12px;
  margin: 20px 0;
}

.mini {
  min-height: 36px;
  padding: 0 10px;
  font-size: 0.82rem;
}

.status-select {
  min-width: 165px;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.detail-item {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
}

.detail-item span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.detail-item strong {
  display: block;
  margin-top: 6px;
  overflow-wrap: anywhere;
}

.thanks-panel {
  margin-top: 12svh;
  max-width: 760px;
  text-align: center;
}

.thanks-panel h1 {
  margin: 14px auto 0;
  font-size: clamp(2.35rem, 8vw, 5rem);
}

.thanks-panel p {
  max-width: 620px;
  margin: 18px auto 0;
  color: var(--soft);
  line-height: 1.6;
}

.footer {
  padding: 28px clamp(18px, 4vw, 56px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
}

.footer-inner {
  width: min(1160px, 100%);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 860px) {
  .nav {
    display: none;
  }

  .hero {
    min-height: 780px;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(8, 10, 14, 0.16) 0%, rgba(8, 10, 14, 0.9) 46%, var(--bg) 100%),
      url("hero-car.png") center 42px / 118% auto no-repeat,
      linear-gradient(135deg, #090b10 0%, #151b24 100%);
  }

  .hero-inner {
    width: 100vw;
    max-width: 100vw;
    padding-top: 345px;
    padding-inline: 20px;
    padding-bottom: 48px;
    overflow: hidden;
  }

  .grid,
  .steps,
  .split,
  .form-grid,
  .detail-grid,
  .admin-tools {
    grid-template-columns: 1fr;
  }

  .admin-tools .button {
    width: 100%;
  }

  .button {
    width: 100%;
  }

  .site-header .button,
  .topbar .button {
    display: none;
  }

  .form-intro {
    max-width: 100%;
  }

  .form-intro p {
    max-width: 34ch;
  }
}

@media (max-width: 480px) {
  .site-header {
    padding: 14px 16px;
  }

  .hero {
    min-height: 740px;
  }

  .hero-inner {
    padding-top: 305px;
  }

  h1 {
    max-width: 13ch;
    font-size: clamp(1.95rem, 8vw, 2.25rem);
    line-height: 1;
  }

  .hero-copy {
    max-width: 34ch;
    font-size: 0.98rem;
  }

  .proof-strip {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .proof-strip span {
    justify-content: center;
    min-width: 0;
    min-height: 42px;
    padding-inline: 8px;
    white-space: normal;
    line-height: 1.15;
    font-size: 0.78rem;
  }

  .warning h2,
  .final-cta h2 {
    font-size: clamp(2rem, 9vw, 2.7rem);
  }

  .form-page,
  .admin-page,
  .thanks-page {
    padding-inline: 10px;
  }

  .form-shell,
  .admin-shell,
  .detail-shell,
  .thanks-panel {
    padding: 16px;
  }
}
