
.seccionSintomas {
    text-align: center;
    width: auto;
    padding: 0px;
    margin: 2rem;
    background-color: transparent;
    align-content: center;
    justify-content: center;
    align-items: center;
    position: relative;
}

.tituloSintomas{
  color: #1e40af;
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin: 60px 0 20px 0;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-family: 'Poppins', sans-serif;
}

.subtituloSintomas{
  color: #6b7280;
  font-size: 1.1rem;
  font-weight: 400;
  text-align: center;
  max-width: 600px;
  margin: 0 auto 50px auto;
  line-height: 1.6;
  font-family: 'Poppins', sans-serif;
  font-style: italic;
}



.turnoSintoma { 
  cursor: pointer;
  text-decoration: none;
}

.contenedorSintomas {
    display: grid;
    max-width: 100%;
    gap: 5px;
    justify-content: center; 
    padding: 0px;
    margin: 0px;
    margin-bottom: 30px;
	overflow: visible;
	position: relative;
}

.cardSintoma {
  min-height: 500px;
  min-width: 290px;
  /* overflow-x: hidden; */
  display: flex;
  align-items: center;
  align-content: center;
  text-align: center; 
  position: relative;
  margin-top: 30px;
  margin-bottom: 60px;
  z-index: 1;
   transition: transform 0.3s ease, z-index 0s ease;
     transform-style: preserve-3d;
  perspective: 800px;
  will-change: transform;
}

.cardSintoma img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  display: block;
  object-position: center;
}

.cardSintomaText {
	position:absolute;
  width: 100%;
	justify-content: center;
  text-align: center;
  color: white;
  font-weight: 440;
  font-size: 1.4rem;
  margin-top: 0px;
  text-transform: uppercase;
	top: 5%; 
 	transform: translate(-50%, -50%); 
	z-index: 2;
	font-family: "Poppins", sans-serif;
  cursor: pointer;
  transform: translateZ(20px); /* ← Esto lo hace "flotar" */

}


.cardSintomaText,
.sintomaHoverText {
  transform-style: preserve-3d;
  backface-visibility: hidden;
  will-change: transform;

}

.sintomaHoverText {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 1;
  transition: 0.3s ease;
  color: white;

}

.listaHover {
  opacity: 0;
  flex: 1; 
  display: flex;
  align-items: center;
  justify-content: center; 
  text-align: center;
  width: 90%;
  flex-direction: column;
  margin-top: 135px;
  transform: translateZ(20px); 	
  background-color: transparent;

}

		.listaHover span {
			font-weight: 500;
      /* font-family: 'Barlow Condensed', Arial, sans-serif; */
     /* text-transform: uppercase; */
     font-family: "Poppins", sans-serif;
     font-size: 1.3em;
     text-decoration:wavy;
		}

		.listaHover ul {
			/* list-style: none; */
      padding: 0;
		}
		
		.listaHover ul li {
			justify-content: start;
			text-align: start;
      font-size: 1em;
      font-family: "Poppins", sans-serif;

		}
		
.sintomaHoverText a {
    transform: translateZ(20px); 
    opacity: 0;
    height: 8%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color:#ffffff;
    padding: 5px 0px;
    text-decoration: none;
    text-transform: uppercase;
    /* bottom: 20px;
    position: absolute; */
    /* background-color: #6acd7c; */
    background-color: #f9f9f900;
    /* background-color: beige; */
    border-radius: 20px;
    width: 70%;
    font-family: 'Poppins', sans-serif;
    border: solid 2px #ffffff;
    margin-bottom: 35px;

}

.sintomaHoverText a span {
    margin: 2px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    font-weight: 500;
    background: #00000000;
    background-color: transparent;
    padding: 0;
}

.sintomaHoverText a:hover {
    font-weight: 500;
    background-color: #ffffff;
    color: black;
}

.sintomaHoverText a:hover span {
    font-weight: 600;
}

.cardSintoma:hover .sintomaHoverText{
    /* transform: translateZ(20px); */
    background-color: rgba(0, 0, 0, 0.5);
}

.cardSintoma:hover .listaHover, .cardSintoma:hover .turnoSintoma {
  opacity: 1;
}


.cardSintoma:hover {
  /* transform: scale(1.05); */
  z-index: 1000;
  box-shadow: 0 30px 40px rgba(0, 0, 0, 0.3);

}

.sintomaHoverText.active {
    background-color: rgba(0, 0, 0, 0.5);
}

.listaHover.active, .turnoSintoma.active {
  opacity: 1;
}


@media (min-width: 1200px) {
  .contenedorSintomas {
    grid-template-columns: repeat(4, 290px);
  }
}

@media (min-width: 900px) and (max-width: 1199px) {
  .contenedorSintomas {
    grid-template-columns: repeat(3, 290px);
  }
}

@media (min-width: 630px) and (max-width: 920px) {
	.contenedorSintomas {
    grid-template-columns: repeat(2, 290px);
  }
}

@media (min-width: 300px) and (max-width: 630px) {
	.contenedorSintomas {
    grid-template-columns: repeat(1, 290px);
  }
} 