/* ===================================
   ECAIM 2026 - ESTILOS PRINCIPALES
   =================================== */
:root {
  --primary: #0A2210;
  --primary-light: #144223;
  --secondary: #ffffff;
  --accent: #D4AF37;
  --time-bg: #1A5C3E;
  --text-dark: #111111;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body { 
  font-family: 'Open Sans', sans-serif; 
  line-height: 1.6; 
  color: var(--text-dark); 
  background-color: var(--primary);
}

h1, h2, h3, h4 { font-family: 'Montserrat', sans-serif; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
a { text-decoration: none; transition: all 0.3s ease; }

/* === HERO SECTION (Banner Fluido) === */
.hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: var(--primary);
  line-height: 0;
}
.hero-img-fluid {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: top center;
}

/* === SECCIONES GENERALES === */
section { padding: 80px 0; position: relative; }
.section-white { background: var(--secondary); }
.section-green {
  background: linear-gradient(180deg, var(--primary-light) 0%, var(--primary) 100%);
  color: var(--secondary);
}

.section-title {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 50px;
  position: relative;
  display: inline-block;
  width: 100%;
}
.section-white .section-title { color: var(--primary); }
.section-green .section-title { color: var(--secondary); }
.section-title::after {
  content: ''; display: block; width: 60px; height: 4px;
  background: var(--accent); margin: 15px auto 0; border-radius: 2px;
}

/* ===================================
   MARCO UNIFICADO (Intro + Objetivos)
   =================================== */
