/* ============ TOKENS ============ */
:root {
  --bg: #060911;
  --bg-alt: #0c1122;
  --bg-card: #10162a;
  --line: rgba(237, 238, 242, 0.12);
  --text: #edeef2;
  --muted: #8c93a8;
  --gold: #e8a33d;
  --gold-soft: #f4c77a;
  --teal: #5fcfc0;
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'IBM Plex Sans', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
  --container: 1100px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

::selection {
  background: var(--gold);
  color: #060911;
}

/* ============ STARFIELD ============ */
#starfield {
  position: fixed;
  top: 0;
  left: 0;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: -2;
  background: radial-gradient(ellipse at 50% -10%, #101a33 0%, var(--bg) 55%);
  background-color: #03040b;
}

.progress-line {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--teal));
  z-index: 200;
  transition: width 0.1s linear;
}

/* ============ DAY CARDS ============ */
.day-card {
  position: relative;
  min-height: 30px;
  overflow: hidden;

  padding: 0;

  border: 1px solid var(--bg);
  border-radius: 18px;

  background-size: cover;
  background-position: center;

  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.35);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

/* OSCURECER LA IMAGEN */
.day-card__overlay {
  position: absolute;
  inset: 0;

  background:
    linear-gradient(180deg,
      rgba(5, 8, 16, 0.70) 0%,
      rgba(5, 8, 16, 0.78) 50%,
      rgba(5, 8, 16, 0.94) 100%);

  z-index: 1;
}

/* CONTENIDO */
.day-card__content {
  position: relative;
  z-index: 2;

  min-height: 330px;

  display: flex;
  flex-direction: column;
  justify-content: center;

  padding: 28px;
}


/* TÍTULO */
.day-card__label {
  display: block;

  margin-bottom: 16px;

  color: var(--gold-soft);

  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
}


/* LISTA */
.day-card__list {
  margin: 0;
  padding-left: 18px;

  color: var(--text);
}

.day-card__list li {
  margin-bottom: 8px;

  color: var(--text);
}


/* LINK */
.day-card__link {
  display: inline-block;

  width: fit-content;

  margin-top: 18px;

  color: var(--gold-soft);

  font-family: var(--font-mono);
  font-size: 0.82rem;

  text-decoration: none;

  transition:
    color 0.2s ease,
    transform 0.2s ease;
}

.day-card__link:hover {
  color: var(--teal);
  transform: translateX(4px);
}

/* HOVER */
.day-card:hover {
  transform: translateY(-6px);

  box-shadow:
    0 18px 45px rgba(0, 0, 0, 0.5);

  border-color: var(--gold);
}

.day-card:hover .day-card__overlay {
  background:
    linear-gradient(180deg,
      rgba(5, 8, 16, 0.62) 0%,
      rgba(5, 8, 16, 0.74) 50%,
      rgba(5, 8, 16, 0.92) 100%);

  border-color: var(--gold);
}

/* ============ NAV ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 18px;
  background: rgba(6, 9, 17, 0.7);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  font-size: 1.05rem;
}

.logo {
  height: 60px;
  width: auto;
  display: block;
}

.nav__brand-muted {
  color: var(--muted);
  font-weight: 500;
}

.nav__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 10px var(--gold), 0 0 20px var(--gold);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav__link {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
  position: relative;
  transition: color 0.2s ease;
}

.texto-chico{
  display: none;
}

.nav__link:hover, .nav__link.is-active {
  color: var(--text);
}

.nav__link.is-active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: var(--gold);
}

.nav__cta {
  text-decoration: none;
  background: var(--gold);
  color: #14100a;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 9px 16px;
  border-radius: 999px;
  transition: transform 0.15s ease, background 0.2s ease;
  white-space: nowrap;
}

.nav__cta:hover {
  background: var(--gold-soft);
  transform: translateY(-1px);
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav__toggle span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  text-decoration: none;
  align-items: center;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 13px 26px;
  border-radius: 999px;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn--primary {
  background: var(--gold);
  color: #14100a;
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232, 163, 61, 0.35);
}

.btn--ghost {
  border: 1px solid var(--line);
  color: var(--text);
}

.btn--ghost:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.btn--lg {
  padding: 16px 34px;
  font-size: 1.05rem;
}

.discord-icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
    margin-left: 8px;
    flex-shrink: 0;
}

#btn-discord:hover {
  color: #6f64b1;
  border-color: #6f64b1;
}

/* ============ HERO ============ */
.hero {
  position: relative; 
  min-height: 100vh;
  display: flex;
  padding: 5vw 5vw;
  align-items: center;
  padding-top: 5rem !important;
  overflow: hidden; 
  background: transparent; 
  text-align: center;
}

