/* =========================================================
   SYNAPSE — Hoja de estilos
   Archivo (única familia tipográfica del sistema)
   ========================================================= */

:root {
  --morado: #6D28D9;
  --morado-hover: #7C3AED;
  --morado-active: #5B21B6;
  --morado-deep: #4C1D95;
  --morado-deepest: #2E1065;
  --lila: #A78BFA;
  --lila-claro: #C4B5FD;
  --verde: #10B981;
  --verde-bright: #34D399;
  --verde-txt: #065F46;
  --ambar: #F59E0B;
  --ambar-bright: #FCD34D;
  --ambar-txt: #92400E;

  --oscuro-1: #17161B;
  --oscuro-2: #1C1B22;
  --oscuro-3: #131217;
  --oscuro-input: #26242B;
  --borde-oscuro: rgba(249, 250, 252, .1);
  --borde-lila: rgba(167, 139, 250, .24);

  --claro-1: #F3F2F2;
  --claro-2: #EAE9E9;
  --blanco: #FFFFFF;
  --texto: #201E1D;
  --texto-secundario: #4A4744;
  --texto-tenue: #7D7979;
  --borde-claro: rgba(32, 30, 29, .1);

  --texto-claro: #F3F2F2;
  --cuerpo-oscuro: #C9C6CE;
  --tenue-oscuro: #8D8A94;

  --ease: cubic-bezier(.32, .72, 0, 1);
  --sans: 'Archivo', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--oscuro-3); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}
body {
  margin: 0;
  background: var(--oscuro-3);
  color: var(--texto);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: var(--morado); text-decoration: none; transition: color .2s var(--ease); }
input, button, textarea { font-family: var(--sans); font-size: 16px; }
button { cursor: pointer; -webkit-appearance: none; appearance: none; }
::placeholder { color: #8A8783; }
::selection { background: rgba(167, 139, 250, .4); }

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

.saltar {
  position: absolute; left: -9999px; top: 0;
  padding: 10px 16px; background: var(--morado); color: #fff;
  z-index: 99; border-radius: 10px; font-weight: 800;
}
.saltar:focus { left: 8px; top: 8px; }

/* Rellena el área segura de arriba (notch / Dynamic Island) con el mismo
   color del nav, sin depender de que el nav "empuje" su fondo hacia allá. */
.franja-segura-top {
  position: fixed; top: 0; left: 0; right: 0;
  height: env(safe-area-inset-top);
  background: transparent;
  z-index: 70; pointer-events: none;
}

.container { position: relative; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.container--angosto { max-width: 880px; }

.titulo-grande { font-weight: 800; letter-spacing: -.03em; line-height: 1.02; text-wrap: balance; }

.degradado {
  background: linear-gradient(104deg, #F5F3FF 4%, #C4B5FD 38%, #7C3AED 82%);
  -webkit-background-clip: text; background-clip: text; color: #F3F2F2;
}
@supports (background-clip: text) or (-webkit-background-clip: text) {
  .degradado { -webkit-text-fill-color: transparent; color: transparent; }
}

@keyframes burbuja { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes punto { 0%, 100% { opacity: .25; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-3px); } }
@keyframes sello { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }
@keyframes latido { 0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, .5); } 70% { box-shadow: 0 0 0 14px rgba(16, 185, 129, 0); } 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); } }
@keyframes entraMenu { from { opacity: 0; } to { opacity: 1; } }
@keyframes entraLink { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes neon { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }

/* ---------- Navegación: barra flotante de "vidrio líquido" ---------- */
html { scroll-padding-top: 96px; }
.i { width: 1em; height: 1em; fill: currentColor; flex: none; display: inline-block; }
[hidden] { display: none !important; }

.nav {
  position: fixed; top: calc(12px + env(safe-area-inset-top)); left: 0; right: 0; z-index: 60;
  padding: 0 12px; display: flex; justify-content: center; pointer-events: none;
}
.nav__fila {
  position: relative; isolation: isolate;
  pointer-events: auto; width: 100%; max-width: 1120px;
  display: flex; align-items: center; gap: 14px;
  padding: 7px 7px 7px 20px; border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .78) 0%, rgba(245, 241, 255, .66) 100%);
  -webkit-backdrop-filter: blur(28px) saturate(210%) brightness(1.08); backdrop-filter: blur(28px) saturate(210%) brightness(1.08);
  box-shadow:
    inset 0 1px 0 #fff,
    inset 0 -1.5px 2px rgba(255, 255, 255, .75),
    inset 1px 0 1px rgba(255, 255, 255, .5),
    inset -1px 0 1px rgba(255, 255, 255, .5),
    inset 0 0 0 .5px rgba(255, 255, 255, .6),
    0 1px 2px rgba(15, 14, 19, .08),
    0 14px 34px -14px rgba(15, 14, 19, .5);
}
.nav__fila::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .55) 0%, rgba(255, 255, 255, 0) 48%),
    radial-gradient(90% 160% at 10% -60%, rgba(255, 255, 255, .95) 0%, rgba(255, 255, 255, 0) 50%),
    radial-gradient(70% 140% at 100% 160%, rgba(196, 181, 253, .45) 0%, rgba(196, 181, 253, 0) 60%);
}
.nav__logo { display: flex; align-items: center; flex: none; margin-right: auto; }
.nav__logo img { display: block; height: 34px; width: auto; }
.nav__links { display: none; align-items: center; gap: 2px; font-size: 14px; font-weight: 600; }
.nav__links a {
  color: #3B3843; padding: 8px 13px; border-radius: 999px;
  transition: color .2s var(--ease), background .2s var(--ease);
}
.nav__links a:hover { color: var(--morado); background: rgba(109, 40, 217, .08); }

