/* fondo */
body {
  margin: 0;
  padding: 0;
  min-height: 100vh;  
  background: linear-gradient(135deg, #ffffff, #ffffff);
  overflow-x: hidden;
  overflow-y: auto;
  font-family: 'Gotham', sans-serif;
}




/* ===== RESET CRÍTICO ===== */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  overflow-x: hidden;
}

/* ===== HEADER BASE ===== */
.header {
  width: 100%;
  padding: 0px 20px;
  background: linear-gradient(45deg, #000000, #000000d4, #000000af, #0000008b, #00000091);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
  color: rgb(255, 255, 255);
  height: 60px;
}

/* LOGO */
.logo img {
  width: 100px;
  height: 100px;
}

/* MENÚ DESKTOP */
nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
  margin: 0;
  padding: 0;
}

nav ul li a {
  color: rgb(255, 255, 255);
  text-decoration: none;
  font-size: 17px;
  padding: 8px 12px;
  border-radius: 6px;
}

/* HOVER */
nav ul li a:hover {
  background: rgba(255, 255, 255, 0);
}

/* OCULTOS POR DEFECTO */
.menu-btn,
.close-btn {
  display: none;
}

/* ================== MÓVIL ================== */
@media (max-width: 900px) {

  .header {
    justify-content: center;
  }

  /* HAMBURGUESA IZQUIERDA */
  .menu-btn {
    display: block;
    position: absolute;
    left: 15px;
    font-size: 30px;
    color: white;
    cursor: pointer;
  }

  /* LOGO CENTRADO */
  .logo img {
    width: 90px;
  }

  /* MENÚ OCULTO ARRIBA */
nav ul {
  position: fixed;
  inset: 0;
  height: 100dvh; /* IMPORTANTE */
  background: linear-gradient(45deg, #000000, #1f1e1e, #616161, #616161d0, #616161b8);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  transition: transform 0.4s ease;
  transform: translateY(-100%);
  pointer-events: none;
  z-index: 999;
}


nav ul.show {
  transform: translateY(0);
  pointer-events: auto;
}


  /* BOTÓN CERRAR */
  .close-btn {
    display: block;
    position: absolute;
    top: 18px;
    right: 20px;
    font-size: 34px;
    color: white;
    cursor: pointer;
  }

  nav ul li a {
    font-size: 22px;
  }
}

/* ================== TELÉFONOS PEQUEÑOS ================== */
@media (max-width: 360px) {

  .menu-btn {
    font-size: 26px;
  }

  .logo img {
    width: 80px;
  }

  nav ul li a {
    font-size: 20px;
  }
}












/* --- Carrusel: base --- */
.carousel-container {
  position: relative;
  width: 100%;
  height: 75vh;               /* ocupa la mayor parte de la pantalla */
  max-height: 900px;
  overflow: hidden;
  display: block;
  background:#000;
}

.carousel-track {
  width: 100%;
  height: 100%;
  position: relative;
}

/* cada slide ocupa todo el contenedor y se apilan */
.carousel-slide {
  position: absolute;
  inset: 0 0 0 0;
  opacity: 0;
  transition: opacity 0.8s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-slide.active {
  opacity: 1;
  z-index: 2;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* cubre todo el espacio, recorta si es necesario */
  display: block;
}

/* Flechas */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.35);
  color: #fff;
  border: none;
  padding: 12px 14px;
  font-size: 28px;
  line-height: 1;
  border-radius: 8px;
  cursor: pointer;
  z-index: 10;
  transition: transform .18s ease, background .18s;
}

.carousel-btn:hover { transform: translateY(-50%) scale(1.06); background: rgba(0,0,0,0.55); }

.carousel-btn.prev { left: 18px; }
.carousel-btn.next { right: 18px; }

/* Indicadores (puntos) */
.carousel-indicators {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 12;
}

.carousel-indicators button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.45);
  cursor: pointer;
  transition: transform .18s, background .18s;
}

.carousel-indicators button.active {
  background: #ffffff;
  transform: scale(1.25);
}

/* Responsive: altura menor en móviles */
@media (max-width: 900px) {
  .carousel-container { height: 55vh; }
  .carousel-btn { font-size: 24px; padding: 10px 12px; }
}