.hero__otros {
  position: relative; 
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden; 
  background: transparent; 
  text-align: center;
}

.hero__bg-png {
  content: url('img/hero-index-background/Fondo mega ultra.png');
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* Mantiene la imagen ocupando todo sin deformarse */
  z-index: -1; 
  opacity: 0.9; 
  pointer-events: none;
}

.hero-inicio::after {
  content: "";
  position: absolute;
  text-align: center;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40%;
  z-index: 0;
  background: linear-gradient(to bottom, transparent 0%, #03040b 100%);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  mask-image: linear-gradient(to bottom, transparent 0%, black 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 100%);
  pointer-events: none;
}

.hero-inicio::before {
  content: "";
  position: absolute;
  text-align: center;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: 0 auto;
  margin-top: 0; 
  padding-top: 0;
  position: relative;
  z-index: 1; 
  width: 100%;
  max-width: 600px;
}

.hero__inner__otros {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: 8vw auto;
  padding-top: 0;
  max-width: 800px; /* Evita que el texto se estire demasiado en pantallas grandes */
  padding: 0 1.5rem; /* Margen de seguridad para celulares */
}

.hero__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212, 86, 2, 0.1);
  border: 1px solid rgba(255, 136, 1, 0.644);
  color: #caa554; 
  padding: 6px 16px;
  border-radius: 50px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  letter-spacing: 1px;
}

.status-dot {
  width: 8px;
  height: 8px;
  background-color: #caa554;
  border-radius: 50%;
  box-shadow: 0 0 8px #caa554;
  animation: pulse 1.5s infinite;
}

.eyebrow {
  font-family: var(--font-mono);
  color: var(--teal);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 1rem;
  margin-bottom: 0.5rem; /* Achica el espacio debajo de la fecha */
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.1;
  font-weight: 700;
  margin: 0 0 22px;
  letter-spacing: -0.01em;
  margin-bottom: 0.2rem;
}

.hero__title-accent {
  background: linear-gradient(90deg, var(--gold), var(--gold-soft));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
}

.hero__sub {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 0 34px;
  margin-bottom: 1.5rem;
}

.hero__actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem; /* Espacio entre los botones, ajustalo a tu gusto */
  flex-wrap: wrap; /* Por si en celulares no entran en una sola línea */
  margin-top: 1rem;
}

.countdown {
  display: flex;
  gap: 22px;
  margin-bottom: 36px;
  align-items: center;
  justify-content: flex-start;
}

.countdown__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: var(--font-mono);
}

.countdown__item span {
  font-size: 3rem;
  font-weight: 600;
  color: var(--text);
}

.countdown__item small {
  color: var(--muted);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.countdown-wrapper {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.countdown-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.hero__horizon {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 260px;
  z-index: 1;
  pointer-events: none;
}

/* ============ MISSION, MISSION INTRO Y MISSION LUGAR ============ */
.mission, .mission-intro, .mission-lugar {
  padding: 90px 6vw;
  background: var(--bg-alt);
}

.mission__grid, .mission-intro__grid, .mission-lugar__grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  gap: 26px;
}

.mission__line, .mission-intro__line, .mission-lugar__line {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.6vw, 1.7rem);
  font-weight: 500;
  color: var(--text);
  display: flex;
  gap: 18px;
  align-items: baseline;
  margin: 0;
}

.mission__num, .mission-intro__num {
  font-family: var(--font-mono);
  color: var(--gold);
  font-size: 1.5rem;
  flex-shrink: 0;
}

.mission-lugar__num {
  font-family: var(--font-mono);
  color: var(--gold);
  font-size: 0.9rem;
  flex-shrink: 0;
}

/* ============ INFO ============ */
.info {
  padding: 90px 6vw;
  background: var(--bg-alt);
}

.info__grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  gap: 26px;
}

.info__line {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.6vw, 1.7rem);
  font-weight: 500;
  color: var(--text);
  display: flex;
  gap: 18px;
  align-items: baseline;
  margin: 0;
}

.info__num {
  font-family: var(--font-mono);
  color: var(--gold);
  font-size: 0.9rem;
  flex-shrink: 0;
}

/* ============ SECTION SHARED ============ */
.section-eyebrow {
  font-family: var(--font-mono);
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  margin: 0 0 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  margin: 0 0 20px;
}

/* ============ AGENDA / ORBIT ============ */
.agenda {
  padding: 110px 6vw;
  max-width: var(--container);
  margin: 0 auto;
  text-align: center;
}

