:root {
  --spx-focus: #f0c85a;
  --spx-header-shadow: 0 10px 35px rgba(3, 16, 25, .13);
  --spx-accessible-gold: #75600f;
  --spx-muted-text: #506570;
}

/* Final cascade for 3.7.7 navigation refinements. */
@media (min-width: 1101px) {
  .nav-list > li.seenopex-services-menu > .sub-menu {
    width: min(1080px, calc(100vw - 56px));
    min-height: 0;
    padding: 18px 18px 18px 292px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px 11px;
    counter-reset: service-menu;
    border-radius: 0 0 8px 8px;
  }
  .nav-list > li.seenopex-services-menu > .sub-menu::before {
    content: "FIELD-READY CAPABILITIES\A Inspection · Engineering\A Maintenance · Training";
    width: 268px;
    padding: 104px 25px 26px;
    font-size: 12px;
    line-height: 1.75;
    letter-spacing: .035em;
    background: linear-gradient(180deg, rgba(7,23,34,.18), rgba(7,23,34,.96)), url("../../../seenopex-global-10/assets/images/headers/our-services.jpg") center/cover no-repeat;
  }
  .nav-list > li.seenopex-services-menu > .sub-menu::after {
    content: "OUR SERVICES";
    left: 25px;
    top: 34px;
    bottom: auto;
    font-size: 24px;
  }
  .nav-list > li.seenopex-services-menu > .sub-menu > li {
    min-width: 0;
    counter-increment: service-menu;
    border-radius: 3px;
    box-shadow: none;
  }
  .nav-list > li.seenopex-services-menu > .sub-menu > li > a {
    min-height: 54px;
    padding: 10px 31px 10px 48px;
    font-size: 12.5px;
    line-height: 1.3;
  }
  .nav-list > li.seenopex-services-menu > .sub-menu > li > a::before {
    content: counter(service-menu, decimal-leading-zero);
    left: 13px;
    width: 27px;
    height: auto;
    border: 0;
    color: #9a741a;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .08em;
    transform: translateY(-50%);
  }
  .nav-list > li.seenopex-services-menu > .sub-menu > li > a::after {
    content: "↗";
    position: absolute;
    top: 50%;
    right: 12px;
    color: rgba(154,116,26,.7);
    font-size: 12px;
    transform: translateY(-50%);
  }
  .nav-list > li.seenopex-services-menu > .sub-menu > li > a:hover { padding-left: 48px; }
}

@media (max-width: 1100px) {
  .main-nav { padding: 14px 20px 28px; }
  .main-nav.open {
    position: fixed !important;
    inset: 78px 0 0 !important;
    height: auto !important;
    max-height: none !important;
    overflow-y: auto !important;
  }
  .nav-list { width: min(100%, 760px); margin: 0 auto; }
  .nav-list > li.submenu-open > .submenu-toggle { color: #8f6818; transform: rotate(180deg); }
  .nav-list > li.seenopex-services-menu > .sub-menu,
  .nav-list > li.seenopex-services-menu.submenu-open > .sub-menu {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    margin: 0 0 14px;
    padding: 11px;
    border: 1px solid #e1e7e9;
    border-left: 3px solid var(--brand-accent);
    border-radius: 5px;
    background: #f5f7f7;
  }
  .nav-list > li.seenopex-services-menu > .sub-menu > li {
    border: 1px solid #e2e8ea !important;
    border-radius: 3px;
    background: #fff;
  }
  .nav-list > li.seenopex-services-menu > .sub-menu > li > a {
    min-height: 44px;
    padding: 8px 25px 8px 29px;
    font-size: 12.5px;
    line-height: 1.3;
  }
}

@media (max-width: 640px) {
  .nav-list > li.seenopex-services-menu > .sub-menu,
  .nav-list > li.seenopex-services-menu.submenu-open > .sub-menu { grid-template-columns: 1fr; }
}

/* 3.7.8 final banner treatment */
.visual-page-hero { background-position: 62% center !important; }
.visual-page-hero > .hero-shade {
  position: absolute !important;
  inset: 0 !important;
  z-index: 0 !important;
}
.visual-page-hero .hero-shade {
  background: linear-gradient(90deg, #06141d 0%, #06141d 38%, rgba(6,20,29,.96) 48%, rgba(6,20,29,.72) 64%, rgba(6,20,29,.2) 100%) !important;
}
@media (max-width: 760px) {
  .visual-page-hero { background-position: 72% center !important; }
  .visual-page-hero .hero-shade {
    background: linear-gradient(90deg, rgba(6,20,29,.99) 0%, rgba(6,20,29,.96) 62%, rgba(6,20,29,.76) 100%) !important;
  }
}

/* 3.7.8 — Remove the oversized embedded brand mark from page banners. */
.visual-page-hero {
  background-position: 62% center !important;
}

.visual-page-hero .hero-shade {
  background: linear-gradient(
    90deg,
    #06141d 0%,
    #06141d 38%,
    rgba(6,20,29,.96) 48%,
    rgba(6,20,29,.72) 64%,
    rgba(6,20,29,.2) 100%
  ) !important;
}

@media (max-width: 760px) {
  .visual-page-hero {
    background-position: 72% center !important;
  }

  .visual-page-hero .hero-shade {
    background: linear-gradient(
      90deg,
      rgba(6,20,29,.99) 0%,
      rgba(6,20,29,.96) 62%,
      rgba(6,20,29,.76) 100%
    ) !important;
  }
}

html { scroll-padding-top: 92px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--spx-header-shadow);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
}

.admin-bar .site-header { top: 32px; }

.seenopex-skip-link {
  position: fixed;
  z-index: 99999;
  top: 10px;
  left: 10px;
  padding: 12px 18px;
  color: #071722;
  background: #fff;
  border: 2px solid var(--spx-focus);
  border-radius: 4px;
  font-weight: 800;
  transform: translateY(-150%);
  transition: transform .18s ease;
}

.seenopex-skip-link:focus { transform: translateY(0); }

:where(a, button, input, textarea, select):focus-visible {
  outline: 3px solid var(--spx-focus);
  outline-offset: 4px;
}

.service-visual-card {
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}

.service-visual-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 45px rgba(7, 23, 34, .16);
}

