/* Landing de NAVIA: estructura "Bevel" con la paleta de NAVIA (2026-10-04): lienzo
   blanco, titulares casi negros de peso 600 con tracking -0.03em, tarjetas
   Cloud Card (#ebf0f8) sin borde ni sombra, botones cápsula Charcoal, y un
   hero con degradado de cielo (#d2e5ff → #fff9ee). Los colores de dato
   (verde, azul, lila, coral) solo van en visualizaciones, nunca en la
   carcasa. Tokens literales de la especificación. */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Colors: estructura de Bevel, paleta de NAVIA (design-system.md):
     Charcoal -> Primary petróleo, Ink -> Ink de NAVIA, Cloud Card -> Ocean
     Mist, Body Gray -> gris verdoso, y el teal Secondary como acento. */
  --color-paper-white: #ffffff;
  --color-charcoal: #0e3d45;
  --color-ink: #102a30;
  --color-cloud-card: #e8f3f4;
  --color-body-gray: #5d6d71;
  --color-teal: #147a7d;
  --color-teal-claro: #8fd0d2;
  --color-arena: #f6f1eb;
  --color-whatsapp: #25d366;
  --color-signal-gold: #ffca00;
  --color-coral-signal: #ffab94;
  --color-recovery-green: #31ce01;
  --color-metric-blue: #415eee;
  --color-sleep-lilac: #b9a6ff;
  --gradient-hero-sky: linear-gradient(#cfe7e8 0%, #e3f1f1 45%, #f6f1eb 100%);

  /* Typography */
  --fuente: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', sans-serif;
  --text-caption: 12px;
  --text-nav: 16px;
  --text-brand-nav: 18px;
  --text-body: 24px;
  --text-section-label: 24px;
  --text-card-heading: 40px;
  --text-display: 64px;
  --text-hero-display: 80px;

  /* Spacing */
  --spacing-8: 8px;
  --spacing-16: 16px;
  --spacing-24: 24px;
  --spacing-32: 32px;
  --spacing-40: 40px;
  --spacing-48: 48px;
  --spacing-80: 80px;
  --spacing-96: 96px;
  --spacing-160: 160px;
  --section-gap: 80px;
  --card-padding: 32px;
  --element-gap: 16px;

  /* Radius */
  --radius-2xl: 16px;
  --radius-3xl: 24px;
  --radius-3xl-2: 32px;
  --radius-full: 128px;

  /* Shadows */
  --shadow-md: rgba(0, 0, 0, 0.25) 0px 0px 16px -8px;
  --shadow-subtle: rgb(255, 255, 255) 0px 1px 0px 0px inset, rgba(255, 255, 255, 0.25) 0px 0px 4px 0px inset;
  --shadow-lg: rgb(255, 255, 255) 0px 0px 24px 0px inset;
  --shadow-md-2: rgba(0, 0, 0, 0.15) 0px 2px 16px 0px;
  --shadow-subtle-2: rgba(255, 255, 255, 0.36) 0px 1px 0px 0px inset;

  /* movimiento (skill animate) */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);

  --ancho: 1200px;
  interpolate-size: allow-keywords;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--color-paper-white);
  color: var(--color-ink);
  font-family: var(--fuente);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2,
h3 {
  color: var(--color-ink);
  font-weight: 600;
}

.contenedor {
  width: min(var(--ancho), 100% - 32px);
  margin-inline: auto;
}

/* ---------------------------------------------------------------- tipografía */
.display-hero {
  font-size: clamp(44px, 7.4vw, var(--text-hero-display));
  line-height: 1;
  letter-spacing: -0.03em;
}

.display {
  font-size: clamp(36px, 5.6vw, var(--text-display));
  line-height: 1;
  letter-spacing: -0.03em;
}

.cuerpo {
  color: var(--color-body-gray);
  font-size: clamp(18px, 2vw, var(--text-body));
  line-height: 1.3;
}

.etiqueta-seccion {
  font-size: clamp(20px, 2vw, var(--text-section-label));
  line-height: 0.9;
  letter-spacing: -0.01em;
}

.centro {
  text-align: center;
}

/* ---------------------------------------------------------------- botones */
.pastilla {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 16px;
  border: none;
  border-radius: var(--radius-full);
  font: inherit;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 160ms var(--ease-out), background-color 200ms ease;
  -webkit-tap-highlight-color: transparent;
}

.pastilla:active {
  transform: scale(0.97);
}

.pastilla svg {
  width: 18px;
  height: 18px;
  flex: none;
}

.pastilla--carbon {
  background: var(--color-charcoal);
  color: var(--color-cloud-card);
}

.pastilla--nube {
  background: var(--color-cloud-card);
  color: var(--color-ink);
}

.pastilla--whatsapp {
  background: var(--color-whatsapp);
  color: #ffffff;
  font-weight: 600;
}

.pastilla--grande {
  padding: 14px 24px;
  font-size: 18px;
}

