/* Shared navigation and controls for every language and route. */
.header {
  padding-inline: max(var(--margin), calc((100% - 1512px) / 2 + var(--margin)));
  max-width: none;
  margin: 0;
}
.desktop-nav {
  gap: clamp(18px, 2vw, 30px);
}
.nav-menu {
  position: relative;
}
.nav-menu > summary {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 60px;
  padding-block: 20px;
  font-size: 13px;
  line-height: 1.5;
  font-weight: 500;
  white-space: nowrap;
  opacity: .84;
}
.nav-menu > summary > span {
  font-size: 15px;
  transition: transform .25s;
}
.nav-menu[open] > summary > span {
  transform: rotate(180deg);
}
.nav-menu:has(a[aria-current]) > summary {
  opacity: 1;
}
.nav-popover {
  position: absolute;
  z-index: 40;
  top: calc(100% - 2px);
  left: -20px;
  display: grid;
  width: 285px;
  padding: 12px;
  border: 1px solid #dedede;
  border-radius: 12px;
  color: #111;
  background: #fafafa;
  box-shadow: 0 16px 45px #00000016;
}
.nav-popover a {
  display: block;
  padding: 11px 12px;
  border-radius: 5px;
  font-size: 13px;
  line-height: 1.5;
  white-space: normal;
  opacity: 1;
}
.nav-popover a:hover,
.nav-popover a[aria-current] {
  background: #eaeaea;
}
.desktop-nav .nav-popover a::after {
  display: none;
}
.language-picker > summary {
  padding-block: 14px;
  font-size: 12px;
}
.language-picker .nav-popover {
  width: 150px;
  left: auto;
  right: 0;
}
.mobile-group {
  border-bottom: 1px solid #ffffff24;
}
.mobile-group > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 10px 20px;
  font-size: 26px;
  line-height: 1.3;
  font-weight: 400;
}
.mobile-group > summary > span {
  font-size: 24px;
  transition: transform .25s;
}
.mobile-group[open] > summary > span {
  transform: rotate(45deg);
}
.mobile-group > div {
  display: grid;
  gap: 0;
  padding-bottom: 15px;
}
.mobile-group a {
  padding: 12px 0;
  font-size: 16px;
  line-height: 1.5;
  color: #bcbcbc;
}
.mobile-group a[aria-current] {
  color: #fff;
}
.mobile-languages {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  padding-top: 24px;
}
.mobile-languages a {
  font-size: 13px;
  color: #aaa;
}
.mobile-languages a[aria-current] {
  color: #fff;
}
.footer {
  max-width: none;
  margin: 0;
  padding-inline: 0;
  display: block;
}
.footer a,
.footer button {
  letter-spacing: 0;
}
.footer-motion {
  display: block;
}
.cookie-consent {
  position: fixed;
  z-index: 100;
  bottom: 24px;
  left: 24px;
  width: min(390px, calc(100vw - 48px));
  padding: 26px;
  border: 1px solid #d4d4d4;
  border-radius: 14px;
  color: #111;
  background: #fafafa;
  box-shadow: 0 12px 60px #00000022;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .3s, transform .4s var(--ease);
}
.cookie-consent.is-visible {
  opacity: 1;
  transform: none;
}
.cookie-kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: #777;
  margin-bottom: 14px;
}
.cookie-kicker svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.2;
}
.cookie-title {
  display: block;
  font-size: 19px;
  line-height: 1.35;
  font-weight: 500;
  margin-bottom: 14px;
}
.cookie-consent p {
  color: #666;
  font-size: 13px;
  line-height: 1.6;
}
.cookie-policy {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  margin-top: 16px;
}
.cookie-policy svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  stroke-width: 1.2;
}
.cookie-consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.cookie-btn {
  flex: 1;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid #bbb;
  border-radius: 5px;
  font-size: 11px;
  font-weight: 500;
}
.cookie-btn-solid {
  color: #fff;
  background: var(--dark-surface);
  border-color: var(--dark-surface);
}
.cookie-prefs {
  font-size: 12px;
  padding: 0;
  color: #aaa;
}
html[data-language='en'] .benefit > h3,
html[data-language='es'] .benefit > h3 {
  font-size: clamp(24px, 1.95vw, 29px);
}
@media (max-width: 1250px) {
  .desktop-nav {
    gap: 18px;
  }
  .header-actions {
    gap: 12px;
  }
}
@media (max-width: 1099px) {
  .desktop-nav {
    display: none;
  }
  .language-picker {
    display: none;
  }
}
@media (max-width: 700px) {
  html[data-language='en'] .benefit > h3,
  html[data-language='es'] .benefit > h3 {
    font-size: 26px;
  }
  .cookie-consent {
    bottom: 16px;
    left: 16px;
    width: calc(100vw - 32px);
    padding: 22px;
  }
}
@media (max-width: 360px) {
  html[data-language='en'] .benefit > h3,
  html[data-language='es'] .benefit > h3 {
    font-size: 21px;
  }
}

