/* =========================================
   HORARIOS — Estilos exclusivos
   ========================================= */

/* =========================================
   HERO
   ========================================= */

.hero--horarios {
  min-height: 50vh;
  padding: calc(var(--header-h) + 2rem) 4rem 3rem;
  gap: 2rem;
  overflow: hidden;
  padding: 10rem;
}

.hero--horarios .hero-content {
  text-align: left;
  flex: 1;
  max-width: 560px;
}

.hero--horarios .hero-eyebrow::before,
.hero--horarios .hero-eyebrow::after { display: none; }
.hero--horarios h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
.hero--horarios p  { margin-left: 0; max-width: 480px; }

/* Días flotantes decorativos */
.hero-dias {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-shrink: 0;
}
.hero-dias span {
  width: 52px; height: 52px;
  border-radius: 14px;
  border: 1.5px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.05);
  display: grid;
  place-items: center;
  font-family: var(--fuente-display);
  font-size: 1.3rem;
  font-weight: 500;
  color: rgba(255,255,255,0.5);
  transition: all 0.3s var(--ease);
  animation: dia-float 4s ease-in-out infinite;
}
.hero-dias span:nth-child(1) { animation-delay: 0s; }
.hero-dias span:nth-child(2) { animation-delay: 0.3s; color: var(--cian); border-color: rgba(68,220,241,0.3); background: rgba(68,220,241,0.08); }
.hero-dias span:nth-child(3) { animation-delay: 0.6s; }
.hero-dias span:nth-child(4) { animation-delay: 0.9s; }
.hero-dias span:nth-child(5) { animation-delay: 1.2s; color: var(--lima); border-color: rgba(197,244,8,0.3); background: rgba(197,244,8,0.08); }
.hero-dias span:nth-child(6) { animation-delay: 1.5s; color: var(--cian); border-color: rgba(68,220,241,0.3); background: rgba(68,220,241,0.08); }
.hero-dias span:nth-child(7) { animation-delay: 1.8s; color: var(--lima); border-color: rgba(197,244,8,0.3); background: rgba(197,244,8,0.08); }

@keyframes dia-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}

/* =========================================
   INTRO
   ========================================= */

.seccion--intro-horarios {
  background: var(--fondo);
  padding: 4rem 2rem 3rem;
  max-width: 100%;
  width: 100%;
}

.intro-horarios {
  max-width: 780px;
  margin: 0 auto 3rem;
  text-align: center;
  font-size: 1.05rem;
  color: var(--texto-suave);
  line-height: 1.8;
}
.intro-horarios strong { color: var(--teal); }

/* Pills de días */
.dias-semana {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  max-width: 600px;
  margin: 0 auto;
}

.dia-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 0.75rem 1rem;
  border-radius: 14px;
  border: 1.5px solid transparent;
  min-width: 60px;
  position: relative;
  transition: all 0.3s var(--ease);
}

.dia-pill--activo {
  background: white;
  border-color: rgba(30, 118, 130, 0.15);
  box-shadow: var(--sombra-suave);
}
.dia-pill--activo:hover {
  transform: translateY(-3px);
  box-shadow: var(--sombra-media);
}
.dia-pill--inactivo {
  background: var(--fondo-alt);
  border-color: transparent;
  opacity: 0.5;
}
.dia-pill--hoy {
  border-color: var(--teal) !important;
  background: rgba(30, 118, 130, 0.06) !important;
  box-shadow: 0 0 0 3px rgba(30, 118, 130, 0.1);
}

.dia-letra {
  font-family: var(--fuente-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--teal-oscuro);
}
.dia-pill--inactivo .dia-letra { color: var(--texto-suave); }

.dia-punto {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--teal);
}

.dia-hoy-label {
  position: absolute;
  top: -10px;
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: var(--teal);
  color: white;
  padding: 1px 6px;
  border-radius: 50px;
}

/* =========================================
   TIMELINE
   ========================================= */

.seccion--timeline {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 3rem 2rem 5rem;
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

/* Bloque de un día */
.timeline-dia {
  position: relative;
}

.timeline-dia--hoy .timeline-dia-header .timeline-dia-nombre {
  animation: nombre-hoy 3s ease-in-out infinite;
}
@keyframes nombre-hoy {
  0%, 100% { text-shadow: 0 0 0 transparent; }
  50%       { text-shadow: 0 0 20px rgba(30,118,130,0.3); }
}

/* Header del día */
.timeline-dia-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.timeline-dia-nombre {
  font-family: var(--fuente-display);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 500;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.timeline-linea {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(30,118,130,0.2), transparent);
}

/* Badge "Hoy" */
.hoy-badge {
  font-family: var(--fuente-cuerpo);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  background: var(--teal);
  color: white;
  padding: 3px 10px;
  border-radius: 50px;
  vertical-align: middle;
  animation: pulse-badge 2s ease-in-out infinite;
}
@keyframes pulse-badge {
  0%, 100% { box-shadow: 0 0 0 0 rgba(30,118,130,0.4); }
  50%       { box-shadow: 0 0 0 6px rgba(30,118,130,0); }
}

/* Contenedor de actividades */
.timeline-actividades {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.25rem;
  padding-left: 1rem;
  border-left: 2px solid rgba(30,118,130,0.12);
}

/* =========================================
   CARDS DE ACTIVIDAD
   ========================================= */

.actividad-card {
  background: white;
  border-radius: 18px;
  padding: 1.5rem;
  box-shadow: var(--sombra-suave);
  border: 1px solid rgba(30,118,130,0.08);
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}

/* Línea de acento superior según color del día */
.actividad-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  border-radius: 18px 18px 0 0;
}
.actividad-card.color--teal::before  { background: linear-gradient(90deg, var(--teal), var(--cian)); }
.actividad-card.color--cian::before  { background: linear-gradient(90deg, var(--cian), var(--lima)); }
.actividad-card.color--lima::before  { background: linear-gradient(90deg, var(--lima), var(--cian)); }