.agenda .section-title {
  margin-left: auto;
  margin-right: auto;
}

.orbit {
  position: relative;
  height: 140px;
  margin: 50px 0 20px;
}

.orbit__path {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.orbit__path path {
  fill: none;
  stroke: var(--line);
  stroke-width: 1.5;
  stroke-dasharray: 4 8;
}

.orbit__sat {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px var(--gold), 0 0 30px rgba(232, 163, 61, 0.6);
  top: 0;
  left: 0;
  transform: translate(-50%, -50%);
}

.agenda__grid, .agenda__grid-index, .agenda__grid-que-es, .agenda__grid-merch, .agenda__grid-lugar {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 24px;
  text-align: left;
  max-width: 1400px;
  margin: 0 auto;
  align-items: start;
}

.agenda__grid-index, .agenda__grid-que-es, .agenda__grid-merch, .agenda__grid-lugar {
  grid-template-columns: repeat(3, 1fr);
}

.agenda__grid-lugar {
  align-items: stretch;
}

.day-card-agenda {
  background: var(--bg-card);
  border: 2px solid var(--bg-card);
  border-radius: 16px;
  padding: 28px;
  transition: transform 0.2s ease, border-color 0.2s ease;
  display: flex;
  flex-direction: column;
}

.day-card-agenda:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
}

.day-card-agenda__label {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--gold-soft);
  margin-bottom: 20px;
  font-size: 1.15rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 12px;
}

.day-card-agenda__subgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  flex-grow: 1;
  align-items: stretch;
}

.agenda-column {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  box-sizing: border-box;
}

.agenda-column:not(:last-child) {
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  padding-right: 20px;
}

.agenda-category-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 12px 20px;
  margin-bottom: 16px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--gold-soft);
  display: flex;
  flex-direction: column;
  justify-content: center;   /* centra vertical */
  align-items: center;       /* centra horizontal */
  text-align: center;
  gap: 4px;
  box-sizing: border-box;
  width: 100%;               /* mismo ancho */
  min-height: 72px;          /* mismo alto: ajustalo al de 2 líneas */
  padding: 12px 20px;
}

.day-card-agenda__list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  list-style-type: disc;
}

.day-card-agenda__list li {
  margin-bottom: 10px;
  font-size: 0.9rem;
  line-height: 1.4;
}

.day-card-agenda__list strong {
  color: #ffffff;
}

/* Accordion Custom Logic Styles */
.agenda-collapse-box {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease-out;
}

.agenda-collapse-box.open {
  grid-template-rows: 1fr;
}

.agenda-collapse-inner {
  overflow: hidden;
}

.agenda-toggle-btn {
  background: transparent;
  border: none;
  color: var(--gold-soft);
  font-family: var(--font-display);
  font-size: 0.85rem;
  cursor: pointer;
  margin-top: 15px;
  padding: 6px 0;
  display: flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  transition: color 0.2s ease;
}

.agenda-toggle-btn:hover {
  color: var(--gold);
}

.agenda-toggle-btn .arrow {
  display: inline-block;
  font-size: 0.75rem;
  transition: transform 0.3s ease;
}

.agenda-toggle-btn.active .arrow {
  transform: rotate(180deg);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .agenda__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .day-card-agenda__subgrid {
    grid-template-columns: 1fr;
  }

  .agenda-column:not(:last-child) {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-right: 0;
    padding-bottom: 20px;
    margin-bottom: 20px;
  }
}

/* ============ ABOUT, ABOUT ADDRESS ============ */
.about, .about-address {
  padding: 110px 6vw;
  background: var(--bg-alt);
}

.about-que-es {
  padding: 110px 6vw;
}

.about__grid, .about-address__grid, .about-que-es__grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 60px;
  align-items: start;
}

.about__text, .about-address__text, .about-que-es__text {
  color: var(--muted);
  margin-bottom: 16px;
}

.about__badges, .about-address__badges, .about-que-es__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-content: flex-start;
}

/* ============ AGENCIA PAIS ============ */
.agencia-pais {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
  text-decoration: none;
}

.agencia-pais:hover {
  border-color: var(--color);
}

/* ============ BADGE ============ */
.badge {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
  text-decoration: none;
}

.badge:hover{
  border-color: var(--gold);
  color: var(--gold);
  cursor: default;
}

.badge--accent {
  border-color: var(--gold);
  color: var(--gold-soft);
}

.badge a, .agencia-pais a {
    text-decoration: none;
    color: inherit; /* Opcional: hace que el enlace tome el color del texto normal en lugar del azul por defecto */
}

