/* ============================================================
   VARIABLES
   ============================================================ */
:root {
  --blue: #008D99;
  --blue-2: #008D99;
  --blue-dark: #003C48;
  --navy: #003C48;
  --cyan-soft: #eaf8ff;
  --cyan-soft-2: #f4fbff;
  --border: #0FC8D8;
  --text: #003C48;
  --muted: #003C48;
  --white: #ffffff;
  --shadow: 0 16px 45px rgba(0, 60, 72, .08);
  --radius: 17px;
}

/* ============================================================
   BASE
   ============================================================ */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--text);
  background: #fff;
  font-family: "Inter", Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

/* ============================================
   WHATSAPP FLOAT
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #008D99;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 141, 153, 0.4);
    z-index: 999;
    transition: all var(--transition-normal);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(0, 141, 153, 0.5);
}

.whatsapp-float svg {
    width: 30px;
    height: 30px;
    position: relative;
    z-index: 2;
}

.whatsapp-pulse {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #008D99;
    border-radius: 50%;
    animation: whatsappPulse 2s ease-out infinite;
}

@keyframes whatsappPulse {
    0% { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(1.5); opacity: 0; }
}

@media (max-width: 767.98px) {
    .whatsapp-float {
        display: none;
    }
}

/* contact banner */
/* botones accesibilidad movil */
.contact-banner {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    z-index: 9999;
    display: flex;
    justify-content: space-around;
    align-items: center;
    background: rgba(30, 30, 30, 0.88);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.18);
    padding: 5px 0 calc(6px + env(safe-area-inset-bottom, 0px));
    transform: translate3d(0, 0, 0);
    -webkit-transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    will-change: transform;
}

.contact-icon-bottom {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    min-height: 58px;
    position: relative;
}

.contact-icon-bottom:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 15%;
    height: 70%;
    width: 1px;
    background: rgba(255, 255, 255, 0.12);
}

.contact-icon-bottom i {
    width: 48px;
    height: 48px;
    border: 2px solid rgba(255, 255, 255, 0.85);
    border-radius: 50%;
    color: #ffffff;
    font-size: 22px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.contact-icon-bottom .fa-whatsapp {
    font-size: 25px;
}

.contact-icon-bottom:hover i,
.contact-icon-bottom:focus i {
    transform: scale(1.08);
    background: rgba(255, 255, 255, 0.08);
}



@media (min-width: 769px) {
    .contact-banner {
        display: none;
    }

}

/* ============================================================
   LAYOUT
   ============================================================ */

.page-shell {
  width: 100%;
  max-width: 1368px;
  margin: 0 auto;
  padding-left: 54px;
  padding-right: 54px;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   BOTONES
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 800;
  text-transform: uppercase;
  border-radius: 8px;
  letter-spacing: -.01em;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: linear-gradient(90deg, #0FC8D8, #008D99);
  color: #fff;
  border: none;
  box-shadow: 0 9px 18px rgba(0, 141, 153, .22);
}

.btn--primary:hover {
  transform: translateY(-2px);
  color: #fff;
  box-shadow: 0 14px 28px rgba(0, 60, 72, .18);
}

.btn--sm {
  padding: 10px 18px;
  font-size: 14px;
}

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, .98);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #e4eef6;
  box-shadow: 0 8px 24px rgba(0, 60, 72, .06);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo__img {
  height: 52px;
  width: auto;
  display: block;
}

.nav {
  flex: 1;
  /* Bootstrap also defines .nav as flex; reset it for the shared Medisis header. */
  display: block;
  flex-wrap: nowrap;
  padding-left: 0;
  margin-bottom: 0;
}

.nav__list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__list > li {
  position: relative;
}

.nav__list > li > a {
  font-size: 13px;
  font-family: "Inter", sans-serif;
  font-weight: 800;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: #003C48;
  padding: 34px 0;
  display: flex;
  align-items: center;
  gap: 5px;
}

.nav__list > li > a:hover,
.nav__list > li > a.active {
  color: #008D99;
}

.nav__list > li > a.active {
  border-bottom: none;
}

.nav__list > li > a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 22px;
  margin: 0 auto;
  width: 44px;
  height: 3px;
  border-radius: 99px;
  background: #008D99;
}

.nav__list > li > a i {
  font-size: 10px;
  opacity: .65;
}

.has-dropdown .dropdown {
  position: absolute;
  top: calc(100% - 4px);
  left: 0;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 16px 34px rgba(0, 60, 72, .1);
  border: 1px solid #0FC8D8;
  padding: 10px;
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all .18s ease;
}

.has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown li a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
}

.dropdown li a:hover {
  background: #f3faff;
  color: #008D99;
}

.header__cta {
  flex-shrink: 0;
  min-height: 44px;
  border-radius: 8px;
  padding: 0 22px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .02em;
  white-space: nowrap;
  background: linear-gradient(90deg, #0FC8D8, #008D99);
  border: 0;
  box-shadow: 0 9px 18px rgba(0, 141, 153, .22);
}

.nav__toggle {
  display: none;
  background: none;
  border: none;
  font-size: 22px;
  color: #003C48;
  cursor: pointer;
}

/* ============================================================
   MARCA COMPARTIDA
   ============================================================ */
.compact-shell {
  max-width: 1284px;
}

/* ============================================================
   HELPERS BOOTSTRAP
   ============================================================ */

/* ============================================================
   HERO ENDODONCIA
   ============================================================ */
.hero-section {
  position: relative;
  min-height: 568px;
 
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 3% 15%, rgba(0, 141, 153, .06), transparent 26%),
    linear-gradient(90deg, rgba(255, 255, 255, .95) 0%, rgba(255, 255, 255, .80) 41%, rgba(255, 255, 255, 0) 61%);
  pointer-events: none;
  z-index: 2;
}

/* ============================================================
   PROCESO
   ============================================================ */

/* ============================================================
   VIDEO Y PROCEDIMIENTO
   ============================================================ */

/* ============================================================
   ESPECIALISTAS
   ============================================================ */

/* ============================================================
   CTA AGENDA
   ============================================================ */
.cta-band {
  position: relative;
  margin-top: 0;
  padding: 17px 0 18px;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, #0FC8D8 0%, #008D99 100%);
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .24;
  background:
    repeating-radial-gradient(ellipse at 80% 16%, transparent 0 8px, rgba(255, 255, 255, .35) 9px 10px),
    linear-gradient(90deg, rgba(0, 60, 72, .25), transparent 54%);
}

.cta-shell {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1060px;
  min-height: 76px;
}

.cta-text {
  display: flex;
  align-items: center;
  gap: 27px;
}

.cta-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 50%;
  color: var(--blue);
  background: #fff;
  font-size: 32px;
}

.cta-text h2 {
  margin: 0 0 4px;
  color: #fff;
  font-size: 31px;
  line-height: 1;
  letter-spacing: -.045em;
  font-weight: 900;
}

.cta-text p {
  margin: 0;
  color: #e9fbff;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 500;
}

.btn-white-outline {
  min-width: 256px;
  min-height: 48px;
  padding: 10px 24px;
  color: #fff;
  border: 2px solid #fff;
  background: transparent;
  font-size: 14px;
  border-radius: 7px;
}

.btn-white-outline:hover,
.btn-white-outline:focus {
  color: var(--blue);
  background: #fff;
}

/* ============================================================
   FOOTER
   ============================================================ */

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1199.98px) {
  .page-shell {
    padding-left: 32px;
    padding-right: 32px;
  }
}

@media (max-width: 991.98px) {
  .hero-section {
    min-height: auto;
  }

  .hero-section::before {
    background: linear-gradient(180deg, rgba(255, 255, 255, .94), rgba(255, 255, 255, .80));
  }

  .cta-shell {
    max-width: 100%;
  }
}

@media (max-width: 767.98px) {
  .page-shell {
    padding-left: 20px;
    padding-right: 20px;
  }

  .cta-shell {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }

  .cta-text {
    gap: 16px;
  }

  .btn-white-outline {
    width: 100%;
  }
}

@media (max-width: 479.98px) {
  .page-shell {
    padding-left: 15px;
    padding-right: 15px;
  }

  .cta-text {
    align-items: flex-start;
  }

  .cta-icon {
    width: 54px;
    height: 54px;
    font-size: 27px;
  }

  .cta-text h2 {
    font-size: 27px;
  }
}

