/* =========================================================================
   ECIJA · Encuentro FFCCSE x CISOs · 20.05.2026
   Identidad de marca:
     Rojo        #C9251C  (acento, CTA)
     Gris oscuro #101010  (fondo, tipografia titulares en claro)
     Gris        #575757  (texto secundario)
     Blanco      #FFFFFF
   Tipografias:
     Roboto Light/Regular/Medium  (cuerpo y titulares)
     Cormorant                    (numerales, destacados, tono editorial)
   ========================================================================= */

:root {
  --c-red: #C9251C;
  --c-red-dark: #A41E16;
  --c-black: #101010;
  --c-black-2: #181818;
  --c-gray: #575757;
  --c-gray-soft: #8a8a8a;
  --c-line: #e3e3e3;
  --c-bg: #ffffff;
  --c-bg-alt: #f6f5f3;
  --c-bg-dark: #101010;

  --ff-sans: "Roboto", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --ff-serif: "Cormorant", "Times New Roman", Times, serif;

  --maxw: 1180px;
  --pad-x: clamp(1.25rem, 4vw, 2.5rem);
  --radius: 2px;
  --shadow-soft: 0 1px 2px rgba(16,16,16,.04), 0 8px 24px rgba(16,16,16,.06);
  --shadow-strong: 0 12px 40px rgba(16,16,16,.18);

  --reveal-curve: cubic-bezier(.16, 1, .3, 1);
  --reveal-time: 1100ms;
}

/* ----------------------------------------------------------------- reset */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  /* En iOS Safari, evita que el zoom del input dispare layout shift */
  text-size-adjust: 100%;
}
html, body {
  /* Red de seguridad: nunca scroll horizontal por marquees rotados,
     esferas decorativas con vmax negativo, etc. */
  overflow-x: hidden;
  max-width: 100%;
}
body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-black);
  font-family: var(--ff-sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
/* Tap highlight sutil en mobile (en lugar del azul agresivo de iOS) */
a, button, [role="tab"], summary { -webkit-tap-highlight-color: rgba(201,37,28,.18); }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--c-red); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--c-red-dark); }
button { font: inherit; }

/* skip link a11y */
.skip-link {
  position: absolute; left: -9999px; top: auto;
  background: var(--c-black); color: #fff; padding: .75rem 1rem;
}
.skip-link:focus { left: 1rem; top: 1rem; z-index: 1000; }

/* ----------------------------------------------------------------- layout */
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

