/* =========================================================
   ADICIONES EXCLUSIVAS PARA EL MICROSITIO DEL FORO
========================================================= */

/* Paleta extendida del evento */
:root {
  --event-gold: #d9a714;      /* El color amarillo/dorado del título del 4.º Foro */
  --event-gold-dark: #b88a0b;
  --dark-slate: #0f172a;
}

/* Ajustes de Logos en Cabecera */
.header-logo-img {
  height: 45px;
  width: auto;
  vertical-align: middle;
}

.back-to-base {
  border: 1px solid var(--primary);
  background: rgba(22, 101, 52, 0.05);
}

/* Modificaciones específicas para la sección Hero del Foro */
.hero-foro {
  min-height: 80vh !important;
  display: flex;
  align-items: center;
  text-align: center;
}

.hero-foro-header {
  max-width: 900px;
  margin: 0 auto;
}

.co-organizers {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.partner-mini-logo {
  height: 30px;
  width: auto;
  filter: brightness(0) invert(1); /* Convierte a blanco para legibilidad en fondo oscuro */
}

.partner-text {
  font-weight: 700;
  letter-spacing: 1px;
  font-size: 1.1rem;
}

.partner-divider {
  color: rgba(255, 255, 255, 0.4);
}

.foro-title-img {
  max-width: 85%;
  height: auto;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.4rem !important;
  font-weight: 600;
  color: #e8f5e9 !important;
  margin-bottom: 0.5rem;
}

.hero-date-location {
  font-size: 1.1rem;
  color: var(--accent);
  margin-bottom: 2rem;
  font-weight: 500;
}

.btn-highlight {
  background-color: var(--event-gold) !important;
  color: var(--dark-slate) !important;
  text-decoration: none;
}
.btn-highlight:hover {
  background-color: var(--event-gold-dark) !important;
}

.secondary-btn-outline {
  border: 2px solid white;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}
.secondary-btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* Contador Regresivo (Countdown) */
.countdown-container {
  margin: 2.5rem auto;
  max-width: 450px;
  background: rgba(15, 23, 42, 0.6);
  padding: 1rem 1.5rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
}

.countdown-title {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
  color: #94a3b8;
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.countdown-card {
  display: flex;
  flex-direction: column;
}

.countdown-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--event-gold);
}

.countdown-label {
  font-size: 0.75rem;
  color: #cbd5e1;
}

/* Encabezados de Sección Estratégicos */
.section-title-wrap {
  text-align: center;
  margin-bottom: 3rem;
}
.section-title-wrap h2 {
  font-size: 2.2rem;
  color: var(--primary-dark);
}
.strategic-question {
  color: var(--muted);
  font-style: italic;
  margin-top: 0.5rem;
  font-size: 1.1rem;
}

/* Línea de tiempo de la Semana */
.semana-timeline-section {
  
  padding: 4rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.week-logo-center {
  max-height: 400px;
  width: auto;
  margin-bottom: 1rem;
}

.timeline-week-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.timeline-day-card {
  background: var(--surface);
  padding: 2rem;
  border-radius: 16px;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--muted);
  position: relative;
}

.timeline-day-card.highlight-day {
  border-top-color: var(--primary);
  background: linear-gradient(180deg, #ffffff 0%, #f0fdf4 100%);
  transform: scale(1.02);
}

.day-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  margin-bottom: 1rem;
}
.yellow-bg { background-color: #fef08a; color: #713f12; }
.green-bg { background-color: #bbf7d0; color: #14532d; }

.timeline-day-card h4 {
  font-size: 1.15rem;
  color: var(--text);
  margin-bottom: 0.5rem;
}

/* Línea de Tiempo Histórica (Foros Antiguos) */
.history-timeline {
  position: relative;
  max-width: 800px;
  margin: 2rem auto 0;
  padding-left: 2rem;
  border-left: 3px solid var(--border);
}

.history-item {
  position: relative;
  margin-bottom: 2.5rem;
}

.history-year {
  position: absolute;
  left: calc(-2rem - 10px);
  background: var(--primary);
  color: white;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
}

.history-content {
  background: var(--surface);
  padding: 1.25rem;
  border-radius: 12px;
  border: 1px solid var(--border);
}

/* Bloque de Logotipos */
.sponsors-logos-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}
.sponsors-logos-wrap img {
  max-height: 50px;
  width: auto;
}
.logo-placeholder-box {
  background: #cbd5e1;
  color: #475569;
  font-weight: 800;
  padding: 1rem 2rem;
  border-radius: 8px;
  font-size: 1.2rem;
}

/* Grillas de 2 Columnas y Formularios */
.grid-2col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 3rem;
}

