/* ============================================
   Expl-AI-n Medellín 2026 — Stylesheet
   60-30-10 proportional color usage
   ============================================ */

:root {
  --c-base: #085E68;        /* Azul Base — 60% */
  --c-base-deep: #054148;
  --c-base-light: #0a7480;
  --c-dark: #121212;        /* Oscuro — 30% */
  --c-dark-soft: #1a1a1a;
  --c-dark-card: #161616;
  --c-pink: #EA4076;        /* Rosado — 5% (acentos) */
  --c-pink-soft: #ea4076cc;
  --c-cyan: #00E5FF;        /* Azul Vibrante — 5% (foco/CTA) */
  --c-cyan-soft: #00E5FF22;
  --c-white: #FFFFFF;
  --c-muted: #c4d5d8;
  --c-muted-2: #8aa5a9;
  --c-line: rgba(255,255,255,0.08);
  --c-line-strong: rgba(255,255,255,0.18);

  --f-display: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  --f-body: 'Inter', system-ui, sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  --container: min(1240px, 100% - 48px);
  --section-pad: clamp(80px, 10vw, 140px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
*, *::before, *::after { box-sizing: inherit; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--c-white);
  background-color: var(--c-dark);
  background-image:
    linear-gradient(180deg,
      var(--c-dark) 0%,
      #06363c 18%,
      var(--c-base-deep) 40%,
      var(--c-base-deep) 60%,
      #06363c 82%,
      var(--c-dark) 100%);
  background-attachment: fixed;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  z-index: 0;
}

/* ============================================
   GLOBAL ATMOSPHERE
   Extends the hero visual system across the whole page:
   grid texture + drifting glows + vignette
   ============================================ */
.atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.atmosphere::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 100% 80% at 50% 50%, transparent 40%, rgba(0,0,0,0.55) 100%);
}
.atmosphere__grid {
  position: absolute;
  inset: -10%;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, rgba(0,0,0,0.9), transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, rgba(0,0,0,0.9), transparent 85%);
  opacity: 0.7;
  will-change: transform;
}
.atmosphere__noise {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.45 0'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.6'/></svg>");
  opacity: 0.05;
  mix-blend-mode: overlay;
}
.atmosphere__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  will-change: transform;
  pointer-events: none;
}
.atmosphere__glow--a { width: 520px; height: 520px; background: var(--c-cyan);    opacity: 0.16; top: -8%;  left: -8%; }
.atmosphere__glow--b { width: 620px; height: 620px; background: var(--c-pink);    opacity: 0.14; top: 30%;  right: -12%; }
.atmosphere__glow--c { width: 480px; height: 480px; background: var(--c-cyan);    opacity: 0.12; top: 60%;  left: 20%; }
.atmosphere__glow--d { width: 560px; height: 560px; background: var(--c-base-light); opacity: 0.30; top: 95%; right: 10%; }
.atmosphere__glow--e { width: 420px; height: 420px; background: var(--c-pink);    opacity: 0.10; top: 140%; left: -8%; }

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

img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }

.container { width: var(--container); margin-inline: auto; }
.text-accent { color: var(--c-pink); }

/* ============================================
   CUSTOM CURSOR
   ============================================ */
