/* 9EHS — shared stylesheet */

:root {
  --red: #E51B1F;
  --red-dark: #B8161A;
  --blue: #344F9E;
  --navy: #030F27;
  --navy-2: #0A1F4A;
  --ink: #1F2937;
  --muted: #5B6475;
  --bg-alt: #F4F6FA;
  --white: #FFFFFF;
  --border: #DDE2EC;

  --font-head: "Barlow Semi Condensed", "Arial Narrow", Arial, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --container: 1200px;
  --gutter: 24px;
  --section-pad: 56px;
  --radius: 10px;
  --shadow: 0 12px 32px rgba(3, 15, 39, 0.12);
  --header-h: 88px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* Keep in-page jump targets clear of the sticky header */
  scroll-padding-top: calc(var(--header-h) + 16px);
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blue); }
a:hover { color: var(--red); }
p { margin: 0 0 16px; }
p:last-child { margin-bottom: 0; }
ul { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }

h1, h2, h3, h4 {
  margin: 0 0 16px;
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.12;
  color: var(--navy);
}
h1 { font-size: clamp(2.375rem, 5.2vw, 4rem); }
h2 { font-size: clamp(1.75rem, 3vw, 2.375rem); }
h3 { font-size: clamp(1.375rem, 2.2vw, 1.625rem); }

:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }

.icon {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.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;
}
.skip-link {
  position: absolute; left: 16px; top: -48px; z-index: 100;
  padding: 10px 16px; background: var(--white); color: var(--navy);
  border-radius: 6px; font-weight: 600;
}
.skip-link:focus { top: 12px; }

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

.section { padding-block: var(--section-pad); }
.bg-alt { background: var(--bg-alt); }

/* Section heading with short red bar */
.section-title { margin-bottom: 20px; }
.section-title::after {
  content: "";
  display: block;
  width: 48px;
  height: 4px;
  margin-top: 12px;
  background: var(--red);
  border-radius: 2px;
}
.section-title.is-centered { text-align: center; }
.section-title.is-centered::after { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 10px 22px;
  border: 2px solid transparent;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 0.975rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn .icon { width: 18px; height: 18px; }
.btn-primary { background: var(--red); color: var(--white); }
.btn-primary:hover { background: var(--red-dark); color: var(--white); }
.btn-outline-light { border-color: rgba(255, 255, 255, 0.85); color: var(--white); }
.btn-outline-light:hover { background: var(--white); border-color: var(--white); color: var(--navy); }
.btn-outline { border-color: var(--blue); color: var(--blue); background: var(--white); }
.btn-outline:hover { background: var(--blue); color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Checklist (red circular checks) ---------- */
.checklist { display: grid; gap: 10px; }
.checklist li {
  position: relative;
  padding-left: 32px;
  line-height: 1.45;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.05em;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.checklist.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }

/* ---------- Header ---------- */
/* Sticky on every screen size */
.site-header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 2px 12px rgba(3, 15, 39, 0.25);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-h);
}
/* Fixed-height logo row, so it doesn't shift when the mobile menu opens */
.header-logo { display: flex; align-items: center; min-height: var(--header-h); }
.header-logo img { width: auto; height: 64px; }
.site-nav { display: flex; align-items: center; gap: 40px; }
.nav-list { display: flex; gap: 32px; }
.nav-list a {
  position: relative;
  display: block;
  padding: 8px 0;
  color: var(--white);
  font-weight: 500;
  font-size: 1rem;
  text-decoration: none;
}
.nav-list a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 2px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transition: transform .2s;
}
.nav-list a:hover::after,
.nav-list a[aria-current="page"]::after { transform: scaleX(1); }
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 6px;
  background: transparent;
  color: var(--white);
  cursor: pointer;
}
.nav-toggle .icon { width: 24px; height: 24px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--white);
  background: var(--navy);
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(3, 15, 39, 0.78) 0%, rgba(3, 15, 39, 0.70) 45%, rgba(3, 15, 39, 0.90) 100%);
}
.hero h1 { color: var(--white); margin-bottom: 16px; }
.hero-content { text-align: center; }
.hero-content .btn-row { justify-content: center; }
.hero-sub {
  max-width: 720px;
  margin: 0 auto 28px;
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.9);
}

