 * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background: linear-gradient(to bottom, #0a0a23, #1a1a3d);
  color: white;
}


/* Estilo general del header */
header {
  position: absolute;
  top: 20px;
  left: 0;
  right: 0;
  padding: 0 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 100;
}

/* Logo con bordes suaves */
.logo {
  height: 80px;
  width: 80px;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.6);
}

/* Navegación principal */
nav {
  display: flex;
  gap: 30px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 60px;
  padding: 10px 40px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

/* Estilo de los enlaces */
nav a {
  color: #1a1a3d;
  font-weight: 600;
  text-decoration: none;
  font-size: 16px;
  padding: 8px 18px;
  border-radius: 30px;
  transition: 0.3s ease;
}

nav a:hover {
  background-color: #167cff;
  color: white;
  box-shadow: 0 4px 12px rgba(22, 124, 255, 0.4);
  transform: translateY(-1px);
}

/* Botón hamburguesa para móviles */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  z-index: 200;
}

.menu-toggle span {
  height: 3px;
  width: 25px;
  background-color: #1a1a3d;
  border-radius: 2px;
}

/* Responsive */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  nav {
    position: absolute;
    top: 100px;
    right: 30px;
    flex-direction: column;
    gap: 15px;
    padding: 20px 30px;
    display: none;
    border-radius: 20px;
    background-color: rgba(255, 255, 255, 0.95);
  }

  nav.active {
    display: flex;
  }

  nav a {
    font-size: 18px;
    padding: 10px;
  }
}


.container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 170px 50px;
  flex-wrap: wrap;
  background: url('../imagenes/portada.jpg') no-repeat center center;
  background-size: cover;
  position: relative;
  z-index: 0;
}

.container2 {
  position: relative;
  background-image: url('../imagenes/portada.jpg');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 120%; /* Zoom por defecto */
  padding: 40px 60px;
  width: 100vw;
  max-width: 100vw;
  box-sizing: border-box;
  margin-left: calc(-50px);
  margin-right: calc(-50px);
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  border-radius: 0;
  color: #ddd;
  overflow: hidden; /* importante para que el overlay no se desborde */
}

.container2::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(10, 10, 10, 0.2); /* Tonalidad más oscura */
  z-index: 0;
}

.container2 > * {
  position: relative;
  z-index: 1;
}


.text-content {
  max-width: 600px;
  text-align: left;
  flex-shrink: 0;
}

.text-content h1 {
  font-size: 2em;
}

.text-content h2 {
  color: #4db8ff;
  margin-top: 15px;
  font-size: 1.5em;
}

.text-content p {
  margin-top: 20px;
  font-size: 1em;
  line-height: 1.6;
  color: #ddd;
}