.cursor, .cursor-dot {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate3d(-100px, -100px, 0);
  transition: transform 0.08s linear, width 0.25s var(--ease-out), height 0.25s var(--ease-out), background 0.25s var(--ease-out), border-color 0.25s var(--ease-out);
  mix-blend-mode: difference;
}
.cursor {
  width: 32px; height: 32px;
  border: 1.5px solid var(--c-cyan);
  border-radius: 50%;
  margin: -16px 0 0 -16px;
}
.cursor-dot {
  width: 6px; height: 6px;
  background: var(--c-cyan);
  border-radius: 50%;
  margin: -3px 0 0 -3px;
}
.cursor.is-hover {
  width: 64px; height: 64px;
  margin: -32px 0 0 -32px;
  border-color: var(--c-pink);
  background: rgba(234, 64, 118, 0.15);
}
.cursor.is-click { width: 22px; height: 22px; margin: -11px 0 0 -11px; }
@media (hover: none), (pointer: coarse) {
  .cursor, .cursor-dot { display: none; }
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 14px 0;
  background: rgba(8, 94, 104, 0);
  backdrop-filter: blur(0);
  -webkit-backdrop-filter: blur(0);
  transition: background 0.3s var(--ease-out), backdrop-filter 0.3s var(--ease-out), padding 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(8, 94, 104, 0.9);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom-color: var(--c-line);
  padding: 10px 0;
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav__logo img { height: 36px; width: auto; }
.nav__links {
  display: flex;
  gap: 32px;
  align-items: center;
}
.nav__link {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--c-white);
  position: relative;
  padding: 6px 0;
  transition: color 0.2s var(--ease-out);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--c-pink);
  transition: width 0.3s var(--ease-out);
}
.nav__link:hover { color: var(--c-pink); }
.nav__link:hover::after { width: 100%; }

.nav__cta {
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  flex-shrink: 0;
}

.nav__toggle {
  display: none;
  width: 40px; height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--c-white);
  transition: transform 0.3s var(--ease-out), opacity 0.2s var(--ease-out);
}
.nav__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.nav__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__mobile {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 16px 24px 24px;
  background: rgba(8, 94, 104, 0.97);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--c-line);
}
.nav__mobile .nav__link { padding: 14px 0; font-size: 16px; border-bottom: 1px solid var(--c-line); }
.nav__mobile .btn { margin-top: 12px; }
.nav.is-mobile-open .nav__mobile { display: flex; }

@media (max-width: 1100px) {
  .nav__cta.btn { display: none; }
}
@media (max-width: 920px) {
  .nav__links { display: none; }
  .nav__toggle { display: flex; }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 999px;
  font-family: var(--f-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.2;
  white-space: nowrap;
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s var(--ease-out), background 0.25s var(--ease-out), color 0.25s var(--ease-out), box-shadow 0.3s var(--ease-out), border-color 0.25s var(--ease-out);
  border: 1.5px solid transparent;
  will-change: transform;
  max-width: 100%;
}
.btn--large { padding: 16px 28px; font-size: 15px; }
.btn--full { width: 100%; }

/* Estado deshabilitado (ej. "Inscribirme"/"Continuar al pago" hasta llenar el
   form + pasar el CAPTCHA). Atenuado + sin cursor/hover, para que se vea claramente
   inactivo. Aplica a todas las variantes de .btn. */
.btn:disabled,
.btn[disabled] {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
  transform: none;
  box-shadow: none;
  filter: grayscale(0.3);
}

.btn--primary {
  background: var(--c-cyan);
  color: var(--c-dark);
  box-shadow: 0 8px 24px -8px var(--c-cyan), inset 0 0 0 1px rgba(255,255,255,0.15);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px -10px var(--c-cyan), 0 0 0 4px var(--c-cyan-soft);
}

.btn--ghost {
  background: transparent;
  color: var(--c-white);
  border-color: var(--c-line-strong);
}
.btn--ghost:hover {
  border-color: var(--c-pink);
  color: var(--c-pink);
  transform: translateY(-2px);
}

/* ============================================
   SECTION BASE
   ============================================ */
.section {
  position: relative;
  padding: var(--section-pad) 0;
}
.section__head {
  max-width: 800px;
  margin: 0 auto 64px;
  text-align: center;
}
.section__eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--c-cyan);
  margin-bottom: 18px;
  padding: 6px 14px;
  border: 1px solid var(--c-line-strong);
  border-radius: 999px;
  background: var(--c-cyan-soft);
}
.section__title {
  font-family: var(--f-display);
  font-size: clamp(30px, 4.5vw, 56px);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.section__lede {
  font-size: clamp(16px, 1.4vw, 18px);
  color: var(--c-muted);
  max-width: 640px;
  margin: 0 auto;
}

/* ============================================
   FORMS
   ============================================ */
.form-card {
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(36px, 5vw, 56px);
  background: rgba(18, 18, 18, 0.72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
}
.form-card::before {
  content: "";
  position: absolute;
  top: -1px; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--c-cyan), transparent);
}
.form-card__head {
  text-align: center;
  margin-bottom: 32px;
}
.form-card__head h3 {
  font-family: var(--f-display);
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 700;
  margin: 12px 0 10px;
  letter-spacing: -0.01em;
}
.form-card__head p { color: var(--c-muted); font-size: 15px; }

