/* Custom CSS for IX Jornadas de Postcosecha */
/* Carrusel - Optimización de imágenes */
.carousel-item img {
  width: 100% !important;
  height: 600px !important;
  object-fit: cover !important;
  object-position: center !important;
}

@media (max-width: 768px) {
  .carousel-item img {
    height: 400px !important;
  }
}

/* Colores Kit Digital UC */
:root {
  --uc-celeste: #0176DE;
  --uc-azul: #173F8A;
  --uc-azul-oscuro: #03122E;
  --uc-amarillo: #FEC60D;
  --uc-blanco: #FFFFFF;
  --uc-gris-oscuro: #707070;
  --uc-gris-claro: #F6F6F6;
}

/* Botones principales */
.btn-common {
  background-color: var(--uc-celeste) !important;
  border-color: var(--uc-celeste) !important;
  color: var(--uc-blanco) !important;
}

.btn-common:hover {
  background-color: var(--uc-azul) !important;
  border-color: var(--uc-azul) !important;
  color: var(--uc-blanco) !important;
}

/* Botones secundarios */
.btn-border {
  background-color: transparent !important;
  border-color: var(--uc-celeste) !important;
  color: var(--uc-celeste) !important;
}

.btn-border:hover {
  background-color: var(--uc-celeste) !important;
  border-color: var(--uc-celeste) !important;
  color: var(--uc-blanco) !important;
}

/* Navbar brand color */
.navbar-brand {
  color: var(--uc-azul-oscuro) !important;
}

.navbar-brand:hover {
  color: var(--uc-celeste) !important;
}

/* Enlaces del menú */
.navbar-nav .nav-link {
  color: var(--uc-azul-oscuro) !important;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-item.active .nav-link {
  color: var(--uc-celeste) !important;
}

/* Títulos principales */
.section-title {
  color: var(--uc-azul-oscuro) !important;
}

/* Featured icons */
.featured-icon {
  color: var(--uc-celeste) !important;
}

/* Enlaces */
a {
  color: var(--uc-celeste) !important;
}

a:hover {
  color: var(--uc-azul) !important;
}

/* Carousel indicators active */
.carousel-indicators .active {
  background-color: var(--uc-celeste) !important;
}

/* Background sections */
.section {
  background-color: var(--uc-blanco) !important;
}

.bg-defult {
  background-color: var(--uc-gris-claro) !important;
}

/* Estilos específicos para sección About con fondo de frutas */
.about-section {
  position: relative !important;
}

.about-section .overlay {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 1 !important;
}

.about-section .container {
  position: relative !important;
  z-index: 2 !important;
}

.about-section h2,
.about-section .about-content h2 {
  color: #FFFFFF !important;
  text-shadow: 3px 3px 6px rgba(0,0,0,1) !important;
  font-weight: bold !important;
}

.about-section p,
.about-section .about-content p {
  color: #FFFFFF !important;
  text-shadow: 2px 2px 4px rgba(0,0,0,1) !important;
  font-weight: 500 !important;
}

.about-content.text-white * {
  color: #FFFFFF !important;
  text-shadow: 2px 2px 4px rgba(0,0,0,1) !important;
}

/* Animaciones para la card de venue */
@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: scale(0.3) translateY(-30px);
  }
  25% {
    opacity: 0.7;
    transform: scale(1.05) translateY(-10px);
  }
  50% {
    opacity: 0.9;
    transform: scale(0.98) translateY(5px);
  }
  75% {
    opacity: 1;
    transform: scale(1.02) translateY(-2px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes pulseGlow {
  0% {
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  }
  50% {
    box-shadow: 0 10px 30px rgba(1, 118, 222, 0.2);
  }
  100% {
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  }
}

/* Animación sutil de resplandor cada 4 segundos */
.venue-bounce {
  animation: bounceIn 1.2s ease-out, pulseGlow 4s infinite ease-in-out 2s;
}

/* Mejora en la animación de las tarjetas de transporte */
.transport-card {
  animation: fadeInUp 0.8s ease-out;
  animation-fill-mode: both;
  position: relative;
  overflow: hidden;
}

/* Efecto de resplandor sutil al hover */
.transport-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(1, 118, 222, 0.1), transparent);
  transition: left 0.6s ease;
  z-index: 1;
}