/* ============ CARDS QUE ES ============ */
.day-card-como-funciona {
  position: relative;
  min-height: 300px;
  overflow: hidden;

  background-color: var(--bg-alt);

  padding: 0;

  border: 1px solid var(--bg-alt);
  border-radius: 18px;
}

.day-card-como-funciona:hover {
  border-color: var(--gold);
}

/* CONTENIDO */

.day-card-como-funciona__content {
  position: relative;
  z-index: 2;

  min-height: 330px;

  display: flex;
  flex-direction: column;
  justify-content: center;

  padding: 28px;
}

/* TÍTULO */

.day-card-como-funciona__label {
  display: block;

  margin-bottom: 16px;

  color: var(--gold-soft);

  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
}

/* LISTA */

.day-card-como-funciona__list {
  margin: 0;
  padding-left: 18px;

  color: var(--text);
}

.day-card-como-funciona__list li {
  margin-bottom: 8px;

  color: var(--text);
}

/* ============ SPEAKERS ============ */
.speakers {
  padding: 110px 6vw;
  max-width: var(--container);
  margin: 0 auto;
  align-items: center;
}

.speakers__note {
  color: var(--muted);
  margin-top: 40px;
  text-align: center;
}

.speakers__note_news {
  color: var(--muted);
  margin-top: 40px;
}

.speakers .section-eyebrow, .speakers .section-title{
  text-align: center;
  max-width: none;
}

.speakers__note a{
  text-decoration: none;
}

.speakers__note a:hover{
  color: var(--gold);
}

.speakers__note_news a{
  text-decoration: none;
}

.speakers__note_news a:hover{
  color: var(--gold);
}

.speakers__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.speakers__grid .speaker-card {
  flex: 0 0 calc(25% - 1.5rem); 
  max-width: calc(25% - 1.5rem);
}

.speaker-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
}

.speaker-card__avatar {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--gold));
  opacity: 1;
}

.speaker-card h3 {
  font-family: var(--font-display);
  margin: 0 0 6px;
  font-size: 1rem;
}

.speaker-card p {
  color: var(--muted);
  font-size: 0.85rem;
  margin: 0;
}

.speaker-card__socials {
  margin-top: 15px; /* Separación del texto */
  display: flex;
  justify-content: center;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: #1a1e29;
  color: #ffffff;
  border-radius: 50%;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.social-link:hover {
  background-color: #2c3245;
}

.speaker-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
}

/* ============ HACKATHONS ANTERIORES ============ */
.past-events {
  padding: 110px 6vw;
  background: var(--bg-alt);
  overflow: hidden;
}

.past-events__header {
  max-width: var(--container);
  margin: 0 auto 45px;
}

.past-events__text {
  color: var(--muted);
  max-width: 600px;
  margin: 0;
}

/* CARRUSEL */
.past-events__carousel {
  max-width: 1250px;
  margin: 0 auto;

  position: relative;

  display: flex;
  align-items: center;
  gap: 18px;
}

.past-events__track {
  display: flex;
  gap: 20px;
  padding-top: 20px;
  width: 100%;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
}

.past-events__track::-webkit-scrollbar {
  display: none;
}

/* TARJETAS */
.past-event {
  position: relative;

  flex: 0 0 calc(50% - 10px);

  height: 360px;

  border-radius: 18px;
  overflow: hidden;

  border: 1px solid var(--line);

  scroll-snap-align: center;

  background: var(--bg-card);

  transition:
    transform 0.25s ease,
    border-color 0.25s ease;
}

.past-event:hover {
  transform: translateY(-5px);
  border-color: var(--gold);
}

.past-event img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  transition: transform 0.5s ease;
}

.past-event:hover img {
  transform: scale(1.05);
}

/* OVERLAY */
.past-event__overlay {
  position: absolute;
  inset: 0;

  background:
    linear-gradient(180deg,
      rgba(6, 9, 17, 0.05) 20%,
      rgba(6, 9, 17, 0.35) 45%,
      rgba(6, 9, 17, 0.95) 100%);
}

/* TEXTO */
.past-event__content {
  position: absolute;

  left: 28px;
  right: 28px;
  bottom: 26px;
}

.past-event__content span {
  font-family: var(--font-mono);

  font-size: 0.72rem;

  letter-spacing: 0.12em;

  color: var(--teal);

  text-transform: uppercase;
}

.past-event__content h3 {
  margin: 5px 0;

  font-family: var(--font-display);

  font-size: 1.7rem;
}

.past-event__content p {
  margin: 0;

  color: var(--muted);
}

