/* ==========================
   MISION - VISION - SERVICIOS
========================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
    sans-serif;
}
.info-section {
    width: 100%;
    padding: 100px 8%;
    background: #111;
    color: #fff;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    margin-top: 85px;
}

.section-header h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #fff;
}

.section-header p {
    color: #bdbdbd;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

.info-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    /*margin-top: 100px;*/
}

.info-card {
    background: #1b1b1b;
    padding: 35px;
    border-radius: 20px;
    border: 1px solid #2c2c2c;
    transition: 0.4s ease;
    position: relative;
    overflow: hidden;
}

.info-card:hover {
    transform: translateY(-8px);
    border-color: #666;
    box-shadow: 0 15px 30px rgba(255,255,255,0.05);
}

.card-number {
    font-size: 4rem;
    font-weight: 800;
    color: rgba(255,255,255,0.08);
    margin-bottom: 20px;
}

.info-card h3 {
    font-size: 1.7rem;
    margin-bottom: 15px;
    color: #fff;
}

.info-card p {
    color: #c7c7c7;
    line-height: 1.8;
    font-size: 1rem;
}

/* Tablets */

@media (max-width: 992px) {
    .info-container {
        grid-template-columns: 1fr;
    }

    .section-header h2 {
        font-size: 2.5rem;
    }
}

/* Móviles */

@media (max-width: 576px) {

    .info-section {
        padding: 70px 20px;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .info-card {
        padding: 25px;
    }

    .card-number {
        font-size: 3rem;
    }

    .info-card h3 {
        font-size: 1.4rem;
    }
}


/*Barra de Navegacion*/
html {
  scroll-behavior: smooth;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
  z-index: 1000;
}

.navbar .logo {
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 1px;
}

.navbar .logo img {
  width: 50px;
  filter: brightness(0);
}
.navbar nav a {
  color: var(--text-dark);
  text-decoration: none;
  margin-left: 20px;
  font-size: 0.95rem;
  transition: color 0.3s;
}

.navbar nav a:hover {
  color: var(--text-muted);

}
/* Botón hamburguesa */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: var(--text-dark);
}

/* Tablets y móviles */
@media (max-width: 768px) {
  .navbar {
    padding: 15px 20px;
  }

  .menu-toggle {
    display: block;
  }

  .navbar nav {
    position: absolute;
    top: 80px;
    left: auto;
    width: 90%;/*100 anteriormente*/
    background: rgba(255, 255, 255, 0.98);
    /*border-top: 1px solid var(--border-color);*/
    margin-top: 22px;
    border-radius: 12px;

    display: flex;
    flex-direction: column;
    align-items: center;

    max-height: 0;
    overflow: hidden;

    transition: max-height 0.3s ease;

  }

  .navbar nav.active {
    max-height: 300px;
  }

  .navbar nav a {
    margin: 15px 0;
    font-size: 1rem;
  }
}


body {
    margin: 0;
    padding: 0;
}

/* Estilos para que el iframe actúe como un bloque fluido */
.navbar-iframe {
    width: 100%;
    border: none; /* Elimina el borde gris clásico del iframe */
    display: block; /* Evita espacios en blanco debajo del elemento */
    
    /* IMPORTANTE: Ajusta esta altura según el alto real de tu navbar */
    height: 70px; 
}