/* Sinotech Marine — matched to portal.sinotechmarine.com brand tokens */

:root {
  --st-navy: #0c5c94;
  --st-navy-mid: #0a4f7c;
  --st-cyan: #4d8fbd;
  --st-accent: #2f6f9e;
  --st-sky: #2f6f9e;
  --st-bg: #eef3f8;
  --st-text: #1b2a4a;
  --st-muted: #334155;
  --st-border: #d7e0ea;
  --st-card: #ffffff;
  --st-on-dark: #ffffff;
  --st-on-dark-soft: #e8f2f9;
  --st-on-dark-muted: #c5d9ea;
  --st-on-dark-accent: #9ed7f2;
  --st-placeholder: #475569;
  --st-radius: 8px;
  --st-radius-lg: 14px;
  --st-shadow: 0 10px 30px rgba(12, 92, 148, 0.08);
  --st-container: 1120px;
  --st-header-h: 72px;
  --st-topbar-h: 36px;
  --st-header-offset: calc(var(--st-topbar-h) + var(--st-header-h));
  --font: Inter, "Segoe UI", Roboto, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.stm-theme {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--st-text);
  background: var(--st-bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--st-navy);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--st-accent);
}

h1, h2, h3, h4 {
  font-family: var(--font);
  color: var(--st-text);
  line-height: 1.2;
  margin: 0 0 0.6em;
  font-weight: 700;
}

p {
  margin: 0 0 1em;
  color: var(--st-muted);
}

.stm-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--st-navy);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 10000;
}

.stm-skip:focus {
  left: 1rem;
  top: 1rem;
}

.stm-container {
  width: min(100% - 2.5rem, var(--st-container));
  margin-inline: auto;
}

/* Header */
.stm-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.stm-header.is-scrolled {
  border-bottom-color: rgba(12, 92, 148, 0.08);
  box-shadow: 0 1px 0 rgba(12, 92, 148, 0.06);
}

.stm-topbar {
  background: #0a4a73;
  color: rgba(255, 255, 255, 0.92);
  font-size: 12.5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.stm-topbar__inner {
  width: min(100% - 2rem, var(--st-container));
  margin-inline: auto;
  min-height: var(--st-topbar-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.stm-topbar__label {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  white-space: nowrap;
}

.stm-topbar__status {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #7dd3a7;
  box-shadow: 0 0 0 3px rgba(125, 211, 167, 0.22);
}

.stm-topbar__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0;
}

.stm-topbar__sep {
  width: 1px;
  height: 12px;
  margin: 0 0.85rem;
  background: rgba(255, 255, 255, 0.22);
}

.stm-topbar__link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: rgba(255, 255, 255, 0.94);
  font-weight: 500;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s ease;
}

.stm-topbar__link:hover {
  color: #fff;
}

.stm-topbar__link:hover .stm-topbar__text {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

.stm-topbar__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
}

.stm-topbar__text {
  line-height: 1;
}

.stm-header__inner {
  width: min(100% - 2rem, var(--st-container));
  margin-inline: auto;
  height: var(--st-header-h);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.stm-logo img {
  height: 42px;
  width: auto;
}

.stm-nav {
  margin-left: auto;
}

.stm-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.stm-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 0.85rem;
  font-size: 14px;
  font-weight: 500;
  color: var(--st-navy);
  border-radius: 6px;
}

.stm-nav__caret {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  opacity: 0.55;
}

.stm-nav__link:hover,
.stm-nav__item.is-active > .stm-nav__link {
  background: rgba(12, 92, 148, 0.06);
  color: var(--st-navy-mid);
}

.stm-nav__item {
  position: relative;
}

.stm-nav__sub {
  list-style: none;
  margin: 0;
  padding: 0.5rem;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 240px;
  background: var(--st-card);
  border: 1px solid var(--st-border);
  border-radius: var(--st-radius);
  box-shadow: var(--st-shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 20;
}

.stm-nav__sub--wide {
  display: grid;
  grid-template-columns: repeat(2, minmax(140px, 1fr));
  gap: 0.1rem;
  min-width: 360px;
  padding: 0.65rem;
}

.stm-nav__item:hover > .stm-nav__sub,
.stm-nav__item:focus-within > .stm-nav__sub {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.stm-nav__sub-link {
  display: block;
  padding: 0.55rem 0.75rem;
  font-size: 13px;
  font-weight: 500;
  color: var(--st-muted);
  border-radius: 6px;
}

.stm-nav__sub-link:hover {
  background: var(--st-bg);
  color: var(--st-navy);
}

.stm-header__actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.stm-nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--st-border);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  padding: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.stm-nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--st-navy);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

body.nav-open .stm-nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

body.nav-open .stm-nav-toggle span:nth-child(2) {
  opacity: 0;
}

body.nav-open .stm-nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Buttons */
.stm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.8rem 1.25rem;
  border-radius: 6px;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.stm-btn:hover {
  transform: translateY(-1px);
}

.stm-btn--sm {
  padding: 0.55rem 0.95rem;
  font-size: 13px;
}

.stm-btn--primary {
  background: var(--st-navy);
  color: #fff;
}

.stm-btn--primary:hover {
  background: var(--st-navy-mid);
  color: #fff;
}

.stm-btn--ghost {
  background: transparent;
  color: var(--st-navy);
  border-color: var(--st-navy);
}

.stm-btn--ghost:hover {
  background: var(--st-navy);
  color: #fff;
}

.stm-btn--light {
  background: #fff;
  color: var(--st-navy);
}

.stm-btn--light:hover {
  background: var(--st-on-dark-soft);
  color: var(--st-navy-mid);
}

.stm-btn--outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}

.stm-btn--outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: #fff;
}

.stm-text-link {
  font-weight: 600;
  font-size: 14px;
  color: var(--st-navy);
}

.stm-text-link:hover {
  color: var(--st-accent);
}

/* Hero */
.stm-hero {
  position: relative;
  min-height: min(88vh, 720px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--st-on-dark);
  background: linear-gradient(165deg, #0f5388 0%, #0c5c94 48%, #4d8fbd 100%);
}

.stm-hero__media {
  position: absolute;
  inset: 0;
}

.stm-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  opacity: 0.55;
  transform: scale(1.04);
  animation: stm-hero-ken 18s ease-out forwards;
}