.service-card-media {
  transition: transform .55s cubic-bezier(.2,.7,.2,1);
}

.service-visual-card:hover .service-card-media { transform: scale(1.025); }

.btn,
.text-link,
.service-card-link { text-underline-offset: .22em; }

.footer-direction,
.footer-social-link { min-height: 44px; display: inline-flex; align-items: center; }

/* Engineering-led visual system */
.visual-page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(240, 200, 90, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(240, 200, 90, .055) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(90deg, #000 0, transparent 72%);
}

.visual-page-hero > * { position: relative; z-index: 1; }

/* The source hero photograph contains an oversized brand watermark on its
 * left edge. A dense engineering-style shade removes that duplicated,
 * partially cropped mark while preserving the natural field photography. */
.visual-home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(3, 12, 18, .99) 0%,
    rgba(3, 12, 18, .96) 22%,
    rgba(3, 12, 18, .78) 40%,
    rgba(3, 12, 18, .34) 58%,
    rgba(3, 12, 18, .06) 76%,
    transparent 100%
  );
}

.visual-home-hero > * { position: relative; z-index: 1; }

@media (max-width: 980px) {
  .visual-home-hero::before {
    background: linear-gradient(90deg, rgba(3, 12, 18, .82) 0%, rgba(3, 12, 18, .54) 48%, rgba(3, 12, 18, .18) 100%);
  }
}

.eyebrow,
.section-label {
  letter-spacing: .16em;
  text-transform: uppercase;
}

.eyebrow.dark,
.section-label,
.content-lead .eyebrow,
.locations-intro .eyebrow { color: var(--spx-accessible-gold); }

.contact-details small { color: var(--spx-muted-text); }
.contact-form-shell > p { color: var(--spx-muted-text); }

.metrics {
  border-top: 1px solid rgba(240, 200, 90, .28);
  border-bottom: 1px solid rgba(7, 23, 34, .08);
}

.metrics > * {
  position: relative;
  min-height: 126px;
}

.metrics > *::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 34px;
  height: 3px;
  background: #d9ad3d;
}

.services-showcase {
  background-image: linear-gradient(135deg, rgba(7, 23, 34, .025), transparent 45%);
}

.service-visual-card {
  border-top: 3px solid #d9ad3d;
}

.dark-section {
  position: relative;
  overflow: hidden;
}

.dark-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(135deg, transparent 0 28px, rgba(240, 200, 90, .035) 29px 30px);
}

.dark-section > * { position: relative; z-index: 1; }

/* QHSE principles as individual engineering control cards. */
.principles {
  gap: 18px;
  border: 0;
  align-self: center;
}