/* Home hero: room at the bottom for the overlapping service cards */
.hero-home {
  display: flex;
  align-items: center;
  min-height: 560px;
  padding: 64px 0 168px;
}
.hero-home .hero-bg { object-position: center 100%; }

/* Inner-page hero: photo, overlay, centered H1 + one-line subline */
.hero-page {
  display: flex;
  align-items: center;
  min-height: 300px;
  padding-block: 56px;
}
.hero-page .hero-sub { margin-bottom: 0; }

/* Breadcrumb (inner-page hero, above the H1) */
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 8px;
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.75);
}
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: rgba(255, 255, 255, 0.5); }
.breadcrumb a { display: inline-block; padding-block: 4px; color: inherit; text-decoration: none; }
.breadcrumb a:hover { color: var(--white); text-decoration: underline; }
.breadcrumb a[aria-current="page"] { color: var(--white); }

/* ---------- Service cards (overlap the home hero) ---------- */
.services {
  position: relative;
  z-index: 1;
  margin-top: -120px;
  padding-bottom: 40px;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}
.service-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 4px solid var(--blue);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.service-card-img {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
}
.service-card-body {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 40px 28px 28px;
}
.service-card-icon {
  position: absolute;
  top: -28px;
  left: 28px;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 4px solid var(--white);
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
}
.service-card-icon .icon { width: 24px; height: 24px; }
.service-card h2 { margin-bottom: 6px; font-size: clamp(1.625rem, 2.6vw, 2rem); }
.service-card-sub {
  margin-bottom: 18px;
  color: var(--blue);
  font-weight: 600;
  font-size: 0.975rem;
}
.service-card .checklist { margin-bottom: 24px; }
.service-card .btn { align-self: flex-start; margin-top: auto; }

/* ---------- Credentials strip ---------- */
.credentials {
  background: var(--navy);
  color: var(--white);
}
.credentials-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px 24px;
  padding-block: 22px;
}
.credentials-list li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.2;
}
.credentials-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(229, 27, 31, 0.16);
  color: #FF4A4D;
}
.credentials-icon .icon { width: 22px; height: 22px; }

/* ---------- Split (text | image) ---------- */
.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 48px;
}
.split.is-reversed .split-img { order: -1; }
.split.is-top { align-items: start; }
.split-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.split-img.is-wide { aspect-ratio: 16 / 9; }
.split-text p + h3 { margin-top: 24px; }
.sub-block { margin-top: 32px; }
.list-intro { margin-bottom: 14px; font-weight: 600; color: var(--navy); }
.note {
  padding: 14px 18px;
  border-left: 4px solid var(--blue);
  border-radius: 0 6px 6px 0;
  background: var(--bg-alt);
  color: var(--muted);
  font-size: 0.975rem;
}

/* ---------- Galleries (square grid, "Show all", lightbox) ---------- */
.gallery-block + .gallery-block { margin-top: 32px; }
.gallery-block h3 { margin-bottom: 2px; }
.gallery-hint { margin-bottom: 14px; color: var(--red); font-size: 0.925rem; font-weight: 500; }
.gallery {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}
.gallery a {
  display: block;
  overflow: hidden;
  aspect-ratio: 1;
  border-radius: 8px;
  background: var(--border);
}
.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .25s;
}
.gallery a:hover img { transform: scale(1.05); }
/* Collapsed to about 2 rows; every photo stays in the HTML */
.js .gallery:not(.is-expanded) li:nth-child(n+13) { display: none; }
.gallery-toggle { display: none; margin-top: 14px; }
.js .gallery-toggle { display: inline-flex; }

.lightbox {
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(3, 15, 39, 0.94);
  color: var(--white);
}
.lightbox::backdrop { background: rgba(3, 15, 39, 0.94); }
.lightbox-figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 100%;
  margin: 0;
  padding: 64px 72px 24px;
}
.lightbox-figure img {
  max-width: 100%;
  max-height: calc(100% - 48px);
  width: auto;
  height: auto;
  border-radius: 6px;
}
.lightbox-figure figcaption { max-width: 720px; text-align: center; font-size: 0.95rem; color: rgba(255, 255, 255, 0.85); }
.lightbox-btn {
  position: absolute;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  cursor: pointer;
}
.lightbox-btn:hover { background: var(--red); }
.lightbox-btn .icon { width: 24px; height: 24px; }
.lightbox-close { top: 12px; right: 12px; }
.lightbox-prev { top: 50%; left: 12px; transform: translateY(-50%); }
.lightbox-next { top: 50%; right: 12px; transform: translateY(-50%); }

