/* ======================
VARIABLES GLOBALES ACTUALIZADAS
====================== */
:root {
  --blue-dark: #273f85;
  --blue-light: #27edf6;
  --yellow: #ffff00;
  --red: #f03535;
  --silver: #c0c0c0;
  --silver-light: #e8e8e8;
  --silver-dark: #a0a0a0;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.12);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.16);
  --shadow-lg: 0 10px 20px rgba(0,0,0,0.19);
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);

  /* Mejoras de accesibilidad */
  --font-size-base: 18px;
  --line-height-base: 1.7;
  --font-family-primary: 'Arial', sans-serif;
  
  /* Espaciados unificados */
  --section-padding: 80px 0;
  --section-padding-lg: 100px 0;
  --element-margin: 1.5rem;
  --title-margin: 2rem;
}

/* ======================
ESTILOS GENERALES MEJORADOS
====================== */
body {
  font-family: var(--font-family-primary);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  color: #333;
  overflow-x: hidden;
}

/* Mejoras de contraste y legibilidad */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: var(--element-margin);
}

p, li {
  margin-bottom: 1rem;
}

/* ======================
HEADER Y NAVEGACIÓN
====================== */
/* Navbar - Estado inicial (transparente) */
.navbar {
  background: transparent !important;
  transition: all 0.3s ease-in-out !important;
  padding: 5px 0 !important;
}

/* Navbar - Estado scrolled (azul sólido) */
.navbar.scrolled,
.navbar.fixed-top.scrolled,
.bg-dark.scrolled {
  background: var(--blue-dark) !important;
  padding: 5px 0 !important;
  box-shadow: var(--shadow-sm) !important;
}

.navbar-brand img {
  transition: var(--transition);
}

.navbar.scrolled .navbar-brand img {
  /*height: 40px;*/
}

.nav-link {
  font-weight: 500;
  padding: 10px 18px !important;
  border-radius: 4px;
  transition: var(--transition);
  color: white !important;
  font-size: 1.1rem;
}

.nav-link:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

/* ======================
SECCIÓN HERO
====================== */
.hero-section {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--silver-light) 100%);
  color: white;
  padding: var(--section-padding-lg);
  position: relative;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-image {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
  transform: translateZ(0);
  animation: float 6s ease-in-out infinite;
}

.hero-image:hover {
  transform: scale(1.02) translateZ(0);
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}

/* ESTILO MEJORADO PARA RESALTADO DE PALABRAS */
.text-highlight {
  background-color: var(--blue-dark);
  color: white;
  padding: 0.1em 0.3em;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
  display: inline-block;
  transform: rotate(-1deg);
  position: relative;
}

.text-highlight::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(255,255,255,0.1) 100%);
  border-radius: 4px;
  pointer-events: none;
}

.btn-accesible {
  font-size: 1.2rem;
  padding: 14px 28px;
  background-color: var(--blue-dark);
  color: white;
  border: 2px solid var(--blue-dark);
  border-radius: 8px;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  font-weight: 600;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  margin-top: var(--element-margin);
}

.btn-accesible:hover {
  background-color: var(--silver);
  color: var(--blue-dark);
  transform: translateY(-3px) scale(1.05);
  box-shadow: var(--shadow-md);
}

.btn-accesible:after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: var(--transition);
}

.btn-accesible:hover:after {
  left: 100%;
}


.btn-accesible-2 {
  font-size: 1.2rem;
  padding: 14px 28px;
  background-color: #ffffff;
  color: var(--blue-dark);
  border: 2px solid #ffffff;
  border-radius: 8px;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  font-weight: 600;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  margin-top: var(--element-margin);
}

.btn-accesible-2:hover {
  background-color: var(--silver);
  color: var(--blue-dark);
  transform: translateY(-3px) scale(1.05);
  box-shadow: var(--shadow-md);
  border: 4px solid var(--silver);
}

.btn-accesible-2:after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: var(--transition);
}

.btn-accesible-2:hover:after {
  left: 100%;
}

/* ======================
SECCIÓN DESCRIPCIÓN
====================== */
.descripcion-section {
  padding: var(--section-padding);
  background: white;
  position: relative;
}

.descripcion-section p {
  font-size: 1.2rem;
  color: var(--blue-dark);
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}

/* ======================
SECCIÓN COMITÉ TÉCNICO
====================== */
#comite-tecnico {
  background-color: #f8f9fa;
  padding: var(--section-padding-lg);
}

#comite-tecnico .card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 10px;
  margin: 0 10px;
}

#comite-tecnico .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
}

#comite-tecnico .card-img-top {
  border-radius: 10px 10px 0 0;
  height: 250px;
  object-fit: cover;
  cursor: pointer;
}

.carousel-control-prev, 
.carousel-control-next {
  width: 5%;
  opacity: 1;
}

.carousel-control-prev-icon, 
.carousel-control-next-icon {
  background-color: rgba(0,0,0,0.3);
  border-radius: 50%;
  padding: 15px;
  background-size: 60%;
}

