/* =========================================================
   campañaspublicitarias · estilos
   Mobile-first. Colores en variables (modo claro y oscuro).
   ========================================================= */

:root {
  /* Marca */
  --navy-900: #04122b;
  --navy-800: #071a3a;
  --navy-700: #0b2a5b;
  --navy-600: #12407f;
  --cyan: #12c6e6;
  --cyan-600: #0aa6c4;
  --accent: #ff8a3d;        /* naranja mediterráneo: botones principales */
  --accent-600: #ef7424;

  /* Tema claro */
  --bg: #ffffff;
  --bg-tint: #f2f7fb;
  --surface: #ffffff;
  --text: #0b1d3a;
  --muted: #4b5d78;
  --line: #dbe5ef;
  --card-a: #eaf5fb;
  --card-b: #d5eaf6;
  --head: #071a3a;
  --shadow: 0 10px 30px rgba(7, 26, 58, .10);

  --radius: 20px;
  --radius-sm: 12px;
  --gutter: 16px;
  --topbar: 64px;
  --font: "Overpass", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #061224;
    --bg-tint: #0a1a33;
    --surface: #0d2140;
    --text: #e7eef8;
    --muted: #a3b4cc;
    --line: #1c3459;
    --card-a: #0f2747;
    --card-b: #0b1f3b;
    --head: #e7eef8;
    --shadow: 0 10px 30px rgba(0, 0, 0, .35);
  }
}
:root[data-theme="dark"] {
  --bg: #061224;
  --bg-tint: #0a1a33;
  --surface: #0d2140;
  --text: #e7eef8;
  --muted: #a3b4cc;
  --line: #1c3459;
  --card-a: #0f2747;
  --card-b: #0b1f3b;
  --head: #e7eef8;
  --shadow: 0 10px 30px rgba(0, 0, 0, .35);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--topbar) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.12; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.01em; }
h2 { font-size: clamp(1.9rem, 6vw, 3.1rem); color: var(--head); font-weight: 600; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--accent); color: var(--navy-900); padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: 820px; }
.section { padding: 80px 0; position: relative; background: var(--bg); }
.section--tint { background: var(--bg-tint); }

