/* ============================================================
   HERO BLACK FRIDAY (temporal)
   --u = 1px del diseño: frame de 650 en mobile y de 1440 en desktop.
   ============================================================ */

.oyo-hero-bf {
  --u: min(1px, calc(100vw / 650));
  position: relative;
  overflow: hidden;
  font-family: var(--font-base);
  color: var(--color-white);
  background: radial-gradient(calc(985 * var(--u)) calc(2396 * var(--u)) at 110% 62%, #2366ae, #244c83 25%, #253158 50%);
}

:where(.oyo-hero-bf) p,
:where(.oyo-hero-bf) h1,
:where(.oyo-hero-bf) ul {
  margin: 0;
}

.oyo-hero-bf-frame {
  position: relative;
  width: calc(650 * var(--u));
  height: calc(1172 * var(--u));
  margin: 0 auto;
}

.oyo-hero-bf-swirl {
  position: absolute;
  left: calc(-330 * var(--u));
  top: calc(134 * var(--u));
  width: calc(843 * var(--u));
  height: auto;
  pointer-events: none;
}

/* ---------- Foto ---------- */
.oyo-hero-bf-media {
  position: absolute;
  right: 0;
  bottom: 0;
  width: calc(635.5 * var(--u));
  height: calc(522 * var(--u));
}

.oyo-hero-bf-ring {
  position: absolute;
  left: calc(-40.5 * var(--u));
  top: calc(-27 * var(--u));
  width: calc(856 * var(--u));
  height: calc(856 * var(--u));
  border-radius: 50%;
  background: linear-gradient(90deg, #28659f, #285d92);
}

.oyo-hero-bf-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  clip-path: circle(calc(374 * var(--u)) at calc(392.5 * var(--u)) calc(374 * var(--u)));
}

/* ---------- Contenido ---------- */
.oyo-hero-bf-content {
  position: relative;
  z-index: 2;
  padding: calc(48 * var(--u)) 0 0 calc(40 * var(--u));
}

.oyo-hero-bf-ribbon {
  display: inline-block;
  height: calc(29 * var(--u));
  margin-left: calc(3 * var(--u));
  padding: 0 calc(26 * var(--u)) 0 calc(28 * var(--u));
  font-size: calc(18 * var(--u));
  font-weight: var(--fw-bold);
  line-height: calc(29 * var(--u));
  color: var(--color-dark);
  background: #ffd006;
  clip-path: polygon(0 0, 100% 0, calc(100% - 14 * var(--u)) 50%, 100% 100%, 0 100%, calc(14 * var(--u)) 50%);
}

.oyo-hero-bf-title {
  margin-top: calc(10 * var(--u));
  font-size: calc(64 * var(--u));
  font-weight: var(--fw-bold);
  line-height: calc(72 * var(--u));
  color: var(--color-white);
}

.oyo-hero-bf-title span {
  color: var(--color-blue-bright);
}

.oyo-hero-bf-sub {
  margin: calc(15 * var(--u)) 0 0 calc(5 * var(--u));
  font-size: calc(44.47 * var(--u));
  font-weight: var(--fw-bold);
  line-height: 1.2;
  color: var(--color-teal);
}

/* ---------- Lista con íconos ---------- */
.oyo-hero-bf-list {
  display: flex;
  flex-direction: column;
  gap: calc(18 * var(--u));
  margin: calc(23 * var(--u)) 0 0 calc(9 * var(--u));
  padding: 0;
  list-style: none;
}

.oyo-hero-bf-list li {
  display: flex;
  align-items: center;
  gap: calc(15 * var(--u));
  font-size: calc(24 * var(--u));
  font-weight: var(--fw-bold);
  line-height: 1.2;
}

.oyo-hero-bf-icon {
  flex-shrink: 0;
  width: calc(41 * var(--u));
  height: calc(41 * var(--u));
  border-radius: 50%;
  background: var(--icon) center / 61% no-repeat var(--color-teal);
}

.oyo-hero-bf-icon--idioma { --icon: url("../images/hero-bf-icon-idioma.png?v=2"); }
.oyo-hero-bf-icon--herramientas { --icon: url("../images/hero-bf-icon-herramientas.png?v=2"); }
.oyo-hero-bf-icon--acompanamiento { --icon: url("../images/hero-bf-icon-acompanamiento.png?v=2"); }

/* ---------- Círculo de precio ---------- */
.oyo-hero-bf-tag {
  position: absolute;
  left: calc(434 * var(--u));
  top: calc(345 * var(--u));
  display: flex;
  flex-direction: column;
  align-items: center;
  width: calc(181 * var(--u));
  height: calc(181 * var(--u));
  padding-top: calc(35 * var(--u));
  border-radius: 50%;
  background: #f5c518;
  color: var(--color-dark);
}

.oyo-hero-bf-tag-desde {
  font-size: calc(30.95 * var(--u));
  line-height: calc(31 * var(--u));
}

.oyo-hero-bf-tag-precio {
  margin-top: calc(-6 * var(--u));
  font-size: calc(50 * var(--u));
  font-weight: var(--fw-bold);
  line-height: calc(74 * var(--u));
}

.oyo-hero-bf-tag-plan {
  margin-top: calc(-9 * var(--u));
  font-size: calc(21 * var(--u));
  font-weight: var(--fw-bold);
  line-height: 1.2;
}

/* ---------- Botón ---------- */
.oyo-hero-bf-btns {
  display: flex;
  margin: calc(37 * var(--u)) 0 0 calc(9 * var(--u));
}

.oyo-hero-bf-btns .oyo-btn {
  width: auto;
  max-width: none;
  height: max(calc(40 * var(--u)), 32px);
  padding: 0 max(calc(24 * var(--u)), 14px);
  border-radius: 8px;
  font-size: max(calc(18 * var(--u)), 13px);
}

.oyo-hero-bf-btn-wa .oyo-btn-wa-circle {
  width: max(calc(28 * var(--u)), 20px);
  height: max(calc(28 * var(--u)), 20px);
  margin-right: max(calc(10 * var(--u)), 6px);
  background-color: #33e54c;
  font-size: max(calc(16 * var(--u)), 11px);
}

/* Tablet: el frame de 650 queda centrado, la foto se estira hasta el borde derecho de la pantalla */
@media (min-width: 651px) and (max-width: 991.98px) {
  .oyo-hero-bf-media {
    right: calc((650px - 100vw) / 2);
    width: calc(635.5px + (100vw - 650px) / 2);
  }

  .oyo-hero-bf-photo img {
    object-position: center 30%;
  }
}

/* ---------- Desktop ---------- */
@media (min-width: 992px) {
  .oyo-hero-bf {
    --u: min(1px, calc(100vw / 1440));
    background: radial-gradient(calc(560 * var(--u)) calc(1073 * var(--u)) at 97.5% 116.7%, #2366ae, #244c83 50%, #253158);
  }

  .oyo-hero-bf-frame {
    width: 100%;
    height: calc(712 * var(--u));
  }

  .oyo-hero-bf-content {
    max-width: calc(1440 * var(--u));
    margin: 0 auto;
    padding: calc(48 * var(--u)) 0 0 calc(95 * var(--u));
  }

  .oyo-hero-bf-swirl {
    left: max(0px, (100% - 1440 * var(--u)) / 2);
    margin-left: calc(-276 * var(--u));
  }

  .oyo-hero-bf-media {
    top: calc(107 * var(--u));
    bottom: auto;
    width: calc(782 * var(--u));
    height: calc(646.75 * var(--u));
  }

  .oyo-hero-bf-ring {
    left: calc(-16.5 * var(--u));
    top: calc(-30 * var(--u));
    width: calc(945 * var(--u));
    height: calc(945 * var(--u));
    background: linear-gradient(90deg, #294b76 30%, #28598c);
  }

  .oyo-hero-bf-photo img {
    clip-path: circle(calc(433.5 * var(--u)) at calc(433.5 * var(--u)) calc(433.5 * var(--u)));
  }

  .oyo-hero-bf-title {
    font-size: calc(72 * var(--u));
  }

  .oyo-hero-bf-list,
  .oyo-hero-bf-btns {
    margin-left: calc(8 * var(--u));
  }

  .oyo-hero-bf-tag {
    left: calc(539 * var(--u));
    top: calc(332 * var(--u));
  }
}