.principles > div {
  position: relative;
  min-height: 148px;
  padding: 26px 28px;
  border: 1px solid rgba(255, 255, 255, .16) !important;
  background: linear-gradient(145deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .015));
  box-shadow: inset 3px 0 0 #d9ad3d, 0 16px 34px rgba(0, 0, 0, .14);
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: transform .22s ease, border-color .22s ease, background .22s ease;
}

.principles > div::after {
  content: "↗";
  position: absolute;
  top: 20px;
  right: 22px;
  color: rgba(240, 200, 90, .75);
  font-size: 1.05rem;
}

.principles > div:hover {
  transform: translateY(-3px);
  border-color: rgba(240, 200, 90, .48) !important;
  background: linear-gradient(145deg, rgba(240, 200, 90, .1), rgba(255, 255, 255, .02));
}

.principles strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 34px;
  border: 1px solid rgba(240, 200, 90, .38);
  background: rgba(240, 200, 90, .08);
  letter-spacing: .04em;
}

.principles span {
  display: block;
  margin-top: 14px;
  max-width: 90%;
  line-height: 1.35;
}

/* 3.7.7 — Compact, high-clarity services navigation */
@media (min-width: 1101px) {
  .nav-list > li.seenopex-services-menu > .sub-menu {
    width: min(1080px, calc(100vw - 56px));
    min-height: 0;
    padding: 18px 18px 18px 292px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px 11px;
    counter-reset: service-menu;
    border-radius: 0 0 8px 8px;
    overflow: hidden;
  }
  .nav-list > li.seenopex-services-menu > .sub-menu::before {
    content: "FIELD-READY CAPABILITIES\A Inspection · Engineering\A Maintenance · Training";
    width: 268px;
    padding: 104px 25px 26px;
    font-size: 12px;
    line-height: 1.75;
    letter-spacing: .035em;
    background: linear-gradient(180deg, rgba(7,23,34,.18), rgba(7,23,34,.96)), url("../../../seenopex-global-10/assets/images/headers/our-services.jpg") center/cover no-repeat;
  }
  .nav-list > li.seenopex-services-menu > .sub-menu::after {
    content: "OUR SERVICES";
    left: 25px;
    top: 34px;
    bottom: auto;
    font-size: 24px;
    letter-spacing: -.025em;
  }
  .nav-list > li.seenopex-services-menu > .sub-menu > li {
    position: relative;
    min-width: 0;
    counter-increment: service-menu;
    border-radius: 3px;
    box-shadow: none;
  }
  .nav-list > li.seenopex-services-menu > .sub-menu > li:hover {
    transform: translateY(-1px);
    box-shadow: 0 9px 20px rgba(7,23,34,.07);
  }
  .nav-list > li.seenopex-services-menu > .sub-menu > li > a {
    min-height: 54px;
    padding: 10px 31px 10px 48px;
    font-size: 12.5px;
    line-height: 1.3;
  }
  .nav-list > li.seenopex-services-menu > .sub-menu > li > a::before {
    content: counter(service-menu, decimal-leading-zero);
    left: 13px;
    top: 50%;
    width: 27px;
    height: auto;
    border: 0;
    color: #9a741a;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .08em;
    transform: translateY(-50%);
  }
  .nav-list > li.seenopex-services-menu > .sub-menu > li > a::after {
    content: "↗";
    position: absolute;
    top: 50%;
    right: 12px;
    color: rgba(154,116,26,.7);
    font-size: 12px;
    transform: translateY(-50%);
    transition: transform .18s ease;
  }
  .nav-list > li.seenopex-services-menu > .sub-menu > li > a:hover { padding-left: 48px; }
  .nav-list > li.seenopex-services-menu > .sub-menu > li > a:hover::after { transform: translate(2px, calc(-50% - 2px)); }
}