.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 700; color: var(--cyan-600); margin-bottom: 14px; }
.eyebrow--light { color: var(--cyan); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  font: 700 1rem/1 var(--font); text-decoration: none; cursor: pointer;
  border: 2px solid transparent; transition: transform .2s, background .2s, color .2s, box-shadow .2s;
}
.btn svg { width: 20px; height: 20px; }
.btn:hover { transform: translateY(-2px); }
.btn--accent { background: var(--accent); color: var(--navy-900); box-shadow: 0 8px 24px rgba(255, 138, 61, .35); }
.btn--accent:hover { background: #ff9a55; }
.btn--accent svg { fill: currentColor; stroke: none; }
.btn--ghost { color: #fff; border-color: rgba(255,255,255,.5); }
.btn--ghost:hover { background: #fff; color: var(--navy-800); }
.btn--line { color: var(--head); border-color: var(--head); background: transparent; }
.btn--line:hover { background: var(--head); color: var(--bg); }
.btn--block { width: 100%; }

/* ---------- Cabecera ---------- */
.topbar {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--topbar);
  background: rgba(4, 18, 43, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.06); color: #fff;
}
.topbar__in { height: 100%; max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter); display: flex; align-items: center; gap: 14px; }
.brand { display: flex; align-items: center; min-width: 0; }
.brand img { height: 26px; width: auto; }
.menu-btn { width: 40px; height: 40px; display: grid; place-content: center; gap: 5px; background: none; border: 0; cursor: pointer; padding: 0; }
.menu-btn span { width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s, opacity .3s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav {
  position: fixed; inset: var(--topbar) 0 auto; background: var(--navy-900);
  display: flex; flex-direction: column; padding: 8px var(--gutter) 24px;
  transform: translateY(-110%); transition: transform .35s ease; z-index: -1;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav.open { transform: none; }
.nav a { color: #fff; text-decoration: none; padding: 14px 4px; font-size: 1.1rem; border-bottom: 1px solid rgba(255,255,255,.08); }
.nav__cta { color: var(--cyan) !important; font-weight: 700; }
.topbar__tools { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.theme-btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); background: none; color: #fff; display: grid; place-items: center; cursor: pointer; }
.theme-btn svg { width: 20px; height: 20px; }
.theme-btn .moon { display: none; }
:root[data-theme="dark"] .theme-btn .sun { display: none; }
:root[data-theme="dark"] .theme-btn .moon { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-btn .sun { display: none; }
  :root:not([data-theme="light"]) .theme-btn .moon { display: block; }
}
.topbar__wa { display: none; align-items: center; gap: 8px; color: #fff; text-decoration: none; font-weight: 600; font-size: .95rem; }
.topbar__wa svg { width: 20px; height: 20px; fill: currentColor; stroke: none; }

@media (min-width: 960px) {
  .menu-btn { display: none; }
  .nav { position: static; transform: none; flex-direction: row; background: none; padding: 0; border: 0; gap: 4px; margin-left: 28px; z-index: auto; }
  .nav a { border: 0; padding: 8px 12px; font-size: .95rem; border-radius: 8px; }
  .nav a:hover { background: rgba(255,255,255,.08); }
  .topbar__wa { display: inline-flex; }
}

/* ---------- Portada fija (sticky) + hoja que sube ---------- */
.stage { position: relative; }
.hero {
  position: sticky; top: 0; z-index: 0;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--topbar) + 40px) 0 80px;
  background: radial-gradient(120% 90% at 80% 10%, #133f80 0%, var(--navy-800) 45%, var(--navy-900) 100%);
  color: #fff; overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; will-change: transform; }
.blob--1 { width: 60vmax; height: 60vmax; background: var(--cyan); right: -25vmax; top: -20vmax; opacity: .28; }
.blob--2 { width: 40vmax; height: 40vmax; background: #1d5fd1; left: -15vmax; bottom: -15vmax; opacity: .45; }
.blob--3 { width: 22vmax; height: 22vmax; background: var(--accent); right: 10vw; bottom: 8vh; opacity: .22; }
.hero__grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 75%);
}
/* Franjas diagonales tipo "barra" */
.stripe { position: absolute; width: 120px; height: 140vh; border-radius: 80px; transform: rotate(-28deg); }
.stripe--1 { right: -40px; top: -20vh; background: linear-gradient(var(--cyan), transparent 80%); opacity: .35; }
.stripe--2 { right: 90px; top: -10vh; width: 44px; background: linear-gradient(#2c74e6, transparent 80%); opacity: .5; }

.hero__content {
  position: relative; width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter);
  opacity: calc(1 - var(--p, 0) * 1.3);
  transform: translateY(calc(var(--p, 0) * -60px)) scale(calc(1 - var(--p, 0) * .06));
}
.hero h1 { font-size: clamp(2.2rem, 7.5vw, 3.9rem); font-weight: 700; max-width: 18ch; margin-bottom: 22px; }
.hl { background: linear-gradient(90deg, var(--cyan), #7fe6f7); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__lead { font-size: clamp(1.05rem, 2.6vw, 1.3rem); max-width: 40ch; color: #c9d7ea; font-weight: 300; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 36px; }
.hero__ctas .btn { flex: 1 1 220px; }
@media (min-width: 640px) { .hero__ctas .btn { flex: 0 0 auto; } }

.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips a {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px;
  background: rgba(255,255,255,.95); color: var(--navy-800); border-radius: 10px;
  text-decoration: none; font-weight: 700; font-size: .9rem; box-shadow: 0 6px 20px rgba(0,0,0,.2);
  transition: transform .2s;
}
.chips a:hover { transform: translateY(-3px); }
.chips svg { width: 18px; height: 18px; color: var(--navy-600); }

.scroll-hint { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); width: 28px; height: 44px; border: 2px solid rgba(255,255,255,.5); border-radius: 20px; opacity: calc(1 - var(--p, 0) * 3); }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; background: #fff; border-radius: 2px; animation: wheel 1.8s infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(14px); opacity: 0; } }

.sheet {
  position: relative; z-index: 2;
  border-radius: 32px 32px 0 0; margin-top: -32px;
  box-shadow: 0 -20px 50px rgba(0,0,0,.25);
}

/* ---------- Tarjetas ---------- */
.cards3 { display: grid; gap: 16px; margin-top: 36px; }
@media (min-width: 800px) { .cards3 { grid-template-columns: repeat(3, 1fr); } }
.card { border-radius: var(--radius); padding: 28px 24px 0; position: relative; overflow: hidden; }
.card--soft { background: linear-gradient(160deg, var(--card-a), var(--card-b)); min-height: 280px; display: flex; flex-direction: column; }
.card__tag { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.card h3 { font-size: 1.45rem; margin: 10px 0 10px; color: var(--head); font-weight: 600; }
.card p { color: var(--muted); }
.card__art { width: 140px; margin: auto 0 0 auto; color: var(--cyan-600); }
.card__art rect, .card__art circle, .card__art path { stroke-width: 2.4; }
.card__art .fill { fill: var(--accent); stroke: var(--accent); }
.card__art text { fill: var(--accent); stroke: none; font-family: var(--font); font-weight: 800; font-size: 22px; }

/* ---------- Scrollytelling: Cómo trabajo ---------- */
.story { background: var(--bg); padding-bottom: 40px; }
.story__grid { display: grid; gap: 0; margin-top: 24px; }
.story__sticky { position: sticky; top: calc(var(--topbar) + 12px); z-index: 2; height: fit-content; padding-bottom: 12px; background: linear-gradient(var(--bg) 85%, transparent); }
.device {
  position: relative; max-width: 420px; margin: 0 auto; height: 300px;
  background: linear-gradient(160deg, var(--navy-700), var(--navy-900)); color: #fff;
  border-radius: 24px; padding: 16px; box-shadow: 0 24px 60px rgba(7,26,58,.35); overflow: hidden;
}
.device__bar { display: flex; align-items: center; gap: 6px; margin-bottom: 10px; }
.device__bar span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.25); }
.device__bar em { margin-left: auto; font-style: normal; font-size: .78rem; color: var(--cyan); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.story__progress { height: 3px; background: rgba(255,255,255,.12); border-radius: 3px; overflow: hidden; margin-bottom: 14px; }
.story__progress span { display: block; height: 100%; width: 33%; background: var(--cyan); transition: width .5s ease; }

.screen { position: absolute; inset: 62px 16px 16px; opacity: 0; transform: translateY(24px) scale(.97); transition: opacity .5s ease, transform .5s ease; pointer-events: none; }
.device[data-step="1"] .screen--1,
.device[data-step="2"] .screen--2,
.device[data-step="3"] .screen--3 { opacity: 1; transform: none; }
.screen__title { font-weight: 700; font-size: 1.05rem; margin-bottom: 10px; }
.screen__title small { font-weight: 400; color: #9fb3d1; font-size: .75rem; }
.check { list-style: none; margin: 0 0 10px; padding: 0; font-size: .9rem; }
.check li { display: flex; gap: 10px; align-items: center; padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.check i { width: 16px; height: 16px; border-radius: 4px; border: 2px solid var(--accent); flex: none; }
.note { font-size: .82rem; background: rgba(18,198,230,.12); border-left: 3px solid var(--cyan); padding: 8px 10px; border-radius: 6px; color: #d6e6f7; }
.menu-item { display: flex; align-items: center; gap: 10px; padding: 7px 10px; background: rgba(255,255,255,.06); border-radius: 10px; margin-bottom: 6px; font-size: .88rem; }
.menu-item b { display: block; font-weight: 600; }
.menu-item small { color: #9fb3d1; font-size: .75rem; }
.menu-item em { margin-left: auto; font-style: normal; background: var(--cyan); color: var(--navy-900); font-weight: 800; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: .8rem; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); flex: none; }
.dot--bar { background: var(--cyan); }
.langs { display: flex; gap: 6px; margin: 4px 0 8px; }
.langs span { font-size: .7rem; padding: 3px 8px; border-radius: 6px; border: 1px solid rgba(255,255,255,.2); }
.langs .on { background: #fff; color: var(--navy-800); font-weight: 700; }
.send { display: flex; align-items: center; justify-content: center; gap: 8px; background: var(--accent); color: var(--navy-900); font-weight: 800; border-radius: 999px; padding: 9px; font-size: .9rem; }
.send svg { width: 18px; height: 18px; stroke-width: 2.4; }
.kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 10px; }
.kpis div { background: rgba(255,255,255,.07); border-radius: 10px; padding: 8px 10px; }
.kpis small { display: block; color: #9fb3d1; font-size: .72rem; }
.kpis b { font-size: 1.15rem; color: var(--cyan); }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 64px; margin-bottom: 10px; }
.bars span { flex: 1; height: var(--h); background: linear-gradient(var(--cyan), #1d5fd1); border-radius: 4px 4px 0 0; transform-origin: bottom; transform: scaleY(0); transition: transform .7s cubic-bezier(.2,.8,.2,1); }
.device[data-step="3"] .bars span { transform: scaleY(1); }
.device[data-step="3"] .bars span:nth-child(2) { transition-delay: .05s; }
.device[data-step="3"] .bars span:nth-child(3) { transition-delay: .1s; }
.device[data-step="3"] .bars span:nth-child(4) { transition-delay: .15s; }
.device[data-step="3"] .bars span:nth-child(5) { transition-delay: .2s; }
.device[data-step="3"] .bars span:nth-child(6) { transition-delay: .25s; }
.device[data-step="3"] .bars span:nth-child(7) { transition-delay: .3s; }

.story__steps { list-style: none; margin: 0; padding: 0; }
.step { min-height: 70vh; display: flex; flex-direction: column; justify-content: center; padding: 40px 0; opacity: .3; transition: opacity .4s; }
.step.is-active { opacity: 1; }
.step__num { font-size: 3.4rem; font-weight: 800; line-height: 1; color: transparent; -webkit-text-stroke: 2px var(--cyan-600); margin-bottom: 12px; }
.step h3 { font-size: clamp(1.6rem, 4.5vw, 2.4rem); color: var(--head); font-weight: 600; }
.step p { color: var(--muted); max-width: 46ch; font-size: 1.05rem; }
.step__out { color: var(--head) !important; font-weight: 700; display: flex; gap: 10px; align-items: center; }
.step__out::before { content: ""; width: 24px; height: 3px; background: var(--accent); border-radius: 3px; }

@media (min-width: 900px) {
  .story__grid { grid-template-columns: 1fr 1fr; gap: 64px; }
  .story__sticky { order: 2; top: calc(50vh - 200px); background: none; }
  .device { height: 400px; padding: 22px; }
  .screen { inset: 74px 22px 22px; }
  .step { min-height: 90vh; }
  .bars { height: 120px; }
  .menu-item { padding: 10px 12px; }
}

/* ---------- Planes ---------- */
.plans__grid { display: grid; gap: 18px; margin-top: 36px; align-items: start; }
@media (min-width: 900px) { .plans__grid { grid-template-columns: 1.1fr 1fr 1fr; } }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 24px; position: relative; box-shadow: var(--shadow); }
.plan h3 { font-size: 2rem; font-weight: 800; color: var(--head); margin-bottom: 4px; letter-spacing: .02em; }
.plan__kicker { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 700; color: var(--muted); margin: 0; }
.price { display: flex; align-items: flex-start; gap: 4px; margin: 10px 0 4px; color: var(--head); }
.price__n { font-size: 4rem; font-weight: 800; line-height: .9; }
.price__u { font-size: 1.6rem; font-weight: 700; line-height: 1; display: flex; flex-direction: column; }
.price__u small { font-size: .95rem; font-weight: 600; }
.plan__meta { color: var(--muted); font-size: .95rem; margin-bottom: 18px; }
.ticks { list-style: none; margin: 0 0 24px; padding: 0; }
.ticks li { position: relative; padding: 8px 0 8px 34px; border-top: 1px solid var(--line); font-size: .97rem; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 9px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--navy-700) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center/14px no-repeat;
}
.ticks li.no { color: var(--muted); }
.ticks li.no::before { background: var(--line) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234b5d78' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7 7 17'/%3E%3C/svg%3E") center/12px no-repeat; }

.plan--featured { background: linear-gradient(165deg, var(--navy-700), var(--navy-900)); color: #fff; border: 0; padding-top: 44px; }
.plan--featured h3, .plan--featured .price { color: #fff; }
.plan--featured .plan__kicker { color: var(--cyan); }
.plan--featured .plan__meta { color: #c9d7ea; }
.plan--featured .plan__meta b { color: #fff; }
.plan--featured .ticks li { border-color: rgba(255,255,255,.1); }
.plan--featured .ticks li::before { background-color: var(--cyan); }
.badge { position: absolute; top: -14px; left: 24px; background: var(--accent); color: var(--navy-900); font-weight: 800; font-size: .85rem; padding: 7px 14px; border-radius: 8px; box-shadow: 0 6px 16px rgba(255,138,61,.4); }

.plans__notes { margin-top: 28px; display: grid; gap: 12px; }
.plans__notes p { margin: 0; padding: 16px 18px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line); color: var(--muted); }
.plans__notes b { color: var(--head); }
@media (min-width: 900px) { .plans__notes { grid-template-columns: 1fr 1.4fr; } }

/* Calculadora */
.calc { margin-top: 28px; border-radius: var(--radius); background: linear-gradient(160deg, var(--card-a), var(--card-b)); padding: 26px 22px; display: grid; gap: 18px; }
.calc__head h3 { font-size: 1.5rem; color: var(--head); margin-bottom: 4px; }
.calc__head p { color: var(--muted); margin: 0; }
.seg { border: 0; padding: 4px; margin: 0 0 18px; display: flex; background: var(--surface); border-radius: 999px; border: 1px solid var(--line); }
.seg label { flex: 1; }
.seg input { position: absolute; opacity: 0; }
.seg span { display: block; text-align: center; padding: 10px 6px; border-radius: 999px; font-weight: 700; font-size: .9rem; cursor: pointer; color: var(--muted); transition: background .2s, color .2s; }
.seg input:checked + span { background: var(--navy-700); color: #fff; }
.seg input:focus-visible + span { outline: 3px solid var(--cyan); }
.range { display: block; font-weight: 700; color: var(--head); margin-bottom: 18px; }
.range input { width: 100%; margin-top: 10px; accent-color: var(--accent); height: 28px; }
.calc__out { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0; }
.calc__out div { background: var(--surface); border-radius: var(--radius-sm); padding: 12px 14px; border: 1px solid var(--line); }
.calc__out dt { font-size: .8rem; color: var(--muted); }
.calc__out dd { margin: 2px 0 0; font-size: 1.35rem; font-weight: 800; color: var(--head); }
#calcTotal { color: var(--accent-600); }
.calc__fine { font-size: .85rem; color: var(--muted); margin: 12px 0 0; }
@media (min-width: 900px) { .calc { grid-template-columns: 1fr 2fr; padding: 34px; align-items: center; } }

/* ---------- Scroll horizontal fijado (cupón) ---------- */
.hscroll { position: relative; background: var(--navy-900); color: #fff; }
.hscroll__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; padding-top: var(--topbar); }
.hscroll__intro h2 { color: #fff; margin-bottom: 24px; }
.hscroll__track { display: flex; gap: 16px; padding: 0 var(--gutter); will-change: transform; }
.hcard {
  flex: 0 0 min(78vw, 360px); min-height: 360px; border-radius: var(--radius); padding: 22px;
  background: linear-gradient(160deg, #10306a, #0a2149); border: 1px solid rgba(255,255,255,.08);
  position: relative; display: flex; flex-direction: column;
}
.hcard__n { position: absolute; top: 16px; right: 20px; font-size: 4rem; font-weight: 800; line-height: 1; color: transparent; -webkit-text-stroke: 2px rgba(18,198,230,.5); }
.hcard__art { height: 170px; display: grid; place-items: center; margin-bottom: 16px; }
.hcard h3 { font-size: 1.5rem; margin-top: auto; }
.hcard p { color: #c0cfe4; margin: 0; }
.hcard--report { background: linear-gradient(160deg, var(--cyan-600), #0b5f9e); }
.hcard--report h3 { margin-top: 30px; }
.hcard__sub { font-size: .9rem; margin-bottom: 12px !important; color: #e6f7fc !important; }
.report { margin: auto 0 0; display: grid; gap: 8px; }
.report div { display: flex; justify-content: space-between; align-items: baseline; padding: 10px 12px; border-radius: 10px; background: rgba(4,18,43,.35); }
.report dt { font-size: .9rem; }
.report dd { margin: 0; font-weight: 800; font-size: 1.25rem; }
.report .acc { color: #ffd2b3; }
.ad { width: 170px; background: #fff; color: var(--navy-800); border-radius: 14px; padding: 10px; box-shadow: 0 10px 30px rgba(0,0,0,.3); }
.ad__img { display: block; height: 80px; border-radius: 8px; background: linear-gradient(135deg, var(--accent), #ffc59b); margin-bottom: 8px; }
.ad b { display: block; font-size: .9rem; }
.ad small { color: #6b7c96; font-size: .7rem; }
.qr { width: 120px; height: 120px; background: #fff; border-radius: 12px; padding: 12px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; }
.qr i { background: var(--navy-900); border-radius: 3px; }
.qr i:nth-child(3n) { background: transparent; border: 3px solid var(--navy-900); }
.qr i:nth-child(5n) { background: transparent; }
.code { margin-top: 8px; color: var(--cyan); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: .72rem; }
.scan { width: 150px; height: 150px; border: 3px solid var(--cyan); border-radius: 18px; position: relative; display: grid; place-content: center; text-align: center; overflow: hidden; }
.scan b { color: #6ef0a8; font-size: 1.2rem; }
.scan small { color: #c0cfe4; font-size: .75rem; }
.scan__line { position: absolute; left: 8px; right: 8px; height: 3px; background: var(--cyan); box-shadow: 0 0 16px var(--cyan); top: 10%; animation: scan 2.2s ease-in-out infinite alternate; }
@keyframes scan { to { top: 88%; } }
.hscroll__bar { margin: 28px var(--gutter) 0; height: 3px; background: rgba(255,255,255,.12); border-radius: 3px; max-width: 1180px; }
.hscroll__bar span { display: block; height: 100%; width: 0; background: var(--accent); border-radius: 3px; }
@media (min-width: 900px) {
  .hscroll__track { padding-left: max(var(--gutter), calc((100vw - 1180px) / 2 + var(--gutter))); gap: 24px; }
  .hcard { flex-basis: 380px; min-height: 420px; padding: 28px; }
  .hscroll__bar { margin-left: auto; margin-right: auto; width: calc(100% - 2 * var(--gutter)); }
}
/* Sin JS o con movimiento reducido: rejilla normal */
.hscroll.is-static .hscroll__sticky { position: static; height: auto; padding: 80px 0; }
.hscroll.is-static .hscroll__track { flex-wrap: wrap; justify-content: center; transform: none !important; }
.hscroll.is-static .hscroll__bar { display: none; }

/* ---------- Tabla a medida ---------- */
.table { margin-top: 32px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); }
.table__row { display: grid; gap: 4px; padding: 18px 20px; border-top: 1px solid var(--line); }
.table__row:first-child { border-top: 0; }
.table__row--head { display: none; }
.table__row span b { display: block; color: var(--head); font-size: 1.05rem; }
.table__row span small { color: var(--muted); font-size: .88rem; }
.table__row [data-l] { display: flex; justify-content: space-between; font-weight: 700; color: var(--head); }
.table__row [data-l]::before { content: attr(data-l); color: var(--muted); font-weight: 400; }
@media (min-width: 760px) {
  .table__row { grid-template-columns: 2fr 1fr 1.2fr; align-items: center; gap: 16px; padding: 20px 26px; }
  .table__row--head { display: grid; background: var(--navy-800); color: #fff; font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; }
  .table__row [data-l]::before { content: none; }
  .table__row [data-l] { font-size: 1.1rem; }
}
.gift { display: flex; gap: 12px; align-items: center; margin-top: 18px; color: var(--muted); }
.gift svg { width: 28px; height: 28px; color: var(--accent); flex: none; }

/* ---------- Banda de fondo fijo ---------- */
.fixedband { position: relative; clip-path: inset(0); color: #fff; padding: 110px 0; }
.fixedband__bg { position: fixed; inset: 0; z-index: -1; background: linear-gradient(135deg, var(--navy-700), var(--navy-900) 60%); }
.fixedband__bg span {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 15% 25%, rgba(18,198,230,.35), transparent 35%),
    radial-gradient(circle at 85% 75%, rgba(255,138,61,.25), transparent 35%),
    repeating-linear-gradient(-28deg, transparent 0 60px, rgba(255,255,255,.03) 60px 62px);
}
.fixedband h2 { color: #fff; max-width: 14ch; }
.feats { display: grid; gap: 14px; margin-top: 30px; }
@media (min-width: 700px) { .feats { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .feats { grid-template-columns: repeat(4, 1fr); } }
.feat { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 24px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.feat svg { width: 34px; height: 34px; color: var(--cyan); margin-bottom: 14px; }
.feat h3 { font-size: 1.2rem; }
.feat p { color: #c9d7ea; margin: 0; font-size: .97rem; }

/* ---------- Casos ---------- */
.case { display: grid; gap: 24px; margin-top: 36px; background: linear-gradient(160deg, var(--card-a), var(--card-b)); border-radius: var(--radius); padding: 24px; overflow: hidden; }
@media (min-width: 900px) {
  .case { grid-template-columns: 1fr 1fr; align-items: center; padding: 44px; gap: 48px; }
  .case--rev .case__media { order: 2; }
}
.case__media { position: relative; min-height: 320px; display: grid; place-items: center; }
.case__who { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; color: var(--cyan-600); }
.case h3 { font-size: clamp(1.5rem, 4vw, 2.1rem); color: var(--head); font-weight: 600; }
.case dl { margin: 0 0 20px; }
.case dt { font-weight: 700; color: var(--head); margin-top: 12px; }
.case dd { margin: 4px 0 0; color: var(--muted); }
.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--head); text-decoration: none; border-bottom: 2px solid var(--accent); padding-bottom: 2px; }
.link svg { width: 18px; height: 18px; }
.phone { width: 190px; height: 330px; border-radius: 30px; background: var(--navy-900); border: 6px solid #1b2f52; padding: 26px 12px 12px; color: #fff; box-shadow: 0 30px 60px rgba(7,26,58,.35); position: relative; transform: rotate(-4deg); }
.phone__notch { position: absolute; top: 8px; left: 50%; width: 60px; height: 8px; margin-left: -30px; background: #1b2f52; border-radius: 6px; }
.phone__h { font-weight: 800; font-size: 1rem; margin-bottom: 10px; }
.pz { display: flex; gap: 8px; align-items: center; background: rgba(255,255,255,.07); border-radius: 10px; padding: 7px; margin-bottom: 7px; }
.pz span { width: 34px; height: 34px; border-radius: 50%; background: radial-gradient(circle, #ffcf6b 0 40%, #e0573b 41% 60%, #f4c27a 61%); flex: none; }
.pz b { display: block; font-size: .8rem; }
.pz small { font-size: .65rem; color: #9fb3d1; }
.phone__btn { position: absolute; left: 12px; right: 12px; bottom: 14px; background: var(--accent); color: var(--navy-900); text-align: center; border-radius: 999px; padding: 8px; font-weight: 800; font-size: .8rem; }
.phone__btn--red { background: #ff6b6b; }
.ticket { position: absolute; right: 4%; bottom: 8%; width: 150px; background: #fff; color: var(--navy-900); border-radius: 12px; padding: 12px; box-shadow: 0 20px 40px rgba(7,26,58,.3); transform: rotate(5deg); font-size: .8rem; }
.ticket p { margin: 0; font-size: .65rem; letter-spacing: .15em; font-weight: 800; color: var(--muted); }
.ticket b { display: block; font-size: 1.1rem; margin: 2px 0 6px; }
.ticket small { display: block; border-top: 1px dashed #c8d3e2; padding: 4px 0; }
.ticket__st { display: inline-block; margin-top: 6px; background: #fff1e6; color: var(--accent-600); font-weight: 800; border-radius: 6px; padding: 3px 8px; font-size: .7rem; }
.case__media .phone { margin-right: 80px; }
.shift { text-align: center; margin-top: 50px; }
.shift small { display: block; color: #6ef0a8; font-weight: 700; font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; }
.shift b { font-size: 1.9rem; font-variant-numeric: tabular-nums; }
.heat { position: absolute; right: 2%; bottom: 6%; width: 180px; background: var(--surface); color: var(--head); border-radius: 14px; padding: 12px; box-shadow: var(--shadow); transform: rotate(4deg); }
.heat p { margin: 0 0 8px; font-weight: 800; font-size: .8rem; }
.heat__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; }
.heat__grid i { aspect-ratio: 1; border-radius: 4px; background: rgba(255, 138, 61, var(--o)); }
.heat small { display: block; margin-top: 6px; font-size: .65rem; color: var(--muted); }

.quote { margin: 36px 0 0; padding: 32px 26px; border-radius: var(--radius); border: 2px dashed var(--line); text-align: center; }
.quote svg { width: 40px; height: 40px; margin: 0 auto 10px; color: var(--accent); }
.quote blockquote { margin: 0; font-size: 1.4rem; font-weight: 600; color: var(--head); }
.quote figcaption { color: var(--muted); font-size: .92rem; margin-top: 8px; }

/* ---------- Lo que no hago ---------- */
.nope { background: var(--accent); color: var(--navy-900); padding: 80px 0; }
.nope h2 { color: var(--navy-900); }
.nope__list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 4px; }
.nope__list li { display: flex; gap: 18px; align-items: baseline; font-size: clamp(1.25rem, 3.6vw, 2rem); font-weight: 600; line-height: 1.25; padding: 16px 0; border-top: 2px solid rgba(4,18,43,.15); }
.nope__list span { font-weight: 800; font-size: 1.4em; line-height: .8; }

/* ---------- FAQ ---------- */
.faq { margin-top: 28px; display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 54px 18px 20px; font-weight: 700; color: var(--head); position: relative; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 20px; top: 50%; width: 12px; height: 12px; margin-top: -8px; border-right: 2.5px solid var(--cyan-600); border-bottom: 2.5px solid var(--cyan-600); transform: rotate(45deg); transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { padding: 0 20px 18px; margin: 0; color: var(--muted); }

/* ---------- Contacto ---------- */
.contact { background: linear-gradient(160deg, var(--navy-700), var(--navy-900)); color: #fff; }
.contact h2 { color: #fff; }
.contact__grid { display: grid; gap: 36px; }
@media (min-width: 900px) { .contact__grid { grid-template-columns: 1fr 1fr; align-items: center; } }
.contact__txt > p { color: #c9d7ea; font-size: 1.1rem; }
.contact__mail { margin-top: 18px; font-size: .95rem !important; }
.contact__mail a { color: var(--cyan); word-break: break-all; }
.form { background: var(--surface); color: var(--text); border-radius: var(--radius); padding: 24px; box-shadow: 0 30px 60px rgba(0,0,0,.3); }
.form label { display: block; font-weight: 700; font-size: .9rem; margin-bottom: 14px; color: var(--head); }
.form input, .form select, .form textarea {
  display: block; width: 100%; margin-top: 6px; padding: 12px 14px; font: 400 1rem var(--font);
  color: var(--text); background: var(--bg-tint); border: 1.5px solid var(--line); border-radius: 10px;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--cyan-600); box-shadow: 0 0 0 3px rgba(18,198,230,.25); }
.form__err { color: #d93838; font-weight: 700; min-height: 1.2em; margin: 0 0 8px; font-size: .9rem; }
.form__fine { font-size: .82rem; color: var(--muted); margin: 12px 0 0; }

/* ---------- Pie ---------- */
.footer { background: var(--navy-800); color: #fff; padding: 60px 0 100px; }
.footer__grid { display: grid; gap: 30px; }
@media (min-width: 760px) { .footer__grid { grid-template-columns: 1fr 1fr 1.4fr; } }
.footer h3 { font-size: 1rem; margin-bottom: 14px; }
.footer a { display: block; color: #d6e2f2; text-decoration: none; padding: 5px 0; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer__logo { height: 30px; width: auto; margin-bottom: 14px; }
.footer__brand p { margin: 0 0 4px; color: #d6e2f2; }
.footer__brand a { display: inline; word-break: break-all; }
.footer__claim { margin-top: 12px !important; color: var(--cyan) !important; font-weight: 600; }
.footer__copy { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); color: #9fb3d1; font-size: .85rem; }

/* ---------- Píldora flotante ---------- */
.pill {
  position: fixed; right: 12px; bottom: 12px; z-index: 40;
  display: flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px;
  background: linear-gradient(90deg, var(--navy-700), #1d5fd1); color: #fff; text-decoration: none;
  border-radius: 999px; box-shadow: 0 12px 30px rgba(4,18,43,.4);
  transform: translateY(140%); transition: transform .4s ease;
}
.pill.show { transform: none; }
.pill__av { width: 40px; height: 40px; border-radius: 50%; background: var(--cyan); color: var(--navy-900); font-weight: 800; display: grid; place-items: center; font-size: .9rem; }
.pill__txt b { display: block; font-size: .92rem; line-height: 1.2; }
.pill__txt small { color: var(--cyan); font-size: .78rem; }
.pill > svg { width: 18px; height: 18px; }

/* ---------- Animaciones de aparición ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Páginas legales ---------- */
.legal { padding: calc(var(--topbar) + 50px) 0 80px; }
.legal h1 { font-size: clamp(2rem, 6vw, 3rem); color: var(--head); }
.legal h2 { font-size: 1.4rem; margin-top: 2em; }
.legal p, .legal li { color: var(--muted); }
.legal .back { display: inline-block; margin-bottom: 24px; font-weight: 700; color: var(--cyan-600); text-decoration: none; }

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .hero__content { opacity: 1; transform: none; }
  .bars span { transform: none; }
}
