/* =========================================================
   GLACIER CLARITY — PRIMARY NAVIGATION
   Menu architecture refinement
   No header.php changes required.
   ========================================================= */

/* ---------- Header shell ---------- */

.site-header,
.glacier-header{
  position:relative;
  z-index:1000;
  background:#fff;
  border-bottom:1px solid var(--glacier-border-light);
}

.glacier-header-inner{
  width:min(100% - (var(--glacier-gutter)*2),var(--glacier-container));
  min-height:72px;
  margin:auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:30px;
}

.glacier-brand{
  flex:0 0 auto;
}

.glacier-brand a{
  display:block;
  color:var(--glacier-navy);
  font-size:1.05rem;
  font-weight:800;
  letter-spacing:.015em;
}

.glacier-brand img{
  display:block;
  max-height:48px;
  width:auto;
}

/* ---------- Primary navigation ---------- */

.glacier-nav{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:3px;
  margin-left:auto;
}

.glacier-nav-group{
  position:relative;
}

.glacier-nav-trigger,
.glacier-nav-direct{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  min-height:44px;
  padding:0 12px;
  border:1px solid transparent;
  background:transparent;
  color:var(--glacier-navy);
  font:inherit;
  font-size:.93rem;
  font-weight:600;
  line-height:1;
  text-decoration:none;
  white-space:nowrap;
  cursor:pointer;
  border-radius:9px;
  transition:
    color .16s ease,
    background-color .16s ease,
    border-color .16s ease;
}

.glacier-nav-trigger span{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:12px;
  height:12px;
  font-size:12px;
  line-height:1;
  transform:translateY(-1px);
  transition:transform .18s ease;
}