.form { display: flex; flex-direction: column; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--c-muted);
}
.field__opt { color: var(--c-muted-2); font-weight: 400; }

.field input,
.field select,
.field textarea {
  font-family: var(--f-body);
  font-size: 16px;
  padding: 14px 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-sm);
  color: var(--c-white);
  transition: border-color 0.2s var(--ease-out), background 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
  outline: none;
}
.field input::placeholder,
.field textarea::placeholder { color: var(--c-muted-2); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--c-cyan);
  background: rgba(0, 229, 255, 0.04);
  box-shadow: 0 0 0 4px var(--c-cyan-soft);
}
.field select { cursor: pointer; appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg width='12' height='8' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='%2300E5FF' d='M6 8 0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 42px;
}
.field input.is-invalid,
.field select.is-invalid {
  border-color: var(--c-pink);
  box-shadow: 0 0 0 4px rgba(234, 64, 118, 0.18);
}

.form__submit { margin-top: 8px; align-self: stretch; }
.form__hint { font-size: 12px; color: var(--c-muted-2); text-align: center; }
.form__success {
  margin-top: 14px;
  padding: 16px 18px;
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid var(--c-cyan);
  border-radius: var(--radius-sm);
  color: var(--c-cyan);
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  animation: fade-up 0.4s var(--ease-out);
}

@media (max-width: 640px) {
  .form__row { grid-template-columns: 1fr; }
}

/* ============================================
   DIRECT CALLOUTS (agenda + tickets) — no forms
   ============================================ */
.agenda__cta,
.tickets__contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(24px, 4vw, 48px);
  max-width: 880px;
  margin: 0 auto;
  padding: clamp(28px, 4vw, 44px) clamp(28px, 4vw, 48px);
  background: rgba(18, 18, 18, 0.72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
}
.agenda__cta::before,
.tickets__contact::before {
  content: "";
  position: absolute;
  top: 0; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--c-cyan), transparent);
}
.agenda__cta-body h3,
.tickets__contact-body h3 {
  font-family: var(--f-display);
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 700;
  margin: 10px 0 8px;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.agenda__cta-body p,
.tickets__contact-body p {
  color: var(--c-muted);
  font-size: 14px;
  line-height: 1.55;
  max-width: 480px;
}
.agenda__cta-actions,
.tickets__contact-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

@media (max-width: 760px) {
  .agenda__cta,
  .tickets__contact {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .agenda__cta-actions,
  .tickets__contact-actions { justify-content: flex-start; }
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: rgba(18, 18, 18, 0.6);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-top: 1px solid var(--c-line);
  /* padding-bottom generoso para que .footer__bottom (Términos/Privacidad)
     no quede tapado por el widget fixed .floating-ctas (~76px de alto). */
  padding: 80px 0 110px;
  color: var(--c-muted);
  position: relative;
}
.footer::before {
  content: "";
  position: absolute;
  top: 0; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--c-cyan), var(--c-pink), transparent);
  opacity: 0.4;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 56px;
  margin-bottom: 56px;
}
.footer__brand p {
  margin-top: 18px;
  font-family: var(--f-display);
  font-size: 18px;
  line-height: 1.4;
  color: var(--c-white);
  max-width: 320px;
}
.footer__logo { height: 36px; }
.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.footer__col h4 {
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-cyan);
  margin-bottom: 16px;
  font-weight: 600;
}
.footer__col a:not(.footer__social-link),
.footer__col p {
  display: block;
  font-size: 14px;
  padding: 5px 0;
  color: var(--c-muted);
  transition: color 0.2s var(--ease-out);
}
.footer__col a:not(.footer__social-link):hover { color: var(--c-pink); }