@media (max-width: 480px) {
  .carousel-container { height: 45vh; }
  .carousel-btn { font-size: 20px; padding: 8px 10px; }
  .carousel-indicators { bottom: 12px; gap: 6px; }
  .carousel-indicators button { width: 8px; height: 8px; }
}








/* CONTENEDOR GENERAL */
.mvv-section {
    width: 100%;
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    gap: 80px;
}

/* FILAS */
.mvv-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

/* Misión y Valores → NORMAL (Texto izquierda / Imagen derecha) */
.mvv-normal {
    flex-direction: row;
}

/* Visión → INVERSO (Imagen izquierda / Texto derecha) */
.mvv-reverse {
    flex-direction: row-reverse;
}

/* TEXTOS */
.mvv-text {
    width: 50%;
    text-align: center;       
}

.mvv-text h2 {
    font-size: 36px;
    color: #52bec0b7;
    margin-bottom: 20px;       
    font-weight: 700;
}

.mvv-text p,
.mvv-text ul li {
    font-size: 18px;
    line-height: 1.7;         
    color: #333;
    text-align: justify;       
    text-justify: inter-word;  
    margin-bottom: 12px;
}

.mvv-text ul {
    padding: 0;
    margin: 0;
    list-style: none;
}


/* IMÁGENES */
.mvv-img {
    width: 50%;
}

.mvv-img img {
    width: 100%;
    height: auto;
    border-radius: 14px;
    box-shadow: 0px 6px 20px rgba(0,0,0,0.15);
    object-fit: cover;
}

/* RESPONSIVE */
@media (max-width: 900px) {

    .mvv-row {
        flex-direction: column !important;
        text-align: center;
    }

    .mvv-text, .mvv-img {
        width: 100%;
    }
}




/* SECCIÓN DIRECTIVOS */
.directivos {
    padding: 80px 40px;
    text-align: center;
}

.titulo-directivos {
    font-size: 40px;
    font-weight: 700;
    color: #000000c0;
    margin-bottom: 15px;
}

/* GRID */
.directivos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;

    max-width: 1200px;   /* 🔥 controla el ancho */
    margin: 0 auto;      /* 🔥 centra el grid */
}
.directivos-card {
    max-width: 260px;
}

/* TARJETA DEL DIRECTIVO */
.directivo-card {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* FOTO REDONDA */
.directivo-card img {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid #1a3fa341;
    box-shadow: 0px 5px 18px rgba(0,0,0,0.25);
    transition: 0.3s ease;
}

.directivo-card img:hover {
    transform: scale(1.05);
}

/* NOMBRE */
.directivo-card h3 {
    margin-top: 18px;
    font-size: 22px;
    color: #333;
}

/* CARGO */
.directivo-card p {
    margin-top: 5px;
    font-size: 16px;
    color: #666;
}

/* RESPONSIVE */
@media (max-width: 1100px) {
    .directivos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 650px) {
    .directivos-grid {
        grid-template-columns: 1fr;
    }

    .directivo-card img {
        width: 160px;
        height: 160px;
    }
}









/* ===== FOOTER ===== */
.footer {
  width: 100%;
  background: #000;
  color: #fff;
  padding: 25px 0 15px;
  font-family: 'Gotham', sans-serif;
}

/* CONTENEDOR */
.footer-contenido {
  width: 90%;
  max-width: 1100px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
  flex-wrap: wrap;
}

/* COLUMNAS */
.footer-col {
  width: 260px;
  font-size: 14px;
}

/* ===== BRAND ===== */
.footer-brand img {
  width: 85px;
  margin-bottom: 10px;
  border-radius: 10%;
}

.footer-brand h3 {
  font-size: 18px;
  margin: 0;
}

.footer-brand .slogan {
  display: block;
  font-size: 13px;
  color: #00FFFF;
  margin-bottom: 8px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.4;
  color: #ccc;
}

/* TITULOS */
.footer-col h4 {
  font-size: 16px;
  margin-bottom: 10px;
}

/* LINKS */
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin: 6px 0;
}

.footer-col ul li a {
  color: #ccc;
  text-decoration: none;
  transition: 0.3s;
}

