@charset "UTF-8";
:root {
  color-scheme: dark;
  font-family: "Segoe UI", Arial, sans-serif;
  color: #fff8ff;
  background: #12051e;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
}
* { box-sizing: border-box; }
html, body { margin: 0; min-width: 0; width: 100%; }
body { min-height: 100svh; display: flex; flex-direction: column; align-items: center; isolation: isolate; }
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1;
  background: linear-gradient(#140624c9, #140624e6), url('/assets/portada-cristales-20260926.jpg') center / cover;
  filter: blur(24px); pointer-events: none;
}
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
button, a, svg { touch-action: manipulation; }
.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}
.stage {
  position: relative; isolation: isolate; width: min(100%, calc(100svh * 2 / 3));
  min-width: min(100%, 360px); max-width: 760px; min-height: 100svh; min-height: 100dvh;
  display: flex; flex-direction: column; flex: none; background: #150626 url('/assets/benefits-candy-20260926.jpg') center / cover;
}
.artwork { position: relative; flex: none; width: 100%; aspect-ratio: 1024 / 1115; overflow: hidden; }
.visual-content, .visual-stack { display: contents; }
.benefits-panel { display: contents; }
.benefits-panel:focus-visible { outline: 2px solid #ffe3a5; outline-offset: -3px; }
.visual-content:focus-visible { outline: 2px solid #ffe3a5; outline-offset: -3px; }
.artwork img { display: block; width: 100%; height: auto; }
.brand-masthead {
  position: absolute; top: 0; left: 15%; width: 70%; aspect-ratio: 716.8 / 126;
  background: url('/assets/portada-cristales-20260926.jpg') center top / 162.857143% auto no-repeat;
  -webkit-mask-image: linear-gradient(#000 86%, transparent), linear-gradient(90deg, transparent, #000 4% 96%, transparent);
  mask-image: linear-gradient(#000 86%, transparent), linear-gradient(90deg, transparent, #000 4% 96%, transparent);
  -webkit-mask-composite: source-in; mask-composite: intersect; pointer-events: none;
}
.action-panel { position: relative; z-index: 2; display: flex; flex-direction: column; flex: 1; order: 1; padding: 8px 0 24px; }
.contact { width: 72%; margin: 0 auto; position: relative; }
.attention-form { margin: 0; }
.cta-frame { position: relative; isolation: isolate; }
.cta-frame::before, .cta-frame::after {
  content: ""; position: absolute; z-index: 3; width: 17px; height: 17px; pointer-events: none;
  background: radial-gradient(circle, #fff 0 15%, #fff0b6 35%, #ffcb70 72%);
  clip-path: polygon(50% 0, 61% 38%, 100% 50%, 61% 62%, 50% 100%, 39% 62%, 0 50%, 39% 38%);
  opacity: .4; animation: edge-sparkle 4.8s ease-in-out infinite;
}
.cta-frame::before { top: -8px; right: 36px; }
.cta-frame::after { bottom: -6px; left: 32px; width: 13px; height: 13px; animation-delay: 2.2s; }
@keyframes edge-sparkle { 0%, 38%, 100% { opacity: .35; transform: scale(.85); } 18% { opacity: 1; transform: scale(1.2); } }
.wa {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  width: 100%; min-height: 68px; padding: 11px 17px; position: relative;
  isolation: isolate; overflow: hidden; border: 1px solid #ffd790;
  border-radius: 999px; text-decoration: none; color: #fff6da;
  background: linear-gradient(110deg, #652193, #40116b 58%, #711b89);
  box-shadow: 0 0 0 3px #f298ff20, 0 0 26px #d13bf251, 0 8px 25px #0b021998, inset 0 1px 0 #fff4c865;
  transition: transform .18s, box-shadow .18s, filter .18s;
  font: inherit; cursor: pointer; appearance: none;
}
.wa::after {
  content: ""; position: absolute; z-index: 0; inset: -30% 0;
  background: linear-gradient(110deg, transparent 32%, #ffedc845 48%, #fff4cf26 53%, transparent 68%);
  transform: translateX(-130%); animation: button-shine 3.8s ease-in-out .35s infinite;
  pointer-events: none;
}
.wa::before {
  content: ""; position: absolute; z-index: 2; inset: 0; border-radius: inherit; pointer-events: none;
  border: 1px solid #fff0bc; box-shadow: inset 0 0 7px #ffd88b55;
  opacity: .45; animation: edge-glow 3.8s ease-in-out infinite;
}
.wa > * { position: relative; z-index: 1; }
.wa[aria-disabled="false"] { animation: cta-halo 3.8s ease-in-out infinite; }
@keyframes edge-glow { 0%, 100% { opacity: .45; } 42% { opacity: 1; } }
@keyframes button-shine { 0% { transform: translateX(-130%); } 45%, 100% { transform: translateX(130%); } }
@keyframes cta-halo {
  0%, 100% { box-shadow: 0 0 0 3px #f298ff20, 0 0 22px #d13bf24d, 0 8px 25px #0b021998, inset 0 1px 0 #fff4c865; }
  45% { box-shadow: 0 0 0 3px #f8c97835, 0 0 32px #e858f780, 0 8px 25px #0b021998, inset 0 1px 0 #fff4c89c; }
}
.wa-icon {
  display: grid; place-items: center; flex: none; width: 46px; height: 46px;
  color: #fff; border: 1px solid #7af1ad; background: linear-gradient(145deg, #13894c, #08613b); border-radius: 50%;
  box-shadow: inset 0 1px 0 #baffdc66, 0 0 13px #3de88728;
}
.wa-icon svg { width: 31px; height: 31px; }
.wa-label { text-align: center; flex: 1; min-width: 0; line-height: 1.2; text-shadow: 0 1px 2px #21043e; }
.wa-label > span { display: block; font-weight: 800; font-size: clamp(14px, 1.5vw, 20px); }
.wa-label strong { color: #ffe493; font-weight: 900; }
.wa-label small { display: block; margin-top: 5px; font-size: 14px; font-weight: 650; color: #fff5ff; }
.wa-label .whatsapp-word { color: #83f5ae; font-weight: 800; white-space: nowrap; }
.wa[data-state="loading"] .wa-label small, .wa[data-state="connecting"] .wa-label small { font-size: 0; }
.wa[data-state="loading"] .wa-label small::after { content: "Preparando atención…"; font-size: 13px; }
.wa[data-state="connecting"] .wa-label small::after { content: "Abriendo WhatsApp…"; font-size: 13px; }
.wa-arrow { width: 19px; height: 19px; flex: none; color: #ffe6a9; }
.wa[aria-disabled="true"] { opacity: .68; cursor: default; }
.wa[aria-disabled="true"]::after { animation: none; }
.wa[aria-busy="true"] { cursor: progress; }
@media (hover: hover) {
  .wa:hover[aria-disabled="false"] { transform: translateY(-2px); filter: brightness(1.1); box-shadow: 0 0 0 3px #f298ff30, 0 0 35px #d13bf275, 0 10px 25px #0b021998, inset 0 1px 0 #fff4c865; }
}
.wa:active[aria-disabled="false"] { transform: translateY(1px); }
a:focus-visible, button:focus-visible { outline: 3px solid #fff3b0; outline-offset: 4px; }
.legal {
  position: static; flex: none; width: 100%; min-height: 84px; padding: 24px 15px calc(24px + var(--safe-bottom));
  display: flex; align-items: center; justify-content: center; gap: 10px;
  background: #150626; color: #f6e8ff; font-size: 14px;
}
.age { display: grid; place-items: center; flex: none; font-weight: 800; font-size: 16px; border: 1px solid #d78be0; border-radius: 9px; min-width: 40px; min-height: 35px; color: #ffe3ff; background: #421555; }
.legal-copy { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; justify-content: center; line-height: 1.5; }
.terms-copy { color: #ffe3a5; }
.attention-status { position: relative; width: 100%; min-width: 0; margin: 14px 0 0; padding: 12px; border: 1px solid #ce8de355; border-radius: 16px; text-align: center; color: #fff2ff; background: #1a082df5; font-size: 13px; line-height: 1.45; box-shadow: 0 8px 24px #0005; }
.attention-status[hidden] { display: none; }
.attention-status[data-state="loading"], .attention-status[data-state="connecting"] {
  width: 1px; height: 1px; min-width: 0; margin: -1px; padding: 0; border: 0;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; position: absolute;
}
.no-script { padding: 10px; color: #fff; background: #230b35; font-size: 13px; text-align: center; }
#wa-status { margin: 0; }
.attention-retry { min-height: 44px; padding: 8px 16px; margin-top: 9px; border: 1px solid #dda8ff; border-radius: 10px; background: #4b1a68; color: #fff; cursor: pointer; }
.attention-retry[hidden] { display: none; }
.attention-retry:disabled { opacity: .6; cursor: progress; }
.attention-retry.attention-fallback { width: 100%; max-width: none; margin-top: 8px; font-size: 13px; }
dialog { width: min(440px, calc(100% - 32px)); max-height: calc(100svh - 40px); overflow-y: auto; padding: 32px 24px 24px; border: 1px solid #d181dc; border-radius: 24px; color: #fff5ff; background: radial-gradient(ellipse at top, #54207355, transparent 70%), #1b092d; box-shadow: 0 20px 80px #0009; }
dialog::backdrop { background: #090110bf; backdrop-filter: blur(8px); }
.dialog-close { position: absolute; top: 8px; right: 8px; width: 44px; height: 44px; border: 0; color: #ead6ff; background: transparent; font-size: 29px; cursor: pointer; }
.dialog-eyebrow { font-size: 11px; font-weight: 750; letter-spacing: 1px; color: #f4c4ff; }
dialog h2 { margin: 15px 0 12px; font-size: 27px; line-height: 1.15; }
dialog p { margin: 0 0 20px; line-height: 1.65; color: #efdcf7; font-size: 15px; }
dialog .dialog-note { font-size: 13px; color: #ccb6d9; }
.terms-contact { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; min-height: 52px; border: 1px solid #f5cf8d; border-radius: 14px; padding: 12px 14px; background: linear-gradient(110deg, #692295, #451364); color: #ffe9b2; font-weight: 750; cursor: pointer; }
.terms-contact[aria-disabled="true"] { opacity: .65; }
.benefits { list-style: none; padding: 16px 14px 5px; margin: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); align-content: start; gap: 10px 9px; flex: none; background: linear-gradient(#26083d30, #26083d55), url('/assets/benefits-candy-20260926.jpg') center / cover; }
.benefits li {
  --card-light: #ff9ce9; --icon-color: #ffe3a2;
  min-height: 84px; min-width: 0; padding: 8px 5px; position: relative; isolation: isolate;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  border: 1px solid #f8a1ffb0; border-radius: 18px;
  background: radial-gradient(ellipse at 50% 0, #fa68ed54, transparent 68%), linear-gradient(145deg, #60177ee8, #240938ed 70%);
  box-shadow: inset 0 1px 0 #fff0fc9c, inset 0 -2px 0 #1301269e, 0 4px 12px #0f001f85, 0 0 12px #eb3bdb25;
  text-align: center; font-size: 12px; line-height: 1.25; color: #fbe8ff;
}
.benefits li::before { content: ""; position: absolute; top: -1px; left: 25%; right: 25%; height: 2px; border-radius: 50%; background: #fff0c7; box-shadow: 0 0 8px #ffbde7; pointer-events: none; }
.benefits li::after { content: ""; position: absolute; inset: 4px; border: 1px solid #ffc4fa70; border-radius: 13px; box-shadow: 0 0 8px #f56ce830, inset 0 0 8px #f56ce814; opacity: .3; animation: benefit-glow 8s ease-in-out infinite; animation-delay: var(--glow-delay, 0s); pointer-events: none; }
.benefits li:nth-child(2) { --glow-delay: .7s; }
.benefits li:nth-child(3) { --glow-delay: 1.4s; }
.benefits li:nth-child(4) { --glow-delay: 2.1s; }
.benefits li:nth-child(5) { --glow-delay: 2.8s; }
.benefits li:nth-child(6) { --glow-delay: 3.5s; }
@keyframes benefit-glow { 0%, 58%, 100% { opacity: .3; } 78% { opacity: .75; } }
.benefit-icon {
  width: 34px; height: 34px; flex: none; display: grid; place-items: center; border-radius: 11px;
  color: var(--icon-color); background: radial-gradient(circle at 30% 15%, #ffd68c42, transparent 65%), linear-gradient(155deg, #ab38b8, #57176e);
  border: 1px solid #ffd08f96; box-shadow: inset 0 1px 0 #fff4da8f, 0 3px 8px #13022670, 0 0 13px #ff75e52e;
}
.benefits svg { width: 27px; height: 27px; stroke: none; stroke-width: 1.65; fill: none; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 1px 2px #23013080); }
.benefits .benefit-icon-accent { color: #fff1fc; }
.benefit-copy { position: relative; }
.benefits strong { color: #fff5ce; font-weight: 800; text-shadow: 0 1px 5px #260731; }
.benefit-instant, .benefit-deposit { --icon-color: #ffdc77; }
.rewards {
  display: flex; align-items: center; justify-content: center; gap: 10px; order: 2;
  margin: 0; padding: 12px 18px 15px; color: #f8dda4;
  background: linear-gradient(#26083d80, #26083ddd), url('/assets/benefits-candy-20260926.jpg') center / cover;
}
.rewards > svg { flex: none; width: 28px; height: 28px; }
.rewards p { margin: 0; line-height: 1.4; }
.rewards strong { display: block; font-size: 14px; font-weight: 650; }
.rewards span { display: block; margin-top: 2px; font-size: 13px; color: #efdcf7; }
@media (max-width: 700px) {
  html, body { height: auto; }
  body::before { background: linear-gradient(#26083d60, #19052d99), url('/assets/benefits-candy-20260926.jpg') center bottom / cover; filter: none; }
  .stage { width: 100%; min-width: 0; max-width: none; min-height: 100svh; min-height: 100dvh; height: auto; padding-top: var(--safe-top); background: #26083d; }
  .visual-content { display: flex; flex-direction: column; flex: 1; min-height: auto; overflow: visible; }
  .visual-stack { display: flex; flex-direction: column; flex: 1; position: relative; isolation: isolate; min-height: 0; padding-bottom: 12px; }
  .visual-stack::before {
    content: ""; position: absolute; z-index: -1; inset: calc(100vw * 1115 / 1024 - 24px) 0 0; pointer-events: none;
    background: linear-gradient(#30064218, #21053924 55%, #19052d99), url('/assets/benefits-candy-20260926.jpg') center / cover;
  }
  .artwork { width: 100%; aspect-ratio: 1024 / 1115; overflow: hidden; flex: none; -webkit-mask-image: linear-gradient(#000 calc(100% - 14px), transparent); mask-image: linear-gradient(#000 calc(100% - 14px), transparent); }
  .artwork::after { content: ""; position: absolute; inset: auto 0 0; height: 18px; background: linear-gradient(transparent, #360b4d80); pointer-events: none; }
  .benefits-panel { display: flex; flex-direction: column; flex: 1; }
  .benefits { flex: 1; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: minmax(84px, 1fr); align-content: stretch; background: none; }
  .rewards { margin: 10px 14px 0; padding: 12px; border: 1px solid #f8dda438; border-radius: 16px; background: #27083dc9; }
  .action-panel {
    position: sticky; bottom: 0; padding: 16px 0 calc(16px + var(--safe-bottom)); flex: none; border-top: 1px solid #e78df34d;
    background: linear-gradient(#250436db, #19052df2), url('/assets/benefits-candy-20260926.jpg') center bottom / cover;
    box-shadow: 0 -8px 24px #17032080;
  }
  .contact { width: auto; margin: 0 16px; }
  .wa { min-height: 76px; padding: 13px 15px; gap: 10px; border-radius: 22px; }
  .wa-label > span { font-size: clamp(15px, 4.5vw, 21px); letter-spacing: -.25px; }
  .wa-label small { font-size: 14px; margin-top: 6px; }
  .wa-icon { width: 46px; height: 46px; }
  .wa-arrow { width: 18px; height: 18px; }
  .legal { font-size: 13px; }
  .legal-copy { flex-direction: row; align-items: center; justify-content: flex-start; gap: 0 8px; }
  .terms-link { min-height: 26px; }
  .age { min-width: 43px; min-height: 38px; font-size: 17px; }
  .attention-status { display: flex; align-items: center; gap: 10px; margin-top: 10px; padding: 9px 10px; text-align: left; font-size: 12px; }
  #wa-status { flex: 1; }
  .attention-retry { flex: none; max-width: 105px; margin-top: 0; padding: 8px 12px; }
}
@media (max-width: 360px) {
  .benefits { padding: 10px 10px 4px; gap: 6px; }
  .benefits li { min-height: 87px; font-size: 11.5px; }
  .contact { margin: 0 12px; }
  .wa { padding: 12px; gap: 8px; }
  .wa-label > span { font-size: 15px; }
  .wa-label small { font-size: 14px; }
  .wa-icon { width: 40px; height: 40px; }
  .wa-icon svg { width: 28px; height: 28px; }
  .wa-arrow { width: 15px; height: 15px; }
}
@media (min-width: 701px) and (max-height: 750px) {
  .benefits { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; padding: 8px 12px; }
  .benefits li { min-height: 54px; flex-direction: row; padding: 7px 5px; font-size: 11px; }
  .benefit-icon { width: 29px; height: 31px; }
  .benefits svg { width: 22px; height: 22px; }
  .wa { min-height: 56px; padding: 8px 12px; gap: 9px; }
  .wa-label > span { font-size: 14px; }
  .wa-label small { font-size: 13px; }
  .wa-icon { width: 40px; height: 40px; }
  .wa-icon svg { width: 28px; height: 28px; }
  .legal { font-size: 12px; }
  .age { font-size: 14px; min-width: 33px; min-height: 29px; }
}
@media (max-width: 360px) {
  .benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 12px 12px 5px; }
  .benefits li { min-height: 62px; padding: 8px; flex-direction: row; justify-content: flex-start; gap: 9px; font-size: 12px; }
  .benefit-icon { width: 33px; height: 35px; border-radius: 11px; }
  .benefits svg { width: 25px; height: 25px; }
  .benefit-copy { text-align: left; }
}
@media (orientation: landscape) and (max-height: 600px) {
  html, body { height: auto; }
  body::before { background: linear-gradient(#26083da6, #19052dd9), url('/assets/benefits-candy-20260926.jpg') center / cover; filter: none; }
  .stage {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(310px, 1.12fr);
    grid-template-rows: minmax(min-content, 1fr) auto; grid-template-areas: "artwork benefits" "artwork action";
    gap: 8px 16px; width: 100%; min-width: 0; max-width: 1100px; min-height: 100svh; min-height: 100dvh;
    height: auto;
    padding: calc(10px + var(--safe-top)) calc(12px + var(--safe-right)) calc(8px + var(--safe-bottom)) calc(12px + var(--safe-left));
    background: linear-gradient(110deg, #200735a3, #25083ee6), url('/assets/benefits-candy-20260926.jpg') center / cover;
  }
  .visual-content, .visual-stack { display: contents; }
  .visual-stack::before { display: none; }
  .artwork {
    grid-area: artwork; align-self: center; justify-self: center;
    width: min(100%, calc((100svh - var(--safe-top) - var(--safe-bottom) - 24px) * 1024 / 1115));
    width: min(100%, calc((100dvh - var(--safe-top) - var(--safe-bottom) - 24px) * 1024 / 1115));
    min-width: 0; aspect-ratio: 1024 / 1115; border-radius: 18px;
    -webkit-mask-image: none; mask-image: none; box-shadow: 0 6px 24px #10021b80;
  }
  .artwork::after { display: none; }
  .benefits-panel {
    grid-area: benefits; display: flex; flex-direction: column; justify-content: flex-start;
    min-width: 0; min-height: auto; overflow: visible;
  }
  .benefits { flex: 1; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: minmax(68px, 1fr); align-content: stretch; padding: 3px 4px 4px; gap: 8px; background: none; }
  .benefits li { min-height: 68px; padding: 8px 5px; flex-direction: column; gap: 9px; font-size: clamp(13px, 2.6vh, 16px); border-radius: 15px; }
  .benefit-icon { width: clamp(29px, 7vh, 42px); height: clamp(32px, 7vh, 44px); border-radius: 10px; }
  .benefits svg { width: 78%; height: 78%; }
  .benefit-copy { text-align: center; }
  .rewards { flex: none; margin: 6px 4px 4px; padding: 10px 12px; border: 1px solid #f8dda438; border-radius: 14px; background: #27083dc9; }
  .rewards > svg { width: 25px; height: 25px; }
  .action-panel { grid-area: action; position: relative; bottom: auto; min-width: 0; flex: none; padding: 6px 0 10px; border: 0; background: none; box-shadow: none; }
  .contact { width: auto; margin: 0 4px; }
  .wa { min-height: 72px; padding: 10px 12px; gap: 9px; border-radius: 20px; }
  .wa-label > span { font-size: clamp(15px, 2.2vw, 20px); letter-spacing: -.25px; }
  .wa-label small { font-size: 14px; margin-top: 5px; }
  .wa-icon { width: 42px; height: 42px; }
  .wa-icon svg { width: 29px; height: 29px; }
  .wa-arrow { width: 18px; height: 18px; }
  .legal { gap: 9px; font-size: 13px; }
  .legal-copy { flex-direction: row; justify-content: flex-start; gap: 0 8px; }
  .terms-link { min-height: 26px; }
  .age { min-width: 38px; min-height: 34px; font-size: 16px; }
  .attention-status { display: flex; align-items: center; gap: 8px; margin-top: 8px; padding: 8px; text-align: left; font-size: 12px; }
  #wa-status { flex: 1; }
  .attention-retry { flex: none; max-width: 105px; margin-top: 0; padding: 8px 10px; }
}
@media (orientation: landscape) and (max-height: 600px) and (max-width: 740px) {
  .stage { grid-template-columns: minmax(0, 1fr) minmax(310px, 1.3fr); gap: 6px 10px; }
  .benefits { gap: 6px; }
  .benefits li { min-height: 76px; flex-direction: column; gap: 4px; font-size: 12px; padding: 7px 4px; }
  .benefit-copy { text-align: center; }
  .wa-label > span { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .wa:hover[aria-disabled="false"], .wa:active[aria-disabled="false"] { transform: none; }
}
@media (forced-colors: active) {
  .wa, .wa-icon, .age, .benefits li, .attention-status, dialog, .terms-contact { border: 1px solid ButtonText; }
  .wa::before, .wa::after, .cta-frame::before, .cta-frame::after { display: none; }
  .wa, .wa-icon, .wa-arrow, .wa-label strong { color: ButtonText; }
}
