body {
  margin: 0;
  padding: 0;
  font-family:  'Poppins', sans-serif;
  background: #f8f9fb;
  color: #111;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 40px;
  background: white;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.logo {
  margin-right: auto; /* Esto fuerza que el logo se quede a la izquierda */
  display: flex;
  align-items: center;
}


.logo img {
  width: 40px;
  margin-right: 10px;
}

.logo img {
  width: 140px; /* Aumentado de 40px a 80px */
  margin-right: 15px; /* Opcionalmente ajustado */
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
    padding: 10px 40px;
  background-color: #ffffff;
  position: sticky;
  padding: 15px;
  top: 0;
  z-index: 1000;
  gap: 20px;
    box-shadow: 0 10px 17px 0px rgba(0, 0, 0, 0.1);
}

nav {
  display: flex;
  align-items: center;
  gap: 20px;
     justify-content: space-between;
        position: sticky;
              z-index: 1000;
                      top: 0;
}
.nav-links a {
    display: flex;
  align-items: center;
  gap: 20px;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 16px;
    text-decoration: none;
  color: #525252;
   position: sticky;
}

.lang-btn {
  padding: 5px 9px;
  background: #B9E5FA;
  border: none;
  cursor: pointer;
  padding: 20;
  margin: 20;
   font-family: 'Poppins', sans-serif;
   font-weight: bold;
   font-size: 16px;
}

.hero {
  display: flex;
    justify-content: space-between;
  gap: 0px;
}

.hero-text {
  max-width: 50%;
  flex: 1;
    padding: 80px 50px;
}

.hero-text h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  font-family: 'Poppins', sans-serif;
  padding: 20;
  margin:20;
  line-height: 1.1;
  font-weight: 800px;
    }

.hero-text p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  font-family: 'Poppins', sans-serif;
}

.cta {
  padding: 12px 34px;
  background-color: #aee0fc;
  border: none;
  font-weight: bold;
  cursor: pointer;
  font-family: 'Source Sans 3',sans-serif;
  box-shadow: 0 10px 17px 0px rgba(0, 0, 0, 0.1);
  font-size: 14px;
}

.hero-image {
  flex: 1.0;
  text-align: right;
  margin: 0;
  padding: 0;
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0;
  padding: 0;
  margin-top: -125px;
  margin-right: 900px;
}

.about-section {
  display: flex;
  width: 100%;
  background-color: #000;
  color: white;
  border-bottom: 1px solid #1E2939; /* Borde abajo blanco */

}

.about-image {
  flex: 1;
  background-image: url('images/about-us.png');
  background-size: cover;
  background-position: center;
}
.about-text {
  flex: 0.5;
   padding: 78px;
  background-image: linear-gradient(to bottom, #1D2334, #000 , rgba(0, 0, 0, 0.1));
    border-bottom-width: 1px;
    overflow: hidden;
z-index: 0;
  display: flex;
    flex-direction: column;
     justify-content: center;
}
.about-text h2 {
  font-size: 30px;
  color: #b9e5fa;
  margin-bottom: 20px;
    flex: 0.5;
  font-family: 'Montserrat' sans-serif;

}
.about-text h3 {
  margin-top: 20px;
  font-size: 17px;
  color: #fff;
  font-family: 'Montserrat' sans-serif;
}
.about-text p {
  font-size: 15px;
  font-family: 'Source Sans 3', sans-serif;
  margin: 5px 0px 0px;
}

.servicios {
  background-color: #000;
  color: #fff;
  text-align: center;
    padding: 50px 20px;
    width: 100%;
    box-sizing: border-box;
}

.servicios h2 {
  font-size: 2em;
  margin-bottom: 20px;
  font-family: 'Montserrat', sans-serif;
}

.servicios h3 {
  font-size: 1em;
  margin-bottom: 20px;
  font-family: 'Montserrat', sans-serif;

}

.contenedor-servicios {
    display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  width: 100%;
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
  box-sizing: border-box;

}

.servicio {
  background-color: #aeb9c3;
  padding: 20px;
  border-left: 8px solid #fff; /* Borde izquierdo blanco */
  display: flex;
  gap: 10px;
    text-align: left;
  color: #000;
  flex-direction: column;
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.1);

}
.icono-servicio {
  width: 35px;
  height: 35px;
  object-fit: contain;
  margin: 0;
}

.servicio h3 {
  font-size: 1em;
  margin: 0; /* Sin espacio extra arriba/abajo */
  font-family: 'Montserrat', sans-serif;
}

.servicio p {
  margin: 0; /* Eliminar margen entre párrafo y título */
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95em;
  line-height: 1.3; /* Un poco de aire entre líneas */
}

