#site-header {
  position: relative;
  transition: background-color 0.28s ease, box-shadow 0.28s ease, backdrop-filter 0.28s ease, transform 0.28s ease;
  background: #ffffff;
  z-index: 80;
}

#site-header .header-top,
#site-header .header-main {
  transition: all 0.28s ease;
}

#site-header .header-top {
  max-height: 56px;
  opacity: 1;
  overflow: hidden;
}

#site-header.header-scrolled {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  box-shadow: 0 10px 28px rgba(17, 24, 39, 0.12);
}

#site-header.header-scrolled .header-top {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
}

#site-header.header-scrolled .header-main {
  height: 64px !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  border-top: 0 !important;
}

@media (max-width: 1023px) {
  #site-header.header-scrolled .header-top {
    max-height: 48px;
    opacity: 1;
  }

  #site-header.header-scrolled .header-main {
    height: 76px !important;
  }
}

a {
  transition: color 0.22s ease, opacity 0.22s ease, text-decoration-color 0.22s ease, transform 0.22s ease;
}

a:hover {
  opacity: 0.95;
}

a.inline-flex:hover,
a.hidden.xl\:flex:hover {
  transform: translateY(-1px);
}

footer a:hover {
  color: #E1007A;
}

.archive-card {
  border: 1px solid #d6d6d6;
  overflow: hidden;
  transition: all 0.3s ease;
}

.archive-card:hover {
  transform: translateY(-0.25rem);
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.14);
}

.archive-card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.archive-card:hover .archive-card-image {
  transform: scale(1.05);
}

.nav-dd-panel {
  display: block;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.24s ease, transform 0.24s ease, visibility 0.24s ease;
}

.footer-column-menu a {
  display: inline-block;
  color: inherit;
  transition: color 200ms ease, opacity 200ms ease, transform 200ms ease;
}

.footer-column-menu a:hover,
.footer-column-menu a:focus-visible {
  color: #fff;
  transform: translateX(3px);
}

.nav-dd-panel.hidden {
  display: block;
}

.nav-dd-panel.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-dd-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #d6d6d6;
}

.nav-dd-item:last-child {
  border-bottom: 0;
}

.nav-dd-item:hover {
  color: #E1007A;
  background: rgba(225, 0, 122, 0.04);
}

.nav-submenu-panel {
  position: absolute;
  top: -1px;
  left: 100%;
  width: 260px;
  background: #ffffff;
  border: 1px solid #d6d6d6;
  box-shadow: 0 10px 26px rgba(17, 24, 39, 0.16);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(8px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
  z-index: 50;
}

.nav-dd-group:hover > .nav-submenu-panel,
.nav-dd-group:focus-within > .nav-submenu-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0);
}

.nav-dd-panel {
  background: #ffffff !important;
}

.mobile-dd-panel {
  display: block;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.28s ease, opacity 0.2s ease;
}

.mobile-dd-panel.hidden {
  display: block;
}

.mobile-dd-panel.is-open {
  opacity: 1;
}

.nav-dd-toggle .lucide-chevron-down,
.mobile-dd-toggle .lucide-chevron-down {
  transition: transform 0.22s ease;
}

.nav-dd-toggle.is-open .lucide-chevron-down,
.mobile-dd-toggle.is-open .lucide-chevron-down {
  transform: rotate(180deg);
}

.about-content-section {
  scroll-margin-top: 145px;
}

.about-anchor-nav > div {
  scrollbar-width: none;
}

.about-anchor-nav > div::-webkit-scrollbar {
  display: none;
}

.about-anchor-nav {
  background: #eef0f4;
}

.about-anchor-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.25rem;
}

.about-anchor-link {
  position: relative;
  padding: 1.2rem 0;
  color: #222;
  font-size: 0.95rem;
  font-weight: 500;
  white-space: nowrap;
}

