/* Cocardo: ¡Rescate Helado! — Landing (landing.html). Mismos tokens visuales que css/style.css (ARQUITECTURA §13). */
:root {
  --ink: #2b1630; --cream: #fff6ea; --mint: #bff3e1; --pink: #ff6fa5; --cherry: #d61f4b; --coco: #7a4a2a;
  --ice: #bfe9ff; --ice-deep: #4aa8e0; --gold: #ffc93c; --drama: #5b1e74; --drama-2: #a1286a; --ok: #33b679;
  --pink-dark: #e04a86; --gold-dark: #e8a514;
  --font-display: 'Lilita One', 'Arial Rounded MT Bold', 'Trebuchet MS', system-ui, sans-serif;
  --font-script: 'Yellowtail', 'Brush Script MT', cursive;
  --font-body: 'Nunito', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --radius: 26px;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
[id] { scroll-margin-top: 76px; }   /* los anclas (#precio, secciones legales) no quedan bajo la cabecera fija */
body {
  margin: 0;
  overflow-x: hidden;
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.5;
  background-color: #ffd3e3;
  background-image:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, .7) 0 2.5px, transparent 3.5px),
    radial-gradient(circle at 70% 75%, rgba(255, 201, 60, .55) 0 2.5px, transparent 3.5px),
    repeating-linear-gradient(90deg, #ffc4da 0 44px, #ffe4ee 44px 88px);
  background-size: 70px 70px, 96px 96px, auto;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--drama); }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.08; margin: 0; }
