/* =========================================================
   ENVIOEXPRESS · Landing premium
   Inspirado en Stripe / Linear / Framer / Apple
========================================================= */

:root {
  /* Brand */
  --brand: #605EBA;
  --brand-2: #8482CC;
  --brand-deep: #4B4A92;
  --brand-soft: #ECECF8;
  --brand-pink: #D82555;
  --brand-pink-deep: #B81C46;

  /* Neutrals */
  --ink: #343F52;
  --ink-2: #232B38;
  --ink-3: #5A6478;
  --muted: #737B8C;
  --muted-2: #A3A9B8;
  --line: #E3E5EC;
  --line-2: #EEEFF4;
  --bg: #FFFFFF;
  --bg-2: #FAFAFB;
  --bg-3: #F4F5F8;

  /* Accents */
  --green: #16A34A;
  --green-soft: #DCFCE7;
  --blue: #2563EB;
  --blue-soft: #DBEAFE;
  --violet: #7C3AED;
  --violet-soft: #EDE9FE;
  --amber: #F59E0B;

  /* System */
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --shadow-sm: 0 1px 2px rgba(10, 14, 26, .04), 0 1px 3px rgba(10,14,26,.05);
  --shadow: 0 4px 12px rgba(10, 14, 26, .04), 0 16px 32px -16px rgba(10, 14, 26, .12);
  --shadow-lg: 0 8px 24px rgba(10, 14, 26, .06), 0 32px 64px -32px rgba(10, 14, 26, .25);
  --shadow-glow: 0 0 0 1px rgba(96, 94, 186, .25), 0 20px 60px -20px rgba(96, 94, 186, .45);

  --container: 1180px;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --serif: 'Instrument Serif', 'Times New Roman', serif;
}

/* ============== BASE ============== */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  font-feature-settings: 'cv11', 'ss01', 'ss03';
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }
ul { list-style: none; }

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

/* ============== TYPE ============== */
h1, h2, h3, h4 { font-weight: 700; letter-spacing: -0.02em; color: var(--ink); }
h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); line-height: 1.05; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); line-height: 1.1; letter-spacing: -0.03em; }
h3 { font-size: 1.2rem; line-height: 1.3; }

.section__head {
  max-width: 720px;
  margin: 0 auto 60px;
  text-align: center;
}
.section__head h2 { margin-bottom: 16px; }
.section__head p { color: var(--muted); font-size: 1.05rem; line-height: 1.6; }

.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 6px 12px;
  background: var(--bg-3);
  border-radius: 999px;
  margin-bottom: 18px;
}
.eyebrow--accent {
  color: var(--brand-deep);
  background: var(--brand-soft);
}
.eyebrow--light {
  color: rgba(255,255,255,.85);
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(8px);
}

/* ============== BUTTONS ============== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 18px;
  border-radius: 12px;
  font-weight: 600;
  font-size: .92rem;
  transition: all .25s var(--ease);
  white-space: nowrap;
  cursor: pointer;
  line-height: 1;
}
.btn--lg { padding: 15px 24px; font-size: 1rem; border-radius: 14px; }
.btn--block { width: 100%; }
.btn svg { transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

.btn--primary {
  background: linear-gradient(180deg, var(--brand-2), var(--brand));
  color: #fff;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.25),
    0 1px 2px rgba(0,0,0,.08),
    0 8px 24px -8px rgba(96, 94, 186, .55);
}
.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.3),
    0 2px 4px rgba(0,0,0,.1),
    0 12px 32px -8px rgba(96, 94, 186, .7);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn--ghost:hover { background: var(--bg-2); border-color: var(--ink-3); }

.btn--white {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 2px 6px rgba(0,0,0,.15), 0 16px 40px -10px rgba(0,0,0,.35);
}
.btn--white:hover { transform: translateY(-1px); }

.btn--whatsapp {
  background: linear-gradient(180deg, #29CC68, #1EAF57);
  color: #fff;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.28),
    0 1px 2px rgba(0,0,0,.08),
    0 8px 24px -8px rgba(30,175,87,.55);
}
.btn--whatsapp:hover {
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.34),
    0 2px 4px rgba(0,0,0,.1),
    0 12px 32px -8px rgba(30,175,87,.72);
}
.btn--whatsapp svg { transition: none; }
.btn--whatsapp:hover svg { transform: none; }

.btn--outlineLight {
  background: rgba(255,255,255,.08);
  color: #fff;
  border: 1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(10px);
}
.btn--outlineLight:hover { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.4); }

/* ============== NAV ============== */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 14px 0;
  transition: all .3s var(--ease);
}
.nav.is-scrolled {
  background: rgba(255,255,255,.78);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line-2);
}
.nav__inner {
  display: flex; align-items: center; gap: 32px;
}
.nav__logo {
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 700; font-size: 1.05rem; letter-spacing: -.02em;
}
.nav__logo b { font-weight: 700; color: var(--brand); }
.nav__logo-img { height: 26px; width: auto; display: block; }
.footer__brand .nav__logo-img { height: 30px; }