@keyframes stm-hero-ken {
  to { transform: scale(1); }
}

.stm-hero__wash {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(15, 83, 136, 0.88) 0%, rgba(12, 92, 148, 0.62) 45%, rgba(12, 92, 148, 0.28) 100%),
    linear-gradient(to top, rgba(10, 79, 124, 0.55), transparent 48%);
}

.stm-hero__content {
  position: relative;
  z-index: 1;
  padding: 5.5rem 0 4.5rem;
  max-width: 720px;
  margin-left: max(1.25rem, calc((100% - var(--st-container)) / 2));
  margin-right: auto;
  animation: stm-fade-up 0.8s ease both;
}

@keyframes stm-fade-up {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.stm-hero .stm-kicker {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #c5e8f7;
  margin: 0 0 0.85rem;
}

.stm-hero .stm-brand-mark {
  margin: 0 0 0.35rem;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #ffffff;
  line-height: 1.1;
}

.stm-hero h1.stm-hero__title {
  margin: 0 0 0.85rem;
  font-size: clamp(1.65rem, 3.2vw, 2.35rem);
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.stm-hero .stm-hero__lead {
  margin: 0 0 1.6rem;
  max-width: 36rem;
  font-size: 15px;
  line-height: 1.55;
  color: #e8f2f9;
}

.stm-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Stats */
.stm-stats {
  background: var(--st-card);
  border-bottom: 1px solid var(--st-border);
}

.stm-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 2rem 0;
}

.stm-stat {
  text-align: center;
  padding: 0.5rem;
}

.stm-stat__value,
.stm-stat__suffix {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--st-navy);
  letter-spacing: -0.02em;
}

.stm-stat__label {
  display: block;
  margin-top: 0.25rem;
  font-size: 13px;
  font-weight: 500;
  color: var(--st-muted);
}

/* Sections */
.stm-section {
  padding: 4.5rem 0;
}

.stm-section__head {
  max-width: 40rem;
  margin-bottom: 2.5rem;
}

.stm-section__head h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin-bottom: 0.5rem;
}

.stm-section__head p {
  margin: 0;
}

.stm-section__head--row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  max-width: none;
}

.stm-eyebrow {
  margin: 0 0 0.5rem;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--st-sky);
}

/* About */
.stm-about {
  background: var(--st-card);
}

.stm-about__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.stm-about__copy h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
}

.stm-about__figure {
  margin: 0;
  background: linear-gradient(165deg, #0f5388 0%, #0c5c94 48%, #4d8fbd 100%);
  border-radius: var(--st-radius-lg);
  padding: 2rem;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stm-about__figure img {
  width: 100%;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.2));
}

/* Services */
.stm-services {
  background: var(--st-bg);
}

.stm-services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--st-border);
  border: 1px solid var(--st-border);
  border-radius: var(--st-radius-lg);
  overflow: hidden;
}

.stm-service {
  display: block;
  background: var(--st-card);
  padding: 1.75rem 1.5rem 1.5rem;
  color: inherit;
  text-decoration: none;
  transition: background 0.2s ease;
}

.stm-service:hover {
  background: #f7fbfe;
  color: inherit;
}

.stm-service__index {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--st-cyan);
  margin-bottom: 0.75rem;
}

.stm-service h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  color: var(--st-text);
}

.stm-service p {
  margin: 0 0 1rem;
  font-size: 14px;
}

.stm-service__more {
  font-size: 13px;
  font-weight: 600;
  color: var(--st-navy);
}

.stm-service:hover .stm-service__more {
  color: var(--st-accent);
}

/* Main service page — left child-services nav */
.stm-service-layout {
  background: var(--st-card);
  padding-top: 2.5rem;
}

.stm-service-layout__grid {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 2.5rem;
  align-items: start;
}

.stm-service-layout__aside {
  position: sticky;
  top: calc(var(--st-header-offset) + 1rem);
}

.stm-service-layout__card {
  border: 1px solid var(--st-border);
  border-radius: var(--st-radius-lg);
  padding: 1.2rem 1.25rem;
  background: var(--st-bg);
}

.stm-service-layout__card h2 {
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--st-navy);
  margin: 0 0 0.85rem;
}

.stm-service-layout__card h2 a {
  color: inherit;
}

.stm-service-layout__card h2 a:hover {
  color: var(--st-accent);
}

.stm-service-layout__nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.15rem;
}

.stm-service-layout__nav a {
  display: block;
  padding: 0.5rem 0.65rem;
  border-radius: var(--st-radius);
  font-size: 14px;
  font-weight: 600;
  color: var(--st-text);
  line-height: 1.35;
  transition: background 0.15s ease, color 0.15s ease;
}

.stm-service-layout__nav li.is-active a,
.stm-service-layout__nav a:hover {
  background: #fff;
  color: var(--st-navy);
}

.stm-service-layout__all {
  display: inline-block;
  margin-top: 0.85rem;
  font-size: 13px;
  font-weight: 600;
  color: var(--st-accent);
}

.stm-service-layout__all:hover {
  color: var(--st-navy);
}

.stm-service-layout__content {
  min-width: 0;
  max-width: 760px;
}

.stm-service-layout__content > *:first-child {
  margin-top: 0;
}

@media (max-width: 960px) {
  .stm-service-layout__grid {
    grid-template-columns: 1fr;
  }

  .stm-service-layout__aside {
    position: static;
    order: -1;
  }

  .stm-service-layout__nav {
    grid-template-columns: 1fr 1fr;
    gap: 0.25rem 0.5rem;
  }
}

@media (max-width: 640px) {
  .stm-service-layout__nav {
    grid-template-columns: 1fr;
  }
}

/* Why */
.stm-why {
  background: var(--st-card);
}

.stm-why__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem 2rem;
}

.stm-why__grid li {
  padding-top: 1rem;
  border-top: 2px solid var(--st-navy);
}

.stm-why__grid strong {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 15px;
  color: var(--st-text);
}

