@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap");


/* FONDO DE TODA LA PÁGINA */
body {
 background: linear-gradient(135deg, #d4f7dc, #ffffff);
   background-size: cover;       /* que cubra todo el body */
  background-position: center;  /* centrado */
  background-repeat: no-repeat; /* no se repita */
  background-attachment: fixed; /* efecto parallax al hacer scroll */
  font-family: Arial, Helvetica, sans-serif;
  padding-top: 15px; /* 30px + 70px */
  margin: 0; /* importante para evitar espacios indeseados */
  font-family: Arial, Helvetica, sans-serif;
}
img, .hero-inner, .container {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* CONTENEDOR */
.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}


/* ===== MENÚ ===== */
/* NAVBAR CONTROLADO */

/* ===== NAVBAR ===== */
.menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px;
   background: linear-gradient(135deg, #d4f7dc, #ffffff);
  z-index: 999;
  transition: box-shadow 0.3s ease;
}
.menu.scrolled {
  background: linear-gradient(135deg, #d4f7dc, #ffffff);
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* EFECTO AL PASAR EL MOUSE EN TODA LA BARRA */
.menu:hover {
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

/* CONTENIDO CENTRADO */
.menu-container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
}

/* LOGO */
.logo {
  max-height: 60px;
  width: auto;
  object-fit: contain;
}

/* ICONO MENU (MÓVIL) */
.menu-icono {
  width: 25px;
  cursor: pointer;
  display: none;
}

/* NAVBAR LISTA */
.navbar ul {
  display: flex;
  gap: 25px; /* mejor que margin */
  list-style: none;
  align-items: center;
}

/* LINKS */
.navbar ul li a {
  position: relative;
  text-decoration: none;
  color: #333;
  font-weight: normal;
  font-size: 15px;
  letter-spacing: 0.5px;
  padding: 5px 0;
  transition: color 0.3s ease;
}

/* LÍNEA ANIMADA */
.navbar ul li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0%;
  height: 2px;
  background-color: #4caf7a; /* verde */
  transition: width 0.3s ease;
}

/* HOVER */
.navbar ul li a:hover {
  color: #4caf7a;
}

.navbar ul li a:hover::after {
  width: 100%;
}

/* LINK ACTIVO */
.navbar ul li a.active {
  color: #4caf7a;
}

.navbar ul li a.active::after {
  width: 100%;
}

.social-nav {
  display: flex;
  align-items: center; /* Centra verticalmente el contenido */
  padding-left: 10px; /* Opcional: espacio antes del icono */
}
.social-nav a {
  display: flex;
  align-items: center;
}

.social-nav img {
  width: 15px;
  height: 15px;
  opacity: 0.7;
  display: block; /* para evitar espacios extra si fuera imagen inline */
  margin-top: 0;
}

.social-nav img:hover {
  opacity: 1;
}

.footer {
  background-color: #4caf50;
  color: #ffffff;
  font-family: "Poppins", sans-serif;
}


.footer-top {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 16px;
  display: grid;
  grid-template-columns: 160px repeat(3, 1fr);
  gap: 24px;
  align-items: center;
}


.footer-top .logo-3 {
  width: 140px;
}


.footer .links {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  line-height: 1.4;
}


.footer .links img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  flex-shrink: 0;
}


.footer .links ul {
  padding: 0;
  margin: 0;
}

.footer .links li {
  list-style: none;
}


.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  text-align: center;
  padding: 12px 10px;
  font-size: 12px;
  background-color: #43a047;
}

.hero-logo {
  display: none;
}

