:root {
  --blue-950: #073659;
  --blue-900: #0b4f8a;
  --blue-700: #1477bd;
  --sky: #9eddf0;
  --orange: #f47b20;
  --orange-dark: #d85f0b;
  --cream: #fff8ea;
  --paper: #f6fbfd;
  --ink: #17334a;
  --muted: #607284;
  --line: rgba(11, 79, 138, .16);
  --shadow: 0 22px 65px rgba(7, 54, 89, .12);
  font-family: "Manrope", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: radial-gradient(circle at 8% 5%, rgba(158,221,240,.32), transparent 28%), radial-gradient(circle at 94% 12%, rgba(244,123,32,.13), transparent 24%), var(--paper); }
button, input, select, textarea { font: inherit; }
button, label, select { -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
.skip-link { position: fixed; z-index: 100; top: 8px; left: 8px; padding: 10px 14px; color: white; background: var(--blue-950); border-radius: 10px; transform: translateY(-150%); }
.skip-link:focus { transform: none; }

.page-header { width: min(1120px, calc(100% - 32px)); min-height: 92px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.page-header img { width: clamp(190px, 22vw, 250px); height: auto; display: block; }
.page-header span { color: var(--blue-900); font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.page-shell { width: min(1120px, calc(100% - 32px)); margin: 0 auto; padding: 26px 0 58px; }

.intro-card { display: grid; grid-template-columns: 1fr auto; gap: 50px; align-items: end; padding: 46px 52px; color: white; background: linear-gradient(135deg, var(--blue-950), var(--blue-900)); border-radius: 32px 32px 0 0; box-shadow: var(--shadow); }
.eyebrow, .step-kicker { margin: 0 0 10px; color: var(--orange); font-size: 12px; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }
.intro-card h1 { max-width: 800px; margin: 0; font: 900 clamp(38px, 5vw, 64px)/1 "Nunito", sans-serif; letter-spacing: -.045em; }
.intro-card h1 em { color: #ffab59; font-style: normal; }
.lede { max-width: 770px; margin: 22px 0 0; color: rgba(255,255,255,.78); font-size: 17px; line-height: 1.7; }
.campaign-date { min-width: 190px; display: grid; gap: 4px; padding: 20px; color: var(--blue-950); background: white; border-radius: 20px; transform: rotate(-1deg); }
.campaign-date strong { font: 900 24px/1 "Nunito", sans-serif; }
.campaign-date span { color: var(--muted); font-size: 11px; font-weight: 700; }

.form-card { min-height: 620px; padding: 38px 52px 48px; background: white; border-radius: 0 0 32px 32px; box-shadow: var(--shadow); }
.form-top { margin-bottom: 36px; }
.progress-copy { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 10px; }
.progress-copy span { color: var(--blue-950); font-size: 13px; font-weight: 800; }
.progress-copy strong { color: var(--muted); font-size: 12px; }
.progress-track { height: 7px; overflow: hidden; background: #eaf2f5; border-radius: 999px; }
.progress-track span { display: block; width: 16.666%; height: 100%; background: linear-gradient(90deg, var(--orange), #ffb34f); border-radius: inherit; transition: width .35s ease; }
.form-step { max-width: 860px; margin: 0 auto; animation: step-in .28s ease both; }
@keyframes step-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.form-step h2, .success-card h2 { margin: 0 0 18px; color: var(--blue-950); font: 900 clamp(30px, 4vw, 44px)/1.08 "Nunito", sans-serif; letter-spacing: -.035em; }
.form-step > p:not(.step-kicker), .success-card > p { color: var(--muted); line-height: 1.7; }
.form-step h3 { margin: 28px 0 13px; color: var(--blue-950); font: 800 19px/1.2 "Nunito", sans-serif; }
.form-step h3 small { color: var(--muted); font: 600 12px/1 "Manrope", sans-serif; }
.helper { margin-top: -6px; font-size: 13px; }
.notice { margin: 24px 0; padding: 20px 22px; border-radius: 18px; font-size: 14px; line-height: 1.65; }
.notice ul { display: grid; gap: 9px; margin: 0; padding-left: 19px; }
.notice-blue { color: var(--blue-950); background: #eff8fc; border: 1px solid rgba(20,119,189,.16); }
.notice-orange { color: #74370b; background: #fff4e8; border: 1px solid rgba(244,123,32,.19); }

.field-grid { display: grid; gap: 16px; }
.field-grid.two { grid-template-columns: 1fr 1fr; }
.field, .choice-field { margin: 0 0 17px; }
.field { display: grid; gap: 7px; }
.field > span, .choice-field legend, .static-field > span { color: var(--blue-950); font-size: 13px; font-weight: 800; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid var(--line); border-radius: 13px; outline: 0; background: #fbfdfe; color: var(--ink); transition: .2s ease; }
.field input, .field select { height: 50px; padding: 0 14px; }
.field textarea { min-height: 98px; padding: 13px 14px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue-700); box-shadow: 0 0 0 4px rgba(20,119,189,.11); background: white; }
[aria-invalid="true"] { border-color: #c73535 !important; background: #fff8f8 !important; }
.static-field { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin-bottom: 18px; padding: 15px 16px; background: var(--cream); border-radius: 13px; }
.static-field strong { color: var(--orange-dark); }
.choice-field { min-width: 0; padding: 0; border: 0; }
.choice-field legend { margin-bottom: 10px; line-height: 1.45; }
.choice-row { display: flex; gap: 10px; }
.choice-field label { display: flex; align-items: flex-start; gap: 10px; min-height: 48px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 13px; background: #fbfdfe; cursor: pointer; }
.choice-row label { flex: 1; align-items: center; }
.choice-field label:has(input:checked) { border-color: var(--blue-700); background: #eff8fc; box-shadow: 0 0 0 3px rgba(20,119,189,.08); }
.choice-field input { width: 18px; height: 18px; flex: 0 0 auto; margin: 1px 0 0; accent-color: var(--blue-900); }
.choice-field label span { font-size: 13px; line-height: 1.45; }
.choice-field.stacked { display: grid; gap: 9px; }
.choice-field.stacked legend { float: left; width: 100%; }
.choice-field.stacked label { clear: both; }

.check-card { display: flex; align-items: flex-start; gap: 11px; margin: 11px 0; padding: 15px 16px; border: 1px solid var(--line); border-radius: 14px; background: #fbfdfe; cursor: pointer; }
.check-card:has(input:checked) { border-color: var(--blue-700); background: #eff8fc; }
.check-card input { width: 19px; height: 19px; flex: 0 0 auto; margin: 1px 0 0; accent-color: var(--blue-900); }
.check-card span { font-size: 13px; line-height: 1.5; }
.check-card.subtle { background: white; }
.step-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 32px; }
.step-actions.single { justify-content: flex-end; }
.primary-button, .secondary-button, .whatsapp-button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 18px; padding: 0 22px; border-radius: 14px; font-weight: 800; cursor: pointer; text-decoration: none; transition: .2s ease; }
.primary-button { border: 0; color: white; background: var(--orange); box-shadow: 0 10px 24px rgba(244,123,32,.23); }
.primary-button:hover, .whatsapp-button:hover { transform: translateY(-2px); background: var(--orange-dark); }
.primary-button:disabled { opacity: .58; cursor: wait; transform: none; }
.secondary-button { border: 1px solid var(--line); color: var(--blue-900); background: white; }
.secondary-button:hover { background: #f2f8fa; }
.income-message { margin: 18px 0 0; padding: 18px; border: 1px solid rgba(244,123,32,.24); border-radius: 15px; color: #74370b; background: #fff4e8; font-size: 14px; line-height: 1.6; }
.value-highlight { padding: 18px; border-radius: 16px; color: var(--blue-950) !important; background: var(--cream); }
.support-box { margin-top: 30px; padding: 22px; border: 1px solid var(--line); border-radius: 20px; background: #f8fbfc; }
.support-box h3 { margin-top: 0; }
.support-box > p { color: var(--muted); font-size: 13px; line-height: 1.55; }
.sensitive-note { margin-bottom: 0; color: var(--blue-700) !important; font-weight: 700; }
.rules { margin: 22px 0; border: 1px solid var(--line); border-radius: 18px; background: #fbfdfe; }
.rules summary { padding: 16px 18px; color: var(--blue-950); font-size: 14px; font-weight: 800; cursor: pointer; }
.rules ol { display: grid; gap: 10px; margin: 0; padding: 0 24px 22px 42px; color: var(--muted); font-size: 12px; line-height: 1.55; }
.form-error { min-height: 22px; margin: 18px 0 0; color: #b52d2d; font-size: 13px; font-weight: 800; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.success-card { max-width: 720px; margin: 30px auto; text-align: center; animation: step-in .35s ease both; }
.success-icon { width: 72px; height: 72px; display: grid; place-items: center; margin: 0 auto 20px; border-radius: 50%; color: white; background: var(--orange); font-size: 34px; font-weight: 900; box-shadow: 0 15px 32px rgba(244,123,32,.25); }
.protocol-box { display: grid; gap: 5px; width: fit-content; margin: 24px auto; padding: 16px 24px; border: 1px dashed var(--blue-700); border-radius: 16px; background: #eff8fc; }
.protocol-box span { color: var(--muted); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.protocol-box strong { color: var(--blue-950); font: 900 22px/1.2 "Nunito", sans-serif; }
.last-step { padding: 18px; border-radius: 16px; background: var(--cream); }
.whatsapp-button { color: white; background: #168c4b; box-shadow: 0 12px 30px rgba(22,140,75,.23); }
.whatsapp-button:hover { background: #11723d; }
footer { padding: 28px 10px 0; color: var(--muted); font-size: 11px; text-align: center; line-height: 1.6; }
footer p { margin: 3px 0; }

@media (max-width: 760px) {
  .page-header { min-height: 78px; }
  .page-header span { display: none; }
  .page-header img { width: 200px; }
  .page-shell { width: min(100% - 20px, 640px); padding-top: 8px; }
  .intro-card { grid-template-columns: 1fr; gap: 26px; padding: 32px 24px; border-radius: 24px 24px 0 0; }
  .campaign-date { min-width: 0; width: fit-content; }
  .form-card { min-height: 560px; padding: 28px 20px 34px; border-radius: 0 0 24px 24px; }
  .field-grid.two { grid-template-columns: 1fr; gap: 0; }
  .progress-copy { align-items: flex-end; }
  .progress-copy span { max-width: 65%; }
  .step-actions { position: sticky; z-index: 5; bottom: 8px; padding: 10px; margin-inline: -10px; border: 1px solid rgba(11,79,138,.1); border-radius: 16px; background: rgba(255,255,255,.94); backdrop-filter: blur(12px); }
  .primary-button, .secondary-button { min-height: 50px; }
}

@media (max-width: 450px) {
  .intro-card h1 { font-size: 38px; }
  .lede { font-size: 15px; }
  .choice-row { display: grid; }
  .step-actions .primary-button { flex: 1; padding-inline: 14px; }
  .step-actions .secondary-button { padding-inline: 14px; }
  .support-box { padding: 17px 14px; }
}
