/* Bonjour Web V2 — Global chrome: Header / Navigation / Footer */

.bonjour-v2 {
  --bj-header-h: 104px;
}

.bonjour-v2 .bj-v2-main {
  min-height: 60vh;
}

.bj-site-header {
  position: fixed;
  z-index: 10010;
  top: 0;
  left: 0;
  width: 100%;
  pointer-events: none;
}

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

.bj-header-shell {
  width: 100%;
  min-height: var(--bj-header-h);
  border-bottom: 1px solid rgba(255,255,255,.16);
  background: transparent;
  transition:
    width 320ms cubic-bezier(.2,.72,.24,1),
    margin 320ms cubic-bezier(.2,.72,.24,1),
    min-height 320ms cubic-bezier(.2,.72,.24,1),
    border-radius 320ms cubic-bezier(.2,.72,.24,1),
    border-color 320ms ease,
    box-shadow 320ms ease,
    background 320ms ease;
  pointer-events: auto;
}

.bj-site-header--on-light .bj-header-shell {
  border-bottom-color: rgba(12,42,76,.10);
}

.bj-header-inner {
  width: min(calc(100% - 64px), 1340px);
  min-height: inherit;
  margin-inline: auto;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 46px;
}

.bj-brand-link {
  position: relative;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  width: 222px;
  max-width: 24vw;
  text-decoration: none;
}

.bj-brand-logo {
  display: block;
  width: 100%;
  height: auto;
  transition: opacity 220ms ease, transform 220ms ease;
}

.bj-brand-logo--dark {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.bj-site-header--on-light .bj-brand-logo--light {
  opacity: 0;
}

.bj-site-header--on-light .bj-brand-logo--dark {
  opacity: 1;
}

.bj-nav-panel {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 34px;
  min-width: 0;
}

.bj-primary-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2vw, 30px);
  min-width: 0;
}

.bj-primary-nav > a,
.bj-nav-services-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 12px 0;
  border: 0;
  background: transparent;
  color: rgba(255,255,255,.90);
  font: inherit;
  font-size: 15px;
  font-weight: 570;
  letter-spacing: -.012em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: opacity 180ms ease, color 180ms ease;
}

.bj-site-header--on-light .bj-primary-nav > a,
.bj-site-header--on-light .bj-nav-services-toggle {
  color: #293445;
}

.bj-primary-nav > a:hover,
.bj-nav-services-toggle:hover {
  opacity: .70;
}

.bj-nav-services-toggle svg {
  width: 10px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  transition: transform 180ms ease;
}

.bj-nav-group {
  position: relative;
}

.bj-nav-submenu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  width: 390px;
  padding: 12px;
  border: 1px solid rgba(255,255,255,.68);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.92), rgba(245,248,252,.82));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.92),
    0 24px 70px rgba(3,30,64,.18);
  -webkit-backdrop-filter: blur(28px) saturate(170%);
  backdrop-filter: blur(28px) saturate(170%);
  transform: translate(-50%, 8px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 180ms ease,
    transform 220ms cubic-bezier(.2,.72,.24,1),
    visibility 180ms ease;
}

.bj-nav-group:hover .bj-nav-submenu,
.bj-nav-group:focus-within .bj-nav-submenu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.bj-nav-group:hover .bj-nav-services-toggle svg,
.bj-nav-group:focus-within .bj-nav-services-toggle svg {
  transform: rotate(180deg);
}

.bj-nav-submenu a {
  display: block;
  padding: 13px 14px;
  border-radius: 15px;
  color: #15253a;
  text-decoration: none;
  transition: background-color 160ms ease, transform 160ms ease;
}

.bj-nav-submenu a:hover {
  background: rgba(18,125,244,.075);
  transform: translateX(2px);
}

.bj-nav-submenu span,
.bj-nav-submenu small {
  display: block;
}

.bj-nav-submenu span {
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -.012em;
}

.bj-nav-submenu small {
  margin-top: 3px;
  color: #6b7482;
  font-size: 12px;
  line-height: 1.35;
}

.bj-header-actions {
  display: flex;
  align-items: center;
  gap: 9px;
}

.bj-btn--header-ghost,
.bj-btn--header-primary {
  min-height: 45px;
  padding-inline: 19px;
  font-size: 14px;
}

.bj-btn--header-ghost {
  color: #fff;
  border: 1px solid rgba(255,255,255,.76);
  background: rgba(255,255,255,.035);
}

.bj-site-header--on-light .bj-btn--header-ghost {
  color: var(--bj-brand);
  border-color: rgba(27,64,125,.34);
  background: rgba(255,255,255,.42);
}

