:root {
  --purple-dark: #2C175A;
  --purple: #7848B5;
  --teal: #19969C;
  --teal-dark: #058892;
  --teal-ink: #046E76;
  --orange: #F2A23A;
  --night: #253050;
  --bg: #FAF8FC;
  --white: #fff;
  --text: #3d3a4d;
  --muted: #5f5b72;
  --line: #e8e2f1;
  --radius: 20px;
  --shadow: 0 10px 30px rgba(44, 23, 90, .08);
  --shadow-lg: 0 24px 60px rgba(44, 23, 90, .16);
  --nav-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }
body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: "Poppins", system-ui, sans-serif; color: var(--purple-dark); line-height: 1.2; margin: 0; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
svg { width: 1.25em; height: 1.25em; flex: none; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 8px 14px; border-radius: 8px; z-index: 200; }
.skip:focus { left: 8px; }

/* Botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px; border: 2px solid transparent;
  font-weight: 600; font-size: 1rem; line-height: 1.2; text-align: center;
  transition: transform .2s, box-shadow .2s, background .2s, color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn--sm { padding: 10px 18px; font-size: .92rem; }
.btn--primary { background: var(--teal-ink); color: var(--white); box-shadow: 0 10px 24px rgba(4, 110, 118, .28); }
.btn--primary:hover { background: #035a61; }
.btn--ghost { border-color: var(--purple-dark); color: var(--purple-dark); }
.btn--ghost:hover { background: var(--purple-dark); color: var(--white); }
.btn--outline { border-color: var(--line); background: var(--white); color: var(--purple-dark); }
.btn--outline:hover { border-color: var(--purple); }
.btn--light { background: var(--white); color: var(--purple-dark); }
.btn--ghost-dark { border-color: rgba(255, 255, 255, .4); color: var(--white); }
.btn--ghost-dark:hover { background: rgba(255, 255, 255, .1); }

.icon-btn {
  display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  color: var(--purple-dark); background: rgba(120, 72, 181, .1); transition: background .2s, color .2s;
}
.icon-btn:hover { background: var(--purple); color: var(--white); }

/* Navbar */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--nav-h);
  background: rgba(255, 255, 255, .72);
  -webkit-backdrop-filter: blur(16px) saturate(160%); backdrop-filter: blur(16px) saturate(160%);
  border-bottom: 1px solid rgba(120, 72, 181, .12);
  transition: box-shadow .25s;
}
.nav.is-scrolled { box-shadow: 0 8px 28px rgba(44, 23, 90, .1); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.nav__logo img { height: 46px; width: auto; object-fit: contain; mix-blend-mode: multiply; }
.nav__toggle {
  display: grid; gap: 5px; width: 44px; height: 44px; padding: 12px 10px; align-content: center;
  background: none; border: 0; border-radius: 10px;
}
.nav__toggle span { height: 2px; background: var(--purple-dark); border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav__menu {
  position: absolute; top: var(--nav-h); left: 0; right: 0;
  display: none; flex-direction: column; gap: 16px; padding: 16px 20px 24px;
  background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
}
.nav__menu.is-open { display: flex; }
.nav__menu ul { display: flex; flex-direction: column; }
.nav__menu ul a { display: block; padding: 12px 4px; font-weight: 500; color: var(--purple-dark); border-bottom: 1px solid var(--line); }
.nav__menu ul a:hover { color: var(--teal-ink); }
.nav__actions { display: flex; align-items: center; gap: 10px; }
.nav__actions .btn { margin-left: auto; }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  padding: calc(var(--nav-h) + 40px) 0 64px;
  background:
    radial-gradient(60% 50% at 100% 0%, rgba(25, 150, 156, .14), transparent 70%),
    radial-gradient(50% 50% at 0% 20%, rgba(120, 72, 181, .14), transparent 70%),
    var(--bg);
}
.hero__grid { display: grid; gap: 48px; }
.hero h1 { font-size: clamp(2.2rem, 9vw, 4rem); font-weight: 800; letter-spacing: -.02em; margin: 18px 0; }
.hero h1 span { background: linear-gradient(90deg, var(--purple), var(--teal-dark)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__lead { font-size: 1.06rem; color: var(--muted); max-width: 56ch; text-align: justify; hyphens: auto; -webkit-hyphens: auto; }
.text-justify { text-align: justify; hyphens: auto; -webkit-hyphens: auto; }
.hl {
  font-weight: 700;
  background: linear-gradient(90deg, var(--purple), var(--teal-dark));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.hero__cta { display: flex; flex-direction: column; gap: 12px; margin: 28px 0 22px; }
.hero__slogan { font-family: "Poppins", sans-serif; font-weight: 600; color: var(--purple); padding-left: 14px; border-left: 3px solid var(--orange); }

.badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px;
  font-size: .88rem; font-weight: 600; color: var(--teal-ink);
  background: rgba(25, 150, 156, .1); border: 1px solid rgba(25, 150, 156, .25);
}
.badge--dark { color: #9fe6e9; background: rgba(25, 150, 156, .16); margin-top: 18px; }
.badge__dot { position: relative; width: 9px; height: 9px; border-radius: 50%; background: var(--teal); }
.badge__dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--teal); animation: ping 1.8s ease-out infinite; }

.hero__visual { position: relative; display: grid; place-items: center; padding: 20px 0 30px; perspective: 1200px; }
.hero__blob {
  position: absolute; width: min(420px, 90%); aspect-ratio: 1; border-radius: 42% 58% 55% 45% / 50% 44% 56% 50%;
  background: linear-gradient(135deg, var(--purple), var(--teal)); opacity: .9; filter: blur(2px);
}
.mock {
  position: relative; width: min(340px, 86%); padding: 18px 22px 24px; border-radius: 26px;
  background: var(--white); box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, .6);
  transform: rotateY(-12deg) rotateX(6deg); animation: float 6s ease-in-out infinite;
}
.mock__bar { display: flex; gap: 6px; margin-bottom: 14px; }
.mock__bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.mock__bar i:first-child { background: var(--orange); }
.mock img { width: 100%; height: auto; }
.mock__facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 16px; }
.mock__facts li { padding: 5px 12px; border-radius: 999px; font-size: .78rem; font-weight: 600; color: var(--purple-dark); background: #f1ebf9; }
.chip {
  position: absolute; display: none; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 14px;
  font-size: .84rem; font-weight: 600; color: var(--purple-dark); background: var(--white); box-shadow: var(--shadow);
}
.chip svg { color: var(--teal-ink); }

/* Secciones */
.section { padding: 72px 0; }
.section--tint { background: linear-gradient(180deg, #f3eefa, var(--bg)); }
.section__head { max-width: 680px; margin: 0 auto 44px; text-align: center; }
.section__head h2 { font-size: clamp(1.7rem, 5vw, 2.5rem); font-weight: 700; margin-bottom: 14px; }
.section__head p:last-child { color: var(--muted); }
.eyebrow { font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-ink); margin-bottom: 10px; }

.card, .value, .level, .service, .pay__block {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
}
.duo { display: grid; gap: 20px; margin-bottom: 20px; }
.card--feature { padding: 30px 26px; }
.card--feature h3 { font-size: 1.3rem; margin: 16px 0 10px; }
.card__icon, .value__icon, .service__icon {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; font-size: 1.25rem;
  color: var(--white); background: linear-gradient(135deg, var(--purple), var(--purple-dark));
}
.values { display: grid; gap: 20px; }
.value { padding: 26px 22px; transition: transform .25s, box-shadow .25s; }
.value:hover, .level:hover, .service:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.value__icon { background: linear-gradient(135deg, var(--teal), var(--teal-ink)); }
.value h3 { font-size: 1.08rem; margin: 16px 0 8px; }
.value p, .level p, .card--feature p { color: var(--muted); font-size: .96rem; }

.levels { display: grid; gap: 20px; }
.level { position: relative; padding: 28px 24px; transition: transform .25s, box-shadow .25s; }
.level__num { font-family: "Poppins", sans-serif; font-weight: 800; font-size: 2.2rem; line-height: 1; color: rgba(120, 72, 181, .22); }
.level h3 { font-size: 1.12rem; margin: 10px 0 4px; }
.level .level__tag { font-size: .84rem; font-weight: 600; color: var(--teal-ink); margin-bottom: 10px; }

.services { display: grid; gap: 20px; }
.service { padding: 28px 24px; transition: transform .25s, box-shadow .25s; }
.service h3 { font-size: 1.12rem; margin: 18px 0 14px; }
.checks { display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; font-size: .95rem; color: var(--text); }
.checks svg { margin-top: 3px; padding: 3px; border-radius: 50%; color: var(--teal-ink); background: rgba(25, 150, 156, .14); }
.service__note { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line); font-size: .88rem; font-weight: 600; color: var(--purple); }

.coverage {
  display: grid; gap: 20px; align-items: center; margin-top: 32px; padding: 32px 26px; border-radius: 26px; color: #ece6f7;
  background: linear-gradient(120deg, var(--purple-dark), var(--night) 60%, var(--teal-ink));
}
.coverage h3 { color: var(--white); font-size: 1.35rem; margin-bottom: 8px; }

/* Cómo trabajamos */
.steps-section {
  position: relative; overflow: hidden; color: #ddd5ee;
  background:
    radial-gradient(40% 50% at 10% 10%, rgba(120, 72, 181, .55), transparent 70%),
    radial-gradient(40% 50% at 90% 90%, rgba(25, 150, 156, .45), transparent 70%),
    linear-gradient(160deg, #1c0f3d, var(--purple-dark) 50%, var(--night));
}
.section__head--light h2 { color: var(--white); }
.section__head--light .eyebrow { color: #7fd9dd; }
.section__head--light p:last-child { color: #cfc7e2; }
.hl--light { background-image: linear-gradient(90deg, #cdb1ff, #6fe3e8); }
.steps { display: grid; gap: 20px; margin: 0; padding: 0; list-style: none; }
.step {
  padding: 28px 24px; border-radius: var(--radius);
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .16);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .18), inset 0 1px 0 rgba(255, 255, 255, .12);
  transition: transform .25s, background .25s;
}
.step:hover { transform: translateY(-4px); background: rgba(255, 255, 255, .11); }
.step__num {
  font-family: "Poppins", sans-serif; font-weight: 800; font-size: 2.2rem; line-height: 1;
  background: linear-gradient(90deg, #cdb1ff, #6fe3e8); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.step h3 { color: var(--white); font-size: 1.12rem; margin: 14px 0 8px; }
.step p { font-size: .96rem; }
.steps__cta { display: flex; justify-content: center; margin-top: 36px; }

/* Pagos */
.pay { display: grid; gap: 20px; }
.pay__block { padding: 28px 22px; }
.pay__block h3 { font-size: 1.25rem; }
.pay__hint { color: var(--muted); font-size: .92rem; margin: 4px 0 18px; }
.pay__list { display: grid; gap: 14px; }
.pay-card {
  display: flex; align-items: center; gap: 14px; width: 100%; padding: 16px; text-align: left;
  background: var(--bg); border: 1px solid var(--line); border-radius: 16px; color: var(--purple-dark);
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.pay-card:hover { border-color: var(--purple); box-shadow: var(--shadow); transform: translateY(-2px); }
.pay-card__logo {
  display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 12px;
  font-family: "Poppins", sans-serif; font-weight: 800; font-size: .95rem; color: var(--white); background: var(--purple-dark);
}
.pay-card__logo--pichincha { background: #F5C518; color: #1d2a5b; }
.pay-card__logo--guayaquil { background: #C2187A; }
.pay-card__logo--paypal { background: #1F4C9A; }
.pay-card__logo--wu { background: #1c1c1c; color: #FFD94A; }
.pay-card__text { display: grid; flex: 1; }
.pay-card__text small { color: var(--muted); font-size: .85rem; }
.pay-card__arrow { color: var(--purple); }
.pay-info { display: grid; gap: 10px; justify-items: start; padding: 18px 16px; background: var(--bg); border: 1px solid var(--line); border-radius: 16px; font-size: .95rem; }
.pay-info__head { display: flex; align-items: center; gap: 12px; color: var(--purple-dark); font-size: 1.02rem; }
.pay-info__mail { font-weight: 600; color: var(--purple-dark); overflow-wrap: anywhere; }
.pay-info__note { font-size: .86rem; color: var(--muted); }

/* Modal */
.modal {
  width: min(440px, calc(100% - 32px)); padding: 28px 22px 24px; border: 0; border-radius: 24px;
  color: var(--text); background: var(--white); box-shadow: var(--shadow-lg);
}
.modal::backdrop { background: rgba(28, 16, 58, .6); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.modal[open] { animation: pop .25s ease-out; }
.modal__close { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--bg); color: var(--purple-dark); }
.modal__head { display: flex; align-items: center; gap: 14px; padding-right: 44px; }
.modal__head h2 { font-size: 1.25rem; }
.modal__head p { font-size: .86rem; color: var(--muted); }
.modal__data { margin: 22px 0; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.modal__data div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 16px; }
.modal__data div + div { border-top: 1px solid var(--line); }
.modal__data dt { color: var(--muted); font-size: .9rem; }
.modal__data dd { margin: 0; font-weight: 600; color: var(--purple-dark); text-align: right; }
.modal__number { font-size: 1.1rem; letter-spacing: .04em; }
.modal__actions { display: grid; gap: 10px; }

/* Footer */
.footer { background: linear-gradient(160deg, #1c0f3d, var(--purple-dark) 55%, var(--night)); color: #cfc7e2; padding-top: 64px; }
.footer__grid { display: grid; gap: 40px; }
.footer__logo { display: inline-block; padding: 10px 16px; margin-bottom: 18px; background: var(--white); border-radius: 14px; }
.footer__logo img { height: 44px; width: auto; }
.footer__title { font-size: 1.05rem; color: var(--white); margin-bottom: 16px; }
.footer__links { display: grid; gap: 4px; }
.footer__links a { display: inline-flex; align-items: center; gap: 12px; padding: 8px 0; overflow-wrap: anywhere; }
.footer__links a:hover { color: var(--white); }
.footer__links svg { color: #7fd9dd; }
.footer__cta { display: grid; gap: 12px; }
.footer__bottom { display: grid; gap: 6px; margin-top: 48px; padding-top: 22px; padding-bottom: 96px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .86rem; }

/* Botón flotante */
.fab {
  position: fixed; right: 18px; bottom: 18px; z-index: 90; display: grid; place-items: center;
  width: 58px; height: 58px; border-radius: 50%; color: var(--white); background: #128C4A; font-size: 1.5rem;
  box-shadow: 0 12px 28px rgba(18, 140, 74, .4);
}
.fab::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #128C4A; z-index: -1; animation: ping 2s ease-out infinite; }

/* Animaciones */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@keyframes ping { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(2.2); opacity: 0; } }
@keyframes float { 0%, 100% { transform: rotateY(-12deg) rotateX(6deg) translateY(0); } 50% { transform: rotateY(-8deg) rotateX(4deg) translateY(-12px); } }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.97); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

@media (min-width: 560px) {
  .hero__cta { flex-direction: row; flex-wrap: wrap; }
  .values, .levels, .services, .steps { grid-template-columns: repeat(2, 1fr); }
  .modal { padding: 32px 30px 28px; }
  .modal__actions { grid-template-columns: 1fr; }
}

@media (min-width: 860px) {
  .duo, .pay { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1.3fr 1fr 1fr; }
  .footer__bottom { grid-template-columns: 1fr auto; padding-bottom: 28px; padding-right: 80px; }
  .coverage { grid-template-columns: 1fr auto; padding: 40px 44px; }
  .section { padding: 96px 0; }
  .chip { display: inline-flex; }
  .chip--a { top: 4%; left: 0; }
  .chip--b { bottom: 2%; right: 0; }
}

@media (min-width: 1000px) {
  :root { --nav-h: 76px; }
  .nav__toggle { display: none; }
  .nav__menu {
    position: static; display: flex; flex-direction: row; align-items: center; flex: 1; gap: 24px;
    padding: 0; background: none; border: 0; box-shadow: none;
  }
  .nav__menu ul { flex-direction: row; gap: 4px; margin: 0 auto; }
  .nav__menu ul a { padding: 8px 14px; border: 0; border-radius: 999px; font-size: .95rem; }
  .nav__menu ul a:hover { background: rgba(120, 72, 181, .1); color: var(--purple-dark); }
  .nav__actions .btn { margin-left: 4px; }
  .hero { padding: calc(var(--nav-h) + 72px) 0 104px; }
  .hero__grid { grid-template-columns: 1.1fr .9fr; align-items: center; }
  .values, .steps { grid-template-columns: repeat(4, 1fr); }
  .levels { grid-template-columns: repeat(6, 1fr); }
  .level { grid-column: span 2; }
  .level:nth-child(4) { grid-column: 2 / span 2; }
  .services { grid-template-columns: repeat(3, 1fr); }
  .service:last-child { grid-column: 2; }
}