.section {
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
}
.section--about     { background: var(--c-bg); }
.section--why       { background: var(--c-bg-dark); color: #f1f1f1; position: relative; isolation: isolate; }
.section--speakers  { background: var(--c-bg); border-top: 1px solid var(--c-line); }
.section--sponsors  { background: var(--c-bg-dark); color: #f1f1f1; position: relative; isolation: isolate; overflow: hidden; }
.section--schedule  { background: var(--c-bg-alt); }
.section--venue     { background: var(--c-bg); }
.section--faq       { background: var(--c-bg-alt); }
.section--register  { background: var(--c-bg-dark); color: #f1f1f1; }
.section--register .lead, .section--register p { color: #d6d6d6; }

.section--why p, .section--why .lead { color: #c8c8c8; }

.section__intro {
  max-width: 720px;
  margin: 0 auto 3rem;
  text-align: center;
}
.section__intro .eyebrow { display: inline-block; }
.section__intro .lead { margin: 1rem auto 0; }

.section__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.section__grid--register {
  grid-template-columns: 1fr 1.05fr;
}
@media (max-width: 880px) {
  .section__grid, .section__grid--register {
    grid-template-columns: 1fr;
  }
}

/* ----------------------------------------------------------------- typography */
h1, h2, h3, h4 {
  font-family: var(--ff-sans);
  font-weight: 300;
  letter-spacing: -.01em;
  color: inherit;
  margin: 0 0 .75rem;
  line-height: 1.15;
}
h1 { font-size: clamp(2.25rem, 5.5vw, 3.75rem); }
h2 { font-size: clamp(1.85rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.25rem; font-weight: 400; }
h4 { font-size: 1rem; font-weight: 500; text-transform: uppercase; letter-spacing: .12em; }
p { margin: 0 0 1rem; color: var(--c-gray); }
.lead { font-size: 1.15rem; color: var(--c-black); }
.section--register .lead, .section--why .lead { color: #f1f1f1; }

.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--c-red);
  margin: 0 0 1rem;
  padding-bottom: .35rem;
  border-bottom: 1px solid currentColor;
}
.eyebrow--light { color: #f1f1f1; }

/* ----------------------------------------------------------------- header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--c-line);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem;
  padding-block: .9rem;
}
.site-header__brand { display: inline-flex; flex-shrink: 0; }
.site-header__brand img { height: 52px; width: auto; }
.site-nav {
  display: flex; gap: 1.5rem; align-items: center;
}
.site-nav a {
  color: var(--c-black);
  font-size: .9rem;
  font-weight: 400;
  position: relative;
  padding: .35rem 0;
  /* Tap target minimo en mobile */
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.site-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 1px; background: var(--c-red); transform: scaleX(0);
  transform-origin: left; transition: transform .2s ease;
}
.site-nav a:hover { color: var(--c-red); }
.site-nav a:hover::after { transform: scaleX(1); }
.site-nav__cta { display: none; }  /* solo se muestra en mobile dentro del overlay */
.site-header__cta { white-space: nowrap; flex-shrink: 0; }

/* Boton hamburguesa (oculto en desktop) */
.site-header__burger {
  display: none;
  width: 44px; height: 44px;
  background: transparent; border: 0; padding: 0;
  cursor: pointer;
  position: relative;
  z-index: 60;
  -webkit-tap-highlight-color: transparent;
}
.site-header__burger span {
  display: block;
  position: absolute;
  left: 10px; right: 10px;
  height: 2px;
  background: var(--c-black);
  border-radius: 1px;
  transition: transform .25s ease, opacity .2s ease, top .25s ease;
}
.site-header__burger span:nth-child(1) { top: 14px; }
.site-header__burger span:nth-child(2) { top: 21px; }
.site-header__burger span:nth-child(3) { top: 28px; }
/* Estado abierto: las 3 barras se transforman en una X */
body.is-nav-open .site-header__burger span:nth-child(1) {
  top: 21px; transform: rotate(45deg);
}
body.is-nav-open .site-header__burger span:nth-child(2) { opacity: 0; }
body.is-nav-open .site-header__burger span:nth-child(3) {
  top: 21px; transform: rotate(-45deg);
}

@media (max-width: 920px) {
  .site-header__burger { display: block; }
  .site-header__cta { display: none; }  /* el CTA ya esta dentro del nav overlay */

  .site-nav {
    /* Overlay full-screen */
    position: fixed;
    inset: 0;
    top: 0;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 6rem 1.5rem 2rem;
    background: rgba(255,255,255,.98);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    z-index: 55;
    transform: translateX(100%);
    transition: transform .3s cubic-bezier(.4,0,.2,1);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  body.is-nav-open .site-nav {
    transform: translateX(0);
  }
  .site-nav a {
    font-family: var(--ff-serif);
    font-size: 1.6rem;
    font-weight: 500;
    padding: 1rem 0;
    border-bottom: 1px solid var(--c-line);
    min-height: 60px;
  }
  .site-nav a::after { display: none; }
  .site-nav__cta {
    display: inline-flex !important;
    margin-top: 1.5rem;
    padding: 1rem 1.5rem !important;
    background: var(--c-red);
    color: #fff;
    border-radius: var(--radius);
    border-bottom: 0 !important;
    font-family: var(--ff-sans);
    font-size: .95rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    justify-content: center;
  }
  /* Bloquea scroll del body cuando el menu esta abierto */
  body.is-nav-open { overflow: hidden; }
}
@media (max-width: 480px) {
  .site-header__brand img { height: 42px; }
}

/* ----------------------------------------------------------------- buttons */
.btn {
  --bg: var(--c-red);
  --fg: #fff;
  --border: var(--c-red);
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.5rem;
  font-size: .95rem; font-weight: 500; letter-spacing: .02em;
  background: var(--bg); color: var(--fg);
  border: 1px solid var(--border); border-radius: var(--radius);
  cursor: pointer;
  transition: background .15s ease, color .15s ease, transform .15s ease;
  text-transform: uppercase;
}
.btn:hover { background: var(--c-red-dark); border-color: var(--c-red-dark); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn--ghost {
  --bg: transparent;
  --fg: var(--c-black);
  --border: var(--c-black);
}
.btn--ghost:hover { --bg: var(--c-black); --fg: #fff; }
.section--register .btn--ghost { --fg: #fff; --border: #fff; }
.section--register .btn--ghost:hover { --bg: #fff; --fg: var(--c-black); }

/* ============================================================ HERO */
.hero {
  position: relative;
  color: #f4f4f4;
  /* padding inferior amplio para dejar espacio al .hero-banner que solapa abs */
  padding: clamp(5rem, 12vw, 8.5rem) 0 clamp(9rem, 16vw, 13rem);
  overflow: hidden;
  /* Fondo base + capa radial sutil para mobile (cuando el video no carga
     por la media query del <source>). En desktop el video lo cubrirá. */
  background:
    radial-gradient(60% 50% at 30% 30%, rgba(201,37,28,.18), transparent 60%),
    radial-gradient(50% 50% at 80% 80%, rgba(80,15,15,.25), transparent 60%),
    #000;
  min-height: 88vh;
  display: flex;
  align-items: center;
}
.hero__bg {
  position: absolute; inset: 0;
  z-index: 0;  /* IMPORTANTE: z-index positivo - con negativo se va detras del background del padre */
  overflow: hidden;
  will-change: transform;
}
.hero__video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  display: block;
  object-fit: cover;
  background: #000;
  /* Look monocromo y atenuado: grayscale alto + saturacion baja + brillo
     reducido. El video se siente como una textura de fondo, no como una
     imagen protagonista. */
  filter: grayscale(80%) brightness(.5) saturate(.35) contrast(1.1);
  z-index: 1;
}
/* Tinte rojo ECIJA muy sutil — solo para coherencia de branding, no agresivo */
.hero__tint {
  position: absolute; inset: 0; z-index: 2;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(201,37,28,.06) 0%, rgba(60,10,10,.04) 60%, rgba(16,16,16,.0) 100%);
  mix-blend-mode: multiply;
}
.hero__overlay {
  position: absolute; inset: 0; z-index: 3;
  pointer-events: none;
  /* Capa de oscurecido global mas fuerte + vinieta inferior densa (zona del
     texto). Garantiza legibilidad y atenua aun mas la imagen. */
  background:
    linear-gradient(180deg, rgba(16,16,16,.55) 0%, rgba(16,16,16,.40) 35%, rgba(16,16,16,.55) 65%, rgba(16,16,16,.80) 90%, rgba(16,16,16,.95) 100%),
    radial-gradient(80% 70% at 50% 50%, transparent 0%, rgba(16,16,16,.35) 75%, rgba(16,16,16,.65) 100%);
}
.hero__grid {
  position: absolute; inset: -10%;
  z-index: 4;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(75% 65% at 50% 40%, #000 25%, transparent 90%);
          mask-image: radial-gradient(75% 65% at 50% 40%, #000 25%, transparent 90%);
  animation: gridDrift 28s linear infinite;
  opacity: .55;
  mix-blend-mode: overlay;
}
.hero__glow {
  position: absolute;
  z-index: 5;
  width: 60vmax; height: 60vmax;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: .4;
}
.hero__glow--a {
  top: -22vmax; right: -18vmax;
  background: radial-gradient(circle at 50% 50%, rgba(201,37,28,.55), rgba(201,37,28,0) 70%);
  animation: glowFloatA 18s ease-in-out infinite alternate;
}
.hero__glow--b {
  bottom: -24vmax; left: -22vmax;
  background: radial-gradient(circle at 50% 50%, rgba(255,80,70,.35), rgba(255,80,70,0) 70%);
  animation: glowFloatB 22s ease-in-out infinite alternate;
}
.hero__scan {
  position: absolute; left: 0; right: 0; top: 0; height: 100%;
  z-index: 6;
  pointer-events: none;
  background: linear-gradient(180deg,
    transparent 0%, transparent 45%,
    rgba(201,37,28,.10) 50%,
    transparent 55%, transparent 100%);
  animation: scanSweep 9s ease-in-out infinite;
}

@keyframes gridDrift {
  0%   { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-64px, -64px, 0); }
}
@keyframes glowFloatA {
  0%   { transform: translate3d(0, 0, 0) scale(1); opacity: .4; }
  100% { transform: translate3d(-6vmax, 4vmax, 0) scale(1.15); opacity: .65; }
}
@keyframes glowFloatB {
  0%   { transform: translate3d(0, 0, 0) scale(1); opacity: .3; }
  100% { transform: translate3d(5vmax, -3vmax, 0) scale(1.2); opacity: .5; }
}
@keyframes scanSweep {
  0%, 100% { transform: translateY(-100%); opacity: 0; }
  20%       { opacity: .8; }
  50%      { transform: translateY(0%); opacity: 1; }
  80%       { opacity: .8; }
}

.hero__inner {
  position: relative;
  max-width: 920px;
  z-index: 10;  /* encima de todas las capas decorativas (.hero__bg, .hero__overlay, .hero__grid, .hero__glow, .hero__scan) */
}
.hero .eyebrow { color: #f4f4f4; }
.hero__title {
  font-size: clamp(2.4rem, 5.4vw, 4rem);
  font-weight: 300;
  color: #fff;
  margin-bottom: 1.25rem;
}
.hero__accent {
  font-family: var(--ff-serif);
  font-style: italic;
  font-weight: 500;
  color: var(--c-red);
}
.hero__lede {
  max-width: 56ch;
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: #d8d8d8;
  margin-bottom: 2.5rem;
}
.hero__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 0;
  margin: 0 0 2.5rem;
  border-top: 1px solid rgba(255,255,255,.18);
  border-bottom: 1px solid rgba(255,255,255,.18);
}
.hero__facts > div {
  padding: 1.25rem 1.25rem 1.25rem 0;
  border-right: 1px solid rgba(255,255,255,.12);
}
.hero__facts > div:last-child { border-right: none; }
.hero__facts dt {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .22em;
  color: #b9b9b9;
  margin-bottom: .35rem;
}
.hero__facts dd {
  margin: 0;
  font-family: var(--ff-serif);
  font-size: 1.35rem;
  color: #fff;
  font-weight: 500;
}
@media (max-width: 720px) {
  .hero__facts { grid-template-columns: 1fr; }
  .hero__facts > div { border-right: none; border-bottom: 1px solid rgba(255,255,255,.1); }
  .hero__facts > div:last-child { border-bottom: none; }
}
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero .btn--ghost { --fg: #fff; --border: rgba(255,255,255,.6); }
.hero .btn--ghost:hover { --bg: #fff; --fg: var(--c-black); --border: #fff; }

/* ============================================================ HERO BANNER (estilo Aivent) */
/* Banda glass-morphism anclada al fondo del hero. Solapa con el video/grid
   y captura el blur de lo que hay detras via backdrop-filter. */
.hero-banner {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 12;  /* encima de las capas decorativas pero debajo del overlay del hero__inner */
  padding-bottom: clamp(1rem, 3vw, 2rem);
  pointer-events: none;  /* permite scroll-pass-through; los hijos clickables lo reactivan */
}
.hero-banner > .container { pointer-events: auto; }
.hero-banner__card {
  position: relative;
  display: block;
  padding: clamp(1rem, 2vw, 1.5rem) clamp(1.25rem, 3vw, 2.5rem);
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 6px;
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
}
/* gradient-edge-bottom color: degradado rojo en la mitad inferior del card */
.hero-banner__edge {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 50%;
  background: linear-gradient(180deg, transparent 0%, rgba(201,37,28,.18) 100%);
  pointer-events: none;
  z-index: 0;
}
.hero-banner__row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: center;
  position: relative;
  z-index: 2;
}
/* Columna izquierda: texto lead */
.hero-banner__lead h2 {
  font-family: var(--ff-serif);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 500;
  font-style: italic;
  color: #fff;
  margin: 0;
  line-height: 1.1;
}
.hero-banner__lead h4 {
  color: #d8d8d8;
  margin: .25rem 0 0;
  font-size: .85rem;
  letter-spacing: .12em;
  font-weight: 400;
  text-transform: uppercase;
}
/* Columna central: countdown horizontal compacto */
.hero-banner__countdown {
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: clamp(.85rem, 2vw, 1.5rem);
  justify-content: center;
}
.hero-banner__countdown .countdown__cell {
  position: relative;
  padding: 0;
  background: none;
  border: none;
  text-align: center;
  min-width: 56px;
}
.hero-banner__countdown .countdown__cell:not(:last-child)::after {
  content: ":";
  position: absolute;
  right: calc(-1 * clamp(.85rem, 2vw, 1.5rem) / 2);
  top: 30%;
  transform: translate(50%, 0);
  color: rgba(201,37,28,.7);
  font-family: var(--ff-serif);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1;
}
.hero-banner__countdown .countdown__cell:hover {
  border-color: transparent;
  transform: none;
}
.hero-banner__countdown .countdown__cell::before { display: none; }
.hero-banner__countdown .countdown__num {
  font-family: var(--ff-serif);
  font-size: clamp(1.85rem, 4vw, 2.6rem);
  font-weight: 500;
  color: #fff;
  letter-spacing: .02em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.hero-banner__countdown .countdown__label {
  display: block;
  margin-top: .35rem;
  font-size: .65rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: #b5b5b5;
}
/* Columna derecha: direccion con icono */
.hero-banner__addr {
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: flex-end;
  color: var(--c-red);
}
.hero-banner__addr svg { flex-shrink: 0; }
.hero-banner__addr h4 {
  color: #fff;
  margin: 0;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.35;
}
@media (max-width: 880px) {
  /* En mobile el banner pasa a estatico debajo del hero, apilado en vertical.
     Mantiene el countdown visible (a diferencia del template Aivent que lo
     oculta con sm-hide y deja el mobile sin countdown).

     IMPORTANTE: cambiar flex-direction a column. Si dejamos el row default,
     el banner static aparece al LADO del hero__inner (fuera del viewport)
     en lugar de debajo. */
  .hero {
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    padding-bottom: clamp(3rem, 8vw, 5rem);
    min-height: auto;
  }
  .hero__inner { width: 100%; }
  .hero-banner {
    position: static;
    padding-bottom: 0;
    margin-top: 2rem;
    width: 100%;
  }
  .hero-banner__row {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: center;
  }
  .hero-banner__addr { justify-content: center; }
  .hero-banner__lead { text-align: center; }
  .hero-banner__card { padding: 1.25rem 1rem; }
  /* Quitamos los : separadores en mobile — ocupan espacio innecesario y
     pueden romper el layout en pantallas estrechas */
  .hero-banner__countdown .countdown__cell:not(:last-child)::after { display: none; }
  .hero-banner__countdown {
    grid-template-columns: repeat(4, 1fr);
    gap: .5rem;
    padding-block: .5rem;
    border-block: 1px solid rgba(255,255,255,.08);
  }
  .hero-banner__countdown .countdown__num { font-size: clamp(1.5rem, 5vw, 2rem); }
}
@media (max-width: 480px) {
  /* iPhone SE / pantallas muy estrechas: countdown 2x2 si 4 columnas no caben */
  .hero-banner__countdown { grid-template-columns: repeat(2, 1fr); gap: .75rem; }
  .hero-banner__lead h2 { font-size: 1.4rem; }
  .hero-banner__addr h4 { font-size: .95rem; }
  .hero-banner__addr svg { width: 36px; height: 36px; }
}

/* ============================================================ ABOUT */
.check-list { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.check-list li {
  position: relative;
  padding: .6rem 0 .6rem 1.75rem;
  border-bottom: 1px solid var(--c-line);
  color: var(--c-black);
}
.check-list li::before {
  content: "";
  position: absolute; left: 0; top: 1.05rem;
  width: 10px; height: 10px;
  background: var(--c-red);
}
.section--register .check-list li { color: #f1f1f1; border-color: rgba(255,255,255,.1); }
.check-list--compact li { padding-block: .35rem; border: none; }
.check-list--compact li::before { top: .8rem; }

/* About sphere (esfera 3D facetada del template Aivent, teñida al rojo ECIJA) */
.about-sphere {
  position: relative;
  width: min(440px, 100%);
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  padding: 0;
  display: grid;
  place-items: center;
  isolation: isolate;
}
.about-sphere::before {
  /* halo radial rojo detras de la esfera para anclarla al branding */
  content: "";
  position: absolute; inset: -10%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(201,37,28,.22) 0%, rgba(201,37,28,0) 70%);
  z-index: -1;
  filter: blur(20px);
  animation: spherePulse 4s ease-in-out infinite alternate;
}
.about-sphere img {
  width: 100%;
  height: auto;
  object-fit: contain;
  /* Tine la esfera violeta original al rojo ECIJA:
       hue-rotate(110deg) -> violeta (~250) pasa a rojo (~0)
       saturate / brightness -> ajuste fino para que case con el branding
       drop-shadow -> resplandor rojo detras de los bordes facetados */
  filter:
    hue-rotate(110deg)
    saturate(1.35)
    brightness(1.05)
    contrast(1.05)
    drop-shadow(0 12px 30px rgba(201,37,28,.35));
  animation: sphereSpin 26s linear infinite;
}
@keyframes sphereSpin {
  to { transform: rotate(360deg); }
}
@keyframes spherePulse {
  from { opacity: .8; transform: scale(.95); }
  to   { opacity: 1;  transform: scale(1.05); }
}

/* ============================================================ MARQUEE STACK (doble) */
.marquee-stack {
  background: var(--c-black);
  position: relative;
  padding-block: clamp(1.5rem, 3vw, 2.5rem);
  overflow: hidden;
}
.marquee-band {
  background: var(--c-black);
  color: #f4f4f4;
  position: relative;
  overflow: hidden;
  padding-block: 1rem;
}
.marquee-band--top {
  background: linear-gradient(90deg, rgba(201,37,28,.85), rgba(201,37,28,.95));
  color: #fff;
  transform: rotate(-2deg);
  margin-top: -.5rem;
  margin-inline: -2rem;
}
.marquee-band--bottom {
  background: var(--c-black-2);
  border-block: 1px solid rgba(255,255,255,.1);
  transform: rotate(1deg);
  margin-top: -.4rem;
  margin-inline: -2rem;
}
.marquee {
  display: flex;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee-band--top .marquee { mask-image: none; -webkit-mask-image: none; }
.marquee__track {
  display: flex; align-items: center; gap: 2.25rem;
  white-space: nowrap;
  animation: marqueeSlide 38s linear infinite;
  will-change: transform;
}
.marquee__track--reverse {
  animation: marqueeSlide 42s linear infinite reverse;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
  font-family: var(--ff-serif);
  font-weight: 500;
  font-style: italic;
  font-size: clamp(1.35rem, 3vw, 2.1rem);
  letter-spacing: .01em;
  color: #ededed;
}
.marquee-band--top .marquee__item { color: #fff; }
.marquee__sep {
  font-family: var(--ff-serif);
  font-size: clamp(1.35rem, 3vw, 2.1rem);
  color: rgba(255,255,255,.4);
}
.marquee-band--bottom .marquee__sep { color: var(--c-red); opacity: .85; }
@keyframes marqueeSlide {
  0%   { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

/* ============================================================ WHY ATTEND */
.section--why::before {
  content: "";
  position: absolute; inset: 0; z-index: -2;
  background: var(--c-black);
}
.section--why::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(40% 50% at 80% 20%, rgba(201,37,28,.18), transparent 70%),
    radial-gradient(50% 40% at 10% 90%, rgba(201,37,28,.12), transparent 70%);
  pointer-events: none;
}
.section--why h2 { color: #fff; }
.section--why .section__intro .lead { color: #c8c8c8; }

.why-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}
@media (max-width: 880px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .why-grid { grid-template-columns: 1fr; } }

.why-card {
  position: relative;
  background: rgba(255,255,255,.025);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  padding: 2rem 1.75rem 1.75rem;
  transition: transform .35s ease, border-color .35s ease, background .35s ease;
  isolation: isolate;
  overflow: hidden;
}
.why-card::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(201,37,28,.0) 0%, rgba(201,37,28,.12) 50%, rgba(201,37,28,0) 100%);
  opacity: 0;
  transition: opacity .4s ease;
  z-index: -1;
}
.why-card:hover {
  transform: translateY(-4px);
  border-color: rgba(201,37,28,.5);
  background: rgba(201,37,28,.05);
}
.why-card:hover::before { opacity: 1; }
.why-card__icon {
  display: inline-flex;
  width: 52px; height: 52px;
  align-items: center; justify-content: center;
  border: 1px solid var(--c-red);
  border-radius: var(--radius);
  color: var(--c-red);
  margin-bottom: 1.25rem;
  background: rgba(201,37,28,.08);
}
.why-card__icon svg { width: 26px; height: 26px; }
.why-card h3 { color: #fff; margin: 0 0 .5rem; font-size: 1.15rem; }
.why-card p { color: #b8b8b8; margin: 0; font-size: .95rem; line-height: 1.55; }

/* ============================================================ SPEAKERS */
.speakers__intro { max-width: 60ch; margin-bottom: 2.5rem; }
.speakers {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem;
}
@media (max-width: 880px) {
  .speakers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .speakers { grid-template-columns: 1fr; }
}
.speaker {
  position: relative;
  background: var(--c-black);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  isolation: isolate;
  transition: transform .35s ease, box-shadow .35s ease;
}
.speaker:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-strong);
}
.speaker__photo {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--c-bg-alt);
}
.speaker__photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: center top;
  filter: grayscale(100%) contrast(1.05);
  transition: filter .5s ease, transform .8s cubic-bezier(.2,.7,.2,1);
}
.speaker:hover .speaker__photo img {
  filter: grayscale(0);
  transform: scale(1.05);
}
.speaker__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(16,16,16,.85) 100%);
  pointer-events: none;
}
.speaker__placeholder-badge {
  position: absolute;
  top: .75rem; left: .75rem;
  background: rgba(16,16,16,.78);
  color: #fff;
  font-size: .65rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  padding: .3rem .55rem;
  border-radius: var(--radius);
  z-index: 2;
}
.speaker__body {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  margin: 1rem;
  padding: 1.1rem 1.25rem 1.2rem;
  background: rgba(16,16,16,.55);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  z-index: 3;
  text-align: center;
}
.speaker__num {
  font-family: var(--ff-serif);
  font-size: .85rem;
  color: var(--c-red);
  margin: 0 0 .25rem;
  letter-spacing: .04em;
  font-weight: 500;
}
.speaker__name {
  margin: 0 0 .25rem;
  font-size: 1.05rem;
  color: #fff;
}
.speaker__role {
  margin: 0 0 .1rem;
  color: #f1f1f1;
  font-weight: 400;
  font-size: .9rem;
}
.speaker__org {
  margin: 0;
  color: #b9b9b9;
  font-size: .82rem;
}

/* ============================================================ SPONSORS */
.sponsors__bg {
  position: absolute; inset: 0; z-index: -1;
  pointer-events: none;
}
.sponsors__grid {
  position: absolute; inset: -10%;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(70% 60% at 30% 50%, #000 30%, transparent 95%);
          mask-image: radial-gradient(70% 60% at 30% 50%, #000 30%, transparent 95%);
  animation: gridDrift 40s linear infinite;
  opacity: .6;
}
.sponsors__glow {
  position: absolute;
  width: 50vmax; height: 50vmax;
  border-radius: 50%;
  bottom: -20vmax; right: -10vmax;
  background: radial-gradient(circle, rgba(201,37,28,.20), rgba(201,37,28,0) 65%);
  filter: blur(70px);
  animation: glowFloatA 24s ease-in-out infinite alternate;
}
.sponsors__title { color: #fff; text-align: center; }
.section--sponsors .eyebrow { display: block; text-align: center; margin-inline: auto; }
.section--sponsors .section__intro,
.section--sponsors h2 { text-align: center; }

.sponsors-strip {
  list-style: none; padding: 0;
  margin: 2.5rem auto 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem 3rem;
  max-width: 960px;
}
.sponsor {
  display: flex; align-items: center; justify-content: center;
  height: 80px;
  padding: 1rem 1.5rem;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  transition: background .25s ease, border-color .25s ease, transform .25s ease;
  min-width: 200px;
}
.sponsor:hover { background: rgba(255,255,255,.08); border-color: rgba(201,37,28,.5); transform: translateY(-2px); }
.sponsor img {
  max-height: 56px;
  width: auto;
  filter: brightness(0) invert(1) opacity(.85);
  transition: filter .3s ease;
}
.sponsor:hover img { filter: brightness(0) invert(1) opacity(1); }
.sponsor--ghost {
  border-style: dashed;
  background: transparent;
}
.sponsor--ghost:hover { background: transparent; transform: none; border-color: rgba(255,255,255,.2); }
.sponsor--ghost span {
  font-size: .8rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: #888;
}

/* ============================================================ SCHEDULE TABS */
.schedule {
  margin-top: 2rem;
  background: var(--c-bg);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  overflow: hidden;
}
.schedule__nav {
  list-style: none; padding: 0; margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--c-line);
}
.schedule__nav button {
  width: 100%;
  display: flex;
  gap: 1rem;
  align-items: center;
  padding: 1.25rem 1.5rem;
  background: transparent;
  border: 0;
  border-right: 1px solid var(--c-line);
  cursor: pointer;
  text-align: left;
  color: var(--c-gray);
  transition: background .2s ease, color .2s ease;
  position: relative;
}
.schedule__nav li:last-child button { border-right: none; }
.schedule__nav button::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -1px;
  height: 2px;
  background: var(--c-red);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .25s ease;
}
.schedule__nav button[aria-selected="true"] {
  background: var(--c-bg);
  color: var(--c-black);
}
.schedule__nav button[aria-selected="true"]::after { transform: scaleX(1); }
.schedule__nav button:hover { color: var(--c-black); background: var(--c-bg-alt); }
.schedule__nav-num {
  font-family: var(--ff-serif);
  font-size: 1.85rem;
  font-weight: 500;
  color: var(--c-red);
  line-height: 1;
}
.schedule__nav-label { display: flex; flex-direction: column; line-height: 1.2; }
.schedule__nav-label strong {
  font-weight: 500; font-size: 1rem; color: inherit;
  letter-spacing: .02em;
}
.schedule__nav-label em {
  font-style: normal;
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--c-gray-soft);
  margin-top: .15rem;
}
@media (max-width: 720px) {
  .schedule__nav { grid-template-columns: 1fr; }
  .schedule__nav button { border-right: none; border-bottom: 1px solid var(--c-line); }
  .schedule__nav li:last-child button { border-bottom: none; }
}
.schedule__panels {
  padding: clamp(1.5rem, 4vw, 2.5rem);
}
.schedule__panel {
  display: none;
  animation: panelFadeIn .5s var(--reveal-curve) both;
}
.schedule__panel.is-active { display: block; }
@keyframes panelFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}
.schedule__item {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 1.5rem;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--c-line);
  align-items: baseline;
}
.schedule__item:last-child { border-bottom: none; }
.schedule__time {
  font-family: var(--ff-serif);
  font-size: 1.6rem;
  color: var(--c-red);
  font-weight: 500;
  letter-spacing: .02em;
}
.schedule__body h3 { margin-bottom: .15rem; }
.schedule__body p { margin: 0; }
@media (max-width: 560px) {
  .schedule__item { grid-template-columns: 1fr; gap: .25rem; }
}

/* ============================================================ VENUE */
.venue-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: stretch;
  margin-top: 2rem;
}
@media (max-width: 880px) { .venue-grid { grid-template-columns: 1fr; } }

.venue-photo {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--c-bg-alt);
  aspect-ratio: 4 / 5;
  position: relative;
  isolation: isolate;
}
.venue-photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  transition: transform 1.2s cubic-bezier(.2,.7,.2,1);
}
.venue-photo:hover img { transform: scale(1.04); }
.venue-photo::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(160deg, transparent 60%, rgba(201,37,28,.18));
  pointer-events: none;
}

.venue-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
}
.venue-card {
  display: flex; gap: 1.1rem;
  align-items: flex-start;
  padding: 1.25rem 1.4rem;
  background: var(--c-bg-alt);
  border: 1px solid var(--c-line);
  border-left: 3px solid var(--c-red);
  border-radius: var(--radius);
  transition: transform .3s ease, box-shadow .3s ease;
}
.venue-card:hover { transform: translateX(3px); box-shadow: var(--shadow-soft); }
.venue-card__icon {
  flex-shrink: 0;
  display: inline-flex;
  width: 48px; height: 48px;
  align-items: center; justify-content: center;
  color: var(--c-red);
}
.venue-card h4 { margin: 0 0 .35rem; color: var(--c-black); }
.venue-card p { margin: 0; color: var(--c-gray); font-size: .95rem; }

.venue-map {
  margin-top: 2.5rem;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  overflow: hidden;
  height: 360px;
}
.venue-map iframe { width: 100%; height: 100%; border: 0; }

/* ============================================================ FAQ */
.faq__grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
@media (max-width: 880px) { .faq__grid { grid-template-columns: 1fr; } }

.faq__lead h2 { margin-bottom: 1rem; }
.faq__list {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.faq__item {
  background: var(--c-bg);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  transition: border-color .25s ease;
}
.faq__item[open] {
  border-color: var(--c-red);
  box-shadow: var(--shadow-soft);
}
.faq__item summary {
  list-style: none;
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem;
  cursor: pointer;
  padding: 1.1rem 1.4rem;
  font-size: 1.02rem;
  color: var(--c-black);
  font-weight: 400;
  transition: color .2s ease;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--c-red); }
.faq__item[open] summary { color: var(--c-red); }
.faq__icon {
  position: relative;
  width: 18px; height: 18px;
  flex-shrink: 0;
}
.faq__icon::before, .faq__icon::after {
  content: "";
  position: absolute; left: 0; right: 0; top: 50%;
  height: 1.5px; background: currentColor;
  transition: transform .25s ease;
}
.faq__icon::after { transform: rotate(90deg); }
.faq__item[open] .faq__icon::after { transform: rotate(0deg); }
.faq__item p {
  margin: 0;
  padding: 0 1.4rem 1.25rem;
  color: var(--c-gray);
  font-size: .96rem;
  line-height: 1.6;
}

/* ============================================================ FORM */
.form {
  background: #fff;
  color: var(--c-black);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: var(--shadow-strong);
  border-radius: var(--radius);
}
.form__row { margin-bottom: 1.25rem; }
.form label {
  display: block;
  font-size: .85rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--c-gray);
  margin-bottom: .45rem;
  font-weight: 500;
}
.form input[type="text"],
.form input[type="email"] {
  width: 100%;
  padding: .85rem 1rem;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--c-black);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.form input:focus {
  outline: none;
  border-color: var(--c-red);
  box-shadow: 0 0 0 3px rgba(201,37,28,.15);
}
.form input[aria-invalid="true"] {
  border-color: var(--c-red);
  background: #fff8f7;
}
.form__hint {
  font-size: .82rem;
  color: var(--c-gray-soft);
  margin: .35rem 0 0;
}
.form__error {
  font-size: .85rem;
  color: var(--c-red);
  margin: .35rem 0 0;
  min-height: 1.1em;
}
.form__consent {
  display: flex; gap: .65rem; align-items: flex-start;
  font-size: .9rem; color: var(--c-gray);
  margin: .5rem 0 1.5rem;
}
.form__consent input { margin-top: .25rem; accent-color: var(--c-red); }
.form__consent label {
  text-transform: none; letter-spacing: 0; color: var(--c-gray); margin: 0;
  font-weight: 300;
}
.form__submit {
  width: 100%;
  position: relative;
}
.form__submit[aria-busy="true"] .btn__label { opacity: .35; }
.form__submit[aria-busy="true"] .btn__spinner {
  display: inline-block;
}
.btn__spinner {
  display: none;
  width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.5);
  border-top-color: #fff;
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.form__status {
  margin: 1rem 0 0; min-height: 1.4em;
  font-size: .95rem;
}
.form__status.is-success { color: #1b7a1b; font-weight: 500; }
.form__status.is-error { color: var(--c-red); font-weight: 500; }

/* ============================================================ FOOTER */
.site-footer {
  background: var(--c-black);
  color: #cfcfcf;
  padding-block: 3rem 1.5rem;
  margin-top: 0;
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  align-items: start;
}
@media (max-width: 880px) {
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .site-footer__grid { grid-template-columns: 1fr; }
}
.site-footer h4 { color: #fff; margin-bottom: .75rem; }
.site-footer p { color: #b9b9b9; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--c-red); }
.site-footer__brand img {
  height: 48px;
  filter: brightness(0) invert(1);
  margin-bottom: .85rem;
}
.site-footer__claim {
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: 1.05rem;
  color: #cfcfcf;
}
.site-footer__legal {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  border-top: 1px solid rgba(255,255,255,.1);
  margin-top: 2.5rem; padding-top: 1.5rem;
  font-size: .85rem; color: #8a8a8a;
}

/* ============================================================ COUNTDOWN */
.countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(.5rem, 1.2vw, 1rem);
  margin: 0 0 2.25rem;
  max-width: 580px;
}
.countdown__cell {
  position: relative;
  padding: 1rem 1rem 1.05rem;
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.015));
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  text-align: center;
  overflow: hidden;
  isolation: isolate;
  transition: border-color .25s ease, transform .25s ease;
}
.countdown__cell::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(201,37,28,.0), rgba(201,37,28,.18) 50%, rgba(201,37,28,.0));
  opacity: 0;
  transition: opacity .35s ease;
  z-index: -1;
}
.countdown__cell:hover { border-color: rgba(201,37,28,.55); transform: translateY(-2px); }
.countdown__cell:hover::before { opacity: 1; }
.countdown__num {
  display: block;
  font-family: var(--ff-serif);
  font-weight: 500;
  font-size: clamp(1.85rem, 4vw, 2.6rem);
  line-height: 1;
  color: #fff;
  letter-spacing: .02em;
  font-variant-numeric: tabular-nums;
}
.countdown__label {
  display: block;
  margin-top: .5rem;
  font-size: .68rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: #b5b5b5;
}
.countdown.is-finished .countdown__num { color: var(--c-red); }

