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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: #16181c;
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
}

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

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}

.wrap.wrap--full,
.wrap.portal-layout {
  max-width: none;
  width: 100%;
  padding-left: clamp(24px, 3vw, 56px);
  padding-right: clamp(24px, 3vw, 56px);
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-secondary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--c-secondary);
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  line-height: 1.1;
  color: var(--c-ink);
}

h1 {
  font-size: clamp(34px, 4.8vw, 54px);
  font-weight: 800;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 700;
  letter-spacing: -0.015em;
}

h3 {
  font-size: 19px;
  font-weight: 600;
}

p.lead {
  font-size: 17.5px;
  color: var(--c-muted);
  max-width: 56ch;
}

:focus-visible {
  outline: 3px solid var(--c-accent, #c9cdd4);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Buttons — glow-invert signature */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  padding: 13px 26px;
  border-radius: var(--radius-btn);
  cursor: pointer;
  border: 2px solid var(--c-primary);
  background: var(--c-primary);
  color: var(--c-bg);
  transition: all 0.2s ease;
}

.btn:hover {
  background: var(--c-bg);
  color: var(--c-primary);
  box-shadow: var(--shadow-glow);
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  color: var(--c-primary);
}

.btn--ghost:hover {
  background: var(--c-primary);
  color: var(--c-bg);
  box-shadow: var(--shadow-glow);
  transform: translateY(-1px);
}

.btn--sm {
  padding: 9px 18px;
  font-size: 13.5px;
}

[data-theme="mobile"] .btn {
  color: #141414;
}

[data-theme="mobile"] .btn:hover {
  color: var(--c-primary);
  background: transparent;
}

[data-theme="mobile"] .btn--ghost {
  color: var(--c-primary);
  background: transparent;
}

[data-theme="mobile"] .btn--ghost:hover {
  color: #141414;
  background: var(--c-primary);
}

/* Sticky nav stack */
.nav-stack {
  position: sticky;
  top: 0;
  z-index: 100;
}

header.site-nav {
  background: #fff;
  border-bottom: 1px solid #e9ebee;
  transition: box-shadow 0.25s;
}

.nav-stack.scrolled header.site-nav {
  box-shadow: 0 6px 24px rgba(22, 18, 31, 0.08);
}

.nav-inner {
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 0 28px;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 21px;
  letter-spacing: -0.02em;
  color: #16181c;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-right: 20px;
}

.logo--img {
  align-items: center;
}

.logo--img img {
  display: block;
  height: var(--gmts-header-logo-h, 40px);
  width: auto;
}

.logo--footer.logo--inverted img {
  filter: brightness(0) invert(1);
}

.logo span {
  color: #111111;
}

.logo em {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: #868c94;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 2px;
  flex: 1;
}

.nav-list > li {
  position: relative;
}

.nav-link {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14.5px;
  color: #3a3f46;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px 14px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: background 0.15s;
  text-decoration: none;
}

a.nav-link:hover {
  color: #3a3f46;
}

.nav-link:hover,
li.open > .nav-link {
  background: #f1f2f4;
}

.nav-platforms {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 8px;
  padding-left: 8px;
}

.nav-platform {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid #e1e4e8;
  background: #f8f9fa;
  color: #16181c;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s;
}

.nav-platform:hover {
  background: #fff;
  border-color: #c9cdd4;
  color: #16181c;
}

.nav-platform__mark {
  width: 18px;
  height: 18px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

.nav-platform--icon-only {
  padding: 6px 8px;
}

.nav-platform--gmount {
  /* Match sibling white/light platform pills */
  background: #f8f9fa;
  border-color: #e1e4e8;
  color: #16181c;
}

.nav-platform--gmount:hover {
  background: #fff;
  border-color: #c9cdd4;
  color: #16181c;
}

.nav-platform__mark--gmount {
  width: 18px;
  height: 18px;
  object-fit: contain;
  display: block;
  border-radius: 2px;
}

.gmount-hero-logo {
  margin: 18px 0 16px;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: normal;
  line-height: 0;
}

.gmount-hero-logo img {
  max-width: min(280px, 100%);
  height: auto;
}

.prod-img.gmount-prod-img {
  height: auto;
  min-height: 180px;
  padding: 16px;
}

.prod-img.gmount-prod-img img {
  width: auto;
  max-width: 100%;
  max-height: 180px;
  height: auto;
  object-fit: contain;
}

.gmount-lineup__meta,
.gmount-lineup__price {
  font-size: 14px;
  margin: 8px 0 0;
}

.gmount-lineup__price small {
  color: var(--c-muted);
}

.gmount-lineup__note {
  font-size: 14px;
  color: var(--c-muted);
  margin: 20px 0 0;
}

.gmount-prod-img--empty .image-placeholder {
  width: 100%;
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  text-align: center;
  font-size: 13px;
  color: var(--c-muted);
  background: var(--c-surface);
}

.gmount-gallery__frame {
  cursor: default;
  pointer-events: none;
}

.gmount-gallery__frame img {
  object-fit: contain;
  background: var(--c-surface);
  min-height: 220px;
  padding: 12px;
}

.nav-platform__dot-slot {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nav-platform__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  background: #9aa1a9;
}

.nav-platform__vn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 4px;
  background: #0a3d62;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

.nav-platform__ext {
  color: #868c94;
  font-size: 11px;
}

.nav-platform--connect > span:not(.nav-platform__ext) {
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.nav-platform__dot[data-status="ok"],
.nav-platform__dot[data-status="degraded"],
.nav-platform__dot[data-status="down"] {
  animation: gmts-health-pulse 2.4s ease-in-out infinite;
}

@keyframes gmts-health-pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.72;
    transform: scale(1.12);
  }
}

@media (prefers-reduced-motion: reduce) {
  .nav-platform__dot[data-status="ok"],
  .nav-platform__dot[data-status="degraded"],
  .nav-platform__dot[data-status="down"] {
    animation: none;
  }
}

.nav-platform__dot[data-status="ok"] {
  background: #1a9d55;
}

.nav-platform__dot[data-status="degraded"] {
  background: #d4890b;
}

.nav-platform__dot[data-status="down"] {
  background: #c0392b;
}

@media (max-width: 1100px) {
  .nav-platform span:not(.nav-platform__ext):not(.nav-platform__vn):not(.nav-platform__dot-slot) {
    display: none;
  }
  .nav-platform {
    padding: 6px 8px;
  }
}

.nav-link .car {
  font-size: 9px;
  transition: transform 0.2s;
  color: #868c94;
}

li.open > .nav-link .car {
  transform: rotate(180deg);
}

.mega {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  background: #fff;
  border: 1px solid #e9ebee;
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(22, 18, 31, 0.16);
  padding: 26px;
  display: none;
  min-width: 640px;
}

li.open > .mega {
  display: grid;
}

.mega--solutions {
  grid-template-columns: repeat(3, 1fr) minmax(260px, 300px);
  gap: 26px;
  min-width: 980px;
}

.mega--simple {
  grid-template-columns: 1fr;
  gap: 4px;
  min-width: 240px;
}

.mega--shop {
  min-width: 300px;
}

.mcol {
  border-left: 3px solid var(--mc, #ddd);
  padding-left: 16px;
}

.mcol.marine {
  --mc: #0a3d62;
}

.mcol.mobile {
  --mc: #f6c700;
}

.mcol.enterprise {
  --mc: #c9cdd4;
}

.mcol h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #16181c;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mcol h4 i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--mc);
  display: inline-block;
}

.mega a {
  display: block;
  padding: 7px 8px;
  border-radius: 8px;
  font-size: 14px;
  color: #3a3f46;
  transition: background 0.15s;
}

.mega a small {
  display: block;
  font-size: 12px;
  color: #868c94;
}

.mega a:hover {
  background: #f4f5f7;
  color: #16181c;
}

.mutil {
  background: #f4f5f7;
  border-radius: 12px;
  padding: 18px;
}

.mutil p {
  font-size: 13px;
  color: #6b7078;
  margin: 8px 0 14px;
}

.mutil h5 {
  font-family: var(--font-display);
  font-size: 14.5px;
  color: #16181c;
}

.mutil__apps {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid #e1e4e8;
}

.mutil__apps h5 {
  margin: 0 0 8px;
  font-size: 13px;
}

.mutil__apps a {
  display: block;
  padding: 7px 8px;
  margin: 0 -8px;
  border-radius: 8px;
  font-size: 13.5px;
  line-height: 1.3;
  color: #3a3f46;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}

.mutil__apps a:hover {
  background: #ffffff;
  color: #16181c;
}

/* Mega menu CTA — fixed contrast (page theme must not bleed in) */
.mega .mutil .btn {
  background: #111111;
  color: #ffffff;
  border-color: #111111;
}

.mega .mutil .btn:hover {
  background: #ffffff;
  color: #111111;
  box-shadow: 0 0 20px rgba(17, 17, 17, 0.12);
}

[data-theme="corporate"] .btn {
  color: var(--c-bg);
}

[data-theme="corporate"] .btn:hover {
  color: var(--c-primary);
  background: var(--c-bg);
}

[data-theme="corporate"] .btn--ghost {
  color: var(--c-primary);
  background: transparent;
}

[data-theme="corporate"] .btn--ghost:hover {
  color: var(--c-bg);
  background: var(--c-primary);
}

.nav-cta {
  display: flex;
  gap: 10px;
  align-items: center;
}

.nav-search {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-search__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: #3a3f46;
  cursor: pointer;
}

.nav-search__toggle:hover,
.nav-search.is-open .nav-search__toggle {
  background: #f1f2f4;
  color: var(--gmts-blue, #0b5fd9);
}

.nav-search__panel {
  display: flex;
  align-items: center;
  gap: 8px;
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  background: #fff;
  border: 1px solid #e9ebee;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(22, 18, 31, 0.12);
  padding: 8px;
  z-index: 120;
}

.nav-search__panel[hidden] {
  display: none !important;
}

.nav-search__panel input[type="search"] {
  width: min(240px, 50vw);
  border: 1px solid #e1e4e8;
  border-radius: 8px;
  padding: 8px 10px;
  font: inherit;
  font-size: 14px;
}

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

.nav-cta [data-theme] {
  display: contents;
}

body:not(.logged-in) .only-signed {
  display: none !important;
}

body.logged-in .only-guest {
  display: none !important;
}

/* Blue signed-in bar */
.signedin-bar {
  display: none;
  background: var(--gmts-blue);
  color: #fff;
  height: var(--subnav-h);
  font-size: 13.5px;
}

body.logged-in .signedin-bar {
  display: block;
}

.signedin-inner {
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 0 28px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 18px;
}

.si-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  white-space: nowrap;
}

.si-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #7cfcb1;
  box-shadow: 0 0 8px #7cfcb1;
}

.si-role {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  background: rgba(255, 255, 255, 0.18);
  padding: 3px 8px;
  border-radius: 5px;
}

.si-links {
  display: flex;
  gap: 4px;
  flex: 1;
  overflow-x: auto;
  scrollbar-width: none;
}

.si-links a {
  padding: 6px 11px;
  border-radius: 7px;
  white-space: nowrap;
  opacity: 0.92;
  transition: background 0.15s;
}

.si-links a:hover {
  background: rgba(255, 255, 255, 0.16);
  opacity: 1;
}

.si-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.si-actions a {
  padding: 6px 11px;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  border-radius: 7px;
  font-size: 12.5px;
  transition: all 0.2s;
  white-space: nowrap;
}

.si-actions a:hover {
  background: #fff;
  color: var(--gmts-blue);
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.5);
}