/* BOTONES */
.past-events__button {
  flex-shrink: 0;

  width: 44px;
  height: 44px;

  border-radius: 50%;

  border: 1px solid var(--line);

  background: var(--bg-card);

  color: var(--text);

  font-size: 1.2rem;

  cursor: pointer;

  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    transform 0.2s ease;
}

.past-events__button:hover {
  border-color: var(--gold);
  background: var(--gold);
  color: #14100a;

  transform: scale(1.05);
}

/* PAST EVENTS AND LEGACY CAROUSEL DOTS */
.past-events__dots {
  display: flex;
  justify-content: center;

  gap: 8px;

  margin-top: 24px;
}

.legacy-carousel__dots {
  display: flex;
  justify-content: center;

  gap: 8px;

  margin-top: 24px;
}

.past-events__dots button {
  width: 7px;
  height: 7px;

  padding: 0;

  border: none;
  border-radius: 50%;

  background: var(--muted);

  opacity: 0.35;

  cursor: pointer;

  transition:
    width 0.2s ease,
    opacity 0.2s ease,
    background 0.2s ease;
}

.legacy-carousel__dots button {
  width: 7px;
  height: 7px;

  padding: 0;

  border: none;
  border-radius: 50%;

  background: var(--muted);

  opacity: 0.35;

  cursor: pointer;

  transition:
    width 0.2s ease,
    opacity 0.2s ease,
    background 0.2s ease;
}

.past-events__dots button.is-active {
  width: 22px;

  border-radius: 999px;

  background: var(--gold);

  opacity: 1;
}

.legacy-carousel__dots button.is-active {
  width: 22px;

  border-radius: 999px;

  background: var(--gold);

  opacity: 1;
}

/* ============ PLACE Y PLACE LUGAR ============ */
.place, .place-lugar {
  padding: 110px 6vw;
}

.place {
  background: var(--bg-alt);
}

.place__grid, .place-lugar__grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.place__address, .place-lugar__address {
  font-family: var(--font-mono);
  color: var(--gold-soft);
  font-size: 0.95rem;
  margin: 0 0 18px;
}

.place__text, .place-lugar__text {
  color: var(--muted);
}

.place__map, .place-lugar__map {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 4/3;
}

.place__map iframe, .place-lugar iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ============ Day Card Lugar ======= */
.day-card-lugar {
  background: var(--bg-alt);
  border: 2px solid var(--bg-alt);
  border-radius: 16px;
  padding: 28px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.day-card-lugar:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
}

.day-card-lugar__label {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--gold-soft);
  margin-bottom: 16px;
  font-size: 1.05rem;
}

.day-card-lugar__list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.day-card-lugar__list li {
  margin-bottom: 8px;
}

/* ============ FINAL CTA ============ */
.final-cta {
  padding: 90px 6vw;
  text-align: center;
  max-width: var(--container);
  margin: 0 auto;
}

.final-cta .section-title, .final-cta .section-eyebrow {
  margin-left: auto;
  margin-right: auto;
}

.final-cta .hero__sub {
  margin-left: auto;
  margin-right: auto;
}

/* ============ FINAL CTA ORG ============ */
.final-cta-org {
  padding: 130px 6vw;
  text-align: center;
  max-width: var(--container);
  margin: 0 auto;
}

.final-cta-org .section-title, .final-cta-org .section-eyebrow {
  margin-left: auto;
  margin-right: auto;
}

.final-cta-org .hero__sub {
  margin-left: auto;
  margin-right: auto;
}


/* ============ FOOTER ============ */
.footer {
  padding: 2vw;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
  background-color: #00000042;
}

.footer__muted {
  opacity: 0.6;
  margin-top: 4px;
}

/* ============ REVEAL ANIMATION ============ */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========== ORGANIZACIÓN =========== */
.organization {
  padding: 110px 6vw;
  background: var(--bg-alt);
}

.organization__header {
  max-width: var(--container);
  margin: 0 auto 55px;
}

.organization__intro {
  max-width: 650px;
  margin: 0;

  color: var(--muted);

  font-size: 1.05rem;
  line-height: 1.7;
}

/* ========== GRID ========== */
.organization__grid {
  max-width: var(--container);
  margin: 0 auto;

  display: grid;

  grid-template-columns:
    repeat(4, minmax(0, 1fr));

  gap: 20px;
}

/* ========== TARJETA ========== */
.organizer-card {
  position: relative;

  overflow: hidden;

  background: var(--bg-card);

  border: 1px solid var(--line);

  border-radius: 16px;

  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}


.organizer-card:hover {
  transform: translateY(-6px);

  border-color: var(--gold);

  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.35);
}

