:root {
  --green-950: #032d1b;
  --green-900: #064327;
  --green-800: #075a31;
  --green-700: #08723c;
  --green-100: #e7f2e4;
  --cream: #fff8e8;
  --gold: #f3b914;
  --gold-bright: #ffd84e;
  --ink: #163023;
  --muted: #607066;
  --white: #ffffff;
  --line: rgba(8, 72, 41, .14);
  --error: #b42318;
  --shadow: 0 24px 80px rgba(2, 36, 20, .2);
}

* { box-sizing: border-box; }
html { min-height: 100%; scroll-behavior: smooth; }
body { margin: 0; }
body, button, input, textarea { font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
svg { width: 1.2em; height: 1.2em; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.svg-library { position: absolute; width: 0; height: 0; overflow: hidden; }
[hidden] { display: none !important; }

.flow-body {
  min-height: 100%;
  color: var(--ink);
  background:
    radial-gradient(circle at 82% 12%, rgba(255,216,78,.15), transparent 30%),
    linear-gradient(150deg, var(--green-950) 0, #06482a 390px, #f8f2e2 390px, #fffdf7 100%);
  -webkit-font-smoothing: antialiased;
}
.flow-shell { min-height: 100vh; }
.flow-width { width: min(1100px, calc(100% - 40px)); margin-inline: auto; }

.flow-header { min-height: 106px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid rgba(255,255,255,.14); }
.flow-brand img { display: block; width: 164px; height: 88px; object-fit: contain; filter: drop-shadow(0 9px 20px rgba(0,0,0,.25)); }
.back-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: rgba(255,255,255,.84); font-size: 13px; font-weight: 800; text-decoration: none; }
.back-link:hover, .back-link:focus-visible { color: var(--gold-bright); outline: none; }

.flow-eyebrow { display: inline-flex; align-items: center; gap: 9px; color: var(--gold-bright); font-size: 11px; font-weight: 900; letter-spacing: .17em; text-transform: uppercase; }
.flow-eyebrow::before { content: ""; width: 30px; height: 2px; background: currentColor; }

.choice-section { display: grid; grid-template-columns: minmax(0, .86fr) minmax(480px, 1.14fr); gap: clamp(46px, 7vw, 90px); align-items: center; min-height: calc(100vh - 182px); padding-block: 70px 88px; }
.choice-copy { color: white; }
.choice-copy h1, .order-intro h1 { margin: 18px 0 20px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(45px, 5.5vw, 68px); line-height: .98; letter-spacing: -.045em; }
.choice-copy > p, .order-intro > p { margin: 0; color: rgba(255,255,255,.74); font-size: 17px; line-height: 1.7; }
.flow-trust { display: flex; align-items: flex-start; gap: 10px; margin-top: 28px; color: rgba(255,255,255,.68); font-size: 12px; line-height: 1.55; }
.flow-trust svg { margin-top: 1px; color: var(--gold-bright); }

.choice-cards { display: grid; gap: 14px; padding: 26px; border: 1px solid rgba(255,255,255,.18); border-radius: 28px; background: rgba(255,253,247,.97); box-shadow: var(--shadow); backdrop-filter: blur(16px); }
.choice-card { display: grid; grid-template-columns: 58px 1fr auto; gap: 16px; align-items: center; min-height: 142px; padding: 20px; border: 1px solid var(--line); border-radius: 21px; background: white; box-shadow: 0 10px 28px rgba(3,53,29,.06); text-decoration: none; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.choice-card:hover, .choice-card:focus-visible { transform: translateY(-3px); border-color: rgba(8,114,60,.4); box-shadow: 0 16px 34px rgba(3,53,29,.11); outline: none; }
.choice-card-primary { color: white; border-color: var(--green-800); background: linear-gradient(135deg, var(--green-800), var(--green-950)); }
.choice-icon { display: grid; width: 58px; height: 58px; place-items: center; border-radius: 18px; color: var(--green-800); background: var(--green-100); }
.choice-icon svg { width: 27px; height: 27px; }
.choice-card-primary .choice-icon { color: var(--green-950); background: var(--gold-bright); }
.choice-content strong, .choice-content small, .choice-content em { display: block; }
.choice-content strong { font-size: 18px; line-height: 1.2; }
.choice-content small { margin-top: 7px; color: var(--muted); font-size: 13px; line-height: 1.45; }
.choice-content em { margin-top: 10px; color: var(--green-700); font-size: 10px; font-style: normal; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.choice-card-primary small { color: rgba(255,255,255,.7); }
.choice-card-primary em, .choice-card-primary b { color: var(--gold-bright); }
.choice-card > b { color: #8ca094; font-size: 24px; }

.flow-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; color: #718078; font-size: 11px; }
.choice-section + .flow-footer { color: rgba(255,255,255,.58); }
.flow-footer a { font-weight: 850; text-underline-offset: 4px; }

.order-layout { display: grid; grid-template-columns: minmax(300px, .74fr) minmax(520px, 1.26fr); gap: clamp(44px, 6vw, 78px); align-items: start; padding-block: 66px 84px; }
.order-intro { position: sticky; top: 28px; color: white; padding-top: 24px; }
.order-intro h1 { font-size: clamp(42px, 5vw, 62px); }
.order-benefits { display: grid; gap: 13px; margin: 28px 0 0; padding: 0; list-style: none; color: rgba(255,255,255,.74); font-size: 13px; font-weight: 700; }
.order-benefits li { display: flex; align-items: flex-start; gap: 9px; }
.order-benefits svg { margin-top: 1px; color: var(--gold-bright); }

.form-card { min-width: 0; padding: 30px; border: 1px solid rgba(255,255,255,.18); border-radius: 28px; background: #fffdf8; box-shadow: var(--shadow); }
.progress-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.progress-head span, .progress-head strong { display: block; }
.progress-head span { color: var(--green-700); font-size: 10px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.progress-head strong { margin-top: 4px; color: var(--green-950); font-size: 16px; }
.time-pill { padding: 8px 11px; border-radius: 999px; color: #6a5820 !important; background: #fff1b8; font-size: 9px !important; }
.progress-track { height: 7px; margin: 18px 0 30px; overflow: hidden; border-radius: 999px; background: #e4eadf; }
.progress-track span { display: block; width: 33.333%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--green-700), var(--gold)); transition: width .35s cubic-bezier(.22,1,.36,1); }

.form-step { animation: step-in .35s both cubic-bezier(.22,1,.36,1); }
.step-heading { margin-bottom: 26px; }
.step-heading > span { color: var(--green-700); font-size: 10px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.step-heading h2 { margin: 7px 0 0; color: var(--green-950); font-family: Georgia, "Times New Roman", serif; font-size: clamp(30px, 4vw, 41px); line-height: 1.02; letter-spacing: -.035em; }
.step-heading p { margin: 10px 0 0; color: var(--muted); font-size: 13px; line-height: 1.55; }

fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.field-group { margin-top: 22px; }
.field-group:first-of-type { margin-top: 0; }
.field-group label, .field-group legend { display: block; margin-bottom: 8px; color: var(--green-950); font-size: 13px; font-weight: 850; }
.field-group label > b, .field-group legend > b { margin-left: 5px; color: #7a877f; font-size: 9px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.field-group input[type="text"], .field-group textarea { width: 100%; min-height: 52px; padding: 13px 14px; border: 1px solid rgba(7,90,49,.2); border-radius: 13px; color: var(--ink); background: white; outline: none; transition: border-color .18s ease, box-shadow .18s ease; }
.field-group textarea { resize: vertical; line-height: 1.5; }
.field-group input[type="text"]:focus, .field-group textarea:focus { border-color: var(--green-700); box-shadow: 0 0 0 4px rgba(8,114,60,.11); }
.field-group input[aria-invalid="true"], .field-group textarea[aria-invalid="true"] { border-color: var(--error); box-shadow: 0 0 0 4px rgba(180,35,24,.08); }
.field-help { display: block; margin-top: 7px; color: #77837b; font-size: 10px; line-height: 1.45; }
.field-error, .form-global-error { min-height: 0; margin: 6px 0 0; color: var(--error); font-size: 11px; font-weight: 750; line-height: 1.4; }
.field-error:empty, .form-global-error:empty { margin: 0; }

.option-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; }
.select-option { position: relative; display: flex !important; align-items: center; gap: 10px; min-height: 50px; margin: 0 !important; padding: 11px 12px; border: 1px solid var(--line); border-radius: 13px; color: var(--ink) !important; background: white; cursor: pointer; transition: border-color .18s ease, background .18s ease, transform .18s ease; }
.select-option:hover { transform: translateY(-1px); border-color: rgba(8,114,60,.38); }
.select-option:has(input:checked) { border-color: var(--green-700); background: #edf7e9; box-shadow: inset 0 0 0 1px var(--green-700); }
.select-option input { width: 18px; height: 18px; flex: 0 0 auto; margin: 0; accent-color: var(--green-700); }
.select-option > span { font-size: 12px; font-weight: 800; line-height: 1.25; }
.select-option > span small { display: block; margin-top: 2px; color: var(--muted); font-size: 9px; font-weight: 650; }
.option-wide { grid-column: 1 / -1; }

.location-options { display: grid; gap: 10px; }
.location-option { align-items: flex-start; min-height: 70px; }
.location-option input { margin-top: 3px; }
.location-option span strong, .location-option span small { display: block; }
.location-option span strong { font-size: 13px; }
.location-option span small { margin-top: 3px; color: var(--muted); font-size: 10px; font-weight: 600; line-height: 1.35; }
.conditional-field { margin-top: 20px; padding: 18px; border: 1px solid rgba(7,90,49,.12); border-radius: 16px; background: #f5f8f1; }
.conditional-field .field-group { margin: 0; }
.location-button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 50px; width: 100%; padding: 0 16px; border: 0; border-radius: 13px; color: white; background: linear-gradient(135deg, var(--green-700), var(--green-950)); font-weight: 850; cursor: pointer; }
.location-button:hover, .location-button:focus-visible { outline: none; box-shadow: 0 0 0 4px rgba(8,114,60,.15); }
.location-button.is-loading { opacity: .72; cursor: wait; }
.location-status { margin: 11px 2px 0; color: var(--muted); font-size: 10px; line-height: 1.5; }
.location-status.is-success { color: var(--green-700); font-weight: 800; }

.order-summary { display: grid; gap: 12px; padding: 20px; border: 1px solid rgba(7,90,49,.14); border-radius: 18px; background: linear-gradient(145deg, #f4f8ef, #fff9e9); }
.summary-row { display: grid; grid-template-columns: 105px 1fr; gap: 14px; padding-bottom: 12px; border-bottom: 1px solid rgba(7,90,49,.1); }
.summary-row:last-child { padding-bottom: 0; border-bottom: 0; }
.summary-row span { color: #738078; font-size: 9px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.summary-row strong { min-width: 0; color: var(--green-950); font-size: 12px; line-height: 1.45; overflow-wrap: anywhere; }
.privacy-box { display: flex; align-items: flex-start; gap: 10px; margin-top: 20px; padding: 13px 14px; border-left: 3px solid var(--gold); border-radius: 8px 13px 13px 8px; color: #5f694f; background: #fff4c8; font-size: 10px; line-height: 1.5; }
.privacy-box svg { margin-top: 1px; color: var(--green-700); }

.form-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 28px; }
.button-primary, .button-secondary, .button-whatsapp { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 52px; padding: 0 19px; border-radius: 13px; font-weight: 900; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease; }
.button-primary:hover, .button-secondary:hover, .button-whatsapp:hover { transform: translateY(-1px); }
.button-primary { border: 0; color: white; background: linear-gradient(135deg, var(--green-700), var(--green-950)); box-shadow: 0 12px 28px rgba(3,57,31,.18); }
.button-secondary { border: 1px solid var(--line); color: var(--green-800); background: white; }
.button-whatsapp { flex: 1; border: 0; color: white; background: linear-gradient(135deg, #22a95b, #08743e); box-shadow: 0 13px 30px rgba(10,128,67,.22); }
.button-whatsapp svg { width: 23px; height: 23px; }
.noscript-message { padding: 14px; border-radius: 12px; color: #703f00; background: #fff1c7; font-size: 12px; line-height: 1.5; }

@keyframes step-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 900px) {
  .flow-body { background: linear-gradient(160deg, var(--green-950) 0, #06482a 540px, #f7f0dd 540px, #fffdf7 100%); }
  .choice-section, .order-layout { grid-template-columns: 1fr; }
  .choice-section { gap: 38px; min-height: auto; padding-block: 52px 72px; }
  .choice-copy { max-width: 710px; }
  .choice-cards { max-width: 680px; }
  .order-layout { gap: 34px; padding-top: 48px; }
  .order-intro { position: static; max-width: 710px; padding-top: 0; }
  .form-card { max-width: 720px; width: 100%; }
}

@media (max-width: 620px) {
  .flow-body { background: linear-gradient(170deg, var(--green-950) 0, #06482a 570px, #f7f0dd 570px, #fffdf7 100%); }
  .flow-width { width: min(100% - 28px, 1100px); }
  .flow-header { min-height: 88px; }
  .flow-brand img { width: 132px; height: 70px; }
  .back-link { font-size: 11px; }
  .choice-section { padding-top: 42px; }
  .choice-copy h1, .order-intro h1 { font-size: clamp(39px, 12vw, 53px); }
  .choice-copy > p, .order-intro > p { font-size: 15px; }
  .choice-cards { padding: 16px; border-radius: 22px; }
  .choice-card { grid-template-columns: 49px 1fr auto; min-height: 132px; padding: 15px; border-radius: 17px; }
  .choice-icon { width: 49px; height: 49px; border-radius: 15px; }
  .choice-icon svg { width: 23px; height: 23px; }
  .choice-content strong { font-size: 15px; }
  .choice-content small { font-size: 11px; }
  .flow-footer { align-items: flex-start; flex-direction: column; justify-content: center; padding-block: 24px; }
  .order-layout { padding-block: 38px 64px; }
  .order-intro { padding-bottom: 6px; }
  .order-benefits { font-size: 11px; }
  .form-card { margin-inline: -2px; padding: 20px 16px; border-radius: 22px; }
  .progress-head { align-items: flex-start; }
  .time-pill { display: none !important; }
  .step-heading h2 { font-size: 31px; }
  .option-grid { grid-template-columns: 1fr; }
  .option-wide { grid-column: auto; }
  .select-option { min-height: 54px; }
  .summary-row { grid-template-columns: 82px 1fr; gap: 10px; }
  .form-actions { align-items: stretch; flex-direction: column-reverse; }
  .button-primary, .button-secondary, .button-whatsapp { width: 100%; min-height: 55px; }
}

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