﻿/* =========================================================
   BIOEQUIVALENTES
   UX/UI RESPONSIVE FINAL
   Archivo: assets/css/bioequivalentes.css
========================================================= */

.page-bioequivalentes {
  --bio-blue: #082b7a;
  --bio-blue-dark: #061f5e;
  --bio-yellow: #ffc72c;
  --bio-yellow-dark: #e5a823;
  --bio-text: #17324d;
  --bio-text-soft: #53677e;
  --bio-surface: #ffffff;
  --bio-surface-soft: #f7f9fc;
  --bio-surface-warm: #fffaf0;
  --bio-border: rgba(8, 43, 122, 0.11);
  --bio-border-strong: rgba(8, 43, 122, 0.18);
  --bio-shadow-sm: 0 8px 22px rgba(10, 35, 90, 0.05);
  --bio-shadow-md: 0 16px 38px rgba(10, 35, 90, 0.08);
  --bio-radius-sm: 14px;
  --bio-radius-md: 20px;
  --bio-radius-lg: 28px;
  --bio-container: 1120px;
  --bio-section-space: 76px;
}

.page-bioequivalentes .bio-main,
.page-bioequivalentes .bio-main * {
  box-sizing: border-box;
}

.page-bioequivalentes .bio-main {
  width: 100%;
  overflow: hidden;
  background: var(--bio-surface);
}

.page-bioequivalentes .bio-container {
  width: min(100% - 40px, var(--bio-container));
  max-width: var(--bio-container);
  margin-inline: auto;
}

.page-bioequivalentes .bio-section {
  position: relative;
  width: 100%;
  padding: var(--bio-section-space) 0;
}

.page-bioequivalentes .bio-section:nth-of-type(even) {
  background: var(--bio-surface-soft);
}

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

.page-bioequivalentes .page-hero-bioequivalentes {
  position: relative !important;
  isolation: isolate;
  width: 100vw !important;
  max-width: none !important;
  min-height: clamp(460px, 40vw, 620px) !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding: 0 !important;
  display: grid !important;
  place-items: center !important;
  overflow: hidden !important;
  background: var(--bio-blue-dark) !important;
}

.page-bioequivalentes .page-hero-bioequivalentes .hero-media {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 0 !important;
  overflow: hidden !important;
}

.page-bioequivalentes .page-hero-bioequivalentes .hero-media::before {
  content: none !important;
  display: none !important;
}

.page-bioequivalentes .page-hero-bioequivalentes .hero-img,
.page-bioequivalentes .page-hero-bioequivalentes .hero-media img,
.page-bioequivalentes .page-hero-bioequivalentes picture,
.page-bioequivalentes .page-hero-bioequivalentes picture img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  display: block !important;
  object-fit: cover !important;
  object-position: center center !important;
  transform: none !important;
  filter: saturate(0.88) contrast(0.98) !important;
}

.page-bioequivalentes .page-hero-bioequivalentes .hero-overlay,
.page-bioequivalentes .page-hero-bioequivalentes .hero-overlay--internal,
.page-bioequivalentes .page-hero-bioequivalentes .hero-overlay--soft-dark {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 1 !important;
  pointer-events: none !important;
  background:
    linear-gradient(
      90deg,
      rgba(5, 24, 76, 0.76) 0%,
      rgba(5, 24, 76, 0.58) 42%,
      rgba(5, 24, 76, 0.42) 100%
    ),
    linear-gradient(
      180deg,
      rgba(5, 24, 76, 0.18) 0%,
      rgba(5, 24, 76, 0.34) 100%
    ) !important;
}

.page-bioequivalentes .page-hero-bioequivalentes .hero-content.container {
  position: relative !important;
  z-index: 2 !important;
  width: min(100% - 48px, 1180px) !important;
  max-width: 1180px !important;
  margin: 0 auto !important;
  padding: 0 24px !important;
  display: grid !important;
  place-items: center !important;
  text-align: center !important;
}

