/* ==========================================================================
   Rediseño del header y del Home
   - Header delgado, transparente sobre el hero, oculto al bajar y blanco al subir
   - Selector de país compacto (CO | MX | FR | BR)
   - Barra delgada del evento arriba del header
   - Slider a pantalla completa (sin flechas ni puntos con una sola imagen/video)
   - Frase de marca y sección de video "Así entendemos la medicina estética"
   ========================================================================== */

:root {
  --odella-bar-h: 0px;
}
body.has-event-bar {
  --odella-bar-h: 36px;
}
@media (max-width: 767.98px) {
  body.has-event-bar {
    --odella-bar-h: 40px;
  }
}

/* ---------- Header: más delgado ---------- */
.odellaHeader-content {
  height: 68px;
  padding: 0 40px;
}
.odellaHeader-content-logo img {
  height: 44px;
}
.odellaHeader-content-main {
  height: 68px;
  gap: 24px;
}
@media (max-width: 1023.98px) {
  .odellaHeader-content {
    height: 62px;
    padding: 0 5vw;
  }
  .odellaHeader-content-logo img {
    height: 38px;
  }
  .odellaHeader-content-main {
    height: 62px;
    gap: 14px;
  }
  .odellaHeader-content-main-menu-icon {
    width: 26px;
    height: 26px;
  }
}

/* ---------- Posición del header ----------
   Se mueve con la página (no es fijo): arriba del todo queda bajo la barra del evento y al bajar se va
   con el scroll natural. Al subir reaparece fijo arriba (clase --fixed); si se vuelve a bajar se queda
   en el punto donde estaba (clase --suelto). */
:root {
  --odella-adm: 0px;       /* desplazamiento del documento por la barra de WordPress (sesión iniciada) */
  --odella-adm-fixed: 0px; /* alto de la barra de WordPress cuando es fija */
}
body.admin-bar {
  --odella-adm: 32px;
  --odella-adm-fixed: 32px;
}
@media (max-width: 782px) {
  body.admin-bar {
    --odella-adm: 46px;
    --odella-adm-fixed: 46px;
  }
}
@media (max-width: 600px) {
  body.admin-bar {
    --odella-adm-fixed: 0px; /* en pantallas pequeñas la barra de WordPress se va con la página */
  }
}
html body .odellaHeader {
  position: absolute;
  top: calc(var(--odella-bar-h, 0px) + var(--odella-adm, 0px)) !important;
}
html body .odellaHeader.odellaHeader--suelto {
  top: var(--odella-top-suelto, 0px) !important;
}
html body .odellaHeader.odellaHeader--fixed {
  position: fixed;
  top: var(--odella-adm-fixed, 0px) !important;
  animation: odellaHeaderEntra 0.25s ease;
}
@keyframes odellaHeaderEntra {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Transiciones del fondo del header */
.odellaHeader {
  transition: background-color 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}

/* Subrayado fino al pasar el cursor sobre el menú */
.odellaHeader-content-main-nav-list-item > a::after,
.odellaHeader-content-main-nav-list-dropdown > a::after {
  height: 1px;
}

/* ---------- Selector de país (desplegable) ---------- */
.odellaHeader-content-main-actions-country .reset-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
}
.odellaHeader-countries {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
}
.odellaHeader-countries-toggle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 2px;
  background: none;
  border: 0;
  cursor: pointer;
  font-family: "Poppins", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1;
  color: #fff;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}
.odellaHeader-countries-toggle svg {
  width: 10px;
  height: 6px;
  transition: transform 0.2s ease;
}
.odellaHeader-countries.is-open .odellaHeader-countries-toggle svg {
  transform: rotate(180deg);
}
.odellaHeader-countries-toggle:hover .odellaHeader-countries-code,
.odellaHeader-countries.is-open .odellaHeader-countries-code {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
}
.odellaHeader:not(.hero-over) .odellaHeader-countries-toggle,
.odellaHeader.active .odellaHeader-countries-toggle,
.odellaHeader.solid .odellaHeader-countries-toggle {
  color: #041E42;
  text-shadow: none;
}
.odellaHeader-countries-list {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  z-index: 2100;
  min-width: 260px;
  max-height: min(70vh, 440px);
  overflow-y: auto;
  margin: 0;
  padding: 8px;
  list-style: none;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 18px 40px -12px rgba(4, 30, 66, 0.35), 0 0 0 1px rgba(4, 30, 66, 0.06);
}
.odellaHeader-countries-list[hidden] {
  display: none;
}
.odellaHeader-countries-list li {
  margin: 0;
  padding: 0;
}
.odellaHeader .odellaHeader-countries-list .odellaHeader-country {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 12px;
  border-radius: 8px;
  color: #041E42;
  text-shadow: none;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0;
  opacity: 1;
}
.odellaHeader .odellaHeader-countries-list a.odellaHeader-country:hover {
  background: #f1f5f9;
}
.odellaHeader-country-code {
  min-width: 2.4em;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.odellaHeader-country-name {
  flex: 1;
}
.odellaHeader .odellaHeader-countries-list .odellaHeader-country.is-current {
  background: #eaf0f7;
  font-weight: 600;
}
.odellaHeader .odellaHeader-countries-list .odellaHeader-country.is-current::after {
  content: "";
  width: 6px;
  height: 11px;
  margin-left: auto;
  border-right: 2px solid #041E42;
  border-bottom: 2px solid #041E42;
  transform: rotate(45deg) translateY(-2px);
}
.odellaHeader .odellaHeader-countries-list .odellaHeader-country.is-disabled {
  opacity: 0.5;
  cursor: default;
}
.odellaHeader-country.is-disabled em {
  margin-left: auto;
  font-size: 11px;
  font-style: normal;
}

/* ---------- Barra del evento (arriba del header) ---------- */
.odellaEventBar {
  position: relative;
  z-index: 1999;
  height: var(--odella-bar-h, 40px);
  display: flex;
  align-items: center;
  background-color: var(--bar-bg, #041E42);
  background-size: cover;
  background-position: center;
  color: var(--bar-fg, #fff);
  font-family: "Poppins", sans-serif;
  font-size: 11.5px;
  line-height: 1;
}
.odellaEventBar--img::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--bar-bg, #041E42);
  opacity: 0.6;
}
.odellaEventBar-inner {
  position: relative;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  white-space: nowrap;
}
.odellaEventBar-logo {
  height: 17px;
  width: auto;
  object-fit: contain;
}
.odellaEventBar-text {
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 48ch;
  letter-spacing: 0.01em;
}
.odellaEventBar .odellaEventBar-countdown {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  padding: 0;
  background: none;
  font-variant-numeric: tabular-nums;
}
.odellaEventBar .odellaEventBar-countdown .countdown-item {
  display: inline-flex;
  flex-direction: row;
  align-items: baseline;
  gap: 2px;
  margin: 0;
  padding: 0;
  min-width: 0;
  background: none;
  border: 0;
}
.odellaEventBar .odellaEventBar-countdown .countdown-value {
  display: inline;
  min-width: 2ch;
  margin: 0;
  padding: 0;
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  text-align: right;
  color: inherit;
}
.odellaEventBar .odellaEventBar-countdown .countdown-label {
  font-size: 9px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
  opacity: 0.7;
  text-transform: lowercase;
  color: inherit;
}
.odellaEventBar-link {
  color: inherit;
  text-decoration: none;
  font-size: 10.5px;
  font-weight: 500;
  padding-bottom: 2px;
  border-bottom: 1px solid currentColor;
}
.odellaEventBar-link:hover {
  opacity: 0.8;
}
@media (max-width: 767.98px) {
  .odellaEventBar-inner {
    padding: 0 4vw;
    gap: 14px;
  }
  .odellaEventBar-text {
    display: none;
  }
  .odellaEventBar-logo {
    height: 16px;
  }
}

/* ---------- Slider principal: pantalla completa ---------- */
.odellaSlider--home {
  height: calc(100vh - var(--odella-bar-h, 0px));
  height: calc(100dvh - var(--odella-bar-h, 0px));
  min-height: 480px;
  margin: 0;
  background: #fff;
}
.odellaSlider--home .odellaSlider-content,
.odellaSlider--home .odellaSlider-content-item,
.odellaSlider--home .odellaSlider-content-item picture {
  height: 100%;
}
.odellaSlider--home .odellaSlider-content-item img,
.odellaSlider--home .odellaSlider-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
@media (max-width: 991.98px) {
  .odellaSlider--home .odellaSlider-content-item img {
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
}
.odellaSlider--single .odellaSlider-content {
  transform: none !important;
}

/* ---------- Revelado suave de secciones ---------- */
html.js-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
html.js-reveal [data-reveal].is-in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  html.js-reveal [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .odellaHeader {
    transition: none;
  }
}

/* ---------- Frase de marca ---------- */
.odellaFraseMarca {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background-color: var(--fm-bg, #041E42);
  background-size: cover;
  background-position: center;
  color: var(--fm-fg, #fff);
  padding: clamp(25px, 0.5vw, 33px) 6vw;
  text-align: center;
}
.odellaFraseMarca--img::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--fm-bg, #041E42);
  opacity: 0.72;
  z-index: -1;
}
/* La "ā" del logo de Odellā, grande y muy tenue al fondo */
.odellaFraseMarca-bg {
  position: absolute;
  z-index: -1;
  right: 4%;
  top: 50%;
  height: 170%;
  width: auto;
  transform: translateY(-46%);
  color: currentColor;
  opacity: 0.06;
  pointer-events: none;
  user-select: none;
}
.odellaFraseMarca-bg--img {
  height: auto;
  width: clamp(260px, 36vw, 560px);
  object-fit: contain;
}
.odellaFraseMarca-inner {
  max-width: none;
  margin: 0 auto;
}
.odellaFraseMarca-line {
  display: block;
  width: 40px;
  height: 1px;
  margin: 0 auto 18px;
  background: currentColor;
  opacity: 0.55;
}
.odellaFraseMarca-text {
  margin: 0;
  font-family: "Poppins", sans-serif;
  font-weight: 200;
  /* En desktop la frase cabe en una sola línea: 24 px y baja un poco en pantallas más angostas */
  font-size: min(20px, 1.7vw);
  line-height: 1.6;
  letter-spacing: 0.08em;
  text-wrap: balance;
  color: inherit;
}
.odellaFraseMarca-text strong,
.odellaFraseMarca-text b,
.odellaFraseMarca-text em,
.odellaFraseMarca-text i {
  font-style: normal;
  font-weight: 400;
}
.odellaFraseMarca--left {
  text-align: left;
}
.odellaFraseMarca--left .odellaFraseMarca-inner {
  margin-left: max(0px, calc((100% - 1200px) / 2));
}
.odellaFraseMarca--left .odellaFraseMarca-line {
  margin-left: 0;
}
@media (max-width: 767.98px) {
  .odellaFraseMarca-bg {
    right: -14%;
    height: 130%;
  }
  /* En celular la frase se reparte en dos líneas parejas */
  .odellaFraseMarca-text {
    font-size: clamp(12px, 3.6vw, 20px);
    letter-spacing: 0.05em;
    text-wrap: balance;
  }
}

/* ---------- Así entendemos la medicina estética (video) ---------- */
.odellaMedicina-titulo {
  padding-top: clamp(40px, 5vw, 70px);
}
.odellaMedicina {
  width: 94%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 0 clamp(40px, 2vw, 90px);
}
.odellaMedicina-desc {
  max-width: 720px;
  margin: 0 0 28px;
  text-align: left;
  font-size: 17px;
  line-height: 1.6;
  color: #4a4a4a;
}
.odellaMedicina-video {
  position: relative;
  max-width: 1100px;
  aspect-ratio: var(--mv-ratio, 16 / 9);
  border-radius: 18px;
  overflow: hidden;
  background: #0b1b33;
  box-shadow: 0 24px 60px -28px rgba(4, 30, 66, 0.45);
}
.odellaMedicina-video iframe,
.odellaMedicina-video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}
@media (max-width: 767.98px) {
  .odellaMedicina-video {
    border-radius: 12px;
  }
}

/* ---------- Header "liquid glass" ---------- */
/* El header en sí no lleva fondo: el vidrio está en ::before (así los menús grandes pueden desenfocar también). */
html body .odellaHeader,
html body .odellaHeader:hover,
html body .odellaHeader.active,
html body .odellaHeader.solid,
html body .odellaHeader.odellaHeader--filled {
  background-color: transparent !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  box-shadow: none !important;
  transform: translateZ(0); /* el header es siempre el punto de referencia de sus menús grandes */
}
.odellaHeader::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.44) 0%, rgba(255, 255, 255, 0.28) 100%);
  -webkit-backdrop-filter: blur(24px) saturate(190%);
  backdrop-filter: blur(24px) saturate(190%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75), 0 10px 30px -14px rgba(4, 30, 66, 0.35);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.odellaHeader.active::before,
.odellaHeader.solid::before,
.odellaHeader.odellaHeader--filled::before,
.odellaHeader:not(.hero-over):hover::before {
  opacity: 1;
}
/* Textos y logo oscuros cuando hay vidrio (al subir la página) */
html body .odellaHeader.odellaHeader--filled:not(.zz1):not(.zz2):not(.zz3) .odellaHeader-content-logo-white,
html body .odellaHeader.odellaHeader--filled:not(.zz1):not(.zz2):not(.zz3) .odellaHeader-content-main-menu-icon.white {
  display: none !important;
}
html body .odellaHeader.odellaHeader--filled:not(.zz1):not(.zz2):not(.zz3) .odellaHeader-content-logo-color,
html body .odellaHeader.odellaHeader--filled:not(.zz1):not(.zz2):not(.zz3) .odellaHeader-content-main-menu-icon.color {
  display: block !important;
}
html body .odellaHeader.odellaHeader--filled:not(.zz1):not(.zz2):not(.zz3) .odellaHeader-content-main-nav-list-item > a,
html body .odellaHeader.odellaHeader--filled:not(.zz1):not(.zz2):not(.zz3) .odellaHeader-content-main-nav-list-dropdown > a,
html body .odellaHeader.odellaHeader--filled:not(.zz1):not(.zz2):not(.zz3) .odellaHeader-countries-toggle {
  color: #041E42 !important;
  text-shadow: none !important;
}

/* ---------- Menús pegajosos: se pegan debajo del header visible (sin hueco cuando el header se esconde) ---------- */
.odellaDermo-content-nav,
.odellaFabricantes-content-nav,
.odellaInyectable-productos-nav,
.odellaCategoria-filters-sticky,
body.admin-bar .odellaCategoria-filters-sticky {
  top: var(--odella-header-bottom, 68px) !important;
  transition: top 0.35s ease;
}
.odellaNecesidad-content-container,
.odellaEspecialidad-content-container,
.odellaNotaInterna-sidebar {
  top: calc(var(--odella-header-bottom, 68px) + 20px);
  transition: top 0.35s ease;
}

/* ---------- Menús grandes del header (desktop): pegados al header, con efecto vidrio ---------- */
@media (min-width: 1024px) {
  .odellaHeader-content-main-nav-list-item-submenu,
  .odellaHeader-content-main-nav-list-dropdown-submenu {
    top: 100%; /* el header es su punto de referencia: queda exactamente debajo, sin hueco */
    max-height: calc(100vh - 68px);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.36) 0%, rgba(255, 255, 255, 0.2) 100%) !important;
    -webkit-backdrop-filter: blur(30px) saturate(200%) brightness(1.05) !important;
    backdrop-filter: blur(30px) saturate(200%) brightness(1.05) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 28px 40px -26px rgba(4, 30, 66, 0.45) !important;
  }
  /* Con menos blanco, los textos del menú pasan a azul oscuro y un poco más marcados para que se lean */
  .odellaHeader-content-main-nav-list-dropdown-submenu a,
  .odellaHeader-content-main-nav-list-item-submenu a,
  .odellaHeader-content-main-nav-list-dropdown-submenu-item-cat,
  .odellaHeader-content-main-nav-list-dropdown-submenu-item > a {
    color: #041E42 !important;
    font-weight: 500;
    text-shadow: none;
  }
}

