/* =========================================================
   Workshop presencial · IA aplicada al trading · BURS Advisory
   Misma línea gráfica que el brochure Método BURS 2.0
   (brochure.bursadvisory.com): fondos noche con resplandor,
   títulos en dos niveles, tarjetas muy redondeadas.
   ========================================================= */

:root {
  /* ---------------------------------------------------------
     COLORES DE BURS: cambiar aquí (son los mismos del brochure)
     --------------------------------------------------------- */
  --night: #061518;          /* fondo principal oscuro */
  --night-card: #0B2326;     /* placas sobre fondo oscuro */
  --petrol: #0E3A50;         /* texto y botones sobre claro */
  --mint-title: #369A85;     /* títulos sobre fondo claro */
  --mint-name: #2E8C7A;      /* nombres y etiquetas sobre claro */
  --mint: #65C3B0;           /* íconos y etiquetas sobre oscuro */
  --glow: #A8F3E9;           /* títulos y botón principal sobre oscuro */
  --mint-soft: #E3F3EF;      /* tarjetas claras */
  --paper: #F6FBFA;          /* fondos claros */
  --error: #D14343;          /* mensajes de error del formulario */
  --whatsapp: #25D366;       /* verde oficial de WhatsApp */
  --whatsapp-ink: #05301A;   /* texto sobre el botón de WhatsApp */

  /* Texto y líneas */
  --ink: #0E3A50;
  --ink-soft: #4E6A72;
  --on-dark: #E9F4F2;
  --on-dark-soft: #9DBFBA;
  --line: #D5EAE5;
  --line-dark: rgba(168, 243, 233, .16);

  /* Tipografía (las mismas del brochure) */
  --font-display: "Sora", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;

  /* Ritmo */
  --gutter: clamp(16px, 4.5vw, 48px);
  --radius: 24px;
  --radius-lg: 28px;
  --maxw: 1240px;
  --ease: cubic-bezier(.22, .72, .2, 1);
  --bar-h: 64px;
  --notice-h: 0px;          /* alto de la franja de aviso (se activa sola) */

  --floor: radial-gradient(ellipse 90% 45% at 50% 108%, #0F4540 0%, rgba(6, 21, 24, 0) 70%), var(--night);
  --focus: 0 0 0 3px var(--night), 0 0 0 5px var(--glow);
}

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--bar-h) + var(--notice-h) + 12px);
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--night);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
img, svg { display: block; max-width: 100%; }
button, input, select { font: inherit; color: inherit; }
h1, h2, h3, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
[hidden] { display: none !important; }

:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 8px; }
[tabindex="-1"]:focus { outline: none; }
.has-notice { --notice-h: 32px; }

