/* ---------- Tokens (colors.css define la paleta de marca) ---------- */
:root {
  --bg: #ffffff;
  --bg-alt: #faf8fd;
  --text: #1a1523;
  --text-muted: #66607a;
  --border: #ece8f4;
  --gradient: linear-gradient(135deg, var(--color2), var(--color1));
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 12px 30px -14px rgba(54, 52, 115, .25);
  --shadow-sm: 0 4px 14px -6px rgba(54, 52, 115, .18);
  --ease: cubic-bezier(.22, .8, .3, 1);
  --container: 1120px;
  --font-heading: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ---------- Reset mínimo ---------- */
* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  user-select: none;
  -ms-user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
}
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, figure, blockquote { margin: 0; }
svg { width: 100%; height: 100%; }
a, button, label, .btn { touch-action: manipulation; }

/* Anclas del menú: que el header sticky no tape el título de la sección */
section[id] { scroll-margin-top: 88px; }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--color4); color: #fff; padding: .75rem 1.25rem;
  z-index: 100; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

.wrap {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

h1, h2, h3 { font-family: var(--font-heading); }
h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); line-height: 1.12; letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -.01em; }
h3 { font-size: 1.15rem; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--color2);
  margin-bottom: .75rem;
}

.section-sub, .hero-sub { color: var(--text-muted); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .85rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  border: 1.5px solid transparent;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background-color .18s var(--ease), color .18s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--gradient); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { box-shadow: var(--shadow); }
.btn-ghost { color: var(--text); }
.btn-ghost:hover { color: var(--color2); }
.btn-outline { border-color: var(--border); color: var(--text); }
.btn-outline:hover { border-color: var(--color2); color: var(--color2); }
.btn-light { background: #fff; color: var(--color4); }
.btn-light:hover { box-shadow: 0 10px 24px -10px rgba(0,0,0,.35); }
.btn-sm { padding: .55rem 1.25rem; font-size: .85rem; }

/* ---------- Header ---------- */
.site-header {
  position: -webkit-sticky;
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .85);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand img { width: 140px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 2rem; }
.site-nav a:not(.btn) { font-size: .95rem; font-weight: 500; color: var(--text-muted); transition: color .15s var(--ease); }
.site-nav a:not(.btn):hover { color: var(--color2); }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.nav-search {
  display: flex;
  align-items: center;
  gap: .4rem;
  padding: .45rem .8rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg-alt);
  transition: border-color .18s var(--ease);
}
.nav-search:focus-within { border-color: var(--color2); }
.nav-search input {
  border: none;
  background: none;
  outline: none;
  font: inherit;
  font-size: .85rem;
  color: var(--text);
  width: 140px;
}
.nav-search input::placeholder { color: var(--text-muted); }
.nav-search input::-webkit-search-cancel-button { -webkit-appearance: none; }
.nav-search button {
  display: grid;
  place-items: center;
  flex: none;
  width: 18px; height: 18px;
  padding: 0;
  border: none;
  background: none;
  color: var(--text-muted);
  cursor: pointer;
  transition: color .18s var(--ease);
}
.nav-search button:hover { color: var(--color2); }

.nav-toggle, .nav-burger { display: none; }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 96px; overflow: clip; }
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
.hero-sub { font-size: 1.1rem; margin-top: 1.1rem; max-width: 46ch; }
.hero-steps { list-style: none; margin: 1.1rem 0 0; padding: 0; max-width: 40ch; display: flex; flex-direction: column; gap: .45rem; }
.hero-steps li { display: flex; align-items: baseline; gap: .55rem; color: var(--text-muted); font-size: 1.1rem; }
.hero-steps-check { flex: 0 0 auto; font-size: .8rem; font-weight: 700; color: var(--color2); }
.hero-steps-opt { display: flex; align-items: baseline; gap: .55rem; margin: .65rem 0 0; padding-top: .55rem; max-width: 40ch; border-top: 1px dashed var(--border); color: var(--text-muted); font-size: .85rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1rem; }
.hero-trust { margin-top: 1.1rem; font-size: .85rem; color: var(--text-muted); }

.hero-visual { position: relative; display: grid; place-items: center; min-height: 280px; }
.hero-mark { width: 260px; height: 260px; position: relative; animation: float 6s ease-in-out infinite; }
.hero-blob {
  position: absolute; inset: 0; margin: auto;
  width: 280px; height: 280px; border-radius: 50%;
  background: var(--gradient);
  filter: blur(48px);
  opacity: .25;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* ---------- Stats ---------- */
.stats { padding: 32px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; text-align: center; }
.stat-num { display: block; font-family: var(--font-heading); font-size: 2rem; font-weight: 700; color: var(--color2); }
.stat-label { display: block; margin-top: .3rem; font-size: .9rem; color: var(--text-muted); }

/* ---------- Ideal para ---------- */
.usecases { padding: 56px 0 0; text-align: center; }
.usecases-label { font-weight: 600; color: var(--text-muted); margin-bottom: 1.2rem; }
.pill-list { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; }
.pill {
  font-size: .85rem; font-weight: 500;
  padding: .5rem 1rem; border-radius: 999px;
  border: 1px solid var(--border); background: var(--bg-alt); color: var(--text);
}

/* ---------- Secciones genéricas ---------- */
.section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 640px; margin: 0 auto 3rem; text-align: center; }
.section-head h2 { margin-top: .25rem; }
.section-sub { margin-top: .9rem; font-size: 1.05rem; }

