/* MIGO — sitio oficial */
:root {
  --turq: #14B8C4;
  --turq-d: #0A7882;
  --turq-dd: #064C54;
  --sky: #8CC0EF;
  --ink: #14202B;
  --muted: #55637A;
  --cream: #FBF7F0;
  --sand: #F2EADC;
  --coral: #FF7A45;
  --red: #E53935;
  --white: #FFFFFF;
  --radius: 22px;
  --wrap: 1180px;
  --display: 'Bricolage Grotesque', 'Poppins', sans-serif;
  --body: 'Poppins', system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { font-family: var(--display); line-height: 1.05; letter-spacing: -0.02em; }
h2 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.01em; }
.eyebrow {
  display: inline-block;
  font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--turq-d); margin-bottom: 18px;
}
.lead { font-size: 1.08rem; color: var(--muted); max-width: 520px; }

/* ── Botones ─────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px;
  font-family: var(--body); font-weight: 600; font-size: .98rem;
  text-decoration: none; border: 0; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }
.btn-primary { background: var(--turq-d); color: var(--white); box-shadow: 0 10px 24px -10px rgba(10,120,130,.7); }
.btn-primary:hover { background: var(--turq-dd); }
.btn-light { background: var(--white); color: var(--ink); }
.btn-ghost { background: rgba(255,255,255,.14); color: var(--white); border: 1.5px solid rgba(255,255,255,.55); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255,255,255,.24); }
.btn-wa { background: #1FAF5A; color: var(--white); }
.btn-wa:hover { background: #178F49; }

/* ── Navegación ──────────────────────────── */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .3s ease, box-shadow .3s ease;
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.nav.scrolled { background: rgba(251,247,240,.92); backdrop-filter: blur(12px); box-shadow: 0 1px 0 rgba(20,32,43,.08); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 12px;
  background: linear-gradient(135deg, #A9D6F5, #5FB3E6);
  display: grid; place-items: center;
}
.brand-mark img { width: 26px; }
.brand-name { font-family: var(--display); font-weight: 800; font-size: 1.5rem; letter-spacing: .02em; color: var(--white); transition: color .3s; }
.nav.scrolled .brand-name, .nav.solid .brand-name { color: var(--ink); }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; }
.nav-links a { text-decoration: none; font-size: .93rem; font-weight: 500; color: rgba(255,255,255,.92); transition: color .3s; }
.nav.scrolled .nav-links a, .nav.solid .nav-links a { color: var(--ink); }
.nav-links .btn { padding: 11px 20px; font-size: .9rem; color: var(--white); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--white); margin: 5px 0; border-radius: 2px; transition: .3s; }
.nav.scrolled .nav-toggle span, .nav.solid .nav-toggle span { background: var(--ink); }

