:root {
  --schedule-ink: #1f193d;
  --schedule-muted: #5f5a72;
  --schedule-surface: #ffffff;
  --schedule-soft: #f2f4f8;
  --schedule-line: #cfd5df;
  --schedule-teal: #0aa19a;
  --schedule-teal-dark: #075654;
  --schedule-purple: #5219d6;
  --schedule-yellow: #f49e12;
  --schedule-gold: #c79a43;
  --schedule-gold-dark: #6f4d12;
  --schedule-gold-soft: #f6dda2;
}

.schedule-page {
  color: var(--schedule-ink);
  background: var(--schedule-soft);
}

.schedule-page .site-header {
  background: rgba(0, 0, 12, 0.92) !important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(14px);
}

.schedule-page .site-nav__link[aria-current="page"] {
  color: var(--color-light-blue);
}

.schedule-hero {
  position: relative;
  min-height: 0;
  padding-block: 148px 36px;
  overflow: hidden;
  color: #ffffff;
  background-color: #120730;
  background-image:
    linear-gradient(90deg, rgba(18, 7, 48, 0.2), rgba(18, 7, 48, 0.72)),
    url("../../../assets/images/background_palestrantes-confirmados.webp");
  background-position: center 42%;
  background-size: cover;
}

.schedule-hero__row {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.schedule-hero__title {
  margin-top: 12px;
  color: #ffffff;
  font-size: clamp(42px, 6vw, 70px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  text-wrap: balance;
}

.schedule-hero__lead {
  max-width: 680px;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(17px, 2vw, 21px);
  font-weight: 500;
  line-height: 1.5;
  text-wrap: balance;
}

.schedule-hero__facts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 20px;
  margin-top: 28px;
  color: #ffffff;
  font-size: 15px;
  font-weight: 800;
}

.schedule-hero__facts span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.schedule-hero__notice {
  max-width: 720px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
  line-height: 1.5;
}

.schedule-hero__notice + .schedule-hero__notice {
  margin-top: 8px;
}

.schedule-overview {
  padding-block: 40px 8px;
  color: var(--schedule-ink);
  background: #ffffff;
  border-bottom: 1px solid var(--schedule-line);
}

.schedule-overview__row {
  display: grid;
  gap: 24px;
  max-width: 720px;
  margin-inline: auto;
}

.schedule-overview__title {
  color: var(--schedule-ink);
  font-size: clamp(24px, 3.2vw, 34px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
}

.schedule-overview__notes {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.schedule-overview__notes li {
  color: var(--schedule-muted);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
}

.schedule-overview__notes strong {
  color: var(--schedule-ink);
  font-weight: 800;
}

.schedule-overview__days {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(18, 7, 48, 0.12);
}

.schedule-overview__day {
  display: grid;
  gap: 4px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(18, 7, 48, 0.12);
}

.schedule-overview__day-name {
  color: var(--schedule-ink);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.2;
}

.schedule-overview__hours {
  color: var(--schedule-purple);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.schedule-overview__what {
  color: var(--schedule-muted);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
}

@media (min-width: 640px) {
  .schedule-overview__day {
    grid-template-columns: 150px 170px minmax(0, 1fr);
    align-items: baseline;
    gap: 16px;
    padding-block: 18px;
  }

  .schedule-overview__hours {
    font-size: 20px;
  }
}

.schedule-filter {
  position: sticky;
  top: 88px;
  z-index: 85;
  background: #ffffff;
  box-shadow: 0 6px 8px rgba(31, 25, 61, 0.08);
}

@media (min-width: 1180px) {
  .schedule-filter {
    top: 104px;
  }
}

.schedule-ticket-nav {
  padding-block: 14px 6px;
}

.schedule-ticket-nav__title {
  margin: 0 0 10px;
  color: var(--schedule-ink);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.schedule-ticket-nav__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.schedule-ticket {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 10px;
  border: 1px solid var(--schedule-line);
  border-radius: 12px;
  color: var(--schedule-ink);
  background: var(--schedule-soft);
  text-align: center;
  cursor: pointer;
}

.schedule-ticket strong {
  font-size: 16px;
  font-weight: 800;
  line-height: 1.15;
}

.schedule-ticket:hover,
.schedule-ticket:focus-visible {
  border-color: var(--schedule-purple);
}

.schedule-ticket.is-active {
  color: #ffffff;
  background: var(--schedule-purple);
  border-color: var(--schedule-purple);
}

.schedule-ticket-nav__hint {
  display: block;
  max-width: 720px;
  margin: 14px 0 0;
  color: var(--schedule-ink);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
}

.schedule-day-nav {
  position: static;
  top: auto;
  z-index: auto;
  padding-block: 8px 12px;
  background: #ffffff;
  box-shadow: none;
  backdrop-filter: none;
}

.schedule-day-nav__inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  gap: 8px;
}

.schedule-day-tab {
  display: flex;
  min-width: 0;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 9px 14px;
  border: 0;
  border-radius: 10px;
  color: var(--schedule-muted);
  background: transparent;
  font-size: 15px;
  line-height: 1.1;
  transition: color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.schedule-day-tab:hover,
.schedule-day-tab:focus-visible {
  color: var(--schedule-purple);
  background: #ffffff;
}

.schedule-day-tab.is-active {
  color: #ffffff;
  background: var(--schedule-purple);
}

.schedule-day-tab__weekday {
  font-weight: 600;
}

.schedule-day-tab strong {
  font-size: 17px;
  font-weight: 800;
  white-space: nowrap;
}

.schedule-content {
  padding-block: 58px 76px;
}

.schedule-content__row {
  max-width: 1120px;
}

.schedule-day[hidden] {
  display: none;
}

.schedule-day + .schedule-day {
  margin-top: 56px;
  padding-top: 48px;
  border-top: 1px solid var(--schedule-line);
}

.schedule-day:focus {
  outline: none;
}

.schedule-day__header {
  margin-bottom: 34px;
}

.schedule-day__header h2 {
  color: var(--schedule-ink);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.08;
  text-wrap: balance;
}

.schedule-day__header div p {
  margin-top: 10px;
  color: var(--schedule-muted);
  font-size: 16px;
  line-height: 1.45;
}

.schedule-day__header .schedule-access {
  white-space: normal;
}

.schedule-track + .schedule-track {
  margin-top: 34px;
}

.schedule-track__header {
  display: flex;
  min-height: 70px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 20px;
  border-radius: 12px 12px 0 0;
  color: #ffffff;
  background: #054341;
}

.schedule-track__title-row {
  display: flex;
  max-width: 100%;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
}

.schedule-track--legend .schedule-track__header {
  border: 1px solid var(--schedule-gold);
  border-bottom: 0;
  background: #241b0d;
}

.schedule-track--legend .schedule-track__header h3 {
  color: var(--schedule-gold-soft);
}

.schedule-track--legend .schedule-access--vip {
  border: 1px solid #e7c773;
  color: #2f2108;
  background: var(--schedule-gold-soft);
}

.schedule-track--legend .schedule-slot {
  border-right: 1px solid #e4d4ae;
  border-bottom-color: #e4d4ae;
  border-left: 1px solid #e4d4ae;
  background: #fffdf8;
}

.schedule-track--legend .schedule-slot__time {
  background: var(--schedule-gold-dark);
}

.schedule-track--legend .schedule-activity {
  background: #fffdf8;
}

.schedule-track--legend .schedule-activity--featured {
  color: #1f193d;
}

.schedule-track--social .schedule-track__header {
  background: #7a5900;
}

.schedule-track--closing .schedule-track__header {
  background: #1f193d;
}

.schedule-track__header h3 {
  color: #ffffff;
  font-size: 21px;
  font-weight: 800;
  line-height: 1.2;
  text-wrap: balance;
}

.schedule-access {
  display: inline-flex;
  min-height: 32px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  padding: 7px 12px;
  border-radius: 999px;
  color: var(--schedule-ink);
  background: #ffffff;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
}

.schedule-access--vip {
  color: #6b0909;
  background: #ffe1e1;
}

.schedule-access--premium {
  color: #634600;
  background: #fff0bf;
}

.schedule-access--all {
  color: #075654;
  background: #d9fffb;
}

.schedule-slot {
  display: grid;
  grid-template-columns: 154px minmax(0, 1fr);
  align-items: stretch;
  border-bottom: 1px solid var(--schedule-line);
  background: var(--schedule-surface);
}

.schedule-slot:last-child {
  overflow: hidden;
  border-bottom: 0;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 6px 8px rgba(31, 25, 61, 0.08);
}

.schedule-slot__time {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 16px;
  color: #ffffff;
  background: #11706c;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
}

.schedule-slot__time span {
  color: rgba(255, 255, 255, 0.5);
}

.schedule-slot--break .schedule-slot__time {
  background: #62706f;
}

.schedule-slot__content {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-width: 0;
}

.schedule-slot__content--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.schedule-slot__content--five {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.schedule-activity,
.schedule-discussion {
  display: flex;
  min-width: 0;
  min-height: 76px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 5px;
  margin: 0;
  padding: 18px 20px;
  color: var(--schedule-ink);
  background: #ffffff;
  font-size: 14px;
  line-height: 1.45;
  text-align: left;
  overflow-wrap: anywhere;
}

.schedule-slot__content > * + * {
  border-left: 1px solid var(--schedule-line);
}

.schedule-activity small,
.schedule-discussion small {
  color: var(--schedule-teal-dark);
  font-size: 10px;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

.schedule-discussion small {
  font-size: 11px;
}

.schedule-activity strong,
.schedule-discussion strong {
  color: var(--schedule-ink);
  font-weight: 800;
}

.schedule-discussion strong {
  font-size: 15px;
}

.schedule-activity--featured {
  color: #1f193d;
  font-size: 15px;
  font-weight: 800;
}

.schedule-activity--round strong {
  color: #1f193d;
  font-size: 16px;
}

.schedule-activity--round span {
  color: var(--schedule-muted);
}

.schedule-discussion p {
  color: var(--schedule-muted);
  font-size: 14px;
  line-height: 1.5;
}

.schedule-slot--break .schedule-activity {
  color: var(--schedule-muted);
  background: #eef0f3;
  font-weight: 700;
}

.schedule-final-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-top: 64px;
  padding: 40px 0 6px;
  border-top: 1px solid rgba(31, 25, 61, 0.16);
  color: var(--schedule-ink);
  background: transparent;
}

.schedule-final-cta h2 {
  max-width: 620px;
  color: #190b44;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.2;
  text-wrap: balance;
}

.schedule-final-cta p {
  max-width: 620px;
  margin-top: 10px;
  color: #3c3558;
  font-size: 17px;
  line-height: 1.55;
}

.schedule-final-cta .cta-button {
  flex: 0 0 auto;
  min-height: 56px;
  padding-inline: 30px;
  border-radius: 8px;
  animation: none;
  white-space: nowrap;
}

@media (max-width: 1179px) {
  .schedule-day-nav {
    top: 88px;
  }
}

@media (max-width: 767px) {
  .schedule-page {
    font-size: 16px;
  }

  .schedule-hero {
    min-height: 0;
    padding-block: 162px 52px;
    background-position: 50% 50%;
  }

  .schedule-hero__title {
    margin-top: 10px;
    font-size: clamp(27px, 8.1vw, 32px);
    white-space: nowrap;
  }

  .schedule-hero__lead {
    margin-top: 16px;
    font-size: 16px;
  }

  .schedule-hero__facts {
    flex-direction: column;
    gap: 7px;
    margin-top: 22px;
    font-size: 17px;
  }

  .schedule-hero__facts span {
    min-height: 42px;
    padding: 8px 14px;
  }

  .schedule-hero__notice {
    margin-top: 18px;
    font-size: 17px;
    line-height: 1.55;
  }

  .schedule-hero__notice + .schedule-hero__notice {
    margin-top: 8px;
  }

  .schedule-day-nav {
    position: static;
    padding-block: 6px 10px;
    overflow: hidden;
  }

  .schedule-day-nav__inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
    gap: 4px;
    padding-block: 2px 4px;
  }

  .schedule-ticket {
    min-height: 46px;
    padding: 10px 8px;
  }

  .schedule-ticket-nav__hint {
    font-size: 14px;
  }

  .schedule-ticket-nav__title {
    font-size: 13px;
    margin-bottom: 8px;
  }

  .schedule-day-tab {
    min-width: 0;
    min-height: 58px;
    flex-direction: column;
    gap: 3px;
    padding: 8px 4px;
  }

  .schedule-day-tab__weekday {
    font-size: 14px;
  }

  .schedule-day-tab strong {
    font-size: 16px;
  }

  .schedule-content {
    padding-block: 40px 60px;
  }

  .schedule-day__header {
    margin-bottom: 26px;
  }

  .schedule-day__header h2 {
    font-size: 26px;
  }

  .schedule-day__header div p {
    margin-top: 5px;
    font-size: 14px;
  }

  .schedule-track + .schedule-track {
    margin-top: 28px;
  }

  .schedule-track__header {
    min-height: 0;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 10px 10px 0 0;
  }

  .schedule-track__header h3 {
    font-size: 19px;
  }

  .schedule-access {
    min-height: 31px;
    padding: 7px 10px;
    font-size: 12px;
    line-height: 1.15;
    white-space: normal;
  }

  .schedule-slot {
    display: block;
  }

  .schedule-slot:last-child {
    border-radius: 0 0 10px 10px;
  }

  .schedule-slot__time {
    min-height: 0;
    justify-content: flex-start;
    padding: 11px 14px;
    font-size: 15px;
    text-align: left;
  }

  .schedule-slot__content--two,
  .schedule-slot__content--five {
    grid-template-columns: minmax(0, 1fr);
  }

  .schedule-activity,
  .schedule-discussion {
    min-height: 0;
    padding: 16px;
    font-size: 16px;
  }

  .schedule-activity small,
  .schedule-discussion small {
    font-size: 12px;
  }

  .schedule-discussion small {
    font-size: 13px;
  }

  .schedule-activity--featured {
    font-size: 17px;
  }

  .schedule-activity--round strong {
    font-size: 17px;
  }

  .schedule-slot__content > * + * {
    border-top: 1px solid var(--schedule-line);
    border-left: 0;
  }

  .schedule-discussion p {
    font-size: 16px;
  }

  .schedule-final-cta {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 44px;
    padding: 32px 0 0;
    text-align: center;
  }

  .schedule-final-cta h2 {
    font-size: 24px;
  }

  .schedule-final-cta p {
    max-width: 340px;
    font-size: 17px;
  }

  .schedule-final-cta .cta-button {
    width: min(100%, 340px);
    white-space: normal;
  }
}

@media (prefers-reduced-motion: reduce) {
  .schedule-day-tab {
    transition: none;
  }
}
