/* =========================================================
   Solsticio Estudios – Hoja de estilos
   Basada en el Manual de Identidad v1.0 (paleta y Montserrat).
   Lenguaje visual: órbita + circuito sobre azul noche.
   ========================================================= */

:root {
  /* Color (paleta corporativa) */
  --se-navy-950: #0A0F33;
  --se-navy-900: #111850;
  --se-navy-800: #1B2566;
  --se-indigo-600: #2D3A8C;
  --se-cyan-400: #5FC3E0;
  --se-cyan-300: #7FD3EA;
  --se-cyan-500: #38B6E8;
  --se-violet-500: #5B4DB3;
  --se-lavender-100: #E6E3F8;
  --se-white: #FFFFFF;
  --se-muted: #C3CBEE;
  --se-line: rgba(255, 255, 255, 0.12);
  --se-line-cyan: rgba(95, 195, 224, 0.38);
  --se-panel: rgba(255, 255, 255, 0.05);
  --se-glass: linear-gradient(160deg, rgba(255,255,255,.10), rgba(255,255,255,.03));

  /* Tipografía */
  --se-font: 'Montserrat', 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Forma */
  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 32px;
  --r-pill: 999px;

  /* Efectos */
  --se-glow: 0 0 32px rgba(95, 195, 224, 0.28);
  --se-shadow: 0 24px 60px rgba(4, 7, 28, 0.55), 0 4px 14px rgba(4, 7, 28, 0.4);

  --header-h: 84px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--se-font);
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--se-white);
  background-color: var(--se-navy-900);
  background-image: linear-gradient(180deg, var(--se-navy-900) 0%, var(--se-navy-800) 40%, var(--se-navy-900) 75%, var(--se-navy-950) 100%);
  overflow-x: hidden;
}