.si-cart-count {
  font-family: var(--font-mono);
  font-size: 11px;
  opacity: 0.92;
}

.signedin-bar--compact .signedin-inner {
  justify-content: space-between;
}

.si-hint {
  flex: 1;
  font-size: 12.5px;
  opacity: 0.88;
  text-align: center;
}

@media (max-width: 720px) {
  .si-hint {
    display: none;
  }
}

/* Sections */
section.gmts-section,
article.gmts-section {
  padding: var(--sec-pad) 0;
  background: var(--c-bg);
  color: var(--c-ink);
}

section.gmts-section--tight,
article.gmts-section--tight {
  padding: var(--sec-pad-tight) 0;
}

section.gmts-section--flush-top,
article.gmts-section--flush-top {
  padding-top: 0;
}

section.gmts-section--flush-bottom,
article.gmts-section--flush-bottom {
  padding-bottom: 0;
}

.hero.gmts-section {
  padding-bottom: 40px;
  position: relative;
}

.hero.gmts-section::after {
  content: "";
  display: block;
  height: 5px;
  width: 100%;
  position: absolute;
  left: 0;
  bottom: 0;
  background: var(--c-primary);
}

.hero.gmts-section + .gmts-section {
  padding-top: 48px;
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.hero .wrap--solo,
.hero .wrap:not(:has(.hero-media, .mini-visual)) {
  grid-template-columns: 1fr;
  max-width: 720px;
}

.hero h1 {
  margin: 18px 0 16px;
}

.cta-row {
  display: flex;
  gap: 14px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.stat-inline {
  display: flex;
  gap: 34px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.stat-inline div b {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 800;
  color: var(--c-primary);
  display: block;
  line-height: 1;
}

.stat-inline div span {
  font-size: 12.5px;
  color: var(--c-muted);
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

[data-theme="enterprise"] .stat-inline div b {
  color: var(--c-secondary);
}

.mini-visual {
  border-radius: var(--radius-card);
  background: var(--c-surface);
  border: 1px solid rgba(127, 127, 127, 0.14);
  padding: 26px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--c-muted);
}

.mini-visual .row {
  display: flex;
  justify-content: space-between;
  padding: 9px 4px;
  border-bottom: 1px dashed rgba(127, 127, 127, 0.25);
}

.mini-visual .row:last-child {
  border: none;
}

.mini-visual .ok {
  color: #2fa36b;
  font-weight: 500;
}

[data-theme="mobile"] .mini-visual .ok {
  color: #7cfcb1;
}

.mini-visual .hd {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: var(--c-ink);
  margin-bottom: 10px;
}

.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.feat {
  background: var(--c-surface);
  border-radius: var(--radius-card);
  padding: 24px;
  border: 1px solid rgba(127, 127, 127, 0.14);
  transition: all 0.2s;
}

/* Solution feature cards — restore list indent the * reset removed */
.feat ul,
.feat ol,
.feat .entry-content ul,
.feat .entry-content ol,
.gmts-feature-list,
.faq-body ul,
.faq-body ol {
  margin: 12px 0 0;
  padding-left: 1.35em;
  list-style-position: outside;
}

.feat li,
.feat .entry-content li,
.gmts-feature-list li,
.faq-body li {
  margin: 0 0 0.45em;
  padding-left: 0.15em;
}

.feat li:last-child,
.feat .entry-content li:last-child,
.gmts-feature-list li:last-child,
.faq-body li:last-child {
  margin-bottom: 0;
}

.feat:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

.feat .ic {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: var(--c-primary);
  color: var(--c-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 15px;
  margin-bottom: 14px;
}

[data-theme="mobile"] .feat .ic {
  color: #141414;
}

.feat h3 {
  font-size: 16.5px;
  margin-bottom: 6px;
}

.feat p {
  font-size: 13.5px;
  color: var(--c-muted);
}

.trust {
  padding: 32px 0;
  border-top: 1px solid #e9ebee;
  border-bottom: 1px solid #e9ebee;
  background: #fff;
}

.trust .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.trust span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  color: #c3c8ce;
  transition: color 0.2s;
}

.trust span:hover {
  color: #16181c;
}

.trust b {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: #868c94;
  text-transform: uppercase;
}

.div-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 44px;
}

.div-card {
  display: block;
  border-radius: var(--radius-card);
  padding: 34px 28px 30px;
  background: var(--c-bg);
  color: var(--c-ink);
  border: 1px solid rgba(0, 0, 0, 0.07);
  transition: all 0.25s ease;
}

.div-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.div-card .tagbar {
  height: 5px;
  width: 56px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--c-primary), var(--c-secondary));
  margin-bottom: 22px;
}