.glacier-nav-trigger:hover,
.glacier-nav-trigger:focus-visible,
.glacier-nav-direct:hover,
.glacier-nav-direct:focus-visible{
  color:var(--glacier-blue);
  background:var(--glacier-blue-soft,#eff6ff);
  outline:none;
}

.glacier-nav-group.is-open .glacier-nav-trigger{
  color:var(--glacier-blue);
  background:var(--glacier-blue-soft,#eff6ff);
  border-color:rgba(37,99,235,.08);
}

.glacier-nav-group.is-open .glacier-nav-trigger span{
  transform:rotate(180deg) translateY(1px);
}

.glacier-nav-direct.is-current{
  color:var(--glacier-blue);
  background:var(--glacier-blue-soft,#eff6ff);
}

/* ---------- Desktop dropdown system ---------- */

.glacier-dropdown{
  position:absolute;
  top:calc(100% + 9px);
  left:50%;
  width:660px;
  max-width:min(88vw,760px);
  max-height:min(72vh,590px);
  overflow:auto;
  padding:14px;
  background:#fff;
  border:1px solid var(--glacier-border-light);
  border-radius:16px;
  box-shadow:
    0 24px 60px rgba(15,23,42,.13),
    0 4px 12px rgba(15,23,42,.05);
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transform:translateX(-50%) translateY(-6px);
  transform-origin:top center;
  transition:
    opacity .16s ease,
    visibility .16s ease,
    transform .16s ease;
}

/* Small connector — visually ties the menu to its trigger. */
.glacier-dropdown::before{
  content:"";
  position:absolute;
  top:-6px;
  left:50%;
  width:11px;
  height:11px;
  background:#fff;
  border-left:1px solid var(--glacier-border-light);
  border-top:1px solid var(--glacier-border-light);
  transform:translateX(-50%) rotate(45deg);
}

.glacier-nav-group.is-open .glacier-dropdown{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
  transform:translateX(-50%) translateY(0);
}

/* Keep the right-most dropdowns inside the viewport. */
.glacier-nav-group:nth-of-type(5) .glacier-dropdown{
  left:auto;
  right:0;
  transform:translateY(-6px);
  transform-origin:top right;
}

.glacier-nav-group:nth-of-type(5).is-open .glacier-dropdown{
  transform:translateY(0);
}

.glacier-nav-group:nth-of-type(5) .glacier-dropdown::before{
  left:auto;
  right:30px;
  transform:rotate(45deg);
}

/* Industries needs the larger 3-column canvas. */
.glacier-dropdown-wide{
  width:850px;
  max-width:min(90vw,850px);
}

.glacier-dropdown-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:4px;
}

.glacier-dropdown-grid-3{
  grid-template-columns:repeat(3,minmax(0,1fr));
}

/* ---------- Menu item cards ---------- */

.glacier-dropdown-grid a{
  position:relative;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:5px;
  min-width:0;
  min-height:72px;
  padding:12px 13px;
  border:1px solid transparent;
  border-radius:11px;
  color:var(--glacier-navy);
  text-decoration:none;
  transition:
    background-color .14s ease,
    border-color .14s ease,
    transform .14s ease;
}

.glacier-dropdown-grid a:hover,
.glacier-dropdown-grid a:focus-visible{
  background:var(--glacier-blue-soft,#eff6ff);
  border-color:rgba(37,99,235,.08);
  outline:none;
  transform:translateY(-1px);
}

.glacier-dropdown-grid strong{
  color:var(--glacier-navy);
  font-size:.91rem;
  font-weight:700;
  line-height:1.28;
  letter-spacing:-.005em;
}

.glacier-dropdown-grid small{
  color:var(--glacier-text-muted,#64748b);
  font-size:.76rem;
  line-height:1.4;
}

/* Give the Industries cards slightly more room for long names. */
.glacier-dropdown-grid-3 a{
  min-height:82px;
}

/* ---------- View-all action ---------- */

.glacier-dropdown-footer-link{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:6px;
  margin:8px 2px 0;
  padding:11px 10px 3px;
  border-top:1px solid var(--glacier-border-light);
  color:var(--glacier-blue);
  font-size:.83rem;
  font-weight:700;
  text-decoration:none;
}

.glacier-dropdown-footer-link:hover,
.glacier-dropdown-footer-link:focus-visible{
  text-decoration:underline;
  outline:none;
}

/* ---------- CTA ---------- */

.glacier-nav-cta{
  margin-left:9px;
  min-height:44px;
  padding:0 18px;
  white-space:nowrap;
}

/* ---------- Mobile toggle ---------- */

.glacier-menu-toggle{
  display:none;
  min-height:42px;
  padding:8px 14px;
  background:#fff;
  color:var(--glacier-navy);
  border:1px solid var(--glacier-border);
  border-radius:9px;
  font-weight:700;
}

/* ---------- Tablet ---------- */

@media (max-width:1100px) and (min-width:768px){

  .glacier-header-inner{
    gap:12px;
  }

  .glacier-nav{
    gap:1px;
  }

  .glacier-nav-trigger,
  .glacier-nav-direct{
    padding:0 7px;
    font-size:.86rem;
  }

  .glacier-nav-cta{
    margin-left:4px;
    padding:0 12px;
  }

  .glacier-dropdown{
    width:600px;
    max-width:min(88vw,680px);
  }

  .glacier-dropdown-wide{
    width:760px;
    max-width:min(90vw,760px);
  }
}

/* ---------- Mobile ---------- */

@media (max-width:767px){

  .glacier-header-inner{
    min-height:68px;
  }

  .glacier-menu-toggle{
    display:inline-flex;
    align-items:center;
    justify-content:center;
  }

  .glacier-nav{
    display:none;
    position:absolute;
    top:100%;
    left:0;
    right:0;
    flex-direction:column;
    align-items:stretch;
    gap:0;
    margin:0;
    padding:10px var(--glacier-gutter) 16px;
    background:#fff;
    border-bottom:1px solid var(--glacier-border-light);
    box-shadow:0 18px 35px rgba(15,23,42,.10);
  }

  .glacier-nav.is-open{
    display:flex;
  }

  .glacier-nav-group{
    border-bottom:1px solid var(--glacier-border-light);
  }

  .glacier-nav-trigger,
  .glacier-nav-direct{
    width:100%;
    justify-content:space-between;
    min-height:50px;
    padding:0 4px;
    border-radius:0;
  }

  .glacier-nav-trigger:hover,
  .glacier-nav-trigger:focus-visible,
  .glacier-nav-direct:hover,
  .glacier-nav-direct:focus-visible,
  .glacier-nav-direct.is-current{
    background:transparent;
    border-color:transparent;
  }

  .glacier-dropdown,
  .glacier-dropdown-wide{
    position:static;
    width:auto;
    max-width:none;
    max-height:none;
    overflow:visible;
    transform:none!important;
    padding:0 0 8px;
    border:0;
    border-radius:0;
    box-shadow:none;
    opacity:1;
    visibility:visible;
    pointer-events:auto;
    display:none;
  }

  .glacier-nav-group.is-open .glacier-dropdown{
    display:block;
  }

  .glacier-dropdown::before{
    display:none;
  }

  .glacier-dropdown-grid,
  .glacier-dropdown-grid-3{
    grid-template-columns:1fr;
    gap:0;
  }

  .glacier-dropdown-grid a,
  .glacier-dropdown-grid-3 a{
    min-height:0;
    padding:10px 10px 10px 16px;
    border-radius:8px;
    transform:none!important;
  }

  .glacier-dropdown-grid small{
    display:none;
  }

  .glacier-dropdown-footer-link{
    justify-content:flex-start;
    padding:10px 10px 8px 16px;
  }

  .glacier-nav-cta{
    margin:12px 0 0;
    justify-content:center;
  }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion:reduce){
  .glacier-nav-trigger,
  .glacier-nav-trigger span,
  .glacier-nav-direct,
  .glacier-dropdown,
  .glacier-dropdown-grid a{
    transition:none;
  }
}

/* =========================================================
   PRODUCT DROPDOWN — COMPACT / TRIGGER-ALIGNED
   ========================================================= */

.glacier-dropdown-products{
  width:520px;
  max-width:min(78vw,520px);
  padding:12px;
  left:50%;
  transform:translateX(-8%) translateY(-6px);
}

.glacier-nav-group.is-open .glacier-dropdown-products{
  transform:translateX(-8%) translateY(0);
}

.glacier-dropdown-products .glacier-dropdown-grid{
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:3px;
}

.glacier-dropdown-products .glacier-dropdown-grid a{
  min-height:62px;
  padding:10px 12px;
}

.glacier-dropdown-products .glacier-dropdown-grid strong{
  font-size:.88rem;
}

.glacier-dropdown-products .glacier-dropdown-grid small{
  font-size:.74rem;
}

.glacier-dropdown-products .glacier-dropdown-grid a:last-child{
  grid-column:1 / -1;
  min-height:48px;
  justify-content:center;
}

@media (max-width:1100px) and (min-width:768px){
  .glacier-dropdown-products{
    width:500px;
    max-width:min(76vw,500px);
  }
}

@media (max-width:767px){
  .glacier-dropdown-products{
    width:auto;
    max-width:none;
    left:auto;
    transform:none!important;
  }
}

/* =========================================================
   GLACIER CLARITY — FULL-WIDTH NAVIGATION PANEL
   Full viewport panel; centered content inside.
   ========================================================= */

@media (min-width:768px){

  .glacier-dropdown,
  .glacier-dropdown-wide,
  .glacier-dropdown-products{
    position:fixed;
    top:72px;
    left:0;
    right:0;
    width:100vw;
    max-width:none;
    max-height:min(72vh,600px);
    overflow:auto;
    margin:0;
    padding-top:24px;
    padding-bottom:24px;
    padding-left:max(24px,calc((100vw - 1120px) / 2));
    padding-right:max(24px,calc((100vw - 1120px) / 2));
    background:#fff;
    border:0;
    border-top:1px solid var(--glacier-border-light);
    border-bottom:1px solid var(--glacier-border-light);
    border-radius:0;
    box-shadow:
      0 18px 40px rgba(15,23,42,.08);
    transform:translateY(-8px);
    transform-origin:top center;
  }

  .glacier-nav-group.is-open .glacier-dropdown{
    transform:translateY(0);
  }

  /* Remove the floating-card connector. */
  .glacier-dropdown::before{
    display:none;
  }

  /* Every dropdown uses the same content width. */
  .glacier-dropdown-wide,
  .glacier-dropdown-products{
    width:100vw;
    max-width:none;
  }

  /* Products — compact two-column architecture. */
  .glacier-dropdown-products .glacier-dropdown-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:2px 12px;
  }

  .glacier-dropdown-products .glacier-dropdown-grid a{
    min-height:64px;
    padding:11px 14px;
  }

  .glacier-dropdown-products .glacier-dropdown-grid a:last-child{
    grid-column:1 / -1;
    min-height:52px;
  }

  /* Solutions / Services / Resources — balanced two-column layout. */
  .glacier-dropdown:not(.glacier-dropdown-wide) .glacier-dropdown-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:2px 12px;
  }

  .glacier-dropdown:not(.glacier-dropdown-wide) .glacier-dropdown-grid a{
    min-height:68px;
    padding:11px 14px;
  }

  /* Industries — three-column layout. */
  .glacier-dropdown-wide .glacier-dropdown-grid,
  .glacier-dropdown-wide .glacier-dropdown-grid-3{
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:2px 12px;
  }

  .glacier-dropdown-wide .glacier-dropdown-grid a{
    min-height:76px;
    padding:12px 14px;
  }

  /* Cleaner menu typography. */
  .glacier-dropdown-grid a{
    border:1px solid transparent;
    border-radius:8px;
    transform:none;
  }

  .glacier-dropdown-grid a:hover,
  .glacier-dropdown-grid a:focus-visible{
    background:var(--glacier-blue-soft,#eff6ff);
    border-color:rgba(37,99,235,.07);
    transform:none;
  }

  .glacier-dropdown-grid strong{
    font-size:.9rem;
    line-height:1.3;
  }

  .glacier-dropdown-grid small{
    font-size:.76rem;
    line-height:1.35;
  }

  /* View-all remains an action, not a card. */
  .glacier-dropdown-footer-link{
    margin:12px 0 0;
    padding:12px 14px 2px;
    border-top:1px solid var(--glacier-border-light);
  }

  /* Keep the menu above page content. */
  .glacier-dropdown{
    z-index:1100;
  }
}

@media (max-width:767px){

  .glacier-dropdown,
  .glacier-dropdown-wide,
  .glacier-dropdown-products{
    position:static;
    width:auto;
    max-width:none;
    max-height:none;
    overflow:visible;
    padding:0 0 8px;
    border:0;
    box-shadow:none;
    border-radius:0;
    transform:none!important;
  }

  .glacier-dropdown::before{
    display:none;
  }
}

/* =========================================================
   GLACIER CLARITY — COMPACT MEGA MENU
   Reduce empty space + mouse travel.
   ========================================================= */

@media (min-width:768px){

  .glacier-dropdown,
  .glacier-dropdown-wide,
  .glacier-dropdown-products{
    top:72px;
    padding-top:14px;
    padding-bottom:14px;
    padding-left:max(24px,calc((100vw - 1400px) / 2));
    padding-right:max(24px,calc((100vw - 1400px) / 2));
    max-height:none;
  }

  /* Keep the menu content compact instead of spreading across the viewport. */
  .glacier-dropdown > *,
  .glacier-dropdown-wide > *,
  .glacier-dropdown-products > *{
    max-width:820px;
  }

  /* Products: short, close 2-column layout. */
  .glacier-dropdown-products .glacier-dropdown-grid{
    width:700px;
    max-width:100%;
    grid-template-columns:260px 300px;
    gap:2px 18px;
  }

  .glacier-dropdown-products .glacier-dropdown-grid a{
    min-height:48px;
    padding:7px 10px;
  }

  .glacier-dropdown-products .glacier-dropdown-grid a:last-child{
    grid-column:1 / -1;
    min-height:44px;
  }

  /* General two-column menus. */
  .glacier-dropdown:not(.glacier-dropdown-wide) .glacier-dropdown-grid{
    width:760px;
    max-width:100%;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:2px 18px;
  }

  .glacier-dropdown:not(.glacier-dropdown-wide) .glacier-dropdown-grid a{
    min-height:52px;
    padding:8px 10px;
  }

  /* Industries: still 3 columns, but tighter. */
  .glacier-dropdown-wide .glacier-dropdown-grid,
  .glacier-dropdown-wide .glacier-dropdown-grid-3{
    width:940px;
    max-width:100%;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:2px 16px;
  }

  .glacier-dropdown-wide .glacier-dropdown-grid a{
    min-height:58px;
    padding:8px 10px;
  }

  .glacier-dropdown-grid strong{
    font-size:.88rem;
    line-height:1.22;
  }

  .glacier-dropdown-grid small{
    font-size:.73rem;
    line-height:1.25;
  }

  .glacier-dropdown-footer-link{
    width:760px;
    max-width:100%;
    margin-top:7px;
    padding:8px 10px 1px;
  }
}

@media (max-width:767px){
  .glacier-dropdown,
  .glacier-dropdown-wide,
  .glacier-dropdown-products{
    padding-top:0;
    padding-bottom:8px;
    padding-left:0;
    padding-right:0;
  }
}

/* Final alignment: compact menu content centered in viewport */
@media (min-width:768px){

  .glacier-dropdown,
  .glacier-dropdown-wide,
  .glacier-dropdown-products{
    display:flex;
    flex-direction:column;
    align-items:center;
  }

  .glacier-dropdown > *,
  .glacier-dropdown-wide > *,
  .glacier-dropdown-products > *{
    margin-left:auto;
    margin-right:auto;
  }

  .glacier-dropdown-products .glacier-dropdown-grid,
  .glacier-dropdown:not(.glacier-dropdown-wide) .glacier-dropdown-grid,
  .glacier-dropdown-wide .glacier-dropdown-grid,
  .glacier-dropdown-wide .glacier-dropdown-grid-3{
    margin-left:auto;
    margin-right:auto;
  }

  .glacier-dropdown-footer-link{
    margin-left:auto;
    margin-right:auto;
  }
}

/* =========================================================
   GLACIER CLARITY — NAVIGATION VISUALS
   Technical solution icons + product visual.
   ========================================================= */

@media (min-width:768px){

  .glacier-product-menu-layout{
    width:820px;
    max-width:100%;
    display:grid;
    grid-template-columns:minmax(0,1fr) 190px;
    align-items:stretch;
    gap:18px;
    margin:0 auto;
  }

  .glacier-product-menu-layout .glacier-dropdown-grid{
    width:auto;
    max-width:none;
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .glacier-product-menu-visual{
    min-height:150px;
    display:flex;
    align-items:center;
    justify-content:center;
    overflow:hidden;
    border:1px solid var(--glacier-border-light);
    border-radius:12px;
    background:#f7f8fa;
    text-decoration:none;
  }

  .glacier-product-menu-visual img{
    display:block;
    width:100%;
    height:100%;
    min-height:150px;
    object-fit:contain;
    transition:transform .2s ease;
  }

  .glacier-product-menu-visual:hover img{
    transform:scale(1.025);
  }

  #glacier-menu-solutions .glacier-dropdown-grid a{
    display:grid;
    grid-template-columns:42px minmax(0,1fr);
    align-items:center;
    column-gap:10px;
    min-height:62px;
  }

  .glacier-menu-item-icon{
    position:relative;
    width:38px;
    height:38px;
    display:block;
    border:1.5px solid #9fb3c8;
    border-radius:10px;
    background:#f8fafc;
  }

  .glacier-menu-item-icon::before,
  .glacier-menu-item-icon::after{
    content:"";
    position:absolute;
    display:block;
    border:1.5px solid #5f7894;
  }

  .glacier-icon-panel::before{
    inset:8px 9px 11px;
    border-radius:3px;
  }

  .glacier-icon-panel::after{
    width:10px;
    height:2px;
    left:13px;
    bottom:7px;
    border-width:0 0 1.5px;
  }

  .glacier-icon-hydraulic::before{
    width:15px;
    height:15px;
    left:10px;
    top:10px;
    border-radius:50%;
  }

  .glacier-icon-hydraulic::after{
    width:10px;
    height:10px;
    left:13px;
    top:13px;
    border-radius:50%;
  }

  .glacier-icon-machine::before{
    width:20px;
    height:13px;
    left:8px;
    top:11px;
    border-radius:3px;
  }

  .glacier-icon-machine::after{
    width:6px;
    height:6px;
    left:14px;
    bottom:6px;
    border-radius:50%;
  }

  .glacier-icon-process::before{
    width:19px;
    height:19px;
    left:9px;
    top:9px;
    border-radius:50%;
  }

  .glacier-icon-process::after{
    width:8px;
    height:8px;
    left:14px;
    top:14px;
    border-radius:2px;
  }

  .glacier-icon-custom::before{
    width:20px;
    height:20px;
    left:8px;
    top:8px;
    border-radius:50%;
  }

  .glacier-icon-custom::after{
    width:10px;
    height:10px;
    left:13px;
    top:13px;
    border-radius:50%;
    background:#f8fafc;
  }

  #glacier-menu-solutions .glacier-dropdown-grid a:hover .glacier-menu-item-icon,
  #glacier-menu-solutions .glacier-dropdown-grid a:focus-visible .glacier-menu-item-icon{
    border-color:var(--glacier-blue);
    background:#fff;
  }

  #glacier-menu-solutions .glacier-menu-item-copy{
    min-width:0;
    display:flex;
    flex-direction:column;
    gap:4px;
  }
}

@media (max-width:767px){

  .glacier-product-menu-layout{
    display:block;
  }

  .glacier-product-menu-visual{
    display:none;
  }

  #glacier-menu-solutions .glacier-dropdown-grid a{
    display:grid;
    grid-template-columns:34px minmax(0,1fr);
    gap:9px;
    align-items:center;
  }

  .glacier-menu-item-icon{
    width:30px;
    height:30px;
    border-radius:8px;
  }

  .glacier-menu-item-icon::before{
    transform:scale(.78);
    transform-origin:center;
  }

  .glacier-menu-item-icon::after{
    transform:scale(.78);
    transform-origin:center;
  }
}

