    header {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      background: white;
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 15px 1px;
      box-shadow: 0 2px 5px rgba(0,0,0,0.1);
      z-index: 1000;
    }
    
    header .logo {
      font-size: 24px;
      font-weight: bold;
      color: #005073;
    }
    nav a {
      margin: 0 30px;
      text-decoration: none;
      color: #333;
      font-weight: 500;
      font-family: Nyala; 
      font-size: 20px
    }
    nav a:hover {
      color: #005073;
    }
    .btn {
      background: #005073;
      color: white;
      padding: 8px 15px;
      border-radius: 8px;
      text-decoration: none;
      font-weight: bold;
      width: 110px;
      height: 28px;
      margin-right: 12px;
      font-family: Nyala; 
      font-size: 20px;
    }
    .btn:hover {
      background: #0077b6;
    }
    h2{
        text-align: center;
    }

    .hero {
        position: relative; 
        height: 400px; 
        background: #111; 
        color: white; 
        display: flex; 
        align-items: center; 
        justify-content: center; 
        text-align: center; 
        margin-top: 110px;
    }
    .hero img { 
        position: absolute; 
        inset: 0; width: 100%; 
        height: 100%; 
        object-fit: cover; 
        opacity: 0.4; }
    .hero h1 { 
        position: relative; 
        font-size: 2.5rem; 
        font-weight: bold; 
    }
    .Nosotros{
      
      background: #f5f5f5;
    }
    .Mision{
      background: white;
    }
    .Vision{
      background: #f5f5f5;
    }
    .Pilares{
      background: white;
    }
    .Nosotros, .Vision,
    .Mision, .Pilares {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 2rem;                 /* separación entre video/imagen y texto */
      padding: 2rem;
      flex-wrap: wrap;           /* acomoda en pantallas chicas */
      animation: slideInDown 0.8s ease forwards;
      border-radius: 20px;
      padding: 40px;
      box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    
    }



    

    @keyframes slideInDown {
      from { opacity: 0; transform: translateY(-100px); }
      to   { opacity: 1; transform: translateY(0);}
    }

    /* =========================
      SECCIÓN NOSOTROS / VISION
    ========================= */
    .v1 {
      flex: 1 1 50%;             /* mitad de la pantalla en escritorio */
      display: flex;
      justify-content: center;
    }

    .v1 video {
      width: 100%;
      max-width: 600px;          /* tamaño máximo en PC */
      border-radius: 12px;
      box-shadow: 0px 4px 20px rgba(0,0,0,0.1);
    }

.v2 {
  flex: 1 1 45%;             /* texto ocupa la otra mitad */
  font-family: Segoe UI;
  font-size: 1.5rem;
  line-height: 1.4;
  text-align: center;
}

.v2 p {
  margin: 0;
}

.vi1 {
  flex: 1 1 50%;             /* mitad de la pantalla en escritorio */
  display: flex;
  justify-content: center;
}

.vi1 video,.vi1 img {
  width: 100%;
  max-width: 600px;          /* tamaño máximo en PC */
  border-radius: 12px;
  box-shadow: 0px 4px 20px rgba(0,0,0,0.1);
}

.vi2 {
  flex: 1 1 45%;             /* texto ocupa la otra mitad */
  font-family: Segoe UI;
  font-size: 1.5rem;
  line-height: 1.4;
  text-align: center;
}

.vi2 p {
  margin: 0;
}

/* =========================
   SECCIÓN MISION / PILARES
========================= */
.m2 {
  flex: 1 1 50%;
  display: flex;
  justify-content: center;
}

.m2 img,
.m2 video {
  width: 100%;
  max-width: 600px;          /* límite en escritorio */
  height: auto;
  border-radius: 12px;
  display: block;
  object-fit: cover;
}

.m1 {
  flex: 1 1 45%;
  font-family: Segoe UI;
  font-size: 1.5rem;
  line-height: 1.4;
  text-align: center;
}

.m1 p {
  margin: 0;
}

/* =========================
   📱 VISTA MÓVIL
========================= */
@media (max-width: 768px) {
  .Nosotros, .Vision,
  .Mision, .Pilares {
    flex-direction: column;    /* apila vertical */
    text-align: center;
  }

  .v1, .v2, .m1, .m2 {
    flex: 1 1 100%;            /* ocupan todo el ancho */
  }

  .v1 video,
  .m2 img,
  .m2 video {
    max-width: 100% !important; /* 🔑 ancho completo en móvil */
    width: 100%;
    height: auto;
  }

  .v2, .m1 {
    margin-top: 1rem;          /* separa texto del video/imagen */
}
}
  
/* === Mejorar alternancia de fondos === */
.Nosotros {
  background: linear-gradient(135deg, #f5f5f5, #ffffff);
}
.Mision {
  background: linear-gradient(135deg, #ffffff, #f9f9f9);
}
.Vision {
  background: linear-gradient(135deg, #f5f5f5, #ffffff);
}
.Pilares {
  background: linear-gradient(135deg, #ffffff, #f9f9f9);
}

/* === Animaciones personalizadas por sección === */
.Nosotros {
  animation: fadeLeft 1s ease forwards;
}
.Mision {
  animation: fadeRight 1s ease forwards;
}
.Vision {
  animation: fadeLeft 1s ease forwards;
}
.Pilares {
  animation: fadeRight 1s ease forwards;
}

@keyframes fadeLeft {
  from { opacity: 0; transform: translateX(-80px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes fadeRight {
  from { opacity: 0; transform: translateX(80px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* === Hover en imágenes/videos === */
.v1 video,
.m2 img,
.vi1 img,
.Pilares .m2 img {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.v1 video:hover,
.m2 img:hover,
.vi1 img:hover,
.Pilares .m2 img:hover {
  transform: scale(1.03);
  box-shadow: 0px 12px 30px rgba(0,0,0,0.2);
}



.whatsapp-button {
  position: fixed; /* Fija el elemento en la pantalla */
  bottom: 50px;    /* Distancia desde la parte inferior */
  right: 50px;     /* Distancia desde la parte derecha */
  z-index: 100;    /* Asegura que esté sobre otros elementos */
  display: block;  /* Asegura que el enlace ocupe el espacio del img */
}

.whatsapp-button img {
  width: 64px;     /* Ancho del icono */
  height: 64px;    /* Alto del icono */
  border-radius: 50%; /* Para un botón redondo (opcional) */
  box-shadow: 0 2px 5px rgba(0,0,0,0.3); /* Sombra para hacerlo flotante */
}

    
.campo{
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        flex-wrap: wrap;           /* permite que se acomode en pantallas chicas */
        animation: slideInDown 0.8s ease forwards;
        
        
        
    }
    .eslogan{
        flex: 1 1 45%;             /* ocupa la mitad en pantallas grandes */
        display: flex;
        justify-content: center;
    }
    .redes{
        flex: 1 1 50%;             /* ocupa la otra mitad */
        font-size: 1.5rem;
        line-height: 1.4;
        text-align: center;
    }
    .footer{
        background: linear-gradient(90deg, #0f172a, #005073, #0077b6);
        color: white;
        height: max-content;
    
    }
    .Designed{
      text-align: center;
    }
    .logo-face{
        width: 55px;
        height: 55px;
    }
    .logo-linke{
        width: 55px;
        height: 55px;
    }
    .logo-insta{
        width: 55px;
        height: 55px;
    }
    