.bj-btn--header-primary {
  color: #fff;
  background: linear-gradient(180deg, #2499ff 0%, #0e82f4 100%);
  box-shadow: 0 9px 24px rgba(14,130,244,.24);
}

.bj-site-header.is-stuck .bj-header-shell {
  width: min(calc(100% - 40px), 1390px);
  min-height: 82px;
  margin: 13px auto 0;
  border: 1px solid rgba(255,255,255,.58);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.84), rgba(242,247,252,.66));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.92),
    0 18px 58px rgba(4,27,58,.16);
  -webkit-backdrop-filter: blur(28px) saturate(175%);
  backdrop-filter: blur(28px) saturate(175%);
}

.bj-site-header.is-stuck .bj-header-inner {
  width: min(calc(100% - 52px), 1290px);
}

.bj-site-header.is-stuck .bj-brand-link {
  width: 204px;
}

.bj-site-header.is-stuck .bj-brand-logo--light {
  opacity: 0;
}

.bj-site-header.is-stuck .bj-brand-logo--dark {
  opacity: 1;
}

.bj-site-header.is-stuck .bj-primary-nav > a,
.bj-site-header.is-stuck .bj-nav-services-toggle {
  color: #253246;
}

.bj-site-header.is-stuck .bj-btn--header-ghost {
  color: var(--bj-brand);
  border-color: rgba(27,64,125,.30);
  background: rgba(255,255,255,.45);
}

.bj-menu-toggle {
  display: none;
}

/* Technical placeholder shown only until the page receives real content. */
.bj-v2-technical-preview {
  min-height: 720px;
  display: grid;
  align-items: center;
  padding-top: calc(var(--bj-header-h) + 70px);
}

.bj-v2-technical-preview__inner {
  max-width: 1080px;
}

.bj-v2-technical-preview .bj-display {
  max-width: 1010px;
  margin-top: 28px;
}

.bj-v2-technical-preview .bj-lead {
  max-width: 790px;
  margin-top: 32px;
  color: rgba(255,255,255,.86);
}

.bj-v2-empty-page {
  min-height: 620px;
  padding-top: calc(var(--bj-header-h) + 120px);
  padding-bottom: 120px;
  background:
    radial-gradient(circle at 80% 5%, rgba(29,138,255,.08), transparent 30%),
    #fff;
}

.bj-v2-empty-page .bj-h2 {
  max-width: 860px;
  margin-top: 28px;
  color: var(--bj-brand);
}

.bj-v2-empty-page .bj-copy {
  max-width: 690px;
  margin-top: 24px;
}

/* Footer */
.bj-site-footer {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 76% 22%, rgba(24,142,255,.22), transparent 33%),
    linear-gradient(145deg, #0b4a88 0%, #06396d 52%, #042b55 100%);
}

.bj-footer-glow {
  position: absolute;
  width: 560px;
  height: 560px;
  right: -180px;
  top: -260px;
  border-radius: 50%;
  background: rgba(80,171,255,.14);
  filter: blur(1px);
}

.bj-footer-inner {
  position: relative;
  z-index: 1;
  width: min(calc(100% - (var(--bj-gutter) * 2)), var(--bj-container));
  margin-inline: auto;
  padding-top: clamp(76px, 8vw, 125px);
}

.bj-footer-main {
  display: grid;
  grid-template-columns: 1.25fr .68fr .55fr 1.25fr;
  gap: clamp(32px, 4vw, 68px);
}

.bj-footer-brand img {
  width: 230px;
  height: auto;
}

.bj-footer-brand p {
  max-width: 400px;
  margin: 27px 0 0;
  color: rgba(255,255,255,.72);
  font-size: 17px;
  line-height: 1.62;
}

.bj-footer-column h2 {
  margin: 0 0 21px;
  color: rgba(255,255,255,.54);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .10em;
  text-transform: uppercase;
}

.bj-footer-column a {
  display: block;
  width: fit-content;
  margin: 0 0 13px;
  color: rgba(255,255,255,.88);
  font-size: 15px;
  line-height: 1.4;
  text-decoration: none;
  transition: opacity 160ms ease, transform 160ms ease;
}

.bj-footer-column a:hover {
  opacity: .68;
  transform: translateX(2px);
}

.bj-footer-cta {
  padding: 27px;
  border: 1px solid rgba(255,255,255,.20);
  border-radius: 26px;
  background: rgba(255,255,255,.075);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.10);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.bj-footer-eyebrow {
  display: block;
  color: #83c2ff;
  font-size: 13px;
  font-weight: 650;
}

.bj-footer-cta h2 {
  max-width: 390px;
  margin: 14px 0 24px;
  font-size: clamp(25px, 2.25vw, 36px);
  line-height: 1.08;
  letter-spacing: -.035em;
  font-weight: 550;
}

.bj-btn--footer {
  min-height: 48px;
  color: #073d75;
  background: #fff;
}

