/* =========================================================
   HERO NUEVO
   ========================================================= */

.new-hero {
  width: calc(100% - 80px);
  max-width: 1180px;
  height: 510px;

  margin: 0 auto 175px;

  position: relative;

  display: grid;
  grid-template-columns: 54% 46%;
  align-items: center;

  padding: 55px 50px;

  background: #ededed;
  border-radius: 26px;

  overflow: visible;
}


/* =========================================================
   TEXTO
   ========================================================= */

.new-hero-copy {
  position: relative;
  z-index: 3;
}

.new-hero-kicker {
  margin: 0 0 26px;

  font-family: "Sora", sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.3;

  letter-spacing: 0.03em;
  text-transform: uppercase;

  color: #4a4a4a;
}

.new-hero h1 {
  max-width: 540px;

  margin: 0;

  font-family: "Sora", sans-serif;
  font-size: 42px;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.04em;

  color: #b5000c;
}

.new-hero-description {
  max-width: 510px;

  margin: 15px 0 0;

  font-family: "Sora", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.55;

  color: #555555;
}


/* =========================================================
   BOTONES
   ========================================================= */

.new-hero-actions {
  display: flex;
  align-items: center;
  gap: 10px;

  margin-top: 28px;
}

.new-hero-primary,
.new-hero-secondary {
  min-width: 170px;
  height: 44px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 0 22px;

  font-family: "Sora", sans-serif;
  font-size: 14px;
  font-weight: 400;

  text-decoration: none;

  border-radius: 999px;

  transition: 0.2s ease;
}

.new-hero-primary {
  background: #b5000c;
  border: 1px solid #b5000c;

  color: #ffffff;
}

.new-hero-primary:hover {
  background: #960009;
}

.new-hero-secondary {
  background: transparent;

  border: 1px solid #ca6d73;

  color: #b5000c;
}

.new-hero-secondary:hover {
  background: #ffffff;
}


/* =========================================================
   ÁREA VISUAL
   ========================================================= */

.new-hero-visual {
  height: 100%;

  position: relative;

  display: flex;
  align-items: flex-end;
  justify-content: center;

  align-self: stretch;
}


/* círculo rojo */

.new-hero-circle {
  width: 315px;
  height: 315px;

  position: absolute;

  left: 56%;
  top: 42px;

  transform: translateX(-44%);

  background: #bb000e;
  border-radius: 50%;

  z-index: 1;
}


/* doctor */

.new-hero-doctor {
  height: 450px;
  width: auto;

  max-width: none;

  position: absolute;

  left: 50%;
  bottom: -28px;

  transform: translateX(-46%);

  object-fit: contain;

  z-index: 2;
}


/* =========================================================
   BARRA DE ESPECIALIDADES
   ========================================================= */

.new-hero-specialties {

  width: 610px;

  height: 76px;

  position: absolute;

  right: 0;

  bottom: -38px;

  z-index: 5;

  display: grid;

  grid-template-columns: repeat(3, 1fr);

  background: #ffffff;

  border-radius: 17px;

  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.04);

  overflow: hidden;

}

.new-hero-specialties a {

  position: relative;

  display: flex;

  align-items: center;

  justify-content: center;

  gap: 12px;

  padding: 12px 18px;

  font-family: "Sora", sans-serif;

  font-size: 13px;

  font-weight: 400;

  line-height: 1.35;

  text-decoration: none;

  color: #555555;

}

.new-hero-specialty-icon {

  width: 34px;

  height: 34px;

  display: block;

  object-fit: contain;

  flex-shrink: 0;

}

.new-hero-specialties a:not(:last-child)::after {

  content: "";

  width: 1px;

  height: 38px;

  position: absolute;

  top: 19px;

  right: 0;

  background: #c3252d;

}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 950px) {

  .new-hero {
    width: calc(100% - 40px);

    grid-template-columns: 55% 45%;

    padding-left: 38px;
    padding-right: 30px;
  }

  .new-hero h1 {
    font-size: 37px;
  }

  .new-hero-circle {
    width: 280px;
    height: 280px;
  }

  .new-hero-doctor {
    height: 420px;
  }

  .new-hero-specialties {
    width: 62%;
  }
}


/* =========================================================
   MÓVIL
   ========================================================= */

@media (max-width: 760px) {

  .new-hero {
    width: calc(100% - 28px);
    height: auto;

    display: block;

    margin-bottom: 50px;

    padding: 40px 24px 0;

    overflow: hidden;
  }

  .new-hero-kicker {
    margin-bottom: 20px;

    font-size: 12px;
  }

  .new-hero h1 {
    max-width: none;

    font-size: 34px;
    line-height: 1.08;
  }

  .new-hero-description {
    font-size: 14px;
  }

  .new-hero-actions {
    flex-wrap: wrap;
  }

  .new-hero-primary,
  .new-hero-secondary {
    min-width: 0;

    flex: 1 1 150px;
  }

  .new-hero-visual {
    height: 370px;

    margin-top: 20px;
  }

  .new-hero-circle {
    width: 270px;
    height: 270px;

    top: 55px;

    transform: translateX(-50%);
  }

  .new-hero-doctor {
    height: 350px;

    transform: translateX(-50%);
  }

  .new-hero-specialties {
    width: calc(100% + 48px);
    height: auto;

    position: relative;

    right: auto;
    bottom: auto;

    margin-left: -24px;

    grid-template-columns: 1fr;

    border-radius: 0;
  }

  .new-hero-specialties a {
    min-height: 58px;
  }

  .new-hero-specialties a:not(:last-child)::after {
    width: calc(100% - 48px);
    height: 1px;

    top: auto;
    right: 24px;
    bottom: 0;

    background: #dddddd;
  }
}

/* =========================================
   AJUSTE FOTO DOCTOR — ESCRITORIO
   ========================================= */

@media (min-width: 951px) {

  .new-hero-doctor {
    height: 500px;
    bottom: -16px;
    transform: translateX(-46%);
  }

}

/* =========================================
   ESPECIALIDADES HERO — MÓVIL
   ========================================= */

@media (max-width: 760px) {

  .new-hero-specialties a {
    min-height: 68px;

    display: grid;
    grid-template-columns: 44px 190px;

    align-items: center;
    justify-content: center;

    column-gap: 16px;

    padding: 10px 24px;

    transform: translateX(18px);
  }

  .new-hero-specialty-icon {
    width: 38px;
    height: 38px;

    justify-self: center;
  }

  .new-hero-specialties a span {
    width: 100%;
    text-align: left;
  }

}


@keyframes heroCircleBreathing {

  0%,
  100% {
    transform: translateX(-44%) scale(1);
  }

  50% {
    transform: translateX(-44%) scale(1.045);
  }
}

.new-hero-circle {
  animation: heroCircleBreathing 7s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .new-hero-circle {
    animation: none;
  }
}



@media (max-width: 760px) {
  @keyframes heroCircleBreathingMobile {

    0%,
    100% {
      transform: translateX(-50%) scale(1);
    }

    50% {
      transform: translateX(-50%) scale(1.045);
    }
  }

  .new-hero-circle {
    animation: heroCircleBreathingMobile 7s ease-in-out infinite;
  }
}