.page-bioequivalentes .page-hero-bioequivalentes .hero-inner-content {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.page-bioequivalentes .page-hero-bioequivalentes .hero-kicker {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px !important;
  padding: 8px 16px !important;
  border: 1px solid rgba(255, 199, 44, 0.36);
  border-radius: 999px;
  background: var(--bio-yellow) !important;
  color: var(--bio-blue-dark) !important;
  font-size: 0.78rem !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  letter-spacing: 0.09em !important;
  text-transform: uppercase;
  text-align: center !important;
  box-shadow: 0 8px 22px rgba(255, 199, 44, 0.18);
}

.page-bioequivalentes .page-hero-bioequivalentes .hero-title {
  max-width: 34ch !important;
  margin: 0 auto !important;
  color: #ffffff !important;
  text-align: center !important;
  text-wrap: balance;
  font-size: clamp(2.4rem, 2.2vw, 3.85rem) !important;
  font-weight: 800 !important;
  line-height: 1.08 !important;
  letter-spacing: -0.035em !important;
  text-shadow: 0 5px 24px rgba(0, 0, 0, 0.22);
}

.page-bioequivalentes .page-hero-bioequivalentes .hero-sub {
  max-width: 64ch !important;
  margin: 20px auto 0 !important;
  color: rgba(255, 255, 255, 0.95) !important;
  text-align: center !important;
  font-size: clamp(1rem, 1.12vw, 1.12rem) !important;
  line-height: 1.62 !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
}

.page-bioequivalentes .page-hero-bioequivalentes .hero-ctas {
  width: 100% !important;
  display: flex !important;
  flex-wrap: wrap;
  justify-content: center !important;
  align-items: center !important;
  gap: 14px !important;
  margin: 30px auto 0 !important;
}

.page-bioequivalentes .page-hero-bioequivalentes .hero-ctas .btn {
  min-width: 170px;
  min-height: 46px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 850;
  line-height: 1;
}

.page-bioequivalentes .page-hero-bioequivalentes .hero-ctas .btn.ghost {
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.46) !important;
  background: rgba(255, 255, 255, 0.08) !important;
}

.page-bioequivalentes .page-hero-bioequivalentes .hero-ctas .btn.ghost:hover {
  background: rgba(255, 255, 255, 0.16) !important;
}

@media (min-width: 1440px) {
  .page-bioequivalentes .page-hero-bioequivalentes .hero-title {
    max-width: 38ch !important;
    font-size: clamp(2.45rem, 3vw, 3.7rem) !important;
  }
}

@media (max-width: 1024px) {
  .page-bioequivalentes .page-hero-bioequivalentes {
    min-height: 500px !important;
  }

  .page-bioequivalentes .page-hero-bioequivalentes .hero-title {
    max-width: 28ch !important;
    font-size: clamp(2.2rem, 5vw, 3.45rem) !important;
  }
}

@media (max-width: 768px) {
  .page-bioequivalentes .page-hero-bioequivalentes {
    min-height: 500px !important;
    padding: 36px 0 !important;
  }

  .page-bioequivalentes .page-hero-bioequivalentes .hero-img,
  .page-bioequivalentes .page-hero-bioequivalentes .hero-media img {
    object-position: 44% center !important;
  }

  .page-bioequivalentes .page-hero-bioequivalentes .hero-overlay,
  .page-bioequivalentes .page-hero-bioequivalentes .hero-overlay--internal,
  .page-bioequivalentes .page-hero-bioequivalentes .hero-overlay--soft-dark {
    background: linear-gradient(
      180deg,
      rgba(5, 24, 76, 0.56) 0%,
      rgba(5, 24, 76, 0.66) 52%,
      rgba(5, 24, 76, 0.8) 100%
    ) !important;
  }

  .page-bioequivalentes .page-hero-bioequivalentes .hero-content.container {
    width: min(100% - 26px, 680px) !important;
    padding: 0 13px !important;
  }

  .page-bioequivalentes .page-hero-bioequivalentes .hero-title {
    max-width: 15ch !important;
    font-size: clamp(2.15rem, 9vw, 3.15rem) !important;
    line-height: 1.05 !important;
  }

  .page-bioequivalentes .page-hero-bioequivalentes .hero-sub {
    max-width: 36ch !important;
    font-size: 0.98rem !important;
    line-height: 1.55 !important;
  }
}

@media (max-width: 520px) {
  .page-bioequivalentes .page-hero-bioequivalentes {
    min-height: 520px !important;
  }

  .page-bioequivalentes .page-hero-bioequivalentes .hero-ctas {
    flex-direction: column;
    width: min(100%, 310px) !important;
  }

  .page-bioequivalentes .page-hero-bioequivalentes .hero-ctas .btn {
    width: 100%;
    min-width: 0;
  }
}