@media (hover: hover) and (pointer: fine) {
  .pastilla--carbon:hover {
    background: #145560;
  }

  .pastilla--nube:hover {
    background: #d6eaec;
  }

  .pastilla--whatsapp:hover {
    background: #1ebe5b;
  }
}

/* ---------------------------------------------------------------- navegación cápsula */
.nav {
  position: fixed;
  top: 16px;
  left: 0;
  right: 0;
  z-index: 50;
  pointer-events: none;
}

.nav-fila {
  display: flex;
  align-items: center;
  gap: 16px;
  width: min(1040px, 100% - 24px);
  margin-inline: auto;
  padding: 8px 8px 8px 20px;
  border-radius: var(--radius-3xl-2);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-md-2);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  pointer-events: auto;
}

.marca {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--color-ink);
  font-size: var(--text-brand-nav);
  font-weight: 500;
  letter-spacing: 0.162px;
  text-decoration: none;
}

.marca svg {
  width: 26px;
  height: 26px;
}

.nav-enlaces {
  position: relative;
  display: flex;
  gap: 4px;
  margin-left: 8px;
}

.nav-enlaces a {
  position: relative;
  z-index: 1;
  padding: 7px 14px;
  border-radius: 9999px;
  color: var(--color-body-gray);
  font-size: var(--text-nav);
  font-weight: 500;
  text-decoration: none;
  transition: color 200ms ease;
}

.nav-enlaces a:hover,
.nav-enlaces a.activo {
  color: var(--color-charcoal);
}

/* Recuadro que marca la sección activa (y el enlace bajo el cursor). Se
   desliza entre enlaces con una curva suave; nav.js le da posición y ancho.
   Debajo, un hilo de luz teal le da el toque "instrumento". */
.nav-indicador {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  border: 1px solid rgba(20, 122, 125, 0.32);
  border-radius: 9999px;
  background: linear-gradient(180deg, rgba(232, 243, 244, 0.95), rgba(232, 243, 244, 0.55));
  box-shadow: inset 0 1px 0 #ffffff, 0 0 0 4px rgba(20, 122, 125, 0.06);
  opacity: 0;
  pointer-events: none;
}

.nav-indicador::after {
  content: '';
  position: absolute;
  left: 30%;
  right: 30%;
  bottom: -1px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--color-teal), transparent);
  filter: blur(0.5px);
}

.nav-indicador.listo {
  transition: transform 420ms var(--ease-out), width 420ms var(--ease-out), opacity 200ms ease;
}

.nav-indicador.visible {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .nav-indicador.listo {
    transition: opacity 200ms ease;
  }
}

.nav-acciones {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

@media (max-width: 900px) {
  .nav-enlaces {
    display: none;
  }
}

@media (max-width: 420px) {
  .nav-fila {
    gap: 8px;
    padding-left: 14px;
  }

  .nav .pastilla {
    padding: 8px 12px;
    font-size: 15px;
  }

  .solo-ancho {
    display: none;
  }
}

/* ---------------------------------------------------------------- hero */
.hero {
  padding: 8px;
}

.hero-campo {
  position: relative;
  overflow: hidden;
  padding: 160px 0 72px;
  border-radius: var(--radius-3xl-2);
  background: var(--gradient-hero-sky);
  text-align: center;
}

.hero-campo .cuerpo {
  max-width: 680px;
  margin: 24px auto 0;
}

.hero-acciones {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

.hero-prueba {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 16px;
  margin-top: 16px;
  color: var(--color-body-gray);
  font-size: var(--text-caption);
  line-height: 1.1;
}

.hero-prueba span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-prueba span::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-teal);
}

/* dispositivos: tablet + teléfono superpuestos, "en crudo", sin tarjeta */
.hero-dispositivos {
  position: relative;
  width: min(980px, 100% - 32px);
  margin: 64px auto 0;
  padding-bottom: 6%;
}

.tablet {
  padding: clamp(6px, 1vw, 12px);
  border-radius: clamp(16px, 2.4vw, 28px);
  background: var(--color-charcoal);
  box-shadow: var(--shadow-subtle-2), rgba(31, 32, 37, 0.28) 0 40px 80px -30px;
}

.tablet img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: clamp(10px, 1.5vw, 18px);
}

.telefono {
  padding: clamp(4px, 0.6vw, 7px);
  border-radius: clamp(18px, 3vw, 36px);
  background: var(--color-charcoal);
  box-shadow: var(--shadow-subtle-2), rgba(31, 32, 37, 0.35) 0 30px 60px -20px;
}

.telefono img {
  width: 100%;
  aspect-ratio: 393 / 852;
  object-fit: cover;
  border-radius: clamp(14px, 2.4vw, 30px);
}

.hero-dispositivos .telefono {
  position: absolute;
  right: -3%;
  bottom: 0;
  width: 22%;
}

/* ---------------------------------------------------------------- fuentes de datos */
.seccion {
  padding: var(--section-gap) 0;
}

