/* Página de horarios generales de Panther Fight Academy. */

.page-horarios {
  background:
    radial-gradient(circle at 8% 4%, rgba(185, 40, 47, 0.14), transparent 32rem),
    radial-gradient(circle at 92% 16%, rgba(217, 173, 73, 0.09), transparent 30rem),
    var(--bg);
}

.schedule-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(58px, 9vw, 110px) 0 clamp(66px, 9vw, 118px);
  border-bottom: 1px solid var(--line);
}

.schedule-hero::after {
  position: absolute;
  top: -260px;
  right: -220px;
  width: 620px;
  height: 620px;
  content: "";
  background: radial-gradient(circle, rgba(217, 173, 73, 0.15), transparent 67%);
  pointer-events: none;
}

.schedule-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.68fr);
  align-items: center;
  gap: clamp(38px, 7vw, 88px);
}

.schedule-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.schedule-breadcrumb a {
  color: var(--gold-light);
  text-decoration: none;
}

.schedule-hero h1,
.schedule-heading h1,
.schedule-heading h2,
.schedule-cta h2 {
  margin: 0;
  line-height: 0.94;
  letter-spacing: -0.055em;
  text-transform: uppercase;
}

.schedule-hero h1 {
  max-width: 860px;
  font-size: clamp(3.4rem, 8.5vw, 7.8rem);
}