[data-theme="enterprise"].div-card .tagbar {
  background: linear-gradient(90deg, #111, #c9cdd4);
}

.div-card h3 {
  font-size: 24px;
  margin-bottom: 8px;
}

.div-card p {
  font-size: 14.5px;
  color: var(--c-muted);
  min-height: 66px;
}

.div-card ul {
  list-style: none;
  margin: 16px 0 22px;
  font-size: 13.5px;
}

.div-card li {
  padding: 5px 0;
  border-bottom: 1px dashed rgba(127, 127, 127, 0.25);
  color: var(--c-muted);
}

.div-card li::before {
  content: "→ ";
  color: var(--c-secondary);
  font-family: var(--font-mono);
}

.div-card .go {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  color: var(--c-primary);
  display: inline-flex;
  gap: 6px;
  align-items: center;
  transition: gap 0.2s;
}

[data-theme="enterprise"].div-card .go {
  color: var(--c-secondary);
}

.div-card:hover .go {
  gap: 11px;
}

.div-card[data-theme="mobile"] {
  border-color: #2a2a2a;
}

.div-card[data-theme="mobile"] .go {
  color: var(--c-primary);
}

.div-card[data-theme="marine"] {
  border-color: rgba(10, 61, 98, 0.22);
  background: linear-gradient(180deg, #ffffff 0%, #eff6fd 100%);
}

.div-card[data-theme="marine"] .tagbar {
  width: 72px;
  background: linear-gradient(90deg, #0a3d62, #d63031);
}

.div-card[data-theme="marine"] li::before {
  color: #d63031;
}

.div-card[data-theme="marine"] .go {
  color: #0a3d62;
  font-weight: 700;
}

.div-card[data-theme="marine"]:hover {
  box-shadow: 0 0 28px rgba(10, 61, 98, 0.28);
  border-color: rgba(214, 48, 49, 0.35);
}

.div-card[data-theme="marine"]:hover .go {
  color: #d63031;
}

[data-theme="marine"] .btn {
  background: #0a3d62;
  color: #fff;
  box-shadow: 0 0 0 0 rgba(214, 48, 49, 0);
}

[data-theme="marine"] .btn:hover {
  background: #072c47;
  box-shadow: 0 0 24px rgba(214, 48, 49, 0.45);
}

[data-theme="marine"] .btn--ghost {
  background: transparent;
  color: #0a3d62;
  border-color: #0a3d62;
}

[data-theme="marine"] .btn--ghost:hover {
  background: #0a3d62;
  color: #fff;
  border-color: #d63031;
}

[data-theme="marine"].cta-band {
  background: linear-gradient(135deg, #0a3d62 0%, #0b1b2b 55%, #3a0f12 100%);
  color: #fff;
}

[data-theme="marine"].cta-band .btn {
  background: #d63031;
  color: #fff;
}

[data-theme="marine"].cta-band .btn:hover {
  background: #b71c1c;
}

[data-theme="marine"].cta-band .btn--ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
  background: transparent;
}

[data-theme="marine"].cta-band .btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}

[data-theme="mobile"].cta-band,
[data-theme="mobile"].page-cta {
  background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 55%, #2a2200 100%);
  color: #fff;
}

[data-theme="mobile"].cta-band .btn,
[data-theme="mobile"].page-cta .btn {
  background: #f6c700;
  color: #141414;
}

[data-theme="mobile"].cta-band .btn:hover,
[data-theme="mobile"].page-cta .btn:hover {
  background: #e0b400;
  color: #141414;
}

[data-theme="mobile"].cta-band .btn--ghost,
[data-theme="mobile"].page-cta .btn--ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
  background: transparent;
}

[data-theme="mobile"].cta-band .btn--ghost:hover,
[data-theme="mobile"].page-cta .btn--ghost:hover {
  background: rgba(246, 199, 0, 0.15);
  border-color: #f6c700;
  color: #fff;
}

[data-theme="enterprise"].cta-band,
[data-theme="enterprise"].page-cta {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 55%, #334155 100%);
  color: #fff;
}

[data-theme="enterprise"].cta-band .btn,
[data-theme="enterprise"].page-cta .btn {
  background: #38bdf8;
  color: #0f172a;
}

[data-theme="enterprise"].cta-band .btn--ghost,
[data-theme="enterprise"].page-cta .btn--ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
  background: transparent;
}

[data-theme="marine"].cta-band h2,
[data-theme="marine"].cta-band .eyebrow,
[data-theme="marine"].page-cta h2,
[data-theme="marine"].page-cta .eyebrow,
[data-theme="mobile"].cta-band h2,
[data-theme="mobile"].cta-band .eyebrow,
[data-theme="mobile"].page-cta h2,
[data-theme="mobile"].page-cta .eyebrow,
[data-theme="enterprise"].cta-band h2,
[data-theme="enterprise"].cta-band .eyebrow,
[data-theme="enterprise"].page-cta h2,
[data-theme="enterprise"].page-cta .eyebrow {
  color: #fff;
}

.faq-block .faq-item,
.faq-list .faq-item {
  border: 1px solid rgba(127, 127, 127, 0.15);
  background: var(--c-surface, #fff);
  color: var(--c-ink, inherit);
  border-radius: var(--radius-card, 10px);
  overflow: hidden;
}

[data-theme="mobile"] .faq-block .faq-item,
[data-theme="enterprise"] .faq-block .faq-item {
  background: var(--c-surface);
  color: var(--c-ink);
}

.faq-block .faq-item summary,
.faq-list .faq-item summary {
  cursor: pointer;
  padding: 16px 18px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  list-style: none;
}

.faq-block .faq-item summary::-webkit-details-marker,
.faq-list .faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-block .faq-item[open] summary,
.faq-list .faq-item[open] summary {
  border-bottom: 1px solid rgba(127, 127, 127, 0.12);
}

.faq-block .faq-item .faq-body,
.faq-list .faq-item .faq-body {
  padding: 14px 18px 18px;
  color: var(--c-muted);
  font-size: 15px;
  line-height: 1.55;
}

.vals {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 44px;
}

.vals--4 {
  grid-template-columns: repeat(4, 1fr);
}

.val {
  border: 1px solid rgba(127, 127, 127, 0.16);
  border-radius: var(--radius-card);
  padding: 26px;
  background: var(--c-bg);
  transition: all 0.2s;
}

.val:hover {
  box-shadow: var(--shadow-glow);
  transform: translateY(-3px);
}

.val b {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--c-secondary);
  text-transform: uppercase;
}

.val h3 {
  margin: 10px 0 8px;
}

.val p {
  font-size: 14px;
  color: var(--c-muted);
}

.hs-form {
  border: 2px dashed var(--c-accent);
  border-radius: var(--radius-card);
  background: var(--c-surface);
  padding: 34px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--c-muted);
  margin-top: 36px;
}

.hs-form b {
  display: block;
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--c-ink);
  margin-bottom: 8px;
  letter-spacing: 0;
}

.shop-head {
  max-width: 720px;
}

.shop-layout {
  display: grid;
  grid-template-columns: minmax(220px, 260px) minmax(0, 1fr);
  gap: clamp(24px, 3vw, 48px);
  align-items: start;
  margin-top: 32px;
}

