/* /regalo/ : "Regala creatividad" gift card page. Mobile first (375 px is the design size), cream / green / gold like /disena/ and /d/. Light only, no horizontal scroll, tap targets >= 44 px. */
:root { --paper: #fbf8f1; --card: #fff; --ink: #14161a; --ink-2: #555a52; --line: #e6dfcf; --green: #1f6f5c; --green-2: #17594a; --gold: #f2b23a; --soft: #f3efe4; --r: 8px;
  --display: "Gabarito", "Avenir Next", system-ui, sans-serif; --body: "Figtree", "Segoe UI", system-ui, sans-serif; color-scheme: light; }
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.5 var(--body); -webkit-text-size-adjust: 100%; overflow-x: hidden; -webkit-tap-highlight-color: transparent; }
img, canvas { max-width: 100%; display: block; }
p { margin: 0; overflow-wrap: anywhere; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

.rg-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: calc(10px + env(safe-area-inset-top, 0px)) 16px 10px; background: var(--paper); border-bottom: 1px solid var(--line); }
.rg-logo img { height: 28px; width: auto; }
.rg-toplink { display: inline-flex; align-items: center; min-height: 44px; color: var(--green); font-weight: 600; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }

.rg-main { max-width: 560px; margin: 0 auto; padding: 18px 16px 24px; display: grid; gap: 28px; }
h1 { font: 900 clamp(34px, 10vw, 52px)/1.02 var(--display); margin: 0; color: var(--green); letter-spacing: -0.01em; text-wrap: balance; }
h2 { font: 800 24px/1.15 var(--display); margin: 0; text-wrap: balance; }

.rg-hero { display: grid; gap: 10px; justify-items: start; }
.rg-eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-2); }
.rg-lead { font: 700 clamp(19px, 5.4vw, 24px)/1.25 var(--display); }
.rg-hero .rg-btn { width: 100%; margin-top: 4px; }
.rg-steps { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; width: 100%; }
.rg-steps li { display: grid; gap: 6px; justify-items: center; text-align: center; font-size: 14px; font-weight: 600; line-height: 1.2; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 10px 6px; }
.rg-steps b { width: 30px; height: 30px; border-radius: 50%; background: var(--gold); border: 2px solid var(--ink); display: inline-flex; align-items: center; justify-content: center; font: 900 16px var(--display); }