.bj-footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: clamp(64px, 7vw, 104px);
  padding: 24px 0 31px;
  border-top: 1px solid rgba(255,255,255,.14);
  color: rgba(255,255,255,.54);
  font-size: 13px;
}

/* Mobile */
@media (max-width: 1120px) {
  .bj-header-inner {
    width: min(calc(100% - 42px), 1320px);
    gap: 24px;
  }

  .bj-brand-link {
    width: 198px;
  }

  .bj-primary-nav {
    gap: 16px;
  }

  .bj-primary-nav > a,
  .bj-nav-services-toggle {
    font-size: 14px;
  }

  .bj-header-actions {
    gap: 7px;
  }

  .bj-btn--header-ghost,
  .bj-btn--header-primary {
    padding-inline: 15px;
  }

  .bj-footer-main {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .bj-footer-cta {
    grid-column: 1 / -1;
  }
}

@media (max-width: 880px) {
  .bonjour-v2 {
    --bj-header-h: 80px;
  }

  .admin-bar .bj-site-header {
    top: 46px;
  }

  .bj-header-shell {
    min-height: var(--bj-header-h);
  }

  .bj-header-inner,
  .bj-site-header.is-stuck .bj-header-inner {
    width: calc(100% - 34px);
    grid-template-columns: 1fr auto;
  }

  .bj-brand-link,
  .bj-site-header.is-stuck .bj-brand-link {
    width: 184px;
    max-width: 58vw;
  }

  .bj-menu-toggle {
    position: relative;
    z-index: 20;
    display: grid;
    place-content: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid rgba(255,255,255,.45);
    border-radius: 50%;
    background: rgba(255,255,255,.08);
    cursor: pointer;
  }

  .bj-site-header--on-light .bj-menu-toggle,
  .bj-site-header.is-stuck .bj-menu-toggle {
    border-color: rgba(27,64,125,.18);
    background: rgba(255,255,255,.62);
  }

  .bj-menu-toggle span {
    display: block;
    width: 17px;
    height: 1.5px;
    border-radius: 2px;
    background: #fff;
    transition: transform 180ms ease, background-color 180ms ease;
  }

  .bj-site-header--on-light .bj-menu-toggle span,
  .bj-site-header.is-stuck .bj-menu-toggle span {
    background: var(--bj-brand);
  }

  .bj-menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(3.75px) rotate(45deg);
  }

  .bj-menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-3.75px) rotate(-45deg);
  }

  .bj-site-header.is-stuck .bj-header-shell {
    width: calc(100% - 20px);
    min-height: 70px;
    margin-top: 8px;
    border-radius: 22px;
  }

  .bj-nav-panel {
    position: fixed;
    inset: 0;
    z-index: 10;
    display: block;
    padding: 118px 24px 34px;
    overflow-y: auto;
    background:
      radial-gradient(circle at 80% 4%, rgba(40,149,255,.16), transparent 30%),
      rgba(247,250,253,.96);
    -webkit-backdrop-filter: blur(28px) saturate(170%);
    backdrop-filter: blur(28px) saturate(170%);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 220ms ease, visibility 220ms ease, transform 240ms ease;
  }

  .bj-site-header.menu-open .bj-nav-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .bj-primary-nav {
    display: block;
  }

  .bj-primary-nav > a,
  .bj-nav-services-toggle {
    width: 100%;
    justify-content: space-between;
    padding: 15px 2px;
    border-bottom: 1px solid rgba(15,45,82,.09);
    color: #152a43 !important;
    font-size: 22px;
    font-weight: 560;
    letter-spacing: -.03em;
  }

  .bj-nav-group {
    display: block;
  }

  .bj-nav-submenu {
    position: static;
    width: 100%;
    max-height: 0;
    padding: 0 0 0 10px;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
    transition: max-height 260ms ease, padding 260ms ease;
  }

  .bj-nav-group.services-open .bj-nav-submenu {
    max-height: 520px;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .bj-nav-group.services-open .bj-nav-services-toggle svg {
    transform: rotate(180deg);
  }

  .bj-nav-submenu a {
    padding: 11px 7px;
  }

  .bj-header-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 28px;
  }

  .bj-btn--header-ghost,
  .bj-btn--header-primary {
    min-height: 52px;
    width: 100%;
    font-size: 16px;
  }

  .bj-btn--header-ghost {
    color: var(--bj-brand);
    border-color: rgba(27,64,125,.26);
    background: #fff;
  }

  body.bj-menu-open {
    overflow: hidden;
  }

  .bj-footer-main {
    grid-template-columns: 1fr 1fr;
  }

  .bj-footer-brand,
  .bj-footer-cta {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  .bj-footer-main {
    grid-template-columns: 1fr;
  }

  .bj-footer-brand,
  .bj-footer-cta {
    grid-column: auto;
  }

  .bj-footer-bottom {
    flex-direction: column;
    gap: 7px;
  }

  .bj-v2-technical-preview {
    min-height: 680px;
  }
}

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

