/* ==========================================================================
   Sartech Europe — Soluções para Indústria
   Layout: full-bleed photographic bands on a 1240px engineering grid, crisp
   corners, and the row-of-squares motif taken from the printed flyer.
   ========================================================================== */

@font-face { font-family: "Poppins"; src: url("../fonts/poppins-500.woff") format("woff"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-700.woff") format("woff"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "SartechText"; src: url("../fonts/sartechtext-400.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "SartechText"; src: url("../fonts/sartechtext-700.woff") format("woff"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "SartechText"; src: url("../fonts/sartechtext-400i.woff") format("woff"); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  /* colour — logo blue, a deep blue-black for dark bands, steel neutrals biased to the brand hue */
  --blue: #2F94BC;          /* logo blue: large type, icons, motif */
  --blue-strong: #1F7AA8;   /* buttons and links (white text 4.8:1) */
  --blue-deep: #17628A;     /* hover, links in running text */
  --blue-tint: #E4F1F7;
  --navy: #0B2230;
  --navy-2: #102E3F;
  --navy-3: #1A4256;
  --sky: #7CCBEA;           /* accents on navy */
  --steel: #5B6B73;         /* secondary text on light */
  --steel-light: #AFC3CE;   /* secondary text on navy */
  --ink: #142028;
  --text: #2E3D45;
  --mist: #EFF4F7;
  --line: #D5E0E6;
  --paper: #FFFFFF;

  /* type */
  --font-display: "Poppins", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --font-body: "SartechText", "Lato", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --fs-hero: clamp(2.05rem, 1.25rem + 3vw, 3.75rem);
  --fs-hero-xl: clamp(2.6rem, 1.3rem + 4.8vw, 5.4rem);
  --fs-h1: clamp(2.1rem, 1.45rem + 2.5vw, 3.4rem);
  --fs-h2: clamp(1.7rem, 1.2rem + 1.7vw, 2.6rem);
  --fs-h3: clamp(1.15rem, 1.06rem + 0.35vw, 1.375rem);
  --fs-lead: clamp(1.125rem, 1.05rem + 0.35vw, 1.3125rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.9375rem;

  /* layout */
  --container: 1440px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(64px, 8vw, 120px);
  --header-h: 84px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blue-deep); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--blue-strong); }
button, input, select, textarea { font: inherit; color: inherit; }
[id] { scroll-margin-top: 104px; }
[hidden] { display: none !important; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -0.015em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); letter-spacing: -0.005em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 700; color: var(--ink); }

