/* Ajustes compartidos para menu.html y footer.html. */
[data-include="menu"] {
  display: block;
  min-height: 88px;
}

.shared-header .nav__toggle[aria-expanded="true"] {
  color: #008D99;
}

@media (min-width: 1025px) {
  .shared-header .header__inner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    column-gap: clamp(16px, 1.8vw, 28px);
    max-width: 1540px;
  }

  .shared-header .nav__list {
    gap: clamp(14px, 1.45vw, 24px);
  }

  .shared-header .nav__list > li > a {
    font-size: clamp(11px, .88vw, 13px);
  }
}

@media (min-width: 1280px) {
  .shared-header .header__inner {
    grid-template-columns: repeat(7, max-content);
    justify-content: space-between;
    column-gap: 0;
  }

  .shared-header .nav,
  .shared-header .nav__list {
    display: contents;
  }
}

@media (min-width: 1500px) {
  .shared-header .nav__list {
    gap: 24px;
  }

  .shared-header .nav__list > li > a {
    font-size: 13px;
  }
}

@media (max-width: 1024px) {
  /* El panel navega por encima del banner inferior y usa toda la altura disponible. */
  .medisis-searchbar ~ .shared-header {
    z-index: 10000;
  }

  .shared-header .nav {
    z-index: 1;
  }

  .shared-header .nav.nav--open {
    max-height: calc(100dvh - 88px);
    overflow-y: auto;
    overscroll-behavior-y: contain;
    -webkit-overflow-scrolling: touch;
  }

  .shared-header .nav__list {
    padding-bottom: max(24px, env(safe-area-inset-bottom, 0px));
  }

  /* En móvil Exámenes funciona como enlace directo, no como desplegable. */
  .shared-header .nav-item--exams > a > i,
  .shared-header .nav-item--exams > .dropdown {
    display: none !important;
  }
}

/* Menú multinivel de especialidades compartido por todas las páginas. */
.shared-header .specialties-dropdown {
  min-width: 260px;
}

.shared-header .has-submenu {
  position: relative;
}

.shared-header .has-submenu > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  cursor: pointer;
}

.shared-header .has-submenu > a > i {
  font-size: 10px;
  transition: transform .18s ease;
}

.shared-header .has-submenu > .submenu {
  position: absolute;
  top: -10px;
  left: calc(100% + 10px);
  z-index: 2;
  min-width: 270px;
  padding: 10px;
  margin: 0;
  list-style: none;
  background: var(--white, #fff);
  border: 1px solid #0FC8D8;
  border-radius: 10px;
  box-shadow: 0 16px 34px rgba(0, 60, 72, .1);
  opacity: 0;
  visibility: hidden;
  transform: translateX(8px);
  transition: opacity .18s ease, visibility .18s ease, transform .18s ease;
}

.shared-header .has-submenu:hover > .submenu,
.shared-header .has-submenu:focus-within > .submenu,
.shared-header .has-submenu.is-open > .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.shared-header .has-submenu > .submenu a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
}

