/* =========================================================
   KeepOnUp — landing
   Estética inspirada en plantillas IT/tecnología (tipo Fexo):
   hero oscuro con brillos, etiquetas con ícono, tarjetas
   redondeadas, pricing destacado y franjas de CTA.
   ========================================================= */

:root {
  --brand: #2f6bff;
  --brand-600: #1f55e6;
  --brand-2: #7b5cff;
  --brand-soft: #eaf0ff;
  --red: #ef4444;
  --red-soft: #fff1f1;
  --green: #22c55e;

  --ink: #0b1230;
  --text: #4a5372;
  --muted: #7a839f;
  --line: #e4e8f3;
  --bg: #ffffff;
  --bg-soft: #f4f7fd;

  --dark: #070b1e;
  --dark-2: #0e1430;
  --dark-line: rgba(255, 255, 255, .09);
  --dark-text: #a9b2d0;

  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 18px 50px -20px rgba(16, 32, 90, .25);
  --shadow-brand: 0 18px 40px -14px rgba(47, 107, 255, .6);

  --f-head: "Sora", system-ui, sans-serif;
  --f-body: "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--f-head); color: var(--ink); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.02em; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
/* Evita que el contenido mínimo de un hijo ensanche las columnas del grid */
.hero__inner > *, .split > *, .parts > *, .fit > *, .cards > *, .pricing > *, .panel__body > *, .steps > *, .stats__grid > * { min-width: 0; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  font-family: var(--f-head); font-weight: 600; font-size: 15px;
  padding: 14px 26px; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .25s, box-shadow .25s, background .25s, color .25s, border-color .25s;
  white-space: nowrap;
}
.btn i { transition: transform .25s; }
.btn:hover i { transform: translateX(4px); }
.btn--primary { background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; box-shadow: var(--shadow-brand); }
.btn--primary:hover { transform: translateY(-2px); }
.btn--ghost { border-color: var(--dark-line); color: #fff; background: rgba(255,255,255,.04); }
.btn--ghost:hover { border-color: var(--brand); background: var(--brand); }
.btn--white { background: #fff; color: var(--ink); }
.btn--white:hover { transform: translateY(-2px); }
.btn--sm { padding: 10px 20px; font-size: 14px; }
.btn--lg { padding: 18px 32px; font-size: 16px; white-space: normal; text-align: center; }
.btn--block { width: 100%; }

/* ---------- Etiquetas ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .55em;
  font-family: var(--f-head); font-size: 13px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .12em;
  color: var(--brand); background: var(--brand-soft);
  padding: 8px 16px; border-radius: 999px; margin-bottom: 20px;
  max-width: 100%; line-height: 1.4;
}
.eyebrow--dark { color: #cdd8ff; background: rgba(47,107,255,.14); border: 1px solid rgba(47,107,255,.35); }
.text-grad { background: linear-gradient(90deg, #6f9bff, #a68bff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.muted { color: var(--muted); font-size: 15px; }

/* ---------- Header ---------- */
.header { position: fixed; inset: 0 0 auto; z-index: 50; padding: 18px 0; transition: background .3s, padding .3s, box-shadow .3s; }
.header.is-scrolled { background: rgba(7,11,30,.88); backdrop-filter: blur(12px); padding: 12px 0; box-shadow: 0 10px 30px -15px rgba(0,0,0,.5); }
.header__inner { display: flex; align-items: center; gap: 32px; }
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo__mark { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-2)); box-shadow: var(--shadow-brand); }
.logo__text { font-family: var(--f-head); font-weight: 700; font-size: 22px; color: #fff; letter-spacing: -.02em; }
.logo__text b { color: #7fa3ff; }
.nav { display: flex; gap: 30px; margin-left: auto; }
.nav a { color: #d4dbf3; font-weight: 500; font-size: 15px; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: var(--brand); transition: width .25s; }
.nav a:hover { color: #fff; }
.nav a:hover::after { width: 100%; }
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--dark-line); border-radius: 12px; background: transparent; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.nav-toggle span { width: 20px; height: 2px; background: #fff; border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--dark); color: var(--dark-text); padding: 150px 0 0; overflow: hidden; }
.hero__grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%); pointer-events: none; }
.hero__glow { position: absolute; border-radius: 50%; filter: blur(110px); pointer-events: none; }
.hero__glow--a { width: 520px; height: 520px; background: rgba(47,107,255,.45); top: -160px; left: -140px; }
.hero__glow--b { width: 460px; height: 460px; background: rgba(123,92,255,.35); bottom: -120px; right: -100px; }
.hero__glow--c { width: 600px; height: 600px; background: rgba(47,107,255,.25); top: -200px; left: 50%; transform: translateX(-50%); }
.hero__inner { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; padding-bottom: 90px; }
.hero__title { color: #fff; font-size: clamp(36px, 5.2vw, 62px); font-weight: 800; line-height: 1.08; margin-bottom: 24px; }
.hero__lead { font-size: 18px; max-width: 580px; margin-bottom: 34px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__note { margin: 22px 0 0; font-size: 15px; color: #d4dbf3; display: flex; gap: 10px; align-items: baseline; }
.hero__note i { color: var(--green); }
.hero__tagline { margin: 26px 0 0; padding-top: 22px; border-top: 1px solid var(--dark-line); font-family: var(--f-head); font-style: italic; color: #8b97c2; max-width: 520px; }

/* Panel ilustrativo */
.hero__visual { position: relative; }
.panel { position: relative; background: linear-gradient(180deg, rgba(20,28,64,.92), rgba(12,17,42,.95)); border: 1px solid var(--dark-line); border-radius: var(--radius-lg); box-shadow: 0 40px 80px -30px rgba(0,0,0,.7); overflow: hidden; }
.panel__bar { display: flex; align-items: center; gap: 7px; padding: 14px 18px; border-bottom: 1px solid var(--dark-line); }
.dot { width: 11px; height: 11px; border-radius: 50%; }
.dot--r { background: #ff5f57; } .dot--y { background: #febc2e; } .dot--g { background: #28c840; }
.panel__title { margin-left: 10px; font-size: 13px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; color: #7d88b3; }
.panel__body { padding: 22px; display: grid; gap: 18px; }
.incident { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; border: 1px solid; }
.incident > i { font-size: 20px; }
.incident div { flex: 1; min-width: 0; }
.incident b { display: block; color: #fff; font-family: var(--f-head); font-size: 15px; }
.incident small { display: block; font-size: 12.5px; color: #8e99c4; font-family: ui-monospace, Menlo, monospace; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.incident--down { background: rgba(239,68,68,.08); border-color: rgba(239,68,68,.35); }
.incident--down > i { color: #ff7a7a; }
.incident--up { background: rgba(34,197,94,.08); border-color: rgba(34,197,94,.35); }
.incident--up > i { color: #4ade80; }
.chip { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; }
.chip--red { background: rgba(239,68,68,.18); color: #ff9a9a; }
.chip--green { background: rgba(34,197,94,.18); color: #6ee7a0; }
.timeline { list-style: none; margin: 0; padding: 0 0 0 6px; display: grid; gap: 12px; }
.timeline li { position: relative; display: flex; align-items: center; gap: 14px; font-size: 14px; color: #6f7aa6; }
.timeline li span { width: 14px; height: 14px; border-radius: 50%; border: 2px solid #3a4677; flex: none; position: relative; }
.timeline li:not(:last-child) span::after { content: ""; position: absolute; left: 50%; top: 12px; width: 2px; height: 22px; background: #2a3463; transform: translateX(-50%); }
.timeline li.is-done { color: #c8d1f0; }
.timeline li.is-done span { background: var(--brand); border-color: var(--brand); }
.timeline li.is-active { color: #fff; font-weight: 600; }
.timeline li.is-active span { border-color: #7fa3ff; box-shadow: 0 0 0 5px rgba(47,107,255,.25); animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 9px rgba(47,107,255,0); } }

.float-card { position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 16px; background: #fff; box-shadow: var(--shadow); animation: float 5s ease-in-out infinite; }
.float-card i { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-2)); }
.float-card b { display: block; font-family: var(--f-head); color: var(--ink); font-size: 15px; line-height: 1.2; }
.float-card small { color: var(--muted); font-size: 12.5px; }
.float-card--a { top: -26px; right: -18px; }
.float-card--b { bottom: -26px; left: -30px; animation-delay: -2.5s; }
@keyframes float { 50% { transform: translateY(-10px); } }

/* Marquee */
.marquee { position: relative; border-top: 1px solid var(--dark-line); background: rgba(255,255,255,.02); overflow: hidden; padding: 22px 0; }
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee span { font-family: var(--f-head); font-weight: 600; font-size: 18px; color: #c3cbea; padding: 0 30px; display: inline-flex; align-items: center; gap: 30px; white-space: nowrap; }
.marquee span::after { content: "\2733"; color: var(--brand); font-size: 14px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Secciones ---------- */
.section { position: relative; padding: 110px 0; }
.section--soft { background: var(--bg-soft); }
.section--tight { padding: 70px 0; }
.section--dark { background: var(--dark); color: var(--dark-text); overflow: hidden; }
.section--dark .section__title { color: #fff; }
.section__head { max-width: 760px; margin-bottom: 56px; }
.section__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section__title { font-size: clamp(30px, 3.8vw, 46px); font-weight: 700; }
.section__lead { font-size: 18px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.split--top { align-items: start; }

/* Problema: el ciclo (rojo exclusivo de esta sección y de Línea Roja) */
#problema .eyebrow { color: var(--red); background: var(--red-soft); }
.loop { background: var(--dark); border-radius: var(--radius-lg); padding: 36px; color: var(--dark-text); position: relative; overflow: hidden; box-shadow: var(--shadow); }
.loop::before { content: ""; position: absolute; width: 300px; height: 300px; border-radius: 50%; background: rgba(239,68,68,.25); filter: blur(90px); top: -120px; right: -100px; }
.loop__label { position: relative; font-family: var(--f-head); font-weight: 600; color: #fff; text-transform: uppercase; letter-spacing: .12em; font-size: 13px; }
.loop__list { position: relative; list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.loop__list li { display: flex; align-items: center; gap: 18px; padding: 16px 18px; border-radius: 14px; background: rgba(255,255,255,.04); border: 1px solid var(--dark-line); }
.loop__list b { color: #e8ecfb; font-weight: 500; }
.loop__num { font-family: var(--f-head); font-weight: 700; font-size: 20px; color: #ff7a7a; min-width: 30px; }
.loop__repeat { position: relative; margin-top: 18px; color: #ff9a9a; font-weight: 600; display: flex; gap: 10px; align-items: center; }
.loop__repeat i { animation: spin 4s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Tarjetas */
.cards { display: grid; gap: 24px; }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border-radius: var(--radius); padding: 34px 28px; border: 1px solid var(--line); transition: transform .3s, box-shadow .3s, border-color .3s; position: relative; overflow: hidden; }
.card::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: linear-gradient(90deg, var(--brand), var(--brand-2)); transition: width .35s; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card:hover::after { width: 100%; }
.card__icon { width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center; font-size: 24px; color: var(--brand); background: var(--brand-soft); margin-bottom: 24px; transition: background .3s, color .3s; }
.card:hover .card__icon { background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; }
.card h3 { font-size: 19px; }
.card p { margin: 0; font-size: 15px; }
.quote-en { text-align: center; margin: 50px auto 0; font-family: var(--f-head); font-style: italic; color: var(--muted); max-width: 640px; }

/* Cifras */
.stats { background: linear-gradient(135deg, var(--brand), var(--brand-2)); padding: 56px 0; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; color: rgba(255,255,255,.85); padding: 0 10px; }
.stat + .stat { border-left: 1px solid rgba(255,255,255,.2); }
.stat b { display: block; font-family: var(--f-head); font-size: clamp(34px, 4vw, 48px); color: #fff; line-height: 1.1; margin-bottom: 6px; }
.stat > span { font-size: 15px; }

/* Cómo funciona */
.parts { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-bottom: 90px; }
.part { position: relative; padding: 44px 40px; border-radius: var(--radius-lg); background: var(--bg-soft); border: 1px solid var(--line); overflow: hidden; }
.part__num { position: absolute; right: 26px; top: 6px; font-family: var(--f-head); font-weight: 800; font-size: 120px; line-height: 1; color: rgba(47,107,255,.08); }
.part__icon { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; font-size: 26px; color: #fff; background: var(--ink); margin-bottom: 26px; }
.part h3 { font-size: 23px; max-width: 420px; }
.part p { margin: 0; }
.part--accent { background: var(--dark); border-color: transparent; color: var(--dark-text); }
.part--accent h3 { color: #fff; }
.part--accent .part__icon { background: linear-gradient(135deg, var(--brand), var(--brand-2)); }
.part--accent .part__num { color: rgba(255,255,255,.06); }

.steps__title { text-align: center; font-size: 28px; margin-bottom: 50px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; position: relative; }
.steps::before { content: ""; position: absolute; top: 42px; left: 10%; right: 10%; border-top: 2px dashed #c9d4f2; }
.step { position: relative; text-align: center; padding: 0 6px; }
.step__icon { position: relative; width: 86px; height: 86px; margin: 0 auto 22px; border-radius: 50%; display: grid; place-items: center; font-size: 28px; color: var(--brand); background: #fff; border: 2px solid var(--line); box-shadow: 0 10px 30px -15px rgba(16,32,90,.3); transition: background .3s, color .3s, border-color .3s; }
.step__icon span { position: absolute; top: -4px; right: -6px; width: 30px; height: 30px; border-radius: 50%; font-family: var(--f-head); font-size: 12px; font-weight: 700; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-2)); }
.step:hover .step__icon { background: var(--brand); color: #fff; border-color: var(--brand); }
.step h4 { font-size: 18px; margin-bottom: 6px; }
.step p { font-size: 15px; margin: 0; }

/* Planes */
.founder { display: inline-flex; gap: 14px; align-items: flex-start; text-align: left; margin-top: 10px; padding: 18px 22px; border-radius: 18px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,196,0,.35); }
.founder > i { color: #ffc93c; font-size: 20px; margin-top: 3px; }
.founder b { display: block; color: #fff; font-family: var(--f-head); font-weight: 600; }
.founder span { font-size: 15px; }
.pricing { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 40px 32px 34px; border-radius: var(--radius-lg); background: var(--dark-2); border: 1px solid var(--dark-line); transition: transform .3s, border-color .3s; }
.plan:hover { transform: translateY(-6px); border-color: rgba(47,107,255,.5); }
.plan__name { color: #fff; font-size: 24px; margin-bottom: 8px; }
.plan__ideal { font-size: 15px; min-height: 50px; }
.plan__response { display: inline-flex; gap: 8px; align-items: center; align-self: flex-start; font-weight: 600; font-size: 14px; color: #cdd8ff; background: rgba(47,107,255,.14); padding: 7px 14px; border-radius: 999px; margin-bottom: 26px; }
.plan__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; padding-bottom: 18px; border-bottom: 1px solid var(--dark-line); margin-bottom: 16px; }
.plan__old { width: 100%; text-decoration: line-through; color: #6f7aa6; font-size: 15px; }
.plan__now { font-family: var(--f-head); font-weight: 800; font-size: 44px; color: #fff; line-height: 1; letter-spacing: -.03em; }
.plan__per { color: #8b97c2; }
.plan__hour { font-size: 14.5px; margin-bottom: 22px; }
.plan__hour s { color: #6f7aa6; margin: 0 4px; }
.plan__hour b { color: #fff; }
.plan__list { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 12px; flex: 1; }
.plan__list li { display: flex; gap: 12px; align-items: baseline; font-size: 15px; color: #d4dbf3; }
.plan__list i { color: var(--green); width: 16px; }
.plan__list li.no { color: #646f99; }
.plan__list li.no i { color: #646f99; }
.plan__limit { margin: 16px 0 0; text-align: center; font-size: 13.5px; color: #ff9a9a; }
.plan__badge { position: absolute; top: 22px; right: 22px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #fff; background: rgba(255,255,255,.18); padding: 6px 12px; border-radius: 999px; }
.plan--featured { background: linear-gradient(160deg, #2f6bff 0%, #5a4dff 100%); border-color: transparent; box-shadow: 0 30px 70px -25px rgba(47,107,255,.8); transform: translateY(-14px); }
.plan--featured:hover { transform: translateY(-20px); }
.plan--featured, .plan--featured .plan__per, .plan--featured .plan__old, .plan--featured .plan__hour s { color: rgba(255,255,255,.75); }
.plan--featured .plan__response { background: rgba(255,255,255,.18); color: #fff; }
.plan--featured .plan__price { border-color: rgba(255,255,255,.2); }
.plan--featured .plan__list li { color: #fff; }
.plan--featured .plan__list i { color: #fff; }
.plan--featured .btn--primary { background: #fff; color: var(--brand); box-shadow: none; }
.plan--red { border-color: rgba(239,68,68,.3); }
.plan--red:hover { border-color: rgba(239,68,68,.6); }
.plan--red .plan__response { background: rgba(239,68,68,.14); color: #ffb3b3; }
.pricing__fine { text-align: center; font-size: 14px; color: #8b97c2; margin: 34px 0 60px; }

.schedule { position: relative; display: flex; gap: 26px; align-items: flex-start; padding: 34px 38px; border-radius: var(--radius-lg); background: rgba(255,255,255,.04); border: 1px solid var(--dark-line); max-width: 900px; margin: 0 auto; }
.schedule__icon { flex: none; width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center; font-size: 24px; color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-2)); }
.schedule h3 { color: #fff; font-size: 21px; }
.schedule p { margin: 0; }
.schedule__note { margin-top: 12px !important; color: #d4dbf3; font-style: italic; }

/* Mapeo */
.price-tag { display: flex; flex-wrap: wrap; gap: 14px; align-items: stretch; margin: 10px 0 24px; }
.price-tag > div:first-child { padding: 16px 22px; border-radius: 16px; background: var(--ink); color: #a9b2d0; }
.price-tag small { display: block; font-size: 13px; }
.price-tag b { font-family: var(--f-head); font-size: 30px; color: #fff; }
.price-tag__free { display: flex; align-items: center; gap: 10px; padding: 16px 20px; border-radius: 16px; background: var(--brand-soft); color: var(--brand-600); font-weight: 600; flex: 1; min-width: 220px; }
.benefits { display: grid; gap: 14px; }
.benefits__label { font-family: var(--f-head); font-weight: 600; color: var(--ink); margin-bottom: 4px; }
.benefit { display: flex; gap: 18px; align-items: flex-start; padding: 20px 22px; border-radius: 16px; background: #fff; border: 1px solid var(--line); transition: border-color .25s, box-shadow .25s; }
.benefit:hover { border-color: transparent; box-shadow: var(--shadow); }
.benefit > i { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: var(--brand); background: var(--brand-soft); }
.benefit b { color: var(--ink); }
.benefit div { font-size: 15px; }

/* Para quién */
.fit { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.fit__col { padding: 40px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); }
.fit__col h3 { display: flex; gap: 12px; align-items: center; font-size: 22px; margin-bottom: 24px; }
.fit__col--yes h3 i { color: var(--green); }
.fit__col--no h3 i { color: var(--muted); }
.fit__col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.fit__col li { position: relative; padding-left: 30px; }
.fit__col li::before { position: absolute; left: 0; top: 0; font-family: "Font Awesome 6 Free"; font-weight: 900; }
.fit__col--yes li::before { content: "\f00c"; color: var(--green); }
.fit__col--no li::before { content: "\f00d"; color: var(--muted); }

/* Agencias */
.agency { position: relative; display: flex; align-items: center; gap: 36px; padding: 50px 54px; border-radius: var(--radius-lg); background: radial-gradient(circle at 0% 0%, rgba(47,107,255,.5), transparent 55%), var(--dark); color: var(--dark-text); overflow: hidden; }
.agency__icon { flex: none; width: 96px; height: 96px; border-radius: 26px; display: grid; place-items: center; font-size: 40px; color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-2)); box-shadow: var(--shadow-brand); }
.agency__copy { flex: 1; }
.agency h2 { color: #fff; font-size: clamp(26px, 3vw, 36px); }
.agency p { margin: 0; }

/* Compromisos */
.card--line { background: var(--bg-soft); border-color: transparent; }

/* FAQ */
.faq { display: grid; gap: 14px; }
.faq details { background: #fff; border-radius: 16px; border: 1px solid var(--line); transition: box-shadow .25s, border-color .25s; }
.faq details[open] { border-color: transparent; box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 20px 24px; font-family: var(--f-head); font-weight: 600; color: var(--ink); font-size: 16.5px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: 20px; font-weight: 400; color: var(--brand); background: var(--brand-soft); transition: transform .25s, background .25s, color .25s; }
.faq details[open] summary::after { content: "\2212"; background: var(--brand); color: #fff; }
.faq details p { margin: 0; padding: 0 24px 22px; }

/* CTA final */
.cta { position: relative; background: var(--dark); padding: 120px 0; overflow: hidden; text-align: center; }
.cta__inner { position: relative; max-width: 820px; }
.cta h2 { color: #fff; font-size: clamp(30px, 4.4vw, 52px); font-weight: 800; }
.cta p { color: var(--dark-text); font-size: 18px; margin: 0 auto 36px; max-width: 640px; }

/* Footer */
.footer { background: #050816; color: #8b97c2; padding: 60px 0 0; }
.footer__inner { display: grid; grid-template-columns: auto 1fr auto; gap: 40px; align-items: center; padding-bottom: 40px; }
.footer__tag { margin: 0; font-style: italic; font-family: var(--f-head); }
.footer__nav { display: flex; gap: 24px; flex-wrap: wrap; }
.footer__nav a:hover { color: #fff; }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-top: 22px; padding-bottom: 26px; border-top: 1px solid var(--dark-line); font-size: 14px; }

.to-top { position: fixed; right: 22px; bottom: 22px; z-index: 40; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-2)); box-shadow: var(--shadow-brand); opacity: 0; transform: translateY(20px); pointer-events: none; transition: opacity .3s, transform .3s; }
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }

/* Animación de aparición */
[data-reveal] { opacity: 0; transform: translateY(30px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
[data-reveal].is-in { opacity: 1; transform: none; }
.plan--featured[data-reveal].is-in { transform: translateY(-14px); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .cards--4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .steps::before { display: none; }
}
@media (max-width: 991px) {
  .nav, .header__cta { display: none; }
  .nav-toggle { display: flex; }
  .nav.is-open { display: flex; position: absolute; top: 100%; left: 16px; right: 16px; flex-direction: column; gap: 0; padding: 10px; border-radius: 18px; background: var(--dark-2); border: 1px solid var(--dark-line); box-shadow: 0 20px 40px -10px rgba(0,0,0,.6); }
  .nav.is-open a { padding: 14px 16px; border-radius: 12px; }
  .nav.is-open a:hover { background: rgba(255,255,255,.05); }
  .nav.is-open a::after { display: none; }
  .header { background: rgba(7,11,30,.9); backdrop-filter: blur(12px); }
  .hero { padding-top: 120px; }
  .hero__inner, .split, .parts, .fit { grid-template-columns: 1fr; gap: 50px; }
  .hero__visual { max-width: 520px; margin: 20px auto 0; width: 100%; }
  .pricing { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .plan--featured, .plan--featured[data-reveal].is-in { transform: none; }
  .plan--featured:hover { transform: translateY(-6px); }
  .stats__grid { grid-template-columns: repeat(2, 1fr); row-gap: 34px; }
  .stat:nth-child(3) { border-left: 0; }
  .agency { flex-direction: column; align-items: flex-start; padding: 40px 32px; }
  .footer__inner { grid-template-columns: 1fr; gap: 20px; }
  .section { padding: 84px 0; }
}
@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .cards--4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step:last-child { grid-column: 1 / -1; }
  .hero__lead, .section__lead { font-size: 16.5px; }
  .float-card--a { right: -6px; top: -30px; }
  .float-card--b { left: -6px; }
  .panel__body { padding: 16px; }
  .loop, .part, .fit__col, .schedule { padding: 28px 22px; }
  .schedule { flex-direction: column; }
  .marquee span { font-size: 15px; padding: 0 18px; gap: 18px; }
  .faq summary { padding: 18px; font-size: 15.5px; }
  .faq details p { padding: 0 18px 18px; }
  .btn--lg { width: 100%; }
}

/* ---------- Páginas legales ---------- */
.legal-page { background: var(--bg-soft); }
.legal-page .header { position: sticky; }
.legal__back { margin-left: auto; }
.legal { padding: 60px 0 90px; }
.legal__inner { max-width: 860px; }
.legal h1 { font-size: clamp(28px, 4vw, 40px); }
.legal__meta { color: var(--muted); font-size: 14px; }
.legal__toc { margin: 30px 0 46px; padding: 24px 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.legal__toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 32px; }
.legal__toc li { padding: 3px 0; break-inside: avoid; }
.legal__toc a, .legal section a { color: var(--brand); }
.legal__toc a:hover, .legal section a:hover { text-decoration: underline; }
.legal section { padding: 28px 0; border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.legal h2 { font-size: 21px; }
.legal section ul, .legal section ol { padding-left: 22px; margin: 0 0 1em; }
.legal section li { margin-bottom: 8px; }
.legal b { color: var(--ink); }
.legal__table { overflow-x: auto; margin-bottom: 1em; }
.legal table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 12px; overflow: hidden; font-size: 15px; }
.legal th, .legal td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.legal th { font-family: var(--f-head); color: var(--ink); background: var(--brand-soft); }
.legal-page .footer { padding-top: 0; }
.footer__bottom a { color: #c3cbea; }
.footer__bottom a:hover { color: #fff; }
@media (max-width: 600px) {
  .legal__toc ol { columns: 1; }
  .legal__back { padding: 9px 14px; }
}

/* Precios por modalidad */
.plan__label { width: 100%; font-size: 12.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: #8b97c2; }
.plan__alt { font-size: 14.5px; margin: -6px 0 10px; }
.plan__alt b { color: #fff; }
.plan--featured .plan__label { color: rgba(255,255,255,.8); }

/* WhatsApp comercial */
.whatsapp-float { position: fixed; left: 22px; bottom: 22px; z-index: 40; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; font-size: 28px; color: #fff; background: #25d366; box-shadow: 0 12px 30px -10px rgba(37, 211, 102, .7); transition: transform .25s; }
.whatsapp-float:hover { transform: scale(1.06); }
.whatsapp-float[hidden] { display: none; }