/* =========================================================
   HEADERS DE SECCIÓN
========================================================= */

.page-bioequivalentes .bio-section-head {
  width: 100%;
  margin-bottom: 32px;
}

.page-bioequivalentes .bio-section-head--center {
  max-width: 820px;
  margin-inline: auto;
  text-align: center;
}

.page-bioequivalentes .bio-section-head .kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  margin: 0 0 14px;
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid rgba(255, 199, 44, 0.38);
  background: rgba(255, 199, 44, 0.16);
  color: var(--bio-blue);
  font-size: 0.76rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page-bioequivalentes .bio-section-head--center .kicker {
  margin-inline: auto;
}

.page-bioequivalentes .bio-section h2 {
  max-width: 22ch;
  margin: 0 0 17px;
  color: var(--bio-blue);
  font-size: clamp(2rem, 3.3vw, 3.15rem);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.page-bioequivalentes .bio-section-head--center h2 {
  margin-inline: auto;
}

.page-bioequivalentes .bio-section-head .lead,
.page-bioequivalentes .bio-section-head .muted {
  max-width: 72ch;
  margin: 0;
  color: var(--bio-text-soft);
  font-size: 1.02rem;
  line-height: 1.7;
}

.page-bioequivalentes .bio-section-head--center .lead,
.page-bioequivalentes .bio-section-head--center .muted {
  margin-inline: auto;
}

/* =========================================================
   MEDICAMENTOS GENÉRICOS
========================================================= */

.page-bioequivalentes .bio-section--genericos {
  background: #ffffff;
}

.page-bioequivalentes .bio-section--genericos .bio-container {
  max-width: 1020px;
}

.page-bioequivalentes .bio-text-stack {
  display: grid;
  gap: 22px;
}

.page-bioequivalentes .bio-text-stack p {
  max-width: 88ch;
  margin: 0;
  color: var(--bio-text);
  font-size: 1rem;
  line-height: 1.82;
  text-align: left;
  text-wrap: pretty;
}

.page-bioequivalentes .bio-callout {
  position: relative;
  margin-top: 10px;
  padding: 26px 28px 26px 32px;
  border: 1px solid rgba(229, 168, 35, 0.28);
  border-radius: var(--bio-radius-md);
  background: linear-gradient(180deg, #fffef9 0%, #fff7da 100%);
  box-shadow: var(--bio-shadow-sm);
}

.page-bioequivalentes .bio-callout::before {
  content: "";
  position: absolute;
  inset: 18px auto 18px 0;
  width: 6px;
  border-radius: 0 8px 8px 0;
  background: var(--bio-yellow);
}

.page-bioequivalentes .bio-callout p {
  max-width: none;
  line-height: 1.7;
}

.page-bioequivalentes .bio-callout strong {
  color: var(--bio-blue-dark);
}

/* =========================================================
   CARDS DE BIOEQUIVALENCIA
========================================================= */

.page-bioequivalentes .bio-section--equivalentes {
  background: var(--bio-surface-soft);
}

.page-bioequivalentes .bio-check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 38px;
}

.page-bioequivalentes .bio-check-card {
  min-height: 174px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 26px 24px;
  text-align: center;
  border: 1px solid var(--bio-border);
  border-radius: var(--bio-radius-md);
  background: #ffffff;
  box-shadow: var(--bio-shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.page-bioequivalentes .bio-check-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 199, 44, 0.55);
  box-shadow: var(--bio-shadow-md);
}

.page-bioequivalentes .bio-check-card h4 {
  max-width: 30ch;
  margin: 0 auto;
  color: var(--bio-blue);
  font-size: 1.04rem;
  line-height: 1.3;
  text-align: center;
}

/* =========================================================
   ESTUDIOS DE BIOEQUIVALENCIA
========================================================= */

.page-bioequivalentes .bio-section--estudios {
  background: #ffffff;
}

.page-bioequivalentes .bio-split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
  gap: 54px;
  align-items: center;
}

.page-bioequivalentes .bio-section--estudios .bio-text-stack p {
  width: 100%;
  max-width: none;
  margin: 0;
  color: var(--bio-text);
  font-size: 1rem;
  line-height: 1.8;
  text-align: justify;
  text-align-last: left;
  text-justify: inter-word;
  hyphens: none;
  overflow-wrap: break-word;
  word-break: normal;
}