.wrap { width: min(1080px, 100% - 32px); margin: 0 auto; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 56px; padding: 10px 28px; border: 3px solid var(--ink); border-radius: 999px;
  font-family: var(--font-display); font-size: 22px; text-decoration: none; color: #fff;
  background: linear-gradient(180deg, #ff9cc3 0%, var(--pink) 55%, var(--pink-dark) 100%);
  box-shadow: 0 5px 0 var(--ink); text-shadow: 0 2px 0 rgba(43, 22, 48, .35); transition: transform .08s;
}
.btn:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--ink); }
.btn.gold { color: var(--ink); text-shadow: none; background: linear-gradient(180deg, #ffe08a 0%, var(--gold) 55%, var(--gold-dark) 100%); }
.btn.white { color: var(--drama); text-shadow: none; background: linear-gradient(180deg, #fff 0%, var(--cream) 55%, #f6d8bd 100%); }
.btn.big { min-height: 66px; font-size: 26px; padding: 12px 36px; }
.btn svg { width: 26px; height: 26px; }

/* cabecera */
.top { position: sticky; top: 0; z-index: 10; background: rgba(255, 246, 234, .92); backdrop-filter: blur(8px); border-bottom: 3px solid var(--ink); }
.top .wrap { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.top .mini-logo { width: 150px; }
.top .mini-logo svg, .hero .logo svg { display: block; width: 100%; height: auto; }   /* el SVG trae height="210" */
.top nav { display: flex; align-items: center; gap: 14px; margin-left: auto; font-family: var(--font-display); font-size: 17px; }
.top nav a { text-decoration: none; }
.top .btn { min-height: 42px; padding: 6px 18px; font-size: 17px; }
@media (max-width: 640px) { .top nav a:not(.btn) { display: none; } }

/* héroe */
.hero { position: relative; overflow: hidden; padding: 40px 0 0; background: linear-gradient(180deg, #ffe3ee 0%, #ffd3e3 100%); border-bottom: 3px solid var(--ink); }
.awning { height: 36px; background: radial-gradient(circle at 24px 0, var(--pink) 0 23px, transparent 24px) 0 100% / 96px 20px repeat-x, repeating-linear-gradient(90deg, var(--pink) 0 48px, #fff 48px 96px); border-bottom: 3px solid var(--ink); }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: center; padding: 36px 0 0; }
.hero .logo { width: min(100%, 520px); filter: drop-shadow(0 6px 0 rgba(43, 22, 48, .25)); }
.hero h1 { font-size: clamp(30px, 5vw, 54px); color: var(--drama); margin-top: 18px; text-shadow: 0 3px 0 #fff; }
.hero h1 em { font-style: normal; color: var(--cherry); }
.hero p.lead { font-size: clamp(17px, 2vw, 21px); max-width: 560px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 18px 0 10px; }
.hero .fine { font-size: 14px; opacity: .8; }
.phone { position: relative; width: min(100%, 360px); margin: 0 auto; }
.phone .frame { position: relative; border: 10px solid var(--ink); border-radius: 44px; overflow: hidden; background: #000; box-shadow: 0 16px 0 rgba(43, 22, 48, .25), 0 30px 60px rgba(43, 22, 48, .35); }
.phone .frame::before { content: ''; position: absolute; z-index: 2; top: 10px; left: 50%; width: 36%; height: 22px; transform: translateX(-50%); border-radius: 999px; background: var(--ink); }
.phone img { width: 100%; height: auto; }
.phone .sticker { position: absolute; right: 0; top: 28px; padding: 8px 14px; border: 3px solid var(--ink); border-radius: 999px; background: var(--gold); font-family: var(--font-display); font-size: 18px; transform: rotate(8deg); box-shadow: 0 4px 0 var(--ink); }
.hero .hero-face { position: absolute; left: -40px; bottom: -70px; width: 280px; opacity: .95; filter: drop-shadow(0 8px 0 rgba(43, 22, 48, .25)); pointer-events: none; }
@media (max-width: 820px) {
  .hero .wrap { grid-template-columns: 1fr; text-align: center; }
  .hero .logo { margin: 0 auto; }
  .hero p.lead { margin: 0 auto; }
  .cta-row { justify-content: center; }
  .hero .hero-face { display: none; }
}

/* cinta de datos */
.strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; padding: 14px 16px; background: var(--ink); color: var(--cream); font-family: var(--font-display); font-size: 17px; }
.strip span::before { content: '🍦 '; }

/* secciones */
section { padding: 56px 0; }
section h2 { font-size: clamp(28px, 4vw, 42px); color: var(--drama); text-align: center; margin-bottom: 8px; }
section .sub { text-align: center; max-width: 640px; margin: 0 auto 28px; font-size: 18px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.card { padding: 22px 20px; border: 4px solid var(--ink); border-radius: var(--radius); background: radial-gradient(circle at 12% 8%, rgba(255, 255, 255, .9), transparent 40%), var(--cream); box-shadow: 0 8px 0 rgba(43, 22, 48, .3); }
.card .ico { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 10px; border: 3px solid var(--ink); border-radius: 18px; background: var(--mint); font-size: 30px; }
.card h3 { font-size: 24px; color: var(--drama); margin-bottom: 6px; }
.card p { margin: 0; font-size: 16px; }

.steps { counter-reset: s; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.step { position: relative; padding: 26px 20px 20px 20px; border: 4px solid var(--ink); border-radius: var(--radius); background: #fff; box-shadow: 0 8px 0 rgba(43, 22, 48, .3); }
.step::before { counter-increment: s; content: counter(s); position: absolute; top: -20px; left: 18px; display: grid; place-items: center; width: 40px; height: 40px; border: 3px solid var(--ink); border-radius: 50%; background: var(--gold); font-family: var(--font-display); font-size: 22px; }
.step b { font-family: var(--font-display); font-weight: 400; font-size: 21px; color: var(--drama); display: block; margin-bottom: 4px; }

.cast { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 14px; }
.who { text-align: center; }
.who .face { width: 110px; height: 110px; margin: 0 auto 6px; border-radius: 50%; overflow: hidden; border: 3px solid var(--ink); background: var(--mint); box-shadow: 0 5px 0 rgba(43, 22, 48, .3); }
.who .face.villain { background: #ffd0dc; }
.who .face svg { width: 100%; height: 100%; }
.who b { font-family: var(--font-display); font-weight: 400; font-size: 19px; display: block; }
.who small { font-size: 12px; opacity: .75; }

.daily { background: linear-gradient(180deg, #e9f7ff 0%, #d9efff 100%); border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink); }
.daily .emoji { display: inline-block; max-width: 100%; margin: 10px auto; padding: 14px 18px; border: 3px solid var(--ink); border-radius: 18px; background: #fff; font-family: ui-monospace, Menlo, monospace; font-size: clamp(13px, 3.6vw, 17px); white-space: pre-wrap; text-align: left; box-shadow: 0 6px 0 rgba(43, 22, 48, .3); }
.center { text-align: center; }

.faq details { margin: 0 0 10px; padding: 14px 18px; border: 3px solid var(--ink); border-radius: 18px; background: var(--cream); }
.faq summary { cursor: pointer; font-family: var(--font-display); font-size: 20px; color: var(--drama); }
.faq p { margin: 8px 0 0; }

/* precio */
.price { background: linear-gradient(180deg, #fff6ea 0%, #ffeccf 100%); border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink); }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 22px; max-width: 860px; margin: 0 auto; }
.plan { position: relative; display: flex; flex-direction: column; padding: 24px 22px 22px; border: 4px solid var(--ink); border-radius: var(--radius); background: #fff; box-shadow: 0 8px 0 rgba(43, 22, 48, .3); }
.plan.full { background: radial-gradient(circle at 12% 8%, rgba(255, 255, 255, .9), transparent 45%), #ffe7a3; }
.plan h3 { font-size: 26px; color: var(--drama); }
.plan .amount { margin: 6px 0 10px; font-family: var(--font-display); font-size: 46px; line-height: 1; color: var(--ink); }
.plan .amount small { display: block; margin-top: 6px; font-family: var(--font-body); font-size: 15px; font-weight: 800; color: var(--drama-2); }
.plan ul { margin: 0 0 16px; padding: 0; list-style: none; }
.plan li { position: relative; padding: 6px 0 6px 30px; font-size: 16px; border-top: 2px dashed rgba(43, 22, 48, .14); }
.plan li:first-child { border-top: 0; }
.plan li::before { content: '✓'; position: absolute; left: 0; top: 6px; display: grid; place-items: center; width: 22px; height: 22px; border: 2px solid var(--ink); border-radius: 50%; background: var(--ok); color: #fff; font-size: 13px; font-weight: 900; line-height: 1; }
.plan .btn { margin-top: auto; align-self: flex-start; }
.plan .tag { position: absolute; top: -16px; right: 18px; padding: 4px 12px; border: 3px solid var(--ink); border-radius: 999px; background: var(--pink); color: #fff; font-family: var(--font-display); font-size: 16px; transform: rotate(4deg); }
.plan .note { margin: auto 0 0; font-size: 14px; color: var(--drama-2); }
.price .fine-print { max-width: 720px; margin: 26px auto 0; text-align: center; font-size: 15px; }

footer { padding: 30px 0 40px; background: var(--ink); color: var(--cream); font-size: 14px; }
footer a { color: var(--gold); }
footer .social { display: flex; gap: 10px; justify-content: center; margin-bottom: 14px; }
footer .social a { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 14px; border: 3px solid var(--cream); border-radius: 999px; font-family: var(--font-display); color: var(--cream); text-decoration: none; }
footer p { text-align: center; margin: 6px 0; }
footer .links { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 16px; margin: 10px 0; font-family: var(--font-display); font-size: 17px; }
footer .links a { display: inline-block; padding: 6px 0; }

/* páginas legales (legal/*.html): sin scripts, el mismo aspecto que la landing */
.top .brand { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-size: 20px; color: var(--drama); text-decoration: none; }
.top .brand img { width: 36px; height: 36px; }
.legal-main { padding: 28px 0 56px; }
.legal { width: min(820px, 100% - 32px); margin: 0 auto; padding: 26px clamp(18px, 4vw, 40px) 30px; border: 4px solid var(--ink); border-radius: var(--radius); background: var(--cream); box-shadow: 0 8px 0 rgba(43, 22, 48, .3); overflow-wrap: anywhere; }
.legal h1 { font-size: clamp(32px, 6vw, 46px); color: var(--drama); }
.legal .updated { margin: 6px 0 18px; font-size: 14px; opacity: .75; }
.legal section { padding: 0; }
.legal h2 { margin: 30px 0 8px; font-size: clamp(22px, 3.4vw, 27px); text-align: left; }
.legal h3 { margin: 18px 0 6px; font-family: var(--font-body); font-size: 17px; font-weight: 900; color: var(--drama); }
.legal p, .legal li { font-size: 16px; }
.legal p { margin: 0 0 10px; }
.legal ul, .legal ol { margin: 0 0 12px; padding-left: 22px; }
.legal li { margin: 4px 0; }
.legal .toc { margin: 0 0 8px; padding: 14px 18px 14px 36px; border: 3px solid var(--ink); border-radius: 18px; background: #fff; columns: 2 220px; column-gap: 28px; }
.legal .toc li { margin: 2px 0; break-inside: avoid; }
.legal .box { margin: 12px 0 14px; padding: 14px 16px; border: 3px dashed var(--ink); border-radius: 18px; background: #fff; }
.legal .box p:last-child { margin-bottom: 0; }
.legal .box.mor { border-style: solid; background: #fff9e6; }
.legal .data { margin: 12px 0; padding: 14px 16px; border: 3px solid var(--ink); border-radius: 18px; background: #fff; }
.legal .data h3 { margin-top: 0; }
.legal .data dl { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 4px 12px; font-size: 15px; }
.legal .data dt { font-weight: 900; color: var(--drama-2); }
.legal .data dd { margin: 0; }
@media (max-width: 520px) { .legal .data dl { grid-template-columns: 1fr; gap: 0; } .legal .data dd { margin-bottom: 6px; } }
.legal .en, .legal .pt { margin-top: 40px; padding-top: 20px; border-top: 4px dashed rgba(43, 22, 48, .25); }
.legal .en h2:first-child, .legal .pt h2:first-child { margin-top: 0; }
.legal-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; width: min(820px, 100% - 32px); margin: 0 auto 18px; }
.legal-nav a { padding: 8px 16px; border: 3px solid var(--ink); border-radius: 999px; background: #fff; font-family: var(--font-display); font-size: 17px; text-decoration: none; box-shadow: 0 3px 0 var(--ink); }
.legal-nav a[aria-current="page"] { background: var(--gold); color: var(--ink); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
