/* Compact desktop mega menus; mobile retains its accessible 44px disclosure controls. */
body .wata-menu__disclosure span {
  width:14px; height:14px; border:0; background:currentColor;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
  transform:none; transition:transform .16s ease;
}
body .wata-menu__details[open]>.wata-menu__disclosure span { transform:rotate(180deg); }
@media(min-width:1024px) {
  /* The hover owner reaches the panel edge instead of ending at the 44px label. */
  body [data-wata-nav-enhanced="true"] .wata-header__main-inner { padding-block:0; height:80px; }
  body [data-wata-nav-enhanced="true"] .wata-header__navigation { align-self:stretch; display:flex; align-items:stretch; }
  body [data-wata-nav-enhanced="true"] .wata-menu { align-items:stretch; }
  body [data-wata-nav-enhanced="true"] .wata-menu>li { display:grid; grid-template-rows:80px; grid-auto-rows:0; align-items:center; }
  body [data-wata-nav-enhanced="true"] .wata-menu>li.menu-item-has-children { grid-template-columns:minmax(0,1fr) 28px; }
  body [data-wata-nav-enhanced="true"] .wata-menu>li>a { align-self:center; padding-right:4px; }
  body [data-wata-nav-enhanced="true"] .wata-menu>li>.wata-menu__details>.wata-menu__disclosure { align-self:center; min-width:28px; min-height:44px; padding:7px; }
  body [data-wata-nav-enhanced="true"] .wata-menu>li.is-open::after { content:''; position:absolute; left:0; right:0; bottom:-12px; height:16px; }
  body [data-wata-nav-enhanced="true"] .wata-menu>:is(.wata-menu--mega,.wata-menu__item--mega)>.wata-menu__details[open]>.sub-menu {
    grid-template-columns:repeat(var(--wata-mega-columns,1),minmax(0,1fr)); gap:12px 24px; padding:20px 24px 12px;
    max-height:calc(100dvh - 140px); border-radius:0 0 14px 14px;
  }
  body [data-wata-nav-enhanced="true"] .wata-menu>:is(.wata-menu--mega,.wata-menu__item--mega)>.wata-menu__details>.sub-menu>li>a {
    min-height:44px; margin-bottom:4px; padding:4px; gap:8px; font-size:14px;
  }
  body [data-wata-nav-enhanced="true"] .wata-menu>:is(.wata-menu--mega,.wata-menu__item--mega)>.wata-menu__details>.sub-menu>li>a::before {
    width:20px; height:20px; border-radius:5px; box-shadow:none; transform:none;
  }
  body [data-wata-nav-enhanced="true"] .wata-menu>:is(.wata-menu--mega,.wata-menu__item--mega)>.wata-menu__details>.sub-menu>li>.wata-menu__details[open]>.sub-menu {
    margin:0; display:grid; grid-template-columns:minmax(0,1fr); gap:0;
  }
  body [data-wata-nav-enhanced="true"] .wata-menu>:is(.wata-menu--mega,.wata-menu__item--mega)>.wata-menu__details>.sub-menu>.wata-menu__group--split>.wata-menu__details[open]>.sub-menu {
    grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 8px;
  }
  body [data-wata-nav-enhanced="true"] .wata-menu>:is(.wata-menu--mega,.wata-menu__item--mega)>.wata-menu__details>.sub-menu>li>.wata-menu__details>.sub-menu>li>a {
    min-height:44px; padding:7px 4px; gap:6px; font-size:12px; line-height:1.4;
  }
  body [data-wata-nav-enhanced="true"] .wata-menu .wata-menu__description { font-size:10px; line-height:1.4; }
  body [data-wata-nav-enhanced="true"] .wata-menu>:is(.wata-menu--mega,.wata-menu__item--mega)>.wata-menu__details>.sub-menu>.wata-menu__more {
    grid-column:1/-1; border-top:1px solid #e5ebf3; padding-top:8px;
  }
  body [data-wata-nav-enhanced="true"] .wata-menu>:is(.wata-menu--mega,.wata-menu__item--mega)>.wata-menu__details>.sub-menu>.wata-menu__more>a {
    margin:0; padding:7px 4px; border:0; min-height:44px; font-size:12px;
  }
  body [data-wata-nav-enhanced="true"] .wata-menu>:is(.wata-menu--mega,.wata-menu__item--mega)>.wata-menu__details>.sub-menu>.wata-menu__more>a::before { display:none; }
}
body .wata-footer__main { padding-block:32px; gap:28px; }
body .wata-footer .brand--footer { margin-bottom:14px; padding:8px 12px; min-height:44px; }
body .wata-footer p { margin-bottom:10px; font-size:13px; line-height:1.65; }
body .wata-footer__contact { margin-top:12px; }
body .wata-footer-cta__inner { padding-block:24px; gap:20px; }
body .wata-footer .wata-footer-cta h2 { font-size:24px; margin-bottom:8px; }
body .wata-footer .wata-footer-cta p { font-size:14px; }
/* One shared closing CTA. Keep embedded lead forms and in-content CTAs. */
body #main .about-close,
body #main > .section--cta:last-child:not(:has(form)),
body #main > div > .section--cta:last-child:not(:has(form)),
body #main > article > .section--cta:last-child:not(:has(form)),
body #main .all-products-cta:last-child:not(:has(form)) { display:none; }
body .wata-footer-cta { background:#f5f7fa; border-top:1px solid #dce3eb; }
body .wata-footer-cta__inner { max-width:1280px; display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:24px; padding-block:36px; }
body .wata-footer .wata-footer-cta h2 { color:#102a43; font-size:28px; line-height:1.35; max-width:32ch; }
body .wata-footer .wata-footer-cta p { color:#53667e; font-size:16px; margin:0; max-width:65ch; }
body .wata-footer-cta .button { min-height:48px; }
@media(max-width:767px) {
 body .wata-footer-cta__inner { grid-template-columns:minmax(0,1fr); gap:20px; padding-block:28px; }
 body .wata-footer-cta .button { justify-self:start; }
}
body .wata-footer__offices { padding-block:0; }
.footer-disclosure > summary { display:flex; align-items:center; justify-content:space-between; gap:12px; min-height:44px; cursor:pointer; list-style:none; }
.footer-disclosure > summary::-webkit-details-marker { display:none; }
.footer-disclosure > summary::after { content:'+'; color:#b6c6d9; font-size:20px; }
.footer-disclosure[open] > summary::after { content:'−'; }
body .wata-footer .footer-disclosure > summary h2 { margin:0; font-size:15px; }
body .wata-footer .footer-disclosure--offices > summary { min-height:56px; }
body .wata-footer .footer-disclosure--offices .wata-footer__offices-grid { padding-bottom:24px; }
.footer-disclosure > summary:focus-visible { outline:2px solid #9bccff; outline-offset:3px; }
@media(min-width:992px) {
  .footer-disclosure > summary::after { display:none; }
}
body .wata-footer__bottom { padding-block:14px; gap:8px 20px; }
@media(min-width:640px) {
  body .wata-footer .wata-footer__nav-group a:not(.brand) { min-height:30px; padding-block:4px; font-size:13px; }
  body .wata-footer__nav-group .footer-disclosure > summary { min-height:32px; margin-bottom:8px; }
  body .wata-footer .wata-footer__contact a:not(.brand) { min-height:32px; padding-block:4px; }
}
@media(min-width:1024px) {
  body .wata-footer__main { grid-template-columns:1.2fr 1.4fr .8fr 1.2fr; gap:24px; }
  body .wata-footer__nav-group[aria-labelledby="wata-footer_solutions-title"] nav > ul { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:2px 14px; }
}
@media(max-width:639px) {
  body .wata-footer__main { gap:0; padding-block:24px 12px; }
  body .wata-footer__brand { margin-bottom:18px; }
  body .wata-footer__nav-group { border-top:1px solid #284055; }
  body .wata-footer__nav-group .footer-disclosure > summary { min-height:52px; }
  body .wata-footer__nav-group nav { padding-bottom:12px; }
  body .wata-footer .wata-footer-cta h2 { font-size:21px; }
}