/* MEJORA: ESPACIADO UNIFICADO PARA TÍTULOS Y BOTONES */
.section-header {
  margin-bottom: var(--title-margin);
  text-align: center;
}

.section-header h2 {
  margin-bottom: 1rem;
}

.section-header p {
  margin-bottom: 1.5rem;
}

.section-button {
  margin-top: 2rem;
  text-align: center;
}

/* ======================
MODAL BIOGRAFÍAS
====================== */
.bio-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.95);
  z-index: 1100;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s;
}

.bio-modal-content {
  background: white;
  width: 90%;
  max-width: 800px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  animation: slideUp 0.4s;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.bio-modal-img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.bio-modal-text {
  padding: 30px;
}

.bio-modal-text h3 {
  color: var(--blue-dark);
  margin-bottom: 5px;
  font-weight: 700;
  font-size: 1.8rem;
}

.bio-modal-text .title {
  color: var(--red);
  font-weight: 600;
  margin-bottom: 20px;
  display: block;
  font-size: 1.1rem;
}

.bio-modal-text p {
  line-height: 1.8;
  color: #555;
}

.close-modal {
  position: absolute;
  top: 20px;
  right: 20px;
  color: white;
  background: var(--red);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  border: none;
  font-size: 1.5rem;
  transition: var(--transition);
}

.close-modal:hover {
  transform: rotate(90deg);
  background: #d63030;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* ======================
SECCIÓN FAQ
====================== */
.faq-section {
  padding: var(--section-padding);
  color: white;
  position: relative;
}

.faq-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.faq-header {
  text-align: center;
  margin-bottom: 50px;
}

.faq-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: white;
  position: relative;
  display: inline-block;
}

.faq-header p {
  font-size: 1.2rem;
  opacity: 0.9;
  max-width: 700px;
  margin: 0 auto;
}

.accordion {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.accordion-item {
  border-bottom: 1px solid #ddd;
}

.accordion-item:last-child {
  border-bottom: none;
}

.accordion-button {
  width: 100%;
  padding: 25px;
  text-align: left;
  background: #f8f9fa;
  border: none;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--blue-dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: var(--transition);
  position: relative;
}

.accordion-button:not(.collapsed) {
  background: white;
  color: var(--blue-dark);
  box-shadow: none;
}

.accordion-button:hover {
  background: #e9ecef;
}

.accordion-icon {
  margin-right: 15px;
  color: var(--blue-dark);
  font-size: 1.2rem;
  min-width: 24px;
  text-align: center;
}

.accordion-body {
  padding: 25px;
  background: white;
  font-size: 1.1rem;
  line-height: 1.7;
  color: #555;
}

.accordion-body ul {
  padding-left: 20px;
}

.accordion-body li {
  margin-bottom: 10px;
}

/* ======================
SECCIÓN CTA
====================== */
.cta-section {
  padding: var(--section-padding-lg);
  color: white;
  position: relative;
  overflow: hidden;
}

.cta-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.cta-badge {
  display: inline-flex;
  width: 100px;
  height: 100px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
  border: 2px solid rgba(192, 192, 192, 0.3);
  animation: pulse 2s infinite;
}

.cta-badge i {
  font-size: 2.5rem;
  color: var(--silver);
  text-shadow: 0 0 10px rgba(192, 192, 192, 0.5);
}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(192, 192, 192, 0.4);
  }
  50% {
    transform: scale(1.1);
    box-shadow: 0 0 0 10px rgba(192, 192, 192, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(192, 192, 192, 0);
  }
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: white;
}

.cta-title span {
  color: var(--silver);
  position: relative;
}

.cta-description {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 40px;
  opacity: 0.9;
  line-height: 1.6;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
}

.cta-button {
  display: inline-block;
  background: white;
  color: var(--blue-dark);
  padding: 15px 40px;
  border-radius: 50px;
  font-size: 1.2rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: var(--shadow-md);
  border: 2px solid white;
}

.cta-button:hover {
  background: transparent;
  color: white;
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.cta-button-secondary {
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,0.5);
}

.cta-button-secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: white;
}

.wave-divider {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.wave-divider svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 60px;
}

.wave-divider .shape-fill {
  fill: #FFFFFF;
}

/* ======================
SECCIÓN GALERÍA
====================== */
.galeria-grid-3x3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 8px;
  width: 100%;
}

.galeria-item {
  aspect-ratio: 1/1;
  overflow: hidden;
  position: relative;
}

.galeria-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.galeria-item:hover img {
  transform: scale(1.05);
}

.galeria-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.3);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.galeria-item:hover::after {
  opacity: 1;
}

@media (max-width: 575.98px) {
  .galeria-grid-3x3 {
    gap: 4px;
  }
}

/* ======================
MODAL GALERÍA
====================== */
.galeria-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.95);
  z-index: 1100;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s;
}

.modal-contenido {
  position: relative;
  width: 90%;
  max-width: 900px;
  animation: slideUp 0.4s;
}

