.sr-hero {
  position: relative;
  display: flex;
  min-height: 510px;
  align-items: center;
  overflow: hidden;
  background-color: #532860;
}

.sr-hero-image {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 1;
  width: 68%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
}

.sr-hero::before {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(90deg, #4A2358 0%, #532860 35%, rgba(83, 40, 96, 0.94) 44%, rgba(83, 40, 96, 0.58) 55%, rgba(83, 40, 96, 0.12) 66%, rgba(83, 40, 96, 0) 76%);
  content: "";
}

.sr-hero > .container {
  position: relative;
  z-index: 3;
  width: calc(100% - 48px);
  max-width: 1200px;
}

.sr-hero__content {
  position: relative;
  width: min(100%, 42rem);
  padding: 4rem 0;
  color: #FFFFFF;
}

.sr-hero-top {
  margin: 0 0 0.15rem;
  color: #FFFFFF;
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  font-size: clamp(2rem, 4.2vw, 2.75rem);
  line-height: 1.05;
  letter-spacing: -0.015em;
}

.sr-hero-title {
  margin: 0 0 0.8rem;
  color: #FFFFFF;
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-size: clamp(2.4rem, 4.2vw, 3.45rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
}

.sr-hero-top + .sr-hero-title {
  font-size: clamp(3.1rem, 6.5vw, 4.35rem);
}

.sr-hero-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 1.5rem;
}

.sr-hero-pill {
  display: inline-block;
  padding: 9px 23px 10px;
  border-radius: 999px;
  background-color: #0096D6;
  color: #FFFFFF;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: clamp(1rem, 1.65vw, 1.32rem);
}

.sr-script-text {
  color: #FFFFFF;
  font-family: "Bacalisties", cursive;
  font-weight: 400;
  font-size: clamp(2.8rem, 5.2vw, 3.6rem);
  line-height: 0.8;
  text-shadow: 0 2px 10px rgba(45, 16, 54, 0.4);
}

.sr-script-svg {
  height: clamp(3.35rem, 5.4vw, 4.35rem);
  width: auto;
  overflow: visible;
  transform: translateY(6px);
}

.sr-hero-desc {
  max-width: 475px;
  color: #F5F2F7;
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  font-size: clamp(0.9rem, 1.2vw, 0.98rem);
  line-height: 1.56;
}

.sr-hero-desc p {
  margin: 0;
}

.sr-hero-desc strong {
  color: #FFFFFF;
  font-weight: 700;
}

.consultaExternaHero {
  position: relative;
  display: flex;
  min-height: 510px;
  align-items: center;
  overflow: hidden;
  background-color: #532860;
}

.consultaExternaHero__image {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
}

.consultaExternaHero > .container {
  position: relative;
  z-index: 3;
  width: calc(100% - 48px);
  max-width: 1200px;
}

.consultaExternaHero__content {
  position: relative;
  width: min(100%, 42rem);
  padding: 4rem 0;
  color: #FFFFFF;
}

.consultaExternaHero__title {
  margin: 0 0 0.8rem;
  color: #FFFFFF;
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  font-size: clamp(2rem, 4.2vw, 2.75rem);
  line-height: 1.05;
  letter-spacing: -0.015em;
}

.consultaExternaHero__title > span {
  display: block;
}

.consultaExternaHero__title strong {
  display: block;
  color: #FFFFFF;
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-size: clamp(2.4rem, 4.2vw, 3.45rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
}

.consultaExternaHero__title > span + strong {
  font-size: clamp(3.1rem, 6.5vw, 4.35rem);
}

.consultaExternaHero__eyebrow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 1.5rem;
  color: #FFFFFF;
  font-family: "Montserrat", sans-serif;
  line-height: 1.1;
}

.consultaExternaHero__pill {
  display: inline-block;
  padding: 9px 23px 10px;
  border-radius: 999px;
  background-color: #0096D6;
  color: #FFFFFF;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: clamp(1rem, 1.65vw, 1.32rem);
  line-height: 1.1;
}

.consultaExternaHero__description {
  max-width: 475px;
  color: #F5F2F7;
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  font-size: clamp(0.9rem, 1.2vw, 0.98rem);
  line-height: 1.56;
}

.consultaExternaHero__description p {
  margin: 0;
}

.consultaExternaHero__description strong {
  color: #FFFFFF;
  font-weight: 700;
}

.cirugia .sr-hero__content {
  padding-bottom: 7.5rem;
}

@media (max-width: 991px) {
  .cirugia .sr-hero__content {
    padding-bottom: 2.5rem;
  }
}

@media (max-width: 820px) {
  .sr-hero-image,
  .consultaExternaHero__image {
    width: 100%;
    opacity: 0.28;
  }

  .sr-hero__content,
  .consultaExternaHero__content {
    padding: 3rem 0;
  }

  .cirugia .sr-hero__content {
    padding-bottom: 2.5rem;
  }
}