.footer__social {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  align-items: center;
}
.footer__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid var(--c-line-strong);
  color: var(--c-muted);
  padding: 0;
  transition: background 0.25s var(--ease-out), color 0.25s var(--ease-out), border-color 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}
.footer__social-link:hover {
  color: var(--c-pink);
  border-color: var(--c-pink);
  background: rgba(234, 64, 118, 0.08);
  transform: translateY(-2px);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  border-top: 1px solid var(--c-line);
  font-size: 13px;
  color: var(--c-muted-2);
}
.footer__links { display: flex; gap: 22px; }
.footer__links a:hover { color: var(--c-pink); }

@media (max-width: 820px) {
  .footer__inner { grid-template-columns: 1fr; gap: 40px; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .footer__bottom { flex-direction: column; gap: 16px; }
}

@media (max-width: 480px) {
  .footer__cols { grid-template-columns: 1fr; gap: 28px; }
}

/* ============================================
   FLOATING CTAS (Instagram + WhatsApp/expert)
   ============================================ */
.floating-ctas {
  position: fixed;
  bottom: 26px;
  right: 26px;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
.floating-ctas.is-hidden {
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
}
.floating-ig {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #F58529 0%, #DD2A7B 45%, #8134AF 75%, #515BD4 100%);
  color: var(--c-white);
  box-shadow: 0 12px 32px -10px rgba(221, 42, 123, 0.65), inset 0 0 0 1px rgba(255,255,255,0.18);
  transition: transform 0.25s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.floating-ig:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 16px 36px -10px rgba(221, 42, 123, 0.8), inset 0 0 0 1px rgba(255,255,255,0.28);
}

.expert-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border: 0;
  background: var(--c-cyan);
  color: var(--c-dark);
  border-radius: 999px;
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.01em;
  white-space: nowrap;
  cursor: pointer;
  box-shadow:
    0 12px 32px -8px rgba(0, 229, 255, 0.55),
    inset 0 0 0 1px rgba(255,255,255,0.18);
  transition: transform 0.25s var(--ease-out), box-shadow 0.3s var(--ease-out), background 0.25s var(--ease-out);
  isolation: isolate;
  position: relative;
}
.expert-cta:hover {
  transform: translateY(-3px);
  background: var(--c-white);
  color: var(--c-dark);
  box-shadow:
    0 18px 42px -10px rgba(0, 229, 255, 0.7),
    inset 0 0 0 1px rgba(0, 229, 255, 0.6);
}
.expert-cta:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px var(--c-cyan-soft), 0 12px 32px -8px rgba(0, 229, 255, 0.55);
}
.expert-cta__spark {
  display: inline-flex;
  animation: cta-spark 3.6s var(--ease-in-out) infinite;
}
/* Cuando el chat está abierto, el botón pasa a estado "activo/silenciado" */
.expert-cta.is-active { background: var(--c-white); transform: translateY(-2px); }
.expert-cta.is-active .expert-cta__pulse { animation: none; opacity: 0; }
/* Con el chat abierto (el botón queda .is-active), ocultamos todo el bloque de
   CTAs flotantes para no tapar el panel del chat. Reaparece al cerrar (X). */
.floating-ctas:has(.expert-cta.is-active) {
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
}
@keyframes cta-spark {
  0%, 100% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(90deg) scale(1.12); }
}
.expert-cta__pulse {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: var(--c-cyan);
  opacity: 0.55;
  z-index: -1;
  animation: cta-pulse 2.4s ease-out infinite;
}
.expert-cta__label { display: inline-block; }

@media (max-width: 560px) {
  .floating-ctas { bottom: 18px; right: 18px; gap: 10px; }
  .expert-cta { padding: 12px 18px; font-size: 13px; }
  .floating-ig { width: 44px; height: 44px; }
}