.stm-why__grid span {
  font-size: 14px;
  color: var(--st-muted);
  line-height: 1.5;
}

/* Testimonials */
.stm-testimonials {
  background: linear-gradient(165deg, #0f5388 0%, #0c5c94 55%, #4d8fbd 100%);
  color: #fff;
}

.stm-testimonials .stm-eyebrow {
  color: var(--st-on-dark-accent);
}

.stm-testimonials h2,
.stm-testimonials .stm-section__head p {
  color: var(--st-on-dark);
}

.stm-quotes {
  position: relative;
  min-height: 200px;
}

.stm-quote {
  margin: 0;
  display: none;
  animation: stm-fade-up 0.45s ease both;
}

.stm-quote.is-active {
  display: block;
}

.stm-quote p {
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.55;
  color: var(--st-on-dark-soft);
  margin: 0 0 1.25rem;
  max-width: 48rem;
}

.stm-quote cite {
  display: block;
  font-style: normal;
  font-weight: 600;
  color: #fff;
}

.stm-quote footer span {
  font-size: 13px;
  color: var(--st-on-dark-muted);
}

.stm-quotes__nav {
  display: flex;
  gap: 0.5rem;
  margin-top: 1.75rem;
}

.stm-quotes__nav button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.65);
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.stm-quotes__nav button.is-active {
  background: #fff;
  border-color: #fff;
}

/* Clients */
.stm-clients {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(12, 92, 148, 0.07), transparent 60%),
    linear-gradient(180deg, #f4f8fc 0%, var(--st-bg) 100%);
  padding-top: 4rem;
  padding-bottom: 4rem;
  border-block: 1px solid var(--st-border);
}

.stm-clients__wash {
  position: absolute;
  inset: auto 0 -40% 0;
  height: 70%;
  background: radial-gradient(ellipse at 50% 100%, rgba(47, 111, 158, 0.08), transparent 65%);
  pointer-events: none;
}

.stm-clients .stm-section__head p:not(.stm-eyebrow) {
  color: var(--st-muted);
}

.stm-clients__marquee {
  position: relative;
  margin-top: 0.25rem;
  overflow: hidden;
}

.stm-clients__fade {
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(2.5rem, 8vw, 6rem);
  z-index: 2;
  pointer-events: none;
}

.stm-clients__fade--start {
  left: 0;
  background: linear-gradient(90deg, #f4f8fc, transparent);
}

.stm-clients__fade--end {
  right: 0;
  background: linear-gradient(270deg, #f4f8fc, transparent);
}

.stm-clients__rail {
  display: flex;
  width: max-content;
  animation: stm-clients-scroll 48s linear infinite;
}

.stm-clients__marquee:hover .stm-clients__rail {
  animation-play-state: paused;
}

.stm-clients__group {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 1.5rem);
  padding-inline: clamp(0.5rem, 1.25vw, 0.85rem);
}

.stm-clients__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 7.25rem;
  height: 4.25rem;
}

.stm-clients__logo img {
  display: block;
  width: auto;
  height: auto;
  max-width: 6.75rem;
  max-height: 3.25rem;
  object-fit: contain;
  object-position: center;
  opacity: 1;
  filter: none;
  transition: transform 0.25s ease;
}

.stm-clients__logo:hover img {
  transform: scale(1.05);
}

@keyframes stm-clients-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 640px) {
  .stm-clients {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .stm-clients__logo {
    width: 6.25rem;
    height: 3.65rem;
  }

  .stm-clients__logo img {
    max-height: 2.75rem;
    max-width: 5.75rem;
  }

  .stm-clients__group {
    gap: 0.85rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .stm-clients__rail {
    animation: none;
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .stm-clients__group + .stm-clients__group {
    display: none;
  }

  .stm-clients__fade {
    display: none;
  }
}

/* Insights */
.stm-insights {
  background: var(--st-bg);
}

.stm-insights__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.stm-insight {
  background: var(--st-card);
  border: 1px solid var(--st-border);
  border-radius: var(--st-radius-lg);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.stm-insight:hover {
  border-color: var(--st-cyan);
  box-shadow: var(--st-shadow);
}

.stm-insight__link {
  display: block;
  color: inherit;
  height: 100%;
}

.stm-insight__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--st-bg);
}

.stm-insight__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.stm-insight:hover .stm-insight__media img {
  transform: scale(1.04);
}

.stm-insight__body {
  padding: 1.15rem 1.25rem 1.35rem;
}

.stm-insight time {
  font-size: 12px;
  font-weight: 600;
  color: var(--st-sky);
}

.stm-insight h3 {
  font-size: 1.05rem;
  margin: 0.4rem 0 0.5rem;
}

.stm-insight p {
  margin: 0;
  font-size: 14px;
}

/* CTA */
.stm-cta {
  background: linear-gradient(165deg, #0f5388 0%, #0c5c94 48%, #4d8fbd 100%);
  padding: 3.5rem 0;
}

.stm-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.stm-cta h2 {
  color: #fff;
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
  margin-bottom: 0.4rem;
}

.stm-cta p {
  color: var(--st-on-dark-soft);
  margin: 0;
  max-width: 36rem;
}

.stm-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  flex-shrink: 0;
}

/* Footer */
.stm-footer {
  background: var(--st-card);
  border-top: 1px solid var(--st-border);
  padding-top: 3.5rem;
}

.stm-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
}

.stm-footer__logo img {
  height: 40px;
  width: auto;
  margin-bottom: 1rem;
}

.stm-footer__brand p {
  font-size: 14px;
}

.stm-footer__contact {
  margin-top: 1rem;
}

.stm-footer__contact a {
  font-weight: 500;
}

.stm-footer__title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--st-navy);
  margin-bottom: 1rem;
}

.stm-footer__links + .stm-footer__title {
  margin-top: 1.5rem;
}

.stm-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.stm-footer__links a {
  display: inline-block;
  padding: 0.3rem 0;
  font-size: 14px;
  color: var(--st-muted);
}

.stm-footer__links a:hover {
  color: var(--st-navy);
}

.stm-footer__address {
  margin-top: 0;
  font-size: 13px;
  color: var(--st-placeholder);
}