.otros { position: relative; display: none; padding-left: 12px; border-left: 1px solid rgba(32, 30, 29, .1); }
.otros__btn {
  display: flex; align-items: center; gap: 6px;
  background: none; border: 0; padding: 8px 12px; border-radius: 999px;
  font-size: 13px; font-weight: 600; color: #6B6874;
  transition: color .2s var(--ease), background .2s var(--ease);
}
.otros__btn:hover, .otros__btn[aria-expanded="true"] { color: var(--texto); background: rgba(32, 30, 29, .05); }
.otros__btn .i { font-size: 12px; transition: transform .25s var(--ease); }
.otros__btn[aria-expanded="true"] .i { transform: rotate(180deg); }
.otros__menu {
  position: absolute; top: calc(100% + 16px); right: 0; width: 268px; padding: 6px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .97) 0%, rgba(248, 245, 255, .92) 100%);
  -webkit-backdrop-filter: blur(22px) saturate(190%); backdrop-filter: blur(22px) saturate(190%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .95),
    inset 0 0 0 .5px rgba(255, 255, 255, .6),
    0 1px 2px rgba(15, 14, 19, .08),
    0 24px 50px -20px rgba(15, 14, 19, .55);
  display: flex; flex-direction: column; gap: 2px;
  animation: bajaMenu .22s var(--ease) both;
}
@keyframes bajaMenu { from { opacity: 0; transform: translateY(-6px) scale(.98); } to { opacity: 1; transform: none; } }
.otros__menu a {
  display: flex; flex-direction: column; gap: 2px;
  padding: 10px 14px; border-radius: 14px; transition: background .2s;
}
.otros__menu a:hover { background: rgba(109, 40, 217, .08); }
.otros__menu strong { font-size: 14px; font-weight: 700; color: var(--texto); }
.otros__menu span { font-size: 12px; color: #6B6874; }

/* Hamburguesa: botón circular de vidrio */
.nav__burger {
  width: 44px; height: 44px; flex: none; display: grid; place-content: center; gap: 5px; padding: 0;
  border: 0; border-radius: 50%; position: relative; z-index: 80;
  background: linear-gradient(180deg, #fff 0%, rgba(243, 238, 255, .9) 100%);
  box-shadow:
    inset 0 1px 0 #fff,
    inset 0 -1px 1px rgba(196, 181, 253, .35),
    0 0 0 .5px rgba(76, 29, 149, .12),
    0 3px 10px -3px rgba(76, 29, 149, .35);
  transition: transform .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease);
}
.nav__burger:hover { transform: scale(1.05); }
.nav__burger:active { transform: scale(.94); }
.nav__burger span {
  display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--texto);
  transition: transform .26s var(--ease), background .26s var(--ease);
}
.nav__burger[aria-expanded="true"] {
  background: linear-gradient(180deg, #7C3AED 0%, #6D28D9 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 6px 16px -6px rgba(109, 40, 217, .9);
}
.nav__burger[aria-expanded="true"] span { background: #fff; }
.nav__burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.nav .btn--nav { display: none; }
.nav .btn--nav.nav__cta-fija { display: inline-flex; }

@media (min-width: 880px) {
  .nav__links, .otros { display: flex; }
  .nav .btn--nav { display: inline-flex; }
  .nav__burger { display: none; }
}

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 16px; padding: 16px 24px; border-radius: 12px; border: none;
  transition: background .2s var(--ease), box-shadow .25s var(--ease), transform .2s var(--ease), border-color .18s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(0) !important; }
.btn--primario { background: var(--morado); color: #fff; }
.btn--primario:hover { background: var(--morado-hover); box-shadow: 0 16px 34px -14px rgba(124, 58, 237, .95); transform: translateY(-2px); }
.btn--fantasma { border: 1px solid rgba(249, 250, 252, .3); color: var(--texto-claro); }
.btn--fantasma:hover { background: rgba(167, 139, 250, .14); border-color: var(--lila); }
.btn--nav {
  font-size: 14px; padding: 11px 20px; border-radius: 999px;
  background: linear-gradient(180deg, #7C3AED 0%, #6D28D9 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 6px 16px -8px rgba(109, 40, 217, .9);
}
.btn--nav:hover { background: linear-gradient(180deg, #8B5CF6 0%, #7C3AED 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 10px 22px -8px rgba(124, 58, 237, .95); transform: translateY(-1px); }
.btn:disabled { opacity: .6; cursor: wait; transform: none !important; }

/* ---------- Menú móvil ---------- */
.menu-movil {
  position: fixed; inset: 0; z-index: 55;
  background: rgba(19, 18, 23, .84);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  display: flex; flex-direction: column; justify-content: center; gap: 6px;
  padding: env(safe-area-inset-top) 28px env(safe-area-inset-bottom);
  opacity: 0; visibility: hidden; transition: opacity .28s var(--ease), visibility 0s linear .28s;
}
.menu-movil.is-open { opacity: 1; visibility: visible; transition: opacity .28s var(--ease); }
.menu-movil a {
  color: var(--texto-claro); font-weight: 800; font-size: 30px; letter-spacing: -.02em; padding: 9px 0;
  opacity: 0; transform: translateY(14px); transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.menu-movil.is-open a { opacity: 1; transform: none; }
.menu-movil a:nth-child(1) { transition-delay: .04s; }
.menu-movil a:nth-child(2) { transition-delay: .09s; }
.menu-movil a:nth-child(3) { transition-delay: .14s; }
.menu-movil a:nth-child(4) { transition-delay: .19s; }
.menu-movil a:nth-child(5) { transition-delay: .24s; }
a.menu-movil__cta {
  margin-top: 20px; align-self: flex-start; color: #fff !important;
  font-weight: 800; font-size: 17px; padding: 15px 26px; border-radius: 999px;
  background: linear-gradient(180deg, #7C3AED 0%, #6D28D9 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 10px 24px -10px rgba(109, 40, 217, .9);
}
.menu-movil__otros { margin-top: 30px; display: flex; flex-direction: column; gap: 8px; opacity: 0; transition: opacity .3s var(--ease) .27s; }
.menu-movil.is-open .menu-movil__otros { opacity: 1; }
.menu-movil__otros > span { font-size: 12px; color: var(--tenue-oscuro); }
.menu-movil__otros div { display: flex; gap: 18px; flex-wrap: wrap; }
.menu-movil .menu-movil__otros a { font-size: 14px; font-weight: 600; letter-spacing: 0; padding: 0; color: var(--cuerpo-oscuro); transition-delay: 0s; }
.menu-movil__tag { margin-top: 26px; font-size: 13px; color: var(--tenue-oscuro); opacity: 0; transition: opacity .3s var(--ease) .29s; }
.menu-movil.is-open .menu-movil__tag { opacity: 1; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--oscuro-1); color: var(--texto-claro); overflow: hidden; }
.hero__glow {
  position: absolute; top: -22%; right: -8%; width: 62vw; height: 62vw; max-width: 780px; max-height: 780px;
  background: radial-gradient(circle, rgba(109, 40, 217, .42) 0%, rgba(109, 40, 217, 0) 68%);
  pointer-events: none;
}
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero__grid {
  position: relative; padding: calc(clamp(52px, 8vh, 100px) + 72px) 24px clamp(48px, 7vh, 84px);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: clamp(32px, 5vw, 64px); align-items: center;
}
.hero__eyebrow { margin: 0 0 20px; font-size: 13px; font-weight: 600; color: var(--lila); display: flex; align-items: center; gap: 10px; }
.hero__eyebrow-dash { width: 26px; height: 2px; background: linear-gradient(90deg, var(--morado), var(--lila)); display: block; border-radius: 2px; }
.hero__title {
  font-family: var(--sans); font-weight: 800; font-size: clamp(38px, 6.6vw, 88px); line-height: .96;
  letter-spacing: -.035em; text-wrap: balance; padding-bottom: .08em; margin: 0;
}
.hero__subtitle { margin: 24px 0 0; max-width: 46ch; font-size: clamp(16px, 1.5vw, 20px); line-height: 1.5; color: var(--cuerpo-oscuro); }
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }
.hero__collage { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hero__collage-ancha { grid-column: span 2; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 16px; }
.hero__collage-cuadro { aspect-ratio: 1 / 1; overflow: hidden; border-radius: 14px; }
.hero__collage img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- La noche del martes ---------- */
.escena { position: relative; overflow: hidden; background: var(--oscuro-1); color: var(--texto-claro); min-height: 100vh; min-height: 100svh; display: flex; align-items: center; }
.escena__textura {
  position: absolute; inset: -20% -10%; z-index: 0; pointer-events: none; will-change: transform;
  background:
    radial-gradient(640px 640px at 20% 26%, rgba(124, 58, 237, .5), transparent 62%),
    radial-gradient(520px 520px at 88% 74%, rgba(52, 211, 153, .14), transparent 60%),
    radial-gradient(480px 480px at 55% 10%, rgba(167, 139, 250, .24), transparent 62%);
  filter: blur(26px);
}
.escena__pin { position: relative; z-index: 1; display: block; width: 100%; }
.escena__grid {
  max-width: 1180px; margin: 0 auto; width: 100%;
  padding: clamp(64px, 8vh, 104px) 24px clamp(28px, 4vh, 56px);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: clamp(28px, 4vw, 56px); align-items: center;
}
.escena__actos { display: grid; }
.escena__acto {
  grid-area: 1 / 1; opacity: 0; pointer-events: none;
  transition: opacity .6s var(--ease);
}
.escena__acto.en-acto { opacity: 1; pointer-events: auto; }
.escena__acto h2 { font-family: var(--sans); font-weight: 800; font-size: clamp(30px, 4.4vw, 60px); line-height: 1; letter-spacing: -.03em; }
.escena__acto p { margin: 22px 0 0; max-width: 42ch; font-size: clamp(16px, 1.4vw, 19px); color: var(--cuerpo-oscuro); }
.escena__resultado-mal { margin: 18px 0 0 !important; font-size: 14px; color: var(--ambar); font-weight: 600; max-width: none !important; }
.escena__resultado-bien { margin: 18px 0 0 !important; font-size: 14px; color: var(--verde-bright); font-weight: 600; max-width: none !important; }

.escena__panel {
  border: 1px solid var(--ambar-txt); background: var(--oscuro-2); border-radius: 18px; overflow: hidden;
  height: clamp(420px, 58vh, 540px); display: flex; flex-direction: column;
  box-shadow: 0 30px 70px -40px rgba(0, 0, 0, .9);
  transition: border-color .5s var(--ease);
}
.escena__panel.en-acto2 { border-color: rgba(52, 211, 153, .45); }
.escena__barra-track { height: 3px; background: rgba(249, 250, 252, .08); }
.escena__barra-fill {
  height: 3px; width: 0; background: linear-gradient(90deg, var(--morado), var(--lila));
  transition: width 4.2s linear;
}
.escena__panel.en-acto2 .escena__barra-fill { width: 100%; }
.escena__panel-header {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 15px 18px; border-bottom: 1px solid rgba(249, 250, 252, .1);
}
.escena__panel-marca { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 15px; }
.escena__panel-icono { width: 26px; height: 26px; border-radius: 9px; background: linear-gradient(140deg, var(--morado), var(--lila)); display: block; flex: none; }
.escena__reloj { font-size: 13px; font-variant-numeric: tabular-nums; color: var(--lila); }

.log { padding: 6px 0; flex: 1; overflow-y: auto; }
.log__fila { display: grid; grid-template-columns: 58px 1fr; gap: 14px; padding: 11px 18px; }
.log__fila--destacada { margin: 4px 10px; border-radius: 12px; background: rgba(245, 158, 11, .1); border: 1px solid rgba(245, 158, 11, .28); padding-left: 8px; padding-right: 8px; }
.log__hora { font-size: 13px; font-variant-numeric: tabular-nums; color: var(--tenue-oscuro); }
.log__msg { margin: 0 0 6px; font-size: 15px; color: #E7E5EA; }
.log__msg--tenue { color: var(--tenue-oscuro); }
.log__estado { font-size: 11px; font-weight: 600; letter-spacing: .04em; color: var(--ambar); }
.log__estado--fuerte { font-weight: 800; }

.chat { padding: 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; overflow-y: auto; }
.burbuja-fila { display: flex; animation: burbuja .32s var(--ease) both; }
.burbuja-fila--agente { justify-content: flex-end; }
.burbuja-fila--cliente { justify-content: flex-start; }
.burbuja { max-width: 80%; padding: 12px 14px; }
.burbuja p { margin: 0; font-size: 15px; line-height: 1.45; }
.burbuja--agente { background: linear-gradient(140deg, var(--morado), var(--morado-active)); color: #fff; border-radius: 16px 16px 5px 16px; }
.burbuja--cliente { background: var(--oscuro-input); color: #E7E5EA; border-radius: 16px 16px 16px 5px; }
.burbuja__hora { display: block; margin-top: 6px; font-size: 11px; font-variant-numeric: tabular-nums; }
.burbuja--agente .burbuja__hora { color: rgba(255, 255, 255, .74); }
.burbuja--cliente .burbuja__hora { color: var(--tenue-oscuro); }
.escribiendo { display: flex; justify-content: flex-end; }
.escribiendo__caja { display: flex; gap: 5px; align-items: center; padding: 12px 14px; background: var(--morado); border-radius: 14px 14px 4px 14px; }
.escribiendo__punto { width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: punto 1s infinite; }
.escribiendo__punto:nth-child(2) { animation-delay: .16s; }
.escribiendo__punto:nth-child(3) { animation-delay: .32s; }
.agendada {
  margin-top: auto; border-radius: 12px; background: rgba(16, 185, 129, .12); border: 1px solid rgba(16, 185, 129, .4);
  padding: 12px 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  animation: sello .4s var(--ease) both;
}
.agendada__etiqueta { font-size: 12px; font-weight: 800; letter-spacing: .06em; color: var(--verde-bright); }
.agendada__detalle { font-size: 13px; color: var(--cuerpo-oscuro); font-variant-numeric: tabular-nums; }

/* ---------- La agenda ---------- */
.seccion-agenda { background: var(--claro-1); }
.agenda__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: clamp(28px, 4vw, 56px); align-items: center; }
.agenda__titulo { font-family: var(--sans); font-weight: 800; font-size: clamp(28px, 3.6vw, 48px); line-height: 1.02; letter-spacing: -.03em; }
.agenda__texto { margin: 20px 0 0; max-width: 44ch; font-size: 17px; color: var(--texto-secundario); }
.agenda__pills { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.agenda__pill { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; padding: 8px 14px; border-radius: 999px; }
.agenda__pill span { width: 10px; height: 10px; border-radius: 50%; }
.agenda__pill--morado { background: rgba(109, 40, 217, .1); color: var(--morado-deep); }
.agenda__pill--morado span { background: var(--morado); }
.agenda__pill--verde { background: rgba(16, 185, 129, .12); color: var(--verde-txt); }
.agenda__pill--verde span { background: var(--verde); }
.agenda__pill--ambar { background: rgba(245, 158, 11, .14); color: var(--ambar-txt); }
.agenda__pill--ambar span { background: var(--ambar); }

.agenda__card { background: #fff; border: 1px solid var(--borde-claro); border-radius: 18px; padding: 18px; box-shadow: 0 24px 50px -34px rgba(32, 30, 29, .5); }
.agenda__card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.agenda__card-dia { font-family: var(--sans); font-weight: 800; font-size: 16px; }
.agenda__card-badge { font-size: 12px; font-weight: 600; color: var(--morado); background: rgba(109, 40, 217, .1); padding: 6px 12px; border-radius: 999px; }
.agenda__cabeceras { display: grid; grid-template-columns: 52px repeat(3, minmax(0, 1fr)); gap: 8px; font-size: 11px; font-weight: 700; letter-spacing: .04em; color: var(--texto-tenue); margin-bottom: 8px; }
.agenda__cabeceras span:nth-child(2) { color: var(--morado-deep); }
.agenda__cabeceras span:nth-child(3) { color: var(--verde-txt); }
.agenda__cabeceras span:nth-child(4) { color: var(--ambar-txt); }
.agenda__filas { display: grid; grid-template-columns: 52px repeat(3, minmax(0, 1fr)); gap: 8px; align-items: stretch; }
.agenda__hora { font-size: 12px; color: var(--texto-tenue); font-variant-numeric: tabular-nums; padding-top: 4px; }
.agenda__slot { border-radius: 10px; min-height: 52px; display: flex; flex-direction: column; justify-content: center; gap: 2px; padding: 8px 10px; }
.agenda__slot--vacio { border: 1px dashed rgba(32, 30, 29, .16); }
.agenda__slot--morado { background: rgba(109, 40, 217, .1); border-left: 3px solid var(--morado); }
.agenda__slot--morado span:first-child { color: var(--morado-deep); }
.agenda__slot--verde { background: rgba(16, 185, 129, .12); border-left: 3px solid var(--verde); }
.agenda__slot--verde span:first-child { color: var(--verde-txt); }
.agenda__slot--ambar { background: rgba(245, 158, 11, .14); border-left: 3px solid var(--ambar); }
.agenda__slot--ambar span:first-child { color: var(--ambar-txt); }
.agenda__slot span:first-child { font-size: 12px; font-weight: 700; }
.agenda__slot span:last-child { font-size: 11px; }
.agenda__slot--nuevo {
  background: linear-gradient(140deg, var(--morado), var(--morado-active)); padding: 8px 10px;
  opacity: 0;
}
.agenda__slot--nuevo span { color: #fff !important; }
.agenda__slot--nuevo span:last-child { color: rgba(255, 255, 255, .82) !important; }
.agenda__slot--nuevo.en-vista { opacity: 1; animation: sello .45s var(--ease) both, latido 1.8s ease-out .45s 2; }
.agenda__footer { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--borde-claro); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.agenda__footer-etiqueta { font-size: 12px; font-weight: 800; letter-spacing: .05em; color: var(--verde-txt); }
.agenda__footer-texto { font-size: 13px; color: var(--texto-secundario); }

/* ---------- Cifras ---------- */
.cifras { background: linear-gradient(180deg, var(--oscuro-1) 0%, var(--oscuro-2) 100%); color: var(--texto-claro); border-top: 1px solid var(--borde-lila); }
.cifras__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: clamp(20px, 3vw, 36px); }
.cifra { border-radius: 16px; padding: 22px; }
.cifra__num { display: block; font-family: var(--sans); font-weight: 800; font-size: clamp(34px, 4.4vw, 56px); line-height: 1; letter-spacing: -.03em; }
.cifra__desc { margin: 10px 0 0; font-size: 15px; color: var(--cuerpo-oscuro); }
.cifra--morado { background: rgba(109, 40, 217, .14); border: 1px solid var(--borde-lila); }
.cifra--verde { background: rgba(16, 185, 129, .1); border: 1px solid rgba(16, 185, 129, .3); }
.cifra--verde .cifra__num { color: var(--verde-bright); }
.cifra--ambar { background: rgba(245, 158, 11, .1); border: 1px solid rgba(245, 158, 11, .28); }
.cifra--ambar .cifra__num { color: var(--ambar); }

/* ---------- Servicios ---------- */
.seccion-servicios { background: var(--oscuro-2); color: var(--texto-claro); }
.seccion-servicios > .container > h2 { margin: 0 0 clamp(28px, 4vh, 48px); font-family: var(--sans); font-weight: 800; font-size: clamp(28px, 3.6vw, 48px); letter-spacing: -.03em; }
.servicios__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: clamp(14px, 2vw, 20px); }
.servicio {
  border-radius: 16px; background: rgba(249, 250, 252, .045); border: 1px solid rgba(249, 250, 252, .1);
  padding: 22px; transition: border-color .2s var(--ease), transform .2s var(--ease);
}
.servicio__barra { display: block; width: 34px; height: 4px; border-radius: 3px; margin-bottom: 16px; }
.servicio__t { margin: 0 0 8px; font-size: 20px; font-weight: 800; font-family: var(--sans); }
.servicio__d { margin: 0; font-size: 15px; color: var(--cuerpo-oscuro); }
.servicio--morado:hover { border-color: rgba(167, 139, 250, .55); transform: translateY(-3px); }
.servicio--morado .servicio__barra { background: linear-gradient(90deg, var(--morado), var(--lila)); }
.servicio--verde:hover { border-color: rgba(52, 211, 153, .5); transform: translateY(-3px); }
.servicio--verde .servicio__barra { background: linear-gradient(90deg, var(--verde), var(--verde-bright)); }
.servicio--ambar:hover { border-color: rgba(245, 158, 11, .45); transform: translateY(-3px); }
.servicio--ambar .servicio__barra { background: linear-gradient(90deg, #B45309, var(--ambar)); }
.servicio--violeta:hover { border-color: rgba(167, 139, 250, .55); transform: translateY(-3px); }
.servicio--violeta .servicio__barra { background: linear-gradient(90deg, var(--morado-deep), var(--lila-claro)); }

/* ---------- Sectores ---------- */
.seccion-sectores { background: var(--claro-1); }
.seccion-sectores > .container > h2 { margin: 0 0 clamp(28px, 4vh, 48px); font-family: var(--sans); font-weight: 800; font-size: clamp(28px, 3.6vw, 48px); letter-spacing: -.03em; }
.sectores__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: clamp(18px, 2.5vw, 28px); }
.sector {
  background: #fff; border-radius: 18px; overflow: hidden; border: 1px solid var(--borde-claro);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}
.sector__foto { aspect-ratio: 4 / 3; overflow: hidden; }
.sector__foto img { width: 100%; height: 100%; object-fit: cover; }
.sector__cuerpo { padding: 18px; }
.sector__tag { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .05em; padding: 5px 10px; border-radius: 999px; margin-bottom: 10px; }
.sector__t { margin: 0 0 6px; font-size: 19px; font-weight: 800; font-family: var(--sans); }
.sector__d { margin: 0; font-size: 15px; color: var(--texto-secundario); }
.sector--salud:hover { transform: translateY(-4px); box-shadow: 0 26px 46px -30px rgba(76, 29, 149, .6); }
.sector--salud .sector__tag { color: var(--morado-deep); background: rgba(109, 40, 217, .1); }
.sector--belleza:hover { transform: translateY(-4px); box-shadow: 0 26px 46px -30px rgba(16, 185, 129, .6); }
.sector--belleza .sector__tag { color: var(--verde-txt); background: rgba(16, 185, 129, .12); }
.sector--deporte:hover { transform: translateY(-4px); box-shadow: 0 26px 46px -30px rgba(245, 158, 11, .6); }
.sector--deporte .sector__tag { color: var(--ambar-txt); background: rgba(245, 158, 11, .14); }
.sector--mesa:hover { transform: translateY(-4px); box-shadow: 0 26px 46px -30px rgba(76, 29, 149, .6); }
.sector--mesa .sector__tag { color: var(--morado-deep); background: rgba(167, 139, 250, .18); }

/* ---------- Tagline ---------- */
.tagline { background: radial-gradient(120% 140% at 12% 0%, #7C3AED 0%, var(--morado-active) 42%, var(--morado-deepest) 100%); color: #fff; }
.tagline__linea1 { margin: 0; max-width: 26ch; font-family: var(--sans); font-weight: 800; font-size: clamp(32px, 5.4vw, 76px); line-height: .98; letter-spacing: -.035em; }
.tagline__linea2 { margin: 26px 0 0; max-width: 40ch; font-size: clamp(16px, 1.6vw, 21px); color: #E9E0FE; }

/* ---------- Cómo trabajamos ---------- */
.seccion-proceso { background: var(--oscuro-1); color: var(--texto-claro); position: relative; overflow: hidden; }
.proceso__glow { position: absolute; left: -10%; bottom: -20%; width: 52vw; height: 52vw; max-width: 620px; max-height: 620px; background: radial-gradient(circle, rgba(109, 40, 217, .34) 0%, rgba(109, 40, 217, 0) 70%); pointer-events: none; }
.seccion-proceso > .container > h2 { margin: 0 0 clamp(32px, 5vh, 56px); font-family: var(--sans); font-weight: 800; font-size: clamp(28px, 3.6vw, 48px); letter-spacing: -.03em; }
.timeline { position: relative; padding-left: clamp(28px, 4vw, 44px); }
.timeline__linea {
  position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; border-radius: 2px;
  background: linear-gradient(180deg, var(--morado), var(--lila) 34%, var(--verde-bright) 68%, var(--ambar) 100%);
  box-shadow: 0 0 18px rgba(167, 139, 250, .55);
}
.timeline__paso { position: relative; margin-bottom: clamp(18px, 2.5vw, 26px); }
.timeline__paso:last-child { margin-bottom: 0; }
.timeline__punto {
  position: absolute; left: calc(-1 * clamp(28px, 4vw, 44px) + 1px); top: 24px;
  width: 14px; height: 14px; border-radius: 50%; animation: neon 3.4s ease-in-out infinite;
}
.timeline__tarjeta { border-radius: 16px; background: rgba(249, 250, 252, .045); padding: 22px; transition: border-color .2s var(--ease), background .2s var(--ease); }
.timeline__paso-n { font-size: 12px; font-weight: 800; letter-spacing: .08em; font-variant-numeric: tabular-nums; }
.timeline__t { margin: 8px 0 6px; font-size: 21px; font-weight: 800; font-family: var(--sans); }
.timeline__d { margin: 0; font-size: 15px; color: var(--cuerpo-oscuro); max-width: 64ch; }
.timeline__paso--morado .timeline__punto { background: var(--morado); box-shadow: 0 0 0 4px rgba(109, 40, 217, .22), 0 0 18px 4px rgba(109, 40, 217, .9); }
.timeline__paso--morado .timeline__tarjeta { border: 1px solid rgba(109, 40, 217, .45); }
.timeline__paso--morado .timeline__tarjeta:hover { border-color: var(--lila); background: rgba(109, 40, 217, .12); }
.timeline__paso--morado .timeline__paso-n { color: var(--lila); }
.timeline__paso--lila .timeline__punto { background: var(--lila); box-shadow: 0 0 0 4px rgba(167, 139, 250, .2), 0 0 18px 4px rgba(167, 139, 250, .9); animation-delay: .4s; }
.timeline__paso--lila .timeline__tarjeta { border: 1px solid rgba(167, 139, 250, .42); }
.timeline__paso--lila .timeline__tarjeta:hover { border-color: var(--lila-claro); background: rgba(167, 139, 250, .12); }
.timeline__paso--lila .timeline__paso-n { color: var(--lila-claro); }
.timeline__paso--verde .timeline__punto { background: var(--verde-bright); box-shadow: 0 0 0 4px rgba(52, 211, 153, .2), 0 0 18px 4px rgba(52, 211, 153, .85); animation-delay: .8s; }
.timeline__paso--verde .timeline__tarjeta { border: 1px solid rgba(52, 211, 153, .4); }
.timeline__paso--verde .timeline__tarjeta:hover { border-color: #6EE7B7; background: rgba(16, 185, 129, .12); }
.timeline__paso--verde .timeline__paso-n { color: #6EE7B7; }
.timeline__paso--ambar .timeline__punto { background: var(--ambar); box-shadow: 0 0 0 4px rgba(245, 158, 11, .2), 0 0 18px 4px rgba(245, 158, 11, .8); animation-delay: 1.2s; }
.timeline__paso--ambar .timeline__tarjeta { border: 1px solid rgba(245, 158, 11, .38); }
.timeline__paso--ambar .timeline__tarjeta:hover { border-color: var(--ambar-bright); background: rgba(245, 158, 11, .1); }
.timeline__paso--ambar .timeline__paso-n { color: var(--ambar-bright); }
.timeline__cierre { margin: clamp(28px, 4vh, 44px) 0 0; max-width: 62ch; font-size: 16px; color: var(--cuerpo-oscuro); border-radius: 14px; background: rgba(249, 250, 252, .045); padding: 18px 20px; }

/* ---------- Preguntas ---------- */
.seccion-preguntas { background: var(--claro-2); }
.seccion-preguntas > .container > h2 { margin: 0 0 clamp(24px, 3.5vh, 40px); font-family: var(--sans); font-weight: 800; font-size: clamp(28px, 3.6vw, 48px); letter-spacing: -.03em; }
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq__item { background: #fff; border-radius: 14px; border: 1px solid var(--borde-claro); overflow: hidden; }
.faq__pregunta {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  background: none; border: 0; padding: 18px 20px; cursor: pointer; text-align: left;
  font-family: var(--sans); font-weight: 800; font-size: clamp(16px, 1.8vw, 20px); color: var(--texto);
  transition: color .15s var(--ease);
}
.faq__pregunta:hover { color: var(--morado); }
.faq__signo { font-size: 20px; color: var(--morado); flex: none; line-height: 1; }
.faq__respuesta { margin: 0; padding: 0 20px 20px; max-width: 62ch; font-size: 16px; color: var(--texto-secundario); display: none; }
.faq__item.is-open .faq__respuesta { display: block; }

/* ---------- Contacto ---------- */
.seccion-contacto { background: var(--oscuro-1); color: var(--texto-claro); position: relative; overflow: hidden; }
.contacto__glow { position: absolute; top: -30%; right: -6%; width: 52vw; height: 52vw; max-width: 640px; max-height: 640px; background: radial-gradient(circle, rgba(109, 40, 217, .35) 0%, rgba(109, 40, 217, 0) 70%); pointer-events: none; }
.contacto__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: clamp(32px, 5vw, 64px); align-items: start; }
.contacto__titulo { font-family: var(--sans); font-weight: 800; font-size: clamp(30px, 4.2vw, 60px); line-height: 1; letter-spacing: -.035em; padding-bottom: .06em; margin: 0; }
.contacto__subtitulo { margin: 20px 0 0; max-width: 44ch; font-size: 17px; color: var(--cuerpo-oscuro); }
.contacto__links { display: flex; flex-direction: column; gap: 10px; margin-top: 28px; font-size: 16px; }
.contacto__links a { color: var(--lila); }
.contacto__links a:hover { color: var(--lila-claro); }

.form { display: flex; flex-direction: column; gap: 18px; background: var(--oscuro-2); border: 1px solid var(--borde-lila); border-radius: 18px; padding: clamp(20px, 3vw, 30px); }
.campo-oculto { position: absolute; left: -9999px; }
.campo label { display: block; color: var(--cuerpo-oscuro); font-size: 13px; margin-bottom: 6px; }
.campo input {
  width: 100%; min-height: 48px; font-size: 16px; background: var(--oscuro-input);
  border: 1px solid rgba(249, 250, 252, .24); border-radius: 12px; color: var(--texto-claro); padding: 0 14px;
  transition: border-color .2s var(--ease);
  -webkit-appearance: none; appearance: none;
}
.campo input:focus-visible { border-color: var(--lila); outline-offset: 0; }
.campo input[aria-invalid="true"] { border-color: var(--ambar-bright); }
.campo__error { display: block; margin-top: 6px; font-size: 13px; color: var(--ambar-bright); min-height: 0; }
.campo--check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--cuerpo-oscuro); cursor: pointer; }
.campo--check input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--morado); flex: none; }
.campo--check a { color: var(--lila); text-decoration: underline; }
.form__enviar { width: 100%; justify-content: center; }
.form__aviso { font-size: 13px; color: var(--tenue-oscuro); }
.form__estado { margin: 0; font-size: 15px; font-weight: 600; min-height: 0; }
.form__estado--ok { color: var(--verde-bright); }
.form__estado--mal { color: var(--ambar-bright); }
.form__wa-fallback { font-size: 14px; color: var(--lila); }

/* ---------- Footer ---------- */
.footer { background: var(--oscuro-3); color: var(--tenue-oscuro); border-top: 1px solid var(--borde-oscuro); }
.footer__fila { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; padding-top: 26px; padding-bottom: calc(26px + env(safe-area-inset-bottom)); font-size: 14px; }
.footer__marca { height: 26px; width: auto; }
.footer__links { display: flex; gap: 20px; flex-wrap: wrap; margin-right: auto; }
.footer__links a { color: var(--cuerpo-oscuro); }
.footer__links a:hover { color: var(--lila); }
.footer__anio { font-variant-numeric: tabular-nums; }

/* ---------- Página legal ---------- */
body.pagina-legal { background: var(--claro-1); }
.legal { padding-top: 124px; padding-bottom: 96px; max-width: 760px; }
.legal__volver { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; color: var(--morado); margin-bottom: 32px; }
.legal h1 { font-size: clamp(1.75rem, 3vw + 1rem, 2.375rem); line-height: 1.2; font-weight: 800; color: var(--texto); margin-bottom: 8px; text-wrap: balance; }
.legal__actualizado { display: block; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--texto-tenue); margin-bottom: 40px; }
.legal__aviso { background: rgba(109, 40, 217, .08); border: 1px solid var(--borde-lila); border-radius: 12px; padding: 18px 20px; margin-bottom: 34px; }
.legal__aviso p { margin: 0; font-size: 14.5px; line-height: 22px; color: var(--texto); }
.legal h2 { font-size: 20px; line-height: 28px; font-weight: 800; color: var(--texto); margin: 38px 0 12px; }
.legal p { color: var(--texto-secundario); margin-bottom: 14px; font-size: 16px; line-height: 24px; text-wrap: balance; text-wrap: pretty; }
.legal ul { margin: 0 0 16px; display: flex; flex-direction: column; gap: 9px; }
.legal ul li { position: relative; padding-left: 20px; color: var(--texto-secundario); font-size: 16px; line-height: 24px; }
.legal ul li::before { content: ''; position: absolute; left: 0; top: 10px; width: 7px; height: 7px; border-radius: 50%; background: var(--lila); }
.legal a { text-decoration: underline; }
.footer__fila--legal { justify-content: center; gap: 8px 24px; }
.footer__fila--legal span, .footer__fila--legal a { font-size: 14px; color: var(--cuerpo-oscuro); }
.footer__fila--legal a { text-decoration: underline; }
.footer__fila--legal a:hover { color: var(--lila); }

/* ---------- Secciones genéricas ---------- */
.section { padding: clamp(56px, 8vh, 110px) 0; }
.section--angosta { padding: clamp(64px, 9vh, 120px) 0; }