.fuentes {
  padding-top: 64px;
}

.logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 24px 48px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.logos li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--color-charcoal);
  font-size: 18px;
  font-weight: 600;
  filter: grayscale(1);
  opacity: 0.85;
}

.logos img {
  width: auto;
  height: 40px;
}

.logos img.logo-ancho {
  height: 34px;
}

.nota-fina {
  max-width: 620px;
  margin: 24px auto 0;
  color: var(--color-body-gray);
  font-size: var(--text-caption);
  line-height: 1.4;
  text-align: center;
}

/* ---------------------------------------------------------------- declaración grande */
.sellos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 16px;
  margin-bottom: 32px;
  color: var(--color-body-gray);
  font-size: 16px;
  font-weight: 500;
}

.sellos span {
  padding: 6px 14px;
  border-radius: 9999px;
  background: var(--color-cloud-card);
  color: var(--color-charcoal);
}

.declaracion .display {
  max-width: 900px;
  margin: 0 auto;
}

.declaracion .cuerpo {
  max-width: 720px;
  margin: 24px auto 0;
}

/* ---------------------------------------------------------------- tarjetas Cloud */
.rejilla-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--element-gap);
  margin-top: 48px;
}

.nube {
  display: flex;
  flex-direction: column;
  padding: var(--card-padding);
  border-radius: var(--radius-3xl);
  background: var(--color-cloud-card);
}

.nube h3 {
  font-size: clamp(26px, 2.8vw, var(--text-card-heading));
  line-height: 1;
  letter-spacing: -0.03em;
}

.nube p {
  margin-top: 16px;
  color: var(--color-body-gray);
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.4;
}

.nube .antes {
  margin: 0 0 16px;
  color: var(--color-body-gray);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
}

.nube .antes b {
  color: var(--color-ink);
  font-weight: 600;
}

@media (max-width: 960px) {
  .rejilla-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .rejilla-3 {
    grid-template-columns: 1fr;
  }

  .nube {
    padding: 24px;
  }
}

/* ---------------------------------------------------------------- cinta de capturas */
.cinta {
  margin-top: 48px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.cinta-pista {
  display: flex;
  gap: 24px;
  width: max-content;
  padding: 24px 0 32px;
  animation: cinta 60s linear infinite;
}

.cinta-pista img {
  width: clamp(180px, 20vw, 240px);
  aspect-ratio: 393 / 852;
  object-fit: cover;
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-md);
}

.cinta-pista img.horizontal {
  width: clamp(380px, 44vw, 520px);
  aspect-ratio: 16 / 10;
  align-self: center;
}

@keyframes cinta {
  to {
    transform: translateX(-50%);
  }
}

@media (hover: hover) and (pointer: fine) {
  .cinta:hover .cinta-pista {
    animation-play-state: paused;
  }
}

/* ---------------------------------------------------------------- funciones (bento) */
.bento {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--element-gap);
  margin-top: 48px;
}

.bento .nube {
  overflow: hidden;
}

.bento .ancha {
  grid-column: span 2;
}

.funcion-numero {
  margin-bottom: 16px;
  color: var(--color-teal);
  font-size: 14px;
  font-weight: 500;
}

.vista {
  margin-top: auto;
  padding-top: 32px;
}

.vista .tablet,
.vista .telefono {
  box-shadow: var(--shadow-md);
}

.vista--telefono {
  display: flex;
  justify-content: center;
}

.vista--telefono .telefono {
  width: min(200px, 62%);
}

.nube .aviso {
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: var(--radius-2xl);
  background: rgba(255, 255, 255, 0.6);
  color: var(--color-body-gray);
  font-size: 13px;
  line-height: 1.45;
}

/* ilustración de importar (coordenadas inventadas) */
.importar {
  display: grid;
  gap: 12px;
  margin-top: auto;
  padding-top: 32px;
}

.hoja {
  display: grid;
  gap: 8px;
  padding: 20px;
  border-radius: var(--radius-2xl);
  background: repeating-linear-gradient(180deg, #fffdf6 0 29px, #dfe7ef 29px 30px);
  box-shadow: var(--shadow-md);
  color: #23395d;
  font-family: 'Segoe Print', 'Bradley Hand', 'Comic Sans MS', cursive;
  font-size: 14px;
  white-space: nowrap;
  transform: rotate(-2deg);
}

.hoja b {
  font-size: 16px;
  text-decoration: underline;
}

.hoja s {
  opacity: 0.55;
}

.ia {
  justify-self: center;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-charcoal);
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
}

.leido {
  display: grid;
  gap: 8px;
  padding: 18px;
  border-radius: var(--radius-2xl);
  background: var(--color-paper-white);
  box-shadow: var(--shadow-md);
}

.leido-etiqueta {
  color: var(--color-body-gray);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.leido-coord {
  color: var(--color-ink);
  font-size: 16px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.leido-especie {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--color-body-gray);
  font-size: 14px;
}

.leido-especie i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e53935;
}