/* ========= IMAGEN ============ */
.organizer-card__image {
  position: relative;

  height: 280px;

  overflow: hidden;

  background:
    linear-gradient(135deg,
      rgba(247, 201, 72, 0.12),
      rgba(45, 212, 191, 0.08));
}

.organizer-card__image img {
  width: 100%;
  height: 100%;

  display: block;

  object-fit: cover;

  transition:
    transform 0.5s ease,
    opacity 0.3s ease;
}

.organizer-card:hover .organizer-card__image img {
  transform: scale(1.05);
}

/* ============== NÚMERO ============= */
.organizer-card__number {
  position: absolute;

  top: 14px;
  left: 14px;

  display: flex;

  align-items: center;
  justify-content: center;

  width: 38px;
  height: 38px;

  border-radius: 50%;

  background: rgba(6, 9, 17, 0.82);

  border: 1px solid var(--line);

  color: var(--gold-soft);

  font-family: var(--font-mono);

  font-size: 0.72rem;
}

/* ========== CONTENIDO ========== */
.organizer-card__content {
  padding: 24px;
}

.organizer-card__role {
  display: block;

  margin-bottom: 7px;

  color: var(--teal);

  font-family: var(--font-mono);

  font-size: 0.7rem;

  letter-spacing: 0.1em;

  text-transform: uppercase;
}

.organizer-card__content h3 {
  margin: 0 0 12px;

  font-family: var(--font-display);

  font-size: 1.25rem;

  line-height: 1.2;
}

.organizer-card__content p {
  margin: 0;

  color: var(--muted);

  font-size: 0.9rem;

  line-height: 1.65;
}

/* ============ HERO ORGANIZACIÓN ========== */
.organization-hero {
  min-height: 78vh;
}

/* ============ FOOTER ============ */
.footer__credit {
  margin-top: 12px;
  font-size: 0.85rem;
  opacity: 0.8;
}

.footer__credit a {
  color: inherit;
  font-weight: 600;
  text-decoration: none;
}

.footer__credit a:hover {
  text-decoration: underline;
}

/* ============ SPEAKER CARD ============ */
.speaker-card__avatar {
  width: 120px;
  height: 120px;
  background-size: cover;
  background-position: center;
  border-radius: 70%;
  opacity: 1.0;
}

.speaker-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 70%;
}

/* ========================= SOCIAL POSTS / NOVEDADES ========================= */
.social-posts {
  padding: 4rem 2rem;
  align-items: center;
  margin: 0 auto;
  background-color: var(--bg-alt);
}

.social-posts .section-eyebrow, .social-posts .section-title {
  text-align: center;
  max-width: none;
}

/* Contenedor wrapper para el carrusel */
.social-posts__carousel-wrapper {
  width: 100%;
  overflow: hidden;
  margin-top: 3rem;
  padding-bottom: 1rem;
  align-items: center;
  justify-items: center;
}

