/* Alternative mega menu. Remove this stylesheet to restore the previous design. */
@media (min-width: 992px) {
  body .topbar .services-dropdown,
  body .landing-nav .services-dropdown {
    padding: 24px max(24px, calc((100vw - 1240px) / 2));
    max-height: calc(100dvh - var(--site-header-height, 90px));
    overflow-y: auto;
    background: #fff;
    border-top: 1px solid #e7e9f2;
    border-bottom: 1px solid #dfe3f0;
    border-radius: 0 0 22px 22px;
    box-shadow: 0 24px 48px rgba(15, 23, 62, .15);
    animation: none !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  body .services-dropdown.show,
  body .nav-services:is(:hover, :focus-within, .is-hover-open) > .services-dropdown {
    display: grid !important;
    grid-template-columns: minmax(200px, .95fr) repeat(3, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }

  body .services-dropdown .dropdown-item {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-height: 120px;
    padding: 20px 16px 18px;
    border: 1px solid #e8eaf3;
    border-radius: 14px;
    background: #fff;
    color: #151b33;
    transition: background-color .1s ease, border-color .1s ease, color .1s ease;
  }

  body .services-dropdown .dropdown-item::after {
    content: none;
  }

  body .services-dropdown .dropdown-item > i {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    flex: 0 0 42px;
    margin: 0;
    border: 1px solid #e2e4ff;
    border-radius: 12px;
    background: #f0f0ff;
    color: var(--blue);
    font-size: 21px;
    box-shadow: none;
    transition: background-color .1s ease, color .1s ease;
  }

  body .services-dropdown .dropdown-item strong {
    margin: 1px 0 7px;
    color: #111a36;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
  }

  body .services-dropdown .dropdown-item span {
    color: #56627b;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.55;
  }

  body .services-dropdown .dropdown-item:is(:hover, :focus-visible) {
    border-color: var(--blue);
    background: var(--blue);
    color: #fff;
    transform: none;
    box-shadow: none;
  }

  body .services-dropdown .dropdown-item:is(:hover, :focus-visible) > i {
    border-color: #ffc400;
    background: #ffc400;
    color: #fff;
  }

  body .services-dropdown .dropdown-item:is(:hover, :focus-visible) strong,
  body .services-dropdown .dropdown-item:is(:hover, :focus-visible) span { color: #fff; }

  body .services-dropdown .dropdown-item.all-services {
    grid-column: 1;
    grid-row: 1 / span 2;
    flex-direction: column;
    justify-content: flex-start;
    gap: 18px;
    padding: 24px;
    background: var(--blue);
    border-color: var(--blue);
    box-shadow: none;
  }

  body .services-dropdown .all-services > i {
    border-color: #ffc400;
    background: #ffc400;
    color: #fff;
  }

  body .services-dropdown .all-services strong {
    max-width: 10ch;
    margin-bottom: 10px;
    color: #fff;
    font-size: 25px;
    font-weight: 750;
    line-height: 1.12;
    letter-spacing: -.025em;
  }

  body .services-dropdown .all-services span {
    color: #e1e4ff;
    font-size: 12px;
    line-height: 1.6;
  }

  body .services-dropdown .all-services::after {
    content: 'Explorar servicios \2192';
    position: static;
    display: block;
    margin-top: auto;
    padding-top: 8px;
    color: #ffc400;
    font-size: 12px;
    font-weight: 650;
    line-height: 1.4;
  }

  body .services-dropdown .all-services:is(:hover, :focus-visible) {
    background: var(--blue-hover);
    border-color: #ffc400;
  }

  body .services-dropdown .all-services:is(:hover, :focus-visible) strong { color: #fff; }
  body .services-dropdown .all-services:is(:hover, :focus-visible)::after { color: #ffc400; transform: none; }

  @media (max-width: 1150px) {
    body .services-dropdown .dropdown-item { gap: 10px; padding: 16px 12px; }
    body .services-dropdown .dropdown-item > i { width: 34px; height: 34px; flex-basis: 34px; font-size: 18px; }
    body .services-dropdown .dropdown-item strong { font-size: 13px; }
    body .services-dropdown .all-services { padding: 20px; }
    body .services-dropdown .all-services strong { font-size: 23px; }
  }
}

@media (prefers-reduced-motion: reduce) {
  body .services-dropdown .dropdown-item,
  body .services-dropdown .dropdown-item::after { transition: none; transform: none !important; }
}

/* Servicio actual: selecci?n persistente en escritorio y m?vil. */
body .topbar .services-dropdown .dropdown-item.active[aria-current="page"]{background:var(--blue);border-color:var(--blue);color:#fff}
body .topbar .services-dropdown .dropdown-item.active[aria-current="page"] strong,body .topbar .services-dropdown .dropdown-item.active[aria-current="page"] span{color:#fff}
body .topbar .services-dropdown .dropdown-item.active[aria-current="page"]>i{background:var(--yellow);border-color:var(--yellow);color:#fff}
body .topbar .menu .nav-link[href="planes"]{font-weight:500}
@media(max-width:991.98px){body .topbar .menu .nav-link[href="planes"]{font-weight:600}}