/* Slider del Home: sin el degradado oscuro de la parte superior */
.odellaSlider--home::before {
  display: none;
}

/* Letras del menú del header sin sombra */
html body .odellaHeader .odellaHeader-content-main-nav-list-item > a,
html body .odellaHeader .odellaHeader-content-main-nav-list-dropdown > a,
html body .odellaHeader .odellaHeader-countries-toggle {
  text-shadow: none !important;
}

/* ---------- Slider del Home: descripción (tamaño editable) y contenido centrado ---------- */
.odellaSlider--home .odellaSlider-content-item-info-desc {
  /* El tamaño del admin, pero nunca más de 9 % del ancho de la pantalla (así no se sale en pantallas angostas) */
  font-size: min(var(--slide-desc-size, 18px), 9vw);
}
@media (max-width: 575.98px) {
  .odellaSlider--home .odellaSlider-content-item-info-desc {
    font-size: min(var(--slide-desc-size-m, 14px), 11vw);
  }
}
.odellaSlider .odellaSlider-content-item .odellaSlider-content-item-info--center {
  left: 50%;
  right: auto;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(82%, 1100px);
  text-align: center;
  align-items: center;
}
.odellaSlider-content-item-info--center > * {
  align-self: center;
}
.odellaSlider-content-item-info--center .odellaSlider-content-item-info-logo,
.odellaSlider-content-item-info--center .odellaSlider-content-item-info-btn {
  margin-left: auto;
  margin-right: auto;
}
.odellaSlider-content-item-info--center .odellaSlider-content-item-info-desc,
.odellaSlider-content-item-info--center .odellaSlider-content-item-info-desc p {
  text-align: center;
}
@media (max-width: 991.98px) {
  .odellaSlider .odellaSlider-content-item .odellaSlider-content-item-info--center {
    left: 50%;
    right: auto;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 86%;
  }
}
@media (max-width: 575.98px) {
  .odellaSlider .odellaSlider-content-item .odellaSlider-content-item-info--center {
    top: 50%;
    left: 50%;
    right: auto;
    width: 90%;
  }
}

/* ---------- reCAPTCHA: distintivo oculto (permitido por Google con el aviso legal en cada formulario) ---------- */
.grecaptcha-badge {
  visibility: hidden !important;
}
.odellaRecaptchaNota {
  margin: 14px 0 0;
  font-size: 11px;
  line-height: 1.5;
  text-align: center;
  color: #6b7280;
}
.odellaRecaptchaNota a {
  color: inherit;
  text-decoration: underline;
}

/* Video de medicina estética: sin franjas negras (la caja toma la proporción del video) */
.odellaMedicina-video--ancho {
  max-width: none; /* los videos muy anchos (tipo banner) usan todo el ancho de la sección */
}
.odellaMedicina-video--natural {
  aspect-ratio: auto;
  background: transparent;
}
.odellaMedicina-video--natural video {
  position: static;
  display: block;
  height: auto;
}

/* Slider del Home: contenido abajo o arriba, y descripción en líneas parejas */
.odellaSlider--home .odellaSlider-content-item-info-desc,
.odellaSlider--home .odellaSlider-content-item-info-desc p {
  text-wrap: balance;
}
.odellaSlider .odellaSlider-content-item .odellaSlider-content-item-info.odellaSlider-content-item-info--v-bottom {
  top: auto;
  bottom: 9%;
  transform: none;
}
.odellaSlider .odellaSlider-content-item .odellaSlider-content-item-info.odellaSlider-content-item-info--v-top {
  top: 16%;
  transform: none;
}
.odellaSlider .odellaSlider-content-item .odellaSlider-content-item-info--center.odellaSlider-content-item-info--v-bottom,
.odellaSlider .odellaSlider-content-item .odellaSlider-content-item-info--center.odellaSlider-content-item-info--v-top {
  transform: translateX(-50%);
}
@media (max-width: 991.98px) {
  .odellaSlider .odellaSlider-content-item .odellaSlider-content-item-info.odellaSlider-content-item-info--v-bottom {
    top: auto;
    bottom: 8%;
  }
}

/* Slider centrado: la descripción se reparte en dos líneas parejas (el ancho sigue al tamaño de la letra) */
.odellaSlider-content-item-info--center .odellaSlider-content-item-info-desc {
  max-width: 18em;
  margin-left: auto;
  margin-right: auto;
}

/* El párrafo de la descripción hereda el tamaño elegido en el admin (antes lo fijaba el tema) */
.odellaSlider--home .odellaSlider-content-item-info-desc p {
  font-size: inherit;
  line-height: inherit;
  margin: 0;
}

/* Header: sin sombra ni brillo en ninguna letra */
html body .odellaHeader,
html body .odellaHeader * {
  text-shadow: none !important;
}

/* Descripción del slider: letra light y interlineado más cerrado */
.odellaSlider--home .odellaSlider-content-item-info-desc,
.odellaSlider--home .odellaSlider-content-item-info-desc p {
  font-weight: 200;
  line-height: 1.3;
  letter-spacing: 0.02em;
}

/* Video de medicina estética: solo el botón de play */
.odellaMedicina-play {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background-color: transparent;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.odellaMedicina-play-icono {
  position: relative;
  width: clamp(44px, 5vw, 68px);
  height: clamp(44px, 5vw, 68px);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  backdrop-filter: blur(14px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.45);
  transition: transform 0.25s ease, background 0.25s ease;
}
.odellaMedicina-play-icono::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 52%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 9px 0 9px 15px;
  border-color: transparent transparent transparent #fff;
}
.odellaMedicina-play:hover .odellaMedicina-play-icono,
.odellaMedicina-play:focus-visible .odellaMedicina-play-icono {
  transform: scale(1.08);
  background: rgba(255, 255, 255, 0.4);
}
.odellaMedicina-play:focus-visible {
  outline: 2px solid #fff;
  outline-offset: -4px;
}
/* Video propio: mientras se reproduce no se ve el botón (un clic en el video lo pausa) */
.odellaMedicina-video.is-playing .odellaMedicina-play {
  opacity: 0;
}
.odellaMedicina-video--natural .odellaMedicina-play {
  /* el botón cubre el video aunque la caja tome la medida del video */
  position: absolute;
}

/* Volumen del video propio */
.odellaMedicina-volumen {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  width: 38px;
  height: 38px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  backdrop-filter: blur(14px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.55);
  cursor: pointer;
}
.odellaMedicina-volumen .mv-vol-x { display: none; }
.odellaMedicina-video.is-muted .mv-vol-x { display: block; }
.odellaMedicina-video.is-muted .mv-vol-onda { display: none; }

/* Negrita dentro de la descripción del slider */
.odellaSlider--home .odellaSlider-content-item-info-desc strong,
.odellaSlider--home .odellaSlider-content-item-info-desc b {
  font-weight: 400;
}