/* Transformamos la grilla en un carrusel horizontal deslizable */
.social-posts__grid {
  display: flex;
  gap: 2rem;
  max-width: 1140px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  justify-items: unset;
  padding-bottom: 1rem;
  /* Scrollbar personalizado y sutil acorde a tu diseño */
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

.social-posts__grid::-webkit-scrollbar {
  height: 6px;
}

.social-posts__grid::-webkit-scrollbar-thumb {
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
}

.social-posts__item {
  flex: 0 0 350px; /* Ancho fijo para cada elemento en el carrusel */
  scroll-snap-align: start;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 1rem;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.social-posts__item .instagram-media {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 0 auto !important;
}

.social-posts__item iframe {
  max-width: 100%;
  border-radius: 8px;
}

.facebook-video {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 267 / 476;
  overflow: hidden;
  border-radius: 8px;
}

.facebook-video iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* ========================= ESTILOS PARA LAS NUEVAS TARJETAS DE NOTICIAS ========================= */
/* --- Estilos de las Tarjetas de Noticia con Imagen (NUEVO) --- */

/* Clase base modificada para las tarjetas de noticias con imagen */
.news-card--with-preview {
  padding: 0; /* Quitamos el padding general para que la imagen ocupe todo el ancho */
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

/* Contenedor de la imagen destacada */
.news-card__preview {
  width: 100%;
  height: 160px; /* Altura fija para la vista previa de imagen */
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.news-card__preview img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Asegura que la imagen cubra el área sin deformarse */
  display: block;
}

/* Ajustamos el contenido para que encaje debajo de la imagen */
.news-card--with-preview .news-card__content {
  padding: 1rem;
  flex: 1;
  justify-content: flex-start;
}

/* Ajuste de márgenes específicos para la tarjeta con preview */
.news-card--with-preview .news-tag {
  margin-top: 0.25rem; /* Pequeño ajuste si es necesario */
  margin-bottom: 0.5rem;
}

.news-card--with-preview h3 {
  font-size: 1rem; /* Un poco más chico para dejar espacio */
  margin-bottom: 0.25rem;
}

.news-card--with-preview p {
  font-size: 0.85rem; /* Texto más compacto */
  margin-bottom: 1rem;
}

/* ========================= PATROCINADORES - CINTA INFINITA ========================= */
.sponsors-ticker {
  padding: 1.5rem 0; 
  background: rgba(217, 221, 223, 0);
  width: 100%;
}

.sponsors-ticker__title {
  text-align: center;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #717b80;
  margin-bottom: 0.5rem;
}

.sponsors-ticker__container {
  width: 100%;
  overflow: hidden; 
  padding: 1rem 0;
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.sponsors-ticker__track {
  display: flex;
  width: max-content;
  animation: scrollTicker 25s linear infinite;
}

.sponsors-ticker__track:hover {
  animation-play-state: paused;
}

.sponsors-ticker__track img {
  height: 35px; 
  width: auto;
  object-fit: contain;
  flex-shrink: 0; 
  margin-right: 4rem;
  transition: filter 0.3s ease, transform 0.3s ease;
  cursor: pointer;
}

.sponsors-ticker__track img:hover {
  transform: scale(1.2);
}

@keyframes scrollTicker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============ ARTICULOS MERCH ============ */
#ropa {
  background-image: url(./img/merch-articulos/ropa.jpg);
}

#ropa:hover {
  background-image: url(./img/merch-articulos/ropa2.jpg);
}

#ropa-negra {
  background-image: url(./img/merch-articulos/ropa-negra.jpg);
}

#ropa-negra:hover {
  background-image: url(./img/merch-articulos/ropa3.jpg);
}

#taza {
  background-image: url(./img/merch-articulos/Taza.jpg);
}

#taza:hover {
  background-image: url(./img/merch-articulos/taza2.jpg);
}

#combo {
  background-image: url(./img/merch-articulos/ropa.jpg);
}

#combo:hover {
  background-image: url(./img/merch-articulos/Taza.jpg);
}

.merch__card {
  padding: 110px 6vw;
  margin: 0 auto;
  text-align: center;
  background-color: var(--bg-alt);
}

/* ============ FAQ ============ */
.faq {
  padding: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.faq__container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.faq__item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2); /* Ajusta el color según tu paleta */
}

.faq__question {
  width: 100%;
  background: transparent;
  border: none;
  color: inherit;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  text-align: left;
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: color 0.3s ease;
}

.faq__question:hover {
  color: var(--gold);
}

.faq__icon {
  font-size: 1.5rem;
  font-weight: 400;
  transition: transform 0.3s ease;
}

.faq__question[aria-expanded="true"] .faq__icon {
  transform: rotate(45deg);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.4s ease;
  opacity: 0;
}

.faq__answer p {
  padding-bottom: 1.5rem;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

.faq__question[aria-expanded="true"] + .faq__answer {
  max-height: 500px;
  opacity: 1;
}

@keyframes pulse {
  0% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.2); }
  100% { opacity: 1; transform: scale(1); }
}

/* ============== CONTACTO DIRECTO EMAIL ============= */
.contacto-directo {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin: 0 0 3rem 0;
  padding: 0 1rem;
}

.contacto-directo__texto {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1rem;
}

.contacto-directo__email {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 12px 24px;
  border-radius: 50px;
  color: #fff;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}

.contacto-directo__email:hover {
  background: rgba(255, 205, 0, 0.1);
  border-color: #caa554;
  color: #caa554;
  transform: translateY(-2px);
}

.email-icon {
  font-size: 1.2rem;
  opacity: 0.8;
}

/* ============ PRECIO ============ */
.precio {
  text-align: left;
}

.precio p{
  flex-direction: row;
}

/* ============ SPONSORS ============ */
.sponsors-ticker-container__organizador {
  justify-content: center;
  display: flex;
}

.sponsors-ticker__organizador img {
  height: 35px; 
  width: auto;
  object-fit: contain;
  flex-shrink: 0; 
  margin: 0 auto;
  transition: filter 0.3s ease, transform 0.3s ease;
  cursor: pointer;
}

.sponsors-ticker__organizador img:hover {
  transform: scale(1.2);
}

/* ==========================================
   ESTILOS DE LA SECCIÓN Y CARRUSEL (LEGACY)
   ========================================== */

.legacy-section {
  padding: 110px 6vw;
  overflow: hidden;
  text-align: center;
  align-items: center;
  justify-items: center;
  justify-content: center;
}

.legacy-section__header {
  max-width: var(--container);
  text-align: center;
  margin: 0 auto 45px;
  justify-items: center;
  align-items: center;
}

.legacy-section__text {
  color: var(--muted);
  max-width: 600px;
  margin: 0;
  text-align: center;
}

/* Contenedor del carrusel */
.legacy-carousel {
  max-width: 1250px;
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.legacy-carousel__track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  width: 100%;
  padding-top: 20px;
}

.legacy-carousel__track::-webkit-scrollbar {
  display: none;
}

/* Flechas de navegación */
.legacy-carousel__btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  font-size: 1.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
  z-index: 10;
}