.rg-btn { min-height: 52px; padding: 8px 20px; border-radius: var(--r); display: inline-flex; align-items: center; justify-content: center; text-align: center; font: 700 17px/1.2 var(--body); text-decoration: none; cursor: pointer; border: 2px solid var(--ink); }
.rg-btn-primary { background: var(--gold); color: var(--ink); box-shadow: 3px 3px 0 var(--ink); }
.rg-btn-primary:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.rg-btn-ghost { background: var(--card); color: var(--ink); }
.rg-btn-wa { background: var(--green); border-color: var(--green); color: #fff; }
.rg-btn[disabled] { opacity: .6; }
.rg-link { background: none; border: 0; color: var(--green); font: 600 15px var(--body); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; padding: 10px 0; min-height: 44px; }

.rg-build { display: grid; gap: 14px; scroll-margin-top: 8px; }
.rg-pin { display: flex; justify-content: center; }
.rg-frame { width: min(100%, 360px); border-radius: 14px; overflow: hidden; background: var(--soft); box-shadow: 0 10px 30px -12px rgba(20, 22, 26, .35); aspect-ratio: 4 / 5; }
.rg-frame canvas { width: 100%; height: 100%; }
.rg-group { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; gap: 8px; }
.rg-group legend { font-weight: 700; font-size: 15px; padding: 0; margin-bottom: 4px; }
.rg-picks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.rg-pick { padding: 0; border: 2px solid var(--line); border-radius: 10px; background: var(--card); cursor: pointer; overflow: hidden; display: grid; min-height: 44px; }
.rg-pick canvas { width: 100%; height: auto; aspect-ratio: 4 / 5; }
.rg-pick.is-on { border-color: var(--green); box-shadow: 0 0 0 2px var(--paper), 0 0 0 4px var(--green); }
.rg-pick span { font-size: 12.5px; font-weight: 600; padding: 4px 2px 6px; line-height: 1.1; }

.rg-field { display: grid; gap: 4px; }
.rg-field label { font-weight: 700; font-size: 15px; display: flex; justify-content: space-between; gap: 8px; }
.rg-count { font-weight: 500; color: var(--ink-2); font-size: 13px; }
.rg-field input, .rg-field textarea { min-height: 52px; padding: 10px 14px; border: 2px solid var(--line); border-radius: var(--r); background: var(--card); font: 600 17px var(--body); color: var(--ink); width: 100%; }
.rg-field textarea { resize: vertical; line-height: 1.35; }
.rg-field input:focus, .rg-field textarea:focus { border-color: var(--green); outline: none; }
.rg-actions { display: grid; gap: 10px; justify-items: stretch; }
.rg-actions .rg-link { justify-self: center; }
.rg-note { font-size: 13.5px; color: var(--ink-2); }
.rg-toast { min-height: 1.3em; font-weight: 700; color: var(--green); font-size: 15px; }

.rg-wait { background: var(--green); color: #fff; border-radius: 16px; padding: 20px 16px; display: grid; gap: 12px; scroll-margin-top: 8px; }
.rg-badge { justify-self: start; background: var(--gold); color: var(--ink); font-weight: 800; font-size: 12.5px; letter-spacing: .04em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.rg-sub { color: #dcebe5; font-size: 15px; }
.rg-form { display: grid; gap: 12px; }
.rg-group-light legend { color: #fff; }
.rg-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.rg-chip { min-height: 48px; min-width: 64px; padding: 8px 16px; border-radius: 999px; border: 2px solid transparent; background: #fff; color: var(--ink); font: 700 16px var(--body); cursor: pointer; }
.rg-chip.is-on { background: var(--gold); border-color: var(--ink); }
.rg-hint { font-size: 13px; color: #dcebe5; }
.rg-l { display: grid; gap: 4px; font-weight: 600; font-size: 14px; }
.rg-l input, .rg-l select { min-height: 48px; border-radius: var(--r); border: 2px solid transparent; padding: 8px 12px; font: 16px var(--body); background: #fff; color: var(--ink); width: 100%; }
.rg-l input:focus, .rg-l select:focus { border-color: var(--gold); outline: none; }
.rg-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: #dcebe5; min-height: 44px; }
.rg-consent input { width: 24px; height: 24px; margin-top: 0; accent-color: var(--gold); flex: 0 0 auto; }
.rg-consent a { color: #fff; }
.rg-form .rg-btn { width: 100%; }
.rg-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.rg-status { min-height: 1.3em; font-weight: 600; }
.rg-status.is-err { color: #ffd38a; }
.rg-status.is-ok { background: rgba(255, 255, 255, .14); padding: 10px 12px; border-radius: var(--r); }
.is-invalid { outline: 3px solid #ffd38a !important; outline-offset: 2px; border-radius: var(--r); }
.rg-small { font-size: 14px; font-weight: 600; color: #fff; }

.rg-faq { display: grid; gap: 8px; }
.rg-faq details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 0 14px; }
.rg-faq summary { cursor: pointer; font-weight: 700; min-height: 48px; display: flex; align-items: center; padding: 8px 0; }
.rg-faq details p { padding: 0 0 14px; color: var(--ink-2); font-size: 15px; }

.rg-foot { text-align: center; font-size: 14px; color: var(--ink-2); padding: 8px 16px calc(28px + env(safe-area-inset-bottom, 0px)); }
.rg-foot a { color: var(--green); display: inline-block; padding: 12px 4px; }
.rg-noscript { text-align: center; padding: 16px; }

@media (min-width: 720px) { .rg-main { max-width: 640px; } .rg-hero .rg-btn { width: auto; } }
@media (prefers-reduced-motion: reduce) { .rg-btn, .rg-chip { transition: none; } html { scroll-behavior: auto; } }
.cq-cuenta { color: var(--green); font: 700 14px/1 var(--body); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; display: inline-flex; align-items: center; min-height: 44px; }
.rg-top { justify-content: flex-start; } .rg-toplink { margin-left: auto; }
@media (max-width: 420px) { .rg-top { gap: 8px; } .rg-logo img { height: 24px; } .rg-toplink, .cq-cuenta { font-size: 13px; } }
.rg-wait .rg-btn { width: 100%; }
.rg-sublink { color: #fff; text-decoration: underline; text-underline-offset: 3px; display: inline-block; padding: 12px 0; min-height: 44px; }