.brochure-unified-wrapper {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: 3px;
  border-radius: 24px;
  background: linear-gradient(135deg, #00e0b5 0%, #00b4d8 100%);
  box-shadow: 0 15px 50px rgba(0, 212, 170, 0.2);
}

.brochure-unified-content {
  background: linear-gradient(135deg, #0b2a14 0%, #051209 100%);
  border-radius: 21px;
  padding: 50px 40px;
  position: relative;
  overflow: hidden;
}

.brochure-unified-content::before {
  content: ''; position: absolute;
  top: -20%; right: -10%; width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(0, 180, 216, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.section-label-unified {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5rem; font-weight: 800;
  color: white; margin-bottom: 30px;
  padding-left: 15px; border-left: 4px solid #00d4aa;
  letter-spacing: 1px; text-transform: uppercase;
}

.intro-text-unified {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.08rem; line-height: 1.9;
  margin-bottom: 20px; text-align: left;
}
.intro-text-unified strong { color: #00e0b5; font-weight: 700; }

.unified-divider {
  width: 100%; height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 50px 0;
}

/* === OBJETIVOS (Minimalistas Cyan) === */
.objectives-container {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 20px;
  max-width: 1000px; margin: 0 auto;
}

.obj-card-minimal {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(0, 224, 181, 0.3);
  border-radius: 12px;
  padding: 25px;
  width: calc(33.333% - 14px);
  min-width: 260px;
  flex: 0 0 calc(33.333% - 14px);
  transition: all 0.3s ease;
}

.obj-card-minimal:hover {
  background: rgba(0, 224, 181, 0.1);
  border-color: #00e0b5;
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 212, 170, 0.15);
}

.obj-card-minimal h3 {
  color: #00e0b5; margin-bottom: 10px; font-size: 1.1rem;
  font-weight: 700; display: flex; align-items: center; gap: 8px;
}

.obj-card-minimal p {
  color: rgba(255, 255, 255, 0.85); line-height: 1.6; font-size: 0.95rem;
}

/* ===================================
   SECCIÓN DIRIGIDO A (Fondo Blanco + Marco Cyan)
   =================================== */
.section-white-brochure {
  background: var(--secondary);
  padding: 80px 0;
  display: flex; flex-direction: column; align-items: center;
}

.brochure-wrapper-white {
  width: 100%; max-width: 1100px;
  padding: 3px; border-radius: 24px;
  background: linear-gradient(135deg, #00e0b5 0%, #00b4d8 100%);
  box-shadow: 0 10px 40px rgba(0, 212, 170, 0.15);
  margin: 0 auto;
}

.brochure-inner-white {
  background: #ffffff;
  border-radius: 21px;
  padding: 50px 40px;
  position: relative; overflow: hidden;
}

.brochure-label-dark {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5rem; font-weight: 800;
  color: var(--primary); margin-bottom: 40px;
  padding-left: 15px; border-left: 4px solid #00d4aa;
  letter-spacing: 1px; text-transform: uppercase;
}

.target-container {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 20px;
  max-width: 1100px; margin: 0 auto;
}

.target-card-minimal {
  background: rgba(0, 224, 181, 0.05);
  border: 1px solid rgba(0, 224, 181, 0.4);
  border-radius: 12px;
  padding: 25px;
  width: calc(33.333% - 14px);
  min-width: 260px;
  flex: 0 0 calc(33.333% - 14px);
  transition: all 0.3s ease;
}

.target-card-minimal:hover {
  background: rgba(0, 224, 181, 0.12);
  border-color: #00e0b5;
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 212, 170, 0.15);
}

.target-card-minimal h4 {
  color: #00b4d8; margin-bottom: 10px; font-size: 1.1rem;
  display: flex; align-items: center; gap: 8px; font-weight: 700;
}

.target-card-minimal p {
  color: #555; line-height: 1.6; font-size: 0.9rem;
}

/* === PROGRAMA === */
/* .program-container { max-width: 900px; margin: 0 auto; }
.tabs { display: flex; justify-content: center; gap: 15px; margin-bottom: 40px; }
.tab-btn {
  padding: 12px 35px; background: rgba(255,255,255,0.1); color: #fff;
  border: 2px solid rgba(255,255,255,0.3); border-radius: 50px;
  font-weight: 700; cursor: pointer; transition: 0.3s;
}
.tab-btn.active { background: var(--accent); color: var(--primary); border-color: var(--accent); }
.tab-btn:hover:not(.active) { background: rgba(255,255,255,0.2); }

.schedule-list { display: flex; flex-direction: column; gap: 15px; }
.session {
  background: rgba(255,255,255,0.95); color: var(--primary);
  padding: 22px 25px; border-radius: 12px; display: flex; gap: 20px; align-items: flex-start;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05); border-left: 5px solid transparent; transition: all 0.3s ease;
}
.session:hover { border-left-color: var(--accent); transform: translateX(5px); box-shadow: 0 6px 20px rgba(0,0,0,0.1); }

.time-box {
  background: var(--time-bg); color: #ffffff; padding: 10px 18px; border-radius: 10px;
  font-weight: 800; font-size: 1.3rem; font-family: 'Montserrat', sans-serif;
  min-width: 85px; text-align: center; letter-spacing: 0.5px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.2); flex-shrink: 0;
}
.session-content h4 { color: var(--primary); font-size: 1.05rem; margin-bottom: 6px; font-weight: 700; line-height: 1.4; }
.session-content p { font-size: 0.9rem; color: #555; margin-bottom: 5px; line-height: 1.5; }
.speaker { color: var(--primary-light); font-style: italic; font-weight: 600; display: block; margin-top: 8px; font-size: 0.88rem; line-height: 1.5; }
.speaker img.flag-icon { width: 20px; height: auto; margin-right: 6px; vertical-align: middle; border-radius: 2px; box-shadow: 0 1px 3px rgba(0,0,0,0.2); }
.session.break { background: rgba(255,255,255,0.15); color: #fff; border-left: 5px solid var(--accent); }
.session.break h4 { color: #fff; font-size: 1rem; } */

/* === INVERSIÓN === */
.pricing-container {
  display: flex; justify-content: center; align-items: stretch; flex-wrap: wrap;
  gap: 20px; max-width: 1200px; margin: 0 auto;
}
.pricing-card {
  background: var(--secondary); color: var(--primary); padding: 30px 25px;
  border-radius: 15px; text-align: center; border: 2px solid transparent;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08); width: 240px; flex: 0 0 auto;
  transition: all 0.3s ease; position: relative; overflow: hidden;
}
.pricing-card::before {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--accent), #f39c12);
}
.pricing-card:hover { transform: translateY(-8px); box-shadow: 0 12px 35px rgba(0,0,0,0.15); border-color: var(--accent); }
.pricing-icon {
  width: 64px; height: 64px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px; box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}
.pricing-card h3 { font-size: 0.95rem; margin-bottom: 20px; font-weight: 600; line-height: 1.4; min-height: 42px; display: flex; align-items: center; justify-content: center; color: var(--primary); }
.price-amount { font-size: 2.8rem; font-weight: 800; color: var(--primary); margin: 15px 0; line-height: 1; }
.price-note { font-size: 0.85rem; color: #888; margin-top: 5px; font-weight: 500; }

/* === CUENTAS BANCARIAS === 
.bank-accounts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; max-width: 900px; margin: 0 auto; }
.bank-card {
  background: #f8f9fa; border: 1px solid #e9ecef; border-radius: 12px; padding: 25px;
  transition: all 0.3s ease; border-top: 4px solid var(--primary);
}
.bank-card:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,0.1); border-top-color: var(--accent); }
.bank-card h4 { color: var(--primary); font-size: 1.2rem; margin-bottom: 15px; padding-bottom: 10px; border-bottom: 2px solid #eee; }
.bank-details p { margin-bottom: 8px; font-size: 0.95rem; color: #444; }
.bank-details strong { color: var(--primary); } */

/* === CONTACTO WHATSAPP === 
.contact-whatsapp-section {
  text-align: center; margin-top: 60px; padding: 40px;
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%); border-radius: 15px;
}
.contact-whatsapp-section h3 { color: var(--primary); font-size: 1.8rem; margin-bottom: 15px; }
.whatsapp-buttons { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; margin-top: 25px; }
.btn-whatsapp {
  display: inline-flex; align-items: center; gap: 10px; background: #25D366; color: white;
  padding: 12px 25px; border-radius: 50px; font-weight: 700; font-size: 1rem;
  text-decoration: none; transition: all 0.3s ease; box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}
.btn-whatsapp:hover { background: #128C7E; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5); }
.btn-whatsapp.secondary { background: #128C7E; }
.btn-whatsapp.secondary:hover { background: #075E54; } */

/* ===================================
   1. PESTAÑAS DEL PROGRAMA (Tabs)
   =================================== */
.tabs { 
  display: flex; 
  justify-content: center; 
  gap: 20px; 
  margin-bottom: 40px; 
}

.tab-btn {
  padding: 12px 35px;
  background: transparent;
  color: #00e0b5; /* Texto Cyan */
  border: 2px solid #00e0b5; /* Borde Cyan */
  border-radius: 50px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Montserrat', sans-serif;
}

.tab-btn:hover:not(.active) {
  background: rgba(0, 224, 181, 0.1);
}

.tab-btn.active {
  background: linear-gradient(135deg, #00e0b5 0%, #00b4d8 100%); /* Fondo Degradado Cyan */
  color: #ffffff; 
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(0, 224, 181, 0.4);
}

/* ===================================
   2. LISTA DE SESIONES (Layout Vertical)
   =================================== */
/* Esto arregla el desorden del Viernes 12 */
.schedule-list {
  display: flex;
  flex-direction: column; /* Fuerza lista vertical */
  gap: 15px;
  width: 100%;
}

.session {
  background: #ffffff;
  color: var(--primary);
  padding: 20px 25px;
  border-radius: 12px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  border-left: 5px solid transparent;
  transition: all 0.3s ease;
  
  /* Asegura que la tarjeta ocupe todo el ancho y no se ponga al lado de otra */
  width: 100%; 
  flex: 1 1 100%; 
  box-sizing: border-box;
}

.session:hover {
  border-left-color: #00e0b5; /* Borde Cyan al pasar el mouse */
  transform: translateX(5px);
  box-shadow: 0 6px 20px rgba(0, 224, 181, 0.15);
}

/* ===================================
   3. CAJA DE HORA (Time Box)
   =================================== */
.time-box {
  background: linear-gradient(135deg, #00e0b5 0%, #00b4d8 100%);
  color: #ffffff;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 800;
  font-size: 1.1rem;
  font-family: 'Montserrat', sans-serif;
  min-width: 70px;
  text-align: center;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(0, 224, 181, 0.3);
  flex-shrink: 0; /* Evita que la hora se encoja */
}

/* ===================================
   4. CONTENIDO Y BANDERAS (Alineación Perfecta)
   =================================== */
.session-content {
  flex: 1; /* Ocupa el resto del espacio */
}

.session-content h4 {
  color: var(--primary);
  font-size: 1.05rem;
  margin-bottom: 6px;
  font-weight: 700;
  line-height: 1.3;
}

.session-content p {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 8px;
  line-height: 1.5;
}

/* Clase para el bloque del ponente (BANDERA + NOMBRE) */
.speaker {
  display: inline-flex; /* Usar flex aquí es CLAVE para la separación */
  align-items: center;  /* Centra la bandera verticalmente con el texto */
  gap: 10px;            /* Espacio exacto entre bandera y nombre */
  
  color: #1A5C2E;
  font-style: italic;
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: 5px;
}

/* Imagen de la bandera */
.speaker img.flag-icon {
  width: 20px;      /* Tamaño pequeño y controlado */
  height: auto;     /* Mantiene proporción */
  border-radius: 3px; /* Bordes ligeramente redondeados */
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  flex-shrink: 0;   /* Impide que la bandera se aplaste */
}

/* Responsive: En móviles, la hora se pone arriba */
@media (max-width: 768px) {
  .session { 
    flex-direction: column; 
    gap: 12px; 
  }
  .time-box { width: fit-content; }
  .schedule-list { gap: 20px; }
}

/* ===================================
   CUENTAS PARA DEPÓSITO - Diseño Mejorado
   =================================== */

/* Título de sección */
.bank-section-title {
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 50px;
  position: relative;
}

.bank-section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #00e0b5, #00b4d8);
  margin: 15px auto 0;
  border-radius: 2px;
}

/* Grid de cuentas */
.bank-accounts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

/* Tarjeta de cuenta */
.bank-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 35px 30px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 2px solid rgba(0, 224, 181, 0.2);
  box-shadow: 0 5px 20px rgba(0, 224, 181, 0.1);
}

/* Franja superior degradada */
.bank-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, #00e0b5 0%, #00b4d8 100%);
}

.bank-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 224, 181, 0.25);
  border-color: #00e0b5;
}