:focus-visible { outline: 3px solid var(--blue-strong); outline-offset: 3px; }
.on-dark :focus-visible, .on-dark:focus-visible { outline-color: var(--sky); }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 200;
  background: var(--navy); color: #fff; padding: 12px 18px; font-family: var(--font-display);
  font-weight: 500; text-decoration: none;
}
.skip-link:focus { top: 12px; color: #fff; }

.icon { width: 1em; height: 1em; flex: none; fill: currentColor; }

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------------------------------------------------------------- motif */
/* row of squares fading out — the flyer's border device */
.squares {
  display: block;
  width: var(--sq-w, 120px);
  height: var(--sq, 8px);
  background: repeating-linear-gradient(90deg, var(--sq-c, var(--blue)) 0 var(--sq, 8px), transparent var(--sq, 8px) calc(var(--sq, 8px) * 1.6));
  -webkit-mask-image: linear-gradient(90deg, #000 25%, transparent);
  mask-image: linear-gradient(90deg, #000 25%, transparent);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: .8125rem;
  line-height: 1.3;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue-strong);
}
.eyebrow::before {
  content: "";
  flex: none;
  width: 44px;
  height: 8px;
  background: repeating-linear-gradient(90deg, currentColor 0 8px, transparent 8px 12px);
  -webkit-mask-image: linear-gradient(90deg, #000 30%, transparent);
  mask-image: linear-gradient(90deg, #000 30%, transparent);
  opacity: .9;
}
.on-dark .eyebrow, .eyebrow--light { color: var(--sky); }

.lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--steel); }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 24px;
  border: 2px solid transparent;
  border-radius: 2px;
  background: transparent;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: .9375rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.btn .icon { width: 15px; height: 15px; transition: transform .25s var(--ease); }
.btn:hover .icon--arrow { transform: translateX(4px); }
.btn--primary { background: var(--blue-strong); color: #fff; }
.btn--primary:hover { background: var(--blue-deep); color: #fff; }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { background: var(--blue-tint); color: var(--navy); }
.btn--ghost { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn--ghost:hover { background: #fff; border-color: #fff; color: var(--navy); }
.btn--outline { border-color: var(--blue-strong); color: var(--blue-strong); }
.btn--outline:hover { background: var(--blue-strong); color: #fff; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: .9375rem;
  color: var(--blue-strong);
  text-decoration: none;
}
.link-arrow .icon { width: 14px; height: 14px; transition: transform .25s var(--ease); }
.link-arrow:hover { color: var(--blue-deep); }
.link-arrow:hover .icon { transform: translateX(4px); }
.on-dark .link-arrow { color: var(--sky); }
.on-dark .link-arrow:hover { color: #fff; }

/* ---------------------------------------------------------------- top bar */
.topbar {
  background: var(--navy);
  color: var(--steel-light);
  font-size: .875rem;
  line-height: 1;
}
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 42px; }
.topbar__list { display: flex; align-items: center; gap: 26px; margin: 0; padding: 0; list-style: none; }
.topbar__list li { display: flex; align-items: center; gap: 9px; white-space: nowrap; }
.topbar__list .icon { width: 13px; height: 13px; color: var(--sky); }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { color: var(--sky); }
.topbar__right { display: flex; align-items: center; gap: 18px; }
.topbar__socials { display: flex; align-items: center; gap: 2px; }
.topbar__social { display: grid; place-items: center; width: 28px; height: 28px; }
.topbar__social .icon { width: 14px; height: 14px; }

.lang-switch { display: flex; align-items: center; gap: 2px; }
.lang-switch a {
  padding: 7px 8px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: .75rem;
  letter-spacing: .1em;
  color: var(--steel-light);
}
.lang-switch a[aria-current="true"] { color: #fff; box-shadow: inset 0 -2px 0 var(--sky); }
.lang-switch a:hover { color: #fff; }

/* ---------------------------------------------------------------- header */
.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 60;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s var(--ease);
}
@supports (backdrop-filter: blur(8px)) {
  .site-header { background: rgba(255, 255, 255, .9); backdrop-filter: saturate(1.4) blur(10px); }
}
.site-header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(11, 34, 48, .45); }
.mainbar { display: flex; align-items: center; gap: 28px; height: var(--header-h); transition: height .3s var(--ease); }
.is-scrolled .mainbar { height: 70px; }
.brand { display: block; flex: none; margin-right: auto; }
.brand img { width: auto; height: 48px; transition: height .3s var(--ease); }
.is-scrolled .brand img { height: 42px; }

.nav__list { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.nav__item { position: relative; display: flex; align-items: center; }
.nav__link {
  position: relative;
  display: block;
  padding: 12px 14px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: .9375rem;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 4px;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav__link:hover { color: var(--blue-strong); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after, .nav__link.is-current::after { transform: scaleX(1); }
.nav__subtoggle {
  display: grid; place-items: center;
  width: 26px; height: 32px;
  margin-left: -10px;
  padding: 0;
  background: none; border: 0; cursor: pointer;
  color: var(--steel);
}
.nav__subtoggle .icon { width: 11px; height: 11px; transition: transform .25s var(--ease); }
.nav__item--sub.is-open .nav__subtoggle .icon { transform: rotate(180deg); }

.subnav {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  width: min(600px, calc(100vw - 48px));
  padding: 26px;
  background: #fff;
  border-top: 3px solid var(--blue);
  box-shadow: 0 30px 60px -24px rgba(11, 34, 48, .45);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility 0s .22s;
}
.subnav::before { content: ""; position: absolute; left: 0; right: 0; top: -20px; height: 20px; }
.nav__item--sub:hover .subnav,
.nav__item--sub:focus-within .subnav,
.nav__item--sub.is-open .subnav { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s; }
.nav__item--sub.is-closed .subnav { opacity: 0; visibility: hidden; }
.subnav__list { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 18px; margin: 0 0 18px; padding: 0; list-style: none; }
.subnav__link {
  display: flex; align-items: center; gap: 14px;
  padding: 10px;
  margin-inline: -10px;
  font-family: var(--font-display); font-weight: 500; font-size: .9375rem; line-height: 1.3;
  color: var(--ink); text-decoration: none;
}
.subnav__link:hover { background: var(--mist); color: var(--blue-deep); }
.subnav__icon {
  display: grid; place-items: center; flex: none;
  width: 40px; height: 40px;
  background: var(--blue-tint); color: var(--blue-strong);
}
.subnav__icon .icon { width: 18px; height: 18px; }
.subnav__all { padding-top: 16px; border-top: 1px solid var(--line); }

.mainbar__cta { min-height: 46px; padding: 11px 20px; }

.menu-toggle {
  display: none;
  place-items: center;
  width: 48px; height: 48px;
  margin-right: -8px;
  padding: 0;
  background: none; border: 0; cursor: pointer;
  color: var(--ink);
}
.menu-toggle .icon { width: 24px; height: 24px; }

/* ---------------------------------------------------------------- mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  justify-content: flex-end;
}
.mobile-menu__backdrop {
  position: absolute; inset: 0;
  background: rgba(11, 34, 48, .55);
  opacity: 0;
  transition: opacity .3s var(--ease);
}
.mobile-menu__panel {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(440px, 100%);
  height: 100%;
  overflow-y: auto;
  padding: calc(18px + env(safe-area-inset-top, 0px)) 28px calc(28px + env(safe-area-inset-bottom, 0px));
  background: var(--navy);
  color: var(--steel-light);
  transform: translateX(100%);
  transition: transform .35s var(--ease);
}
.mobile-menu.is-open .mobile-menu__backdrop { opacity: 1; }
.mobile-menu.is-open .mobile-menu__panel { transform: none; }
.mobile-menu__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.mobile-menu__top img { height: 38px; width: auto; }
.mobile-menu__close {
  display: grid; place-items: center;
  width: 46px; height: 46px; margin-right: -10px;
  background: none; border: 0; color: #fff; cursor: pointer;
}
.mobile-menu__close .icon { width: 22px; height: 22px; }
.mnav { margin: 0 0 24px; padding: 0; list-style: none; }
.mnav > li { border-bottom: 1px solid rgba(255, 255, 255, .1); }
.mnav__link {
  display: block;
  padding: 15px 0;
  font-family: var(--font-display); font-weight: 500; font-size: 1.25rem;
  color: #fff; text-decoration: none;
}
.mnav__link[aria-current="page"] { color: var(--sky); }
.mnav__sub { margin: -4px 0 14px; padding: 0 0 0 16px; list-style: none; border-left: 2px solid var(--navy-3); }
.mnav__sub a {
  display: block; padding: 7px 0;
  font-family: var(--font-display); font-weight: 500; font-size: .9375rem;
  color: var(--steel-light); text-decoration: none;
}
.mnav__sub a:hover, .mnav__sub a[aria-current="page"] { color: #fff; }
.mobile-menu__cta { margin-bottom: 26px; }
.mobile-menu__contacts { margin: 0 0 24px; padding: 0; list-style: none; display: grid; gap: 12px; font-size: .9375rem; }
.mobile-menu__contacts li { display: flex; gap: 12px; align-items: center; }
.mobile-menu__contacts .icon { color: var(--sky); width: 15px; height: 15px; }
.mobile-menu__contacts a { color: #fff; text-decoration: none; }
.mobile-menu .lang-switch { margin-top: auto; gap: 6px; }
.mobile-menu .lang-switch a { font-size: .875rem; padding: 10px 12px; border: 1px solid var(--navy-3); }
.mobile-menu .lang-switch a[aria-current="true"] { border-color: var(--sky); box-shadow: none; }
body.menu-open { overflow: hidden; }

/* ---------------------------------------------------------------- hero slider */
.hero {
  position: relative;
  height: clamp(580px, 84vh, 840px);
  overflow: hidden;
  background: var(--navy);
  color: #fff;
  isolation: isolate;
}
.hero__slides { position: absolute; inset: 0; }
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.1s var(--ease), visibility 0s linear 1.1s;
}
.slide.is-active { opacity: 1; visibility: visible; z-index: 1; transition: opacity 1.1s var(--ease), visibility 0s; }
.slide__media, .slide__media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.slide__media img {
  object-fit: cover;
  object-position: var(--pos, 50% 50%);
  transform: scale(1.07);
  transition: transform 9s linear;
}
.slide.is-active .slide__media img { transform: scale(1); }
.slide__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(11, 34, 48, .93) 0%, rgba(11, 34, 48, .8) 32%, rgba(11, 34, 48, .3) 66%, rgba(11, 34, 48, .12) 100%),
    linear-gradient(0deg, rgba(11, 34, 48, .9) 0%, rgba(11, 34, 48, 0) 30%);
}
.slide__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  padding-top: 24px;
  padding-bottom: 128px;
}
.slide__content > * { max-width: 780px; }
.slide__content > * { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.slide.is-active .slide__content > * { opacity: 1; transform: none; }
.slide.is-active .slide__content > :nth-child(2) { transition-delay: .12s; }
.slide.is-active .slide__content > :nth-child(3) { transition-delay: .22s; }
.slide.is-active .slide__content > :nth-child(4) { transition-delay: .32s; }
.slide__title { color: #fff; font-size: var(--fs-hero); line-height: 1.06; letter-spacing: -.025em; max-width: 17ch; margin-bottom: 20px; }
.slide__title--xl { font-size: var(--fs-hero-xl); max-width: 12ch; }
.slide__text { font-size: var(--fs-lead); line-height: 1.55; color: #D6E3EA; max-width: 600px; margin-bottom: 34px; }
.slide__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__bar {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 3;
}
.hero__bar-inner { display: flex; align-items: stretch; gap: 28px; }
.hero__tabs {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(var(--count, 5), minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, .22);
}
.hero__tab {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  padding: 18px 18px 26px 0;
  background: none;
  border: 0;
  color: rgba(255, 255, 255, .58);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: .875rem;
  line-height: 1.3;
  text-align: left;
  cursor: pointer;
  transition: color .25s var(--ease);
}
.hero__tab:hover { color: #fff; }
.hero__tab[aria-selected="true"] { color: #fff; }
.hero__tab-num { font-size: .75rem; letter-spacing: .14em; color: var(--sky); }
.hero__tab-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hero__progress {
  position: absolute;
  left: 0; right: 18px; top: -1px;
  height: 3px;
  overflow: hidden;
}
.hero__progress::after {
  content: "";
  position: absolute; inset: 0;
  background: var(--sky);
  transform: scaleX(0);
  transform-origin: left;
}
.hero__tab[aria-selected="true"] .hero__progress::after { transform: scaleX(1); }
.hero.is-running .hero__tab[aria-selected="true"] .hero__progress::after {
  animation: hero-progress var(--interval, 7000ms) linear forwards;
}
.hero.is-paused .hero__tab[aria-selected="true"] .hero__progress::after,
.hero.is-held .hero__tab[aria-selected="true"] .hero__progress::after { animation-play-state: paused; }
@keyframes hero-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.hero__controls { display: flex; align-items: center; gap: 6px; padding-bottom: 8px; }
.hero__btn {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  padding: 0;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 2px;
  color: #fff;
  cursor: pointer;
  transition: background-color .2s var(--ease), border-color .2s var(--ease);
}
.hero__btn:hover { background: #fff; border-color: #fff; color: var(--navy); }
.hero__btn .icon { width: 14px; height: 14px; }
.hero__btn [data-when="playing"] { display: block; }
.hero__btn [data-when="paused"] { display: none; }
.hero.is-paused .hero__btn [data-when="playing"], .hero:not(.is-running) .hero__btn [data-when="playing"] { display: none; }
.hero.is-paused .hero__btn [data-when="paused"], .hero:not(.is-running) .hero__btn [data-when="paused"] { display: block; }

/* ---------------------------------------------------------------- sections */
.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(48px, 5vw, 72px); }
.section--mist { background: var(--mist); }
.section--navy { background: var(--navy); color: var(--steel-light); }
.section--navy h2, .section--navy h3 { color: #fff; }
.section + .section--plain-follow { padding-top: 0; }

.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; margin-bottom: clamp(36px, 4vw, 56px); }
.section-head__text { max-width: 820px; }
.section-head h2 { margin-bottom: 14px; }
.section-head .lead { margin: 0; }

/* intro (home / about) */
.split { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.split--top { align-items: start; }
.split--media { grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); }
.split--list { grid-template-columns: minmax(0, .62fr) minmax(0, 1.38fr); }
.prose > p { color: var(--text); max-width: 72ch; }
.prose .lead { color: var(--steel); }
.prose .link-arrow { margin-top: 10px; }

.photo-plate { position: relative; margin: 0; }
.photo-plate__img { aspect-ratio: 4 / 3.3; overflow: hidden; background: var(--mist); }
.photo-plate__img img { width: 100%; height: 100%; object-fit: cover; }
.photo-plate__img--tall { aspect-ratio: 4 / 4.6; }
.plate {
  position: absolute;
  left: clamp(-36px, -3vw, -16px);
  bottom: clamp(-36px, -3vw, -16px);
  display: grid;
  gap: 14px;
  min-width: 260px;
  max-width: calc(100% - 24px);
  padding: 24px 26px;
  background: var(--navy);
  color: var(--steel-light);
  box-shadow: 0 24px 50px -24px rgba(11, 34, 48, .6);
}
.plate .squares { --sq-c: var(--sky); --sq: 6px; --sq-w: 90px; margin-bottom: 2px; }
.plate__row { display: grid; gap: 2px; }
.plate__label { font-family: var(--font-display); font-weight: 500; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--sky); }
.plate__value { font-family: var(--font-display); font-weight: 500; font-size: 1rem; color: #fff; line-height: 1.35; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; }
.stat { padding: 8px 28px 8px 28px; border-left: 1px solid rgba(255, 255, 255, .14); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat__num {
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 1.6rem + 2.4vw, 3.6rem);
  line-height: 1;
  letter-spacing: -.03em;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.stat__num small { font-size: .5em; letter-spacing: 0; color: var(--sky); margin-left: .12em; }
.stat__label { display: block; font-size: .975rem; line-height: 1.45; color: var(--steel-light); max-width: 24ch; }

/* service cards */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
  transition: border-color .25s var(--ease), box-shadow .35s var(--ease), transform .35s var(--ease);
}
.card:hover { color: inherit; border-color: var(--blue); box-shadow: 0 26px 50px -30px rgba(11, 34, 48, .55); transform: translateY(-3px); }
.card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--mist); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.card:hover .card__media img { transform: scale(1.045); }
.card__body { position: relative; display: flex; flex-direction: column; flex: 1; gap: 10px; padding: 0 28px 28px; }
.card__icon {
  display: grid; place-items: center;
  width: 56px; height: 56px;
  margin-top: -28px; margin-bottom: 8px;
  background: var(--blue-strong); color: #fff;
}
.card__icon .icon { width: 24px; height: 24px; }
.card h3 { margin: 0; }
.card p { margin: 0; color: var(--steel); font-size: 1rem; line-height: 1.6; }
.card__more { margin-top: auto; padding-top: 14px; }

/* process */
.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 23px; height: 1px; background: var(--line); }
.step { position: relative; }
.step__num {
  position: relative;
  display: grid; place-items: center;
  width: 46px; height: 46px;
  margin-bottom: 22px;
  background: #fff;
  border: 1px solid var(--blue);
  font-family: var(--font-display); font-weight: 700; font-size: .9375rem;
  color: var(--blue-strong);
  font-variant-numeric: tabular-nums;
}
.step:first-child .step__num { background: var(--blue-strong); border-color: var(--blue-strong); color: #fff; }
.step h3 { font-size: 1.125rem; margin-bottom: 8px; }
.step p { margin: 0; font-size: .975rem; color: var(--steel); line-height: 1.6; }

/* features (icon + title + text) */
.features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 40px; }
.feature-item { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 18px; align-items: start; }
.feature-item__icon { display: grid; place-items: center; width: 48px; height: 48px; background: var(--blue-tint); color: var(--blue-strong); }
.feature-item__icon .icon { width: 20px; height: 20px; }
.feature-item h3 { font-size: 1.0625rem; margin: 2px 0 6px; }
.feature-item p { margin: 0; font-size: .975rem; color: var(--steel); line-height: 1.6; }
.on-dark .feature-item__icon { background: var(--navy-2); color: var(--sky); }
.on-dark .feature-item p { color: var(--steel-light); }

/* mosaic gallery teaser */
.mosaic { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(150px, 15vw, 220px); gap: 12px; }
.mosaic__item { position: relative; overflow: hidden; display: block; background: var(--navy-2); }
.mosaic__item:first-child { grid-column: span 2; grid-row: span 2; }
.mosaic__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease), opacity .3s; }
.mosaic__item:hover img { transform: scale(1.05); }
.mosaic__cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 36px 16px 12px;
  background: linear-gradient(0deg, rgba(11, 34, 48, .85), rgba(11, 34, 48, 0));
  color: #fff; font-family: var(--font-display); font-weight: 500; font-size: .8125rem; line-height: 1.35;
}

/* CTA band */
.cta-band { position: relative; overflow: hidden; background: var(--blue-strong); color: #E6F3F9; }
.cta-band .squares { --sq-c: #fff; --sq-w: 150px; margin-bottom: 22px; opacity: .75; }
.cta-band__inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 28px 56px; flex-wrap: wrap; padding-block: clamp(52px, 6vw, 84px); }
.cta-band h2 { color: #fff; margin-bottom: 10px; max-width: 26ch; }
.cta-band p { margin: 0; max-width: 60ch; }
.cta-band__actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.cta-band__call { display: grid; gap: 2px; color: #E6F3F9; font-size: .875rem; }
.cta-band__call a { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; color: #fff; text-decoration: none; white-space: nowrap; }
.cta-band__call a:hover { text-decoration: underline; color: #fff; }

/* ---------------------------------------------------------------- page hero */
.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--navy);
  color: #fff;
}
.page-hero__media, .page-hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.page-hero__media img { object-fit: cover; object-position: var(--pos, 50% 50%); }
.page-hero::before {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, rgba(11, 34, 48, .94) 0%, rgba(11, 34, 48, .82) 42%, rgba(11, 34, 48, .45) 100%);
}
.page-hero__inner { position: relative; z-index: 2; padding-top: clamp(64px, 8vw, 116px); padding-bottom: clamp(56px, 6.5vw, 92px); }
.page-hero h1 { color: #fff; max-width: 20ch; margin-bottom: 16px; }
.page-hero__lead { max-width: 640px; margin: 0; font-size: var(--fs-lead); line-height: 1.55; color: #D2E1E9; }
.page-hero .squares { --sq-c: var(--sky); --sq-w: 160px; margin-top: 34px; }
.page-hero--plain { background: var(--navy); }
.page-hero--plain::before { background: none; }

.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0 0 22px; padding: 0; list-style: none; font-family: var(--font-display); font-weight: 500; font-size: .8125rem; color: var(--steel-light); }
.breadcrumb li { display: flex; align-items: center; gap: 10px; }
.breadcrumb li + li::before { content: ""; width: 5px; height: 5px; background: var(--sky); }
.breadcrumb a { color: var(--steel-light); text-decoration: none; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb [aria-current] { color: #fff; }

/* ---------------------------------------------------------------- service page */
.svc-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(36px, 5vw, 80px); align-items: start; }
.svc-layout .prose > p { max-width: 68ch; }
.aside { position: sticky; top: 104px; display: grid; gap: 22px; }
.contact-card { padding: 30px 28px; background: var(--navy); color: var(--steel-light); }
.contact-card h2, .contact-card h3 { color: #fff; font-size: 1.3rem; margin-bottom: 8px; }
.contact-card p { font-size: .975rem; }
.contact-card__lines { display: grid; gap: 10px; margin: 18px 0 24px; padding: 0; list-style: none; }
.contact-card__lines li { display: flex; align-items: center; gap: 12px; font-size: .975rem; }
.contact-card__lines .icon { width: 15px; height: 15px; color: var(--sky); }
.contact-card__lines a { color: #fff; text-decoration: none; }
.contact-card__lines a:hover { color: var(--sky); }
.contact-card .squares { --sq-c: var(--sky); --sq: 6px; --sq-w: 84px; margin-bottom: 18px; }
.svc-nav { border: 1px solid var(--line); padding: 22px 24px; }
.svc-nav h2 { font-size: 1rem; margin-bottom: 10px; }
.svc-nav ul { margin: 0; padding: 0; list-style: none; }
.svc-nav li + li { border-top: 1px solid var(--line); }
.svc-nav a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 11px 0;
  font-family: var(--font-display); font-weight: 500; font-size: .9375rem;
  color: var(--ink); text-decoration: none;
}
.svc-nav a .icon { width: 12px; height: 12px; color: var(--blue); transition: transform .25s var(--ease); }
.svc-nav a:hover { color: var(--blue-strong); }
.svc-nav a:hover .icon { transform: translateX(3px); }
.svc-nav a[aria-current="page"] { color: var(--blue-strong); }

.checklist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 44px; margin: 0; padding: 0; list-style: none; }
.checklist--one { grid-template-columns: minmax(0, 1fr); }
.checklist li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 14px; align-items: start; line-height: 1.5; color: var(--ink); }
.checklist .tick { display: grid; place-items: center; width: 26px; height: 26px; margin-top: -1px; background: var(--blue-strong); color: #fff; }
.checklist .tick .icon { width: 12px; height: 12px; }
.on-dark .checklist li { color: #E3EDF2; }
.on-dark .checklist .tick { background: var(--navy-3); color: var(--sky); }

.rows { display: grid; gap: clamp(56px, 7vw, 104px); }
.row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 92px); align-items: center; }
.row:nth-child(even) .row__media { order: 2; }
.row__media { position: relative; margin: 0; }
.row__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.row__media .squares { position: absolute; left: 0; bottom: -18px; --sq-w: 150px; }
.row:nth-child(even) .row__media .squares { left: auto; right: 0; transform: scaleX(-1); }
.row__text h3 { font-size: clamp(1.35rem, 1.15rem + .7vw, 1.75rem); margin-bottom: 14px; }
.row__text p { color: var(--text); }
.row__text .row__bullets { margin: 18px 0 22px; }

.types { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.type { padding: 30px 30px 32px; background: #fff; border: 1px solid var(--line); }
.type__head { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.type__icon { display: grid; place-items: center; width: 48px; height: 48px; background: var(--blue-strong); color: #fff; flex: none; }
.type__icon .icon { width: 20px; height: 20px; }
.type h3 { margin: 0; font-size: 1.2rem; }
.type p { margin: 0; color: var(--steel); font-size: 1rem; }

.areas { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.area { display: grid; gap: 16px; align-content: start; padding: 26px 22px; background: #fff; border-top: 3px solid var(--blue); font-family: var(--font-display); font-weight: 500; font-size: 1rem; line-height: 1.35; color: var(--ink); }
.area .icon { width: 26px; height: 26px; color: var(--blue-strong); }

.strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.strip figure { margin: 0; position: relative; overflow: hidden; }
.strip img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.strip figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 32px 14px 10px; background: linear-gradient(0deg, rgba(11, 34, 48, .82), rgba(11, 34, 48, 0)); color: #fff; font-size: .8125rem; line-height: 1.35; }

/* overview rows on the services page */
.svc-row__index { display: block; margin-bottom: 10px; color: var(--blue-strong); }
.svc-row__index .icon { width: 30px; height: 30px; }

/* quote band */
.quote { margin: 0; padding: 0; max-width: 980px; }
.quote p {
  margin: 0 0 22px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.35rem, 1.05rem + 1.25vw, 2.1rem);
  line-height: 1.35;
  letter-spacing: -.01em;
  color: #fff;
  text-wrap: balance;
}
.quote footer { display: flex; align-items: center; gap: 14px; font-family: var(--font-display); font-weight: 500; font-size: .875rem; letter-spacing: .12em; text-transform: uppercase; color: var(--sky); }
.quote footer::before { content: ""; width: 44px; height: 2px; background: var(--sky); }

/* values */
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.value { padding: 30px 28px 32px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.value--mission { background: var(--navy); color: var(--steel-light); }
.value--mission h3 { color: #fff; }
.value__icon { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 18px; background: var(--blue-tint); color: var(--blue-strong); }
.value--mission .value__icon { background: var(--navy-3); color: var(--sky); }
.value__icon .icon { width: 20px; height: 20px; }
.value h3 { font-size: 1.2rem; margin-bottom: 8px; }
.value p { margin: 0; font-size: 1rem; color: var(--steel); }
.value--mission p { color: var(--steel-light); }

/* offices */
.offices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.office { padding: 30px 30px 32px; background: #fff; border: 1px solid var(--line); display: grid; gap: 14px; align-content: start; }
.office__tag { font-family: var(--font-display); font-weight: 500; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-strong); }
.office h3 { margin: 0; font-size: 1.3rem; }
.office address { font-style: normal; color: var(--text); line-height: 1.55; }
.office__lines { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; font-size: .975rem; }
.office__lines li { display: grid; grid-template-columns: 16px minmax(0, 1fr); gap: 12px; align-items: start; }
.office__lines .icon { width: 15px; height: 15px; margin-top: 4px; color: var(--blue-strong); }
.office__lines a { color: var(--ink); text-decoration: none; font-weight: 700; }
.office__lines a:hover { color: var(--blue-strong); text-decoration: underline; }
.note { display: block; font-size: .8125rem; line-height: 1.4; color: var(--steel); font-weight: 400; }

/* ---------------------------------------------------------------- contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact-info { display: grid; gap: 20px; align-content: start; }
.contact-info .eyebrow { margin-bottom: 0; }
.dept { display: grid; gap: 20px; padding: 28px 28px 30px; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--blue); }
.dept__head { display: flex; align-items: center; gap: 16px; }
.dept__icon { display: grid; place-items: center; flex: none; width: 48px; height: 48px; background: var(--blue-tint); color: var(--blue-strong); }
.dept__icon .icon { width: 20px; height: 20px; }
.dept__title { margin: 0; font-size: 1.15rem; line-height: 1.3; }
.dept__lines { display: grid; gap: 16px; margin: 0; padding: 0 0 0 64px; list-style: none; }
.dept__lines li { display: grid; gap: 3px; }
.dept__phone { font-family: var(--font-display); font-weight: 500; font-size: 1.25rem; line-height: 1.3; color: var(--ink); text-decoration: none; font-variant-numeric: tabular-nums; }
.dept__phone:hover { color: var(--blue-strong); text-decoration: underline; }
@media (min-width: 1081px) { .contact-info { position: sticky; top: 104px; } }
.contact-info .office { padding: 26px 26px 28px; }
.person { display: grid; gap: 4px; }
.person strong { font-family: var(--font-display); font-weight: 500; font-size: 1.125rem; }
.hours { display: flex; gap: 12px; align-items: center; color: var(--ink); }
.hours .icon { width: 16px; height: 16px; color: var(--blue-strong); }

.form-card { padding: clamp(26px, 4vw, 44px); background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--blue); }
.form-card h2 { font-size: clamp(1.4rem, 1.2rem + .8vw, 1.85rem); margin-bottom: 8px; }
.form-card > p { color: var(--steel); }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 18px; margin-top: 26px; }
.field { display: grid; gap: 8px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label, .field .label { font-family: var(--font-display); font-weight: 500; font-size: .875rem; color: var(--ink); }
.field .req { color: var(--blue-strong); }
.input {
  width: 100%;
  min-height: 52px;
  padding: 13px 15px;
  background: #fff;
  border: 1px solid #C3D2DA;
  border-radius: 2px;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.4;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.input:hover { border-color: #9DB3BF; }
.input:focus { outline: none; border-color: var(--blue-strong); box-shadow: 0 0 0 3px rgba(47, 148, 188, .25); }
textarea.input { min-height: 150px; resize: vertical; }
select.input {
  appearance: none;
  padding-right: 44px;
  background-image: linear-gradient(45deg, transparent 50%, var(--steel) 50%), linear-gradient(135deg, var(--steel) 50%, transparent 50%);
  background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}
.field.is-invalid .input { border-color: #B3261E; box-shadow: 0 0 0 3px rgba(179, 38, 30, .12); }
.field__error { display: none; font-size: .8125rem; color: #B3261E; }
.field.is-invalid .field__error { display: block; }
.consent { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: start; font-size: .9375rem; line-height: 1.5; color: var(--text); }
.consent input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--blue-strong); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form__foot { grid-column: 1 / -1; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.form__status { display: none; grid-column: 1 / -1; padding: 14px 16px; font-size: .9375rem; line-height: 1.5; border-left: 3px solid var(--blue-strong); background: var(--blue-tint); color: var(--ink); }
.form__status.is-visible, .form__status:target { display: block; }
.form__status--error { border-left-color: #B3261E; background: #FBEDEC; }
.btn[disabled] { opacity: .6; cursor: progress; }

.maps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.map-card { display: grid; background: #fff; border: 1px solid var(--line); }
.map-card__frame {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 320px;
  padding: 28px;
  background-color: var(--navy);
  background-image:
    linear-gradient(rgba(124, 203, 234, .09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 203, 234, .09) 1px, transparent 1px),
    linear-gradient(rgba(124, 203, 234, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 203, 234, .05) 1px, transparent 1px);
  background-size: 112px 112px, 112px 112px, 28px 28px, 28px 28px;
  color: var(--steel-light);
  text-align: center;
}
.map-card__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-card__pin { display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 14px; background: var(--blue-strong); color: #fff; }
.map-card__pin .icon { width: 22px; height: 22px; }
.map-card__place { font-family: var(--font-display); font-weight: 500; color: #fff; font-size: 1.05rem; margin: 0 0 4px; }
.map-card__note { font-size: .8125rem; max-width: 36ch; margin: 14px auto 0; color: var(--steel-light); }
.map-card__actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 18px; }
.map-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 18px 22px; }
.map-card__foot h3 { margin: 0; font-size: 1.05rem; }

/* ---------------------------------------------------------------- gallery */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.filter {
  padding: 10px 18px;
  min-height: 44px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 2px;
  font-family: var(--font-display); font-weight: 500; font-size: .875rem;
  color: var(--ink);
  cursor: pointer;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.filter:hover { border-color: var(--blue); color: var(--blue-strong); }
.filter[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.filter__count { margin-left: 6px; color: var(--steel); font-variant-numeric: tabular-nums; }
.filter[aria-pressed="true"] .filter__count { color: var(--sky); }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.gallery__item { margin: 0; }
.gallery__btn { position: relative; display: block; width: 100%; padding: 0; border: 0; background: var(--navy-2); cursor: zoom-in; overflow: hidden; text-align: left; }
.gallery__btn img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .6s var(--ease); }
.gallery__btn:hover img { transform: scale(1.05); }
.gallery__cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: grid; gap: 2px;
  padding: 40px 16px 14px;
  background: linear-gradient(0deg, rgba(11, 34, 48, .9), rgba(11, 34, 48, 0));
  color: #fff; font-size: .875rem; line-height: 1.4;
}
.gallery__cat { font-family: var(--font-display); font-weight: 500; font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase; color: var(--sky); }

.lightbox {
  width: 100%; max-width: none; height: 100%; max-height: none;
  margin: 0; padding: 0;
  border: 0;
  background: rgba(7, 22, 31, .96);
  color: #fff;
}
.lightbox::backdrop { background: rgba(7, 22, 31, .9); }
.lightbox__inner { position: relative; display: grid; grid-template-rows: 1fr auto; height: 100%; padding: calc(64px + env(safe-area-inset-top, 0px)) clamp(16px, 6vw, 96px) calc(20px + env(safe-area-inset-bottom, 0px)); }
.lightbox__fig { display: grid; place-items: center; min-height: 0; margin: 0; }
.lightbox__fig img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.lightbox__bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 16px; font-size: .9375rem; color: var(--steel-light); }
.lightbox__count { font-family: var(--font-display); font-weight: 500; color: var(--sky); font-variant-numeric: tabular-nums; }
.lightbox__btn {
  position: absolute;
  display: grid; place-items: center;
  width: 48px; height: 48px;
  padding: 0;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .25);
  color: #fff; cursor: pointer;
}
.lightbox__btn:hover { background: #fff; color: var(--navy); }
.lightbox__btn .icon { width: 16px; height: 16px; }
.lightbox__close { top: calc(12px + env(safe-area-inset-top, 0px)); right: 16px; }
.lightbox__prev, .lightbox__next { top: 50%; transform: translateY(-50%); }
.lightbox__prev { left: 12px; }
.lightbox__next { right: 12px; }

/* ---------------------------------------------------------------- legal text */
.legal { max-width: 780px; }
.legal h2 { font-size: 1.375rem; margin: 40px 0 12px; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { color: var(--text); }
.legal .updated { margin-top: 40px; color: var(--steel); font-size: .9375rem; }

/* ---------------------------------------------------------------- footer */
.site-footer { background: var(--navy); color: var(--steel-light); font-size: .975rem; }
.site-footer a { color: var(--steel-light); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer__top { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .9fr) minmax(0, .8fr) minmax(0, 1.25fr); gap: 40px; padding-block: clamp(56px, 7vw, 92px) clamp(40px, 5vw, 64px); }
.footer__brand img { width: 200px; height: auto; margin-bottom: 18px; }
.footer__motto { font-family: var(--font-display); font-weight: 500; font-size: .8125rem; letter-spacing: .14em; text-transform: uppercase; color: var(--sky); margin-bottom: 14px; }
.footer__brand p { max-width: 36ch; }
.footer__social { display: flex; align-items: center; gap: 10px; margin-top: 10px; font-family: var(--font-display); font-weight: 500; font-size: .875rem; color: #fff; }
.footer__social span { margin-right: 4px; }
.footer__social .badge { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--navy-3); color: #fff; transition: background-color .2s var(--ease), border-color .2s var(--ease); }
.footer__social .badge:hover { background: var(--blue-strong); border-color: var(--blue-strong); color: #fff; }
.footer__social .icon { width: 16px; height: 16px; }
.footer__h { margin: 4px 0 18px; font-family: var(--font-display); font-weight: 500; font-size: .8125rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; }
.footer__list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.footer__office { display: grid; gap: 4px; margin-bottom: 18px; line-height: 1.5; }
.footer__office strong { color: #fff; font-family: var(--font-display); font-weight: 500; font-size: .9375rem; }
.footer__office address { font-style: normal; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .1); }
.footer__bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: 14px 28px; flex-wrap: wrap; padding-block: 22px calc(22px + env(safe-area-inset-bottom, 0px)); font-size: .875rem; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0; padding: 0; list-style: none; }
.footer__bottom .lang-switch a { padding: 6px 7px; }

/* ---------------------------------------------------------------- language toast */
.lang-toast {
  position: fixed;
  left: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  z-index: 80;
  display: grid;
  gap: 14px;
  width: min(380px, calc(100% - 32px));
  padding: 20px 22px;
  background: var(--navy);
  color: #E3EDF2;
  border-top: 3px solid var(--sky);
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .55);
  font-size: .975rem;
}
.lang-toast p { margin: 0; }
.lang-toast__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.lang-toast .btn { min-height: 42px; padding: 9px 16px; font-size: .875rem; }

/* ---------------------------------------------------------------- 404 */
.notfound { min-height: 60vh; display: grid; align-items: center; }
.notfound__code { font-family: var(--font-display); font-weight: 700; font-size: clamp(4rem, 3rem + 6vw, 8rem); line-height: 1; color: var(--blue); letter-spacing: -.04em; }
.notfound__langs { display: grid; gap: 26px; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 32px; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1180px) {
  .nav__link { padding: 12px 10px; }
  .nav__link::after { left: 10px; right: 10px; }
  .mainbar { gap: 18px; }
}
@media (max-width: 1080px) {
  .nav, .mainbar__cta { display: none; }
  .menu-toggle { display: grid; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 40px; }
  .steps::before { display: none; }
  .footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-layout { grid-template-columns: minmax(0, 1fr); }
  .aside { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .areas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 900px) {
  .split { grid-template-columns: minmax(0, 1fr); }
  .photo-plate { margin-bottom: 24px; }
  .photo-plate__img--tall { aspect-ratio: 4 / 3; }
  .plate { left: 16px; bottom: -24px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 34px; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .features { grid-template-columns: minmax(0, 1fr); }
  .row, .row:nth-child(even) { grid-template-columns: minmax(0, 1fr); }
  .row:nth-child(even) .row__media { order: 0; }
  .types, .offices, .maps { grid-template-columns: minmax(0, 1fr); }
  .mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: clamp(140px, 30vw, 220px); }
  .mosaic__item:first-child { grid-row: span 1; }
  .hero__tab-label { display: none; }
  .hero__tab { padding: 16px 10px 20px 0; }
}
@media (max-width: 720px) {
  :root { --header-h: 70px; }
  .topbar__list .hide-sm { display: none; }
  .topbar__social { display: none; }
  .brand img { height: 40px; }
  .is-scrolled .brand img { height: 38px; }
  .is-scrolled .mainbar { height: 64px; }
  .hero { height: auto; min-height: min(92svh, 720px); }
  .hero__slides { position: relative; inset: auto; display: grid; min-height: inherit; }
  .slide { grid-area: 1 / 1; position: relative; inset: auto; }
  .slide__media { position: absolute; }
  .slide__content { min-height: min(92svh, 720px); padding-top: 56px; padding-bottom: 136px; justify-content: flex-end; }
  .slide__shade { background: linear-gradient(0deg, rgba(11, 34, 48, .95) 0%, rgba(11, 34, 48, .82) 45%, rgba(11, 34, 48, .35) 100%); }
  .slide__title, .slide__title--xl { max-width: none; }
  .slide__actions .btn { flex: 1 1 auto; }
  .hero__bar-inner { flex-direction: column-reverse; gap: 0; }
  .hero__controls { padding: 0 0 4px; }
  .cards { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
  .step { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 0 18px; padding-bottom: 26px; }
  .step::before { content: ""; position: absolute; left: 23px; top: 46px; bottom: 0; width: 1px; background: var(--line); }
  .step:last-child::before { display: none; }
  .step__num { grid-row: span 2; margin: 0; }
  .step h3 { margin-top: 10px; }
  .checklist { grid-template-columns: minmax(0, 1fr); }
  .aside { grid-template-columns: minmax(0, 1fr); }
  .areas, .values { grid-template-columns: minmax(0, 1fr); }
  .strip { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .strip figure:first-child { grid-column: 1 / -1; }
  .form { grid-template-columns: minmax(0, 1fr); }
  .dept__lines { padding-left: 0; }
  .footer__top { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .cta-band__actions { width: 100%; }
  .cta-band__actions .btn { flex: 1 1 auto; }
  .notfound__langs { grid-template-columns: minmax(0, 1fr); }
  .lightbox__prev, .lightbox__next { top: auto; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); transform: none; }
  .lightbox__inner { padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
  .lightbox__bar { justify-content: center; text-align: center; flex-direction: column; gap: 4px; }
}
@media (max-width: 420px) {
  .stat { padding-inline: 16px 0; }
  .stat:nth-child(odd) { padding-left: 0; }
  .stat__num { font-size: 2.3rem; }
  .stat__label { font-size: .9rem; }
  .plate { position: relative; left: auto; bottom: auto; margin-top: -40px; margin-left: 16px; min-width: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .slide__media img, .slide.is-active .slide__media img { transform: none; }
  .slide__content > * { transform: none; }
}

/* ---------------------------------------------------------------- top bar: countries
   full list on wide screens, short label (with the list as a tooltip) below 1100px */
.topbar__where--short { display: none; }
@media (max-width: 1099px) {
  .topbar__where--full { display: none; }
  .topbar__where--short { display: inline; }
}