@media (max-width: 1024px) {
  .nav {
    display: block;
    position: fixed;
    top: 88px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid #eef3f7;
    box-shadow: 0 10px 30px rgba(0, 60, 72, .10);
    max-height: 0;
    overflow: hidden;
    transition: max-height .28s ease;
  }

  .nav.nav--open {
    max-height: calc(100vh - 88px);
    overflow-y: auto;
  }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 24px 20px;
  }

  .nav__list > li > a {
    padding: 14px 0;
    justify-content: space-between;
  }

  .nav__list > li > a.active::after {
    display: none;
  }

  .has-dropdown .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    display: none;
    background: #f3faff;
    margin-bottom: 8px;
  }

  .has-dropdown:hover .dropdown,
  .has-dropdown.is-open .dropdown {
    display: block;
  }

  .nav__toggle {
    display: block;
  }
}

@media (max-width: 640px) {
  .header__cta {
    display: none;
  }
}

/* ============================================================
   COLONOSCOPIA (NUEVO MAIN)
   ============================================================ */
.colono-main {
  background:
    radial-gradient(circle at 8% 10%, rgba(0, 141, 153, .08), transparent 26%),
    radial-gradient(circle at 92% 24%, rgba(0, 60, 72, .06), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f8fcff 100%);
}

/* ============================================================
   SECCION PREVENCION / IMPACTO
   ============================================================ */

/* Mantiene el hero original pero adapta proporciones al texto de colonoscopia. */
.colono-main .hero-section {
  min-height: 600px;
}

@media (max-width: 991.98px) {

  .colono-main .hero-section {
    min-height: auto;
  }
}

/* ============================================================
   PALETA GASTROENTEROLOGIA
   Mantiene la estructura de colonoscopia y aplica los acentos
   coral/naranjo de especialidad_gastronterologia.html.
   ============================================================ */
:root {
  --gastro-coral: #008D99;
  --gastro-orange: #0FC8D8;
  --gastro-soft: rgba(15, 200, 216, 0.15);
  --gastro-soft-2: rgba(15, 200, 216, 0.08);
  --gastro-line: #0FC8D8;
  --gastro-shadow: 0 12px 24px rgba(0, 141, 153, .16);
}

.colono-main {
  background: #fff;
}

.colono-main .hero-section::before {
  background: linear-gradient(90deg, rgba(255, 255, 255, .96) 0%, rgba(255, 255, 255, .84) 41%, rgba(255, 255, 255, 0) 61%);
}


.colono-main .cta-band {
  border-color: transparent;
  background: linear-gradient(90deg, var(--gastro-coral), var(--gastro-orange));
  box-shadow: var(--gastro-shadow);
}


.colono-main .cta-icon {
  color: var(--gastro-coral);
}


.colono-main .cta-band::before {
  background:
    repeating-radial-gradient(ellipse at 80% 16%, transparent 0 8px, rgba(255, 255, 255, .35) 9px 10px),
    linear-gradient(90deg, rgba(0, 60, 72, .18), transparent 54%);
}

.colono-main .btn-white-outline:hover,
.colono-main .btn-white-outline:focus {
  color: var(--gastro-coral);
}


/* Efecto difuminado en hero image - capa borrosa encima, visible solo en bordes
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--hero-bg) center / cover no-repeat;
  filter: blur(18px);
  -webkit-filter: blur(18px);
  mask-image: radial-gradient(ellipse at center, transparent 35%, black 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, transparent 35%, black 80%);
  pointer-events: none;
  z-index: 2;
}

@media (max-width: 991.98px) {
  .hero-visual::before {
    mask-image: radial-gradient(ellipse at center, transparent 20%, black 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, transparent 20%, black 70%);
  }
} */
/* Mobile horizontal overflow guard */
html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

@supports (overflow: clip) {
    html,
    body {
        overflow-x: clip;
    }
}

@media (max-width: 767.98px) {
    body {
        position: relative;
    }

    img,
    video,
    iframe,
    svg {
        max-width: 100%;
    }

    .container,
    .container-fluid,
    .page-shell,
    .header__inner,
    .footer__grid {
        max-width: 100%;
    }
}
/* Mobile dropdown toggle fix */
@media (max-width: 768px) {
    .nav__list .has-dropdown:not(.is-open) .dropdown {
        display: none !important;
        opacity: 0;
        visibility: hidden;
        transform: none;
        pointer-events: none;
    }

    .nav__list .has-dropdown.is-open .dropdown {
        display: block !important;
        opacity: 1;
        visibility: visible;
        transform: none;
        pointer-events: auto;
    }
}

/* ============================================================
   ENDOSCOPIA - SECCIONES SEGUN REFERENCIAS 1, 2 Y 3
   ============================================================ */
.endo-title-line {
  display: block;
  width: 58px;
  height: 4px;
  border-radius: 99px;
  background: #008D99;
}

.endo-coral-line {
  display: block;
  width: 33px;
  height: 3px;
  margin: 18px auto;
  border-radius: 99px;
  background: var(--gastro-coral);
}

.endo-prep-section {
  padding: 34px 0 54px;
  background: #fff;
}

.endo-prep-hero {
  position: relative;
  min-height: 200px;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  background: #f7fbfd;
}

.endo-prep-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, .94) 26%, rgba(255, 255, 255, .28) 58%, rgba(255, 255, 255, 0) 100%);
}

.endo-prep-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}

.endo-prep-copy {
  position: relative;
  z-index: 3;
  padding-top: 10px;
  text-align: center;
}

.endo-prep-copy h2,
.endo-specialists-head h2,
.endo-recommend-title h2 {
  margin: 0;
  color: #003C48;
  font-size: clamp(38px, 4.2vw, 58px);
  line-height: 1.02;
  letter-spacing: -.055em;
  font-weight: 900;
}

.endo-prep-copy h2 .endo-heading-title,
.endo-specialists-head h2 .endo-heading-title,
.endo-recommend-title h2 .endo-heading-title {
  color: var(--gastro-coral);
}

.endo-prep-copy h2 .endo-heading-kicker,
.endo-specialists-head h2 .endo-heading-kicker,
.endo-recommend-title h2 .endo-heading-kicker {
  color: #003C48;
}

.endo-heading--stacked .endo-heading-title {
  display: block;
}

.endo-prep-copy .endo-title-line {
  margin: 24px auto 26px;
}

.endo-prep-copy p {
  max-width: 545px;
  margin: 0 auto;
  color: #003C48;
  font-size: 16px;
  line-height: 1.55;
}

.endo-prep-gap {
  height: 68px;  
}

.endo-prep-grid {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 13px;
  margin-top: -44px;
}

.endo-prep-card {
  position: relative;
  min-height: 292px;
  padding: 28px 20px 24px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(0, 60, 72, .09);
  text-align: center;
}

.endo-prep-card > strong {
  position: absolute;
  top: 24px;
  left: 22px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #008D99;
  font-size: 15px;
  font-weight: 900;
}

.endo-prep-card > span,
.endo-recommend-item > span,
.endo-trust-card > i,
.endo-heading-icon,
.endo-alert-icon,
.endo-detection-band > i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #e7f9f9;
  color: #008D99;
}

/* Font Awesome Free 6.5.1 no incluye fa-stomach: icono local compatible. */
.fa-stomach::before {
  content: "";
  display: block;
  width: 1em;
  height: 1em;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 489.6 489.6'%3E%3Cpath d='M1.429,489.6h56c2.3-12.4,4.7-25.3,7-37.7c4.3-21.8,10.5-46.6,35.7-52.1c29.4-6.2,56.7,21.8,73.8,33.4c42.7,30.3,97.5,39.6,150,35c103.4-6.4,137.2-87.4,152.3-134.4c5.4-16.7,34.1-132.3-23.3-220.7c-25.1-44.3-75.3-55.8-122-28c-13.2,10.1-22.9,26.4-42.4,24.9c-30.1,0-36.1-52.5-33.8-70.7V0h-58.3v75.8c-2.7,56.5,69.5,102.7,74.2,135.2c13.2,31.1-1.9,67.6-24.9,92.9c-24.2,29.9-57.1,25.6-73.1,24.9c-20.6-.8-41.2-.4-62.2,.8c-21.6,1.1-103.1,6.2-109,75.3V489.6z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 489.6 489.6'%3E%3Cpath d='M1.429,489.6h56c2.3-12.4,4.7-25.3,7-37.7c4.3-21.8,10.5-46.6,35.7-52.1c29.4-6.2,56.7,21.8,73.8,33.4c42.7,30.3,97.5,39.6,150,35c103.4-6.4,137.2-87.4,152.3-134.4c5.4-16.7,34.1-132.3-23.3-220.7c-25.1-44.3-75.3-55.8-122-28c-13.2,10.1-22.9,26.4-42.4,24.9c-30.1,0-36.1-52.5-33.8-70.7V0h-58.3v75.8c-2.7,56.5,69.5,102.7,74.2,135.2c13.2,31.1-1.9,67.6-24.9,92.9c-24.2,29.9-57.1,25.6-73.1,24.9c-20.6-.8-41.2-.4-62.2,.8c-21.6,1.1-103.1,6.2-109,75.3V489.6z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.endo-prep-card > span {
  width: 116px;
  height: 106px;
  margin: -7px auto 14px;
  background: transparent;
  font-size: 46px;
}

.endo-prep-card > span img,
.endo-recommend-item > span img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 10px 12px rgba(0, 60, 72, .12));
}