/* Icono de moneda */
.bank-card-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
  font-weight: 700;
}

.bank-card-icon.soles {
  background: linear-gradient(135deg, #00e0b5, #00b4d8);
  color: white;
}

.bank-card-icon.dolares {
  background: linear-gradient(135deg, #00b4d8, #008fb3);
  color: white;
}

/* Título de la tarjeta */
.bank-card h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 2px solid rgba(0, 224, 181, 0.2);
}

/* Detalles de la cuenta */
.bank-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bank-detail-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.bank-detail-label {
  font-size: 0.85rem;
  color: #888;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.bank-detail-value {
  font-size: 1rem;
  color: var(--primary);
  font-weight: 600;
  font-family: 'Courier New', monospace;
  background: rgba(0, 224, 181, 0.05);
  padding: 8px 12px;
  border-radius: 6px;
  border-left: 3px solid #00e0b5;
}

/* Separador */
.bank-divider {
  margin: 20px 0;
  border: none;
  border-top: 2px dashed rgba(0, 224, 181, 0.2);
}

/* Cuenta de detracción destacada */
.bank-detraccion {
  margin-top: 15px;
  padding: 15px;
  background: rgba(0, 224, 181, 0.08);
  border-radius: 8px;
  border-left: 4px solid #00e0b5;
}

.bank-detraccion .bank-detail-label {
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 5px;
}

.bank-detraccion .bank-detail-value {
  background: transparent;
  border-left: none;
  padding: 0;
  font-family: 'Open Sans', sans-serif;
  font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
  .bank-accounts-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .bank-card {
    padding: 25px 20px;
  }
  
  .bank-section-title {
    font-size: 1.6rem;
  }
}

/* ===================================
   5. SECCIÓN CONTACTO / WHATSAPP - Fondo Cyan Suave
   =================================== */
.contact-whatsapp-section {
  text-align: center;
  margin-top: 60px;
  padding: 40px;
  /* Fondo degradado Cyan muy suave */
  background: linear-gradient(135deg, #e6fffa 0%, #e0f2f1 100%);
  border: 1px solid rgba(0, 224, 181, 0.2);
  border-radius: 15px;
}

.contact-whatsapp-section h3 { color: var(--primary); font-size: 1.8rem; margin-bottom: 15px; }
.whatsapp-buttons { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; margin-top: 25px; }

/* Botones WhatsApp (Mantenemos verde para identidad de marca, pero sombra Cyan) */
.btn-whatsapp {
  display: inline-flex; align-items: center; gap: 10px;
  background: #25D366; color: white;
  padding: 12px 25px; border-radius: 50px;
  font-weight: 700; font-size: 1rem;
  text-decoration: none; transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 224, 181, 0.3); /* Sombra unificada */
}

.btn-whatsapp:hover {
  background: #128C7E;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 224, 181, 0.5);
}

.btn-whatsapp.secondary { background: #128C7E; }
.btn-whatsapp.secondary:hover { background: #075E54; }

/* Responsive para móviles */
@media (max-width: 768px) {
  .bank-accounts-grid { grid-template-columns: 1fr; gap: 20px; }
}



/* === FOOTER === */
footer { background: #030a05; color: #fff; padding: 60px 0 30px; text-align: center; border-top: 1px solid rgba(255,255,255,0.1); }
.footer-logos { display: flex; justify-content: center; gap: 30px; margin-bottom: 30px; }
.footer-logos img { height: 35px; opacity: 0.6; }

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .hero-img-fluid { object-position: center center; }
}

@media (max-width: 768px) {
  .brochure-unified-content, .brochure-inner-white { padding: 35px 20px; }
  .section-label-unified, .brochure-label-dark { font-size: 1.3rem; }
  
  .obj-card-minimal, .target-card-minimal { width: 100%; flex: 0 0 100%; }
  
  .session { flex-direction: column; gap: 12px; }
  .time-box { width: fit-content; }
  
  .bank-accounts-grid { grid-template-columns: 1fr; gap: 20px; }
  .whatsapp-buttons { flex-direction: column; align-items: center; }
  .btn-whatsapp { width: 100%; max-width: 300px; justify-content: center; }
  .pricing-card { width: 100%; max-width: 280px; padding: 25px 20px; }
}

@media (max-width: 480px) {
  .pricing-card { width: 100%; }
  .price-amount { font-size: 2rem; }
}

/* ===================================
   EVENTOS Y DESCANSOS (Networking, Almuerzo, Clausura, etc.)
   =================================== */
.session-event {
  background: linear-gradient(135deg, rgba(0, 224, 179, 0.363) 0%, rgba(0, 180, 216, 0.05) 100%);
  border-left: 4px dashed #00b4d8; /* Línea punteada cyan */
}

.session-event:hover {
  background: linear-gradient(135deg, rgba(0, 224, 181, 0.15) 0%, rgba(0, 180, 216, 0.1) 100%);
  border-left-color: #00e0b5;
  transform: translateX(3px);
}

.session-event .time-box {
  background: linear-gradient(135deg, #00b4d8, #008fb3); /* Degradado cyan sólido */
  color: #ffffff;
}

.session-event h4 {
  color: #ffffff; /* Título en tono cyan oscuro para contraste */
  font-weight: 800;
  letter-spacing: 0.5px;
}

/* ===================================
   LISTA DE PONENTES (Separación vertical)
   =================================== */
.speakers-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}

.speaker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--primary);
  font-style: italic;
  font-weight: 600;
  font-size: 0.9rem;
}

.speaker img.flag-icon {
  width: 20px;
  height: auto;
  border-radius: 3px;
  flex-shrink: 0;
}