.skip {
  position: fixed; top: 8px; left: 8px; z-index: 50;
  padding: 10px 16px; border-radius: 999px;
  background: var(--glow); color: var(--night); font-weight: 700; text-decoration: none;
  transform: translateY(-150%);
}
.skip:focus { transform: none; }
.noscript { position: fixed; inset: auto 16px 16px; padding: 16px; border-radius: 12px; background: #fff; color: var(--ink); text-align: center; z-index: 60; }

.ico { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: 860px; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 28px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  line-height: 1.2;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: transform .2s var(--ease), background-color .2s, border-color .2s, color .2s, box-shadow .2s;
}
.btn .ico { width: 18px; height: 18px; stroke-width: 2; }
.btn:active { transform: scale(.98); }
.btn--primary { background: var(--glow); color: var(--night); }
.btn--primary:hover { background: #C3F7EF; box-shadow: 0 10px 30px -12px rgba(168, 243, 233, .6); }
.btn--outline { background: transparent; border-color: var(--petrol); color: var(--petrol); }
.btn--outline:hover { background: var(--mint-soft); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 14px; }
.btn--lg { min-height: 58px; padding: 0 34px; font-size: 16px; }
.btn--block { width: 100%; }
/* Botón de WhatsApp */
.btn--wa { min-height: 60px; padding: 0 18px; gap: 10px; background: var(--whatsapp); color: var(--whatsapp-ink); font-size: clamp(14.5px, 3.9vw, 16px); font-weight: 700; letter-spacing: -.01em; }
.btn--wa:hover { background: #3BE07A; box-shadow: 0 12px 30px -12px rgba(37, 211, 102, .7); }
.btn--wa .wa-logo { width: 24px; height: 24px; fill: currentColor; }

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 50%;
  border: 0;
  background: transparent;
  cursor: pointer;
  transition: background-color .2s;
}

/* ---------- Títulos en dos niveles (como el brochure) ---------- */
.hs { display: flex; flex-direction: column; }
.hs__eyebrow {
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--mint-name);
}
.hs__title {
  font-family: var(--font-display);
  text-transform: uppercase;
  line-height: 1.04;
  letter-spacing: -.005em;
  text-wrap: balance;
}
.hs__line { display: block; font-weight: 400; font-size: clamp(19px, 4.6vw, 28px); color: var(--petrol); }
.hs__bold { display: block; font-weight: 700; font-size: clamp(30px, 7.4vw, 52px); color: var(--mint-title); }
.hs__sub {
  margin-top: 16px;
  max-width: 56ch;
  font-size: clamp(16px, 2.2vw, 19px);
  line-height: 1.55;
  color: var(--ink-soft);
  text-wrap: pretty;
}
.hs--center { align-items: center; text-align: center; }
.hs--center .hs__sub { margin-left: auto; margin-right: auto; }
.is-dark .hs__eyebrow { color: var(--mint); }
.is-dark .hs__line { color: var(--on-dark); }
.is-dark .hs__bold { color: var(--glow); }
.is-dark .hs__sub { color: var(--on-dark-soft); }

/* =========================================================
   ENCABEZADO FIJO
   ========================================================= */
.bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  padding-top: env(safe-area-inset-top);
  background: rgba(6, 21, 24, .72);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background-color .3s, border-color .3s;
}
.bar.is-scrolled { background: rgba(6, 21, 24, .92); border-bottom-color: rgba(168, 243, 233, .1); }
.bar__row {
  display: flex;
  align-items: center;
  gap: 12px;
  height: var(--bar-h);
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.bar__logo { flex: none; border-radius: 8px; }
.bar__logo img { width: clamp(108px, 28vw, 132px); height: auto; }
.bar__menu { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.bar__menu a:not(.btn) {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  color: var(--on-dark-soft);
  text-decoration: none;
  transition: color .2s;
}
.bar__menu a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 8px;
  height: 2px;
  border-radius: 2px;
  background: var(--glow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.bar__menu a:not(.btn):hover, .bar__menu a.is-current { color: #fff; }
.bar__menu a:not(.btn):hover::after, .bar__menu a.is-current::after { transform: scaleX(1); }
.bar__menu-cta { display: none; }
.bar__cta { margin-left: 8px; }
.bar__toggle { display: none; color: var(--on-dark); }
.bar__toggle:hover { background: rgba(255, 255, 255, .08); }
.bar__close { display: none; }

/* Celular: menú compacto desplegable */
@media (max-width: 759px) {
  .bar__cta { display: none; }
  .bar__toggle { display: inline-grid; margin-left: auto; margin-right: -10px; }
  .bar__menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    margin: 0;
    padding: 8px var(--gutter) 20px;
    background: var(--night);
    box-shadow: 0 24px 40px -20px rgba(0, 0, 0, .6);
    border-bottom: 1px solid rgba(168, 243, 233, .12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s .25s;
  }
  .bar.is-open .bar__menu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .bar.is-open { background: var(--night); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .bar.is-open .bar__burger { display: none; }
  .bar.is-open .bar__close { display: inline; }
  .bar__menu a:not(.btn) { min-height: 52px; padding: 0 4px; font-size: 17px; color: var(--on-dark); border-bottom: 1px solid rgba(168, 243, 233, .08); border-radius: 0; }
  .bar__menu a:not(.btn)::after { display: none; }
  .bar__menu-cta { display: inline-flex; margin-top: 14px; min-height: 52px; }
}

/* Franja de aviso sobre el encabezado (AVISO_SUPERIOR en config.js) */
.bar__notice {
  height: var(--notice-h);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 var(--gutter);
  background: var(--glow);
  color: var(--night);
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .04em;
  text-align: center;
}
.bar__notice::before { content: ""; width: 7px; height: 7px; margin-right: 9px; border-radius: 50%; background: var(--night); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .25; } }

/* =========================================================
   1 · INICIO: titular, datos y cuenta regresiva
   ========================================================= */
.hero {
  position: relative;
  overflow: hidden;
  color: var(--on-dark);
  background:
    radial-gradient(ellipse 80% 55% at 72% 105%, #0F4540 0%, rgba(6, 21, 24, 0) 70%),
    radial-gradient(ellipse 50% 40% at 0% 0%, rgba(15, 69, 64, .55) 0%, rgba(6, 21, 24, 0) 70%),
    var(--night);
}
.hero__wrap {
  display: grid;
  gap: 32px;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: calc(var(--bar-h) + var(--notice-h) + env(safe-area-inset-top) + 18px) var(--gutter) 40px;
}
.hero__text { display: flex; flex-direction: column; min-width: 0; }
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  margin-bottom: 12px;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(168, 243, 233, .35);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--glow);
}
.hero__eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--mint); }
.hero__title {
  font-family: var(--font-display);
  text-transform: uppercase;
  line-height: 1;
  letter-spacing: -.015em;
  text-wrap: balance;
}
.hero__title-thin { display: block; font-weight: 400; font-size: clamp(16px, 4.4vw, 30px); color: var(--on-dark); }
.hero__title-bold { display: block; margin-top: 6px; font-weight: 700; font-size: clamp(27px, 7.4vw, 56px); line-height: 1.02; color: var(--glow); }
.hero__sub { margin-top: 12px; max-width: 48ch; font-size: clamp(15px, 2vw, 19px); line-height: 1.5; color: var(--on-dark-soft); text-wrap: pretty; }

/* Fecha, hora y sede */
.facts { display: grid; gap: 6px; margin-top: 14px; }
.fact { display: flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 600; color: var(--on-dark); }
.fact .ico { width: 18px; height: 18px; color: var(--mint); }

/* Cuenta regresiva */
.countdown { margin-top: 16px; }
.countdown__k { margin-bottom: 8px; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--mint); }
.countdown__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; max-width: 380px; }
.countdown__cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 4px 7px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--line-dark);
}
.countdown__cell b { font-family: var(--font-display); font-weight: 700; font-size: clamp(22px, 6vw, 30px); line-height: 1.1; color: #fff; font-variant-numeric: tabular-nums; }
.countdown__cell small { font-size: 10.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-soft); }
.countdown__done { display: inline-block; padding: 10px 16px; border-radius: 14px; background: rgba(168, 243, 233, .1); border: 1px solid var(--line-dark); font-family: var(--font-display); font-weight: 600; color: var(--glow); }