.nav__links {
  display: flex; align-items: center; gap: 4px;
  margin-left: 24px;
}
.nav__links a {
  padding: 8px 14px;
  font-size: .92rem;
  font-weight: 500;
  color: var(--ink-3);
  border-radius: 8px;
  transition: all .2s var(--ease);
}
.nav__links a:hover { color: var(--ink); background: var(--bg-3); }

.nav__cta {
  margin-left: auto;
  display: flex; align-items: center; gap: 10px;
}

.nav__burger { display: none; width: 40px; height: 40px; flex-direction: column; gap: 5px; align-items: center; justify-content: center; border-radius: 10px; }
.nav__burger span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: all .25s var(--ease); }
.nav__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============== HERO ============== */
.hero {
  position: relative;
  padding: 140px 0 90px;
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: -1;
}
.hero__glow {
  position: absolute;
  width: 700px; height: 700px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: .55;
}
.hero__glow--orange {
  background: radial-gradient(circle, #D82555, transparent 70%);
  top: -300px; right: -200px;
}
.hero__glow--violet {
  background: radial-gradient(circle, #C4B5FD, transparent 70%);
  bottom: -400px; left: -250px;
  opacity: .35;
}
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(10,14,26,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10,14,26,.03) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 60px;
  align-items: center;
}

.hero__copy { max-width: 580px; }

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px 6px 8px;
  border-radius: 999px;
  background: rgba(255,255,255,.7);
  border: 1px solid var(--line);
  font-size: .82rem;
  font-weight: 500;
  color: var(--ink-3);
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
  transition: all .25s var(--ease);
}
.pill:hover { transform: translateY(-1px); border-color: var(--brand); }
.pill__dot {
  width: 8px; height: 8px;
  background: var(--brand);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(96,94,186,.18);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(96,94,186,.18); }
  50% { box-shadow: 0 0 0 6px rgba(96,94,186,.06); }
}