#modal-imagen {
  width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 5px 30px rgba(0,0,0,0.3);
}

.modal-info {
  color: white;
  text-align: center;
  padding: 20px 0;
  font-size: 1.1rem;
}

.nav-modal {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.3);
  color: white;
  border: none;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.nav-modal:hover {
  background: rgba(255,255,255,0.5);
  transform: translateY(-50%) scale(1.1);
}

.nav-modal.prev {
  left: -80px;
}

.nav-modal.next {
  right: -80px;
}

.cerrar-modal {
  position: absolute;
  top: 40px;
  right: 40px;
  color: white;
  font-size: 40px;
  cursor: pointer;
  z-index: 2;
  transition: var(--transition);
  opacity: 0.8;
  background: none;
  border: none;
}

.cerrar-modal:hover {
  opacity: 1;
  transform: rotate(90deg);
}

/* ======================
FOOTER
====================== */
.footer-premium {
  background: var(--blue-dark);
  color: white;
  position: relative;
  overflow: hidden;
  font-family: 'Arial', sans-serif;
}

.footer-title {
  color: var(--silver);
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 10px;
}

.footer-title:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--red);
}

.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-list li {
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
  line-height: 1.6;
}

.footer-list i {
  color: var(--silver);
  margin-right: 10px;
  margin-top: 3px;
}

.footer-list a {
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-list a:hover {
  color: white;
  text-decoration: underline;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: white;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background: var(--silver);
  color: var(--blue-dark);
  transform: translateY(-3px);
}

.footer-bottom {
  background: #000000;
  border-top: 1px solid #000000;
}

.footer-links {
  margin: 0;
}

.footer-links a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: white;
}

.footer-copyright {
  font-size: 0.9rem;
  opacity: 0.8;
  color: rgba(255,255,255,0.7);
}

.footer-copyright span {
  color: var(--silver);
}

/* Responsive */
@media (max-width: 767.98px) {
  .footer-title {
    margin-top: 1.5rem;
  }

  .footer-social {
    justify-content: flex-start;
  }
}

/* ======================
BOTÓN WHATSAPP
====================== */
.whatsapp-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 5px 20px rgba(18, 140, 126, 0.3);
  z-index: 1000;
  transition: all 0.3s;
  text-decoration: none;
}

.whatsapp-btn:hover {
  transform: scale(1.1) translateY(-5px);
  color: white;
  box-shadow: 0 8px 25px rgba(18, 140, 126, 0.4);
}

.whatsapp-text {
  position: absolute;
  right: 70px;
  white-space: nowrap;
  background: white;
  color: #075E54;
  padding: 8px 15px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  opacity: 0;
  transition: all 0.3s;
}

.whatsapp-btn:hover .whatsapp-text {
  opacity: 1;
  right: 80px;
}

/* ======================
CARRUSEL EQUIPO
====================== */
.team-carousel-wrapper {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  overflow: hidden;
}

.team-carousel {
  display: flex;
  transition: transform 0.5s ease;
  will-change: transform;
  padding: 10px 0;
}

.team-member {
  flex: 0 0 calc(25% - 24px);
  margin: 0 12px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.team-member:hover {
  transform: translateY(-5px);
}

.member-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.12);
  height: 100%;
}

.member-photo {
  width: 100%;
  height: 0;
  padding-bottom: 100%;
  position: relative;
  overflow: hidden;
}

.member-photo img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s;
}

.member-info {
  padding: 20px;
  text-align: center;
}

.member-info h5 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--blue-dark);
  margin-bottom: 5px;
}

.member-info p {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 0;
}

.carousel-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: white;
  color: #273f85;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.12);
  font-size: 1.2rem;
  z-index: 10;
}

.carousel-nav-btn:hover {
  background: #f03535;
  color: white;
  transform: translateY(-50%) scale(1.1);
}

.carousel-nav-btn.prev {
  left: 0;
}

.carousel-nav-btn.next {
  right: 0;
}

/* ======================
SECCIÓN PRESENTACIÓN
====================== */
.bg-light-blue {
  background-color: #f0f7ff;
}

.text-dark-blue {
  color: #273f85;
}

.bg-yellow {
  background-color: var(--yellow) !important;
}

.siltur-presentation {
  position: relative;
  overflow: hidden;
  padding: var(--section-padding);
}

.feature-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.siltur-features .feature-item {
  transition: transform 0.3s ease;
}

.siltur-features .feature-item:hover {
  transform: translateX(5px);
}

.feature-icon.bg-yellow {
  background-color: var(--yellow) !important;
  color: var(--blue-dark);
}

/* ======================
ESTILOS CONTACTO
====================== */
.contact-hero {
  background: var(--blue-dark) !important;
  color: white;
  padding: 80px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.contact-hero h1 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 15px;
  animation: fadeInDown 0.8s ease;
}