/* =========================================================
   GLACIER SERVICES — FINAL MENU REFINEMENT
   Applies only to the Services dropdown.
   ========================================================= */

@media (min-width:768px){

  #glacier-menu-services .glacier-dropdown-grid{
    width:760px;
    max-width:100%;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:2px 18px;
  }

  #glacier-menu-services .glacier-dropdown-grid a{
    min-height:52px;
    padding:8px 10px;
  }

  /* Services menu does not need product-style image tiles. */
  #glacier-menu-services .glacier-menu-item-icon{
    display:none;
  }

  #glacier-menu-services .glacier-menu-item-copy{
    min-width:0;
    display:flex;
    flex-direction:column;
    gap:3px;
  }

  #glacier-menu-services .glacier-dropdown-grid strong{
    font-size:.88rem;
    line-height:1.22;
  }

  #glacier-menu-services .glacier-dropdown-grid small{
    font-size:.73rem;
    line-height:1.25;
  }

  #glacier-menu-services .glacier-dropdown-footer-link{
    width:760px;
    max-width:100%;
    margin-top:7px;
    padding:8px 10px 1px;
  }
}

@media (max-width:767px){

  #glacier-menu-services .glacier-menu-item-icon{
    display:none;
  }

  #glacier-menu-services .glacier-dropdown-grid{
    grid-template-columns:1fr;
  }

  #glacier-menu-services .glacier-dropdown-grid a{
    min-height:0;
    padding:10px 10px 10px 16px;
  }
}


