/* Scoped styles for the changes requested in Webpage changes.pdf. */
.xa-products-menu { position: relative; }
.xa-products-menu summary { cursor: pointer; list-style: none; }
.xa-products-menu summary::-webkit-details-marker { display: none; }
.xa-products-menu summary::after { content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 0 3px 9px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(45deg); }
.xa-products-menu[open] > summary::after { transform: rotate(225deg); margin-bottom: 0; }
.xa-products-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding: 26px; background: #111; color: #fff; border: 1px solid #333; border-radius: 8px; box-shadow: 0 18px 36px #0003; }
.xa-products-panel a { color: #fff; text-decoration: none; font-family: "Manrope", sans-serif; }
/* Desktop PRODUCTS nav item now reuses the Resources dropdown markup/style instead of the old two-column panel. */
.xa-desktop-products.dropdown { position: relative; }
.xa-desktop-products .dropdown-menu-products { min-width: 260px; }
.xa-desktop-products .dropdown-menu-products .dropdown-header { font: 700 12px/1.6 "Manrope", sans-serif; text-transform: uppercase; letter-spacing: .04em; opacity: .7; padding: 8px 16px 4px; }
.xa-desktop-products .dropdown-menu-products .dropdown-item-custom i { width: 16px; text-align: center; }
.xa-desktop-products .dropdown-menu-products .xa-view-all-products { font-weight: 700; }
.xa-desktop-products .dropdown-menu-products .xa-view-all-products i { width: auto; }
/* The Resources dropdown's little pointer arrow (::before) is centered on the dropdown BOX by default (left: 50%).
   That box is wider than the "PRODUCTS" toggle word, so the arrow drifted right, appearing to point at
   "Engineering Services" instead. Anchor it under the PRODUCTS label itself instead. */
.xa-desktop-products .dropdown-menu-products::before {
  left: 44px;
  transform: rotate(45deg);
}
@media (min-width: 992px) {
  /* Show on hover (mouse) as well as on focus (keyboard/click), instead of requiring a click to toggle. */
  .xa-desktop-products:hover > .dropdown-menu-products,
  .xa-desktop-products:focus-within > .dropdown-menu-products {
    display: block;
    margin-top: 0;
  }
}
.xa-products-panel .xa-product-category { display: block; font-size: 14px; line-height: 1.6; font-weight: 700; min-height: 46px; margin-bottom: 12px; }
.xa-products-panel ul { list-style: none; margin: 0; padding: 0; }
.xa-products-panel li { margin: 0; }
.xa-products-panel li a { display: block; padding: 9px 0; font-size: 13px; color: #ccc; }
.xa-products-panel a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.xa-products-panel .xa-all-products { grid-column: 1 / -1; border-top: 1px solid #333; padding-top: 16px; font-size: 13px; }
.xa-products-menu a:focus-visible, .xa-products-menu summary:focus-visible, .xa-button:focus-visible, .xa-division-card:focus-visible { outline: 3px solid #b94035; outline-offset: 5px; }
.sidebar:has(.xa-mobile-products) { overflow-y: auto; overscroll-behavior: contain; }
.sidebar .xa-mobile-products { text-align: left; }
.sidebar .xa-mobile-summary { color: #111; font: 1.4rem serif; padding: 0 0 8px; }
.sidebar .xa-products-panel { grid-template-columns: 1fr; gap: 18px; padding: 18px 12px; background: #f5f5f5; border: 1px solid #ddd; box-shadow: none; margin: 8px 0 15px; }
.sidebar .xa-products-panel ul { margin: 0; padding: 0; text-align: left; }
.sidebar .xa-products-panel ul li { margin: 0; border: 0; }
.sidebar .xa-products-panel a { color: #222; font: 13px/1.6 "Manrope", sans-serif; text-align: left; }
.sidebar .xa-products-panel .xa-product-category { font-weight: 700; min-height: 0; margin-bottom: 8px; }
.sidebar .xa-products-panel .xa-all-products { border-color: #ddd; }
[data-xa-hero].video-container { min-height: 100%; height: 100vh; height: 100vh; padding-top: 90px; background-color: #111; }
/* [data-xa-hero] .content-overlay { padding: 72px 24px 56px; background: linear-gradient(transparent, #000c 24%, #000e); }
[data-xa-hero] .content-overlay h1 { max-width: 1050px; margin: 0 auto 22px; padding: 0; background: none; font-size: clamp(2.25rem, 4.2vw, 4rem); line-height: 1.08; letter-spacing: -1px; }
[data-xa-hero] .content-overlay h3 { max-width: 850px; margin: 0 auto; padding: 0; background: none; font-size: clamp(1.05rem, 1.4vw, 1.3rem); line-height: 1.6; } */


[data-xa-hero] .content-overlay {
  padding: 0 0 3rem 0;
  background-color: rgba(0, 0, 0, 0.7);
}
[data-xa-hero] .content-overlay h1 {
  font-size: 3rem;
  font-family: "Arya", sans-serif;
  font-optical-sizing: auto;
  letter-spacing: -1px;
  margin: 0;
  padding: 1rem 3rem 0 3rem;
}
[data-xa-hero] .content-overlay h3 {
  font-size: 1.2rem;
  margin: 0;
  font-weight: 300;
  font-family: "Arya", sans-serif;
  font-optical-sizing: auto;
  padding: 0 3rem;
}
[data-xa-hero] .xa-hero-actions {
  margin-top: 28px;
  padding: 0 3rem;
}
.xa-hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 28px; }
.xa-button { display: inline-flex; align-items: center; justify-content: center; gap: 24px; padding: 14px 24px; border: 1px solid #841c14; border-radius: 4px; background: #841c14; color: #fff; font: 600 14px/1.5 "Manrope", sans-serif; text-decoration: none; transition: background .2s, border-color .2s; }
.xa-button:hover { background: #a3271d; color: #fff; border-color: #a3271d; }
.xa-button-outline { background: #1118; border-color: #fff9; }
.xa-button-outline:hover { background: #fff; color: #111; border-color: #fff; }
.xa-divisions { padding-top: 64px; padding-bottom: 32px; }
.xa-divisions > h2, .xa-capabilities > h2 { color: #151515; font-family: "Arya", sans-serif; font-size: clamp(2rem, 3.1vw, 3rem); line-height: 1.15; margin: 0 0 28px; }
.xa-divisions > h2 { text-align: center; }
.xa-division-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.xa-division-card { display: flex; flex-direction: column; border: 1px solid #ddd; border-radius: 8px; overflow: hidden; background: #fff; color: #111; text-decoration: none; transition: border-color .2s, box-shadow .2s; }
.xa-division-card:hover { color: #111; border-color: #841c14; box-shadow: 0 10px 28px #0001; }
.xa-division-image { height: 235px; padding: 24px; background: #f4f4f4; }
.xa-division-image img { display: block; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.xa-division-copy { display: flex; flex-direction: column; flex: 1; padding: 28px; }
.xa-division-copy h3 { font: 700 1.8rem/1.18 "Arya", sans-serif; margin: 0 0 12px; }
.xa-division-copy p { font: 14px/1.7 "Manrope", sans-serif; color: #555; margin-bottom: 24px; }
.xa-card-link { display: flex; justify-content: space-between; gap: 20px; margin-top: auto; color: #841c14; font: 700 13px/1.6 "Manrope", sans-serif; }
.xa-services-banner { display: flex; justify-content: space-between; align-items: center; gap: 28px; margin-top: 72px; margin-bottom: 72px; padding: 32px; background: #f5f5f5; border-left: 4px solid #841c14; }
.xa-services-banner p { margin: 0; font: 400 1.9rem/1.3 "Arya", sans-serif; max-width: 600px; }
.xa-services-banner .xa-button { flex-shrink: 0; }
[data-xa-industries] .species { max-width: 1050px; margin: 0 auto; line-height: 1.15; }
[data-xa-industries] .pad-styl { padding: 24px; }
[data-xa-industries] .spec-sec p { line-height: 1.75; font-size: .98rem; }
#engineering-expertise { margin: 64px auto 28px; scroll-margin-top: 110px; }
#engineering-expertise .xa-focus-heading { font: 700 clamp(2rem, 4vw, 3rem)/1.2 "Arya", sans-serif; letter-spacing: -1px; margin: 0 0 18px; text-align: center; }
#engineering-expertise .globally { width: auto; max-width: 850px; margin: 0 auto; font: 400 1.05rem/1.7 "Manrope", sans-serif; }
#engineering-expertise + .expertise-section { margin-top: 0; }
.xa-capabilities { margin: 56px 0 32px; padding: 32px; background: #f5f5f5; border-top: 3px solid #841c14; }
.xa-capability-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 40px; list-style: disc; padding: 0 0 0 24px; margin: 0; }
.xa-capability-grid li { padding: 0; margin: 0; color: #111; font: 700 1.4rem/1.5 "Arya", sans-serif; }
.xa-anchor { display: block; }
.xa-anchor, #sensor-acoustics-wrap, #smt, #reflow, #solder-paste-dispenser, #acoustic-pinger, #echosounder, #dvl, #technology-capabilities, #custom-products, #design-development, #robotics-solutions, #simulations, #deep-tech, #consultancy, #automated-test-systems { scroll-margin-top: 110px; }
[data-xa-video-fallback] { background-size: cover; background-position: center; background-repeat: no-repeat; }
.xa-fallback-video { transition: opacity .15s; }
.xa-fallback-video.xa-show-poster { opacity: 0; }
.xa-fallback-video > img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 992px) and (max-width: 1199px) {
  .navbar:has(.xa-desktop-products) .navbar-text { font-size: .8rem; }
  .navbar:has(.xa-desktop-products) .nav-book-demo-btn { padding-left: 12px; padding-right: 12px; }
}
@media (max-width: 767px) {
  [data-xa-hero].video-container { min-height: 710px; height: auto; display: flex; align-items: flex-end; padding-top: 140px; }
  [data-xa-hero] .content-overlay { position: relative; left: auto; transform: none; padding: 32px 16px 32px; }
  [data-xa-hero] .content-overlay h1 { font-size: clamp(1.55rem, 6.6vw, 2.1rem); line-height: 1.25; padding: 0 0.5rem; }
  [data-xa-hero] .content-overlay h3 { font-size: 0.92rem; line-height: 1.5; padding: 0 0.5rem; margin-top: 0.6rem; }
  [data-xa-hero] .xa-hero-actions { margin-top: 18px; }
  .xa-hero-actions { flex-direction: column; }
  .xa-divisions { padding-top: 40px; }
  .xa-division-grid, .xa-capability-grid { grid-template-columns: 1fr; }
  .xa-division-image { height: 210px; }
  .xa-division-copy { padding: 24px; }
  .xa-services-banner { width: calc(100% - 24px); flex-direction: column; align-items: stretch; padding: 26px 22px; margin-top: 48px; margin-bottom: 48px; }
  .xa-services-banner .xa-button { text-align: center; gap: 12px; }
  .xa-capabilities { padding: 24px 20px; }
  [data-xa-industries] .pad-styl { padding: 20px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .xa-button, .xa-division-card, .xa-fallback-video { transition: none; }
}