/* ---------- Líneas del hover del nav: delgadas, crecen desde el centro y a la misma distancia del texto ---------- */
@media (min-width: 1024px) {
  html body .odellaHeader-content-main-nav-list-item > a::after,
  html body .odellaHeader-content-main-nav-list-dropdown > a::after,
  html body .odellaHeader-content-main-nav-list-item-submenu-item > a::after,
  html body .odellaHeader-content-main-nav-list-dropdown-submenu-item > a::after,
  html body .odellaHeader-content-main-nav-list-item-submenu-item-cat-sub a::after,
  html body .odellaHeader-content-main-nav-list-dropdown-submenu-item-cat-sub a::after {
    left: 0;
    right: auto;
    width: 100%;
    height: 1px;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.35s ease;
    opacity: 0.85;
  }
  html body .odellaHeader-content-main-nav-list-item > a::after,
  html body .odellaHeader-content-main-nav-list-dropdown > a::after { bottom: var(--ul-top, 0px); }
  html body .odellaHeader-content-main-nav-list-item-submenu-item > a::after,
  html body .odellaHeader-content-main-nav-list-dropdown-submenu-item > a::after { bottom: var(--ul-sub, 0px); }
  html body .odellaHeader-content-main-nav-list-item-submenu-item-cat-sub a::after,
  html body .odellaHeader-content-main-nav-list-dropdown-submenu-item-cat-sub a::after { bottom: var(--ul-cat, 0px); }
  html body .odellaHeader-content-main-nav-list-item > a:hover::after,
  html body .odellaHeader-content-main-nav-list-dropdown > a:hover::after,
  html body .odellaHeader-content-main-nav-list-item.is-open > a::after,
  html body .odellaHeader-content-main-nav-list-dropdown.is-open > a::after,
  html body .odellaHeader-content-main-nav-list-item-submenu-item > a:hover::after,
  html body .odellaHeader-content-main-nav-list-dropdown-submenu-item > a:hover::after,
  html body .odellaHeader-content-main-nav-list-item-submenu-item-cat-sub a:hover::after,
  html body .odellaHeader-content-main-nav-list-dropdown-submenu-item-cat-sub a:hover::after {
    width: 100%;
    transform: scaleX(1);
  }
}
@media (min-width: 1024px) {
  :root { --ul-top: -1px; --ul-sub: 3.5px; --ul-cat: 4px; }
  html body .odellaHeader-content-main-nav-list-item-submenu-item-cat-sub a,
  html body .odellaHeader-content-main-nav-list-dropdown-submenu-item-cat-sub a {
    width: fit-content; /* la línea mide solo lo que mide el texto */
    max-width: 100%;
  }
}
@media (min-width: 1024px) {
  /* la descripción que aparece al hover no ensancha el enlace (la línea queda solo bajo el texto) */
  html body .odellaHeader-content-main-nav-list-item-submenu-item-cat-sub a .odellaHeader-nav-item-desc,
  html body .odellaHeader-content-main-nav-list-dropdown-submenu-item-cat-sub a .odellaHeader-nav-item-desc {
    position: absolute;
    left: calc(100% + 6px);
    top: 50%;
    transform: translateY(-50%);
    white-space: nowrap;
  }
}

/* ---------- Selector de país: mismo diseño que el resto del nav (vidrio, centrado, línea desde el centro) ---------- */
/* En el menú solo se ve el código; el nombre queda para lectores de pantalla. */
.odellaHeader-country-name {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.odellaHeader-countries-code {
  position: relative;
  display: inline-block;
}
.odellaHeader-countries-toggle:hover .odellaHeader-countries-code,
.odellaHeader-countries.is-open .odellaHeader-countries-code {
  text-decoration: none;
}
.odellaHeader-countries-code::after,
.odellaHeader .odellaHeader-countries-list .odellaHeader-country-code::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 1px;
  background: currentColor;
  opacity: 0.85;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.35s ease;
}
.odellaHeader-countries-toggle:hover .odellaHeader-countries-code::after,
.odellaHeader-countries.is-open .odellaHeader-countries-code::after {
  transform: scaleX(1);
}

.odellaHeader .odellaHeader-countries-list .odellaHeader-country {
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: 8px 14px;
  background: none !important;
  border-radius: 0;
  text-align: center;
  font-weight: 400;
}
.odellaHeader .odellaHeader-countries-list .odellaHeader-country-code {
  position: relative;
  min-width: 0;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
}
.odellaHeader .odellaHeader-countries-list a.odellaHeader-country:hover .odellaHeader-country-code::after,
.odellaHeader .odellaHeader-countries-list .odellaHeader-country.is-current .odellaHeader-country-code::after {
  transform: scaleX(1);
}
.odellaHeader .odellaHeader-countries-list .odellaHeader-country.is-current { font-weight: 500; }
.odellaHeader .odellaHeader-countries-list .odellaHeader-country.is-current::after { content: none; }
.odellaHeader .odellaHeader-countries-list .odellaHeader-country.is-disabled {
  opacity: 1;
  cursor: default;
}
.odellaHeader .odellaHeader-countries-list .odellaHeader-country.is-disabled .odellaHeader-country-code {
  opacity: 0.45;
}
.odellaHeader-country.is-disabled em {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.04em;
  opacity: 0.6;
}

@media (min-width: 1024px) {
  .odellaHeader-countries { position: static; } /* el panel se ancla al header, como los demás menús */
  html body .odellaHeader-countries-list:not([hidden]) {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 8px 12px;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    min-width: 0;
    max-height: calc(100vh - 68px);
    padding: 26px 40px 30px;
    border-radius: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.64) 0%, rgba(255, 255, 255, 0.5) 100%) !important;
    -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
    backdrop-filter: blur(24px) saturate(180%) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.65);
    box-shadow: 0 28px 40px -26px rgba(4, 30, 66, 0.4) !important;
  }
  .odellaHeader .odellaHeader-countries-list li { min-width: 96px; }
}

/* Selector de país: se ve el nombre y "Próximamente" es una etiqueta pequeña */
.odellaHeader .odellaHeader-countries-list .odellaHeader-country-name {
  position: static;
  width: auto;
  height: auto;
  overflow: visible;
  clip: auto;
  flex: none;
  font-size: 13px;
  line-height: 1.2;
  white-space: nowrap;
}
.odellaHeader .odellaHeader-countries-list .odellaHeader-country.is-disabled .odellaHeader-country-name {
  opacity: 0.5;
}
.odellaHeader .odellaHeader-countries-list .odellaHeader-country-code {
  font-size: 12px;
  opacity: 0.75;
}
.odellaHeader .odellaHeader-countries-list .odellaHeader-country.is-disabled .odellaHeader-country-code {
  opacity: 0.35;
}
.odellaHeader .odellaHeader-country.is-disabled em {
  display: inline-block;
  margin-top: 2px;
  padding: 2px 7px;
  font-size: 9px;
  font-style: normal;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #041E42;
  background: rgba(4, 30, 66, 0.08);
  border-radius: 999px;
  opacity: 0.8;
}
@media (min-width: 1024px) {
  .odellaHeader .odellaHeader-countries-list li { min-width: 104px; }
}

/* ==========================================================================
   Ajustes finos de los menús desplegables (escritorio)
   ========================================================================== */
@media (min-width: 1024px) {
  /* 1) Separadores entre columnas: sutiles y sin llegar de extremo a extremo */
  html body .odellaHeader-content-main-nav-list-item-submenu-item::after,
  html body .odellaHeader-content-main-nav-list-dropdown-submenu-item::after {
    top: 22px;
    height: calc(100% - 44px);
    width: 1px;
    background-color: rgba(4, 30, 66, 0.12);
  }

  /* 2) Texto del desplegable en light */
  html body .odellaHeader-content-main-nav-list-item-submenu a,
  html body .odellaHeader-content-main-nav-list-dropdown-submenu a,
  html body .odellaHeader-countries-list .odellaHeader-country {
    font-weight: 300;
  }

  /* 3) La descripción de la marca baja a una segunda línea dentro de su columna (no tapa a la vecina) */
  html body .odellaHeader-content-main-nav-list-item-submenu-item-cat-sub a,
  html body .odellaHeader-content-main-nav-list-dropdown-submenu-item-cat-sub a {
    flex-wrap: wrap;
    width: fit-content;
    max-width: 100%;
  }
  html body .odellaHeader-content-main-nav-list-item-submenu-item-cat-sub a .odellaHeader-nav-item-desc,
  html body .odellaHeader-content-main-nav-list-dropdown-submenu-item-cat-sub a .odellaHeader-nav-item-desc {
    position: static;
    transform: none;
    display: none;
    flex: 1 1 100%;
    white-space: normal;
    margin-top: 1px;
    font-weight: 300;
  }
  html body .odellaHeader-content-main-nav-list-item-submenu-item-cat-sub a:hover .odellaHeader-nav-item-desc,
  html body .odellaHeader-content-main-nav-list-dropdown-submenu-item-cat-sub a:hover .odellaHeader-nav-item-desc,
  html body .odellaHeader-content-main-nav-list-item-submenu-item-cat-sub a:focus-visible .odellaHeader-nav-item-desc,
  html body .odellaHeader-content-main-nav-list-dropdown-submenu-item-cat-sub a:focus-visible .odellaHeader-nav-item-desc {
    display: block;
    opacity: 0.8;
  }

  /* 4) Línea del hover: siempre del mismo grosor, se revela desde el centro (recorte, no escala:
        así no cambia de grosor ni "salta" en pantallas con zoom o escala de Windows) */
  html body .odellaHeader-content-main-nav-list-item > a::after,
  html body .odellaHeader-content-main-nav-list-dropdown > a::after,
  html body .odellaHeader-content-main-nav-list-item-submenu-item > a::after,
  html body .odellaHeader-content-main-nav-list-dropdown-submenu-item > a::after,
  html body .odellaHeader-content-main-nav-list-item-submenu-item-cat-sub a::after,
  html body .odellaHeader-content-main-nav-list-dropdown-submenu-item-cat-sub a::after,
  html body .odellaHeader-countries-code::after,
  html body .odellaHeader-countries-list .odellaHeader-country-name::after {
    left: 0;
    width: 100%;
    height: 1px;
    transform: none;
    opacity: 1;
    clip-path: inset(0 50% 0 50%);
    -webkit-clip-path: inset(0 50% 0 50%);
    transition: clip-path 0.35s ease, -webkit-clip-path 0.35s ease;
    will-change: auto;
  }
  html body .odellaHeader-content-main-nav-list-item > a:hover::after,
  html body .odellaHeader-content-main-nav-list-dropdown > a:hover::after,
  html body .odellaHeader-content-main-nav-list-item.is-open > a::after,
  html body .odellaHeader-content-main-nav-list-dropdown.is-open > a::after,
  html body .odellaHeader-content-main-nav-list-item-submenu-item > a:hover::after,
  html body .odellaHeader-content-main-nav-list-dropdown-submenu-item > a:hover::after,
  html body .odellaHeader-content-main-nav-list-item-submenu-item-cat-sub a:hover::after,
  html body .odellaHeader-content-main-nav-list-dropdown-submenu-item-cat-sub a:hover::after,
  html body .odellaHeader-countries-toggle:hover .odellaHeader-countries-code::after,
  html body .odellaHeader-countries.is-open .odellaHeader-countries-code::after,
  html body .odellaHeader-countries-list a.odellaHeader-country:hover .odellaHeader-country-name::after,
  html body .odellaHeader-countries-list .odellaHeader-country.is-current .odellaHeader-country-name::after {
    transform: none;
    clip-path: inset(0 0 0 0);
    -webkit-clip-path: inset(0 0 0 0);
  }
}

/* 5) Selector de país: solo el nombre (y "Próximamente"), separados por líneas sutiles, en una fila */
.odellaHeader .odellaHeader-countries-list .odellaHeader-country-code { display: none; }
.odellaHeader .odellaHeader-countries-list .odellaHeader-country-name {
  position: relative;
  display: inline-block;
  font-size: 14px;
  font-weight: 300;
  opacity: 1;
}
.odellaHeader .odellaHeader-countries-list .odellaHeader-country-name::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 1px;
  background: currentColor;
}
.odellaHeader .odellaHeader-countries-list .odellaHeader-country.is-disabled .odellaHeader-country-name { opacity: 0.5; }
@media (min-width: 1024px) {
  html body .odellaHeader-countries-list:not([hidden]) {
    flex-wrap: nowrap;
    gap: 0;
    padding: 30px 24px;
  }
  .odellaHeader .odellaHeader-countries-list li {
    position: relative;
    min-width: 0;
    flex: 0 1 auto;
  }
  .odellaHeader .odellaHeader-countries-list li:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 8px;
    bottom: 8px;
    width: 1px;
    background: rgba(4, 30, 66, 0.12);
  }
  .odellaHeader .odellaHeader-countries-list .odellaHeader-country {
    padding: 8px clamp(10px, 1.5vw, 26px);
    text-align: center;
  }
  .odellaHeader .odellaHeader-countries-list .odellaHeader-country-name { white-space: normal; }
}

