:root {
  --brand: #334155;
  /* slate */
  --brand-2: #0ea5a6;
  /* secondary (optional) */
  --ink: #0f172a;
  --muted: #475569;
  --bg: #f7fafc;
  --card: #fff;
  --radius: 16px;
  --shadow: 0 12px 30px rgba(2, 6, 23, .10);
}

* {
  box-sizing: border-box
}

.logo-img {
  height: 32px; /* ajusta a tu gusto */
  width: auto;
}

html,
body {
  margin: 0
}

body {
  font-family: Inter, system-ui, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6
}

a {
  color: inherit;
  text-decoration: none
}

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 56px 20px
}

.grid2 {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px
}

.grid3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px
}

.kard {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px
}

h1 {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.15;
  margin: 0 0 12px;
  font-weight: 800
}

h2 {
  font-size: clamp(22px, 3vw, 28px);
  line-height: 1.2;
  margin: 0 0 8px;
  font-weight: 800
}

p {
  margin: 0 0 14px;
  color: var(--muted)
}

/* Header */
.hdr {
  position: sticky;
  top: 0;
  background: #ffffffcc;
  backdrop-filter: blur(10px);
  z-index: 40;
  border-bottom: 1px solid #e2e8f0
}

.hdr__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px
}

.logo {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, #111827, #4b5563)
}

.logo.small {
  width: 20px;
  height: 20px
}

.nav a {
  margin-left: 14px;
  font-weight: 700;
  color: #0f172a;
  opacity: .85
}

.nav a:hover {
  opacity: 1
}

/* Hero */
.hero{ background:linear-gradient(135deg,#111827,#334155); padding:64px 0 32px }
/* el color blanco aplica solo al texto de la columna izquierda */
.hero__text{ color:#fff }
.hero__text p{ color:#e6fffb }

.hero .tag {
  display: inline-block;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .25);
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 12px;
  margin-bottom: 12px
}

.hero .ctas {
  display: flex;
  gap: 12px;
  margin-top: 10px
}

.btn {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 700;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #0f172a;
  box-shadow: none;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .06s ease;
}

.btn.primary {
  background: #111827;
  color: #fff;
  border: 1px solid #1f2937;
}

.btn.ghost {
  background: transparent;
  color: #0f172a;
  border: 1px solid #e5e7eb;
}
.btn:hover { background:#f8fafc; }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid rgba(14,165,166,.35); outline-offset: 2px; }

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 18px
}

.stat {
  background: var(--card);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 16px;
  text-align: center;
  color: #0f172a
}

.stat strong {
  display: block;
  font-size: 22px
}

/* Device mock */
.device {
  width: min(520px, 90vw);
  aspect-ratio: 9/18;
  background: #0b1a3a;
  border-radius: 40px;
  position: relative;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .25);
  margin: 0 auto
}

.device::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 38%;
  height: 20px;
  background: #081431;
  border-radius: 0 0 16px 16px
}

.screen {
  position: absolute;
  inset: 18px;
  background: #f8fafc;
  border-radius: 30px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 14px
}

.tile {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 12px;
  margin-top: 10px;
  box-shadow: var(--shadow)
}

.tile .row {
  display: flex;
  justify-content: space-between;
  align-items: center
}

.tile.soft {
  background: #eef2ff;
  border-color: #e0e7ff
}

/* Steps & Slider */
.steps {
  padding-left: 18px
}

.screenshot-slider {
  display: grid;
  grid-auto-flow: column;
  gap: 12px;
  overflow: hidden
}

.slide {
  min-width: 240px;
  height: 160px;
  border-radius: 12px;
  background: #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #475569;
  opacity: .6;
  transform: scale(.96);
  transition: .45s
}

.slide.in {
  opacity: 1;
  transform: scale(1)
}

/* === Cómo funciona: que no se salga en responsive === */
@media (max-width: 1024px){
  .screenshot-slider{
    grid-auto-flow: dense;                 /* deja de forzar 'column' puro */
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: visible;                     /* no recortes laterales innecesarios */
    gap: 12px;
  }
  .slide{
    min-width: 0;                          /* evita anchuras mínimas que rompen el grid */
    height: 140px;                         /* un poco más compacto en tablet */
    transform: none;                       /* sin scale en responsive para no desbordar */
    opacity: 1;
  }
}

@media (max-width: 640px){
  .screenshot-slider{
    grid-template-columns: 1fr;            /* uno por fila en móvil */
    gap: 10px;
  }
  .slide{
    height: 120px;                         /* altura más amigable en móvil */
  }
}

/* Pricing */
.pricing .kard {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start
}

.pricing .price {
  font-size: 22px
}

.pricing .highlight {
  border: 2px solid #111827
}

/* FAQ */
.faq {
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 14px 16px;
  margin: 10px 0
}

.faq summary {
  cursor: pointer;
  font-weight: 700
}

/* CTA stores */
.cta {
  background: #0b1220;
  color: #fff
}

.cta .inner {
  text-align: center
}

.stores {
  display: flex;
  gap: 14px;
  justify-content: center;
  align-items: center;
  margin-top: 8px
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: #111827;
  color: #fff;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  box-shadow: var(--shadow)
}

.store-btn img {
  height: 22px
}

/* Footer */
.ftr {
  background: #fff;
  border-top: 1px solid #e2e8f0;
  margin-top: 24px
}

.ftr__inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  padding-top: 24px
}