.stm-footer__bar {
  background: var(--st-navy);
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
}

.stm-footer__bar-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  flex-wrap: wrap;
}

.stm-footer__bar p {
  margin: 0;
  color: inherit;
}

/* Reveal animation — visible by default; hide only when JS is ready */
[data-reveal] {
  opacity: 1;
  transform: none;
}

html.js-ready [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

html.js-ready [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* Inner pages */
.stm-page-hero {
  background: linear-gradient(165deg, #0f5388 0%, #0c5c94 48%, #4d8fbd 100%);
  color: #fff;
  padding: 2.75rem 0 2.4rem;
}

.stm-page-hero h1 {
  color: #fff;
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.stm-page-hero .stm-kicker {
  display: inline-block;
  margin: 0 0 0.65rem;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--st-on-dark-accent);
}

.stm-page-hero__lead {
  margin: 0.75rem 0 0;
  max-width: 40rem;
  font-size: 15px;
  line-height: 1.55;
  color: var(--st-on-dark-soft);
}

.stm-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.85rem;
  font-size: 12px;
  font-weight: 500;
  color: var(--st-on-dark-muted);
}

.stm-breadcrumbs a {
  color: var(--st-on-dark-accent);
}

.stm-breadcrumbs a:hover {
  color: #fff;
}

.stm-content {
  background: var(--st-card);
  padding: 3rem 0 2rem;
}

.stm-content > .stm-container.stm-prose {
  max-width: 760px;
}

/* Single blog with right sidebar */
.stm-single__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 2.5rem;
  align-items: start;
}

.stm-single__main {
  min-width: 0;
}

.stm-single__meta {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--st-border);
}

.stm-single__tax {
  margin: 0 0 0.5rem;
  font-size: 14px;
  color: var(--st-muted);
}

.stm-single__tax span {
  font-weight: 600;
  color: var(--st-text);
}

.stm-single__tax a {
  color: var(--st-navy);
}

.stm-sidebar {
  display: grid;
  gap: 1rem;
  position: sticky;
  top: calc(var(--st-header-offset) + 1rem);
}

.stm-widget {
  padding: 1.15rem 1.2rem;
  border: 1px solid var(--st-border);
  border-radius: var(--st-radius-lg);
  background: var(--st-bg);
}

.stm-widget__title {
  margin: 0 0 0.85rem;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--st-navy);
}

.stm-widget p {
  margin: 0 0 0.85rem;
  font-size: 14px;
  color: var(--st-muted);
  line-height: 1.45;
}

.stm-widget__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.stm-widget__list a {
  display: block;
  color: var(--st-text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
}

.stm-widget__list a:hover {
  color: var(--st-navy);
}

.stm-widget__meta {
  display: block;
  margin-bottom: 0.15rem;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--st-muted);
}

.stm-widget__list--compact a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.35rem 0;
  border-bottom: 1px solid rgba(215, 224, 234, 0.7);
}

.stm-widget__list--compact li:last-child a {
  border-bottom: 0;
}

.stm-widget__count {
  flex: 0 0 auto;
  min-width: 1.5rem;
  padding: 0.1rem 0.4rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--st-border);
  color: var(--st-navy);
  font-size: 11px;
  font-weight: 700;
  text-align: center;
}

.stm-widget--cta .stm-btn {
  width: 100%;
  justify-content: center;
}

.stm-widget .search-form {
  display: flex;
  gap: 0.4rem;
}

.stm-widget .search-form label {
  flex: 1;
  margin: 0;
}

.stm-widget .search-form .search-field,
.stm-widget input[type="search"] {
  width: 100%;
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--st-border);
  border-radius: 6px;
  font-family: var(--font);
  font-size: 14px;
  background: #fff;
}

.stm-widget .search-form .search-submit,
.stm-widget input[type="submit"] {
  padding: 0.55rem 0.75rem;
  border: 0;
  border-radius: 6px;
  background: var(--st-navy);
  color: #fff;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.stm-widget ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.stm-widget li {
  margin: 0;
}

@media (max-width: 900px) {
  .stm-single__grid {
    grid-template-columns: 1fr;
  }

  .stm-sidebar {
    position: static;
  }
}


.stm-prose > *:first-child {
  margin-top: 0;
}

.stm-prose h2,
.stm-prose h3,
.stm-prose h4 {
  margin-top: 1.6em;
  color: var(--st-text);
}

.stm-prose p,
.stm-prose li {
  color: var(--st-muted);
  font-size: 15.5px;
  line-height: 1.65;
}

.stm-prose ul,
.stm-prose ol {
  padding-left: 1.2rem;
}

.stm-prose a {
  font-weight: 500;
}

.stm-prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 14px;
}

.stm-prose th,
.stm-prose td {
  border: 1px solid var(--st-border);
  padding: 0.65rem 0.75rem;
  text-align: left;
}

.stm-prose th {
  background: var(--st-bg);
  color: var(--st-text);
}

.stm-figure {
  margin: 1.5rem 0;
  border-radius: var(--st-radius-lg);
  overflow: hidden;
}

.stm-figure--hero {
  margin-top: 0;
}

.stm-figure img,
.stm-content-img {
  width: 100%;
  height: auto;
  display: block;
}

.stm-cta--compact {
  padding: 2.75rem 0;
}

.stm-cta--compact h2 {
  font-size: clamp(1.25rem, 2vw, 1.6rem);
}

/* Split vision/mission */
.stm-split-band {
  background: var(--st-bg);
}

.stm-split-band__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.stm-split-band article {
  background: var(--st-card);
  border: 1px solid var(--st-border);
  border-radius: var(--st-radius-lg);
  padding: 1.75rem;
}

.stm-split-band h2 {
  font-size: 1.25rem;
}

/* Links panel */
.stm-links-panel {
  background: var(--st-card);
}

.stm-links-panel__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