.transport-card:hover::before {
  left: 100%;
}

/* Efectos de hover mejorados para cada tipo de transporte */
.transport-card:hover {
  transform: translateY(-8px) scale(1.02) !important;
  box-shadow: 0 15px 35px rgba(0,0,0,0.12) !important;
}

/* Efectos específicos por color de transporte */
.transport-card[style*="border-top: 4px solid var(--uc-celeste)"]:hover {
  background: linear-gradient(135deg, #ffffff 0%, rgba(1, 118, 222, 0.05) 100%) !important;
}

.transport-card[style*="border-top: 4px solid var(--uc-azul)"]:hover {
  background: linear-gradient(135deg, #ffffff 0%, rgba(23, 63, 138, 0.05) 100%) !important;
}

.transport-card[style*="border-top: 4px solid var(--uc-amarillo)"]:hover {
  background: linear-gradient(135deg, #ffffff 0%, rgba(254, 198, 13, 0.05) 100%) !important;
}

/* Animaciones para las tarjetas de "¿Por qué participar?" */
@keyframes fadeInBounce {
  0% {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }
  60% {
    opacity: 0.8;
    transform: translateY(-5px) scale(1.02);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes iconPulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

.featured-box {
  animation: fadeInBounce 0.8s ease-out;
  animation-fill-mode: both;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

/* Retraso escalonado para cada tarjeta */
.featured-box:nth-child(1) { animation-delay: 0.1s; }
.featured-box:nth-child(2) { animation-delay: 0.2s; }
.featured-box:nth-child(3) { animation-delay: 0.3s; }
.featured-box:nth-child(4) { animation-delay: 0.4s; }
.featured-box:nth-child(5) { animation-delay: 0.5s; }
.featured-box:nth-child(6) { animation-delay: 0.6s; }

.featured-box:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.featured-box:hover .featured-icon i {
  animation: iconPulse 0.6s ease infinite;
  color: var(--uc-celeste);
}

/* Efecto de resplandor sutil en hover */
.featured-box::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(1, 118, 222, 0.05), transparent);
  transform: rotate(45deg);
  transition: all 0.6s ease;
  opacity: 0;
  z-index: 0;
}

.featured-box:hover::before {
  opacity: 1;
  animation: shimmer 1.5s ease infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%) rotate(45deg); }
  100% { transform: translateX(100%) rotate(45deg); }
}

/* Animaciones para las tarjetas de Inscripciones */
@keyframes priceCardBounce {
  0% {
    opacity: 0;
    transform: translateY(40px) scale(0.9);
  }
  50% {
    opacity: 0.8;
    transform: translateY(-10px) scale(1.05);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes priceGlow {
  0% {
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  }
  50% {
    box-shadow: 0 12px 35px rgba(1, 118, 222, 0.15);
  }
  100% {
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  }
}

.pricing-table {
  animation: priceCardBounce 0.9s ease-out;
  animation-fill-mode: both;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

/* Estilos para las tarjetas de precios */
.pricing-table {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.pricing-table .pricing-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px 80px;
  min-height: 180px;
}

.pricing-table .pricing-details h2 {
  font-size: 24px;
  font-weight: 600;
  color: var(--uc-azul-oscuro);
  margin-bottom: 10px;
  text-align: center;
  line-height: 1.2;
}

.pricing-table .student-details {
  font-size: 14px;
  color: var(--uc-gris-oscuro);
  margin-bottom: 20px;
  text-align: center;
  font-style: italic;
  min-height: 20px;
}

.pricing-table .price {
  margin-top: auto;
}

.pricing-table .plan-button {
  margin-top: auto;
}

/* Asegurar que todas las columnas tengan la misma altura */
.pricing-tables {
  display: flex;
  align-items: stretch;
}

.pricing-tables .col-lg-4,
.pricing-tables .col-md-6,
.pricing-tables .col-sm-10 {
  display: flex;
  margin-bottom: 30px;
}

/* Retraso escalonado para cada tarjeta de precio */
.pricing-table:nth-child(1) { animation-delay: 0.2s; }
.pricing-table:nth-child(2) { animation-delay: 0.4s; }
.pricing-table:nth-child(3) { animation-delay: 0.6s; }

/* Efecto especial para la tarjeta destacada */
.pricing-table.pricing-big {
  animation: priceCardBounce 1s ease-out, priceGlow 3s infinite ease-in-out 1.5s;
}

.pricing-table:hover {
  transform: translateY(-12px) scale(1.04);
  box-shadow: 0 20px 45px rgba(0,0,0,0.12);
}

.pricing-table.pricing-big:hover {
  transform: translateY(-15px) scale(1.06);
  box-shadow: 0 25px 50px rgba(1, 118, 222, 0.2);
}

/* Efecto de gradiente animado en hover */
.pricing-table::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(1, 118, 222, 0.08), transparent);
  transition: left 0.8s ease;
  z-index: 1;
}

.pricing-table:hover::before {
  left: 100%;
}

/* Animación para el texto del precio */
.pricing-table:hover .price {
  color: var(--uc-celeste);
  transform: scale(1.05);
  transition: all 0.3s ease;
}

.pricing-table:hover .btn {
  background: var(--uc-azul);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(23, 63, 138, 0.3);
}

/* Efecto de pulsación sutil en los iconos */
.transport-icon i {
  transition: all 0.3s ease;
}

.transport-card:hover .transport-icon i {
  transform: scale(1.1);
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
}

.transport-card:nth-child(1) { animation-delay: 0.1s; }
.transport-card:nth-child(2) { animation-delay: 0.2s; }
.transport-card:nth-child(3) { animation-delay: 0.3s; }

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Animación adicional para el contenedor de fechas */
.event-dates {
  animation: slideInRight 1s ease-out 0.5s;
  animation-fill-mode: both;
}

@keyframes slideInRight {
  0% {
    opacity: 0;
    transform: translateX(30px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Efectos sutiles para los detalles de transporte */
.transport-details p {
  transition: all 0.3s ease;
}

.transport-card:hover .transport-details p:last-child {
  transform: translateY(-2px);
  font-weight: 700;
}

/* Animación sutil de entrada para los títulos de transporte */
.transport-card h5 {
  transition: all 0.3s ease;
}

.transport-card:hover h5 {
  transform: translateY(-1px);
  letter-spacing: 0.5px;
}

/* Efecto de borde animado */
.transport-card {
  position: relative;
}

.transport-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--uc-celeste), var(--uc-azul), var(--uc-amarillo));
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 15px 15px 0 0;
}

.transport-card:hover::after {
  opacity: 0.3;
}

/* Scroll suave optimizado para mejor rendimiento */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 180px; /* Compensar header fijo inicialmente */
}

/* Cuando el header está compacto */
html.header-scrolled {
  scroll-padding-top: 60px; /* Solo compensar el menú compacto */
}

@media (max-width: 991px) {
  html {
    scroll-padding-top: 100px;
  }
  
  html.header-scrolled {
    scroll-padding-top: 50px;
  }
}

/* Estilos adicionales para el header UC para que funcione con el scroll */
.uc-btn.page-scroll,
.list-item.page-scroll {
  cursor: pointer;
  transition: all 0.2s ease; /* Reducido de 0.3s a 0.2s */
}

.uc-btn.page-scroll:hover,
.list-item.page-scroll:hover {
  color: var(--uc-celeste) !important;
  transform: translateY(-1px); /* Feedback visual inmediato */
}

/* Feedback visual al hacer clic */
.uc-btn.page-scroll.active-click,
.list-item.page-scroll.active-click {
  transform: scale(0.95);
  background-color: rgba(1, 118, 222, 0.1);
}

/* Header UC con navegación inteligente */
.uc-header {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  background-color: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
  overflow: hidden;
}

/* Estado inicial - header completo visible */
.uc-header.header-visible {
  height: auto;
}

/* Estado scroll - solo menu visible */
.uc-header.header-compact {
  height: 60px; /* Altura fija para solo el menú */
}

/* Ocultar logo, título y slogan cuando está compacto */
.uc-header.header-compact .row {
  transform: translateY(-100%);
  opacity: 0;
  transition: all 0.4s ease;
}

/* El menú siempre visible y en su posición */
.uc-navbar_nav {
  position: relative;
  z-index: 1001;
  background-color: transparent;
  padding: 15px 0;
  margin: 0px 0 0 !important;
  transition: all 0.4s ease;
}

/* Cuando está compacto, centrar el menú */
.uc-header.header-compact .uc-navbar_nav {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  padding: 10px 0;
  background-color: #ffffff;
}

/* Ajustar el body para compensar el header */

body.inicio-page {
  padding-top: 180px; /* Espacio para el header UC completo inicialmente */
  transition: padding-top 0.4s ease;
}

/* Cuando el header está en modo compacto, reducir padding */
body.inicio-page.header-scrolled {
  padding-top: 60px; /* Solo espacio para el menú compacto */
}

/* Para pantallas móviles */
@media (max-width: 991px) {
  body.inicio-page {
    padding-top: 100px;
  }
  
  body.inicio-page.header-scrolled {
    padding-top: 50px;
  }
  
  .uc-header.header-compact {
    height: 50px;
  }
  
  .uc-header.header-compact .uc-navbar_nav {
    padding: 8px 0;
  }
  
  /* Para móvil, ocultar el menú de escritorio y mantener el móvil */
  .uc-header.header-compact .uc-navbar_mobile {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Asegurar que el scroll llegue a la posición correcta */
.section {
  scroll-margin-top: 180px; /* Compensar la altura del header fijo */
}

@media (max-width: 991px) {
  .section {
    scroll-margin-top: 100px;
  }
}

/* Sección de Estadísticas Animadas */
.stats-section {
  background: linear-gradient(135deg, var(--uc-azul-oscuro) 0%, var(--uc-azul) 100%);
  color: var(--uc-blanco);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.stats-section.fade-in {
  opacity: 1;
  transform: translateY(0);
}

.stats-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="25" cy="25" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="75" cy="75" r="0.5" fill="rgba(255,255,255,0.05)"/></svg>') repeat;
  opacity: 0.3;
  z-index: 1;
}

.stats-section .container {
  position: relative;
  z-index: 2;
}

.stats-section .section-header {
  margin-bottom: 50px;
}

.stats-section .section-title {
  color: var(--uc-blanco) !important;
  font-size: 42px;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  margin-bottom: 15px;
}

.stats-section .section-header span {
  color: var(--uc-amarillo) !important;
  font-size: 16px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block;
  margin-top: 5px;
}

.stat-item {
  text-align: center;
  padding: 30px 20px;
  transition: all 0.3s ease;
  border-radius: 15px;
  margin-bottom: 30px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  opacity: 0;
  transform: translateY(20px);
}

.stat-item.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.stat-item:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.stat-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--uc-celeste) 0%, var(--uc-amarillo) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(1, 118, 222, 0.3);
  transition: all 0.3s ease;
}

.stat-item:hover .stat-icon {
  transform: scale(1.1);
  box-shadow: 0 15px 40px rgba(1, 118, 222, 0.4);
}

.stat-icon i {
  font-size: 32px;
  color: var(--uc-blanco);
}

.stat-counter {
  margin: 20px 0;
  font-size: 48px;
  font-weight: 700;
  color: var(--uc-blanco);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  line-height: 1;
}

.counter {
  display: inline-block;
  transition: all 0.3s ease;
}

.counter-suffix {
  font-size: 24px;
  margin-left: 5px;
  color: var(--uc-amarillo);
  font-weight: 600;
}

.stat-title {
  font-size: 22px;
  font-weight: 600;
  color: var(--uc-blanco);
  margin: 15px 0 10px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.stat-description {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  font-weight: 300;
}

/* Animaciones para móvil */
@media (max-width: 768px) {
  .stats-section {
    padding: 60px 0;
  }
  
  .stat-item {
    padding: 25px 15px;
    margin-bottom: 20px;
  }
  
  .stat-icon {
    width: 60px;
    height: 60px;
  }
  
  .stat-icon i {
    font-size: 24px;
  }
  
  .stat-counter {
    font-size: 36px;
  }
  
  .counter-suffix {
    font-size: 28px;
  }
  
  .stat-title {
    font-size: 20px;
  }
  
  .stat-description {
    font-size: 14px;
  }
}

/* Animación de entrada */
.counter {
  animation: none;
}

.counter.animate {
  animation: countUp 2s ease-out forwards;
}

@keyframes countUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Estilos para la sección de Programa */
.day-tab {
  margin: 0 5px;
  padding: 12px 25px;
  border: 2px solid var(--uc-celeste);
  color: var(--uc-celeste);
  background-color: transparent;
  border-radius: 25px;
  transition: all 0.3s ease;
  font-weight: 500;
}

.day-tab:hover,
.day-tab.active {
  background-color: var(--uc-celeste);
  color: white;
  border-color: var(--uc-celeste);
}

.day-tab:focus {
  box-shadow: 0 0 0 0.2rem rgba(1, 118, 222, 0.25);
}

.day-content {
  display: none;
  animation: fadeIn 0.5s ease-in-out;
}

.day-content.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.day-header {
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 3px solid var(--uc-celeste);
}

.timeline-section {
  margin-bottom: 40px;
}

.timeline-title {
  color: var(--uc-azul-oscuro);
  margin-bottom: 25px;
  font-size: 1.5rem;
  font-weight: 600;
  padding: 15px 0;
  border-bottom: 2px solid var(--uc-gris-claro);
}

.timeline-title i {
  margin-right: 10px;
  color: var(--uc-celeste);
}

.timeline {
  position: relative;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--uc-celeste), var(--uc-azul));
}

.timeline-item {
  position: relative;
  margin-bottom: 25px;
  padding: 20px;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  border-left: 4px solid var(--uc-celeste);
  transition: all 0.3s ease;
}

.timeline-item:hover {
  transform: translateX(10px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -47px;
  top: 25px;
  width: 12px;
  height: 12px;
  background-color: var(--uc-celeste);
  border-radius: 50%;
  border: 3px solid white;
  box-shadow: 0 0 0 3px var(--uc-celeste);
}

.timeline-time {
  font-weight: bold;
  color: var(--uc-azul-oscuro);
  font-size: 1.1rem;
  margin-bottom: 10px;
  display: inline-block;
  background-color: var(--uc-gris-claro);
  padding: 5px 15px;
  border-radius: 15px;
}

.timeline-content h5 {
  color: var(--uc-azul-oscuro);
  margin-bottom: 10px;
  font-weight: 600;
}

.timeline-content h6 {
  color: var(--uc-celeste);
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 1.05rem;
}

.timeline-content p {
  margin-bottom: 5px;
  color: var(--uc-gris-oscuro);
  line-height: 1.5;
}

.speakers p {
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.speakers strong {
  color: var(--uc-azul-oscuro);
}

.moderators {
  font-style: italic;
  color: var(--uc-gris-oscuro);
  font-size: 0.9rem;
}

/* Estilos especiales para diferentes tipos de eventos */
.timeline-item.session-header {
  background: linear-gradient(135deg, var(--uc-celeste), var(--uc-azul));
  color: white;
  border-left: 4px solid var(--uc-amarillo);
}

.timeline-item.session-header::before {
  background-color: var(--uc-amarillo);
  box-shadow: 0 0 0 3px var(--uc-amarillo);
}

.timeline-item.session-header .timeline-time {
  background-color: rgba(255,255,255,0.2);
  color: white;
}

.timeline-item.session-header h5 {
  color: white;
  font-size: 1.3rem;
}

.timeline-item.session-header .moderators {
  color: rgba(255,255,255,0.9);
}

.timeline-item.coffee-break {
  background: linear-gradient(135deg, #8B4513, #A0522D);
  color: white;
  border-left: 4px solid var(--uc-amarillo);
}

.timeline-item.coffee-break::before {
  background-color: var(--uc-amarillo);
  box-shadow: 0 0 0 3px var(--uc-amarillo);
}

.timeline-item.coffee-break .timeline-time {
  background-color: rgba(255,255,255,0.2);
  color: white;
}

.timeline-item.coffee-break h5 {
  color: white;
}

.timeline-item.coffee-break p {
  color: rgba(255,255,255,0.9);
}

.timeline-item.lunch {
  background: linear-gradient(135deg, #228B22, #32CD32);
  color: white;
  border-left: 4px solid var(--uc-amarillo);
}

.timeline-item.lunch::before {
  background-color: var(--uc-amarillo);
  box-shadow: 0 0 0 3px var(--uc-amarillo);
}

.timeline-item.lunch .timeline-time {
  background-color: rgba(255,255,255,0.2);
  color: white;
}

.timeline-item.lunch h5 {
  color: white;
}

.timeline-item.social-event {
  background: linear-gradient(135deg, #8B008B, #BA55D3);
  color: white;
  border-left: 4px solid var(--uc-amarillo);
}

.timeline-item.social-event::before {
  background-color: var(--uc-amarillo);
  box-shadow: 0 0 0 3px var(--uc-amarillo);
}

.timeline-item.social-event .timeline-time {
  background-color: rgba(255,255,255,0.2);
  color: white;
}

.timeline-item.social-event h5 {
  color: white;
}

.timeline-item.social-event p {
  color: rgba(255,255,255,0.9);
}

.program-cta {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.02); }
  100% { transform: scale(1); }
}

/* Responsive para timeline */
@media (max-width: 768px) {
  .timeline {
    padding-left: 20px;
  }
  
  .timeline::before {
    left: 8px;
  }
  
  .timeline-item {
    padding: 15px;
    margin-bottom: 20px;
  }
  
  .timeline-item::before {
    left: -27px;
    top: 20px;
    width: 10px;
    height: 10px;
  }
  
  .timeline-time {
    font-size: 1rem;
    padding: 4px 12px;
  }
  
  .timeline-content h5 {
    font-size: 1.1rem;
  }
  
  .timeline-content h6 {
    font-size: 1rem;
  }
  
  .day-tab {
    padding: 10px 20px;
    margin: 5px 2px;
    font-size: 0.9rem;
  }
  
  .timeline-title {
    font-size: 1.3rem;
  }
}

@media (max-width: 576px) {
  .timeline-item:hover {
    transform: none;
  }
  
  .day-tab {
    display: block;
    width: 100%;
    margin: 5px 0;
  }
  
  .timeline-time {
    font-size: 0.9rem;
  }
  
  .timeline-content h5 {
    font-size: 1rem;
  }
  
  .timeline-content h6 {
    font-size: 0.95rem;
  }
  
  .timeline-content p {
    font-size: 0.9rem;
  }
}

/* Estilos para la página de Programa */
.program-banner {
  background: linear-gradient(135deg, var(--uc-azul-oscuro) 0%, var(--uc-azul) 60%, var(--uc-celeste) 100%);
  color: white;
  padding: 120px 0 80px;
  margin-top: 80px;
  position: relative;
  overflow: hidden;
}

.program-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="25" cy="25" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="75" cy="75" r="0.5" fill="rgba(255,255,255,0.05)"/></svg>') repeat;
  opacity: 0.3;
  z-index: 1;
}

.program-banner .container {
  position: relative;
  z-index: 2;
}

.program-banner-content {
  animation: fadeInLeft 1s ease-out;
}

.program-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
  color: white;
}

.program-subtitle {
  font-size: 1.5rem;
  font-weight: 300;
  margin-bottom: 20px;
  color: var(--uc-amarillo);
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.program-description {
  font-size: 1.1rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.9);
  margin-bottom: 0;
}

.program-dates {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  animation: fadeInRight 1s ease-out;
}

.date-item {
  text-align: center;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 15px;
  padding: 25px 20px;
  transition: all 0.3s ease;
}

.date-item:hover {
  transform: translateY(-5px);
  background: rgba(255,255,255,0.2);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.date-number {
  font-size: 3rem;
  font-weight: 700;
  color: white;
  line-height: 1;
  margin-bottom: 5px;
}

.date-month {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--uc-amarillo);
  margin-bottom: 5px;
}

.date-day {
  font-size: 1rem;
  color: rgba(255,255,255,0.8);
  font-weight: 300;
}

.date-separator {
  font-size: 2rem;
  color: var(--uc-amarillo);
  font-weight: 300;
}

.program-section {
  padding: 80px 0;
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Responsive para página de programa */
@media (max-width: 768px) {
  .program-banner {
    padding: 100px 0 60px;
    margin-top: 60px;
  }
  
  .program-title {
    font-size: 2.5rem;
  }
  
  .program-subtitle {
    font-size: 1.2rem;
  }
  
  .program-description {
    font-size: 1rem;
  }
  
  .program-dates {
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
  }
  
  .date-separator {
    transform: rotate(90deg);
    font-size: 1.5rem;
  }
  
  .date-item {
    padding: 20px 15px;
  }
  
  .date-number {
    font-size: 2.5rem;
  }
}

/* Footer personalizado para la página de programa */
.footer-area {
  background-color: var(--uc-azul-oscuro) !important;
  color: white !important;
  padding: 60px 0 30px !important;
}

.footer-area .footer-content {
  color: white !important;
}

.footer-area .footer-widget h4 {
  color: white !important;
  font-size: 1.25rem !important;
  margin-bottom: 20px !important;
  font-weight: 600 !important;
}

.footer-area .footer-widget p {
  color: white !important;
  opacity: 0.9 !important;
  line-height: 1.6 !important;
}

.footer-area .footer-widget ul {
  list-style: none !important;
  padding: 0 !important;
}

.footer-area .footer-widget ul li {
  margin-bottom: 10px !important;
}

.footer-area .footer-widget ul li a {
  color: white !important;
  text-decoration: none !important;
  opacity: 0.9 !important;
  transition: opacity 0.3s ease !important;
}

.footer-area .footer-widget ul li a:hover {
  opacity: 1 !important;
  color: var(--uc-celeste) !important;
}

.footer-area .social-links {
  display: flex !important;
  gap: 15px !important;
  margin-top: 10px !important;
}

.footer-area .social-link {
  display: inline-block !important;
  width: 40px !important;
  height: 40px !important;
  background-color: rgba(255, 255, 255, 0.1) !important;
  border-radius: 50% !important;
  text-align: center !important;
  line-height: 40px !important;
  color: white !important;
  font-size: 18px !important;
  transition: all 0.3s ease !important;
}

.footer-area .social-link:hover {
  background-color: var(--uc-celeste) !important;
  color: white !important;
  transform: translateY(-2px) !important;
}

.footer-area .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
  padding-top: 20px !important;
  margin-top: 30px !important;
}

.footer-area .footer-bottom p {
  margin: 0 !important;
  color: white !important;
  opacity: 0.9 !important;
  font-size: 14px !important;
}

/* Mejora contraste del bloque institucional UC en el footer */
#uc-global-footer .uc-footer_help,
#uc-global-footer .uc-footer_help * {
  color: #fff !important;
}

#uc-global-footer .uc-footer_help a {
  color: #ffe066 !important; /* Amarillo UC para enlaces */
  text-decoration: underline;
}

#uc-global-footer .uc-footer_help .uc-footer_list-title {
  color: #ffe066 !important; /* Amarillo UC para títulos */
  font-weight: bold;
}