@media (max-width: 1100px) {
  .main-nav { padding: 14px 20px 28px; }
  .nav-list { width: min(100%, 760px); margin: 0 auto; }
  .nav-list > li > a { min-height: 52px; }
  .nav-list > li.submenu-open > .submenu-toggle { color: #8f6818; transform: rotate(180deg); }
  .nav-list > li.seenopex-services-menu > .sub-menu,
  .nav-list > li.seenopex-services-menu.submenu-open > .sub-menu {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    margin: 0 0 14px;
    padding: 11px;
    border: 1px solid #e1e7e9;
    border-left: 3px solid var(--brand-accent);
    border-radius: 5px;
    background: #f5f7f7;
  }
  .nav-list > li.seenopex-services-menu > .sub-menu > li {
    border: 1px solid #e2e8ea !important;
    border-radius: 3px;
    background: #fff;
  }
  .nav-list > li.seenopex-services-menu > .sub-menu > li > a {
    min-height: 44px;
    padding: 8px 25px 8px 29px;
    font-size: 12.5px;
    line-height: 1.3;
  }
}

@media (max-width: 640px) {
  .nav-list > li.seenopex-services-menu > .sub-menu,
  .nav-list > li.seenopex-services-menu.submenu-open > .sub-menu { grid-template-columns: 1fr; }
}

.site-footer { border-top: 4px solid #d9ad3d; }

.contact-layout > *,
.contact-copy,
.contact-form-shell,
.wpcf7,
.wpcf7-form { min-width: 0; max-width: 100%; }

.contact-layout { align-items: start; }

@media (min-width: 981px) {
  .contact-layout {
    grid-template-columns: minmax(290px, .72fr) minmax(560px, 1.28fr);
    gap: 64px;
  }

  .contact-copy {
    position: sticky;
    top: 124px;
  }

  .wpcf7-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 18px;
  }

  .wpcf7-form > .hidden-fields-container,
  .wpcf7-form > p:nth-of-type(n+10),
  .wpcf7-form > .wpcf7-response-output {
    grid-column: 1 / -1;
  }
}

.contact-form-shell {
  border: 1px solid rgba(7, 23, 34, .06);
  box-shadow: 0 24px 60px rgba(7, 23, 34, .08);
}

.wpcf7 p { margin: 0 0 22px; }

.wpcf7 label {
  display: block;
  color: #334852;
  font-size: .95rem;
  font-weight: 700;
  line-height: 1.45;
}

.wpcf7 .wpcf7-form-control-wrap {
  display: block;
  margin-top: 8px;
}

.wpcf7 input:not([type="checkbox"]):not([type="radio"]),
.wpcf7 textarea,
.wpcf7 select {
  width: 100%;
  max-width: 100%;
  border: 1px solid #cbd6da;
  border-radius: 0;
  background: #fff;
  color: #102532;
  font: inherit;
  line-height: 1.4;
  transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.wpcf7 input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="submit"]),
.wpcf7 select {
  min-height: 52px;
  padding: 13px 15px;
}

.wpcf7 textarea {
  min-height: 170px;
  padding: 14px 15px;
  resize: vertical;
}