.stm-links-panel__grid a {
  display: block;
  padding: 1rem 1.1rem;
  border: 1px solid var(--st-border);
  border-radius: var(--st-radius);
  font-size: 14px;
  font-weight: 600;
  color: var(--st-text);
  background: var(--st-bg);
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.stm-links-panel__grid a:hover {
  border-color: var(--st-cyan);
  color: var(--st-navy);
  background: #fff;
}

/* Contact */
.stm-contact {
  background: var(--st-card);
}

.stm-contact__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: start;
}

.stm-contact__aside {
  display: grid;
  gap: 1rem;
}

.stm-contact__card {
  border: 1px solid var(--st-border);
  border-radius: var(--st-radius-lg);
  padding: 1.25rem 1.35rem;
  background: var(--st-bg);
}

.stm-contact__card h3 {
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--st-navy);
  margin: 0 0 0.65rem;
}

.stm-contact__card p {
  margin: 0 0 0.75rem;
  font-size: 14px;
}

.stm-contact__card p:last-child {
  margin-bottom: 0;
}

.stm-hotlines {
  list-style: none;
  margin: 0;
  padding: 0;
}

.stm-hotlines li {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--st-border);
  font-size: 14px;
}

.stm-hotlines li:last-child {
  border-bottom: 0;
}

.stm-hotlines span {
  color: var(--st-muted);
}

.stm-hotlines a {
  font-weight: 600;
  white-space: nowrap;
}

.stm-checklist {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
}

.stm-checklist li {
  position: relative;
  padding: 0.45rem 0 0.45rem 1.5rem;
  font-size: 14px;
  color: var(--st-muted);
}

.stm-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--st-navy);
}

/* Forms (CF7) */
.stm-form-shell {
  margin-top: 1.25rem;
  padding: 1.35rem;
  border: 1px solid var(--st-border);
  border-radius: var(--st-radius-lg);
  background: #fff;
}

.stm-form-shell .wpcf7-form label,
.stm-form-shell label {
  display: block;
  margin: 0 0 0.35rem;
  font-size: 13px;
  font-weight: 600;
  color: var(--st-text);
}

/* CF7 wraps hidden inputs in a fieldset — hide the default groove border box */
.stm-form-shell .wpcf7-form .hidden-fields-container,
.stm-form-shell--enquiry .wpcf7-form .hidden-fields-container,
.wpcf7 .hidden-fields-container {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.stm-form-shell input[type="text"],
.stm-form-shell input[type="email"],
.stm-form-shell input[type="tel"],
.stm-form-shell input[type="url"],
.stm-form-shell input[type="number"],
.stm-form-shell select,
.stm-form-shell textarea {
  width: 100%;
  margin-bottom: 0.9rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--st-border);
  border-radius: 6px;
  font-family: var(--font);
  font-size: 14px;
  color: var(--st-text);
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.stm-form-shell textarea {
  min-height: 120px;
  resize: vertical;
}

.stm-form-shell input:focus,
.stm-form-shell select:focus,
.stm-form-shell textarea:focus {
  outline: none;
  border-color: var(--st-cyan);
  box-shadow: 0 0 0 3px rgba(77, 143, 189, 0.2);
}

.stm-form-shell input[type="submit"],
.stm-form-shell .wpcf7-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.35rem;
  padding: 0.8rem 1.25rem;
  border: 0;
  border-radius: 6px;
  background: var(--st-navy);
  color: #fff;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.stm-form-shell input[type="submit"]:hover,
.stm-form-shell .wpcf7-submit:hover {
  background: var(--st-navy-mid);
}

.stm-form-shell .wpcf7-not-valid-tip,
.stm-form-shell .wpcf7-response-output {
  font-size: 13px;
}

.stm-form-shell .wpcf7-not-valid-tip {
  display: block;
  margin: -0.55rem 0 0.8rem;
  padding: 0.3rem 0.55rem 0.3rem 0.65rem;
  border: 0;
  border-left: 3px solid #dc2626;
  border-radius: 0 5px 5px 0;
  background: #fef2f2;
  color: #b91c1c;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
}

.stm-form-shell .wpcf7-not-valid {
  border-color: #ef4444 !important;
  background: #fff !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.14) !important;
}

.stm-form-shell .wpcf7-response-output {
  margin: 0.85rem 0 0;
  padding: 0.8rem 0.95rem;
  border-radius: 7px;
  border: 1px solid var(--st-border);
  background: var(--st-bg);
  color: var(--st-text);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
}

.stm-form-shell .wpcf7-form.invalid .wpcf7-response-output,
.stm-form-shell .wpcf7-form.unaccepted .wpcf7-response-output,
.stm-form-shell .wpcf7-form.failed .wpcf7-response-output {
  background: #fef2f2;
  border-color: #fecaca;
  color: #991b1b;
}

.stm-form-shell .wpcf7-form.sent .wpcf7-response-output {
  background: #ecfdf5;
  border-color: #a7f3d0;
  color: #065f46;
}

.stm-form-shell .wpcf7-form.spam .wpcf7-response-output {
  background: #fff7ed;
  border-color: #fed7aa;
  color: #9a3412;
}

.stm-form-shell .wpcf7-form.invalid .wpcf7-response-output::before,
.stm-form-shell .wpcf7-form.sent .wpcf7-response-output::before {
  display: inline-block;
  margin-right: 0.35rem;
  font-weight: 700;
}

.stm-form-shell .wpcf7-form.invalid .wpcf7-response-output::before {
  content: "!";
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  background: #dc2626;
  color: #fff;
  text-align: center;
  line-height: 1.15rem;
  font-size: 11px;
}

.stm-form-shell .wpcf7-form.sent .wpcf7-response-output::before {
  content: "✓";
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  background: #059669;
  color: #fff;
  text-align: center;
  line-height: 1.15rem;
  font-size: 11px;
}

.stm-form-shell .screen-reader-response {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Inspection Request modal */
body.stm-modal-open {
  overflow: hidden;
}

.stm-modal[hidden] {
  display: none !important;
}

.stm-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 1.25rem;
  overflow: auto;
}

.stm-modal__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(8, 32, 56, 0.68);
  backdrop-filter: blur(3px);
}

.stm-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 760px);
  margin: 3vh auto 2rem;
  padding: 0;
  overflow: hidden;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 28px 70px rgba(8, 32, 56, 0.32);
  animation: stm-fade-up 0.28s ease both;
}

