:root {
  --peach: #fff4ec;
  --peach-2: #ffe8da;
  --paper: #ffffff;
  --ink: #23303b;
  --muted: #5c6670;
  --pink: #f0577f;
  --pink-dark: #d23d66;
  --green: #22b04b;
  --green-dark: #17913b;
  --teal: #1f6f63;
  --line: #f1d9cb;
  --radius: 18px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--peach);
  color: var(--ink);
  font: 17px/1.55 "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: "Baloo 2", "Nunito", system-ui, sans-serif; line-height: 1.1; margin: 0 0 .5em; }
h2 { font-size: clamp(1.7rem, 4.5vw, 2.4rem); }
p { margin: 0 0 1em; }
.wrap { width: min(1080px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(720px, 100% - 32px); }
.center { text-align: center; }
.muted { color: var(--muted); font-size: .95rem; }
.pink { color: var(--pink); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 10; background: #fff; padding: 8px 12px; border-radius: 8px; }
section { padding: 56px 0; }

.topbar {
  background: var(--teal); color: #fff; text-align: center;
  font-weight: 700; font-size: .88rem; padding: 9px 16px;
}

/* Hero */
.hero { padding-top: 40px; text-align: center; background: linear-gradient(#fff 0%, var(--peach) 100%); }
.kicker { text-transform: uppercase; letter-spacing: .08em; font-weight: 800; font-size: .8rem; color: var(--pink-dark); margin-bottom: .6em; }
.hero h1 { font-size: clamp(2.6rem, 9vw, 4.6rem); color: var(--ink); margin-bottom: .25em; }
.hl { color: var(--pink); position: relative; }
.lead { font-size: clamp(1.05rem, 2.6vw, 1.3rem); max-width: 640px; margin: 0 auto 1.4em; }
.hero-mockup { width: min(760px, 100%); margin: 0 auto 28px; filter: drop-shadow(0 18px 30px rgba(120, 70, 40, .16)); border-radius: 12px; }

.cta {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  background: var(--green); color: #fff; text-decoration: none; border: 0; cursor: pointer;
  font: 800 1.2rem/1 "Nunito", sans-serif; text-transform: uppercase; letter-spacing: .02em;
  padding: 20px 34px; border-radius: 14px; width: min(440px, 100%);
  box-shadow: 0 6px 0 var(--green-dark), 0 12px 24px rgba(34, 176, 75, .28);
  transition: transform .15s ease, box-shadow .15s ease;
}
.cta:hover { transform: translateY(-2px); }
.cta:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--green-dark); }
.cta:focus-visible, .tabs button:focus-visible, .page:focus-visible, .btn-outline:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; }

.badges { list-style: none; padding: 0; margin: 6px auto 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; font-size: .9rem; font-weight: 700; color: var(--muted); }
.badges li { display: flex; align-items: center; gap: 6px; }

.band { background: var(--pink); color: #fff; text-align: center; font: 700 clamp(1.15rem, 3.5vw, 1.6rem)/1.3 "Baloo 2", sans-serif; padding: 18px 16px; }

/* Identificación */
.pain { background: var(--paper); }
.pain h2 { text-align: center; }
.pain-list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 12px; }
.pain-list li { background: var(--peach); border-radius: 14px; padding: 14px 18px 14px 52px; position: relative; }
.pain-list li::before { content: "✗"; position: absolute; left: 18px; top: 13px; color: var(--pink-dark); font-weight: 800; font-size: 1.1rem; }
.pain-answer { background: #e8f6ee; border-left: 5px solid var(--green); border-radius: 12px; padding: 16px 20px; font-size: 1.05rem; }

/* Lo que recibes */
.receive { overflow: hidden; }
.tabs { display: flex; justify-content: center; gap: 6px; margin: 18px auto 18px; }
.tabs button {
  font: 800 clamp(.88rem, 3.6vw, 1rem) "Nunito", sans-serif; border: 2px solid var(--pink); background: #fff; color: var(--pink-dark);
  padding: 9px clamp(12px, 3.5vw, 20px); border-radius: 999px; cursor: pointer; white-space: nowrap;
}
.tabs button[aria-selected="true"] { background: var(--pink); color: #fff; }
.panel-note { text-align: center; max-width: 640px; margin: 0 auto 22px; }
.marquee {
  overflow: hidden; margin-inline: calc(50% - 50vw); padding: 10px 0 24px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.track { display: flex; gap: 18px; padding-right: 18px; width: max-content; animation: slide var(--dur, 60s) linear infinite; }
.marquee:hover .track, .marquee.paused .track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(var(--shift, -50%)); } }
.page {
  flex: 0 0 auto; width: clamp(170px, 42vw, 240px); padding: 0; border: 0; background: #fff; cursor: zoom-in;
  border-radius: 10px; overflow: hidden; box-shadow: 0 10px 24px rgba(110, 60, 30, .14);
  transition: transform .2s ease;
}
.page:hover { transform: translateY(-4px) rotate(-.6deg); }
.tap-hint { text-align: center; color: var(--muted); font-size: .9rem; margin: 0; }
@media (prefers-reduced-motion: reduce) {
  .track { animation: none; }
  .marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
}

/* Muestra */
.sample { background: var(--paper); }
.sample-grid { display: grid; gap: 32px; align-items: center; grid-template-columns: minmax(0, 1fr); }
.sample-image img { width: min(360px, 100%); margin-inline: auto; border-radius: 12px; box-shadow: 0 14px 30px rgba(110, 60, 30, .15); transform: rotate(-2deg); }
.sample-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-outline { text-decoration: none; font-weight: 800; color: var(--teal); border: 2px solid var(--teal); border-radius: 12px; padding: 12px 20px; }
.btn-outline:hover { background: var(--teal); color: #fff; }
@media (min-width: 760px) { .sample-grid { grid-template-columns: 1fr 1.2fr; } }

/* Incluye */
.card-box { background: #fff; border-radius: var(--radius); padding: 34px 24px; box-shadow: 0 10px 30px rgba(110, 60, 30, .08); text-align: center; }
.checks { list-style: none; padding: 0; margin: 0 0 28px; text-align: left; }
.checks li { padding: 11px 0 11px 34px; border-bottom: 1px solid var(--line); position: relative; }
.checks li::before { content: "✓"; position: absolute; left: 4px; top: 9px; color: var(--green); font-weight: 900; font-size: 1.15rem; }
.checks.compact li { padding: 7px 0 7px 30px; }

/* Cómo funciona */
.how { background: var(--peach-2); }
.steps { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.steps li { background: #fff; border-radius: var(--radius); padding: 26px 22px; text-align: center; }
.num { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--pink); color: #fff; font: 800 1.3rem "Baloo 2", sans-serif; margin-bottom: 10px; }
.steps h3 { font-size: 1.3rem; }
.steps p { margin: 0; color: var(--muted); }

/* Opiniones (borrador) */
.draft-slot { border: 2px dashed var(--pink); border-radius: var(--radius); background: #fff; padding: 22px; text-align: center; color: var(--muted); }
.draft-slot strong { color: var(--pink-dark); display: block; margin-bottom: 6px; }
.draft-slot p { margin: 0; }

/* Precio */
.price { background: linear-gradient(var(--peach), #fff); }
.price-card { background: #fff; border: 3px solid var(--green); border-radius: 24px; padding: 30px 24px 26px; text-align: center; box-shadow: 0 18px 40px rgba(34, 176, 75, .15); }
.price-tag { display: inline-block; background: var(--pink); color: #fff; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; font-size: .85rem; border-radius: 999px; padding: 6px 16px; }
.price-card img { margin: 8px auto 18px; width: min(460px, 100%); }
.price-card .checks { max-width: 380px; margin: 0 auto 10px; }
.amount { font: 800 clamp(4rem, 14vw, 5.5rem)/1 "Baloo 2", sans-serif; color: var(--green-dark); margin: 10px 0 0; }
.amount small { font-size: .38em; vertical-align: .9em; margin-right: 4px; }
.once { font-weight: 700; color: var(--muted); }
.pulse { animation: pulse 1.8s ease-in-out infinite; }
.pulse:disabled { cursor: not-allowed; }
@keyframes pulse { 50% { transform: scale(1.04); } }
@media (prefers-reduced-motion: reduce) { .pulse { animation: none; } }
.draft-note { font-size: .85rem; color: var(--muted); margin: 14px 0 0; }

/* FAQ */
.faq { background: #fff; }
.faq details { border: 1px solid var(--line); border-radius: 14px; margin-bottom: 10px; background: var(--peach); }
.faq summary { cursor: pointer; font-weight: 800; padding: 16px 20px; list-style: none; position: relative; padding-right: 48px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 12px; font-size: 1.4rem; color: var(--pink); }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 20px 16px; margin: 0; }

footer { background: var(--ink); color: #d8dee3; text-align: center; font-size: .88rem; padding: 26px 0; }

/* Visor */
dialog#viewer { border: 0; padding: 0; border-radius: 14px; max-width: min(620px, 94vw); max-height: 92vh; overflow: auto; background: #fff; }
dialog#viewer::backdrop { background: rgba(20, 25, 30, .7); }
#close-viewer { position: sticky; top: 8px; float: right; margin: 8px 8px -48px 0; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--ink); color: #fff; font-size: 1.5rem; cursor: pointer; z-index: 1; }

/* Escenas ilustradas */
.scenes { background: #fff; }
.scene-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin-top: 22px; }
.scene-grid figure { margin: 0; background: var(--peach); border-radius: var(--radius); overflow: hidden; }
.scene-grid img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.scene-grid figcaption { padding: 12px 16px 16px; font-size: .95rem; }

/* Opiniones: imagen única */
.review-image { margin: 20px auto 0; max-width: 620px; }
.review-image img { width: 100%; height: auto; border-radius: 20px; box-shadow: 0 10px 26px rgba(110, 60, 30, .10); }
.review-slot { aspect-ratio: 2 / 3; border: 2px dashed var(--pink); border-radius: 20px; background: #fff; display: grid; place-content: center; text-align: center; font-size: 2.6rem; color: var(--muted); }
.review-slot span { display: block; font-size: .95rem; margin-top: 6px; }

/* Opiniones con foto (tarjetas, sin uso) */
.review-list { display: grid; gap: 18px; margin-top: 20px; }
.review { display: grid; grid-template-columns: 1fr; background: #fff; border-radius: 20px; overflow: hidden; box-shadow: 0 10px 26px rgba(110, 60, 30, .10); }
.review-photo { aspect-ratio: 1; background: var(--peach-2); display: grid; place-items: center; font-size: 2.4rem; overflow: hidden; }
.review-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.review-body { padding: 20px 22px 22px; display: flex; flex-direction: column; justify-content: center; }
.stars { color: #f6b400; font-size: 1.6rem; letter-spacing: 3px; line-height: 1; margin-bottom: 12px; }
.review blockquote { margin: 0 0 18px; font-size: 1.12rem; line-height: 1.45; color: var(--ink); }
.review blockquote strong { color: #1f2d6b; }
.review-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; background: none; padding: 0; text-align: left; color: var(--ink); font-size: .95rem; }
.who { display: inline-flex; align-items: center; gap: 10px; background: #eef2fb; border-radius: 14px; padding: 8px 14px 8px 8px; line-height: 1.25; }
.verified { color: var(--ink); font-weight: 700; font-size: .9rem; }
.verified::first-letter { color: var(--green); }
.flag { width: 40px; height: 40px; border-radius: 50%; flex: 0 0 auto; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); }
.flag-co { background: linear-gradient(#fcd116 0 50%, #003893 50% 75%, #ce1126 75%); }
.flag-ar { background: radial-gradient(circle, #f6b40e 0 14%, transparent 15%), linear-gradient(#74acdf 0 33.3%, #fff 33.3% 66.6%, #74acdf 66.6%); }
.flag-mx { background: radial-gradient(circle, #8c5a2b 0 12%, transparent 13%), linear-gradient(90deg, #006847 0 33.3%, #fff 33.3% 66.6%, #ce1126 66.6%); }
.flag-pe { background: linear-gradient(90deg, #d91023 0 33.3%, #fff 33.3% 66.6%, #d91023 66.6%); }
.flag-cl { background: linear-gradient(90deg, #0039a6 0 40%, transparent 40%) top / 100% 50% no-repeat, linear-gradient(#fff 0 50%, #d52b1e 50%); }
.flag-us { background: linear-gradient(90deg, #3c3b6e 0 45%, transparent 45%) top / 100% 50% no-repeat, repeating-linear-gradient(#b22234 0 7.7%, #fff 7.7% 15.4%); }
@media (min-width: 720px) {
  .review { grid-template-columns: 42% 1fr; }
  .review-photo { aspect-ratio: auto; min-height: 260px; }
}
.hero-mockup.scene { border-radius: 20px; }