.shop-sidebar {
  position: sticky;
  top: 100px;
  background: var(--c-surface, #fff);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  padding: 18px 16px;
}

.shop-main {
  min-width: 0;
}

.shop-main .prod-grid {
  margin-top: 0;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

.shop-main .shop-price-gate {
  margin-bottom: 20px;
}

.chip-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.chip {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  border: 1.5px solid rgba(127, 127, 127, 0.3);
  border-radius: 100px;
  padding: 7px 15px;
  cursor: pointer;
  color: var(--c-muted);
  transition: all 0.18s;
  background: var(--c-bg);
}

.chip:hover,
.chip.active {
  border-color: var(--c-primary);
  color: var(--c-primary);
  box-shadow: var(--shadow-glow);
}

.dealer-note {
  display: none;
  margin-top: 18px;
  background: #eaf1fd;
  border: 1px solid #c7daf8;
  color: #164a9e;
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 13.5px;
}

body.logged-in .dealer-note {
  display: block;
}

.prod-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 36px;
}

.prod-card {
  border: 1px solid rgba(127, 127, 127, 0.16);
  border-radius: var(--radius-card);
  background: var(--c-bg);
  overflow: hidden;
  transition: all 0.22s;
  display: flex;
  flex-direction: column;
}

.prod-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.prod-img {
  height: 150px;
  background: var(--c-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--c-muted);
  border-bottom: 1px solid rgba(127, 127, 127, 0.12);
  overflow: hidden;
}

.prod-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.prod-body {
  padding: 18px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.prod-tags {
  display: flex;
  gap: 6px;
}

.ptag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 5px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--c-surface);
  color: var(--c-muted);
}

.ptag i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
}

.ptag.marine i {
  background: #0a3d62;
}

.ptag.mobile i {
  background: #f6c700;
}

.ptag.ent i {
  background: #c9cdd4;
}

.prod-card h3 {
  font-size: 16.5px;
}

.prod-card h3 a {
  color: inherit;
  text-decoration: none;
}

.prod-card h3 a:hover {
  color: var(--c-secondary);
}

a.prod-img {
  display: flex;
  color: inherit;
  text-decoration: none;
}

a.prod-img:hover img {
  opacity: 0.92;
}

.shop-filters {
  display: grid;
  gap: 20px;
  margin-top: 0;
}

.shop-sidebar .shop-filter-group .chip-row {
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
}

.shop-sidebar .shop-filter-group .chip {
  width: 100%;
  text-align: left;
  border-radius: 8px;
  padding: 8px 12px;
}

.shop-filter-group {
  display: grid;
  gap: 8px;
}

.shop-filter-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-muted);
}

.shop-filter-group .chip-row {
  margin-top: 0;
}

.shop-product__back {
  margin: 0 0 24px;
  font-family: var(--font-mono);
  font-size: 13px;
}

.shop-product__back a {
  color: var(--c-secondary);
  text-decoration: none;
}

.shop-product__back a:hover {
  text-decoration: underline;
}

.shop-product__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(28px, 4vw, 48px);
  align-items: start;
}

.shop-product__hero-img {
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid rgba(127, 127, 127, 0.14);
  background: var(--c-surface);
}

.shop-product__hero-img img {
  display: block;
  width: 100%;
  height: auto;
}

.shop-product__thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.shop-product__thumbs img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(127, 127, 127, 0.14);
}

.shop-product__content h1 {
  font-size: clamp(28px, 3.6vw, 42px);
  margin: 8px 0 12px;
}

.shop-product__description {
  margin: 16px 0 0;
  color: var(--c-ink);
}

.shop-product__bom {
  margin: 28px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid rgba(127, 127, 127, 0.12);
}

.shop-product__bom h2 {
  font-size: 18px;
  margin: 0 0 12px;
}

.gmts-kit-bom {
  margin: 0;
  padding-left: 1.25em;
  list-style: disc;
}

.gmts-kit-bom li {
  margin: 0 0 0.65em;
  line-height: 1.45;
}

.gmts-kit-bom li:last-child {
  margin-bottom: 0;
}

.gmts-kit-bom code {
  margin-left: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--c-muted);
}

.shop-product__actions {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(127, 127, 127, 0.12);
}

.shop-product__cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

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

.prod-card .brand {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--c-muted);
  text-transform: uppercase;
}

.price-row {
  margin-top: auto;
  padding-top: 12px;
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}

.price {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 21px;
  color: var(--c-ink);
}

.trade-wrap {
  display: none;
  align-items: baseline;
  gap: 10px;
}

body.is-signed-in .trade-wrap {
  display: flex;
}

body.is-signed-in .price.rrp {
  font-size: 14px;
  font-weight: 600;
  color: var(--c-muted);
  text-decoration: line-through;
}

.price-login-prompt {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--c-muted);
}

.price-login-prompt a {
  color: var(--gmts-blue);
  font-weight: 700;
}

.price-tax-note,
.price-uom {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--c-muted);
  font-weight: 400;
}

.shop-price-gate {
  background: var(--c-surface);
  border: 1px solid rgba(10, 61, 98, 0.12);
  border-radius: 10px;
  padding: 12px 16px;
}

/* Configurator embed */
.configurator-wrap {
  max-width: 1120px;
}

.portal-main--configurator {
  min-width: 0;
}

.portal-main--configurator .gmts-cfg-embed {
  margin-top: 0;
}

.portal-layout--configurator {
  max-width: none;
}

@media (min-width: 900px) {
  .portal-layout--configurator {
    grid-template-columns: 200px minmax(0, 1fr);
  }
}

#gmts-cfg-root .wrap {
  max-width: 100%;
}

.trade-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  background: var(--gmts-blue);
  color: #fff;
  padding: 3px 8px;
  border-radius: 5px;
}

.prod-card .btn {
  margin-top: 14px;
  justify-content: center;
}

.cta-band {
  text-align: center;
}

.cta-band h2 {
  max-width: 24ch;
  margin: 16px auto 0;
}

.cta-band .cta-row {
  justify-content: center;
}

.cta-band .eyebrow {
  justify-content: center;
}

.cta-band .eyebrow::before {
  display: none;
}

.site-footer {
  background: #16181c;
  color: #a9afb7;
  padding: 56px 0 34px;
  font-size: 14px;
}

.site-footer .wrap {
  max-width: none;
  width: 100%;
}

.site-footer .wrap.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(5, 1fr);
  gap: 28px 20px;
}

.site-footer h5 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 14px;
}

.site-footer a {
  display: block;
  padding: 4px 0;
  color: #a9afb7;
}

.site-footer a:hover {
  color: #fff;
}

.site-footer .logo {
  color: #fff;
}

.site-footer .logo span {
  color: #c9cdd4;
}

.footer-blurb {
  margin-top: 12px;
  max-width: 34ch;
  color: #a9afb7;
  line-height: 1.5;
}

.gmts-social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.gmts-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: #c5CAD1;
  border-radius: 8px;
  transition: color 0.15s ease, background 0.15s ease;
}

.gmts-social a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.gmts-social--compact {
  margin-top: 0;
  gap: 4px;
}

.gmts-social--compact a {
  width: 32px;
  height: 32px;
  color: #3a3f46;
}

.gmts-social--compact a:hover {
  color: var(--gmts-blue, #0b5fd9);
  background: #f1f2f4;
}

.news-share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin: 0 0 24px;
  font-size: 14px;
}

.news-share__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7a8088;
}

