/* =========================================================
   Canaima — Landing
   ========================================================= */
:root {
  --brand: #2340d8;
  --brand-600: #1b33b5;
  --brand-700: #152788;
  --brand-50: #eef1ff;
  --accent: #ffb547;
  --green: #16a87a;
  --ink: #0d1330;
  --ink-2: #3c4466;
  --muted: #6b7394;
  --line: #e4e7f2;
  --bg: #ffffff;
  --bg-soft: #f5f6fb;
  --logo-fg: #ffffff;

  --radius: 20px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(13, 19, 48, .06), 0 2px 8px rgba(13, 19, 48, .05);
  --shadow: 0 10px 30px -10px rgba(13, 19, 48, .18), 0 2px 6px rgba(13, 19, 48, .06);
  --shadow-lg: 0 40px 80px -24px rgba(13, 19, 48, .35);

  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -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; }
h1, h2, h3, h4 { margin: 0; line-height: 1.1; letter-spacing: -0.025em; }
p { margin: 0; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }

.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.container--narrow { width: min(820px, 100% - 40px); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  height: 52px; padding: 0 26px; border-radius: 999px;
  font-weight: 600; font-size: 1rem; border: 1.5px solid transparent;
  transition: transform .2s var(--ease), background .2s, color .2s, box-shadow .2s, border-color .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px -8px rgba(35, 64, 216, .6); }
.btn--primary:hover { background: var(--brand-600); }
.btn--light { background: #fff; color: var(--brand); box-shadow: 0 8px 24px -8px rgba(0, 0, 0, .35); }
.btn--light:hover { background: var(--brand-50); }
.btn--outline-light { color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn--outline-light:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }
.btn--block { width: 100%; }
.btn--light-sm, .btn--ghost-sm { height: 40px; padding: 0 18px; font-size: .9rem; }
.btn--light-sm { background: #fff; color: var(--brand); }
.btn--ghost-sm { color: #fff; }
.btn--ghost-sm:hover { background: rgba(255, 255, 255, .12); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 16px 0 auto; z-index: 50;
  transition: inset .3s var(--ease);
}
.nav__inner {
  width: min(1200px, 100% - 32px); margin-inline: auto;
  display: flex; align-items: center; gap: 24px;
  height: 64px; padding: 0 12px 0 20px; border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .16);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  color: #fff;
  transition: background .3s, color .3s, box-shadow .3s, border-color .3s;
}
.nav.is-scrolled { inset: 10px 0 auto; }
.nav.is-scrolled .nav__inner {
  background: rgba(255, 255, 255, .92); color: var(--ink);
  border-color: var(--line); box-shadow: var(--shadow);
}
.nav.is-scrolled .logo { color: var(--brand); }
.nav.is-scrolled .btn--ghost-sm { color: var(--ink); }
.nav.is-scrolled .btn--ghost-sm:hover { background: var(--bg-soft); }
.nav.is-scrolled .btn--light-sm { background: var(--brand); color: #fff; }
.nav.is-scrolled .nav__burger span { background: var(--ink); }

.logo { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; font-size: 1.35rem; letter-spacing: -0.03em; }
.logo__mark { width: 32px; height: 32px; }
.nav .logo .logo__mark { color: rgba(255,255,255,.18); }
.nav.is-scrolled .logo .logo__mark { color: var(--brand); }
.logo--dark { color: var(--ink); }
.logo--dark .logo__mark { color: var(--brand); }

.nav__links { display: flex; gap: 4px; margin-left: 12px; }
.nav__links a { padding: 8px 14px; border-radius: 999px; font-size: .92rem; font-weight: 500; opacity: .9; transition: background .2s, opacity .2s; }
.nav__links a:hover { opacity: 1; background: rgba(255, 255, 255, .12); }
.nav.is-scrolled .nav__links a:hover { background: var(--bg-soft); }
.nav__cta { margin-left: auto; display: flex; gap: 6px; }

.nav__burger { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: transparent; position: relative; }
.nav__burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s var(--ease), top .3s; }
.nav__burger span:first-child { top: 17px; }
.nav__burger span:last-child { top: 25px; }
.nav.is-open .nav__burger span:first-child { top: 21px; transform: rotate(45deg); }
.nav.is-open .nav__burger span:last-child { top: 21px; transform: rotate(-45deg); }

.nav__mobile {
  display: none; width: min(1200px, 100% - 32px); margin: 8px auto 0;
  padding: 12px; border-radius: 24px; background: #fff; box-shadow: var(--shadow-lg);
  flex-direction: column; gap: 2px;
}
.nav__mobile a:not(.btn) { padding: 14px 16px; border-radius: 14px; font-weight: 600; color: var(--ink); }
.nav__mobile a:not(.btn):hover { background: var(--bg-soft); }
.nav__mobile .btn { margin-top: 8px; }
.nav.is-open .nav__mobile { display: flex; }
.nav.is-open .nav__inner { background: #fff; color: var(--ink); }
.nav.is-open .logo { color: var(--brand); }
.nav.is-open .logo .logo__mark { color: var(--brand); }
.nav.is-open .nav__burger span { background: var(--ink); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--brand); color: #fff;
  padding: 150px 0 0;
}
.hero__glow {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(800px 500px at 85% -10%, rgba(120, 150, 255, .55), transparent 60%),
    radial-gradient(600px 400px at -5% 30%, rgba(255, 181, 71, .22), transparent 60%),
    radial-gradient(900px 600px at 50% 120%, rgba(10, 20, 90, .6), transparent 60%);
}
.hero__glow::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 20%, #000 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 20%, #000 20%, transparent 70%);
}
.hero__content { position: relative; text-align: center; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 999px; font-size: .85rem; font-weight: 600;
}
.pill--onblue { background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22); }
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(255, 181, 71, .25); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(255, 181, 71, 0); } }