/* =========================================================
   SERVICES + INDUSTRIES FINAL COMPACT TUNING
   ========================================================= */
@media (min-width:768px){
  /* Services: six fixed service links, compact two-column menu. */
  #glacier-menu-services .glacier-dropdown-grid{
    width:760px;
    max-width:100%;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:2px 14px;
  }

  #glacier-menu-services .glacier-dropdown-grid a{
    min-height:50px;
    padding:7px 10px;
  }

  #glacier-menu-services .glacier-dropdown-grid strong{
    font-size:.86rem;
    line-height:1.2;
  }

  #glacier-menu-services .glacier-dropdown-grid small{
    font-size:.71rem;
    line-height:1.22;
  }

  #glacier-menu-services .glacier-dropdown-footer-link{
    width:760px;
    max-width:100%;
    margin-top:6px;
    padding:7px 10px 1px;
  }

  /* Industries: show every published industry, but keep the mega-menu compact. */
  #glacier-menu-industries .glacier-dropdown-grid-3{
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:1px 10px;
  }

  #glacier-menu-industries .glacier-dropdown-grid-3 a{
    min-height:60px;
    padding:7px 8px;
    gap:2px 8px;
    display:grid;
    grid-template-columns:30px minmax(0,1fr);
    align-items:center;
  }

  #glacier-menu-industries .glacier-menu-item-icon{
    width:30px;
    height:30px;
    display:flex;
    align-items:center;
    justify-content:center;
    overflow:hidden;
    border-radius:5px;
  }

  #glacier-menu-industries .glacier-menu-item-icon img{
    width:30px;
    height:30px;
    object-fit:cover;
    display:block;
  }

  #glacier-menu-industries .glacier-menu-item-copy{
    min-width:0;
    display:flex;
    flex-direction:column;
    gap:2px;
  }

  #glacier-menu-industries .glacier-dropdown-grid strong{
    font-size:.80rem;
    line-height:1.18;
    display:block;
    white-space:normal;
  }

  #glacier-menu-industries .glacier-dropdown-grid small{
    font-size:.66rem;
    line-height:1.2;
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
  }

  #glacier-menu-industries .glacier-dropdown-footer-link{
    margin-top:5px;
    padding:7px 8px 1px;
  }
}