img, svg { max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
strong { font-weight: 700; color: var(--se-white); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico {
  width: 24px; height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

:focus-visible {
  outline: 2px solid var(--se-white);
  outline-offset: 3px;
  border-radius: 4px;
}

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

.skip {
  position: absolute;
  left: 16px; top: -80px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--se-white);
  color: var(--se-navy-950);
  font-weight: 700;
  border-radius: var(--r-sm);
}
.skip:focus { top: 12px; }

/* Textura de estrellas (estática) */
.stars {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    radial-gradient(1.5px 1.5px at 8% 14%, rgba(255,255,255,.75), transparent),
    radial-gradient(1px 1px at 22% 62%, rgba(95,195,224,.8), transparent),
    radial-gradient(2px 2px at 36% 28%, rgba(255,255,255,.55), transparent),
    radial-gradient(1px 1px at 47% 84%, rgba(255,255,255,.6), transparent),
    radial-gradient(1.5px 1.5px at 58% 10%, rgba(95,195,224,.7), transparent),
    radial-gradient(1px 1px at 69% 48%, rgba(255,255,255,.55), transparent),
    radial-gradient(2px 2px at 78% 76%, rgba(255,255,255,.5), transparent),
    radial-gradient(1px 1px at 88% 22%, rgba(255,255,255,.7), transparent),
    radial-gradient(1.5px 1.5px at 94% 58%, rgba(95,195,224,.6), transparent),
    radial-gradient(1px 1px at 14% 90%, rgba(255,255,255,.5), transparent);
}

main, .site-footer { position: relative; z-index: 1; }

/* =========================================================
   Tipografía
   ========================================================= */
.display, .title {
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.04;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.display {
  font-size: clamp(2rem, 3.9vw, 3.5rem);
  overflow-wrap: normal;
  hyphens: none;
}
.display span { display: block; }

.title { font-size: clamp(1.9rem, 3.8vw, 3rem); }
.accent { color: var(--se-cyan-400); }

.lead {
  margin-top: 24px;
  max-width: 44ch;
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  font-weight: 600;
  line-height: 1.6;
  color: var(--se-muted);
}

.intro {
  max-width: 60ch;
  color: var(--se-muted);
  font-size: 1.05rem;
}

.head { display: grid; gap: 18px; max-width: 760px; margin-bottom: clamp(40px, 6vw, 64px); }

/* =========================================================
   Botones y enlaces
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 13px 28px;
  border: 2px solid transparent;
  border-radius: var(--r-pill);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s ease, box-shadow .25s ease, border-color .2s ease, transform .2s var(--ease);
}
.btn--primary {
  background: linear-gradient(180deg, var(--se-cyan-300), var(--se-cyan-400));
  color: var(--se-navy-950);
  box-shadow: 0 8px 22px rgba(95, 195, 224, .28), inset 0 1px 0 rgba(255,255,255,.5);
}
.btn--primary:hover { box-shadow: 0 10px 30px rgba(95, 195, 224, .5), inset 0 1px 0 rgba(255,255,255,.6); transform: translateY(-2px); }
.btn--primary:active { transform: translateY(0); box-shadow: 0 4px 12px rgba(95, 195, 224, .35); }
.btn--ghost {
  border-color: var(--se-cyan-400);
  color: var(--se-white);
  background: transparent;
}
.btn--ghost:hover { background: rgba(95, 195, 224, 0.14); transform: translateY(-2px); }
.btn--ghost:active { transform: translateY(0); }
.btn--block { width: 100%; }
.btn.is-loading { pointer-events: none; opacity: .75; }
.btn.is-loading::after {
  content: '';
  width: 14px; height: 14px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin .7s linear infinite;
}

/* =========================================================
   Cabecera y navegación
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(10, 15, 51, 0.6);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, background-color .25s ease;
}
.site-header.is-scrolled { background: rgba(10, 15, 51, 0.9); border-bottom-color: var(--se-line); }
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; color: var(--se-white); }
.logo { width: 84px; height: auto; aspect-ratio: 2343 / 1793; display: block; }

.nav { display: flex; align-items: center; gap: 32px; }
.nav__list { display: flex; gap: 26px; }
.nav__list a {
  position: relative;
  padding: 6px 0;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--se-muted);
  transition: color .2s ease;
}
.nav__list a:hover, .nav__list a[aria-current="true"] { color: var(--se-white); }
.nav__list a[aria-current="true"]::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--se-cyan-400);
  border-radius: 2px;
  box-shadow: 0 0 10px var(--se-cyan-400);
}
.nav .btn { min-height: 42px; padding: 10px 22px; font-size: 0.88rem; }

.burger {
  display: none;
  width: 48px; height: 48px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: var(--r-sm);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.burger span { display: block; width: 24px; height: 2px; background: var(--se-white); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  padding: clamp(32px, 5vw, 72px) 0 clamp(72px, 9vw, 120px);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='640' height='420' fill='none' stroke='%236F7BD6' stroke-opacity='.4' stroke-width='1.5'%3E%3Cpath d='M0 120h150l40 40h130'/%3E%3Ccircle cx='328' cy='160' r='6'/%3E%3Cpath d='M640 310H450l-50-50h-90'/%3E%3Ccircle cx='302' cy='260' r='6'/%3E%3Cpath d='M90 420v-90l40-40'/%3E%3Ccircle cx='135' cy='284' r='6'/%3E%3C/svg%3E") left bottom / 640px 420px no-repeat,
    radial-gradient(60% 55% at 78% 38%, rgba(91, 77, 179, 0.42), transparent 70%),
    radial-gradient(45% 45% at 12% 88%, rgba(95, 195, 224, 0.16), transparent 70%);
  pointer-events: none;
}
/* Suelo en perspectiva */
.hero__floor {
  position: absolute;
  left: -20%; right: -20%; bottom: 0;
  height: 46%;
  background:
    repeating-linear-gradient(90deg, rgba(127, 211, 234, .16) 0 1px, transparent 1px 72px),
    repeating-linear-gradient(0deg, rgba(127, 211, 234, .16) 0 1px, transparent 1px 56px);
  transform: perspective(520px) rotateX(62deg);
  transform-origin: 50% 100%;
  -webkit-mask-image: linear-gradient(0deg, #000 10%, transparent 85%);
  mask-image: linear-gradient(0deg, #000 10%, transparent 85%);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: clamp(32px, 4vw, 64px);
}
.hero__copy, .stage { min-width: 0; }

.hero__tag {
  display: inline-block;
  margin-bottom: 20px;
  padding: 7px 16px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--se-cyan-300);
  border: 1px solid var(--se-line-cyan);
  border-radius: var(--r-pill);
  background: rgba(95, 195, 224, 0.08);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

/* Recorrido: chips unidos por una línea */
.route { display: flex; align-items: center; flex-wrap: wrap; row-gap: 10px; margin-top: 32px; }
.route li {
  position: relative;
  padding: 9px 18px;
  font-size: 0.86rem;
  font-weight: 700;
  border: 1px solid var(--se-line-cyan);
  border-radius: var(--r-pill);
  background: rgba(10, 15, 51, .35);
}
.route li + li { margin-left: 34px; }
.route li + li::before {
  content: '';
  position: absolute;
  right: 100%; top: 50%;
  width: 34px; height: 1px;
  background: linear-gradient(90deg, rgba(95,195,224,.15), var(--se-cyan-400));
}
.route li.is-end { background: var(--se-cyan-400); border-color: var(--se-cyan-400); color: var(--se-navy-950); }
.route--sm { margin-top: 28px; }

/* Escenario: órbita + mascota + demo de chat */
.stage {
  --px: 0; --py: 0;
  position: relative;
  width: min(100%, 520px);
  margin-inline: auto;
  padding-top: clamp(250px, 36vw, 290px);
}
.stage__orbit {
  position: absolute;
  top: 0; right: -4%;
  width: min(86%, 440px);
  height: auto;
  transform: translate3d(calc(var(--px) * -10px), calc(var(--py) * -8px), 0);
  transition: transform .5s var(--ease);
}
.stage__spin { transform-origin: 200px 200px; animation: spin 44s linear infinite; }
.stage__bot {
  position: absolute;
  top: 0; right: 4%;
  z-index: 1;
  width: min(60%, 300px);
  height: auto;
  filter: drop-shadow(0 26px 34px rgba(4, 7, 28, .55)) drop-shadow(0 0 40px rgba(95, 195, 224, .18));
  transform: translate3d(calc(var(--px) * 12px), calc(var(--py) * 8px), 0);
  transition: transform .5s var(--ease);
  animation: bob 7s ease-in-out infinite alternate;
}

/* ---------- Demo de chat ---------- */
.chat {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  background: linear-gradient(165deg, rgba(27, 37, 102, .78), rgba(10, 15, 51, .86));
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid var(--se-line-cyan);
  border-radius: var(--r-lg);
  box-shadow: var(--se-shadow), 0 0 0 1px rgba(255,255,255,.04) inset, 0 0 46px rgba(95, 195, 224, .12);
  overflow: hidden;
}
.chat__head {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--se-line);
  background: rgba(255, 255, 255, 0.04);
}
.chat__avatar { position: relative; display: block; width: 44px; height: 44px; flex: none; border-radius: 50%; background: var(--se-indigo-600); overflow: hidden; }
.chat__avatar img { position: absolute; left: -5%; top: 17.5%; width: 115%; height: 115%; max-width: none; display: block; }
.chat__who { display: flex; flex-direction: column; line-height: 1.3; }
.chat__who strong { font-weight: 700; }
.chat__status { display: inline-flex; align-items: center; gap: 6px; font-size: 0.8rem; color: var(--se-muted); }
.chat__status::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #3DDC97; box-shadow: 0 0 8px #3DDC97; }

.chat__log {
  display: flex; flex-direction: column; gap: 10px;
  min-height: 200px; max-height: 240px;
  padding: 18px 20px;
  overflow-y: auto;
  scroll-behavior: smooth;
}
.msg {
  max-width: 88%;
  padding: 11px 15px;
  font-size: 0.92rem;
  line-height: 1.5;
  border-radius: 18px 18px 18px 4px;
  background: rgba(255, 255, 255, 0.1);
  animation: msg-in .28s ease-out both;
}
.msg--user { align-self: flex-end; background: var(--se-cyan-400); color: var(--se-navy-950); font-weight: 600; border-radius: 18px 18px 4px 18px; }
.msg--typing { display: inline-flex; gap: 5px; align-items: center; padding: 14px 16px; }
.msg--typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--se-muted); animation: blink 1s infinite ease-in-out; }
.msg--typing i:nth-child(2) { animation-delay: .15s; }
.msg--typing i:nth-child(3) { animation-delay: .3s; }

.chat__chips { display: flex; flex-wrap: wrap; gap: 8px; min-height: 56px; padding: 4px 20px 14px; }
.chip {
  padding: 9px 15px;
  font-family: inherit;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--se-white);
  text-decoration: none;
  background: transparent;
  border: 1.5px solid var(--se-cyan-400);
  border-radius: var(--r-pill);
  cursor: pointer;
  transition: background-color .2s ease, transform .2s var(--ease);
}
.chip:hover { background: rgba(95, 195, 224, 0.16); transform: translateY(-1px); }
.chip--solid { background: var(--se-cyan-400); color: var(--se-navy-950); }
.chip--solid:hover { background: var(--se-cyan-300); }
.chat__note { padding: 11px 20px 15px; font-size: 0.8rem; color: var(--se-muted); border-top: 1px solid var(--se-line); }
.chat__note a { color: var(--se-cyan-400); font-weight: 700; }

/* =========================================================
   Secciones
   ========================================================= */
.section { position: relative; padding: clamp(72px, 9vw, 120px) 0; }
.section--deep {
  background:
    radial-gradient(50% 70% at 100% 0%, rgba(91, 77, 179, .22), transparent 70%),
    rgba(10, 15, 51, 0.6);
  border-block: 1px solid var(--se-line);
}

/* ---------- El servicio, paso a paso ---------- */
.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}
.steps::before, .steps::after {
  content: '';
  position: absolute;
  top: 32px;
  left: 32px; right: calc(25% - 53px);
  height: 2px;
}
.steps::before { background: var(--se-line); }
.steps::after {
  background: linear-gradient(90deg, var(--se-cyan-400), var(--se-cyan-300));
  box-shadow: 0 0 14px rgba(95, 195, 224, .7);
  transform-origin: left center;
}
.js .steps[data-reveal]::after { transform: scaleX(0); transition: transform 1.6s var(--ease) .2s; }
.js .steps[data-reveal].is-in::after { transform: scaleX(1); }
.step { position: relative; z-index: 1; }
.step__node {
  display: grid; place-items: center;
  width: 64px; height: 64px;
  margin-bottom: 22px;
  color: var(--se-cyan-400);
  background: var(--se-navy-800);
  border: 2px solid var(--se-cyan-400);
  border-radius: 50%;
  box-shadow: 0 0 0 6px var(--se-navy-900), var(--se-glow);
}
.step__node .ico { width: 28px; height: 28px; }
.step__n { margin-bottom: 4px; font-size: 0.8rem; font-weight: 700; color: var(--se-cyan-400); }
.step h3 { font-size: 1.25rem; font-weight: 800; line-height: 1.25; text-transform: uppercase; }
.step p:last-child { margin-top: 10px; max-width: 28ch; color: var(--se-muted); font-size: 0.96rem; }