.wpcf7 input::placeholder,
.wpcf7 textarea::placeholder { color: #71818a; opacity: 1; }

.wpcf7 input:not([type="checkbox"]):not([type="radio"]):focus,
.wpcf7 textarea:focus,
.wpcf7 select:focus {
  border-color: #af8b2f;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(240, 200, 90, .24);
  outline: 0;
}

.wpcf7 input[type="file"] {
  min-height: 52px;
  padding: 10px 12px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #cbd6da;
}

.wpcf7 input[type="submit"] {
  min-height: 54px;
  width: auto;
  padding: 0 26px;
  border: 1px solid #d9ad3d;
  background: #d9ad3d;
  color: #071722;
  cursor: pointer;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.wpcf7 input[type="submit"]:hover {
  border-color: #bf9225;
  background: #bf9225;
}

.wpcf7 input[type="submit"]:disabled {
  cursor: wait;
  opacity: .7;
}

.wpcf7 .wpcf7-not-valid-tip {
  margin-top: 7px;
  color: #a12a2a;
  font-size: .88rem;
  font-weight: 650;
}

.wpcf7 form .wpcf7-response-output {
  margin: 22px 0 0;
  padding: 14px 16px;
  border-width: 1px;
  background: #fff;
  font-size: .94rem;
  line-height: 1.55;
}

@media (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 76px; }
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .main-nav.open { max-height: calc(100dvh - 76px); overflow-y: auto; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .service-visual-card:hover { transform: none; }
  .section { padding-top: 60px; padding-bottom: 60px; }
  .split { gap: 42px; }
  .contact-layout { grid-template-columns: minmax(0, 1fr); }
  .contact-form-shell { padding: 30px 20px; }
  .wpcf7 input[type="submit"] { width: 100%; }
  .metrics > * { min-height: 104px; }
  .visual-page-hero::after { background-size: 32px 32px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .service-visual-card:hover,
  .service-visual-card:hover .service-card-media { transform: none; }
}

/*
 * Compact vertical rhythm
 * Keeps the corporate scale while removing the oversized blank areas that
 * made long service and company pages feel disconnected.
 */
.section {
  padding-top: 72px;
  padding-bottom: 72px;
}

.section-head { margin-bottom: 30px; }

.service-card-body {
  min-height: 225px;
  padding: 24px 24px 22px;
}

.dark-section .split { gap: 64px; }

.inline-cta,
.cta {
  margin-top: 48px;
  padding: 36px;
}

.site-footer { padding-top: 54px; }
.footer-bottom { margin-top: 36px; }
.content-lead { padding-bottom: 56px; }

.content-lead h2,
.corporate-page .split h2,
.dark-section h2 {
  font-size: clamp(2.45rem, 4.25vw, 4.8rem);
  line-height: 1.04;
}

.inline-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 32px;
}

.inline-cta .btn {
  min-width: max-content;
  white-space: nowrap;
}

@media (min-width: 761px) {
  .service-visual-grid > .service-visual-card:last-child:nth-child(3n + 1) {
    grid-column: 2;
  }
}

/* Tablet and landscape-phone hero. The source photo contains a large brand
 * watermark on its far-left edge; shift the crop before the desktop layout
 * takes over so it never competes with the heading. */
@media (min-width: 761px) and (max-width: 980px) {
  .visual-home-hero {
    min-height: 640px;
    background-position: 72% center;
  }

  .visual-home-hero h1 {
    max-width: 680px;
    font-size: clamp(3rem, 6.8vw, 3.55rem);
    line-height: 1.02;
    overflow-wrap: anywhere;
  }

  .visual-home-hero .hero-kicker { max-width: 100%; }
}

.feature-grid,
.content-band,
.two-column-detail,
.project-grid,
.contact-layout { margin-bottom: 72px; }

.locations-section {
  margin-top: 52px;
  padding-top: 48px;
}

@media (max-width: 760px) {
  .section {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .section-head { margin-bottom: 24px; }
  .split { gap: 30px; }

  .service-card-body {
    min-height: 0;
    padding: 21px 20px;
  }

  .inline-cta,
  .cta {
    margin-top: 36px;
    padding: 25px 21px;
  }

  .site-footer { padding-top: 44px; }
  .footer-grid { gap: 36px; }
  .footer-bottom { margin-top: 30px; }
  .content-lead { padding-bottom: 42px; }

  .feature-grid,
  .content-band,
  .two-column-detail,
  .project-grid,
  .contact-layout { margin-bottom: 52px; }

  .locations-section {
    margin-top: 38px;
    padding-top: 34px;
  }

  .inline-cta {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }
}

/*
 * Balanced wide-screen composition
 * The parent theme uses a 1420px canvas and viewport-driven headings. On large
 * desktop displays this makes lines, cards and CTA panels feel oversized. Keep
 * full-bleed photography and dark bands, but constrain the readable content.
 */
@media (min-width: 1200px) {
  .container {
    width: min(1240px, calc(100% - 96px));
  }

  .visual-home-hero { min-height: 640px; height: min(72vh, 720px); }
  .visual-home-hero h1 {
    max-width: 820px;
    font-size: clamp(3.6rem, 4.6vw, 4.35rem);
    line-height: 1.02;
  }

  .content-lead h2,
  .corporate-page .split h2,
  .dark-section h2,
  .section-head h2,
  .cta h2 {
    font-size: clamp(2.75rem, 3.55vw, 3.65rem);
    line-height: 1.06;
  }

  .section {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .metrics > * { min-height: 112px; }
  .dark-section .split { gap: 52px; }

  .service-visual-grid { gap: 24px; }
  .service-card-body {
    min-height: 218px;
    padding: 22px 22px 20px;
  }

  .service-card-body h3 { font-size: clamp(1.65rem, 2vw, 2rem); }

  .inline-cta,
  .cta {
    margin-top: 38px;
    padding: 30px 32px;
  }

  .site-footer { padding-top: 46px; }
  .footer-grid { gap: 42px; }
  .footer-bottom { margin-top: 28px; }
}

@media (min-width: 1800px) {
  .container { width: 1240px; }
  .visual-home-hero h1 { font-size: 4.15rem; }
  .section { padding-top: 60px; padding-bottom: 60px; }
}

/* Mobile hero: keep the real field worker in frame and move the decorative
 * watermark embedded in the source photograph outside the visible crop. */
@media (max-width: 760px) {
  .visual-home-hero {
    min-height: 610px;
    height: auto;
    background-position: 72% center;
  }

  .visual-home-hero h1 {
    max-width: 100%;
    font-size: clamp(2.25rem, 10.2vw, 2.7rem);
    line-height: 1.03;
    overflow-wrap: anywhere;
  }

  .visual-home-hero .hero-kicker {
    max-width: 100%;
    font-size: .69rem;
    line-height: 1.45;
  }

  .visual-home-hero .hero-actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
  }

  .principles {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .principles > div {
    min-height: 108px;
    padding: 21px 22px;
  }

  .principles > div::after {
    top: 18px;
    right: 19px;
  }
}

/* 3.7.8 banner treatment — final page-hero cascade */
.visual-page-hero { background-position: 62% center !important; }
.visual-page-hero .hero-shade {
  background: linear-gradient(90deg, #06141d 0%, #06141d 38%, rgba(6,20,29,.96) 48%, rgba(6,20,29,.72) 64%, rgba(6,20,29,.2) 100%) !important;
}
@media (max-width: 760px) {
  .visual-page-hero { background-position: 72% center !important; }
  .visual-page-hero .hero-shade {
    background: linear-gradient(90deg, rgba(6,20,29,.99) 0%, rgba(6,20,29,.96) 62%, rgba(6,20,29,.76) 100%) !important;
  }
}

/* 3.7.7 final menu cascade */
@media (min-width: 1101px) {
  .nav-list > li.seenopex-services-menu > .sub-menu {
    width: min(1080px, calc(100vw - 56px));
    min-height: 0;
    padding: 18px 18px 18px 292px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px 11px;
    counter-reset: service-menu;
    border-radius: 0 0 8px 8px;
  }
  .nav-list > li.seenopex-services-menu > .sub-menu::before {
    content: "FIELD-READY CAPABILITIES\A Inspection · Engineering\A Maintenance · Training";
    width: 268px;
    padding: 104px 25px 26px;
    font-size: 12px;
    line-height: 1.75;
    letter-spacing: .035em;
    background: linear-gradient(180deg, rgba(7,23,34,.18), rgba(7,23,34,.96)), url("../../../seenopex-global-10/assets/images/headers/our-services.jpg") center/cover no-repeat;
  }
  .nav-list > li.seenopex-services-menu > .sub-menu::after {
    content: "OUR SERVICES";
    left: 25px;
    top: 34px;
    bottom: auto;
    font-size: 24px;
  }
  .nav-list > li.seenopex-services-menu > .sub-menu > li {
    min-width: 0;
    counter-increment: service-menu;
    border-radius: 3px;
    box-shadow: none;
  }
  .nav-list > li.seenopex-services-menu > .sub-menu > li > a {
    min-height: 54px;
    padding: 10px 31px 10px 48px;
    font-size: 12.5px;
    line-height: 1.3;
  }
  .nav-list > li.seenopex-services-menu > .sub-menu > li > a::before {
    content: counter(service-menu, decimal-leading-zero);
    left: 13px;
    width: 27px;
    height: auto;
    border: 0;
    color: #9a741a;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .08em;
    transform: translateY(-50%);
  }
  .nav-list > li.seenopex-services-menu > .sub-menu > li > a::after {
    content: "↗";
    position: absolute;
    top: 50%;
    right: 12px;
    color: rgba(154,116,26,.7);
    font-size: 12px;
    transform: translateY(-50%);
  }
  .nav-list > li.seenopex-services-menu > .sub-menu > li > a:hover { padding-left: 48px; }
}

@media (max-width: 1100px) {
  .main-nav { padding: 14px 20px 28px; }
  .nav-list { width: min(100%, 760px); margin: 0 auto; }
  .nav-list > li.submenu-open > .submenu-toggle { color: #8f6818; transform: rotate(180deg); }
  .nav-list > li.seenopex-services-menu > .sub-menu,
  .nav-list > li.seenopex-services-menu.submenu-open > .sub-menu {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    margin: 0 0 14px;
    padding: 11px;
    border: 1px solid #e1e7e9;
    border-left: 3px solid var(--brand-accent);
    border-radius: 5px;
    background: #f5f7f7;
  }
  .nav-list > li.seenopex-services-menu > .sub-menu > li {
    border: 1px solid #e2e8ea !important;
    border-radius: 3px;
    background: #fff;
  }
  .nav-list > li.seenopex-services-menu > .sub-menu > li > a {
    min-height: 44px;
    padding: 8px 25px 8px 29px;
    font-size: 12.5px;
    line-height: 1.3;
  }
}

@media (max-width: 640px) {
  .nav-list > li.seenopex-services-menu > .sub-menu,
  .nav-list > li.seenopex-services-menu.submenu-open > .sub-menu { grid-template-columns: 1fr; }
}