/* =========================================================
   FORMULARIO
========================================================= */

.page-bioequivalentes .bio-section--form {
  background: linear-gradient(180deg, #f8faff 0%, #f5f7fb 100%);
}

.page-bioequivalentes .bio-section--form .bio-container {
  max-width: 820px;
}

.page-bioequivalentes .bio-form {
  width: min(100%, 620px);
  display: grid;
  gap: 18px;
  margin: 0 auto;
  padding: 34px;
  border: 1px solid var(--bio-border);
  border-radius: var(--bio-radius-lg);
  background: #ffffff;
  box-shadow: var(--bio-shadow-md);
}

.page-bioequivalentes .bio-field {
  display: grid;
  gap: 8px;
}

.page-bioequivalentes .bio-field label {
  color: var(--bio-blue);
  font-size: 0.92rem;
  font-weight: 900;
}

.page-bioequivalentes .bio-field label span,
.page-bioequivalentes .bio-required span {
  color: #c93434;
}

.page-bioequivalentes .bio-field input,
.page-bioequivalentes .bio-field select,
.page-bioequivalentes .bio-field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid rgba(8, 43, 122, 0.16);
  border-radius: var(--bio-radius-sm);
  background: #ffffff;
  color: var(--bio-text);
  font: inherit;
  font-size: 1rem;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.page-bioequivalentes .bio-field input:focus,
.page-bioequivalentes .bio-field select:focus,
.page-bioequivalentes .bio-field textarea:focus {
  outline: none;
  border-color: var(--bio-yellow-dark);
  box-shadow: 0 0 0 4px rgba(255, 199, 44, 0.2);
}

.page-bioequivalentes .bio-required {
  margin: 0;
  color: var(--bio-text-soft);
  font-size: 0.9rem;
}

.page-bioequivalentes .bio-form .btn {
  width: 100%;
  min-height: 50px;
  margin-top: 4px;
  background: var(--bio-yellow);
  color: #111111;
}

/* =========================================================
   DESCARGAS
========================================================= */

.page-bioequivalentes .bio-section--downloads {
  background: #ffffff;
}

.page-bioequivalentes .bio-section--downloads .bio-container {
  max-width: 1000px;
}

.page-bioequivalentes .bio-download-list {
  display: grid;
  gap: 15px;
  margin-top: 28px;
}

.page-bioequivalentes .bio-download-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 22px 24px;
  border: 1px solid var(--bio-border);
  border-radius: var(--bio-radius-md);
  background: #ffffff;
  box-shadow: var(--bio-shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.page-bioequivalentes .bio-download-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 199, 44, 0.52);
  box-shadow: var(--bio-shadow-md);
}

.page-bioequivalentes .bio-download-card h3,
.page-bioequivalentes .bio-download-card h4 {
  margin: 0 0 7px;
  color: var(--bio-blue);
  font-size: 1rem;
  line-height: 1.25;
}

.page-bioequivalentes .bio-download-card p {
  margin: 0;
  color: var(--bio-text-soft);
  font-size: 0.9rem;
  line-height: 1.5;
}

.page-bioequivalentes .bio-download-card .btn {
  min-width: 170px;
  white-space: nowrap;
}

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