.about-anchor-link::after {
  position: absolute;
  right: 0;
  bottom: 0.75rem;
  left: 0;
  height: 1px;
  background: var(--heading-color, #002d62);
  content: "";
  opacity: 0;
  transform: scaleX(0);
  transition: opacity 180ms ease, transform 180ms ease;
}

.about-anchor-link:hover,
.about-anchor-link.is-active {
  color: var(--heading-color, #002d62);
}

.about-anchor-link:hover::after,
.about-anchor-link.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

@media (max-width: 1023px) {
  .about-anchor-links {
    justify-content: flex-start;
    gap: 1.5rem;
  }
}

.nav-dd-panel {
  max-height: calc(100vh - 120px);
  overflow-y: auto;
}

/* Homepage About section: image with an overlapping information panel. */
.home-about-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: 3rem;
}

.home-about-intro {
  padding-right: 1rem;
}

.home-about-visual {
  position: relative;
  min-height: 590px;
  padding-bottom: 4rem;
}

.home-about-visual > img {
  width: 100%;
  height: 520px;
  display: block;
  object-fit: cover;
  border-radius: 0 24px 24px 0;
  box-shadow: 0 16px 38px rgba(0, 45, 98, 0.13);
}

.home-about-panel {
  position: relative;
  width: 100%;
  padding: 2rem;
  color: #fff;
  background: var(--primary-color, #002d62);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0, 28, 64, 0.12);
}

.home-about-panel h3 {
  margin-bottom: 0.75rem;
  color: #fff !important;
  font-size: 1.6rem;
  font-weight: 800;
}

.home-about-panel p {
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.55;
}

.home-about-panel a {
  margin-top: 1.4rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: #fff !important;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.home-about-panel a:hover {
  color: var(--secondary-color, #e1007a) !important;
}

.home-about-panel svg {
  width: 1rem;
  height: 1rem;
}

@media (max-width: 1023px) {
  .home-about-layout {
    grid-template-columns: 1fr;
  }

  .home-about-intro {
    padding-right: 0;
  }

  .home-about-visual {
    min-height: 0;
    padding-bottom: 0;
  }

  .home-about-visual > img {
    height: 430px;
    border-radius: 24px 24px 0 0;
  }

  .home-about-panel {
    position: relative;
    left: auto;
    bottom: auto;
    width: calc(100% - 2rem);
    margin: -3.5rem 1rem 0;
  }
}

@media (max-width: 767px) {
  .home-about-visual > img {
    height: 300px;
  }

  .home-about-panel {
    width: 100%;
    margin: 0;
    padding: 1.5rem;
  }
}

/* About page design prototype. */
.about-eyebrow {
  display: block;
  margin-bottom: 0.65rem;
  color: var(--secondary-color, #e1007a);
  font-family: monospace;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.about-title {
  margin-bottom: 1.25rem;
  color: var(--heading-color, #002d62);
  font-size: clamp(1.875rem, 3.5vw, 2.25rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.about-dark-section .about-title {
  color: #fff !important;
}

.about-lead {
  color: var(--text-color, #555);
  font-size: 1.125rem;
  line-height: 1.75;
}

.about-mvv-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  align-items: start;
  gap: 2rem;
}

.about-mvv-intro {
  padding: 2.75rem 2rem 2rem 0;
}

.about-mvv-visual {
  position: relative;
  min-height: 720px;
  padding-bottom: 4rem;
}

.about-mvv-visual > img {
  width: 100%;
  height: 640px;
  display: block;
  object-fit: cover;
  border-radius: 0 24px 24px 0;
}

.about-mvv-panel {
  position: relative;
  width: 100%;
  padding: 2.5rem;
  color: #fff;
  background: var(--primary-color, #002d62);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0, 28, 64, 0.12);
  margin-top: 1.5rem;
}

.about-mvv-panel > h3 {
  margin-bottom: 1.75rem;
  font-size: 1.65rem;
  font-weight: 800;
}

.about-mvv-copy {
  scroll-margin-top: 150px;
}

.about-mvv-copy + .about-mvv-copy {
  margin-top: 1.6rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.about-mvv-copy h4 {
  margin-bottom: 0.35rem;
  font-size: 1.05rem;
  font-weight: 800;
}

.about-mvv-copy p,
.about-mvv-copy li {
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.55;
}

.about-mvv-copy ul {
  margin-top: 0.6rem;
}

.about-mvv-copy li {
  position: relative;
  padding-left: 1rem;
}

.about-mvv-copy li::before {
  position: absolute;
  left: 0;
  content: "•";
  color: var(--secondary-color, #e1007a);
}

.about-feature-card {
  padding: 2rem;
  background: #f7f8fa;
  border: 1px solid var(--border-color, #e5e7eb);
  border-radius: 12px;
}

.about-feature-card h3 {
  margin: 1.15rem 0 0.65rem;
  color: var(--heading-color, #002d62);
  font-size: 1.5rem;
  font-weight: 800;
}

.about-feature-card p,
.about-feature-card li {
  color: var(--text-color, #555);
  line-height: 1.65;
}

.about-feature-card ul {
  margin-top: 0.75rem;
  padding-left: 1.15rem;
  list-style: disc;
}

.about-icon {
  width: 3rem;
  height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  color: var(--secondary-color, #e1007a);
  background: rgb(var(--secondary-rgb, 225 0 122) / 0.1);
  border-radius: 999px;
}

.about-icon svg {
  width: 1.4rem;
  height: 1.4rem;
}

.about-item-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.about-item-grid article {
  min-height: 155px;
  padding: 1.5rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 28px rgba(0, 45, 98, 0.07);
}

.about-item-grid article > span,
.about-testing-grid article > span {
  color: var(--secondary-color, #e1007a);
  font-family: monospace;
  font-size: 0.75rem;
  font-weight: 800;
}

.about-item-grid p {
  margin-top: 1rem;
  color: var(--heading-color, #002d62);
  font-size: 1.05rem;
  font-weight: 750;
  line-height: 1.45;
}

.about-check-list {
  display: grid;
  gap: 0.85rem;
}

.about-check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--text-color, #555);
  line-height: 1.55;
}

.about-check-list svg {
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.2rem;
  flex: none;
  color: var(--secondary-color, #e1007a);
}

.about-carousel {
  position: relative;
}

.about-carousel__viewport {
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: inline mandatory;
  scrollbar-width: none;
}

.about-carousel__viewport::-webkit-scrollbar {
  display: none;
}

.about-carousel__track {
  display: flex;
  gap: 1rem;
}

.about-carousel-card,
.about-approval-card {
  flex: 0 0 calc((100% - 3rem) / 4);
  min-width: 235px;
  min-height: 225px;
  padding: 1.75rem;
  scroll-snap-align: start;
  background: #fff;
  border-radius: 12px;
}

.about-carousel-card p {
  margin-top: 2.5rem;
  color: var(--heading-color, #002d62);
  font-size: 1.05rem;
  font-weight: 750;
  line-height: 1.5;
}

.about-carousel__controls {
  margin-top: 1.25rem;
  display: flex;
  justify-content: flex-end;
  gap: 0.6rem;
}

.about-carousel__controls button {
  width: 2.75rem;
  height: 2.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--heading-color, #002d62);
  background: #fff;
  border: 1px solid var(--border-color, #e5e7eb);
  border-radius: 999px;
}

.about-carousel__controls button:disabled {
  opacity: 0.35;
}

.about-carousel__controls svg {
  width: 1rem;
  height: 1rem;
}

.about-carousel--light .about-carousel-card {
  background: #f7f8fa;
  border: none;
}

.about-industry-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 220px;
  gap: 1rem;
}

.about-industry-grid article {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

.about-industry-grid article:first-child,
.about-industry-grid article:nth-child(6) {
  grid-column: span 2;
}

.about-industry-grid img,
.about-industry-grid article > div {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.about-industry-grid img {
  object-fit: cover;
  transition: transform 500ms ease;
}

.about-industry-grid article > div {
  background: linear-gradient(to top, rgba(0, 25, 55, 0.92), rgba(0, 25, 55, 0.05));
}

.about-industry-grid article:hover img {
  transform: scale(1.05);
}

.about-industry-grid h3 {
  position: absolute;
  z-index: 1;
  left: 1.25rem;
  right: 1.25rem;
  bottom: 1.15rem;
  color: #fff !important;
  font-size: 1.05rem;
  font-weight: 800;
}

.about-testing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.about-testing-grid article {
  padding: 1.2rem;
  background: #fff;
  border-left: none;
  border-radius: 12px;
  box-shadow: 0 5px 18px rgba(0, 45, 98, 0.05);
}

.about-testing-grid p {
  margin-top: 0.4rem;
  color: var(--heading-color, #002d62);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.45;
}

.about-facility-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.about-facility-grid li {
  padding: 1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
}

.about-facility-grid svg {
  width: 1.1rem;
  margin-top: 0.2rem;
  flex: none;
  color: var(--secondary-color, #e1007a);
}

.about-approval-card {
  min-height: 185px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: #f7f8fa;
  border: 1px solid var(--border-color, #e5e7eb);
}

.about-approval-card > svg {
  width: 150px;
  height: 55px;
}

.about-approval-card p {
  margin-top: 1rem;
  color: var(--heading-color, #002d62);
  font-size: 0.85rem;
  font-weight: 750;
  line-height: 1.35;
}

@media (max-width: 1023px) {
  .about-mvv-layout {
    grid-template-columns: 1fr;
  }

  .about-mvv-intro {
    padding: 0;
  }

  .about-mvv-visual {
    min-height: 0;
    padding-bottom: 0;
  }

  .about-mvv-visual > img {
    height: 440px;
    border-radius: 24px 24px 0 0;
  }

  .about-mvv-panel {
    position: relative;
    left: auto;
    bottom: auto;
    width: 100%;
    margin: 1.5rem 0 0;
  }

  .about-item-grid,
  .about-industry-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-carousel-card,
  .about-approval-card {
    flex-basis: calc((100% - 1rem) / 2);
  }
}

@media (max-width: 767px) {
  .about-mvv-panel {
    width: 100%;
    margin: 0;
    padding: 1.5rem;
  }

  .about-mvv-visual > img {
    height: 300px;
  }

  .about-item-grid,
  .about-testing-grid,
  .about-facility-grid {
    grid-template-columns: 1fr;
  }

  .about-industry-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 205px;
  }

  .about-industry-grid article:first-child,
  .about-industry-grid article:nth-child(6) {
    grid-column: auto;
  }

  .about-carousel-card,
  .about-approval-card {
    flex-basis: 84%;
    min-width: 0;
  }
}

/* Homepage certification and approved-client logo grids. */
.home-logo-grid {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.home-logo-carousel__viewport {
  margin-inline: -0.25rem;
  padding: 0.5rem 0.25rem;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-behavior: smooth;
  scroll-snap-type: inline mandatory;
  scrollbar-width: none;
}

.home-logo-carousel__viewport::-webkit-scrollbar {
  display: none;
}

.home-logo-card,
.about-approval-card {
  flex: 0 0 auto;
  min-width: 170px;
  max-width: 220px;
  min-height: 80px;
  padding: 0.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  text-align: center;
  scroll-snap-align: start;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  transition: transform 220ms ease, opacity 220ms ease;
}

.home-logo-card:hover,
.about-approval-card:hover {
  transform: translateY(-2px);
  opacity: 0.85;
  background: transparent !important;
}

.home-logo-card__media {
  width: 100%;
  height: 75px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-logo-image {
  display: block;
  width: auto;
  max-width: 180px;
  max-height: 65px;
  object-fit: contain;
}

.home-logo-image--sample {
  width: auto;
  max-width: 190px;
  height: 65px;
}

.home-logo-placeholder {
  color: var(--heading-color, #002d62);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.home-logo-carousel__controls {
  margin-top: 1rem;
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
}

.home-logo-carousel__controls button {
  width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--heading-color, #002d62);
  background: #fff;
  border: 1px solid var(--border-color, #e5e7eb);
  border-radius: 999px;
}

.home-logo-carousel__controls button:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

@media (max-width: 767px) {
  .home-logo-card,
  .about-approval-card {
    flex: 0 0 auto;
    min-width: 140px;
    scroll-snap-align: start;
  }
}

/* Industries page: homepage-style intro and logo grid. */
.industries-intro-panel {
  display: grid;
  gap: 1rem;
}

.industries-intro-fact span,
.industries-intro-fact strong {
  display: block;
}

.industries-intro-fact span {
  margin-bottom: 0.25rem;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.industries-intro-fact strong {
  color: #fff;
  font-size: 1rem;
  line-height: 1.45;
}

.industries-intro-fact--divided {
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.industries-logo-card {
  width: 100%;
  min-width: 0;
  color: var(--heading-color, #002d62);
  text-decoration: none;
}

.industries-logo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.industries-logo-card__media {
  height: auto;
  min-height: 110px;
  flex-direction: column;
  gap: 1rem;
}

.industries-logo-card__media svg {
  width: 2.4rem;
  height: 2.4rem;
  color: var(--secondary-color, #e1007a);
  stroke-width: 1.65;
}

.industries-logo-card .home-logo-placeholder {
  max-width: 190px;
  line-height: 1.35;
}

/* Keep dark CTA content readable when global heading colours are customized. */
body .home-cta-section h2.text-white,
body .home-cta-section p {
  color: #fff !important;
}

@media (max-width: 1023px) {
  .industries-logo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 639px) {
  .industries-logo-grid {
    grid-template-columns: 1fr;
  }

  .industries-logo-card {
    flex-basis: auto;
  }
}

/* Single service page. */
.service-listing-page h1,
.service-listing-page h2,
.service-listing-page h3,
.service-listing-page h4,
.service-listing-page h5,
.service-listing-page h6,
.single-service-page h1,
.single-service-page h2,
.single-service-page h3,
.single-service-page h4,
.single-service-page h5,
.single-service-page h6 {
  font-weight: 600 !important;
}

.service-listing-page h1 {
  font-size: clamp(2rem, 3.5vw, 3.25rem) !important;
}

.single-service-page .single-service-header h1 {
  font-size: clamp(2.15rem, 4vw, 3.75rem) !important;
}

.single-service-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-color, #555);
  font-size: 0.85rem;
}

.single-service-breadcrumb a:hover {
  color: var(--secondary-color, #e1007a);
}

.single-service-header {
  max-width: 900px;
  padding: 4rem 0 3rem;
}

.single-service-header h1 {
  color: var(--heading-color, #002d62);
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.single-service-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(280px, 0.8fr);
  align-items: start;
  gap: clamp(2rem, 5vw, 5rem);
}

.single-service-image {
  width: 100%;
  max-height: 540px;
  display: block;
  object-fit: cover;
  border-radius: 24px;
}

.single-service-copy {
  margin-top: 2.5rem;
  color: var(--text-color, #555);
  font-size: 1.1rem;
  line-height: 1.8;
}

.single-service-copy > * + * {
  margin-top: 1.25rem;
}

.single-service-copy h2,
.single-service-copy h3 {
  color: var(--heading-color, #002d62);
  font-weight: 800;
  line-height: 1.25;
}

.single-service-copy h2 { font-size: 2rem; }
.single-service-copy h3 { font-size: 1.5rem; }
.single-service-copy ul { padding-left: 1.25rem; list-style: disc; }

.single-service-highlights {
  margin-top: 2.5rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background: #f1f2f4;
  border-radius: 24px;
}

.single-service-highlights h2,
.single-service-faq > h2,
.single-service-related > h2 {
  color: var(--heading-color, #002d62);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
}

.single-service-highlights ul {
  margin-top: 1.5rem;
  display: grid;
  gap: 0.85rem;
}

.single-service-highlights li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--text-color, #555);
  line-height: 1.55;
}

.single-service-highlights li svg {
  width: 1.2rem;
  height: 1.2rem;
  margin-top: 0.2rem;
  flex: none;
  color: var(--secondary-color, #e1007a);
}

.single-service-cta {
  margin-top: 2rem;
  padding: 0.9rem 1.4rem;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: #fff !important;
  background: var(--secondary-color, #e1007a);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.single-service-cta:hover { transform: translateY(-2px); }
.single-service-cta svg { width: 1rem; height: 1rem; }

.single-service-sidebar {
  position: sticky;
  top: 112px;
  overflow: hidden;
  background: #f1f2f4;
  border-radius: 24px;
}

.single-service-page .single-service-sidebar h2.text-white {
  padding: 1.5rem;
  color: #fff !important;
  background: var(--primary-color, #002d62);
  font-size: 1.35rem;
  font-weight: 600;
}

.single-service-sidebar a {
  min-height: 58px;
  padding: 0.9rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--heading-color, #002d62);
  border-bottom: 1px solid var(--border-color, #e5e7eb);
  font-size: 0.92rem;
  font-weight: 650;
  line-height: 1.35;
}

.single-service-sidebar a:last-child { border-bottom: 0; }
.single-service-sidebar a:hover,
.single-service-sidebar a.is-current {
  color: #fff !important;
  background: var(--secondary-color, #e1007a);
}

.single-service-sidebar a svg {
  width: 1rem;
  height: 1rem;
  flex: none;
}

.single-service-faq,
.single-service-related {
  margin-top: clamp(4rem, 8vw, 7rem);
  padding-top: clamp(3rem, 6vw, 5rem);
  border-top: 1px solid var(--border-color, #e5e7eb);
}

.single-service-faq__list {
  margin-top: 2rem;
}

.single-service-faq details {
  border-bottom: 1px solid var(--border-color, #e5e7eb);
}

.single-service-faq summary {
  padding: 1.35rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  color: var(--heading-color, #002d62);
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 750;
  list-style: none;
}

.single-service-faq summary::-webkit-details-marker { display: none; }
.single-service-faq summary svg { width: 1.2rem; height: 1.2rem; flex: none; transition: transform 200ms ease; }
.single-service-faq details[open] summary svg { transform: rotate(45deg); }
.single-service-faq details > div { max-width: 880px; padding: 0 3rem 1.5rem 0; color: var(--text-color, #555); line-height: 1.7; }

.single-service-related .about-carousel {
  margin-top: 2rem;
}

.service-related-card {
  flex: 0 0 calc((100% - 2rem) / 3);
  min-width: 260px;
  overflow: hidden;
  scroll-snap-align: start;
  color: var(--heading-color, #002d62);
  background: #f1f2f4;
  border-radius: 24px;
  transition: transform 220ms ease, background-color 220ms ease;
}

.service-related-card:hover { transform: translateY(-3px); background: #eceef1; }
.service-related-card > img { width: 100%; aspect-ratio: 16 / 9; display: block; object-fit: cover; }
.service-related-card > div { padding: 1.5rem; }
.service-related-card h3 { min-height: 2.7em; color: var(--heading-color, #002d62); font-size: 1.05rem; font-weight: 800; line-height: 1.35; }
.service-related-card span { margin-top: 1.25rem; display: inline-flex; align-items: center; gap: 0.5rem; color: var(--secondary-color, #e1007a); font-size: 0.82rem; font-weight: 800; text-transform: uppercase; }
.service-related-card span svg { width: 1rem; height: 1rem; }

@media (max-width: 1023px) {
  .single-service-layout { grid-template-columns: 1fr; }
  .single-service-sidebar { position: static; }
  .single-service-sidebar nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-service-sidebar a:nth-last-child(2) { border-bottom: 0; }
  .service-related-card { flex-basis: calc((100% - 1rem) / 2); }
}

@media (max-width: 639px) {
  .single-service-header { padding: 3rem 0 2rem; }
  .single-service-sidebar nav { grid-template-columns: 1fr; }
  .single-service-sidebar a:nth-last-child(2) { border-bottom: 1px solid var(--border-color, #e5e7eb); }
  .service-related-card { flex-basis: 84%; min-width: 0; }
}

/* Homepage media hero */
.home-hero {
  position: relative;
  left: 50%;
  width: 100vw;
  height: clamp(620px, 72vw, 780px);
  margin-left: -50vw;
  overflow: hidden;
  color: #fff;
  background: var(--primary-color, #002d62);
  isolation: isolate;
}

.home-hero__viewport,
.home-hero__track,
.home-hero__slide {
  height: 100%;
}

.home-hero__viewport {
  overflow: hidden;
  touch-action: pan-y pinch-zoom;
}

.home-hero__track { display: flex; }
.home-hero__slide { position: relative; flex: 0 0 100%; min-width: 0; }

.home-hero__media,
.home-hero__fallback {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-hero__youtube {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}

.home-hero__youtube iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: max(100vw, 177.78vh);
  height: max(56.25vw, 100vh);
  border: 0;
  transform: translate(-50%, -50%);
}

.home-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(0, 25, 66, 0.88) 0%, rgba(0, 39, 89, 0.67) 48%, rgba(0, 39, 89, 0.25) 100%),
    linear-gradient(0deg, rgba(0, 24, 60, 0.35), transparent 48%);
}

.home-hero__inner {
  width: min(100% - 3rem, 1320px);
  height: 100%;
  margin-inline: auto;
  display: flex;
  align-items: center;
}

.home-hero__content {
  width: min(720px, 64vw);
  padding-top: 3.5rem;
}

.home-hero__eyebrow {
  margin: 0 0 1rem;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.home-hero .home-hero__title {
  margin: 0;
  max-width: 760px;
  color: #fff !important;
  font-size: clamp(2.7rem, 5vw, 5.25rem);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.home-hero__description {
  max-width: 690px;
  margin: 1.35rem 0 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1rem, 1.3vw, 1.18rem);
  line-height: 1.65;
}

.home-hero__actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-top: 2rem;
}

.home-hero__button {
  min-width: 205px;
  padding: 0.9rem 1.4rem;
  border: 2px solid rgba(255, 255, 255, 0.92);
  border-radius: 4px;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  transition: transform 180ms ease, opacity 180ms ease, background-color 180ms ease, color 180ms ease;
}

.home-hero__button:hover,
.home-hero__button:focus-visible {
  color: var(--primary-color, #002d62);
  background: #fff;
  transform: translateY(-2px);
}

.home-hero__button--text {
  min-width: 0;
  padding-inline: 0.25rem;
  border-width: 0 0 2px;
}

.home-hero__button--text:hover,
.home-hero__button--text:focus-visible {
  color: #fff;
  background: transparent;
  opacity: 0.78;
}

.home-hero__controls {
  position: absolute;
  z-index: 5;
  left: max(1.5rem, calc((100vw - 1320px) / 2));
  bottom: 3.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.home-hero__progress {
  min-width: 160px;
  margin-right: 0.35rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
}

.home-hero__progress-line { width: 78px; height: 1px; background: rgba(255, 255, 255, 0.7); }

.home-hero__control {
  width: 48px;
  height: 48px;
  display: inline-grid;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.88);
  border-radius: 50%;
  color: #fff;
  background: transparent;
  transition: transform 180ms ease, opacity 180ms ease, background-color 180ms ease, color 180ms ease;
}

.home-hero__control:hover,
.home-hero__control:focus-visible { color: var(--primary-color, #002d62); background: #fff; transform: scale(1.05); }
.home-hero__control svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.home-hero__control [data-hero-play-icon] { fill: currentColor; stroke: none; }
.home-hero__control .is-hidden { display: none; }

@media (max-width: 767px) {
  .home-hero { height: min(720px, calc(100svh - 60px)); min-height: 590px; }
  .home-hero__inner {
    width: min(100% - 2rem, 1320px);
    align-items: flex-end;
    padding-top: 7rem;
    padding-bottom: 7.25rem;
  }
  .home-hero--video .home-hero__inner { padding-bottom: 40px; }
  .home-hero__content { width: 100%; padding-top: 0; }
  .home-hero__eyebrow { margin-bottom: 0.7rem; font-size: 0.68rem; }
  .home-hero .home-hero__title { font-size: clamp(1.9rem, 8.5vw, 2.65rem); line-height: 1.1; }
  .home-hero__description { margin-top: 1rem; font-size: 0.9rem; line-height: 1.5; }
  .home-hero__actions { align-items: stretch; flex-direction: column; gap: 0.65rem; margin-top: 1.25rem; }
  .home-hero__button, .home-hero__button--text { width: 100%; min-width: 0; padding: 0.72rem 0.9rem; border: 2px solid rgba(255, 255, 255, 0.92); font-size: 0.78rem; }
  .home-hero__button--text:hover, .home-hero__button--text:focus-visible { color: var(--primary-color, #002d62); background: #fff; }
  .home-hero__controls { left: 1rem; bottom: 1.5rem; gap: 0.5rem; }
  .home-hero__progress { min-width: 110px; gap: 0.55rem; }
  .home-hero__progress-line { width: 45px; }
  .home-hero__control { width: 42px; height: 42px; }
}

@media (prefers-reduced-motion: reduce) {
  .home-hero__button,
  .home-hero__control { transition: none; }
}

/* Rotor spin animations */
.rotor-spin {
  transform-origin: 210px 210px;
  animation: spin 18s linear infinite;
}
.rotor-spin-rev {
  transform-origin: 210px 210px;
  animation: spinrev 26s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes spinrev { to { transform: rotate(-360deg); } }

/* Site-wide heading weight cap: max 600 (semibold, never 700 or 800) */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6,
.about-title, .section-title {
  font-weight: 600 !important;
}

/* Form buttons - 4px rounded */
input[type="submit"],
button[type="submit"],
.wpcf7-submit,
.wpcf7 input[type="submit"] {
  border-radius: 4px !important;
}