.news-share__link {
  appearance: none;
  border: none;
  background: transparent;
  padding: 0;
  font: inherit;
  color: var(--c-primary, #0b5fd9);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-subscribe {
  margin-top: 20px;
}

.footer-subscribe-card {
  background: #ffffff;
  color: #16181c;
  border-radius: 12px;
  padding: 16px;
  margin-top: 10px;
  text-align: left;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.footer-subscribe-card .hs-form,
.footer-subscribe-card .hs-form-live {
  margin-top: 0;
  border: none;
  background: transparent;
  padding: 0;
  text-align: left;
  color: #16181c;
}

.footer-subscribe-card .hs-form b {
  color: #16181c;
}

.footer-subscribe-card label,
.footer-subscribe-card p,
.footer-subscribe-card span,
.footer-subscribe-card a,
.footer-subscribe-card .hs-richtext,
.footer-subscribe-card .legal-consent-container {
  color: #3a3f46 !important;
  font-size: 12px;
  line-height: 1.45;
}

.footer-subscribe-card input[type="text"],
.footer-subscribe-card input[type="email"],
.footer-subscribe-card input[type="tel"],
.footer-subscribe-card textarea {
  width: 100%;
  background: #fff;
  color: #16181c;
  border: 1px solid #c9cdd4;
  border-radius: 8px;
  padding: 10px 12px;
}

.footer-subscribe-card input[type="submit"],
.footer-subscribe-card .hs-button {
  background: #0a3d62 !important;
  color: #fff !important;
  border: none !important;
  border-radius: 8px;
  padding: 10px 16px;
  font-weight: 700;
  cursor: pointer;
}

.fine {
  grid-column: 1 / -1;
  border-top: 1px solid #2b2f34;
  margin-top: 32px;
  padding-top: 20px;
  font-size: 12.5px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.burger {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #16181c;
}

.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: #fff;
  z-index: 200;
  padding: 24px;
  overflow-y: auto;
}

.mobile-nav.open {
  display: block;
}

.mobile-nav .close {
  font-size: 28px;
  background: none;
  border: none;
  float: right;
  cursor: pointer;
  min-width: 44px;
  min-height: 44px;
  line-height: 44px;
  text-align: center;
  padding: 0;
}

.mobile-nav a {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid #e9ebee;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
}

.hero-media {
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: var(--c-surface);
  min-height: 220px;
}

.hero-media .hero-thumb,
.hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 240px;
}

.feat-thumb {
  margin-bottom: 12px;
  border-radius: 10px;
  overflow: hidden;
  max-height: 140px;
}

.feat-thumb img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  display: block;
}

.feat .go {
  font-weight: 600;
  font-size: 14px;
  color: var(--c-primary);
}

.trust-logo {
  display: inline-flex;
  align-items: center;
  opacity: 0.75;
  filter: grayscale(1);
}

.trust-logo img {
  height: 28px;
  width: auto;
  max-width: 110px;
  object-fit: contain;
}

.gmts-imported-content img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

.entry-content,
.page-section__copy,
.gmts-imported-content {
  line-height: 1.65;
}

.entry-content > *:first-child,
.page-section__copy > *:first-child,
.gmts-imported-content > *:first-child {
  margin-top: 0;
}

.entry-content h2,
.entry-content h3,
.page-section__copy h2,
.page-section__copy h3,
.gmts-imported-content h2,
.gmts-imported-content h3 {
  margin-top: 1.75em;
  margin-bottom: 0.55em;
  line-height: 1.2;
}

.entry-content p,
.page-section__copy p,
.gmts-imported-content p {
  margin: 0 0 1.15em;
}

.entry-content p.lead,
.page-section__copy p.lead {
  margin-bottom: 1.5em;
}

.entry-content ul,
.entry-content ol,
.page-section__copy ul,
.page-section__copy ol,
.gmts-imported-content ul,
.gmts-imported-content ol,
.entry-content .gmts-feature-list {
  margin: 0.35em 0 1.4em;
  padding-left: 1.35em;
}

.entry-content li,
.page-section__copy li,
.gmts-imported-content li,
.entry-content .gmts-feature-list li {
  margin: 0 0 0.65em;
}

.entry-content li:last-child,
.page-section__copy li:last-child,
.gmts-imported-content li:last-child,
.entry-content .gmts-feature-list li:last-child {
  margin-bottom: 0;
}

.gmts-imported-content figure {
  margin: 1.4em 0;
}

.gmts-imported-content figcaption {
  font-size: 13px;
  color: var(--c-muted);
  margin-top: 8px;
}

.gmts-imported-content .wp-block-image {
  margin: 1.4em 0;
}

.wrap--news-article {
  max-width: 820px;
  margin: 0 auto;
}

.gmts-news-article__title {
  margin: 16px 0;
}

.gmts-news-article__cta {
  margin-top: 40px;
  margin-bottom: 8px;
}

article.gmts-news-article.gmts-section {
  padding-bottom: calc(var(--sec-pad) + 32px);
}

.gmts-news-article__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-bottom: 8px;
}

.gmts-news-article__meta .news-card__cats {
  margin: 0;
}

.gmts-news-related {
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1px solid rgba(127, 127, 127, 0.16);
}

.gmts-news-related h2 {
  font-size: 1.35rem;
  margin: 0 0 24px;
}

.gmts-news-related__grid {
  margin-top: 0;
}

.news-filters {
  margin-top: 28px;
}

.news-filters__search {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  max-width: 560px;
}

.news-filters__search input[type="search"] {
  flex: 1 1 220px;
  min-width: 0;
  padding: 10px 14px;
  border: 1px solid rgba(127, 127, 127, 0.25);
  border-radius: 8px;
  font: inherit;
  background: var(--c-surface);
}

.news-filters__chips {
  margin-top: 16px;
}

.news-filters__status {
  margin: 0 0 20px;
  font-size: 14px;
  color: var(--c-muted);
}

.news-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-bottom: 6px;
}

.news-card__cats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.news-cat {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--c-primary);
  text-decoration: none;
  border: 1px solid rgba(127, 127, 127, 0.22);
  border-radius: 100px;
  padding: 3px 10px;
}

.news-cat:hover {
  border-color: var(--c-primary);
  box-shadow: var(--shadow-glow);
}

/* Service health utility page */
.gmts-health-meta {
  font-size: 14px;
  color: var(--c-muted);
  margin: 0 0 28px;
}

.gmts-health-banner {
  border-radius: var(--radius-card);
  padding: 16px 20px;
  margin: 0 0 28px;
  border: 1px solid rgba(127, 127, 127, 0.18);
}

.gmts-health-banner--minor {
  background: #fff8eb;
  border-color: #e8c878;
}

.gmts-health-banner--major {
  background: #fdeeee;
  border-color: #e0a0a0;
}

.gmts-health-banner p {
  margin: 8px 0 0;
}

.gmts-health-group {
  margin: 0 0 36px;
}

.gmts-health-group h2 {
  font-size: 1.15rem;
  margin: 0 0 16px;
}

.gmts-health-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.gmts-health-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 18px;
  border: 1px solid rgba(127, 127, 127, 0.14);
  border-radius: var(--radius-card);
  background: var(--c-surface);
}

.gmts-health-row__dot {
  margin-top: 6px;
}

.gmts-health-row__body {
  flex: 1;
  min-width: 0;
}

.gmts-health-row__head {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  align-items: baseline;
}

.gmts-health-row__state {
  font-size: 14px;
  color: var(--c-muted);
}

.gmts-health-row__detail,
.gmts-health-row__helper {
  font-size: 14px;
  color: var(--c-muted);
  margin: 8px 0 0;
}

.gmts-health-row__incidents {
  margin: 8px 0 0;
  padding-left: 1.2em;
  font-size: 14px;
}

.gmts-health-row__components {
  margin-top: 10px;
  font-size: 14px;
}

.gmts-health-row__components summary {
  cursor: pointer;
  color: var(--c-brand);
  font-weight: 600;
}

.gmts-health-row__components ul {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: grid;
  gap: 6px;
}

.gmts-health-row__components li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.gmts-health-row__dot--inline {
  width: 10px;
  height: 10px;
  flex-shrink: 0;
}

.gmts-health-disclaimer {
  font-size: 14px;
  color: var(--c-muted);
  margin: 12px 0 0;
}

.gmts-health-outages {
  border-top: 1px solid rgba(127, 127, 127, 0.12);
  padding-top: 28px;
}

.gmts-health-outages__intro {
  font-size: 14px;
  color: var(--c-muted);
  margin: 0 0 16px;
}

.gmts-health-outages__empty {
  font-size: 14px;
  color: var(--c-muted);
  margin: 0;
}

.gmts-health-outage-log {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.gmts-health-outage-log__row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 16px;
  border: 1px solid rgba(127, 127, 127, 0.14);
  border-radius: var(--radius-card);
  background: var(--c-surface);
}

.gmts-health-outage-log__row--ongoing {
  border-color: rgba(232, 200, 120, 0.55);
  background: #fffaf0;
}