@media (prefers-reduced-motion: reduce) {
  .bj-header-shell,
  .bj-nav-panel,
  .bj-nav-submenu,
  .bj-menu-toggle span {
    transition: none !important;
  }
}

/* ==========================================================================
   BEGIN 12-R04 — submenú Servicios
   ========================================================================== */

@media (min-width: 881px) {
  .bj-nav-group::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    width: 430px;
    height: 18px;
    transform: translateX(-50%);
  }

  .bj-nav-submenu {
    top: calc(100% + 8px) !important;
    border-color: rgba(255,255,255,.62) !important;
    background:
      linear-gradient(
        180deg,
        rgba(255,255,255,.58) 0%,
        rgba(249,251,254,.50) 100%
      ) !important;
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.72),
      0 22px 54px rgba(6,22,42,.14) !important;
    -webkit-backdrop-filter: blur(24px) saturate(150%) !important;
    backdrop-filter: blur(24px) saturate(150%) !important;
  }

  .bj-nav-group.services-hover-open .bj-nav-submenu,
  .bj-nav-group.services-hover-open:focus-within .bj-nav-submenu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 0);
  }

  .bj-nav-group.services-hover-open .bj-nav-services-toggle svg {
    transform: rotate(180deg);
  }
}

/* ==========================================================================
   END 12-R04
   ========================================================================== */

/* ==========================================================================
   BEGIN 12-R05 — submenu blanco + hover cards
   ========================================================================== */

@media (min-width: 881px) {
  .bj-nav-submenu {
    background: rgba(255,255,255,.95) !important;
    border-color: rgba(15,55,95,.08) !important;
    box-shadow:
      0 18px 44px rgba(5,24,46,.12) !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
  }
}

/* ==========================================================================
   END 12-R05
   ========================================================================== */

/* 18-R05 SERVICES SUBMENU - START */