/* ============================================
   FLOATING SOCIAL (esquina inferior izquierda)
   Botón que despliega WhatsApp comunidad + Instagram.
   Vive enfrente del .expert-cta (que está a la derecha).
   ============================================ */
.floating-social {
  position: fixed;
  bottom: 26px;
  left: 26px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.floating-social__menu {
  display: flex;
  flex-direction: column;
  gap: 10px;
  /* Oculto del tab order hasta que abre; el retraso evita cortar el fade-out */
  visibility: hidden;
  transition: visibility 0s linear 0.36s;
}
.floating-social.is-open .floating-social__menu {
  visibility: visible;
  transition-delay: 0s;
}

.floating-social__item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px 10px 13px;
  border-radius: 999px;
  background: rgba(18, 18, 18, 0.72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid var(--c-line-strong);
  color: var(--c-white);
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.01em;
  white-space: nowrap;
  box-shadow: 0 14px 30px -16px rgba(0, 0, 0, 0.7);
  /* Estado cerrado (animación de entrada) */
  opacity: 0;
  transform: translateY(12px) scale(0.94);
  transition:
    opacity 0.34s var(--ease-out),
    transform 0.34s var(--ease-out),
    border-color 0.25s var(--ease-out),
    background 0.25s var(--ease-out),
    box-shadow 0.3s var(--ease-out);
}
.floating-social__item svg { width: 20px; height: 20px; flex-shrink: 0; }
.floating-social__item--wa svg { color: #25D366; }
.floating-social__item--ig svg { color: #DD2A7B; }

/* Estado abierto + stagger (el más cercano al botón entra primero) */
.floating-social.is-open .floating-social__item {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.floating-social.is-open .floating-social__item:nth-child(2) { transition-delay: 0.04s; }
.floating-social.is-open .floating-social__item:nth-child(1) { transition-delay: 0.10s; }

.floating-social__item:hover {
  border-color: var(--c-cyan);
  background: rgba(0, 229, 255, 0.10);
  transform: translateY(0) translateX(4px) scale(1);
  box-shadow: 0 16px 34px -14px rgba(0, 229, 255, 0.4);
}

.floating-social__toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 1px solid var(--c-line-strong);
  border-radius: 50%;
  background: rgba(18, 18, 18, 0.72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  color: var(--c-white);
  cursor: pointer;
  box-shadow: 0 12px 32px -12px rgba(0, 0, 0, 0.65), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  transition:
    transform 0.3s var(--ease-out),
    box-shadow 0.3s var(--ease-out),
    border-color 0.3s var(--ease-out),
    background 0.3s var(--ease-out),
    color 0.3s var(--ease-out);
}
.floating-social__toggle:hover {
  transform: translateY(-3px);
  border-color: var(--c-cyan);
  box-shadow: 0 16px 38px -12px rgba(0, 229, 255, 0.45), inset 0 0 0 1px rgba(0, 229, 255, 0.25);
}
.floating-social__toggle:focus-visible {
  outline: none;
  border-color: var(--c-cyan);
  box-shadow: 0 0 0 4px var(--c-cyan-soft);
}
.floating-social.is-open .floating-social__toggle {
  background: var(--c-cyan);
  border-color: var(--c-cyan);
  color: var(--c-dark);
  box-shadow: 0 14px 34px -12px rgba(0, 229, 255, 0.6);
}

.floating-social__icon {
  position: absolute;
  display: inline-flex;
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
.floating-social__icon--close { opacity: 0; transform: rotate(-90deg) scale(0.6); }
.floating-social.is-open .floating-social__icon--open { opacity: 0; transform: rotate(90deg) scale(0.6); }
.floating-social.is-open .floating-social__icon--close { opacity: 1; transform: rotate(0) scale(1); }

@media (max-width: 560px) {
  .floating-social { bottom: 18px; left: 18px; gap: 10px; }
  .floating-social__toggle { width: 44px; height: 44px; }
  .floating-social__item { font-size: 12px; padding: 9px 15px 9px 11px; }
}

@media (prefers-reduced-motion: reduce) {
  .floating-social__menu,
  .floating-social__item,
  .floating-social__toggle,
  .floating-social__icon { transition-duration: 0.01ms; }
}

/* ============================================
   EXPERT CHAT — asistente flotante del evento
   Reemplaza el redirect a WhatsApp del .expert-cta.
   Panel glass anclado en la misma esquina (abajo-derecha),
   por encima del botón flotante. Lógica en core.js → initExpertChat().
   ============================================ */
.expert-chat {
  position: fixed;
  right: 26px;
  bottom: 26px;          /* ocupa hasta donde estaba el botón (que se oculta al abrir) */
  z-index: 95;            /* sobre .floating-ctas (90) */
  width: min(384px, calc(100vw - 32px));
  /* Estado cerrado: invisible y fuera del tab order, pero en el DOM */
  visibility: hidden;
  pointer-events: none;
}
.expert-chat.is-open {
  visibility: visible;
  pointer-events: auto;
}

/* Backdrop — sutil en desktop (sin tapar el contenido), sólido en móvil */
.expert-chat__backdrop {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: rgba(6, 18, 20, 0);
  opacity: 0;
  pointer-events: none;   /* desktop: la página sigue interactiva (cierre por click-fuera vía JS) */
  transition: opacity 0.4s var(--ease-out);
}

.expert-chat__panel {
  display: flex;
  flex-direction: column;
  /* El panel crece hacia arriba desde bottom:26px. La altura debe caber en el
     espacio real por encima de ese anclaje SIN tapar la barra de navegación
     fija (~62px de alto): viewport − bottom(26) − nav+margen(88). Así el header
     del chat siempre queda por debajo del nav, no cortado ni superpuesto, y el
     panel aprovecha el espacio que dejó el botón oculto. */
  height: min(620px, calc(100dvh - 26px - 88px));
  max-height: calc(100dvh - 26px - 88px);
  border-radius: var(--radius-lg);
  background: rgba(16, 18, 20, 0.86);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border: 1px solid var(--c-line-strong);
  box-shadow:
    0 30px 70px -24px rgba(0, 0, 0, 0.78),
    0 0 0 1px rgba(0, 229, 255, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  overflow: hidden;
  /* Animación de entrada: emerge desde la esquina del botón */
  transform-origin: bottom right;
  opacity: 0;
  transform: translateY(18px) scale(0.94);
  transition:
    opacity 0.32s var(--ease-out),
    transform 0.42s var(--ease-out);
}
.expert-chat.is-open .expert-chat__panel {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Borde superior con gradiente de marca */
.expert-chat__panel::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--c-cyan), var(--c-pink) 65%, transparent);
  opacity: 0.85;
}

/* ---- Header ---- */
.expert-chat__header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 16px 14px;
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.12), rgba(234, 64, 118, 0.10));
  border-bottom: 1px solid var(--c-line);
  flex-shrink: 0;
}
.expert-chat__orb {
  position: relative;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, var(--c-cyan), transparent 60%),
    radial-gradient(circle at 70% 75%, var(--c-pink), transparent 62%),
    var(--c-base-deep);
  box-shadow: 0 6px 18px -6px rgba(0, 229, 255, 0.6), inset 0 0 0 1px rgba(255, 255, 255, 0.18);
  animation: orb-float 4.5s var(--ease-in-out) infinite;
}
.expert-chat__orb::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid rgba(0, 229, 255, 0.35);
  animation: orb-ring 2.6s var(--ease-out) infinite;
}
.expert-chat__heading { flex: 1; min-width: 0; }
.expert-chat__title {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 15px;
  color: var(--c-white);
  line-height: 1.2;
}
.expert-chat__status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--c-muted);
  line-height: 1.3;
  margin-top: 2px;
}
.expert-chat__pulse-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--c-cyan);
  box-shadow: 0 0 0 0 rgba(0, 229, 255, 0.6);
  animation: status-pulse 2.2s ease-out infinite;
}
.expert-chat__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  flex-shrink: 0;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  color: var(--c-muted);
  cursor: pointer;
  transition: color 0.2s var(--ease-out), background 0.2s var(--ease-out), border-color 0.2s var(--ease-out);
}
.expert-chat__close:hover { color: var(--c-white); background: rgba(255, 255, 255, 0.1); }
.expert-chat__close:focus-visible { outline: none; border-color: var(--c-cyan); box-shadow: 0 0 0 3px var(--c-cyan-soft); }

