:root {
  --e-global-color-primary: #5a148c;
  --e-global-color-secondary: #77148c;
  --bg: #ffffff;
  --text: #1f1030;
  --muted: #5f4d70;
  --border: #eadcf4;
  --success: #14733e;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  background: var(--bg);
  color: var(--text);
}

.landing {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
}

.hero-panel {
  padding: 2rem;
  display: flex;
}

.hero-stack {
  width: 100%;
  display: grid;
  gap: 0;
  position: relative;
}

.hero-media {
  width: 100%;
  border-radius: 1.5rem;
  min-height: 560px;
  padding: 2rem;
  display: grid;
  align-content: end;
  gap: 1rem;
  color: #fff;
  position: relative;
  overflow: hidden;
  z-index: 2;
  background-image:
    linear-gradient(130deg, rgb(0 0 0 / 28%), rgb(0 0 0 / 16%)),
    url("/assets/hero-laser.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgb(0 0 0 / 12%), rgb(0 0 0 / 38%));
}

.hero-media > * {
  position: relative;
  z-index: 1;
}

.hero-media h1 {
  margin: 0;
  font-weight: 600;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.1;
}

.hero-number {
  font-size: 1em;
  font-weight: 700;
  line-height: 0;
}

.hero-subline {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.72em;
  font-weight: 500;
}

.hero-media p {
  margin: 0;
  max-width: 36ch;
  line-height: 1.45;
  font-size: 1rem;
}

.hero-badge {
  width: fit-content;
  background: var(--e-global-color-primary);
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 0.72rem 1.25rem;
  font-size: 1rem;
}

.cta-claim {
  width: fit-content;
  text-decoration: none;
  background:var(--e-global-color-primary);
  color: #fff;
  padding: 0.8rem 1.2rem;
  border-radius: 0.8rem;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.cta-claim:hover,
.cta-claim:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgb(0 0 0 / 20%);
}

.hero-proof {
  width: 100%;
  margin-top: -22px;
  background: #C5BED5;
  color: #000000;
  border-radius: 0 0 1.5rem 1.5rem;
  padding: 1rem 0.65rem;
  text-align: center;
  position: relative;
  z-index: 1;
  box-shadow: 0 10px 20px rgb(90 20 140 / 12%);
}

.hero-proof p {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: clamp(0.68rem, 1.05vw, 1.1rem);
}

.hero-proof img {
  height: 24px;
  width: auto;
  display: block;
  margin: 0 auto;
}

@media (min-width: 1200px) {
  .hero-proof {
    max-height: 130px;
    overflow: hidden;
  }
}

.quiz-panel {
  border-left: 0;
  padding: 2rem;
}

.quiz-header h2 {
  margin: 0.2rem 0;
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
}

.quiz-kicker {
  color: var(--e-global-color-primary);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0;
}

.quiz-subtitle {
  margin-top: 0.5rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.step-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  margin: 1.5rem 0 0.75rem;
  color: var(--muted);
}

.progress {
  height: 8px;
  background: #f1e8f8;
  border-radius: 999px;
  overflow: hidden;
}

.progress > span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--e-global-color-primary), var(--e-global-color-secondary));
  transition: width 220ms ease;
}

.question-title {
  font-size: 1.2rem;
  margin: 1rem 0 0.9rem;
  font-weight: 700;
  color: var(--text);
}

.helper-copy {
  margin-top: -0.4rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.options-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.chip,
.choice,
.sede-btn {
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 0.75rem 0.8rem;
  background: #fff;
  text-align: left;
  cursor: pointer;
  color: var(--text);
  font: inherit;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.chip-content {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.chip-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #dbc4ea;
  flex: 0 0 44px;
}

.chip-icon {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.chip.active,
.choice.active,
.sede-btn.active {
  border-color: var(--e-global-color-primary);
  background: #f7effd;
  color: var(--e-global-color-primary);
  font-weight: 600;
}

.input-wrap {
  display: grid;
  gap: 0.65rem;
}

.other-input-wrap {
  margin-top: 0.35rem;
  display: grid;
  gap: 0.45rem;
}

.other-input-wrap label {
  font-size: 0.9rem;
  font-weight: 600;
}

input,
select {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 0.8rem 0.85rem;
  font: inherit;
  color: var(--text);
}

input:focus,
select:focus {
  outline: 2px solid rgb(90 20 140 / 25%);
  border-color: var(--e-global-color-primary);
}

.inline-note {
  font-size: 0.85rem;
  color: var(--muted);
}

.error {
  font-size: 0.82rem;
  color: #a32042;
  min-height: 1rem;
}

.nav-row {
  display: flex;
  gap: 0.65rem;
  margin-top: 1rem;
}

.btn {
  appearance: none;
  border: 0;
  border-radius: 0.75rem;
  padding: 0.76rem 1rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.btn-ghost {
  background: #f4ebfb;
  color: var(--e-global-color-primary);
}

.btn-primary {
  background: linear-gradient(95deg, var(--e-global-color-primary), var(--e-global-color-secondary));
  color: #fff;
  margin-left: auto;
}

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.consent {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  margin-top: 0.8rem;
}

.consent input {
  width: auto;
  margin-top: 0.2rem;
}

.success-card {
  margin-top: 1.5rem;
  border: 1px solid #cae9d8;
  border-radius: 1rem;
  background: #f3fbf7;
  padding: 1.2rem;
}

.success-card h3 {
  margin-top: 0;
  color: var(--success);
}

.success-link {
  color: var(--e-global-color-primary);
  text-decoration: none;
  font-weight: 700;
}

.offer-center {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
  background: #f6f4f8;
}

.offer-card {
  width: min(860px, 100%);
  border: 1px solid var(--border);
  border-radius: 1.2rem;
  background: #fff;
  padding: 1.4rem;
  box-shadow: 0 14px 36px rgb(42 7 70 / 8%);
}

.offer-logo {
  display: block;
  margin: 0 auto 0.9rem;
  width: 180px;
  max-width: 65%;
  height: auto;
}

.offer-pill {
  margin: 0 auto 1.25rem;
  text-align: center;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(95deg, var(--e-global-color-primary), var(--e-global-color-secondary));
  border-radius: 999px;
  padding: 0.82rem 1rem;
  width: min(540px, 100%);
}

.quiz-header.centered {
  text-align: center;
}

@media (max-width: 980px) {
  .landing {
    grid-template-columns: 1fr;
  }

  .hero-panel,
  .quiz-panel {
    padding: 1rem;
  }

  .quiz-panel {
    border-left: 0;
    border-top: 0;
    padding-top: 1.4rem;
  }

  .hero-media {
    min-height: 360px;
    padding: 1rem;
    border-radius: 1rem;
  }

  .hero-proof {
    margin-top: -14px;
    width: 100%;
    border-radius: 0 0 1rem 1rem;
    padding: 0.45rem 0.65rem 0.6rem;
  }

  .hero-proof img {
    height: 19px;
  }
}

@media (max-width: 560px) {
  .options-grid {
    grid-template-columns: 1fr;
  }
}