.shared-header .has-submenu > .submenu a:hover,
.shared-header .has-submenu > .submenu a:focus-visible {
  color: var(--blue-600, #008d99);
  background: var(--blue-50, #e9fbfd);
}

@media (max-width: 1024px) {
  .shared-header .has-submenu > .submenu {
    position: static;
    display: none;
    min-width: 0;
    margin: 0 0 6px 12px;
    padding: 4px 8px;
    border: 0;
    border-left: 2px solid #0FC8D8;
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .shared-header .has-submenu.is-open > .submenu {
    display: block;
  }

  .shared-header .has-submenu.is-open > a > i {
    transform: rotate(90deg);
  }
}

.shared-footer {
  padding: 64px 0 0;
  background: #008D99;
  color: #0FC8D8;
  font-family: "Inter", sans-serif;
}

.shared-footer .footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px 48px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.shared-footer a {
  color: inherit;
  text-decoration: none;
}

.shared-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

.shared-footer .footer__about p {
  margin: 16px 0 20px;
  font-size: 13.5px;
  line-height: 1.7;
}

.shared-footer .socials {
  display: flex;
  gap: 10px;
}

.shared-footer .socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  font-size: 14px;
  transition: background .15s ease;
}

.shared-footer .socials a:hover {
  background: #008D99;
}

.shared-footer .footer__col h4 {
  margin: 0 0 18px;
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.shared-footer .footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.shared-footer .footer__col ul a {
  font-size: 13.5px;
}

.shared-footer .footer__col ul a:hover,
.shared-footer .footer__more {
  color: #008D99;
}

.shared-footer .footer__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
}

.shared-footer .footer__contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 13.5px;
  line-height: 1.5;
}

.shared-footer .footer__contact i {
  width: 14px;
  margin-top: 2px;
  color: #008D99;
}

.shared-footer .footer__bottom {
  padding: 22px 24px;
  color: #008D99;
  font-size: 12.5px;
  text-align: center;
}

.shared-footer .footer__bottom p {
  margin: 0;
}

@media (max-width: 1024px) {
  .shared-footer .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .shared-footer {
    padding-top: 48px;
  }

  .shared-footer .footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .shared-footer .logo__img--footer {
    margin-inline: auto;
  }

  .shared-footer .socials,
  .shared-footer .footer__contact li {
    justify-content: center;
  }

  .shared-footer .footer__col + .footer__col {
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
  }
}

/* Banner de contacto movil compartido en todo el sitio. */
.contact-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  z-index: 9999;
  display: flex;
  justify-content: space-around;
  align-items: center;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid #0FC8D8;
  box-shadow: 0 -6px 22px rgba(0, 60, 72, 0.14);
  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;
  min-height: 58px;
  position: relative;
  color: inherit;
  background: transparent;
  text-decoration: none;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

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

.contact-icon-bottom i {
  width: 48px;
  height: 48px;
  border: 1px solid #0FC8D8;
  border-radius: 50%;
  color: #003C48;
  background: #edf8fd;
  font-size: 22px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 2px 6px rgba(0, 60, 72, 0.08);
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.contact-icon-bottom:nth-child(2) i {
  border-color: transparent;
  color: #fff;
  background: linear-gradient(135deg, #0FC8D8, #008D99);
  box-shadow: 0 3px 8px rgba(0, 60, 72, 0.14);
}

.contact-icon-bottom:nth-child(3) i {
  border-color: #0FC8D8;
  color: #008D99;
  background: #eafafa;
  box-shadow: 0 2px 6px rgba(0, 141, 153, 0.09);
}

.contact-booking-hint {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 9px);
  z-index: 2;
  min-width: max-content;
  padding: 9px 14px;
  border: 1px solid rgba(0, 141, 153, 0.22);
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, #0FC8D8, #008D99);
  box-shadow: 0 7px 18px rgba(0, 60, 72, 0.18);
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.01em;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px) scale(0.96);
  animation: contactBookingHint 5.4s ease 0.8s both;
}

.contact-booking-hint::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  width: 0;
  height: 0;
  border: 7px solid transparent;
  border-top-color: #008D99;
  transform: translateX(-50%);
}

@keyframes contactBookingHint {
  0% {
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 8px) scale(0.96);
  }

  12%, 76% {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0) scale(1);
  }

  100% {
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 4px) scale(0.98);
  }
}

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

.contact-icon-bottom:hover i,
.contact-icon-bottom:focus i {
  transform: scale(1.08);
  background: #edf8fd;
  box-shadow: 0 3px 9px rgba(0, 60, 72, 0.12);
}

