:root {
  --teal: #21a7a0;
  --teal-dark: #117f7a;
  --teal-soft: #e8f7f5;
  --coral: #ef8c7f;
  --coral-soft: #fff0ed;
  --cream: #fffaf5;
  --ink: #334847;
  --muted: #6f7f7e;
  --line: #dfe9e7;
  --white: #fff;
  --shadow: 0 18px 45px rgba(32, 94, 90, .09);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "Poppins", Arial, sans-serif; color: var(--ink); background: var(--cream); -webkit-font-smoothing: antialiased; }
button, input { font: inherit; }
a { color: inherit; }
[hidden] { display: none !important; }

.site-header { height: 92px; padding: 0 max(24px, calc((100% - 1120px) / 2)); display: flex; align-items: center; background: rgba(255,255,255,.98); border-bottom: 1px solid #e6efed; }
.brand { width: 74px; height: 74px; display: block; text-decoration: none; }
.brand img { width: 100%; height: 100%; display: block; object-fit: contain; }

.hero { max-width: 1120px; margin: 0 auto; padding: 72px 48px 84px; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 80px; position: relative; background-image: linear-gradient(rgba(255,250,245,.91), rgba(255,250,245,.91)), url("assets/arabesco-claro.jpg"); background-position: center; background-size: auto, 560px auto; border-radius: 0 0 34px 34px; }
.hero h1 { font-size: clamp(42px, 5vw, 68px); line-height: 1.06; letter-spacing: -.05em; margin: 15px 0 22px; color: #284746; }
.hero p { font-size: 17px; line-height: 1.75; max-width: 600px; color: var(--muted); margin: 0 0 30px; }
.eyebrow { display: inline-block; color: var(--coral); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.button { min-height: 54px; border: 0; border-radius: 999px; padding: 15px 25px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; font-weight: 600; text-decoration: none; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: white; background: var(--teal); box-shadow: 0 10px 24px rgba(33, 167, 160, .22); }
.button-primary:hover { background: var(--teal-dark); }
.hero-note { display: block; color: #8a9896; font-size: 12px; margin: 15px 0 0 8px; }
.prize-card { height: 390px; border-radius: 45% 45% 30px 30px; background-color: var(--coral-soft); background-image: linear-gradient(rgba(255,240,237,.72), rgba(255,240,237,.72)), url("assets/arabesco-coral.png"); background-position: center; background-size: auto, 260px auto; position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow); }
.prize-card:before { content: ""; width: 280px; height: 280px; position: absolute; border-radius: 50%; background: rgba(255,255,255,.7); }
.prize-copy { position: absolute; bottom: 28px; text-align: center; display: flex; flex-direction: column; color: var(--ink); }
.prize-copy strong { font-size: 18px; }.prize-copy span { color: var(--coral); font-size: 12px; font-weight: 600; }
.gift { width: 170px; height: 160px; position: relative; z-index: 1; margin-top: -20px; filter: drop-shadow(0 18px 15px rgba(143,82,71,.15)); animation: gift-float 3.4s ease-in-out infinite; will-change: transform; }
.gift-box { position: absolute; width: 145px; height: 100px; left: 13px; bottom: 0; background: var(--teal); border-radius: 7px 7px 18px 18px; }
.gift-box:before { content:""; position:absolute; width: 25px; height:100%; background:#f8d174; left:60px; }
.gift-lid { position:absolute; width:170px; height:32px; bottom:92px; left:0; background:var(--teal-dark); border-radius:10px; z-index:2; }
.gift-lid:before { content:""; position:absolute; width:27px; height:100%; background:#f8d174; left:71px; }
.gift-bow { position:absolute; width:55px; height:42px; border:13px solid #f8d174; bottom:118px; left:31px; border-radius:55% 45% 25% 50%; transform:rotate(18deg); }
.gift-bow.right { left:83px; transform:rotate(-18deg) scaleX(-1); }
.sun { position:absolute; width:12px; height:12px; border-radius:50%; background:#f3c25c; top:55px; left:55px; box-shadow: 0 -22px 0 -4px #f3c25c, 0 22px 0 -4px #f3c25c, 22px 0 0 -4px #f3c25c, -22px 0 0 -4px #f3c25c; }
.sun-two { top:96px; left:auto; right:50px; transform:scale(.7); background:var(--coral); box-shadow: 0 -22px 0 -4px var(--coral), 0 22px 0 -4px var(--coral), 22px 0 0 -4px var(--coral), -22px 0 0 -4px var(--coral); }
.prize-card:hover .gift { animation: gift-hop .7s ease-in-out, gift-float 3.4s .7s ease-in-out infinite; }
.sun-one { animation: twinkle 2.1s ease-in-out infinite; }.sun-two { animation: twinkle 2.1s .65s ease-in-out infinite; }
.sparkle-particle { --sparkle-color: #f3c25c; position: absolute; z-index: 4; width: 8px; height: 8px; left: var(--sparkle-x); top: var(--sparkle-y); pointer-events: none; background: var(--sparkle-color); transform: rotate(45deg); border-radius: 2px; animation: sparkle-pop .85s ease-out forwards; }
.sparkle-particle::after { content: ""; position: absolute; inset: 2px -3px; border-radius: inherit; background: inherit; }
@keyframes gift-float { 0%, 100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-10px) rotate(1deg); } }
@keyframes gift-hop { 0%, 100% { transform: translateY(0) scale(1); } 45% { transform: translateY(-18px) scale(1.04); } 70% { transform: translateY(-5px) scale(.98); } }
@keyframes twinkle { 0%, 100% { opacity: .55; } 50% { opacity: 1; filter: brightness(1.1); } }
@keyframes sparkle-pop { 0% { opacity: 0; transform: translate(-50%, -50%) rotate(45deg) scale(.2); } 35% { opacity: 1; } 100% { opacity: 0; transform: translate(calc(-50% + var(--sparkle-dx)), calc(-50% + var(--sparkle-dy))) rotate(135deg) scale(1.15); } }

.form-section { background-color: var(--white); background-image: linear-gradient(rgba(255,255,255,.96), rgba(255,255,255,.96)), url("assets/arabesco-claro.jpg"); background-position: center; background-size: auto, 700px auto; padding: 80px 24px 100px; }
.form-intro { text-align: center; max-width: 650px; margin: 0 auto 36px; }
.form-intro h2, .success-card h2 { font-size: clamp(32px, 4vw, 46px); letter-spacing: -.04em; margin: 7px 0; }
.form-intro p { margin: 0; color: var(--muted); }
form { max-width: 820px; margin: 0 auto; }
.form-step { border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; margin: 0 0 22px; box-shadow: 0 10px 35px rgba(32,94,90,.055); min-width: 0; }
.form-step legend { padding: 0 15px 0 0; display: flex; align-items: center; gap: 13px; font-size: 19px; font-weight: 600; }
.form-step legend small { display: block; color: var(--muted); font-size: 10px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.step-number { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: white; background: var(--teal); font-size: 14px; box-shadow: 0 6px 16px rgba(33,167,160,.2); }
.step-number.coral { background: var(--coral); box-shadow: 0 6px 16px rgba(239,140,127,.2); }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 10px; }
.field-wide { grid-column: 1/-1; }
.field { font-size: 13px; font-weight: 600; color: #49605e; }
.field > span { color: var(--coral); }.field em { float: right; font-size: 10px; color: #96a4a2; font-style: normal; font-weight: 500; }
.field input { display: block; width: 100%; height: 54px; margin-top: 8px; padding: 0 16px; border: 1.5px solid var(--line); border-radius: 13px; outline: none; color: var(--ink); background: #fbfdfc; transition: border .2s, box-shadow .2s; }
.field input:focus { border-color: var(--teal); box-shadow: 0 0 0 4px var(--teal-soft); background: white; }
.field input::placeholder { color: #adb8b6; font-weight: 400; }
.children-field { margin-top: 2px; }
.children-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; color: #49605e; font-size: 13px; font-weight: 600; }
.children-heading b { color: var(--coral); }.children-heading small { color: #96a4a2; font-size: 10px; font-weight: 500; }
.children-list { display: grid; gap: 12px; }
.child-row { padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: #fbfdfc; }
.child-row-heading { display: none; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.child-row-heading strong { color: var(--teal-dark); font-size: 12px; }
.remove-child { padding: 4px 0; border: 0; color: #b85e56; background: transparent; font-size: 10px; font-weight: 600; cursor: pointer; }
.child-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.children-list.has-multiple .child-row-heading { display: flex; }
.add-child { min-height: 42px; margin-top: 11px; padding: 8px 14px; border: 1.5px dashed #9bcfcb; border-radius: 12px; color: var(--teal-dark); background: var(--teal-soft); font-size: 11px; font-weight: 600; cursor: pointer; }
.add-child span { display: inline-grid; place-items: center; width: 19px; height: 19px; margin-right: 5px; border-radius: 50%; color: white; background: var(--teal); }
.helper { color: var(--muted); font-size: 12px; margin: 6px 0 18px; }
.choice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 11px; }
.choice-card { position: relative; min-height: 114px; border: 1.5px solid var(--line); border-radius: 16px; padding: 18px 14px; display: flex; flex-direction: column; gap: 8px; cursor: pointer; font-size: 13px; font-weight: 600; transition: .2s; }
.choice-card input, .pill input, .radio-list input, .check-row input { position: absolute; opacity: 0; pointer-events: none; }
.choice-card i { position: absolute; right: 11px; top: 11px; width: 20px; height: 20px; border-radius: 50%; background: var(--teal); color: white; display: none; place-items: center; font-size: 11px; font-style: normal; }
.choice-card:has(input:checked) { border-color: var(--teal); background: var(--teal-soft); color: var(--teal-dark); }
.choice-card:has(input:checked) i { display: grid; }
.choice-icon { width: 33px; height: 33px; display: grid; place-items: center; border-radius: 10px; background: var(--coral-soft); color: var(--coral); font-size: 20px; }
.pill-grid { display: flex; flex-wrap: wrap; gap: 9px; }
.pill { position: relative; cursor: pointer; }
.pill span { display: block; padding: 11px 15px; border: 1.5px solid var(--line); border-radius: 999px; font-size: 12px; font-weight: 500; transition: .2s; }
.pill:has(input:checked) span { color: var(--teal-dark); border-color: var(--teal); background: var(--teal-soft); }
.check-panel { border-radius: 16px; padding: 18px; background: var(--teal-soft); margin: 8px 0 26px; }
.consent-panel { background: #f7f8f7; margin: 24px 0 0; }
.check-row { display: flex; gap: 13px; cursor: pointer; position: relative; align-items: flex-start; }
.custom-check { flex: 0 0 23px; width: 23px; height: 23px; border: 1.5px solid #a8bdb9; border-radius: 7px; background: white; color: transparent; display: grid; place-items: center; font-size: 12px; margin-top: 1px; }
.check-row input:checked + .custom-check { background: var(--teal); border-color: var(--teal); color: white; }
.check-row strong { display: block; font-size: 13px; }.check-row small { display: block; color: var(--muted); font-size: 11px; margin-top: 3px; line-height: 1.5; }
.visit-block h3 { font-size: 15px; margin: 0 0 13px; }
.radio-list { display: grid; gap: 9px; }
.radio-list label { min-height: 51px; border: 1.5px solid var(--line); border-radius: 13px; padding: 12px 13px; display: flex; align-items: center; gap: 11px; position: relative; cursor: pointer; font-size: 12px; font-weight: 500; }
.radio-list label > span { width: 19px; height: 19px; flex: 0 0 19px; border: 1.5px solid #a9b7b5; border-radius: 50%; box-shadow: inset 0 0 0 4px white; background: white; }
.radio-list label:has(input:checked) { border-color: var(--teal); background: var(--teal-soft); color: var(--teal-dark); }
.radio-list label:has(input:checked) > span { background: var(--teal); border-color: var(--teal); }
.radio-list b { margin-left: auto; white-space: nowrap; color: var(--coral); background: var(--coral-soft); padding: 4px 7px; border-radius: 999px; font-size: 9px; }
.group-error, .error-message { display: none; color: #c95f55; font-size: 10px; margin-top: 7px; font-weight: 500; }
.field.invalid input { border-color: #d96e63; background: #fff9f8; }.field.invalid .error-message, .invalid-group > .group-error, .check-panel.invalid-group .group-error { display: block; }
.submit-area { text-align: center; padding-top: 14px; }.submit-area p { color: var(--muted); font-size: 10px; max-width: 540px; margin: 0 auto 18px; }
.submit-button { min-width: 250px; }.submit-button[disabled] { cursor: wait; opacity: .75; transform: none; }
.spinner { display: none; width: 18px; height: 18px; border: 2px solid rgba(255,255,255,.45); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }
.is-loading .spinner { display: block; }.is-loading .button-label { opacity: .8; }
.submit-error { margin: 14px auto 0; color: #b44e45; background: var(--coral-soft); padding: 11px; border-radius: 12px; font-size: 12px; max-width: 500px; }
@keyframes spin { to { transform: rotate(360deg); } }

.success-card { max-width: 720px; margin: 80px auto; padding: 60px 30px; text-align: center; background: white; border-radius: 30px; box-shadow: var(--shadow); }
.success-card p { color: var(--muted); line-height: 1.7; max-width: 560px; margin: 10px auto 24px; }.success-card .visit-success { padding: 16px; background: var(--coral-soft); border-radius: 14px; color: var(--ink); }
.success-icon { width: 66px; height: 66px; display: grid; place-items: center; margin: 0 auto 18px; border-radius: 50%; background: var(--teal-soft); color: var(--teal); font-size: 27px; }
footer { min-height: 190px; padding: 28px 24px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: white; font-size: 11px; text-align: center; background-color: #43b8ae; background-image: linear-gradient(rgba(35,161,151,.72), rgba(35,161,151,.72)), url("assets/arabesco-turquesa.png"); background-position: center; background-size: auto, 260px auto; }
.footer-logo { width: 106px; height: 76px; object-fit: contain; margin-bottom: 5px; }
footer p { margin: 4px; }footer a { color: white; margin-top: 5px; text-underline-offset: 3px; }

@media (max-width: 760px) {
  .site-header { height: 78px; padding: 0 18px; justify-content: center; }.brand { width: 64px; height: 64px; }
  .hero { padding: 45px 20px 60px; grid-template-columns: 1fr; gap: 38px; text-align: center; border-radius: 0 0 24px 24px; background-size: auto, 430px auto; }.hero h1 { font-size: 40px; }.hero p { font-size: 15px; line-height: 1.65; }.hero .button { width: 100%; }.hero-note { margin-left: 0; }
  .prize-card { height: 300px; border-radius: 38% 38% 24px 24px; }.gift { transform: scale(.8); }.prize-copy { bottom: 22px; }
  .form-section { padding: 60px 14px 75px; }.form-intro { margin-bottom: 28px; }.form-intro h2 { font-size: 34px; }
  .form-step { padding: 24px 17px 22px; border-radius: 20px; }.form-step legend { font-size: 16px; padding-right: 8px; }.step-number { width: 36px; height: 36px; }
  .field-grid { grid-template-columns: 1fr; gap: 16px; }.field-wide { grid-column: auto; }.field input { height: 56px; font-size: 16px; }
  .children-heading { align-items: flex-start; flex-direction: column; gap: 3px; }.child-fields { grid-template-columns: 1fr; }.child-row { padding: 14px; }
  .choice-grid { grid-template-columns: 1fr 1fr; }.choice-card { min-height: 105px; }.choice-card:last-child:nth-child(odd) { grid-column: 1/-1; min-height: 78px; }
  .radio-list label { align-items: flex-start; line-height: 1.45; }.radio-list b { display: none; }
  .submit-button { width: 100%; min-height: 58px; }.success-card { margin: 40px 14px; padding: 45px 20px; }
}

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