.stm-modal__close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.15rem;
  height: 2.15rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.45rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.stm-modal__close:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.45);
}

.stm-modal__head {
  max-width: none;
  margin: 0;
  padding: 1.35rem 3.25rem 1.2rem 1.5rem;
  background:
    radial-gradient(ellipse 80% 120% at 100% 0%, rgba(77, 143, 189, 0.35), transparent 55%),
    linear-gradient(135deg, #0a4f7c 0%, var(--st-navy) 55%, #1a6fa8 100%);
  color: #fff;
}

.stm-modal__head .stm-eyebrow {
  color: rgba(255, 255, 255, 0.78);
}

.stm-modal__head h2 {
  margin: 0 0 0.4rem;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  color: #fff;
}

.stm-modal__head p:not(.stm-eyebrow) {
  margin: 0;
  color: rgba(232, 242, 249, 0.92);
  font-size: 14px;
  line-height: 1.45;
}

.stm-modal__body {
  padding: 1.25rem 1.5rem 1.4rem;
}

.stm-modal__body.stm-form-shell--enquiry {
  margin-top: 0;
  padding: 1.25rem 1.5rem 1.4rem;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.stm-form-shell--enquiry .wpcf7-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 1rem;
}

.stm-form-shell--enquiry .content-column {
  float: none;
  width: auto;
  margin: 0;
}

.stm-form-shell--enquiry .content-column.last_column {
  float: none;
}

.stm-form-shell--enquiry .clear_column {
  display: none;
}

.stm-form-shell--enquiry .message,
.stm-form-shell--enquiry .marine,
.stm-form-shell--enquiry .text-center,
.stm-form-shell--enquiry .wpcf7-response-output,
.stm-form-shell--enquiry .wpcf7-form > div:not(.content-column):not(.clear_column):not(.message):not(.text-center) {
  grid-column: 1 / -1;
}

.stm-form-shell--enquiry label {
  margin-bottom: 0.3rem;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--st-navy-mid);
}

.stm-form-shell--enquiry .red-imp {
  color: #dc2626;
  font-weight: 700;
}

.stm-form-shell--enquiry input[type="text"],
.stm-form-shell--enquiry input[type="email"],
.stm-form-shell--enquiry input[type="tel"],
.stm-form-shell--enquiry input[type="url"],
.stm-form-shell--enquiry input[type="number"],
.stm-form-shell--enquiry input[type="date"],
.stm-form-shell--enquiry select,
.stm-form-shell--enquiry textarea {
  margin-bottom: 0.85rem;
  padding: 0.72rem 0.85rem;
  border: 1px solid #c9d6e4;
  border-radius: 7px;
  background: #f8fafc;
  box-shadow: inset 0 1px 1px rgba(15, 40, 70, 0.03);
}

.stm-form-shell--enquiry input:hover,
.stm-form-shell--enquiry select:hover,
.stm-form-shell--enquiry textarea:hover {
  border-color: #a8bdd1;
}

.stm-form-shell--enquiry input:focus,
.stm-form-shell--enquiry select:focus,
.stm-form-shell--enquiry textarea:focus {
  background: #fff;
  border-color: var(--st-navy);
  box-shadow: 0 0 0 3px rgba(12, 92, 148, 0.16);
}

.stm-form-shell--enquiry textarea {
  min-height: 96px;
}

.stm-form-shell--enquiry .wpcf7-form-control-wrap {
  display: block;
}

.stm-form-shell--enquiry .wpcf7-not-valid-tip {
  margin: -0.55rem 0 0.8rem;
  padding: 0.3rem 0.55rem 0.3rem 0.65rem;
  border: 0;
  border-left: 3px solid #dc2626;
  border-radius: 0 5px 5px 0;
  background: #fef2f2;
  color: #b91c1c;
  font-size: 12px;
  font-weight: 600;
}

.stm-form-shell--enquiry .wpcf7-not-valid {
  border-color: #ef4444 !important;
  background: #fff !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.14) !important;
}

.stm-form-shell--enquiry .marine {
  margin: 0.15rem 0 0.35rem;
  padding: 0.7rem 0.85rem;
  border-radius: 7px;
  background: var(--st-bg);
  border: 1px solid var(--st-border);
  font-size: 12px;
  color: var(--st-muted);
  line-height: 1.45;
}

