.profile-image {
  width: 280px;
  height: 400px;
  object-fit: cover;
  border-radius: 200px;
  display: block;
}
.profile-text-r {
  background-color: #fdf5e9; /* Color del fondo */
  padding: 30px;
  float: right;
  padding-right: 20%;
  margin-left: -50px;
  position: relative;
  z-index: -2;
}
.profile-text-r-2 {
  background-color: #fdf5e9; /* Color del fondo */
  padding: 30px;
  float: right;
  padding-right: 20%;
  margin-left: -50px;
  position: relative;
  z-index: -2;
}

.profile-text-l {
  background-color: #fff7e9; /* Color del fondo */
  padding: 30px;
  float: left;
  padding-left: 20%;
  margin-right: -50px;
  position: relative;
  z-index: -2;
}
.profile-text-l p {
  margin-right: 50px;
}
.profile-text-r p {
  margin-left: 50px;
}
.profile-text-r-2 p {
  margin-left: 50px;
}
.tituloProf-l {
  padding-left: 20%;
}
.tituloProf-r {
  padding-left: 30px;
}
.text-container {
  position: relative;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin: 20px 0 25px 0;
}
.text-container-large {
  position: relative;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin: 20px 0 50px 0;
}
@media screen and (max-width: 768px) {
  .nuevosEstilos {
    height: 100%;
    margin: 0 auto;
    overflow: visible; /* para ver el titulo mientras edito */
  }
  .nuevosEstilos .text-stack {
    margin-top: 0px;
    margin-bottom: -300px;
  }
  .imgAnestesiologo {
    padding-top: 3em;
    margin-top: 3em;
  }
  .fixPadding {
    padding-right: 32px;
  }
}
.text-stack {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.link-leer {
  color: #19a697;
  font-size: 18px;
  font-style: italic;
  text-decoration: none;
  font-weight: 700;
  padding: 30px;
}
.background-text,
.foreground-text {
  position: absolute;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1;
  text-align: center;
  bottom: 70px;
}

.background-text {
  font-size: 125px;
  font-weight: 200;
  color: rgba(19, 50, 61, 0.2);
}

.foreground-text {
  font-size: 25px;
  font-weight: 400;
  color: #555;
}
.background-text-linea,
.foreground-text-linea {
  position: absolute;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1;
  text-align: center;
  bottom: 70px;
}

.background-text-linea {
  font-size: 125px;
  font-weight: 200;
  color: rgba(19, 50, 61, 0.2);
  top: 60px;
}

.foreground-text-linea {
  font-size: 3.5rem;
  font-weight: 400;
  color: #555;
  position: relative;
  bottom: -20px;
   top: 60px;
}
.background-text-doble,
.foreground-text-doble {
  position: absolute;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1;
  text-align: center;
  bottom: 83px;
}

.background-text-doble {
  font-size: 125px;
  font-weight: 200;
  color: rgba(19, 50, 61, 0.2);
  position: relative;
  bottom: -40px;
}

.foreground-text-doble {
  font-size: 25px;
  font-weight: 400;
  color: #555;
}
.technical {
  background-color: #f6dde2;
  padding: 50px 2%;
  color: #616867;
  font-size: 18px;
}
.pricFunc {
    background-color: #042e40; /* o el color que tengas */
    margin-top: 60px; /* agregamos separación arriba */
  padding: 50px auto;
}
.pricFunc h2 {
  color: #fff;
  text-align: center;
  padding: 0 2rem 0 2rem;
  margin: 40px 0;
}
.pricFunc h4 {
  color: #fff;
  text-align: left;
  padding: 0 2rem 0 2rem;
}
.pricFunc p {
  color: #fff;
  text-align: justify;
  padding: 2rem;
}
.closemodal {
  margin: 15px;
  position: relative;
  z-index: 200;
}
.modal-color {
  background-color: #d2eeed;
}
.modal-size {
  padding: 40px;
  margin-top: -60px;
}
.nomMedico {
  color: #5b4a99;
  font-weight: 700;
}
.profile-section {
  display: flex;
  gap: 2rem;
  position: relative;
  margin-bottom: 6rem;
}

.image-container {
  position: relative;
  width: 300px;
  flex-shrink: 0;
  z-index: 2;
}
.image-container.abajo {
  position: relative;
  width: 300px;
  flex-shrink: 0;
  z-index: 2;
  top: -170px;
}

.profile-image {
  width: 280px;
  height: 400px;
  object-fit: cover;
  border-radius: 200px;
  display: block;
}

.background-overlay {
  position: absolute;
  left: -100vw;
  right: 45%;
  height: 180px;
  background-color: #f3f0f5;
  z-index: 1;
}

.profile-section:nth-child(odd) .background-overlay {
  top: 0;
  border-radius: 0 30px 0 30px;
}

.profile-section:nth-child(even) .background-overlay {
  top: 0;
  border-radius: 0 30px 30px 0;
}

.content-section {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 2;
}

.doctor-info {
  width: fit-content;
  margin-top: 30px;
}

.doctor-title {
  color: #888;
  font-size: 5rem;
  font-weight: 200;
  margin: 0;
  line-height: 1;
}

.doctor-name {
  color: #555;
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.text-columns-3 {
  column-count: 3;
  column-gap: 2rem;
  text-align: justify;
}

.text-columns-2 {
  column-count: 2;
  column-gap: 2rem;
  text-align: justify;
}
.profile-section:nth-child(odd) .text-columns {
  margin-top: auto;
}
.text-2 {
  margin-top: -145px;
}
.text-3 {
  margin-top: -230px;
}
.text-4 {
  margin-top: -230px;
}
.text-5 {
  margin-top: -500px;
}
.segundoDoctor {
  margin: 15% 0 -10% 0;
}

@media (max-width: 992px) {
  .profile-section {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .text-columns-2,
  .text-columns-3 {
    column-count: 1;
  }

  .image-container {
    width: 250px;
  }

  .content-section {
    align-items: center;
  }

  .background-overlay {
    left: 0;
    right: 0;
  }

  .doctor-info {
    width: 100%;
  }
  .profile-text-l {
    background-color: #fff7e9; /* Color del fondo */
    padding: 30px;
    float: left;
    padding-left: 20%;
    margin-right: 0;
    position: relative;
    z-index: -2;
  }
  /* .text-container {
    height: 100%;
  } */
}

/* ajustes nuevo desarrollo */

@media (max-width: 768px) {
  .profile-text {
    border-radius: 30px; /* Bordes redondeados en todas las esquinas */
  }
  .p-30 {
    padding-left: 30px;
    padding-right: 30px;
  }
  .text-2 {
    margin-top: 16px;
  }
  .image-container.abajo {
    top: 0px;
  }
  .text-3,
  .text-4,
  .text-5 {
    margin-top: 0px;
  }
  .profile-section {
    margin-bottom: 0px;
  }
  .profile-section:nth-child(odd) .background-overlay {
    top: 35%;
  }
  .profile-section:nth-child(even) .background-overlay {
    top: 70%;
  }
  .doctor-info {
    margin-bottom: 36px;
  }
  .button-home {
    width: auto;
  }
  .bg-btn-hablemos {
    margin-right: 16px;
  }
  .text-stack {
    height: 100%;
    margin-top: 0;
    /* background: red; */
  }
  .text-container {
    height: 100%;
  }
  .foreground-text-linea {
    bottom: 0px;
    font-size: 27px;
  }
  .profile-image {
    width: 240px;
    height: 400px;
    object-fit: cover;
    border-radius: 200px;
    display: block;
    margin: 0 auto;
  }
  .cardPadding {
    padding: 32px 0px;
  }
  .div-tamaño-tag-síntomas {
    width: 100%;
    height: auto;
    max-width: calc(768px - 32px);
    margin: 0 auto;
  }
  .div-main-tag-síntomas {
    height: auto;
    margin: -10% 0 0 0;
  }
  .div-main-toc-síntomas {
    height: 100%;
    width: 100%;
    max-width: calc(400px - 32px);
    margin: -15% 0 0 0;
  }
}
@media (max-width: 540px) {
  .bg-btn-hablemos {
    margin-right: 16px;
  }
  .profile-section:nth-child(odd) .background-overlay {
    top: 35%;
  }
  .profile-section:nth-child(even) .background-overlay {
    top: 70%;
  }
  .button-home {
    width: auto;
  }
  .bg-btn-hablemos {
    margin-right: 16px;
  }
  .div-tamaño-tag-síntomas {
    width: 100%;
    height: auto;
    max-width: calc(540px - 32px);
    margin: 0 auto;
  }
  .div-main-toc-síntomas {
    height: 100%;
    width: 100%;
    max-width: calc(540px - 32px);
    margin: -30% 0 0 0;
  }
}
@media (max-width: 425px) {
  .profile-section:nth-child(odd) .background-overlay {
    top: 30%;
  }
  .profile-section:nth-child(even) .background-overlay {
    top: 70%;
  }
  .button-home {
    width: auto;
  }
  .bg-btn-hablemos {
    margin-right: 16px;
  }
  .div-tamaño-tag-síntomas {
    width: 100%;
    height: auto;
    max-width: calc(425px - 32px);
    margin: 0 auto;
  }
  .div-main-toc-síntomas {
    height: 100%;
    width: 100%;
    max-width: calc(425px - 32px);
    margin: -30% 0 0 0;
  }
}
/* iphone 12 */
@media (max-width: 390px) {
  .profile-section:nth-child(odd) .background-overlay {
    top: 27%;
  }
  .profile-section:nth-child(even) .background-overlay {
    top: 68%;
  }
  .div-tamaño-tag-síntomas {
    width: 100%;
    height: auto;
    max-width: calc(390px - 32px);
    margin: 0 auto;
  }
  .div-main-toc-síntomas {
    height: 100%;
    width: 100%;
    max-width: calc(390px - 32px);
    margin: -30% 0 0 0;
  }
}
@media (max-width: 375px) {
  .profile-section:nth-child(odd) .background-overlay {
    top: 27%;
  }
  .profile-section:nth-child(even) .background-overlay {
    top: 68%;
  }
  .button-home {
    width: auto;
  }
  .bg-btn-hablemos {
    margin-right: 16px;
  }
  .div-tamaño-tag-síntomas {
    width: 100%;
    height: auto;
    max-width: calc(375px - 32px);
    margin: 0 auto;
  }
  .div-main-toc-síntomas {
    height: 100%;
    width: 100%;
    max-width: calc(375px - 32px);
    margin: -30% 0 0 0;
  }
}
@media (max-width: 320px) {
  .profile-section:nth-child(odd) .background-overlay {
    top: 24%;
  }
  .profile-section:nth-child(even) .background-overlay {
    top: 68%;
  }
  .button-home {
    width: auto;
  }
  .bg-btn-hablemos {
    margin-right: 16px;
  }
  .div-tamaño-tag-síntomas {
    width: 100%;
    height: auto;
    max-width: calc(320px - 32px);
    margin: 0 auto;
  }
  .div-main-toc-síntomas {
    height: 100%;
    width: 100%;
    max-width: calc(320px - 32px);
    margin: -30% 0 0 0;
  }
}