.contact-hero .lead {
  font-size: 1.3rem;
  max-width: 700px;
  margin: 0 auto;
  opacity: 0.9;
  animation: fadeIn 1s ease 0.3s forwards;
  opacity: 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
}

.contact-card {
  background: white;
  border-radius: 12px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

.contact-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 25px;
  background: var(--blue-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-dark);
  font-size: 2rem;
}

.contact-card h3 {
  color: var(--blue-dark);
  margin-bottom: 20px;
  font-weight: 600;
}

.contact-info {
  color: #555;
  line-height: 1.8;
}

.contact-info a {
  color: var(--blue-dark);
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-info a:hover {
  color: var(--red);
  text-decoration: underline;
}

.email-btn {
  display: inline-block;
  margin-top: 20px;
  background: var(--blue-dark);
  color: white;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid var(--blue-dark);
}

.email-btn:hover {
  background: transparent;
  color: var(--blue-dark);
  transform: translateY(-3px);
}

/* ======================
ESTILOS REQUISITOS
====================== */
.requirements-hero {
  background: var(--blue-dark) !important;
  color: white;
  padding: 50px 0 70px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.requirements-hero h1 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 15px;
  animation: fadeInDown 0.8s ease;
}

.requirements-hero .lead {
  font-size: 1.3rem;
  max-width: 800px;
  margin: 0 auto;
  opacity: 0.9;
  animation: fadeIn 1s ease 0.3s forwards;
  opacity: 0;
}

.requirements-container {
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
}

.requirements-accordion .accordion-item {
  border: none;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}

.requirements-accordion .accordion-header {
  background: var(--blue-dark);
}

.requirements-accordion .accordion-button {
  color: white;
  font-weight: 600;
  padding: 20px 25px;
  background-color: var(--blue-dark);
}

.requirements-accordion .accordion-button:not(.collapsed) {
  background-color: var(--blue-dark);
  color: white;
}

.requirements-accordion .accordion-button:focus {
  box-shadow: none;
}

.requirements-accordion .accordion-body {
  padding: 25px;
  background: #f9f9f9;
}

.requirements-accordion .requirement-list {
  list-style-type: none;
  padding-left: 0;
}

.requirements-accordion .requirement-list li {
  padding: 8px 0;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: flex-start;
}

.requirements-accordion .requirement-list li:before {
  content: "•";
  color: var(--silver);
  font-weight: bold;
  display: inline-block;
  width: 1em;
  margin-right: 10px;
}



/* ======================
ESTILOS CAPACITACIONES
====================== */
/* ======================
   ESTILOS CAPACITACIONES
   ====================== */
.trainings-hero {
  background: var(--blue-dark) !important;
  color: white;
  padding: 100px 0 70px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.trainings-hero h1 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 15px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.2);
  animation: fadeInDown 0.8s ease;
}

.trainings-hero .lead {
  font-size: 1.3rem;
  max-width: 800px;
  margin: 0 auto;
  opacity: 0.9;
  animation: fadeIn 1s ease 0.3s forwards;
  opacity: 0;
}

.trainings-container {
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
}

.trainings-accordion .accordion-item {
  border: none;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}

.trainings-accordion .accordion-header {
  background: var(--blue-dark);
}

.trainings-accordion .accordion-button {
  color: white;
  font-weight: 600;
  padding: 20px 25px;
  background-color: var(--blue-dark);
  position: relative;
}

.trainings-accordion .accordion-button:not(.collapsed) {
  background-color: var(--blue-dark);
  color: white;
}

.trainings-accordion .accordion-button:after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23c0c0c0'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.trainings-accordion .accordion-body {
  padding: 25px;
  background: #f9f9f9;
}

