:root {
  --green: #253e28;
  --gold: #b79142;
  --beige: #f0ebe5;
  --paper: #faf8f5;
  --sans: "Montserrat", Arial, sans-serif;
  --serif: "Playfair Display", Georgia, serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); -webkit-font-smoothing: antialiased; }
body::selection { color: var(--beige); background: var(--green); }
a { color: inherit; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }

.brand { display: inline-flex; align-items: center; color: var(--green); text-decoration: none; }
.brand-logo { display: block; width: clamp(220px, 22vw, 310px); height: auto; }

/* Página principal */
.landing-page { color: var(--green); background: var(--beige); }
.landing { position: relative; min-height: 100svh; overflow: hidden; isolation: isolate; }
.landing::before, .landing::after { position: absolute; z-index: -1; border-radius: 50%; filter: blur(4px); content: ""; pointer-events: none; }
.landing::before { top: -18vw; right: -12vw; width: 42vw; height: 42vw; background: radial-gradient(circle, rgba(183, 145, 66, .13), rgba(183, 145, 66, 0) 70%); }
.landing::after { bottom: -21vw; left: -14vw; width: 48vw; height: 48vw; background: radial-gradient(circle, rgba(37, 62, 40, .1), rgba(37, 62, 40, 0) 70%); }
.landing-header { position: absolute; z-index: 2; top: 0; left: 0; display: flex; width: 100%; padding: 30px clamp(24px, 4vw, 64px); align-items: center; justify-content: flex-end; }
.landing-tag { color: rgba(37, 62, 40, .62); font-size: 9px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.landing-brand-panel { display: grid; min-height: 100svh; padding: clamp(82px, 11vh, 120px) 24px 158px; place-content: center; place-items: center; }
.landing-home-logo { display: block; width: min(820px, 72vw); max-height: 61vh; object-fit: contain; filter: drop-shadow(0 20px 34px rgba(37, 62, 40, .07)); }
.landing-status { display: flex; margin-top: clamp(16px, 2.5vh, 28px); align-items: center; gap: 18px; color: rgba(37, 62, 40, .58); font-size: 9px; letter-spacing: .16em; text-transform: uppercase; }
.landing-status strong { padding: 10px 15px; border-radius: 999px; color: var(--green); background: rgba(250, 248, 245, .88); box-shadow: 0 8px 24px rgba(37, 62, 40, .1); font-weight: 600; }
.landing-cta {
  position: absolute;
  right: clamp(24px, 5vw, 76px);
  bottom: clamp(28px, 6vh, 62px);
  display: flex;
  min-width: min(360px, calc(100% - 48px));
  padding: 20px 22px 20px 26px;
  color: var(--beige);
  background: var(--green);
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-radius: 20px;
  box-shadow: 0 18px 45px rgba(37, 62, 40, .22);
  transition: color .2s, background .2s, transform .2s;
}
.landing-cta small { display: block; margin-bottom: 5px; color: var(--gold); font-size: 8px; font-weight: 500; letter-spacing: .17em; }
.landing-cta b { display: grid; width: 44px; height: 44px; color: var(--green); background: var(--beige); place-items: center; border-radius: 50%; font-size: 18px; transition: transform .2s; }
.landing-cta:hover { background: #1c3220; box-shadow: 0 23px 55px rgba(37, 62, 40, .28); transform: translateY(-3px); }
.landing-cta:hover b { color: var(--beige); background: var(--gold); transform: translateX(4px); }

/* Quiz */
.quiz-page { min-height: 100svh; color: var(--green); background: var(--beige); }
.quiz-header { position: relative; z-index: 2; display: flex; max-width: 1120px; margin: 0 auto; padding: 20px 28px; align-items: center; justify-content: space-between; }
.quiz-header::after { position: absolute; right: 28px; bottom: 0; left: 28px; height: 18px; border-radius: 50%; box-shadow: 0 13px 30px rgba(37, 62, 40, .09); content: ""; pointer-events: none; }
.quiz-header-label { color: rgba(37, 62, 40, .68); font-size: 9px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.quiz-shell { width: min(760px, calc(100% - 40px)); margin: 0 auto; padding: clamp(44px, 7vw, 84px) 0 64px; }
.quiz-shell-form { padding-top: clamp(48px, 6vw, 72px); }
.eyebrow { display: flex; margin: 0 0 13px; color: rgba(37, 62, 40, .72); align-items: center; gap: 10px; font-size: 9px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow > span { width: 26px; height: 1px; background: var(--gold); }
.event-banner { position: relative; min-height: clamp(360px, 35vw, 500px); overflow: hidden; color: var(--beige); background: var(--green); isolation: isolate; }
.event-banner-image { position: absolute; z-index: -3; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 58%; filter: grayscale(1) contrast(.95) brightness(.82); }
.event-banner-overlay { position: absolute; z-index: -2; inset: 0; background: linear-gradient(90deg, rgba(37, 62, 40, .92), rgba(37, 62, 40, .82) 58%, rgba(37, 62, 40, .72)); }
.event-banner-content { display: flex; width: min(1120px, calc(100% - 64px)); min-height: inherit; margin: 0 auto; padding: clamp(58px, 7vw, 92px) 0; align-items: flex-end; justify-content: space-between; gap: 60px; }
.event-banner-copy { max-width: 680px; }
.event-banner-kicker { margin: 0 0 18px; color: var(--gold); font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.event-banner-copy h1 { margin: 0; font: 500 clamp(44px, 5.2vw, 74px)/.98 var(--serif); letter-spacing: -.04em; }
.event-banner-copy h1 em { color: var(--gold); font-weight: 500; }
.event-banner-copy > p:last-child { max-width: 610px; margin: 22px 0 0; color: rgba(240, 235, 229, .86); font-size: 15px; line-height: 1.7; }
.event-banner-date { position: relative; display: grid; min-width: 210px; padding: 21px 24px 24px; overflow: hidden; border-radius: 28px; color: var(--green); background: rgba(240, 235, 229, .94); box-shadow: 0 24px 60px rgba(10, 25, 12, .3); gap: 14px; backdrop-filter: blur(12px); }
.event-banner-date::after { position: absolute; right: -24px; bottom: -34px; width: 94px; height: 94px; border-radius: 50%; background: rgba(183, 145, 66, .2); content: ""; }
.event-banner-date-label { color: rgba(37, 62, 40, .62); font-size: 9px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.event-banner-date-main { position: relative; z-index: 1; display: flex; align-items: center; gap: 16px; }
.event-banner-date-main strong { color: var(--green); font: 500 68px/.82 var(--serif); letter-spacing: -.05em; }
.event-banner-date-main > span { display: grid; gap: 5px; }
.event-banner-date-main b { color: var(--gold); font-size: 12px; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; }
.event-banner-date-main small { color: rgba(37, 62, 40, .62); font-size: 10px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.quiz-card { padding: clamp(24px, 4vw, 40px); border-radius: 26px; background: rgba(250, 248, 245, .82); box-shadow: 0 22px 65px rgba(37, 62, 40, .13); backdrop-filter: blur(8px); }
.quiz-progress { display: grid; margin-bottom: 30px; color: rgba(37, 62, 40, .64); grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; font-size: 10px; font-weight: 600; letter-spacing: .11em; text-transform: uppercase; }
.progress-track { height: 4px; overflow: hidden; border-radius: 999px; background: rgba(37, 62, 40, .1); box-shadow: inset 0 1px 2px rgba(37, 62, 40, .08); }
.progress-track div { width: 0; height: 100%; background: var(--gold); transition: width .3s ease; }
.quiz-step { display: none; min-width: 0; margin: 0; padding: 0; border: 0; animation: step-in .25s ease both; }
.quiz-step.is-active { display: block; }
@keyframes step-in { from { opacity: 0; transform: translateX(10px); } }
.quiz-step legend { width: 100%; margin-bottom: 8px; color: var(--green); font: 500 clamp(25px, 3.8vw, 34px)/1.16 var(--serif); letter-spacing: -.025em; }
.quiz-step legend > span { display: block; margin-bottom: 7px; color: var(--gold); font: 600 9px/1 var(--sans); letter-spacing: .16em; }
.question-helper { margin: 0 0 20px; color: rgba(37, 62, 40, .7); font-size: 14px; line-height: 1.55; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.text-field { display: block; margin-top: 14px; }
.text-field > span { display: block; margin-bottom: 8px; color: rgba(37, 62, 40, .72); font-size: 10px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.text-field input, .text-field textarea { width: 100%; padding: 13px 15px; border: 0; border-radius: 13px; outline: 0; color: var(--green); background: var(--paper); box-shadow: 0 6px 18px rgba(37, 62, 40, .08), inset 0 0 0 1px rgba(37, 62, 40, .03); font: 500 15px/1.45 var(--sans); transition: box-shadow .18s, transform .18s; }
.text-field textarea { min-height: 112px; resize: vertical; }
.text-field input:focus, .text-field textarea:focus { box-shadow: 0 9px 24px rgba(37, 62, 40, .13), inset 0 0 0 2px rgba(183, 145, 66, .42); transform: translateY(-1px); }
.text-field input::placeholder, .text-field textarea::placeholder { color: rgba(37, 62, 40, .4); }
.options-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.options-grid-four { grid-template-columns: repeat(4, 1fr); }
.options-list { display: grid; gap: 8px; }
.option { position: relative; display: block; }
.option input { position: absolute; opacity: 0; pointer-events: none; }
.option span { position: relative; display: flex; min-height: 46px; padding: 11px 38px 11px 14px; border-radius: 13px; color: var(--green); background: var(--paper); box-shadow: 0 6px 17px rgba(37, 62, 40, .075); align-items: center; font-family: var(--sans); font-size: 13px; font-weight: 500; line-height: 1.4; transition: color .18s, background .18s, box-shadow .18s, transform .18s; }
.option span::after { position: absolute; right: 13px; content: "+"; color: var(--gold); font: 18px/1 var(--serif); }
.option:hover span { box-shadow: 0 10px 24px rgba(37, 62, 40, .12); transform: translateY(-1px); }
.option input:checked + span { color: var(--beige); background: var(--green); box-shadow: 0 9px 24px rgba(37, 62, 40, .22); }
.option input:checked + span::after { color: var(--gold); content: "✓"; font: 600 11px/1 var(--sans); }
.honeypot { position: absolute !important; left: -9999px !important; }
.form-error { min-height: 18px; margin-top: 13px; color: var(--green); font-size: 13px; line-height: 1.45; }
.quiz-actions { display: flex; margin-top: 8px; justify-content: space-between; gap: 10px; }
.button { display: inline-flex; min-height: 46px; padding: 0 20px; border: 0; border-radius: 999px; align-items: center; justify-content: center; gap: 20px; color: var(--beige); background: var(--green); box-shadow: 0 9px 24px rgba(37, 62, 40, .2); font-size: 10px; font-weight: 600; letter-spacing: .09em; text-decoration: none; text-transform: uppercase; transition: transform .18s, background .18s, box-shadow .18s; }
.button:hover { background: #1c3220; box-shadow: 0 13px 30px rgba(37, 62, 40, .26); transform: translateY(-2px); }
.button-ghost { color: var(--green); background: var(--paper); box-shadow: 0 6px 18px rgba(37, 62, 40, .08); }
.button-primary { margin-left: auto; }
.button:disabled { cursor: wait; opacity: .6; transform: none; }
.button:focus-visible, .option:has(input:focus-visible), input:focus-visible, textarea:focus-visible, .landing-cta:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.privacy-note { margin: 14px 0 0; color: rgba(37, 62, 40, .56); font-size: 10px; line-height: 1.55; }
.success-state { padding: 10px 0; }
.success-icon { display: grid; width: 42px; height: 42px; margin-bottom: 22px; color: var(--beige); background: var(--green); place-items: center; border-radius: 50%; }
.success-state h2 { max-width: 520px; margin: 0 0 12px; font: 500 clamp(30px, 4.2vw, 42px)/1.08 var(--serif); }
.success-state > p:not(.eyebrow) { max-width: 480px; color: rgba(37, 62, 40, .7); font-size: 14px; line-height: 1.65; }
.success-state .button { margin: 20px 0 0; }
.quiz-footer { display: flex; max-width: 1120px; margin: 0 auto; padding: 24px 28px; align-items: center; justify-content: space-between; color: rgba(37, 62, 40, .58); font-size: 8px; letter-spacing: .12em; text-transform: uppercase; }
.quiz-footer a { color: var(--green); text-decoration: none; }

@media (max-width: 700px) {
  .landing-header { padding: 20px; }
  .landing-tag { width: 100%; text-align: center; }
  .landing-brand-panel { padding: 76px 16px 154px; }
  .landing-home-logo { width: min(94vw, 570px); max-height: 55vh; }
  .landing-status { margin-top: 8px; align-items: center; flex-direction: column; gap: 10px; text-align: center; }
  .landing-cta { right: 20px; bottom: 24px; left: 20px; min-width: 0; }
  .quiz-header { padding: 20px 22px; }
  .quiz-header-label { display: none; }
  .brand-logo { width: min(245px, 72vw); }
  .event-banner { min-height: 500px; }
  .event-banner-image { width: 100%; object-position: 54% center; }
  .event-banner-overlay { background: linear-gradient(180deg, rgba(37, 62, 40, .78), rgba(37, 62, 40, .94)); }
  .event-banner-content { width: 100%; padding: 76px 24px 44px; align-items: flex-start; flex-direction: column; justify-content: flex-end; gap: 32px; }
  .event-banner-kicker { margin-bottom: 16px; font-size: 10px; }
  .event-banner-copy h1 { font-size: clamp(39px, 12vw, 52px); line-height: 1.02; }
  .event-banner-copy > p:last-child { margin-top: 22px; font-size: 14px; line-height: 1.75; }
  .event-banner-date { width: min(100%, 260px); min-width: 0; padding: 17px 20px 20px; gap: 11px; place-self: flex-start; border-radius: 22px; }
  .event-banner-date-main strong { font-size: 54px; }
  .quiz-shell { width: min(100% - 36px, 760px); padding: 46px 0 64px; }
  .quiz-card { padding: 30px 22px; border-radius: 24px; }
  .quiz-progress { margin-bottom: 36px; gap: 10px; }
  .quiz-step legend { margin-bottom: 12px; line-height: 1.2; }
  .question-helper { margin-bottom: 26px; }
  .field-row { grid-template-columns: 1fr; gap: 12px; }
  .text-field { margin-top: 16px; }
  .options-grid, .options-grid-four { grid-template-columns: repeat(2, 1fr); gap: 11px; }
  .options-list { gap: 11px; }
  .option span { min-height: 52px; padding: 13px 40px 13px 15px; }
  .quiz-actions { margin-top: 18px; flex-direction: column-reverse; gap: 12px; }
  .button { width: 100%; }
  .button-primary { margin-left: 0; }
  .privacy-note { margin-top: 18px; }
  .quiz-footer { padding: 32px 22px; align-items: flex-start; flex-direction: column; gap: 14px; }
}

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