/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Arial', sans-serif;
    background-color: #f4f4f4;
    color: #333;
  }
  
  /* Navbar */
  .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #083b6e;
    padding: 1rem 2rem;
    position: relative;
    height: 107px; /*altura fija */
  }
  
  .logo {
    display: flex;
    align-items: center;
    gap: 1rem; /* espaciado entre logos */
    height: auto !important;
  }
  
  .logo-ags {
    height: 100px !important; /* o el tamaño que quieras */
    
  }
  
  .logo-tepezala {
    height: 112px !important; /* o el tamaño que quieras */
  }
  
  .logo-unii {
    height: 120px !important; /* o el tamaño que quieras */
  }
  /*.nav-links {
    display: flex;
    list-style: none;
  }*/
  
  /* Menú base */
  .nav-links {
    display: flex;
    gap: 1.5rem;
    list-style: none;
    align-items: center;
    position: relative;
  }
  
  
  .nav-links li {
    position: relative;
    margin-left: 1.5rem;
  }
  
  .nav-links a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 0.5rem;
  }
  
  .nav-links a.active {
    background-color: #0a5db1;
    border-radius: 4px;
    padding: 0.5rem 1rem;
  }
  
  /* Menú desplegable oculto por defecto */
  .dropdown-menu {
    display: none;
    position: absolute;
    background-color: #003366;
    border-radius: 4px;
    top: 100%;
    left: 0;
    list-style: none;
    padding: 0.5rem 0;
    z-index: 999;
    min-width: 240px;
  }
  
  /* Mostrar el menú al dar clic (clase "open" se activa con JS) */
  .dropdown.open .dropdown-menu {
    display: block;
  }
  
  .dropdown-menu li a {
    display: block;
    padding: 0.6rem 1rem;
    color: white;
    text-decoration: none;
    transition: background-color 0.2s;
  }
  
  .dropdown-menu li a:hover {
    background-color: #004080;
  }
  
  /* Opcional: ícono de flecha ▾ que rota */
  .dropdown-toggle {
    cursor: pointer;
  }
  
  /* Submenú oculto por defecto */
  .sub-menu {
    display: none;
    background-color: #004080;
    list-style: none;
    margin-top: 0.3rem;
    border-radius: 4px;
    padding: 0.3rem 0;
  }
  
  .sub-dropdown.open .sub-menu {
    display: block;
  }
  
  .sub-menu li a {
    display: block;
    padding: 0.5rem 1rem;
    color: white;
    text-decoration: none;
    transition: background-color 0.2s;
  }
  
  .sub-menu li a:hover {
    background-color: #0055aa;
  }
  
  /* Estilo para el botón del submenú */
  .sub-toggle {
    cursor: pointer;
    display: block;
    color: white;
    padding: 0.6rem 1rem;
    text-decoration: none;
  }
  
  /* Burger menu (solo visible en móviles, funcional si quieres adaptarlo) */
  .burger {
    display: none;
    font-size: 1.5rem;
    color: white;
    background: none;
    border: none;
  }
  
  .info-section {
    padding: 2rem;
    background-color: white;
  }
  
  .info-section h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: #001f3f;
  }
  
  .info-block {
    display: flex;
    align-items: center;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
  }
  
  .info-text {
    flex: 1;
    font-size: 1.1rem;
    line-height: 1.5;
    color: #333;
  }
  
  .image-container {
    flex: 1;
  }
  
  .image-container img {
    width: 100%;
    border-radius: 8px;
    object-fit: cover;
    max-height: 350px;
  }
  
  /* Responsivo */
  @media (max-width: 768px) {
    .info-block,
    .info-block.reverse {
      flex-direction: column;
      text-align: center;
    }
  
    .info-text {
      text-align: center;
    }
  }
  
  
 /* Video responsive */
 .video-block {
    display: flex;
    justify-content: center;
    margin: 2rem 0;
  }
  
  .video-block iframe {
    width: 90%;
    max-width: 720px;
    height: 405px;
    border-radius: 8px;
  }
  
  footer {
    background-color: #001f3f;
    color: white;
    padding: 2rem 1rem 1rem;
  }
  
  .footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .footer-column {
    flex: 1;
    min-width: 250px;
  }
  
  .footer-column h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
    color: #ffd700;
  }
  
  .footer-column p {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
  }
  
  .social-icons {
    display: flex;
    gap: 1rem;
  }
  
  .social-icons img {
    width: 32px;
    height: 32px;
    filter: brightness(0) invert(1);
    transition: transform 0.3s ease;
  }
  
  .social-icons a:hover img {
    transform: scale(1.1);
  }
  
  .footer-bottom {
    text-align: center;
    margin-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 1rem;
    font-size: 0.85rem;
  }
  
  /* Responsive */
  @media (max-width: 768px) {
    .footer-container {
      flex-direction: column;
      text-align: center;
      align-items: center;
    }
  
    .footer-column {
      align-items: center;
    }
  }
  
  /* Responsive */
  @media (max-width: 768px) {
    .info-section {
      flex-direction: column;
    }
  
    .hero-text h1 {
      font-size: 2rem;
    }
  
    .burger {
      display: block;
      font-size: 2rem;
      cursor: pointer;
    }
  
    .nav-links {
      display: none;
      flex-direction: column;
      align-items: flex-start;
      background-color: #001f3f;
      position: absolute;
      top: 100%;
      left: 0;
      width: 100%;
      padding: 1rem;
      z-index: 1000;
    }
  
    .nav-links.nav-active {
      display: flex;
    }
  
    .nav-links li {
      margin: 0.5rem 0;
      width: 100%;
    }
  
    .nav-links li a {
      display: block;
      width: 100%;
    }
  
    .dropdown-menu,
    .sub-menu {
      position: static;
      background-color: #002b5c;
      width: 100%;
    }
  
    .dropdown-menu li,
    .sub-menu li {
      padding-left: 1rem;
    }
  
    .dropdown.open .dropdown-menu,
    .sub-dropdown.open .sub-menu {
      display: block;
    }
  
    .dropdown-toggle,
    .sub-toggle {
      width: 100%;
    }
  
    @media (max-width: 768px) {
      .hero-text {
        margin-left: 0;
        text-align: center;
        max-width: 90%;
      }
    }
  
    @media (max-width: 768px) {
      .logo {
    gap: 0.5rem; /* menos espacio entre logos */
  }

  .logo-ags {
    height: 50px !important; /* tamaño reducido */
  }

  .logo-tepezala {
    height: 60px !important;
  }

  .logo-unii {
    height: 65px !important;
  }
    }
  