/*
 * Ajustes responsive verificados en 320, 390, 768, 1024 y 1440 px.
 * Se carga al final para unificar plantillas antiguas y módulos ACF.
 */
html,
body {
  max-width: 100%;
  overflow-x: clip;
}

/* Footer institucional compartido: réplica funcional del diseño aprobado. */
.drjam-footer.drjam-footer-complete {
  padding: 26px 0 !important;
  border: 1px solid #cbdde7 !important;
  background: #fff !important;
  color: #123b6c;
  overflow: visible !important;
}

.drjam-footer-complete .drjam-footer-inner {
  width: min(calc(100% - 48px), 1340px) !important;
  max-width: 1340px !important;
  margin: 0 auto !important;
  padding: 28px 34px !important;
  display: grid !important;
  grid-template-columns: minmax(250px, .9fr) minmax(340px, 1.12fr) minmax(290px, .96fr) !important;
  align-items: stretch !important;
  gap: 32px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #fff !important;
  box-shadow: none !important;
}

.drjam-footer-complete *,
.drjam-footer-complete *::before,
.drjam-footer-complete *::after {
  box-sizing: border-box;
}

.drjam-footer-complete h2,
.drjam-footer-complete p,
.drjam-footer-complete blockquote,
.drjam-footer-complete ul {
  margin-top: 0;
}

.drjam-footer-complete h2 {
  margin-bottom: 8px;
  color: #0d3b73;
  font-family: "Poppins", Arial, sans-serif;
  font-size: clamp(20px, 1.45vw, 27px);
  font-weight: 800;
  line-height: 1.12;
  text-transform: uppercase;
}

.drjam-footer-complete .brand {
  display: flex;
  justify-content: center;
  margin: 0 auto 14px;
}

.drjam-footer-complete .brand img {
  width: auto !important;
  max-width: 265px !important;
  max-height: 136px !important;
  object-fit: contain;
}

.drjam-footer-identity blockquote {
  max-width: 300px;
  margin: 20px auto;
  color: #123b6c;
  font-family: "Lora", Georgia, serif;
  font-size: 21px;
  font-weight: 600;
  line-height: 1.42;
  text-align: center;
}

.drjam-footer-divider,
.drjam-footer-heading-rule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: #149cb8;
}

.drjam-footer-divider::before,
.drjam-footer-divider::after,
.drjam-footer-heading-rule::before,
.drjam-footer-heading-rule::after {
  content: "";
  width: 38%;
  height: 2px;
  background: #68b9c5;
}

.drjam-footer-divider i,
.drjam-footer-heading-rule i {
  font-size: 13px;
}

.drjam-footer-contact-list,
.drjam-footer-services ul {
  padding: 0;
  margin-bottom: 0;
  list-style: none;
}

.drjam-footer-contact-list {
  display: grid;
  gap: 9px;
  margin-top: 20px;
}

.drjam-footer-contact-list li {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: #173c69;
  font-size: 16px;
  line-height: 1.38;
}

.drjam-footer-contact-list li>i,
.drjam-footer-services li a>i,
.drjam-footer-info-title>span {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #edf8fa;
  color: #1299b4;
  font-size: 21px;
}

.drjam-footer-contact-list li span {
  min-width: 0;
}

.drjam-footer-contact-list li span a {
  display: block;
}

.drjam-footer-contact-list a,
.drjam-footer-phone-lines a {
  color: #173c69 !important;
  overflow-wrap: anywhere;
}

.drjam-footer-socials {
  display: flex !important;
  justify-content: center;
  gap: 14px;
  margin-top: 22px;
}

.drjam-footer-socials a,
.drjam-footer-socials span {
  width: 42px;
  height: 42px;
  position: relative;
  isolation: isolate;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #119bb2;
  color: #fff !important;
  font-size: 21px;
  box-shadow: 0 5px 14px rgba(17, 155, 178, .18);
  transition: transform .28s ease, background .28s ease, box-shadow .28s ease;
}

.drjam-footer-socials a::after,
.drjam-footer-socials span::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -5px;
  border: 2px solid rgba(17, 155, 178, .34);
  border-radius: inherit;
  opacity: 0;
  transform: scale(.72);
  transition: opacity .28s ease, transform .28s ease;
}

.drjam-footer-socials .drjam-tiktok-icon {
  width: 21px;
  height: 21px;
  display: block;
  fill: currentColor;
}

