:root {
  --primary-green: #2E7D32;
  --secondary-blue: #1976D2;
  --natural-brown: #8D6E63;
  --background: #F5F5F5;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--background);
  color: #333;
  line-height: 1.6;
}

.app-header {
  background: linear-gradient(135deg, var(--primary-green), var(--secondary-blue));
  color: white;
  padding: 20px;
  text-align: center;
}

.logos {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 15px;
}

.logo-placeholder {
  background: rgba(255, 255, 255, 0.2);
  padding: 10px 20px;
  border-radius: 5px;
  font-weight: bold;
}

.app-header h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.tagline {
  font-style: italic;
  font-size: 1.2rem;
  margin-bottom: 5px;
  opacity: 0.9;
}

.subtitle {
  font-size: 1rem;
  opacity: 0.8;
}

.main-nav {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
  padding: 20px;
  background: white;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.nav-item {
  background: var(--primary-green);
  color: white;
  border: none;
  padding: 15px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  transition: all 0.3s ease;
}

.nav-item:hover {
  background: var(--secondary-blue);
  transform: translateY(-2px);
}

.nav-icon {
  font-size: 1.5rem;
}

.main-content {
  padding: 20px;
  min-height: 60vh;
}

.page {
  max-width: 1200px;
  margin: 0 auto;
}

.mission-card {
  background: white;
  padding: 30px;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  border-left: 5px solid var(--primary-green);
}

.mission-card h2 {
  color: var(--primary-green);
  margin-bottom: 15px;
  font-size: 1.8rem;
}

.mission-card p {
  font-size: 1.1rem;
  line-height: 1.8;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.feature-card {
  background: white;
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  border-top: 4px solid var(--primary-green);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 15px;
}

.feature-card h3 {
  color: var(--primary-green);
  margin-bottom: 10px;
  font-size: 1.3rem;
}

.feature-card p {
  color: #666;
  line-height: 1.6;
}

/* Estilos para el formulario de reportes */
.report-form {
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: var(--primary-green);
}

.form-group select,
.form-group textarea,
.form-group input {
  width: 100%;
  padding: 12px;
  border: 2px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
  transition: border-color 0.3s;
}

.form-group select:focus,
.form-group textarea:focus,
.form-group input:focus {
  outline: none;
  border-color: var(--primary-green);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
  font-family: inherit;
}

.submit-btn {
  background: var(--primary-green);
  color: white;
  border: none;
  padding: 15px 30px;
  border-radius: 5px;
  font-size: 1.1rem;
  cursor: pointer;
  width: 100%;
  transition: background 0.3s;
  font-weight: bold;
}

.submit-btn:hover {
  background: var(--secondary-blue);
}

.message {
  padding: 15px;
  border-radius: 5px;
  margin-top: 20px;
  text-align: center;
  display: none;
  font-weight: bold;
}

.message.success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.message.error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* Responsive */
@media (max-width: 768px) {
  .main-nav {
    grid-template-columns: 1fr 1fr;
  }
  
  .app-header h1 {
    font-size: 2rem;
  }
  
  .feature-card {
    padding: 20px;
  }
  
  .mission-card {
    padding: 20px;
  }
}

/* Estilos para la sección de investigadores */
.investigadores-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin: 30px 0;
}

.investigador-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.investigador-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.investigador-foto {
  position: relative;
  height: 200px;
  background: linear-gradient(135deg, #2E7D32, #4CAF50);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.investigador-foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.foto-placeholder {
  font-size: 4rem;
  color: rgba(255, 255, 255, 0.8);
}

.investigador-info {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.investigador-info h3 {
  color: var(--primary-green);
  margin-bottom: 8px;
  font-size: 1.4rem;
}

.investigador-rol {
  color: var(--secondary-blue);
  font-weight: bold;
  margin-bottom: 12px;
  font-size: 1rem;
}

.investigador-bio {
  color: #666;
  line-height: 1.6;
  flex-grow: 1;
}

.proyecto-info {
  background: #f8f9fa;
  padding: 25px;
  border-radius: 10px;
  border-left: 4px solid var(--primary-green);
  margin-top: 30px;
}

.proyecto-info h3 {
  color: var(--primary-green);
  margin-bottom: 15px;
}

.proyecto-info p {
  line-height: 1.7;
  color: #555;
}

/* Ajustes responsive para investigadores */
@media (max-width: 768px) {
  .investigadores-grid {
      grid-template-columns: 1fr;
  }
  
  .investigador-foto {
      height: 150px;
  }
  
  .foto-placeholder {
      font-size: 3rem;
  }
}

/* Ajustar el header para un solo logo */
.logos {
  display: flex;
  justify-content: center;
  gap: 0;  /* ← Cambiado de 20px a 0 */
  margin-bottom: 15px;
}

.logo {
  max-height: 80px;
  max-width: 200px;
  object-fit: contain;
}


/* Estilos para nuevas secciones */
.problematica-card {
  background: #fff3cd;
  border-left: 5px solid #ffc107;
  padding: 20px;
  border-radius: 8px;
  margin: 20px 0;
}

.alerta-card {
  display: flex;
  align-items: center;
  padding: 20px;
  border-radius: 10px;
  margin: 15px 0;
  gap: 20px;
}

.alerta-urgente {
  background: #f8d7da;
  border-left: 5px solid #dc3545;
}

.alerta-precaucion {
  background: #fff3cd;
  border-left: 5px solid #ffc107;
}

.alerta-icon {
  font-size: 2.5rem;
}

.emprendimientos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.emprendimiento-card {
  background: white;
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  border-top: 4px solid var(--primary-green);
}

.emprendimiento-icon {
  font-size: 3rem;
  margin-bottom: 15px;
}

.btn-ver, .btn-registro {
  background: var(--primary-green);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  margin-top: 15px;
  cursor: pointer;
}

.investigador-ci {
  color: #666;
  font-style: italic;
  margin: 5px 0;
}

.seguridad-info ul {
  list-style: none;
  padding: 0;
}

.seguridad-info li {
  padding: 8px 0;
  border-bottom: 1px solid #eee;
}


/* Estilos para el Carrusel - Versión Simplificada */
.carrusel-container {
  position: relative;
  max-width: 900px;
  margin: 30px auto;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.carrusel {
  position: relative;
  width: 100%;
  height: 500px;
}

.carrusel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
}

.carrusel-slide.active {
  opacity: 1;
}

.carrusel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Eliminamos .carrusel-caption ya que no lo necesitamos */

.carrusel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(46, 125, 50, 0.8);
  color: white;
  border: none;
  padding: 15px 20px;
  cursor: pointer;
  font-size: 1.5rem;
  transition: all 0.3s;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carrusel-btn:hover {
  background: rgba(46, 125, 50, 1);
  transform: translateY(-50%) scale(1.1);
}

.carrusel-btn.prev {
  left: 20px;
}

.carrusel-btn.next {
  right: 20px;
}

.carrusel-indicators {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
}

.indicator {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: all 0.3s;
  border: 2px solid transparent;
}

.indicator.active {
  background: white;
  transform: scale(1.2);
}

.indicator:hover {
  background: rgba(255,255,255,0.8);
  transform: scale(1.1);
}

/* Responsive para el carrusel */
@media (max-width: 768px) {
  .carrusel-container {
      margin: 20px 10px;
      border-radius: 10px;
  }
  
  .carrusel {
      height: 350px;
  }
  
  .carrusel-btn {
      padding: 12px 16px;
      font-size: 1.2rem;
      width: 45px;
      height: 45px;
  }
  
  .carrusel-btn.prev {
      left: 10px;
  }
  
  .carrusel-btn.next {
      right: 10px;
  }
  
  .indicator {
      width: 12px;
      height: 12px;
  }
}

@media (max-width: 480px) {
  .carrusel {
      height: 250px;
  }
}

/* Estilos para la sección de Noticias */
.noticias-destacadas {
  margin: 40px 0;
}

.destacadas-carrusel {
  position: relative;
  height: 400px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.noticia-destacada {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  display: flex;
}

.noticia-destacada.active {
  opacity: 1;
}

.destacada-imagen {
  flex: 1;
  position: relative;
}

.destacada-imagen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.destacada-contenido {
  flex: 1;
  background: rgba(255, 255, 255, 0.95);
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.destacada-contenido .noticia-fecha {
  color: var(--primary-green);
  font-weight: bold;
  margin-bottom: 10px;
}

.destacada-contenido h4 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: #333;
}

.destacada-contenido p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Grid de todas las noticias */
.noticias-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.noticia-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.noticia-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.noticia-card.destacada {
  border: 2px solid var(--primary-green);
}

.noticia-imagen {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.noticia-imagen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.noticia-card:hover .noticia-imagen img {
  transform: scale(1.05);
}

.badge-destacada {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--primary-green);
  color: white;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: bold;
}

.noticia-info {
  padding: 20px;
}

.noticia-fecha {
  color: var(--primary-green);
  font-size: 0.9rem;
  font-weight: bold;
}

.noticia-info h4 {
  margin: 10px 0;
  color: #333;
  font-size: 1.2rem;
  line-height: 1.4;
}

.noticia-resumen {
  color: #666;
  line-height: 1.5;
  margin-bottom: 15px;
}

.noticia-metadata {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  font-size: 0.9rem;
}

.noticia-autor {
  color: #888;
}

.noticia-categoria {
  background: #f0f0f0;
  padding: 3px 8px;
  border-radius: 12px;
  font-size: 0.8rem;
}

.btn-leer-mas {
  background: var(--primary-green);
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: background 0.3s;
}

.btn-leer-mas:hover {
  background: var(--secondary-blue);
}

.loading {
  text-align: center;
  padding: 40px;
  color: #666;
}

.sin-noticias {
  text-align: center;
  padding: 40px;
  background: #f9f9f9;
  border-radius: 10px;
  color: #666;
}

/* Responsive */
@media (max-width: 768px) {
  .noticia-destacada {
      flex-direction: column;
      height: auto;
  }
  
  .destacada-imagen {
      height: 200px;
  }
  
  .destacada-contenido {
      padding: 20px;
  }
  
  .destacada-contenido h4 {
      font-size: 1.4rem;
  }
  
  .noticias-grid {
      grid-template-columns: 1fr;
  }
  
  .noticia-metadata {
      flex-direction: column;
      align-items: flex-start;
      gap: 5px;
  }
}

/* Estilos para Noticias Simples */
.noticia-simple {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  margin: 30px 0;
}

.noticia-imagen-simple {
  width: 100%;
  height: 400px;
  overflow: hidden;
}

.noticia-imagen-simple img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.noticia-contenido-simple {
  padding: 30px;
}

.noticia-fecha-simple {
  color: var(--primary-green);
  font-weight: bold;
  font-size: 0.9rem;
}

.noticia-contenido-simple h3 {
  color: #333;
  margin: 10px 0 20px 0;
  font-size: 1.8rem;
}

.noticia-contenido-simple p {
  color: #666;
  line-height: 1.7;
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.noticia-metadata-simple {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  margin-top: 25px;
}

.noticia-metadata-simple span {
  display: block;
  margin-bottom: 8px;
  color: #555;
}

.proximas-noticias {
  text-align: center;
  padding: 40px;
  background: #f8f9fa;
  border-radius: 10px;
  margin-top: 40px;
}

.proximas-noticias h4 {
  color: var(--primary-green);
  margin-bottom: 10px;
}

/* Responsive */
@media (max-width: 768px) {
  .noticia-imagen-simple {
      height: 250px;
  }
  
  .noticia-contenido-simple {
      padding: 20px;
  }
  
  .noticia-contenido-simple h3 {
      font-size: 1.5rem;
  }
}

/* Estilos para el carrusel de comparación */
.comparacion-carrusel {
  margin: 30px 0;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 10px;
}

.comparacion-carrusel h4 {
  text-align: center;
  margin-bottom: 20px;
  color: var(--primary-green);
}

.carrusel-comparacion {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.comparacion-slide {
  display: none;
  text-align: center;
}

.comparacion-slide.active {
  display: block;
}

.comparacion-imagen {
  position: relative;
  margin-bottom: 15px;
}

.comparacion-imagen img {
  width: 100%;
  max-width: 600px;
  height: 400px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.comparacion-label {
  position: absolute;
  top: 15px;
  left: 15px;
  padding: 8px 15px;
  border-radius: 20px;
  font-weight: bold;
  font-size: 0.9rem;
  color: white;
}

.comparacion-label.antes {
  background: #dc3545;
}

.comparacion-label.despues {
  background: var(--primary-green);
}

.carrusel-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 20px;
}

.carrusel-comparacion .carrusel-btn {
  background: var(--primary-green);
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carrusel-comparacion .carrusel-btn:hover {
  background: var(--secondary-blue);
}

.carrusel-comparacion .carrusel-indicators {
  display: flex;
  gap: 10px;
}

.carrusel-comparacion .indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ccc;
  cursor: pointer;
  transition: background 0.3s;
}

.carrusel-comparacion .indicator.active {
  background: var(--primary-green);
}

/* Estilos para el video */
.video-container {
  margin: 30px 0;
  text-align: center;
}

.video-container h4 {
  color: var(--primary-green);
  margin-bottom: 15px;
}

.video-container video {
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  max-width: 800px;
}

.video-descripcion {
  margin-top: 10px;
  color: #666;
  font-style: italic;
}

/* Responsive */
@media (max-width: 768px) {
  .comparacion-imagen img {
      height: 300px;
  }
  
  .carrusel-controls {
      gap: 10px;
  }
  
  .video-container video {
      height: 300px;
  }
}

.carrusel-comparacion .indicator {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: #ccc;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: bold;
  color: #333;
}

.carrusel-comparacion .indicator.active {
  background: var(--primary-green);
  color: white;
  transform: scale(1.1);
}

.carrusel-comparacion .indicator:hover {
  background: var(--secondary-blue);
  color: white;
}

/* Estilos para galería simple */
.galeria-simple {
  margin: 30px 0;
}

.galeria-simple h4 {
  color: var(--primary-green);
  margin-bottom: 20px;
  text-align: center;
}

.galeria-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin: 20px 0;
}

.galeria-item {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.galeria-item:hover {
  transform: translateY(-5px);
}

.galeria-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.galeria-item p {
  padding: 15px;
  margin: 0;
  color: #666;
  font-size: 0.9rem;
  text-align: center;
  background: #f8f9fa;
}

/* Responsive */
@media (max-width: 768px) {
  .galeria-grid {
      grid-template-columns: 1fr;
  }
  
  .galeria-item img {
      height: 200px;
  }
}

/* Estilos para galería simple - VERSIÓN EXTRA GRANDE */
.galeria-simple {
  margin: 40px 0;
  padding: 30px;
  background: #f8f9fa;
  border-radius: 15px;
}

.galeria-simple h4 {
  color: var(--primary-green);
  margin-bottom: 30px;
  text-align: center;
  font-size: 1.5rem;
}

.galeria-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 30px;
  margin: 25px 0;
}

.galeria-item {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.12);
  transition: all 0.3s ease;
}

.galeria-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}

.galeria-item img {
  width: 100%;
  height: 320px; /* Extra grande */
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.galeria-item:hover img {
  transform: scale(1.08);
}

.galeria-item p {
  padding: 20px;
  margin: 0;
  color: #444;
  font-size: 1.1rem;
  text-align: center;
  background: white;
  border-top: 1px solid #eee;
  font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
  .galeria-grid {
      grid-template-columns: 1fr;
      gap: 25px;
  }
  
  .galeria-item img {
      height: 250px;
  }
}


/* Estilos para fotos de investigadores - TAMAÑO REDUCIDO */
.investigador-foto {
  position: relative;
  height: 120px; /* Reducido de 200px a 120px */
  width: 120px;  /* Ancho fijo para que sea cuadrada */
  background: linear-gradient(135deg, #2E7D32, #4CAF50);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 50%; /* Hace la foto circular */
  margin: 0 auto 15px auto; /* Centrada */
  border: 4px solid white;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.investigador-foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.foto-placeholder {
  font-size: 2.5rem; /* Reducido de 4rem a 2.5rem */
  color: rgba(255, 255, 255, 0.9);
}

.investigador-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  text-align: center;
  padding: 20px;
}

.investigador-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.investigador-info {
  padding: 0;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.investigador-info h3 {
  color: var(--primary-green);
  margin-bottom: 8px;
  font-size: 1.2rem;
}

.investigador-rol {
  color: var(--secondary-blue);
  font-weight: bold;
  margin-bottom: 5px;
  font-size: 0.9rem;
}

.investigador-ci {
  color: #666;
  font-style: italic;
  margin-bottom: 10px;
  font-size: 0.8rem;
}

.investigador-bio {
  color: #666;
  line-height: 1.5;
  flex-grow: 1;
  font-size: 0.9rem;
}

.investigadores-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin: 30px 0;
}

/* Ajustes para el carrusel de investigadores (mantener tamaño original) */
.carrusel-container {
  position: relative;
  max-width: 900px;
  margin: 30px auto;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.carrusel {
  position: relative;
  width: 100%;
  height: 400px; /* Mantener tamaño grande para el carrusel grupal */
}

.carrusel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Responsive */
@media (max-width: 768px) {
  .investigador-foto {
      height: 100px;
      width: 100px;
  }
  
  .foto-placeholder {
      font-size: 2rem;
  }
  
  .investigadores-grid {
      grid-template-columns: 1fr;
      gap: 20px;
  }
  
  .investigador-card {
      padding: 15px;
  }
}

@media (max-width: 480px) {
  .investigador-foto {
      height: 80px;
      width: 80px;
  }
  
  .foto-placeholder {
      font-size: 1.8rem;
  }
}

/* Estilos para fotos de investigadores - SOLO FOTOS */
.investigador-foto {
  position: relative;
  height: 120px;
  width: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 50%;
  margin: 0 auto 15px auto;
  border: 4px solid white;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  background: transparent; /* Quitamos el fondo gradient */
}

.investigador-foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

/* Eliminamos completamente la clase .foto-placeholder ya que no la usamos más */

.investigador-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  text-align: center;
  padding: 20px;
}

.investigador-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.investigador-info {
  padding: 0;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.investigador-info h3 {
  color: var(--primary-green);
  margin-bottom: 8px;
  font-size: 1.2rem;
}

.investigador-rol {
  color: var(--secondary-blue);
  font-weight: bold;
  margin-bottom: 5px;
  font-size: 0.9rem;
}

.investigador-ci {
  color: #666;
  font-style: italic;
  margin-bottom: 10px;
  font-size: 0.8rem;
}

.investigador-bio {
  color: #666;
  line-height: 1.5;
  flex-grow: 1;
  font-size: 0.9rem;
}

.investigadores-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin: 30px 0;
}

/* Responsive */
@media (max-width: 768px) {
  .investigador-foto {
      height: 100px;
      width: 100px;
  }
  
  .investigadores-grid {
      grid-template-columns: 1fr;
      gap: 20px;
  }
  
  .investigador-card {
      padding: 15px;
  }
}

@media (max-width: 480px) {
  .investigador-foto {
      height: 80px;
      width: 80px;
  }
}

/* Estilos para video de Facebook */
.video-facebook-container {
  margin: 30px 0;
  text-align: center;
  padding: 25px;
  background: #f0f2f5; /* Color similar al de Facebook */
  border-radius: 12px;
  border: 1px solid #dddfe2;
}

.video-facebook-container h4 {
  color: var(--primary-green);
  margin-bottom: 20px;
  font-size: 1.3rem;
}

.facebook-video-wrapper {
  display: inline-block;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  margin-bottom: 15px;
}

.video-descripcion-facebook {
  background: white;
  padding: 20px;
  border-radius: 8px;
  margin-top: 15px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  text-align: left;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.video-descripcion-facebook p {
  margin-bottom: 10px;
  line-height: 1.5;
}

.video-descripcion-facebook strong {
  color: var(--primary-green);
  font-size: 1.1rem;
}

.video-descripcion-facebook em {
  color: #666;
  font-size: 0.9rem;
}

/* Responsive para el video de Facebook */
@media (max-width: 768px) {
  .facebook-video-wrapper {
      transform: scale(0.9);
  }
  
  .video-descripcion-facebook {
      padding: 15px;
  }
}

@media (max-width: 480px) {
  .facebook-video-wrapper {
      transform: scale(0.8);
  }
  
  .video-facebook-container {
      padding: 20px 15px;
  }
}

/* Estilos para descarga de PDF simplificada */
.pdf-download-section {
  margin: 50px 0 30px 0;
}

.download-card {
  background: white;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  gap: 25px;
  border-left: 5px solid var(--primary-green);
  transition: all 0.3s ease;
}

.download-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.download-icon {
  font-size: 3.5rem;
  background: #f0f7f0;
  padding: 20px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 80px;
}

.download-info {
  flex-grow: 1;
}

.download-info h3 {
  color: var(--primary-green);
  margin-bottom: 10px;
  font-size: 1.4rem;
}

.download-info p {
  color: #666;
  margin-bottom: 15px;
  line-height: 1.5;
}

.file-details {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.file-details span {
  background: #f8f9fa;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  color: #555;
  border: 1px solid #e9ecef;
}

.btn-download-simple {
  background: var(--primary-green);
  color: white;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  transition: all 0.3s ease;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  cursor: pointer;
}

.btn-download-simple:hover {
  background: var(--secondary-blue);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Responsive */
@media (max-width: 768px) {
  .download-card {
      flex-direction: column;
      text-align: center;
      gap: 20px;
      padding: 25px;
  }
  
  .file-details {
      justify-content: center;
      gap: 10px;
  }
  
  .file-details span {
      font-size: 0.8rem;
  }
  
  .download-icon {
      min-width: 70px;
      padding: 15px;
      font-size: 3rem;
  }
}

@media (max-width: 480px) {
  .download-card {
      padding: 20px;
  }
  
  .file-details {
      flex-direction: column;
      align-items: center;
      gap: 8px;
  }
}