.leido-boton {
  margin-top: 4px;
  padding: 9px 12px;
  border-radius: var(--radius-full);
  background: var(--color-teal);
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
}

@media (max-width: 960px) {
  .bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .bento {
    grid-template-columns: 1fr;
  }

  .bento .ancha {
    grid-column: auto;
  }
}

/* ---------------------------------------------------------------- cifras con anillos */
.cifras {
  padding: 56px var(--card-padding);
  border-radius: var(--radius-3xl-2);
  background: linear-gradient(180deg, var(--color-cloud-card), #f4f9f9);
  text-align: center;
}

.cifras .cuerpo {
  margin-top: 16px;
}

.anillos {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin: 48px 0 0;
  padding: 0;
  list-style: none;
}

.anillo {
  display: grid;
  justify-items: center;
  gap: 12px;
}

.anillo svg {
  width: 120px;
  height: 120px;
}

.anillo circle {
  fill: none;
  stroke-width: 9;
}

.anillo .pista {
  stroke: rgba(14, 61, 69, 0.1);
}

.anillo .valor {
  stroke: url(#anillo-navia);
  stroke-linecap: round;
  stroke-dasharray: 264;
  transform: rotate(-90deg);
  transform-origin: 50% 50%;
}

.anillo text {
  fill: var(--color-charcoal);
  font-family: var(--fuente);
  font-size: 34px;
  font-weight: 600;
  text-anchor: middle;
  dominant-baseline: central;
}

.anillo span {
  max-width: 180px;
  color: var(--color-body-gray);
  font-size: 15px;
  line-height: 1.35;
}

@media (max-width: 760px) {
  .anillos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .anillo svg {
    width: 96px;
    height: 96px;
  }
}

/* ---------------------------------------------------------------- y además */
.lista-extra {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px 40px;
  margin: 56px 0 0;
  padding: 0;
  list-style: none;
}

.lista-extra li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 4px 16px;
  align-items: start;
}

.lista-extra .icono {
  display: grid;
  grid-row: span 2;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-cloud-card);
  color: var(--color-charcoal);
}

.lista-extra .icono svg {
  width: 20px;
  height: 20px;
}

.lista-extra h3 {
  font-size: 18px;
  line-height: 1.3;
}

.lista-extra p {
  color: var(--color-body-gray);
  font-size: 16px;
  line-height: 1.45;
}

@media (max-width: 960px) {
  .lista-extra {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .lista-extra {
    grid-template-columns: 1fr;
  }
}

/* ---------------------------------------------------------------- historia */
.historia {
  padding: 8px;
}

.historia-campo {
  position: relative;
  overflow: hidden;
  padding: 120px 24px;
  border-radius: var(--radius-3xl-2);
  background: radial-gradient(70% 90% at 85% 0%, rgba(20, 122, 125, 0.55), transparent 70%),
    linear-gradient(160deg, #0b2a30 0%, var(--color-charcoal) 100%);
  text-align: center;
}

.historia-campo .etiqueta {
  display: inline-block;
  margin-bottom: 32px;
  padding: 6px 14px;
  border-radius: 9999px;
  background: rgba(143, 208, 210, 0.14);
  color: var(--color-teal-claro);
  font-size: 14px;
  font-weight: 500;
}

.historia blockquote {
  max-width: 920px;
  margin: 0 auto;
  color: #ffffff;
  font-size: clamp(28px, 3.6vw, var(--text-card-heading));
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.historia .cuerpo {
  max-width: 720px;
  margin: 24px auto 0;
  color: #b9d6d8;
}

.firma {
  display: inline-block;
  margin-top: 32px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--color-teal-claro);
  font-size: 16px;
  font-weight: 500;
}

/* ---------------------------------------------------------------- precio */
.precios {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--element-gap);
  max-width: 880px;
  margin: 48px auto 0;
}

.precio h3 {
  font-size: 24px;
  letter-spacing: -0.01em;
}

.nube.precio .cifra {
  margin-top: 24px;
  color: var(--color-ink);
  font-size: clamp(48px, 5vw, var(--text-display));
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
}

.precio .cifra small {
  color: var(--color-body-gray);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0;
}

.precio .alterno {
  margin-top: 8px;
  color: var(--color-body-gray);
  font-size: 16px;
}

.precio ul {
  display: grid;
  gap: 12px;
  margin: 32px 0;
  padding: 0;
  list-style: none;
  color: var(--color-ink);
  font-size: 17px;
}

.precio li {
  display: flex;
  gap: 10px;
}

.precio li::before {
  content: '';
  flex: none;
  width: 8px;
  height: 8px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--color-teal);
}

.precio .pastilla {
  align-self: flex-start;
  margin-top: auto;
}

.precio--blanco {
  background: var(--color-paper-white);
  box-shadow: inset 0 0 0 1px var(--color-cloud-card);
}