@media (max-width: 1024px) {
  .page-bioequivalentes {
    --bio-section-space: 64px;
  }

  .page-bioequivalentes .bio-split {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .page-bioequivalentes .page-hero-bioequivalentes {
    min-height: 500px !important;
  }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {
  .page-bioequivalentes {
    --bio-section-space: 48px;
  }

  .page-bioequivalentes .bio-container {
    width: min(100% - 30px, var(--bio-container));
  }

  .page-bioequivalentes .page-hero-bioequivalentes {
    min-height: 500px !important;
    padding: 36px 0 !important;
  }

  .page-bioequivalentes .page-hero-bioequivalentes .hero-img {
    object-position: 44% center !important;
  }

  .page-bioequivalentes .page-hero-bioequivalentes .hero-overlay,
  .page-bioequivalentes .page-hero-bioequivalentes .hero-overlay--internal {
    background: linear-gradient(
      180deg,
      rgba(5, 24, 76, 0.58) 0%,
      rgba(5, 24, 76, 0.66) 52%,
      rgba(5, 24, 76, 0.78) 100%
    ) !important;
  }

  .page-bioequivalentes .page-hero-bioequivalentes .hero-content.container {
    width: min(100% - 26px, 680px) !important;
    padding: 0 13px !important;
  }

  .page-bioequivalentes .page-hero-bioequivalentes .hero-title {
    max-width: 15ch !important;
    font-size: clamp(2.15rem, 9vw, 3.15rem) !important;
  }

  .page-bioequivalentes .page-hero-bioequivalentes .hero-sub {
    max-width: 36ch !important;
    font-size: 0.98rem !important;
    line-height: 1.55 !important;
  }

  .page-bioequivalentes .bio-section-head {
    text-align: center;
  }

  .page-bioequivalentes .bio-section-head .kicker {
    margin-inline: auto;
  }

  .page-bioequivalentes .bio-section h2 {
    max-width: 100%;
    margin-inline: auto;
    font-size: clamp(1.85rem, 8vw, 2.55rem);
    text-align: center;
  }

  .page-bioequivalentes .bio-section-head .lead,
  .page-bioequivalentes .bio-section-head .muted {
    margin-inline: auto;
    text-align: center;
  }

  .page-bioequivalentes .bio-text-stack p {
    font-size: 0.98rem;
    line-height: 1.72;
  }

  .page-bioequivalentes .bio-check-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .page-bioequivalentes .bio-check-card {
    min-height: 150px;
  }

  .page-bioequivalentes .bio-form {
    width: 100%;
    padding: 24px 18px;
    border-radius: var(--bio-radius-md);
  }

  .page-bioequivalentes .bio-download-card {
    grid-template-columns: 1fr;
    gap: 16px;
    text-align: center;
  }

  .page-bioequivalentes .bio-download-card .btn {
    width: 100%;
    min-width: 0;
  }

  .page-bioequivalentes .bio-section--estudios .bio-text-stack p {
    text-align: left;
    text-align-last: auto;
    line-height: 1.72;
  }
}

/* =========================================================
   MOBILE PEQUEÑO
========================================================= */

@media (max-width: 520px) {
  .page-bioequivalentes {
    --bio-section-space: 42px;
  }

  .page-bioequivalentes .page-hero-bioequivalentes {
    min-height: 520px !important;
  }

  .page-bioequivalentes .page-hero-bioequivalentes .hero-ctas {
    flex-direction: column;
    width: min(100%, 310px) !important;
  }

  .page-bioequivalentes .page-hero-bioequivalentes .hero-ctas .btn {
    width: 100%;
    min-width: 0;
  }

  .page-bioequivalentes .bio-callout {
    padding: 22px 18px 22px 24px;
  }

  .page-bioequivalentes .bio-check-card {
    padding: 22px 18px;
  }

  .page-bioequivalentes .bio-download-card {
    padding: 20px 18px;
  }
}

/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {
  .page-bioequivalentes .bio-check-card,
  .page-bioequivalentes .bio-download-card {
    transition: none;
  }

  .page-bioequivalentes .bio-check-card:hover,
  .page-bioequivalentes .bio-download-card:hover {
    transform: none;
  }
}

/* =========================================================
   MEDICAMENTOS GENÉRICOS — LAYOUT EDITORIAL
========================================================= */

.page-bioequivalentes .bio-section--genericos .bio-container {
  width: min(100% - 40px, 1020px);
  max-width: 1020px;
  margin-inline: auto;
}

.page-bioequivalentes .bio-section--genericos .bio-section-head,
.page-bioequivalentes .bio-section--genericos .bio-text-stack {
  width: 100%;
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
}

.page-bioequivalentes .bio-section--genericos .bio-section-head {
  text-align: left;
}

.page-bioequivalentes .bio-section--genericos .bio-text-stack {
  display: grid;
  gap: 22px;
}

.page-bioequivalentes .bio-section--genericos .bio-text-stack > p {
  width: 100%;
  max-width: none;
  margin: 0;
  text-align: justify;
  text-align-last: left;
  text-justify: inter-word;
  hyphens: none;
  overflow-wrap: break-word;
  word-break: normal;
  line-height: 1.8;
}

.page-bioequivalentes .bio-section--genericos .bio-callout {
  width: 100%;
  max-width: none;
  margin: 10px 0 0;
  padding: 24px 28px 24px 32px;
}

.page-bioequivalentes .bio-section--genericos .bio-callout p {
  width: 100%;
  max-width: none;
  margin: 0;
  text-align: left;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .page-bioequivalentes .bio-section--genericos .bio-container {
    width: min(100% - 30px, 1020px);
  }

  .page-bioequivalentes .bio-section--genericos .bio-section-head,
  .page-bioequivalentes .bio-section--genericos .bio-text-stack {
    max-width: 100%;
  }

  .page-bioequivalentes .bio-section--genericos .bio-text-stack > p {
    text-align: left;
    text-align-last: auto;
    line-height: 1.72;
  }

  .page-bioequivalentes .bio-section--genericos .bio-callout {
    padding: 22px 18px 22px 24px;
  }
}

/* =========================================================
   BIOEQUIVALENTES — CARDS CON ILUSTRACIONES
========================================================= */

.page-bioequivalentes .bio-check-card {
  min-height: 310px;
  padding: 28px 26px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.page-bioequivalentes .bio-check-media {
  width: clamp(150px, 14vw, 205px);
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  margin: 0 auto 22px;
  border-radius: 50%;
  overflow: hidden;
  flex: 0 0 auto;
}

.page-bioequivalentes .bio-check-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
  margin: 0;
  padding: 0;
  border-radius: 50%;
}

.page-bioequivalentes .bio-check-card h3,
.page-bioequivalentes .bio-check-card h4 {
  width: 100%;
  max-width: 28ch;
  margin: 0 auto;
  color: var(--bio-blue);
  font-size: clamp(1.05rem, 1.3vw, 1.25rem);
  font-weight: 800;
  line-height: 1.3;
  text-align: center;
  text-wrap: balance;
}

.page-bioequivalentes .bio-check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 38px;
}

@media (max-width: 900px) {
  .page-bioequivalentes .bio-check-card {
    min-height: 285px;
    padding: 26px 22px;
  }

  .page-bioequivalentes .bio-check-media {
    width: clamp(145px, 22vw, 185px);
    margin-bottom: 20px;
  }
}

@media (max-width: 640px) {
  .page-bioequivalentes .bio-check-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .page-bioequivalentes .bio-check-card {
    min-height: auto;
    padding: 16px 20px 28px;
  }

  .page-bioequivalentes .bio-check-media {
    width: clamp(150px, 48vw, 190px);
    margin-bottom: 18px;
  }

  .page-bioequivalentes .bio-check-card h3,
  .page-bioequivalentes .bio-check-card h4 {
    max-width: 24ch;
    font-size: 1.08rem;
  }
}

.page-bioequivalentes .bio-check-grid > .bio-check-grid {
  display: contents;
}

.page-bioequivalentes .bio-check-grid > .bio-check-card,
.page-bioequivalentes .bio-check-grid > .bio-check-grid > .bio-check-card {
  width: 100%;
  min-width: 0;
}

.page-bioequivalentes .bio-check-media img {
  max-width: 100%;
}

/* =========================================================
   VIDEO EMBEBIDO
========================================================= */

.page-bioequivalentes .bio-video-card {
  position: relative;
  width: 100%;
  min-width: 0;
  padding: 10px;
  border: 1px solid var(--bio-border);
  border-top: 5px solid var(--bio-yellow);
  border-radius: var(--bio-radius-lg);
  background: #ffffff;
  box-shadow: var(--bio-shadow-md);
  overflow: hidden;
}

.page-bioequivalentes .bio-video-card .bio-video-header {
  width: 100%;
  min-height: 68px;
  padding: 12px 16px 14px;
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  align-content: center;
  gap: 4px;
  text-align: center;
}

.page-bioequivalentes .bio-video-card .bio-video-header > .bio-video-label,
.page-bioequivalentes .bio-video-card .bio-video-header > .bio-video-source {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  text-align: center;
}

.page-bioequivalentes .bio-video-card .bio-video-label {
  border: 0;
  background: transparent;
  color: var(--bio-blue);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0;
  text-transform: none;
}

.page-bioequivalentes .bio-video-card .bio-video-source {
  color: var(--bio-blue);
  font-size: 0.9rem;
  font-weight: 900;
  line-height: 1.3;
}

.page-bioequivalentes .bio-video-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 52px;
  padding: 8px 12px 13px;
}