.grid { display: grid; gap: 1.5rem; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

/* ---------- Cards de beneficios ---------- */
.card {
  padding: 1.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card .icon {
  display: grid; place-items: center;
  width: 44px; height: 44px; padding: 10px;
  border-radius: var(--radius-sm);
  background: var(--gradient);
  color: #fff; margin-bottom: 1.1rem;
}
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--text-muted); font-size: .95rem; }

/* ---------- Cómo funciona ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; counter-reset: step; }
.step { position: relative; padding-top: .5rem; }
.step-num {
  display: block; font-family: var(--font-heading); font-size: 2.4rem; font-weight: 700;
  color: var(--color2);
  margin-bottom: .5rem;
}

/* Texto con relleno degradado: color sólido de base, degradado solo si el
   navegador lo soporta (algunos webviews in-app fallan al pintar el clip
   y dejan el texto invisible si color queda en transparent sin fallback) */
@supports (background-clip: text) or (-webkit-background-clip: text) {
  .stat-num, .step-num {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
  }
}
.step h3 { margin-bottom: .5rem; }
.step p { color: var(--text-muted); font-size: .95rem; }

/* ---------- Casos reales (carrusel de capturas) ---------- */
.showcase { position: relative; }
.showcase-track {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  padding: 4px 24px 8px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.showcase-track::-webkit-scrollbar { display: none; }
.showcase-track:focus-visible { outline: 2px solid var(--color2); outline-offset: 4px; }

.phone-card {
  flex: 0 0 auto;
  width: clamp(148px, 34vw, 208px);
  text-align: center;
}
.phone-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 386 / 792;
  transition: transform .25s var(--ease);
}
.phone-card:hover .phone-frame,
.phone-card:focus-within .phone-frame { transform: translateY(-6px); }