/* Pantallas medianas: 2 columnas */
@media (min-width: 768px) {
  .contenedor-servicios {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Pantallas grandes: 2 columnas, 2 filas (máximo 4 elementos) */
@media (min-width: 1024px) {
  .contenedor-servicios {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: auto;
  }

  .contenedor-servicios > .servicio:nth-child(n+5) {
    display: none; /* Oculta servicios extra si hay más de 4 */
  }
}
.consultoria-estrategica {
  background-image: url('images/Consultoria2.png'); /* reemplaza con tu ruta real */
      background-size: cover;
  background-position: center;
    background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  width: 100%;
  box-sizing: border-box;
  border-top: none;
  border-bottom: none;
}

.consultoria-estrategica:: {
    content: "";
  position: absolute;
  top: 0; bottom: 0; left: 0; right: 0;
  background: rgba(255, 255, 255, 0); /* transparente */
  z-index: -1;
}


.consultoria-overlay {
  padding: 10px 40px;
  border-radius: 10px;
  text-align: center;
  max-width: 800px;
  box-sizing: border-box;
}

.consultoria-overlay h2 {
  font-size: 2rem;
  color: #131618;
  font-family: 'Poppins', sans-serif;
font-weight: 700;
}

.consultoria-overlay p {
  font-size: 0.9rem;
  color: #000;
}

@media (max-width: 480px) {
  .consultoria-estrategica {
    padding: 40px 10px;
        background-position: center center;
  }

  .consultoria-overlay h2 {
    font-size: 1.5rem;

  }

  .consultoria-overlay p {
    font-size: 0.85rem;
  }
}


.contacto {
   position: relative;
background: linear-gradient(to bottom right, #b3b3b3, white ,white);
  background-size: cover;
    background-position: left;
   padding: 100px 20px;
    text-align: center;
    overflow: hidden;
      height: 350px;
      z-index: 0;
      position: relative;
}

.contacto .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(6px);
  background-color: rgba(255, 255, 255, 0.255);
  z-index: 1;
}

.contenido-formulario {
      position: relative;
  z-index: 2;
    max-width: 900px;
       margin: 0 auto;
       margin-top: -70px;
}

.contenido-formulario h2 {
  font-size: 2em;
  font-weight: 700;
  margin-bottom: 10px;
   margin-right: 0px; /* Ajusta el valor según necesites */
  font-family: var(--font-montserrat);
  --tw-font-weight: var(--font-weight-bold);
  white-space: nowrap;
}

.contenido-formulario p {
  margin-bottom: 30px;
  font-size: 0.9rem;
  color: #000;
  font-family: var(--font-source);
}

.contenido-formulario input, textarea {
  width: 72%;        /* ← Alinear con encabezado */
  max-width: 1500px;   /* ← Límite visual */
  margin-left: 0;     /* ← Asegura alineación a la izquierda */
  padding: 10px;
  margin-bottom: 15px;
    border: 1px solid #e8e8e8;
  border-radius: 0px;
   font-size: 1rem;
    box-shadow: 0 10px 17px 0px rgba(0, 0, 0, 0.1);
         font-family: var(--font-montserrat);
}

.contenido-formulario button {
  width: 25%;        /* ← Alinear con encabezado */
  max-width: 1500px;   /* ← Límite visual */
  margin-right: 10px;     /* ← Asegura alineación a la izquierda */
  padding: 10px;
  margin-bottom: 15px;
    border: 1px solid #B9E5FA;
  border-radius: 5px;
   font-size: 1rem;
        font-family: var(--font-montserrat);
}

.contenido-formulario input:hover,
.contenido-formulario textarea:hover {
  border-color: #2196F3; /* Azul */
    outline: none;
}

.contenido-formulario input:focus,
.contenido-formulario textarea:focus {
  border-color: #1976D2; /* Azul más oscuro para el focus */
  outline: none;
}

.contenido-formulario button {
  background-color: #a8dcf0;
  color: #000;
  padding: 10px 32px;
  font-weight: bold;
   font-size: 1rem;
  border: none;
  border-radius: 0px;
  cursor: pointer;
  transition: background 0.3s;
  box-shadow: 0 10px 17px 0px rgba(0, 0, 0, 0.1);
}

.contenido-formulario button:hover {
  background-color: #8ac8e6;
}

/* Estilos del pie de página */
.footer {
  background-color: #101828; /* Color oscuro del fondo (según la imagen) */
  color: oklch(.707 .022 261.325);        /* Color del texto (gris claro) */
  text-align: center;
  padding: 11px 10px;
  font-size: 15px;
  font-family: 'Segoe UI', sans-serif;
}

/* ======== RESPONSIVE DESIGN ======== */
@media (max-width: 1024px) {
  .hero {
    flex-direction: column;
    text-align: center;
  }

  .hero-text {
    max-width: 100%;
    padding: 40px 20px;
  }

  .hero-image {
    text-align: center;
    margin: 20px auto 0;
    padding: 0;
  }

  .hero-image img {
    margin: 0 auto;
    width: 90%;
    height: auto;
  }

  .about-section {
    flex-direction: column;
  }

  .about-image {
    height: 250px;
  }

  .about-text {
    padding: 40px 20px;
  }

  .contenedor-servicios {
    grid-template-columns: 1fr;
    padding: 0 20px;
  }

  .consultoria-overlay h2,
  .consultoria-overlay p,
  .contenido-formulario h2,
  .contenido-formulario p {
    white-space: normal;
    padding: 0 10px;
  }

  .contenido-formulario input,
  .contenido-formulario textarea,
  .contenido-formulario button {
    width: 90%;
  }
}

@media (max-width: 768px) {
  header, {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  nav {
    flex-direction: column;
    width: 100%;
  }

  .nav-links {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  .nav-links a {
    width: 100%;
    text-align: left;
    padding: 10px 0;
    border-bottom: 1px solid #ccc;
  }

  .servicios {
    padding: 40px 20px;
  }

  .footer {
    font-size: 13px;
    padding: 15px;
  }
}

@media (max-width: 480px) {
  .hero-text h1 {
    font-size: 1.7rem;
  }

  .cta {
    font-size: 13px;
    padding: 10px 24px;
  }

  .servicio h3 {
    font-size: 1rem;
  }

  .servicio p {
    font-size: 0.9rem;
  }

  .contenido-formulario h2 {
    font-size: 1.4em;
  }

  .contenido-formulario button {
    font-size: 0.9em;
  }
}

/* Estilos del menú hamburguesa */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  z-index: 1001;
}

.menu-toggle span {
  height: 3px;
  width: 25px;
  background: #333;
  border-radius: 2px;
  transition: all 0.3s ease;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: #fff;
    padding: 10px 20px;
    position: absolute;
    top: 100%;
    left: 0;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    padding: 12px 0;
    border-bottom: 1px solid #ddd;
    width: 100%;
  }
}

