/* ===== INFO HOSPITAL ===== */
.info-hospital {
  display: flex;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 20px;
  flex-wrap: wrap;
}

/* Contenedor de cada hospital */
.info-hospital-content {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: space-between;
  background-color: #efefef;
  padding: 30px;
  border-radius: 10px;
}

/* Contenedor de texto */
.info-hospital-content .text-container {
  flex: 1;
  min-width: 300px;
}

.text-container h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #ff7373;
  text-align: left;
}

.text-container p .text-container ul {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #000000;
  text-align: left;
  text-decoration: none;
}

.text-container a {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #ff7373;
  text-align: left;
  text-decoration: none;
}
.text-container ul {
  list-style-type: disc;
  padding-left: 20px;
}

/* Imagen del hospital */
.info-hospital-content .img-hospital {
  flex: 1;
  max-width: 500px;
  border-radius: 10px;
}

/* ===== MAPA DENTRO DEL CONTENT ===== */
.mapa-hospital {
  flex-basis: 100%; /* fuerza que ocupe toda la fila */
  width: 100% !important;
  height: 450px;
  margin-top: 30px;
  border: 0;
  border-radius: 10px;
  display: block; /* asegura que sea bloque */
}

/* ===== HEADER HOSPITAL ===== */
.header-hospital {
  max-width: 1200px;
  margin: 40px auto 20px auto;
  padding: 0 20px;
  text-align: left;
  margin-bottom: -40px;
}

.header-hospital h1 {
  font-size: 2.5rem;
  color: #ff7373;
  margin: 10px 0;
}

.header-hospital p {
  font-size: 1.1rem;
  color: #000000;
  line-height: 1.6;
}

/* Botón regresar */
.btn-regresar {
  display: inline-block;
  text-decoration: none;
  color: #ff7373;
  font-weight: bold;
  transition: color 0.3s;
}

.btn-regresar:hover {
  color: #ff4c4c;
}

/* ===== ICONOS ===== */
.contacto-hospital i {
  color: #ff7373;
  margin-right: 8px;
}

.contacto-hospital p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin: 5px 0;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .info-hospital-content {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    padding: 20px;
  }

  .text-container {
    width: 100%;
    text-align: center;
  }

  .text-container h2 {
    font-size: 2rem;
  }

  .text-container p,
  .text-container ul {
    font-size: 1rem;
  }

  .img-hospital {
    width: 100%;
    max-width: 100%;
  }

  .mapa-hospital {
    flex-basis: 100%;
    width: 100% !important;
    height: 300px;
    margin-top: 20px;
    display: block;
  }
}
