/* Interaction/accessibility corrections; the original hero styles are retained. */
#global-header .group:focus-within>div.absolute,#global-header .menu-open>div.absolute{opacity:1;visibility:visible;transform:translateY(0)}
#global-header nav>div.group>div.absolute:before{content:"";position:absolute;left:0;right:0;top:-12px;height:12px}
[hidden]{display:none!important}
.contact-form{display:grid;gap:18px}.contact-form>label{display:grid;gap:8px;font-size:14px;font-weight:600;color:var(--dark-text-color,#102c45)}.contact-form input,.contact-form select,.contact-form textarea{width:100%;min-width:0;padding:12px 16px;border:1px solid #cbd5e1;border-radius:8px;background:white;font-size:16px;font-weight:400;line-height:1.5}.contact-form textarea{resize:vertical}.contact-form>button{padding:15px 24px;border-radius:8px;color:white;background:var(--primary-color,#4f46b8);font-size:17px;font-weight:700;min-height:48px}.contact-form>button:disabled{opacity:.65;cursor:wait}.contact-form .contact-note{font-size:12px;line-height:1.6;color:#596879}.contact-form [role=status]{font-size:14px;line-height:1.6}.contact-honeypot{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
:focus-visible{outline:3px solid #4f46e5;outline-offset:4px}
section[id],details[id]{scroll-margin-top:132px}
@media(max-width:1023px){[data-landingsite-mobile-menu]{max-height:calc(100dvh - 112px);overflow:auto}#whatsapp-popup{max-width:calc(100vw - 40px);max-height:calc(100dvh - 130px);overflow:auto}}
/* Let document cards shrink below the intrinsic width of PDF filenames. */
#documentacion .grid > a {
  min-width: 0;
}

.whatsapp-mobile-label {
  display: none;
}

@media (max-width: 767px) {
  #whatsapp-widget {
    position: relative;
    inset: auto;
    z-index: auto;
    display: grid;
    justify-items: start;
    gap: 12px;
    padding: 16px;
    border-top: 1px solid #d9eaf4;
    background: #f5fbff;
  }

  #whatsapp-toggle {
    width: auto;
    height: auto;
    min-height: 48px;
    gap: 10px;
    padding: 8px 16px;
    background: #075e54;
    border-color: transparent;
    box-shadow: none;
    animation: none;
    transform: none;
    font-weight: 700;
  }

  .whatsapp-mobile-label {
    display: inline;
  }

  #whatsapp-popup {
    position: static;
    width: min(100%, 320px);
    max-width: none;
    max-height: none;
  }

  #whatsapp-close {
    min-width: 44px;
    min-height: 44px;
  }
}

@media (max-width: 767px) {
  #global-header > div > .h-28 {
    height: 72px;
    gap: 8px;
  }

  #global-header [data-landingsite-mobile-menu-toggle] {
    display: grid;
    place-items: center;
  }

  #global-header [data-landingsite-mobile-menu] {
    max-height: calc(100dvh - 74px);
    overscroll-behavior-y: contain;
    padding-bottom: max(16px, env(safe-area-inset-bottom));
  }

  #global-header [data-landingsite-mobile-menu] a {
    display: flex;
    align-items: center;
    min-height: 44px;
    overflow-wrap: anywhere;
  }

  #global-header [data-landingsite-mobile-menu] a i {
    flex-shrink: 0;
  }

  section[id], details[id], .catalog-sheet {
    scroll-margin-top: 84px;
  }

  #sk0nf39 > .relative {
    padding-block: 32px;
  }

  #sk0nf39 > .relative > .grid {
    gap: 28px;
    grid-template-columns: minmax(0, 1fr);
  }

  #sk0nf39 h1 {
    font-size: clamp(27px, 7.4vw, 38px);
    overflow-wrap: anywhere;
  }

  .catalog-bar-actions > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
  }
}

@media (min-width: 1024px) and (max-width: 1149px) {
  #global-header > div > .h-28 {
    height: 84px;
  }

  #global-header nav:not([data-landingsite-mobile-menu]) {
    display: none;
  }

  #global-header [data-landingsite-mobile-menu-toggle] {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
  }

  #global-header [data-landingsite-mobile-menu]:not(.hidden) {
    display: block;
    max-height: calc(100dvh - 86px);
    overflow: auto;
  }

  #global-header [data-logo] {
    width: 64px;
    height: 64px;
  }

  #global-header [data-logo] > span {
    font-size: 34px;
  }
}