/* ── Hero ────────────────────────────────── */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: flex-end;
  color: var(--white); overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg { background: #0d2a1c url(img/hero-poster.jpg) center / cover; }
.hero-bg video { width: 100%; height: 100%; object-fit: cover; object-position: center 70%; }
.hero h1, .hero p, .hero-actions { animation: heroIn 1s cubic-bezier(.2,.7,.2,1) both; }
.hero p { animation-delay: .15s; }
.hero-actions { animation-delay: .3s; }
@keyframes heroIn { from { opacity: 0; transform: translateY(30px); } }
.hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6,30,36,.35) 0%, rgba(6,30,36,0) 30%, rgba(6,30,36,.25) 55%, rgba(6,30,36,.82) 100%);
}
.hero .wrap { position: relative; z-index: 2; padding-bottom: clamp(56px, 10vh, 110px); }
.hero h1 { font-size: clamp(2.9rem, 8vw, 6.6rem); font-weight: 800; max-width: 900px; }
.hero h1 em { font-style: normal; color: #9FE8EE; }
.hero p { font-size: clamp(1.02rem, 1.6vw, 1.2rem); margin: 22px 0 34px; max-width: 520px; color: rgba(255,255,255,.88); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.sticker {
  position: absolute; right: 6%; top: 22%; z-index: 2;
  width: 132px; height: 132px; border-radius: 50%;
  background: var(--coral); color: var(--white);
  display: grid; place-items: center; text-align: center;
  font-family: var(--display); font-weight: 800; font-size: .95rem; line-height: 1.1;
  transform: rotate(-12deg); box-shadow: 0 16px 34px -12px rgba(0,0,0,.45);
  animation: stickerIn .9s .5s cubic-bezier(.3,1.6,.5,1) both, wobble 6s 1.6s ease-in-out infinite;
}
@keyframes stickerIn { from { transform: scale(0) rotate(-40deg); } }
@keyframes wobble { 50% { transform: rotate(-4deg) scale(1.04); } }

/* ── Especies (cinta en movimiento) ──────── */
.species { background: var(--turq-dd); color: var(--white); padding: 34px 0 38px; overflow: hidden; }
.species-title { text-align: center; font-family: var(--display); font-weight: 700; font-size: clamp(1.3rem, 2.6vw, 1.8rem); margin-bottom: 22px; }
.species-title em { font-style: normal; color: var(--coral); }
.marquee { -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 18px; width: max-content; list-style: none; margin: 0; padding: 0; animation: marquee 45s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track li { position: relative; width: 150px; height: 184px; border-radius: 22px; overflow: hidden; flex-shrink: 0; transition: transform .35s; }
.marquee-track li:nth-child(even) { transform: translateY(10px) rotate(1.5deg); }
.marquee-track li:nth-child(odd) { transform: rotate(-1.5deg); }
.marquee-track li:hover { transform: scale(1.06) rotate(0); }
.marquee-track img { width: 100%; height: 100%; object-fit: cover; }
.marquee-track span { position: absolute; left: 10px; bottom: 10px; background: rgba(255,255,255,.94); color: var(--ink, #14202B); font-weight: 600; font-size: .8rem; padding: 5px 11px; border-radius: 999px; }
@keyframes marquee { to { transform: translateX(-50%); } }
.sticker small { display: block; font-family: var(--body); font-weight: 500; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; opacity: .9; margin-top: 4px; }

/* ── Secciones ───────────────────────────── */
section { position: relative; }
.pad { padding: clamp(80px, 12vw, 140px) 0; }

/* Qué es */
.about { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.about-photo { position: relative; }
.about-photo img { border-radius: 32px; aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.about-photo .chip {
  position: absolute; left: -18px; bottom: 40px;
  background: var(--white); border-radius: 18px; padding: 14px 18px;
  box-shadow: 0 20px 40px -18px rgba(20,32,43,.35);
  display: flex; gap: 12px; align-items: center; font-size: .88rem; max-width: 270px;
}
.chip-dot { width: 42px; height: 42px; border-radius: 12px; background: #E6F8F7; display: grid; place-items: center; flex-shrink: 0; }
.chip-dot svg { width: 22px; height: 22px; color: var(--turq-d); }
.chip b { display: block; font-weight: 600; }
.chip span { color: var(--muted); font-size: .8rem; }
.features { margin-top: 38px; list-style: none; border-top: 1px solid rgba(20,32,43,.1); }
.features li { display: grid; grid-template-columns: 150px 1fr; gap: 20px; padding: 20px 0; border-bottom: 1px solid rgba(20,32,43,.1); }
.features h3 { font-size: 1.08rem; }
.features p { color: var(--muted); font-size: .95rem; }

/* Placa QR */
.qr { background: var(--turq-dd); color: var(--white); overflow: hidden; }
.qr::before {
  content: ''; position: absolute; width: 760px; height: 760px; border-radius: 50%;
  right: -260px; top: -200px; background: radial-gradient(circle, rgba(20,184,196,.45), transparent 65%);
}
.qr-grid { position: relative; display: grid; grid-template-columns: 1fr 420px; gap: clamp(40px, 7vw, 110px); align-items: center; }
.qr .eyebrow { color: #9FE8EE; }
.qr .lead { color: rgba(255,255,255,.78); }
.steps { list-style: none; margin: 40px 0 0; display: grid; gap: 26px; }
.steps li { display: grid; grid-template-columns: 52px 1fr; gap: 18px; align-items: start; }
.step-ico { width: 52px; height: 52px; border-radius: 16px; background: rgba(255,255,255,.1); display: grid; place-items: center; }
.step-ico svg { width: 24px; height: 24px; color: #9FE8EE; }
.steps h3 { font-size: 1.1rem; margin-bottom: 4px; }
.steps p { color: rgba(255,255,255,.72); font-size: .95rem; }
.qr-note { margin-top: 34px; display: inline-flex; gap: 10px; align-items: center; background: rgba(255,255,255,.08); padding: 10px 18px; border-radius: 999px; font-size: .9rem; }
.qr-note b { color: #9FE8EE; }

/* Teléfono con la ficha pública */
.phone {
  width: 100%; max-width: 360px; margin: 0 auto;
  background: #0B1418; border-radius: 46px; padding: 12px;
  box-shadow: 0 50px 90px -30px rgba(0,0,0,.6), inset 0 0 0 2px rgba(255,255,255,.08);
  transform: rotate(3deg);
}
.screen { background: #F2F7FA; border-radius: 36px; overflow: hidden; color: var(--ink); }
.ficha-photo { position: relative; aspect-ratio: 4/3.4; }
.ficha-photo img { width: 100%; height: 100%; object-fit: cover; }
.ficha-logo { position: absolute; left: 14px; top: 14px; width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(135deg, #A9D6F5, #5FB3E6); display: grid; place-items: center; }
.ficha-logo img { width: 21px; }
.bubble {
  position: absolute; right: 14px; top: 16px;
  background: var(--red); color: var(--white); font-weight: 700; font-size: .78rem; letter-spacing: .06em;
  padding: 7px 13px; border-radius: 14px 14px 4px 14px; box-shadow: 0 8px 18px -6px rgba(229,57,53,.7);
}
.ficha-body { padding: 18px 20px 22px; }
.ficha-body h4 { font-family: var(--display); font-size: 1.6rem; font-weight: 800; }
.ficha-body .sub { color: var(--muted); font-size: .82rem; margin-bottom: 14px; }
.ficha-msg { background: var(--white); border-radius: 14px; padding: 12px 14px; font-size: .8rem; color: var(--muted); text-align: justify; margin-bottom: 14px; }
.ficha-row { display: flex; justify-content: space-between; font-size: .8rem; padding: 7px 0; border-bottom: 1px solid #E2E9F0; }
.ficha-row b { font-weight: 600; }
.ficha-btn { margin-top: 16px; background: #1FAF5A; color: var(--white); border-radius: 14px; text-align: center; padding: 12px; font-weight: 600; font-size: .88rem; }

/* Comunidad */
.lost { display: grid; grid-template-columns: 1fr 1fr; min-height: 640px; }
.lost-photo { position: relative; }
.lost-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lost-text { background: var(--sand); padding: clamp(60px, 8vw, 110px) clamp(24px, 6vw, 90px); display: flex; flex-direction: column; justify-content: center; }
.lost-text .eyebrow { color: var(--red); }
.alert-card {
  margin-top: 34px; background: var(--white); border-radius: 20px; padding: 16px;
  display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center;
  box-shadow: 0 24px 40px -24px rgba(20,32,43,.35); max-width: 440px; border-left: 4px solid var(--red);
}
.alert-card img { width: 64px; height: 64px; border-radius: 14px; object-fit: cover; }
.alert-card b { display: block; font-size: .95rem; }
.alert-card span { font-size: .8rem; color: var(--muted); }
.alert-card .dist { font-size: .78rem; font-weight: 600; color: var(--red); background: #FDECEC; padding: 5px 10px; border-radius: 999px; white-space: nowrap; }

/* Negocios */
.biz { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.biz-media { position: relative; }
.biz-media img { border-radius: 32px; aspect-ratio: 4/5; object-fit: cover; object-position: center 40%; width: 100%; }
.reel-ui { position: absolute; left: 22px; right: 22px; bottom: 22px; color: var(--white); }
.reel-ui .tag { display: inline-block; font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; background: rgba(0,0,0,.35); backdrop-filter: blur(6px); padding: 5px 11px; border-radius: 999px; margin-bottom: 10px; }
.reel-ui b { display: block; font-family: var(--display); font-size: 1.35rem; text-shadow: 0 2px 12px rgba(0,0,0,.4); }
.reel-ui .reel-actions { display: flex; gap: 10px; margin-top: 14px; }
.reel-ui .reel-actions span { flex: 1; text-align: center; padding: 11px; border-radius: 14px; font-size: .85rem; font-weight: 600; }
.reel-ui .wa { background: #1FAF5A; }
.reel-ui .map { background: rgba(255,255,255,.22); backdrop-filter: blur(6px); }
.biz-list { list-style: none; margin: 30px 0 36px; display: grid; gap: 14px; }
.biz-list li { display: flex; gap: 14px; align-items: flex-start; }
.biz-list svg { width: 22px; height: 22px; color: var(--turq-d); flex-shrink: 0; margin-top: 3px; }
.soon { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 600; color: var(--coral); background: #FFEDE4; padding: 6px 12px; border-radius: 999px; margin-bottom: 18px; }

/* Precios */
.pricing { background: var(--white); }
.pricing-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.pricing-head .lead { margin: 18px auto 0; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan { border-radius: 28px; padding: 34px 30px; background: var(--cream); display: flex; flex-direction: column; }
.plan h3 { font-size: 1.15rem; }
.plan .price { font-family: var(--display); font-size: 3rem; font-weight: 800; margin: 18px 0 2px; letter-spacing: -0.03em; }
.plan .price small { font-family: var(--body); font-size: .9rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan .note { font-size: .85rem; color: var(--muted); margin-bottom: 24px; }
.plan ul { list-style: none; display: grid; gap: 11px; margin-bottom: 30px; flex: 1; }
.plan li { display: flex; gap: 10px; font-size: .93rem; }
.plan li::before { content: ''; width: 18px; height: 18px; flex-shrink: 0; margin-top: 3px; border-radius: 50%; background: #D3F2F1 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A7882' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center/11px no-repeat; }
.plan .btn { justify-content: center; }
.plan.featured { background: var(--turq-dd); color: var(--white); position: relative; }
.plan.featured .note, .plan.featured .price small { color: rgba(255,255,255,.7); }
.plan.featured li::before { background-color: rgba(159,232,238,.2); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239FE8EE' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E"); }
.plan .badge { position: absolute; top: -13px; left: 30px; background: var(--coral); color: var(--white); font-size: .75rem; font-weight: 600; padding: 5px 13px; border-radius: 999px; }
.pricing-foot { text-align: center; margin-top: 30px; color: var(--muted); font-size: .9rem; }

/* FAQ */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 90px); }
.faq-list details { border-bottom: 1px solid rgba(20,32,43,.12); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-weight: 600; font-size: 1.03rem; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; font-family: var(--display); font-size: 1.6rem; font-weight: 400; color: var(--turq-d); transition: transform .25s; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { color: var(--muted); padding: 0 40px 22px 0; font-size: .96rem; }

/* CTA final */
.cta { position: relative; overflow: hidden; color: var(--white); }
.cta img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.cta::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,40,46,.9) 0%, rgba(6,40,46,.55) 55%, rgba(6,40,46,.1) 100%); }
.cta .wrap { position: relative; z-index: 2; padding-top: clamp(100px, 14vw, 170px); padding-bottom: clamp(100px, 14vw, 170px); }
.cta h2 { max-width: 620px; }
.cta p { margin: 20px 0 34px; max-width: 460px; color: rgba(255,255,255,.85); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.play-badge { display: inline-flex; align-items: center; gap: 12px; background: #000; color: var(--white); border-radius: 14px; padding: 9px 20px 9px 16px; text-decoration: none; border: 1px solid rgba(255,255,255,.3); }
.play-badge svg { width: 26px; height: 26px; }
.play-badge small { display: block; font-size: .66rem; letter-spacing: .06em; text-transform: uppercase; opacity: .8; line-height: 1.2; }
.play-badge b { font-size: 1.1rem; font-weight: 600; line-height: 1.2; }

/* Footer */
.footer { background: var(--ink); color: rgba(255,255,255,.72); padding: 70px 0 34px; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 46px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer .brand-name { color: var(--white); }
.footer p { margin-top: 16px; max-width: 320px; }
.footer h4 { color: var(--white); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; font-weight: 600; }
.footer ul { list-style: none; display: grid; gap: 10px; }
.footer a { text-decoration: none; transition: color .2s; }
.footer a:hover { color: #9FE8EE; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 26px; font-size: .82rem; }

/* WhatsApp flotante */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 40;
  width: 58px; height: 58px; border-radius: 50%; background: #1FAF5A;
  display: grid; place-items: center; box-shadow: 0 14px 30px -10px rgba(31,175,90,.7);
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.07); }
.wa-float svg { width: 30px; height: 30px; color: var(--white); }

/* Aparición al hacer scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero h1, .hero p, .hero-actions, .sticker, .marquee-track, .phone, .about-photo .chip { animation: none; }
  .marquee { overflow-x: auto; }
  html { scroll-behavior: auto; }
}

/* ── Páginas legales ─────────────────────── */
.legal-hero { background: var(--turq-dd); color: var(--white); padding: 150px 0 70px; }
.legal-hero h1 { font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 800; }
.legal-hero p { color: rgba(255,255,255,.75); margin-top: 14px; }
.legal { max-width: 760px; margin: 0 auto; padding: 70px 24px 110px; }
.legal h2 { font-size: 1.45rem; margin: 46px 0 14px; letter-spacing: -0.01em; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { color: #3A4757; margin-bottom: 12px; }
.legal ul, .legal ol { padding-left: 22px; margin-bottom: 14px; }
.legal strong { color: var(--ink); }
.legal .box { background: var(--white); border-radius: 18px; padding: 22px 24px; margin: 22px 0; border-left: 4px solid var(--turq); }
.legal .box p:last-child { margin-bottom: 0; }

/* ── Responsive ──────────────────────────── */
@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--cream); padding: 10px 24px 26px; box-shadow: 0 20px 30px -20px rgba(0,0,0,.25);
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: .25s ease;
  }
  .nav-links a { color: var(--ink); display: block; padding: 12px 0; }
  .nav-links li { width: 100%; }
  .nav-links .btn { margin-top: 10px; justify-content: center; width: 100%; }
  .nav.open { background: var(--cream); }
  .nav.open .brand-name { color: var(--ink); }
  .nav.open .nav-toggle span { background: var(--ink); }
  .nav.open .nav-links { transform: none; opacity: 1; pointer-events: auto; }
  .about, .biz, .faq, .qr-grid { grid-template-columns: 1fr; }
  .lost { grid-template-columns: 1fr; }
  .lost-photo { min-height: 380px; }
  .plans { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .plan.featured { order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .biz-media { order: 2; }
  .sticker { top: 104px; right: 18px; width: 104px; height: 104px; font-size: .8rem; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .features li { grid-template-columns: 1fr; gap: 4px; }
  .about-photo .chip { left: 12px; bottom: 16px; }
  .hero-actions .btn, .cta-actions > * { width: 100%; justify-content: center; }
  .alert-card { grid-template-columns: 52px 1fr; }
  .alert-card img { width: 52px; height: 52px; }
  .alert-card .dist { grid-column: 1 / -1; justify-self: start; }
  .phone { transform: none; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* Subtítulo de la marca */
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-sub { font-size: .68rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.8); margin-top: 3px; transition: color .3s; }
.nav.scrolled .brand-sub, .nav.open .brand-sub { color: var(--muted); }

/* ── Movimiento suave ────────────────────── */
.about-photo .chip { animation: floaty 5s ease-in-out infinite; }
.qr .phone { animation: floaty 7s 1s ease-in-out infinite; }
@keyframes floaty { 50% { translate: 0 -10px; } }
.plan { transition: transform .35s, box-shadow .35s; }
.plan:hover { transform: translateY(-8px); box-shadow: 0 30px 60px -30px rgba(20,32,43,.35); }
.reveal:nth-child(2) { transition-delay: .12s; }
.reveal:nth-child(3) { transition-delay: .24s; }
@media (max-width: 640px) {
  .marquee-track li { width: 120px; height: 150px; }
  .marquee-track { animation-duration: 35s; }
}

/* ── Logo de la app ─────────────────────── */
.brand-icon { width: 44px; height: 44px; border-radius: 12px; }
.ficha-photo .ficha-logo { width: 38px; height: 38px; border-radius: 10px; background: none; box-shadow: 0 6px 14px -6px rgba(0,0,0,.4); }

/* ── Comunidad: mapa ─────────────────────── */
.lost-map { position: relative; overflow: hidden; min-height: 520px; background: #E8EEE5; }
.map-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.ring { position: absolute; left: 50%; top: 48%; width: 120px; height: 120px; margin: -60px 0 0 -60px; border-radius: 50%; background: rgba(229,57,53,.18); border: 2px solid rgba(229,57,53,.45); animation: ripple 3.6s ease-out infinite; }
.ring.r2 { animation-delay: 1.2s; }
.ring.r3 { animation-delay: 2.4s; }
@keyframes ripple { from { transform: scale(.3); opacity: 1; } to { transform: scale(5.5); opacity: 0; } }
.map-pin { position: absolute; left: 50%; top: 48%; width: 74px; height: 74px; margin: -88px 0 0 -37px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--red); padding: 5px; box-shadow: 0 14px 26px -10px rgba(0,0,0,.45); }
.map-pin img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; transform: rotate(45deg); }
.neighbor { position: absolute; left: var(--x); top: var(--y); width: 18px; height: 18px; border-radius: 50%; background: var(--turq); border: 3px solid var(--white); box-shadow: 0 4px 10px rgba(0,0,0,.25); animation: ping 3.6s var(--d) ease-in-out infinite; }
.neighbor::after { content: ''; position: absolute; right: -12px; top: -14px; width: 16px; height: 16px; border-radius: 50%; background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M6 8a6 6 0 0 1 12 0c0 7 3 9 3 9H3s3-2 3-9'/%3E%3C/svg%3E") center / 9px no-repeat; transform: scale(0); animation: notif 3.6s var(--d) ease-in-out infinite; }
@keyframes ping { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.35); } }
@keyframes notif { 0%, 8% { transform: scale(0); } 18%, 70% { transform: scale(1); } 85%, 100% { transform: scale(0); } }
.map-toast { position: absolute; left: 50%; bottom: 34px; transform: translateX(-50%); display: flex; align-items: center; gap: 10px; white-space: nowrap; background: var(--white); color: var(--ink); font-size: .88rem; padding: 12px 18px; border-radius: 999px; box-shadow: 0 18px 36px -16px rgba(20,32,43,.45); }
.map-toast-dot { width: 10px; height: 10px; border-radius: 50%; background: #1FAF5A; box-shadow: 0 0 0 4px rgba(31,175,90,.2); }

/* ── Entre amigos (video) ────────────────── */
.friends { background: var(--white); }
.friends-grid { display: grid; grid-template-columns: .8fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.friends-video { position: relative; max-width: 380px; width: 100%; justify-self: center; }
.friends-video video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 32px; display: block; background: #ddd; box-shadow: 0 40px 70px -35px rgba(20,32,43,.5); }
.friends-chip { position: absolute; right: -40px; top: 18%; display: flex; gap: 12px; align-items: center; background: var(--white); padding: 12px 16px 12px 12px; border-radius: 18px; box-shadow: 0 20px 40px -18px rgba(20,32,43,.4); animation: floaty 6s ease-in-out infinite; }
.friends-chip img { width: 40px; height: 40px; border-radius: 11px; }
.friends-chip b { display: block; font-size: .9rem; }
.friends-chip span { font-size: .78rem; color: var(--muted); }

/* ── Negocios ────────────────────────────── */
.biz-sec { background: var(--ink); color: var(--white); overflow: hidden; }
.biz-sec .eyebrow { color: var(--coral); }
.biz-sec .lead { color: rgba(255,255,255,.75); }
.biz-stage { position: relative; }
.reel-phone { transform: rotate(-3deg); max-width: 330px; }
.reel-screen { position: relative; aspect-ratio: 9 / 18; color: var(--white); }
.reel-screen > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reel-screen::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.35), transparent 22%, transparent 50%, rgba(0,0,0,.75)); }
.reel-tabs, .reel-side, .reel-info { position: absolute; z-index: 1; }
.reel-tabs { top: 22px; left: 0; right: 0; display: flex; justify-content: center; gap: 16px; font-size: .8rem; font-weight: 600; opacity: .75; }
.reel-tabs .on { opacity: 1; border-bottom: 2px solid var(--white); padding-bottom: 3px; }
.reel-side { right: 12px; bottom: 190px; display: grid; gap: 16px; text-align: center; font-size: 1.4rem; }
.reel-side small { display: block; font-size: .62rem; font-weight: 600; }
.reel-info { left: 16px; right: 16px; bottom: 18px; }
.reel-biz { display: flex; align-items: center; gap: 10px; }
.reel-avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--coral); display: grid; place-items: center; font-weight: 700; font-size: .8rem; border: 2px solid var(--white); }
.reel-biz b { display: block; font-size: .95rem; }
.reel-biz small { font-size: .74rem; opacity: .85; }
.reel-info p { font-size: .8rem; margin: 10px 0 12px; opacity: .92; }
.reel-info .reel-actions { display: flex; gap: 8px; }
.reel-info .reel-actions span { flex: 1; text-align: center; padding: 10px; border-radius: 12px; font-size: .8rem; font-weight: 600; }
.reel-info .wa { background: #1FAF5A; }
.reel-info .map { background: rgba(255,255,255,.22); backdrop-filter: blur(6px); }
.wa-toast { position: absolute; right: -10px; top: 14%; max-width: 250px; display: flex; gap: 10px; background: var(--white); color: var(--ink); padding: 12px 14px; border-radius: 16px; box-shadow: 0 24px 40px -18px rgba(0,0,0,.6); animation: floaty 6s ease-in-out infinite; }
.wa-toast svg { width: 30px; height: 30px; color: #1FAF5A; flex-shrink: 0; }
.wa-toast b { display: block; font-size: .85rem; }
.wa-toast span { font-size: .78rem; color: var(--muted); }
.biz-perks { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 30px; }
.biz-perks div { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 18px; padding: 18px; transition: background .3s, transform .3s; }
.biz-perks div:hover { background: rgba(255,122,69,.12); transform: translateY(-4px); }
.biz-perks h3 { font-size: 1rem; margin-bottom: 6px; }
.biz-perks p { font-size: .85rem; color: rgba(255,255,255,.7); }
.biz-how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: clamp(60px, 8vw, 100px); }
.biz-step { border-top: 1px solid rgba(255,255,255,.18); padding-top: 22px; }
.biz-step span { font-family: var(--display); font-weight: 800; font-size: 2.4rem; color: var(--coral); line-height: 1; }
.biz-step h3 { font-size: 1.1rem; margin: 10px 0 6px; }
.biz-step p { font-size: .9rem; color: rgba(255,255,255,.7); }
.biz-cta { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; margin-top: 56px; padding: 30px; border-radius: 26px; background: linear-gradient(120deg, #FF7A45, #E8582A); }
.biz-cats { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.biz-cats span { background: rgba(255,255,255,.2); padding: 6px 12px; border-radius: 999px; font-size: .8rem; font-weight: 600; }
.biz-cta p { font-size: .9rem; opacity: .95; }
.biz-cta .btn-wa { background: var(--white); color: #128C4B; }

@media (max-width: 960px) {
  .friends-grid { grid-template-columns: 1fr; }
  .friends-chip { right: -6px; }
  .biz-how { grid-template-columns: 1fr; }
  .lost-map { min-height: 420px; }
  .wa-toast { right: 0; }
}
@media (max-width: 560px) {
  .biz-perks { grid-template-columns: 1fr; }
  .map-toast { font-size: .78rem; }
}
@media (prefers-reduced-motion: reduce) {
  .ring, .neighbor, .neighbor::after, .friends-chip, .wa-toast { animation: none; }
  .neighbor::after { transform: scale(1); }
}


/* ── La app: imagen fija que cambia con el scroll ── */
.story { background: var(--cream); }
.story-head { max-width: 760px; margin-bottom: 30px; }
.story-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.story-media { position: sticky; top: 100px; height: min(calc(100vh - 140px), 720px); border-radius: 32px; overflow: hidden; background: var(--sand); box-shadow: 0 40px 80px -45px rgba(20,32,43,.5); }
.story-img { position: absolute; inset: 0; margin: 0; background: center / cover; opacity: 0; transform: scale(1.06); transition: opacity .8s ease, transform 1.4s cubic-bezier(.16,.7,.2,1); }
.story-img.on { opacity: 1; transform: none; }
.story-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(6,30,36,.45)); }
.story-chip { position: absolute; left: 24px; bottom: 24px; z-index: 1; display: flex; gap: 12px; align-items: center; background: var(--white); border-radius: 18px; padding: 12px 18px 12px 12px; box-shadow: 0 20px 40px -18px rgba(20,32,43,.45); opacity: 0; transform: translateY(16px); transition: opacity .5s .35s, transform .6s .35s cubic-bezier(.2,.8,.2,1); }
.story-img.on .story-chip { opacity: 1; transform: none; }
.story-chip b { display: block; font-size: .92rem; }
.story-chip span:not(.chip-dot) { font-size: .8rem; color: var(--muted); }
.story-chip.alert .chip-dot { background: #FDECEC; }
.story-chip.alert .chip-dot svg { color: var(--red); }
.story-count { position: absolute; right: 20px; top: 18px; z-index: 2; font-size: .78rem; font-weight: 600; letter-spacing: .14em; color: var(--white); background: rgba(6,30,36,.45); backdrop-filter: blur(6px); padding: 7px 12px; border-radius: 999px; }
.story-list { list-style: none; margin: 0; padding: 0; }
.story-step { min-height: 72vh; display: flex; flex-direction: column; justify-content: center; padding: 40px 0; opacity: .3; transition: opacity .5s; }
.story-step.on { opacity: 1; }
.story-step q { quotes: "«" "»"; font-family: var(--display); font-weight: 600; font-size: 1.05rem; color: var(--coral); margin-bottom: 14px; }
.story-step h3 { font-family: var(--display); font-weight: 800; font-size: clamp(1.8rem, 3vw, 2.5rem); line-height: 1.08; letter-spacing: -0.02em; margin-bottom: 16px; }
.story-step p { color: var(--muted); font-size: 1.02rem; max-width: 46ch; }
.pills { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; }
.pills li { font-size: .8rem; font-weight: 500; border: 1px solid rgba(20,32,43,.14); border-radius: 999px; padding: 6px 14px; background: var(--white); }
.story-img-m { display: none; }
@media (max-width: 960px) {
  .story-grid { grid-template-columns: 1fr; }
  .story-media { display: none; }
  .story-step { min-height: 0; opacity: 1; padding: 26px 0; }
  .story-img-m { display: block; aspect-ratio: 16 / 10; border-radius: 22px; background: center / cover; margin-bottom: 20px; }
}

/* ── Placa QR 3D ─────────────────────────── */
.qr-top { max-width: 720px; margin: 0 auto 50px; text-align: center; }
.qr-top .lead { margin: 18px auto 0; }
.qr-stage { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 40px; align-items: center; }
.tag-scene { position: relative; height: 380px; perspective: 1000px; display: grid; place-items: center; }
.tag { position: relative; width: 210px; height: 250px; transform-style: preserve-3d; animation: tagSpin 9s ease-in-out infinite; }
.tag-scene:hover .tag { animation-play-state: paused; }
@keyframes tagSpin {
  0%, 100% { transform: translateY(0) rotateY(-24deg) rotateX(8deg); }
  25% { transform: translateY(-14px) rotateY(18deg) rotateX(4deg); }
  50% { transform: translateY(0) rotateY(160deg) rotateX(8deg); }
  75% { transform: translateY(-14px) rotateY(200deg) rotateX(4deg); }
}
.tag-face {
  position: absolute; inset: 0; border-radius: 44px 44px 60px 60px; backface-visibility: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  background: linear-gradient(145deg, #F4FBFC 0%, #D9EEF1 45%, #BFDDE2 100%);
  box-shadow: inset 0 2px 0 rgba(255,255,255,.9), inset 0 -6px 14px rgba(6,76,84,.18), 0 0 0 6px #9CCBD2, 0 0 0 7px rgba(6,76,84,.25);
}
.tag-back { transform: rotateY(180deg); background: linear-gradient(145deg, #5FC9D2, #14B8C4 45%, #0A7882); color: var(--white); }
.tag-hole { position: absolute; top: 16px; width: 26px; height: 26px; border-radius: 50%; background: var(--turq-dd); box-shadow: inset 0 3px 6px rgba(0,0,0,.45), 0 0 0 4px rgba(255,255,255,.6); }
.tag-qr { width: 118px; height: 118px; margin-top: 26px; padding: 10px; background: var(--white); border-radius: 14px; box-shadow: 0 4px 10px -4px rgba(6,76,84,.35); }
.tag-back img { width: 84px; height: 84px; margin-top: 22px; border-radius: 20px; }
.tag-txt { font-family: var(--display); font-weight: 700; font-size: .95rem; color: var(--turq-dd); text-align: center; line-height: 1.2; }
.tag-back .tag-txt { color: var(--white); font-size: .85rem; }
.tag-shadow { position: absolute; bottom: 18px; left: 50%; width: 160px; height: 22px; margin-left: -80px; border-radius: 50%; background: rgba(0,0,0,.35); filter: blur(12px); animation: tagShadow 9s ease-in-out infinite; }
@keyframes tagShadow { 25%, 75% { transform: scale(.8); opacity: .6; } }
.qr-flow { display: grid; gap: 22px; }
.qr-flow-step { display: flex; gap: 16px; align-items: flex-start; }
.qr-flow-step h3 { font-size: 1.05rem; margin-bottom: 4px; }
.qr-flow-step p { font-size: .9rem; color: rgba(255,255,255,.72); }
.qr-phone { position: relative; }
.qr-phone .phone { transform: rotate(3deg); max-width: 300px; }
.scan-toast { position: absolute; z-index: 3; left: -30px; top: 40px; display: flex; gap: 10px; align-items: center; background: var(--white); color: var(--ink); padding: 10px 14px 10px 10px; border-radius: 16px; box-shadow: 0 24px 40px -18px rgba(0,0,0,.6); animation: floaty 6s ease-in-out infinite; }
.scan-toast img { width: 36px; height: 36px; border-radius: 10px; }
.scan-toast b { display: block; font-size: .82rem; }
.scan-toast span { font-size: .74rem; color: var(--muted); }
.qr-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 60px; }
.qr-facts div { border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.05); border-radius: 20px; padding: 20px; }
.qr-facts b { display: block; font-family: var(--display); font-size: 1.25rem; margin-bottom: 6px; }
.qr-facts span { font-size: .85rem; color: rgba(255,255,255,.72); }
.qr-facts div:last-child { border-color: rgba(255,122,69,.5); background: rgba(255,122,69,.1); }
.qr-cta { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
@media (max-width: 1080px) {
  .qr-stage { grid-template-columns: 1fr 1fr; }
  .qr-flow { grid-column: 1 / -1; grid-row: 2; grid-template-columns: repeat(3, 1fr); }
  .qr-facts { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .qr-stage { grid-template-columns: 1fr; }
  .qr-flow { grid-row: auto; grid-template-columns: 1fr; }
  .tag-scene { height: 320px; }
  .scan-toast { left: 0; top: -10px; }
  .qr-facts { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .tag, .tag-shadow, .scan-toast { animation: none; }
  .story-img, .story-chip { transition: none; }
}

/* ── Página de precios ───────────────────── */
.price-hero { padding-bottom: 90px; }
.price-hero .eyebrow { color: #9FE8EE; }
.price-hero h1 { margin-top: 10px; }
.price-hero + .pricing { padding-top: 0; background: var(--cream); }
.price-hero + .pricing .plans { margin-top: -50px; }
.price-hero + .pricing .plan { background: var(--white); box-shadow: 0 30px 60px -40px rgba(20,32,43,.45); }
.price-hero + .pricing .plan.featured { background: var(--turq-dd); }
.compare { background: var(--white); }
.table-wrap { overflow-x: auto; border-radius: 22px; border: 1px solid rgba(20,32,43,.1); }
.cmp { width: 100%; min-width: 640px; border-collapse: collapse; font-size: .93rem; }
.cmp th, .cmp td { padding: 16px 20px; text-align: left; border-bottom: 1px solid rgba(20,32,43,.08); }
.cmp thead th { background: var(--cream); font-family: var(--display); font-size: 1rem; }
.cmp thead th:last-child { background: var(--turq-dd); color: var(--white); }
.cmp tbody tr:last-child td { border-bottom: 0; background: var(--cream); }
.cmp td:first-child { color: var(--muted); }
.cmp .y { color: var(--turq-d); font-weight: 600; }
.cmp .n { color: #B5BEC9; }
.how-pay { background: var(--cream); }
.how-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.pay-steps { list-style: none; counter-reset: s; display: grid; gap: 16px; padding: 0; }
.pay-steps li { counter-increment: s; position: relative; background: var(--white); border-radius: 20px; padding: 22px 24px 22px 76px; box-shadow: 0 20px 40px -32px rgba(20,32,43,.4); }
.pay-steps li::before { content: counter(s); position: absolute; left: 22px; top: 20px; width: 38px; height: 38px; border-radius: 12px; background: var(--turq-dd); color: var(--white); display: grid; place-items: center; font-family: var(--display); font-weight: 800; }
.pay-steps h3 { font-size: 1.05rem; margin-bottom: 4px; }
.pay-steps p { font-size: .9rem; color: var(--muted); }
.biz-note-sec { background: var(--white); }
.biz-note { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; background: var(--ink); color: var(--white); border-radius: 30px; padding: clamp(30px, 5vw, 56px); }
.biz-note .eyebrow { color: var(--coral); }
.biz-note h2 { margin: 8px 0 12px; }
.biz-note p { color: rgba(255,255,255,.72); max-width: 52ch; }
@media (max-width: 960px) { .how-grid { grid-template-columns: 1fr; } }

/* Precios: dos tarjetas (app gratis + placa) */
@media (min-width: 961px) {
  .plans.plans-2 { grid-template-columns: repeat(2, 1fr); max-width: 860px; margin-left: auto; margin-right: auto; }
}