.stm-form-shell--enquiry .marine a {
  color: var(--st-navy);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.stm-form-shell--enquiry .text-center {
  text-align: stretch;
  margin-top: 0.35rem;
}

.stm-form-shell--enquiry .wpcf7-submit {
  width: 100%;
  margin-top: 0.15rem;
  padding: 0.9rem 1.25rem;
  border-radius: 7px;
  background: linear-gradient(180deg, #1270ad 0%, var(--st-navy) 100%);
  font-size: 15px;
  letter-spacing: 0.02em;
  box-shadow: 0 8px 18px rgba(12, 92, 148, 0.22);
}

.stm-form-shell--enquiry .wpcf7-submit:hover {
  background: linear-gradient(180deg, #0e649b 0%, var(--st-navy-mid) 100%);
}

.stm-form-shell--enquiry .wpcf7-spinner {
  margin-left: 0.5rem;
}

.stm-form-shell--enquiry .wpcf7-response-output {
  margin: 0.35rem 0 0.15rem;
  padding: 0.8rem 0.95rem;
  border-radius: 7px;
  font-size: 13px;
}

.stm-form-shell--enquiry .wpcf7-form.invalid .wpcf7-response-output::before,
.stm-form-shell--enquiry .wpcf7-form.sent .wpcf7-response-output::before {
  display: inline-block;
  margin-right: 0.35rem;
  font-weight: 700;
}

.stm-form-shell--enquiry .wpcf7-form.invalid .wpcf7-response-output::before {
  content: "!";
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  background: #dc2626;
  color: #fff;
  text-align: center;
  line-height: 1.15rem;
  font-size: 11px;
}

.stm-form-shell--enquiry .wpcf7-form.sent .wpcf7-response-output::before {
  content: "✓";
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  background: #059669;
  color: #fff;
  text-align: center;
  line-height: 1.15rem;
  font-size: 11px;
}

/* Country / phone plugin widgets inside modal */
.stm-form-shell--enquiry .iti,
.stm-form-shell--enquiry .country-select,
.stm-form-shell--enquiry .wpcf7-form-control-wrap[data-name="country-list"] {
  display: block;
  margin-bottom: 0.85rem;
}

.stm-form-shell--enquiry .iti input,
.stm-form-shell--enquiry .country-select input,
.stm-form-shell--enquiry .wpcf7-form-control-wrap[data-name="country-list"] input {
  margin-bottom: 0;
}

.stm-form-shell--enquiry .wpcf7-form-control-wrap[data-name="country-list"] .wpcf7-not-valid-tip {
  margin-top: 0.35rem;
}

@media (max-width: 700px) {
  .stm-modal {
    padding: 0.65rem;
  }

  .stm-modal__dialog {
    margin-top: 0.75vh;
  }

  .stm-modal__head {
    padding: 1.15rem 3rem 1rem 1.15rem;
  }

  .stm-modal__body {
    padding: 1rem 1.1rem 1.15rem;
  }

  .stm-form-shell--enquiry .wpcf7-form {
    grid-template-columns: 1fr;
  }

  .stm-form-shell--enquiry .content-column,
  .stm-form-shell--enquiry .content-column.last_column {
    width: 100%;
  }
}


/* Global presence */
.stm-presence-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}

.stm-presence-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.2rem;
  border: 1px solid var(--st-border);
  border-radius: var(--st-radius);
  background: var(--st-card);
  color: var(--st-text);
  text-decoration: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.stm-presence-card:hover {
  border-color: var(--st-cyan);
  box-shadow: var(--st-shadow);
  color: var(--st-navy);
}

.stm-presence-card span {
  font-weight: 600;
  font-size: 15px;
}

.stm-presence-card em {
  font-style: normal;
  font-size: 12px;
  font-weight: 600;
  color: var(--st-sky);
}

.stm-pagination {
  margin-top: 2rem;
}

.stm-pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.stm-pagination a,
.stm-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 0.6rem;
  border: 1px solid var(--st-border);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--st-navy);
  background: #fff;
}

.stm-pagination .current {
  background: var(--st-navy);
  border-color: var(--st-navy);
  color: #fff;
}

/* Responsive */
@media (max-width: 960px) {
  :root {
    --st-header-h: 64px;
  }

  .stm-nav {
    position: fixed;
    inset: var(--st-header-offset) 0 auto 0;
    background: #fff;
    border-bottom: 1px solid var(--st-border);
    padding: 1rem;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: max-height 0.3s ease, opacity 0.2s ease;
    margin: 0;
  }

  body.nav-open .stm-nav {
    max-height: min(80vh, 70vh);
    opacity: 1;
    overflow: auto;
    pointer-events: auto;
  }

  .stm-nav__list {
    flex-direction: column;
    align-items: stretch;
  }

  .stm-nav__sub {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding: 0.25rem 0 0.5rem 0.75rem;
    min-width: 0;
  }

  .stm-nav__sub--wide {
    display: block;
    min-width: 0;
    grid-template-columns: none;
  }

  .stm-nav-toggle {
    display: inline-flex;
  }

  .stm-header__actions {
    margin-left: auto;
  }

  .stm-header__actions .stm-btn--ghost {
    display: none;
  }

  .stm-header__actions .stm-btn--primary {
    padding-inline: 0.75rem;
    font-size: 12px;
  }

  .stm-logo img {
    height: 36px;
  }

  .stm-header__inner {
    gap: 0.75rem;
    height: 64px;
  }

  /* Tablet layouts — keep multi-column where it fits */
  .stm-about__grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem;
  }

  .stm-services__grid {
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }

  .stm-why__grid {
    grid-template-columns: 1fr 1fr;
  }

  .stm-insights__grid {
    grid-template-columns: 1fr 1fr;
  }

  .stm-stats__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stm-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem 1.5rem;
  }

  .stm-split-band__grid,
  .stm-links-panel__grid,
  .stm-presence-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stm-contact__grid {
    grid-template-columns: 1fr;
  }

  .stm-form-shell--enquiry .wpcf7-form {
    grid-template-columns: 1fr 1fr;
  }

  .stm-form-shell--enquiry .content-column,
  .stm-form-shell--enquiry .content-column.last_column {
    width: auto;
  }

  .stm-cta__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .stm-hero {
    min-height: 72vh;
  }

  .stm-hero__content {
    margin-left: 1.25rem;
    margin-right: 1.25rem;
    padding-top: 4.5rem;
    padding-bottom: 2.5rem;
  }

  .stm-section__head--row {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .stm-topbar__label {
    display: none;
  }

  .stm-topbar__inner {
    justify-content: center;
    min-height: auto;
    padding-block: 0.4rem;
  }

  .stm-topbar__links {
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.85rem;
  }

  .stm-topbar__sep {
    display: none;
  }

  .stm-topbar__link {
    font-size: 12px;
  }

  .stm-topbar__icon {
    width: 1.2rem;
    height: 1.2rem;
  }

  .stm-header__actions .stm-btn--primary {
    display: none;
  }

  .stm-about__grid,
  .stm-services__grid,
  .stm-why__grid,
  .stm-insights__grid,
  .stm-footer__grid,
  .stm-stats__grid,
  .stm-split-band__grid,
  .stm-contact__grid,
  .stm-links-panel__grid,
  .stm-presence-grid {
    grid-template-columns: 1fr;
  }

  .stm-services__grid {
    gap: 0;
  }

  .stm-stats__grid {
    gap: 0.25rem;
  }

  .stm-stat {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.5rem;
    text-align: left;
  }

  .stm-stat__label {
    margin: 0;
  }

  .stm-hero {
    min-height: 0;
  }

  .stm-hero__content {
    padding-top: 3.25rem;
    padding-bottom: 2.75rem;
  }

  .stm-hero__lead {
    font-size: 14px;
  }

  .stm-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .stm-hero__actions .stm-btn {
    width: 100%;
    justify-content: center;
  }

  .stm-page-hero {
    padding: 2rem 0 1.75rem;
  }

  .stm-section {
    padding-block: 3.25rem;
  }

  .stm-form-shell--enquiry .wpcf7-form {
    grid-template-columns: 1fr;
  }

  .stm-container {
    width: min(100% - 1.5rem, var(--st-container));
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  html.js-ready [data-reveal],
  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* Location / Global Presence pages */
.stm-location {
  background: var(--st-card);
  padding-top: 2.5rem;
}

.stm-location__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 2.5rem;
  align-items: start;
}

.stm-location__aside {
  display: grid;
  gap: 1rem;
  position: sticky;
  top: calc(var(--st-header-offset) + 1rem);
}

.stm-location__card {
  border: 1px solid var(--st-border);
  border-radius: var(--st-radius-lg);
  padding: 1.2rem 1.25rem;
  background: var(--st-bg);
}

.stm-location__card h2 {
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--st-navy);
  margin: 0 0 0.85rem;
}

