/* ───────────────────────────────────────────────────────────────────────────
   GeoFamily — nueva home (web/index.html). Misma identidad que styles.css
   (papel + tinta, coral, Instrument Serif itálica, Geist y Geist Mono) pero
   en un CSS propio: styles.css lo sigue usando presentacion.html.
   Estática: sin build. Las fuentes se cargan con <link> en index.html.
─────────────────────────────────────────────────────────────────────────── */

:root {
  /* Paleta — cálida, de confianza */
  --ink:          #161413;
  --ink-2:        #2A2522;
  --paper:        #F4EFE6;
  --paper-2:      #ECE5D6;
  --line:         rgba(22, 20, 19, 0.10);
  --line-strong:  rgba(22, 20, 19, 0.18);
  --muted:        rgba(22, 20, 19, 0.66);
  --muted-2:      rgba(22, 20, 19, 0.64);

  /* Estado */
  --safe:   #3F6B4A;  --safe-tint:  #DDE7DC;
  --warn:   #C68A2E;  --warn-tint:  #F2E3C2;
  --alert:  #C84B2C;  --alert-tint: #F4D9D0;
  --info:   #2E5A7A;  --info-tint:  #D6E1E8;

  /* Acentos de avatar */
  --child-1: #C84B2C;
  --child-2: #2E5A7A;
  --child-3: #A8772A;

  /* Mapa (para el mockup) */
  --map-bg:      #ECE5D6;
  --map-street:  #F8F3E8;
  --map-park:    #C7D2A8;
  --map-water:   #B8CAD2;

  --accent: #C84B2C;            /* coral de marca / punto */
  --maxw: 1200px;

  /* Sistema de secciones */
  --section-y: 128px;
  --section-y-sm: 80px;
  --gutter: 24px;
}