.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.hero__actions .btn--primary { flex: 1 1 auto; }
.btn__price { margin-left: -4px; font-weight: 400; opacity: .8; }
.hero__secondary { display: none; }

/* Foto del ponente en el inicio (solo escritorio) */
.hero__figure { display: none; margin: 0; }
.hero__caption { display: flex; flex-direction: column; margin-top: -64px; position: relative; padding: 0 24px 22px; line-height: 1.3; }
.hero__caption b { font-family: var(--font-display); font-size: 20px; text-transform: uppercase; color: #fff; }
.hero__caption span { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--glow); }

@media (min-width: 560px) {
  .hero__actions .btn--primary { flex: 0 0 auto; }
  .hero__secondary { display: inline-flex; }
  .facts { grid-template-columns: auto auto; justify-content: start; gap: 8px 24px; }
  .fact:last-child { grid-column: 1 / -1; }
}
@media (min-width: 960px) {
  .hero__wrap {
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr);
    align-items: center;
    gap: 56px;
    min-height: min(100vh, 880px);
    padding-top: calc(var(--bar-h) + var(--notice-h) + 40px);
    padding-bottom: 56px;
  }
  .hero__eyebrow { font-size: 12px; padding: 7px 14px; margin-bottom: 18px; }
  .hero__sub { margin-top: 18px; }
  .facts { margin-top: 24px; }
  .fact { font-size: 16px; }
  .countdown { margin-top: 28px; }
  .countdown__grid { gap: 12px; max-width: 440px; }
  .countdown__cell { padding: 12px 6px 10px; border-radius: 20px; }
  .hero__actions { margin-top: 30px; }
  .hero__figure { display: block; }
}