.gmts-health-outage-log__head {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: baseline;
}

.gmts-health-outage-log__badge {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--c-muted);
}

.gmts-health-outage-log__detail,
.gmts-health-outage-log__meta {
  font-size: 14px;
  color: var(--c-muted);
  margin: 6px 0 0;
}

.gmts-health-outage-log__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
}

/* FAQ accordion */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 28px;
  max-width: 820px;
}

/* FAQ item styles unified above (.faq-block / .faq-list) */

/* Portal layout */
.portal-layout {
  display: grid;
  grid-template-columns: minmax(200px, 240px) minmax(0, 1fr);
  gap: clamp(24px, 3vw, 48px);
  align-items: start;
}

.portal-main {
  min-width: 0;
}

.portal-main .feat-grid {
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

.portal-nav {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: sticky;
  top: 100px;
  background: var(--c-surface, #fff);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  padding: 14px 10px 10px;
  min-width: 200px;
}

.portal-nav__user {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  padding: 4px 10px 14px;
  margin-bottom: 6px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.portal-nav__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #1b8a50;
  box-shadow: 0 0 6px rgba(27, 138, 80, 0.5);
}

.portal-nav__name {
  font-weight: 700;
  font-size: 14px;
  color: var(--c-ink);
}

.portal-nav__role {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-muted);
  background: rgba(0, 0, 0, 0.05);
  padding: 2px 7px;
  border-radius: 4px;
}

.portal-nav__links {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.portal-nav__link {
  display: block;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--c-muted);
  text-decoration: none;
}

.portal-nav__link:hover {
  background: rgba(0, 0, 0, 0.04);
  color: var(--c-ink);
}

.portal-nav__link.is-active {
  background: rgba(10, 61, 98, 0.08);
  color: var(--gmts-blue);
  font-weight: 700;
}

.portal-nav__link--muted {
  margin-top: 6px;
  font-size: 13px;
  color: var(--c-muted);
}

.portal-layout--shop {
  align-items: start;
}

.doc-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 20px;
}

.doc-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  background: var(--c-surface, #fff);
}

.doc-row small {
  color: var(--c-muted);
  margin-left: 8px;
}

body.is-guest .only-signed,
body.is-guest .signedin-bar {
  display: none !important;
}

body.is-signed-in .only-guest {
  display: none !important;
}

body.is-signed-in .signedin-bar {
  display: block;
}

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

  .portal-nav {
    position: static;
  }

  .portal-nav__links {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 4px;
  }

  .portal-nav__link {
    font-size: 13px;
    padding: 7px 10px;
  }

  .portal-nav__user {
    width: 100%;
  }
}

.styleguide-swatch {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.styleguide-swatch div {
  border-radius: 10px;
  padding: 40px 14px 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

@media (max-width: 1020px) {
  .nav-list {
    display: none;
  }

  .nav-inner {
    min-width: 0;
    gap: 6px;
  }

  .logo {
    margin-right: 0;
    min-width: 0;
    flex-shrink: 1;
  }

  .nav-cta {
    margin-left: auto;
    flex-shrink: 0;
    gap: 8px;
  }

  .nav-cta .only-guest,
  .nav-cta .only-signed {
    display: none;
  }

  .burger {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    margin-left: 0;
    flex-shrink: 0;
  }

  .nav-cta .btn--ghost {
    display: none;
  }

  .hero .wrap,
  .prod-grid {
    grid-template-columns: 1fr;
  }

  .shop-layout {
    grid-template-columns: 1fr;
  }

  .shop-sidebar {
    position: static;
  }

  .shop-sidebar .shop-filter-group .chip-row {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .shop-sidebar .shop-filter-group .chip {
    width: auto;
  }

  .shop-main .prod-grid {
    grid-template-columns: 1fr;
  }

  .hero .wrap > * {
    min-width: 0;
  }

  .div-grid,
  .feat-grid,
  .vals,
  .vals--4,
  .chooser-grid,
  .compare-table {
    grid-template-columns: 1fr;
  }

  .site-footer .wrap {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer .wrap.site-footer__grid {
    grid-template-columns: 1fr;
  }

  :root {
    --sec-pad: 52px;
  }
}

/* —— Contact map —— */
.hero.gmts-section + .contact-map-section {
  padding-top: 28px;
}

.contact-map-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 36px;
  align-items: stretch;
}

.contact-map-copy {
  display: flex;
  flex-direction: column;
}

.contact-map-copy__cta {
  margin-top: auto;
  padding-top: 20px;
}

.contact-map-frame {
  border-radius: 14px;
  overflow: hidden;
  min-height: 320px;
  background: #dfe3e8;
  box-shadow: 0 12px 40px rgba(10, 61, 98, 0.12);
}

.contact-map-frame iframe {
  display: block;
  width: 100%;
  height: 340px;
  border: 0;
}

.contact-form-wrap {
  max-width: 720px;
}

/* —— Dealer portal login —— */
.portal-login {
  position: relative;
  min-height: calc(100vh - 120px);
  padding: 72px 0 88px;
  overflow: hidden;
}

.portal-login__atmosphere {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 15% 20%, rgba(10, 61, 98, 0.18), transparent 55%),
    radial-gradient(ellipse 70% 50% at 90% 80%, rgba(14, 116, 144, 0.14), transparent 50%),
    linear-gradient(165deg, #eef3f7 0%, #f7f9fb 45%, #e8eef4 100%);
  z-index: 0;
  pointer-events: none;
}

.portal-login__wrap {
  position: relative;
  z-index: 1;
  max-width: 920px;
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
  justify-items: stretch;
}

@media (min-width: 960px) {
  .portal-login__wrap {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
    gap: 40px;
    min-height: min(480px, calc(100vh - 280px));
  }

  .portal-login__brand {
    text-align: left;
    margin-bottom: 0;
    max-width: 36ch;
  }

  .portal-login__brand .eyebrow {
    justify-content: flex-start;
  }

  .portal-login__brand .lead {
    margin: 0;
    max-width: none;
  }
}

.portal-login__brand {
  text-align: center;
  margin-bottom: 28px;
}

.portal-login__brand img {
  height: 32px;
  width: auto;
  margin: 0 auto 20px;
  display: block;
}

.portal-login__brand .eyebrow {
  display: block;
  margin-bottom: 8px;
}

.portal-login__brand h1 {
  margin: 0 0 10px;
  font-size: clamp(28px, 4vw, 36px);
}

.portal-login__brand .lead {
  margin: 0 auto;
  max-width: 36ch;
  font-size: 15px;
}

.portal-login__card {
  background: #fff;
  border-radius: 16px;
  padding: 28px 28px 24px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.8) inset,
    0 18px 48px rgba(10, 61, 98, 0.14);
  border: 1px solid rgba(10, 61, 98, 0.08);
}

.portal-login__card #gmts-dealer-login p {
  margin: 0 0 16px;
}

.portal-login__card label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5a6169;
  margin-bottom: 6px;
}

.portal-login__card input[type="text"],
.portal-login__card input[type="password"] {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  border: 1px solid #c9cdd4;
  border-radius: 10px;
  font-size: 15px;
  background: #fafbfc;
  color: #16181c;
}

.portal-login__card input[type="text"]:focus,
.portal-login__card input[type="password"]:focus {
  outline: 2px solid rgba(10, 61, 98, 0.35);
  outline-offset: 1px;
  border-color: #0a3d62;
  background: #fff;
}

.portal-login__card .login-remember {
  display: flex;
  align-items: center;
  gap: 8px;
}

.portal-login__card .login-remember label {
  text-transform: none;
  letter-spacing: 0;
  font-family: var(--font-body, inherit);
  font-size: 14px;
  margin: 0;
  color: #3a3f46;
}

.portal-login__card .login-submit {
  margin-bottom: 0;
}

.portal-login__card input[type="submit"] {
  width: 100%;
  background: #0a3d62;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 14px 18px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(10, 61, 98, 0.28);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.portal-login__card input[type="submit"]:hover {
  background: #0c4d7a;
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(10, 61, 98, 0.34);
}