.pronto {
  align-self: flex-start;
  display: inline-block;
  margin-top: 8px;
  padding: 4px 10px;
  border-radius: 9999px;
  background: var(--color-cloud-card);
  color: var(--color-body-gray);
  font-size: 12px;
  font-weight: 600;
}

@media (max-width: 760px) {
  .precios {
    grid-template-columns: 1fr;
  }
}

/* ---------------------------------------------------------------- preguntas */
.preguntas {
  max-width: 820px;
  margin: 48px auto 0;
}

.preguntas details {
  border-bottom: 1px solid var(--color-cloud-card);
}

.preguntas summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 0;
  color: var(--color-ink);
  font-size: clamp(18px, 1.8vw, 20px);
  font-weight: 600;
  letter-spacing: -0.01em;
  list-style: none;
  cursor: pointer;
}

.preguntas summary::-webkit-details-marker {
  display: none;
}

.preguntas summary::after {
  content: '+';
  flex: none;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-cloud-card);
  color: var(--color-charcoal);
  font-size: 20px;
  font-weight: 500;
  transition: transform 200ms var(--ease-out);
}

.preguntas details[open] summary::after {
  transform: rotate(45deg);
}

.preguntas details::details-content {
  height: 0;
  overflow: clip;
  transition: height 250ms var(--ease-out), content-visibility 250ms allow-discrete;
}

.preguntas details[open]::details-content {
  height: auto;
}

.preguntas details p {
  padding-bottom: 24px;
  color: var(--color-body-gray);
  font-size: 17px;
  line-height: 1.55;
}

.preguntas a,
.nota-fina a,
.pie-aviso a {
  color: var(--color-ink);
  font-weight: 500;
  text-underline-offset: 3px;
}

/* ---------------------------------------------------------------- llamada final */
.final-campo {
  padding: 120px 24px;
  border-radius: var(--radius-3xl-2);
  background: var(--gradient-hero-sky);
  text-align: center;
}

.final-campo .cuerpo {
  max-width: 620px;
  margin: 24px auto 0;
}

/* ---------------------------------------------------------------- pie */
.pie {
  padding: 96px 0 48px;
}

.pie-rejilla {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 40px;
}

.pie-marca p {
  max-width: 280px;
  margin-top: 16px;
  color: var(--color-body-gray);
  font-size: 15px;
  line-height: 1.5;
}

.pie h4 {
  margin: 0 0 16px;
  color: var(--color-body-gray);
  font-size: 14px;
  font-weight: 500;
}

.pie ul {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pie ul a {
  color: var(--color-ink);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
  text-decoration: none;
}

.pie-aviso {
  display: grid;
  gap: 10px;
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid var(--color-cloud-card);
  color: var(--color-body-gray);
  font-size: 13px;
  line-height: 1.6;
}

.pie-aviso b {
  color: var(--color-ink);
  font-weight: 600;
}

@media (max-width: 760px) {
  .pie-rejilla {
    grid-template-columns: 1fr 1fr;
  }

  .pie-marca {
    grid-column: 1 / -1;
  }
}

/* ---------------------------------------------------------------- movimiento */
@keyframes entrar {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
}

.hero-campo > * {
  animation: entrar 800ms var(--ease-out) both;
}

.hero-campo > :nth-child(2) {
  animation-delay: 70ms;
}

.hero-campo > :nth-child(3) {
  animation-delay: 140ms;
}

.hero-campo > :nth-child(4) {
  animation-delay: 200ms;
}

.hero-campo > .hero-dispositivos {
  animation-duration: 1100ms;
  animation-delay: 280ms;
}

.js [data-revelar] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out), translate 250ms var(--ease-out),
    background-color 200ms ease, box-shadow 200ms ease;
}

.js [data-revelar][data-visible] {
  opacity: 1;
  transform: none;
}

/* los anillos se llenan cuando aparecen */
.js .anillo .valor {
  stroke-dashoffset: 264;
  transition: stroke-dashoffset 1400ms var(--ease-out);
}

.js .anillos[data-visible] .valor {
  stroke-dashoffset: 0;
}

@media (prefers-reduced-motion: reduce) {
  .hero-campo > * {
    animation-name: fundido;
    animation-duration: 300ms;
  }

  .js [data-revelar] {
    transform: none;
    transition: opacity 300ms ease;
  }

  .cinta-pista {
    animation: none;
  }

  .cinta {
    overflow-x: auto;
  }

  .js .anillo .valor {
    transition: none;
  }

  .preguntas details::details-content {
    transition: none;
  }
}

@keyframes fundido {
  from {
    opacity: 0;
  }
}

.nota-ancha {
  max-width: 720px;
  margin: 16px auto 0;
}

/* en pantallas pequeñas los titulares se acomodan solos */
@media (max-width: 640px) {
  .display-hero br,
  .display br {
    display: none;
  }
}

/* defs SVG compartidos (degradado de los anillos), sin ocupar espacio */
.svg-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