/* ---------- Partner logo rows ---------- */
.partner-group + .partner-group { margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--border); }
.chip-title {
  display: table;
  margin: 0 auto 16px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--blue);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ---------- Callout (Cardinal Rules) ---------- */
.callout {
  max-width: 880px;
  margin: 0 auto;
  padding: 28px 32px;
  background: var(--white);
  border-left: 5px solid var(--red);
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: 0 4px 16px rgba(3, 15, 39, 0.06);
}
.callout h2 { margin-bottom: 10px; color: var(--red); font-size: clamp(1.5rem, 2.6vw, 2rem); }
.callout p { font-size: 1.0625rem; }

/* ---------- Logo wall ---------- */
.logo-wall {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px 28px;
  align-items: center;
}
.logo-wall li {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 72px;
}
.logo-wall img {
  width: auto;
  max-width: 100%;
  max-height: 48px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.7;
  mix-blend-mode: multiply;
  transition: filter .2s, opacity .2s;
}
.logo-wall li:hover img { filter: none; opacity: 1; }
.logo-wall.cols-7 { grid-template-columns: repeat(7, minmax(0, 1fr)); }
.logo-wall.cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); max-width: 880px; margin-inline: auto; }
.logo-wall.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 720px; margin-inline: auto; }

/* ---------- Contact page ---------- */
.contact-list { display: grid; gap: 16px; margin-top: 24px; }
.contact-list li { display: flex; align-items: flex-start; gap: 14px; }
.contact-icon {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(229, 27, 31, 0.1);
  color: var(--red);
}
.contact-icon .icon { width: 22px; height: 22px; }
.contact-label {
  margin-bottom: 2px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact-list a { font-weight: 600; text-decoration: none; }
.contact-list address { font-weight: 600; color: var(--navy); }

.email-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 32px;
  border-top: 4px solid var(--red);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}
.email-card .contact-icon { margin-bottom: 16px; }
.email-card-title {
  margin-bottom: 8px;
  font-family: var(--font-head);
  font-size: 1.625rem;
  font-weight: 700;
  line-height: 1.12;
  color: var(--navy);
}
.email-card .btn { margin-top: 8px; }
.email-card-alt { margin-top: 14px; color: var(--muted); }
.email-card-alt a { font-weight: 600; }

.map-address { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-bottom: 16px; }
.map-address a { font-weight: 600; }
/* Fixed height, so the map never leaves an empty gap while loading */
.map {
  height: 320px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--border);
  box-shadow: var(--shadow);
}
.map iframe { display: block; width: 100%; height: 100%; border: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  padding-block: 48px;
  background: linear-gradient(115deg, var(--navy) 0%, var(--navy-2) 55%, var(--blue) 130%);
  color: rgba(255, 255, 255, 0.88);
}
.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px 40px;
}
.cta-band h2 { margin-bottom: 8px; color: var(--white); }
.cta-band .btn-row { flex: none; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--navy);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.975rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.2fr;
  gap: 32px 48px;
  padding-block: 48px 40px;
}
.footer-title {
  margin-bottom: 16px;
  font-family: var(--font-head);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
}
.footer-logo { display: inline-block; margin-bottom: 16px; }
.footer-logo img { width: auto; height: 72px; }
.site-footer a { color: rgba(255, 255, 255, 0.9); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-links { display: grid; gap: 10px; }
.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding-block: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-contact li:first-child { padding-top: 0; }
.footer-contact .icon { margin-top: 3px; color: var(--red); }
.footer-bottom {
  padding-block: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}

/* ---------- Catalog pop-up ---------- */
.catalog-popup {
  width: min(760px, calc(100% - 32px));
  max-width: none;
  max-height: calc(100dvh - 32px);
  padding: 0;
  border: 0;
  border-radius: 14px;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 24px 64px rgba(3, 15, 39, 0.35);
  overflow: auto;
}
.catalog-popup[open] { animation: popup-in .3s ease-out; }
.catalog-popup::backdrop { background: rgba(3, 15, 39, 0.6); }
@keyframes popup-in {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
.catalog-popup-inner {
  outline: none; /* receives focus on open so the close button isn't ringed */
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
}
.catalog-popup-cover {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 24px;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 60%, var(--blue) 140%);
}
.catalog-popup-cover img {
  width: 100%;
  max-width: 180px;
  border-radius: 4px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
  transform: rotate(-3deg);
}
.catalog-popup-body { padding: 32px 32px 26px; }
.catalog-popup-eyebrow {
  margin-bottom: 8px;
  color: var(--red);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.catalog-popup-title {
  margin-bottom: 12px;
  padding-right: 32px;
  font-family: var(--font-head);
  font-size: clamp(1.625rem, 3vw, 2rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--navy);
}
.catalog-popup-text { margin-bottom: 20px; color: var(--muted); font-size: 1rem; }
.catalog-popup-meta { margin: 10px 0 18px; color: var(--muted); font-size: 0.8125rem; }
.catalog-popup-foot {
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--muted);
}
.catalog-popup-foot a { font-weight: 600; }
.catalog-popup-later {
  padding: 0;
  border: 0;
  background: none;
  color: var(--muted);
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}
.catalog-popup-later:hover { color: var(--navy); }
.catalog-popup-x {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--bg-alt);
  color: var(--navy);
  cursor: pointer;
}
.catalog-popup-x:hover { background: var(--red); color: var(--white); }