/* =========================
   CONTENEDOR MÁS ANCHO
========================= */
.container-wide {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* =========================
   SECCIÓN
========================= */
.nosotros {
    padding: 80px 0;
  background: linear-gradient(135deg, #d4f7dc, #ffffff);
}

/* =========================
   TITULOS
========================= */
.nosotros-heading {
    text-align: center;
    font-size: 32px;
    margin-bottom: 10px;
    color: #1e293b;
}

.nosotros-subtitle {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    color: #64748b;
}

/* =========================
   LAYOUT PRINCIPAL
========================= */
.content-pro {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

/* =========================
   VIDEO
========================= */
.video-box {
    flex: 1;
}

.video-box video {
    width: 75%;
}

/* =========================
   TEXTO DERECHA
========================= */
.info-box {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-left: -10px;
}

.info-item {
    display: inline-block;
    max-width: 500px; /* controla el ancho máximo */
    width: auto;
}

/* TITULOS */
.info-item h3 {
    margin-bottom: 10px;
    font-size: 18px;
    color: #1e293b;
}

/* TEXTO */
.info-item p {
    color: #475569;
    line-height: 1.6;
    text-align: justify;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {

    .content-pro {
        flex-direction: column;
    }

    .container-wide {
        padding: 0 20px;
    }

    .nosotros-heading {
        font-size: 24px;
    }

}
/* =========================
   ÓRGANOS DE GOBIERNO
========================= */
.organos {
    padding: 80px 20px;
  background: linear-gradient(135deg, #d4f7dc, #ffffff);
}

.titulo-seccion {
   text-align: center;
 font-size: 28px;
  font-weight: 800;
  color: #1f3d2b;
  margin-bottom: 15px;
  letter-spacing: 1px;

}

.organos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* CARD ORGANOS */
.organo {
    background: #f8fafc;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.organo h3 {
    margin-bottom: 15px;
    color: #0f172a;
}

/* MIEMBROS */
.miembro {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #e2e8f0;
}

.miembro:last-child {
    border-bottom: none;
}

.nombre {
    color: #1e293b;
}

.cargo {
    color: #64748b;
    font-size: 14px;
}




@media (max-width: 500px) {
  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-top .logo-2 {
    margin-bottom: 10px;
  }
}


.menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px;
  background: linear-gradient(135deg, #d4f7dc, #ffffff);
  z-index: 999;
}

.menu-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
  padding: 0 20px;
}

.logo {
  height: 60px;
}

/* MENU PC */
.navbar ul {
  display: flex;
  gap: 25px;
  list-style: none;
}

/* RESET BÁSICO */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* CONTENEDOR */
.menu-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
  background: linear-gradient(135deg, #d4f7dc, #ffffff);
    position: relative;
}

/* LOGO */
.logo {
    width: 120px;
}

/* ICONO */
.menu-icono {
    width: 45px;
    height: 45px;
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
}

/* líneas */
.menu-icono span {
    height: 3px;
    width: 28px;
    background: #1e293b;
    border-radius: 5px;
}

/* NAV DESKTOP */
.navbar ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

.navbar a {
    text-decoration: none;
    color: #ffffff;
    font-weight: 500;
    transition: 0.3s;
}

/* SOCIAL */
.social-nav img {
    width: 20px;
}

#menu-toggle {
    display: none;
}

/* 📱 MOBILE */
@media (max-width: 768px) {

    /* mostrar hamburguesa */
    .menu-icono {
        display: flex;
        cursor: pointer;
        z-index: 1001;
    }

    /* menú oculto por defecto */
    .navbar {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 50%;
        height: auto;
  background: linear-gradient(135deg, #d4f7dc, #ffffff);
        transition: 0.4s ease;
        z-index: 999;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        border-radius: 12px 0 0 12px;
        
    }

    /* menú abierto (JS agrega esta clase) */
    .navbar.active {
        right: 0;
    }

    /* lista vertical */
    .navbar ul {
        display: flex;
        flex-direction: column;
        gap: 0;
        width: 100%;
        padding: 0;
        margin: 0;
    }

    /* separadores */
    .navbar li {
        border-bottom: 1px solid #e2e8f0;
    }

    /* links estilo app */
    .navbar a {
        display: block;
        padding: 16px 28px;
        font-size: 16px;
        text-decoration: none;
        color: #1e293b;
        line-height: 1.9;
    }

    /* efecto toque */
    .navbar a:active {
        background: #e0f2fe;
    }
}


/* ===== ABOUT ===== */
.mv-section {
  padding: 80px 20px;
  background: linear-gradient(135deg, #d4f7dc, #ffffff);
   padding-top: 150px;

}

.mv-container {
  max-width: 1100px;
  margin: auto;
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

/* ===== DECORACIÓN IZQUIERDA ===== */
.mv-decor {
  position: relative;
  width: 120px;
  min-height: 300px;
}

/* figuras */
.shape {
  position: absolute;
  width: 80px;
  height: 120px;
  transform: skewY(-20deg);
}

.shape.red {
  background: #d6452f;
  top: 0;
  left: 20px;
}

.shape.green {
  background: #1f3d2b;
  top: 120px;
  left: 0;
}

/* línea amarilla */
.mv-decor .line {
  position: absolute;
  width: 4px;
  height: 200px;
  background: #e0b400;
  left: 55px;
  top: 40px;
}

/* ===== CONTENIDO ===== */
.mv-content {
  flex: 1;
  
}

.mv-block {
  margin-bottom: 50px;
}

.mv-block h2 {
  font-size: 28px;
  font-weight: 800;
  color: #1f3d2b;
  margin-bottom: 15px;
  letter-spacing: 1px;
}

.mv-block p {
  font-size: 16px;
  color: #444;
  line-height: 1.7;
  text-align: justify;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .mv-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .mv-decor {
    display: none;
  }

  .mv-block h2 {
    font-size: 22px;
  }

  .mv-block p {
    font-size: 15px;
  }
}

/* ABOUT */
.about-pro {
  padding: 10px 0;
}

.about-img-pro {
  border-radius: 15px;
  overflow: hidden;
}

.about-img-pro img {
  width: 100%;
  transition: 0.4s;
}

.about-img-pro:hover img {
  transform: scale(1.05);
}

.about-text-pro .badge {
  background: #4caf50;
  color: white;
  padding: 20 px;
  border-radius: 6px;
  font-size: 12px;
}

.about-text-pro h2 {
   font-size: 28px;
  font-weight: 800;
  color: #1f3d2b;
  margin-bottom: 15px;
  letter-spacing: 1px;
  
}

.features {
  margin: 20px 0;
}

.features div {
  margin-bottom: 8px;
  font-size: 15px;
}

/* BOTÓN */
.btn-main {
  background: #4caf50;
  color: white;
  padding: 12px 20px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: 0.3s;
}

.btn-main:hover {
  background: #388e3c;
}



/* MODAL VIDEO */
.video-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  justify-content: center;
  align-items: center;
}

/* CONTENEDOR */
.video-contenido {
  position: relative;
  width: 80%;
  max-width: 800px;
  animation: fadeIn 0.4s ease;
}

/* VIDEO */
.video-contenido video {
  width: 100%;
  border-radius: 10px;
}

/* BOTÓN CERRAR */
.cerrar {
  position: absolute;
  top: -40px;
  right: 0;
  font-size: 30px;
  color: white;
  cursor: pointer;
}

/* ANIMACIÓN */
@keyframes fadeIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}







.team-pro {
  padding: 80px 20px;
  background: linear-gradient(135deg, #d4f7dc, #ffffff);
  padding-bottom: 30px;

}

.section-title {
  text-align: center;
 font-size: 30px;
  font-weight: 900;
  color: #1f3d2b;
  letter-spacing: 1px;
}

.section-subtitle {
  text-align: center;
  color: #777;
  margin-bottom: 10px;
}

.team-group {
  margin-bottom: 70px;
}

.team-group h3 {
  font-size: 22px;
  margin-bottom: 25px;
  color: #333;
  border-left: 5px solid #4caf50;
  padding-left: 10px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
}

/* CARD */
.team-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  transform: translateY(30px);
  opacity: 0;
  width: auto; 
  display: inline-block;
}

.team-card.show {
  transform: translateY(0);
  opacity: 1;
}

/* HOVER PRO */
.team-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.team-card img {
  width: 100%;
  height: 160px;
  object-fit: contain;
}

.team-info {
  padding: 12px;
  text-align: center;
}

.team-info h4 {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
}

.team-info span {
  display: block;
  font-size: 13px;
  color: #4caf50;
  margin: 6px 0;
}

.team-info p {
  font-size: 13px;
  color: #666;
}


/* RESPONSIVE */
@media (max-width: 768px) {
  .page-title-pro {
    height: 200px;
  }

  .page-title-pro h1 {
    font-size: 28px;
  }

  .about-pro {
    text-align: center;
  }
}



.imagenes-paralelas {
  display: flex;
  justify-content: center;
  gap: 60px;              /* 🔥 separación grande */
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
}

/* TARJETAS GRANDES */
.img-box {
  flex: 1;
  max-width: 550px;       /* 🔥 tamaño grande controlado */
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
  transition: 0.3s;
}

/* EFECTO HOVER PRO */
.img-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.18);
}

/* IMAGEN */
.img-box img {
  width: 100%;
  height: 350px;         /* 🔥 imágenes grandes */
  object-fit: cover;
  display: block;
}

/* ETIQUETA */
.img-label {
  position: absolute;
  bottom: 15px;
  left: 15px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  padding: 10px 16px;
  border-radius: 20px;
  font-size: 15px;
  font-weight: 600;
}




@media (max-width: 768px) {
  .imagenes-paralelas {
    flex-direction: column;   /* 🔥 una arriba y otra abajo */
    gap: 20px;
    padding: 0 15px;
  }

  .img-box {
    max-width: 100%;
    width: 100%;
  }

  .img-box img {
    height: 220px;  /* ajustado para celular estándar */
  }

  .img-label {
    font-size: 13px;
    padding: 8px 12px;
    bottom: 10px;
    left: 10px;
  }
}