/* únete al equipo */
.unete {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--element-gap);
  max-width: 880px;
  margin: 48px auto 0;
}

.unete .pastilla {
  align-self: flex-start;
  margin-top: 32px;
}

@media (max-width: 760px) {
  .unete {
    grid-template-columns: 1fr;
  }
}

/* ---------------------------------------------------------------- tecnología e IA */
.chip-ia {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  padding: 7px 16px 7px 12px;
  border: 1px solid rgba(20, 122, 125, 0.28);
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow-subtle);
  color: var(--color-charcoal);
  font-size: 15px;
  font-weight: 500;
}

.chip-ia svg {
  width: 18px;
  height: 18px;
  color: var(--color-teal);
}

.tec {
  position: relative;
}

.tec-icono {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 24px;
  border-radius: 16px;
  background: var(--color-paper-white);
  color: var(--color-teal);
  box-shadow: var(--shadow-md);
}

.tec-icono svg {
  width: 26px;
  height: 26px;
}

.nube .tec-etiqueta {
  margin: 0 0 12px;
  color: var(--color-teal);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* la del aprendizaje, en petróleo: es la que más nos distingue */
.tec--destacada {
  background: radial-gradient(90% 80% at 100% 0%, rgba(31, 163, 166, 0.45), transparent 70%),
    linear-gradient(160deg, #0b2a30, var(--color-charcoal));
}

.tec--destacada h3 {
  color: #ffffff;
}

.nube.tec--destacada p {
  color: #b9d6d8;
}

.nube.tec--destacada .tec-etiqueta {
  color: var(--color-teal-claro);
}

.tec--destacada .tec-icono {
  background: rgba(143, 208, 210, 0.14);
  color: var(--color-teal-claro);
  box-shadow: none;
}

/* "Pide tu acceso" de la barra: verde WhatsApp más apagado */
.pastilla--whatsapp.pastilla--suave {
  background: #3aa86b;
}

@media (hover: hover) and (pointer: fine) {
  .pastilla--whatsapp.pastilla--suave:hover {
    background: #33975f;
  }
}

/* marcos de los dispositivos en negro, como la mayoría de equipos reales */
.tablet,
.telefono {
  background: #0b0c0e;
}

/* ---------------------------------------------------------------- cómo empezar */
.pasos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--element-gap);
  margin: 48px 0 0;
  padding: 0;
  list-style: none;
}