/* ---- Log / mensajes ---- */
.expert-chat__log {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 18px 16px 8px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.18) transparent;
}
.expert-chat__log::-webkit-scrollbar { width: 8px; }
.expert-chat__log::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.16); border-radius: 99px; border: 2px solid transparent; background-clip: content-box; }

.expert-chat__msg {
  display: flex;
  max-width: 88%;
  animation: msg-in 0.36s var(--ease-out) both;
}
.expert-chat__msg--bot { align-self: flex-start; }
.expert-chat__msg--user { align-self: flex-end; }
.expert-chat__bubble {
  padding: 11px 14px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.55;
  white-space: pre-wrap;
  word-break: break-word;
}
.expert-chat__msg--bot .expert-chat__bubble {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--c-line);
  color: var(--c-white);
  border-bottom-left-radius: 5px;
}
.expert-chat__msg--user .expert-chat__bubble {
  background: var(--c-cyan);
  color: var(--c-dark);
  font-weight: 500;
  border-bottom-right-radius: 5px;
  box-shadow: 0 8px 22px -10px rgba(0, 229, 255, 0.6);
}
.expert-chat__bubble p + p { margin-top: 7px; }
.expert-chat__bubble strong { font-weight: 700; color: #fff; }
.expert-chat__bubble em { font-style: italic; }
.expert-chat__bubble code {
  font-family: 'Space Grotesk', monospace;
  font-size: 0.92em;
  padding: 1px 5px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
}
/* Listas dentro de la respuesta del bot */
.expert-chat__list {
  margin: 6px 0;
  padding-left: 18px;
  list-style: disc;
}
.expert-chat__list li { margin: 3px 0; line-height: 1.45; }

/* Links/acciones dentro de una respuesta del bot */
.expert-chat__links {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 11px;
}
.expert-chat__link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 13px;
  border-radius: 999px;
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.32);
  color: var(--c-cyan);
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s var(--ease-out), border-color 0.2s var(--ease-out), transform 0.2s var(--ease-out);
}
.expert-chat__link:hover { background: rgba(0, 229, 255, 0.16); border-color: var(--c-cyan); transform: translateY(-1px); }
.expert-chat__link svg { width: 13px; height: 13px; }

