/* Shared interaction and accessibility layer for the development site. */
html, body { overflow-x: hidden; overflow-x: clip; }
header { overflow-x: hidden; overflow-x: clip; }

@font-face {
  font-family: 'EnergyStudio Brands';
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url('assets/fonts/fa-brands-400.woff2') format('woff2');
}

.skip-link {
  position: fixed;
  z-index: 10001;
  top: 10px;
  left: 10px;
  transform: translateY(-160%);
  padding: 10px 14px;
  border-radius: 6px;
  background: #181c31;
  color: #fff;
  font: 600 14px/1 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, system-ui, sans-serif;
  text-decoration: none;
}
.skip-link:focus { transform: translateY(0); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.menu-toggle {
  display: none;
  min-height: 44px;
  padding: 9px 12px;
  border: 1px solid #d7dee8;
  border-radius: 7px;
  background: #fff;
  color: #181c31;
  font: 600 14px/1 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, system-ui, sans-serif;
  cursor: pointer;
}

.whatsapp-float {
  position: fixed;
  z-index: 9998;
  left: 20px;
  bottom: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 7px 22px rgba(20, 80, 45, .28);
  color: #fff;
  text-decoration: none;
}
.whatsapp-float:hover { background: #1ebe5d; color: #fff; }
.whatsapp-icon {
  font: normal 30px/1 'EnergyStudio Brands';
  speak: never;
}
.whatsapp-icon::before { content: '\f232'; }

:focus-visible {
  outline: 3px solid #1967a7;
  outline-offset: 3px;
}

@media (max-width: 767px) {
  header > div { gap: 10px !important; }
  .menu-toggle { display: inline-flex; align-items: center; }
  header nav.site-navigation {
    display: none !important;
    width: 100%;
    flex-basis: 100%;
    padding-top: 8px;
  }
  header nav.site-navigation.is-open { display: flex !important; }
  header nav.site-navigation a { min-height: 44px; display: inline-flex; align-items: center; }
  .whatsapp-float {
    left: 14px;
    bottom: calc(14px + env(safe-area-inset-bottom));
    width: 56px;
    height: 56px;
  }
  .department-table { overflow: visible !important; }
  .department-table table { min-width: 0 !important; table-layout: fixed; font-size: 14px !important; }
  .department-table th,
  .department-table td { padding: 12px !important; overflow-wrap: anywhere; vertical-align: top; }
}
