/* Skrypta — sistema de diseño de la web.
   Los colores no son decisión de esta hoja: salen de src/theme.js de la app
   (dirección "Bosque"), medidos de las referencias. Si cambia la app, cambia acá. */

:root {
  /* ink ramp */
  --bg: #050505;
  --bg-elev: #0F130F;
  --card: #141815;
  --card-2: #1E241F;
  --border: #2E342F;
  --hair: rgba(255,255,255,0.07);

  /* texto: blanco con una gota de verde, nunca blanco puro */
  --text: #E8EDE6;
  --dim: #98A689;
  --faint: #5E6B60;

  /* acentos */
  --sage: #98A689;
  --sage-light: #B3C3AC;
  --sage-deep: #778C7B;
  --rec: #FF5A6E;
  --warn: #FFC24B;

  --sel-fill: rgba(119,140,123,0.22);
  --sel-border: rgba(119,140,123,0.50);

  /* tipografía fluida */
  --t-hero: clamp(2.3rem, 1.2rem + 4.6vw, 4.4rem);
  --t-h2:   clamp(1.65rem, 1.1rem + 2.2vw, 2.6rem);
  --t-h3:   clamp(1.1rem, 0.98rem + 0.5vw, 1.3rem);
  --t-body: clamp(1rem, 0.96rem + 0.2vw, 1.12rem);
  --t-lead: clamp(1.1rem, 1rem + 0.6vw, 1.35rem);
  --t-small: 0.875rem;

  --ancho: 1120px;
  --gutter: clamp(20px, 5vw, 48px);
  --radio: 18px;
  --radio-lg: 28px;

  --paso: clamp(56px, 7vw, 92px);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: var(--t-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* El halo verde de la app, arriba de todo */
body::before {
  content: "";
  position: fixed; inset: 0 0 auto 0; height: 70vh;
  background: radial-gradient(120% 70% at 50% 0%, #171C18 0%, #0C100D 42%, var(--bg) 76%);
  z-index: -2; pointer-events: none;
}

img, video { max-width: 100%; height: auto; display: block; }

a { color: var(--sage-light); text-decoration-color: rgba(179,195,172,0.35); text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }

h1, h2, h3 { line-height: 1.08; letter-spacing: -0.021em; margin: 0; text-wrap: balance; font-weight: 700; }
h1 { font-size: var(--t-hero); }
h2 { font-size: var(--t-h2); }
h3 { font-size: var(--t-h3); letter-spacing: -0.015em; font-weight: 700; }
p  { margin: 0; text-wrap: pretty; }

:focus-visible { outline: 2px solid var(--sage-light); outline-offset: 3px; border-radius: 6px; }

/* ── estructura ───────────────────────────────────────────────────────── */

.envoltorio { width: 100%; max-width: var(--ancho); margin-inline: auto; padding-inline: var(--gutter); }
section { padding-block: var(--paso); }
.apilado > * + * { margin-top: var(--sp, 18px); }

.ojo {           /* el rótulo chico arriba de cada sección */
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--sage-deep); margin-bottom: 14px;
}

.lead { font-size: var(--t-lead); color: var(--dim); max-width: 46ch; }
.dim { color: var(--dim); }
.chico { font-size: var(--t-small); }

/* ── barra ────────────────────────────────────────────────────────────── */

.barra {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  background: rgba(5,5,5,0.72);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.barra.pegada { border-bottom-color: var(--hair); }
.barra .fila { display: flex; align-items: center; gap: 18px; height: 62px; }
.marca { font-weight: 700; font-size: 1.22rem; letter-spacing: -0.04em; color: var(--text); text-decoration: none; }
.marca span { color: var(--sage); }
.barra nav { margin-left: auto; display: flex; align-items: center; gap: 22px; }
/* :not(.tienda) — si no, este selector le gana en especificidad a .tienda y le
   pinta la insignia de la App Store en salvia sobre fondo claro: 2,1:1 de
   contraste, ilegible. */
.barra nav a:not(.tienda) { color: var(--dim); text-decoration: none; font-size: 0.93rem; font-weight: 500; }
.barra nav a:not(.tienda):hover { color: var(--text); }
@media (max-width: 720px) { .barra nav a.oculta-chico { display: none; } }

/* ── botones ──────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px; font-weight: 650; font-size: 1rem;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: transform .15s ease, background .2s ease, border-color .2s ease;
  min-height: 48px;
}
.btn:active { transform: translateY(1px); }
.btn-primario { background: var(--text); color: #0A0D0A; }
.btn-primario:hover { background: #fff; }
.btn-fantasma { background: var(--sel-fill); border-color: var(--sel-border); color: var(--text); }
.btn-fantasma:hover { background: rgba(119,140,123,0.32); }
.btn svg { flex: none; }

/* insignia de tienda */
.tienda { display: inline-flex; align-items: center; gap: 11px; padding: 12px 22px 12px 18px;
  border-radius: 14px; background: var(--text); color: #0A0D0A; text-decoration: none;
  font-weight: 600; transition: background .2s ease, transform .15s ease; min-height: 48px; }
.tienda:hover { background: #fff; }
.tienda:active { transform: translateY(1px); }
.tienda small { display: block; font-size: 0.66rem; font-weight: 600; letter-spacing: 0.04em; opacity: .62; line-height: 1.1; }
.tienda b { display: block; font-size: 1.02rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }
.tienda.proxima { background: transparent; color: var(--dim); border: 1px dashed var(--border); cursor: default; }
.tienda.proxima:hover { background: transparent; }

/* ── píldoras y marcas ────────────────────────────────────────────────── */

.pildora {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 999px; border: 1px solid var(--border);
  background: rgba(255,255,255,0.03); font-size: var(--t-small); color: var(--dim);
}
.pildora b { color: var(--text); font-weight: 650; }
.punto { width: 7px; height: 7px; border-radius: 50%; background: var(--sage); flex: none; }

/* ── hero ─────────────────────────────────────────────────────────────── */

.hero { padding-top: clamp(44px, 7vw, 86px); padding-bottom: var(--paso); }
.hero .grilla { display: grid; gap: clamp(36px, 5vw, 64px); align-items: center; }
@media (min-width: 900px) { .hero .grilla { grid-template-columns: 1.22fr 0.78fr; } }
.hero h1 em { font-style: normal; color: var(--sage-light); }
.hero .lead { margin-top: 22px; max-width: 42ch; }
.acciones { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 32px; }
.bajo-cta { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: var(--t-small); color: var(--faint); }
.bajo-cta span { display: inline-flex; align-items: center; gap: 7px; }

/* ── teléfono ─────────────────────────────────────────────────────────── */

.telefono {
  position: relative; width: 100%; max-width: 290px; margin-inline: auto;
  aspect-ratio: 1206 / 2622; border-radius: 42px; overflow: hidden;
  border: 1px solid rgba(168,191,166,0.2);
  box-shadow: 0 40px 90px rgba(0,0,0,0.6), 0 0 0 1px rgba(0,0,0,0.5);
  background: var(--card);
}
.telefono img, .telefono video { width: 100%; height: 100%; object-fit: cover; }
.telefono.ancho { max-width: 304px; }

/* ── demo del seguimiento por voz ─────────────────────────────────────── */

.demo {
  border: 1px solid var(--border); border-radius: var(--radio-lg);
  background: linear-gradient(180deg, var(--card) 0%, #0B0F0C 100%);
  overflow: hidden;
}
.demo-grilla { display: grid; gap: 0; }
@media (min-width: 860px) { .demo-grilla { grid-template-columns: 1fr 1fr; } }
.demo-lado { padding: clamp(20px, 3vw, 30px); }
.demo-lado + .demo-lado { border-top: 1px solid var(--hair); }
@media (min-width: 860px) { .demo-lado + .demo-lado { border-top: 0; border-left: 1px solid var(--hair); } }
.demo-rotulo { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.demo-rotulo h3 { font-size: 0.95rem; font-weight: 700; }
.demo-rotulo .estado { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); }
.demo-lado.fija .demo-rotulo .estado { color: var(--warn); font-variant-numeric: tabular-nums; }
.demo-lado.fija.perdido .demo-rotulo .estado { color: var(--rec); }
.demo-lado.fija.perdido .ventana { box-shadow: inset 0 0 0 1px rgba(255,90,110,0.35); }
.demo-lado.voz  .demo-rotulo .estado { color: var(--sage); }

.ventana {
  position: relative; height: 212px; overflow: hidden; border-radius: 14px;
  background: #000; border: 1px solid var(--hair);
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 20%, #000 80%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0, #000 20%, #000 80%, transparent 100%);
}
.ventana::after {
  content: ""; position: absolute; inset-inline: 0; top: 50%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(152,166,137,0.35), transparent);
  pointer-events: none;
}
.cinta { position: absolute; inset-inline: 0; top: 0; padding: 42px 18px 48px; will-change: transform; }
.cinta p { font-size: 1.3rem; line-height: 1.5; font-weight: 600; color: #fff; margin: 0; }
.cinta .palabra { transition: color .18s ease, opacity .18s ease; }
.cinta .palabra.leida { color: rgba(255,255,255,0.3); }
.cinta .palabra.actual { color: var(--sage-light); }

.medidor { display: flex; align-items: flex-end; gap: 2px; height: 30px; margin-top: 16px; }
.medidor i { flex: 1; min-width: 1px; background: var(--sage-deep); border-radius: 1px; height: 2px;
  transition: height .06s linear, background .12s ease; }
.medidor i.pico { background: var(--sage-light); }
.medidor i.mudo { background: #262C27; }
.leyenda { display: flex; justify-content: space-between; font-size: 0.76rem; color: var(--faint); margin-top: 9px; }

.demo-pie {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px;
  padding: 16px clamp(20px, 3vw, 30px); border-top: 1px solid var(--hair);
  background: rgba(0,0,0,0.3); font-size: var(--t-small); color: var(--faint);
}
.demo-pie .btn-mini {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border-radius: 999px;
  background: var(--sel-fill); border: 1px solid var(--sel-border); color: var(--text);
  font-size: 0.82rem; font-weight: 600; cursor: pointer; min-height: 38px;
}
.demo-pie .btn-mini:hover { background: rgba(119,140,123,0.34); }
.demo-video { position: relative; border-radius: 14px; overflow: hidden; border: 1px solid var(--hair); background: #000; }
.demo-video video { width: 100%; aspect-ratio: 2/3; object-fit: cover; }

/* ── tarjetas ─────────────────────────────────────────────────────────── */

.rejilla { display: grid; gap: clamp(16px, 2.2vw, 24px); }
.rejilla.dos   { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.rejilla.tres  { grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr)); }

.tarjeta {
  border: 1px solid var(--border); border-radius: var(--radio);
  background: var(--card); padding: clamp(20px, 2.6vw, 28px);
}
.tarjeta h3 { margin-bottom: 10px; }
.tarjeta p { color: var(--dim); font-size: 0.98rem; }
.tarjeta.con-figura { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.tarjeta.con-figura .texto { padding: clamp(20px, 2.6vw, 28px); }
.tarjeta.con-figura figure { margin: 0; background: #0B0F0C; border-bottom: 1px solid var(--hair); }
.tarjeta.con-figura figure img { width: 100%; }

.escena { position: relative; border-radius: var(--radio); overflow: hidden; border: 1px solid var(--border); background: #000; }
.escena video, .escena img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.escena .sobre {
  position: absolute; inset: auto 0 0 0; padding: 60px 20px 20px;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.88));
}
.escena .sobre h3 { font-size: 1.05rem; }
.escena .sobre p { color: #C6D4C2; font-size: 0.9rem; margin-top: 6px; }
.escena .nota-ia {
  position: absolute; top: 12px; right: 12px; padding: 5px 10px; border-radius: 999px;
  background: rgba(0,0,0,0.6); border: 1px solid rgba(255,255,255,0.16);
  font-size: 0.68rem; letter-spacing: 0.06em; text-transform: uppercase; color: #C6D4C2;
  backdrop-filter: blur(6px);
}

/* ── tabla de precio ──────────────────────────────────────────────────── */

.tabla { width: 100%; border-collapse: collapse; font-size: 0.97rem; }
.tabla th, .tabla td { padding: 15px 16px; text-align: left; border-bottom: 1px solid var(--hair); }
.tabla thead th { font-size: 0.76rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); font-weight: 700; }
.tabla tbody th { font-weight: 600; color: var(--text); }
.tabla td { color: var(--dim); }
.tabla .nuestro { color: var(--text); font-weight: 650; }
.tabla tr:last-child th, .tabla tr:last-child td { border-bottom: 0; }
.envuelve-tabla { border: 1px solid var(--border); border-radius: var(--radio); overflow-x: auto; background: var(--card); }

/* ── preguntas ────────────────────────────────────────────────────────── */

.pregunta { border-bottom: 1px solid var(--hair); }
.pregunta summary {
  cursor: pointer; list-style: none; padding: 20px 0; font-weight: 650; font-size: 1.05rem;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
}
.pregunta summary::-webkit-details-marker { display: none; }
.pregunta summary::after {
  content: ""; flex: none; width: 11px; height: 11px; border-right: 2px solid var(--sage);
  border-bottom: 2px solid var(--sage); transform: rotate(45deg) translateY(-3px); transition: transform .2s ease;
}
.pregunta[open] summary::after { transform: rotate(225deg) translateY(-3px); }
.pregunta .respuesta { padding-bottom: 22px; color: var(--dim); max-width: 68ch; }

/* ── cierre y pie ─────────────────────────────────────────────────────── */

.cierre {
  border: 1px solid var(--border); border-radius: var(--radio-lg);
  background: radial-gradient(90% 130% at 50% 0%, #1A211B 0%, #0C100D 60%, #080A08 100%);
  padding: clamp(40px, 6vw, 72px) clamp(24px, 4vw, 56px); text-align: center;
}
.cierre h2 { max-width: 20ch; margin-inline: auto; }
.cierre .acciones { justify-content: center; }
.cierre .bajo-cta { justify-content: center; }

footer { border-top: 1px solid var(--hair); padding-block: 44px 56px; color: var(--faint); font-size: var(--t-small); }
footer .fila { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; }
footer a { color: var(--dim); text-decoration: none; }
footer a:hover { color: var(--text); }
footer .derecha { margin-left: auto; display: flex; gap: 20px; flex-wrap: wrap; }

.saltar {
  position: absolute; left: -9999px; top: 0; padding: 12px 18px; background: var(--text); color: #0A0D0A;
  border-radius: 0 0 10px 0; font-weight: 700; z-index: 100;
}
.saltar:focus { left: 0; }

/* ── artículo (páginas de texto) ──────────────────────────────────────── */

.articulo { max-width: 72ch; }
.articulo h2 { margin-top: 56px; }
.articulo h3 { margin-top: 34px; }
.articulo p, .articulo ul, .articulo ol { margin-top: 16px; color: var(--dim); }
.articulo ul, .articulo ol { padding-left: 1.25em; }
.articulo li + li { margin-top: 8px; }
.articulo strong { color: var(--text); font-weight: 650; }
.articulo .destacado {
  border-left: 3px solid var(--sage-deep); padding: 4px 0 4px 20px; margin-top: 26px;
  color: var(--text); font-size: var(--t-lead);
}
.migas { font-size: var(--t-small); color: var(--faint); margin-bottom: 18px; }
.migas a { color: var(--dim); text-decoration: none; }
.migas a:hover { color: var(--text); }

/* el avatar debajo del guion, igual que la pantalla de la app */
.demo-camara { position: relative; margin-top: 12px; border-radius: 12px; overflow: hidden;
  border: 1px solid var(--hair); background: #000; aspect-ratio: 16/10; }
.demo-camara video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 32%; }
.demo-camara .rec { position: absolute; top: 10px; left: 10px; display: inline-flex; align-items: center;
  gap: 6px; padding: 4px 9px; border-radius: 999px; background: rgba(0,0,0,0.55);
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em; color: #fff; }
.demo-camara .rec i { width: 7px; height: 7px; border-radius: 50%; background: var(--rec); }
.demo-camara.apagada video { filter: grayscale(0.45) brightness(0.72); }
.demo-camara .ia { position: absolute; right: 10px; bottom: 9px; font-size: 0.62rem;
  letter-spacing: 0.05em; text-transform: uppercase; color: rgba(255,255,255,0.72); }

/* ── por qué: cuatro motivos cortos ───────────────────────────────────── */
.rejilla.cuatro { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.motivo { border: 1px solid var(--border); border-radius: var(--radio); background: var(--card);
  padding: clamp(20px, 2.4vw, 26px); }
.motivo-icono { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  background: var(--sel-fill); border: 1px solid var(--sel-border); color: var(--sage-light); margin-bottom: 18px; }
.motivo h3 { font-size: 1.05rem; margin-bottom: 8px; }
.motivo p { color: var(--dim); font-size: 0.95rem; }

/* ── preguntas en dos columnas ────────────────────────────────────────── */
.faq-grilla { display: grid; gap: clamp(28px, 4vw, 56px); align-items: start; }
@media (min-width: 880px) { .faq-grilla { grid-template-columns: 0.8fr 1.2fr; } }
.faq-lista .pregunta:first-child { border-top: 1px solid var(--hair); }

/* ── cierre con figura ────────────────────────────────────────────────── */
.cierre { display: grid; gap: clamp(28px, 4vw, 52px); align-items: center; text-align: left; }
@media (min-width: 820px) { .cierre { grid-template-columns: 1.15fr 0.85fr; } }
.cierre .acciones { justify-content: flex-start; margin-top: 30px; }
.cierre h2 { max-width: 18ch; margin-inline: 0; }
.cierre-figura img { width: 100%; max-width: 240px; margin-inline: auto; border-radius: 22px;
  border: 1px solid rgba(168,191,166,0.2); box-shadow: 0 30px 60px rgba(0,0,0,0.55); }

/* ── pie en columnas ──────────────────────────────────────────────────── */
.pie-grilla { display: grid; gap: clamp(28px, 4vw, 44px); align-items: start; }
@media (min-width: 760px) { .pie-grilla { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.pie-col h3 { font-size: 0.76rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--faint); margin-bottom: 14px; }
.pie-col { display: flex; flex-direction: column; gap: 10px; }
.pie-col a { color: var(--dim); text-decoration: none; }
.pie-col a:hover { color: var(--text); }
.pie-base { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 44px; padding-top: 22px;
  border-top: 1px solid var(--hair); color: var(--faint); }

/* ── bento de funciones ───────────────────────────────────────────────────
   Cuatro tarjetas en tres columnas dejaban la última sola con el 67% del
   ancho vacío. Dos anchas y dos chicas llenan dos filas exactas, y de paso
   rompen la monotonía de cuatro capturas idénticas.
   Las capturas ya no se muestran enteras: object-position recorta a la zona
   que argumenta, en vez de gastar alto en barra de estado y nav bar. */
.bento { display: grid; gap: clamp(16px, 2vw, 22px); grid-template-columns: 1fr; }
@media (min-width: 900px) { .bento { grid-template-columns: repeat(3, 1fr); } }

.bento-item {
  border: 1px solid var(--border); border-radius: var(--radio);
  background: var(--card); overflow: hidden;
  display: flex; flex-direction: column;
}
.bento-item .texto { padding: clamp(22px, 2.4vw, 28px); }
.bento-item h3 { margin-bottom: 10px; }
.bento-item p { color: var(--dim); font-size: 0.97rem; max-width: 42ch; }
.bento-item figure { margin: 0; flex: 1; min-height: 212px; background: #0B0F0C;
  border-top: 1px solid var(--hair); overflow: hidden; }
.bento-item figure img { width: 100%; height: 100%; object-fit: cover;
  object-position: var(--pos, 50% 20%); }

@media (min-width: 900px) {
  .bento-item.ancha { grid-column: span 2; flex-direction: row; align-items: stretch; }
  .bento-item.ancha .texto { flex: 1.05; display: flex; flex-direction: column; justify-content: center; }
  .bento-item.ancha figure { flex: 0.95; min-height: 0; border-top: 0; border-left: 1px solid var(--hair); }
  .bento-item:not(.ancha) figure { min-height: 236px; max-height: 236px; }
}


/* ── bloque de dos columnas: título a la izquierda, cuerpo a la derecha ───
   Antes estas secciones eran una columna angosta centrada: "Privacidad"
   usaba 699 px de los 1.120 disponibles y gastaba 619 px de alto. */
.duo { display: grid; gap: clamp(22px, 3.5vw, 56px); align-items: start; }
@media (min-width: 880px) { .duo { grid-template-columns: 0.9fr 1.1fr; } }
.duo-titulo h2 { max-width: 18ch; }
.duo-cuerpo { display: flex; flex-direction: column; gap: 18px; max-width: 58ch; }
.duo-cuerpo p { color: var(--dim); }

/* las tarjetas anchas del bento no deben estirarse a lo alto del teléfono */
@media (min-width: 900px) {
  .bento-item.ancha { max-height: 340px; }
  .bento-item.ancha figure img { object-position: 50% 12%; }
}


/* ── chips de caso de uso en el hero ──────────────────────────────────────
   Riverside y Flighty orientan desde la primera pantalla por caso de uso o
   momento, no por función. Además meten las variantes de búsqueda en el H1
   sin estirar el titular. */
.casos { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.casos span { padding: 7px 13px; border-radius: 999px; border: 1px solid var(--border);
  background: rgba(255,255,255,0.03); font-size: 0.84rem; color: var(--dim); }

/* ── el teléfono del hero, en movimiento ──────────────────────────────────
   Captions pone 11 videos en el hero y Riverside 21: muestran el producto
   funcionando, no una foto de él. Acá el marco lleva la cámara real debajo y
   el guion encima, que es exactamente lo que ve el usuario en la app. */
.telefono.vivo { background: #000; }
.telefono.vivo video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hero-prompter {
  position: absolute; inset: 3.2% 3.6% auto; border-radius: 20px; overflow: hidden;
  background: rgba(8,10,8,0.82); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1); padding: 13px 15px 15px;
}
.hero-prompter .chip {
  display: inline-flex; align-items: center; gap: 5px; font-size: 0.6rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--sage-light);
  background: var(--sel-fill); border: 1px solid var(--sel-border);
  border-radius: 999px; padding: 3px 8px; margin-bottom: 8px;
}
.hero-ventana { position: relative; height: 92px; overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 60%, transparent 100%); }
.hero-ventana .cinta { position: absolute; inset-inline: 0; top: 0; padding: 0; }
.hero-ventana p { font-size: 0.82rem; line-height: 1.38; font-weight: 600; color: #fff; margin: 0; }
.hero-prompter .pie { display: flex; align-items: center; gap: 7px; margin-top: 10px;
  font-size: 0.6rem; color: rgba(255,255,255,0.5); }
.hero-prompter .onda { display: flex; align-items: flex-end; gap: 1.5px; height: 11px; margin-left: auto; }
.hero-prompter .onda i { width: 2px; background: var(--sage); border-radius: 1px; height: 2px; }
.hero-prompter .onda i.mudo { background: rgba(255,255,255,0.18); }


/* ── badge oficial de la App Store ────────────────────────────────────────
   Artwork de Apple sin modificar. Sus guías piden altura mínima y una zona de
   respeto de 1/10 de la altura alrededor, así que acá sólo se fija el alto y
   el área de toque; ni color ni tipografía se tocan. */
.badge-tienda { display: inline-block; line-height: 0; border-radius: 9px;
  transition: transform .15s ease, opacity .2s ease; }
.badge-tienda img { height: 48px; width: auto; display: block; }
.badge-tienda:hover { opacity: 0.86; }
.badge-tienda:active { transform: translateY(1px); }
.barra .badge-tienda img, footer .badge-tienda img { height: 42px; }
.badge-tienda:focus-visible { outline: 2px solid var(--sage-light); outline-offset: 4px; }
@media (max-width: 420px) { .badge-tienda img { height: 44px; } }

/* El badge de Play trae su zona de respeto dentro del PNG, así que necesita
   más alto que el de Apple para que los dos se vean del mismo tamaño. */
.badge-play img { height: 60px; }
.barra .badge-play img, footer .badge-play img { height: 53px; }
@media (max-width: 420px) { .badge-play img { height: 55px; } }

/* ── cambiar el fondo: el mismo clip, con y sin reemplazo ────────────────
   Dos videos del mismo momento, arrancados juntos. La prueba está en que el
   recorte aguante el movimiento: el brazo que sube, el pelo, la taza. */
.fondo-grilla { display: grid; gap: clamp(28px, 4vw, 52px); align-items: center; }
@media (min-width: 880px) { .fondo-grilla { grid-template-columns: 1fr 1fr; } }
.fondo-par { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(10px, 1.4vw, 16px); }
.fondo-clip { margin: 0; }
.fondo-clip video {
  width: 100%; aspect-ratio: 2 / 3; object-fit: cover; display: block;
  border-radius: 16px; border: 1px solid var(--border); background: #000;
}
.fondo-clip figcaption {
  margin-top: 10px; font-size: 0.78rem; letter-spacing: 0.02em; color: var(--faint);
  text-align: center;
}
.fondo-clip:last-child figcaption { color: var(--sage); font-weight: 600; }
.fondo-clip:last-child video { border-color: var(--sel-border); }

@media (min-width: 900px) { .bento.tres { grid-template-columns: repeat(3, 1fr); } }