.microsite-form {
  margin-top: 1.5rem;
  background: var(--surface);
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid var(--border);
}

.form-group {
  margin-bottom: 1.25rem;
}
.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.form-group input {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  outline: none;
}

/* Sede y Vídeo Comunicaciones */
.video-placeholder-sede {
  background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('https://images.unsplash.com/photo-1589923188900-85dae523342b?auto=format&fit=crop&q=80&w=600') center/cover;
  height: 200px;
  border-radius: 16px;
  margin: 1.5rem 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  font-weight: 600;
  cursor: pointer;
  gap: 0.5rem;
}
.video-icon { font-size: 2.5rem; color: var(--accent); }

.direct-contact-box {
  background: #f0fdf4;
  border: 1px dashed var(--accent);
  padding: 1.25rem;
  border-radius: 12px;
}
.email-link {
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
  font-size: 1.1rem;
}
.w-100 { width: 100%; }
.text-center { text-align: center; }
/* =========================================================
   REDISEÑO DE EJES TEMÁTICOS (ESTILO EJECUTIVO/EVENTO)
========================================================= */

.efe-axes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 2rem;
  margin: 2.5rem 2.5rem;
}

.eje-card {
  background: #e2f0ef63;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Franja superior de acento */
.eje-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0.3;
  transition: opacity 0.3s ease;
}

.eje-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(22, 101, 52, 0.12);
  border-color: rgba(34, 197, 94, 0.4);
}

.eje-card:hover::before {
  opacity: 1;
}

/* Cabecera de la tarjeta (Número e Icono) */
.eje-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.eje-number {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--primary); /* Número traslúcido elegante */
  letter-spacing: -1px;
  line-height: 1;
  transition: color 0.3s ease;
}

.eje-card:hover .eje-number {
  color: var(--accent);
}

.eje-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(22, 101, 52, 0.08);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  transition: all 0.3s ease;
}

.eje-card:hover .eje-icon-wrap {
  background: var(--primary);
  color: #ffffff;
  transform: scale(1.05);
}

/* Cuerpo de la tarjeta */
.eje-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--primary-dark);
  background: #f0fdf4;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  margin-bottom: 0.75rem;
  border: 1px solid rgba(34, 197, 94, 0.2);
}

.eje-card-body h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.eje-card-body p {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.6;
}

/* Pie de la tarjeta */
.eje-card-footer {
  margin-top: 1.75rem;
  padding-top: 1rem;
  border-top: 1px dashed var(--border);
}

.strategic-prompt {
  font-size: 0.8rem;
  font-weight: 600;
  color: #475569;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.strategic-prompt i {
  color: var(--event-gold);
}

.hero-gallery{
  width:100%;
}

.heroSwiper{
  width:100%;
  height:600px;
}

.swiper-slide{
  overflow:hidden;
}

.swiper-slide img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

/* Flechas */

.swiper-button-next,
.swiper-button-prev{

  color:white;

  width:55px;
  height:55px;

  background:rgba(0,0,0,.35);

  border-radius:50%;

  backdrop-filter:blur(8px);

  transition:.3s;
}

.swiper-button-next:hover,
.swiper-button-prev:hover{

  background:rgba(0,0,0,.55);

}

.swiper-button-next::after,
.swiper-button-prev::after{

  font-size:20px;
  font-weight:bold;

}

/* Indicadores */

.swiper-pagination-bullet{

  width:12px;
  height:12px;

  background:white;
  opacity:.5;

}

.swiper-pagination-bullet-active{

  opacity:1;

}

/* Responsive */

@media(max-width:768px){

  .heroSwiper{

      height:350px;

  }

}