:root {
  --space: #02051c;
  --space-2: #07184f;
  --blue: #123f92;
  --cyan: #45bdd8;
  --cyan-dark: #00a8b8;
  --yellow: #f4b914;
  --pink: #e83086;
  --green: #12a168;
  --ink: #08285f;
  --soft: #eef6fb;
  --white: #fff;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}
body {
  font-family:
    "Montserrat",
    system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
  color: #24324a;
  background: #fff;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}
a {
  text-decoration: none;
}
.page-progress {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 3px;
  z-index: 3000;
  background: transparent;
  pointer-events: none;
}
.page-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(
    90deg,
    var(--cyan),
    var(--yellow),
    var(--pink),
    var(--green)
  );
  transition: width 0.08s linear;
}
.event-nav {
  min-height: 62px;
  background: rgba(2, 5, 28, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.event-nav .navbar-brand {
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}
.event-nav .nav-link {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.84rem;
  font-weight: 700;
  padding: 0.6rem 0.8rem !important;
  position: relative;
}
.event-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 0.8rem;
  right: 0.8rem;
  bottom: 0.25rem;
  height: 2px;
  border-radius: 99px;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}
.event-nav .nav-link:hover,
.event-nav .nav-link.active {
  color: #fff;
}
.event-nav .nav-link:hover::after,
.event-nav .nav-link.active::after {
  transform: scaleX(1);
}
.hero {
  position: relative;
  min-height: calc(100svh - 62px);
  background: #02051c;
  overflow: hidden;
  display: flex;
  align-items: stretch;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(2, 5, 28, 0.04) 0%,
    rgba(2, 5, 28, 0.02) 55%,
    rgba(2, 5, 28, 0.68) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  min-height: calc(100svh - 62px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 44px;
}
.hero-dock {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1320px;
  margin: 0 auto;
  width: 100%;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 20px;
  background: rgba(2, 5, 28, 0.64);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.32);
}
.hero-dock__copy {
  color: #fff;
}
.hero-dock__copy strong {
  display: block;
  font-size: clamp(1rem, 1.7vw, 1.35rem);
}
.hero-eyebrow {
  display: block;
  color: var(--yellow);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 3px;
}
.hero-scroll {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.7rem;
  font-weight: 700;
  margin: 14px auto -26px;
}
.hero-scroll i {
  animation: bob 1.7s infinite;
}
@keyframes bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(5px);
  }
}
.btn-event {
  background: var(--yellow);
  color: var(--ink);
  font-weight: 900;
  border: none;
  padding: 0.78rem 1.05rem;
}
.btn-event:hover {
  background: #ffd43b;
  color: var(--ink);
  transform: translateY(-1px);
}
.btn-event-outline {
  border: 1px solid rgba(255, 255, 255, 0.58);
  color: #fff;
  font-weight: 800;
  padding: 0.72rem 1.05rem;
}
.btn-event-outline:hover {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}
.section {
  padding: 88px 0;
}
.intro-section {
  background: linear-gradient(180deg, #fff 0%, #f9fbfd 100%);
}
.section-dark {
  background: linear-gradient(145deg, #02051c, #0c3b91);
  color: #fff;
}
.section-soft {
  background: #f3f8fc;
}
.kicker {
  display: inline-block;
  color: var(--yellow);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.title {
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 900;
  line-height: 1.05;
  color: var(--blue);
  letter-spacing: -0.035em;
}
.section-dark .title {
  color: #fff;
}
.lead-copy {
  max-width: 880px;
  margin-inline: auto;
  line-height: 1.8;
  color: #59657a;
}
.section-dark .lead-copy {
  color: rgba(255, 255, 255, 0.72);
}
.event-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 34px;
}
.fact {
  background: #fff;
  border: 1px solid rgba(18, 63, 146, 0.07);
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 14px 38px rgba(18, 63, 146, 0.08);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease;
}
.fact:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(18, 63, 146, 0.13);
}
.fact-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: #fff7dc;
  color: var(--yellow);
  font-size: 1.15rem;
}
.fact strong {
  display: block;
  color: var(--blue);
  margin-top: 12px;
}
.fact > span:last-child {
  display: block;
  font-size: 0.88rem;
  color: #667085;
  margin-top: 3px;
}
.space-section {
  position: relative;
  overflow: hidden;
}
.space-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(1px);
  opacity: 0.15;
  pointer-events: none;
}
.space-orb--one {
  width: 340px;
  height: 340px;
  background: #45bdd8;
  right: -170px;
  top: 80px;
}
.space-orb--two {
  width: 220px;
  height: 220px;
  background: #e83086;
  left: -120px;
  bottom: 60px;
}
.nav-agenda {
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}
.nav-agenda .nav-link {
  border-radius: 999px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  font-weight: 800;
  padding: 0.75rem 1.1rem;
  background: rgba(255, 255, 255, 0.04);
}
.nav-agenda .nav-link:hover {
  background: rgba(255, 255, 255, 0.12);
}
.nav-agenda .nav-link.active {
  background: var(--yellow);
  color: var(--ink);
  border-color: var(--yellow);
}
.agenda-card {
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}
.agenda-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--cyan);
  color: #fff;
  padding: 20px 24px;
}
.agenda-head--teachers {
  background: #49a64e;
}
.agenda-head small {
  display: block;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 800;
}
.agenda-head strong {
  font-size: 1.4rem;
}
.agenda-badge {
  background: var(--ink);
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 800;
}
.schedule-row {
  display: grid;
  grid-template-columns: 180px 1fr;
}
.schedule-row:nth-child(odd) {
  background: #e1edf5;
}
.schedule-row:nth-child(even) {
  background: #9ed4f0;
}
.schedule-row > div {
  padding: 13px 18px;
  color: var(--ink);
}
.schedule-time {
  font-weight: 900;
  border-right: 1px solid rgba(8, 40, 95, 0.25);
}
.schedule-row.highlight {
  background: #ffe6a2;
}
.poster-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.poster-card {
  position: relative;
  display: block;
  border-radius: 18px;
  overflow: hidden;
  background: #06184f;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.22);
}
.poster-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  transition:
    transform 0.35s ease,
    filter 0.35s ease;
}
.poster-card span {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  padding: 0.58rem 0.75rem;
  border-radius: 11px;
  background: rgba(2, 5, 28, 0.72);
  backdrop-filter: blur(10px);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 800;
  text-align: center;
  opacity: 0;
  transform: translateY(8px);
  transition: 0.25s ease;
}
.poster-card:hover img {
  transform: scale(1.035);
  filter: brightness(0.84);
}
.poster-card:hover span {
  opacity: 1;
  transform: none;
}
.congress-section {
  background: #fff;
}
.congress-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 2rem;
  align-items: start;
}