.portal-login__links {
  margin: 18px 0 0;
  text-align: center;
  font-size: 14px;
  color: #5a6169;
}

.portal-login__links a {
  color: #0a3d62;
  font-weight: 600;
}

.portal-login__links a:hover {
  text-decoration: underline;
}

.portal-login__note {
  margin: 14px 0 0;
  text-align: center;
  font-size: 12.5px;
  color: #868c94;
  line-height: 1.45;
}

.portal-login .login-username .input,
.portal-login .login-password .input {
  /* WP default classes */
}

@media (max-width: 800px) {
  .contact-map-grid {
    grid-template-columns: 1fr;
  }
}

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

  html {
    scroll-behavior: auto;
  }

  .portal-login__card input[type="submit"]:hover {
    transform: none;
  }
}

/* Partners carousel */
.trust--carousel { padding: 28px 0 36px; border-bottom: 1px solid #e9ebee; }
.trust__label { display: block; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--c-muted); margin-bottom: 16px; }
.partners-carousel { overflow: hidden; overflow-x: clip; max-width: 100%; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.partners-carousel__track { display: flex; gap: 48px; align-items: center; animation: gmts-carousel var(--carousel-duration, 40s) linear infinite; width: max-content; }
.partners-carousel__slide { flex: 0 0 auto; display: flex; align-items: center; justify-content: center; min-width: 100px; opacity: 0.88; }
.partners-carousel__slide img { max-height: 40px; width: auto; object-fit: contain; filter: grayscale(0.2); }
.partners-carousel__item { position: relative; display: inline-flex; align-items: center; justify-content: center; }
.partners-carousel__tip {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  transform: translateX(-50%);
  background: #0b1b2b;
  color: #fff;
  font-size: 12px;
  line-height: 1.35;
  padding: 6px 10px;
  border-radius: 6px;
  white-space: nowrap;
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease;
  z-index: 2;
}
.partners-carousel__item:hover .partners-carousel__tip,
.partners-carousel__item:focus-within .partners-carousel__tip {
  opacity: 1;
}
.partners-carousel__text { font-family: var(--font-display); font-weight: 700; font-size: 14px; color: var(--c-muted); white-space: nowrap; }
@keyframes gmts-carousel { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Footer grid */
.site-footer__grid { display: grid; grid-template-columns: 1.4fr repeat(5, 1fr); gap: 28px 20px; }
.site-footer__brand .logo--footer {
  display: block;
  margin-bottom: 4px;
}

.site-footer__brand .logo--footer img {
  display: block;
  width: var(--gmts-footer-logo-w, 200px);
  max-width: 100%;
  height: auto;
  object-fit: contain;
}
.site-footer__fine { margin-top: 40px; padding-top: 20px; border-top: 1px solid #2a2d32; color: #7a8088; font-size: 13px; }
.footer-nav-col h5 { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: #fff; margin-bottom: 12px; }
.footer-nav-col a { display: block; padding: 3px 0; color: #a9afb7; font-size: 13px; }
.footer-nav-col a:hover { color: #fff; }

/* Modal */
.gmts-modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 24px; }
.gmts-modal[hidden] { display: none !important; }
.gmts-modal__backdrop { position: absolute; inset: 0; background: rgba(10, 20, 30, 0.55); }
.gmts-modal__dialog { position: relative; background: #fff; border-radius: 14px; padding: 32px; max-width: 520px; width: 100%; box-shadow: 0 24px 64px rgba(0,0,0,0.25); }
.gmts-modal__close { position: absolute; top: 12px; right: 14px; border: 0; background: transparent; font-size: 28px; line-height: 1; cursor: pointer; color: var(--c-muted); }
body.gmts-modal-open { overflow: hidden; }

/* News cards */
.news-card { display: grid; grid-template-columns: 1fr; }
.news-card:not(:has(.news-card__thumb)) .prod-body {
  padding-top: 24px;
}
.news-card:not(:has(.news-card__thumb)) .brand {
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.news-card__thumb { display: block; aspect-ratio: 16/9; overflow: hidden; border-radius: 10px 10px 0 0; background: #e8eef4; }
.news-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-grid + .pagination,
.news-grid + nav.navigation {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  justify-content: center;
}
.news-grid + .pagination .page-numbers,
.news-grid + nav.navigation .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid #e2e6ea;
  color: var(--c-text);
  text-decoration: none;
  font-size: 14px;
}
.news-grid + .pagination .page-numbers.current,
.news-grid + nav.navigation .page-numbers.current {
  background: var(--c-brand);
  border-color: var(--c-brand);
  color: #fff;
}
.news-hero-img { margin: 20px 0 28px; border-radius: 12px; overflow: hidden; }
.news-hero-img img { width: 100%; height: auto; }

/* Careers */
.job-list { display: grid; gap: 24px; margin-top: 20px; }
.job-card { border: 1px solid #e2e6ea; border-radius: 12px; padding: 24px; background: #fff; }
.job-meta { font-size: 14px; color: var(--c-muted); margin: 8px 0 16px; }

@media (max-width: 1100px) {
  .site-footer .wrap.site-footer__grid,
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .site-footer .wrap.site-footer__grid,
  .site-footer__grid { grid-template-columns: 1fr; }
}

.directory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 24px;
  margin-top: 28px;
}
.directory-card {
  text-align: center;
  padding: 20px 16px;
  background: var(--c-surface);
  border: 1px solid #e6eaee;
  border-radius: 12px;
}
.directory-card img {
  max-height: 48px;
  width: auto;
  margin: 0 auto 12px;
  object-fit: contain;
}
.directory-card h3 {
  font-size: 15px;
  margin: 0 0 6px;
}
.directory-region {
  font-size: 12px;
  color: var(--c-muted);
  margin: 0 0 8px;
}

/* Peplink-inspired division & solution visuals */
.section-lead {
  max-width: 62ch;
  margin-top: 12px;
}

.stat-inline--band {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(127, 127, 127, 0.16);
}

.challenge-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 28px;
}

.challenge-card {
  background: var(--c-surface);
  border: 1px solid rgba(127, 127, 127, 0.14);
  border-radius: var(--radius-card);
  padding: 24px;
}

.challenge-card h3 {
  margin: 0 0 14px;
  font-size: 1.05rem;
}

.challenge-card__label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-primary);
  margin: 14px 0 6px;
  font-weight: 600;
}

[data-theme="enterprise"] .challenge-card__label {
  color: var(--c-secondary);
}

.content-split__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.content-split--reverse .content-split__grid {
  direction: rtl;
}

.content-split--reverse .content-split__grid > * {
  direction: ltr;
}

.content-split__media {
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid rgba(127, 127, 127, 0.12);
  min-height: 280px;
}

.content-split__media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}

.content-split__copy h2 {
  margin-top: 0;
}

.ecosystem-trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 28px;
}

.ecosystem-card {
  background: #fff;
  border: 1px solid rgba(127, 127, 127, 0.14);
  border-radius: var(--radius-card);
  padding: 24px;
}

.ecosystem-card__verb {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-muted);
}

.ecosystem-card h3 {
  margin: 8px 0 10px;
}

.use-case-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.use-case-chip {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(127, 127, 127, 0.2);
  background: #fff;
  color: var(--c-muted);
}

.photo-grid {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.photo-grid--2 {
  grid-template-columns: 1fr 1fr;
}

.photo-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.photo-grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

.why-gmts-grid,
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 24px;
}

.why-gmts-card,
.audience-card {
  padding: 24px;
  border-radius: var(--radius-card);
  border: 1px solid rgba(127, 127, 127, 0.12);
  background: #fff;
}

.why-gmts-card h3,
.audience-card h3 {
  margin: 0 0 10px;
  font-size: 1.05rem;
}

.faq-accordion {
  margin-top: 24px;
  display: grid;
  gap: 12px;
}

.image-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
  border-radius: var(--radius-card);
  border: 2px dashed rgba(127, 127, 127, 0.25);
  background: rgba(127, 127, 127, 0.06);
  color: var(--c-muted);
  font-size: 0.9rem;
  text-align: center;
  padding: 16px;
}