/* Fondo de estudio para fotos de ponentes: halo turquesa detrás de la persona (como el brochure) */
.stage {
  position: relative;
  overflow: hidden;
  height: clamp(340px, 96vw, 460px);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(ellipse 34% 30% at 50% 0%, rgba(120, 236, 224, .75) 0%, rgba(120, 236, 224, 0) 100%),
    radial-gradient(ellipse 30% 62% at 50% 52%, rgba(64, 214, 200, .55) 0%, rgba(64, 214, 200, 0) 100%),
    radial-gradient(ellipse 58% 95% at 50% 45%, #129C95 0%, #0A6663 38%, #063336 68%, #031719 100%);
}
.stage::after { content: ""; position: absolute; inset: auto 0 0; height: 40%; background: linear-gradient(to top, rgba(3, 23, 25, .92), rgba(3, 23, 25, 0)); }
.stage img {
  position: absolute;
  bottom: 0;
  left: 50%;
  height: 94%;
  width: auto;
  max-width: none;
  transform: translateX(-50%);
  filter: drop-shadow(0 0 22px rgba(60, 200, 188, .22));
}
.stage--hero { height: clamp(460px, 62vh, 620px); }

/* ---------- Botones extra ---------- */
.btn--dark { background: var(--petrol); color: #fff; }
.btn--dark:hover { background: #164d68; box-shadow: 0 10px 26px -12px rgba(14, 58, 80, .7); }
.btn--ghost { background: transparent; border-color: rgba(168, 243, 233, .4); color: var(--on-dark); }
.btn--ghost:hover { border-color: var(--glow); background: rgba(168, 243, 233, .08); }

/* =========================================================
   Secciones
   ========================================================= */
.sec { padding: clamp(64px, 10vw, 104px) 0; }
.sec--light { background: #fff; }
.sec--paper { background: var(--paper); }
.sec--dark { background: var(--floor); color: var(--on-dark); }

/* 2 · ¿Es para mí? */
.gains { display: grid; gap: 44px; margin-top: 64px; counter-reset: gain; }
@media (min-width: 720px) { .gains { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 52px 24px; } }
@media (min-width: 1024px) {
  .gains[data-count="3"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gains[data-count="4"] { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.gain {
  position: relative;
  padding: 44px 24px 28px;
  border-radius: var(--radius-lg);
  background: var(--mint-soft);
  border: 1.5px solid transparent;
  text-align: center;
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.gain:nth-child(even) { background: #fff; border-color: var(--mint); }
.gain:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -24px rgba(14, 58, 80, .45); }
.gain__ico {
  position: absolute;
  top: -26px;
  left: 50%;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid var(--mint-soft);
  color: var(--mint-title);
  box-shadow: 0 8px 20px -10px rgba(14, 58, 80, .35);
}
.gain:nth-child(even) .gain__ico { background: var(--mint-soft); }
.gain__num { display: block; margin-bottom: 6px; font-size: 12px; font-weight: 700; letter-spacing: .16em; color: var(--mint-name); }
.gain__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(19px, 4.4vw, 22px); line-height: 1.25; color: var(--petrol); }
.gain__text { margin: 10px auto 0; max-width: 36ch; font-size: 16px; line-height: 1.55; color: var(--ink-soft); }

/* Botón y nota al pie de una sección */
.sec__cta { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 48px; text-align: center; }
.sec__note { font-size: 14px; color: var(--ink-soft); }
@media (max-width: 559px) { .sec__cta .btn { width: 100%; } }

/* 3 · Entradas */
.tickets { display: grid; gap: 28px; margin-top: 44px; align-items: start; }
@media (min-width: 820px) { .tickets { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 960px; margin-left: auto; margin-right: auto; gap: 24px; align-items: stretch; } }
.ticket {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 22px 24px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1.5px solid var(--line);
  box-shadow: 0 20px 50px -34px rgba(14, 58, 80, .45);
}
@media (min-width: 560px) { .ticket { padding: 34px 32px 28px; } }
.ticket--vip {
  background: var(--floor);
  border-color: rgba(168, 243, 233, .55);
  color: var(--on-dark);
  box-shadow: 0 30px 70px -30px rgba(6, 21, 24, .8), 0 0 0 4px rgba(168, 243, 233, .08);
}
.ticket__seal {
  position: absolute;
  top: -13px;
  right: 22px;
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--glow);
  color: var(--night);
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.ticket__k { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--mint-name); }
.ticket--vip .ticket__k { color: var(--mint); }
.ticket__name { margin-top: 6px; font-family: var(--font-display); font-weight: 700; font-size: clamp(24px, 6vw, 30px); line-height: 1.1; text-transform: uppercase; color: var(--petrol); }
.ticket--vip .ticket__name { color: #fff; }
.ticket__price { display: flex; align-items: baseline; gap: 12px; margin-top: 16px; }
.ticket__price s { font-size: 17px; color: var(--ink-soft); text-decoration-thickness: 1.5px; }
.ticket--vip .ticket__price s { color: var(--on-dark-soft); }
.ticket__price b { font-family: var(--font-display); font-weight: 700; font-size: clamp(40px, 11vw, 52px); line-height: 1; letter-spacing: -.02em; color: var(--mint-title); }
.ticket--vip .ticket__price b { color: var(--glow); }
.ticket__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 10px; font-size: 14px; color: var(--ink-soft); }
.ticket--vip .ticket__meta { color: var(--on-dark-soft); }
.ticket__off { padding: 3px 10px; border-radius: 999px; background: var(--mint-soft); font-size: 12.5px; font-weight: 700; color: var(--mint-name); }
.ticket--vip .ticket__off { background: rgba(168, 243, 233, .14); color: var(--glow); }
.ticket__inc { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; font-weight: 700; color: var(--petrol); }
.ticket--vip .ticket__inc { border-top-color: var(--line-dark); color: #fff; }
.ticket__list { display: grid; gap: 10px; margin-top: 14px; margin-bottom: 26px; }
.ticket__list li { display: flex; gap: 10px; font-size: 15.5px; line-height: 1.45; color: var(--ink); }
.ticket--vip .ticket__list li { color: var(--on-dark); }
.ticket__list .ico { width: 20px; height: 20px; margin-top: 1px; stroke-width: 2.2; color: var(--mint-title); }
.ticket--vip .ticket__list .ico { color: var(--glow); }
.ticket__btn { margin-top: auto; }
.ticket__note { margin-top: 12px; font-size: 13px; font-weight: 600; text-align: center; color: var(--glow); }
.tickets__help { margin-top: 28px; font-size: 15px; text-align: center; color: var(--ink-soft); }
.tickets__help a { font-weight: 700; color: var(--mint-name); text-underline-offset: 3px; }
.tickets__help a:hover { color: var(--petrol); }

/* 4 · Ponente */
.speakers { display: grid; gap: 28px; margin-top: 44px; }
.speaker { display: grid; gap: 26px; align-items: center; }
@media (min-width: 820px) {
  .speakers[data-count="1"] .speaker { grid-template-columns: minmax(300px, 420px) minmax(0, 1fr); gap: 64px; max-width: 1040px; margin: 0 auto; }
  .speakers:not([data-count="1"]) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.speaker__name { font-family: var(--font-display); font-weight: 700; font-size: clamp(30px, 7vw, 46px); line-height: 1.05; text-transform: uppercase; color: var(--glow); }
.speaker__role { margin-top: 8px; font-size: 14px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--mint); }
.speaker__text { margin-top: 18px; max-width: 54ch; font-size: clamp(16px, 2.2vw, 18px); line-height: 1.65; color: var(--on-dark); text-wrap: pretty; }
.speaker__text + .speaker__text { margin-top: 12px; color: var(--on-dark-soft); }

/* Frases con botón entre secciones */
.quote { padding: clamp(56px, 8vw, 88px) 0; background: var(--night); border-top: 1px solid rgba(168, 243, 233, .06); }
.quote__wrap { display: flex; flex-direction: column; align-items: center; gap: 28px; text-align: center; }
.quote__text { max-width: 28ch; font-family: var(--font-display); font-weight: 700; font-size: clamp(22px, 5.4vw, 38px); line-height: 1.2; text-transform: uppercase; text-wrap: balance; color: #fff; }
@media (max-width: 559px) { .quote__wrap .btn { width: 100%; } }

/* 5 · Sede */
.hs__bold--md { font-size: clamp(26px, 6.2vw, 44px); }
.venue { display: grid; gap: 28px; margin-top: 40px; }
@media (min-width: 960px) { .venue { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 48px; align-items: center; } }
/* Mosaico: la primera foto grande y las demás en una fila debajo */
.venue__photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.venue__photos img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 18px; background: var(--mint-soft); }
.venue__photos img:first-child { grid-column: 1 / -1; border-radius: var(--radius); }
.venue__photos[data-count="2"] img:first-child, .venue__photos[data-count="1"] img:first-child { grid-column: auto; }
.venue__photos[data-count="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 559px) { .venue__photos { gap: 8px; } .venue__photos img { border-radius: 14px; } }
.venue__info { display: grid; gap: 20px; }
.venue__date { font-family: var(--font-display); font-weight: 700; font-size: clamp(19px, 4.6vw, 24px); text-transform: uppercase; color: var(--petrol); }
.venue__row { display: flex; gap: 14px; font-size: 16px; line-height: 1.5; color: var(--ink); }
.venue__row > .ico { width: 24px; height: 24px; margin-top: 2px; color: var(--mint-title); }
.venue__k { font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--mint-name); }
.venue__soft { font-size: 14px; color: var(--ink-soft); }
.venue__map { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin-top: 4px; font-weight: 700; color: var(--petrol); text-underline-offset: 3px; }
.venue__map .ico { width: 16px; height: 16px; }
.venue__map:hover { color: var(--mint-title); }
.venue__text { padding-top: 18px; border-top: 1px solid var(--line); font-size: 15px; color: var(--ink-soft); }

/* 6 · Agenda */
.timeline { display: grid; margin: 40px 0 0; padding: 0; list-style: none; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); overflow: hidden; }
.timeline__item { display: grid; gap: 6px; padding: 22px; border-bottom: 1px solid var(--line); }
.timeline__item:last-child { border-bottom: 0; }
@media (min-width: 640px) { .timeline__item { grid-template-columns: 170px minmax(0, 1fr); gap: 24px; padding: 26px 32px; } }
.timeline__time { font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--mint-title); white-space: nowrap; }
.timeline__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(17px, 4vw, 19px); line-height: 1.3; color: var(--petrol); }
.timeline__text { margin-top: 4px; font-size: 15.5px; color: var(--ink-soft); }
.timeline__note { margin-top: 18px; font-size: 14px; text-align: center; color: var(--ink-soft); }

/* 7 · Preguntas frecuentes */
.faq { display: grid; gap: 12px; margin-top: 44px; }
.faq details {
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--line);
  transition: border-color .2s, box-shadow .2s;
}
.faq details:hover { border-color: #B5D9D1; }
.faq details[open] { border-color: var(--mint); box-shadow: 0 14px 36px -26px rgba(14, 58, 80, .5); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  padding: 14px 20px 14px 24px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(16px, 3.8vw, 18px);
  line-height: 1.35;
  color: var(--petrol);
  cursor: pointer;
  list-style: none;
  border-radius: 20px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq__plus {
  position: relative;
  width: 32px;
  height: 32px;
  flex: none;
  border-radius: 50%;
  background: var(--mint-soft);
  transition: background-color .25s, transform .35s var(--ease);
}
.faq__plus::before, .faq__plus::after { content: ""; position: absolute; top: 50%; left: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: var(--mint-title); transition: transform .35s var(--ease), background-color .25s; }
.faq__plus::after { transform: rotate(90deg); }
.faq details[open] .faq__plus { background: var(--mint-title); transform: rotate(180deg); }
.faq details[open] .faq__plus::before, .faq details[open] .faq__plus::after { background: #fff; }
.faq details[open] .faq__plus::after { transform: rotate(0deg); }
.faq__a { padding: 0 24px 22px; max-width: 64ch; font-size: 16px; line-height: 1.6; color: var(--ink-soft); }
.faq details[open] .faq__a { animation: drop .35s var(--ease); }
@keyframes drop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* 8 · Llamado final */
.final { padding-bottom: clamp(80px, 12vw, 120px); }
.final .hs__bold { font-size: clamp(36px, 9vw, 64px); }
.final__btn { margin-top: 32px; }

/* Pie */
.foot { background: var(--night); color: var(--on-dark-soft); border-top: 1px solid rgba(168, 243, 233, .08); padding: 36px 0 calc(36px + env(safe-area-inset-bottom)); }
.foot__row { display: flex; flex-direction: column; gap: 18px; }
.foot__logo { width: 110px; height: auto; opacity: .9; }
.foot__text { display: grid; gap: 8px; font-size: 13px; line-height: 1.55; }
.foot__risk { max-width: 72ch; }
.foot__legal a { color: var(--glow); text-underline-offset: 3px; }
@media (min-width: 820px) { .foot__row { flex-direction: row; align-items: center; justify-content: space-between; gap: 40px; } .foot__text { text-align: right; justify-items: end; } }
/* Espacio para que el botón fijo no tape el pie en celular */
@media (max-width: 759px) { .foot { padding-bottom: calc(108px + env(safe-area-inset-bottom)); } }

/* ---------- Botón fijo inferior (celular) ---------- */
.dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 15;
  padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom));
  background: linear-gradient(to top, rgba(6, 21, 24, .96) 55%, rgba(6, 21, 24, 0));
  transform: translateY(110%);
  transition: transform .35s var(--ease);
  pointer-events: none;
}
.dock .btn { min-height: 56px; font-size: 16px; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .6); }
.dock.is-shown { transform: none; pointer-events: auto; }
@media (min-width: 760px) { .dock { display: none; } }

/* ---------- Aparición al hacer scroll ----------
   Solo se activa con JavaScript y si la persona no pidió reducir el movimiento. */
.js-motion [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js-motion [data-reveal].is-in { opacity: 1; transform: none; }

/* Entrada del inicio al cargar */
.js-motion .hero__text > *, .js-motion .hero__figure { animation: rise .7s var(--ease) both; }
.js-motion .hero__text > :nth-child(2) { animation-delay: 60ms; }
.js-motion .hero__text > :nth-child(3) { animation-delay: 120ms; }
.js-motion .hero__text > :nth-child(4) { animation-delay: 180ms; }
.js-motion .hero__text > :nth-child(n+5) { animation-delay: 240ms; }
.js-motion .hero__figure { animation-delay: 160ms; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* =========================================================
   Movimiento reducido
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* =========================================================
   Galería del inicio (fotos que se alternan)
   Fotos grandes de fondo, sin marco, con una capa oscura encima
   para que el texto resalte (como la referencia).
   ========================================================= */
.hero.has-gallery .hero__figure { display: block; position: absolute; inset: 0; z-index: 0; margin: 0; }
.hero__text { position: relative; z-index: 2; }
.slides { position: absolute; inset: 0; overflow: hidden; background: var(--black, #0A0A0B); }
.slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: var(--pos, 50% 30%);
  opacity: 0;
  transition: opacity 1.4s ease-in-out;
}
.slide.is-active { opacity: 1; animation: slide-zoom 9s ease-out forwards; }
@keyframes slide-zoom { from { transform: scale(1); } to { transform: scale(1.06); } }
/* Capa oscura: más fuerte donde va el texto */
.hero.has-gallery .hero__figure::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(10, 10, 11, .8) 0%, rgba(10, 10, 11, .58) 30%, rgba(10, 10, 11, .8) 62%, #0A0A0B 100%);
}
.hero.has-gallery .hero__caption { display: none; }
.slides__dots { position: absolute; z-index: 2; display: flex; gap: 6px; padding: 7px 10px; border-radius: 999px; background: rgba(10, 10, 11, .55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.slides__dots span { width: 18px; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .35); transition: background-color .4s, width .4s var(--ease); }
.slides__dots span.is-active { width: 30px; background: var(--glow); }
.hero.has-gallery .slides__dots { top: calc(var(--bar-h) + var(--notice-h) + env(safe-area-inset-top) + 24px); right: var(--gutter); }

@media (min-width: 960px) {
  /* La foto ocupa la parte derecha y se funde con el negro hacia la izquierda */
  .hero.has-gallery .hero__wrap { grid-template-columns: minmax(0, 720px); }
  .hero.has-gallery .slides { left: auto; width: min(68%, 980px); }
  .slide { object-position: var(--pos-d, 50% 10%); }
  .hero.has-gallery .hero__figure::after { display: none; }
  .hero.has-gallery .slides::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
      linear-gradient(90deg, #0A0A0B 0%, rgba(10, 10, 11, .82) 20%, rgba(10, 10, 11, .4) 48%, rgba(10, 10, 11, .22) 78%, rgba(10, 10, 11, .45) 100%),
      linear-gradient(to bottom, rgba(10, 10, 11, .7) 0%, rgba(10, 10, 11, 0) 22%, rgba(10, 10, 11, 0) 68%, #0A0A0B 100%);
  }
  .hero.has-gallery .slides__dots { top: auto; bottom: 40px; right: max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter))); }
}

/* Foto del ponente (vertical 4:5) */
.speaker__photo { overflow: hidden; aspect-ratio: 4 / 5; border-radius: var(--radius-lg); background: #111; box-shadow: 0 0 0 1px rgba(168, 243, 233, .14); }
.speaker__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 20%; }

/* Cintillo superior con letras en neón */
.bar__notice {
  background: var(--black, #0A0A0B);
  color: #E8FFFB;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 12px;
  border-bottom: 1px solid rgba(168, 243, 233, .45);
  box-shadow: 0 1px 14px -2px rgba(168, 243, 233, .45);
  text-shadow: 0 0 1px #fff, 0 0 4px var(--glow), 0 0 10px var(--glow), 0 0 20px rgba(101, 195, 176, .9), 0 0 34px rgba(101, 195, 176, .6);
  -webkit-text-stroke: .3px rgba(168, 243, 233, .9);
  animation: neon 4s ease-in-out infinite;
}
.bar__notice::before { background: var(--glow); box-shadow: 0 0 6px var(--glow), 0 0 12px var(--glow); }
@keyframes neon { 0%, 100% { opacity: 1; } 92% { opacity: 1; } 94% { opacity: .78; } 96% { opacity: 1; } }

/* =========================================================
   Ventana de compra (elegir cuántas entradas)
   Celular: sube desde abajo. Computadora: centrada.
   ========================================================= */
.is-locked, .is-locked body { overflow: hidden; }
.buy {
  width: 100%;
  max-width: 100%;
  max-height: 100%;
  margin: auto 0 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--on-dark);
}
.buy::backdrop { background: rgba(0, 0, 0, .72); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.buy__box {
  position: relative;
  padding: 26px var(--gutter) calc(22px + env(safe-area-inset-bottom));
  border-radius: 28px 28px 0 0;
  background: #141517;
  border: 1px solid rgba(168, 243, 233, .2);
  border-bottom: 0;
  box-shadow: 0 -20px 60px -20px rgba(0, 0, 0, .9);
}
.buy--vip .buy__box { background: radial-gradient(ellipse 90% 60% at 50% 120%, rgba(168, 243, 233, .14) 0%, rgba(20, 21, 23, 0) 70%), #141517; border-color: rgba(168, 243, 233, .5); }
.buy[open] .buy__box { animation: buy-up .35s var(--ease); }
@keyframes buy-up { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (min-width: 640px) {
  .buy { width: min(460px, calc(100% - 32px)); margin: auto; }
  .buy__box { padding: 32px 32px 26px; border-radius: var(--radius-lg); border-bottom: 1px solid rgba(168, 243, 233, .2); }
  .buy--vip .buy__box { border-bottom-color: rgba(168, 243, 233, .5); }
  .buy[open] .buy__box { animation-name: buy-in; }
  @keyframes buy-in { from { transform: translateY(12px) scale(.98); opacity: 0; } to { transform: none; opacity: 1; } }
}
.buy__close { position: absolute; top: 12px; right: 12px; color: var(--on-dark-soft); }
.buy__close:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.buy__k { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--mint); }
.buy__title { margin-top: 4px; font-family: var(--font-display); font-weight: 700; font-size: 26px; line-height: 1.15; text-transform: uppercase; color: #fff; }
.buy--vip .buy__title { color: var(--glow); }
.buy__unit { margin-top: 6px; font-size: 14px; color: var(--on-dark-soft); }
.buy__label { margin-top: 22px; font-size: 14px; font-weight: 700; color: #fff; }
.buy__options { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.buy__opt {
  min-height: 54px;
  border-radius: 16px;
  border: 1.5px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .04);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  color: #fff;
  cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s, transform .15s;
}
.buy__opt:hover { border-color: rgba(168, 243, 233, .5); }
.buy__opt:active { transform: scale(.96); }
.buy__opt.is-selected { background: var(--glow); border-color: var(--glow); color: #0A0A0B; }
.buy__total { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-top: 20px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .1); }
.buy__total span { font-size: 14px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-soft); }
.buy__total b { margin-left: auto; font-family: var(--font-display); font-size: 30px; line-height: 1; color: #fff; }
.buy__total small { flex-basis: 100%; text-align: right; font-size: 13px; color: var(--on-dark-soft); }
.buy__go { margin-top: 18px; }
.buy__note { margin-top: 10px; font-size: 13px; text-align: center; color: var(--on-dark-soft); }
@media (prefers-reduced-motion: reduce) { .buy[open] .buy__box { animation: none; } }

/* =========================================================
   TEMA NEGRO (prueba para este workshop)
   Fondo negro y secciones alternas en gris medio para separar apartados.
   Para volver al tema del brochure: borra desde aquí hasta el final del archivo.
   ========================================================= */
:root {
  --black: #0A0A0B;          /* fondo principal */
  --gray: #17181A;           /* secciones alternas (contraste entre apartados) */
  --card: #1E1F22;           /* tarjetas sobre fondo negro */
  --card-on-gray: #232427;   /* tarjetas sobre fondo gris */
  --text: #F2F3F4;
  --text-soft: #A4A8AD;
  --line: rgba(255, 255, 255, .09);
  --line-dark: rgba(255, 255, 255, .1);
}
body { background: var(--black); }

/* Encabezado y menú */
.bar { background: rgba(10, 10, 11, .78); }
.bar.is-scrolled { background: rgba(10, 10, 11, .94); border-bottom-color: var(--line); }
@media (max-width: 759px) {
  .bar__menu { background: var(--black); border-bottom-color: var(--line); }
  .bar.is-open { background: var(--black); }
  .bar__menu a:not(.btn) { border-bottom-color: var(--line); }
}

/* Fondos de sección: negro y gris alternados */
.hero { background: radial-gradient(ellipse 70% 50% at 75% 110%, rgba(168, 243, 233, .09) 0%, rgba(10, 10, 11, 0) 70%), var(--black); }
.sec, .sec--light, .sec--paper, .sec--dark, .quote { background: var(--black); color: var(--text); }
#para-ti, #ponente, #sede, #agenda, .final { background: var(--gray); }
.quote { border-top: 0; }

/* Títulos en dos niveles sobre oscuro */
.hs__eyebrow { color: var(--mint); }
.hs__line { color: var(--text); }
.hs__bold { color: var(--glow); }
.hs__sub, .sec__note, .timeline__note, .tickets__help { color: var(--text-soft); }

/* Botón secundario: contorno turquesa */
.btn--dark { background: transparent; border-color: var(--glow); color: var(--glow); }
.btn--dark:hover { background: rgba(168, 243, 233, .1); box-shadow: none; }

/* ¿Es para mí? */
.gain { background: var(--card-on-gray); }
.gain:nth-child(even) { background: transparent; border-color: rgba(168, 243, 233, .35); }
.gain__ico, .gain:nth-child(even) .gain__ico { background: var(--gray); border-color: rgba(168, 243, 233, .3); color: var(--glow); box-shadow: none; }
.gain:hover { box-shadow: 0 18px 40px -24px rgba(0, 0, 0, .9); }
.gain__num { color: var(--mint); }
.gain__title { color: #fff; }
.gain__text { color: var(--text-soft); }

/* Entradas */
.ticket { background: var(--card); border-color: var(--line); box-shadow: none; color: var(--text); }
.ticket__k { color: var(--mint); }
.ticket__name { color: #fff; }
.ticket__price s, .ticket__meta { color: var(--text-soft); }
.ticket__price b { color: #fff; }
.ticket__off { background: rgba(168, 243, 233, .12); color: var(--glow); }
.ticket__inc { border-top-color: var(--line); color: #fff; }
.ticket__list li { color: var(--text); }
.ticket__list .ico { color: var(--mint); }
.ticket--vip {
  background: radial-gradient(ellipse 90% 60% at 50% 115%, rgba(168, 243, 233, .14) 0%, rgba(18, 19, 21, 0) 70%), #121315;
  border-color: rgba(168, 243, 233, .55);
  box-shadow: 0 0 0 4px rgba(168, 243, 233, .06);
}
.ticket--vip .ticket__price b { color: var(--glow); }
.tickets__help a { color: var(--glow); }
.tickets__help a:hover { color: #fff; }

/* Ponente */
.speaker__text { color: var(--text); }
.speaker__text + .speaker__text { color: var(--text-soft); }

/* Sede */
.venue__photos img { background: var(--card-on-gray); }
.venue__date { color: #fff; }
.venue__row { color: var(--text); }
.venue__row > .ico, .venue__k { color: var(--mint); }
.venue__soft, .venue__text { color: var(--text-soft); }
.venue__text { border-top-color: var(--line); }
.venue__map { color: var(--glow); }
.venue__map:hover { color: #fff; }

/* Agenda */
.timeline { background: var(--card-on-gray); border-color: var(--line); }
.timeline__item { border-bottom-color: var(--line); }
.timeline__time { color: var(--glow); }
.timeline__title { color: #fff; }
.timeline__text { color: var(--text-soft); }

/* Preguntas frecuentes */
.faq details { background: var(--card); border-color: var(--line); }
.faq details:hover { border-color: rgba(255, 255, 255, .2); }
.faq details[open] { border-color: rgba(168, 243, 233, .45); box-shadow: none; }
.faq summary { color: #fff; }
.faq__plus { background: rgba(255, 255, 255, .07); }
.faq__plus::before, .faq__plus::after { background: var(--glow); }
.faq details[open] .faq__plus { background: var(--glow); }
.faq details[open] .faq__plus::before, .faq details[open] .faq__plus::after { background: var(--black); }
.faq__a { color: var(--text-soft); }

/* Pie y botón fijo */
.foot { background: var(--black); border-top-color: var(--line); color: var(--text-soft); }
.dock { background: linear-gradient(to top, rgba(10, 10, 11, .96) 55%, rgba(10, 10, 11, 0)); }