/* Phones: a bottom sheet that leaves the page visible above it */
@media (max-width: 600px) {
  .catalog-popup {
    width: 100%;
    max-height: 88dvh;
    margin: auto 0 0;
    border-radius: 16px 16px 0 0;
  }
  .catalog-popup[open] { animation-name: sheet-in; }
  .catalog-popup-inner { grid-template-columns: 1fr; }
  .catalog-popup-cover { display: none; }
  .catalog-popup-body { padding: 26px 20px 22px; }
  .catalog-popup .btn { width: 100%; }
}
@keyframes sheet-in {
  from { transform: translateY(100%); }
  to { transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .credentials-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .credentials-list li { justify-content: flex-start; }
  .logo-wall, .logo-wall.cols-7 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .js .gallery:not(.is-expanded) li:nth-child(n+9) { display: none; }
  .cta-band-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 900px) {
  /* Mobile nav: collapsed only when JS can open it again */
  .js .nav-toggle { display: inline-flex; }
  .header-inner { flex-wrap: wrap; row-gap: 0; }
  .site-nav {
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding-bottom: 16px;
  }
  .js .site-nav { display: none; }
  .js .site-nav.is-open {
    display: flex;
    /* The open menu scrolls inside the sticky header on short screens */
    max-height: calc(100vh - var(--header-h));
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
  }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-list a { padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
  .nav-list a::after { display: none; }
  .nav-list a[aria-current="page"] { color: #FF6B6E; }
}

@media (max-width: 768px) {
  :root { --section-pad: 40px; --header-h: 72px; }
  .header-logo img { height: 52px; }
  .footer-logo img { height: 64px; }
  .hero-home { min-height: 0; padding: 48px 0 104px; }
  .services { margin-top: -72px; padding-bottom: 32px; }
  .services-grid { grid-template-columns: 1fr; gap: 24px; }
  .split { grid-template-columns: 1fr; gap: 28px; }
  .split.is-reversed .split-img { order: 0; }
  .hero-page { min-height: 220px; padding-block: 40px; }
  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .js .gallery:not(.is-expanded) li:nth-child(n+7) { display: none; }
  .lightbox-figure { padding: 64px 12px 24px; }
  .lightbox-prev, .lightbox-next { top: auto; bottom: 16px; transform: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; padding-block: 40px 32px; }
  .cta-band { padding-block: 40px; }
}

@media (max-width: 480px) {
  :root { --gutter: 16px; }
  .btn-row .btn { flex: 1 1 100%; }
  .service-card-body { padding: 36px 20px 22px; }
  .service-card-icon { left: 20px; }
  .service-card .btn { align-self: stretch; }
  .callout { padding: 22px 20px; }
  .email-card { padding: 24px 20px; }
  .email-card .btn { align-self: stretch; }
  .credentials-list li { font-size: 1.0625rem; gap: 10px; }
  .logo-wall, .logo-wall.cols-7, .logo-wall.cols-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 16px; }
  .logo-wall.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .logo-wall li { height: 56px; }
  .logo-wall img { max-height: 38px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
  .catalog-popup[open] { animation: none; }
}