.gmts-gallery-slots {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.gmts-gallery-slots img {
  max-height: 40px;
  width: auto;
  border-radius: 4px;
}

.photo-grid__cell {
  border-radius: var(--radius-card);
  overflow: visible;
  min-height: 200px;
  border: 1px solid rgba(127, 127, 127, 0.1);
  background: var(--c-surface, #fff);
}

.photo-grid__zoom {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  overflow: hidden;
  border-radius: var(--radius-card);
}

.photo-grid__zoom img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  transition: transform 0.2s ease;
}

.photo-grid__zoom:hover img,
.photo-grid__zoom:focus-visible img {
  transform: scale(1.03);
}

.photo-grid__expand {
  position: absolute;
  right: 10px;
  bottom: 10px;
  background: rgba(10, 20, 30, 0.72);
  color: #fff;
  font-size: 14px;
  line-height: 1;
  padding: 6px 8px;
  border-radius: 6px;
  pointer-events: none;
}

.photo-grid__tip {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  background: rgba(10, 20, 30, 0.78);
  color: #fff;
  font-size: 12px;
  line-height: 1.35;
  padding: 6px 8px;
  border-radius: 6px;
  opacity: 0;
  transition: opacity 0.15s ease;
  pointer-events: none;
  text-align: left;
}

.photo-grid__zoom:hover .photo-grid__tip,
.photo-grid__zoom:focus-visible .photo-grid__tip {
  opacity: 1;
}

.photo-grid__caption {
  margin: 10px 12px 0;
  font-size: 14px;
  color: var(--c-muted);
}

.photo-grid__link {
  margin: 6px 12px 12px;
  font-size: 13px;
}

.gmts-lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.gmts-lightbox[hidden] {
  display: none !important;
}

.gmts-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 16, 24, 0.82);
}

.gmts-lightbox__dialog {
  position: relative;
  max-width: min(1100px, 96vw);
  max-height: 92vh;
  width: 100%;
  background: #fff;
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.gmts-lightbox__img {
  display: block;
  max-width: 100%;
  max-height: calc(92vh - 100px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
}

.gmts-lightbox__caption {
  margin: 12px 0 0;
  font-size: 15px;
  color: var(--c-muted);
  text-align: center;
}

.gmts-lightbox__close {
  position: absolute;
  top: 8px;
  right: 10px;
  border: 0;
  background: transparent;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  color: var(--c-muted);
}

body.gmts-lightbox-open {
  overflow: hidden;
}

.photo-grid__cell img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
}

.solution-visual {
  padding-top: 0;
}

@media (max-width: 900px) {
  .challenge-grid,
  .ecosystem-trio {
    grid-template-columns: 1fr;
  }

  .content-split__grid,
  .photo-grid--2,
  .photo-grid--3,
  .photo-grid--4,
  .why-gmts-grid,
  .audience-grid {
    grid-template-columns: 1fr;
  }

  .content-split--reverse .content-split__grid {
    direction: ltr;
  }
}

/* Layout pass — choosers, legal, shop, news, quiz */
.chooser-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.compare-table {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.compare-row,
.chooser-card {
  border: 1px solid rgba(127, 127, 127, 0.16);
  border-radius: var(--radius-card);
  padding: 22px 24px;
  background: var(--c-bg);
}

.compare-row b,
.chooser-card h3 {
  display: block;
  margin: 0 0 8px;
}

.legal-article {
  max-width: 760px;
}

.legal-article.gmts-section {
  padding-top: 36px;
}

.news-empty {
  grid-column: 1 / -1;
  padding: 36px 8px 12px;
}

.prod-img .image-placeholder {
  width: 100%;
  height: 100%;
  min-height: 150px;
  border: 0;
  border-radius: 0;
}

.dealer-note--quiet {
  margin-top: 20px;
}

@media (max-width: 375px) {
  .configurator-wrap,
  #gmts-cfg-root,
  #gmts-configurator {
    overflow-x: auto;
  }

  .chip-row {
    gap: 6px;
  }

  .chip {
    padding: 6px 12px;
    font-size: 11px;
  }
}

/* Official partner video embeds */
.gmts-video-band h2 {
  margin-bottom: 24px;
}

.gmts-video {
  margin: 0;
}

.gmts-video__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0b1b2b;
  border-radius: 12px;
  overflow: hidden;
}

.gmts-video__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.gmts-video__caption {
  margin-top: 10px;
  font-size: 13px;
  color: var(--c-muted, #6b7078);
}

.gmts-video-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .gmts-video-grid {
    grid-template-columns: 1fr 1fr;
  }

  .gmts-video-grid--3 {
    grid-template-columns: 1fr 1fr;
  }

  .gmts-video-grid--3 .gmts-video:first-child {
    grid-column: 1 / -1;
  }
}

.gmts-video-extra {
  margin-top: 20px;
}

.gmts-video-extra a {
  font-weight: 600;
  color: var(--c-primary, #0b5fd9);
}

/* —— Phone layout (390–480) —— */
@media (max-width: 480px) {
  html,
  body {
    overflow-x: clip;
  }

  :root {
    --nav-h: 64px;
    --sec-pad: 44px;
  }

  .wrap {
    padding: 0 16px;
  }

  .nav-inner {
    padding: 0 12px;
  }

  .logo--img img {
    height: 40px;
  }

  .nav-cta .nav-search,
  .nav-cta .gmts-social--compact {
    display: none;
  }

  h1 {
    font-size: clamp(1.6rem, 7.2vw, 2.2rem);
    overflow-wrap: break-word;
    text-wrap: balance;
  }

  p.lead,
  .section-lead {
    font-size: 16px;
    max-width: none;
    overflow-wrap: break-word;
  }

  .hero .wrap {
    max-width: 100%;
    gap: 32px;
  }

  .cta-row {
    flex-direction: column;
    gap: 10px;
  }

  .cta-row .btn {
    width: 100%;
    min-height: 44px;
    justify-content: center;
  }

  .chip-row {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
    margin-right: -4px;
  }

  .chip-row::-webkit-scrollbar {
    display: none;
  }

  .chip {
    flex-shrink: 0;
  }

  .gmts-health-row__helper,
  .gmts-health-row__detail {
    overflow-wrap: break-word;
    white-space: normal;
  }

  .gmts-health-row__head a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
}

/* Mobile nav — division accents */
.mobile-nav__link--marine {
  border-left: 4px solid #0a3d62;
  padding-left: 12px;
}

.mobile-nav__link--mobile {
  border-left: 4px solid #f6c700;
  padding-left: 12px;
}

.mobile-nav__link--enterprise {
  border-left: 4px solid #111111;
  padding-left: 12px;
}

.mobile-nav__social {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #e9ebee;
}

.mobile-nav__social .gmts-social a {
  min-width: 44px;
  min-height: 44px;
}

/* Mobile nav accordion */
.mobile-nav__section {
  border-bottom: 1px solid #e9ebee;
}

.mobile-nav__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: none;
  font: inherit;
  text-align: left;
  cursor: pointer;
  min-height: 44px;
}

.mobile-nav__chev {
  font-size: 0.75rem;
  transition: transform 0.2s ease;
}

.mobile-nav__toggle[aria-expanded="true"] .mobile-nav__chev {
  transform: rotate(180deg);
}

.mobile-nav__children {
  padding: 0 0 12px 16px;
}

.mobile-nav__children:not([hidden]) {
  margin-bottom: 4px;
}

.mobile-nav__child {
  display: block;
  padding: 10px 0 10px 12px;
  font-size: 0.95rem;
  color: var(--text-soft, #5a6b7c);
  text-decoration: none;
  min-height: 44px;
  line-height: 1.3;
  display: flex;
  align-items: center;
}

.mobile-nav__child:hover {
  color: var(--c-primary, #0b5fd9);
}