.paso-numero {
  display: block;
  margin-bottom: 32px;
  background: linear-gradient(135deg, #1fa3a6, var(--color-charcoal));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: clamp(48px, 5vw, var(--text-display));
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
}

.pasos h3 {
  font-size: clamp(24px, 2.4vw, 30px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

@media (max-width: 760px) {
  .pasos {
    grid-template-columns: 1fr;
  }

  .paso-numero {
    margin-bottom: 16px;
  }
}

/* el problema de cada función, como entrada corta */
.bento .antes {
  margin: -6px 0 12px;
  color: var(--color-ink);
  font-size: 15px;
  font-weight: 500;
}

/* en el teléfono la app aparece antes: menos aire arriba del titular */
@media (max-width: 640px) {
  .hero-campo {
    padding: 104px 0 48px;
  }

  .chip-ia {
    margin-bottom: 20px;
    font-size: 13px;
  }

  .hero-acciones {
    margin-top: 24px;
  }

  .hero-dispositivos {
    margin-top: 36px;
  }
}

/* botones grandes en pantallas muy estrechas: más compactos y nunca más anchos que su tarjeta */
@media (max-width: 420px) {
  .pastilla--grande {
    padding: 12px 18px;
    font-size: 16px;
  }

  .nube .pastilla {
    max-width: 100%;
    white-space: normal;
    text-align: center;
  }
}

/* ---------------------------------------------------------------- antes / con NAVIA */
.antes-bloque {
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px dashed rgba(14, 61, 69, 0.18);
}

.nube .antes-bloque p {
  margin-top: 8px;
  color: #3e4f53;
  font-size: clamp(16px, 1.5vw, 18px);
  font-weight: 500;
  line-height: 1.4;
}

.et {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.et::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.et--antes {
  color: var(--color-body-gray);
}

.et--antes::before {
  background: #b4bec1;
}

.et--con {
  margin-bottom: 10px;
  color: var(--color-teal);
}

.et--con::before {
  background: var(--color-teal);
  box-shadow: 0 0 0 3px rgba(20, 122, 125, 0.18);
}

/* ---------------------------------------------------------------- páginas legales */
.legal-campo {
  padding: 150px 24px 120px;
  border-radius: var(--radius-3xl-2);
  background: var(--gradient-hero-sky);
  text-align: center;
}

.legal-campo > * {
  animation: entrar 800ms var(--ease-out) both;
}

.legal-campo .cuerpo {
  max-width: 620px;
  margin: 20px auto 0;
}

.legal-cuerpo {
  position: relative;
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  align-items: start;
  gap: 32px;
  margin-top: -72px;
  padding-bottom: 80px;
}

.legal-indice {
  position: sticky;
  top: 100px;
  padding: 20px;
  border-radius: var(--radius-3xl);
  background: rgba(255, 255, 255, 0.85);
  box-shadow: var(--shadow-md-2);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.legal-indice span {
  display: block;
  margin-bottom: 10px;
  color: var(--color-teal);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-indice ol {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.legal-indice a {
  display: block;
  padding: 6px 10px;
  border-radius: 10px;
  color: var(--color-body-gray);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
  text-decoration: none;
  transition: background-color 150ms ease, color 150ms ease;
}

.legal-indice a:hover {
  background: var(--color-cloud-card);
  color: var(--color-ink);
}

.legal {
  padding: 56px clamp(24px, 5vw, 64px);
  border-radius: var(--radius-3xl-2);
  background: var(--color-paper-white);
  box-shadow: var(--shadow-md-2);
  color: #3e4f53;
  font-size: 17px;
  line-height: 1.7;
}

.legal h2 {
  scroll-margin-top: 100px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--color-cloud-card);
  font-size: 24px;
  letter-spacing: -0.02em;
}

.legal > p:first-child + h2,
.legal h2:first-child {
  margin-top: 32px;
}

.legal h3 {
  margin-top: 24px;
  font-size: 19px;
}

.legal p,
.legal ul {
  margin-top: 12px;
}

.legal ul {
  padding-left: 22px;
}

.legal li {
  margin-top: 8px;
}

.legal li::marker {
  color: var(--color-teal);
}

.legal strong {
  color: var(--color-ink);
  font-weight: 600;
}

.pie-legales {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
}

.pie-legales nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
}

.pie-legales nav a {
  color: var(--color-ink);
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
}

@media (max-width: 900px) {
  .legal-cuerpo {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .legal-indice {
    position: static;
  }

  .legal-indice ol {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

@media (max-width: 560px) {
  .legal-campo {
    padding: 112px 16px 100px;
  }

  .legal {
    padding: 32px 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .legal-campo > * {
    animation-name: fundido;
    animation-duration: 300ms;
  }
}

/* página puente de medición (whatsapp.html, entrar.html) */
.puente {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 24px;
  min-height: 100vh;
  padding: 24px;
  background: var(--gradient-hero-sky);
  text-align: center;
}

/* ---------------------------------------------------------------- menú móvil */
.nav-menu {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex: none;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: var(--color-cloud-card);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform 160ms var(--ease-out);
}

.nav-menu:active {
  transform: scale(0.94);
}

.nav-menu span {
  display: block;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: var(--color-charcoal);
  transition: transform 250ms var(--ease-out);
}

.nav-menu[aria-expanded='true'] span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.nav-menu[aria-expanded='true'] span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.menu-movil {
  display: grid;
  gap: 2px;
  width: min(1040px, 100% - 24px);
  margin: 8px auto 0;
  padding: 8px;
  border-radius: var(--radius-3xl);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-md-2);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  pointer-events: auto;
  transform-origin: top center;
  transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out);
}

@starting-style {
  .menu-movil {
    opacity: 0;
    transform: translateY(-8px) scale(0.98);
  }
}

.menu-movil[hidden] {
  display: none;
}

.menu-movil a {
  padding: 14px 16px;
  border-radius: 16px;
  color: var(--color-ink);
  font-size: 17px;
  font-weight: 500;
  text-decoration: none;
}

.menu-movil a:active,
.menu-movil a:hover {
  background: var(--color-cloud-card);
}

.menu-movil .menu-entrar {
  margin-top: 4px;
  border-top: 1px solid var(--color-cloud-card);
  border-radius: 0 0 16px 16px;
  color: var(--color-teal);
}

@media (max-width: 900px) {
  .nav-menu {
    display: flex;
  }
}

@media (min-width: 901px) {
  .menu-movil {
    display: none;
  }
}

@media (max-width: 420px) {
  .nav-acciones .pastilla--nube {
    display: none;
  }
}

/* ---------------------------------------------------------------- títulos en dos líneas */
.titulo-dos span {
  display: block;
}

.titulo-dos .acento {
  color: var(--color-teal);
}

/* ---------------------------------------------------------------- cinta: pausa y visor */
.cinta-controles {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 16px;
  margin-top: 32px;
}

.cinta-pausa .icono-play,
.cinta-pausa[aria-pressed='true'] .icono-pausa {
  display: none;
}

.cinta-pausa[aria-pressed='true'] .icono-play {
  display: block;
}

.cinta-pista-texto {
  color: var(--color-body-gray);
  font-size: 14px;
}

.cinta.pausada .cinta-pista {
  animation-play-state: paused;
}

.cinta-pista img {
  cursor: zoom-in;
}

.visor {
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  overflow: hidden;
}

.visor::backdrop {
  background: rgba(6, 22, 26, 0.86);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.visor-marco {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  padding: 64px 16px;
}

.visor img {
  max-width: min(1280px, 100%);
  max-height: 100%;
  width: auto;
  height: auto;
  border-radius: var(--radius-2xl);
  box-shadow: rgba(0, 0, 0, 0.4) 0 30px 80px -20px;
}

.visor[open] img {
  animation: visor-entrar 250ms var(--ease-out);
}

@keyframes visor-entrar {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
}

.visor-boton {
  position: absolute;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background-color 150ms ease, transform 160ms var(--ease-out);
}

.visor-boton:active {
  transform: scale(0.94);
}

.visor-boton svg {
  width: 22px;
  height: 22px;
}

.visor-cerrar {
  top: 16px;
  right: 16px;
}

.visor-anterior {
  left: 16px;
  top: 50%;
  translate: 0 -50%;
}

.visor-siguiente {
  right: 16px;
  top: 50%;
  translate: 0 -50%;
}

@media (hover: hover) and (pointer: fine) {
  .visor-boton:hover {
    background: rgba(255, 255, 255, 0.24);
  }
}

@media (max-width: 640px) {
  .visor-anterior,
  .visor-siguiente {
    top: auto;
    bottom: 16px;
    translate: none;
  }
}

/* ---------------------------------------------------------------- hover de tarjetas */
.nube {
  transition: background-color 200ms ease, translate 250ms var(--ease-out), box-shadow 200ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .nube:hover {
    background-color: #d9ecee;
    translate: 0 -3px;
  }

  .precio--blanco:hover {
    background-color: #f2f8f8;
    box-shadow: inset 0 0 0 1px rgba(20, 122, 125, 0.35);
  }

  .tec--destacada:hover {
    box-shadow: 0 18px 40px -18px rgba(14, 61, 69, 0.6);
  }
}

@media (max-width: 640px) {
  .titulo-dos {
    font-size: clamp(26px, 7.6vw, 36px);
  }
}

/* margen lateral del texto del hero y de los controles de la cinta en móvil */
@media (max-width: 640px) {
  .hero-campo {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero-dispositivos {
    width: 100%;
  }

  .cinta-controles {
    padding: 0 16px;
  }
}

/* recuadro deslizante también en el menú móvil (vertical) */
.nav-indicador.listo {
  transition: transform 420ms var(--ease-out), width 420ms var(--ease-out), height 420ms var(--ease-out),
    opacity 200ms ease;
}

.menu-movil {
  position: relative;
}

.menu-movil .nav-indicador {
  border-radius: 16px;
}

.menu-movil .nav-indicador::after {
  left: 40%;
  right: 40%;
}

.menu-movil a {
  position: relative;
  z-index: 1;
}

.menu-movil a:hover,
.menu-movil a:active {
  background: transparent;
}

.menu-movil a.activo {
  color: var(--color-charcoal);
}

/* ---------------------------------------------------------------- capturas que se pueden tocar */
.captura {
  position: relative;
  flex: none;
  padding: 0;
  border: none;
  border-radius: var(--radius-2xl);
  background: none;
  cursor: zoom-in;
  -webkit-tap-highlight-color: transparent;
  transition: transform 160ms var(--ease-out);
}

.captura:has(.horizontal) {
  align-self: center;
}

.captura:active {
  transform: scale(0.98);
}

.captura:focus-visible {
  outline: 2px solid var(--color-teal);
  outline-offset: 4px;
}

/* botón de vidrio con el icono de ampliar y un pulso suave que invita a tocar */
.ampliar {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-md-2);
  color: var(--color-teal);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: transform 200ms var(--ease-out), background-color 200ms ease;
}

.ampliar svg {
  width: 17px;
  height: 17px;
}

.ampliar::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(20, 122, 125, 0.55);
  animation: pulso 2.4s var(--ease-out) infinite;
}

@keyframes pulso {
  from {
    opacity: 0.9;
    transform: scale(1);
  }
  to {
    opacity: 0;
    transform: scale(1.7);
  }
}

@media (hover: hover) and (pointer: fine) {
  .captura:hover .ampliar {
    background: var(--color-teal);
    color: #ffffff;
    transform: scale(1.08);
  }
}

.pista-tocar {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding: 7px 14px;
  border-radius: 9999px;
  background: var(--color-cloud-card);
  color: var(--color-charcoal);
  font-size: 14px;
  font-weight: 500;
}

.pista-tocar svg {
  width: 17px;
  height: 17px;
  color: var(--color-teal);
}

@media (prefers-reduced-motion: reduce) {
  .ampliar::after {
    animation: none;
    opacity: 0;
  }
}

/* antetítulo del hero: dice en palabras simples qué es NAVIA (y ayuda al SEO) */
.antetitulo-hero {
  margin-bottom: 20px;
  color: var(--color-teal);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 640px) {
  .antetitulo-hero {
    margin-bottom: 14px;
    font-size: 12px;
  }
}