/* ---------- Campaña en Meta ---------- */
.campaign {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.campaign__copy { display: grid; gap: 20px; align-content: start; }
.feature-list { display: grid; gap: 26px; margin-top: 12px; }
.feature-list li { display: grid; grid-template-columns: 52px 1fr; gap: 18px; align-items: start; }
.feature-list__icon {
  display: grid; place-items: center;
  width: 52px; height: 52px;
  color: var(--se-cyan-400);
  background: var(--se-glass);
  border: 1px solid var(--se-line-cyan);
  border-radius: var(--r-md);
}
.feature-list h3 { font-size: 1.15rem; font-weight: 800; line-height: 1.3; }
.feature-list p { margin-top: 6px; max-width: 46ch; color: var(--se-muted); font-size: 0.98rem; }

.flyers { position: relative; min-width: 0; overflow-x: clip; }
.flyers__set { position: relative; height: clamp(340px, 42vw, 440px); perspective: 1200px; }
.flyer {
  position: absolute;
  top: 50%; left: 50%;
  display: flex; flex-direction: column;
  width: 34%; height: 84%;
  padding: 20px 16px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--r-md);
  box-shadow: var(--se-shadow);
  transition: transform .7s var(--ease);
}
.flyer--1 { background: linear-gradient(160deg, #1B2566, #0E1445); transform: translate(-132%, -50%) rotate(-7deg) translateZ(0); z-index: 1; }
.flyer--2 {
  z-index: 3;
  width: 40%; height: 100%;
  padding: 24px 20px;
  background: linear-gradient(160deg, #5B4DB3, #2A2A7A 70%, #1B2566);
  border-color: rgba(255,255,255,.28);
  box-shadow: var(--se-shadow), 0 0 50px rgba(91, 77, 179, .45);
  transform: translate(-50%, -50%);
}
.flyer--3 { background: linear-gradient(160deg, #2E8FB8, #1B4F8C 70%, #1B2566); transform: translate(32%, -50%) rotate(7deg); z-index: 1; }
.js .flyers[data-reveal] .flyer--1 { transform: translate(-50%, -50%) rotate(0); }
.js .flyers[data-reveal] .flyer--3 { transform: translate(-50%, -50%) rotate(0); }
.js .flyers[data-reveal].is-in .flyer--1 { transform: translate(-132%, -50%) rotate(-7deg); }
.js .flyers[data-reveal].is-in .flyer--3 { transform: translate(32%, -50%) rotate(7deg); }
.flyers:hover .flyer--1 { transform: translate(-140%, -52%) rotate(-9deg); }
.flyers:hover .flyer--3 { transform: translate(40%, -52%) rotate(9deg); }
.flyer__tag {
  align-self: flex-start;
  padding: 3px 10px;
  font-size: 0.7rem; font-weight: 700;
  background: rgba(255,255,255,.18);
  border-radius: var(--r-pill);
}
.flyer--3 { align-items: flex-end; text-align: right; }
.flyer--3 .flyer__tag, .flyer--3 .flyer__cta { align-self: flex-end; }
.flyer__promise { margin-top: 16px; font-size: clamp(.9rem, 1.4vw, 1.2rem); font-weight: 800; line-height: 1.1; text-transform: uppercase; }
.flyer__copy { margin-top: 12px; font-size: clamp(.72rem, .95vw, .86rem); line-height: 1.45; color: rgba(255,255,255,.85); }
.flyer__cta {
  margin-top: auto;
  align-self: flex-start;
  padding: 8px 14px;
  font-size: 0.75rem; font-weight: 700;
  color: var(--se-navy-950);
  background: var(--se-cyan-400);
  border-radius: var(--r-pill);
}
.flyers figcaption { margin-top: 18px; text-align: center; font-size: 0.82rem; color: var(--se-muted); }

.result {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  margin-top: 12px;
  padding: 26px 32px;
  background: linear-gradient(100deg, rgba(95, 195, 224, .14), rgba(91, 77, 179, .22));
  border: 1px solid var(--se-line-cyan);
  border-radius: var(--r-lg);
}
.result__icon { display: grid; place-items: center; width: 48px; height: 48px; color: var(--se-navy-950); background: var(--se-cyan-400); border-radius: 50%; }
.result h3 { font-size: 1.1rem; font-weight: 800; color: var(--se-cyan-400); text-transform: uppercase; }
.result p { margin-top: 4px; max-width: 58ch; color: var(--se-lavender-100); }

/* ---------- Bot vendedor: 3 niveles ---------- */
.levels {
  display: grid;
  grid-template-columns: 1fr 0 1fr 0 1fr;
  align-items: stretch;
}
.plus {
  position: relative;
  z-index: 2;
  align-self: center;
  justify-self: center;
  display: grid; place-items: center;
  width: 36px; height: 36px;
  font-size: 1.4rem; font-weight: 800; line-height: 1;
  color: var(--se-navy-950);
  background: var(--se-cyan-400);
  border-radius: 50%;
  box-shadow: 0 0 0 6px var(--se-navy-900), var(--se-glow);
}
.level {
  --glow: .08;
  display: flex; flex-direction: column;
  margin-inline: 14px;
  padding: 30px 28px 28px;
  background: linear-gradient(170deg, rgba(255,255,255,.08), rgba(255,255,255,.025));
  border: 1px solid rgba(95, 195, 224, calc(.18 + var(--glow)));
  border-radius: var(--r-lg);
  box-shadow: 0 20px 50px rgba(4, 7, 28, .35), 0 0 calc(var(--glow) * 300px) rgba(95, 195, 224, calc(var(--glow) * .9));
  transition: transform .3s var(--ease), border-color .3s ease;
}
.level--1 { --glow: .02; }
.level--2 { --glow: .08; }
.level--3 { --glow: .16; background: linear-gradient(170deg, rgba(91,77,179,.38), rgba(255,255,255,.03)); }
.level:hover { transform: translateY(-4px); border-color: var(--se-cyan-400); }
.level__head { display: flex; align-items: center; gap: 16px; }
.level__icon { display: grid; place-items: center; width: 54px; height: 54px; flex: none; color: var(--se-cyan-400); background: rgba(95,195,224,.1); border: 1px solid var(--se-line-cyan); border-radius: var(--r-md); }
.level__icon .ico { width: 28px; height: 28px; }
.level__n { font-size: 0.8rem; font-weight: 700; color: var(--se-cyan-400); }
.level h3 { font-size: 1.9rem; font-weight: 800; line-height: 1.1; text-transform: uppercase; }
.level__more { margin-top: 22px; font-size: 0.9rem; font-weight: 700; color: var(--se-lavender-100); }
.level__list { display: grid; gap: 16px; margin: 22px 0 28px; }
.level__more + .level__list { margin-top: 14px; }
.level__list li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: 0.96rem; color: var(--se-muted); }
.level__list .ico { width: 20px; height: 20px; margin-top: 3px; color: var(--se-cyan-400); }
.level .btn { margin-top: auto; }

/* ---------- Nosotros ---------- */
.about {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(32px, 6vw, 80px);
}
.about__art {
  position: relative;
  display: grid; place-items: center;
  aspect-ratio: 1 / 1;
  max-width: 480px; width: 100%;
  margin-inline: auto;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 42%, rgba(95, 195, 224, 0.28), transparent 62%),
    linear-gradient(180deg, rgba(27,37,102,.7), rgba(10,15,51,.85));
  border: 1px solid var(--se-line-cyan);
  border-radius: var(--r-lg);
  box-shadow: var(--se-shadow);
}
.about__art::after {
  content: '';
  position: absolute;
  left: -20%; right: -20%; bottom: 0; height: 40%;
  background:
    repeating-linear-gradient(90deg, rgba(127,211,234,.2) 0 1px, transparent 1px 44px),
    repeating-linear-gradient(0deg, rgba(127,211,234,.2) 0 1px, transparent 1px 34px);
  transform: perspective(380px) rotateX(62deg);
  transform-origin: 50% 100%;
  -webkit-mask-image: linear-gradient(0deg, #000 5%, transparent 90%);
  mask-image: linear-gradient(0deg, #000 5%, transparent 90%);
}
.about__art > img {
  position: relative; z-index: 1;
  width: 74%; height: auto;
  filter: drop-shadow(0 22px 28px rgba(4, 7, 28, .55));
}
.tile {
  position: absolute; z-index: 2;
  display: grid; place-items: center;
  width: 54px; height: 54px;
  color: var(--se-cyan-300);
  background: var(--se-glass);
  border: 1px solid var(--se-line-cyan);
  border-radius: 16px;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  box-shadow: 0 10px 24px rgba(4,7,28,.4), 0 0 18px rgba(95,195,224,.18);
  animation: bob 6s ease-in-out infinite alternate;
}
.tile .ico { width: 26px; height: 26px; }
.tile--a { top: 6%; left: 6%; }
.tile--b { top: 6%; right: 6%; animation-delay: -2s; }
.tile--c { bottom: 6%; left: 6%; animation-delay: -4s; }
.tile--d { bottom: 6%; right: 6%; animation-delay: -1s; }

.about__copy { display: grid; gap: 22px; }
.about__copy > p { max-width: 58ch; color: var(--se-muted); font-size: 1.05rem; }
.pillars { display: flex; flex-wrap: wrap; gap: 10px; }
.pillars li { padding: 10px 18px; font-size: 0.9rem; font-weight: 700; border: 1.5px solid var(--se-cyan-400); border-radius: var(--r-pill); }
.motto {
  margin-top: 6px;
  padding: 24px 28px;
  background: linear-gradient(100deg, rgba(95,195,224,.14), rgba(91,77,179,.22));
  border: 1px solid var(--se-line-cyan);
  border-radius: var(--r-md);
}
.motto__line { font-size: clamp(1.3rem, 2.4vw, 1.75rem); font-weight: 800; text-transform: uppercase; color: var(--se-cyan-400); }
.motto p:last-child { margin-top: 6px; color: var(--se-lavender-100); }

/* ---------- Contacto ---------- */
.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}
.contact__info { display: grid; gap: 20px; }
.contact__list { margin-top: 12px; display: grid; gap: 20px; }
.contact__list dt { font-size: 0.86rem; font-weight: 600; color: var(--se-muted); }
.contact__list dd { font-size: clamp(1.2rem, 2.4vw, 1.7rem); font-weight: 800; line-height: 1.3; overflow-wrap: anywhere; }
.contact__list a { text-decoration: none; transition: color .2s ease; }
.contact__list a:hover { color: var(--se-cyan-400); }

.qr {
  display: flex; align-items: center; gap: 20px;
  margin-top: 8px;
  padding: 16px 20px 16px 16px;
  background: var(--se-glass);
  border: 1px solid var(--se-line-cyan);
  border-radius: var(--r-md);
}
.qr img { width: 112px; height: auto; flex: none; border-radius: 10px; image-rendering: pixelated; }
.qr h3 { font-size: 1.05rem; font-weight: 800; color: var(--se-cyan-400); text-transform: uppercase; }
.qr p { margin-top: 4px; font-size: 0.92rem; color: var(--se-muted); max-width: 30ch; }

.social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.social a {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 46px;
  padding: 8px 18px 8px 10px;
  font-size: 0.9rem; font-weight: 700;
  text-decoration: none;
  border: 1px solid var(--se-line);
  border-radius: var(--r-pill);
  background: var(--se-panel);
  transition: background-color .2s ease, border-color .2s ease, transform .2s var(--ease);
}
.social a:hover { border-color: var(--se-cyan-400); background: rgba(95,195,224,.12); transform: translateY(-2px); }
.social svg { width: 30px; height: 30px; padding: 5px; flex: none; color: var(--se-navy-900); fill: currentColor; background: var(--se-white); border-radius: 50%; }

.form {
  padding: clamp(24px, 4vw, 40px);
  background: linear-gradient(170deg, rgba(255,255,255,.09), rgba(255,255,255,.03));
  border: 1px solid var(--se-line-cyan);
  border-radius: var(--r-lg);
  box-shadow: var(--se-shadow);
}
.form__title { font-size: 1.35rem; font-weight: 800; margin-bottom: 24px; }
.field { margin-bottom: 18px; }
.field label { display: block; margin-bottom: 8px; font-size: 0.9rem; font-weight: 700; }
.optional { font-weight: 500; color: var(--se-muted); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: inherit; font-size: 1rem; font-weight: 500;
  color: var(--se-white);
  background: rgba(10, 15, 51, 0.5);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--r-sm);
  transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.field select option { color: var(--se-navy-950); }
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--se-cyan-400);
  background: rgba(10, 15, 51, 0.7);
  box-shadow: 0 0 0 3px rgba(95, 195, 224, .3);
}
.field.has-error input, .field.has-error select { border-color: #FF6B7A; }
.field__error { margin-top: 6px; font-size: 0.85rem; font-weight: 600; color: #FF9AA5; }
.form__note { margin-top: 14px; font-size: 0.85rem; color: var(--se-muted); text-align: center; }

/* =========================================================
   Pie y botón flotante
   ========================================================= */
.site-footer { padding: 56px 0 40px; background: var(--se-navy-950); border-top: 1px solid var(--se-line); }
.footer__inner { display: grid; gap: 20px; justify-items: start; }
.logo--footer { width: 132px; }
.site-footer p { color: var(--se-muted); font-size: 0.92rem; }
.footer__copy { font-size: 0.82rem; }

.wa-float {
  position: fixed;
  right: 20px; bottom: 20px;
  z-index: 60;
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 52px;
  padding: 13px 20px 13px 16px;
  font-size: 0.92rem; font-weight: 700;
  text-decoration: none;
  color: var(--se-navy-950);
  background: linear-gradient(180deg, var(--se-cyan-300), var(--se-cyan-400));
  border-radius: var(--r-pill);
  box-shadow: var(--se-shadow), var(--se-glow);
  transition: transform .2s var(--ease), box-shadow .25s ease;
}
.wa-float:hover { transform: translateY(-2px); box-shadow: var(--se-shadow), 0 0 40px rgba(95,195,224,.55); }
.wa-float svg { width: 26px; height: 26px; fill: currentColor; }

/* =========================================================
   Animaciones
   ========================================================= */
@keyframes msg-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes blink { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes bob { from { translate: 0 0; } to { translate: 0 -10px; } }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

/* Única secuencia de entrada: el titular */
.hero__tag, .display span, .lead, .route, .hero__actions { animation: rise .8s var(--ease) both; }
.display span:nth-child(1) { animation-delay: .08s; }
.display span:nth-child(2) { animation-delay: .22s; }
.lead { animation-delay: .38s; }
.route { animation-delay: .5s; }
.hero__actions { animation-delay: .6s; }

/* Pausa decoraciones infinitas fuera de pantalla */
.is-paused .stage__spin, .is-paused .stage__bot, .is-paused .tile { animation-play-state: paused; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1100px) {
  .nav { gap: 22px; }
  .nav__list { gap: 18px; }
  .levels { grid-template-columns: 1fr; gap: 0; max-width: 560px; margin-inline: auto; }
  .level { margin-inline: 0; }
  .plus { margin: 14px 0; box-shadow: 0 0 0 5px var(--se-navy-900), var(--se-glow); }
}

@media (max-width: 960px) {
  .burger { display: flex; }
  .nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    padding: 12px 24px 28px;
    background: var(--se-navy-950);
    border-bottom: 1px solid var(--se-line);
    box-shadow: 0 30px 40px rgba(4, 7, 28, .5);
  }
  .nav.is-open { display: flex; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__list a { display: block; padding: 15px 0; font-size: 1.05rem; border-bottom: 1px solid var(--se-line); }
  .nav__list a[aria-current="true"]::after { display: none; }
  .nav__list a[aria-current="true"] { color: var(--se-cyan-400); }
  .nav .btn { min-height: 52px; }

  .hero__grid, .campaign, .about, .contact { grid-template-columns: 1fr; }
  .hero__copy { max-width: 640px; }
  .about__art { max-width: 380px; }
  .qr { display: none; }

  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps::before, .steps::after { top: 32px; bottom: 90px; left: 31px; right: auto; width: 2px; height: auto; }
  .steps::after { transform-origin: top center; background: linear-gradient(180deg, var(--se-cyan-400), var(--se-cyan-300)); }
  .js .steps[data-reveal]::after { transform: scaleY(0); }
  .js .steps[data-reveal].is-in::after { transform: scaleY(1); }
  .step { display: grid; grid-template-columns: 64px 1fr; column-gap: 20px; padding-bottom: 36px; }
  .step__node { grid-row: 1 / span 3; margin-bottom: 0; }
  .step p:last-child { max-width: 46ch; margin-top: 6px; }

  .result { grid-template-columns: auto 1fr; }
  .result .btn { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  .container { width: min(1200px, 100% - 32px); }
  .hero { padding-top: 24px; }
  .hero__actions .btn { width: 100%; }
  .route { flex-wrap: nowrap; }
  .route li { padding: 8px 10px; font-size: .74rem; white-space: nowrap; }
  .route li + li { margin-left: 16px; }
  .route li + li::before { width: 16px; }
  .flyer--2 .flyer__cta { padding: 7px 10px; font-size: .68rem; white-space: nowrap; }
  .stage { padding-top: 250px; }
  .stage__orbit { right: -8%; width: 92%; }
  .stage__bot { right: 6%; width: 62%; }
  .chat__log { min-height: 230px; max-height: 270px; padding: 16px; }
  .chat__chips { padding-inline: 16px; }
  .flyers__set { height: 340px; }
  .flyer { padding: 16px 14px; }
  .flyers:hover .flyer--1, .flyers:hover .flyer--3 { transition-duration: .7s; }
  .result { padding: 22px 20px; }
  .level { padding: 26px 22px 24px; }
  .level h3 { font-size: 1.6rem; }
  .tile { width: 46px; height: 46px; }
  .wa-float { padding: 15px; }
  .wa-float span { display: none; }
}

/* Dispositivos táctiles: sin hover que se quede pegado */
@media (max-width: 480px) {
  .hero .route { display: none; }
  /* El recorrido de la campaña se apila en vertical para no desbordar */
  .route { flex-direction: column; align-items: flex-start; flex-wrap: nowrap; }
  .route li { padding: 9px 16px; font-size: .84rem; }
  .route li + li { margin: 20px 0 0 0; }
  .route li + li::before {
    right: auto; left: 28px; top: auto; bottom: 100%;
    width: 1px; height: 20px;
    background: linear-gradient(180deg, rgba(95,195,224,.15), var(--se-cyan-400));
  }
}

@media (hover: none) {
  .level:hover, .btn--primary:hover, .btn--ghost:hover, .social a:hover, .chip:hover, .wa-float:hover { transform: none; }
  .flyers:hover .flyer--1 { transform: translate(-132%, -50%) rotate(-7deg); }
  .flyers:hover .flyer--3 { transform: translate(32%, -50%) rotate(7deg); }
}

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