.hero__title {
  margin-bottom: 18px;
}
.hero__title--accent {
  background: linear-gradient(120deg, var(--brand), var(--brand-pink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.hero__sub {
  font-size: 1.1rem;
  color: var(--ink-3);
  line-height: 1.6;
  max-width: 520px;
  margin-bottom: 30px;
}
.hero__sub b { color: var(--ink); font-weight: 600; }

.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 26px; }

.hero__bullets {
  display: flex; gap: 22px; flex-wrap: wrap;
  font-size: .92rem; color: var(--ink-3);
}
.hero__bullets li {
  display: inline-flex; align-items: center; gap: 6px;
}
.hero__bullets svg { color: var(--green); }

/* ===== Quoter ===== */
.hero__card {
  position: relative;
  perspective: 1500px;
}
.quoter {
  background: rgba(255,255,255,.85);
  border: 1px solid rgba(255,255,255,.8);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(20px);
  transform: rotateY(-2deg) rotateX(2deg);
  transform-style: preserve-3d;
  transition: transform .6s var(--ease);
}
.quoter:hover { transform: rotateY(0deg) rotateX(0deg); }

.quoter__head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px;
}
.quoter__tag { font-size: .8rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.quoter__live {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .8rem; color: var(--green); font-weight: 600;
  background: var(--green-soft); padding: 4px 10px; border-radius: 999px;
}
.quoter__live span {
  width: 6px; height: 6px; border-radius: 50%; background: var(--green);
  animation: pulse 2s infinite;
}

.quoter__row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  margin-bottom: 10px;
}
.quoter__row--3 { grid-template-columns: repeat(3, 1fr); }
.quoter__row--4 { grid-template-columns: repeat(4, 1fr); }
.quoter__row label { display: flex; flex-direction: column; gap: 5px; }
.quoter__row label > span { font-size: .72rem; color: var(--muted); font-weight: 500; }

.input {
  display: flex; align-items: center; gap: 8px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 9px 12px;
  color: var(--ink-3);
}
.input svg { color: var(--muted-2); flex-shrink: 0; }
.input input {
  width: 100%; border: 0; background: transparent; outline: 0;
  font: inherit; color: var(--ink); font-weight: 500; font-size: .9rem;
}

.quoter__results {
  display: flex; flex-direction: column; gap: 8px;
  margin: 16px 0 14px;
}
.quoter__result {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  gap: 12px;
  align-items: center;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  transition: all .25s var(--ease);
}
.quoter__result:hover { border-color: var(--ink-3); transform: translateX(2px); }
.quoter__result--best {
  background: linear-gradient(135deg, var(--brand-soft), #fff);
  border-color: var(--brand);
  box-shadow: 0 6px 16px -8px rgba(96,94,186,.4);
}

.quoter__brand {
  width: 34px; height: 34px;
  border-radius: 9px;
  display: grid; place-items: center;
  font-weight: 700; font-size: .75rem; color: #fff;
}
.quoter__brand--estafeta { background: #DC2626; }
.quoter__brand--m99 { background: #111827; }
.quoter__brand--paquetex { background: #0E7C7B; }
.quoter__brand--dhl { background: #FFCC00; color: #D40511; }

.quoter__info b { font-size: .88rem; display: block; line-height: 1.2; }
.quoter__info span { font-size: .76rem; color: var(--muted); }

.quoter__price { text-align: right; line-height: 1.2; }
.quoter__price b { font-size: 1rem; font-weight: 700; }
.quoter__price sup { font-size: .55rem; color: var(--muted); margin-left: 2px; font-weight: 600; }
.quoter__old {
  display: block;
  font-size: .7rem; color: var(--muted-2);
  text-decoration: line-through;
}
.quoter__save {
  display: inline-block;
  font-size: .65rem;
  font-weight: 700;
  color: var(--green);
  background: var(--green-soft);
  padding: 2px 6px;
  border-radius: 4px;
  margin-top: 2px;
}

.hero__float {
  position: absolute;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 9px 13px;
  font-size: .82rem;
  font-weight: 500;
  color: var(--ink);
  box-shadow: var(--shadow);
  display: inline-flex; align-items: center; gap: 8px;
  animation: floaty 5s ease-in-out infinite;
}
.hero__float b { color: var(--green); font-weight: 700; }
.hero__float--1 { top: -10px; right: -10px; }
.hero__float--2 { bottom: -10px; left: -16px; animation-delay: -2.5s; }
.hero__floatDot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--blue);
  box-shadow: 0 0 0 3px rgba(37,99,235,.2);
}
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ============== TRUST ============== */
.trust { padding: 60px 0; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); background: var(--bg-2); }
.trust__title {
  text-align: center; color: var(--muted); font-size: .85rem;
  font-weight: 500; margin-bottom: 28px; letter-spacing: .02em;
}
.trust__row {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 32px 56px;
}
.trust__logo {
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -.02em;
  color: var(--muted);
  opacity: .75;
  transition: all .25s var(--ease);
  font-family: 'Inter', sans-serif;
}
.trust__logo:hover { opacity: 1; color: var(--ink); }

/* ============== PROBLEM ============== */
.problem { padding: 110px 0; }
.problem__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.problem__card {
  padding: 26px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: all .3s var(--ease);
}
.problem__card:hover {
  transform: translateY(-4px);
  border-color: var(--brand);
  box-shadow: 0 12px 28px -16px rgba(96,94,186,.3);
}
.problem__icon {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  background: var(--brand-soft);
  color: var(--brand-deep);
  border-radius: 12px;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.problem__card h3 { margin-bottom: 8px; font-size: 1.05rem; }
.problem__card p { color: var(--muted); font-size: .92rem; line-height: 1.55; }

/* ============== BENEFITS ============== */
.benefits { padding: 110px 0; background: var(--bg-2); }
.benefits__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 1fr;
  gap: 20px;
}
.bcard {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  transition: all .35s var(--ease);
  position: relative; overflow: hidden;
}
.bcard:hover {
  border-color: var(--ink-3);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.bcard--lg { grid-column: span 2; grid-row: span 2; }

.bcard__head {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 14px;
}
.bcard__icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: var(--bg-3);
  color: var(--ink);
  border-radius: 11px;
}
.bcard h3 { font-size: 1.05rem; }
.bcard p { color: var(--muted); font-size: .94rem; line-height: 1.55; }

.bcard__visual--compare {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px dashed var(--line);
}
.cmpRow {
  display: grid;
  grid-template-columns: 80px 1fr 60px;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  font-size: .88rem;
}
.cmpRow span { color: var(--ink-3); font-weight: 500; }
.cmpRow b { text-align: right; color: var(--ink); font-weight: 700; }
.cmpBar {
  height: 8px;
  background: var(--line-2);
  border-radius: 999px;
  position: relative;
  overflow: hidden;
}
.cmpBar::after {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0;
  width: var(--w);
  background: linear-gradient(90deg, #C7CBD3, #94A0B8);
  border-radius: 999px;
}
.cmpRow--best span { color: var(--brand-deep); font-weight: 700; }
.cmpRow--best b { color: var(--brand-deep); }
.cmpRow--best .cmpBar::after {
  background: linear-gradient(90deg, var(--brand-2), var(--brand));
}

/* ============== DIFF (Split) ============== */
.diff { padding: 110px 0; }
.diff__inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
}
.diff__copy h2 { margin-bottom: 16px; }
.diff__copy > p { color: var(--muted); font-size: 1.05rem; margin-bottom: 28px; line-height: 1.6; }

.diff__list { display: flex; flex-direction: column; gap: 18px; margin-bottom: 32px; }
.diff__list li { display: flex; gap: 14px; align-items: flex-start; }
.diff__listIcon {
  width: 28px; height: 28px;
  display: grid; place-items: center;
  border-radius: 8px;
  background: var(--brand-soft);
  color: var(--brand-deep);
  flex-shrink: 0;
  margin-top: 2px;
}
.diff__list b { display: block; font-size: 1rem; color: var(--ink); margin-bottom: 2px; }
.diff__list span { font-size: .92rem; color: var(--muted); line-height: 1.55; }

/* Dashboard mock */
.dashMock {
  background: #0F1320;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid #1f2433;
}
.dashMock__head {
  display: flex; align-items: center; gap: 6px;
  padding: 12px 16px;
  background: #161B2C;
  border-bottom: 1px solid #1f2433;
}
.dashMock__dot { width: 11px; height: 11px; border-radius: 50%; background: #3a4154; }
.dashMock__dot:first-child { background: #FF5F56; }
.dashMock__dot:nth-child(2) { background: #FFBD2E; }
.dashMock__dot:nth-child(3) { background: #27C93F; }
.dashMock__title { margin-left: auto; color: #6B7280; font-size: .78rem; font-family: monospace; }

.dashMock__body { padding: 22px; }
.dashMock__stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
  margin-bottom: 22px;
}
.dashMock__stats > div {
  background: #161B2C;
  border: 1px solid #1f2433;
  border-radius: 12px;
  padding: 14px;
}
.dashMock__stats span { color: #6B7280; font-size: .72rem; display: block; margin-bottom: 4px; }
.dashMock__stats b { color: #fff; font-size: 1.3rem; font-weight: 700; display: block; }
.dashMock__stats i {
  font-style: normal;
  font-size: .7rem;
  color: var(--green);
  font-weight: 600;
  display: inline-block;
  margin-top: 4px;
}
.dashMock__chart {
  background: #161B2C;
  border: 1px solid #1f2433;
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 16px;
}
.dashMock__list { display: flex; flex-direction: column; gap: 8px; }
.dashMock__item {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  gap: 12px;
  align-items: center;
  background: #161B2C;
  border: 1px solid #1f2433;
  border-radius: 10px;
  padding: 10px 14px;
  color: #6B7280;
  font-size: .82rem;
}
.dashMock__item b { color: #fff; font-weight: 500; font-size: .85rem; text-align: right; }
.dashMock__pill {
  text-align: center;
  font-size: .68rem;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 999px;
}
.dashMock__pill--green { background: rgba(22,163,74,.18); color: #4ADE80; }
.dashMock__pill--blue { background: rgba(37,99,235,.18); color: #60A5FA; }
.dashMock__pill--orange { background: rgba(216,37,85,.2); color: #F472A0; }

/* ============== PROCESS ============== */
.process { padding: 110px 0; background: var(--bg-2); }
.process__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.step {
  padding: 32px 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  position: relative;
  transition: all .3s var(--ease);
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--brand); }
.step__num {
  display: inline-block;
  font-size: .85rem;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 18px;
  letter-spacing: .05em;
}
.step h3 { margin-bottom: 10px; font-size: 1.15rem; }
.step p { color: var(--muted); font-size: .92rem; line-height: 1.55; margin-bottom: 24px; }

.step__visual {
  display: flex; flex-direction: column; gap: 7px;
  padding: 16px; background: var(--bg-2); border-radius: 12px;
}
.step__bar {
  background: var(--line-2);
  height: 10px;
  border-radius: 999px;
  overflow: hidden;
}
.step__bar span {
  display: block; height: 100%;
  background: linear-gradient(90deg, var(--brand-2), var(--brand));
  border-radius: 999px;
  width: var(--w);
  animation: barFill 1.4s var(--ease) backwards;
}
@keyframes barFill { from { width: 0; } }

.step__visual--label {
  background: #0F1320;
  padding: 18px;
  display: block;
}
.step__label { display: flex; flex-direction: column; gap: 8px; align-items: center; }
.step__lblBars { display: flex; gap: 3px; }
.step__lblBars i {
  display: block; height: 32px; background: #fff; border-radius: 1px;
}
.step__lblBars i:nth-child(1) { width: 3px; }
.step__lblBars i:nth-child(2) { width: 5px; }
.step__lblBars i:nth-child(3) { width: 2px; }
.step__lblBars i:nth-child(4) { width: 6px; }
.step__lblBars i:nth-child(5) { width: 3px; }
.step__lblBars i:nth-child(6) { width: 4px; }
.step__lblBars i:nth-child(7) { width: 2px; }
.step__lblBars i:nth-child(8) { width: 5px; }
.step__lblText { color: #fff; font-size: .7rem; font-family: monospace; letter-spacing: .1em; }

.step__visual--track {
  display: flex; align-items: center; justify-content: center; gap: 0;
  background: var(--bg-2); padding: 22px;
}
.trackDot {
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--line);
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px var(--line);
}
.trackDot--done { background: var(--brand); box-shadow: 0 0 0 1px var(--brand); }
.trackLine {
  flex: 1;
  height: 2px;
  background: var(--line);
  max-width: 60px;
}
.trackLine--done { background: var(--brand); }

/* ============== METRICS ============== */
.metrics { padding: 70px 0; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.metrics__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 30px;
  text-align: center;
}
.metric b {
  display: block;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -.04em;
  background: linear-gradient(180deg, var(--ink), var(--ink-3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 4px;
  line-height: 1;
}
.metric span { color: var(--muted); font-size: .88rem; font-weight: 500; }

/* ============== TESTIMONIALS ============== */
.testimonials { padding: 110px 0; }
.t__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.t__card {
  padding: 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
  transition: all .3s var(--ease);
}
.t__card:hover { border-color: var(--ink-3); transform: translateY(-3px); box-shadow: var(--shadow); }
.t__card--feat {
  background: linear-gradient(160deg, var(--ink), var(--ink-2));
  border: 0;
  color: rgba(255,255,255,.85);
}
.t__card--feat .t__quote b { color: var(--brand-2); }
.t__card--feat .t__person b { color: #fff; }
.t__card--feat .t__person span { color: rgba(255,255,255,.55); }

.t__stars { color: var(--amber); letter-spacing: 3px; font-size: .9rem; }
.t__quote { font-size: 1rem; line-height: 1.55; color: var(--ink-3); }
.t__card--feat .t__quote { color: rgba(255,255,255,.9); }
.t__quote b { color: var(--brand-deep); font-weight: 700; }

.t__person { display: flex; align-items: center; gap: 12px; }
.t__avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-2), var(--brand));
  color: #fff;
  display: grid; place-items: center;
  font-weight: 700; font-size: .82rem;
  flex-shrink: 0;
}
.t__avatar--2 { background: linear-gradient(135deg, #818CF8, #4F46E5); }
.t__avatar--3 { background: linear-gradient(135deg, #D82555, #605EBA); }
.t__person b { display: block; font-size: .9rem; }
.t__person span { display: block; color: var(--muted); font-size: .8rem; }

/* ============== PRICING ============== */
.pricing { padding: 110px 0; background: var(--bg-2); }
.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}
.plan {
  position: relative;
  padding: 32px 30px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  display: flex; flex-direction: column;
  transition: all .3s var(--ease);
}
.plan:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.plan--feat {
  border-color: var(--brand);
  box-shadow: var(--shadow-glow);
  background: linear-gradient(180deg, #fff, var(--brand-soft) 200%);
}
.plan__tag {
  display: inline-block;
  font-size: .72rem; font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--bg-3);
  color: var(--muted);
  margin-bottom: 18px;
  letter-spacing: .03em;
  width: fit-content;
}
.plan__tag--accent { background: var(--brand); color: #fff; }
.plan h3 { font-size: 1.5rem; margin-bottom: 6px; }
.plan__sub { color: var(--muted); font-size: .92rem; margin-bottom: 22px; }
.plan__price {
  display: flex; align-items: baseline; gap: 8px;
  margin-bottom: 6px;
}
.plan__price b { font-size: 2.6rem; font-weight: 700; letter-spacing: -.03em; color: var(--ink); }
.plan__price span { font-size: 1.1rem; font-weight: 600; color: var(--brand); }
.plan__line { color: var(--muted); font-size: .88rem; margin-bottom: 24px; }
.plan__list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 30px; flex: 1; }
.plan__list li {
  position: relative;
  padding-left: 26px;
  font-size: .92rem;
  color: var(--ink-3);
}
.plan__list li::before {
  content: '';
  position: absolute; left: 0; top: 4px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--brand-soft) url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' width='10' height='10' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 12l5 5 9-11' stroke='%234B4A92' stroke-width='3' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/9px no-repeat;
}

/* ============== FAQ ============== */
.faq { padding: 110px 0; }
.faq__inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
}
.faq__head h2 { margin-bottom: 14px; }
.faq__head p { color: var(--muted); }
.faq__head a { color: var(--brand-deep); font-weight: 600; }

.faq__list {
  position: sticky; top: 90px;
  display: flex; flex-direction: column; gap: 10px;
}
.faq__item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
  transition: all .25s var(--ease);
}
.faq__item:hover { border-color: var(--ink-3); }
.faq__item[open] { border-color: var(--brand); }

.faq__item summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__chevron {
  width: 22px; height: 22px;
  display: grid; place-items: center;
  flex-shrink: 0;
  position: relative;
}
.faq__chevron::before, .faq__chevron::after {
  content: ''; position: absolute;
  background: var(--ink); border-radius: 2px;
  transition: transform .25s var(--ease);
}
.faq__chevron::before { width: 12px; height: 2px; }
.faq__chevron::after { width: 2px; height: 12px; }
.faq__item[open] .faq__chevron::after { transform: rotate(90deg); }
.faq__item[open] .faq__chevron::before { background: var(--brand); }

.faq__item p {
  padding: 0 22px 22px;
  color: var(--ink-3);
  font-size: .94rem;
  line-height: 1.6;
}

/* ============== CTA ============== */
.cta { padding: 80px 0 120px; }
.cta__box {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 80px 40px;
  background: linear-gradient(135deg, #2A2D55 0%, #343F52 100%);
  border-radius: var(--radius-xl);
  color: #fff;
}
.cta__box h2 { color: #fff; margin-bottom: 14px; max-width: 720px; margin-inline: auto; }
.cta__box > p {
  color: rgba(255,255,255,.7);
  font-size: 1.1rem;
  max-width: 540px;
  margin: 0 auto 32px;
}
.cta__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(96,94,186,.5), transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(124,58,237,.3), transparent 50%);
  z-index: 0;
  opacity: .9;
}
.cta__box > * { position: relative; z-index: 1; }

.cta__actions {
  display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-bottom: 18px;
}
.cta__small { color: rgba(255,255,255,.5); font-size: .85rem; }

/* ============== FOOTER ============== */
.footer { background: #232B38; color: rgba(255,255,255,.65); padding: 70px 0 30px; }
.footer__top {
  display: grid;
  grid-template-columns: 1.2fr 2.5fr;
  gap: 60px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer__brand p {
  margin: 14px 0 22px;
  font-size: .92rem;
  line-height: 1.55;
  max-width: 320px;
}
.footer .nav__logo { color: #fff; }
.footer__social { display: flex; gap: 8px; }
.footer__social a {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 10px;
  color: rgba(255,255,255,.7);
  transition: all .25s var(--ease);
}
.footer__social a:hover { background: var(--brand); color: #fff; border-color: var(--brand); }

.footer__club {
  margin-top: 24px;
  padding: 18px;
  background: linear-gradient(135deg, rgba(96,94,186,.18), rgba(216,37,85,.12));
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
}
.footer__club h4 { color: #fff; font-size: .95rem; margin-bottom: 6px; }
.footer__club p { font-size: .84rem; line-height: 1.5; margin: 0 0 14px; max-width: none; }
.footer__clubBtn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 16px;
  border-radius: 10px;
  font-size: .85rem; font-weight: 600;
  background: linear-gradient(180deg, var(--brand-2), var(--brand));
  color: #fff;
  transition: transform .25s var(--ease);
}
.footer__clubBtn:hover { transform: translateY(-1px); }

.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.footer__cols h4 { color: #fff; font-size: .9rem; margin-bottom: 16px; font-weight: 600; }
.footer__cols a {
  display: block;
  padding: 5px 0;
  font-size: .9rem;
  color: rgba(255,255,255,.6);
  transition: color .2s var(--ease);
}
.footer__cols a:hover { color: var(--brand-2); }

.footer__contact { margin-bottom: 6px; }
.footer__contact a {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 5px 0;
  font-size: .9rem;
  color: rgba(255,255,255,.6);
  transition: color .2s var(--ease);
}
.footer__contact a:hover { color: var(--brand-2); }
.footer__contact svg { color: var(--brand-2); flex-shrink: 0; }

.footer__bottom {
  padding-top: 28px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
  font-size: .85rem;
}
.footer__legal { display: flex; gap: 22px; }
.footer__legal a { transition: color .2s var(--ease); }
.footer__legal a:hover { color: #fff; }

/* ============== STICKY MOBILE CTA ============== */
.stickyCta {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: linear-gradient(180deg, var(--brand-2), var(--brand));
  color: #fff;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  display: none;
  align-items: center;
  gap: 8px;
  z-index: 90;
  box-shadow: 0 12px 32px -8px rgba(96,94,186,.7);
  transition: transform .35s var(--ease);
}
.stickyCta.is-visible { transform: translateX(-50%) translateY(0); }
.stickyCta--whatsapp {
  background: linear-gradient(180deg, #29CC68, #1EAF57);
  box-shadow: 0 12px 32px -8px rgba(30,175,87,.7);
}

/* ============== REVEAL ANIM ============== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: all .8s var(--ease);
  transition-delay: var(--delay, 0s);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============== CLUB ENVIOEXPRESS ============== */
.club { padding: 110px 0; }
.club__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.club__copy h2 { margin-bottom: 16px; }
.club__copy > p { color: var(--muted); font-size: 1.05rem; line-height: 1.6; margin-bottom: 30px; max-width: 480px; }
.club__list { display: flex; flex-direction: column; gap: 13px; margin-bottom: 32px; }
.club__list li { display: flex; align-items: center; gap: 12px; font-size: 1rem; color: var(--ink-3); }
.club__check {
  width: 24px; height: 24px; flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--brand-soft); color: var(--brand-deep);
}

.club__cardWrap { perspective: 1600px; display: grid; place-items: center; }
.loyaltyCard {
  width: 100%; max-width: 410px;
  aspect-ratio: 1.586;
  border-radius: 22px;
  padding: 28px;
  color: #fff;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-pink) 100%);
  box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; justify-content: space-between;
  position: relative; overflow: hidden;
  transform: rotateY(-7deg) rotateX(3deg);
  transform-style: preserve-3d;
  transition: transform .6s var(--ease);
}
.loyaltyCard:hover { transform: rotateY(0) rotateX(0); }
.loyaltyCard::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 85% -10%, rgba(255,255,255,.28), transparent 55%);
  pointer-events: none;
}
.loyaltyCard > * { position: relative; z-index: 1; }
.loyaltyCard__top { display: flex; align-items: center; justify-content: space-between; }
.loyaltyCard__brand { font-weight: 700; font-size: 1.1rem; letter-spacing: -.02em; }
.loyaltyCard__brand b { font-weight: 700; }
.loyaltyCard__chip { width: 44px; height: 32px; border-radius: 7px; background: linear-gradient(135deg, #F9D976, #C9A227); box-shadow: inset 0 1px 1px rgba(255,255,255,.5); }
.loyaltyCard__num { font-size: 1.3rem; letter-spacing: .2em; font-family: 'Inter', monospace; font-weight: 600; }
.loyaltyCard__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.loyaltyCard__label { font-size: .68rem; text-transform: uppercase; letter-spacing: .12em; opacity: .85; margin-bottom: 3px; }
.loyaltyCard__name { font-weight: 600; font-size: 1.02rem; }
.loyaltyCard__official { font-size: .72rem; opacity: .85; text-align: right; }

/* ============== PROMOCIONES ============== */
.promos { padding: 110px 0; background: var(--bg-2); }
.promos__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.promo {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  display: flex; flex-direction: column;
  transition: all .3s var(--ease);
}
.promo:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--brand); }
.promo__icon {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  font-size: 1.5rem;
  background: var(--brand-soft);
  border-radius: 13px;
  margin-bottom: 18px;
}
.promo__tag {
  font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 8px;
}
.promo__off {
  font-size: 2.3rem; font-weight: 700; letter-spacing: -.03em;
  color: var(--brand-deep); line-height: 1; margin-bottom: 12px;
}
.promo h3 { font-size: 1.1rem; margin-bottom: 8px; }
.promo p { color: var(--muted); font-size: .94rem; line-height: 1.55; }
.promo__note { margin-top: auto; padding-top: 16px; font-size: .73rem; color: var(--muted-2); line-height: 1.5; }
.promo--pink .promo__icon { background: rgba(216,37,85,.1); }
.promo--pink .promo__off { color: var(--brand-pink-deep); }

.promos__cta {
  margin-top: 44px;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  text-align: center;
}
.promos__cta h3 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); }
.promos__cta a.linkU { color: var(--brand-deep); font-weight: 600; font-size: .92rem; }
.promos__cta a.linkU:hover { text-decoration: underline; }

/* ============== FRANQUICIA ============== */
.franq { padding: 0 0 110px; }
.franq__box {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 36px;
  align-items: center;
  padding: 52px 48px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, #2A2D55 0%, #343F52 100%);
  color: #fff;
  position: relative; overflow: hidden;
}
.franq__box::after {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 90% 15%, rgba(216,37,85,.4), transparent 55%),
    radial-gradient(circle at 8% 90%, rgba(96,94,186,.5), transparent 50%);
  pointer-events: none;
}
.franq__box > * { position: relative; z-index: 1; }
.franq__copy h2 { color: #fff; margin-bottom: 12px; }
.franq__copy p { color: rgba(255,255,255,.8); font-size: 1.05rem; line-height: 1.6; max-width: 560px; }
.franq__copy p b { color: #fff; font-weight: 700; }

/* ============== RESPONSIVE ============== */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: 50px; }
  .hero__card { max-width: 520px; margin: 0 auto; }
  .problem__grid { grid-template-columns: repeat(2, 1fr); }
  .benefits__grid { grid-template-columns: repeat(2, 1fr); }
  .bcard--lg { grid-column: span 2; grid-row: auto; }
  .diff__inner { grid-template-columns: 1fr; gap: 50px; }
  .metrics__grid { grid-template-columns: repeat(3, 1fr); }
  .faq__inner { grid-template-columns: 1fr; gap: 40px; }
  .faq__list { position: static; }
  .club__inner { grid-template-columns: 1fr; gap: 44px; }
  .promos__grid { grid-template-columns: repeat(2, 1fr); }
  .franq__box { grid-template-columns: 1fr; gap: 28px; text-align: center; }
  .footer__top { grid-template-columns: 1fr; gap: 40px; }
  .footer__cols { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav__links, .nav__cta .btn--ghost { display: none; }
  .nav__burger { display: flex; }
  .nav__cta { margin-left: auto; }

  .hero { padding: 110px 0 70px; }
  .hero__title { font-size: 2.4rem; }
  .hero__sub { font-size: 1rem; }
  .hero__ctas .btn { flex: 1; min-width: 0; justify-content: center; }
  .hero__bullets { gap: 14px; font-size: .85rem; }

  .quoter { transform: none; padding: 18px; }
  .quoter__row, .quoter__row--3, .quoter__row--4 { grid-template-columns: 1fr 1fr; }
  .hero__float--1 { top: -8px; right: 8px; font-size: .75rem; }
  .hero__float--2 { display: none; }

  .problem, .benefits, .diff, .process, .testimonials, .pricing, .promos, .club, .faq { padding: 70px 0; }
  .franq { padding: 0 0 70px; }
  .franq__box { padding: 40px 26px; }
  .metrics { padding: 50px 0; }
  .section__head { margin-bottom: 40px; }

  .problem__grid, .benefits__grid, .process__grid, .t__grid, .pricing__grid, .promos__grid {
    grid-template-columns: 1fr;
  }
  .bcard--lg { grid-column: span 1; }
  .metrics__grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }

  .cta { padding: 50px 0 90px; }
  .cta__box { padding: 50px 24px; }
  .cta__actions .btn { width: 100%; }

  .footer__cols { grid-template-columns: 1fr 1fr; gap: 28px; }

  .stickyCta { display: inline-flex; }

  /* Mobile nav drawer */
  body.nav-open { overflow: hidden; }
  .nav__links.is-open {
    display: flex;
    position: fixed; inset: 64px 0 0 0;
    flex-direction: column;
    background: rgba(255,255,255,.98);
    backdrop-filter: blur(20px);
    padding: 30px 24px;
    gap: 4px;
    z-index: 99;
  }
  .nav__links.is-open a {
    padding: 14px 16px;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--line-2);
    border-radius: 0;
  }
}

@media (max-width: 420px) {
  .hero__title { font-size: 2.1rem; }
  h2 { font-size: 1.7rem; }
  .container { padding-inline: 18px; }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