.endo-prep-card h3 {
  min-height: 48px;
  margin: 0 0 18px;
  color: #003C48;
  font-size: 18px;
  line-height: 1.14;
  letter-spacing: -.035em;
  font-weight: 900;
}

.endo-prep-card p {
  /* margin: 0; */
  color: #003C48;
  font-size: 13px;
  line-height: 1.48;
  font-weight: 500;
}

.endo-prep-card::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 20px;
  width: 34px;
  height: 3px;
  border-radius: 99px;
  background: var(--gastro-coral);
  transform: translateX(-50%);
}

.endo-prep-alert,
.endo-detection-band {
  display: grid;
  align-items: center;
  border-radius: 12px;
  background: linear-gradient(90deg, rgba(15, 200, 216, 0.08), #f0fbfc);
  box-shadow: 0 9px 22px rgba(0, 60, 72, .05);
}

.endo-prep-alert {
  grid-template-columns: 86px 135px 1fr 275px;
  gap: 22px;
  max-width: 1165px;
  margin: 28px auto 0;
  padding: 24px 34px;
}

.endo-alert-icon {
  width: 64px;
  height: 64px;
  color: var(--gastro-coral);
  background: #fff;
  border: 2px solid #0FC8D8;
  font-size: 42px;
}

.endo-prep-alert strong {
  color: var(--gastro-coral);
  font-size: 22px;
  font-weight: 900;
}

.endo-prep-alert p {
  margin: 0;
  padding-left: 28px;
  border-left: 1px solid #0FC8D8;
  color: #003C48;
  font-size: 15px;
  line-height: 1.45;
}

.endo-specialists-section {
  padding: 36px 0 62px;
  background: #fff;
}

.endo-specialists-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 500px);
  align-items: center;
  gap: 42px;
  margin-bottom: 24px;
}

.endo-heading-copy {
  position: relative;
  padding-left: 98px;
}

.endo-heading-icon {
  position: absolute;
  left: 0;
  top: 0;
  width: 74px;
  height: 74px;
  color: var(--gastro-coral);
  background: rgba(15, 200, 216, 0.11);
  font-size: 42px;
}

.endo-heading-copy .endo-title-line {
  margin: 18px 0 16px;
}

.endo-heading-copy p {
  max-width: 650px;
  margin: 0;
  color: #003C48;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 500;
}

.endo-trust-card {
  display: flex;
  align-items: center;
  gap: 28px;
}

.endo-trust-card > i {
  width: 96px;
  height: 96px;
  flex: 0 0 auto;
  font-size: 52px;
}

.endo-trust-card p {
  margin: 0;
  padding-left: 25px;
  border-left: 1px solid #cfcfcf;
  color: #003C48;
  font-size: 17px;
  line-height: 1.35;
  font-weight: 800;
}

.endo-trust-card span {
  color: #008D99;
}

.endo-doctors-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 27px;
}

.endo-doctor-card {
  overflow: hidden;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 12px 27px rgba(0, 60, 72, .09);
}

.endo-doctor-card img {
  width: 100%;
  height: 310px;
  object-fit: cover;
  object-position: center top;
  background: #eef7fb;
}

.endo-doctor-body {
  position: relative;
  min-height: 168px;
  padding: 44px 24px 22px;
  text-align: center;
}

.endo-doctor-icon {
  position: absolute;
  top: -36px;
  left: 50%;
  width: 72px;
  height: 72px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--gastro-coral);
  background: #fff;
  box-shadow: 0 8px 18px rgba(0, 60, 72, .08);
  transform: translateX(-50%);
  font-size: 38px;
}

.endo-doctor-card h3 {
  margin: 0 0 5px;
  color: #003C48;
  font-size: 15.2px;
  line-height: 1.1;
  letter-spacing: -.04em;
  font-weight: 900;
}

.endo-doctor-card strong {
  display: block;
  color: #008D99;
  font-size: 13px;
  line-height: 1;
  font-weight: 800;
}

.endo-doctor-card .endo-coral-line {
  margin: 15px auto 15px;
}

.endo-doctor-card p {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0;
  color: #003C48;
  font-size: 14px;
  line-height: 1.35;
}

.endo-doctor-card p i {
  color: #008D99;
  font-size: 27px;
}

.endo-recommend-section {
  padding: 44px 0 60px;
  background: #fff;
}

.endo-recommend-title {
  text-align: center;
  margin-bottom: 28px;
}

.endo-recommend-title .endo-title-line {
  margin: 20px auto 0;
}

.endo-recommend-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  row-gap: 38px;
}

.endo-recommend-item {
  min-height: 245px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 0 34px;
  text-align: center;
}

.endo-recommend-item:not(:nth-child(4n)) {
  border-right: 1px solid #0FC8D8;
}

.endo-recommend-item:nth-child(n+5) {
  border-top: 1px solid #0FC8D8;
  padding-top: 28px;
}

.endo-recommend-item:nth-child(5) {
  grid-column: 1 / span 1;
}

.endo-recommend-item:nth-child(6) {
  grid-column: 2 / span 2;
}

.endo-recommend-item:nth-child(7) {
  grid-column: 4 / span 1;
}

.endo-recommend-item > span {
  width: 158px;
  height: 148px;
  background: transparent;
  font-size: 66px;
}

.endo-recommend-item .endo-coral-line {
  margin: 16px auto 13px;
}

.endo-recommend-item h3 {
  max-width: 275px;
  margin: 0;
  color: #003C48;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: -.035em;
}

