/* PÁGINA INDEX */

/*hero home*/
.hero-home {
  position: relative;
  height: 100vh;
  background-image: url('../assets/img/sphere-banner.gif');
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
}

/*seccion destacada*/
.seccion-destacada {
  padding: 4rem 2rem;
  background-color: #ffffff;
}

.contenido-destacado {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.contenido-destacado .imagen img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  width: 350px;
}

.contenido-destacado .texto {
  max-width: 550px;
}

.contenido-destacado .texto h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  font-weight: bold;
}

.contenido-destacado .texto p {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: #333;
}

.contenido-destacado .texto ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 1.5rem;
}

.contenido-destacado .texto ul li {
  margin-bottom: 0.8rem;
  position: relative;
  padding-left: 1.5rem;
}

.contenido-destacado .texto ul li::before {
  content: '»';
  position: absolute;
  left: 0;
  color: #002b8a;
  font-weight: bold;
}

.boton-destacado {
  display: inline-block;
  padding: 0.7rem 1.3rem;
  background-color: #002b8a;
  color: white;
  border-radius: 5px;
  text-decoration: none;
  transition: background-color 0.3s ease;
  font-weight: bold;
}

.boton-destacado:hover {
  background-color: #001f60;
}


.hero-overlay {
  background-color: rgba(0, 0, 0, 0.6);
  padding: 2rem;
  border-radius: 10px;
  transform: translateY(-100px);
  /* 🔼 Mueve hacia arriba 50px */
}


.hero-home h1 {
  font-size: 3.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.hero-home p {
  font-size: 1.7rem;
  margin-bottom: 2rem;
}

.hero-button {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background-color: #002b8a;
  color: white;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.hero-button:hover {
  background-color: #001f60;
}

/*Seccion dispositivos*/
.seccion-dispositivos {
  padding: 4rem 2rem;
  background-color: #f5f8ff;
  text-align: center;
}

.seccion-dispositivos h2 {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 0.8rem;
}

.seccion-dispositivos .subtitulo {
  font-size: 1rem;
  color: #555;
  margin-bottom: 2.5rem;
}

.tarjetas-dispositivos {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.tarjeta-dispositivo {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 1.5rem;
  max-width: 300px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: left;
}

.tarjeta-dispositivo img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.tarjeta-dispositivo h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: #002b8a;
}

.tarjeta-dispositivo p {
  font-size: 0.95rem;
  color: #333;
}

/*seccion moleculas*/
.seccion-moleculas {
  padding: 4rem 2rem;
  background-color: #f5f8ff;
  text-align: center;
}

.seccion-moleculas h2 {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 0.8rem;
}

.seccion-moleculas .subtitulo {
  font-size: 1rem;
  color: #555;
  margin-bottom: 2.5rem;
}

.tarjetas-moleculas {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 50px;
}


.tarjeta-molecula {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 2rem;
  max-width: 300px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: left;
}

.tarjeta-molecula img {
  width: 100%;
  height: 100;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.tarjeta-molecula h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: #002b8a;
}

.tarjeta-molecula p {
  text-align: initial;
  font-size: 0.95rem;
  color: #333;
}

/*seccion clientes*/
.seccion-clientes {
  padding: 4rem 2rem;
  background-color: #ffffff;
  text-align: center;
}

.seccion-clientes h2 {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 0.8rem;
}

.seccion-clientes .subtitulo {
  font-size: 1rem;
  color: #555;
  margin-bottom: 2.5rem;
}

.grid-clientes {
  display: flex;
  flex-wrap: wrap;
  gap: 8rem;
  justify-content: center;
  align-items: flex-start;
}

.cliente {
  width: 200px;
  text-align: center;
}

.cliente img {
  width: 100%;
  height: 100px;
  object-fit: contain;
  filter: grayscale(30%);
  transition: transform 0.3s ease, filter 0.3s ease;
}

.cliente img:hover {
  transform: scale(1.05);
  filter: grayscale(0%);
}

.pais {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  font-weight: bold;
  color: #002b8a;
}

/*seccion formulario*/
.seccion-contacto {
  background-color: #ffffff;
  padding: 4rem 2rem;
  display: flex;
  justify-content: center;
}

.contacto-container {
  background-color: #ffffff;
  box-shadow: 0 10px 25px rgba(0, 47, 135, 0.3);
  /* sombra azulada */
  padding: 2.5rem;
  border-radius: 8px;
  max-width: 420px;
  width: 100%;
}

.contacto-info {
  margin-bottom: 2rem;
}

.contacto-container h2 {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 2rem;
  text-align: center;
}

.contacto-container P {
  text-align: left;
}

.formulario-contacto {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.formulario-contacto input,
.formulario-contacto textarea {
  padding: 0.9rem 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 0.95rem;
}

.formulario-contacto textarea {
  resize: none;
}

.formulario-contacto button {
  background-color: #002b8a;
  color: white;
  border: none;
  padding: 0.8rem 2rem;
  font-size: 0.95rem;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
  align-self: center;
  transition: background-color 0.3s ease;
}

.formulario-contacto button:hover {
  background-color: #001f60;
}

/* RESPONSIVE DESIGN */
/* Seccion moleculas*/
@media (max-width: 480px) {
  .tarjetas-moleculas {
    gap: 2rem;
    /* reemplaza el espaciado excesivo por uno razonable */
    margin-bottom: 2rem;
  }

  .tarjeta-molecula {
    padding: 1.5rem;
    max-width: 90%;
    margin: 0 auto;
  }

  .tarjeta-molecula img {
    height: auto;
  }
}