.module-content {
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.module-info h4 {
  color: var(--blue-dark);
  margin-bottom: 15px;
  font-weight: 600;
}

.module-info ul {
  list-style-type: none;
  padding-left: 0;
}

.module-info li {
  padding: 8px 0;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: flex-start;
}

.module-info li:before {
  content: "•";
  color: var(--silver);
  font-weight: bold;
  display: inline-block;
  width: 1em;
  margin-right: 10px;
}

.module-image {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.module-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.module-image:hover img {
  transform: scale(1.05);
}

.certificate-section {
  background: white;
  border-radius: 12px;
  padding: 40px;
  margin-top: 50px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  border: 2px dashed var(--silver);
}

.certificate-section h3 {
  color: var(--blue-dark);
  margin-bottom: 20px;
  font-weight: 700;
}

.certificate-image {
  max-width: 300px;
  margin: 0 auto 25px;
  border: 5px solid white;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.certificate-image:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* ======================
RESPONSIVE
====================== */
@media (max-width: 768px) {
  :root {
    --font-size-base: 16px;
    --section-padding: 60px 0;
    --section-padding-lg: 80px 0;
    --element-margin: 1rem;
    --title-margin: 1.5rem;
  }

  .hero-section {
    padding: 60px 0;
  }

  .hero-image {
    max-height: 300px;
    margin-top: 30px;
  }

  .team-member {
    flex: 0 0 calc(50% - 24px);
  }

  .carousel-nav-btn {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .nav-modal {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .nav-modal.prev {
    left: 10px;
  }

  .nav-modal.next {
    right: 10px;
  }

  .requirements-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .allies-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .training-categories {
    grid-template-columns: 1fr;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-button {
    width: 100%;
    max-width: 300px;
    text-align: center;
  }
}

@media (max-width: 576px) {
  .team-member {
    flex: 0 0 calc(100% - 24px);
  }

  .allies-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .galeria-grid-3x3 {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(5, 1fr);
  }
}

/* ======================
ANIMACIONES Y EFECTOS
====================== */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ======================
MEJORAS DE ACCESIBILIDAD
====================== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Enfoque visible para elementos interactivos */
.btn:focus,
.nav-link:focus,
.accordion-button:focus,
.carousel-nav-btn:focus,
.nav-modal:focus {
  outline: 3px solid var(--yellow);
  outline-offset: 2px;
}

/* Mejora de contraste para texto */
.text-contrast {
  color: #333;
  font-weight: 600;
}

/* ======================
UTILIDADES
====================== */
.bg-silver {
  background-color: var(--silver-light);
}

.text-silver {
  color: var(--silver-dark);
}

.border-silver {
  border-color: var(--silver) !important;
}

.shadow-silver {
  box-shadow: 0 4px 8px rgba(192, 192, 192, 0.3);
}


/* ======================
MAS RECIENTES
====================== */

/* NAVBAR ESTÁTICO - SIN FIXED - COLOR UNIFICADO */
.navbar {
background: var(--blue-dark) !important;
position: relative !important;
}

/* ESTILOS MEJORADOS PARA ESPACIADO UNIFICADO */
.section-spacing {
padding: 15px 0;
padding-bottom: 0;
}


.section-header {
margin-bottom: 2.5rem;
text-align: center;
}

.section-header h2 {
margin-bottom: 1rem;
}

.section-header p {
margin-bottom: 1.5rem;
font-size: 1.2rem;
color: #6c757d;
}

.section-button {
margin-top: 2rem;
text-align: center;
}

/* ESTILO MEJORADO PARA SUBRAYADO */
.text-underline {
position: relative;
display: inline-block;
}

.text-underline::after {
content: '';
position: absolute;
width: 100%;
height: 4px;
bottom: 2px;
left: 0;
background-color: #27edf6;
z-index: -1;
border-radius: 2px;
}

/* TÍTULOS CON MÁS GROSOR */
.feature-title {
font-weight: 700 !important;
font-size: 1.3rem !important;
color: var(--blue-dark) !important;
margin-bottom: 0.8rem !important;
}

/* Estilos mejorados para adultos mayores */
.blog-card {
display: flex;
flex-direction: column;
height: 100%;
transition: transform 0.2s ease, box-shadow 0.2s ease;
background: white;
border-radius: 10px;
overflow: hidden;
box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* MEJORA 1: Proporción 4:3 fija en todos los dispositivos */
.blog-card-image {
display: block;
overflow: hidden;
width: 100%;
position: relative;
padding-top: 75%; /* 4:3 Aspect Ratio (3/4 = 0.75 = 75%) */
flex-shrink: 0;
}

.blog-card-image img {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
object-fit: cover;
object-position: center;
transition: transform 0.3s ease;
}

.blog-card:hover .blog-card-image img {
transform: scale(1.05);
}

.blog-card-content {
flex: 1;
display: flex;
flex-direction: column;
padding: 1.5rem;
}

.blog-card-excerpt {
text-align: justify;
line-height: 1.4;
color: #6c757d !important;
font-size: 0.95em;
display: -webkit-box;
-webkit-line-clamp: 4;
-webkit-box-orient: vertical;
overflow: hidden;
height: 5.6em;
flex-shrink: 0;
margin-bottom: 1rem;
}

/* MEJORA 2: FOOTER COMPLETAMENTE SEPARADO - SIEMPRE ABAJO */
.blog-card-footer {
margin-top: auto;
padding: 1.5rem;
padding-top: 1rem;
border-top: 1px solid #f0f0f0;
background: white;
flex-shrink: 0;
}

.blog-card-meta {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 1rem;
font-size: 0.9em;
color: #6c757d;
flex-wrap: nowrap;
}

.blog-card-author,
.blog-card-date {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}

.blog-card-author {
flex: 1;
margin-right: 1rem;
}

.blog-card-date {
flex-shrink: 0;
}

.blog-card-button {
display: block;
text-align: center;
font-size: 1rem;
padding: 0.6rem 1.5rem;
background: var(--blue-dark);
color: white;
text-decoration: none;
border-radius: 5px;
transition: all 0.3s ease;
font-weight: 500;
}

.blog-card-button:hover {
background: var(--blue-darker);
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Efecto de subrayado para el título */
.blog-card-title {
font-size: 1.25rem;
font-weight: 600;
color: #2c3e50;
text-decoration: none;
margin-bottom: 1rem;
display: block;
line-height: 1.3;
position: relative;
transition: color 0.3s ease;
}

.blog-card-title::after {
content: '';
position: absolute;
width: 0;
height: 2px;
bottom: -2px;
left: 0;
background-color: var(--blue-dark);
transition: width 0.3s ease;
}

.blog-card-title:hover {
color: var(--blue-dark);
}

.blog-card-title:hover::after {
width: 100%;
}

.filters-section {
background: #f8f9fa;
border-radius: 10px;
padding: 1.5rem;
margin-bottom: 2rem;
border: 1px solid #e9ecef;
}

.filter-group {
margin-bottom: 1rem;
}

.filter-label {
font-weight: 600;
color: #2c3e50;
margin-bottom: 0.5rem;
display: block;
}

.form-control-lg {
font-size: 1.1rem;
padding: 0.75rem 1rem;
}

.btn-lg {
font-size: 1.1rem;
padding: 0.75rem 1.5rem;
}

.results-count {
color: #6c757d;
font-size: 1rem;
margin-bottom: 1rem;
}

.load-more-container {
text-align: center;
margin: 2rem 0;
}

.btn-load-more {
background: var(--blue-dark);
color: white;
border: none;
padding: 0.75rem 2rem;
font-size: 1.1rem;
border-radius: 50px;
transition: all 0.3s ease;
}

.btn-load-more:hover {
background: var(--blue-darker);
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.no-results {
text-align: center;
padding: 3rem;
color: #6c757d;
}

.no-results i {
font-size: 3rem;
margin-bottom: 1rem;
color: #dee2e6;
}

/* Mejoras de accesibilidad */
.blog-card:hover {
transform: translateY(-5px);
box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* BADGES DE CATEGORÍAS DEL BLOG RESTAURADOS */
.blog-badges {
margin-bottom: 1rem;
}

.blog-badge {
display: inline-block;
background: var(--blue-dark);
color: white;
padding: 0.3rem 0.8rem;
border-radius: 50px;
font-size: 0.8rem;
font-weight: 600;
margin-right: 0.5rem;
margin-bottom: 0.5rem;
}

/* Grid de 4 columnas en desktop, 2 en tablet, 1 en mobile */
.blog-grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 2rem;
}

@media (max-width: 1200px) {
.blog-grid {
grid-template-columns: repeat(3, 1fr);
}
}

@media (max-width: 992px) {
.blog-grid {
grid-template-columns: repeat(2, 1fr);
}
}

@media (max-width: 576px) {
.blog-grid {
grid-template-columns: 1fr;
}
}

/* Asegurar que todas las cards tengan la misma altura */
.blog-grid .blog-card {
height: auto;
min-height: 500px;
}

/* Cards de promociones y acreditados - Estilo consistente */
.promo-card, .accredited-card {
display: flex;
flex-direction: column;
height: 100%;
transition: transform 0.3s ease, box-shadow 0.3s ease;
background: white;
border-radius: 10px;
overflow: hidden;
box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.promo-card:hover, .accredited-card:hover {
transform: translateY(-5px);
box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* MEJORA: Proporción 4:3 fija en todos los dispositivos */
.promo-card-image, .accredited-card-image {
display: block;
overflow: hidden;
width: 100%;
position: relative;
padding-top: 75%; /* 4:3 Aspect Ratio (3/4 = 0.75 = 75%) */
flex-shrink: 0;
}

.promo-card-image img, .accredited-card-image img {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
object-fit: cover;
object-position: center;
transition: transform 0.3s ease;
}

.promo-card:hover .promo-card-image img,
.accredited-card:hover .accredited-card-image img {
transform: scale(1.05);
}

.promo-card-content, .accredited-card-content {
flex: 1;
display: flex;
flex-direction: column;
padding: 1.5rem;
}

.promo-card-badge, .accredited-card-badge {
display: inline-block;
background: var(--blue-dark);
color: white;
padding: 0.3rem 0.8rem;
border-radius: 50px;
font-size: 0.8rem;
font-weight: 600;
margin-bottom: 0.8rem;
align-self: flex-start;
}

.promo-card-title, .accredited-card-title {
font-size: 1.25rem;
font-weight: 600;
color: #2c3e50;
text-decoration: none;
margin-bottom: 1rem;
display: block;
line-height: 1.3;
position: relative;
transition: color 0.3s ease;
}

.promo-card-title::after, .accredited-card-title::after {
content: '';
position: absolute;
width: 0;
height: 2px;
bottom: -2px;
left: 0;
background-color: var(--blue-dark);
transition: width 0.3s ease;
}

.promo-card-title:hover, .accredited-card-title:hover {
color: var(--blue-dark);
}

.promo-card-title:hover::after, .accredited-card-title:hover::after {
width: 100%;
}

.promo-card-excerpt {
text-align: justify;
line-height: 1.4;
color: #6c757d !important;
font-size: 0.95em;
display: -webkit-box;
-webkit-line-clamp: 3;
-webkit-box-orient: vertical;
overflow: hidden;
height: 4.2em;
flex-shrink: 0;
margin-bottom: 1rem;
}

/* FOOTER COMPLETAMENTE SEPARADO - SIEMPRE ABAJO */
.promo-card-footer, .accredited-card-footer {
margin-top: auto;
padding-top: 1rem;
border-top: 1px solid #f0f0f0;
background: white;
flex-shrink: 0;
}

.promo-card-button, .accredited-card-button {
display: block;
text-align: center;
font-size: 1rem;
padding: 0.6rem 1.5rem;
background: var(--blue-dark);
color: white;
text-decoration: none;
border-radius: 5px;
transition: all 0.3s ease;
font-weight: 500;
}

.promo-card-button:hover, .accredited-card-button:hover {
background: var(--blue-darker);
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(0,0,0,0.15);
color: white;
text-decoration: none;
}

/* MEJORAS EN EL CARRUSEL DEL EQUIPO */
.team-carousel-wrapper {
position: relative;
max-width: 1200px;
margin: 0 auto;
padding: 0 60px;
}

.team-carousel {
display: flex;
transition: transform 0.5s ease;
gap: 1.5rem;
padding: 1rem 0;
}

.team-member {
flex: 0 0 calc(25% - 1.5rem);
cursor: pointer;
transition: all 0.3s ease;
}

.team-member:hover {
transform: translateY(-8px);
}

.member-card {
background: white;
border-radius: 12px;
overflow: hidden;
box-shadow: 0 4px 15px rgba(0,0,0,0.1);
height: 100%;
transition: all 0.3s ease;
}

.team-member:hover .member-card {
box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.member-photo {
width: 100%;
height: 0;
padding-bottom: 100%;
position: relative;
overflow: hidden;
}

.member-photo img {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 0.8s;
}

.team-member:hover .member-photo img {
transform: scale(1.1);
}

.member-info {
padding: 1.5rem;
text-align: center;
}

.member-info h5 {
font-size: 1.2rem;
font-weight: 600;
color: var(--blue-dark);
margin-bottom: 0.5rem;
}

.member-info p {
font-size: 0.95rem;
color: #666;
margin-bottom: 0;
}

.carousel-nav-btn {
position: absolute;
top: 50%;
transform: translateY(-50%);
background: white;
color: var(--blue-dark);
border: none;
width: 50px;
height: 50px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
transition: all 0.3s ease;
box-shadow: 0 2px 10px rgba(0,0,0,0.1);
font-size: 1.2rem;
z-index: 10;
}

.carousel-nav-btn:hover {
background: var(--blue-dark);
color: white;
transform: translateY(-50%) scale(1.1);
}

.carousel-nav-btn.prev {
left: 0;
}

.carousel-nav-btn.next {
right: 0;
}

/* MEJORAS EN LA SECCIÓN HERO */
.hero-section {
background: var(--blue-dark);
color: white;
padding: 60px 0;
position: relative;
overflow: hidden;
}

.hero-content h1 {
font-size: 3.2rem;
font-weight: 700;
line-height: 1.2;
margin-bottom: 1.5rem;
}

.hero-content .lead {
font-size: 1.3rem;
margin-bottom: 2rem;
opacity: 0.9;
}

/* MEJORAS EN SECCIONES CON FONDO AZUL CLARO */
.bg-light-silver {
background-color: #f8fafc;
}

/* BOTONES MEJORADOS */
.btn-accesible {
font-size: 1.1rem;
padding: 12px 30px;
background: var(--blue-dark);
color: white;
border: 2px solid var(--blue-dark);
border-radius: 8px;
transition: all 0.3s ease;
font-weight: 600;
text-decoration: none;
display: inline-block;
}

.btn-accesible:hover {
background: transparent;
color: var(--blue-dark);
transform: translateY(-2px);
box-shadow: 0 6px 20px rgba(39, 63, 133, 0.3);
}

/* RESPONSIVE MEJORADO */
@media (max-width: 768px) {
.hero-content h1 {
font-size: 2.3rem;
}

.hero-content .lead {
font-size: 1.1rem;
}

.team-member {
flex: 0 0 calc(50% - 1rem);
}

.team-carousel-wrapper {
padding: 0 40px;
}

.carousel-nav-btn {
width: 40px;
height: 40px;
font-size: 1rem;
}



.section-spacing-lg {
padding: 70px 0;
}
}

@media (max-width: 576px) {
.team-member {
flex: 0 0 100%;
}

.hero-content h1 {
font-size: 2rem;
}
}

    .blog-container {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
}


/* Estilos para el dropdown del navbar - Senior Friendly */
.navbar .dropdown-menu {
  background-color: var(--blue-dark);
  border: none;
  border-radius: 8px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
  padding: 10px 0;
  margin-top: 10px;
}

.navbar .dropdown-item {
  color: white;
  padding: 12px 20px;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
}

.navbar .dropdown-item:hover,
.navbar .dropdown-item:focus {
  background-color: rgba(255, 255, 255, 0.15);
  color: white;
  transform: translateX(5px);
}

.navbar .dropdown-toggle::after {
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.navbar .dropdown-toggle.show::after {
  transform: rotate(180deg);
}

/* Mejoras de accesibilidad para adultos mayores */
.navbar .nav-link,
.navbar .dropdown-item {
  font-size: 1.1rem;
  font-weight: 500;
}

.navbar .dropdown-item i {
  width: 20px;
  text-align: center;
}

/* Efectos hover mejorados para mejor visibilidad */
.navbar .nav-link:hover,
.navbar .nav-link:focus {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Responsive */
@media (max-width: 991.98px) {
  .navbar .dropdown-menu {
    background-color: transparent;
    box-shadow: none;
    border: none;
    padding-left: 20px;
  }
  
  .navbar .dropdown-item {
    padding: 10px 15px;
    border-radius: 4px;
  }
}


.trainings-container {
  display: grid !important;
  grid-template-columns: 3fr 1fr !important;
  gap: 40px !important;
  max-width: 1200px !important;
  margin: 60px auto !important;
  padding: 0 20px !important;
}

.allies-section {
  background: white;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  height: fit-content;
  position: sticky;
  top: 20px;
}

.allies-section h3 {
  color: var(--blue-dark);
  text-align: center;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 3px solid var(--silver);
  font-weight: 700;
}

.allies-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.ally-item {
  background: white;
  border-radius: 8px;
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 10px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  aspect-ratio: 1/1;
}

.ally-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.ally-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.8;
  transition: all 0.3s ease;
}

.ally-item:hover img {
  filter: grayscale(0);
  opacity: 1;
}


/* ======================
ESTILOS CAPACITACIONES - RESTAURADOS
====================== */
.trainings-hero {
  background: var(--blue-dark) !important;
  color: white;
  padding: 100px 0 70px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.trainings-hero h1 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 15px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.2);
  animation: fadeInDown 0.8s ease;
}

.trainings-hero .lead {
  font-size: 1.3rem;
  max-width: 800px;
  margin: 0 auto;
  opacity: 0.9;
  animation: fadeIn 1s ease 0.3s forwards;
  opacity: 0;
}

.trainings-container {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
}

.training-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.training-category {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.training-category:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

.category-header {
  background: var(--blue-dark);
  color: white;
  padding: 25px;
  text-align: center;
}

.category-header h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
}

.category-body {
  padding: 25px;
}

.training-list {
  list-style-type: none;
  padding-left: 0;
  margin-bottom: 0;
}

.training-list li {
  padding: 15px 0;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: flex-start;
  transition: all 0.3s ease;
}

.training-list li:last-child {
  border-bottom: none;
}

.training-list li:hover {
  background: #f9f9f9;
  padding-left: 10px;
}

.training-list li:before {
  content: "•";
  color: var(--silver);
  font-weight: bold;
  display: inline-block;
  width: 1em;
  margin-right: 10px;
  font-size: 1.2rem;
}

.training-list strong {
  color: var(--blue-dark);
  font-weight: 600;
}

.training-list .duration {
  color: var(--red);
  font-weight: 600;
  margin-left: 5px;
}

.training-list .price {
  color: var(--blue-dark);
  font-weight: 700;
  margin-left: 5px;
}

/* Estilos específicos para el acordeón de capacitaciones */
.trainings-accordion .accordion-item {
  border: none;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}

.trainings-accordion .accordion-header {
  background: var(--blue-dark);
}

.trainings-accordion .accordion-button {
  color: white;
  font-weight: 600;
  padding: 20px 25px;
  background-color: var(--blue-dark);
}

.trainings-accordion .accordion-button:not(.collapsed) {
  background-color: var(--blue-dark);
  color: white;
}

.trainings-accordion .accordion-button:focus {
  box-shadow: none;
}

.trainings-accordion .accordion-body {
  padding: 25px;
  background: #f9f9f9;
}

.module-content {
  padding: 20px;
}

.module-info h4 {
  color: var(--blue-dark);
  margin-bottom: 15px;
  font-weight: 600;
}

.module-info ul {
  list-style-type: none;
  padding-left: 0;
}

.module-info li {
  padding: 10px 0;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: flex-start;
}

.module-info li:before {
  content: "•";
  color: var(--silver);
  font-weight: bold;
  display: inline-block;
  width: 1em;
  margin-right: 10px;
}

.certificate-section {
  text-align: center;
  padding: 50px 30px;
  background: #f8f9fa;
  border-radius: 15px;
  margin: 50px 0;
}

.certificate-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  margin-bottom: 25px;
  border: 5px solid white;
}

/* Responsive para capacitaciones */
@media (max-width: 768px) {
  .trainings-hero {
    padding: 80px 0 50px;
  }
  
  .trainings-hero h1 {
    font-size: 2.2rem;
  }
  
  .trainings-hero .lead {