/* Blanco sólido 100% para el dropdown de Servicios. */
.bj-site-header :is(
  .bj-nav-submenu,
  .bj-nav-dropdown,
  .bj-nav-services-menu,
  .bj-services-submenu,
  [class*="services"][class*="submenu"],
  [class*="services"][class*="dropdown"]
) {
  background: #ffffff !important;
  background-color: #ffffff !important;
  opacity: 1 !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* Azul firme de base. */
.bj-site-header :is(
  .bj-nav-submenu,
  .bj-nav-dropdown,
  .bj-nav-services-menu,
  .bj-services-submenu,
  [class*="services"][class*="submenu"],
  [class*="services"][class*="dropdown"]
) a {
  color: #0b4f96 !important;
}

/* Títulos internos. */
.bj-site-header :is(
  .bj-nav-submenu,
  .bj-nav-dropdown,
  .bj-nav-services-menu,
  .bj-services-submenu,
  [class*="services"][class*="submenu"],
  [class*="services"][class*="dropdown"]
) a :is(
  strong,
  b,
  [class*="title"],
  [class*="name"],
  [class*="label"]
) {
  color: #0b5fd7 !important;
}

/* Hover / activo / foco: azul más brillante. */
.bj-site-header :is(
  .bj-nav-submenu,
  .bj-nav-dropdown,
  .bj-nav-services-menu,
  .bj-services-submenu,
  [class*="services"][class*="submenu"],
  [class*="services"][class*="dropdown"]
) a:is(
  :hover,
  :focus-visible,
  .is-active,
  [aria-current="page"]
) {
  color: #0878ff !important;
}

.bj-site-header :is(
  .bj-nav-submenu,
  .bj-nav-dropdown,
  .bj-nav-services-menu,
  .bj-services-submenu,
  [class*="services"][class*="submenu"],
  [class*="services"][class*="dropdown"]
) a:is(
  :hover,
  :focus-visible,
  .is-active,
  [aria-current="page"]
) :is(
  strong,
  b,
  [class*="title"],
  [class*="name"],
  [class*="label"]
) {
  color: #0878ff !important;
}

/* Descripciones neutras, legibles. */
.bj-site-header :is(
  .bj-nav-submenu,
  .bj-nav-dropdown,
  .bj-nav-services-menu,
  .bj-services-submenu,
  [class*="services"][class*="submenu"],
  [class*="services"][class*="dropdown"]
) a :is(
  small,
  p,
  [class*="description"],
  [class*="desc"],
  [class*="subtitle"],
  [class*="excerpt"]
) {
  color: #667085 !important;
}

/* 18-R05 SERVICES SUBMENU - END */

/* 19-R16 MOBILE MENU FIX - START */

@media (max-width: 880px) {

  .bonjour-v2 .bj-site-header.menu-open .bj-nav-panel .bj-primary-nav > a,
  .bonjour-v2 .bj-site-header.menu-open .bj-nav-panel .bj-nav-services-toggle {
    color: #17365b !important;
  }

  .bonjour-v2 .bj-site-header.menu-open .bj-nav-panel .bj-nav-services-toggle svg {
    color: #17365b !important;
    stroke: currentColor !important;
  }

  .bonjour-v2 .bj-site-header.menu-open .bj-nav-panel .bj-btn--header-ghost {
    color: #0b4f96 !important;
    border-color: rgba(27,64,125,.24) !important;
    background: rgba(255,255,255,.88) !important;
  }

  .bonjour-v2 .bj-site-header.menu-open .bj-nav-panel .bj-btn--header-primary {
    color: #ffffff !important;
  }

  .bonjour-v2 .bj-site-header.menu-open .bj-menu-toggle {
    border-color: rgba(27,64,125,.22) !important;
    background: rgba(255,255,255,.48) !important;
  }

  .bonjour-v2 .bj-site-header.menu-open .bj-menu-toggle span {
    background: #17365b !important;
  }

  .bonjour-v2 .bj-site-header.menu-open .bj-nav-panel .bj-nav-group {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    max-width: none !important;
  }

  .bonjour-v2 .bj-site-header.menu-open .bj-nav-panel .bj-nav-submenu {
    position: static !important;
    inset: auto !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    max-height: 0;
    margin: 0 !important;
    padding: 0 0 0 12px !important;
    overflow: hidden !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    pointer-events: auto !important;
    transition:
      max-height 240ms ease,
      padding-top 240ms ease,
      padding-bottom 240ms ease !important;
  }

  .bonjour-v2 .bj-site-header.menu-open .bj-nav-panel
  .bj-nav-group.services-open .bj-nav-submenu {
    max-height: 620px !important;
    padding-top: 8px !important;
    padding-bottom: 12px !important;
  }

  .bonjour-v2 .bj-site-header.menu-open .bj-nav-panel .bj-nav-submenu a {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 10px 4px !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    white-space: normal !important;
    text-align: left !important;
    color: #0b4f96 !important;
  }

  .bonjour-v2 .bj-site-header.menu-open .bj-nav-panel .bj-nav-submenu a span {
    display: block !important;
    color: #0b5fd7 !important;
    font-size: 17px !important;
    line-height: 1.25 !important;
    font-weight: 700 !important;
  }

  .bonjour-v2 .bj-site-header.menu-open .bj-nav-panel .bj-nav-submenu a small {
    display: block !important;
    margin-top: 3px !important;
    color: #667085 !important;
    font-size: 14px !important;
    line-height: 1.35 !important;
    font-weight: 400 !important;
  }
}

/* 19-R16 MOBILE MENU FIX - END */

/* 19-R17 MOBILE SERVICES ACTIVE - START */

@media (max-width: 880px) {
  .bonjour-v2 .bj-site-header.menu-open .bj-nav-panel
  .bj-nav-group.services-open > .bj-nav-services-toggle {
    color: #0878ff !important;
    font-weight: 700 !important;
  }

  .bonjour-v2 .bj-site-header.menu-open .bj-nav-panel
  .bj-nav-group.services-open > .bj-nav-services-toggle svg {
    color: #0878ff !important;
    stroke: currentColor !important;
  }
}

/* 19-R17 MOBILE SERVICES ACTIVE - END */

/* 19-R18 MOBILE STICKY MENU VIEWPORT - START */

@media (max-width: 880px) {

  /*
   * El drawer abierto debe independizarse por completo de la geometría
   * de la cápsula sticky. Ningún border-radius/overflow del header puede
   * recortarlo.
   */
  .bj-site-header.menu-open,
  .bj-site-header.menu-open .bj-header-shell {
    overflow: visible !important;
    clip-path: none !important;
    -webkit-mask-image: none !important;
    mask-image: none !important;
  }

  .bj-site-header.menu-open .bj-header-shell {
    transform: none !important;
    contain: none !important;
  }

  /*
   * Drawer real de viewport completo.
   * 100vh queda como fallback y 100dvh corrige la UI dinámica de mobile.
   */
  .bj-site-header.menu-open .bj-nav-panel {
    position: fixed !important;
    inset: 0 !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;

    width: 100vw !important;
    min-width: 100vw !important;
    max-width: 100vw !important;

    height: 100vh !important;
    min-height: 100vh !important;
    max-height: 100vh !important;

    height: 100dvh !important;
    min-height: 100dvh !important;
    max-height: 100dvh !important;

    margin: 0 !important;
    padding:
      calc(env(safe-area-inset-top, 0px) + 120px)
      6vw
      calc(env(safe-area-inset-bottom, 0px) + 34px)
      !important;

    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior: contain;

    border: 0 !important;
    border-radius: 0 !important;

    background: #eef6ff !important;
    background-color: #eef6ff !important;
    box-shadow: none !important;

    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;

    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;

    z-index: 2147483000 !important;
    -webkit-overflow-scrolling: touch;
  }

  /*
   * La X se desacopla de la cápsula sticky y queda siempre visible
   * arriba del drawer.
   */
  .bj-site-header.menu-open .bj-menu-toggle {
    position: fixed !important;
    top: calc(env(safe-area-inset-top, 0px) + 24px) !important;
    right: 6vw !important;
    z-index: 2147483002 !important;

    border-color: rgba(23,54,91,.22) !important;
    background: rgba(255,255,255,.72) !important;
    box-shadow: none !important;
  }

  .bj-site-header.menu-open .bj-menu-toggle span {
    background: #17365b !important;
  }

  /*
   * El drawer tiene paleta propia: no hereda el blanco del sticky dark.
   */
  .bj-site-header.menu-open .bj-nav-panel .bj-primary-nav > a,
  .bj-site-header.menu-open .bj-nav-panel .bj-nav-services-toggle,
  .bj-site-header.menu-open .bj-nav-panel .bj-btn--header-ghost {
    color: #17365b !important;
  }

  .bj-site-header.menu-open .bj-nav-panel .bj-btn--header-ghost {
    border-color: rgba(23,54,91,.22) !important;
    background: #ffffff !important;
  }

  .bj-site-header.menu-open .bj-nav-panel .bj-btn--header-primary {
    color: #ffffff !important;
  }

  .bj-site-header.menu-open .bj-nav-panel .bj-nav-services-toggle svg {
    color: currentColor !important;
    stroke: currentColor !important;
  }

  /*
   * Servicios abierto: estado activo inequívoco.
   * Se cubren tanto la clase del grupo como aria-expanded.
   */
  .bj-site-header.menu-open .bj-nav-panel
  .bj-nav-group.services-open > .bj-nav-services-toggle,
  .bj-site-header.menu-open .bj-nav-panel
  .bj-nav-services-toggle[aria-expanded="true"] {
    color: #0878ff !important;
    font-weight: 700 !important;
  }

  .bj-site-header.menu-open .bj-nav-panel
  .bj-nav-group.services-open > .bj-nav-services-toggle svg,
  .bj-site-header.menu-open .bj-nav-panel
  .bj-nav-services-toggle[aria-expanded="true"] svg {
    color: #0878ff !important;
    stroke: currentColor !important;
  }

  /*
   * El submenu permanece en flujo normal dentro del drawer;
   * nunca vuelve a comportarse como dropdown desktop.
   */
  .bj-site-header.menu-open .bj-nav-panel .bj-nav-submenu {
    position: static !important;
    inset: auto !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    transform: none !important;
  }

  .bj-site-header.menu-open .bj-nav-panel .bj-nav-submenu a,
  .bj-site-header.menu-open .bj-nav-panel .bj-nav-submenu a:visited {
    color: #0b5fd7 !important;
  }

  .bj-site-header.menu-open .bj-nav-panel .bj-nav-submenu a span {
    color: #0b5fd7 !important;
  }

  .bj-site-header.menu-open .bj-nav-panel .bj-nav-submenu a small {
    color: #667085 !important;
  }
}

/* 19-R18 MOBILE STICKY MENU VIEWPORT - END */

/* ========================================================================== 
   19-R19D — AGENDAR REUNIÓN
   ========================================================================== */

.bonjour-v2 .bj-meeting-dialog {
  width: min(100%, 1080px);
  max-height: min(92dvh, 860px);
  grid-template-columns: 320px minmax(0, 1fr);
}

.bonjour-v2 .bj-meeting-content {
  overflow-y: auto;
  overscroll-behavior: contain;
}

.bonjour-v2 .bj-meeting-note {
  display: grid;
  gap: 5px;
  margin: 18px 0 4px;
  padding: 13px 15px;
  border: 1px solid rgba(8,120,255,.12);
  border-radius: 14px;
  background: #f2f8ff;
  color: #52647a;
  font-size: 13px;
  line-height: 1.45;
}

.bonjour-v2 .bj-meeting-note strong { color: #0b4f96; font-weight: 700; }

.bonjour-v2 .bj-meeting-form select {
  display: block;
  width: 100%;
  min-height: 48px;
  margin-top: 0;
  padding: 0 42px 0 14px;
  border: 1px solid #d9e1eb;
  border-radius: 14px;
  outline: none;
  background-color: #fff;
  color: #17365b;
  font: inherit;
  appearance: auto;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.bonjour-v2 .bj-meeting-form select:focus,
.bonjour-v2 .bj-meeting-form input:focus,
.bonjour-v2 .bj-meeting-form textarea:focus {
  border-color: #5aa9ff;
  box-shadow: 0 0 0 4px rgba(8,120,255,.10);
}

.bonjour-v2 .bj-field-help {
  display: block;
  margin-top: 6px;
  color: #748399;
  font-size: 12px;
  line-height: 1.35;
}

.bonjour-v2 .bj-meeting-mode { margin: 2px 0 0; padding: 0; border: 0; }
.bonjour-v2 .bj-meeting-mode legend { margin-bottom: 8px; color: #17365b; font-size: 13px; font-weight: 600; }
.bonjour-v2 .bj-meeting-mode__options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }

.bonjour-v2 .bj-meeting-mode__options label {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 62px;
  margin: 0;
  padding: 11px 12px;
  border: 1px solid #d9e1eb;
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
}

.bonjour-v2 .bj-meeting-mode__options input { position: absolute; opacity: 0; pointer-events: none; }
.bonjour-v2 .bj-meeting-mode__options span { margin: 0 !important; color: #334a67; font-size: 12px; line-height: 1.35; font-weight: 600; }
.bonjour-v2 .bj-meeting-mode__options label:has(input:checked) { border-color: #5aa9ff; background: #f0f7ff; box-shadow: inset 0 0 0 1px rgba(8,120,255,.08); }
.bonjour-v2 .bj-meeting-mode__options label:has(input:checked) span { color: #075fcb; }

.bonjour-v2 .bj-meeting-hp { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

.bonjour-v2 .bj-meeting-success { padding: 38px 2px 10px; }
.bonjour-v2 .bj-meeting-success[hidden] { display: none !important; }
.bonjour-v2 .bj-meeting-success__icon { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin-bottom: 18px; border-radius: 50%; background: #e9f4ff; color: #0878ff; font-size: 24px; font-weight: 800; }
.bonjour-v2 .bj-meeting-success h3 { margin: 0 0 12px; color: #102844; font-size: clamp(28px, 3vw, 38px); line-height: 1.05; }
.bonjour-v2 .bj-meeting-success p { max-width: 580px; margin: 0 0 10px; color: #5a6d84; line-height: 1.6; }
.bonjour-v2 .bj-meeting-success .bj-btn { margin-top: 20px; }

@media (max-width: 760px) {
  .bonjour-v2 .bj-meeting-dialog { width: min(calc(100% - 20px), 680px); max-height: 94dvh; grid-template-columns: 1fr; }
  .bonjour-v2 .bj-meeting-media { display: none; }
  .bonjour-v2 .bj-meeting-content { padding: 30px 22px 24px; }
  .bonjour-v2 .bj-meeting-form { grid-template-columns: 1fr; }
  .bonjour-v2 .bj-meeting-form > * { grid-column: 1 / -1; }
  .bonjour-v2 .bj-meeting-mode__options { grid-template-columns: 1fr; }
}

/* ========================================================================== */
/* 19-R20 — AGENDAR REUNIÓN / CALENDARIO + SLOTS */
/* ========================================================================== */
.bonjour-v2 .bj-meeting-dialog{width:min(85vw,1420px);height:min(90dvh,920px);max-height:90dvh;grid-template-columns:minmax(420px,40%) minmax(0,60%);overflow:hidden}
.bonjour-v2 .bj-meeting-content{min-width:0;min-height:0;height:100%;max-height:90dvh;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
.bonjour-v2 .bj-meeting-field-title{display:block;margin-bottom:8px;color:#17365b;font-size:13px;font-weight:600}
.bonjour-v2 .bj-meeting-calendar{overflow:hidden;border:1px solid #d9e1eb;border-radius:18px;background:#fff}
.bonjour-v2 .bj-meeting-calendar__header{display:grid;grid-template-columns:42px minmax(0,1fr) 42px;align-items:center;gap:10px;padding:12px;border-bottom:1px solid #e8eef5}
.bonjour-v2 .bj-meeting-calendar__header strong{text-align:center;color:#17365b;font-size:15px;font-weight:700}
.bonjour-v2 .bj-meeting-calendar__nav{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;border:1px solid #d9e1eb;border-radius:50%;background:#fff;color:#0b4f96;cursor:pointer}
.bonjour-v2 .bj-meeting-calendar__nav:disabled{opacity:.35;cursor:default}
.bonjour-v2 .bj-meeting-calendar__weekdays,.bonjour-v2 .bj-meeting-calendar__grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}
.bonjour-v2 .bj-meeting-calendar__weekdays{padding:9px 10px 4px}
.bonjour-v2 .bj-meeting-calendar__weekdays span{text-align:center;color:#8090a5;font-size:11px;font-weight:700;text-transform:uppercase}
.bonjour-v2 .bj-meeting-calendar__grid{gap:5px;padding:6px 10px 12px}
.bonjour-v2 .bj-meeting-calendar__day,.bonjour-v2 .bj-meeting-calendar__empty{aspect-ratio:1/1}
.bonjour-v2 .bj-meeting-calendar__day{display:inline-flex;align-items:center;justify-content:center;min-width:0;border:0;border-radius:12px;background:#f7faff;color:#17365b;font:inherit;font-size:13px;font-weight:650;cursor:pointer}
.bonjour-v2 .bj-meeting-calendar__day:hover:not(:disabled){background:#e8f3ff;color:#075fcb}
.bonjour-v2 .bj-meeting-calendar__day.is-selected{background:#0878ff;color:#fff;box-shadow:0 8px 18px rgba(8,120,255,.18)}
.bonjour-v2 .bj-meeting-calendar__day.is-today:not(.is-selected){box-shadow:inset 0 0 0 1px rgba(8,120,255,.32)}
.bonjour-v2 .bj-meeting-calendar__day:disabled{background:#f4f5f7;color:#b8c0cb;cursor:not-allowed;opacity:.75}
.bonjour-v2 .bj-meeting-slots{margin:2px 0 0;padding:0;border:0}
.bonjour-v2 .bj-meeting-slots[hidden]{display:none!important}
.bonjour-v2 .bj-meeting-slots legend{color:#17365b;font-size:13px;font-weight:700}
.bonjour-v2 .bj-meeting-slots__hint{margin:5px 0 10px;color:#748399;font-size:12px;line-height:1.4}
.bonjour-v2 .bj-meeting-slots__options{display:flex;flex-wrap:wrap;gap:9px}
.bonjour-v2 .bj-meeting-slots__options label{position:relative;margin:0;cursor:pointer}
.bonjour-v2 .bj-meeting-slots__options input{position:absolute;opacity:0;pointer-events:none}
.bonjour-v2 .bj-meeting-slots__options span{display:inline-flex;align-items:center;min-height:42px;padding:9px 14px;border:1px solid #d9e1eb;border-radius:999px;background:#fff;color:#334a67;font-size:12px;font-weight:700}
.bonjour-v2 .bj-meeting-slots__options label:hover span{border-color:#a9cef9;background:#f5faff}
.bonjour-v2 .bj-meeting-slots__options input:checked+span{border-color:#0878ff;background:#eaf4ff;color:#075fcb}
@media(max-width:900px){.bonjour-v2 .bj-meeting-dialog{width:min(calc(100% - 24px),760px);height:min(94dvh,900px);max-height:94dvh;grid-template-columns:1fr}.bonjour-v2 .bj-meeting-content{max-height:94dvh}.bonjour-v2 .bj-meeting-media{display:none}}
@media(max-width:520px){.bonjour-v2 .bj-meeting-calendar__grid{gap:3px;padding-inline:8px}.bonjour-v2 .bj-meeting-calendar__day{border-radius:10px;font-size:12px}.bonjour-v2 .bj-meeting-slots__options{display:grid;grid-template-columns:1fr 1fr}.bonjour-v2 .bj-meeting-slots__options span{width:100%;justify-content:center;text-align:center}}

/* ==========================================================================
   19-R21 — AGENDAR REUNIÓN / AJUSTES FINALES
   ========================================================================== */

.bonjour-v2 .bj-meeting-purpose {
  margin-bottom: 8px;
  color: #455b74;
  font-weight: 500;
}

.bonjour-v2 .bj-meeting-scheduling {
  margin-top: 0;
}

.bonjour-v2 .bj-meeting-calendar__header {
  grid-template-columns: 36px minmax(0,1fr) 36px;
  gap: 8px;
  padding: 8px 10px;
}

.bonjour-v2 .bj-meeting-calendar__nav {
  width: 32px;
  height: 32px;
}

.bonjour-v2 .bj-meeting-calendar__weekdays {
  padding: 6px 8px 2px;
}

.bonjour-v2 .bj-meeting-calendar__grid {
  gap: 4px;
  padding: 4px 8px 9px;
}

.bonjour-v2 .bj-meeting-calendar__day,
.bonjour-v2 .bj-meeting-calendar__empty {
  aspect-ratio: auto;
  min-height: 40px;
}

.bonjour-v2 .bj-meeting-calendar__day {
  border-radius: 10px;
}

.bonjour-v2 .bj-meeting-slots {
  margin-top: 10px;
}

@media (max-width:520px) {
  .bonjour-v2 .bj-meeting-calendar__day,
  .bonjour-v2 .bj-meeting-calendar__empty {
    min-height: 36px;
  }

  .bonjour-v2 .bj-meeting-calendar__header {
    padding: 7px 8px;
  }

  .bonjour-v2 .bj-meeting-calendar__grid {
    gap: 3px;
    padding: 3px 6px 8px;
  }
}