/* ============================================================ REGISTER BG */
.section--register { position: relative; isolation: isolate; overflow: hidden; }
.register__bg {
  position: absolute; inset: 0; z-index: -1;
  pointer-events: none;
}
.register__grid {
  position: absolute; inset: -10%;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(70% 80% at 70% 30%, #000 30%, transparent 95%);
          mask-image: radial-gradient(70% 80% at 70% 30%, #000 30%, transparent 95%);
  animation: gridDrift 36s linear infinite reverse;
  opacity: .8;
}
.register__glow {
  position: absolute;
  width: 50vmax; height: 50vmax;
  border-radius: 50%;
  top: -10vmax; right: -15vmax;
  background: radial-gradient(circle, rgba(201,37,28,.30), rgba(201,37,28,0) 65%);
  filter: blur(70px);
  animation: glowFloatA 24s ease-in-out infinite alternate;
}
/* Esfera decorativa rotativa al fondo del registro (estilo Aivent) */
.register__sphere {
  position: absolute;
  right: -8vmax;
  bottom: -8vmax;
  width: 38vmax;
  max-width: 560px;
  height: auto;
  opacity: .55;
  filter: hue-rotate(110deg) saturate(1.35) brightness(1.05) contrast(1.05)
          drop-shadow(0 12px 40px rgba(201,37,28,.35));
  animation: sphereSpin 32s linear infinite;
  pointer-events: none;
  user-select: none;
  mix-blend-mode: screen;
}
.register__sphere--small {
  right: auto; bottom: auto;
  top: 8%;
  left: -6vmax;
  width: 18vmax;
  max-width: 260px;
  opacity: .35;
  animation: sphereSpinReverse 26s linear infinite;
}
@keyframes sphereSpinReverse {
  to { transform: rotate(-360deg); }
}
@media (max-width: 880px) {
  .register__sphere { right: -20vmax; bottom: -10vmax; width: 60vmax; opacity: .35; }
  .register__sphere--small { display: none; }
}

/* ============================================================ REVEAL ON SCROLL — variantes */
[data-reveal] {
  opacity: 0;
  transform: translate3d(0, 36px, 0);
  filter: blur(0);
  transition:
    opacity var(--reveal-time) var(--reveal-curve),
    transform var(--reveal-time) var(--reveal-curve),
    filter var(--reveal-time) var(--reveal-curve);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform, filter;
}
[data-reveal][data-reveal-mode="scale"] {
  transform: translate3d(0, 22px, 0) scale(.94);
  filter: blur(8px);
}
[data-reveal][data-reveal-mode="blur"] {
  transform: none;
  filter: blur(14px);
}
[data-reveal][data-reveal-mode="left"] {
  transform: translate3d(-40px, 0, 0);
}
[data-reveal][data-reveal-mode="right"] {
  transform: translate3d(40px, 0, 0);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  filter: blur(0);
}

/* ============================================================ MOBILE POLISH */
/* Refinamientos especificos para pantallas pequenas: tap targets, padding,
   tipografias mas legibles, eliminacion de hover effects sin sentido. */
@media (max-width: 720px) {
  /* Inputs del formulario: font-size >=16px evita zoom-on-focus en iOS */
  .form input[type="text"],
  .form input[type="email"] {
    font-size: 16px;
    padding: 1rem;
  }
  /* Form submit boton mas alto para tap comodo */
  .form__submit { min-height: 50px; }

  /* FAQ: ampliar tap area y separar items con mas margen */
  .faq__item summary {
    padding: 1.25rem 1.25rem;
    min-height: 56px;
  }
  .faq__list { gap: .65rem; }

  /* Schedule tabs apilados con mas padding para tap */
  .schedule__nav button {
    padding: 1rem 1.25rem;
    min-height: 60px;
  }

  /* Speakers card: mas separacion entre items */
  .speakers { gap: 1.25rem; }

  /* Why-card padding mas compacto */
  .why-card { padding: 1.5rem 1.25rem 1.25rem; }

  /* Section spacing: reducir un poco en mobile */
  .section { padding-block: clamp(3rem, 10vw, 5rem); }
  .section__intro { margin-bottom: 2rem; }

  /* Sponsors strip: gap mas chico */
  .sponsors-strip { gap: 1rem; }
  .sponsor { min-width: 160px; height: 70px; padding: .75rem 1rem; }

  /* About-sphere: limita tamaño max para no romper layout */
  .about-sphere { width: min(280px, 80%); }

  /* Venue card icon mas pequeño */
  .venue-card { padding: 1rem 1.1rem; gap: .85rem; }
  .venue-card__icon { width: 40px; height: 40px; }
  .venue-card__icon svg { width: 26px; height: 26px; }
  .venue-map { height: 280px; }

  /* Marquee text mas pequeño en mobile para mejor lectura */
  .marquee__item, .marquee__sep {
    font-size: clamp(1.1rem, 4vw, 1.6rem);
  }
  /* Marquees inclinadas: reducir el tilt en mobile (con menos espacio se nota mas) */
  .marquee-band--top { transform: rotate(-1deg); }
  .marquee-band--bottom { transform: rotate(.5deg); }

  /* Footer legal: stack vertical */
  .site-footer__legal { flex-direction: column; align-items: flex-start; }

  /* Hero text: contenedor mas estrecho para no desbordar */
  .hero__inner { max-width: 100%; }
  .hero__lede { margin-bottom: 1.75rem; }
  .hero__actions { gap: .65rem; }
  .hero__actions .btn { flex: 1 1 auto; min-height: 48px; padding: .85rem 1.25rem; }

  /* Eyebrow: legibilidad en pantallas pequeñas */
  .eyebrow { font-size: .72rem; letter-spacing: .18em; }
}

/* ============================================================ MOTION SAFE */
/* Politica matizada: respetamos reduced-motion solo para movimientos
   potencialmente mareantes (parallax al scroll, reveal con scale+blur,
   transitions agresivas). Las animaciones decorativas lentas y sutiles
   (rotaciones de 20s+, drifts, glows pulsantes, marquees) se mantienen
   porque son esenciales al diseño y no causan trastornos vestibulares. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  /* Reveal: solo fade, sin scale/blur/translate (esos pueden causar mareo) */
  [data-reveal] { transform: none; filter: none; transition: opacity .4s ease; }
  [data-reveal][data-reveal-mode="scale"],
  [data-reveal][data-reveal-mode="blur"],
  [data-reveal][data-reveal-mode="left"],
  [data-reveal][data-reveal-mode="right"] {
    transform: none; filter: none;
  }
}