.page-bioequivalentes .bio-video-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 6px 11px;
  border: 1px solid rgba(255, 199, 44, 0.4);
  border-radius: 999px;
  background: rgba(255, 199, 44, 0.16);
  color: var(--bio-blue);
  font-size: 0.74rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.page-bioequivalentes .bio-video-source {
  color: var(--bio-text-soft);
  font-size: 0.82rem;
  font-weight: 700;
}

.page-bioequivalentes .bio-video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 3px solid var(--bio-blue);
  border-radius: calc(var(--bio-radius-lg) - 8px);
  background: var(--bio-blue-dark);
  overflow: hidden;
}

.page-bioequivalentes .bio-video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
}

.page-bioequivalentes .bio-video-external {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 8px;
  background: var(--bio-blue-dark);
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  text-align: center;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.page-bioequivalentes .bio-video-external:focus-visible {
  outline: 3px solid var(--bio-yellow);
  outline-offset: -6px;
}

.page-bioequivalentes .bio-video-external__note {
  font-size: 0.86rem;
  font-weight: 400;
}

.page-bioequivalentes .bio-video-footer {
  padding: 14px 14px 10px;
}

.page-bioequivalentes .bio-video-footer p {
  margin: 0;
  color: var(--bio-text-soft);
  font-size: 0.92rem;
  line-height: 1.55;
  text-align: center;
}

@media (hover: hover) {
  .page-bioequivalentes .bio-video-card {
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  }

  .page-bioequivalentes .bio-video-card:hover {
    transform: translateY(-3px);
    border-color: rgba(8, 43, 122, 0.2);
    box-shadow: 0 20px 44px rgba(10, 35, 90, 0.12);
  }
}

@media (max-width: 1024px) {
  .page-bioequivalentes .bio-video-card {
    width: min(100%, 760px);
    margin-inline: auto;
  }
}

@media (max-width: 640px) {
  .page-bioequivalentes .bio-video-card {
    padding: 7px;
    border-top-width: 4px;
    border-radius: var(--bio-radius-md);
  }

  .page-bioequivalentes .bio-video-card .bio-video-header {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-height: 64px;
    padding: 12px 16px 14px;
    text-align: center;
  }

  .page-bioequivalentes .bio-video-card .bio-video-label {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    color: var(--bio-blue);
    background: transparent;
    border: 0;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: 0;
    text-align: center;
    text-transform: none;
  }

  .page-bioequivalentes .bio-video-card .bio-video-source {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    color: var(--bio-blue);
    font-size: 0.9rem;
    font-weight: 900;
    line-height: 1.3;
    text-align: center;
  }

  .page-bioequivalentes .bio-video-frame {
    border-width: 2px;
    border-radius: 14px;
  }

  .page-bioequivalentes .bio-video-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 18px 12px;
    text-align: center;
  }

  .page-bioequivalentes .bio-video-footer p {
    max-width: 38ch;
    margin: 0 auto;
    color: var(--bio-text-soft);
    font-size: 0.92rem;
    line-height: 1.55;
    text-align: center;
    text-wrap: balance;
  }
}

@media (min-width: 769px) {
  body.page-bioequivalentes .page-hero-bioequivalentes,
  body.page-bioequivalentes .hero-hero.page-hero-bioequivalentes {
    position: relative !important;
    width: 100vw !important;
    max-width: none !important;
    min-height: clamp(420px, 40vw, 620px) !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    background: var(--ls-blue) !important;
  }

  body.page-bioequivalentes .page-hero-bioequivalentes .hero-media {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 1 !important;
    overflow: hidden !important;
  }

  body.page-bioequivalentes .page-hero-bioequivalentes .hero-img,
  body.page-bioequivalentes .page-hero-bioequivalentes .hero-media img,
  body.page-bioequivalentes .page-hero-bioequivalentes picture,
  body.page-bioequivalentes .page-hero-bioequivalentes picture img {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover !important;
    object-position: center center !important;
    transform: none !important;
  }

  body.page-bioequivalentes .page-hero-bioequivalentes .hero-overlay {
    position: absolute !important;
    inset: 0 !important;
    z-index: 2 !important;
  }

  body.page-bioequivalentes .page-hero-bioequivalentes .hero-content {
    position: relative !important;
    z-index: 3 !important;
  }
}