.phone-shot {
  position: absolute;
  left: 3.63%; top: 4.29%;
  width: 92.75%; height: 91.54%;
  object-fit: cover;
  object-position: top center;
  border-radius: 8% / 4%;
  background: var(--bg-alt);
}
.phone-glass {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}
/* ---------- Precios: switch de forma de pago ---------- */
.billing-switch {
  display: inline-flex;
  gap: .25rem;
  padding: .3rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg);
  margin: 0;
}
.billing-radio {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.billing-option {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .55rem 1.1rem;
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease);
}
.billing-off { font-size: .75rem; opacity: .8; }
.billing-radio:checked + .billing-option {
  background: var(--gradient);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.billing-radio:checked + .billing-option .billing-off { opacity: 1; }
.billing-radio:focus-visible + .billing-option { outline: 2px solid var(--color2); outline-offset: 2px; }

/* Mini switch: mismo componente, escalado para vivir dentro de una price-card */
.billing-switch-mini {
  display: flex;
  width: 100%;
  margin: 0 0 1rem;
}
.billing-switch-mini .billing-option {
  flex: 1;
  justify-content: center;
  padding: .4rem .3rem;
  font-size: .72rem;
  gap: .2rem;
}
.billing-switch-mini .billing-off { font-size: .65rem; }

/* ---------- Precios ---------- */
.price-card {
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  display: flex; flex-direction: column;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.price-featured { border-color: var(--color2); box-shadow: var(--shadow); position: relative; }
.price-badge {
  align-self: flex-start;
  font-size: .7rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase;
  background: var(--gradient); color: #fff;
  padding: .3rem .7rem; border-radius: 999px; margin-bottom: 1rem;
  border: 1.5px solid transparent;
}
.price-badge-outline {
  background: none;
  border-color: var(--color2);
  color: var(--color2);
}
.price { font-family: var(--font-heading); font-size: 2rem; font-weight: 700; margin: .3rem 0; }
.price-period { font-size: 1rem; font-weight: 500; color: var(--text-muted); margin-left: .15rem; }
.price-billing-note { font-size: .8rem; font-weight: 600; color: var(--color2); margin: -.4rem 0 .8rem; }
.price-note { color: var(--text-muted); font-size: .88rem; margin-bottom: 1.4rem; }
.price-includes { color: var(--text-muted); font-size: .78rem; font-style: italic; margin: -.5rem 0 1rem; }
.price-features { margin-bottom: .5rem; }
.price-features li { padding: .4rem 0; font-size: .92rem; border-top: 1px solid var(--border); }
.price-features li:first-child { border-top: none; }

/* Funciones extra plegables */
.price-features-extra {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  margin-bottom: 0;
  transition: max-height .4s var(--ease), opacity .3s var(--ease), margin-bottom .4s var(--ease);
}
.price-features-extra.is-open {
  max-height: 320px;
  opacity: 1;
  margin-bottom: .5rem;
}
.price-features-extra li:first-child { border-top: 1px solid var(--border); }

.price-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  width: 100%;
  margin-top: .25rem;
  margin-bottom: 1.4rem;
  padding: .4rem;
  background: none;
  border: none;
  font: inherit;
  font-size: .85rem;
  font-weight: 600;
  color: var(--color2);
  cursor: pointer;
  transition: color .18s var(--ease);
}
.price-toggle:hover { color: var(--color4); }
.price-toggle-icon { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.price-toggle[aria-expanded="true"] .price-toggle-icon { transform: rotate(180deg); }

/* ---------- Legal (Términos y condiciones) ---------- */
.legal .section-head { max-width: 760px; }
.legal-updated { color: var(--text-muted); font-size: .85rem; margin-top: .5rem; }
.legal-disclaimer {
  max-width: 760px;
  margin: 0 auto 2.5rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-alt);
  color: var(--text-muted);
  font-size: .82rem;
  line-height: 1.6;
}
.legal-content {
  max-width: 760px;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: .85rem;
  line-height: 1.75;
}
.legal-content h2 {
  font-size: 1rem;
  color: var(--text);
  margin-top: 2.2rem;
  margin-bottom: .6rem;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 { font-size: .88rem; color: var(--text); margin: 1.4rem 0 .5rem; }
.legal-content p { margin-bottom: 1rem; }
.legal-content a { color: var(--color2); text-decoration: underline; text-underline-offset: 2px; }
.legal-content a:hover { color: var(--color4); }

/* ---------- CTA final ---------- */
.cta-final { background: var(--color4); color: #fff; padding: 88px 0; }
.cta-final-inner { text-align: center; max-width: 560px; margin-inline: auto; }
.cta-final h2 { color: #fff; }
.cta-final p { margin-top: .8rem; color: rgba(255, 255, 255, .75); }
.cta-final .btn { margin-top: 2rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--color4); color: rgba(255, 255, 255, .85); padding-top: 56px; }
.footer-inner { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 2rem; padding-bottom: 40px; }
.footer-brand img { width: 130px; margin-bottom: .8rem; }
.footer-brand p { font-size: .88rem; color: rgba(255, 255, 255, .6); }
.footer-col h4 { font-size: .82rem; text-transform: uppercase; letter-spacing: .04em; color: rgba(255, 255, 255, .5); margin-bottom: 1rem; }
.footer-col a { display: block; font-size: .92rem; padding: .3rem 0; color: rgba(255, 255, 255, .8); transition: color .15s var(--ease); }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding: 20px 0; font-size: .82rem; color: rgba(255, 255, 255, .5); text-align:center; }

/* ---------- Animaciones de aparición ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

.grid > .reveal:nth-child(2), .steps > .reveal:nth-child(2) { transition-delay: 90ms; }
.grid > .reveal:nth-child(3), .steps > .reveal:nth-child(3) { transition-delay: 180ms; }
.grid > .reveal:nth-child(4) { transition-delay: 270ms; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-mark { animation: none; }
  .reveal, .btn, .card, .price-card, .price-features-extra, .price-toggle-icon, .billing-option { transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .hero { padding-bottom: 40px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; min-height: 200px; }
  .hero-mark { width: 180px; height: 180px; }
  #testimonios { padding-top: 24px; }
  .phone-card { width: clamp(176px, 46vw, 208px); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .nav-burger {
    display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
    width: 44px; height: 44px; cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
  .nav-burger span { width: 100%; height: 2px; background: var(--text); transition: transform .2s var(--ease), opacity .2s var(--ease); }
  .site-nav {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--border);
    max-height: 0; overflow: hidden; transition: max-height .25s var(--ease);
  }
  .site-nav a { padding: 1rem 24px; border-top: 1px solid var(--border); }
  .site-nav .btn { margin: 1rem 24px; }
  .nav-search { margin: 1rem 24px; }
  .nav-search input { width: auto; flex: 1; }
  .nav-toggle:checked ~ .site-nav { max-height: 400px; }
  .nav-toggle:checked ~ .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle:checked ~ .nav-burger span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked ~ .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .grid-4, .grid-3 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-inner { grid-template-columns: 1fr; }
  h1 { font-size: 2rem; }
}







.row {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.col {
  display: flex;
  flex-direction: column;
}

.colc {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.gap10 {
  gap:10px;
}
.gap20 {
  gap:20px;
}
.gap40 {
  gap:40px;
}

.vc {
    position: relative;
    width:260px;
    aspect-ratio: 386 / 792;
}

@media (orientation:landscape) {
    .vc {
        width:320px;
    }
}

.vc .capture {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 95%;
    height: 92%; 
    transform: translate(-50%, -50%);
    object-fit: fill;
}

.vc img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.video_progress {
    margin-top:14px;
    height:8px;
    width:75%;
    padding: 0 1px;
    background:#222;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.video_progress > div {
    height:6px;
    background: #eee;
    transition: 400ms;
}



.video_progress {
    width:260px;
}

@media (orientation:landscape) {
    .video_progress {
        width:320px;
    }
}