/* Todos los textos de los desplegables con el mismo grosor (light) */
@media (min-width: 1024px) {
  html body .odellaHeader-content-main-nav-list-item-submenu,
  html body .odellaHeader-content-main-nav-list-dropdown-submenu,
  html body .odellaHeader-content-main-nav-list-item-submenu *,
  html body .odellaHeader-content-main-nav-list-dropdown-submenu *,
  html body .odellaHeader-countries-list,
  html body .odellaHeader-countries-list * {
    font-weight: 300 !important;
  }
}

/* Selector de país: cuadrícula ordenada. Fila 1 = países activos, fila 2 = "Próximamente"; columnas iguales */
@media (min-width: 1024px) {
  html body .odellaHeader-countries-list:not([hidden]) {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    justify-content: center;
    align-items: start;
    gap: 14px 0;
    padding: 28px max(40px, calc((100% - 1100px) / 2)) 30px;
  }
  .odellaHeader .odellaHeader-countries-list li.odellaHeader-country-li--pronto { grid-column-start: 1; }
  .odellaHeader .odellaHeader-countries-list li.odellaHeader-country-li--ultimo::after { display: none; }
  .odellaHeader .odellaHeader-countries-list li { min-width: 0; }
  .odellaHeader .odellaHeader-countries-list .odellaHeader-country {
    height: 100%;
    padding: 8px 10px;
    justify-content: flex-start;
  }
  .odellaHeader .odellaHeader-countries-list .odellaHeader-country-name { white-space: nowrap; }
}

/* Especialidades: el título va dentro del contenedor azul, en blanco */
.odellaEspecialidades .odellaEspecialidades-titulo,
.odellaEspecialidades .odellaEspecialidades-titulo span {
  color: #fff;
}
.odellaEspecialidades .odellaEspecialidades-titulo {
  margin: 0 0 22px;
  padding: 0;
}
@media (max-width: 575.98px) {
  .odellaEspecialidades .odellaEspecialidades-titulo {
    padding: 0 5vw;
    margin-bottom: 16px;
  }
}

/* Botones de Unidades de negocio y Especialidades: texto light (200) */
html body .odellaNegocio .btnOdella-glass,
html body .odellaEspecialidades .btnOdella-glass,
html body .odellaEspecialidades-btn,
html body .odellaNegocio-content-container-item button {
  font-weight: 200;
}


/* Títulos de las secciones del Home: parte en negrita = 400, resto = 200 */
html body.home .odellaTitles-item {
  font-weight: 400;
}
html body.home .odellaTitles-item span {
  font-weight: 200;
}

/* ==========================================================================
   Home: un mismo margen izquierdo/derecho en TODAS las secciones (títulos, video, tarjetas,
   carrusel, testimoniales, mapa, contacto). Se cambia solo con --home-gutter.
   ========================================================================== */
body.home {
  --home-gutter: 5vw;
}
@media (min-width: 576px) {
  body.home {
    --home-gutter: clamp(20px, 4.9vw, 140px);
  }
}
html body.home .odellaTitles,
html body.home .odellaMedicina,
html body.home .odellaOva-homepage {
  width: auto;
  max-width: none;
  margin-left: var(--home-gutter);
  margin-right: var(--home-gutter);
}
html body.home .odellaContact-content {
  width: auto;
  max-width: none;
  margin-left: var(--home-gutter);
  margin-right: var(--home-gutter);
}
html body.home .odellaTestimoniales-content {
  padding-left: var(--home-gutter);
  padding-right: var(--home-gutter);
}
@media (min-width: 576px) {
  html body.home .odellaNegocio {
    padding-left: 0;
    padding-right: 0;
  }
  html body.home .odellaNegocio-content,
  html body.home .odellaEspecialidades-content {
    max-width: none;
    padding-left: var(--home-gutter);
    padding-right: var(--home-gutter);
  }
  html body.home .odellaNegocio-content-container {
    max-width: none;
  }
  html body.home .odellaCarrusel-container {
    width: auto;
    margin-left: var(--home-gutter);
    margin-right: var(--home-gutter);
  }
  html body.home .odellaLocator-content {
    width: auto;
    max-width: none;
    margin-left: var(--home-gutter);
    margin-right: var(--home-gutter);
  }
}
@media (min-width: 576px) {
  html body.home .odellaCarrusel {
    padding-left: 0;
    padding-right: 0;
  }
}

/* Títulos sin parte destacada (p. ej. "Categorías", "Especialidades"): mismo light (200) que el resto de los títulos */
html body.home .odellaTitles-item.odellaTitles-item--solo {
  font-weight: 200;
}

/* Tarjetas de contacto del Home: texto normal 200, parte en negrita y botón 400 */
html body.home .odellaContact-content-item-info-subTitle {
  font-weight: 200;
}
html body.home .odellaContact-content-item-info-title,
html body.home .odellaContact-content-item .btnOdella {
  font-weight: 400;
}

/* Footer: texto normal 200 y etiquetas en negrita 400 */
html body footer .odellaFooter-content a,
html body footer .odellaFooter-content-contact-info,
html body footer .odellaFooter-content-contact-info *,
html body footer .odellaFooter-content-copyright {
  font-weight: 200;
}
html body footer .odellaFooter-content-structure-info-container,
html body footer h4 {
  font-weight: 400;
}
html body footer h4,
html body footer h4.odellaFooter-content-structure-info-container {
  font-weight: 400 !important;
}

/* Tarjetas de OVA / Academy / Institute: texto normal 200, títulos, nombres y botones 400 */
html body.home .odellaOva-card-desc,
html body.home .odellaOva-card-link-subtitulo {
  font-weight: 200;
}
html body.home .odellaOva-card-title,
html body.home .odellaOva-card-link-titulo,
html body.home .odellaOva-card .btnOdella {
  font-weight: 400;
}

/* Todo el Home con los mismos pesos: texto normal 200, negritas y botones 400 */
html body.home .odellaTestimoniales-content-item-info-txt-nombre {
  font-weight: 400;
}
html body.home .odellaTestimoniales-content-item-info-txt-fecha,
html body.home .odellaTestimoniales-content-item-sumario,
html body.home .odellaTestimoniales-content-item-sumario * {
  font-weight: 200;
}
html body.home .odellaLocator,
html body.home .odellaLocator :where(p, span, li, label, input, select, a, div) {
  font-weight: 200;
}
html body.home .odellaLocator :where(h1, h2, h3, h4, h5, strong, b, button, .btnOdella) {
  font-weight: 400;
}
html body.home .btnOdella {
  font-weight: 400;
}

/* ==========================================================================
   Testimoniales (contenedor con título dentro, fondo imagen o color) y carrusel de marcas:
   ocupan todo el ancho entre los márgenes del Home y se adaptan a pantallas grandes.
   ========================================================================== */
