/* HERO DISPOSITIVOS */
.hero-dispositivos {
  position: relative;
  height: 80vh;
  background-image: url('../assets/img/Personal-medico.jpg'); /* Cambia si tienes una imagen específica */
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
}

.hero-dispositivos .hero-overlay {
  background-color: rgba(0, 0, 0, 0.6);
  padding: 2rem;
  border-radius: 10px;
}

.hero-dispositivos h1 {
  font-size: 3rem;
  font-weight: bold;
}

/* SECCIÓN DESCRIPCIÓN */
.seccion-descripcion {
  padding: 4rem 2rem;
  background-color: #ffffff;
  text-align: center;
}

.seccion-descripcion .container {
  max-width: 1000px;
  margin: 0 auto;
}

.seccion-descripcion h2 {
  font-size: 1.8rem;
  margin-bottom: 1.2rem;
  color: #002b8a;
}

.seccion-descripcion p {
  font-size: 1rem;
  color: #333;
  line-height: 1.6;
  text-align: justify;
}

/* SECCIÓN DISPOSITIVOS */
.seccion-dispositivos {
  background-color: #f5f8ff;
  padding: 4rem 2rem;
}

.tarjetas-dispositivos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.tarjeta-dispositivo {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  padding: 2rem;
  max-width: 300px;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
}

.tarjeta-dispositivo:hover {
  box-shadow: 0 6px 14px rgba(0, 43, 138, 0.2);
  transform: translateY(-2px);
  transition: all 0.3s ease;
}


.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;
  margin-bottom: 1rem;
}

.boton-vermas {
  align-self: center;
  display: inline-block;
  padding: 0.6rem 1.2rem;
  background-color: #002b8a;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.boton-vermas:hover {
  background-color: #001f60;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero-dispositivos h1 {
    font-size: 2.2rem;
  }

  .tarjeta-dispositivo {
    max-width: 90%;
  }
}