/* Shared interaction rhythm and readable spacing across every page. */
.nav-popover {
  max-height: calc(100dvh - var(--header-height) - 24px);
  overflow-y: auto;
  overscroll-behavior: contain;
  animation: navigation-enter .22s var(--ease);
}
@keyframes navigation-enter {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: none; }
}
.nav-popover a,
.mobile-group a,
.mobile-languages a,
.footer-languages a,
.cookie-prefs,
.menu-button {
  min-height: 44px;
}
.nav-popover a,
.mobile-group a,
.mobile-languages a,
.footer-languages a {
  display: flex;
  align-items: center;
}
.footer-top a:not(.brand) {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  margin-bottom: 4px;
}
.footer-bottom p {
  font-size: 12px;
  line-height: 1.6;
  margin: 0;
}
.footer-bottom a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.footer-bottom {
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 24px;
}
.footer-languages {
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: 18px;
}
.button:active,
.pill:active,
.carousel-controls button:active,
.sector-controls button:active {
  transform: scale(.96);
}
.faq-list summary,
.benefit-more summary,
.sector-content summary {
  transition: color .2s;
}
.faq-list summary:hover,
.benefit-more summary:hover,
.sector-content summary:hover {
  color: #777;
}
.dark .faq-list summary:hover,
.dark .faq-list summary:focus-visible {
  color: #fff;
}
.faq-list details[open] > summary {
  border-bottom-color: currentColor;
}
@supports (interpolate-size: allow-keywords) {
  .faq-list details::details-content,
  .benefit-more::details-content,
  .sector-content::details-content {
    interpolate-size: allow-keywords;
    block-size: 0;
    opacity: 0;
    overflow: clip;
    transition: block-size .38s var(--ease), opacity .2s ease-out, content-visibility .38s;
    transition-behavior: allow-discrete;
  }
  .faq-list details[open]::details-content,
  .benefit-more[open]::details-content,
  .sector-content[open]::details-content {
    block-size: auto;
    opacity: 1;
    transition-delay: 0s, .06s, 0s;
  }
}
@media (max-width: 700px) {
  .footer-bottom {
    align-items: start;
  }
  .footer-top a:not(.brand) {
    min-height: 40px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .nav-popover { animation: none; }
  .faq-list details::details-content,
  .benefit-more::details-content,
  .sector-content::details-content {
    transition: none;
  }
  .button,
  .pill,
  .quote,
  .benefit-art,
  .solution {
    transition: none;
  }
}

.button,
.interior-main .pill,
.dg-primary {
  border-radius: 8px;
}

.menu-open .header-cta {
  color: #111;
  background: #fafafa;
}

/* Display the supplied Altec Sombra artwork from the first tile. */
.client-logos .client-logo-altec {
  position: relative;
  display: block;
  flex: none;
  width: min(88px, 100%);
  aspect-ratio: 110 / 52;
  overflow: hidden;
  mix-blend-mode: lighten;
  opacity: .72;
}
.client-logos span.client-logo-altec > img {
  position: absolute;
  inset: auto;
  left: -69.090909%;
  top: -115.384615%;
  width: 1319.090909%;
  max-width: none;
  max-height: none;
  height: auto;
  object-fit: fill;
  filter: grayscale(1) invert(1);
  opacity: 1;
}
.interior-page .client-logos .client-logo-altec {
  width: min(100px, 100%);
  mix-blend-mode: darken;
  opacity: .7;
}
.interior-page .client-logos span.client-logo-altec > img {
  filter: grayscale(1);
}
@media (max-width: 700px) {
  .home-page .client-logos .client-logo-altec {
    width: min(76px, 100%);
  }
}

/* Equal logo slots keep different artwork proportions optically balanced. */
.home-page .client-logos {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: center;
  justify-items: center;
  gap: 24px;
}
.home-page .client-logos > img {
  width: min(110px, 100%);
}
@media (max-width: 1099px) {
  .home-page .client-logos {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px 24px;
  }
}
@media (max-width: 700px) {
  .home-page .client-logos > img {
    width: min(88px, 100%);
  }
}