.endo-detection-band {
  position: relative;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 16px;
  max-width: 900px;
  margin: 70px auto 0;
  padding: 18px 24px;
  overflow: hidden;
  border: 1px solid rgba(0, 141, 153, .2);
  border-radius: 14px;
  background: linear-gradient(135deg, #e7f9f9, #f5fdfd);
  box-shadow: 0 12px 28px rgba(0, 60, 72, .08);
}

.endo-detection-band::before {
  content: "";
  position: absolute;
  top: 0;
  right: 24px;
  left: 24px;
  height: 3px;
  border-radius: 0 0 999px 999px;
  background: #008D99;
}

.endo-detection-band > i {
  width: 52px;
  height: 52px;
  color: #008D99;
  background: #fff;
  border: 1px solid rgba(0, 141, 153, .16);
  font-size: 27px;
  box-shadow: 0 7px 16px rgba(0, 141, 153, .09);
}

.endo-detection-band p {
  margin: 0;
  color: #003C48;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  line-height: 1.55;
  font-weight: 600;
}

@media (max-width: 1199.98px) {
  .endo-prep-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .endo-doctors-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .endo-recommend-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .endo-recommend-item,
  .endo-recommend-item:nth-child(n+5) {
    grid-column: auto;
    border-top: 0;
    padding-top: 0;
  }

  .endo-recommend-item:nth-child(odd) {
    border-right: 1px solid #0FC8D8;
  }

  .endo-recommend-item:nth-child(even) {
    border-right: 0;
  }

  .endo-prep-alert {
    grid-template-columns: 1fr;
  }

  .endo-prep-alert p {
    padding-left: 0;
    padding-right: 0;
    border-left: 0;
    border-right: 0;
  }
}

@media (max-width: 991.98px) {
  .endo-prep-hero {
    min-height: 360px;
  }

  .endo-prep-grid {
    margin-top: 24px;
  }

  .endo-specialists-head {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .endo-trust-card {
    padding: 18px;
    border-radius: 16px;
    background: #f4fbff;
  }
}

@media (max-width: 767.98px) {

  .endo-prep-hero {
    min-height: 0;
  }

  .endo-prep-gap {
    display: none;
  }

  .endo-prep-section,
  .endo-specialists-section,
  .endo-recommend-section {
    padding-top: 28px;
    padding-bottom: 38px;
  }

  .endo-prep-copy {
    padding-top: 28px;
    padding-bottom: 24px;
    text-align: center;
  }

  .endo-prep-copy .endo-title-line {
    margin: 14px auto;
  }

  .endo-prep-copy h2,
  .endo-specialists-head h2,
  .endo-recommend-title h2 {
    font-size: 34px;
  }

  .endo-prep-copy h2 .endo-heading-kicker,
  .endo-specialists-head h2 .endo-heading-kicker,
  .endo-recommend-title h2 .endo-heading-kicker {
    display: block;
    margin-bottom: 6px;
    font-family: "Inter", sans-serif;
    font-size: 12px;
    line-height: 1.5;
    letter-spacing: .06em;
    text-transform: uppercase;
    font-weight: 800;
  }

  .endo-prep-copy h2 .endo-heading-title,
  .endo-specialists-head h2 .endo-heading-title,
  .endo-recommend-title h2 .endo-heading-title {
    display: block;
    font-family: "Poppins", sans-serif;
    font-size: 34px;
    line-height: 1.2;
    letter-spacing: normal;
    font-weight: 800;
  }

  .endo-prep-copy > p,
  .endo-heading-copy > p {
    margin-right: auto;
    margin-left: auto;
    font-family: "Inter", sans-serif;
    font-size: 14px;
    line-height: 1.5;
    text-align: center;
  }

  .endo-prep-grid,
  .endo-doctors-grid,
  .endo-recommend-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  /* Tarjetas compactas: mismo lenguaje visual que servicios de Gastroenterologia. */
  .endo-prep-card {
    min-height: 210px;
    padding: 14px 8px 16px;
    border: 1px solid rgba(0, 141, 153, .11);
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(0, 60, 72, .08);
  }

  .endo-prep-card > strong {
    top: 10px;
    left: 10px;
    width: 22px;
    height: 22px;
    font-size: 12px;
  }

  .endo-prep-card > span {
    width: 78px;
    height: 72px;
    margin-bottom: 8px;
    background: transparent;
  }

  .endo-prep-card > span img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .endo-prep-card h3 {
    min-height: 32px;
    margin-bottom: 6px;
    padding: 0 3px;
    font-family: "Poppins", sans-serif;
    font-size: 13px;
    line-height: 1.22;
    font-weight: 700;
  }

  .endo-prep-card p {
    margin: 0;
    font-size: 10px;
    line-height: 1.35;
  }

  .endo-prep-card::after {
    bottom: 8px;
    width: 22px;
    height: 2px;
  }

  .endo-heading-copy {
    display: block;
    padding: 0;
    text-align: center;
  }

  .endo-heading-icon {
    display: none;
  }

  .endo-heading-copy h2 {
    text-align: center;
  }

  .endo-heading-copy .endo-title-line {
    width: 34px;
    height: 3px;
    margin: 14px auto;
  }

  .endo-heading-copy > p {
    max-width: 620px;
  }

  .endo-specialists-head {
    gap: 14px;
    margin-bottom: 18px;
  }

  .endo-trust-card {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border: 1px solid rgba(0, 141, 153, .14);
    border-radius: 14px;
    background: linear-gradient(145deg, #f4fbff, #edfcfb);
    box-shadow: 0 10px 24px rgba(0, 60, 72, .06);
  }

  .endo-trust-card > i {
    width: 42px;
    height: 42px;
    font-size: 22px;
  }

  .endo-trust-card p {
    padding-left: 0;
    border-left: 0;
    font-size: 12px;
    line-height: 1.4;
    text-align: center;
  }

  .endo-trust-card br {
    display: none;
  }

  .endo-doctor-card {
    display: grid;
    grid-template-rows: 3fr 2fr;
    height: clamp(300px, 80vw, 330px);
    border: 1px solid rgba(0, 141, 153, .28);
    border-radius: 14px;
    box-shadow:
      0 0 0 3px rgba(0, 141, 153, .05),
      0 12px 30px rgba(0, 60, 72, .1);
  }

  .endo-doctor-card img {
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
    object-position: center 24%;
    transform: scale(1.08);
    transform-origin: center 24%;
  }

  .endo-doctor-body {
    z-index: 2;
    min-height: 0;
    padding: 20px 8px 3px;
    border-top: 1px solid rgba(0, 141, 153, .14);
    background: #fff;
  }

  .endo-doctor-icon {
    top: -18px;
    width: 36px;
    height: 36px;
    font-size: 18px;
  }

  .endo-doctor-card h3 {
    margin-bottom: 3px;
    font-family: "Poppins", sans-serif;
    font-size: 12.5px;
    line-height: 1.18;
    font-weight: 700;
  }

  .endo-doctor-card strong {
    font-size: 10.5px;
    line-height: 1.2;
  }

  .endo-doctor-card .endo-coral-line {
    width: 20px;
    height: 2px;
    margin: 6px auto;
  }

  .endo-doctor-card p {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    gap: 3px;
    font-size: 9.5px;
    line-height: 1.3;
  }

  .endo-doctor-card p i {
    font-size: 13px;
  }

  .endo-recommend-item,
  .endo-recommend-item:nth-child(odd),
  .endo-recommend-item:nth-child(even) {
    min-height: 146px;
    padding: 14px 8px 12px;
    border: 1px solid rgba(0, 141, 153, .11);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(0, 60, 72, .08);
  }

  .endo-recommend-item:last-child {
    grid-column: 1 / -1;
    width: calc(50% - 5px);
    justify-self: center;
  }

  .endo-recommend-item > span {
    width: 82px;
    height: 78px;
    background: transparent;
  }

  .endo-recommend-item > span img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .endo-recommend-item .endo-coral-line {
    width: 22px;
    height: 2px;
    margin: 8px auto 6px;
  }

  .endo-recommend-item h3 {
    max-width: none;
    padding: 0 3px;
    font-family: "Poppins", sans-serif;
    font-size: 12px !important;
    line-height: 1.22;
    font-weight: 700;
  }

  .endo-prep-alert {
    position: relative;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "alert-icon"
      "alert-title"
      "alert-message"
      "alert-help";
    justify-items: center;
    gap: 8px;
    margin-top: 18px;
    padding: 16px;
    overflow: hidden;
    border: 1px solid rgba(0, 141, 153, .16);
    border-radius: 14px;
    background: linear-gradient(145deg, rgba(15, 200, 216, 0.08) 0%, #fff 48%, #effbfc 100%);
    box-shadow: 0 12px 30px rgba(0, 60, 72, .08);
  }

  .endo-prep-alert::before {
    content: "";
    position: absolute;
    top: 0;
    right: 16px;
    left: 16px;
    height: 3px;
    border-radius: 0 0 999px 999px;
    background: linear-gradient(90deg, #008D99, #008D99, #0FC8D8);
  }

  .endo-alert-icon {
    grid-area: alert-icon;
    width: 42px;
    height: 42px;
    border-width: 1px;
    font-size: 25px;
    box-shadow: 0 6px 14px rgba(0, 141, 153, .1);
  }

  .endo-prep-alert > strong {
    grid-area: alert-title;
    align-self: center;
    font-family: "Poppins", sans-serif;
    font-size: 17px;
    line-height: 1.2;
    text-align: center;
  }

  .endo-prep-alert > p {
    grid-area: alert-message;
    width: 100%;
    padding: 10px 12px;
    border: 1px solid rgba(0, 141, 153, .16);
    border-radius: 10px;
    background: rgba(255, 255, 255, .72);
    font-size: 12px;
    line-height: 1.5;
    text-align: center;
    font-weight: 600;
  }

  .endo-detection-band {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 24px;
    padding: 16px;
    text-align: center;
  }

  .endo-detection-band::before {
    right: 16px;
    left: 16px;
  }

  .endo-detection-band > i {
    width: 46px;
    height: 46px;
    margin: 0 auto;
    font-size: 23px;
  }
}

@media (max-width: 479.98px) {
  .endo-detection-band p {
    font-size: 14px;
  }

  .endo-prep-alert {
    padding: 14px;
  }

  .endo-prep-alert::before {
    right: 14px;
    left: 14px;
  }

  .endo-prep-alert > p {
    padding: 9px 10px;
    font-size: 11.5px;
  }

  .endo-doctor-card img {
    height: 100%;
  }
}

/* Tipografia de encabezados de Endoscopia en escritorio, basada en index.html. */
@media (min-width: 768px) {
  .endo-prep-copy h2 .endo-heading-kicker,
  .endo-specialists-head h2 .endo-heading-kicker,
  .endo-recommend-title h2 .endo-heading-kicker {
    display: block;
    margin-bottom: 6px;
    font-family: "Inter", sans-serif;
    font-size: 12px;
    line-height: 1.5;
    letter-spacing: .06em;
    text-transform: uppercase;
    font-weight: 800;
  }

  .endo-prep-copy h2 .endo-heading-title,
  .endo-specialists-head h2 .endo-heading-title,
  .endo-recommend-title h2 .endo-heading-title {
    display: block;
    font-family: "Poppins", sans-serif;
    font-size: 34px;
    line-height: 1.2;
    letter-spacing: normal;
    font-weight: 800;
  }

  .endo-prep-copy > p,
  .endo-heading-copy > p {
    font-family: "Inter", sans-serif;
    font-size: 14px;
    line-height: 1.5;
  }

  .endo-prep-alert {
    position: relative;
    grid-template-columns: 64px 126px minmax(0, 1fr);
    gap: 20px;
    padding: 22px 26px;
    overflow: hidden;
    border: 1px solid rgba(0, 141, 153, .36);
    border-radius: 14px;
    background: #fff;
    box-shadow:
      0 0 0 4px rgba(0, 141, 153, .05),
      0 16px 36px rgba(0, 60, 72, .12);
  }

  .endo-prep-alert::before {
    content: "";
    position: absolute;
    top: 0;
    right: 26px;
    left: 26px;
    height: 4px;
    border-radius: 0 0 999px 999px;
    background: linear-gradient(90deg, #008D99, #008D99, #0FC8D8);
  }

  .endo-alert-icon {
    width: 60px;
    height: 60px;
    border: 2px solid rgba(0, 141, 153, .3);
    background: rgba(15, 200, 216, 0.11);
    font-size: 36px;
    box-shadow: 0 8px 18px rgba(0, 141, 153, .13);
  }

  .endo-prep-alert > strong {
    font-family: "Poppins", sans-serif;
    font-size: 22px;
    line-height: 1.2;
    letter-spacing: -.02em;
  }

  .endo-prep-alert > p {
    width: 100%;
    padding: 15px 18px;
    border: 1px solid rgba(0, 141, 153, .2);
    border-left: 4px solid rgba(0, 141, 153, .76);
    border-radius: 10px;
    background: rgba(15, 200, 216, 0.08);
    font-family: "Inter", sans-serif;
    font-size: 15px;
    line-height: 1.55;
    font-weight: 700;
  }

  .endo-specialists-head {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    margin-bottom: 30px;
  }

  .endo-heading-copy {
    max-width: 760px;
    margin: 0 auto;
    padding-left: 0;
    text-align: center;
  }

  .endo-heading-icon {
    position: static;
    width: 56px;
    height: 56px;
    margin: 0 auto 14px;
    font-size: 29px;
  }

  .endo-heading-copy .endo-title-line {
    margin: 16px auto 14px;
  }

  .endo-heading-copy > p {
    max-width: 650px;
    margin-right: auto;
    margin-left: auto;
    text-align: center;
  }

  .endo-trust-card {
    position: relative;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    width: min(100%, 820px);
    margin: 0 auto;
    padding: 14px 20px;
    overflow: hidden;
    border: 1px solid rgba(0, 60, 72, .12);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(0, 60, 72, .07);
  }

  .endo-trust-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 112px;
    height: 3px;
    border-radius: 0 0 999px 999px;
    background: #008D99;
    transform: translateX(-50%);
  }

  .endo-trust-card > i {
    width: 48px;
    height: 48px;
    background: #f0f8f9;
    font-size: 25px;
  }

  .endo-trust-card p {
    margin: 0;
    padding-left: 16px;
    border-left: 1px solid rgba(0, 60, 72, .12);
    font-family: "Inter", sans-serif;
    font-size: 14px;
    line-height: 1.45;
    text-align: left;
    font-weight: 700;
  }

  .endo-trust-card br {
    display: none;
  }
}

/* Endoscopia utiliza todo el ancho disponible de sus contenedores externos. */
.endo-main .page-shell,
.endo-main .container-fluid.page-shell {
  --bs-gutter-x: 0;
  padding-right: 0 !important;
  padding-left: 0 !important;
}

/* El hero recupera el margen lateral de lectura solo en escritorio. */

@media (max-width: 767.98px) {
  .endo-main .container-fluid.page-shell {
    padding-right: 20px !important;
    padding-left: 20px !important;
  }
}

@media (max-width: 479.98px) {
  .endo-main .container-fluid.page-shell {
    padding-right: 15px !important;
    padding-left: 15px !important;
  }
}

/* Banner de Endoscopia: replica el formato panoramico de Gastro solo en desktop. */
.endo-hero-banner {
  display: none;
}

@media (min-width: 768px) {
  .endo-hero-banner {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: #f7fafc;
  }

  .endo-hero-banner__frame {
    position: relative;
    width: 100%;
    max-width: 100%;
    height: clamp(400px, 33.333vw, 724px);
    max-height: 724px;
    margin: 0 auto;
    overflow: hidden;
    background: #f7fafc;
    contain: paint;
  }

  .endo-hero-banner__image {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    object-fit: contain;
    object-position: center;
  }

  .endo-mobile-hero {
    display: none;
  }
}

/* ============================================================
   COLONOSCOPIA
   Usa los mismos componentes de Endoscopia; solo se ajustan las
   grillas a la cantidad de contenido propia de esta pagina.
   ============================================================ */
@media (min-width: 1200px) {
  .endo-main .endo-specialists-head > .endo-trust-card {
    justify-self: center;
    margin-right: auto;
    margin-left: auto;
  }

  .endo-main:not(.colon-main) .endo-recommend-item:last-child {
    border-right: 0;
  }

  .colon-main .colon-prep-grid:has(> .colon-prep-card:nth-child(7)) {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .colon-main .colon-prep-grid:has(> .colon-prep-card:nth-child(7)) > .colon-prep-card {
    flex: 0 0 calc((100% - 39px) / 4);
  }

}

@media (min-width: 768px) and (max-width: 1199.98px) {
  .colon-main .colon-prep-grid .colon-prep-card:last-child:nth-child(odd) {
    grid-column: 2;
  }
}

@media (max-width: 767.98px) {
  .colon-main .colon-prep-grid .colon-prep-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    width: calc(50% - 5px);
    justify-self: center;
  }
}

/* ============================================================
   ENDOSCOPIA — REFINAMIENTO VISUAL MEDISIS 2026
   Mantiene el contenido existente y aísla los cambios de esta página.
   ============================================================ */
.endo-main.endoscopia-page {
  --endo-coral: #008D99;
  --endo-orange: #0FC8D8;
  --endo-coral-dark: #008D99;
  --endo-ink: #003C48;
  --endo-warm: rgba(15, 200, 216, 0.08);
  --endo-peach: rgba(15, 200, 216, 0.15);
  color: var(--endo-ink);
  background: rgba(15, 200, 216, 0.08);
}

.endo-main.endoscopia-page .endo-about-section {
  position: relative;
  overflow: hidden;
  padding: clamp(64px, 7vw, 102px) 0;
  background:
    radial-gradient(circle at 7% 18%, rgba(0, 141, 153, .13), transparent 25%),
    radial-gradient(circle at 91% 88%, rgba(0, 141, 153, .10), transparent 25%),
    linear-gradient(135deg, rgba(15, 200, 216, 0.08) 0%, #fff 54%, rgba(15, 200, 216, 0.11) 100%);
}

.endo-main.endoscopia-page .endo-about-shell {
  display: grid;
  grid-template-columns: minmax(380px, .9fr) minmax(520px, 1.1fr);
  align-items: center;
  gap: clamp(48px, 6vw, 88px);
  max-width: 1420px;
  padding-right: 33.5px !important;
  padding-left: 33.5px !important;
}

.endo-main.endoscopia-page .endo-about-copy {
  position: relative;
  z-index: 2;
}

.endo-main.endoscopia-page .endo-about-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 36px;
  margin-bottom: 22px;
  padding: 8px 18px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--endo-coral), var(--endo-orange));
  box-shadow: 0 10px 22px rgba(0, 141, 153, .22);
  font-family: "Poppins", sans-serif;
  font-size: 12px;
  letter-spacing: .035em;
  text-transform: uppercase;
  font-weight: 800;
}

.endo-main.endoscopia-page .endo-about-kicker i {
  font-size: 16px;
}

.endo-main.endoscopia-page .endo-about-copy h2 {
  max-width: 580px;
  margin: 0;
  color: var(--endo-ink);
  font-family: "Poppins", sans-serif;
  font-size: clamp(34px, 5vw, 34px);
  line-height: .98;
  letter-spacing: -.06em;
  font-weight: 800;
}

.endo-main.endoscopia-page .endo-about-copy h2 span {
  display: block;
  color: var(--endo-coral);
}

.endo-main.endoscopia-page .endo-about-copy > .endo-title-line {
  width: 72px;
  margin: 24px 0 26px;
}

.endo-main.endoscopia-page .endo-about-copy > p {
  max-width: 600px;
  margin: 0 0 18px;
  color: #003C48;
  font-size: 15px;
  line-height: 1.72;
}

.endo-main.endoscopia-page .endo-about-benefits {
  display: grid;
  gap: 13px;
  margin: 26px 0 28px;
}

.endo-main.endoscopia-page .endo-about-benefit {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
}

.endo-main.endoscopia-page .endo-about-benefit > i {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(0, 141, 153, .17);
  border-radius: 50%;
  color: var(--endo-coral-dark);
  background: rgba(15, 200, 216, 0.11);
  font-size: 22px;
}

.endo-main.endoscopia-page .endo-about-benefit span {
  color: #003C48;
  font-size: 12px;
  line-height: 1.45;
}

.endo-main.endoscopia-page .endo-about-benefit strong {
  display: block;
  margin-bottom: 2px;
  color: var(--endo-ink);
  font-family: "Poppins", sans-serif;
  font-size: 14px;
}

.endo-main.endoscopia-page .endo-about-button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 23px;
  border-radius: 9px;
  color: #fff;
  background: linear-gradient(135deg, var(--endo-coral-dark), var(--endo-coral) 58%, var(--endo-orange));
  box-shadow: 0 12px 24px rgba(0, 141, 153, .24);
  font-family: "Poppins", sans-serif;
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 800;
  transition: transform .22s ease, box-shadow .22s ease;
}

.endo-main.endoscopia-page .endo-about-button:hover,
.endo-main.endoscopia-page .endo-about-button:focus {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(0, 141, 153, .3);
}

.endo-main.endoscopia-page .endo-about-visual {
  position: relative;
  min-width: 0;
  padding-bottom: 22px;
}

.endo-main.endoscopia-page .endo-about-image-wrap {
  position: relative;
  display: grid;
  min-height: 570px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(0, 141, 153, .15);
  border-radius: 28px;
  background:
    radial-gradient(circle at 72% 24%, rgba(255,255,255,.95), transparent 24%),
    radial-gradient(circle at 25% 80%, rgba(0, 141, 153, .14), transparent 31%),
    linear-gradient(145deg, rgba(15, 200, 216, 0.11) 0%, rgba(15, 200, 216, 0.15) 52%, rgba(15, 200, 216, 0.08) 100%);
  box-shadow: 0 26px 60px rgba(0, 60, 72, .13);
}

.endo-main.endoscopia-page .endo-about-image-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .38;
  background-image: radial-gradient(rgba(0, 141, 153, .38) 1.5px, transparent 1.5px);
  background-position: 88% 13%;
  background-size: 18px 18px;
  -webkit-mask-image: radial-gradient(circle at 88% 13%, #000, transparent 34%);
  mask-image: radial-gradient(circle at 88% 13%, #000, transparent 34%);
}

.endo-main.endoscopia-page .endo-about-image-wrap img {
  position: relative;
  z-index: 1;
  width: min(88%, 570px);
  height: 530px;
  object-fit: contain;
  filter: drop-shadow(0 22px 22px rgba(0, 60, 72, .15));
}

.endo-main.endoscopia-page .endo-about-callout {
  position: absolute;
  z-index: 3;
  right: 22px;
  bottom: 0;
  left: 22px;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: center;
  gap: 15px;
  padding: 16px 20px;
  border: 1px solid rgba(0, 141, 153, .14);
  border-radius: 17px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 17px 38px rgba(0, 60, 72, .13);
  backdrop-filter: blur(12px);
}

.endo-main.endoscopia-page .endo-about-callout > span {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--endo-coral), var(--endo-orange));
  font-size: 25px;
}

.endo-main.endoscopia-page .endo-about-callout p {
  margin: 0;
  color: #003C48;
  font-size: 12px;
  line-height: 1.45;
}

.endo-main.endoscopia-page .endo-about-callout strong {
  display: block;
  margin-bottom: 3px;
  color: var(--endo-ink);
  font-family: "Poppins", sans-serif;
  font-size: 15px;
}

@media (max-width: 991.98px) {
  .endo-main.endoscopia-page .endo-about-shell {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .endo-main.endoscopia-page .endo-about-copy {
    text-align: center;
  }

  .endo-main.endoscopia-page .endo-about-copy h2,
  .endo-main.endoscopia-page .endo-about-copy > p {
    margin-right: auto;
    margin-left: auto;
  }

  .endo-main.endoscopia-page .endo-about-copy > .endo-title-line {
    margin-right: auto;
    margin-left: auto;
  }

  .endo-main.endoscopia-page .endo-about-benefits {
    max-width: 620px;
    margin-right: auto;
    margin-left: auto;
    text-align: left;
  }

  .endo-main.endoscopia-page .endo-about-visual {
    width: min(100%, 720px);
    margin: 0 auto;
  }
}

@media (max-width: 767.98px) {
  .endo-main.endoscopia-page .endo-about-section {
    padding: 42px 0 54px;
  }

  .endo-main.endoscopia-page .endo-about-shell {
    gap: 34px;
    padding-right: 20px !important;
    padding-left: 20px !important;
  }

  .endo-main.endoscopia-page .endo-about-kicker {
    min-height: 32px;
    margin-bottom: 17px;
    padding: 7px 13px;
    font-size: 9px;
  }

  .endo-main.endoscopia-page .endo-about-copy h2 {
    font-size: clamp(35px, 11vw, 48px);
    line-height: 1.03;
  }

  .endo-main.endoscopia-page .endo-about-copy > .endo-title-line {
    margin-top: 18px;
    margin-bottom: 20px;
  }

  .endo-main.endoscopia-page .endo-about-copy > p {
    font-size: 13px;
    line-height: 1.62;
  }

  .endo-main.endoscopia-page .endo-about-benefit {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 11px;
  }

  .endo-main.endoscopia-page .endo-about-benefit > i {
    width: 42px;
    height: 42px;
    font-size: 19px;
  }

  .endo-main.endoscopia-page .endo-about-benefit strong {
    font-size: 12px;
  }

  .endo-main.endoscopia-page .endo-about-benefit span {
    font-size: 10.5px;
  }

  .endo-main.endoscopia-page .endo-about-button {
    min-height: 46px;
    font-size: 10px;
  }

  .endo-main.endoscopia-page .endo-about-visual {
    padding-bottom: 18px;
  }

  .endo-main.endoscopia-page .endo-about-image-wrap {
    min-height: 390px;
    border-radius: 21px;
  }

  .endo-main.endoscopia-page .endo-about-image-wrap img {
    width: 94%;
    height: 365px;
  }

  .endo-main.endoscopia-page .endo-about-callout {
    right: 10px;
    left: 10px;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 10px;
    padding: 12px;
    border-radius: 14px;
  }

  .endo-main.endoscopia-page .endo-about-callout > span {
    width: 42px;
    height: 42px;
    font-size: 20px;
  }

  .endo-main.endoscopia-page .endo-about-callout strong {
    font-size: 12px;
  }

  .endo-main.endoscopia-page .endo-about-callout p {
    font-size: 9.5px;
  }
}

@media (max-width: 479.98px) {
  .endo-main.endoscopia-page .endo-about-shell {
    padding-right: 15px !important;
    padding-left: 15px !important;
  }
}

.endo-main.endoscopia-page .endo-title-line,
.endo-main.endoscopia-page .endo-coral-line {
  background: linear-gradient(90deg, var(--endo-coral), var(--endo-orange));
}

.endo-main.endoscopia-page .endo-prep-section,
.endo-main.endoscopia-page .endo-recommend-section,
.endo-main.endoscopia-page .endo-specialists-section {
  position: relative;
  overflow: hidden;
}

.endo-main.endoscopia-page .endo-prep-section {
  padding: clamp(56px, 6vw, 88px) 0 clamp(62px, 7vw, 96px);
  background:
    radial-gradient(circle at 92% 8%, rgba(0, 141, 153, .13), transparent 26%),
    radial-gradient(circle at 5% 92%, rgba(0, 141, 153, .08), transparent 24%),
    linear-gradient(180deg, rgba(15, 200, 216, 0.08) 0%, #fff 72%);
}

.endo-main.endoscopia-page .endo-prep-hero {
  min-height: 0;
  overflow: visible;
  background: transparent;
}

.endo-main.endoscopia-page .endo-prep-hero::before {
  display: none;
}

.endo-main.endoscopia-page .endo-prep-copy {
  padding-top: 0;
}

.endo-main.endoscopia-page .endo-prep-copy h2,
.endo-main.endoscopia-page .endo-specialists-head h2,
.endo-main.endoscopia-page .endo-recommend-title h2 {
  color: var(--endo-ink);
  font-family: "Poppins", sans-serif;
  font-size: clamp(38px, 4vw, 56px);
  line-height: 1.06;
  letter-spacing: -.045em;
}

.endo-main.endoscopia-page .endo-prep-copy h2 .endo-heading-title,
.endo-main.endoscopia-page .endo-specialists-head h2 .endo-heading-title,
.endo-main.endoscopia-page .endo-recommend-title h2 .endo-heading-title {
  color: var(--endo-coral);
}

.endo-main.endoscopia-page .endo-prep-copy h2 .endo-heading-kicker,
.endo-main.endoscopia-page .endo-specialists-head h2 .endo-heading-kicker,
.endo-main.endoscopia-page .endo-recommend-title h2 .endo-heading-kicker {
  color: var(--endo-ink);
}

.endo-main.endoscopia-page .endo-prep-copy .endo-title-line {
  width: 72px;
  margin: 20px auto 18px;
}

.endo-main.endoscopia-page .endo-prep-copy p,
.endo-main.endoscopia-page .endo-heading-copy p {
  color: #003C48;
  font-size: 15px;
  line-height: 1.65;
}

.endo-main.endoscopia-page .endo-prep-gap {
  height: 0;
}

.endo-main.endoscopia-page .endo-prep-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  max-width: 1240px;
  margin: 36px auto 0;
}

.endo-main.endoscopia-page .endo-prep-card {
  min-height: 318px;
  padding: 26px 28px 30px;
  overflow: hidden;
  border: 1px solid rgba(0, 141, 153, .14);
  border-radius: 22px;
  background:
    radial-gradient(circle at 50% 17%, rgba(15, 200, 216, 0.10), transparent 31%),
    rgba(255,255,255,.97);
  box-shadow: 0 18px 42px rgba(0, 60, 72, .085);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.endo-main.endoscopia-page .endo-prep-card:hover,
.endo-main.endoscopia-page .endo-recommend-item:hover,
.endo-main.endoscopia-page .endo-doctor-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 141, 153, .34);
  box-shadow: 0 25px 54px rgba(0, 60, 72, .14);
}

.endo-main.endoscopia-page .endo-prep-card > strong {
  top: 18px;
  left: 18px;
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, var(--endo-coral), var(--endo-orange));
  box-shadow: 0 8px 18px rgba(0, 141, 153, .25);
}