.congress-grid .agenda-card {
  align-self: start;
}
.parallel {
  background: linear-gradient(145deg, #0d3d91, #07255f);
  border-radius: 22px;
  padding: 28px;
  color: #fff;
  box-shadow: 0 20px 50px rgba(7, 37, 95, 0.16);
}
.parallel-label {
  display: inline-block;
  color: var(--yellow);
  font-size: 0.67rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.parallel h3 {
  font-weight: 900;
}
.parallel-item {
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.parallel-item:first-of-type {
  border-top: none;
}
.parallel-time {
  color: var(--cyan);
  font-weight: 900;
}
.parallel p,
.parallel li {
  color: rgba(255, 255, 255, 0.78);
}
.single-poster {
  display: flex;
  justify-content: center;
}
.poster-card--single {
  width: min(100%, 390px);
}
.poster-card--single img {
  aspect-ratio: auto;
  height: auto;
}
.poster-card--single span {
  opacity: 1;
  transform: none;
}
.influencer-section {
  position: relative;
  overflow: hidden;
}
.influencer-card {
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 22px 64px rgba(18, 63, 146, 0.12);
}
.influencer-media {
  position: relative;
  display: block;
  height: 100%;
  overflow: hidden;
}
.influencer-art {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
  transition: transform 0.35s ease;
}
.influencer-media > span {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(2, 5, 28, 0.7);
  color: #fff;
  backdrop-filter: blur(8px);
}
.influencer-media:hover .influencer-art {
  transform: scale(1.02);
}
.influencer-copy {
  padding: 38px;
}
.influencer-copy h2 {
  color: var(--blue);
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  font-weight: 900;
  letter-spacing: -0.04em;
}
.influencer-copy .alias {
  color: var(--cyan-dark);
  font-size: 1.25rem;
  font-weight: 800;
}
.influencer-copy p {
  line-height: 1.72;
  color: #48566d;
}
.milestone {
  border: 1px solid #dce7ef;
  border-radius: 14px;
  padding: 15px;
  height: 100%;
  background: #fbfdff;
}
.milestone i {
  color: var(--yellow);
  margin-bottom: 8px;
}
.milestone strong {
  color: var(--blue);
  display: block;
}
.milestone span {
  font-size: 0.82rem;
  color: #6b7280;
}
.location-section {
  background: #fff;
}
.location-card {
  background: linear-gradient(135deg, #103b91, #07184f);
  border-radius: 24px;
  padding: 34px;
  color: #fff;
  box-shadow: 0 18px 45px rgba(7, 24, 79, 0.18);
}
.date-chip {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  border: 2px solid #f5f32c;
  border-radius: 18px;
  padding: 12px 18px;
}
.date-chip i {
  color: #f5f32c;
  font-size: 2rem;
}
.date-chip strong {
  font-size: 3.3rem;
  line-height: 1;
}
.date-chip span {
  font-weight: 900;
  line-height: 0.95;
}
.fw-black {
  font-weight: 900;
}
.partners {
  background: #020316;
  color: #fff;
  padding: 32px 0;
}
.partner span {
  display: block;
  color: rgba(255, 255, 255, 0.46);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}
.partner strong {
  display: block;
  margin-top: 4px;
  font-size: 0.9rem;
}
footer {
  background: #010214;
  color: rgba(255, 255, 255, 0.55);
  padding: 18px 0;
  font-size: 0.85rem;
}
.fancybox__container {
  --fancybox-bg: rgba(1, 3, 18, 0.94);
}
@media (max-width: 1199.98px) {
  .poster-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 991.98px) {
  .event-nav .navbar-collapse {
    padding: 10px 0 12px;
  }
  .hero {
    min-height: auto;
  }
  .hero-bg {
    position: relative;
    inset: auto;
    height: auto;
    aspect-ratio: 16/9;
    object-fit: contain;
    background: #02051c;
  }
  .hero-shade {
    background: linear-gradient(
      180deg,
      transparent 60%,
      rgba(2, 5, 28, 0.9) 100%
    );
  }
  .hero-content {
    position: absolute;
    inset: 0;
    min-height: 0;
    justify-content: flex-end;
    padding-bottom: 18px;
  }
  .hero-dock {
    margin: 0 14px;
    width: auto;
    flex-direction: column;
    text-align: center;
    padding: 14px;
  }
  .hero-scroll {
    display: none;
  }
  .congress-grid {
    grid-template-columns: 1fr;
  }
  .event-facts {
    grid-template-columns: 1fr;
  }
  .schedule-row {
    grid-template-columns: 135px 1fr;
  }
  .influencer-copy {
    padding: 26px;
  }
  .influencer-media {
    min-height: 540px;
  }
}
@media (max-width: 575.98px) {
  html {
    scroll-padding-top: 66px;
  }
  .section {
    padding: 60px 0;
  }
  .event-nav {
    min-height: 58px;
  }
  .event-nav .navbar-brand {
    font-size: 0.92rem;
  }
  .hero-bg {
    aspect-ratio: 16/9;
  }
  .hero-dock {
    position: relative;
    margin: 0 10px 4px;
    padding: 12px;
    border-radius: 15px;
  }
  .hero-dock__copy strong {
    font-size: 0.88rem;
  }
  .hero-eyebrow {
    font-size: 0.58rem;
  }
  .hero-dock .btn {
    font-size: 0.78rem;
    padding: 0.62rem 0.8rem;
  }
  .title {
    font-size: 2rem;
  }
  .schedule-row {
    grid-template-columns: 108px 1fr;
    font-size: 0.85rem;
  }
  .schedule-row > div {
    padding: 10px 9px;
  }
  .agenda-head {
    padding: 15px;
  }
  .agenda-head strong {
    font-size: 1.08rem;
  }
  .agenda-badge {
    font-size: 0.75rem;
  }
  .nav-agenda {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: none;
  }
  .nav-agenda::-webkit-scrollbar {
    display: none;
  }
  .nav-agenda .nav-item {
    flex: 0 0 auto;
  }
  .poster-gallery {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .poster-card {
    border-radius: 14px;
  }
  .poster-card span {
    opacity: 1;
    transform: none;
    font-size: 0.66rem;
  }
  .parallel {
    padding: 22px;
  }
  .influencer-media {
    min-height: 0;
  }
  .influencer-art {
    height: auto;
    object-fit: contain;
  }
  .location-card {
    padding: 24px;
  }
  .date-chip strong {
    font-size: 2.7rem;
  }
}

/* =========================================================
   Ajustes finales hero / mobile / AOS
   ========================================================= */

.hero {
  min-height: 0;
  aspect-ratio: 16/9;
}

.hero-picture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.hero-picture .hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-content {
  min-height: 0;
  height: 100%;
}

@media (max-width: 767.98px) {
  .hero {
    display: block;
    aspect-ratio: auto;
    min-height: 0;
    background: #02051c;
  }

  .hero-picture {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
  }

  .hero-picture .hero-bg {
    position: relative;
    inset: auto;
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: auto;
    object-fit: contain;
    object-position: center top;
  }

  /* En móvil se respeta la pieza vertical completa, sin nada superpuesto */
  .hero-shade,
  .hero-content {
    display: none !important;
  }
}