html body.home .odellaTestimoniales--home {
  width: auto;
  max-width: none;
  margin-left: var(--home-gutter);
  margin-right: var(--home-gutter);
}
html body.home .odellaTestimoniales--home .odellaTestimoniales-box {
  box-sizing: border-box;
  padding: clamp(24px, 3vw, 56px);
  background-color: #041E42;
}
html body.home .odellaTestimoniales--home .odellaTestimoniales-titulo,
html body.home .odellaTestimoniales--home .odellaTestimoniales-titulo span {
  color: var(--tm-titulo, #fff);
}
html body.home .odellaTestimoniales--home .odellaTestimoniales-titulo {
  margin: 0 0 clamp(18px, 2vw, 30px);
  padding: 0;
}
html body.home .odellaTestimoniales--home .odellaTestimoniales-content {
  width: 100%;
  background: none;
  padding: 0 0 40px;
  overflow: hidden;
}

/* Carrusel de marcas: logos con ancho fluido (1 de cada N del ancho disponible) */
html body.home .odellaCarrusel-container {
  container-type: inline-size;
}
html body.home .odellaCarrusel {
  --car-n: 6;
  --car-gap: 20px;
}
html body.home .odellaCarrusel .odellaCarrusel-content-track {
  gap: var(--car-gap);
}
html body.home .odellaCarrusel .odellaCarrusel-content-track-slide {
  width: calc((100cqw - (var(--car-n) - 1) * var(--car-gap)) / var(--car-n));
  min-width: 0;
  max-width: none;
}
@media (min-width: 1600px) {
  html body.home .odellaCarrusel { --car-n: 8; }
}
@media (max-width: 1024px) {
  html body.home .odellaCarrusel { --car-n: 4; }
}
@media (max-width: 768px) {
  html body.home .odellaCarrusel { --car-n: 2; }
}
@media (max-width: 575.98px) {
  html body.home .odellaCarrusel { --car-gap: 15px; }
}
/* Flechas dentro del margen lateral, sin tapar los logos */
@media (min-width: 576px) {
  html body.home .odellaCarrusel .odellaCarrusel-arrow--left {
    left: max(4px, calc(var(--home-gutter) / 2 - 22px));
  }
  html body.home .odellaCarrusel .odellaCarrusel-arrow--right {
    right: max(4px, calc(var(--home-gutter) / 2 - 22px));
  }
}
@media (min-width: 576px) {
  html body.home .odellaCarrusel {
    max-width: none;
    width: 100%;
  }
}

/* Footer: contacto, redes y derechos con aire entre sí; las redes siempre en su propia fila */
html body footer .odellaFooter-content-contact {
  row-gap: 14px;
  padding-top: 24px;
}
html body footer .odellaFooter-content-redes {
  flex: 0 0 100%;
  width: 100%;
  justify-content: center;
  gap: 22px;
  margin: 6px 0 4px;
}
html body footer .odellaFooter-content-copyright {
  margin-top: 16px;
  padding-bottom: 20px;
}

/* Bandera opcional junto al nombre del país */
.odellaHeader-country-flag {
  display: inline-block;
  width: 20px;
  height: 14px;
  margin-right: 4px;
  vertical-align: -2px;
  object-fit: cover;
  border-radius: 2px;
}

/* Testimoniales: comillas grandes, sutiles, dentro de cada tarjeta */
html body .odellaTestimoniales-content-item {
  position: relative;
  overflow: hidden;
}
html body .odellaTestimoniales-content-item-sumario {
  position: relative;
  isolation: isolate;
  padding: 44px 28px 52px;
}
html body .odellaTestimoniales-content-item-sumario::before,
html body .odellaTestimoniales-content-item-sumario::after {
  position: absolute;
  z-index: -1;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  font-size: 110px;
  line-height: 1;
  color: rgba(4, 30, 66, 0.07);
  pointer-events: none;
}
html body .odellaTestimoniales-content-item-sumario::before {
  content: "\201C";
  top: 4px;
  left: 16px;
}
html body .odellaTestimoniales-content-item-sumario::after {
  content: "\201D";
  right: 16px;
  bottom: -52px;
}

/* Barra del evento: contenido agrupado y centrado; el texto se ve completo y se ajusta al logo, contador y botón */
html body.home .odellaEventBar-inner {
  max-width: none;
  padding-left: var(--home-gutter);
  padding-right: var(--home-gutter);
  justify-content: center;
  gap: clamp(16px, 2vw, 32px);
}
html body.home .odellaEventBar-text {
  flex: 0 1 auto;
  min-width: 0;
  max-width: none;
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
  line-height: 1.15;
}

/* ==========================================================================
   Ritmo vertical del Home: 30px entre un título y su contenido, y 30px entre el final de
   un contenido y el título siguiente (en todas las secciones).
   ========================================================================== */
html body.home .odellaMedicina-titulo {
  padding-top: 30px;
}
html body.home .odellaMedicina {
  padding-bottom: 0;
}
html body.home .odellaNegocio--cards .odellaNegocio-content {
  padding-top: 0;
}
html body.home .odellaContact-content {
  padding-top: 0;
}
html body.home .odellaCarrusel {
  padding-top: 30px;
  padding-bottom: 30px;
}
html body.home .odellaEspecialidades .odellaEspecialidades-titulo,
html body.home .odellaTestimoniales--home .odellaTestimoniales-titulo {
  margin-bottom: 30px;
}
html body.home .odellaTestimoniales--home .odellaTestimoniales-box {
  padding-top: 30px;
  padding-bottom: 30px;
}

/* Contacto: el título no queda pegado al fondo gris; las tarjetas tienen aire arriba dentro del gris */
html body.home .odellaContact {
  padding-top: 30px;
}

/* CTA "Conoce más" debajo del video: subrayado inferior, color Odellā (como "Ver más" de la barra del evento) */
.odellaMedicina-cta-wrap {
  margin-top: 22px;
}
.odellaMedicina-cta {
  display: inline-block;
  padding-bottom: 2px;
  color: #041E42;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  transition: opacity 0.2s ease;
}
.odellaMedicina-cta:hover,
.odellaMedicina-cta:focus-visible {
  opacity: 0.7;
}

/* Carrusel de marcas con título: el logotipo queda a 30px del título */
html body.home .odellaTitles + .odellaCarrusel {
  padding-top: 0;
}

/* ==========================================================================
   Educación (Virtual Academy / Academy / Institute): tarjetas sobrias.
   Jerarquía: logo → etiqueta (11px, mayúsculas) → título (26px/400) → descripción (16px/200)
   → enlaces (15px/400 + 13px/200) → botón (15px/400). Pesos: 200 normal y 400 énfasis.
   Colores por tarjeta: --edu-bg (fondo) y --edu-fg (texto).
   ========================================================================== */
.odellaEdu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 24px;
  align-items: stretch;
}
.odellaEdu--count-3 .odellaEdu-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.odellaEdu--count-4 .odellaEdu-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
@media (max-width: 991.98px) {
  .odellaEdu--count-3 .odellaEdu-grid,
  .odellaEdu--count-4 .odellaEdu-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  }
}
.odellaEdu-card {
  --edu-line: rgba(128, 128, 128, 0.28);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--edu-bg, #fff);
  color: var(--edu-fg, #041E42);
  border: 1px solid var(--edu-line);
  border-radius: 16px;
  font-family: "Poppins", sans-serif;
  box-shadow: 0 1px 2px rgba(4, 30, 66, 0.04), 0 14px 34px -22px rgba(4, 30, 66, 0.25);
}
@supports (color: color-mix(in srgb, red, blue)) {
  .odellaEdu-card {
    --edu-line: color-mix(in srgb, var(--edu-fg, #041E42) 22%, transparent);
  }
}
.odellaEdu-card--dark {
  border-color: transparent;
}
.odellaEdu-card-img {
  display: block;
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.odellaEdu-card-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: clamp(24px, 2.2vw, 36px);
}
.odellaEdu-card-logo {
  display: flex;
  align-items: center;
  min-height: 76px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--edu-line);
}
.odellaEdu-card-logo img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 64px;
  height: auto;
  object-fit: contain;
}
.odellaEdu-card-eyebrow {
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: inherit;
  opacity: 0.72;
}
.odellaEdu-card-title {
  margin: 0 0 12px;
  font-size: clamp(22px, 1.8vw, 26px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.005em;
  color: inherit;
}
.odellaEdu-card-desc {
  margin: 0 0 26px;
  max-width: 34ch;
  font-size: 16px;
  font-weight: 200;
  line-height: 1.5;
  color: inherit;
  opacity: 0.9;
}
.odellaEdu-links {
  margin: 0 0 28px;
  border-top: 1px solid var(--edu-line);
}
.odellaEdu-link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--edu-line);
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s ease;
}
.odellaEdu-link:hover,
.odellaEdu-link:focus-visible {
  opacity: 0.7;
}
.odellaEdu-link-icon {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 36px;
  padding-right: 16px;
  border-right: 1px solid var(--edu-line);
  box-sizing: content-box;
}
.odellaEdu-link-icon img {
  display: block;
  max-width: 36px;
  max-height: 30px;
  width: auto;
  height: auto;
  object-fit: contain;
}
.odellaEdu-link-text {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 2px;
}
.odellaEdu-link-titulo {
  overflow: hidden;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.odellaEdu-link-sub {
  font-size: 13px;
  font-weight: 200;
  line-height: 1.3;
  opacity: 0.8;
}
.odellaEdu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: auto;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.odellaEdu-btn:hover,
.odellaEdu-btn:focus-visible {
  opacity: 0.88;
}
.odellaEdu-btn:hover .odellaEdu-btn-flecha {
  transform: translateX(3px);
}
.odellaEdu-btn-flecha {
  flex: 0 0 auto;
  transition: transform 0.2s ease;
}
.odellaEdu-btn--primary {
  background: #041E42;
  color: #fff;
}
.odellaEdu-btn--white {
  background: #fff;
  color: #041E42;
}
.odellaEdu-btn--outline {
  background: transparent;
  border-color: currentColor;
  color: inherit;
}

/* Títulos del Home: todo normal (200) salvo la parte que se elija en negrita (400) en el admin */
html body.home .odellaTitles-item,
html body.home .odellaTitles-item span {
  font-weight: 200;
}
html body.home .odellaTitles-item.odellaTitles-item--b-titulo {
  font-weight: 400;
}
html body.home .odellaTitles-item.odellaTitles-item--b-titulo span {
  font-weight: 200;
}
html body.home .odellaTitles-item.odellaTitles-item--b-span span {
  font-weight: 400;
}

/* Botones "Conoce más" a la derecha (debajo del video y junto al carrusel de marcas) */
.odellaMedicina-cta-wrap {
  text-align: right;
}
.odellaMarcas-cta-wrap {
  margin: 0 var(--home-gutter, 5vw);
  text-align: right;
}

/* Color de los botones de texto "Conoce más": azul Odellā (por defecto), negro o gris */
html body .odellaMedicina-cta.odellaCta--negro {
  color: #111111;
}
html body .odellaMedicina-cta.odellaCta--gris {
  color: #696969;
}

/* ==========================================================================
   Fondo y color de textos por sección; fondo y borde de tarjetas (se eligen en el admin del Home).
   Gris de fondo del sitio: #f1f1f1.
   ========================================================================== */
:root {
  --odella-gris-fondo: #f1f1f1;
}
html body .odellaContact {
  background-color: var(--odella-gris-fondo);
}

/* --- Fondo de la sección --- */
.odellaSec--fondo-blanco { --sec-bg: #ffffff; }
.odellaSec--fondo-gris   { --sec-bg: var(--odella-gris-fondo); }
.odellaSec--fondo-azul   { --sec-bg: #041E42; }
.odellaSec--fondo-blanco,
.odellaSec--fondo-gris,
.odellaSec--fondo-azul {
  background-color: var(--sec-bg);
  padding-bottom: 30px;
}
/* los bloques que ya traían su propio fondo toman el elegido */
html body .odellaSec--fondo-blanco .odellaEspecialidades,
html body .odellaSec--fondo-gris .odellaEspecialidades,
html body .odellaSec--fondo-azul .odellaEspecialidades,
html body .odellaSec--fondo-blanco .odellaEspecialidades-content,
html body .odellaSec--fondo-gris .odellaEspecialidades-content,
html body .odellaSec--fondo-azul .odellaEspecialidades-content,
html body .odellaSec--fondo-blanco .odellaTestimoniales-box,
html body .odellaSec--fondo-gris .odellaTestimoniales-box,
html body .odellaSec--fondo-azul .odellaTestimoniales-box,
html body .odellaSec--fondo-blanco .odellaContact,
html body .odellaSec--fondo-gris .odellaContact,
html body .odellaSec--fondo-azul .odellaContact {
  background: var(--sec-bg) !important;
}

/* --- Color de los textos de la sección (títulos, texto de apoyo y botones de texto) --- */
.odellaSec--texto-azul   { --sec-fg: #041E42; }
.odellaSec--texto-negro  { --sec-fg: #111111; }
.odellaSec--texto-gris   { --sec-fg: #696969; }
.odellaSec--texto-blanco { --sec-fg: #ffffff; }
html body .odellaSec--fg .odellaTitles-item,
html body .odellaSec--fg .odellaTitles-item span,
html body .odellaSec--fg .odellaMedicina-desc,
html body .odellaSec--fg .odellaMedicina-cta,
html body .odellaSec--fg .odellaMarcas-cta-wrap a {
  color: var(--sec-fg);
}

/* --- Fondo de las tarjetas (testimoniales y contacto) --- */
html body .odellaCards--fondo-blanco :is(.odellaTestimoniales-content-item, .odellaContact-content-item) {
  background: #ffffff !important;
}
html body .odellaCards--fondo-gris :is(.odellaTestimoniales-content-item, .odellaContact-content-item) {
  background: var(--odella-gris-fondo) !important;
}
html body .odellaCards--fondo-transparente :is(.odellaTestimoniales-content-item, .odellaContact-content-item) {
  background: transparent !important;
}
html body .odellaCards--fondo-azul :is(.odellaTestimoniales-content-item, .odellaContact-content-item) {
  background: #041E42 !important;
}
html body .odellaCards--fondo-azul :is(.odellaTestimoniales-content-item, .odellaContact-content-item) :is(h2, h3, h4, p, span, div, strong) {
  color: #ffffff !important;
}
html body .odellaCards--fondo-azul .odellaContact-content-item .btnOdella {
  color: #ffffff !important;
  border-color: #ffffff !important;
  background: transparent !important;
}

/* --- Borde de las tarjetas --- */
html body .odellaCards--borde-ninguno :is(.odellaTestimoniales-content-item, .odellaContact-content-item) {
  border: 0 !important;
}
html body .odellaCards--borde-gris :is(.odellaTestimoniales-content-item, .odellaContact-content-item) {
  border: 1px solid #cfcfcf !important;
}
html body .odellaCards--borde-azul :is(.odellaTestimoniales-content-item, .odellaContact-content-item) {
  border: 1px solid #041E42 !important;
}
html body .odellaCards--borde-negro :is(.odellaTestimoniales-content-item, .odellaContact-content-item) {
  border: 1px solid #111111 !important;
}

/* Fondo claro + texto "Automático": los títulos que van dentro de bloques (blanco por defecto) pasan a azul */
html body .odellaSec--fondo-blanco:not(.odellaSec--fg) :is(.odellaTestimoniales-titulo, .odellaEspecialidades-titulo),
html body .odellaSec--fondo-blanco:not(.odellaSec--fg) :is(.odellaTestimoniales-titulo, .odellaEspecialidades-titulo) span,
html body .odellaSec--fondo-gris:not(.odellaSec--fg) :is(.odellaTestimoniales-titulo, .odellaEspecialidades-titulo),
html body .odellaSec--fondo-gris:not(.odellaSec--fg) :is(.odellaTestimoniales-titulo, .odellaEspecialidades-titulo) span {
  color: #041E42;
}

/* Contacto: el título va dentro del contenedor, alineado con las tarjetas */
html body.home .odellaContact {
  padding-top: 30px;
}
html body.home .odellaContact .odellaContact-titulo {
  margin: 0 var(--home-gutter, 5vw) 30px;
  padding: 0;
}

/* ==========================================================================
   Espacio entre secciones del Home: siempre 30px, sin importar el orden elegido en el admin.
   Cada sección lleva su propio título; si tiene fondo, el título y su botón van DENTRO del fondo.
   Una sección con fondo o contenedor propio (fondo de color, Especialidades, Testimoniales, Educación,
   Contacto) deja 30px de aire sobre ella; los bloques que ya terminan con su propio margen de 30px
   (títulos, tarjetas de categorías, carrusel de marcas) no lo duplican.
   ========================================================================== */
html body.home .site > :not(.odellaTitles):not(.odellaNegocio--cards):not(.odellaCarrusel) + :is(
  .odellaSec--fondo-blanco,
  .odellaSec--fondo-gris,
  .odellaSec--fondo-azul,
  .odellaEspecialidades,
  .odellaTestimoniales--home,
  .odellaOva-homepage,
  .odellaContact,
  :has(> :is(.odellaEspecialidades, .odellaTestimoniales--home, .odellaOva-homepage, .odellaContact))
) {
  margin-top: 30px;
}

/* ==========================================================================
   Testimoniales: a todo el ancho, como Especialidades; título y tarjetas quedan alineados con el
   resto de títulos del Home (margen lateral --home-gutter).
   ========================================================================== */
html body.home .odellaTestimoniales--home {
  margin-left: 0;
  margin-right: 0;
}
html body.home .odellaTestimoniales--home .odellaTestimoniales-box {
  padding-left: var(--home-gutter);
  padding-right: var(--home-gutter);
}

/* ==========================================================================
   Menú del celular: panel de vidrio, textos más pequeños, en peso 200 y alineados a la derecha
   ========================================================================== */
@media (max-width: 1199.98px) {
  html body .odellaHeader-content-main.is-open {
    align-items: flex-end;
    padding: 24px 26px 24px 20px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.68) 100%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    backdrop-filter: blur(24px) saturate(180%);
    border-left: 1px solid rgba(255, 255, 255, 0.65);
    box-shadow: -18px 0 40px -24px rgba(4, 30, 66, 0.45);
  }
  html body .odellaHeader-content-main.is-open .odellaHeader-content-main-nav,
  html body .odellaHeader-content-main.is-open .odellaHeader-content-main-nav-list {
    width: 100%;
    align-items: flex-end;
    text-align: right;
  }
  html body .odellaHeader-content-main.is-open .odellaHeader-content-main-nav-list {
    gap: 6px;
  }
  /* todo el texto del menú: peso 200 */
  html body .odellaHeader-content-main.is-open,
  html body .odellaHeader-content-main.is-open :is(a, span, li, p, h4) {
    font-weight: 200;
  }
  /* primer nivel */
  html body .odellaHeader-content-main.is-open :is(.odellaHeader-content-main-nav-list-item, .odellaHeader-content-main-nav-list-dropdown) > a {
    font-size: 17px;
    justify-content: flex-end;
    gap: 8px;
    color: #041E42 !important;
    text-shadow: none !important;
  }
  html body .odellaHeader-content-main.is-open :is(.odellaHeader-content-main-nav-list-item, .odellaHeader-content-main-nav-list-dropdown) {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
  }
  /* submenús */
  html body .odellaHeader-content-main.is-open :is(.odellaHeader-content-main-nav-list-item-submenu, .odellaHeader-content-main-nav-list-dropdown-submenu) {
    background: transparent !important;
    backdrop-filter: none !important;
    text-align: right;
  }
  html body .odellaHeader-content-main.is-open :is(.odellaHeader-content-main-nav-list-item-submenu-item, .odellaHeader-content-main-nav-list-dropdown-submenu-item) {
    align-items: flex-end;
    min-width: 0;
    padding: 0;
  }
  html body .odellaHeader-content-main.is-open :is(.odellaHeader-content-main-nav-list-item-submenu-item, .odellaHeader-content-main-nav-list-dropdown-submenu-item) > a {
    margin: 10px 0 4px;
    padding: 0;
    font-size: 15px;
    text-align: right;
    color: #041E42;
  }
  html body .odellaHeader-content-main.is-open :is(.odellaHeader-content-main-nav-list-item-submenu-item-cat-sub, .odellaHeader-content-main-nav-list-dropdown-submenu-item-cat-sub) a {
    justify-content: flex-end;
    font-size: 14px;
    text-align: right;
    color: #3f4a5c;
  }
  html body .odellaHeader-content-main.is-open :is(.odellaHeader-content-main-nav-list-item-submenu-item-cat, .odellaHeader-content-main-nav-list-dropdown-submenu-item-cat) {
    padding-left: 0;
    margin-top: 2px;
  }
  html body .odellaHeader-content-main.is-open :is(.odellaHeader-content-main-nav-list-item-submenu-item-cat-sub-marcas, .odellaHeader-content-main-nav-list-dropdown-submenu-item-cat-sub-marcas) {
    padding-left: 0;
    list-style-position: inside;
    text-align: right;
  }
  html body .odellaHeader-content-main.is-open .ver-todo-mobile {
    text-align: right;
    margin-top: 6px;
  }
  html body .odellaHeader-content-main.is-open .ver-todo-mobile a {
    font-size: 14px;
    font-weight: 400;
  }
  /* selector de país dentro del menú, a la derecha */
  html body .odellaHeader-content-main.is-open .odellaHeader-countries {
    align-self: flex-end;
  }
  html body .odellaHeader-content-main.is-open .odellaHeader-countries-toggle {
    color: #041E42 !important;
    text-shadow: none !important;
  }
}

/* Menú del celular: la descripción de cada marca no se muestra (ocupaba lugar invisible y desalineaba los nombres) */
@media (max-width: 1199.98px) {
  html body .odellaHeader-content-main.is-open .odellaHeader-nav-item-desc {
    display: none !important;
  }
  html body .odellaHeader-content-main.is-open :is(.odellaHeader-content-main-nav-list-item-submenu-item-cat-sub, .odellaHeader-content-main-nav-list-dropdown-submenu-item-cat-sub) a {
    display: block;
    width: 100%;
    max-width: 100%;
    text-align: right;
  }
  html body .odellaHeader-content-main.is-open .ver-todo-mobile a {
    display: block;
    text-align: right;
  }
}

/* Menú del celular: el contenido empieza debajo de la X de cierre y las submarcas no llevan viñeta suelta */
@media (max-width: 1199.98px) {
  html body .odellaHeader-content-main.is-open .odellaHeader-content-main-nav {
    padding-top: max(72px, 20vw);
  }
  html body .odellaHeader-content-main.is-open :is(.odellaHeader-content-main-nav-list-item-submenu-item-cat-sub-marcas, .odellaHeader-content-main-nav-list-dropdown-submenu-item-cat-sub-marcas) {
    list-style: none;
  }
}

/* Testimoniales: sin espacio de más debajo de las tarjetas (los puntos de paginación van dentro de ese espacio) */
html body.home .odellaTestimoniales--home .odellaTestimoniales-box {
  padding-bottom: 0;
}
html body.home .odellaTestimoniales--home .odellaTestimoniales-content {
  padding-bottom: 30px;
}
html body.home .odellaTestimoniales--home .swiper-pagination {
  bottom: 6px !important;
}
/* Las secciones con fondo cuyo contenido ya trae su propio recuadro con relleno no duplican el espacio inferior */
html body .odellaSec:has(> :is(.odellaTestimoniales, .odellaEspecialidades, .odellaContact)) {
  padding-bottom: 0;
}

/* Puntos de paginación de testimoniales: azul Odellā por defecto (o gris / blanco desde el admin) */
html body.home .odellaTestimoniales--home .swiper-pagination-bullet {
  background: var(--tm-dots, #041E42) !important;
  opacity: 0.35;
}
html body.home .odellaTestimoniales--home .swiper-pagination-bullet-active {
  opacity: 1 !important;
}

/* ==========================================================================
   Footer: logo a la izquierda y menú a la derecha; textos más pequeños
   ========================================================================== */
@media (min-width: 992px) {
  html body footer .odellaFooter-content-structure {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: clamp(32px, 5vw, 96px);
    padding: 40px clamp(20px, 4.9vw, 140px) 24px;
  }
  html body footer .odellaFooter-content-structure-logo {
    flex: 0 0 auto;
    align-items: flex-start;
  }
  html body footer .odellaFooter-content-structure-logo img {
    width: 170px;
    margin: 0;
    padding: 0;
  }
  html body footer .odellaFooter-content-structure-info {
    flex: 1 1 auto;
    justify-content: flex-end;
    align-items: flex-start;
    gap: clamp(28px, 4vw, 72px);
    margin: 0;
    padding: 0;
  }
}
/* textos del footer */
html body footer .odellaFooter-content-structure-info-container-list-item a,
html body footer .odellaFooter-content-structure-info-container-list-item {
  font-size: 13px;
  line-height: 1.5;
}
html body footer .odellaFooter-content-structure-info-container-title,
html body footer h4 {
  font-size: 11px;
  letter-spacing: 0.04em;
}
html body footer .odellaFooter-content-contact-info,
html body footer .odellaFooter-content-contact-info * {
  font-size: 12.5px;
}
html body footer .odellaFooter-content-copyright {
  font-size: 12px;
}

/* Footer (escritorio): logo pequeño y las 4 columnas del menú siempre una al lado de la otra, cada título sobre su lista */
@media (min-width: 992px) {
  html body footer .odellaFooter-content-structure-logo img {
    width: 120px;
  }
  html body footer .odellaFooter-content-structure-info {
    flex-wrap: nowrap;
    gap: clamp(24px, 3.5vw, 64px);
  }
  html body footer .odellaFooter-content-structure-info-container {
    flex: 0 1 auto;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 10px;
    min-width: 0;
  }
  html body footer .odellaFooter-content-structure-info-container-title {
    margin: 0;
  }
}

/* Footer a todo el ancho: logo y menú quedan en los mismos márgenes laterales que el resto de la página */
html body footer .odellaFooter-content {
  max-width: none;
}

/* Footer: todo alineado a la izquierda, más aire entre menús; redes arriba de los datos y más pequeñas */
html body footer .odellaFooter-content {
  text-align: left;
}
@media (min-width: 992px) {
  html body footer .odellaFooter-content-structure-info {
    gap: clamp(48px, 6vw, 120px);
  }
}
html body footer .odellaFooter-content-structure-info-container,
html body footer .odellaFooter-content-structure-info-container-title,
html body footer .odellaFooter-content-structure-info-container-list {
  text-align: left;
  align-items: flex-start;
}
html body footer .odellaFooter-content-contact {
  justify-content: flex-start;
  align-items: flex-start;
  gap: 12px clamp(28px, 4vw, 72px);
  padding-left: clamp(20px, 4.9vw, 140px);
  padding-right: clamp(20px, 4.9vw, 140px);
}
html body footer .odellaFooter-content-contact-info {
  justify-content: flex-start;
  text-align: left;
}
html body footer .odellaFooter-content-redes {
  order: -1;
  flex: 0 0 100%;
  width: 100%;
  justify-content: flex-start;
  gap: 14px;
  margin: 0 0 4px;
}
html body footer .odellaFooter-content-redes-item img {
  width: 26px;
  height: 26px;
}
html body footer .odellaFooter-content-copyright {
  text-align: left;
  padding-left: clamp(20px, 4.9vw, 140px);
  padding-right: clamp(20px, 4.9vw, 140px);
}

/* Footer: las redes van al final de la línea de datos (después de "Cerrado"), más pequeñas */
html body footer .odellaFooter-content-redes {
  order: 0;
  flex: 0 0 auto;
  width: auto;
  margin: 0;
  align-self: center;
  justify-content: flex-start;
  gap: 12px;
}
html body footer .odellaFooter-content-redes-item img {
  width: 22px;
  height: 22px;
}

/* Footer (escritorio): datos y redes siempre en la misma línea; si falta espacio, se ajusta el texto, no se baja el ícono */
@media (min-width: 992px) {
  html body footer .odellaFooter-content-contact {
    flex-wrap: nowrap;
    align-items: center;
    gap: clamp(16px, 2.2vw, 44px);
  }
  html body footer .odellaFooter-content-contact > .odellaFooter-content-contact-info {
    flex: 0 1 auto;
    min-width: 0;
  }
  html body footer .odellaFooter-content-redes {
    flex: 0 0 auto;
    margin-left: auto;
  }
}
@media (min-width: 992px) {
  html body footer .odellaFooter-content-redes {
    margin-left: 0; /* justo después de "Cerrado", no pegadas al borde derecho */
  }
}

/* Footer: la línea de datos con las redes y los derechos reservados van centrados */
html body footer .odellaFooter-content-contact {
  justify-content: center;
}
html body footer .odellaFooter-content-copyright {
  text-align: center;
}

/* Títulos de todas las secciones del sitio (Home y demás páginas): 22px en todas las pantallas */
html body .odellaTitles-item,
html body .odellaLocator .odellaTitles-item,
html body .odellaLocator-title,
html body .odellaInyectable .odellaLocator-title,
html body .odellaPsec-titulo,
html body .odellaEdu-card-title {
  font-size: 22px;
  line-height: 1.2;
}
@media (max-width: 991.98px) {
  html body .odellaTitles-item,
  html body .odellaLocator .odellaTitles-item,
  html body .odellaLocator-title,
  html body .odellaInyectable .odellaLocator-title,
  html body .odellaPsec-titulo,
  html body .odellaEdu-card-title {
    font-size: 22px;
  }
}

/* ==========================================================================
   Tarjetas de Academy: logo grande y centrado → línea → título y texto → cifras 2 × 2 → fotos 2 × 2
   ========================================================================== */
html body .odellaEdu-card-logo {
  justify-content: center;
  min-height: 110px;
}
html body .odellaEdu-card-logo img {
  max-height: 96px;
  margin: 0 auto;
}
.odellaEdu-cifras {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 20px;
  margin: 0 0 26px;
}
.odellaEdu-cifra {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.odellaEdu-cifra-valor {
  font-size: clamp(26px, 2.3vw, 34px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: inherit;
}
.odellaEdu-cifra-texto {
  font-size: 13px;
  font-weight: 200;
  line-height: 1.35;
  color: inherit;
  opacity: 0.85;
}
.odellaEdu-fotos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 26px;
}
.odellaEdu-fotos img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 10px;
}

/* ==========================================================================
   Celular y tablet (hasta 1024px)
   ========================================================================== */
@media (max-width: 1024px) {
  /* El slider no ocupa toda la pantalla: en la primera pantalla se ven el video y la frase de marca */
  html body .odellaSlider--home {
    height: calc(100vh - var(--odella-bar-h, 0px) - 150px);
    height: calc(100dvh - var(--odella-bar-h, 0px) - 150px);
    min-height: 320px;
  }

  /* Testimoniales: el carrusel llega hasta el borde derecho para que se vea parte de la siguiente tarjeta */
  html body.home .odellaTestimoniales--home .odellaTestimoniales-content {
    margin-right: calc(-1 * var(--home-gutter));
    width: auto;
  }
  html body.home .odellaTestimoniales--home .odellaTestimoniales-box {
    overflow: hidden;
  }

  /* Academy: carrusel con desplazamiento horizontal; se ve una parte de la siguiente tarjeta */
  html body .odellaEdu-grid,
  html body .odellaEdu--count-3 .odellaEdu-grid,
  html body .odellaEdu--count-4 .odellaEdu-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 14px;
    overflow-x: auto;
    overflow-y: hidden;
    margin-right: calc(-1 * var(--home-gutter));
    padding: 0 var(--home-gutter) 14px 0;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }
  html body .odellaEdu-grid > .odellaEdu-card {
    flex: 0 0 82%;
    max-width: 82%;
    scroll-snap-align: start;
  }
}
@media (min-width: 600px) and (max-width: 1024px) {
  html body .odellaEdu-grid > .odellaEdu-card {
    flex: 0 0 46%;
    max-width: 46%;
  }
}

/* Testimoniales: cada tarjeta ocupa todo el ancho de su espacio en el carrusel (sin huecos entre tarjetas) */
html body .odellaTestimoniales-slider .swiper-slide {
  height: auto;
}
html body .odellaTestimoniales-slider .swiper-slide > .odellaTestimoniales-content-item {
  width: 100%;
  min-width: 0;
  max-width: none;
  flex: 1 1 auto;
  height: 100%;
  box-sizing: border-box;
}

/* Logos dentro de la cuadrícula: se ven completos (sin recortar), centrados en su cuadro */
.odellaEdu-fotos img.odellaEdu-foto--logo {
  object-fit: contain;
  padding: 14px;
  box-sizing: border-box;
  border: 1px solid var(--edu-line);
  background: transparent;
}

/* Cifras de las tarjetas de Academy: negrita y azul Odellā (como lo probaste en el navegador) */
html body .odellaEdu-cifra-valor {
  font-weight: 700;
  color: #041E42;
}

/* Logos de la cuadrícula: sin borde */
html body .odellaEdu-fotos img.odellaEdu-foto--logo {
  border: 0;
}

/* Cuadrícula de logos: líneas finas entre ellos (una vertical al centro y una horizontal entre filas) */
html body .odellaEdu-fotos:has(> .odellaEdu-foto--logo) {
  gap: 0;
}
html body .odellaEdu-fotos > img.odellaEdu-foto--logo {
  border: 0;
  border-radius: 0;
  padding: 18px;
}
html body .odellaEdu-fotos > img.odellaEdu-foto--logo:nth-child(odd) {
  border-right: 1px solid var(--edu-line);
}
html body .odellaEdu-fotos > img.odellaEdu-foto--logo:nth-child(-n + 2) {
  border-bottom: 1px solid var(--edu-line);
}

/* Cifra con imagen en lugar de datos */
.odellaEdu-cifra--img {
  justify-content: center;
}
.odellaEdu-cifra--img img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 64px;
  object-fit: contain;
}

/* Cifra con imagen: la imagen ocupa el lugar de la cifra (tamaño parecido) y el texto pequeño queda debajo */
.odellaEdu-cifra-valor--img {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: clamp(26px, 2.3vw, 34px);
}
.odellaEdu-cifra-valor--img img {
  display: block;
  width: auto;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
}

/* Carrusel de marcas: 5 logos a la vez en tablet y 3 en celular */
@media (max-width: 1024px) {
  html body.home .odellaCarrusel { --car-n: 5; }
}
@media (max-width: 575.98px) {
  html body.home .odellaCarrusel { --car-n: 3; --car-gap: 10px; }
}

/* ==========================================================================
   Slider del Home: alto estable. Se usa la altura "pequeña" de la pantalla (svh), que NO cambia cuando la
   barra del navegador del celular se esconde al hacer scroll; con dvh el slider crecía y el video se agrandaba.
   ========================================================================== */
html body .odellaSlider--home {
  height: calc(100vh - var(--odella-bar-h, 0px));
  height: calc(100svh - var(--odella-bar-h, 0px));
}
@media (max-width: 1024px) {
  html body .odellaSlider--home {
    height: calc(100vh - var(--odella-bar-h, 0px) - 150px);
    height: calc(100svh - var(--odella-bar-h, 0px) - 150px);
  }
}

/* ==========================================================================
   Footer en celular y tablet (menos de 992px): listados ordenados en dos columnas
   ========================================================================== */
@media (max-width: 991.98px) {
  html body footer .odellaFooter-content-structure {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
    padding: 32px 5vw 8px;
  }
  html body footer .odellaFooter-content-structure-logo img {
    width: 120px;
    margin: 0;
    padding: 0;
  }
  html body footer .odellaFooter-content-structure-info {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 26px;
    width: 100%;
    margin: 0;
    padding: 0;
  }
  html body footer .odellaFooter-content-structure-info-container {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
    max-width: 100%;
  }
  html body footer .odellaFooter-content-structure-info-container-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 18px;
    width: 100%;
    max-width: 100%;
    flex-direction: initial;
    justify-content: initial;
    text-align: left;
  }
  html body footer .odellaFooter-content-structure-info-container-list-item {
    display: block;
    padding: 0;
    text-align: left;
  }
  /* los textos de contacto quedan centrados y con aire */
  html body footer .odellaFooter-content-contact {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding-left: 5vw;
    padding-right: 5vw;
  }
  html body footer .odellaFooter-content-redes {
    margin: 4px 0 0;
  }
  html body footer .odellaFooter-content-copyright {
    padding-left: 5vw;
    padding-right: 5vw;
  }
}

/* Categorías en tablet: desplazamiento horizontal, igual que en celular; se ve una parte de la siguiente tarjeta */
@media (min-width: 576px) and (max-width: 1024px) {
  html body .odellaNegocio--cards .odellaNegocio-content-container {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 14px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    margin-right: calc(-1 * var(--home-gutter, 4.9vw));
    padding-right: var(--home-gutter, 4.9vw);
    padding-bottom: 12px;
    width: auto;
    max-width: none;
    scroll-snap-type: x proximity;
  }
  html body .odellaNegocio--cards .odellaNegocio-content-container-item {
    flex: 0 0 30vw;
    width: 30vw;
    min-width: 30vw;
    aspect-ratio: 1 / 1;
    scroll-snap-align: start;
  }
}
@media (min-width: 576px) and (max-width: 1024px) {
  html body .odellaNegocio--cards .odellaNegocio-content-container-item {
    flex: 0 0 27vw;
    width: 27vw;
    min-width: 27vw;
  }
}

/* ==========================================================================
   Tarjetas de contacto: todas con la misma estructura, sin importar cuántas líneas ocupe el texto.
   Misma altura, texto centrado arriba y el botón siempre alineado abajo, al mismo nivel.
   ========================================================================== */
html body .odellaContact-content {
  align-items: stretch;
}
html body .odellaContact-content-item {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
}
html body .odellaContact-content-item-link {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  height: 100%;
}
html body .odellaContact-content-item-info {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  text-align: center;
}
html body .odellaContact-content-item-link > .btnOdella {
  margin-top: auto;
  flex: 0 0 auto;
}
@media (min-width: 576px) and (max-width: 1024px) {
  /* en tablet las tres tarjetas se reparten el ancho por igual */
  html body .odellaContact-content {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }
  html body .odellaContact-content-item {
    min-width: 0;
    width: auto;
    max-width: none;
  }
}
/* mismo ancho de botón en las tres tarjetas */
html body .odellaContact-content-item-link > .btnOdella {
  min-width: min(100%, 150px);
  justify-content: center;
  text-align: center;
}

/* ==========================================================================
   Menú de celular y tablet: la X queda fija arriba y el contenido se desplaza por debajo (nunca sube hasta la X)
   ========================================================================== */
@media (max-width: 1199.98px) {
  html body .odellaHeader-content-main.is-open {
    overflow: hidden;
    justify-content: flex-start;
    gap: 14px;
    padding: 72px 36px 24px 20px;
  }
  /* el listado se desplaza dentro del panel, debajo del espacio de la X */
  html body .odellaHeader-content-main.is-open .odellaHeader-content-main-nav {
    flex: 1 1 auto;
    min-height: 0;
    width: 100%;
    max-height: calc(100svh - 72px - 96px);
    padding-top: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }
  /* X de cierre: mismo tamaño y posición en celular y tablet */
  html body .odellaHeader-content-main.is-open .odellaHeader-close-icon {
    position: fixed;
    top: 22px;
    right: 24px;
    width: 26px;
    height: 26px;
    z-index: 1003;
  }
  /* más aire a la derecha para los textos */
  html body .odellaHeader-content-main.is-open .odellaHeader-content-main-nav-list,
  html body .odellaHeader-content-main.is-open :is(.odellaHeader-content-main-nav-list-item-submenu, .odellaHeader-content-main-nav-list-dropdown-submenu) {
    padding-right: 6px;
  }
}

/* Footer: países en dos columnas; los que están "Próximamente" no se pueden seleccionar */
html body footer .odellaFooter-paises {
  display: block;
  column-count: 2;
  column-gap: clamp(24px, 3vw, 48px);
  width: max-content;
  max-width: 100%;
}
html body footer .odellaFooter-paises > li { break-inside: avoid; }
html body footer .odellaFooter-paises > li.is-proximamente { opacity: 0.55; cursor: not-allowed; }
html body footer .odellaFooter-pais-soon { color: inherit; cursor: not-allowed; }
html body footer .odellaFooter-pais-soon em { margin-left: 4px; font-size: 0.78em; font-style: normal; opacity: 0.8; }

/* Cifras de Academy: cada una ocupa siempre dos líneas (valor y una sola línea de texto) */
html body .odellaEdu-cifras { container-type: inline-size; }
html body .odellaEdu-cifra-texto {
  white-space: nowrap;
  font-size: clamp(9px, 3.9cqw, 13px);
  line-height: 1.3;
}

/* Logos de las tarjetas de Academy: todos con la misma altura (64px) para que se vean uniformes; el ancho se ajusta (tope: el de cada tarjeta en el admin) */
html body .odellaEdu-card-logo { min-height: 64px; }
html body .odellaEdu-card-logo img {
  height: 64px;
  max-height: 64px;
  width: auto;
  object-fit: contain;
}

/* Academy: carrusel de fotos, 2 a la vez, que avanza solo */
html body .odellaEdu-fotos.is-carrusel {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
html body .odellaEdu-fotos.is-carrusel::-webkit-scrollbar { display: none; }
html body .odellaEdu-fotos.is-carrusel > img {
  flex: 0 0 calc((100% - 10px) / 2);
  width: calc((100% - 10px) / 2);
  scroll-snap-align: start;
}

/* Academy: carrusel de logos (2 a la vez) con una línea fina entre ellos */
html body .odellaEdu-fotos.is-carrusel:has(> .odellaEdu-foto--logo) {
  gap: 0;
  clip-path: inset(0 1px 0 0);
}
html body .odellaEdu-fotos.is-carrusel > img.odellaEdu-foto--logo {
  flex: 0 0 50%;
  width: 50%;
  border-bottom: 0;
  border-right: 1px solid var(--edu-line);
}

/* ==========================================================================
   Preguntas frecuentes: misma tipografía del resto del sitio (texto 200; títulos, preguntas y botones 400)
   ========================================================================== */
html body .odellaFaq-sidebar .odellaTitles-item { font-weight: 400; }
html body .odellaFaq-sidebar .odellaTitles-item span { font-weight: 200; }
html body .odellaFaq-sidebar-desc {
  font-weight: 200;
  font-size: 15px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.8);
}
html body .odellaFaq-categorias-item {
  font-size: 15px;
  font-weight: 400;
}
html body .odellaFaq-cat-group-titulo {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.12em;
}
html body .odellaFaq-content-item-head {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
}
html body .odellaFaq-content-item-body,
html body .odellaFaq-content-item-body-txt {
  font-size: 15px;
  font-weight: 200;
  line-height: 1.65;
  color: #696969;
}
html body .odellaFaq-content-item-body strong,
html body .odellaFaq-content-item-body b {
  font-weight: 400;
  color: #041E42;
}
html body .odellaFaq-content-empty { font-weight: 200; }
@media (max-width: 575.98px) {
  html body .odellaFaq-content-item-head { font-size: 15px; }
}

/* ==========================================================================
   Páginas con formulario (Distribuyamos tu marca, Contacta un asesor, etc.), formularios en ventana y Política de privacidad
   Misma tipografía del resto del sitio: texto 200; títulos, etiquetas y botones 400.
   ========================================================================== */
/* Banner */
html body .odellaGenericaDatos-banner-title h2 {
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 200;
  line-height: 1.1;
}
html body .odellaGenericaDatos-banner-title h2 strong,
html body .odellaGenericaDatos-banner-title h2 b { font-weight: 400; }
/* Título de la página */
html body .odellaGenericaDatos-title h3 { font-size: 22px; font-weight: 400; line-height: 1.2; color: #041E42; }
html body .odellaGenericaDatos-title p { font-weight: 200; font-size: 15px; line-height: 1.5; }
/* Columna azul */
html body .odellaGenericaDatos-content-info-personal-name-title { font-size: 22px; font-weight: 400; line-height: 1.2; }
html body .odellaGenericaDatos-content-info-personal-name-cargo { font-size: 15px; font-weight: 400; }
html body .odellaGenericaDatos-content-info-personal-name-slogan { font-size: 14px; font-weight: 200; line-height: 1.5; }
html body .odellaGenericaDatos-content-info-frase { font-size: 15px; font-weight: 200; line-height: 1.6; gap: 12px; }
html body .odellaGenericaDatos-content-info-frase p { margin: 0; }
html body .odellaGenericaDatos-content-info-frase strong,
html body .odellaGenericaDatos-content-info-frase b { font-weight: 400; }
/* Formulario (página y ventana emergente) */
html body .odellaGenericaDatos-content-form h3,
html body .odellaFormInt-content h2,
html body .odellaFormInt-content h3 { font-size: 22px; font-weight: 400; line-height: 1.2; color: #041E42; }
html body .odellaFormInt-medicos-note { font-size: 13px; font-weight: 200; color: #696969; }
html body .odellaGenericaDatos-content-form input,
html body .odellaGenericaDatos-content-form select,
html body .odellaGenericaDatos-content-form textarea,
html body .odellaFormInt-content input,
html body .odellaFormInt-content select,
html body .odellaFormInt-content textarea {
  font-size: 15px;
  font-weight: 200;
  color: #041E42;
}
html body .odellaGenericaDatos-content-form input::placeholder,
html body .odellaGenericaDatos-content-form textarea::placeholder,
html body .odellaFormInt-content input::placeholder,
html body .odellaFormInt-content textarea::placeholder { font-weight: 200; color: #8a8f98; }
html body .odellaGenericaDatos-content-form .form-group label,
html body .odellaFormInt-content .form-group label { font-weight: 400; }
html body .odellaGenericaDatos-content-form .checkbox-container,
html body .odellaFormInt-content .checkbox-container { font-size: 13px; font-weight: 200; line-height: 1.5; color: #696969; }
html body .odellaGenericaDatos-content-form .checkbox-container a,
html body .odellaFormInt-content .checkbox-container a { font-weight: 400; }
html body .odellaGenericaDatos-content-form button[type=submit],
html body .odellaFormInt-content button[type=submit] { font-size: 15px; font-weight: 400; }
html body .success-message,
html body .error-message { font-size: 14px; font-weight: 200; }
/* Aviso de reCAPTCHA */
html body .odellaRecaptchaNota { font-size: 11px; font-weight: 200; line-height: 1.5; color: #8a8f98; }
html body .odellaRecaptchaNota a { font-weight: 200; }
/* Política de privacidad */
html body .odellaPrivacity-title .odellaTitles-item { font-weight: 400; }
html body .odellaPrivacity-content-item-title { font-size: 18px; font-weight: 400; line-height: 1.3; color: #041E42; }
html body .odellaPrivacity-content-item-txt,
html body .odellaPrivacity-content-item-list-sub,
html body .odellaPrivacity-content-item-list-sub-contenido { font-size: 15px; font-weight: 200; line-height: 1.7; color: #696969; }
html body .odellaPrivacity-content-item-txt p { margin: 0 0 1em; }
html body .odellaPrivacity-content-item-txt strong,
html body .odellaPrivacity-content-item-txt b,
html body .odellaPrivacity-content-item-list-sub b,
html body .odellaPrivacity-content-item-list-sub strong { font-weight: 400; color: #041E42; }
html body .odellaGenericaDatos-content-form .form-group label.checkbox-container,
html body .odellaFormInt-content .form-group label.checkbox-container { font-weight: 200; }
html body h2.odellaPrivacity-title { font-size: 22px; font-weight: 400; line-height: 1.2; color: #041E42; }

/* Academy: cifras y logo en gris (texto del sitio, #696969) */
html body .odellaEdu-cifra-valor { color: #696969; }
html body .odellaEdu-cifra--img img,
html body .odellaEdu-cifra-valor--img img { filter: brightness(0) invert(0.41); }

/* Academy: las cifras (y el logo en lugar de cifra) toman el color de texto elegido para la tarjeta */
html body .odellaEdu-cifra-valor { color: inherit; }
html body .odellaEdu-cifra-valor--img { position: relative; }
html body .odellaEdu-cifra--img img,
html body .odellaEdu-cifra-valor--img img { filter: none; opacity: 0; }
html body .odellaEdu-cifra-valor--img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: currentColor;
  -webkit-mask: var(--cifra-logo) left center / contain no-repeat;
  mask: var(--cifra-logo) left center / contain no-repeat;
}

/* Preguntas frecuentes (escritorio): sin franja blanca bajo el header. El bloque arranca en el borde superior y
   el header, que va encima, deja su altura como espacio interno. */
@media (min-width: 992px) {
  html body .odellaFaq { margin-top: 0; height: 100vh; }
  html body .odellaFaq-sidebar { padding-top: 88px; }
  html body .odellaFaq-content { padding-top: 118px; }
}

/* Banners: sin degradado oscuro en la parte superior (zona del header) */
html body .odellaSlider::before,
html body .odellaPlantilla-1-banner::before,
html body .odellaNosotros-banner::before,
html body .odellaDevices-banner::before,
html body .odellaDermo-banner::before,
html body .odellaFabricantes-banner::before,
html body .odellaOva-video::before,
html body .odellaEventos-banner::before,
html body .odellaEventoint-banner::before,
html body .odellaOnlyProduct-banner::before,
html body.single-brand .odellaSlider-content-item::before,
html body.single-device .odellaDevices-banner::before,
html body.single-manufacturer .odellaFabricantes-banner::before,
html body.single-line .odellaOnlyProduct-banner::before {
  content: none;
  background: none;
}

/* Sin degradado, el header sobre un banner claro se lee con una sombra suave en sus textos y logo */
html body .odellaHeader.hero-over:not(.active):not(:hover) :is(a, button, span) { text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35); }
html body .odellaHeader.hero-over:not(.active):not(:hover) img { filter: drop-shadow(0 1px 6px rgba(0, 0, 0, 0.35)); }

/* Banner de marca (texto y logo sobre la imagen): mismas proporciones y pesos que el slider promocional */
html body .odellaSlider-content-item-main-textos { gap: 14px; }
html body .odellaSlider-content-item-main-textos-logo {
  width: min(220px, 100%);
  height: auto;
  max-height: none;
  aspect-ratio: 3.4 / 1;
  object-fit: contain;
  object-position: left center;
}
html body .odellaSlider-content-item-main-textos .odellaOnlyProduct-content-main-textos-sub {
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 200;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0;
}
html body .odellaSlider-content-item-main-textos .odellaOnlyProduct-content-main-textos-sub strong,
html body .odellaSlider-content-item-main-textos .odellaOnlyProduct-content-main-textos-sub b { font-weight: 400; }
html body .odellaSlider-content-item-main-textos .odellaOnlyProduct-content-main-textos-desc {
  font-size: clamp(14px, 1.15vw, 16px);
  font-weight: 200;
  line-height: 1.55;
  margin: 0;
}
html body .odellaSlider-content-item-main-textos .btnOdella { font-size: 15px; font-weight: 400; }
@media (max-width: 575.98px) {
  html body .odellaSlider-content-item-main-textos-logo { width: min(160px, 46vw); max-height: none; object-position: center; }
  html body .odellaSlider-content-item-main-textos .odellaOnlyProduct-content-main-textos-sub { font-size: 22px; }
  html body .odellaSlider-content-item-main-textos .odellaOnlyProduct-content-main-textos-desc { font-size: 14px; }
}

/* ==========================================================================
   Celular y tablet: menú más fluido (el desenfoque fuerte hacía que se trabara) y aviso inmediato al tocar un enlace
   ========================================================================== */
@media (max-width: 1199.98px) {
  html body .odellaHeader-content-main.is-open {
    background: rgba(255, 255, 255, 0.96);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    transition: none;
    will-change: auto;
  }
  html body .odellaHeader::before,
  html body .odellaHeader:hover::before,
  html body .odellaHeader.active::before {
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
  }
  html body .odellaHeader a,
  html body .odellaHeader button { touch-action: manipulation; -webkit-tap-highlight-color: rgba(4, 30, 66, 0.12); }
}
/* Barra de carga arriba mientras abre la página elegida */
html.odella-navegando::before {
  content: "";
  position: fixed;
  z-index: 100001;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: #041E42;
  animation: odellaCargando 9s cubic-bezier(0.1, 0.6, 0.2, 1) forwards;
  pointer-events: none;
}
@keyframes odellaCargando { to { width: 92%; } }
html.odella-navegando .odellaHeader a.is-cargando { opacity: 0.55; }
@media (prefers-reduced-motion: reduce) { html.odella-navegando::before { animation: none; width: 60%; } }

/* Menús desplegables del header iguales en todas las páginas: el header en sí no lleva desenfoque de fondo
   (si lo lleva, los paneles de vidrio de su interior dejan de desenfocar la página y se ven nítidos). */
html body .odellaHeader,
html body .odellaHeader:hover,
html body .odellaHeader.active,
html body .odellaHeader.solid,
html body .odellaHeader.hero-over,
html body .odellaHeader.scrolled {
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}