.footer-col ul li a:hover {
  color: #fff;
}

/* CONTACTO */
.footer-col p {
  margin: 6px 0;
  color: #ccc;
}

/* COPY */
.footer-copy {
  text-align: center;
  font-size: 13px;
  color: #aaa;
  margin-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 10px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .footer-contenido {
    justify-content: center;
    text-align: center;
  }

  .footer-col {
    width: 100%;
  }

  .footer-brand img {
    margin: auto;
  }
}



/* Responsive */
@media (max-width: 900px) {
  .footer-contenido {
    justify-content: center;
    text-align: center;
  }
  .footer-col {
    width: 80%;
  }
}





/* =========================
 REDES SOCIALES
========================= */
.social-bar {
  position: fixed;
  bottom: 10px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  z-index: 999;
}

/* IZQUIERDA */
.social-left {
  left: 20px;
}

/* DERECHA */
.social-right {
  right: 20px;
}

/* ICONOS */
.social-icon {
  width: 25px;
  height: 35px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: transparent;   /* ✅ totalmente transparente */
  border-radius: 0;           /* opcional: elimina forma circular */
  cursor: pointer;
  transition: transform 0.3s ease;
  box-shadow: none;           /* ✅ elimina halo/blanco */
}


.social-icon img {
  width: 40px;
  height: 40px;
  transition: 0.3s;
}

/* HOVER */
.social-icon:hover {
  transform: translateY(-4px);
  box-shadow: none;
}

.social-icon:hover img {
  transform: scale(1.15);
}

/* 🎵 TIKTOK – fondo blanco */
.social-icon.tiktok {
  background: transparent;
  box-shadow: none;
}

/* =========================
   WHATSAPP FLOTANTE
========================= */
.floating_btn {
  position: fixed;
  bottom: 40px;
  right: 30px;
  width: 90px;
  height: 90px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

/* BOTÓN */
.contact_icon {
  background-color: #52BEC0;
  color: #fff;
  width: 60px;
  height: 60px;
  font-size: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;

  box-shadow: 0 0 0 0 #52BEC0;
  animation: pulsing 1.4s infinite;
  transition: transform 0.3s ease;
}

.contact_icon:hover {
  transform: scale(1.12);
}

/* TEXTO */
.text_icon {
  margin-top: 8px;
  color: #555555;
  font-size: 13px;
  font-weight: 600;
  font-family: 'Gotham', sans-serif;
}

/* ANIMACIÓN PULSO */
@keyframes pulsing {
  0% {
    box-shadow: 0 0 0 0 #52BEC0;
  }
  70% {
    box-shadow: 0 0 0 22px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* =========================
   RESPONSIVE
========================= */

/* Tablets */
@media (max-width: 768px) {
  .floating_btn {
    bottom: 30px;
    right: 20px;
  }

  .contact_icon {
    width: 56px;
    height: 56px;
    font-size: 30px;
  }
}

/* Celulares */
@media (max-width: 480px) {
  .floating_btn {
    bottom: 25px;
    right: 15px;
  }

  .contact_icon {
    width: 52px;
    height: 52px;
    font-size: 28px;
  }

  .text_icon {
    font-size: 12px;
  }
}


/* =========================
   RESPONSIVE
========================= */

/* Tablets */
@media (max-width: 768px) {
  .social-bar {
    bottom: 30px;
    gap: 14px;
  }

  .social-left {
    left: 18px;
  }

  .social-right {
    right: 18px;
  }

  .social-icon {
    width: 40px;
    height: 40px;
  }

  .social-icon img {
    width: 46px;
    height: 46px;
  }
}

/* Celulares */
@media (max-width: 480px) {
  .social-bar {
    bottom: 25px;
    gap: 10px;
  }

  .social-left {
    left: 12px;
  }

  .social-right {
    right: 12px;
  }

  .social-icon {
    width: 48px;
    height: 48px;
  }

  .social-icon img {
    width: 44px;
    height: 44px;
  }
}

/* Celulares pequeños */
@media (max-width: 360px) {
  .social-icon {
    width: 34px;
    height: 44px;
  }

  .social-icon img {
    width: 42px;
    height: 42px;
  }
}