.legacy-carousel__btn:hover {
  background: var(--gold);
  border-color: var(--gold);
}


/* ==========================================
   ESTILOS DE LAS TARJETAS (LEGACY-CARD)
   ========================================== */

.legacy-card {
  background: var(--bg-alt);
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  
  min-width: 320px;
  max-width: 360px;
  flex: 0 0 auto;
  scroll-snap-align: start;
  
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.legacy-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold);
}

.legacy-card__media {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.legacy-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.legacy-card:hover .legacy-card__media img {
  transform: scale(1.05);
}

.legacy-card__content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex-grow: 1;
}

.legacy-card__tag {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--gold);
  text-transform: uppercase;
}

.legacy-card__title {
  font-size: 1.25rem;
  color: #fff;
  margin: 0;
  font-weight: 600;
}

.legacy-card__description {
  font-size: 0.9rem;
  color: #999;
  line-height: 1.5;
  margin: 0;
  flex-grow: 1;
}

.legacy-card__link {
  align-self: flex-start;
  margin-top: 0.5rem;
  padding: 0.55rem 1.2rem;
  background: transparent;
  border: 1px solid var(--gold);
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.legacy-card__link:hover {
  background: var(--gold);
  color: #fff;
}

/* ============ RESPONSIVE ============ */
@media (min-width: 900px) {
  .social-posts__item {
    max-width: 100%;
  }
}

@media (max-width: 1024px) {
  .speakers__grid .speaker-card {
    flex: 0 0 calc(50% - 1rem); 
    max-width: calc(50% - 1rem);
  }
}

@media (max-width: 1100px) {
  .organization__grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }

  .texto-normal{
    display: none;
  }

  .texto-chico{
    display: flex;
  }
}

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

  .about__grid, .place__grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  
  .about-que-es__grid{
    grid-template-columns: none;
    gap: 0;
  }

  .place-lugar__grid{
    grid-template-columns: none;
    gap: 10px;
  }

  .speakers__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .past-event {
    flex: 0 0 75%;
  }

  __grid{
    grid-template-columns: none;
  }
}

@media (max-width: 768px) {
  .hero {
    padding-top: 100px;
    padding-left: 20px;
    justify-content: flex-start;
  }
  
  .hero__inner {
    text-align: left;
  }

  .countdown {
    justify-content: flex-start;
  }

  .hero__bg-png {
    opacity: 0.4;
  }

  .facebook-video {
    max-width: 267px;
  }
}

@media (max-width: 720px) {
  .nav__toggle {
    display: flex;
  }

  .nav__links {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 6vw 30px;
    gap: 18px;
    transform: translateY(-120%);
    transition: transform 0.3s ease;
  }

  .nav__links.is-open {
    transform: translateY(0);
    top: 97px;
  }

  .nav__cta {
    align-self: flex-start;
  }

  .texto-chico {
    display: none;
  }

  .texto-normal {
    display: flex;
  }

  .countdown {
    gap: 14px;
  }

  .countdown__item span {
    font-size: 1.3rem;
  }

  .past-events {
    padding: 80px 6vw;
  }

  .past-events__carousel {
    gap: 8px;
  }

  .past-events__button, .legacy-carousel__btn {
    display: none;
  }

  .past-event {
    flex: 0 0 88%;
    height: 320px;
  }

  .legacy-carousel {
    max-width: 360px;
  }

  .past-event__content {
    left: 22px;
    right: 22px;
    bottom: 22px;
  }

  .organization {
    padding: 80px 6vw;
  }

  .organization__grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .organizer-card__image {
    height: 320px;
  }
}

@media (max-width: 600px) {
  .speakers__grid .speaker-card {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .hero__bg-png {
    content: url('img/hero-index-background/Fondo mega ultra mobile.png'); /* Reemplaza con la ruta de tu imagen mobile */
  }
}