/* ───────── Reset ───────── */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 76px; }
body {
  font-family: 'Geist', -apple-system, system-ui, sans-serif;
  font-weight: 400;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* Foco visible sobre fondo claro y oscuro: contorno de tinta con halo claro */
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; box-shadow: 0 0 0 5px rgba(255,255,255,0.9); }
.btn:focus-visible { box-shadow: 0 0 0 5px rgba(255,255,255,0.9); } /* gana a la sombra de .btn-coral */
/* Fondos oscuros: contorno claro con halo oscuro */
:is(.hero, .privacy, .cta-card, .star.dark, .footer) :focus-visible { outline-color: #F4EFE6; box-shadow: 0 0 0 5px rgba(19,17,16,0.9); }

/* ───────── Tipografía ───────── */
.serif-i { font-family: 'Instrument Serif', serif; font-style: italic; }
.mono    { font-family: 'Geist Mono', monospace; }
.coral   { color: var(--accent); }
.coral-l { color: #E8704F; }

.eyebrow {
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.eyebrow.on-dark { color: rgba(244,239,230,0.55); }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

/* ───────── Botones ───────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px; border-radius: 999px; border: none;
  font-size: 15px; font-weight: 500; letter-spacing: -0.1px;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #000; }
.btn-coral { background: var(--accent); color: #fff; box-shadow: 0 6px 20px rgba(200,75,44,0.32); }
.btn-coral:hover { filter: brightness(1.05); }
.btn-ghost {
  background: rgba(255,255,255,0.06); color: #fff;
  border: 1px solid rgba(255,255,255,0.22);
}
.btn-ghost.on-paper { background: #fff; color: var(--ink); border: 1px solid var(--line-strong); box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.btn-lg { padding: 16px 28px; font-size: 16px; }
.btn-sm { padding: 9px 16px; font-size: 14px; }

/* ───────── Logo ───────── */
.logo { font-family: 'Instrument Serif', serif; font-style: italic; font-size: 26px; letter-spacing: -0.5px; color: var(--ink); }
.logo .dot { font-style: normal; color: var(--accent); }
.logo.on-dark { color: #F4EFE6; }

/* ───────── Nav ───────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(244,239,230,0.82);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 0.5px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { font-size: 14.5px; color: var(--muted); transition: color .15s; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-burger {
  display: none; width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--line-strong);
  background: #fff; align-items: center; justify-content: center; flex-direction: column; gap: 5px;
}
.nav-burger span { display: block; width: 16px; height: 1.5px; background: var(--ink); transition: transform .2s ease; }
.nav.open .nav-burger span:first-child { transform: translateY(3.25px) rotate(45deg); }
.nav.open .nav-burger span:last-child { transform: translateY(-3.25px) rotate(-45deg); }

/* ───────── Secciones ───────── */
section { padding: var(--section-y) 0; }
.section-head { max-width: 680px; margin: 0 auto 72px; text-align: center; }
.section-head h2 {
  font-family: 'Instrument Serif', serif; font-style: italic;
  font-size: clamp(36px, 5vw, 60px); line-height: 1.02; letter-spacing: -1.2px;
  margin-top: 16px; font-weight: 400;
}
.section-head p { margin-top: 20px; font-size: 18px; line-height: 1.55; color: var(--muted); }

/* ───────── Mockup de iPhone ───────── */
.phone {
  position: relative; z-index: 1; text-align: left;
  width: 300px; height: 612px; border-radius: 46px;
  background: #0d0c0b; padding: 11px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.5), inset 0 0 0 2px rgba(255,255,255,0.06);
  animation: floaty 6s ease-in-out infinite;
}
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.phone-screen {
  position: relative; width: 100%; height: 100%; border-radius: 36px; overflow: hidden;
  background: var(--map-bg);
}
.notch {
  position: absolute; top: 9px; left: 50%; transform: translateX(-50%);
  width: 92px; height: 26px; background: #0d0c0b; border-radius: 999px; z-index: 6;
}

/* ───────── Insignias de tienda ───────── */
.store-row { margin-top: 22px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.store-badge { display: inline-flex; align-items: center; gap: 9px; padding: 11px 18px; border-radius: 14px; background: var(--ink); color: #fff; font-size: 13px; }
.store-badge .sm { display: block; font-size: 9.5px; opacity: 0.7; letter-spacing: 0.5px; text-transform: uppercase; }
.store-badge .lg { display: block; font-size: 15px; font-weight: 600; margin-top: -1px; }

/* ───────── Footer ───────── */
.footer { background: var(--ink); color: rgba(244,239,230,0.7); padding: 64px 0 40px; }
.footer-grid { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer .blurb { max-width: 300px; font-size: 14px; line-height: 1.6; color: rgba(244,239,230,0.5); margin-top: 14px; }
.footer-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.footer-col h3 { font-family: 'Geist Mono', monospace; font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(244,239,230,0.62); margin-bottom: 14px; font-weight: 500; }
.footer-col a { display: block; font-size: 14px; color: rgba(244,239,230,0.72); padding: 5px 0; }
.footer-col a:hover { color: #fff; }
.footer-bottom { margin-top: 44px; padding-top: 24px; border-top: 0.5px solid rgba(244,239,230,0.12); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12.5px; color: rgba(244,239,230,0.62); }

/* ───────── Hero ───────── */
.hero {
  position: relative; overflow: hidden; color: #F4EFE6;
  background: radial-gradient(ellipse at 28% 18%, #2a2622 0%, #131110 72%);
  padding: 96px 0 120px;
}
.hero-grain {
  position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(rgba(244,239,230,0.06) 1px, transparent 1px); background-size: 22px 22px;
  mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 75%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero h1 {
  font-family: 'Instrument Serif', serif; font-style: italic; font-weight: 400;
  font-size: clamp(44px, 6vw, 76px); line-height: 0.98; letter-spacing: -1.5px;
}
.hero h1 .coral { display: block; color: #E8704F; }
.hero-sub { margin-top: 24px; font-size: 18px; line-height: 1.55; color: rgba(244,239,230,0.74); max-width: 460px; }
.hero-actions { margin-top: 36px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust { margin-top: 28px; display: flex; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 13.5px; color: rgba(244,239,230,0.55); }
.hero-trust .dotsep { width: 3px; height: 3px; border-radius: 999px; background: rgba(244,239,230,0.35); }
.hero-phone-col { display: flex; justify-content: center; position: relative; }
.hero-phone-col::before {
  content: ""; position: absolute; top: 50%; left: 50%; width: 360px; height: 360px; transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(200,75,44,0.28), transparent 65%);
  filter: blur(20px); z-index: 0;
}

/* Mapa estilizado dentro de la pantalla */
.map-art { position: absolute; inset: 0; }
.map-art .water { position: absolute; right: -40px; top: 60px; width: 200px; height: 150px; background: var(--map-water); border-radius: 50% 40% 45% 55%; transform: rotate(-12deg); }
.map-art .park  { position: absolute; left: -30px; bottom: 120px; width: 180px; height: 150px; background: var(--map-park); border-radius: 48% 52% 40% 60%; }
.map-art .street { position: absolute; background: var(--map-street); box-shadow: 0 0 0 1px rgba(216,205,180,0.7); }
.map-art .s1 { left: -10%; top: 38%; width: 120%; height: 26px; transform: rotate(-8deg); }
.map-art .s2 { left: 30%; top: -10%; width: 26px; height: 120%; transform: rotate(6deg); }
.map-dots { position: absolute; inset: 0; background-image: radial-gradient(rgba(22,20,19,0.07) 0.5px, transparent 0.5px); background-size: 12px 12px; }
.map-label { position: absolute; font-family: 'Instrument Serif', serif; font-style: italic; color: rgba(22,20,19,0.4); font-size: 13px; }
.map-label.l1 { left: 24px; top: 92px; }
.map-label.l2 { right: 26px; bottom: 210px; }

/* Zonas (geofence): circular y poligonal */
.zone {
  position: absolute; left: 92px; top: 250px; width: 120px; height: 120px; border-radius: 999px;
  background: rgba(63,107,74,0.12); border: 2px dashed var(--safe);
}
.zone.poly { left: 34px; top: 176px; width: 96px; height: 82px; border-radius: 0; border: none; background: none; }
.zone.poly::before {
  content: ""; position: absolute; inset: 0; background: rgba(46,90,122,0.14);
  clip-path: polygon(8% 20%, 62% 0, 100% 34%, 88% 100%, 22% 88%, 0 52%);
}
.zone.poly::after {
  content: ""; position: absolute; inset: -1px; background: var(--info); opacity: .75;
  clip-path: polygon(8% 20%, 62% 0, 100% 34%, 88% 100%, 22% 88%, 0 52%, 2.5% 52%, 23.5% 85.5%, 86% 96.5%, 97% 35%, 61.5% 3%, 10% 22.5%, 2.5% 52%, 0 52%);
}
.zone-tag {
  position: absolute; left: 96px; top: 232px;
  background: #fff; border: 0.5px solid var(--line-strong);
  font-size: 10.5px; font-weight: 600; color: var(--safe);
  padding: 3px 9px; border-radius: 999px; box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.zone-tag.t2 { left: 44px; top: 158px; color: var(--info); }
.route {
  position: absolute; left: 214px; top: 176px; width: 70px; height: 120px;
  border-right: 2.5px dashed var(--child-2); border-bottom: 2.5px dashed var(--child-2);
  border-radius: 0 0 40px 0; opacity: .7;
}

/* Marcadores de hijo */
.pin { position: absolute; display: flex; flex-direction: column; align-items: center; }
.pin .ava {
  width: 34px; height: 34px; border-radius: 999px; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 600; border: 2px solid #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
.pin .ava.band { border-radius: 11px; }
.pin.p1 { left: 120px; top: 286px; color: var(--child-1); } .pin.p1 .ava { background: var(--child-1); }
.pin.p2 { left: 196px; top: 150px; color: var(--child-2); } .pin.p2 .ava { background: var(--child-2); }
.pin.p3 { left: 64px; top: 200px; color: var(--child-3); }  .pin.p3 .ava { background: var(--child-3); }
.pin .ring {
  position: absolute; top: -6px; width: 46px; height: 46px; border-radius: 999px;
  border: 2px solid currentColor; opacity: 0; animation: pulseRing 2.4s ease-out infinite;
}
@keyframes pulseRing { 0% { transform: scale(0.6); opacity: 0.7; } 100% { transform: scale(1.5); opacity: 0; } }

/* Píldora superior y tarjeta "Familia — hoy" */
.status-pill {
  position: absolute; top: 50px; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 8px; white-space: nowrap;
  background: rgba(255,255,255,0.9); backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  padding: 8px 14px; border-radius: 999px; z-index: 5;
  box-shadow: 0 4px 14px rgba(0,0,0,0.12), inset 0 0 0 0.5px rgba(255,255,255,0.6);
  font-size: 12.5px; font-weight: 500; color: var(--ink);
}
.status-pill .led { width: 7px; height: 7px; border-radius: 999px; background: var(--safe); }
.fam-card {
  position: absolute; left: 12px; right: 12px; bottom: 16px; z-index: 5; color: var(--ink);
  background: rgba(255,255,255,0.92); backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  border-radius: 22px; padding: 13px 14px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.16), inset 0 0 0 0.5px rgba(255,255,255,0.6);
}
.fam-card .head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 8px; }
.fam-card .head .t { font-family: 'Instrument Serif', serif; font-style: italic; font-size: 17px; }
.fam-card .head .a { font-size: 11.5px; color: var(--muted); }
.fam-row { display: flex; align-items: center; gap: 10px; padding: 7px 2px; }
.fam-row + .fam-row { border-top: 0.5px solid var(--line); }
.fam-row .ava { width: 30px; height: 30px; border-radius: 999px; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 12.5px; font-weight: 600; flex-shrink: 0; }
.fam-row .info { flex: 1; min-width: 0; }
.fam-row .nm { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.fam-row .st { font-size: 11.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.badge { font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.badge.safe { color: var(--safe); background: var(--safe-tint); }
.badge.info { color: var(--info); background: var(--info-tint); }

/* Avisos flotantes */
.toasts { position: absolute; left: -36px; top: 96px; width: 262px; z-index: 3; height: 70px; }
.toast {
  position: absolute; inset: 0 auto auto 0; width: 100%;
  display: flex; align-items: center; gap: 11px; padding: 11px 14px;
  background: rgba(255,255,255,0.96); color: var(--ink); border-radius: 18px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.35), inset 0 0 0 0.5px rgba(255,255,255,0.6);
  opacity: 0; transform: translateY(10px) scale(.97); transition: opacity .45s ease, transform .45s ease;
}
.toast.show { opacity: 1; transform: none; }
.toast b { display: block; font-size: 13.5px; font-weight: 600; }
.toast small { display: block; font-size: 11.5px; color: var(--muted); margin-top: 1px; }
.tico {
  width: 34px; height: 34px; border-radius: 11px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 600;
}
.tico.safe { background: var(--safe-tint); color: var(--safe); }
.tico.info { background: var(--info-tint); color: var(--info); }
.tico.coral { background: var(--alert-tint); color: var(--alert); }

/* ───────── Para cada edad ───────── */
.ages { background: var(--paper); }
.age-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.age {
  background: #fff; border: 0.5px solid var(--line); border-radius: 22px; padding: 22px 20px 20px;
  display: flex; flex-direction: column; box-shadow: 0 8px 24px rgba(0,0,0,0.04);
  transition: transform .2s ease, box-shadow .2s ease;
}
.age:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(0,0,0,0.08); }
.age.featured { background: var(--ink); color: #F4EFE6; border-color: var(--ink); }
.age-top { display: flex; align-items: baseline; gap: 8px; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 0.5px dashed var(--line-strong); }
.age.featured .age-top { border-color: rgba(244,239,230,0.2); }
.age-n { font-size: 44px; line-height: 1; letter-spacing: -1px; color: var(--accent); }
.age.featured .age-n { color: #E8704F; }
.age-eb { font-family: 'Geist Mono', monospace; font-size: 11px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--muted); }
.age.featured .age-eb { color: rgba(244,239,230,0.5); }
.age h3 { font-size: 17.5px; font-weight: 600; letter-spacing: -0.2px; }
.age p { margin-top: 8px; font-size: 14.5px; color: var(--muted); line-height: 1.55; flex: 1; }
.age.featured p { color: rgba(244,239,230,0.7); }
.age-tags { margin-top: 18px; display: flex; gap: 6px; flex-wrap: wrap; }
.age-tags span { font-size: 11.5px; font-weight: 500; padding: 4px 10px; border-radius: 999px; background: var(--paper-2); color: var(--ink-2); }
.age.featured .age-tags span { background: rgba(255,255,255,0.1); color: #F4EFE6; }

/* ───────── Funciones ───────── */
.features { background: var(--paper); }
.pro-pill { display: inline-block; vertical-align: middle; background: var(--ink); color: #fff; font-family: 'Geist Mono', monospace; font-size: 9.5px; font-weight: 500; letter-spacing: 1px; text-transform: uppercase; padding: 2px 7px; border-radius: 999px; margin-left: 6px; }
.new-pill { display: inline-block; background: var(--accent); color: #fff; font-size: 9.5px; letter-spacing: 1px; padding: 2px 7px; border-radius: 999px; margin-right: 8px; }
@keyframes blink { 50% { opacity: .25; } }
@keyframes tap { 0% { box-shadow: 0 0 0 0 rgba(200,75,44,0.45); } 70% { box-shadow: 0 0 0 9px rgba(200,75,44,0); } 100% { box-shadow: 0 0 0 0 rgba(200,75,44,0); } }

.star { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: center; margin-bottom: 96px; }
.star.rev { grid-template-columns: 0.95fr 1.05fr; }
.star.rev .star-copy { order: 2; }
.star-copy h3 { font-family: 'Instrument Serif', serif; font-style: italic; font-size: clamp(32px, 4vw, 46px); line-height: 1.04; letter-spacing: -0.9px; margin-top: 14px; font-weight: 400; }
.star-copy .lead { margin-top: 18px; font-size: 17px; color: var(--muted); line-height: 1.6; max-width: 500px; }
.ticks { list-style: none; padding: 0; margin-top: 26px; display: flex; flex-direction: column; gap: 14px; }
.ticks li { display: flex; gap: 14px; align-items: flex-start; font-size: 15px; color: var(--muted); line-height: 1.55; }
.ticks li b { color: var(--ink); font-weight: 600; }
.ticks .chk { flex-shrink: 0; width: 26px; height: 26px; border-radius: 999px; background: var(--safe-tint); color: var(--safe); display: flex; align-items: center; justify-content: center; font-size: 13px; }

/* Trayecto: tarjeta en curso */
.journey-card {
  background: #fff; border: 0.5px solid var(--line); border-radius: 26px; padding: 26px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.1); max-width: 420px; width: 100%; margin: 0 auto;
}
.jc-head, .sc-head { display: flex; justify-content: space-between; align-items: center; }
.jc-eb, .sc-eb { font-family: 'Geist Mono', monospace; font-size: 10px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--muted); }
.jc-live { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 600; color: var(--info); background: var(--info-tint); padding: 4px 10px; border-radius: 999px; }
.jc-live .led { width: 6px; height: 6px; border-radius: 999px; background: var(--info); animation: blink 1.6s ease-in-out infinite; }
.jc-who, .sc-who { display: flex; gap: 13px; align-items: center; margin-top: 20px; }
.jc-who .ava, .sc-who .ava { width: 46px; height: 46px; border-radius: 999px; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 600; flex-shrink: 0; }
.jc-title, .sc-title { font-family: 'Instrument Serif', serif; font-style: italic; font-size: 24px; line-height: 1.1; }
.jc-sub, .sc-sub { font-size: 13.5px; color: var(--muted); margin-top: 3px; }
.jc-track { margin-top: 24px; }
.jc-bar { position: relative; height: 6px; background: var(--paper-2); border-radius: 999px; }
.jc-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 62%; background: var(--info); border-radius: 999px; }
.jc-dot { position: absolute; left: 62%; top: 50%; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 999px; background: #fff; border: 3px solid var(--info); box-shadow: 0 0 0 5px rgba(46,90,122,0.15); }
.jc-stops { display: flex; justify-content: space-between; margin-top: 12px; }
.jc-stops span { font-size: 11.5px; color: var(--muted); display: flex; flex-direction: column; }
.jc-stops span b { font-family: 'Geist Mono', monospace; font-size: 13px; color: var(--ink); font-weight: 500; }
.jc-stops .mid { text-align: center; } .jc-stops .end { text-align: right; }
.jc-note { margin-top: 20px; padding: 12px 14px; border-radius: 14px; background: var(--warn-tint); color: #7a5418; font-size: 13.5px; }
.jc-child, .sc-child { margin-top: 16px; padding-top: 16px; border-top: 0.5px dashed var(--line-strong); }
.jc-child-eb, .sc-child-eb { font-family: 'Geist Mono', monospace; font-size: 9.5px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--muted-2); }
.jc-btns { display: flex; gap: 8px; margin-top: 10px; }
.jb { flex: 1; text-align: center; padding: 11px; border-radius: 999px; font-size: 14px; font-weight: 500; }
.jb.ghost { border: 1px solid var(--line-strong); color: var(--ink-2); }
.jb.solid { background: var(--safe); color: #fff; }

/* Pulsera: panel oscuro */
.star.dark {
  background: radial-gradient(ellipse at 30% 40%, #2a2622 0%, #131110 72%); color: #F4EFE6;
  border-radius: 32px; padding: 56px; overflow: hidden;
}
.star.dark .star-copy .lead { color: rgba(244,239,230,0.72); }
.band-feats { list-style: none; padding: 0; margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 22px 24px; }
.band-feats b { display: block; font-weight: 600; margin-top: 10px; }
.band-feats p { font-size: 14px; color: rgba(244,239,230,0.6); margin-top: 3px; line-height: 1.5; }
.bf-ic { width: 32px; height: 32px; border-radius: 10px; background: rgba(232,112,79,0.18); color: #E8704F; display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 600; }
.band-note { margin-top: 26px; font-size: 13.5px; color: rgba(244,239,230,0.5); }
.band-note a { color: #E8704F; text-decoration: underline; text-underline-offset: 3px; }
.band-art { position: relative; height: 440px; display: flex; align-items: center; justify-content: center; }
.band-glow { position: absolute; width: 380px; height: 380px; background: radial-gradient(circle, rgba(200,75,44,0.3), transparent 65%); filter: blur(24px); }
.watch { position: relative; display: flex; flex-direction: column; align-items: center; animation: floaty 7s ease-in-out infinite; }
.watch .strap { width: 108px; height: 120px; background: linear-gradient(90deg, #2b2724, #3a3531 50%, #2b2724); }
.watch .strap.top { border-radius: 30px 30px 8px 8px; margin-bottom: -14px; }
.watch .strap.bottom { border-radius: 8px 8px 30px 30px; margin-top: -14px; }
.watch .face {
  position: relative; z-index: 1; width: 176px; height: 196px; border-radius: 48px; padding: 14px;
  background: #0d0c0b; box-shadow: 0 30px 60px rgba(0,0,0,0.55), inset 0 0 0 2px rgba(255,255,255,0.07);
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 14px;
}
.watch .face::before { content: ""; position: absolute; inset: 12px; border-radius: 38px; background: radial-gradient(ellipse at 50% 20%, #2a2622, #151311); }
.watch .face > * { position: relative; }
.w-led { width: 7px; height: 7px; border-radius: 999px; background: #9FCBA8; box-shadow: 0 0 10px #9FCBA8; animation: blink 2.4s ease-in-out infinite; }
.w-grill { display: flex; gap: 4px; }
.w-grill i { width: 4px; height: 4px; border-radius: 999px; background: rgba(244,239,230,0.25); }
.w-sos {
  width: 76px; height: 76px; border-radius: 999px; display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 700; letter-spacing: 1.5px; color: #fff;
  background: radial-gradient(circle at 35% 30%, #E8704F, var(--accent) 60%, #9c3920);
  box-shadow: 0 6px 14px rgba(0,0,0,0.5), inset 0 -3px 6px rgba(0,0,0,0.25), 0 0 0 0 rgba(200,75,44,0.5);
  animation: tap 2s ease-out infinite;
}
.w-mic { font-size: 8.5px; letter-spacing: 2px; color: rgba(244,239,230,0.35); }
.w-side { position: absolute !important; right: -5px; width: 5px; border-radius: 0 3px 3px 0; background: #3a3531; }
.w-side.s1 { top: 58px; height: 30px; }
.w-side.s2 { top: 100px; height: 20px; }
.band-bubble {
  position: absolute; display: flex; align-items: center; gap: 11px; padding: 11px 14px; width: 232px;
  background: rgba(255,255,255,0.96); color: var(--ink); border-radius: 18px; box-shadow: 0 18px 40px rgba(0,0,0,0.4);
}
.band-bubble b { display: block; font-size: 13px; font-weight: 600; }
.band-bubble small { display: block; font-size: 11.5px; color: var(--muted); }
.band-bubble.b1 { top: 58px; right: 0; animation: floaty 6s ease-in-out infinite; }
.band-bubble.b2 { bottom: 64px; left: 0; animation: floaty 6s ease-in-out -3s infinite; }

/* SOS con acuse: tarjeta de alerta */
.sos-card {
  background: #fff; border: 0.5px solid var(--line); border-radius: 26px; padding: 26px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.1); max-width: 420px; width: 100%; margin: 0 auto;
}
.sc-eb { color: var(--alert); font-weight: 500; }
.sc-live { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 600; color: var(--alert); background: var(--alert-tint); padding: 4px 10px; border-radius: 999px; }
.sc-live .led { width: 6px; height: 6px; border-radius: 999px; background: var(--alert); animation: blink 1.6s ease-in-out infinite; }
.sc-acks { margin-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.sc-ack { display: flex; align-items: center; gap: 11px; padding: 10px 12px; border-radius: 16px; background: var(--paper); }
.sc-ack b { display: block; font-size: 13.5px; font-weight: 600; }
.sc-ack small { display: block; font-size: 11.5px; color: var(--muted); }
.sc-msg { margin-top: 10px; padding: 11px 14px; border-radius: 14px; background: var(--safe-tint); color: var(--safe); font-size: 14px; font-weight: 500; text-align: center; }

/* Rejilla con el resto de funciones */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feat {
  background: #fff; border: 0.5px solid var(--line); border-radius: 20px; padding: 26px;
  box-shadow: 0 1px 0 rgba(255,255,255,0.7), 0 8px 24px rgba(0,0,0,0.04);
  transition: transform .2s ease, box-shadow .2s ease;
}
.feat:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(0,0,0,0.08); }
.feat.wide { grid-column: span 2; background: linear-gradient(160deg, #fff 55%, var(--safe-tint)); }
.feat .ic { width: 44px; height: 44px; border-radius: 13px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.feat .ic svg { width: 22px; height: 22px; }
.ic.safe { background: var(--safe-tint); color: var(--safe); }
.ic.info { background: var(--info-tint); color: var(--info); }
.ic.coral { background: var(--alert-tint); color: var(--alert); }
.ic.warn { background: var(--warn-tint); color: var(--warn); }
.feat h3 { font-size: 17.5px; font-weight: 600; letter-spacing: -0.2px; }
.feat p { margin-top: 8px; font-size: 14.5px; color: var(--muted); line-height: 1.55; }
.feat.wide h3 { font-size: 21px; }
.feat.wide p { font-size: 15px; max-width: 520px; }
.mini-zones { margin-top: 22px; display: flex; gap: 8px; flex-wrap: wrap; }
.mz { font-size: 12.5px; font-weight: 500; padding: 6px 12px 6px 10px; border-radius: 999px; background: #fff; border: 1.5px dashed var(--c); color: var(--c); display: inline-flex; align-items: center; gap: 7px; }
.mz::before { content: ""; width: 7px; height: 7px; border-radius: 999px; background: var(--c); }
.mz.muted { opacity: .55; }
.feat-chip { margin-top: 16px; display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 500; color: var(--safe); background: var(--safe-tint); padding: 5px 11px; border-radius: 999px; }
.feat-chip .fc-dot { width: 7px; height: 7px; border-radius: 999px; background: var(--safe); flex-shrink: 0; animation: tap 1.8s ease-out infinite; }

/* ───────── Demo interactiva ───────── */
.demo { background: var(--paper-2); }
.demo-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center; }
.demo-copy h2 { font-family: 'Instrument Serif', serif; font-style: italic; font-size: clamp(34px, 4.5vw, 52px); line-height: 1.02; letter-spacing: -1px; margin-top: 14px; font-weight: 400; }
.demo-copy p.lead { margin-top: 16px; font-size: 17px; color: var(--muted); line-height: 1.6; }
.demo-hint { margin-top: 22px; display: inline-flex; align-items: center; gap: 9px; font-size: 13.5px; color: var(--ink-2); background: #fff; border: 0.5px solid var(--line-strong); padding: 9px 15px; border-radius: 999px; box-shadow: 0 2px 8px rgba(0,0,0,0.05); }
.demo-hint .pulse { width: 8px; height: 8px; border-radius: 999px; background: var(--accent); animation: tap 1.8s ease-out infinite; }
.demo-phone-col { display: flex; justify-content: center; }
.demo-phone { animation: none; } /* fijo: es interactivo, no debe flotar */
.demo-phone .fam-card { bottom: 74px; }
.demo-phone .status-pill { top: 46px; }

/* Pantallas conmutables dentro del teléfono (la oculta sale del árbol de accesibilidad) */
.dscreen { position: absolute; inset: 0; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .25s ease, visibility 0s .25s; overflow: hidden; }
.dscreen.active { opacity: 1; visibility: visible; pointer-events: auto; transition-delay: 0s; }
.dscreen.scroll { overflow-y: auto; padding-bottom: 72px; }
.dscreen:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.scr-head { padding: 54px 18px 8px; }
.scr-head .eb { font-family: 'Geist Mono', monospace; font-size: 9px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--muted); }
.scr-head .h { font-family: 'Instrument Serif', serif; font-style: italic; font-size: 30px; letter-spacing: -0.5px; line-height: 1; margin-top: 3px; }
.group-label { font-family: 'Geist Mono', monospace; font-size: 9px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--muted); padding: 14px 18px 4px; }
.ilist { margin: 10px 12px; background: #fff; border: 0.5px solid var(--line); border-radius: 16px; overflow: hidden; }
.irow { display: flex; align-items: center; gap: 11px; padding: 12px 13px; }
.irow + .irow { border-top: 0.5px solid var(--line); }
.irow .gl { width: 34px; height: 34px; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.irow .gl svg { width: 17px; height: 17px; }
.irow .ic-z { background: var(--safe-tint); color: var(--safe); }
.irow .av { width: 32px; height: 32px; border-radius: 999px; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600; flex-shrink: 0; }
.irow .bd { flex: 1; min-width: 0; }
.irow .bd .t1 { font-size: 14px; font-weight: 500; color: var(--ink); }
.irow .bd .t2 { font-size: 11.5px; color: var(--muted); margin-top: 1px; }
.irow .time { font-family: 'Geist Mono', monospace; font-size: 11px; color: var(--muted); }
.irow .mini-badge { font-size: 10px; font-weight: 600; padding: 2px 8px; border-radius: 999px; }

/* Barra de pestañas */
.tabbar {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 8; height: 64px;
  display: flex; align-items: stretch;
  background: rgba(255,255,255,0.9); backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-top: 0.5px solid var(--line);
}
.tab { flex: 1; background: none; border: none; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: var(--muted-2); padding: 0; }
.tab svg { width: 21px; height: 21px; }
.tab span { font-size: 9.5px; font-weight: 500; }
.tab.active { color: var(--ink); }
.tab:focus-visible { outline: 2px solid var(--accent); outline-offset: -3px; border-radius: 12px; }

/* ───────── Privacidad ───────── */
.privacy { background: radial-gradient(ellipse at 70% 30%, #2a2622 0%, #131110 75%); color: #F4EFE6; }
.privacy .section-head h2 { color: #F4EFE6; }
.privacy .section-head p { color: rgba(244,239,230,0.72); }
.privacy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.privacy-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 22px; }
.privacy-list li { display: flex; gap: 14px; align-items: flex-start; }
.privacy-list .chk { flex-shrink: 0; width: 26px; height: 26px; border-radius: 999px; background: rgba(63,107,74,0.25); color: #9FCBA8; display: flex; align-items: center; justify-content: center; }
.privacy-list .tx b { font-weight: 600; }
.privacy-list .tx p { color: rgba(244,239,230,0.62); font-size: 14.5px; margin-top: 2px; }
.setup { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1); border-radius: 22px; padding: 32px; }
.setup h3 { font-family: 'Instrument Serif', serif; font-style: italic; font-weight: 400; font-size: 28px; line-height: 1.1; margin-top: 10px; }
.setup-steps { list-style: none; padding: 0; margin-top: 24px; display: flex; flex-direction: column; gap: 20px; }
.setup-steps li { display: flex; gap: 16px; align-items: flex-start; }
.setup-steps .num { flex-shrink: 0; width: 38px; height: 38px; border-radius: 999px; display: flex; align-items: center; justify-content: center; background: rgba(232,112,79,0.16); color: #E8704F; font-family: 'Instrument Serif', serif; font-style: italic; font-size: 20px; }
.setup-steps b { font-weight: 600; }
.setup-steps p { margin-top: 2px; font-size: 14.5px; color: rgba(244,239,230,0.62); line-height: 1.5; }

/* ───────── Precios ───────── */
.pricing { background: var(--paper); }
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 380px)); gap: 22px; justify-content: center; }
.plan {
  background: #fff; border: 0.5px solid var(--line); border-radius: 24px; padding: 32px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.05); display: flex; flex-direction: column;
}
.plan.featured { border: 1.5px solid var(--ink); box-shadow: 0 16px 40px rgba(0,0,0,0.1); position: relative; }
.plan .tag-pro { position: absolute; top: -12px; left: 32px; background: var(--accent); color: #fff; font-family: 'Geist Mono', monospace; font-size: 10.5px; letter-spacing: 1.5px; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; }
.plan .pname { font-family: 'Geist Mono', monospace; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.plan .price { margin-top: 14px; font-family: 'Instrument Serif', serif; font-style: italic; font-size: 50px; letter-spacing: -1px; }
.plan .price small { font-style: normal; font-family: 'Geist', sans-serif; font-size: 15px; color: var(--muted); letter-spacing: 0; }
.plan .pdesc { margin-top: 6px; font-size: 14.5px; color: var(--muted); }
.plan ul { list-style: none; padding: 0; margin: 24px 0; display: flex; flex-direction: column; gap: 13px; }
.plan li { display: flex; gap: 11px; align-items: flex-start; font-size: 14.5px; }
.plan li svg { flex-shrink: 0; color: var(--safe); margin-top: 2px; }
.plan .btn { width: 100%; justify-content: center; margin-top: auto; }

/* ───────── FAQ ───────── */
.faq { background: var(--paper-2); }
.faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: start; }
.faq h2 { font-family: 'Instrument Serif', serif; font-style: italic; font-size: clamp(34px, 4.5vw, 50px); line-height: 1.02; letter-spacing: -1px; margin-top: 14px; font-weight: 400; }
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq details { background: #fff; border: 0.5px solid var(--line); border-radius: 18px; padding: 0 22px; transition: box-shadow .2s ease; }
.faq details[open] { box-shadow: 0 10px 28px rgba(0,0,0,0.06); }
.faq summary { list-style: none; cursor: pointer; padding: 19px 30px 19px 0; font-weight: 600; font-size: 15.5px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-family: 'Instrument Serif', serif; font-size: 26px; color: var(--accent); transition: transform .2s ease; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 0 20px; font-size: 14.5px; color: var(--muted); line-height: 1.6; }

/* ───────── CTA final ───────── */
.cta-final { background: var(--paper); text-align: center; }
.cta-card {
  position: relative; overflow: hidden; border-radius: 32px; padding: 72px 32px;
  background: radial-gradient(ellipse at 50% 0%, #2a2622 0%, #131110 75%); color: #F4EFE6;
}
.cta-card h2 { font-family: 'Instrument Serif', serif; font-style: italic; font-size: clamp(34px, 5vw, 58px); line-height: 1.0; letter-spacing: -1px; font-weight: 400; }
.cta-glow { position: absolute; left: 50%; bottom: -220px; width: 520px; height: 360px; transform: translateX(-50%); background: radial-gradient(circle, rgba(200,75,44,0.4), transparent 65%); filter: blur(30px); }
.cta-card > :not(.cta-glow) { position: relative; }
.cta-card p { margin: 18px auto 0; max-width: 480px; font-size: 17px; color: rgba(244,239,230,0.7); }
.cta-card .store-row { margin-top: 30px; }
.cta-card .store-badge { background: #F4EFE6; color: var(--ink); }

/* ───────── Reveal on scroll ───────── */
/* Se anima con `translate` (no `transform`) y con animation (no transition): así no pisa el
   hover de ningún componente (.age, .feat...) ni su transition, sea cual sea el orden en el CSS. */
.reveal { opacity: 0; }
.reveal.in { opacity: 1; animation: rise .6s ease backwards; }
@keyframes rise { from { opacity: 0; translate: 0 18px; } }

/* ───────── Responsive ───────── */
@media (max-width: 1000px) {
  .age-grid { grid-template-columns: repeat(2, 1fr); }
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .feat.wide { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .star, .star.rev { grid-template-columns: 1fr; gap: 40px; margin-bottom: 72px; }
  .star.rev .star-copy { order: 0; }
  .demo-grid, .privacy-grid, .faq-grid { grid-template-columns: 1fr; gap: 40px; }
  .demo-grid { text-align: center; }
  .demo-copy .demo-hint { margin-left: auto; margin-right: auto; }
  .star.dark { padding: 44px 32px; }
  .hero-grid { grid-template-columns: 1fr; gap: 56px; text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-actions, .hero-trust { justify-content: center; }
  .toasts { left: 50%; transform: translateX(-50%); top: 86px; }
}
@media (max-width: 760px) {
  .nav-links {
    display: none; position: absolute; top: 66px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 0.5px solid var(--line); padding: 8px 16px 16px;
    box-shadow: 0 16px 30px rgba(0,0,0,0.08);
  }
  .nav.open .nav-links { display: flex; }
  .nav-links a { padding: 13px 4px; font-size: 16px; color: var(--ink); border-bottom: 0.5px solid var(--line); }
  .nav-burger { display: inline-flex; }
}
@media (max-width: 640px) {
  :root { --section-y: var(--section-y-sm); --gutter: 16px; }
  .section-head { margin-bottom: 48px; }
  .hero { padding: 56px 0 88px; }
  .age-grid, .feat-grid { grid-template-columns: 1fr; }
  .star.dark { padding: 32px 20px; border-radius: 24px; }
  .band-feats { grid-template-columns: 1fr; }
  .band-art { height: 420px; }
  .band-bubble { width: 210px; }
  .journey-card, .sos-card { padding: 22px 18px; }
  .setup { padding: 24px 20px; }
  .plans { grid-template-columns: 1fr; }
  .cta-card { padding: 56px 20px; border-radius: 24px; }
  .hero-trust { gap: 6px 18px; }
  .hero-trust .dotsep { display: none; }
  .footer-grid { flex-direction: column; }
  .footer-cols { gap: 40px; }
}

@media (max-width: 360px) {
  .hero .phone, .demo-phone { width: 280px; height: 580px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; }
}