/* Indicador de "escribiendo" */
.expert-chat__typing {
  display: inline-flex;
  gap: 4px;
  padding: 13px 15px;
}
.expert-chat__typing span {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--c-muted-2);
  animation: typing-bounce 1.3s ease-in-out infinite;
}
.expert-chat__typing span:nth-child(2) { animation-delay: 0.16s; }
.expert-chat__typing span:nth-child(3) { animation-delay: 0.32s; }

/* ---- Sugerencias / quick actions ---- */
.expert-chat__suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 4px 16px 12px;
  flex-shrink: 0;
}
.expert-chat__suggestions:empty { display: none; }
.expert-chat__chip {
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--c-line-strong);
  color: var(--c-muted);
  font-family: var(--f-body);
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.2s var(--ease-out), background 0.2s var(--ease-out), border-color 0.2s var(--ease-out), transform 0.2s var(--ease-out);
}
.expert-chat__chip:hover {
  color: var(--c-white);
  background: rgba(0, 229, 255, 0.1);
  border-color: var(--c-cyan);
  transform: translateY(-1px);
}
.expert-chat__chip:focus-visible { outline: none; border-color: var(--c-cyan); box-shadow: 0 0 0 3px var(--c-cyan-soft); }

/* ---- Input ---- */
.expert-chat__form {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px 14px;
  border-top: 1px solid var(--c-line);
  background: rgba(0, 0, 0, 0.18);
  flex-shrink: 0;
}
.expert-chat__input {
  flex: 1;
  min-width: 0;
  padding: 11px 16px;
  border-radius: 999px;
  border: 1px solid var(--c-line-strong);
  background: rgba(255, 255, 255, 0.04);
  color: var(--c-white);
  font-family: var(--f-body);
  font-size: 14px;
  transition: border-color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out), background 0.2s var(--ease-out);
}
.expert-chat__input::placeholder { color: var(--c-muted-2); }
.expert-chat__input:focus {
  outline: none;
  border-color: var(--c-cyan);
  background: rgba(0, 229, 255, 0.06);
  box-shadow: 0 0 0 3px var(--c-cyan-soft);
}
.expert-chat__send {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  flex-shrink: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--c-cyan);
  color: var(--c-dark);
  cursor: pointer;
  box-shadow: 0 8px 22px -8px rgba(0, 229, 255, 0.7);
  transition: transform 0.2s var(--ease-out), box-shadow 0.25s var(--ease-out), background 0.2s var(--ease-out);
}
.expert-chat__send:hover { transform: translateY(-2px) scale(1.04); background: var(--c-white); }
.expert-chat__send:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--c-cyan-soft); }
.expert-chat__send:disabled { opacity: 0.45; cursor: default; transform: none; box-shadow: none; }