.actividad-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--sombra-media);
}

/* Icono */
.actividad-icono {
  flex-shrink: 0;
  width: 48px; height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
}
.color--teal .actividad-icono { background: rgba(30,118,130,0.1); color: var(--teal); }
.color--cian .actividad-icono { background: rgba(68,220,241,0.12); color: #0a9aad; }
.color--lima .actividad-icono { background: rgba(197,244,8,0.15); color: #6a8000; }
.actividad-icono svg { width: 22px; height: 22px; }

/* Body */
.actividad-body { flex: 1; min-width: 0; }

.actividad-meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.6rem;
  flex-wrap: wrap;
}

.actividad-hora {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--texto-suave);
}
.actividad-hora svg { width: 13px; height: 13px; }

.actividad-badge {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 2px 8px;
  border-radius: 50px;
}
.badge--teal { background: rgba(30,118,130,0.1); color: var(--teal); }
.badge--cian { background: rgba(68,220,241,0.15); color: #0a9aad; }
.badge--lima { background: rgba(197,244,8,0.2); color: #6a8000; }

.actividad-titulo {
  font-family: var(--fuente-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--teal-oscuro);
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.actividad-desc {
  font-size: 0.88rem;
  color: var(--texto-suave);
  line-height: 1.6;
  margin-bottom: 0.85rem;
}

/* Colores para nombre del día */
.color--teal { color: var(--teal); }
.color--cian { color: #0a9aad; }
.color--lima { color: #6a8000; }

/* Link externo */
.actividad-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  padding: 0.45rem 0.9rem;
  border-radius: 50px;
  border: 1.5px solid;
  transition: all 0.25s ease;
}
.actividad-link svg { width: 13px; height: 13px; }

.btn--teal  { color: var(--teal); border-color: rgba(30,118,130,0.3); }
.btn--cian  { color: #0a9aad; border-color: rgba(68,220,241,0.4); }
.btn--lima  { color: #6a8000; border-color: rgba(197,244,8,0.4); }

.btn--teal:hover  { background: var(--teal); color: white; border-color: var(--teal); }
.btn--cian:hover  { background: #0a9aad; color: white; border-color: #0a9aad; }
.btn--lima:hover  { background: #6a8000; color: white; border-color: #6a8000; }

/* =========================================
   CTA FINAL
   ========================================= */

.seccion--cta-horarios {
  background: var(--fondo-alt);
  max-width: 100%;
  width: 100%;
  text-align: center;
  padding: 5rem 2rem;
}

.cta-horarios {
  max-width: 620px;
  margin: 0 auto;
}

.cta-horarios-icono {
  font-size: 3rem;
  margin-bottom: 1rem;
  animation: paloma 3s ease-in-out infinite;
}
@keyframes paloma {
  0%, 100% { transform: translateY(0) rotate(-5deg); }
  50%       { transform: translateY(-10px) rotate(5deg); }
}

.cta-horarios h2 {
  font-family: var(--fuente-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--teal-oscuro);
  margin-bottom: 1rem;
  font-weight: 500;
}
.cta-horarios h2::after { display: none; }
.cta-horarios p {
  color: var(--texto-suave);
  margin-bottom: 2rem;
  font-size: 1rem;
  line-height: 1.7;
}

.cta-horarios-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-outline-dark {
  padding: 0.9rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  border: 1.5px solid rgba(30,118,130,0.3);
  color: var(--teal);
  transition: all 0.3s var(--ease);
  display: inline-flex;
  align-items: center;
}
.btn-outline-dark:hover {
  background: var(--teal);
  color: white;
  border-color: var(--teal);
}

/* =========================================
   RESPONSIVE
   ========================================= */

@media (max-width: 1000px) {
  .hero--horarios {
    flex-direction: column;
    padding: 4rem 0;
  }
}
@media (max-width: 900px) {
  .hero--horarios .hero-content { text-align: center; }
  .hero--horarios p { margin: 0 auto 1.5rem; }
  .hero-dias { justify-content: center; }
  .hero-dias span { width: 42px; height: 42px; font-size: 1.1rem; }
  .timeline-actividades { grid-template-columns: 1fr; }
}

@media (max-width: 580px) {
  .seccion--timeline { padding: 2rem 1rem 3rem; }
  .timeline-actividades { padding-left: 0.75rem; }
  .actividad-card { flex-direction: column; gap: 1rem; }
  .dias-semana { gap: 0.4rem; }
  .dia-pill { min-width: 48px; padding: 0.6rem 0.75rem; }
}