.stm-location__card p {
  font-size: 14px;
  margin: 0 0 1rem;
}

.stm-location__nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.15rem;
}

.stm-location__nav a {
  display: block;
  padding: 0.45rem 0.6rem;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--st-muted);
}

.stm-location__nav li.is-active a,
.stm-location__nav a:hover {
  background: #fff;
  color: var(--st-navy);
}

.stm-location-map-block {
  margin: 1.5rem 0 2rem;
  padding: 1.15rem;
  border: 1px solid var(--st-border);
  border-radius: var(--st-radius-lg);
  background: var(--st-bg);
}

.stm-location-map {
  margin: 0 0 1rem;
  border-radius: var(--st-radius);
  overflow: hidden;
  background: #fff;
}

.stm-location-map img {
  width: 100%;
  height: auto;
  display: block;
}

.stm-location-map-block__label {
  margin: 0 0 0.65rem;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--st-sky);
}

.stm-port-chips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.stm-port-chips li {
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--st-border);
  background: #fff;
  font-size: 12px;
  font-weight: 600;
  color: var(--st-text);
  line-height: 1.3;
}

.stm-location .stm-prose ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.25rem 1.25rem;
}

.stm-location .stm-prose ul li {
  margin: 0;
}

@media (max-width: 960px) {
  .stm-location__grid {
    grid-template-columns: 1fr;
  }

  .stm-location__aside {
    position: static;
  }
}

@media (max-width: 640px) {
  .stm-location .stm-prose ul {
    grid-template-columns: 1fr;
  }
}

/* Sample reports */
.stm-reports {
  background: var(--st-bg);
}

.stm-reports__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.stm-report-card {
  display: flex;
  flex-direction: column;
  background: var(--st-card);
  border: 1px solid var(--st-border);
  border-radius: var(--st-radius-lg);
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.stm-report-card:hover {
  border-color: var(--st-cyan);
  box-shadow: var(--st-shadow);
  color: inherit;
}

.stm-report-card__media {
  display: block;
  aspect-ratio: 16 / 10;
  background: linear-gradient(165deg, #0f5388 0%, #0c5c94 48%, #4d8fbd 100%);
  overflow: hidden;
}

.stm-report-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.stm-report-card:hover .stm-report-card__media img {
  transform: scale(1.04);
}

.stm-report-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 1.25rem 1.35rem 1.4rem;
  flex: 1;
}

.stm-report-card__index {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--st-cyan);
}

.stm-report-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--st-text);
}

.stm-report-card__desc {
  font-size: 14px;
  line-height: 1.55;
  color: var(--st-muted);
  margin-bottom: 0.35rem;
}

.stm-report-card__more {
  margin-top: auto;
  font-size: 13px;
  font-weight: 600;
  color: var(--st-navy);
}

.stm-report-card:hover .stm-report-card__more {
  color: var(--st-accent);
}

.stm-reports-note {
  background: var(--st-card);
  border-top: 1px solid var(--st-border);
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.stm-reports-note__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.stm-reports-note__inner h2 {
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  margin-bottom: 0.4rem;
}

.stm-reports-note__inner p:not(.stm-eyebrow) {
  margin: 0;
  max-width: 36rem;
}

@media (max-width: 960px) {
  .stm-reports__grid {
    grid-template-columns: 1fr 1fr;
  }

  .stm-reports-note__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .stm-reports__grid {
    grid-template-columns: 1fr;
  }
}

/* Single sample report */
.stm-report-single {
  background: var(--st-card);
  padding-top: 2.5rem;
}

.stm-report-single__grid {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 2.5rem;
  align-items: start;
}

.stm-report-single__aside {
  display: grid;
  gap: 1rem;
  position: sticky;
  top: calc(var(--st-header-offset) + 1rem);
}

.stm-report-single__card {
  border: 1px solid var(--st-border);
  border-radius: var(--st-radius-lg);
  padding: 1.2rem 1.25rem;
  background: var(--st-bg);
}

.stm-report-single__card h2 {
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--st-navy);
  margin: 0 0 0.85rem;
}

.stm-report-single__card p {
  font-size: 14px;
  margin: 0 0 1rem;
}

.stm-report-single__nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.15rem;
}

.stm-report-single__nav a {
  display: block;
  padding: 0.5rem 0.65rem;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--st-muted);
  text-decoration: none;
}

.stm-report-single__nav li.is-active a,
.stm-report-single__nav a:hover {
  background: #fff;
  color: var(--st-navy);
}

.stm-report-single__all {
  display: inline-block;
  margin-top: 0.85rem;
  font-size: 13px;
  font-weight: 600;
  color: var(--st-navy);
}

.stm-report-single__all:hover {
  color: var(--st-accent);
}

.stm-report-single__content > *:first-child {
  margin-top: 0;
}

@media (max-width: 960px) {
  .stm-report-single__grid {
    grid-template-columns: 1fr;
  }

  .stm-report-single__aside {
    position: static;
    order: -1;
  }

  .stm-report-single__nav {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .stm-report-single__nav {
    grid-template-columns: 1fr;
  }
}