.contact-icon-bottom:nth-child(2):hover i,
.contact-icon-bottom:nth-child(2):focus i {
  background: linear-gradient(135deg, #0FC8D8, #008D99);
}

.contact-icon-bottom:nth-child(3):hover i,
.contact-icon-bottom:nth-child(3):focus i {
  background: #eafafa;
}

.contact-icon-bottom:focus-visible {
  outline: none;
}

.contact-icon-bottom:active {
  color: inherit;
  background: transparent;
}

.contact-icon-bottom:active i {
  transform: scale(0.96);
}

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

/* Escala tipografica compartida para mantener una jerarquia consistente. 
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

main :where(h1):not(.visually-hidden):not(:where(#siliconriver-app *)) {
  font-family: "Poppins", sans-serif;
  font-size: clamp(38px, 5vw, 60px) !important;
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -0.04em;
}

main :where(h2):not(.visually-hidden):not(:where(#siliconriver-app *)) {
  font-family: "Poppins", sans-serif;
  font-size: clamp(28px, 3.2vw, 40px) !important;
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.035em;
}

main :where(h3):not(.visually-hidden):not(:where(#siliconriver-app *)) {
  font-family: "Poppins", sans-serif;
  font-size: clamp(18px, 2vw, 24px) !important;
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: -0.025em;
}

@media (max-width: 767.98px) {
  main :where(h1):not(.visually-hidden):not(:where(#siliconriver-app *)) {
    font-size: clamp(32px, 10vw, 42px) !important;
  }

  main :where(h2):not(.visually-hidden):not(:where(#siliconriver-app *)) {
    font-size: clamp(25px, 7.5vw, 34px) !important;
  }

  main :where(h3):not(.visually-hidden):not(:where(#siliconriver-app *)) {
    font-size: clamp(17px, 5.2vw, 21px) !important;
  }
}
*/

/* ============================================================
   BUSCADOR GLOBAL MEDISIS
   ============================================================ */
:root {
  --medisis-searchbar-height: 52px;
  --medisis-search-navy: #003C48;
  --medisis-search-blue: #008D99;
  --medisis-search-cyan: #008D99;
  --medisis-search-ink: #003C48;
}

[data-include="menu"] {
  min-height: calc(88px + var(--medisis-searchbar-height));
}

@media (max-width: 767.98px) {
  [data-include="menu"] {
    min-height: 116px;
  }
}

.search-sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.medisis-searchbar,
.medisis-searchbar *,
.medisis-searchbar *::before,
.medisis-searchbar *::after {
  box-sizing: border-box;
}

.medisis-searchbar {
  position: sticky;
  top: 0;
  z-index: 10001;
  width: 100%;
  min-height: var(--medisis-searchbar-height);
  color: #fff;
  background:
    radial-gradient(circle at 72% -120%, rgba(0, 141, 153, .42), transparent 42%),
    linear-gradient(90deg, #0FC8D8 0%, var(--medisis-search-cyan) 65%, #008D99 100%);
  border-bottom: 1px solid rgba(255, 255, 255, .09);
  font-family: "Inter", Arial, sans-serif;
  box-shadow: 0 4px 18px rgba(0, 60, 72, .13);
}

.medisis-searchbar__inner {
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
  width: min(100%, 1540px);
  min-height: var(--medisis-searchbar-height);
  margin: 0 auto;
  padding-left: 24px;
}

.medisis-searchbar ~ .shared-header {
  top: var(--medisis-searchbar-height);
}

.site-search {
  position: relative;
  z-index: 2;
  align-self: center;
  flex: 0 1 236px;
  width: 236px;
  height: 42px;
  margin-right: 8px;
  transition: width .42s cubic-bezier(.22, 1, .36, 1), flex-basis .42s cubic-bezier(.22, 1, .36, 1);
}

.site-search.is-open {
  flex-basis: min(470px, 42vw);
  width: min(470px, 42vw);
}

.site-search button,
.site-search input {
  font: inherit;
}

.site-search button {
  border: 0;
  cursor: pointer;
}

.site-search__launcher,
.site-search__form {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 42px;
  border-radius: 11px;
}

.site-search__launcher {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0 12px 0 15px;
  color: rgba(255, 255, 255, .93);
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .13) !important;
  transition: opacity .18s ease, transform .32s ease, background .2s ease, border-color .2s ease;
}

.site-search__launcher:hover,
.site-search__launcher:focus-visible {
  background: rgba(255, 255, 255, .14);
  border-color: rgba(255, 255, 255, .26) !important;
  outline: none;
}

.site-search__launcher > i {
  color: #0FC8D8;
  font-size: 14px;
}

.site-search__launcher > span {
  flex: 1;
  overflow: hidden;
  font-size: 13px;
  font-weight: 600;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-search__launcher kbd,
.site-search__help kbd {
  display: inline-grid;
  place-items: center;
  min-width: 21px;
  min-height: 20px;
  padding: 2px 5px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 5px;
  color: rgba(255, 255, 255, .72);
  background: rgba(255, 255, 255, .08);
  box-shadow: none;
  font-family: "Inter", sans-serif;
  font-size: 9px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.site-search__form {
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--medisis-search-ink);
  background: #fff;
  border: 1px solid rgba(0, 141, 153, .3);
  box-shadow: 0 10px 30px rgba(0, 60, 72, .2);
  opacity: 0;
  pointer-events: none;
  transform: scaleX(.72);
  transform-origin: right center;
  transition: opacity .18s ease, transform .42s cubic-bezier(.22, 1, .36, 1), box-shadow .2s ease;
}

.site-search.is-open .site-search__launcher {
  opacity: 0;
  pointer-events: none;
  transform: translateX(24px) scale(.94);
}

.site-search.is-open .site-search__form {
  opacity: 1;
  pointer-events: auto;
  transform: scaleX(1);
}

.site-search__form:focus-within {
  border-color: #008D99;
  box-shadow: 0 0 0 3px rgba(0, 141, 153, .14), 0 12px 32px rgba(0, 60, 72, .22);
}

.site-search__input-icon {
  flex: 0 0 auto;
  margin-left: 15px;
  color: var(--medisis-search-blue);
  font-size: 14px;
}

.site-search__input {
  min-width: 0;
  flex: 1;
  height: 100%;
  padding: 0 10px;
  color: #003C48;
  background: transparent;
  border: 0;
  outline: 0;
  font-size: 13.5px;
  font-weight: 500;
  appearance: none;
}

.site-search__input::-webkit-search-cancel-button {
  display: none;
}

.site-search__input::placeholder {
  color: #008D99;
  opacity: 1;
}

.site-search__clear,
.site-search__close {
  display: grid;
  place-items: center;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  margin-right: 4px;
  border-radius: 8px;
  color: #003C48;
  background: transparent;
  transition: color .18s ease, background .18s ease, transform .18s ease;
}

.site-search__clear:hover,
.site-search__close:hover,
.site-search__clear:focus-visible,
.site-search__close:focus-visible {
  color: #003C48;
  background: #eaf7fd;
  outline: none;
}

.site-search__clear:active,
.site-search__close:active {
  transform: scale(.9);
}

.site-search__clear[hidden] {
  display: none;
}

.site-search__close {
  margin-right: 5px;
}

.site-search__panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: min(620px, calc(100vw - 32px));
  max-height: min(620px, calc(100vh - 84px));
  overflow: hidden auto;
  padding: 10px;
  color: var(--medisis-search-ink);
  background: rgba(255, 255, 255, .985);
  border: 1px solid rgba(0, 141, 153, .18);
  border-radius: 18px;
  box-shadow: 0 24px 64px rgba(0, 60, 72, .24);
  opacity: 0;
  transform: translateY(-8px) scale(.985);
  transform-origin: top right;
}

.site-search__panel[hidden] {
  display: none;
}

.site-search__panel.is-visible {
  animation: medisisSearchPanelIn .28s cubic-bezier(.22, 1, .36, 1) forwards;
}

@keyframes medisisSearchPanelIn {
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.site-search__status {
  min-height: 24px;
  padding: 7px 10px 3px;
  color: #008D99;
  font-size: 11.5px;
  font-weight: 600;
}

.site-search__status.is-loading::before {
  content: "";
  display: inline-block;
  width: 11px;
  height: 11px;
  margin-right: 8px;
  border: 2px solid #0FC8D8;
  border-top-color: var(--medisis-search-blue);
  border-radius: 50%;
  vertical-align: -1px;
  animation: medisisSearchSpin .7s linear infinite;
}

@keyframes medisisSearchSpin { to { transform: rotate(360deg); } }

.site-search__suggestions {
  padding: 8px 10px 13px;
}

.site-search__suggestions > span {
  display: block;
  margin-bottom: 9px;
  color: #003C48;
  font-family: "Poppins", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.site-search__suggestions > div {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.site-search__suggestions button {
  padding: 7px 11px;
  color: #003C48;
  background: #eff9fd;
  border: 1px solid #0FC8D8;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  transition: color .18s ease, background .18s ease, border-color .18s ease, transform .18s ease;
}

.site-search__suggestions button:hover,
.site-search__suggestions button:focus-visible {
  color: #fff;
  background: var(--medisis-search-blue);
  border-color: var(--medisis-search-blue);
  outline: none;
  transform: translateY(-1px);
}

.site-search__results {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-search__result-link {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  min-height: 68px;
  padding: 9px 11px;
  color: inherit;
  border: 1px solid transparent;
  border-radius: 12px;
  text-decoration: none;
  transition: background .16s ease, border-color .16s ease, transform .16s ease;
}

.site-search__result-link:hover,
.site-search__result-link:focus-visible,
.site-search__result-link.is-active {
  color: inherit;
  background: linear-gradient(90deg, #f0faff, #f8fcff);
  border-color: #0FC8D8;
  outline: none;
  transform: translateX(2px);
}

.site-search__result-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: #fff;
  background: linear-gradient(135deg, #0FC8D8, #008D99);
  border-radius: 11px;
  box-shadow: 0 6px 14px rgba(0, 60, 72, .18);
  font-size: 14px;
}

/* Iconos clínicos locales: no dependen del catálogo premium de Font Awesome. */
.site-search__result-icon .fa-stomach::before,
.site-search__result-icon .fa-tooth::before {
  content: "";
  display: block;
  width: 1.55em;
  height: 1.55em;
  background: currentColor;
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: contain;
}

.site-search__result-icon .fa-stomach::before {
  -webkit-mask-image: 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");
  mask-image: 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");
}

.site-search__result-icon .fa-tooth::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M18 7C10 9 6 16 8 25c2 8 5 12 7 22 1 7 3 11 8 11 6 0 5-14 9-14s3 14 9 14c5 0 7-4 8-11 2-10 5-14 7-22 2-9-2-16-10-18-5-2-9 2-14 2S23 5 18 7Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M18 7C10 9 6 16 8 25c2 8 5 12 7 22 1 7 3 11 8 11 6 0 5-14 9-14s3 14 9 14c5 0 7-4 8-11 2-10 5-14 7-22 2-9-2-16-10-18-5-2-9 2-14 2S23 5 18 7Z'/%3E%3C/svg%3E");
}

.site-search__result-copy {
  min-width: 0;
}

.site-search__result-title {
  display: block;
  overflow: hidden;
  color: #003C48;
  font-family: "Poppins", sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-search__result-context {
  display: block;
  overflow: hidden;
  margin-top: 4px;
  color: #008D99;
  font-size: 11px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-search__result-type {
  align-self: start;
  margin-top: 2px;
  padding: 4px 7px;
  color: #003C48;
  background: #eaf7fd;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.site-search mark {
  margin: 0 1px;
  padding: 1px 4px;
  color: #003C48;
  background: rgba(15, 200, 216, .13);
  border: 1px solid rgba(0, 141, 153, .18);
  border-radius: 6px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .38);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.site-search__empty {
  padding: 28px 18px 32px;
  color: #008D99;
  text-align: center;
}

.site-search__empty i {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  color: #008D99;
  background: #eaf7fd;
  border-radius: 50%;
  font-size: 18px;
}

.site-search__empty strong {
  display: block;
  margin-bottom: 5px;
  color: #003C48;
  font-family: "Poppins", sans-serif;
  font-size: 13px;
}

.site-search__empty p {
  margin: 0;
  font-size: 11.5px;
}

.site-search__help {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 6px;
  padding: 9px 10px 3px;
  color: #008D99;
  border-top: 1px solid #edf3f7;
  font-size: 9.5px;
}

.site-search__help span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.site-search__help kbd {
  min-width: 18px;
  min-height: 18px;
  color: #003C48;
  background: #f1f6f9;
  border-color: #dce8ef;
  font-size: 8px;
}

.medisis-searchbar__actions {
  display: flex;
  align-items: stretch;
  flex: 0 0 auto;
}

.medisis-searchbar__actions > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: var(--medisis-searchbar-height);
  padding: 0 clamp(11px, 1.2vw, 18px);
  color: rgba(255, 255, 255, .94);
  border-left: 1px solid rgba(255, 255, 255, .1);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: color .18s ease, background .18s ease;
}

.medisis-searchbar__actions > a:hover,
.medisis-searchbar__actions > a:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, .08);
  outline: none;
}

.medisis-top-contact__icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  color: #0FC8D8;
  background: rgba(0, 141, 153, .1);
  border: 1px solid rgba(15, 200, 216, .24);
  border-radius: 50%;
  transition: color .18s ease, background .18s ease, border-color .18s ease, transform .18s ease;
}

.medisis-top-contact__icon i {
  color: inherit;
  font-size: 12px;
}

.medisis-top-contact__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.05;
}

.medisis-top-contact__content > span {
  color: #0FC8D8;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .035em;
  text-transform: uppercase;
}

.medisis-top-contact__content strong {
  margin-top: 3px;
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .01em;
}

.medisis-top-contact__content small {
  margin-top: 2px;
  color: rgba(255, 255, 255, .62);
  font-size: 7px;
  font-weight: 500;
}

.medisis-top-contact:hover .medisis-top-contact__icon,
.medisis-top-contact:focus-visible .medisis-top-contact__icon {
  color: #fff;
  background: rgba(0, 141, 153, .24);
  border-color: rgba(15, 200, 216, .52);
  transform: translateY(-1px);
}

@media (max-width: 1279.98px) {
  .medisis-top-contact__content small {
    display: none;
  }

  .site-search.is-open {
    flex-basis: min(440px, 46vw);
    width: min(440px, 46vw);
  }
}

@media (max-width: 899.98px) {
  .medisis-top-contact__content > span,
  .medisis-top-contact__content small {
    display: none;
  }

  .medisis-searchbar__actions > a {
    width: auto;
    padding: 0 10px;
  }

  .site-search,
  .site-search.is-open {
    flex: 1 1 auto;
    width: auto;
  }
}

@media (max-width: 640px) {
  :root {
    --medisis-searchbar-height: 56px;
  }

  .medisis-searchbar__inner {
    padding: 0 10px;
  }

  .site-search,
  .site-search.is-open {
    height: 42px;
    margin: 7px 0;
  }

  .site-search__launcher,
  .site-search__form {
    height: 42px;
  }

  .site-search__launcher kbd {
    display: none;
  }

  .medisis-searchbar__actions {
    display: none;
  }

  .site-search__panel {
    position: fixed;
    top: calc(var(--medisis-searchbar-height) + 7px);
    right: 8px;
    left: 8px;
    width: auto;
    max-height: calc(100dvh - var(--medisis-searchbar-height) - 16px);
    border-radius: 15px;
  }

  .site-search__input {
    font-size: 12.5px;
  }

  .site-search__input::placeholder {
    font-size: 11.5px;
  }

  .site-search__result-link {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .site-search__result-type {
    display: none;
  }

  .site-search__help {
    display: none;
  }
}

/* Encabezado compacto solo para teléfonos. */
@media (max-width: 767.98px) {
  [data-include="menu"] {
    min-height: calc(58px + var(--medisis-searchbar-height));
  }

  .shared-header .header__inner {
    min-height: 58px;
    padding-top: 4px;
    padding-bottom: 4px;
  }

  .shared-header .logo__img {
    width: auto;
    height: 38px;
    max-width: min(46vw, 170px);
    object-fit: contain;
  }

  .shared-header .nav {
    top: 58px;
  }

  .shared-header .nav.nav--open {
    max-height: calc(100dvh - 58px);
  }

  .shared-header .nav__toggle {
    display: inline-flex;
    width: 42px;
    height: 42px;
    padding: 0;
    align-items: center;
    justify-content: center;
    font-size: 21px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-search,
  .site-search__launcher,
  .site-search__form,
  .site-search__result-link,
  .site-search__suggestions button {
    transition-duration: .01ms !important;
  }

  .site-search__panel.is-visible {
    animation-duration: .01ms !important;
  }
}