@media (max-width:1100px) and (min-width:768px){
  #glacier-menu-industries .glacier-dropdown-grid-3{
    gap:1px 6px;
  }
  #glacier-menu-industries .glacier-dropdown-grid-3 a{
    grid-template-columns:26px minmax(0,1fr);
    min-height:56px;
    padding:6px;
  }
  #glacier-menu-industries .glacier-menu-item-icon,
  #glacier-menu-industries .glacier-menu-item-icon img{
    width:26px;
    height:26px;
  }
  #glacier-menu-industries .glacier-dropdown-grid strong{
    font-size:.74rem;
  }
  #glacier-menu-industries .glacier-dropdown-grid small{
    font-size:.62rem;
  }
}

@media (max-width:767px){
  #glacier-menu-industries .glacier-dropdown-grid-3{
    grid-template-columns:1fr;
  }
  #glacier-menu-industries .glacier-dropdown-grid-3 a{
    display:flex;
    min-height:0;
    padding:9px 10px 9px 16px;
  }
  #glacier-menu-industries .glacier-menu-item-icon{
    width:28px;
    height:28px;
    flex:0 0 28px;
  }
  #glacier-menu-industries .glacier-menu-item-icon img{
    width:28px;
    height:28px;
  }
  #glacier-menu-industries .glacier-dropdown-grid small{
    display:none;
  }
}
/* =========================================================
   VIEW ALL CTA — COMPACT
   ========================================================= */

.glacier-dropdown-footer-link{
    display:inline-flex !important;
    width:auto !important;
    max-width:max-content !important;

    align-items:center;
    justify-content:center;
    gap:6px;

    margin:8px 2px 0 auto !important;
    padding:7px 12px !important;

    background:#eff6ff;
    border:1px solid #dbeafe;
    border-radius:7px;

    color:var(--glacier-blue,#2563eb);
    font-size:.78rem;
    font-weight:700;
    line-height:1;

    text-decoration:none;
    white-space:nowrap;

    transition:
        background-color .15s ease,
        border-color .15s ease,
        transform .15s ease;
}

.glacier-dropdown-footer-link:hover,
.glacier-dropdown-footer-link:focus-visible{
    background:#dbeafe;
    border-color:#bfdbfe;
    color:#1d4ed8;
    transform:translateX(2px);
    text-decoration:none;
    outline:none;
}