/* ===========================================================
   NEXTIA — tokens
=========================================================== */
:root{
  --ink:        #1B2C4B;
  --ink-2:      #12213A;
  --ink-3:      #0C1830;
  --sky:        #2EB7F5;
  --cobalt:     #1E88E5;
  --paper:      #FFFFFF;
  --mist:       #F3F7FC;
  --mist-2:     #E9F1FA;
  --slate:      #5C6C88;
  --slate-soft: #8C9AB4;
  --line:       rgba(27,44,75,0.10);
  --line-dark:  rgba(255,255,255,0.14);
  --warn:       #E0972E;

  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-ui:      "Jost", "Century Gothic", sans-serif;
  --font-body:    "Inter", "Jost", sans-serif;

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --shadow-soft: 0 20px 60px -20px rgba(12,24,48,0.25);
  --shadow-hard: 0 30px 80px -24px rgba(12,24,48,0.45);
  --ease: cubic-bezier(.22,.9,.3,1);
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0; font-family: var(--font-body); color: var(--ink); background: var(--paper);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
ul{ list-style: none; margin: 0; padding: 0; }
button{ font-family: inherit; cursor: pointer; background: none; border: none; }
h1,h2,h3{ font-family: var(--font-display); margin: 0; color: var(--ink); line-height: 1.1; letter-spacing: -0.01em; font-weight: 500; }
p{ margin: 0; }

.container{ max-width: 1160px; margin: 0 auto; padding: 0 32px; }
.container--narrow{ max-width: 720px; }
.center{ text-align: center; margin: 0 auto 56px; max-width: 560px; }
.center-text{ text-align: center; max-width: 460px; margin: 14px auto 0; color: rgba(255,255,255,0.68); font-size: 16px; }

@media (max-width: 640px){ .container{ padding: 0 20px; } }

[data-reveal]{ opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
[data-reveal].is-visible{ opacity: 1; transform: translateY(0); }
[data-reveal-delay="1"]{ transition-delay: .1s; }
[data-reveal-delay="2"]{ transition-delay: .2s; }
[data-reveal-delay="3"]{ transition-delay: .3s; }

@media (prefers-reduced-motion: reduce){
  *{ animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

.cursor-glow{
  position: fixed; top: 0; left: 0; width: 460px; height: 460px; border-radius: 50%;
  pointer-events: none; z-index: 1;
  background: radial-gradient(circle, rgba(46,183,245,0.22), transparent 70%);
  transform: translate(-50%,-50%); opacity: 0; transition: opacity .4s ease; will-change: transform;
}
@media (max-width: 900px){ .cursor-glow{ display:none; } }

/* ===========================================================
   Buttons
=========================================================== */
.btn{
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-ui); font-weight: 600; font-size: 15px;
  padding: 13px 26px; border-radius: 999px; border: 1.5px solid transparent;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease);
  white-space: nowrap;
}
.btn:hover{ transform: translateY(-2px); }
.btn.primary{ background: var(--ink); color: var(--paper); }
.btn.primary:hover{ background: var(--ink-2); }
.btn.secondary{ background: transparent; color: var(--ink); border-color: var(--line); }
.btn.secondary:hover{ border-color: var(--ink); }
.btn.whatsapp-btn{
  background: linear-gradient(135deg, var(--sky), var(--cobalt)); color: var(--paper);
  box-shadow: 0 14px 30px -10px rgba(30,136,229,0.55);
}
.btn.whatsapp-btn:hover{ box-shadow: 0 18px 40px -10px rgba(30,136,229,0.7); }

.icon-badge{ display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; flex-shrink: 0; }
.icon-badge--mini{ width: 26px; height: 26px; }
.icon-badge--lg{ width: 52px; height: 52px; border-radius: 16px; margin-bottom: 18px; }
.icon-blue{ background: linear-gradient(135deg, rgba(46,183,245,0.16), rgba(30,136,229,0.16)); color: var(--cobalt); }
.icon-cobalt{ background: rgba(30,136,229,0.12); color: var(--cobalt); }
.icon-ink{ background: rgba(27,44,75,0.08); color: var(--ink); }

.check-badge{
  display: inline-flex; align-items: center; justify-content: center;
  width: 18px; height: 18px; border-radius: 50%; background: var(--success, #1E9E6B); flex-shrink: 0;
}
.check-badge--blue{ background: var(--cobalt); }

/* ===========================================================
   Header
=========================================================== */
.site-header{
  position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 18px 0;
  transition: background .35s var(--ease), padding .35s var(--ease), border-color .35s var(--ease), backdrop-filter .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled{
  background: rgba(255,255,255,0.82); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
  padding: 12px 0; border-color: var(--line); box-shadow: 0 8px 30px -12px rgba(27,44,75,0.15);
}
.nav{ display: flex; align-items: center; gap: 28px; }
.logo{ display: flex; align-items: center; gap: 11px; font-family: var(--font-ui); font-weight: 700; font-size: 22px; letter-spacing: .02em; color: var(--ink); transition: color .35s var(--ease); }
.logo-icon{ height: 42px; width: auto; display: block; }
.nav-links{ display: flex; gap: 30px; margin-right: auto; }
.nav-links a{ font-family: var(--font-ui); font-size: 14.5px; font-weight: 500; color: rgba(27,44,75,0.7); position: relative; padding: 4px 0; transition: color .2s ease; }
.nav-links a::after{ content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 1.5px; background: var(--sky); transition: width .25s var(--ease); }
.nav-links a:hover{ color: var(--ink); }
.nav-links a:hover::after{ width: 100%; }
.nav-cta{ padding: 10px 22px; font-size: 14px; }
.nav-toggle{ display: none; flex-direction: column; gap: 5px; margin-left: auto; padding: 6px; }
.nav-toggle span{ width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: background .35s var(--ease); }


@media (max-width: 860px){
  .nav-links{ display: none; }
  .nav-links.is-open{ display: flex; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--paper); padding: 8px 0; margin: 0; box-shadow: 0 16px 30px -14px rgba(27,44,75,0.2); border-bottom: 1px solid var(--line); }
  .nav-links.is-open a{ padding: 14px 32px; color: var(--ink); }
  .nav-cta{ display: none; }
  .nav-toggle{ display: flex; }
}

/* ===========================================================
   Hero
=========================================================== */
.hero{
  position: relative;
  background: var(--paper);
  padding: 160px 0 0; overflow: hidden;
}
.hero-bg{ position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-lines{
  position: absolute; inset: -10% -5%;
  background-image: repeating-linear-gradient(90deg, rgba(27,44,75,0.05) 0 1.5px, transparent 1.5px 46px);
  mask-image: radial-gradient(ellipse 80% 60% at 70% 30%, black, transparent 75%);
}
.hero-orb{ position: absolute; border-radius: 50%; filter: blur(90px); }
.hero-orb--sky{ width: 480px; height: 480px; background: var(--sky); top: -160px; right: -120px; opacity: .16; }
.hero-orb--cobalt{ width: 380px; height: 380px; background: var(--cobalt); bottom: -140px; left: -80px; opacity: .12; }

.hero-grid{ position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; padding-bottom: 88px; }

.badge{
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(30,136,229,0.07); border: 1px solid rgba(30,136,229,0.16);
  padding: 8px 16px 8px 8px; border-radius: 999px;
  font-family: var(--font-ui); font-size: 13px; font-weight: 500; color: var(--cobalt);
  margin-bottom: 26px;
}
.hero h1{ font-size: clamp(38px, 5vw, 60px); color: var(--ink); margin-bottom: 22px; }
.hero h1 .accent{ color: var(--cobalt); font-style: italic; }
.hero .lead{ font-size: 18px; line-height: 1.65; color: var(--slate); max-width: 470px; margin-bottom: 34px; text-align: justify; }
.buttons{ display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }
.buttons--center{ justify-content: center; }

.trust-list{ display: flex; flex-wrap: wrap; gap: 22px; }
.trust-list li{ display: flex; align-items: center; gap: 8px; font-family: var(--font-ui); font-size: 13.5px; font-weight: 500; color: var(--slate); }

/* Captura real de la app */
.app-shot-wrap{ position: relative; display: flex; justify-content: center; }
.app-shot-glow{
  position: absolute; width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle, rgba(46,183,245,0.22), rgba(30,136,229,0.08) 55%, transparent 75%);
  filter: blur(10px); z-index: 0;
}
.app-shot{
  position: relative; z-index: 1; width: min(300px, 100%); border-radius: 32px;
  box-shadow: var(--shadow-hard), 0 0 0 1px rgba(27,44,75,0.06);
}
.app-shot-badge{
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 8px;
  background: var(--paper); color: var(--ink);
  font-family: var(--font-ui); font-size: 12.5px; font-weight: 600;
  padding: 10px 16px; border-radius: 999px; box-shadow: var(--shadow-soft);
  animation: float-y 4.5s ease-in-out infinite;
}
.app-shot-badge svg{ color: var(--success, #1E9E6B); flex-shrink: 0; }
.app-shot-badge--bottom svg{ color: var(--cobalt); }
.app-shot-badge--top{ top: 6%; left: -8%; animation-delay: 0s; }
.app-shot-badge--bottom{ bottom: 10%; right: -10%; animation-delay: -2.2s; }
@keyframes float-y{ 0%,100%{ transform: translateY(0); } 50%{ transform: translateY(-10px); } }

@media (max-width: 620px){
  .app-shot-badge{ font-size: 11px; padding: 8px 12px; }
  .app-shot-badge--top{ left: -2%; }
  .app-shot-badge--bottom{ right: -2%; }
}

/* Marquee */
.hero-marquee{ position: relative; z-index: 2; border-top: 1px solid var(--line); overflow: hidden; padding: 18px 0; }
.hero-marquee-track{
  display: flex; gap: 14px; white-space: nowrap; width: max-content;
  font-family: var(--font-ui); font-size: 13.5px; font-weight: 500; color: var(--slate-soft);
  animation: marquee 26s linear infinite;
}
@keyframes marquee{ from{ transform: translateX(0); } to{ transform: translateX(-50%); } }

@media (max-width: 900px){
  .hero{ padding-top: 124px; }
  .hero-grid{ grid-template-columns: 1fr; gap: 56px; padding-bottom: 56px; }
}

/* ===========================================================
   El dolor real
=========================================================== */
.eyebrow{
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-ui); font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  color: var(--cobalt); margin-bottom: 18px;
}
.eyebrow .bar{ width: 20px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow--light{ color: var(--sky); }

/* ===========================================================
   Cómo funciona
=========================================================== */
.section-steps{ background: linear-gradient(175deg, var(--ink) 0%, var(--ink-2) 100%); padding: 110px 0; text-align: center; }
.section-steps h2{ color: var(--paper); margin-bottom: 14px; }
.steps-title{ font-size: clamp(34px, 4.6vw, 52px); letter-spacing: .02em; }
.steps-lede{ font-size: 16px; color: rgba(255,255,255,0.65); max-width: 420px; margin: 0 auto 48px; }
.steps{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 16px; }
.step{
  background: var(--paper); border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius-md);
  padding: 36px 30px; text-align: center; transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.step:hover{ transform: translateY(-6px); box-shadow: 0 24px 50px -18px rgba(0,0,0,0.35); }
.step-index{ display: block; font-family: var(--font-display); font-size: 14px; color: var(--slate-soft); margin-bottom: 14px; }
.step-icon{
  width: 60px; height: 60px; border-radius: 16px; margin: 0 auto 20px;
  background: linear-gradient(135deg, rgba(46,183,245,0.16), rgba(30,136,229,0.16)); color: var(--cobalt);
  display: flex; align-items: center; justify-content: center;
}
.step h3{ color: var(--ink); font-size: 19px; margin-bottom: 10px; }
.step p{ font-size: 14px; color: var(--slate); line-height: 1.6; text-align: justify; }

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

/* ===========================================================
   Beneficios
=========================================================== */
.section-benefits{ background: var(--mist); padding: 110px 0; }
.benefits-title{ max-width: 680px; font-size: clamp(26px, 3.2vw, 38px); }
.benefits-title .accent{ color: var(--cobalt); }
.benefits{ display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.benefit{ background: var(--paper); border-radius: var(--radius-md); padding: 30px 24px; border: 1px solid var(--line); text-align: center; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.benefit:hover{ transform: translateY(-6px); box-shadow: var(--shadow-soft); }
.benefit .icon-badge{ margin-left: auto; margin-right: auto; }
.benefit h3{ font-size: 18px; margin-bottom: 8px; }
.benefit p{ font-size: 13.5px; color: var(--slate); line-height: 1.55; text-align: justify; }

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

/* ===========================================================
   Planes
=========================================================== */
.section-pricing{ background: var(--paper); padding: 110px 0; }
.section-pricing h2{ color: var(--ink); }
.pricing-title{ text-transform: uppercase; font-size: clamp(38px, 5vw, 58px); letter-spacing: .03em; margin-bottom: 56px; }
.pricing-shell{
  max-width: 780px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr;
  background: var(--mist); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.plan-half{ padding: 44px 36px; display: flex; flex-direction: column; }
.plan-half--monthly{ border-right: 1px solid var(--line); }
.plan-half--featured{ background: linear-gradient(175deg, var(--ink) 0%, var(--ink-2) 100%); position: relative; }
.plan-ribbon{
  position: absolute; top: 26px; right: 30px; display: flex; align-items: center; gap: 6px;
  background: linear-gradient(135deg, var(--sky), var(--cobalt)); color: var(--paper);
  font-family: var(--font-ui); font-size: 11.5px; font-weight: 600; padding: 6px 12px; border-radius: 999px;
}
.plan-name{ font-family: var(--font-ui); font-size: 14px; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; color: var(--cobalt); margin-bottom: 12px; }
.plan-half--featured .plan-name{ color: var(--sky); }
.price{ font-family: var(--font-display); font-size: 42px; font-weight: 500; color: var(--ink); margin-bottom: 4px; }
.plan-half--featured .price{ color: var(--paper); }
.price span{ font-family: var(--font-ui); font-size: 14px; font-weight: 500; color: var(--slate); }
.plan-half--featured .price span{ color: rgba(255,255,255,0.55); }
.plan-savings{ font-size: 13px; color: var(--slate); margin-bottom: 24px; }
.plan-half--featured .plan-savings{ color: rgba(255,255,255,0.6); }
.plan-features{ display: flex; flex-direction: column; gap: 13px; margin: 12px 0 28px; flex-grow: 1; }
.plan-features li{ display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink); }
.plan-half--featured .plan-features li{ color: rgba(255,255,255,0.85); }
.plan-half .btn{ width: 100%; }

@media (max-width: 700px){
  .pricing-shell{ grid-template-columns: 1fr; }
  .plan-half--monthly{ border-right: none; border-bottom: 1px solid var(--line); }
}

/* ===========================================================
   FAQ
=========================================================== */
.section-faq{ background: var(--paper); padding: 110px 0; }
.section-faq h2{ text-align: center; margin-bottom: 48px; }
.faq-item{ border-bottom: 1px solid var(--line); }
.faq-q{ width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 4px; text-align: left; }
.faq-q span:first-child{ font-family: var(--font-ui); font-size: 16px; font-weight: 500; color: var(--ink); }
.faq-toggle{ flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; color: var(--cobalt); transition: transform .35s var(--ease), background .35s ease; }
.faq-item.open .faq-toggle{ transform: rotate(135deg); background: var(--mist); }
.faq-a{ max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq-item.open .faq-a{ max-height: 200px; }
.faq-a p{ padding: 0 4px 22px; font-size: 14.5px; color: var(--slate); line-height: 1.6; max-width: 560px; }

/* ===========================================================
   CTA final
=========================================================== */
.section-cta{ background: var(--paper); padding: 90px 0; }
.cta-card{
  position: relative; overflow: hidden; text-align: center; padding: 72px 40px;
  background: linear-gradient(175deg, var(--ink-3) 0%, var(--ink) 100%);
  border-radius: var(--radius-lg);
}
.cta-card h2{ color: var(--paper); font-size: clamp(30px, 4vw, 46px); margin-bottom: 8px; }
.cta-card .center-text{ color: rgba(255,255,255,0.68); }
.cta-card .buttons{ margin-top: 30px; margin-bottom: 0; }

/* ===========================================================
   Reconocimientos
=========================================================== */
.section-recognition{ background: var(--mist); padding: 48px 0; border-top: 1px solid var(--line); }
.recognition-label{
  text-align: center; font-family: var(--font-ui); font-size: 12.5px; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--slate-soft); margin-bottom: 28px;
}
.recognition-row{ display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 36px 48px; }
.recognition-item{ display: flex; flex-direction: column; align-items: center; gap: 8px; opacity: .85; transition: opacity .25s ease; }
.recognition-item:hover{ opacity: 1; }
.recognition-item img{ height: 34px; width: auto; object-fit: contain; }
.recognition-item--villarreal img{ height: 44px; }
.recognition-item span{ font-family: var(--font-ui); font-size: 11px; font-weight: 500; color: var(--slate); text-align: center; }

@media (max-width: 700px){
  .recognition-row{ gap: 26px 32px; }
  .recognition-item img{ height: 28px; }
  .recognition-item--villarreal img{ height: 36px; }
}

/* ===========================================================
   Footer
=========================================================== */
.site-footer{ background: var(--paper); padding: 48px 0 28px; border-top: 1px solid var(--line); }
.footer-grid{ display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; padding-bottom: 32px; }
.footer-brand{ font-family: var(--font-ui); font-size: 14px; font-weight: 500; color: var(--ink); display: flex; align-items: center; gap: 11px; }
.footer-brand .logo-icon{ height: 32px; }

.social-icons{ display: flex; gap: 14px; }
.social-icon{
  display: flex; align-items: center; justify-content: center;
  width: 50px; height: 50px; border-radius: 50%;
  background: var(--mist); color: var(--ink); border: 1px solid var(--line);
  transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.social-icon svg{ width: 23px; height: 23px; }
.social-icon:hover{
  background: linear-gradient(135deg, var(--sky), var(--cobalt)); color: var(--paper); border-color: transparent;
  transform: translateY(-3px); box-shadow: 0 10px 20px -8px rgba(30,136,229,0.5);
}

.footer-bottom{ padding-top: 24px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--slate-soft); }

/* ===========================================================
   WhatsApp float
=========================================================== */
.wa-float{
  position: fixed; bottom: 24px; right: 24px; z-index: 90; width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 28px -8px rgba(37,211,102,0.6); animation: wa-breathe 2.8s ease-in-out infinite;
}
@keyframes wa-breathe{ 0%,100%{ transform: scale(1);} 50%{ transform: scale(1.06);} }