.endo-main.endoscopia-page .endo-prep-card > span {
  width: 142px;
  height: 132px;
  margin: 0 auto 10px;
}

.endo-main.endoscopia-page .endo-prep-card h3 {
  min-height: 0;
  margin: 2px 0 10px;
  color: var(--endo-ink);
  font-family: "Poppins", sans-serif;
  font-size: 19px;
  line-height: 1.25;
}

.endo-main.endoscopia-page .endo-prep-card p {
  max-width: 310px;
  margin: 0 auto;
  color: #003C48;
  font-size: 13px;
  line-height: 1.55;
}

.endo-main.endoscopia-page .endo-prep-card::after {
  bottom: 20px;
  width: 42px;
  background: linear-gradient(90deg, var(--endo-coral), var(--endo-orange));
}

.endo-main.endoscopia-page .endo-prep-alert,
.endo-main.endoscopia-page .endo-detection-band {
  border: 1px solid rgba(0, 141, 153, .18);
  border-radius: 18px;
  background: linear-gradient(115deg, rgba(15, 200, 216, 0.11), rgba(15, 200, 216, 0.08) 58%, #fff);
  box-shadow: 0 14px 34px rgba(0, 60, 72, .07);
}

.endo-main.endoscopia-page .endo-prep-alert {
  max-width: 1040px;
  margin-top: 30px;
}

.endo-main.endoscopia-page .endo-alert-icon,
.endo-main.endoscopia-page .endo-heading-icon,
.endo-main.endoscopia-page .endo-doctor-icon {
  color: var(--endo-coral);
  background: rgba(15, 200, 216, 0.11);
  border-color: rgba(0, 141, 153, .23);
}

.endo-main.endoscopia-page .endo-prep-alert strong {
  color: var(--endo-coral-dark);
}

.endo-main.endoscopia-page .endo-recommend-section {
  background:
    radial-gradient(circle at 8% 10%, rgba(0, 141, 153, .08), transparent 23%),
    radial-gradient(circle at 94% 88%, rgba(0, 141, 153, .11), transparent 25%),
    #fff;
}

.endo-main.endoscopia-page .endo-recommend-title {
  margin-bottom: 38px;
}

.endo-main.endoscopia-page .endo-recommend-title .endo-title-line {
  width: 72px;
  margin-top: 18px;
}

.endo-main.endoscopia-page .endo-recommend-grid {
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 20px;
  max-width: 1420px;
  margin: 0 auto;
}

.endo-main.endoscopia-page .endo-recommend-item,
.endo-main.endoscopia-page .endo-recommend-item:nth-child(n+5) {
  grid-column: span 2;
  min-height: 302px;
  padding: 22px 20px 26px;
  border: 1px solid rgba(0, 141, 153, .14);
  border-radius: 22px;
  background:
    radial-gradient(circle at 50% 18%, rgba(15, 200, 216, 0.10), transparent 32%),
    rgba(255,255,255,.98);
  box-shadow: 0 18px 42px rgba(0, 60, 72, .08);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.endo-main.endoscopia-page .endo-recommend-item:nth-child(5) {
  grid-column: 2 / span 2;
}

.endo-main.endoscopia-page .endo-recommend-item:nth-child(6) {
  grid-column: 4 / span 2;
}

.endo-main.endoscopia-page .endo-recommend-item:nth-child(7) {
  grid-column: 6 / span 2;
}

.endo-main.endoscopia-page .endo-recommend-item:not(:nth-child(4n)),
.endo-main.endoscopia-page .endo-recommend-item:nth-child(n+5) {
  border-top: 1px solid rgba(0, 141, 153, .14);
  border-right: 1px solid rgba(0, 141, 153, .14);
}

.endo-main.endoscopia-page .endo-recommend-item > span {
  width: 174px;
  height: 164px;
}

.endo-main.endoscopia-page .endo-recommend-item .endo-coral-line {
  width: 38px;
  margin: 8px auto 12px;
}

.endo-main.endoscopia-page .endo-recommend-item h3 {
  max-width: 260px;
  color: var(--endo-ink);
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  line-height: 1.45;
}

.endo-main.endoscopia-page .endo-detection-band {
  max-width: 980px;
  margin-top: 36px;
  background: linear-gradient(115deg, rgba(15, 200, 216, 0.11), rgba(15, 200, 216, 0.08) 60%, #fff);
}

.endo-main.endoscopia-page .endo-detection-band::before {
  background: linear-gradient(90deg, var(--endo-coral), var(--endo-orange));
}

.endo-main.endoscopia-page .endo-detection-band > i {
  color: var(--endo-coral-dark);
  border-color: rgba(0, 141, 153, .18);
  background: #fff;
}

.endo-main.endoscopia-page .endo-specialists-section {
  padding: clamp(64px, 7vw, 96px) 0;
  background:
    radial-gradient(circle at 96% 8%, rgba(0, 141, 153, .12), transparent 25%),
    linear-gradient(180deg, rgba(15, 200, 216, 0.08) 0%, #fff 100%);
}

.endo-main.endoscopia-page .endo-specialists-head {
  margin-bottom: 34px;
}

.endo-main.endoscopia-page .endo-trust-card {
  padding: 22px 26px;
  border: 1px solid rgba(0, 141, 153, .16);
  border-radius: 18px;
  background: rgba(255,255,255,.74);
  box-shadow: 0 14px 34px rgba(0, 60, 72, .06);
}

.endo-main.endoscopia-page .endo-trust-card > i {
  color: var(--endo-coral);
  background: rgba(15, 200, 216, 0.11);
}

.endo-main.endoscopia-page .endo-trust-card p {
  border-left-color: #0FC8D8;
}

.endo-main.endoscopia-page .endo-trust-card span,
.endo-main.endoscopia-page .endo-doctor-card strong,
.endo-main.endoscopia-page .endo-doctor-card p i {
  color: var(--endo-coral-dark);
}

.endo-main.endoscopia-page .endo-doctor-card {
  border: 1px solid rgba(0, 141, 153, .16);
  border-radius: 20px;
  box-shadow: 0 18px 42px rgba(0, 60, 72, .09);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.endo-main.endoscopia-page .endo-doctor-card img {
  background: linear-gradient(180deg, rgba(15, 200, 216, 0.11), rgba(15, 200, 216, 0.08));
}

.endo-main.endoscopia-page .endo-doctor-body {
  background: #fff;
}

.endo-main.endoscopia-page .cta-band {
  background: linear-gradient(135deg, #0FC8D8 0%, #008D99 52%, #008D99 100%);
}

.endo-main.endoscopia-page .cta-band::before {
  opacity: .25;
  background:
    radial-gradient(circle at 85% 20%, rgba(255,255,255,.35) 0 2px, transparent 3px) 0 0 / 22px 22px,
    linear-gradient(90deg, rgba(0, 60, 72, .22), transparent 58%);
}

.endo-main.endoscopia-page .cta-icon {
  color: var(--endo-coral-dark);
}

.endo-main.endoscopia-page .btn-white-outline:hover,
.endo-main.endoscopia-page .btn-white-outline:focus {
  color: var(--endo-coral-dark);
}

@media (max-width: 1199.98px) {
  .endo-main.endoscopia-page .endo-prep-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .endo-main.endoscopia-page .endo-recommend-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 900px;
  }

  .endo-main.endoscopia-page .endo-recommend-item,
  .endo-main.endoscopia-page .endo-recommend-item:nth-child(5),
  .endo-main.endoscopia-page .endo-recommend-item:nth-child(6),
  .endo-main.endoscopia-page .endo-recommend-item:nth-child(7) {
    grid-column: auto;
  }

  .endo-main.endoscopia-page .endo-recommend-item:last-child {
    grid-column: 1 / -1;
    width: calc(50% - 10px);
    justify-self: center;
  }
}

@media (max-width: 767.98px) {
  .endo-main.endoscopia-page .endo-prep-section,
  .endo-main.endoscopia-page .endo-recommend-section,
  .endo-main.endoscopia-page .endo-specialists-section {
    padding: 38px 0 46px;
  }

  .endo-main.endoscopia-page .endo-prep-copy {
    padding: 0 4px 10px;
  }

  .endo-main.endoscopia-page .endo-prep-copy h2,
  .endo-main.endoscopia-page .endo-specialists-head h2,
  .endo-main.endoscopia-page .endo-recommend-title h2,
  .endo-main.endoscopia-page .endo-prep-copy h2 .endo-heading-title,
  .endo-main.endoscopia-page .endo-specialists-head h2 .endo-heading-title,
  .endo-main.endoscopia-page .endo-recommend-title h2 .endo-heading-title {
    font-size: clamp(29px, 9vw, 36px);
    line-height: 1.12;
  }

  .endo-main.endoscopia-page .endo-prep-grid,
  .endo-main.endoscopia-page .endo-recommend-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 24px;
  }

  .endo-main.endoscopia-page .endo-prep-card {
    min-height: 238px;
    padding: 15px 10px 20px;
    border-radius: 17px;
  }

  .endo-main.endoscopia-page .endo-prep-card > strong {
    top: 10px;
    left: 10px;
    width: 25px;
    height: 25px;
    font-size: 11px;
  }

  .endo-main.endoscopia-page .endo-prep-card > span {
    width: 94px;
    height: 88px;
    margin-bottom: 5px;
  }

  .endo-main.endoscopia-page .endo-prep-card h3 {
    min-height: 32px;
    margin-bottom: 7px;
    font-size: 13px;
  }

  .endo-main.endoscopia-page .endo-prep-card p {
    font-size: 10.5px;
    line-height: 1.4;
  }

  .endo-main.endoscopia-page .endo-prep-card::after {
    bottom: 10px;
  }

  .endo-main.endoscopia-page .endo-prep-alert {
    gap: 8px;
    padding: 16px 14px;
  }

  .endo-main.endoscopia-page .endo-recommend-title {
    margin-bottom: 14px;
  }

  .endo-main.endoscopia-page .endo-recommend-item,
  .endo-main.endoscopia-page .endo-recommend-item:nth-child(odd),
  .endo-main.endoscopia-page .endo-recommend-item:nth-child(even) {
    min-height: 190px;
    padding: 13px 8px 16px;
    border: 1px solid rgba(0, 141, 153, .14);
    border-radius: 17px;
  }

  .endo-main.endoscopia-page .endo-recommend-item > span {
    width: 104px;
    height: 98px;
  }

  .endo-main.endoscopia-page .endo-recommend-item h3 {
    font-size: 11.5px !important;
    line-height: 1.35;
  }

  .endo-main.endoscopia-page .endo-recommend-item:last-child {
    width: calc(50% - 6px);
  }

  .endo-main.endoscopia-page .endo-detection-band {
    margin-top: 24px;
  }

  .endo-main.endoscopia-page .endo-trust-card {
    border-color: rgba(0, 141, 153, .16);
    background: linear-gradient(145deg, rgba(15, 200, 216, 0.11), rgba(15, 200, 216, 0.08));
  }

  .endo-main.endoscopia-page .endo-doctor-card {
    border-color: rgba(0, 141, 153, .22);
    border-radius: 16px;
    box-shadow: 0 14px 32px rgba(0, 60, 72, .1);
  }

  .endo-main.endoscopia-page .cta-band {
    padding: 24px 0;
  }
}

/* Encabezados principales unificados con “¿Qué es una endoscopia?”. */
.endo-main.endoscopia-page .endo-about-copy > h2,
.endo-main.endoscopia-page .endo-prep-copy > h2,
.endo-main.endoscopia-page .endo-recommend-title > h2 {
  max-width: 580px;
  margin: 0;
  color: var(--endo-ink);
  font-family: "Poppins", sans-serif;
  font-size: 34px;
  line-height: .98;
  letter-spacing: -.06em;
  text-transform: none;
  font-weight: 800;
}

.endo-main.endoscopia-page .endo-prep-copy > h2,
.endo-main.endoscopia-page .endo-recommend-title > h2 {
  margin-right: auto;
  margin-left: auto;
}

.endo-main.endoscopia-page .endo-about-copy > h2 > span,
.endo-main.endoscopia-page .endo-prep-copy > h2 > span,
.endo-main.endoscopia-page .endo-recommend-title > h2 > span {
  display: block;
  color: var(--endo-coral);
  font: inherit;
}

@media (max-width: 767.98px) {
  .endo-main.endoscopia-page .endo-about-copy > h2,
  .endo-main.endoscopia-page .endo-prep-copy > h2,
  .endo-main.endoscopia-page .endo-recommend-title > h2 {
    font-size: clamp(35px, 11vw, 48px);
    line-height: 1.03;
  }
}