/* ---- Responsive: móvil = casi pantalla completa ---- */
@media (max-width: 560px) {
  .expert-chat {
    right: 12px;
    left: 12px;
    bottom: 12px;
    width: auto;
  }
  .expert-chat__panel { height: min(78dvh, 580px); }
  .expert-chat__backdrop { z-index: 0; }
  .expert-chat.is-open .expert-chat__backdrop {
    background: rgba(6, 18, 20, 0.55);
    opacity: 1;
    pointer-events: auto;   /* móvil: backdrop modal, tap para cerrar */
  }
  /* el panel va por encima del backdrop */
  .expert-chat__panel { position: relative; z-index: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .expert-chat__panel,
  .expert-chat__msg,
  .expert-chat__backdrop { transition-duration: 0.01ms; animation: none; }
  .expert-chat__orb,
  .expert-chat__orb::after,
  .expert-chat__pulse-dot,
  .expert-chat__typing span,
  .expert-cta__spark { animation: none; }
  .expert-chat.is-open .expert-chat__panel { transform: none; }
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 var(--c-cyan-soft); }
  50% { box-shadow: 0 0 0 8px transparent; }
}
@keyframes scroll-down {
  0% { top: -20px; }
  100% { top: 60px; }
}
@keyframes cta-pulse {
  0% { transform: scale(1); opacity: 0.55; }
  100% { transform: scale(1.55); opacity: 0; }
}
/* Expert chat */
@keyframes orb-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}
@keyframes orb-ring {
  0% { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(1.5); opacity: 0; }
}
@keyframes status-pulse {
  0% { box-shadow: 0 0 0 0 rgba(0, 229, 255, 0.55); }
  70%, 100% { box-shadow: 0 0 0 6px rgba(0, 229, 255, 0); }
}
@keyframes msg-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes typing-bounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
  30% { transform: translateY(-5px); opacity: 1; }
}

/* Reveal on scroll (smooth, premium) */
.reveal {
  opacity: 0;
  transform: translate3d(0, 40px, 0) scale(0.985);
  filter: blur(6px);
  transition:
    opacity 1.1s var(--ease-out) var(--reveal-delay, 0ms),
    transform 1.1s var(--ease-out) var(--reveal-delay, 0ms),
    filter 0.9s var(--ease-out) var(--reveal-delay, 0ms);
  will-change: transform, opacity, filter;
}
.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  filter: blur(0);
}

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

/* selection rule */
/* Selection */
::selection { background: var(--c-pink); color: var(--c-white); }