.schedule-hero h1 span {
  color: transparent;
  background: linear-gradient(115deg, #ffffff, var(--gold-light) 62%, #9a6719);
  background-clip: text;
  -webkit-background-clip: text;
}

.schedule-lead {
  max-width: 700px;
  margin: 25px 0 0;
  color: #d1d2d4;
  font-size: clamp(1rem, 1.5vw, 1.14rem);
}

.schedule-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.schedule-hero-panel {
  padding: clamp(28px, 4vw, 44px);
  background: linear-gradient(145deg, rgba(29, 32, 39, 0.96), rgba(12, 14, 17, 0.96));
  border: 1px solid #3b3f47;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.schedule-hero-panel > span {
  color: var(--red);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.schedule-hero-panel > strong {
  display: block;
  margin-top: 14px;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
  text-transform: uppercase;
}

.schedule-hero-panel ul {
  display: grid;
  gap: 0;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.schedule-hero-panel li {
  display: grid;
  grid-template-columns: minmax(90px, 0.7fr) minmax(0, 1.3fr);
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
}

.schedule-hero-panel li span {
  color: var(--muted);
}

.schedule-hero-panel li b {
  color: #f0f0ed;
}

.schedule-section {
  padding: clamp(68px, 9vw, 112px) 0;
}

.schedule-section--soft {
  background: linear-gradient(180deg, rgba(23, 26, 32, 0.7), rgba(12, 14, 17, 0.82));
  border-block: 1px solid var(--line);
}

.schedule-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.52fr);
  align-items: end;
  gap: 36px;
  margin-bottom: 34px;
}

.schedule-heading h1,
.schedule-heading h2 {
  max-width: 900px;
  font-size: clamp(2.45rem, 6vw, 5.3rem);
}

.schedule-heading > p {
  margin: 0;
  color: var(--muted);
}

.schedule-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.schedule-filter {
  --filter-accent: #d9ad49;
  --filter-accent-rgb: 217, 173, 73;
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  color: #bfc1c6;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid #383c44;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-size: 0.74rem;
  font-weight: 850;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.schedule-filter:hover {
  color: #ffffff;
  border-color: rgba(var(--filter-accent-rgb), 0.65);
  transform: translateY(-1px);
}

.schedule-filter.is-active {
  color: #ffffff;
  background: rgba(var(--filter-accent-rgb), 0.16);
  border-color: var(--filter-accent);
  box-shadow: 0 8px 22px rgba(var(--filter-accent-rgb), 0.12);
}

.schedule-filter[data-schedule-filter="muay"] {
  --filter-accent: #c54a50;
  --filter-accent-rgb: 197, 74, 80;
}

.schedule-filter[data-schedule-filter="boxeo"] {
  --filter-accent: #d9ad49;
  --filter-accent-rgb: 217, 173, 73;
}

.schedule-filter[data-schedule-filter="jiujitsu"] {
  --filter-accent: #4e92cf;
  --filter-accent-rgb: 78, 146, 207;
}

.schedule-filter[data-schedule-filter="yoga"] {
  --filter-accent: #9b79c6;
  --filter-accent-rgb: 155, 121, 198;
}

.schedule-filter[data-schedule-filter="kids"] {
  --filter-accent: #58a870;
  --filter-accent-rgb: 88, 168, 112;
}

.schedule-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.schedule-dot--all {
  background: conic-gradient(#c54a50, #d9ad49, #4e92cf, #9b79c6, #58a870, #c54a50);
}

.schedule-dot--muay {
  background: #c54a50;
}

.schedule-dot--boxeo {
  background: #d9ad49;
}

.schedule-dot--jiujitsu {
  background: #4e92cf;
}

.schedule-dot--yoga {
  background: #9b79c6;
}

.schedule-dot--kids {
  background: #58a870;
}

.schedule-filter-status {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.76rem;
}

.schedule-format-note {
  margin: -4px 0 18px;
  color: var(--muted);
  font-size: 0.8rem;
}

.schedule-format-note strong {
  color: #d8eaff;
}

.weekly-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
  scrollbar-color: var(--gold) #111318;
}

.weekly-table {
  width: 100%;
  min-width: 1120px;
  border-collapse: collapse;
  background: rgba(17, 19, 24, 0.94);
}

.weekly-table th,
.weekly-table td {
  width: 13.2%;
  min-width: 132px;
  padding: 12px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
  vertical-align: top;
}

.weekly-table thead th {
  padding-block: 16px;
  color: var(--gold-light);
  background: #1a1d23;
  font-size: 0.73rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.weekly-table th:first-child {
  position: sticky;
  z-index: 2;
  left: 0;
  width: 116px;
  min-width: 116px;
  color: #ffffff;
  background: #15181d;
}

.weekly-table thead th:first-child {
  color: var(--gold-light);
  background: #1a1d23;
}

.weekly-table tbody th {
  font-size: 0.76rem;
  white-space: nowrap;
}

.weekly-table tbody tr[hidden] {
  display: none;
}

.weekly-table td {
  transition: opacity 160ms ease, background 160ms ease;
}

.weekly-table td.is-filter-muted {
  color: #4d5159;
  background: rgba(8, 9, 11, 0.32);
  opacity: 0.55;
}

.weekly-table td:not(.schedule-empty).is-filter-muted::after {
  color: #555a64;
  content: "—";
  font-size: 0.8rem;
}

.class-pill {
  display: block;
  padding: 8px 7px;
  color: #f8f8f5;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9px;
  font-size: 0.71rem;
  font-weight: 850;
  line-height: 1.2;
}

.class-pill + .class-pill {
  margin-top: 7px;
}

.class-pill--muay {
  background: rgba(197, 74, 80, 0.14);
  border-color: rgba(197, 74, 80, 0.46);
}

.class-pill--boxeo {
  background: rgba(217, 173, 73, 0.13);
  border-color: rgba(217, 173, 73, 0.42);
}

.class-pill--jiujitsu {
  background: rgba(78, 146, 207, 0.14);
  border-color: rgba(78, 146, 207, 0.46);
}

.class-pill--yoga {
  background: rgba(155, 121, 198, 0.15);
  border-color: rgba(155, 121, 198, 0.5);
}

.class-pill--kids {
  background: rgba(88, 168, 112, 0.14);
  border-color: rgba(88, 168, 112, 0.46);
}

.schedule-empty {
  color: #555a64;
  font-size: 0.8rem;
}

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

.discipline-schedule-card {
  --schedule-accent: #c54a50;
  --schedule-accent-rgb: 197, 74, 80;
  position: relative;
  display: flex;
  min-height: 330px;
  overflow: hidden;
  flex-direction: column;
  padding: 26px;
  background:
    radial-gradient(circle at 92% 8%, rgba(var(--schedule-accent-rgb), 0.16), transparent 30%),
    linear-gradient(145deg, var(--surface-2), #0d0f12);
  border: 1px solid rgba(var(--schedule-accent-rgb), 0.38);
  border-radius: 19px;
}

.discipline-schedule-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  content: "";
  background: var(--schedule-accent);
}

.discipline-schedule-card[data-schedule="boxeo"] {
  --schedule-accent: #d9ad49;
  --schedule-accent-rgb: 217, 173, 73;
}

.discipline-schedule-card[data-schedule="jiujitsu"] {
  --schedule-accent: #4e92cf;
  --schedule-accent-rgb: 78, 146, 207;
}

.discipline-schedule-card[data-schedule="yoga"] {
  --schedule-accent: #9b79c6;
  --schedule-accent-rgb: 155, 121, 198;
}

.discipline-schedule-card[data-schedule="kids"] {
  --schedule-accent: #58a870;
  --schedule-accent-rgb: 88, 168, 112;
}

.discipline-schedule-card > span {
  color: var(--schedule-accent);
  font-size: 0.67rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.discipline-schedule-card h3 {
  margin: 13px 0 0;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.discipline-schedule-card .discipline-schedule-name {
  display: inline;
  margin-top: 0;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-decoration: none;
  text-transform: inherit;
}

.discipline-schedule-card ul {
  display: grid;
  gap: 9px;
  margin: 22px 0 26px;
  padding: 18px 0 0;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
  list-style: none;
}

.discipline-schedule-card li b {
  color: #ededeb;
}

.discipline-schedule-card a {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-top: auto;
  color: var(--schedule-accent);
  font-size: 0.78rem;
  font-weight: 900;
  text-decoration: none;
}

.schedule-cta {
  padding: clamp(68px, 9vw, 112px) 0;
}

.schedule-cta-card {
  padding: clamp(34px, 7vw, 76px);
  background:
    radial-gradient(circle at 12% 18%, rgba(185, 40, 47, 0.18), transparent 34%),
    radial-gradient(circle at 88% 20%, rgba(217, 173, 73, 0.16), transparent 34%),
    #111318;
  border: 1px solid #393d45;
  border-radius: 28px;
  box-shadow: var(--shadow);
  text-align: center;
}

.schedule-cta h2 {
  max-width: 900px;
  margin-inline: auto;
  font-size: clamp(2.35rem, 6vw, 5.2rem);
}

.schedule-cta-card > p:not(.eyebrow) {
  max-width: 680px;
  margin: 20px auto 28px;
  color: var(--muted);
}

.schedule-cta-card .button {
  min-width: min(100%, 280px);
}

@media (max-width: 980px) {
  .schedule-hero-grid,
  .schedule-heading {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 680px) {
  .schedule-hero {
    padding-top: 44px;
  }

  .schedule-hero h1 {
    font-size: clamp(3rem, 16vw, 4.8rem);
  }

  .schedule-actions {
    display: grid;
  }

  .schedule-actions .button {
    width: 100%;
  }

  .schedule-hero-panel li {
    grid-template-columns: 1fr;
    gap: 4px;
  }

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

  .schedule-filter {
    width: 100%;
    justify-content: flex-start;
  }

  .weekly-table {
    min-width: 980px;
  }

  .weekly-table th,
  .weekly-table td {
    min-width: 116px;
    padding: 10px 8px;
  }

  .weekly-table th:first-child {
    width: 104px;
    min-width: 104px;
  }

  .discipline-schedule-grid {
    grid-template-columns: 1fr;
  }

  .discipline-schedule-card {
    min-height: 0;
  }
}