@media (max-width: 1149px) {
  #global-header {
    --mobile-header-height: 114px;
  }

  html.mobile-nav-open,
  html.mobile-nav-open body {
    overflow: hidden;
    overscroll-behavior: none;
  }

  #global-header [data-landingsite-mobile-menu]:not(.hidden) {
    position: fixed;
    inset: var(--mobile-header-height) 0 auto;
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    height: calc(100vh - var(--mobile-header-height));
    height: calc(100dvh - var(--mobile-header-height));
    max-height: none;
    padding: 0 0 env(safe-area-inset-bottom);
    overflow: hidden;
    background: white;
  }

  #global-header [data-landingsite-mobile-menu] > div:first-child {
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior-y: contain;
    touch-action: pan-y;
    -webkit-overflow-scrolling: touch;
    padding: 8px max(16px, env(safe-area-inset-right)) 16px max(16px, env(safe-area-inset-left));
  }

  #global-header .mobile-nav-group > summary {
    display: list-item;
    min-height: 44px;
    padding: 10px 0;
    cursor: pointer;
    font-weight: 600;
    color: #102c45;
  }

  #global-header [data-landingsite-mobile-menu] a {
    min-height: 44px;
  }

  #global-header [data-landingsite-mobile-menu] > .mobile-nav-contact {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 8px 16px;
    border-top: 1px solid #d9eaf4;
    background: #0a2540;
    color: white;
    font-weight: 700;
  }
}

@media (max-width: 767px) {
  #global-header { --mobile-header-height: 74px; }
}

@media (min-width: 1024px) and (max-width: 1149px) {
  #global-header { --mobile-header-height: 86px; }
}

@media (max-width: 1149px) and (max-height: 500px) {
  #global-header { --mobile-header-height: 58px; }
  #global-header > div > .h-28 { height: 56px; }
  #global-header [data-logo] { width: 40px; height: 40px; padding: 4px; }
  #global-header [data-logo] > span { font-size: 22px; }
}

/* Native disclosures keep each product family compact and keyboard accessible. */
#global-header .product-menu,
#global-header .product-family {
  min-width: 0;
}

#global-header .product-menu > summary,
#global-header .product-family > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 44px;
  list-style: none;
  cursor: pointer;
}

#global-header .product-menu summary::-webkit-details-marker { display: none; }

#global-header .product-menu summary::after {
  content: '';
  flex: none;
  width: 7px;
  height: 7px;
  border: solid currentColor;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}

#global-header .product-menu details[open] > summary::after,
#global-header .product-menu[open] > summary::after { transform: rotate(225deg); }

#global-header .product-menu-desktop { position: relative; color: #102c45; }
#global-header .product-menu-desktop > summary { font-weight: 600; }

#global-header .product-menu-desktop > .product-panel {
  position: absolute;
  top: calc(100% + 7px);
  left: 0;
  z-index: 60;
  width: 330px;
  max-height: calc(100vh - 100px);
  max-height: calc(100dvh - 100px);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  padding: 8px;
  border: 1px solid #cbdde7;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 16px 36px #0a25402b;
}

#global-header .product-panel a,
#global-header .product-family > summary {
  padding: 7px 12px;
  border-radius: 6px;
  color: #15364b;
  font-size: 14px;
  line-height: 1.3;
}

#global-header .product-panel a {
  display: flex;
  align-items: center;
  min-height: 40px;
}

#global-header .product-catalogs a { font-weight: 700; }
#global-header .product-catalogs { padding-bottom: 4px; border-bottom: 1px solid #dae7ed; }
#global-header .product-family > summary { font-weight: 600; }
#global-header .product-family > div { padding: 0 0 4px 10px; }
#global-header .product-panel a:is(:hover,:focus-visible),
#global-header .product-family > summary:is(:hover,:focus-visible) { background: #eaf6fa; }
#global-header .product-menu :is(a,summary):focus-visible { outline-offset: -3px; }

#global-header .product-menu-mobile > .product-panel {
  padding: 4px 6px;
  border: 1px solid #dbe9ef;
  border-radius: 8px;
  background: #f7fbfd;
}

#global-header .product-menu-mobile .product-panel a { min-height: 44px; }

.pacific-brand-name {
  display: inline-flex;
  min-height: 72px;
  align-items: center;
  font-size: clamp(22px, 4vw, 36px);
  font-weight: 700;
  color: #0a2540;
}