.hero__title {
  margin: 26px auto 22px; max-width: 20ch;
  font-size: clamp(2.5rem, 6.4vw, 5.2rem); font-weight: 700; line-height: 1.02;
}
.hero__title .typed { color: #ffd38a; white-space: nowrap; }
.hero__title .line2 { display: block; min-height: 1.02em; }
.caret {
  display: inline-block; width: 3px; height: .85em; margin-left: 4px; vertical-align: -0.08em;
  background: #ffd38a; animation: blink 1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }
.hero__lead { max-width: 620px; margin: 0 auto; font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: rgba(255, 255, 255, .85); }
.hero__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.hero__visual { position: relative; margin-top: 64px; padding-bottom: 60px; z-index: 2; }
.hero__tepuis { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 160px; z-index: 1; }
@media (max-width: 640px) { .hero__tepuis { height: 70px; } }

/* Mock dashboard */
.mock {
  max-width: 980px; margin: 0 auto;
  background: #fff; color: var(--ink);
  border-radius: 22px; overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 0 8px rgba(255, 255, 255, .1);
  transform: perspective(1600px) rotateX(6deg);
  transform-origin: 50% 100%;
}
.mock__bar { display: flex; align-items: center; gap: 7px; height: 42px; padding: 0 16px; background: #f3f4f9; border-bottom: 1px solid var(--line); }
.mock__bar > span { width: 11px; height: 11px; border-radius: 50%; background: #d8dbe8; }
.mock__bar > span:nth-child(1) { background: #ff6b6b; }
.mock__bar > span:nth-child(2) { background: #ffc24b; }
.mock__bar > span:nth-child(3) { background: #3fcf8e; }
.mock__url { margin: 0 auto; padding: 4px 16px; border-radius: 8px; background: #fff; font-size: .78rem; color: var(--muted); border: 1px solid var(--line); }
.mock__body { display: grid; grid-template-columns: 200px 1fr; min-height: 380px; }
.mock__side { padding: 18px 12px; border-right: 1px solid var(--line); background: #fbfbfe; display: flex; flex-direction: column; gap: 2px; }
.mock__side-item { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; font-size: .86rem; color: var(--ink-2); font-weight: 500; }
.mock__side-item b { margin-left: auto; font-size: .72rem; background: var(--brand); color: #fff; padding: 1px 8px; border-radius: 99px; }
.mock__side-item.is-active { background: var(--brand-50); color: var(--brand); font-weight: 700; }
.ic { width: 16px; height: 16px; border-radius: 5px; background: currentColor; opacity: .35; flex: none; }
.is-active .ic { opacity: 1; }
.mock__main { padding: 22px 26px; display: flex; flex-direction: column; gap: 18px; text-align: left; }
.mock__head { display: flex; justify-content: space-between; align-items: center; }
.mock__head small { display: block; color: var(--muted); font-size: .8rem; }
.mock__head strong { font-size: 1.2rem; }
.mock__rate { font-size: .78rem; color: var(--muted); background: var(--bg-soft); padding: 6px 12px; border-radius: 99px; }
.mock__rate b { color: var(--green); }
.mock__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.kpi { border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; display: grid; grid-template-columns: 1fr auto; align-items: end; }
.kpi small { grid-column: 1 / -1; color: var(--muted); font-size: .78rem; }
.kpi strong { font-size: 1.5rem; letter-spacing: -0.03em; }
.kpi__up { font-size: .75rem; font-weight: 700; color: var(--green); background: #e6f8f1; padding: 2px 8px; border-radius: 99px; }
.kpi__muted { font-size: .75rem; color: var(--muted); }
.mock__chart { height: 80px; }
.mock__chart svg { width: 100%; height: 100%; }
.mock__orders { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.order { display: grid; grid-template-columns: 56px 1fr auto 90px; align-items: center; gap: 12px; padding: 11px 16px; font-size: .85rem; }
.order + .order { border-top: 1px solid var(--line); }
.order__id { color: var(--muted); font-weight: 600; }
.order__name { font-weight: 600; }
.order__amt { text-align: right; font-weight: 700; }
.badge { font-size: .72rem; font-weight: 700; padding: 4px 10px; border-radius: 99px; white-space: nowrap; }
.badge--green { background: #e6f8f1; color: #0e8a63; }
.badge--blue { background: var(--brand-50); color: var(--brand); }
.badge--amber { background: #fff4e0; color: #b46d00; }

.float {
  position: absolute; display: flex; align-items: center; gap: 12px;
  background: #fff; color: var(--ink); padding: 12px 18px 12px 12px; border-radius: 16px;
  box-shadow: var(--shadow-lg); text-align: left;
  animation: float 6s ease-in-out infinite;
}
.float small { display: block; font-size: .75rem; color: var(--muted); }
.float strong { font-size: .95rem; }
.float__icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; }
.float__icon svg { width: 22px; height: 22px; }
.float__icon--green { background: #e6f8f1; color: var(--green); }
.float__icon--blue { background: var(--brand-50); color: var(--brand); }
.float--pay { left: 0; top: 34%; }
.float--ship { right: 0; top: 62%; animation-delay: -3s; }
@keyframes float { 50% { transform: translateY(-12px); } }

/* ---------- Strip / marquee ---------- */
.strip { padding: 28px 0 40px; }
.strip__title { text-align: center; color: var(--muted); font-size: .9rem; font-weight: 600; margin-bottom: 22px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; gap: 14px; width: max-content; animation: marquee 40s linear infinite; }
.marquee__track span {
  padding: 12px 22px; border-radius: 99px; border: 1px solid var(--line); background: #fff;
  font-weight: 600; color: var(--ink-2); white-space: nowrap;
}
@keyframes marquee { to { transform: translateX(calc(-50% - 7px)); } }

/* ---------- Sections ---------- */
.section { padding: 110px 0; }
.section--soft { background: var(--bg-soft); }
.section__head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.section__head h2, .feature h2, .contact h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); font-weight: 700; }
.section__head h2 em, .feature h2 em { color: var(--brand); }
.section__head p { margin-top: 18px; font-size: 1.12rem; color: var(--ink-2); }
.eyebrow {
  display: inline-block; margin-bottom: 16px;
  font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--brand);
}
.eyebrow--light { color: #ffd38a; }

/* ---------- Tabs ---------- */
.tabs__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 20px; }
.tab {
  position: relative; text-align: left; padding: 20px 22px 24px; border-radius: var(--radius);
  background: var(--bg-soft); border: 1px solid transparent; color: var(--ink);
  display: grid; grid-template-columns: auto 1fr; column-gap: 14px; row-gap: 2px; overflow: hidden;
  transition: background .25s, border-color .25s, box-shadow .25s;
}
.tab:hover { background: #eceef7; }
.tab.is-active { background: #fff; border-color: var(--line); box-shadow: var(--shadow); }
.tab__num { grid-row: span 2; font-family: var(--serif); font-style: italic; font-size: 1.8rem; color: var(--muted); line-height: 1; }
.tab.is-active .tab__num { color: var(--brand); }
.tab__label { font-weight: 700; font-size: 1.1rem; }
.tab__desc { font-size: .9rem; color: var(--muted); }
.tab__progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: transparent; }
.tab__progress i { display: block; height: 100%; width: 0; background: var(--brand); }
.tab.is-active .tab__progress i { animation: progress var(--tab-ms, 7000ms) linear forwards; }
.tabs.is-paused .tab.is-active .tab__progress i { animation-play-state: paused; }
@keyframes progress { to { width: 100%; } }

.tabs__panels { position: relative; background: var(--bg-soft); border-radius: var(--radius-lg); overflow: hidden; }
.panel { display: none; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 56px; }
.panel.is-active { display: grid; animation: fadeUp .5s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } }
.panel__text h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin-bottom: 14px; }
.panel__text p { color: var(--ink-2); font-size: 1.05rem; margin-bottom: 22px; }

.checks { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 32px; font-weight: 500; color: var(--ink-2); }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--brand-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%232340d8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat;
}
.panel .checks { margin-bottom: 0; }

/* Store mock */
.store { background: #fff; border-radius: 18px; box-shadow: var(--shadow); padding: 18px; }
.store__top { display: flex; justify-content: space-between; align-items: center; font-size: .78rem; color: var(--muted); padding-bottom: 14px; }
.store__top b { color: var(--ink); letter-spacing: .1em; font-size: .85rem; }
.store__banner { border-radius: 14px; padding: 28px 22px; color: #fff; background: linear-gradient(120deg, #ff8a5b, #ffb547 55%, #ffd38a); }
.store__banner span { font-size: .78rem; opacity: .9; display: block; }
.store__banner strong { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 2rem; }
.store__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 14px; }
.prod small { display: block; margin-top: 8px; font-size: .78rem; color: var(--ink-2); }
.prod b { font-size: .85rem; }
.prod__img { aspect-ratio: 1; border-radius: 12px; }
.p1 { background: linear-gradient(160deg, #e9d3bd, #a8714a); }
.p2 { background: linear-gradient(160deg, #d9c2a7, #6e4a32); }
.p3 { background: linear-gradient(160deg, #c9a58a, #5a3524); }

/* Checkout mock */
.checkout { background: #fff; border-radius: 18px; box-shadow: var(--shadow); padding: 22px; display: grid; gap: 10px; max-width: 420px; margin-inline: auto; width: 100%; }
.checkout__head { padding: 6px 4px 14px; }
.checkout__head span { font-size: .8rem; color: var(--muted); display: block; }
.checkout__head strong { font-size: 2rem; letter-spacing: -0.03em; }
.checkout__head small { display: block; color: var(--muted); font-size: .78rem; }
.checkout__opt { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 12px; border: 1.5px solid var(--line); font-weight: 600; font-size: .92rem; }
.checkout__opt.is-sel { border-color: var(--brand); background: var(--brand-50); }
.radio { width: 18px; height: 18px; border-radius: 50%; border: 2px solid #c5cadf; flex: none; }
.is-sel .radio { border: 5px solid var(--brand); }
.tagx { margin-left: auto; font-size: .7rem; color: var(--green); background: #e6f8f1; padding: 3px 8px; border-radius: 99px; }
.checkout__btn { margin-top: 6px; text-align: center; background: var(--brand); color: #fff; font-weight: 700; padding: 14px; border-radius: 12px; }

/* Tracking mock */
.track { background: #fff; border-radius: 18px; box-shadow: var(--shadow); padding: 22px; max-width: 440px; margin-inline: auto; width: 100%; }
.track__head { display: flex; justify-content: space-between; align-items: center; font-weight: 700; }
.track__route { display: flex; align-items: center; gap: 12px; margin: 22px 0; font-size: .95rem; }
.track__line { flex: 1; height: 4px; background: var(--line); border-radius: 4px; position: relative; overflow: hidden; }
.track__line i { position: absolute; inset: 0 35% 0 0; background: var(--brand); border-radius: 4px; }
.track__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.track__steps li { position: relative; padding: 0 0 18px 30px; display: flex; justify-content: space-between; gap: 10px; font-size: .9rem; }
.track__steps li::before { content: ""; position: absolute; left: 4px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: var(--line); z-index: 1; }
.track__steps li:not(:last-child)::after { content: ""; position: absolute; left: 9px; top: 12px; bottom: -4px; width: 2px; background: var(--line); }
.track__steps li.done::before { background: var(--green); }
.track__steps li.done::after { background: var(--green); }
.track__steps li.now::before { background: var(--brand); box-shadow: 0 0 0 5px var(--brand-50); }
.track__steps li:not(.done):not(.now) b { color: var(--muted); font-weight: 500; }
.track__steps small { color: var(--muted); white-space: nowrap; }

/* ---------- Feature blocks ---------- */
.feature { padding: 110px 0; }
.feature--blue { background: var(--brand-700); color: #fff; position: relative; overflow: hidden; }
.feature--blue::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(700px 500px at 100% 0%, rgba(80, 110, 255, .45), transparent 60%),
              radial-gradient(500px 400px at 0% 100%, rgba(255, 181, 71, .14), transparent 60%);
}
.feature--blue h2 em { color: #ffd38a; }
.feature--blue p { color: rgba(255, 255, 255, .8); }
.feature__grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.feature__grid--rev .feature__text { order: 2; }
.feature__text p { font-size: 1.1rem; color: var(--ink-2); margin: 20px 0 28px; }
.feature--blue .feature__text p { color: rgba(255, 255, 255, .8); }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 32px; }
.stats div { padding: 16px; border-radius: 16px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); }
.stats strong { display: block; font-size: 1.35rem; letter-spacing: -0.02em; }
.stats span { font-size: .82rem; color: rgba(255, 255, 255, .7); }

.paycard {
  background: #fff; color: var(--ink); border-radius: 24px; padding: 28px; box-shadow: var(--shadow-lg);
  max-width: 440px; margin-inline: auto;
}
.paycard__top { display: flex; justify-content: space-between; color: var(--muted); font-size: .85rem; }
.paycard__chip { background: var(--brand-50); color: var(--brand); font-weight: 700; font-size: .75rem; padding: 3px 10px; border-radius: 99px; }
.paycard__amt { display: block; font-size: 2.6rem; letter-spacing: -0.04em; margin-top: 6px; }
.paycard > small { color: var(--muted); font-size: .8rem; }
.paycard__list { margin-top: 22px; display: grid; gap: 4px; }
.paycard__list div { display: flex; align-items: center; gap: 10px; padding: 12px 0; border-top: 1px solid var(--line); font-size: .9rem; color: var(--ink-2); }
.paycard__list b { margin-left: auto; color: var(--ink); }
.dot { width: 9px; height: 9px; border-radius: 50%; }
.dot--g { background: var(--green); } .dot--b { background: var(--brand); } .dot--a { background: var(--accent); }

/* Map */
.map { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius-lg); background: linear-gradient(160deg, var(--brand-50), #fff 70%); border: 1px solid var(--line); overflow: hidden; }
.map::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(35, 64, 216, .14) 1.2px, transparent 1.2px);
  background-size: 18px 18px;
}
.map__svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map__route { fill: none; stroke: var(--brand); stroke-width: 2.5; stroke-dasharray: 6 7; animation: dash 1.2s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -13; } }
.map__hub { fill: var(--brand); stroke: #fff; stroke-width: 4; }
.map__pt { fill: #fff; stroke: var(--brand); stroke-width: 3; }
.map__lbl { position: absolute; font-size: .78rem; font-weight: 700; background: #fff; padding: 4px 10px; border-radius: 99px; box-shadow: var(--shadow-sm); white-space: nowrap; }
.map__card { position: absolute; right: 18px; bottom: 18px; background: var(--ink); color: #fff; padding: 14px 18px; border-radius: 16px; }
.map__card small { display: block; font-size: .72rem; opacity: .7; }
.map__card strong { font-size: 1.4rem; }
.map__card span { display: block; font-size: .72rem; opacity: .7; }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: #fff; border-radius: var(--radius); padding: 30px; border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card__icon { width: 52px; height: 52px; border-radius: 14px; background: var(--brand-50); color: var(--brand); display: grid; place-items: center; margin-bottom: 22px; }
.card__icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.card p { color: var(--ink-2); font-size: .98rem; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.step { position: relative; padding: 36px 30px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.step__num { font-family: var(--serif); font-style: italic; font-size: 4rem; line-height: 1; color: var(--brand); display: block; margin-bottom: 18px; }
.step h3 { font-size: 1.3rem; margin-bottom: 10px; }
.step p { color: var(--ink-2); }
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 58px; right: -20px; width: 20px; height: 2px; background: var(--line);
}

/* ---------- Segments ---------- */
.segments { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.seg {
  position: relative; min-height: 340px; padding: 32px; border-radius: var(--radius-lg);
  color: #fff; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden;
  transition: transform .35s var(--ease);
}
.seg:hover { transform: translateY(-6px); }
.seg::before { content: ""; position: absolute; inset: 0; z-index: 0; }
.seg > * { position: relative; }
.seg--1 { background: linear-gradient(160deg, #ff9a62, #e8582f); }
.seg--2 { background: linear-gradient(160deg, #3d5cff, #1b2fa8); }
.seg--3 { background: linear-gradient(160deg, #1c2340, #0b0f22); }
.seg::after {
  content: ""; position: absolute; right: -40px; top: -40px; width: 220px; height: 220px; border-radius: 50%;
  border: 40px solid rgba(255, 255, 255, .08);
}
.seg__tag { align-self: flex-start; margin-bottom: auto; font-size: .78rem; font-weight: 700; padding: 6px 12px; border-radius: 99px; background: rgba(255, 255, 255, .16); backdrop-filter: blur(6px); }
.seg h3 { font-size: 1.6rem; margin-bottom: 10px; }
.seg p { color: rgba(255, 255, 255, .85); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: 18px; background: #fff; transition: box-shadow .25s, border-color .25s; }
.faq details[open] { box-shadow: var(--shadow); border-color: transparent; }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 64px 22px 26px; font-weight: 700; font-size: 1.05rem; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 30px; height: 30px; margin-top: -15px; border-radius: 50%;
  background: var(--bg-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 6v12M6 12h12' stroke='%230d1330' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center/14px no-repeat;
  transition: transform .3s var(--ease), background-color .3s;
}
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--brand-50); }
.faq details p { padding: 0 26px 24px; color: var(--ink-2); }

/* ---------- Contact ---------- */
.contact { position: relative; padding: 120px 0; background: var(--brand); color: #fff; overflow: hidden; }
.contact::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(700px 500px at 0% 0%, rgba(120, 150, 255, .5), transparent 60%),
              radial-gradient(600px 500px at 100% 100%, rgba(255, 181, 71, .2), transparent 60%);
}
.contact__grid { position: relative; display: grid; grid-template-columns: 1fr 1.05fr; gap: 72px; align-items: center; }
.contact h2 em { color: #ffd38a; }
.contact__text p { margin: 20px 0 30px; font-size: 1.12rem; color: rgba(255, 255, 255, .85); }
.contact__perks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.contact__perks li { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.contact__perks span { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .15); font-size: .85rem; }

.form { position: relative; background: #fff; color: var(--ink); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow-lg); display: grid; gap: 16px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; border: 0; margin: 0; padding: 0; min-width: 0; }
.field > span { font-size: .85rem; font-weight: 600; color: var(--ink-2); }
.field > span em { font-family: var(--font); font-style: normal; color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: .98rem; color: var(--ink);
  padding: 13px 15px; border-radius: 12px; border: 1.5px solid var(--line); background: #fbfbfe;
  transition: border-color .2s, box-shadow .2s, background .2s; outline: none;
}
.field textarea { resize: vertical; min-height: 90px; }
.field select { appearance: none; -webkit-appearance: none; background: #fbfbfe url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%236b7394' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") right 14px center/18px no-repeat; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px rgba(35, 64, 216, .12); }
.field.is-invalid input, .field.is-invalid select { border-color: #e5484d; box-shadow: 0 0 0 4px rgba(229, 72, 77, .1); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; padding: 9px 16px; border-radius: 99px; border: 1.5px solid var(--line); font-weight: 600; font-size: .9rem; cursor: pointer; transition: all .2s; user-select: none; }
.chip input:checked + span { background: var(--brand); border-color: var(--brand); color: #fff; }
.chip input:focus-visible + span { box-shadow: 0 0 0 4px rgba(35, 64, 216, .2); }
.form__legal { font-size: .78rem; color: var(--muted); text-align: center; }
.form .btn[disabled] { opacity: .7; pointer-events: none; }

.form__success {
  position: absolute; inset: 0; border-radius: inherit; background: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 40px; gap: 10px;
  animation: fadeUp .5s var(--ease);
}
.form__success[hidden] { display: none; }
.form__success-icon { width: 72px; height: 72px; border-radius: 50%; background: #e6f8f1; color: var(--green); display: grid; place-items: center; margin-bottom: 10px; }
.form__success-icon svg { width: 36px; height: 36px; }
.form__success h3 { font-size: 1.5rem; }
.form__success p { color: var(--ink-2); }

/* ---------- Footer ---------- */
.footer { padding: 72px 0 32px; background: #fff; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid var(--line); }
.footer__brand p { margin-top: 16px; color: var(--muted); max-width: 320px; }
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col h4 { font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 6px; }
.footer__col a { color: var(--ink-2); font-weight: 500; }
.footer__col a:hover { color: var(--brand); }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; padding-top: 24px; color: var(--muted); font-size: .88rem; flex-wrap: wrap; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav__links { display: none; }
  .float--pay { left: -6px; }
  .float--ship { right: -6px; }
}
@media (max-width: 900px) {
  .nav__cta { display: none; }
  .nav__burger { display: block; }
  .panel { grid-template-columns: 1fr; padding: 32px; gap: 32px; }
  .feature__grid, .contact__grid { grid-template-columns: 1fr; gap: 48px; }
  .feature__grid--rev .feature__text { order: 0; }
  .cards, .steps, .segments { grid-template-columns: 1fr 1fr; }
  .step::after { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .mock__body { grid-template-columns: 1fr; }
  .mock__side { display: none; }
}
@media (max-width: 640px) {
  .container, .container--narrow { width: calc(100% - 32px); }
  .section, .feature { padding: 80px 0; }
  .contact { padding: 88px 0; }
  .hero { padding-top: 120px; }
  .hero__title .typed { white-space: normal; }
  .hero__actions .btn { width: 100%; }
  .hero__visual { margin-top: 44px; }
  .mock { transform: none; }
  .mock__main { padding: 16px; gap: 14px; }
  .mock__head .mock__rate { display: none; }
  .mock__kpis { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .kpi { padding: 10px; }
  .kpi strong { font-size: 1.1rem; }
  .kpi__up, .kpi__muted { display: none; }
  .order { grid-template-columns: 1fr auto; row-gap: 4px; }
  .order__id { display: none; }
  .order .badge { grid-row: 2; justify-self: start; }
  .order__amt { grid-row: 1 / span 2; grid-column: 2; align-self: center; }
  .float { display: none; }
  .tabs__list { grid-template-columns: 1fr; }
  .tab__desc { display: none; }
  .tab { padding: 16px 18px 18px; }
  .tab__num { grid-row: auto; font-size: 1.4rem; }
  .panel { padding: 24px 18px; }
  .stats { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
  .stats div { padding: 12px; }
  .stats strong { font-size: 1.05rem; }
  .cards, .steps, .segments { grid-template-columns: 1fr; }
  .seg { min-height: 260px; }
  .form { padding: 24px 20px; }
  .form__row { grid-template-columns: 1fr; }
  .map__lbl { font-size: .66rem; padding: 3px 7px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

/* =========================================================
   Secciones añadidas (datos locales)
   ========================================================= */
.section--tight { padding-bottom: 90px; }

/* Hero micro-copy */
.hero__micro { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 22px; margin-top: 22px; font-size: .9rem; color: rgba(255, 255, 255, .78); }
.hero__micro span { display: inline-flex; align-items: center; gap: 8px; }
.hero__micro span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* Pains */
.pains { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pain { position: relative; padding: 34px 30px; border-radius: var(--radius); background: var(--bg-soft); overflow: hidden; }
.pain__big { display: block; font-family: var(--serif); font-style: italic; font-size: 4.2rem; line-height: 1; color: var(--brand); margin-bottom: 18px; }
.pain h3 { font-size: 1.3rem; margin-bottom: 10px; }
.pain p { color: var(--ink-2); }

/* Store mock extras */
.prod { position: relative; }
.prod b s { color: var(--muted); font-weight: 500; font-size: .75rem; margin-left: 4px; }
.prod__tag { position: absolute; top: 8px; left: 8px; font-style: normal; font-size: .66rem; font-weight: 700; color: #0e8a63; background: #e6f8f1; padding: 2px 8px; border-radius: 99px; }

/* Checkout mock extras */
.checkout__opt > span:not(.tagx) { display: flex; flex-direction: column; line-height: 1.3; }
.checkout__opt small { font-weight: 500; color: var(--muted); font-size: .76rem; }
.checkout__price { margin-left: auto; font-size: .92rem; }
.checkout__place { font-size: 1.4rem !important; }
.checkout .tagx { white-space: nowrap; }

/* Payment confirmation card */
.paycard .badge { align-self: center; }
.paycard__amt { font-size: 2rem; }
.paycard__list div { justify-content: space-between; }
.paycard__ok { display: flex; gap: 12px; align-items: flex-start; margin-top: 16px; padding: 14px; border-radius: 14px; background: #e6f8f1; }
.paycard__ok-icon { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; }
.paycard__ok-icon svg { width: 16px; height: 16px; }
.paycard__ok b { display: block; color: #0e8a63; font-size: .92rem; }
.paycard__ok span { font-size: .82rem; color: var(--ink-2); }

/* Carriers */
.carriers { display: flex; flex-wrap: wrap; gap: 8px; margin: -6px 0 28px; }
.carriers span { padding: 8px 14px; border-radius: 99px; border: 1px solid var(--line); background: #fff; font-weight: 700; font-size: .85rem; color: var(--ink-2); }

/* 4-col cards */
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.cards--4 .card { padding: 26px; }
.cards--4 .card h3 { font-size: 1.08rem; }
.cards--4 .card p { font-size: .93rem; }

/* Plans */
.billing { display: flex; width: max-content; margin: -24px auto 40px; padding: 5px; border-radius: 99px; background: var(--bg-soft); border: 1px solid var(--line); }
.billing__opt { border: 0; background: transparent; padding: 10px 20px; border-radius: 99px; font-weight: 600; color: var(--ink-2); transition: background .2s, color .2s, box-shadow .2s; }
.billing__opt span { font-size: .75rem; font-weight: 700; color: var(--green); margin-left: 4px; }
.billing__opt.is-active { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 34px 30px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: #fff; }
.plan h3 { font-size: 1.35rem; }
.plan__desc { color: var(--muted); margin-top: 6px; font-size: .95rem; }
.plan__price { display: flex; align-items: baseline; gap: 6px; margin-top: 22px; }
.plan__price strong { font-size: 3rem; letter-spacing: -0.04em; line-height: 1; }
.plan__price span { color: var(--muted); }
.plan__note { font-size: .85rem; color: var(--muted); margin: 6px 0 24px; }
.plan .checks { margin-bottom: 24px; flex: 1; }
.plan__fee { padding: 12px 0; margin-bottom: 18px; border-top: 1px solid var(--line); color: var(--ink-2); font-size: .95rem; }
.plan__fee b { color: var(--ink); font-size: 1.1rem; }
.plan--featured { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: 0 30px 60px -24px rgba(35, 64, 216, .55); transform: translateY(-8px); }
.plan--featured.reveal.is-visible { transform: translateY(-8px); }
.plan--featured .plan__desc, .plan--featured .plan__price span, .plan--featured .plan__note { color: rgba(255, 255, 255, .75); }
.plan--featured .checks li { color: rgba(255, 255, 255, .92); }
.plan--featured .checks li::before { background-color: rgba(255, 255, 255, .95); }
.plan--featured .plan__fee { border-color: rgba(255, 255, 255, .2); color: rgba(255, 255, 255, .85); }
.plan--featured .plan__fee b { color: #fff; }
.plan__badge { position: absolute; top: -13px; left: 30px; padding: 5px 12px; border-radius: 99px; background: var(--accent); color: var(--ink); font-size: .75rem; font-weight: 800; }
.btn--outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn--outline:hover { border-color: var(--brand); color: var(--brand); }
.plans__foot { text-align: center; color: var(--muted); font-size: .9rem; margin-top: 30px; }

@media (max-width: 1080px) {
  .cards--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .pains { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
  .plan--featured, .plan--featured.reveal.is-visible { transform: none; }
}
@media (max-width: 640px) {
  .hero__micro { flex-direction: column; align-items: center; }
  .hero__title .line2 { min-height: 2.04em; }
  .cards--4 { grid-template-columns: 1fr; }
  .billing { margin-top: -24px; }
  .checkout .tagx { display: none; }
}

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

/* Pantallas muy estrechas */
.feature__grid > *, .contact__grid > *, .panel > * { min-width: 0; }
.stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 420px) {
  .stats { grid-template-columns: 1fr; }
  .mock__kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