.ftr__col a {
  display: block;
  margin: 6px 0;
  color: #334155
}

.ftr__copy {
  padding: 12px 0;
  color: #64748b;
  border-top: 1px solid #e2e8f0
}

/* Animations */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  will-change: opacity, transform
}

.reveal.in {
  opacity: 1;
  transform: none;
  transition: opacity .6s ease, transform .6s cubic-bezier(.2, .65, .2, 1)
}

.stagger>* {
  opacity: 0;
  transform: translateY(14px)
}

.stagger.in>* {
  opacity: 1;
  transform: none;
  transition: opacity .5s ease, transform .5s ease
}

.stagger.in>*:nth-child(1) {
  transition-delay: .05s
}

.stagger.in>*:nth-child(2) {
  transition-delay: .12s
}

.stagger.in>*:nth-child(3) {
  transition-delay: .18s
}

.stagger.in>*:nth-child(4) {
  transition-delay: .24s
}

@media (max-width:980px) {
  .grid2 {
    grid-template-columns: 1fr
  }

  .grid3,
  .stats {
    grid-template-columns: 1fr
  }

  .ftr__inner {
    grid-template-columns: 1fr
  }
}

@media (prefers-reduced-motion: reduce) {

  .reveal,
  .stagger>* {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important
  }
}

/* ===== Appbar mejorado ===== */
.hdr {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(160%) blur(12px);
  background: color-mix(in srgb, #ffffff 75%, transparent);
  border-bottom: 1px solid #e5e7eb;
  transition: background .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.hdr.is-scrolled {
  background: #fff;
  border-color: #e2e8f0;
  box-shadow: 0 8px 24px rgba(2, 6, 23, .08);
}

.hdr__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  color: #0f172a;
}

.brand .logo {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, #111827, #4b5563);
}

/* Links desktop con subrayado animado */
.nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav a {
  position: relative;
  display: inline-block;
  padding: 8px 2px;
  font-weight: 700;
  color: #0f172a;
  opacity: .9;
  text-decoration: none;
}

.nav a:hover {
  opacity: 1;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 2px;
  background: #111827;
  border-radius: 2px;
  scale: 0 1;
  transform-origin: left;
  transition: scale .25s ease;
}

.nav a:hover::after {
  scale: 1 1;
}

/* Hamburguesa (solo móvil) */
.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  background: #fff;
  box-shadow: 0 4px 16px rgba(2, 6, 23, .06);
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
}

.nav-toggle .bar {
  display: block;
  width: 18px;
  height: 2px;
  background: #111827;
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}

.nav-toggle[aria-expanded="true"] .bar:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .bar:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Menú móvil desplegable */
.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 8px;
  padding: 10px 20px 16px;
  border-bottom: 1px solid #e5e7eb;
  background: #fff;
}

.nav-mobile.open {
  display: flex;
}

.nav-mobile a {
  padding: 10px 6px;
  border-radius: 10px;
  font-weight: 700;
  color: #0f172a;
  text-decoration: none;
}

.nav-mobile a:hover {
  background: #f1f5f9;
}

/* Responsive: ocultar/mostrar */
@media (max-width: 980px) {
  .nav {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }
}

.hero__inner{ display:grid; grid-template-columns:1fr 1fr; gap:40px; align-items:center; }
.hero__text h1{ font-size:2.5rem; font-weight:800; }
.hero__text p{ font-size:1.1rem; margin:20px 0; }
.hero__actions{ display:flex; gap:16px; flex-wrap:wrap; }
.highlight{ color: var(--color-primary, teal); }