.buttons {
  margin-top: 30px;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.buttons a {
  text-decoration: none;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: bold;
  font-size: 1em;
  transition: 0.3s ease;
}

.buttons .info {
  background: white;
  color: #000;
}

.buttons .info:hover {
  background: #e0e0e0;
}

.buttons .contact {
  background: #167cff;
  color: white;
}

.buttons .contact:hover {
  background: #0f5fd2;
}

/* Contenedor imágenes dentro de container2 con superposición */
.images {
  position: relative;
  width: 600px;
  height: 400px;
  margin-top: 0;
  margin-left: auto;
  display: block;
}

  .images img {
    position: absolute; /* para superponerlas */
    width: 250px;
    height: 350px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease;
  }

  .img-left {
    transform: rotate(-15deg);
    left: 0;
    top: 25px;
    z-index: 3;
  }

  .img-center {
    left: 175px;
    top: 0;
    z-index: 4;
  }

  .img-right {
    transform: rotate(15deg);
    left: 350px;
    top: 25px;
    z-index: 3;
  }

 
  @media (max-width: 480px) {
  header {
    position: fixed;  /* fijo para que quede visible */
    top: 10px;
    right: 20px;
    gap: 10px;
    padding: 5px 10px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 40px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
  }

  .logo {
    height: 60px;
    width: 60px;
    margin-right: 10px;
    border-radius: 15px;
  }

  header nav {
    padding: 8px 20px;
    gap: 10px;
  }

  header nav a {
    padding: 6px 12px;
    font-size: 0.9em;
    border-radius: 20px;
  }

  .container {
    padding: 40px 15px;
  }

  .container2 {
    padding: 20px 15px;
    flex-direction: column;
  }

  .text-content {
    max-width: 100%;
    text-align: center;
    margin-bottom: 20px;
  }

  .images {
    width: 100%;
    height: auto;
    position: static;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .images img {
    position: static !important;
    width: 90%;
    height: auto;
    transform: none !important;
    border-radius: 15px;
  }
}

/* Sección principal */
.info-section {
  background: #f5f6fa;
  padding: 80px 40px;
  font-family: 'Segoe UI', sans-serif;
  color: #333;
}

/* Nuestra Solución */

.nuestra-solucion {
  display: flex;
  justify-content: center; /* cambia de space-between a center */
  align-items: flex-start;
  gap: 80px; /* puedes ajustar el espacio para que se vea equilibrado */
  max-width: 1200px;
  margin: 0 auto 80px auto;
   align-items: center; /* antes estaba flex-start */
}



.nuestra-solucion .text {
   text-align: left; /* o center, si quieres */
  flex: 1;
}

.nuestra-solucion h2 {
  font-size: 2em;
  margin-bottom: 15px;
  font-weight: bold;
}

.nuestra-solucion p {
  font-size: 1em;
  margin-bottom: 20px;
  line-height: 1.6;
}

.nuestra-solucion .info-button {
  background-color: #1a73e8;
  color: white;
  padding: 12px 24px;
  border: none;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  transition: background 0.3s ease;
}

.nuestra-solucion .info-button:hover {
  background-color: #0c5ed7;
}

/* Tarjetas de servicios */
.tarjetas {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 15px;
}



.tarjeta {
  background-color: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  padding: 20px 25px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  transition: transform 0.3s ease;
}

.tarjeta:hover {
  transform: translateY(-5px);
}

.tarjeta-icono {
  font-size: 30px;
  color: #5b3cc4;
  flex-shrink: 0;
}

.tarjeta h3 {
  font-size: 1.1em;
  margin-bottom: 5px;
}

.tarjeta p {
  font-size: 0.95em;
  margin: 0;
}

.tarjeta-icono {
  font-size: 32px;
}

.tarjeta-icono.azul i {
  color: #1a73e8;
}

.nuestra-mision {
  max-width: 1200px;
  margin: 0 auto 100px auto; /* 100px de espacio abajo */
  display: flex;
  gap: 40px;
  align-items: center;
  flex-wrap: wrap; /* probablemente querías esto en lugar de "fle" */
}


.nuestra-mision img {
  flex: 0 0 300px;       /* Tamaño más pequeño */
  max-width: 100%;
  height: auto;
  border-radius: 16px;
  margin-right: 120px;    /* Separación con el texto */
}

.nuestra-mision img {
  max-width: 400px;
}

.nuestra-mision .mision-texto {
  flex: 1 1 500px;
}

.nuestra-mision h2 {
  font-size: 2em;
  margin-bottom: 20px;
  font-weight: bold;
}

.nuestra-mision p {
  font-size: 1em;
  line-height: 1.6;
}


/* contacto----------------------------------------------- */ 
.contacto-wrapper {

  background-image: url('../imagenes/imagen_mision.jpg'); /* Cambia esta ruta por la de tu imagen */
  background-size: cover;      /* La imagen cubre todo el contenedor */
  background-position: center; /* Centrada */
  background-repeat: no-repeat;
  padding: 100px 100px;
  height: 500px;
  display: flex;
  justify-content: center;
  position: relative;
  overflow: visible;
  /* Si quieres que el color negro semi-transparente siga apareciendo sobre la imagen: */
  /* Puedes usar un overlay con un pseudo-elemento */
}


.contacto-container {
  position: relative;
  top: -140px; /* sobresale 80px hacia arriba */
  max-width: 1200px;
  height: 500px;
  width: 100%;
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
  z-index: 10;
  display: flex;
  margin-left: -20px;  /* sobresale a los lados un poco */
  margin-right: -20px;
}




.contacto-info {
  background: #1060e4;
  color: white;
  flex: 1;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contacto-info h4 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.contacto-info h2 {
  font-size: 24px;
  line-height: 1.4;
  margin-bottom: 30px;
}

.contacto-info .dato {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.contacto-info .dato i {
  font-size: 20px;
  margin-right: 10px;
}

.contacto-info a {
  color: white;
  text-decoration: underline;
  word-break: break-word;
}

.contacto-info a:hover {
  color: #dcdcdc;
}

.contacto-formulario {
  flex: 1;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contacto-formulario input,
.contacto-formulario textarea {
  padding: 10px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 4px;
  resize: none;
}

.contacto-formulario button {
  background: #1060e4;
  color: white;
  border: none;
  padding: 12px 20px;
  font-size: 14px;
  border-radius: 4px;
  cursor: pointer;
  margin-top: 10px;
  width: fit-content;
}

.contacto-formulario button:hover {
  background: #0
}
/*   ---------------------------------------------------- ultima parte */ 
 .footer {
  display: flex;
  background-color: #222;
  color: #eee;
  padding: 30px 20px;
  font-family: 'Arial', sans-serif;
  font-size: 14px;
}

.footer-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
}

.footer-column {
  flex: 1 1 200px;
  min-width: 180px;
}

/* Cambié el color naranja a celeste para títulos */
.footer-column h3,
.footer-column h4 {
  margin-bottom: 10px;
  color: #5dade2; /* celeste suave */
}

.footer-column p,
.footer-column a {
  color: #ccc;
  text-decoration: none;
  line-height: 1.5;
}

/* Hover también con celeste */
.footer-column a:hover {
  color: #4db6e6;
  text-decoration: underline;
}

.redes a {
  display: inline-block;
  margin-right: 15px;
  color: #ccc;
  transition: color 0.3s ease;
}

.redes a:hover {
  color: #4db6e6;
}

/* Responsive */
@media (max-width: 600px) {
  .footer-container {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-column {
    width: 100%;
    margin-bottom: 20px;
  }
}

:root {
  --color-primario: #167cff;
  --color-secundario: #00bcd4;
  --color-fondo: #f4f7fa;
  --color-texto: #333;
  --color-texto-claro: #eee;
  --color-titulo: #ffff;
  --color-sombra: rgba(0, 0, 0, 0.1);
  --color-blur: rgba(255, 255, 255, 0.15);
}

nav a {
  color: var(--color-titulo);
  ...
}

nav a:hover {
  background-color: var(--color-primario);
  ...
}

.text-content h2 {
  color: var(--color-secundario);
}

nav {
  border: 1px solid rgba(255, 255, 255, 0.2);
  animation: fadeInNav 0.3s ease-in-out;
}

@keyframes fadeInNav {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
  nav {
    background-color: rgba(22, 124, 255, 0.95); /* más alineado al color primario */
    color: white;
  }

  nav a {
    color: white;
  }

  nav a:hover {
    background-color: white;
    color: var(--color-primario);
  }
}


.team-member {
  background: linear-gradient(to bottom, #ffffff, #f1faff);
  
}

h1, h2, h3 {
  letter-spacing: 0.5px;
}

p {
  line-height: 1.8;
}
