/* landing.css — estilos de la landing (index.html). Mobile-first.
   Las páginas legales siguen usando site.css. */

*, *::before, *::after { box-sizing: border-box; }
:root {
  --accent: #C2128F;
  --accent-dark: #A10E77;
  --accent-deep: #7A0A5A;
  --pink: #FF44CC;
  --pink-bg: #FFF4FB;
  --pink-chip: #FFE3F5;
  --ink: #2B2A2D;
  --ink-2: #4A4650;
  --ink-3: #55505B;
  --line: #EDE6EB;
  --soft: #FAF8F9;
  --ok: #1F8A4C;
  --ok-deep: #1B6B3C;
  --gray-dark: #2F2F2F;
  --header-h: 64px;
  --bar-h: 76px;
}
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body {
  margin: 0; font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--ink); background: #fff; line-height: 1.5; overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
h1, h2, h3 { font-family: 'Poppins', system-ui, sans-serif; margin: 0; }
p { margin: 0; }
a { color: var(--accent-dark); }
a:hover { color: var(--accent-deep); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; background: #fff; color: var(--ink); padding: 10px 14px; border-radius: 8px; z-index: 300; font-weight: 600; }
.skip:focus { top: 8px; }
section[id] { scroll-margin-top: calc(var(--header-h) + 8px); }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.sec { padding: 56px 0; }
.sec-tint { background: var(--pink-bg); }
.sec-soft { background: var(--soft); }
.sec-dark { background: var(--gray-dark); color: #F4F1F3; }
.stack { display: flex; flex-direction: column; gap: 32px; }
.center { text-align: center; align-items: center; }
.eyebrow { font-size: 13px; font-weight: 700; color: var(--accent-dark); text-transform: uppercase; letter-spacing: .08em; }
.h2 { font-size: clamp(1.625rem, 1.1rem + 2.4vw, 2.25rem); font-weight: 800; letter-spacing: -.01em; line-height: 1.15; }
.h2-sm { font-size: clamp(1.5rem, 1.1rem + 1.6vw, 1.875rem); line-height: 1.2; }
.lead { font-size: clamp(1rem, .95rem + .3vw, 1.125rem); color: var(--ink-3); line-height: 1.6; }
.measure { max-width: 62ch; }

/* Botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; text-align: center;
  min-height: 48px; padding: 14px 24px; border-radius: 12px; font-weight: 700; font-size: 17px;
  text-decoration: none; border: 1px solid transparent; line-height: 1.2;
}
.header-actions .btn { white-space: nowrap; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); color: #fff; }
.btn-ghost { background: #fff; color: var(--ink); border-color: #DCD3DA; }
.btn-ghost:hover { background: var(--soft); color: var(--ink); }
.btn-block { width: 100%; }
.btn-sm { min-height: 44px; padding: 10px 16px; font-size: 15px; border-radius: 10px; }
.btn-row { display: flex; flex-direction: column; gap: 12px; width: 100%; }

/* Header */
.header { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid var(--line); }
.header-in { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.logo { white-space: nowrap; flex: none; display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); font-family: 'Poppins', sans-serif; font-size: 20px; letter-spacing: -.01em; min-height: 44px; }
.logo svg { width: 32px; height: 32px; flex: none; }
.logo b { color: #D61AA6; font-weight: 700; }
.logo span span { font-weight: 600; }
.header-actions { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-toggle { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; background: none; border: 0; border-radius: 10px; color: var(--ink); cursor: pointer; padding: 0; }
.nav-toggle:hover { background: var(--soft); }
.nav-toggle .bars, .nav-toggle .bars::before, .nav-toggle .bars::after { display: block; width: 22px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle .bars { position: relative; }
.nav-toggle .bars::before, .nav-toggle .bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle .bars::before { top: -7px; }
.nav-toggle .bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { top: 0; transform: rotate(-45deg); }
.nav { display: none; position: absolute; left: 0; right: 0; top: var(--header-h); background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 16px 24px rgba(40,10,30,.08); padding: 8px 20px 16px; }
.nav.open { display: block; }
.nav ul { list-style: none; margin: 0; padding: 0; }
.nav a { display: flex; align-items: center; min-height: 48px; color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: 17px; border-bottom: 1px solid var(--line); }
.nav li:last-child a { border-bottom: 0; }
.nav a:hover { color: var(--accent-dark); }
.login-desktop { display: none; }
.login-mobile a { font-weight: 600; color: var(--ink); }

/* Hero */
.hero { padding: 36px 0 48px; background: var(--pink-bg); }
.hero-grid { display: grid; gap: 32px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.chip { align-self: flex-start; font-size: 12px; font-weight: 700; color: var(--accent-dark); background: var(--pink-chip); padding: 7px 12px; border-radius: 999px; text-transform: uppercase; letter-spacing: .06em; }
.h1 { font-size: clamp(1.875rem, 1.2rem + 3.4vw, 3.25rem); line-height: 1.1; font-weight: 800; letter-spacing: -.02em; overflow-wrap: break-word; }
.h1 em { font-style: normal; color: var(--accent); }
.hero-lead { font-size: clamp(1.0625rem, 1rem + .3vw, 1.1875rem); line-height: 1.55; color: var(--ink-3); }
.hero-cta { display: flex; flex-direction: column; gap: 10px; }
.note { font-size: 14px; color: var(--ink-3); }
.checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--ink-3); font-weight: 500; }
.checks li { display: flex; align-items: center; gap: 8px; }
.checks svg { flex: none; }
.shot { border-radius: 16px; background: #fff; border: 1px solid #E8DEE5; box-shadow: 0 28px 56px rgba(80,20,60,.14); overflow: hidden; }
.shot-bar { display: flex; align-items: center; gap: 7px; padding: 10px 14px; background: var(--gray-dark); }
.shot-bar i { width: 10px; height: 10px; border-radius: 50%; display: block; }
.shot-bar span { margin-left: 8px; font-size: 12px; color: #EDEAEC; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.shot img { display: block; width: 100%; height: auto; }

/* Funciona con */
.works { border-bottom: 1px solid var(--line); padding: 24px 0; }
.works-in { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 28px; }
.works-in > span:first-child { font-size: 14px; color: var(--ink-3); font-weight: 600; width: 100%; text-align: center; }
.works-in ul { display: contents; list-style: none; margin: 0; padding: 0; }
.works-in li { font-size: 16px; font-weight: 700; }

/* Grids */
.grid { display: grid; gap: 16px; }
.card { border: 1px solid var(--line); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 10px; background: #fff; }
.card h3 { font-size: 18px; font-weight: 700; }
.card p { font-size: 15px; color: var(--ink-3); line-height: 1.55; }
.step-n { width: 44px; height: 44px; border-radius: 12px; background: var(--pink-chip); color: var(--accent-dark); display: flex; align-items: center; justify-content: center; font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 19px; }
.card.step h3 { font-size: 20px; }
.card.step p { font-size: 16px; }

/* Splits (texto + imagen) */
.split { display: grid; gap: 28px; align-items: center; }
.split > * { min-width: 0; }
.copy { display: flex; flex-direction: column; gap: 14px; }
.panel { background: #fff; border: 1px solid #E8DEE5; border-radius: 16px; padding: 20px; box-shadow: 0 18px 40px rgba(80,20,60,.10); }
.panel-center { display: flex; justify-content: center; }
.panel-soft { background: var(--soft); box-shadow: none; }
.panel img { display: block; width: 100%; height: auto; }
.img-wa { max-width: 420px; }
.img-mp { max-width: 380px; border-radius: 12px; box-shadow: 0 18px 40px rgba(80,20,60,.12); }
.frame { border-radius: 16px; overflow: hidden; border: 1px solid #E8DEE5; box-shadow: 0 18px 40px rgba(80,20,60,.10); }
.frames { display: flex; flex-direction: column; gap: 16px; }
.frame img { display: block; width: 100%; height: auto; }
.big-stack { display: flex; flex-direction: column; gap: 56px; }

/* Offline mock */
.off { display: flex; flex-direction: column; gap: 10px; }
.off-head { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; font-weight: 700; color: #7A5A00; }
.off-head i { width: 10px; height: 10px; border-radius: 50%; background: #FFC72E; flex: none; margin-top: 6px; }
.off-row { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; padding: 10px 12px; border-radius: 10px; background: var(--soft); }
.off-row b { font-weight: 600; }
.off-row span { color: var(--ink-3); }
.off-ok { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--ok-deep); background: #E3F5EA; padding: 10px 12px; border-radius: 10px; }
.small { font-size: 14px; color: var(--ink-3); }

/* Antes / después */
.ba .lbl { font-size: 13px; font-weight: 700; }
.ba .bad { color: #B42318; }
.ba .good { color: var(--ok-deep); }
.ba .t { font-size: 16px; color: var(--ink-2); line-height: 1.5; }
.ba .t2 { font-size: 16px; color: var(--ink); line-height: 1.5; font-weight: 600; }
.ba hr { border: 0; height: 1px; background: var(--line); width: 100%; margin: 2px 0; }
.mid-cta { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.mid-cta strong { font-size: 17px; font-weight: 600; }

/* Pasos oscuros */
.sec-dark .lead { color: #D8D2D6; }
.dstep { border: 1px solid #5C5760; border-radius: 14px; padding: 18px; display: flex; flex-direction: column; gap: 8px; }
.dstep b { font-family: 'Poppins', sans-serif; font-size: 28px; font-weight: 800; color: #FF7AD9; line-height: 1; }
.dstep p { font-size: 15px; line-height: 1.5; color: #EDEAEC; }
.dgrid { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }

/* Rubros */
.pills { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.pills li { padding: 10px 16px; border-radius: 999px; background: var(--pink-bg); border: 1px solid #F3D9EA; font-size: 15px; font-weight: 600; color: var(--ink-2); }

/* Precio */
.price { width: 100%; max-width: 500px; border: 2px solid var(--accent); border-radius: 20px; padding: 24px 20px; display: flex; flex-direction: column; gap: 18px; text-align: left; }
.price-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.price-top strong { font-family: 'Poppins', sans-serif; font-size: 20px; font-weight: 700; }
.badge { font-size: 13px; font-weight: 700; color: var(--accent-dark); background: var(--pink-chip); padding: 6px 10px; border-radius: 999px; }
.amount { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.amount b { font-family: 'Poppins', sans-serif; font-size: clamp(2.5rem, 2rem + 2vw, 3.25rem); font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.amount span { font-size: 16px; color: var(--ink-3); }
.price .perday { margin-top: -8px; font-size: 15px; color: var(--ink-3); }
.incl { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.incl li { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; }
.incl svg { flex: none; margin-top: 4px; }

/* FAQ */
.faq { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; width: 100%; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.faq summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 56px; padding: 14px 18px; font-size: 16px; font-weight: 700; line-height: 1.35; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 10px; height: 10px; border-right: 2px solid var(--accent-dark); border-bottom: 2px solid var(--accent-dark); transform: rotate(45deg); transition: transform .2s; margin-right: 4px; }
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq details p { padding: 0 18px 18px; font-size: 16px; color: var(--ink-3); line-height: 1.6; }

/* CTA final */
.cta-final p.lead { max-width: 56ch; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 36px 0; font-size: 14px; color: var(--ink-3); }
.footer-in { display: flex; flex-direction: column; gap: 24px; }
.footer .brand { font-family: 'Poppins', sans-serif; color: var(--ink); font-size: 16px; margin-bottom: 8px; }
.footer .brand b { color: #D61AA6; }
.footer p + p { margin-top: 6px; }
.footer a { color: var(--ink-3); }
.footer a:hover { color: var(--accent-deep); }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 20px; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; }
.footer-contact a { display: inline-flex; align-items: center; min-height: 44px; }
.footer small { font-size: 13px; }

/* Barra fija móvil */
.bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(40,10,30,.10); padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); transform: translateY(110%); visibility: hidden; transition: transform .25s, visibility .25s; }
.bar.show { transform: none; visibility: visible; }
body { padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom)); }

/* Cookies */
.cookie-banner { position: fixed; left: 12px; right: 12px; bottom: 12px; max-width: 720px; margin: 0 auto; background: var(--gray-dark); color: #fff; border-radius: 14px; padding: 16px; box-shadow: 0 12px 40px rgba(0,0,0,.35); font-size: 14px; line-height: 1.5; z-index: 200; display: none; }
.cookie-banner.visible { display: block; }
.cookie-banner-text { margin-bottom: 12px; }
.cookie-banner-text a { color: #FFB3EA; }
.cookie-banner-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.cookie-btn { font: 600 14px 'Inter', sans-serif; border-radius: 10px; padding: 10px 16px; cursor: pointer; border: 0; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.cookie-btn-primary { background: #fff; color: var(--ink); }
.cookie-btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.4); }
.cookie-btn-link { background: transparent; color: #fff; text-decoration: underline; }

/* ≥ 640px */
@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .btn-row { flex-direction: row; flex-wrap: wrap; }
  .btn-row .btn, .hero-cta .btn { width: auto; }
  .checks { flex-direction: row; flex-wrap: wrap; gap: 8px 22px; }
  .works-in > span:first-child { width: auto; }
  .dgrid { grid-template-columns: repeat(3, 1fr); }
  .mid-cta { flex-direction: row; justify-content: center; }
  .price { padding: 36px; }
  .faq summary { padding: 16px 24px; font-size: 17px; }
  .faq details p { padding: 0 24px 20px; }
}
/* ≥ 768px (tablet) */
@media (min-width: 768px) {
  .sec { padding: 72px 0; }
  .wrap { padding: 0 24px; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .footer-in { flex-direction: row; flex-wrap: wrap; justify-content: space-between; }
  .footer small { width: 100%; }
  .panel { padding: 28px; }
}
/* ≥ 960px (menú y columnas de escritorio) */
@media (min-width: 960px) {
  :root { --header-h: 72px; }
  .sec { padding: 88px 0; }
  .nav-toggle, .login-mobile { display: none; }
  .nav { display: block; position: static; box-shadow: none; border: 0; padding: 0; background: none; margin: 0 auto; }
  .nav ul { display: flex; gap: 24px; }
  .nav a { border: 0; min-height: 44px; font-size: 15px; }
  .login-desktop { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; font-weight: 600; font-size: 15px; color: var(--ink); text-decoration: none; }
  .header-actions { margin-left: 0; gap: 8px; }
  .hero { padding: 72px 0; }
  .hero-grid { grid-template-columns: 1fr 1.1fr; gap: 48px; }
  .split { grid-template-columns: 1fr 1fr; gap: 48px; }
  .split.flip > :first-child { order: 2; }
  .split.flip > :last-child { order: 1; }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .grid-fn { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .card { padding: 26px; }
  .big-stack { gap: 80px; }
  .dgrid { grid-template-columns: repeat(6, 1fr); gap: 16px; }
  .footer { padding: 40px 0; }
  .btn-hero { padding: 16px 28px; font-size: 18px; }
  .bar { display: none; }
  body { padding-bottom: 0; }
}
@media (max-width: 959px) {
  .header-actions .btn-sm { padding: 10px 14px; font-size: 14px; }
}
@media (max-width: 380px) {
  .logo { font-size: 18px; }
  .logo svg { width: 28px; height: 28px; }
  .header-actions .btn-sm { padding: 10px 10px; font-size: 13px; }
}