@media (hover: hover) {

  .drjam-footer-socials a:hover,
  .drjam-footer-socials span:hover {
    background: linear-gradient(135deg, #0e467f 0%, #10aec2 100%);
    box-shadow: 0 10px 24px rgba(14, 70, 127, .28);
    transform: translateY(-5px) scale(1.08);
  }

  .drjam-footer-socials a:hover::after,
  .drjam-footer-socials span:hover::after {
    opacity: 1;
    transform: scale(1);
  }
}

.drjam-footer-socials a:focus-visible {
  outline: 3px solid rgba(17, 155, 178, .3);
  outline-offset: 5px;
  background: linear-gradient(135deg, #0e467f 0%, #10aec2 100%);
  transform: translateY(-3px);
}

@media (prefers-reduced-motion: reduce) {

  .drjam-footer-socials a,
  .drjam-footer-socials span,
  .drjam-footer-socials a::after,
  .drjam-footer-socials span::after {
    transition: none;
  }
}

.drjam-footer-services {
  padding: 24px 28px;
  border-radius: 14px;
  background: #f3f8fb;
}

.drjam-footer-section-icon {
  margin-bottom: 6px;
  color: #139db5;
  font-size: 28px;
  text-align: center;
}

.drjam-footer-services>h2 {
  margin-bottom: 10px;
  text-align: center;
}

.drjam-footer-heading-rule {
  margin-bottom: 14px;
}

.drjam-footer-heading-rule::before,
.drjam-footer-heading-rule::after {
  width: 68px;
}

.drjam-footer-heading-rule.compact {
  margin: 13px 0 0;
}

.drjam-footer-services li {
  border-bottom: 1px dotted #c9dce4;
}

.drjam-footer-services li a {
  min-height: 48px;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: center;
  gap: 13px;
  color: #173c69 !important;
  font-size: 16px;
  line-height: 1.25;
}

.drjam-footer-services-note {
  margin: 16px 0 0;
  padding-top: 14px;
  border-top: 2px solid #74bbc6;
  color: #188b9f;
  font-family: "Lora", Georgia, serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
}

.drjam-footer-information {
  display: flex;
  flex-direction: column;
  gap: 26px;
  padding: 8px 0 0;
}

.drjam-footer-information article {
  margin: 0;
}

.drjam-footer-info-title {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
}

.drjam-footer-info-title h2 {
  margin-bottom: 10px;
}

.drjam-footer-info-title>span {
  width: 54px;
  height: 54px;
  font-size: 25px;
}

.drjam-footer-info-title .drjam-footer-heading-rule {
  justify-content: flex-start;
  margin-bottom: 0;
}

.drjam-footer-info-title .drjam-footer-heading-rule::before,
.drjam-footer-info-title .drjam-footer-heading-rule::after {
  width: min(33%, 62px);
}

.drjam-footer-information article>p {
  margin: 12px 0 0;
  color: #17345c;
  font-size: 15px;
  line-height: 1.52;
}

.drjam-footer-phone-lines {
  display: grid;
  gap: 4px;
  padding-left: 68px;
  font-size: 18px !important;
}

.drjam-footer-promise {
  margin-top: auto;
  padding: 15px 18px;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  border-radius: 10px;
  background: #113f85;
  color: #fff;
}

.drjam-footer-promise>i {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
  border-radius: 50%;
  font-size: 25px;
}

.drjam-footer-promise p {
  margin: 0;
  color: #fff;
  font-family: "Lora", Georgia, serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
}

/* El perfil del doctor incluía otro pie interno; conservamos solo el global. */
.doctor-page>.doctor-footer {
  display: none !important;
}

/* Sin efectos hover, movimiento, sombras o cambios cromáticos. */
.drjam-footer-complete a,
.drjam-footer-complete a:hover,
.drjam-footer-complete a:focus,
.drjam-footer-complete a:active {
  transform: none !important;
  translate: none !important;
  scale: 1 !important;
  filter: none !important;
  opacity: 1 !important;
  box-shadow: none !important;
  text-decoration: none !important;
  transition: none !important;
}

.drjam-footer-complete a:hover,
.drjam-footer-complete a:focus,
.drjam-footer-complete a:active {
  background-color: inherit !important;
}

@media (max-width: 1023px) {
  .drjam-footer-complete .drjam-footer-inner {
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr) !important;
    gap: 28px !important;
  }

  .drjam-footer-information {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    padding-top: 4px;
  }

  .drjam-footer-promise {
    grid-column: 1 / -1;
  }

  .drjam-footer-phone-lines {
    padding-left: 0;
  }
}

@media (max-width: 767px) {
  .drjam-footer.drjam-footer-complete {
    padding: 14px 0 !important;
  }

  .drjam-footer-complete .drjam-footer-inner {
    width: calc(100% - 24px) !important;
    padding: 22px 18px !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 24px !important;
  }

  .drjam-footer-complete .brand img {
    max-width: 230px !important;
    max-height: 135px !important;
  }

  .drjam-footer-services {
    padding: 22px 18px;
  }

  .drjam-footer-information {
    grid-column: auto;
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .drjam-footer-contact-list li {
    grid-template-columns: 44px minmax(0, 1fr);
    text-align: left;
  }

  .drjam-footer-promise {
    grid-column: auto;
  }
}

@media (max-width: 479px) {
  .drjam-footer-complete .drjam-footer-inner {
    width: calc(100% - 16px) !important;
    padding: 18px 12px !important;
  }

  .drjam-footer-complete h2 {
    font-size: 20px;
  }

  .drjam-footer-identity blockquote {
    font-size: 18px;
  }

  .drjam-footer-services li a {
    font-size: 15px;
  }

  .drjam-footer-info-title {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 10px;
  }

  .drjam-footer-info-title>span {
    width: 48px;
    height: 48px;
  }
}

/* Encabezado visible durante todo el recorrido de la página. */
.site-header {
  position: sticky !important;
  top: 0;
  z-index: 10000;
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 8px 24px rgba(13, 59, 115, .08);
  backdrop-filter: saturate(135%) blur(10px);
  -webkit-backdrop-filter: saturate(135%) blur(10px);
}

body.admin-bar .site-header {
  top: 32px;
}

@media (min-width: 1024px) {
  .fiv-sticky-doctor {
    top: 160px !important;
  }
}

@media (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }
}

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

.drjam-carousel-controls button,
.drjam-testimonials-carousel [data-carousel-prev],
.drjam-testimonials-carousel [data-carousel-next] {
  width: 44px;
  min-width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 0;
  display: inline-grid;
  place-items: center;
}

/* Móviles pequeños y smartphones modernos. */
@media (max-width: 479px) {

  .wrap,
  .header-inner,
  .drjam-footer-inner {
    width: min(100% - 20px, 440px);
  }

  .site-header {
    padding: 6px 0 10px !important;
  }

  .header-inner {
    gap: 7px !important;
    padding-top: 6px !important;
    padding-bottom: 6px !important;
  }

  .site-header .brand {
    margin: 0;
    padding: 0;
    line-height: 0;
  }

  .site-header .brand img {
    width: min(150px, 48vw) !important;
    height: auto !important;
    max-height: 82px !important;
    display: block;
    object-fit: contain;
  }

  .header-cta {
    min-height: 44px !important;
    height: 44px !important;
    font-size: 13px;
  }

  .main-nav {
    gap: 6px !important;
    margin-top: 4px !important;
  }

  .nav-link {
    min-height: 44px !important;
    height: 44px !important;
    padding: 0 10px;
    font-size: 11.5px;
  }

  .fiv-breadcrumb {
    margin-top: 14px;
    margin-bottom: 10px;
  }

  .fiv-breadcrumb>span {
    max-width: 100%;
    padding: 8px 12px;
    white-space: normal;
    line-height: 1.25;
  }

  .hero-copy h1,
  .fiv-hero h1,
  .icsi-hero h1,
  .ia-hero h1,
  .ovo-hero h1,
  .doctor-hero h1,
  .contact-form-card h1,
  .drjam-module-hero h1 {
    font-size: clamp(30px, 10.5vw, 42px);
    line-height: 1.02;
  }

  .fiv-btn,
  .btn-accent,
  .mega-cta,
  .contact-actions .fiv-btn {
    max-width: 100%;
    min-height: 44px;
    white-space: normal;
    text-align: center;
  }

  .fiv-hero,
  .icsi-hero,
  .ia-hero,
  .ovo-hero,
  .doctor-hero,
  .contact-hero,
  .drjam-module-hero {
    padding-left: 18px;
    padding-right: 18px;
  }

  .chart-bars,
  .ia-success-chart>div,
  .ovo-chart,
  .drjam-admin-chart {
    max-width: 100%;
  }

  .drjam-testimonials-heading {
    align-items: center;
  }

  .drjam-carousel-controls {
    gap: 8px;
    flex: 0 0 auto;
  }
}

/* En 320-380 px se conserva una sola columna de navegación, pero compacta. */
@media (max-width: 380px) {
  .main-nav {
    grid-template-columns: 1fr !important;
  }

  .site-header .brand img {
    width: 138px !important;
    max-height: 72px !important;
  }
}

/* Tabletas verticales: tarjetas a dos columnas, composiciones principales a una. */
@media (min-width: 768px) and (max-width: 1023px) {

  .wrap,
  .header-inner,
  .drjam-footer-inner {
    width: min(100% - 40px, 940px);
  }

  .fiv-main-layout,
  .fiv-page .fiv-main-layout,
  .icsi-page .fiv-main-layout,
  .ia-page .fiv-main-layout,
  .ovo-page .fiv-main-layout,
  .ropa-page .fiv-main-layout {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .treatment-grid,
  .fiv-choice-grid,
  .drjam-module-steps,
  .drjam-module-videos,
  .team-grid,
  .allies-grid,
  .contact-trust-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .fiv-choice-grid>.wide,
  .contact-trust-strip> :last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

  .fiv-sticky-doctor {
    position: static !important;
    width: min(100%, 460px) !important;
    margin: 30px auto 0;
  }
}

/* Laptops: recupera dos columnas justo desde 1024 px. */
@media (min-width: 1024px) and (max-width: 1279px) {

  .wrap,
  .header-inner,
  .drjam-footer-inner {
    width: min(100% - 48px, 1180px);
  }

  .fiv-main-layout,
  .fiv-page .fiv-main-layout,
  .icsi-page .fiv-main-layout,
  .ia-page .fiv-main-layout,
  .ovo-page .fiv-main-layout,
  .ropa-page .fiv-main-layout {
    grid-template-columns: minmax(0, 1fr) 300px !important;
    gap: 28px !important;
    align-items: start;
  }

  .fiv-sticky-doctor {
    position: sticky !important;
    top: 160px !important;
    width: 300px;
  }

  .fiv-hero,
  .icsi-hero,
  .ia-hero,
  .ovo-hero {
    gap: 34px;
    padding-left: 40px;
    padding-right: 40px;
  }
}

/* Escritorios amplios: limita la línea de lectura sin desaprovechar pantalla. */
@media (min-width: 1280px) {

  .wrap,
  .header-inner,
  .drjam-footer-inner {
    width: min(calc(100% - 64px), 1440px);
  }
}

/*
 * FIV con estudio genético:
 * calibrado para 1280, 1536, 1745 y 1920 px.
 */
.genetic-page .fiv-main-column {
  gap: clamp(54px, 4vw, 72px);
}

.genetic-page .genetic-hero>img {
  /* content: url("../images/single-img-eight.jpg"); */
  object-position: center;
}

.genetic-page .fiv-choice-copy p,
.genetic-page .fiv-choice-badge {
  text-align: left;
}

.fiv-page .fiv-video-copy p,
.fiv-page .ovo-process-list p,
.fiv-page .ia-process-list p,
.fiv-page .drjam-testimonial-slide p {
  text-align: left;
}

@media (min-width: 1024px) and (max-width: 1439px) {
  .genetic-page .fiv-main-layout {
    grid-template-columns: minmax(0, 1fr) 300px !important;
    gap: 28px !important;
  }

  .genetic-page .fiv-sticky-doctor {
    width: 300px !important;
  }

  .genetic-page .fiv-choice-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .genetic-page .fiv-choice-grid article,
  .genetic-page .fiv-choice-grid article.wide {
    grid-column: auto;
    grid-template-columns: 96px minmax(0, 1fr);
    min-height: 0;
    gap: 22px;
    padding: 26px 28px;
    align-items: center;
  }

  .genetic-page .fiv-choice-icon {
    width: 92px;
    height: 92px;
    font-size: 45px;
  }

  .genetic-page .fiv-choice-copy h3 {
    font-size: 28px;
  }

  .genetic-page .fiv-choice-badge {
    width: fit-content;
    max-width: 100%;
    border-radius: 18px;
  }

  .genetic-page .genetic-process .ovo-process-list article {
    grid-template-columns: 52px minmax(0, 1fr) 220px;
  }

  .genetic-page .genetic-benefits-head {
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 28px;
  }
}

@media (min-width: 1440px) {
  .genetic-page .fiv-main-layout {
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 40px;
  }

  .genetic-page .fiv-sticky-doctor {
    width: 320px;
  }

  .genetic-page .fiv-choice-grid article {
    grid-template-columns: 104px minmax(0, 1fr);
    min-height: 340px;
    gap: 20px;
    padding: 26px;
  }

  .genetic-page .fiv-choice-grid article.wide {
    min-height: 170px;
  }

  .genetic-page .fiv-choice-icon {
    width: 96px;
    height: 96px;
    font-size: 48px;
  }

  .genetic-page .fiv-choice-copy h3 {
    font-size: 28px;
  }
}

/*
 * Sistema común para páginas de tratamientos en escritorio y zoom alto.
 * La tarjeta del doctor comparte únicamente el bloque informativo inicial.
 * Después de Videos relacionados, testimonios, FAQ y ubicación usan 12 columnas.
 */
@media (min-width: 1024px) {
  .fiv-page .fiv-main-layout {
    display: grid !important;
    align-items: start !important;
    row-gap: clamp(54px, 4vw, 72px) !important;
  }

  .fiv-page .fiv-main-column {
    display: flex !important;
    flex-direction: column !important;
    grid-column: 1 !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  .fiv-page .fiv-main-column>* {
    grid-column: auto !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  .fiv-page .fiv-sticky-doctor {
    grid-column: 2 !important;
    grid-row: 1 !important;
    position: sticky !important;
    top: 160px !important;
    align-self: start !important;
  }

  /*
   * En Método ROPA la tarjeta acompaña las cuatro secciones informativas
   * iniciales y finaliza junto al bloque "Tu viaje hacia la maternidad".
   * La sección de ubicación comienza después, nuevamente a ancho completo.
   */
  .ropa-page .ropa-doctor-range {
    grid-column: 2;
    grid-row: 1 / span 4;
    align-self: stretch;
    min-width: 0;
  }

  .ropa-page .ropa-doctor-range .fiv-sticky-doctor {
    grid-column: auto;
    grid-row: auto;
    width: 100% !important;
  }

  .fiv-page .fiv-choice-copy p,
  .fiv-page .fiv-choice-badge {
    text-align: left;
  }

  /*
   * WordPress puede extraer el <main> del contenido administrable y dejar
   * .ropa-page como un hermano del layout. La clase de plantilla del body es
   * estable y permite que el soporte tenga altura para el recorrido sticky.
   */
  body.page-template-page-metodo-ropa .ropa-doctor-range {
    align-self: stretch !important;
    min-height: 100%;
    height: auto !important;
    overflow: visible !important;
  }

  body.page-template-page-metodo-ropa .ropa-doctor-range>.fiv-sticky-doctor {
    position: sticky !important;
    top: 160px !important;
    align-self: flex-start !important;
  }
}

@media (max-width: 1023px) {
  .ropa-page .ropa-doctor-range {
    width: 100%;
  }
}

@media (min-width: 1024px) and (max-width: 1439px) {

  .fiv-page .fiv-main-layout,
  .ia-page .fiv-main-layout,
  .icsi-page .fiv-main-layout,
  .ovo-page .fiv-main-layout,
  .ropa-page .fiv-main-layout {
    grid-template-columns: minmax(0, 1fr) 300px !important;
    column-gap: 28px !important;
  }

  .fiv-page .fiv-sticky-doctor {
    position: sticky !important;
    top: 160px !important;
    width: 300px !important;
  }

  .fiv-page .fiv-choice-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .fiv-page .fiv-choice-grid article,
  .fiv-page .fiv-choice-grid article.wide {
    grid-column: auto;
    grid-template-columns: 96px minmax(0, 1fr);
    min-height: 0;
    gap: 22px;
    padding: 26px 28px;
    align-items: center;
  }

  .fiv-page .fiv-choice-icon {
    width: 92px;
    height: 92px;
    font-size: 45px;
  }

  .fiv-page .fiv-choice-copy h3 {
    font-size: 28px;
  }

  .fiv-page .fiv-choice-badge {
    width: fit-content;
    max-width: 100%;
    border-radius: 18px;
  }

  .fiv-page .ovo-process-list article,
  .fiv-page .ia-process-list article {
    grid-template-columns: 52px minmax(0, 1fr) 220px;
  }

  .fiv-page .genetic-benefits-head {
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 28px;
  }
}

@media (min-width: 1440px) {

  .fiv-page .fiv-main-layout,
  .ia-page .fiv-main-layout,
  .icsi-page .fiv-main-layout,
  .ovo-page .fiv-main-layout,
  .ropa-page .fiv-main-layout {
    grid-template-columns: minmax(0, 1fr) 320px !important;
    column-gap: 40px !important;
  }

  .fiv-page .fiv-sticky-doctor {
    width: 320px !important;
  }

  .fiv-page .fiv-choice-grid article {
    grid-template-columns: 104px minmax(0, 1fr);
    min-height: 340px;
    gap: 20px;
    padding: 26px;
  }

  .fiv-page .fiv-choice-grid article.wide {
    min-height: 170px;
  }

  .fiv-page .fiv-choice-icon {
    width: 96px;
    height: 96px;
    font-size: 48px;
  }

  .fiv-page .fiv-choice-copy h3 {
    font-size: 28px;
  }
}

/*
 * Inseminación artificial.
 * La introducción necesita más ancho que otras secciones: en pantallas de
 * escritorio compactas se apila para mantener líneas cómodas y legibles.
 */
.ia-page .ia-what-copy article p,
.ia-page .ia-candidates li span,
.ia-page .ia-soft-cta p {
  text-align: left;
}

/*
 * El título introductorio ocupa las dos columnas. De este modo la frase no
 * queda comprimida junto a la fotografía en pantallas de escritorio.
 */
.ia-page .ia-what>h2,
.ia-page .ia-what>.fiv-line {
  grid-column: 1 / -1;
}

.ia-page .ia-what>h2 {
  max-width: none;
  font-size: clamp(42px, 4.2vw, 64px);
  line-height: 1;
  overflow-wrap: normal;
  word-break: normal;
  text-wrap: balance;
}

.ia-page .ia-what>.fiv-line {
  margin-top: -22px;
  margin-bottom: 0;
}

@media (min-width: 1180px) {
  .ia-page .ia-what>h2 {
    white-space: nowrap;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .ia-page .ia-soft-cta {
    grid-template-columns: minmax(0, 1fr) 200px;
    gap: 24px;
    padding: 38px 32px;
    overflow: hidden;
  }

  .ia-page .ia-soft-cta h2 {
    font-size: 42px;
    line-height: 1.03;
    overflow-wrap: normal;
    word-break: normal;
  }

  .ia-page .ia-soft-cta .fiv-btn {
    width: fit-content;
    max-width: 100%;
  }
}

@media (min-width: 1024px) and (max-width: 1439px) {
  .ia-page .ia-what {
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
    padding: 44px 36px 52px;
  }

  .ia-page .ia-what-copy {
    max-width: none;
  }

  .ia-page .ia-what-copy article {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 18px;
    margin-top: 24px;
  }

  .ia-page .ia-what-copy article .fa {
    width: 60px;
    height: 60px;
    font-size: 27px;
  }

  .ia-page .ia-what-copy article p {
    padding-left: 18px;
  }

  .ia-page .ia-what-media {
    min-height: 430px;
  }

  .ia-page .ia-what-media img {
    height: 430px;
  }

  .ia-page .ia-what-media div {
    right: 28px;
    bottom: -18px;
    left: 28px;
  }

  .ia-page .ia-soft-cta {
    grid-template-columns: minmax(0, 1fr) 230px;
    gap: 28px;
    padding: 44px 40px;
    overflow: hidden;
  }

  .ia-page .ia-soft-cta h2 {
    max-width: 570px;
    font-size: clamp(42px, 4vw, 50px);
    line-height: 1.02;
    overflow-wrap: normal;
    word-break: normal;
  }

  .ia-page .ia-soft-cta p {
    max-width: 540px;
    font-size: 17px;
  }

  .ia-page .ia-soft-cta .fiv-btn {
    width: fit-content;
    max-width: 100%;
  }
}

@media (min-width: 1440px) {
  .ia-page .ia-what {
    grid-template-columns: minmax(360px, .9fr) minmax(440px, 1.1fr);
    gap: 42px;
    padding: 52px 40px;
  }

  .ia-page .ia-what-copy article {
    grid-template-columns: 68px minmax(0, 1fr);
    gap: 20px;
    margin-top: 28px;
  }

  .ia-page .ia-what-copy article p {
    padding-left: 18px;
  }

  .ia-page .ia-what-media {
    min-height: 560px;
  }

  .ia-page .ia-what-media img {
    height: 540px;
  }

  .ia-page .ia-what-media div {
    right: 28px;
    left: 28px;
  }

  .ia-page .ia-soft-cta {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 42px;
    padding: 52px 56px;
    overflow: hidden;
  }

  .ia-page .ia-soft-cta h2 {
    max-width: 620px;
    font-size: 52px;
    line-height: 1.02;
    overflow-wrap: normal;
    word-break: normal;
  }

  .ia-page .ia-soft-cta p {
    max-width: 570px;
  }
}

/*
 * Encabezado común del carrusel de testimonios.
 * El título se centra de forma independiente para que los controles laterales
 * no alteren visualmente su eje.
 */
.drjam-testimonials-heading {
  position: relative;
  justify-content: center;
  padding-right: 120px;
  padding-left: 120px;
  text-align: center;
}

.drjam-testimonials-heading>div:first-child {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.drjam-testimonials-heading h2 {
  max-width: 900px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.drjam-testimonials-heading .drjam-carousel-controls {
  position: absolute;
  right: 0;
  bottom: 0;
}

@media (max-width: 767px) {
  .drjam-testimonials-heading {
    flex-direction: column;
    gap: 16px;
    padding-right: 0;
    padding-left: 0;
  }

  .drjam-testimonials-heading .drjam-carousel-controls {
    position: static;
    justify-content: center;
  }
}

/*
 * Motivos para elegir el centro.
 * Unificamos todas las páginas de tratamiento en una lista lineal: una fila
 * completa por motivo, evitando que FIV vuelva a mostrar dos tarjetas altas.
 */
.fiv-page .fiv-choice-grid {
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 16px !important;
}

.fiv-page .fiv-choice-grid article,
.fiv-page .fiv-choice-grid article.wide {
  grid-column: auto !important;
  display: grid !important;
  grid-template-columns: 100px minmax(0, 1fr) !important;
  min-height: 0 !important;
  gap: 24px !important;
  padding: 24px 28px !important;
  align-items: center !important;
}

.fiv-page .fiv-choice-icon {
  width: 92px !important;
  height: 92px !important;
  margin: 0 !important;
  font-size: 44px !important;
}

.fiv-page .fiv-choice-copy h3 {
  font-size: clamp(24px, 2.2vw, 30px) !important;
  text-align: left !important;
}

.fiv-page .fiv-choice-copy .fiv-line {
  margin: 12px 0 !important;
}

.fiv-page .fiv-choice-copy p {
  text-align: left !important;
}

.fiv-page .fiv-choice-badge {
  width: fit-content !important;
  max-width: 100% !important;
  min-height: 46px !important;
  margin-top: 14px !important;
  border-radius: 14px !important;
}

@media (max-width: 620px) {
  .fiv-page .fiv-choice-section {
    padding-right: 14px !important;
    padding-left: 14px !important;
  }

  .fiv-page .fiv-choice-grid article,
  .fiv-page .fiv-choice-grid article.wide {
    grid-template-columns: 64px minmax(0, 1fr) !important;
    gap: 14px !important;
    padding: 20px 16px !important;
  }

  .fiv-page .fiv-choice-icon {
    width: 60px !important;
    height: 60px !important;
    font-size: 30px !important;
  }

  .fiv-page .fiv-choice-copy h3 {
    font-size: 22px !important;
  }

  .fiv-page .fiv-choice-badge {
    width: 100% !important;
    padding: 10px 12px !important;
  }
}

/*
 * CTA de Inseminación Artificial.
 * Mantiene una composición horizontal compacta en escritorio y evita que el
 * título se convierta en una columna estrecha de cuatro o cinco líneas.
 */
.ia-page .ia-soft-cta {
  grid-template-columns: minmax(0, 1fr) 230px !important;
  gap: clamp(24px, 3vw, 40px) !important;
  min-height: 0 !important;
  padding: clamp(34px, 4vw, 48px) !important;
  overflow: hidden;
}

.ia-page .ia-soft-cta>div:first-child {
  min-width: 0;
}

.ia-page .ia-soft-cta h2 {
  max-width: 650px !important;
  font-size: clamp(36px, 3.5vw, 48px) !important;
  line-height: 1.04 !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
}

.ia-page .ia-soft-cta p {
  max-width: 540px !important;
  margin-top: 0 !important;
  font-size: 17px !important;
}

.ia-page .ia-soft-cta .fiv-btn {
  width: fit-content !important;
  max-width: 100% !important;
}

.ia-page .ia-soft-cta .ia-mother-illustration {
  width: 210px !important;
  height: 210px !important;
}

.ia-page .ia-soft-cta .ia-mother-illustration .fa-female {
  font-size: 104px !important;
}

.ia-page .ia-soft-cta .ia-mother-illustration .fa-circle-o {
  right: 52px !important;
  bottom: 62px !important;
  font-size: 52px !important;
}

.ia-page .ia-soft-cta .ia-mother-illustration .fa-heart-o {
  top: 34px !important;
  right: 34px !important;
  font-size: 27px !important;
}

@media (max-width: 767px) {
  .ia-page .ia-soft-cta {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 22px !important;
    padding: 28px 20px !important;
  }

  .ia-page .ia-soft-cta h2 {
    font-size: clamp(31px, 10vw, 40px) !important;
  }

  .ia-page .ia-soft-cta .ia-mother-illustration {
    width: 170px !important;
    height: 170px !important;
  }

  .ia-page .ia-soft-cta .fiv-btn {
    width: 100% !important;
    justify-content: center !important;
  }

  .ia-page .ia-soft-cta small {
    align-items: flex-start;
  }
}

/*
 * Pie informativo de la página del doctor.
 * Es un bloque estático: ninguna de sus columnas debe heredar los efectos
 * globales de elevación, zoom o brillo definidos para las tarjetas.
 * La clase se reutiliza, por lo que esta corrección se aplica en todas las
 * páginas donde el bloque esté presente.
 */
.doctor-footer article,
.doctor-footer article:hover,
.doctor-footer article:focus-within,
.doctor-footer article img,
.doctor-footer article:hover img,
.doctor-footer article:focus-within img,
.doctor-footer a,
.doctor-footer a:hover,
.doctor-footer a:focus,
.doctor-footer .footer-cta,
.doctor-footer .footer-cta:hover,
.doctor-footer .footer-cta:focus {
  transform: none !important;
  translate: none !important;
  scale: 1 !important;
  filter: none !important;
  opacity: 1 !important;
  transition: none !important;
}

.doctor-footer article:hover,
.doctor-footer article:focus-within {
  border-color: transparent !important;
  box-shadow: none !important;
}

.doctor-footer .footer-cta::after,
.doctor-footer .footer-cta:hover::after,
.doctor-footer .footer-cta:focus::after {
  display: none !important;
  content: none !important;
}

.doctor-footer a:hover,
.doctor-footer a:focus {
  color: inherit !important;
  text-decoration: none !important;
}

.doctor-footer .footer-cta:hover,
.doctor-footer .footer-cta:focus {
  color: #fff !important;
  background: linear-gradient(90deg, var(--teal), var(--navy)) !important;
  box-shadow: 0 14px 28px rgba(13, 59, 115, .16) !important;
}

/*
 * Acciones de la tarjeta lateral del doctor.
 * La hoja base las convertía en una sola columna en móvil y el botón principal
 * quedaba reducido por las reglas globales de enlaces. Conservamos el botón de
 * WhatsApp y la llamada a la acción en una fila, usando todo el ancho disponible.
 */
@media (max-width: 767px) {
  .fiv-doctor-bottom {
    padding-right: 18px;
    padding-left: 18px;
  }

  .fiv-doctor-actions {
    width: 100%;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) !important;
    gap: 12px;
    align-items: center;
    justify-items: stretch !important;
  }

  /*
   * WordPress puede insertar un <br> entre ambos enlaces al procesar el
   * contenido. Dentro del grid ese salto ocupa la segunda columna y empuja el
   * botón a una fila nueva.
   */
  .fiv-doctor-actions>br {
    display: none !important;
  }

  .fiv-doctor-actions .fiv-wa {
    width: 48px;
    min-width: 48px;
    max-width: 48px;
    height: 48px;
    padding: 0;
    justify-self: start;
    border-radius: 50%;
  }

  .fiv-doctor-actions .fiv-btn.small {
    width: 100% !important;
    min-width: 0;
    max-width: none;
    min-height: 52px;
    padding: 10px 14px;
    box-sizing: border-box;
    justify-self: stretch;
    white-space: normal;
    line-height: 1.15;
    text-align: center;
  }
}

/*
 * CTA compartida: "¿Te identificas con alguna de estas situaciones?"
 * Se usa en Inseminación Artificial, FIV-ICSI y Ovodonación. La ilustración
 * anterior reservaba 420px fijos y comprimía el texto cuando existía una
 * columna lateral. Esta distribución conserva una lectura horizontal desde
 * tablet y se apila únicamente en teléfonos.
 */
@media (min-width: 992px) {
  .ia-soft-cta {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 440px) !important;
    gap: 40px !important;
    align-items: center !important;
    padding: 48px 56px !important;
  }
}

.ia-soft-cta>div:first-child {
  min-width: 0;
  max-width: 680px;
}

.ia-soft-cta h2 {
  width: 100% !important;
  max-width: 650px !important;
  margin: 0 !important;
  font-size: clamp(34px, 3vw, 46px) !important;
  line-height: 1.02 !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
  hyphens: none !important;
}

.ia-soft-cta p {
  width: 100% !important;
  max-width: 610px !important;
  margin: 24px 0 0 !important;
  font-size: clamp(16px, 1.65vw, 19px) !important;
  line-height: 1.55 !important;
}

.ia-soft-cta .fiv-btn {
  display: inline-flex !important;
  width: fit-content !important;
  min-width: 250px;
  max-width: 100% !important;
  min-height: 56px;
  margin: 24px 0 18px !important;
  padding: 13px 24px !important;
  justify-content: center !important;
  white-space: nowrap !important;
  line-height: 1.15 !important;
}

.ia-hero small,
.ia-soft-cta small {
  display: flex !important;
  width: 100%;
  max-width: 570px;
  margin: 0 !important;
  gap: 14px !important;
  align-items: center !important;
  line-height: 1.4 !important;
}

.ia-hero small .fa-shield,
.ia-soft-cta small .fa-shield,
.ia-hero small .fa,
.ia-soft-cta small .fa {
  width: 52px !important;
  height: 52px !important;
  min-width: 52px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 50% !important;
  color: #0087a4 !important;
  background: #eef8fc !important;
  font-size: 24px !important;
  flex-shrink: 0 !important;
}

.ia-soft-cta .ia-mother-illustration,
.ia-mother-illustration {
  width: 100% !important;
  max-width: 440px !important;
  height: auto !important;
  min-height: 0 !important;
  justify-self: center !important;
  background: transparent !important;
}

.ia-mother-illustration::before {
  display: none !important;
}

.ia-soft-cta .ia-mother-illustration img,
.ia-mother-illustration img,
.ia-mother-baby-img {
  width: 100% !important;
  max-width: 420px !important;
  height: auto !important;
  object-fit: contain !important;
  display: block !important;
  filter: drop-shadow(0 12px 28px rgba(0, 135, 164, 0.15)) !important;
}

@media (min-width: 641px) and (max-width: 1023px) {
  .ia-soft-cta {
    grid-template-columns: minmax(0, 1fr) clamp(190px, 31%, 250px) !important;
    gap: clamp(20px, 3.5vw, 34px) !important;
    padding: clamp(28px, 4vw, 42px) !important;
  }

  .ia-soft-cta h2 {
    font-size: clamp(32px, 4.3vw, 42px) !important;
  }

  .ia-soft-cta .ia-mother-illustration {
    width: clamp(185px, 27vw, 245px) !important;
    height: clamp(185px, 27vw, 245px) !important;
  }
}

@media (max-width: 640px) {
  .ia-soft-cta {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 26px !important;
    padding: 30px clamp(18px, 6vw, 28px) !important;
  }

  .ia-soft-cta>div:first-child {
    max-width: none;
  }

  .ia-soft-cta h2 {
    font-size: clamp(32px, 10.5vw, 43px) !important;
    line-height: 1.03 !important;
  }

  .ia-soft-cta h2 br {
    display: none;
  }

  .ia-soft-cta p {
    margin-top: 20px !important;
    font-size: 16px !important;
  }

  .ia-soft-cta .fiv-btn {
    width: 100% !important;
    min-width: 0;
    min-height: 54px;
    padding-right: 16px !important;
    padding-left: 16px !important;
    white-space: normal !important;
  }

  .ia-soft-cta .ia-mother-illustration {
    width: min(66vw, 230px) !important;
    height: min(66vw, 230px) !important;
  }
}

/*
 * Debe permanecer al final de la auditoría responsive:
 * algunos módulos de tratamientos declaran text-align con !important.
 */
html body .drjam-justified-copy {
  text-align: justify !important;
  text-align-last: auto !important;
  text-justify: inter-word;
  overflow-wrap: break-word;
  word-break: normal;
}

/* La clase repetida supera las reglas históricas específicas de cada módulo. */
.drjam-justified-copy.drjam-justified-copy.drjam-justified-copy {
  text-align: justify !important;
  text-align-last: auto !important;
  text-justify: inter-word;
  overflow-wrap: break-word;
  word-break: normal;
}

@media (max-width: 479px) {
  .drjam-justified-copy {
    line-height: 1.65;
  }
}

/*
 * FIV-ICSI: las tres ventajas del hero deben conservar una retícula estable.
 * Evita que el tercer elemento quede aislado al usar zoom o anchos intermedios.
 */
body.page-template-page-fiv-icsi .icsi-hero .icsi-hero-features {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  grid-template-rows: auto !important;
  align-items: stretch;
  gap: 0 !important;
  width: 100%;
}

body.page-template-page-fiv-icsi .icsi-hero .icsi-hero-features>span {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  grid-row: 1 !important;
  width: auto !important;
  min-width: 0;
  align-content: start;
  justify-items: center !important;
  padding: 0 clamp(6px, 1.4vw, 22px) !important;
  text-align: center !important;
}

body.page-template-page-fiv-icsi .icsi-hero .icsi-hero-features>br {
  display: none !important;
}

body.page-template-page-fiv-icsi .icsi-hero .icsi-hero-features>span:nth-of-type(1) {
  grid-column: 1 !important;
}

body.page-template-page-fiv-icsi .icsi-hero .icsi-hero-features>span:nth-of-type(2) {
  grid-column: 2 !important;
}

body.page-template-page-fiv-icsi .icsi-hero .icsi-hero-features>span:nth-of-type(3) {
  grid-column: 3 !important;
}

@media (min-width: 480px) and (max-width: 767px) {
  body.page-template-page-fiv-icsi .icsi-hero .icsi-hero-features {
    margin-block: 24px !important;
  }

  body.page-template-page-fiv-icsi .icsi-hero .icsi-hero-features>span {
    font-size: 12px;
    line-height: 1.25;
  }

  body.page-template-page-fiv-icsi .icsi-hero .icsi-hero-features .fa {
    width: 58px;
    height: 58px;
    font-size: 28px;
  }
}

@media (max-width: 479px) {
  body.page-template-page-fiv-icsi .icsi-hero .icsi-hero-features {
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: repeat(3, auto) !important;
    gap: 12px !important;
  }

  body.page-template-page-fiv-icsi .icsi-hero .icsi-hero-features>span,
  body.page-template-page-fiv-icsi .icsi-hero .icsi-hero-features>span:nth-child(n) {
    grid-template-columns: 52px minmax(0, 1fr) !important;
    grid-column: 1 !important;
    grid-row: auto !important;
    width: 100% !important;
    min-height: 68px;
    padding: 8px 0 !important;
    border-right: 0 !important;
    border-bottom: 1px solid #d9e8f1;
    align-items: center;
    justify-items: start !important;
    text-align: left !important;
  }

  body.page-template-page-fiv-icsi .icsi-hero .icsi-hero-features>span:last-child {
    border-bottom: 0;
  }
}

/* Rediseño de la ilustración CTA: Imagen de madre y bebé en lugar de iconos CSS */
@media (min-width: 992px) {

  .ia-page .ia-soft-cta,
  .icsi-page .ia-soft-cta,
  .ovo-page .ia-soft-cta,
  .ropa-page .ia-soft-cta,
  .fiv-page .ia-soft-cta,
  .ia-soft-cta {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 210px !important;
    gap: 20px !important;
    align-items: center !important;
    padding: 32px 36px !important;
  }
}

.ia-page .ia-mother-illustration,
.icsi-page .ia-mother-illustration,
.ovo-page .ia-mother-illustration,
.ropa-page .ia-mother-illustration,
.fiv-page .ia-mother-illustration,
.ia-soft-cta .ia-mother-illustration,
.ia-mother-illustration {
  background: transparent !important;
  width: 210px !important;
  max-width: 210px !important;
  height: auto !important;
  min-height: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  justify-self: end !important;
  margin-left: auto !important;
}

.ia-mother-illustration::before {
  display: none !important;
}

.ia-page .ia-mother-illustration img,
.icsi-page .ia-mother-illustration img,
.ovo-page .ia-mother-illustration img,
.ropa-page .ia-mother-illustration img,
.fiv-page .ia-mother-illustration img,
.ia-soft-cta .ia-mother-illustration img,
.ia-mother-illustration img,
.ia-mother-baby-img {
  width: 100% !important;
  max-width: 200px !important;
  height: auto !important;
  object-fit: contain !important;
  display: block !important;
  filter: drop-shadow(0 10px 22px rgba(0, 135, 164, 0.15)) !important;
}

.ia-page .ia-soft-cta small,
.icsi-page .ia-soft-cta small,
.ovo-page .ia-soft-cta small,
.ropa-page .ia-soft-cta small,
.ia-hero small,
.ia-soft-cta small {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  margin-top: 18px !important;
}

.ia-page .ia-soft-cta small .fa,
.icsi-page .ia-soft-cta small .fa,
.ovo-page .ia-soft-cta small .fa,
.ropa-page .ia-soft-cta small .fa,
.ia-hero small .fa-shield,
.ia-soft-cta small .fa-shield,
.ia-hero small .fa,
.ia-soft-cta small .fa {
  width: 52px !important;
  height: 52px !important;
  min-width: 52px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 50% !important;
  color: #0087a4 !important;
  background: #eef8fc !important;
  font-size: 24px !important;
  flex-shrink: 0 !important;
}

.ia-page .ia-soft-cta small span,
.icsi-page .ia-soft-cta small span,
.ovo-page .ia-soft-cta small span,
.ropa-page .ia-soft-cta small span,
.ia-hero small span,
.ia-soft-cta small span {
  color: var(--navy, #162542) !important;
  font-size: 14.5px !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
}

/* ==========================================================================
   MENÚ HAMBURGUESA Y GAVETA MÓVIL RESTRUCTURADA (< 1024px)
   ========================================================================== */

/* En escritorio (>= 1024px), ocultar botón hamburguesa y CTA interno */
@media (min-width: 1024px) {

  .mobile-nav-toggle,
  .mobile-drawer-cta {
    display: none !important;
  }
}

/* En móviles y tabletas (< 1024px) */
@media (max-width: 1023px) {

  .site-header {
    padding: 12px 0 !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 99999 !important;
    background: #ffffff !important;
    border-bottom: 1px solid #e2ecf5 !important;
    box-shadow: 0 4px 20px rgba(13, 59, 115, 0.08) !important;
  }

  .header-inner {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    position: relative !important;
    width: min(100% - 24px, 1200px) !important;
    margin: 0 auto !important;
    padding: 0 !important;
    gap: 12px !important;
  }

  /* LOGO A LA IZQUIERDA Y MÁS GRANDE */
  .site-header .brand,
  .drjam-landing .brand,
  .header-inner .brand {
    flex: 0 0 auto !important;
    width: auto !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    text-align: left !important;
    order: 1 !important;
  }

  .site-header .brand img,
  .drjam-landing .brand img,
  .header-inner .brand img {
    width: auto !important;
    height: 58px !important;
    max-height: 58px !important;
    max-width: 220px !important;
    min-height: 48px !important;
    object-fit: contain !important;
    object-position: left center !important;
    display: block !important;
  }

  /* BOTÓN HAMBURGUESA SOLO ICONO A LA DERECHA Y LLAMATIVO */
  .mobile-nav-toggle {
    order: 2 !important;
    margin-left: auto !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    max-width: 44px !important;
    max-height: 44px !important;
    flex: 0 0 44px !important;
    padding: 0 !important;
    background: linear-gradient(135deg, #0087a4 0%, #079cbd 100%) !important;
    border: none !important;
    border-radius: 50% !important;
    color: #ffffff !important;
    cursor: pointer !important;
    outline: none !important;
    box-shadow: 0 4px 14px rgba(0, 135, 164, 0.35) !important;
    transition: all 0.25s ease !important;
    user-select: none !important;
    -webkit-tap-highlight-color: transparent !important;
  }

  .mobile-nav-toggle:hover,
  .mobile-nav-toggle:focus {
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 18px rgba(0, 135, 164, 0.45) !important;
  }

  .mobile-toggle-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
    font-size: 20px !important;
    line-height: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #ffffff !important;
    text-align: center !important;
  }

  /* Estado ACTIVO del botón hamburguesa */
  .mobile-nav-toggle.is-active {
    background: #162542 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(22, 37, 66, 0.4) !important;
  }

  .mobile-nav-toggle.is-active .hamburger-inner {
    background-color: transparent !important;
  }

  .mobile-nav-toggle.is-active .hamburger-inner::before {
    top: 0;
    background-color: #ffffff !important;
    transform: rotate(45deg);
  }

  .mobile-nav-toggle.is-active .hamburger-inner::after {
    bottom: 0;
    background-color: #ffffff !important;
    transform: rotate(-45deg);
  }

  .desktop-only-cta {
    display: none !important;
  }

  /* GAVETA DE NAVEGACIÓN MÓVIL */
  .main-nav {
    display: none !important;
    position: absolute !important;
    top: calc(100% + 8px) !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    background: #ffffff !important;
    border: 1.5px solid #dce7f2 !important;
    border-radius: 20px !important;
    box-shadow: 0 20px 48px rgba(13, 59, 115, 0.2) !important;
    padding: 18px !important;
    flex-direction: column !important;
    gap: 12px !important;
    z-index: 100000 !important;
    margin: 0 !important;
  }

  .main-nav.is-open {
    display: flex !important;
    animation: drjamFadeDown 0.25s ease-out forwards;
  }

  @keyframes drjamFadeDown {
    from {
      opacity: 0;
      transform: translateY(-8px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* BOTÓN PRINCIPAL EN LA GAVETA MÓVIL */
  .mobile-drawer-cta {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    width: 100% !important;
    min-height: 50px !important;
    height: 50px !important;
    background: linear-gradient(135deg, #0087a4 0%, #079cbd 100%) !important;
    color: #ffffff !important;
    font-size: 15.5px !important;
    font-weight: 700 !important;
    border-radius: 30px !important;
    box-shadow: 0 6px 18px rgba(0, 135, 164, 0.3) !important;
    margin-top: 6px !important;
  }

  /* TARJETAS PRINCIPALES DEL MENÚ */
  .main-nav>.nav-link,
  .main-nav .has-mega>.nav-link {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 12px !important;
    width: 100% !important;
    min-height: 52px !important;
    padding: 12px 18px !important;
    background: #f4f9fc !important;
    border: 1.5px solid #d8eaef !important;
    border-radius: 14px !important;
    color: #162542 !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    transition: all 0.2s ease !important;
    text-decoration: none !important;
  }

  .main-nav>.nav-link:hover,
  .main-nav .has-mega>.nav-link:hover,
  .main-nav>.nav-link:focus,
  .main-nav .has-mega>.nav-link:focus {
    background: #eef8fc !important;
    border-color: #0087a4 !important;
    color: #0087a4 !important;
  }

  /* ICONOS IZQUIERDOS LIMPIOS, SIN FONDO Y MUY LLAMATIVOS */
  .main-nav .nav-link .fa:not(.nav-toggle-icon) {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    width: auto !important;
    height: auto !important;
    min-width: 26px !important;
    min-height: auto !important;
    flex: 0 0 26px !important;
    font-size: 22px !important;
    line-height: 1 !important;
    color: #0087a4 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-right: 12px !important;
    padding: 0 !important;
    filter: drop-shadow(0 2px 5px rgba(0, 135, 164, 0.3)) !important;
    transition: transform 0.2s ease, color 0.2s ease !important;
  }

  .main-nav .nav-link:hover .fa:not(.nav-toggle-icon),
  .main-nav .nav-link:focus .fa:not(.nav-toggle-icon) {
    color: #079cbd !important;
    transform: scale(1.15) !important;
  }

  .mobile-drawer-cta .fa {
    font-size: 18px !important;
    color: #ffffff !important;
    background: transparent !important;
    filter: none !important;
    margin-right: 8px !important;
    min-width: auto !important;
    flex: 0 0 auto !important;
  }

  /* CIRCULO FLECHA DESPLEGABLE MUY DESTACADO Y PERFECTAMENTE CENTRADO */
  .nav-toggle-icon {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    min-height: 34px !important;
    max-width: 34px !important;
    max-height: 34px !important;
    flex: 0 0 34px !important;
    border-radius: 50% !important;
    background: #0087a4 !important;
    color: #ffffff !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 14px !important;
    line-height: 1 !important;
    margin-left: auto !important;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.3s ease !important;
    box-shadow: 0 2px 8px rgba(0, 135, 164, 0.3) !important;
    aspect-ratio: 1 / 1 !important;
    box-sizing: border-box !important;
  }

  .nav-toggle-icon::before {
    display: block !important;
    line-height: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #ffffff;
  }

  .has-mega.is-expanded .nav-toggle-icon {
    transform: rotate(180deg) !important;
    background: #162542 !important;
    box-shadow: 0 2px 8px rgba(22, 37, 66, 0.3) !important;
  }

  /* SUBMENÚ DESPLEGABLE "TRATAMIENTOS" HERMOSO Y ORGANIZADO */
  .main-nav .mega-menu {
    display: none !important;
    position: static !important;
    width: 100% !important;
    background: #ffffff !important;
    border: 1.5px solid #dce7f2 !important;
    border-radius: 16px !important;
    padding: 16px !important;
    margin-top: 8px !important;
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.02) !important;
  }

  .has-mega.is-expanded .mega-menu {
    display: block !important;
    animation: drjamExpand 0.25s ease-out forwards;
  }

  @keyframes drjamExpand {
    from {
      opacity: 0;
      transform: translateY(-4px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .mega-inner {
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
    padding: 0 !important;
  }

  /* TARJETAS DE CATEGORÍA EN EL SUBMENÚ */
  .mega-column {
    position: relative !important;
    padding: 14px 16px !important;
    background: #f8fbfe !important;
    border-radius: 12px !important;
    border: 1px solid #e1ebf5 !important;
  }

  .mega-column img {
    display: none !important;
  }

  .mega-column .mega-badge {
    position: static !important;
    margin: 0 auto 8px auto !important;
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    background: #0087a4 !important;
    color: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 16px !important;
    box-shadow: 0 3px 10px rgba(0, 135, 164, 0.25) !important;
  }

  .mega-column h3 {
    font-size: 14.5px !important;
    font-weight: 800 !important;
    color: #0087a4 !important;
    margin: 0 0 6px 0 !important;
    padding-right: 0 !important;
    text-align: center !important;
    text-transform: uppercase !important;
    letter-spacing: 0.3px !important;
  }

  .mega-line {
    width: 36px !important;
    height: 3px !important;
    background: #0087a4 !important;
    border-radius: 2px !important;
    margin: 0 auto 12px auto !important;
  }

  .mega-column a {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 9px 12px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #243b53 !important;
    text-decoration: none !important;
    border-radius: 8px !important;
    background: #ffffff !important;
    border: 1px solid #e4ecf4 !important;
    margin-bottom: 6px !important;
    transition: all 0.2s ease !important;
  }

  .mega-column a:last-child {
    margin-bottom: 0 !important;
  }

  .mega-column a .fa {
    font-size: 14px !important;
    color: #079cbd !important;
    width: 18px !important;
    text-align: center !important;
  }

  .mega-column a:hover,
  .mega-column a:active {
    background: #eef8fc !important;
    border-color: #0087a4 !important;
    color: #0087a4 !important;
    transform: translateX(3px) !important;
  }

  .mega-column p {
    font-size: 13px !important;
    color: #486581 !important;
    margin-bottom: 10px !important;
    line-height: 1.4 !important;
  }

  .mega-cta {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    width: 100% !important;
    padding: 10px 14px !important;
    background: #0087a4 !important;
    color: #ffffff !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
    text-decoration: none !important;
  }
}

/* ==========================================================================
   FIX PARA PORCENTAJES SOBRE LAS BARRAS DE RESULTADOS (FIV)
   ========================================================================== */

/* Barra 1: Óvulos propios (52%) */
.chart-bars>div:nth-of-type(1)>b,
.chart-bars.drjam-bar-chart>div:nth-of-type(2)>b {
  position: absolute !important;
  bottom: calc(52% + 10px) !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  color: #0087a4 !important;
  font-size: 26px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  pointer-events: none !important;
  z-index: 5 !important;
}

/* Barra 2: Óvulos donados por FIV (80%) */
.chart-bars>div:nth-of-type(2)>b,
.chart-bars.drjam-bar-chart>div:nth-of-type(3)>b {
  position: absolute !important;
  bottom: calc(80% + 10px) !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  color: #162542 !important;
  font-size: 26px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  pointer-events: none !important;
  z-index: 5 !important;
}

/* ==========================================================================
   INTEGRACIÓN GOOGLE MAPS IFRAME RESPONSIVE (Todas las páginas)
   ========================================================================== */
.location-map {
  position: relative !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 380px !important;
  border: 1px solid #d5e6f0 !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  box-shadow: 0 8px 24px rgba(13, 59, 115, 0.08) !important;
  background: #edf7fc !important;
}

.location-map iframe {
  width: 100% !important;
  height: 100% !important;
  min-height: 380px !important;
  border: 0 !important;
  display: block !important;
  border-radius: 16px !important;
}

.location-map::before,
.location-map::after {
  display: none !important;
}

@media (max-width: 767px) {
  .location-map {
    min-height: 300px !important;
    height: 300px !important;
  }

  .location-map iframe {
    min-height: 300px !important;
    height: 300px !important;
  }
}

/* ==========================================================================
   OPTIMIZACIÓN DE TARJETA Y TITULAR SUAVE ("¿Te identificas con alguna...")
   ========================================================================== */
/* ==========================================================================
   OPTIMIZACIÓN DE TARJETA Y TITULAR SUAVE ("¿Te identificas con alguna...")
   ========================================================================== */
.ia-page .ia-soft-cta,
.icsi-page .ia-soft-cta,
.ovo-page .ia-soft-cta,
.ropa-page .ia-soft-cta,
.fiv-page .ia-soft-cta,
.cryo-page .ia-soft-cta,
.embryo-page .ia-soft-cta,
.ia-soft-cta {
  display: grid !important;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 340px) !important;
  gap: 32px !important;
  align-items: center !important;
  padding: 40px 44px !important;
  background: linear-gradient(135deg, #f4fbfe 0%, #eaf6fc 100%) !important;
  border: 1px solid #d2e7f3 !important;
  border-radius: 20px !important;
  box-shadow: 0 8px 24px rgba(0, 135, 164, 0.06) !important;
  overflow: hidden !important;
  margin-top: 36px !important;
  margin-bottom: 36px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.ia-page .ia-soft-cta>div:first-child,
.icsi-page .ia-soft-cta>div:first-child,
.ovo-page .ia-soft-cta>div:first-child,
.ropa-page .ia-soft-cta>div:first-child,
.fiv-page .ia-soft-cta>div:first-child,
.cryo-page .ia-soft-cta>div:first-child,
.embryo-page .ia-soft-cta>div:first-child,
.ia-soft-cta>div:first-child {
  width: 100% !important;
  max-width: 100% !important;
  flex: 1 1 auto !important;
}

.ia-page .ia-soft-cta h2,
.icsi-page .ia-soft-cta h2,
.ovo-page .ia-soft-cta h2,
.ropa-page .ia-soft-cta h2,
.fiv-page .ia-soft-cta h2,
.cryo-page .ia-soft-cta h2,
.embryo-page .ia-soft-cta h2,
.ia-soft-cta h2 {
  font-size: 36px !important;
  line-height: 1.2 !important;
  font-weight: 800 !important;
  color: #162542 !important;
  margin-bottom: 14px !important;
  max-width: 100% !important;
  width: 100% !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
  white-space: normal !important;
}

.ia-page .ia-soft-cta h2 span,
.icsi-page .ia-soft-cta h2 span,
.ovo-page .ia-soft-cta h2 span,
.ropa-page .ia-soft-cta h2 span,
.fiv-page .ia-soft-cta h2 span,
.cryo-page .ia-soft-cta h2 span,
.embryo-page .ia-soft-cta h2 span,
.ia-soft-cta h2 span {
  color: #0087a4 !important;
}

.ia-page .ia-soft-cta p,
.icsi-page .ia-soft-cta p,
.ovo-page .ia-soft-cta p,
.ropa-page .ia-soft-cta p,
.fiv-page .ia-soft-cta p,
.cryo-page .ia-soft-cta p,
.embryo-page .ia-soft-cta p,
.ia-soft-cta p {
  font-size: 16px !important;
  line-height: 1.55 !important;
  color: #486581 !important;
  margin-bottom: 24px !important;
  max-width: 100% !important;
  width: 100% !important;
}

.ia-page .ia-mother-illustration,
.icsi-page .ia-mother-illustration,
.ovo-page .ia-mother-illustration,
.ropa-page .ia-mother-illustration,
.fiv-page .ia-mother-illustration,
.cryo-page .ia-mother-illustration,
.embryo-page .ia-mother-illustration,
.ia-soft-cta .ia-mother-illustration,
.ia-mother-illustration {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  max-width: 340px !important;
  padding: 0 !important;
  margin: 0 auto !important;
  justify-self: center !important;
}

.ia-page .ia-mother-illustration img,
.icsi-page .ia-mother-illustration img,
.ovo-page .ia-mother-illustration img,
.ropa-page .ia-mother-illustration img,
.fiv-page .ia-mother-illustration img,
.cryo-page .ia-mother-illustration img,
.embryo-page .ia-mother-illustration img,
.ia-mother-baby-img,
.ia-mother-illustration img {
  width: 100% !important;
  max-width: 320px !important;
  height: auto !important;
  object-fit: contain !important;
  filter: drop-shadow(0 14px 28px rgba(0, 135, 164, 0.2)) !important;
  transform: none !important;
  transition: transform 0.3s ease !important;
}

@media (max-width: 991px) {

  .ia-page .ia-soft-cta,
  .icsi-page .ia-soft-cta,
  .ovo-page .ia-soft-cta,
  .ropa-page .ia-soft-cta,
  .fiv-page .ia-soft-cta,
  .ia-soft-cta {
    grid-template-columns: 1fr !important;
    padding: 28px 24px !important;
    gap: 20px !important;
    text-align: center !important;
  }

  .ia-page .ia-soft-cta h2,
  .icsi-page .ia-soft-cta h2,
  .ovo-page .ia-soft-cta h2,
  .ropa-page .ia-soft-cta h2,
  .fiv-page .ia-soft-cta h2,
  .ia-soft-cta h2 {
    font-size: 22px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .ia-page .ia-soft-cta p,
  .icsi-page .ia-soft-cta p,
  .ovo-page .ia-soft-cta p,
  .ropa-page .ia-soft-cta p,
  .fiv-page .ia-soft-cta p,
  .ia-soft-cta p {
    font-size: 14px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .ia-soft-cta .fiv-line {
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .ia-soft-cta small {
    justify-content: center !important;
    text-align: left !important;
  }

  .ia-page .ia-mother-illustration,
  .icsi-page .ia-mother-illustration,
  .ovo-page .ia-mother-illustration,
  .ropa-page .ia-mother-illustration,
  .fiv-page .ia-mother-illustration,
  .ia-mother-illustration {
    width: 100% !important;
    max-width: 220px !important;
    margin: 0 auto !important;
  }

  .ia-page .ia-mother-illustration img,
  .icsi-page .ia-mother-illustration img,
  .ovo-page .ia-mother-illustration img,
  .ropa-page .ia-mother-illustration img,
  .fiv-page .ia-mother-illustration img,
  .ia-mother-baby-img,
  .ia-mother-illustration img {
    max-width: 200px !important;
  }
   .fiv-doctor-card,
  .fiv-sticky-doctor,
  aside.fiv-doctor-card {
    display: none !important;
  }
}

/* ==========================================================================
   INTERACTIVE GOOGLE MAPS IFRAME FOR CONTACT PAGE
   ========================================================================== */
.contact-map-frame {
  position: relative !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 440px !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  background: #edf7fc !important;
  border: 1px solid #d5e6f0 !important;
  box-shadow: 0 8px 24px rgba(13, 59, 115, 0.08) !important;
}

.contact-map-frame iframe {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 440px !important;
  border: 0 !important;
  border-radius: 16px !important;
}

.contact-map-frame::before,
.contact-map-frame::after,
.contact-map-card {
  display: none !important;
}

@media (max-width: 767px) {

  .contact-map-frame,
  .contact-map-frame iframe {
    min-height: 320px !important;
    height: 320px !important;
  }

  /* ==========================================================================
     OPTIMIZACIÓN EXCLUSIVA PARA MOVILES / CELULARES (max-width: 767px)
     PORTADA Y PÁGINAS DE TRATAMIENTOS
     ========================================================================== */

  /* 1. ELIMINAR ESPACIOS EXCESIVOS EN TEXTO JUSTIFICADO */
  p,
  .proof-grid p,
  .proof-grid .results-card p,
  .contact-grid p,
  .contact-grid span,
  .drjam-footer p,
  .drjam-footer-services p,
  .drjam-footer-information p,
  .drjam-footer-services-note,
  .fiv-content p,
  .fiv-results p,
  .fiv-doctor-card p,
  .footer-col p,
  .footer-widgets p,
  .contact-trust-strip,
  .fiv-results-grid p,
  .fiv-section p {
    text-align: left !important;
    text-wrap: pretty !important;
    hyphens: auto !important;
    -webkit-hyphens: auto !important;
    word-spacing: normal !important;
    letter-spacing: normal !important;
  }

  /* 2. TITULARES DE SECCIÓN Y LÍNEAS CENTRADAS */
  .proof-grid .results-card h2,
  .proof-grid article h2,
  .contact-grid h2,
  .drjam-footer h2,
  .drjam-footer-services h2,
  .fiv-section h2,
  .fiv-results h2,
  .fiv-content h2,
  .fiv-testimonials h2,
  .location-copy h2,
  .fiv-doctor-top h3 {
    text-align: center !important;
    font-size: 24px !important;
    line-height: 1.25 !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .title-line,
  .title-line.left,
  .drjam-footer-heading-rule,
  .fiv-line,
  .fiv-line.heart {
    margin-left: auto !important;
    margin-right: auto !important;
    float: none !important;
  }

  /* 3. TARJETAS DE PORTADA Y RESULTADOS DE PORTADA */
  .proof-grid,
  .proof-grid .panel,
  .proof-grid .results-card {
    background: #ffffff !important;
    border-radius: 18px !important;
    border: 1.5px solid #dcebf5 !important;
    box-shadow: 0 8px 24px rgba(0, 135, 164, 0.08) !important;
    padding: 24px 20px !important;
    margin-bottom: 24px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* 4. TARJETAS LATERALES Y DE CONTACTO ("Visítanos en", "Escríbenos por WhatsApp") */
  .contact-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
    width: 100% !important;
  }

  .contact-grid article,
  .contact-location-card,
  .contact-whatsapp-card,
  .fiv-doctor-card,
  .fiv-sidebar-card,
  .contact-info-card {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    gap: 14px !important;
    background: #ffffff !important;
    border-radius: 18px !important;
    border: 1.5px solid #dcebf5 !important;
    box-shadow: 0 8px 24px rgba(0, 135, 164, 0.08) !important;
    padding: 20px 16px !important;
    margin: 0 0 16px 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .contact-grid article > .fa,
  .contact-location-card > .fa,
  .contact-whatsapp-card .fa,
  .contact-grid .fa,
  .fiv-doctor-top ul li .fa,
  .fiv-doctor-info-item .fa {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    border-radius: 50% !important;
    background: #eef8fc !important;
    color: #0087a4 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 20px !important;
    flex-shrink: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    box-shadow: 0 4px 12px rgba(0, 135, 164, 0.15) !important;
  }

  .contact-grid strong {
    font-size: 17px !important;
    font-weight: 800 !important;
    color: #162542 !important;
    display: block !important;
    margin-bottom: 4px !important;
  }

  /* 5. TARJETA "NUESTROS SERVICIOS" EN PORTADA Y FOOTER */
  .drjam-footer-services,
  .sidebar-services-card,
  .main-nav-services-card {
    background: #ffffff !important;
    border-radius: 20px !important;
    border: 1.5px solid #dcebf5 !important;
    box-shadow: 0 8px 24px rgba(0, 135, 164, 0.08) !important;
    padding: 24px 18px !important;
    margin-bottom: 28px !important;
  }

  .drjam-footer-services ul li,
  .sidebar-services-card ul li {
    padding: 12px 10px !important;
    border-bottom: 1px dashed #e1edf7 !important;
  }

  .drjam-footer-services ul li a,
  .sidebar-services-card ul li a {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #162542 !important;
    text-decoration: none !important;
  }

  .drjam-footer-services ul li a .fa,
  .sidebar-services-card ul li .fa {
    color: #0087a4 !important;
    font-size: 18px !important;
    width: 28px !important;
    text-align: center !important;
  }

  /* 6. PIE DE PÁGINA ("¿A DÓNDE LLAMAR?", "SOBRE NOSOTROS", "NUESTRO COMPROMISO") */
  .drjam-footer-information article,
  .footer-col,
  .footer-widget-block {
    text-align: left !important;
    margin-bottom: 24px !important;
  }

  .drjam-footer-info-title,
  .footer-col h3,
  .footer-col h4,
  .footer-widget-title {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    margin-bottom: 10px !important;
    text-align: left !important;
  }

  .drjam-footer-info-title > span,
  .footer-col h3 .fa,
  .footer-col h4 .fa,
  .footer-widget-title .fa {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    border-radius: 50% !important;
    background: #eef8fc !important;
    color: #0087a4 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 18px !important;
    flex-shrink: 0 !important;
    box-shadow: 0 4px 12px rgba(0, 135, 164, 0.12) !important;
  }

  .drjam-footer-info-title h2 {
    font-size: 18px !important;
    font-weight: 800 !important;
    color: #162542 !important;
    margin: 0 !important;
    text-align: left !important;
  }

  .drjam-footer-promise {
    background: linear-gradient(135deg, #0f4b81 0%, #0087a4 100%) !important;
    border-radius: 16px !important;
    padding: 20px !important;
    color: #ffffff !important;
    text-align: center !important;
    margin-top: 20px !important;
  }

  .drjam-footer-promise p {
    color: #ffffff !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    text-align: center !important;
    margin: 0 !important;
  }
}