.grid-3{ display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:20px; margin-top:30px; }
.card{ background:#fff; border-radius:12px; padding:20px; box-shadow:0 8px 20px rgba(0,0,0,.05); text-align:center; }

.steps{ display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:20px; margin-top:30px; }
.step-number{ font-size:2rem; font-weight:800; color:var(--color-primary, teal); }

.unique{ background:#f8fafc; padding:60px 0; }
.unique ul{ margin-top:20px; list-style:disc; padding-left:20px; }

.cta-final{ background:var(--color-primary, teal); color:#fff; text-align:center; padding:60px 0; }
.cta-final .btn{ background:#fff; color:var(--color-primary, teal); }

.store-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 1.5rem;
}

.store-btn img {
  height: 60px;
  transition: transform 0.2s ease;
}

.store-btn img:hover {
  transform: scale(1.05);
}

/* ===== Mockup más compacto con screenshot real ===== */
.device{
  /* antes: width:min(520px,90vw) ... */
  width: clamp(260px, 28vw, 380px); /* más pequeño en desktop y responsivo */
  aspect-ratio: 9 / 19.5;           /* proporción más cercana a iPhone */
  background:#0b1a3a; border-radius:34px; position:relative;
  box-shadow: 0 24px 64px rgba(2,6,23,.25); margin:0 auto;
}
.device::before{
  /* notch superior */
  content:""; position:absolute; top:8px; left:50%; transform:translateX(-50%);
  width:38%; height:18px; background:#081431; border-radius:0 0 14px 14px;
}
.screen{
  position:absolute; inset:14px;      /* marcos un poco más delgados */
  background:#000; border-radius:26px; overflow:hidden; padding:0;
  display:block;
}
/* imagen ocupa toda la pantalla sin deformarse */
.screen > img{
  width:100%; height:100%; object-fit:cover; display:block;
}

/* Si el hero tenía color blanco heredado, nos aseguramos de que el contenido del mockup sea oscuro */
.hero .device .screen{ color:#0f172a }
.hero .device .screen .muted{ color:#64748b }

/* Responsive: en pantallas chicas, que no estorbe */
@media (max-width: 980px){
  .device{ width:min(72vw, 360px); }
}

/* Botones de tienda en el hero */
.store-buttons{
  display:flex; gap:12px; align-items:center; flex-wrap:wrap;
}
.store-buttons .store-btn img{
  height:56px; display:block; transition:transform .15s ease, filter .2s ease;
}
.store-buttons .store-btn:hover img{
  transform:translateY(-1px); filter:brightness(1.05);
}

/* Lista de beneficios rápidos bajo los botones */
.hero-benefits{
  list-style:none; padding:0; margin:18px 0 0 0; color:#e6fffb;
  display:grid; gap:8px;
}
.hero-benefits li{ display:flex; gap:8px; align-items:center; }
.hero-benefits strong{ color:#fff }

/* === Hero compacto, sin exceso de aire === */
.hero{
  /* mantenemos tu gradiente anterior */
  padding: 28px 0;                 /* antes: 64px/80px */
}
.hero .wrap{
  padding-top: 24px;               /* antes: 56px heredados de .wrap */
  padding-bottom: 24px;
}
.hero__inner{
  gap: 24px;                       /* antes: 40px */
  align-items: center;
}

@media (min-width: 1024px){
  .hero{ padding: 44px 0; }        /* un poco más en desktop */
  .hero .wrap{ padding-top: 32px; padding-bottom: 32px; }
  .hero__inner{ gap: 32px; }
}

/* Ajuste base del teléfono */
.device.has-shot {
  max-width: 500px; /* tamaño cómodo en desktop */
  margin: 0 auto;
}

.device.has-shot .screen img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover; /* mantiene proporción y rellena bien */
  border-radius: 12px; /* opcional, para que encaje mejor si el mockup tiene esquinas redondeadas */
}

/* Responsive */
@media (max-width: 1024px) {
  .device.has-shot {
    max-width: 250px;
  }
}

@media (max-width: 768px) {
  .device.has-shot {
    max-width: 200px;
  }
}

@media (max-width: 480px) {
  .device.has-shot {
    max-width: 160px;
  }
}

/* 1) Bug fix: faltaba unidad */
.device.has-shot {
  max-width: 500px;  /* antes: 500 */
}

/* El hero recorta cualquier desborde (derecha/abajo/arriba/izq) */
.hero{
  position: relative;
  overflow: hidden; /* ← clave */
}

:root{
  --hdr-h: 64px;
  --how-subnav-h: 32px;   /* alto aprox del subnav compacto */
} /* ajusta si tu header mide distinto */

/* Header siempre encima */
.hdr{
  position: sticky; top:0; z-index: 1000;
  backdrop-filter: saturate(160%) blur(12px);
  background: color-mix(in srgb, #ffffff 78%, transparent);
  border-bottom: 1px solid #e5e7eb;
  transition: background .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.hdr.is-scrolled{
  background:#fff; border-color:#e2e8f0; box-shadow:0 8px 24px rgba(2,6,23,.08);
}

/* Overlay: NO tapa el header */
.nav-overlay{
  position: fixed; left:0; right:0; top: var(--hdr-h); bottom:0;
  z-index: 800;
  background: rgba(2,6,23,.38);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  opacity: 0; pointer-events: none; transition: opacity .22s ease;
}
.nav-overlay.open{ opacity:1; pointer-events:auto; }

/* Menú móvil como sheet desde arriba, por debajo del header */
.nav-mobile{
  position: fixed; left:0; right:0; top:0;
  z-index: 900; /* < header(1000), > overlay(800) */
  display: flex; flex-direction: column; gap: 6px;

  padding: calc(var(--hdr-h) + 8px) 20px 16px;
  background:#fff;
  background-image: radial-gradient(60% 80% at 50% 0%, rgba(14,165,166,.06) 0%, transparent 60%);
  border-bottom: 1px solid #e5e7eb;
  border-bottom-left-radius: 18px; border-bottom-right-radius: 18px;
  box-shadow: 0 24px 60px rgba(2,6,23,.18);

  transform: translateY(-18px);
  opacity: 0; pointer-events: none;
  transition: transform .28s cubic-bezier(.22,.9,.24,1), opacity .2s ease;
}
.nav-mobile.open{ transform: translateY(0); opacity:1; pointer-events:auto; }

.nav-mobile a{
  padding: 12px 10px; border-radius: 12px; font-weight: 800; color:#0f172a; text-decoration:none;
}
.nav-mobile a:hover{ background:#f1f5f9; }

/* Botón hamburguesa visible solo en móvil */
@media (max-width: 980px){ .nav{ display:none; } .nav-toggle{ display:inline-flex; } }
@media (min-width: 981px){ .nav-mobile{ display:none !important; } .nav-overlay{ display:none !important; } }

/* Bloqueo de scroll cuando el menú está abierto */
.no-scroll, .no-scroll body{ overflow: hidden; }

.hero__inner{ display:grid; grid-template-columns:1fr 1fr; gap:40px; align-items:center; }
.hero__text h1{ font-size:2.5rem; font-weight:800; }
.hero__text p{ font-size:1.1rem; margin:20px 0; }
.hero__actions{ display:flex; gap:16px; flex-wrap:wrap; }
.highlight{ color: var(--color-primary, teal); }

.grid-3{ display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:20px; margin-top:30px; }
.card{ background:#fff; border-radius:12px; padding:20px; box-shadow:0 8px 20px rgba(0,0,0,.05); text-align:center; }

.steps{ display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:20px; margin-top:30px; }
.step-number{ font-size:2rem; font-weight:800; color:var(--color-primary, teal); }

.unique{ background:#f8fafc; padding:60px 0; }
.unique ul{ margin-top:20px; list-style:disc; padding-left:20px; }

.cta-final{ background:var(--color-primary, teal); color:#fff; text-align:center; padding:60px 0; }
.cta-final .btn{ background:#fff; color:var(--color-primary, teal); }

.store-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 1.5rem;
}

.store-btn img {
  height: 60px;
  transition: transform 0.2s ease;
}

.store-btn img:hover {
  transform: scale(1.05);
}

/* ===== Mockup más compacto con screenshot real ===== */
.device{
  /* antes: width:min(520px,90vw) ... */
  width: clamp(260px, 28vw, 380px); /* más pequeño en desktop y responsivo */
  aspect-ratio: 9 / 19.5;           /* proporción más cercana a iPhone */
  background:#0b1a3a; border-radius:34px; position:relative;
  box-shadow: 0 24px 64px rgba(2,6,23,.25); margin:0 auto;
}
.device::before{
  /* notch superior */
  content:""; position:absolute; top:8px; left:50%; transform:translateX(-50%);
  width:38%; height:18px; background:#081431; border-radius:0 0 14px 14px;
}
.screen{
  position:absolute; inset:14px;      /* marcos un poco más delgados */
  background:#000; border-radius:26px; overflow:hidden; padding:0;
  display:block;
}
/* imagen ocupa toda la pantalla sin deformarse */
.screen > img{
  width:100%; height:100%; object-fit:cover; display:block;
}

/* Si el hero tenía color blanco heredado, nos aseguramos de que el contenido del mockup sea oscuro */
.hero .device .screen{ color:#0f172a }
.hero .device .screen .muted{ color:#64748b }

/* Responsive: en pantallas chicas, que no estorbe */
@media (max-width: 980px){
  .device{ width:min(72vw, 360px); }
}

/* Botones de tienda en el hero */
.store-buttons{
  display:flex; gap:12px; align-items:center; flex-wrap:wrap;
}
.store-buttons .store-btn img{
  height:56px; display:block; transition:transform .15s ease, filter .2s ease;
}
.store-buttons .store-btn:hover img{
  transform:translateY(-1px); filter:brightness(1.05);
}

/* Lista de beneficios rápidos bajo los botones */
.hero-benefits{
  list-style:none; padding:0; margin:18px 0 0 0; color:#e6fffb;
  display:grid; gap:8px;
}
.hero-benefits li{ display:flex; gap:8px; align-items:center; }
.hero-benefits strong{ color:#fff }

/* === Hero compacto, sin exceso de aire === */
.hero{
  /* mantenemos tu gradiente anterior */
  padding: 28px 0;                 /* antes: 64px/80px */
}
.hero .wrap{
  padding-top: 24px;               /* antes: 56px heredados de .wrap */
  padding-bottom: 24px;
}
.hero__inner{
  gap: 24px;                       /* antes: 40px */
  align-items: center;
}

@media (min-width: 1024px){
  .hero{ padding: 44px 0; }        /* un poco más en desktop */
  .hero .wrap{ padding-top: 32px; padding-bottom: 32px; }
  .hero__inner{ gap: 32px; }
}

/* Ajuste base del teléfono */
.device.has-shot {
  max-width: 500px; /* tamaño cómodo en desktop */
  margin: 0 auto;
}

.device.has-shot .screen img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover; /* mantiene proporción y rellena bien */
  border-radius: 12px; /* opcional, para que encaje mejor si el mockup tiene esquinas redondeadas */
}

/* Responsive */
@media (max-width: 1024px) {
  .device.has-shot {
    max-width: 250px;
  }
}

@media (max-width: 768px) {
  .device.has-shot {
    max-width: 200px;
  }
}

@media (max-width: 480px) {
  .device.has-shot {
    max-width: 160px;
  }
}

/* 1) Bug fix: faltaba unidad */
.device.has-shot {
  max-width: 500px;  /* antes: 500 */
}

/* El hero recorta cualquier desborde (derecha/abajo/arriba/izq) */
.hero{
  position: relative;
  overflow: hidden; /* ← clave */
}
/* === Tabla comparativa responsiva (sin scroll en móvil) === */
.cmp-table{
  width:100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 0.95rem;
}
.cmp-table th,
.cmp-table td{
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid #e5e7eb;
  word-wrap: break-word;
}
.cmp-table thead th{
  font-weight:800;
  color:#0f172a;
  background:#f8fafc;
}
.cmp-table tbody tr:last-child td{ border-bottom: 0; }

/* Destaca la columna NUVU en desktop/tablet */
.cmp-table tbody td:nth-child(2){
  font-weight:800;
  color:#0f172a;
}

/* Hover suave en desktop */
@media (hover:hover){
  .cmp-table tbody tr:hover td{
    background: #f8fafc;
  }
}

/* Mobile: stack -> tarjetas, sin overflow lateral */
@media (max-width: 640px){
  .cmp-table thead{ display:none; }
  .cmp-table,
  .cmp-table tbody,
  .cmp-table tr,
  .cmp-table td{
    display:block;
    width:100%;
  }
  .cmp-table tbody tr{
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 6px 0;
    margin: 10px 0;
  }
  .cmp-table td{
    border:0;
    padding: 10px 14px;
    display:grid;
    grid-template-columns: 1fr auto; /* label a la izquierda, valor a la derecha */
    align-items:center;
    gap:10px;
  }
  .cmp-table td::before{
    content: attr(data-label);
    font-weight:700;
    color:#475569;
  }
  /* Asegura separación visual entre filas internas de la 'card' */
  .cmp-table td + td{
    border-top: 1px dashed #e5e7eb;
  }
  /* Sigue destacando la columna de NUVU en mobile */
  .cmp-table td[data-label="NUVU"]{
    font-weight:800;
    color:#0f172a;
  }
}

/* Testimonios con ícono de origen (App Store / Play) */
.testimonial-meta{
  display:flex;
  align-items:center;
  gap:8px;
  margin-top:8px;
}

.testimonial-meta small{
  color:#64748b; /* un poco más tenue */
}

.store-icon{
  height:16px;        /* chico y discreto */
  width:auto;
  object-fit:contain;
  opacity:.9;
  transform: translateY(1px);
}

@media (max-width:640px){
  .store-icon{ height:14px; }
}

/* ================================
   SOBRE NOSOTROS
   ================================ */
.about {
  padding: 4rem 1rem;
  background-color: #f8fafc; /* gris claro */
  color: #1a1a1a;
}

.about .wrap {
  max-width: 1200px;
  margin: 0 auto;
}

.about .tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  font-size: 0.85rem;
  background-color: #e0f2f1;
  color: #00796b;
  border-radius: 4px;
  margin-bottom: 1rem;
}

.about h1 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.about h1 .brand {
  color: #00a087;
}

.about p {
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

/* Bloques y tarjetas */
.about .nuvu-block {
  margin-top: 3rem;
}

.about .kard {
  background-color: #fff;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.about .checks {
  list-style: none;
  padding: 0;
}

.about .checks li {
  padding-left: 1.5rem;
  position: relative;
  margin-bottom: 0.5rem;
}

.about .checks li::before {
  content: "✔";
  color: #00a087;
  position: absolute;
  left: 0;
}

/* Grid genérico */
.about .grid2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.about .grid3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

/* Timeline */
.about .timeline {
  margin-top: 1.5rem;
  border-left: 3px solid #00a087;
  padding-left: 1rem;
}

.about .timeline .event {
  margin-bottom: 1rem;
}

.about .timeline .when {
  font-weight: bold;
  color: #00a087;
}

/* Equipo */
.about .team {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.about .team .avatar {
  width: 120px;
  height: 120px;
  background-color: #ccc;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  margin: 0 auto 0.75rem;
}

.about .team strong {
  display: block;
  font-size: 1.1rem;
  font-weight: 600;
}

.about .team .role {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
  .about {
    padding: 2rem 1rem;
  }

  .about h1 {
    font-size: 1.6rem;
  }
}

/* ===== Páginas legales ===== */
.legal {
  font-size: 1rem;
}
.legal h1 { margin-bottom: 10px; }
.legal h2 { margin-top: 24px; font-size: 1.15rem; }
.legal p, .legal li { color: var(--muted); }
.legal ul { padding-left: 18px; }
.legal a { text-decoration: underline; }

/* =========================
   HOW (Como funciona)
   ========================= */
.how .cap{
  display:inline-block; font-weight:700; font-size:12px;
  padding:6px 10px; border-radius:999px;
  background:#eaf7f7; color:#0b766e; border:1px solid #d5eeee;
  margin-bottom:10px;
}

.cap{
    display:inline-block; font-weight:700; font-size:12px;
  padding:6px 10px; border-radius:999px;
  background:#eaf7f7; color:#0b766e; border:1px solid #d5eeee;
  margin-bottom:10px;
}
.how .lead{ color:#475569; max-width:720px }

.how__hero{ padding-top:28px; }
/* Subnav sticky: wrapper pegajoso para que funcione en toda la página */
/* Subnav sticky: wrapper pegajoso en toda la página (compacto) */
.how__subnav-wrap{
  position: sticky;
  top: var(--hdr-h, 64px);
  z-index: 60;
  background: rgba(255,255,255,.85);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #e5e7eb;
}

/* Compactar padding vertical del wrap que contiene el subnav */
.how__subnav-wrap .wrap{
  padding-top:20px;
  padding-bottom:20px;
}

/* El nav en sí: compacto, sin fondo propio */
.how__subnav{
  display:flex;
  gap:6px;            /* antes 8px */
  flex-wrap:wrap;
  margin:0;
  padding:2px 0;      /* antes 6px 0 */
  border:0;
  background:transparent;
}

.how__subnav a{
  font-weight:700;
  padding:4px 8px;    /* antes 6px 10px */
  line-height:1;
  font-size:0.95rem;  /* nuevo: un pelín más chico */
  border-radius:10px;
  color:#0f172a;
  opacity:.85;
  border:1px solid transparent;
  transition: background .2s ease, border-color .2s ease, opacity .2s ease;
}
.how__subnav a:hover{ opacity:1; background:#f1f5f9 }
.how__subnav a.is-active{
  border-color:#c7f5f0; background:#e7fbf8; color:#0b766e;
}

@media (max-width:640px){
  .how__subnav{ padding: 4px 0; gap:6px; }
  .how__subnav a{ padding: 5px 9px; }
}

/* Pasos resumen */
.how__steps{
  list-style:none; padding:0; margin:18px 0 0;
  display:grid; grid-template-columns: repeat(4,1fr); gap:16px;
}
.how__steps .kard{ position:relative; padding-top:22px; }
.how .badge{
  position:absolute; top:-14px; left:16px; width:34px; height:34px;
  border-radius:10px; display:grid; place-items:center;
  background:#0ea5a6; color:#fff; font-weight:800;
  box-shadow:0 10px 24px rgba(14,165,166,.25);
}

/* Bloques alternados */
.how__block{ padding: 18px 0; }
.how__block.alt{ background:#f8fafc; border-block:1px solid #eef2f7; }
.how__block .grid2{ align-items:center; gap:28px; }
.how__block .muted{ color:#475569 }
.how__block .ticks{ list-style:none; padding:0; margin:12px 0 0; display:grid; gap:6px; }
.how__block .ticks li{ padding-left:24px; position:relative; }
.how__block .ticks li:before{
  content:""; position:absolute; left:0; top:8px; width:10px; height:10px;
  border-radius:50%; background:#0ea5a6; box-shadow:0 0 0 4px #e6faf9;
}

/* Ilustración placeholder (puedes poner imagen adentro) */
.how .illo{
  height: 260px; border-radius:16px;
  background: conic-gradient(from 180deg at 50% 50%, #e6faf9, #f8fafc, #e6faf9);
  border:1px solid #d7ecea;
  box-shadow: var(--shadow);
}
.how .order1{ order:1 }
.how .order2{ order:2 }

/* CTA final */
.how__cta{
  display:flex; align-items:center; justify-content:space-between;
  gap:18px;
}

/* Responsive */
@media (max-width:980px){
  .how__steps{ grid-template-columns: 1fr 1fr; }
}


/* =========================
   ========================= */

/* 2) Que las anclas no queden ocultas bajo el subnav sticky */
.how__block{
  scroll-margin-top: calc(var(--hdr-h) + var(--how-subnav-h) + 8px); /* antes +16px */
}
@media (max-width:640px){
  .how__block{
    scroll-margin-top: calc(var(--hdr-h) + 32px); /* antes 40px */
  }
}

/* 3) Estado de foco/teclado y toque en subnav (accesibilidad) */
.how__subnav a:focus-visible{
  outline: 2px solid #0ea5a6;
  outline-offset: 2px;
}
.how__subnav a:active{
  transform: translateY(1px);
}

/* 4) Fallback para border-block (compat) */
.how__block.alt{
  border-top: 1px solid #eef2f7;
  border-bottom: 1px solid #eef2f7;
  /* ya tienes background:#f8fafc */
}

/* 5) Scroll suave (opcional) + respeto a reduce-motion */
html{ scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
}

.pricing-grid {
  display: grid;
  gap: 32px;
}

.pricing-card {
  padding: 24px;
  margin-bottom: 16px;
}


/* =========================
   Pricing Page (minimalista)
   ========================= */

.pricing-page .wrap { padding-top: 36px; }

/* Hero */
.pricing-hero { text-align: center; max-width: 860px; margin: 0 auto 18px; }
.pricing-hero .tag{
  display:inline-block; font-weight:700; font-size:.75rem;
  padding:6px 10px; border-radius:999px;
  background:#eaf7f7; color:#0b766e; border:1px solid #d5eeee;
  margin-bottom:10px;
}
.pricing-hero h1{ margin-bottom: 8px; }
.pricing-hero .muted{ color:#475569; }

/* Toggle de facturación */
.billing-toggle{
  display:inline-flex; gap:8px; padding:6px;
  background:#fff; border:1px solid #e5e7eb; border-radius:12px;
  box-shadow: var(--shadow); margin: 8px 0;
}
.billing-toggle .bill{
  border:1px solid transparent; background:#fff; color:#0f172a;
  font-weight:800; padding:8px 12px; border-radius:10px; cursor:pointer;
  transition: background .2s ease, border-color .2s ease, color .2s ease, transform .06s ease;
}
.billing-toggle .bill:hover{ background:#f8fafc; }
.billing-toggle .bill:active{ transform: translateY(1px); }
.billing-toggle .bill.is-active{
  background:#e7fbf8; color:#0b766e; border-color:#c7f5f0;
}

/* Tarjetas de planes */
.pricing-cards .plan{
  border:1px solid #e5e7eb; border-radius:16px; padding:20px;
  display:flex; flex-direction:column; gap:12px;
}
.pricing-cards .plan.highlight{
  border-color:#0ea5a6; box-shadow:0 10px 28px rgba(14,165,166,.16);
}

.plan-hd{
  display:flex; align-items:center; justify-content:space-between; gap:10px;
}
.plan-hd h3{ margin:0; font-size:1.1rem; }

.badge{
  font-size:.75rem; font-weight:800; padding:4px 8px; border-radius:999px;
  background:#f1f5f9; color:#0f172a; border:1px solid #e5e7eb;
}
.badge.best{ background:#e7fbf8; color:#0b766e; border-color:#c7f5f0; }
.badge.free{ background:#eef2ff; color:#3730a3; border-color:#e0e7ff; }

.price-wrap{ display:grid; gap:6px; }
.price-per{ display:flex; align-items:baseline; gap:6px; }
.price{ font-size:1.9rem; line-height:1; font-weight:800; color:#0f172a; }
.price-per span{ color:#475569; }
.save-badge{
  display:inline-block; font-size:.8rem; font-weight:800;
  background:#e7fbf8; color:#0b766e; border:1px solid #c7f5f0;
  border-radius:999px; padding:4px 8px;
}
.billed{ color:#64748b; }

/* Lista de features */
.plan .list{ list-style:none; padding:0; margin:6px 0 0; display:grid; gap:8px; }
.plan .list li{
  position:relative; padding-left:22px; color:#0f172a;
}
.plan .list li::before{
  content:""; position:absolute; left:0; top:8px; width:10px; height:10px;
  border-radius:50%; background:#0ea5a6; box-shadow:0 0 0 4px #e6faf9;
}

/* Pricing CTA buttons: básico (usar .btn global) */
.pricing-page .plan .cta { margin-top: 12px; }
.pricing-page .plan .cta .btn { width: 100%; }
@media (max-width:980px){
  .pricing-hero{ margin-bottom: 14px; }
  .price{ font-size:1.7rem; }
}

/* =========================
   ========================= */

   /* === Fix botones de Pricing: básicos y consistentes === */
.pricing-page .plan .cta { 
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible;               /* que nada se recorte */
}

/* Botón base uniforme */
.pricing-page .plan .cta .btn {
  background: #e7fbf8 !important;  /* menta claro */
  color: #0b766e !important;       /* teal oscuro */
  border: 1px solid #c7f5f0 !important;
  border-radius: 999px !important; /* pill */
  padding: 14px 18px !important;
  width: 100% !important;
  text-align: center !important;
  font-weight: 800 !important;
  box-shadow: none !important;
  outline: none !important;
  filter: none !important;
}

/* Sin pseudo-elementos “decorativos” que manchen el fondo */
.pricing-page .plan .cta .btn::before,
.pricing-page .plan .cta .btn::after {
  content: none !important;
}

/* Hover/active mínimos y accesibles */
.pricing-page .plan .cta .btn:hover {
  background: #dff8f4 !important;
  border-color: #bdf0ea !important;
}
.pricing-page .plan .cta .btn:active {
  transform: translateY(1px);
}
.pricing-page .plan .cta .btn:focus-visible {
  outline: 2px solid rgba(14,165,166,.35);
  outline-offset: 2px;
}

/* =========================
   CONTACTO
   ========================= */

/* Formularios */
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 10px 12px;
  box-shadow: 0 0 0 0 rgba(14,165,166,0);
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
  /* appearance: none; */
}

.contact-form textarea { resize: vertical; min-height: 140px; }

.contact-form input::placeholder,
.contact-form textarea::placeholder { color: #94a3b8; }

.contact-form input:focus-visible,
.contact-form select:focus-visible,
.contact-form textarea:focus-visible {
  outline: none;
  border-color: #bdf0ea;
  box-shadow: 0 0 0 3px rgba(14,165,166,.18);
  background: #ffffff;
}

/* Checkbox alineado con texto */
.contact-form input[type="checkbox"] {
  width: 18px; height: 18px; border-radius: 6px;
  vertical-align: middle;
}

/* Botón enviar consistente con tu sistema de botones */
.contact-form button[type="submit"] {
  border-radius: 12px;
  font-weight: 800;
  padding: 12px 16px;
  border: 1px solid #0b766e;
  background: #0b766e;
  color: #fff;
  width: 100%;
  transition: filter .15s ease, transform .06s ease;
}
.contact-form button[type="submit"]:hover { filter: brightness(1.02); }
.contact-form button[type="submit"]:active { transform: translateY(1px); }
.contact-form button[type="submit"]:focus-visible {
  outline: 2px solid rgba(14,165,166,.35);
  outline-offset: 2px;
}

/* Mensaje de estado (si luego muestras ?enviado=1) */
.notice {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 10px 12px;
  background: #fff;
}
.notice.success {
  border-color: #c7f5f0;
  background: #e7fbf8;
  color: #0b766e;
}

/* Lista de “ticks” genérica (para Contacto y otros) */
.ticks { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 8px; }
.ticks li { position: relative; padding-left: 22px; color: #0f172a; }
.ticks li::before {
  content: "";
  position: absolute; left: 0; top: 8px;
  width: 10px; height: 10px; border-radius: 50%;
  background: #0ea5a6; box-shadow: 0 0 0 4px #e6faf9;
}

/* FAQ de Contacto (usa tu estilo .faq base, aquí solo afinamos) */
.faq h3 { margin: 0 0 6px; font-size: 1rem; }
.faq p  { margin: 0; }

/* Responsive: el bloque lateral que está en .grid2 ya se apila con tus reglas globales.
   Solo afinamos separación en pantallas pequeñas. */
@media (max-width: 980px) {
  .contact-form { margin-bottom: 10px; }
}

/* Chip solo para la vista Contacto */
.tag-contacto{
  display:inline-block;
  font-weight:700;
  font-size:.75rem;
  padding:6px 10px;
  border-radius:999px;
  background:#eaf7f7;
  color:#0b766e;
  border:1px solid #d5eeee;
  background:#e7fbf8; color:#0b766e; border-color:#c7f5f0;
}
.notice {
    display: none;
    padding: 10px 12px;
    border-radius: 10px;
    font-weight: 700
}

.notice[hidden] {
    display: none
}

.notice.success {
    display: block;
    background: #e7fbf8;
    color: #0b766e;
    border: 1px solid #c7f5f0
}

.notice.error {
    display: block;
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca
}