:root {
  --color-bg: #f4f6f8;
  --color-surface: #ffffff;
  --color-surface-alt: #eef1f4;
  --color-text: #111111;
  --color-text-muted: #5c6b79;
  --color-border: #d8e0e6;
  --color-shadow: rgba(19, 33, 47, 0.08);

  --color-primary: #111111;
  --color-primary-dark: #000000;
  --color-accent: #ffc107;

  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-lg: 8px;

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;

  --shadow-sm: 0 8px 24px var(--color-shadow);
  --shadow-md: 0 14px 40px rgba(19, 33, 47, 0.12);

  --container: 1200px;
  --container-expanded: 1320px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Roboto", "Segoe UI", Arial, sans-serif;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.container-expanded {
  width: min(100% - 2rem, var(--container-expanded));
  margin-inline: auto;
}

.section {
  padding: var(--space-8) 0;
}

.section-tight {
  padding: var(--space-7) 0;
}

.eyebrow {
  margin: 0 0 var(--space-3);
  color: #9f7400;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: var(--space-4);
  font-weight: 700;
}

h2 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  margin-bottom: var(--space-4);
  font-weight: 700;
}

h3 {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  margin-bottom: var(--space-3);
}

p {
  margin: 0 0 var(--space-4);
  color: var(--color-text-muted);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  border-radius: var(--radius-sm);
  padding: 0.8rem 1.3rem;
  font-weight: 700;
  border: 1px solid transparent;
  white-space: nowrap;
  transition: transform 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--color-primary-dark);
}

.btn-secondary {
  background: #fff;
  border-color: var(--color-border);
  color: var(--color-text);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  border-color: #b88a00;
  color: #111111;
  background: #fff7de;
}

.top-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(216, 224, 230, 0.9);
  background: rgba(255, 255, 255, 0.96);
}

.nav-shell {
  min-height: 84px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: var(--space-4);
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.brand-logo {
  display: block;
  width: auto;
  max-width: 275px;
  max-height: 85px;
  object-fit: contain;
}

.brand-name {
  margin: 0;
  font-size: 1.22rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-sub {
  margin: 0;
  font-size: 0.72rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--color-border);
  background: #fff;
  border-radius: var(--radius-sm);
  height: 42px;
  width: 42px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  width: 18px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  display: block;
  content: "";
  position: relative;
  transition: 0.3s ease;
}

.nav-toggle span::before {
  top: -6px;
  position: absolute;
}

.nav-toggle span::after {
  top: 6px;
  position: absolute;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.main-nav a {
  padding: 0.45rem 0.75rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  color: #2e3f51;
}

.main-nav a:hover,
.main-nav a:focus-visible,
.main-nav a.active {
  color: var(--color-primary);
  background: #fff3cd;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.phone-link {
  font-weight: 700;
  color: #111111;
}

.mobile-only {
  display: none;
}

.hero {
  padding: var(--space-8) 0 var(--space-7);
}

.hero-grid {
  display: grid;
  gap: var(--space-6);
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
}

.hero-text p {
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  max-width: 58ch;
}

.card-grid {
  display: grid;
  gap: var(--space-4);
}

.proof-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.three-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.two-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.four-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  padding: var(--space-5);
}

.card p:last-child {
  margin-bottom: 0;
}

.card-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-3);
}

.kicker {
  font-weight: 700;
  color: #9f7400;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.image-placeholder {
  min-height: 220px;
  border: 1px dashed #95a3af;
  border-radius: var(--radius-md);
  background: #e3e9ef;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-5);
  color: #4f5f6f;
  font-weight: 700;
}

.image-placeholder.tall {
  min-height: 320px;
}

.image-placeholder.short {
  min-height: 170px;
}

.split-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  align-items: center;
}

.page-hero {
  padding: var(--space-7) 0 var(--space-5);
}

.cta-band {
  background: #1a1a1a;
  color: #fff;
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-md);
}

.cta-band h2 {
  color: #f5f9fd;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
}

.cta-band p {
  color: rgba(255, 255, 255, 0.87);
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}

.filter-btn {
  border: 1px solid var(--color-border);
  background: #fff;
  padding: 0.55rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  cursor: pointer;
}

.filter-btn.active,
.filter-btn:hover,
.filter-btn:focus-visible {
  color: var(--color-primary);
  border-color: #b88a00;
  background: #fff3cd;
}

.resource-card.hidden {
  display: none;
}

.products-filter-wrap {
  background: #fff;
  border: 1px solid #d1dae2;
  box-shadow: var(--shadow-sm);
  padding: var(--space-4);
  margin-bottom: var(--space-5);
}

.product-subfilter-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
}

.product-subfilter-row label {
  margin: 0;
}

.product-subfilter-row select {
  min-width: min(100%, 360px);
}

.product-results-count {
  margin: 0;
  font-weight: 700;
  color: #3a4c5c;
}

.product-card.hidden {
  display: none;
}

.product-card {
  display: grid;
  gap: var(--space-3);
}

.product-card .product-detail-trigger {
  justify-self: start;
  margin-top: auto;
}

.product-card.is-selected {
  border-color: #c7d2dd;
  border-left: 4px solid #ffc107;
  box-shadow: 0 12px 24px rgba(12, 24, 37, 0.08);
}

.product-detail-actions {
  margin-bottom: 0;
}

.products-page .products-filter-wrap {
  background: #ffffff;
  border: 1px solid #c9d4df;
  border-top: 4px solid #111111;
  box-shadow: 0 16px 30px rgba(15, 28, 44, 0.08);
  padding: clamp(1rem, 2.2vw, 1.35rem);
  display: grid;
  gap: 0.95rem;
}

.products-page .filter-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
  padding: 0;
  background: transparent;
  border: 0;
  margin-bottom: 0;
}

@media (max-width: 1220px) {
  .products-page .filter-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .products-page .filter-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.products-page .filter-btn {
  border: 1px solid #c7d3df;
  border-left-width: 3px;
  background: #ffffff;
  padding: 0.7rem 0.74rem;
  min-height: 44px;
  font-size: 0.77rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #22374a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
  line-height: 1.2;
  transition: border-color 0.22s ease, color 0.22s ease, background-color 0.22s ease;
}

.products-page .filter-btn.active,
.products-page .filter-btn:hover,
.products-page .filter-btn:focus-visible {
  border-color: #111111;
  border-left-color: #ffc107;
  color: #111111;
}

.products-page .filter-btn:hover,
.products-page .filter-btn:focus-visible {
  background: #f3f7fb;
  color: #111111;
}

.products-page .filter-btn.active {
  background: #fff8df;
  color: #111111;
}

.products-page .products-filter-meta {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.72rem;
  padding-top: 0.4rem;
  border-top: 1px solid #dde5ec;
}

.products-page .products-filter-meta .btn-secondary {
  border-color: #bcc8d4;
  background: #ffffff;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.products-page .product-results-count {
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 0.35rem 0.6rem;
  border: 1px solid #d2dce5;
  background: #ffffff;
  color: #2a3f52;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.products-page .products-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-4);
  margin-top: 2rem;
}

@media (max-width: 1220px) {
  .products-page .products-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .products-page .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .products-page .products-grid {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
}

.products-page .product-card {
  position: relative;
  gap: 0;
  padding: 0;
  border: 1px solid #d2dbe4;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 12px 26px rgba(12, 24, 37, 0.07);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background-color 0.22s ease;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  cursor: pointer;
  text-align: left;
  font-size: inherit;
  font-family: inherit;
  color: inherit;
}

.products-page .product-card.hidden {
  display: none;
}

.products-page .product-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  border-radius: 14px 14px 0 0;
  background: #ffc107;
  opacity: 0.45;
  z-index: 1;
}

.products-page .product-image-wrapper {
  width: 100%;
  height: 240px;
  overflow: hidden;
  background: #f0f4f9;
  display: flex;
  align-items: center;
  justify-content: center;
}

.products-page .product-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 1rem;
}

.products-page .product-card h3 {
  padding: 1rem 1.25rem;
  margin: 0;
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.3;
  color: #1f3347;
}

.products-page .product-card p {
  margin-bottom: 0.12rem;
  color: #4a5d6f;
  line-height: 1.55;
  display: -webkit-box;
  line-clamp: 3;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.products-page .product-card:hover,
.products-page .product-card:focus-within {
  transform: translateY(-3px);
  border-color: #b3c2cf;
  background: #fbfdff;
  box-shadow: 0 18px 34px rgba(12, 24, 37, 0.12);
}

.products-page .product-card.product-card-enter {
  animation: product-card-in 0.34s ease both;
  animation-delay: var(--product-enter-delay, 0ms);
}

@keyframes product-card-in {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.995);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .products-page .product-card.product-card-enter {
    animation: none;
  }

  .product-modal,
  .product-modal-dialog {
    transition: none;
  }
}

.product-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: var(--space-4);
  background: rgba(14, 24, 34, 0.58);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

.product-modal[hidden] {
  display: none;
}

.product-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.product-modal-dialog {
  width: min(100%, 900px);
  max-height: min(90vh, 800px);
  overflow-y: auto;
  background: #fff;
  border: 1px solid #c9d4df;
  box-shadow: var(--shadow-md);
  border-radius: var(--radius-md);
  padding: var(--space-5);
  opacity: 0;
  transform: translateY(10px) scale(0.985);
  transition: opacity 0.24s ease, transform 0.24s ease;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  position: relative;
}

.product-modal.is-open .product-modal-dialog {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.product-modal-content {
  display: contents;
}

.product-modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  border: 1px solid #d2dbe4;
  background: #fff;
  color: #1f3245;
  padding: 0.45rem 0.7rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  z-index: 1;
}

.product-modal-close svg {
  width: 20px;
  height: 20px;
}

.product-modal-close:hover,
.product-modal-close:focus-visible {
  border-color: #b88a00;
  background: #fff3cd;
}

.product-modal-image {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0f4f9;
  border-radius: 8px;
  min-height: 300px;
  overflow: hidden;
}

.product-modal-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1.5rem;
  max-width: 100%;
}

.product-modal-details h2 {
  margin-bottom: 0.75rem;
  font-size: 1.75rem;
  line-height: 1.3;
  color: #1f3347;
}

.product-modal-description {
  margin-bottom: 1.5rem;
  color: #4a5d6f;
  font-size: 1rem;
  line-height: 1.6;
}

.product-modal-specs {
  margin-bottom: 1.75rem;
}

.product-modal-specs h3 {
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #22374a;
  margin-bottom: 0.75rem;
}

.product-modal-specs-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.5rem;
}

.product-modal-specs-list li {
  padding: 0.6rem 0.9rem;
  background: #f7fafc;
  border: 1px solid #dde5ec;
  border-radius: 6px;
  color: #1f3347;
  font-size: 0.95rem;
  line-height: 1.4;
}

.product-modal-specs-list li::before {
  content: "✓ ";
  color: #ffc107;
  font-weight: 700;
  margin-right: 0.5rem;
}

.product-modal-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.product-modal-actions .btn {
  flex: 1;
  min-width: 160px;
}

@media (max-width: 760px) {
  .product-modal-dialog {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.5rem;
  }

  .product-modal-close {
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    padding: 0.35rem 0.6rem;
  }

  .product-modal-details h2 {
    font-size: 1.5rem;
  }
}

.product-help-fab {
  position: fixed;
  right: 1rem;
  top: 92%;
  transform: translateY(-50%);
  z-index: 112;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 0;
  background: transparent;
  color: #111111;
  padding: 0;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.03em;
  cursor: pointer;
  justify-content: center;
  box-shadow: none;
  transition: color 0.2s ease;
}

.products-page-body .product-help-fab {
  top: 50%;
}

.product-help-fab svg {
  width: 40px;
  height: 40px;
  display: block;
  fill: currentColor;
}

.product-help-fab-icon {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #a67c00;
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
  padding-left: 1px;
}

.product-help-fab-label {
  max-width: 0;
  overflow: hidden;
  opacity: 0;
  white-space: nowrap;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: max-width 0.22s ease, opacity 0.22s ease;
}

.product-help-fab:hover .product-help-fab-label,
.product-help-fab:focus-visible .product-help-fab-label,
.product-help-fab.is-open .product-help-fab-label {
  max-width: 88px;
  opacity: 1;
}

.product-help-fab:hover,
.product-help-fab:focus-visible {
  color: #8f6800;
}

.product-help-drawer {
  position: fixed;
  inset: 0;
  z-index: 120;
  pointer-events: none;
}

.product-help-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(10, 16, 23, 0.44);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.product-help-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(100%, 430px);
  height: 100%;
  background: #f8fafc;
  border-left: 3px solid #ffc107;
  box-shadow: -18px 0 40px rgba(12, 24, 37, 0.28);
  padding: 1.1rem 1.1rem 1.25rem;
  overflow-y: auto;
  transform: translateX(102%);
  transition: transform 0.3s ease;
}

.product-help-panel-head {
  padding: 0.15rem 0 0.85rem;
  margin-bottom: 0.85rem;
  border-bottom: 1px solid #d8e0e8;
}

.product-help-panel-head h2 {
  margin-bottom: 0.35rem;
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
}

.product-help-panel-head p {
  margin: 0;
  color: #415364;
}

.product-help-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.62rem;
}

.product-help-list li {
  background: #ffffff;
  border: 1px solid #d7e0e8;
  border-left: 3px solid #ffc107;
  padding: 0.62rem 0.7rem;
}

.product-help-cta {
  margin-top: var(--space-4);
  margin-bottom: 0;
}

.product-help-cta .btn {
  width: 100%;
}

.product-help-panel .btn-primary {
  background: #ffc107;
  border-color: #ffc107;
  color: #111111;
}

.product-help-panel .btn-primary:hover,
.product-help-panel .btn-primary:focus-visible {
  background: #ffcf3a;
  border-color: #ffcf3a;
  color: #111111;
}

.product-help-close {
  margin-left: auto;
  display: block;
  border: 1px solid #ccd6df;
  background: #ffffff;
  color: #1a2c3c;
  font-weight: 700;
  padding: 0.45rem 0.7rem;
  cursor: pointer;
}

.product-help-close:hover,
.product-help-close:focus-visible {
  border-color: #b88a00;
  background: #fff3cd;
}

.product-help-drawer.is-open {
  pointer-events: auto;
}

.product-help-drawer.is-open .product-help-backdrop {
  opacity: 1;
}

.product-help-drawer.is-open .product-help-panel {
  transform: translateX(0);
}

body.product-help-open {
  overflow: hidden;
}

body.modal-open {
  overflow: hidden;
}

.product-empty {
  margin-top: var(--space-4);
}

.contact-layout {
  display: grid;
  gap: var(--space-6);
  grid-template-columns: 1.1fr 0.9fr;
}

.contact-form {
  background: #fff;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  border-radius: var(--radius-md);
  padding: var(--space-5);
}

.form-grid {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.field {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.field-full {
  grid-column: 1 / -1;
}

label {
  font-weight: 700;
  font-size: 0.92rem;
}

input,
select,
textarea {
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  padding: 0.74rem 0.8rem;
  font: inherit;
  color: var(--color-text);
  background: #fff;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid transparent;
  border-color: #b88a00;
  box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.3);
}

textarea {
  min-height: 150px;
  resize: vertical;
}

.field-note {
  margin: var(--space-2) 0 0;
  font-size: 0.82rem;
  color: var(--color-text-muted);
}

.field-error {
  margin: var(--space-1) 0 0;
  font-size: 0.82rem;
  color: #b4342e;
  font-weight: 600;
}

.input-error {
  border-color: #b4342e;
  box-shadow: 0 0 0 3px rgba(180, 52, 46, 0.12);
}

.form-status {
  margin-top: var(--space-4);
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.85rem;
  font-weight: 600;
}

.form-status.error {
  color: #7d211d;
  background: #fdeceb;
  border: 1px solid #f8c7c3;
}

.form-status.success {
  color: #155035;
  background: #eaf9f0;
  border: 1px solid #b7e8cb;
}

.page-shell {
  overflow-x: clip;
}

.page-hero {
  padding: clamp(2.6rem, 5vw, 4.5rem) 0;
}

.page-hero-grid {
  display: grid;
  gap: var(--space-6);
  grid-template-columns: 1.1fr 0.9fr;
  align-items: start;
}

.page-hero h1 {
  max-width: 18ch;
}

.page-hero-grid > div > p {
  max-width: 64ch;
}

.hero-panel {
  background: #fff;
  border: 1px solid #d2dbe3;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: var(--space-5);
}

.hero-panel h2,
.hero-panel h3 {
  margin-bottom: var(--space-3);
}

.hero-panel p:last-child,
.hero-panel ul:last-child {
  margin-bottom: 0;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-4);
}

.chip {
  display: inline-flex;
  align-items: center;
  border: 1px solid #d6dee6;
  background: #fff;
  border-radius: 999px;
  padding: 0.3rem 0.7rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: #324354;
}

.company-hero {
  background: #f7f9fb;
}

.company-hero-modern {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(92deg, rgba(10, 18, 27, 0.86) 0%, rgba(10, 18, 27, 0.74) 34%, rgba(10, 18, 27, 0.48) 54%, rgba(10, 18, 27, 0.2) 70%, rgba(10, 18, 27, 0.05) 84%),
    url("images/building/tms_exterior.jpg");
  background-size: 100% 100%, cover;
  background-position: left top, center;
  min-height: clamp(420px, 48vw, 620px);
}

.company-hero-modern .page-hero-grid {
  grid-template-columns: 1fr;
  align-items: center;
}

.company-hero-copy {
  max-width: 38rem;
  padding-block: clamp(1.2rem, 2.6vw, 2.4rem);
}

.company-hero-copy h1 {
  max-width: 13ch;
  color: #ffffff;
}

.company-hero-copy p {
  color: rgba(240, 246, 252, 0.92);
}

.service-hero {
  position: relative;
  overflow: hidden;
  background-color: #11161c;
  background-image: url("images/service/service_hero.png");
  background-size: cover;
  background-position: center 15%;
}

.service-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(8, 12, 18, 0.62);
  z-index: 0;
}

.service-hero::before {
  z-index: 2;
}

.service-hero .container {
  position: relative;
  z-index: 1;
}

.service-hero .eyebrow {
  color: #ffd45a;
}

.service-hero .page-hero-grid > div h1,
.service-hero .page-hero-grid > div p {
  color: #ffffff;
}

.solutions-hero {
  background: #f8fafc;
}

.knowledge-hero {
  position: relative;
  overflow: hidden;
  padding: 0;
  background-color: #eef3f7;
  background-image:
    linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 0.995) 18%, rgba(255, 255, 255, 0.96) 33%, rgba(255, 255, 255, 0.84) 46%, rgba(255, 255, 255, 0.54) 58%, rgba(255, 255, 255, 0.14) 70%, rgba(255, 255, 255, 0) 78%),
    radial-gradient(circle at 12% 52%, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.76) 28%, rgba(255, 255, 255, 0.28) 52%, rgba(255, 255, 255, 0) 72%),
    url("images/knowledge/knowledge_hero.png");
  background-size: 100% 100%, 62% 120%, cover;
  background-position: left top, left center, 64% center;
  background-repeat: no-repeat;
  min-height: clamp(360px, 42vw, 560px);
  display: flex;
  align-items: center;
}

.knowledge-hero::before {
  content: none;
}

.knowledge-hero::after {
  content: none;
}

.knowledge-hero .page-hero-grid {
  grid-template-columns: 1fr;
  position: relative;
  z-index: 1;
  align-items: center;
  min-height: inherit;
}

.knowledge-hero-copy {
  max-width: min(42rem, 46%);
  padding: clamp(2.25rem, 4.6vw, 3.5rem) 0;
}

.knowledge-hero-copy::before {
  content: "";
  display: block;
  width: 7.25rem;
  height: 4px;
  margin-bottom: clamp(1rem, 1.9vw, 1.5rem);
  background: #ffc107;
}

.knowledge-hero .page-hero-grid > .knowledge-hero-copy > h1 {
  max-width: 10.5ch;
  margin-bottom: 0.95rem;
  font-size: clamp(2.7rem, 4.8vw, 4.5rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: #172333;
}

.knowledge-hero .page-hero-grid > .knowledge-hero-copy > p {
  max-width: 27ch;
  font-size: clamp(0.96rem, 1.08vw, 1.14rem);
  line-height: 1.5;
  color: #536476;
}

.article-hero {
  background: #f7fafc;
  min-height: 25vh;
  display: flex;
  align-items: center;
  padding: clamp(1.2rem, 2.6vw, 2rem) 0;
}

.article-hero .page-hero-grid {
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 4rem);
}

.article-hero-copy {
  max-width: 54rem;
}

.article-hero-media {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.article-hero-logo {
  display: block;
  width: auto;
  max-width: min(100%, 420px);
  max-height: 260px;
  object-fit: contain;
  margin-left: auto;
}

.article-hero .eyebrow {
  margin-bottom: 0.75rem;
}

.article-hero h1 {
  max-width: 16ch;
}

.article-hero .page-hero-grid > div > p {
  max-width: 58ch;
}

.article-hero-simple .page-hero-grid {
  grid-template-columns: 1fr;
}

.article-hero-simple .page-hero-grid > div > p {
  max-width: 62ch;
}

@media (max-width: 900px) {
  .knowledge-hero {
    min-height: 340px;
    background-image:
      linear-gradient(180deg, rgba(255, 255, 255, 0.985) 0%, rgba(255, 255, 255, 0.94) 34%, rgba(255, 255, 255, 0.78) 62%, rgba(255, 255, 255, 0.32) 100%),
      radial-gradient(circle at 50% 8%, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.34) 38%, rgba(255, 255, 255, 0) 66%),
      url("images/knowledge/knowledge_hero.png");
    background-size: 100% 100%, 100% 70%, cover;
    background-position: left top, center top, 68% center;
  }

  .knowledge-hero-copy {
    max-width: min(32rem, 100%);
    padding: clamp(2rem, 6vw, 2.8rem) 0;
  }

  .knowledge-hero .page-hero-grid > .knowledge-hero-copy > h1,
  .knowledge-hero .page-hero-grid > .knowledge-hero-copy > p {
    max-width: 100%;
  }

  .article-hero {
    min-height: 22vh;
  }

  .article-hero .page-hero-grid {
    grid-template-columns: 1fr;
  }

  .article-hero-media {
    justify-content: flex-start;
  }

  .article-hero-logo {
    max-width: 260px;
    max-height: 96px;
    margin-left: 0;
  }

  .article-hero-simple .page-hero-grid {
    grid-template-columns: 1fr;
  }

  .company-hero-modern {
    min-height: 360px;
    background:
      linear-gradient(180deg, rgba(10, 18, 27, 0.82) 0%, rgba(10, 18, 27, 0.66) 42%, rgba(10, 18, 27, 0.4) 72%, rgba(10, 18, 27, 0.18) 100%),
      url("images/building/tms_exterior.jpg");
    background-size: 100% 100%, cover;
    background-position: left top, center;
  }

  .company-hero-modern .page-hero-grid {
    grid-template-columns: 1fr;
  }

  .company-facility-photo img {
    min-height: 300px;
  }

  .company-timeline-list {
    grid-template-columns: 1fr;
    row-gap: 0.9rem;
    margin-top: var(--space-5);
  }

  .company-timeline-list::before {
    left: 0.4rem;
    transform: none;
    top: 0.35rem;
    bottom: 0.35rem;
  }

  .company-timeline-list .timeline-item:nth-child(odd),
  .company-timeline-list .timeline-item:nth-child(even) {
    grid-column: 1;
    margin: 0 0 0 1.25rem;
  }

  .company-timeline-list .timeline-item:nth-child(odd)::before,
  .company-timeline-list .timeline-item:nth-child(even)::before {
    left: -1.6rem;
    right: auto;
    top: 1.25rem;
  }

  .company-map-panel {
    padding: 1rem;
  }

  .company-strength-grid {
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }

  .company-facility-photo {
    transform: none;
  }
}

.contact-hero {
  background: #f9fbfc;
}

.stat-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: var(--space-3);
}

.stat-list li {
  display: flex;
  justify-content: space-between;
  gap: var(--space-3);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid #e0e7ee;
}

.stat-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.stat-list strong {
  color: #111;
}

.timeline-list {
  list-style: none;
  margin: var(--space-5) 0 0;
  padding: 0;
  display: grid;
  gap: var(--space-4);
}

.timeline-item {
  background: #fff;
  border: 1px solid #d5dde5;
  box-shadow: var(--shadow-sm);
  padding: var(--space-4);
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: var(--space-4);
  align-items: start;
}

.timeline-item .kicker {
  margin: 0;
}

.ops-grid {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: 1fr 1fr;
}

.ops-card {
  background: #fff;
  border: 1px solid #d4dde5;
  box-shadow: var(--shadow-sm);
  padding: var(--space-5);
}

.ops-list {
  margin: 0;
  padding-left: 1.1rem;
  color: #4a5b6b;
}

.ops-list li {
  margin-bottom: var(--space-2);
}

.knowledge-feature {
  background: #fff;
  border: 1px solid #d3dce4;
  box-shadow: var(--shadow-sm);
  padding: var(--space-5);
}

.contact-channel-grid {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.channel-card {
  background: #fff;
  border: 1px solid #d2dbe3;
  box-shadow: var(--shadow-sm);
  padding: var(--space-4);
}

.channel-card h3 {
  margin-bottom: var(--space-2);
}

.footer {
  margin-top: var(--space-8);
  background: #555555;
  color: #f2f2f2;
}

.footer-top {
  padding: var(--space-8) 0 var(--space-7);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--space-7);
}

.footer h3,
.footer h4 {
  margin-bottom: var(--space-4);
  color: #ffffff;
}

.footer p,
.footer li,
.footer a,
.footer small {
  color: #ececec;
}

.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-list li {
  margin-bottom: var(--space-2);
}

.footer-list a:hover,
.footer-list a:focus-visible {
  color: #ffc107;
}

.footer .btn-secondary,
.footer .btn-secondary:visited {
  color: #111111;
}

.footer .btn-secondary:hover,
.footer .btn-secondary:focus-visible {
  color: #111111;
}

.footer-brand-stack {
  margin: var(--space-4) 0 var(--space-6);
  display: grid;
  gap: var(--space-2);
  max-width: 260px;
}

.footer-brand-item {
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1;
  text-transform: uppercase;
}

.footer-brand-item.orange {
  color: #ff6a00;
  font-size: 2.1rem;
}

.footer-brand-item.red {
  color: #d70000;
  font-size: 1.95rem;
}

.footer-social {
  display: flex;
  gap: var(--space-3);
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 0;
  border-radius: 999px;
  font-weight: 700;
  color: #ffffff;
}

.footer-social svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer-social a:hover,
.footer-social a:focus-visible {
  border-color: #ffc107;
  color: #ffc107;
}

.footer-bottom {
  background: #000000;
  padding: var(--space-5) 0;
}

.footer-bottom-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--space-5);
}

.footer-meta {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-meta li {
  margin-bottom: var(--space-2);
}

.footer-meta a:hover,
.footer-meta a:focus-visible {
  color: #ffc107;
}

.home-premium .section-tight {
  padding-block: clamp(2.6rem, 5vw, 4.4rem);
}

.home-hero {
  padding-top: clamp(2.8rem, 4.4vw, 5rem);
}

.home-hero-grid {
  display: grid;
  gap: var(--space-6);
  grid-template-columns: 1.05fr 0.95fr;
  align-items: stretch;
}

.home-hero-copy {
  background: var(--color-surface);
  border: 1px solid #d2d8de;
  box-shadow: var(--shadow-md);
  padding: clamp(1.4rem, 3vw, 2.6rem);
}

.home-hero-copy h1 {
  margin-bottom: var(--space-4);
}

.home-hero-note {
  margin-top: var(--space-4);
  margin-bottom: 0;
  font-weight: 700;
  color: #4f5f6d;
}

.home-hero-media .image-placeholder {
  height: 100%;
  min-height: 420px;
  border: 1px solid #bcc7d1;
}

.home-metrics-grid {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.home-metric-card {
  background: #111;
  border: 1px solid #2a2a2a;
  padding: var(--space-5);
}

.home-metric-value {
  color: #ffc107;
  font-size: clamp(1.4rem, 3.2vw, 2rem);
  font-weight: 800;
  margin-bottom: var(--space-2);
}

.home-metric-card h3 {
  color: #fff;
  margin: 0;
  font-size: 1rem;
}

.home-feature-grid {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-feature-card {
  border-top: 3px solid #ffc107;
}

.home-icon {
  margin: 0 0 var(--space-3);
  color: #9f7400;
  font-size: 1.5rem;
  font-weight: 700;
}

.home-path-grid {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-path-card {
  display: grid;
  gap: var(--space-4);
  background: #fff;
  border: 1px solid #cfd7de;
  box-shadow: var(--shadow-sm);
  padding: var(--space-4);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.home-path-card:hover,
.home-path-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.home-path-card .image-placeholder {
  border-color: #b8c5d2;
}

.home-emergency {
  background: #141414;
  color: #fff;
}

.home-emergency .home-emergency-inner {
  border-left: 4px solid #ffc107;
  padding-left: clamp(1rem, 2vw, 1.6rem);
}

.home-eyebrow-light {
  color: #ffd45a;
}

.home-emergency h2,
.home-emergency p {
  color: #fff;
}

.home-industry-grid {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.home-process-wrap {
  background: #f0f2f4;
}

.home-process-track {
  margin: var(--space-5) 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: var(--space-4);
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.home-process-track li {
  background: #fff;
  border: 1px solid #d5dde5;
  padding: var(--space-4);
  position: relative;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background: #111;
  color: #ffc107;
  font-weight: 800;
  margin-bottom: var(--space-3);
}

.home-facility {
  display: grid;
  gap: var(--space-6);
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
}

.home-checklist {
  margin: 0;
  padding-left: 1.1rem;
  color: #475766;
}

.home-checklist li {
  margin-bottom: var(--space-2);
}

.home-testimonial-grid,
.home-resource-grid {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-quote-card {
  border-left: 3px solid #ffc107;
}

.home-resource-grid .btn {
  margin-top: var(--space-3);
}

.home-footer .footer-top {
  padding-top: var(--space-7);
}

.home-footer-grid {
  display: grid;
  gap: var(--space-6);
  grid-template-columns: 1.15fr 0.85fr 1fr;
}

.home-enterprise {
  overflow-x: clip;
}

.home-hero-xl {
  position: relative;
  box-sizing: border-box;
  min-height: 75svh;
  display: flex;
  align-items: flex-end;
  padding: clamp(1.2rem, 2.5vw, 2rem) 0 clamp(1rem, 1.9vw, 1.5rem);
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.home-hero-copy {
  position: relative;
  z-index: 2;
  color: #fff;
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 58ch) auto;
  column-gap: clamp(1rem, 2.2vw, 2rem);
  row-gap: var(--space-3);
  align-items: end;
}

.home-hero-copy h1 {
  grid-column: 1 / -1;
  font-size: clamp(2.25rem, 4.6vw, 3.35rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 0;
  color: #fff;
  max-width: 12ch;
}

.hero-accent {
  color: var(--color-accent);
}

.home-hero-copy > p {
  grid-column: 1;
  font-size: clamp(0.98rem, 1.1vw, 1.1rem);
  max-width: 52ch;
  margin: 0;
  color: #ffffff;
  opacity: 1;
}

.home-hero-copy .btn-row {
  grid-column: 1;
  justify-self: start;
  align-self: start;
  margin: 0;
  margin-top: var(--space-2);
  gap: 0.7rem;
}

.home-hero-copy .btn {
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.96rem;
  font-weight: 700;
  padding: 0.78rem 1.45rem;
  border-radius: 0;
}

.home-hero-copy .btn-primary {
  background: #ffc107;
  border-color: #ffc107;
  color: #111111;
}

.home-hero-copy .btn-primary:hover,
.home-hero-copy .btn-primary:focus-visible {
  background: #ffcf3a;
  border-color: #ffcf3a;
  color: #111111;
}

.home-hero-copy .btn-secondary {
  background: #ffffff;
  border-color: #cbd3dc;
  color: #111111;
}

.home-hero-copy .btn-secondary:hover,
.home-hero-copy .btn-secondary:focus-visible {
  background: #f4f6f8;
  border-color: #bec9d4;
  color: #111111;
}

@media (max-width: 980px) {
  .home-hero-copy {
    grid-template-columns: 1fr;
    row-gap: var(--space-3);
  }

  .home-hero-copy .btn-row {
    grid-column: 1;
    justify-self: start;
    margin-top: var(--space-2);
  }
}

.hero-image-duo {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: var(--space-4);
  height: 100%;
}

.hero-image-duo .image-placeholder {
  min-height: 0;
  height: 100%;
  border-color: #b9c6d2;
}

.metrics-mega-grid {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.metric-mega-card {
  background: #111;
  border: 1px solid #2d2d2d;
  padding: clamp(1.2rem, 2vw, 1.8rem);
}

.metric-number {
  margin-bottom: var(--space-2);
  color: #ffc107;
  font-size: clamp(1.7rem, 5vw, 3rem);
  font-weight: 800;
}

.metric-label {
  margin: 0;
  color: #fff;
  font-weight: 600;
}

.logo-wall-grid {
  display: grid;
  gap: var(--space-3);
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.logo-chip {
  background: #fff;
  border: 1px solid #d4dde5;
  padding: 1.25rem 1.35rem;
  text-align: center;
  font-size: 1.03rem;
  font-weight: 700;
  color: #3e4f5d;
}



.why-tms-grid-lg {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  grid-template-areas:
    "a b"
    "a c";
  align-items: stretch;
}

.why-tms-feature {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  padding: clamp(1.2rem, 2.2vw, 1.9rem);
  border: 2px solid #111111;
  border-top: 6px solid #ffc107;
  box-shadow: 0 10px 24px rgba(17, 17, 17, 0.08);
  background: #ffffff;
  display: grid;
  gap: var(--space-3);
  height: 100%;
}

.why-tms-feature-a {
  grid-area: a;
  background: #111111;
  border-color: #111111;
  box-shadow: 0 14px 30px rgba(17, 17, 17, 0.26);
  padding: clamp(1.2rem, 2vw, 1.7rem);
  gap: var(--space-3);
  grid-template-rows: auto 1fr;
  align-content: stretch;
}

.why-tms-feature-center {
  display: grid;
  align-content: center;
  gap: var(--space-3);
}

.why-tms-feature-b {
  grid-area: b;
}

.why-tms-feature-c {
  grid-area: c;
}

.why-tms-chip {
  margin: 0;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.26rem 0.62rem;
  border-radius: 999px;
  background: #111;
  color: #ffc107;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.why-tms-feature-a .why-tms-chip {
  background: #ffffff;
  color: #111111;
  border: 1px solid #ffffff;
  width: auto;
  max-width: max-content;
  border-radius: 999px;
  font-size: 0.7rem;
  line-height: 1;
  padding: 0.2rem 0.5rem;
}

.why-tms-feature h3 {
  margin: 0;
  font-size: clamp(1.22rem, 2vw, 1.55rem);
  line-height: 1.2;
}

.why-tms-feature p {
  margin: 0;
}

.why-tms-feature-a h3,
.why-tms-feature-a p {
  color: #ffffff;
}

.why-tms-feature-a h3 {
  max-width: 20ch;
  margin-bottom: var(--space-1);
}

.why-tms-feature-a .why-tms-feature-center > p {
  max-width: 52ch;
}

.why-tms-note {
  margin-top: var(--space-2);
  padding-top: var(--space-3);
  border-top: 1px solid #111111;
  font-weight: 700;
  color: #111111;
}

.why-tms-feature-a .why-tms-note {
  border-top-color: rgba(255, 255, 255, 0.35);
  color: #ffc107;
  margin-top: var(--space-3);
  padding-top: var(--space-2);
}

.why-tms-feature-b,
.why-tms-feature-c {
  border-left: 8px solid #ffc107;
}

@media (max-width: 1180px) {
  .why-tms-grid-lg {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas:
      "a a"
      "b c";
  }
}

.service-showcase-grid {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-show-card {
  background: #fff;
  border: 1px solid #d1dae2;
  box-shadow: var(--shadow-sm);
  padding: var(--space-4);
  display: grid;
  gap: var(--space-3);
}

.service-show-image {
  width: 100%;
  min-height: 170px;
  max-height: 170px;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 1px solid #d8e1e9;
  display: block;
}

.home-emergency-banner {
  background: #121212;
  color: #fff;
  padding: clamp(3rem, 6vw, 5.5rem) 0;
}

.emergency-inner {
  border-left: 4px solid #ffc107;
  padding-left: clamp(1rem, 2vw, 1.8rem);
}

.emergency-eyebrow {
  color: #ffd45a;
}

.home-emergency-banner h2,
.home-emergency-banner p {
  color: #fff;
}

.industry-super-grid {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.industry-card-xl {
  background: #fff;
  border: 1px solid #d1dae2;
  box-shadow: var(--shadow-sm);
  padding: var(--space-4);
}

.industry-show-image {
  width: 100%;
  min-height: 170px;
  max-height: 170px;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 1px solid #d8e1e9;
  display: block;
  margin-bottom: var(--space-3);
}

.industry-card-xl a {
  color: #111;
  font-weight: 700;
}

.industry-card-xl a:hover,
.industry-card-xl a:focus-visible {
  color: #9f7400;
}

.process-modern-wrap {
  background: #eceff2;
}

.process-modern-line {
  list-style: none;
  padding: 0;
  margin: var(--space-5) 0 0;
  display: grid;
  gap: var(--space-4);
  grid-template-columns: repeat(4, minmax(0, 1fr));
  position: relative;
}

.process-modern-line::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 24px;
  height: 2px;
  background: #c3ced8;
}

.process-modern-line li {
  background: #fff;
  border: 1px solid #d2dce4;
  padding: var(--space-4);
  position: relative;
  z-index: 1;
}

.process-modern-line.process-modern-line-contact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-5);
}

.process-modern-line.process-modern-line-contact::before {
  left: 12%;
  right: 12%;
}

.process-badge {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #111;
  color: #ffc107;
  font-weight: 800;
  margin-bottom: var(--space-3);
}

.facility-xl {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1200px 420px at -10% -15%, rgba(255, 193, 7, 0.18) 0%, rgba(255, 193, 7, 0) 58%),
    linear-gradient(180deg, #f8fafc 0%, #eef3f8 100%);
}

.facility-xl::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(13, 24, 36, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 24, 36, 0.04) 1px, transparent 1px);
  background-size: 22px 22px;
  pointer-events: none;
}

.facility-split-lg {
  position: relative;
  z-index: 1;
  display: grid;
  gap: var(--space-7);
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
}

.facility-media-xl {
  min-height: 460px;
  border-color: #b4c1cd;
}

.company-facility-photo {
  margin: 0;
  width: min(100%, 560px);
  justify-self: start;
  border: 1px solid #c8d3de;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 24px 52px rgba(9, 21, 33, 0.2);
}

.company-facility-photo img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
  display: block;
}

.company-map-panel {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #d3dde7;
  border-radius: 20px;
  box-shadow: 0 18px 40px rgba(11, 23, 35, 0.1);
  padding: clamp(1.15rem, 2.2vw, 1.8rem);
  backdrop-filter: blur(3px);
}

.company-map-overline {
  margin: 0 0 0.5rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8e6800;
}

.company-map-title {
  margin-bottom: 0.75rem;
}

.company-map-copy {
  margin-bottom: 1rem;
}

.company-strength-grid {
  display: grid;
  gap: 0.7rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 0 1rem;
}

.company-strength-grid article {
  background: #ffffff;
  border: 1px solid #d7e0e9;
  border-radius: 14px;
  padding: 0.72rem 0.78rem;
}

.company-strength-grid h3 {
  margin: 0 0 0.32rem;
  font-size: 0.88rem;
}

.company-strength-grid p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.42;
  color: #465768;
}

.company-pillars-grid {
  margin-top: var(--space-4);
}

.company-pillar-card {
  border-top: 3px solid #ffc107;
  box-shadow: 0 14px 28px rgba(14, 26, 38, 0.08);
}

.company-timeline-wrap {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 360px at 100% 0%, rgba(255, 193, 7, 0.2) 0%, rgba(255, 193, 7, 0) 62%),
    linear-gradient(180deg, #edf2f7 0%, #e4ebf3 100%);
}

.company-timeline-list {
  position: relative;
  margin-top: var(--space-6);
  gap: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(1.2rem, 3vw, 2.8rem);
  row-gap: clamp(1rem, 2.2vw, 1.6rem);
  padding-bottom: clamp(1.1rem, 2.4vw, 1.8rem);
}

.company-timeline-list::before {
  content: "";
  position: absolute;
  top: 0.5rem;
  bottom: 0.5rem;
  left: 50%;
  width: 3px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(255, 193, 7, 0.92) 0%, rgba(167, 125, 0, 0.9) 100%);
  box-shadow: 0 0 0 6px rgba(255, 193, 7, 0.16);
}

.company-timeline-list .timeline-item {
  position: relative;
  display: block;
  border: 1px solid #ced8e2;
  border-left: 1px solid #ced8e2;
  border-radius: 18px;
  padding: 1rem 1.05rem 1.05rem;
  box-shadow: 0 18px 34px rgba(12, 24, 37, 0.12);
  backdrop-filter: blur(2px);
}

.company-timeline-list .timeline-item:nth-child(odd) {
  grid-column: 1;
  margin-right: 0.9rem;
}

.company-timeline-list .timeline-item:nth-child(even) {
  grid-column: 2;
  margin-left: 0.9rem;
  margin-top: clamp(1.25rem, 2.4vw, 2.05rem);
}

.company-timeline-list .timeline-item::before {
  content: "";
  position: absolute;
  top: 1.35rem;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: #ffc107;
  border: 3px solid #fff;
  box-shadow: 0 0 0 5px rgba(255, 193, 7, 0.28), 0 0 0 1px rgba(17, 28, 40, 0.08);
}

.company-timeline-list .company-timeline-card[data-reveal] {
  transform: translateY(16px) scale(0.988);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.company-timeline-list .company-timeline-card[data-reveal].visible {
  transform: translateY(0) scale(1);
}

.company-timeline-list .company-timeline-card[data-reveal]:nth-child(1) {
  transition-delay: 0.04s;
}

.company-timeline-list .company-timeline-card[data-reveal]:nth-child(2) {
  transition-delay: 0.1s;
}

.company-timeline-list .company-timeline-card[data-reveal]:nth-child(3) {
  transition-delay: 0.16s;
}

.company-timeline-list .company-timeline-card[data-reveal]:nth-child(4) {
  transition-delay: 0.22s;
}

.company-timeline-list .timeline-item:nth-child(odd)::before {
  right: -1.65rem;
}

.company-timeline-list .timeline-item:nth-child(even)::before {
  left: -1.65rem;
}

.company-timeline-content h3 {
  margin-bottom: 0.45rem;
}

.company-timeline-content p {
  margin: 0;
  color: #425365;
}

.company-timeline-head {
  display: flex;
  align-items: center;
  gap: 0.62rem;
  margin-bottom: 0.6rem;
}

.company-timeline-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: #111a24;
  color: #ffc107;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.company-timeline-tag {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: #8f6900;
}

.facility-bullets {
  margin: 0;
  padding: 0;
  list-style: none;
  color: #3b4d5f;
  display: grid;
  gap: 0.44rem;
}

.facility-bullets li {
  margin: 0;
  position: relative;
  padding-left: 1.35rem;
}

.facility-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.48rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: #ffc107;
  box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.24);
}

.story-band {
  background: #111;
}

.story-band h2,
.story-band p {
  color: #fff;
}

.testimonials-xl-grid {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.testimonial-xl-card {
  background: #fff;
  border: 1px solid #d1dae2;
  box-shadow: var(--shadow-sm);
  padding: var(--space-5);
}

.rating {
  color: #b58700;
  font-weight: 800;
}

.resources-rich-grid {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.resource-rich-card {
  background: #fff;
  border: 1px solid #d1dae2;
  box-shadow: var(--shadow-sm);
  padding: var(--space-4);
}

.resource-rich-card a {
  font-weight: 700;
}

.home-faq-section {
  background: #eef2f6;

.resource-example-tag {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  margin-bottom: var(--space-3);
  padding: 0.28rem 0.55rem;
  border: 1px solid #f0cf78;
  border-radius: 999px;
  background: #fff7de;
  color: #8c6500;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
  border-top: 1px solid #d5dde6;
  border-bottom: 1px solid #d5dde6;
}

.home-faq-layout {
  display: grid;
  gap: var(--space-5);
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
}

.home-faq-intro {
  position: sticky;
  top: calc(var(--header-height) + 1.2rem);
  background: #111111;
  color: #ffffff;
  border-left: 4px solid #ffc107;
  padding: clamp(1.1rem, 2vw, 1.6rem);
}

.home-faq-intro h2,
.home-faq-intro p {
  color: #ffffff;
}

.home-faq-intro .btn-secondary {
  border-color: #ffc107;
  background: #ffc107;
  color: #111111;
}

.home-faq-intro .btn-secondary:hover,
.home-faq-intro .btn-secondary:focus-visible {
  background: #ffcf3a;
  border-color: #ffcf3a;
  color: #111111;
}

.home-faq-list {
  display: grid;
  gap: var(--space-3);
}

.home-faq-item {
  border: 1px solid #cfd8e1;
  background: #ffffff;
  box-shadow: 0 12px 24px rgba(12, 24, 37, 0.06);
}

.home-faq-item h3 {
  margin: 0;
}

.home-faq-toggle {
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: #111111;
  font: inherit;
  font-size: clamp(1rem, 1.35vw, 1.1rem);
  font-weight: 700;
  line-height: 1.35;
  padding: 1rem 3rem 1rem 1rem;
  position: relative;
}

.home-faq-toggle::before,
.home-faq-toggle::after {
  content: "";
  position: absolute;
  right: 1.1rem;
  top: 50%;
  width: 16px;
  height: 2px;
  background: #111111;
  transform: translateY(-50%);
  transition: transform 0.2s ease;
}

.home-faq-toggle::after {
  transform: translateY(-50%) rotate(90deg);
}

.home-faq-toggle[aria-expanded="true"]::after {
  transform: translateY(-50%) rotate(0deg);
}

.home-faq-toggle:hover,
.home-faq-toggle:focus-visible {
  background: #fff8df;
}

.home-faq-toggle:focus-visible {
  outline: 2px solid transparent;
  box-shadow: inset 0 0 0 3px rgba(255, 193, 7, 0.35);
}

.home-faq-panel {
  padding: 0 1rem 1rem;
  border-top: 1px solid #e1e8ef;
}

.home-faq-panel p {
  margin: 0;
  color: #3f5264;
}

.wow-full-section {
  margin-top: var(--space-8);
  min-height: 64vh;
  background: #1a1a1a;
  display: flex;
  align-items: center;
}

.wow-overlay {
  width: 100%;
  padding: clamp(3rem, 8vw, 7rem) 0;
}

.wow-full-section h2,
.wow-full-section p {
  color: #fff;
}

.home-corporate-footer .corporate-footer-grid {
  display: grid;
  gap: var(--space-6);
  grid-template-columns: 1.2fr 1fr 1fr 1fr 1fr;
}

.footer-newsletter-box {
  margin-top: var(--space-3);
  padding-top: var(--space-3);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  display: grid;
  gap: var(--space-2);
}

.footer-newsletter-title {
  margin: 0;
  color: #ffd45a;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.newsletter-form {
  display: grid;
  gap: var(--space-1);
}

.newsletter-form-inline {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.newsletter-form input {
  width: 100%;
  background: #ffffff;
  border: 1px solid #d0d7de;
  color: #111111;
  padding: 0.5rem 0.62rem;
}

.footer-newsletter-box .btn {
  padding: 0.56rem 1rem;
  font-size: 0.86rem;
}

.footer-newsletter-box .newsletter-form-inline {
  grid-template-columns: 1fr;
}

.newsletter-form .btn {
  justify-self: start;
}

.footer-newsletter-box .btn-primary {
  background: #ffc107;
  border-color: #ffc107;
  color: #111111;
}

.footer-newsletter-box .btn-primary:hover,
.footer-newsletter-box .btn-primary:focus-visible {
  background: #ffcf3a;
  border-color: #ffcf3a;
  color: #111111;
}

.newsletter-note {
  font-size: 0.72rem;
  color: #ffd45a;
}

@media (max-width: 640px) {
  .newsletter-form-inline {
    grid-template-columns: 1fr;
  }
}

.sticky-conversion-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #111;
  border-top: 1px solid #2b2b2b;
  display: flex;
  justify-content: center;
  gap: 1px;
  z-index: 80;
}

.sticky-conversion-bar a {
  flex: 1;
  max-width: 260px;
  text-align: center;
  padding: 0.9rem 1rem;
  color: #fff;
  font-weight: 700;
  background: #111;
}

.sticky-conversion-bar a:hover,
.sticky-conversion-bar a:focus-visible {
  background: #1e1e1e;
  color: #ffc107;
}

.mobile-action-bar {
  display: none;
}

.page-up-btn {
  position: fixed;
  right: 1rem;
  bottom: calc(var(--bottom-action-height) + 0.85rem);
  z-index: 92;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid #c7d2dd;
  border-radius: 999px;
  padding: 0.72rem 0.95rem;
  background: rgba(255, 255, 255, 0.96);
  color: #111111;
  box-shadow: 0 10px 24px rgba(14, 24, 34, 0.12);
  font-weight: 800;
  letter-spacing: 0.03em;
  cursor: pointer;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.22s ease, transform 0.22s ease, border-color 0.22s ease, background-color 0.22s ease, color 0.22s ease;
}

.page-up-btn.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.page-up-btn:hover,
.page-up-btn:focus-visible {
  border-color: #b88a00;
  background: #fff7de;
  color: #111111;
}

.page-up-btn span[aria-hidden="true"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 50%;
  background: #111111;
  color: #ffffff;
  font-size: 0.95rem;
  line-height: 1;
}

.page-up-label {
  font-size: 0.76rem;
  text-transform: uppercase;
}

body {
  padding-bottom: 56px;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

[data-reveal].visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1280px) {
  .home-hero-split,
  .page-hero-grid {
    gap: var(--space-5);
  }

  .home-hero-split {
    grid-template-columns: 1.05fr 0.95fr;
  }

  .home-hero-right {
    min-height: 430px;
  }

  .home-hero-left h1 {
    font-size: clamp(1.85rem, 3.25vw, 3rem);
  }

  .metrics-mega-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .logo-wall-grid,
  .service-showcase-grid,
  .resources-rich-grid,
  .why-tms-grid-lg,
  .industry-super-grid,
  .testimonials-xl-grid,
  .contact-channel-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-modern-line {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-modern-line.process-modern-line-contact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-corporate-footer .corporate-footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1080px) {
  .proof-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .four-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-metrics-grid,
  .home-industry-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .metrics-mega-grid,
  .logo-wall-grid,
  .service-showcase-grid,
  .resources-rich-grid,
  .industry-super-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-corporate-footer .corporate-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-process-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .nav-shell {
    grid-template-columns: 1fr auto;
    min-height: 76px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .header-actions {
    display: none;
  }

  .main-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: var(--space-4) 1rem;
    gap: var(--space-2);
    background: #fff;
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    width: 100%;
    border-radius: var(--radius-sm);
    padding: 0.75rem;
  }

  .mobile-only {
    display: block;
  }

  .main-nav .mobile-only.btn {
    width: 100%;
    text-align: center;
    margin-top: var(--space-2);
  }

  .hero-grid,
  .split-panel,
  .contact-layout,
  .three-grid,
  .two-grid {
    grid-template-columns: 1fr;
  }

  .page-hero-grid,
  .ops-grid,
  .contact-channel-grid,
  .timeline-item {
    grid-template-columns: 1fr;
  }

  .home-hero-grid,
  .home-feature-grid,
  .home-path-grid,
  .home-facility,
  .home-faq-layout,
  .home-testimonial-grid,
  .home-resource-grid,
  .home-footer-grid {
    grid-template-columns: 1fr;
  }

  .home-faq-intro {
    position: static;
  }

  .home-hero-split,
  .why-tms-grid-lg,
  .facility-split-lg,
  .testimonials-xl-grid,
  .process-modern-line {
    grid-template-columns: 1fr;
  }

  .process-modern-line::before {
    display: none;
  }

  .sticky-conversion-bar {
    display: none;
  }

  .mobile-action-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    z-index: 90;
    border-top: 1px solid #2f2f2f;
  }

  .mobile-action-bar a {
    background: #111;
    color: #fff;
    text-align: center;
    padding: 0.88rem 0.4rem;
    font-size: 0.9rem;
    font-weight: 700;
  }

  .mobile-action-bar a:hover,
  .mobile-action-bar a:focus-visible {
    color: #ffc107;
  }

  .product-help-fab {
    top: auto;
    left: 0.85rem;
    right: auto;
    bottom: calc(4.3rem + env(safe-area-inset-bottom));
    transform: none;
  }

  .product-help-fab-label {
    max-width: 90px;
    opacity: 1;
  }

  .page-up-btn {
    right: 0.85rem;
    bottom: calc(var(--bottom-action-height) + 0.7rem + env(safe-area-inset-bottom));
    padding: 0.68rem 0.9rem;
  }
}

@media (max-width: 640px) {
  .proof-grid {
    grid-template-columns: 1fr 1fr;
  }

  .home-metrics-grid,
  .home-industry-grid,
  .home-process-track {
    grid-template-columns: 1fr;
  }

  .metrics-mega-grid,
  .logo-wall-grid,
  .service-showcase-grid,
  .resources-rich-grid,
  .industry-super-grid,
  .home-corporate-footer .corporate-footer-grid {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .section,
  .hero,
  .page-hero {
    padding: var(--space-7) 0;
  }
}

@media (max-width: 900px) {
  .footer-grid,
  .footer-bottom-grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
}

/* Enterprise restyle layer: aligns visual hierarchy with large industrial B2B sites while preserving TMS colors. */
:root {
  --header-height: 92px;
  --bottom-action-height: 56px;
  --surface-strong: #ffffff;
  --surface-soft: #f1f4f7;
  --border-strong: #bec9d4;
  --border-soft: #d6dee6;
  --text-strong: #0e1a26;
  --text-medium: #495b6d;
  --copy-max: 66ch;
}

body {
  color: var(--text-strong);
  background: #f3f6f8;
}

p {
  color: var(--text-medium);
}

h1,
h2,
h3 {
  color: #0f1822;
  font-weight: 800;
  letter-spacing: -0.018em;
}

h1 {
  line-height: 1.1;
}

h2 {
  line-height: 1.15;
}

.section {
  padding: clamp(3.5rem, 7vw, 6.2rem) 0;
}

.section-tight {
  padding: clamp(2.5rem, 5vw, 4.6rem) 0;
}

.eyebrow,
.kicker {
  color: #856300;
  letter-spacing: 0.11em;
  font-size: 0.74rem;
}

.top-header {
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid #cfd8e2;
  box-shadow: 0 8px 24px rgba(9, 21, 35, 0.08);
}

.nav-shell {
  min-height: var(--header-height);
  gap: clamp(0.8rem, 1.3vw, 1.5rem);
}

.brand-name {
  font-size: 1.34rem;
  letter-spacing: -0.012em;
}

.brand-sub {
  font-weight: 700;
  color: #546373;
}

.main-nav {
  justify-self: center;
  gap: 0.25rem;
}

.main-nav a {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  color: #324456;
  padding: 0.58rem 0.7rem;
  position: relative;
}

.main-nav a:hover,
.main-nav a:focus-visible,
.main-nav a.active {
  background: #fff8df;
  color: #111111;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0.7rem;
  right: 0.7rem;
  bottom: 0.34rem;
  height: 2px;
  background: #ffc107;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.22s ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after,
.main-nav a.active::after {
  transform: scaleX(1);
}

.phone-link {
  color: #0f1d2a;
}

.header-actions .btn,
.header-actions .phone-link {
  white-space: nowrap;
}

.btn {
  border-radius: 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.8rem;
  padding: 0.78rem 1.2rem;
  white-space: nowrap;
}

.btn-primary {
  background: #111111;
  border-color: #111111;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: #000000;
}

.btn-secondary {
  border-color: #aebbca;
  background: #ffffff;
  color: #0f1b29;
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  border-color: #9a7300;
  background: #fff3c8;
}

.page-shell {
  background: #f7f9fb;
}

.page-hero {
  padding: clamp(3rem, 6vw, 5.2rem) 0 clamp(2.2rem, 4vw, 3.4rem);
  border-bottom: 1px solid #d6e0e9;
  position: relative;
}

.page-hero::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: min(26vw, 360px);
  height: 3px;
  background: #ffc107;
}

.page-hero-grid {
  gap: clamp(1.8rem, 3vw, 3.5rem);
  align-items: stretch;
}

.page-hero h1 {
  max-width: 17ch;
}

.page-hero-grid > div > p,
.home-hero-left > p,
.story-band p {
  max-width: var(--copy-max);
}

.hero-panel,
.knowledge-feature,
.contact-form,
.card,
.ops-card,
.service-show-card,
.industry-card-xl,
.resource-rich-card,
.testimonial-xl-card,
.timeline-item,
.channel-card,
.logo-chip {
  background: var(--surface-strong);
  border: 1px solid var(--border-soft);
  box-shadow: 0 14px 30px rgba(15, 28, 44, 0.06);
  border-radius: 2px;
}

.hero-panel,
.knowledge-feature,
.contact-form,
.ops-card {
  border-left: 4px solid #ffc107;
}

.home-hero-xl {
  min-height: 75svh;
  padding: clamp(1.2rem, 2.5vw, 2rem) 0 clamp(1rem, 1.9vw, 1.5rem);
}

.hero-image-duo {
  grid-template-rows: 1.15fr 0.85fr;
  gap: var(--space-3);
}

.image-placeholder {
  border: 1px dashed #8ea0b3;
  color: #445b71;
  background: #e7edf3;
}

.metrics-mega-grid {
  gap: clamp(0.85rem, 1.5vw, 1.2rem);
}

.metric-mega-card {
  border: 1px solid #2e3640;
  background: #101419;
  box-shadow: 0 18px 30px rgba(12, 18, 24, 0.28);
}

.metric-number {
  letter-spacing: -0.01em;
  line-height: 1;
}

.metric-label {
  letter-spacing: 0.01em;
}

.why-tms-card,
.service-show-card,
.industry-card-xl,
.resource-rich-card,
.testimonial-xl-card,
.card,
.ops-card {
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.why-tms-card:hover,
.why-tms-card:focus-within,
.service-show-card:hover,
.service-show-card:focus-within,
.industry-card-xl:hover,
.industry-card-xl:focus-within,
.resource-rich-card:hover,
.resource-rich-card:focus-within,
.card:hover,
.card:focus-within,
.ops-card:hover,
.ops-card:focus-within {
  transform: translateY(-2px);
  border-color: #bdc9d4;
  box-shadow: 0 18px 30px rgba(12, 27, 42, 0.1);
}

.why-tms-card:hover,
.why-tms-card:focus-within {
  border-color: #111111;
  box-shadow: 0 14px 28px rgba(17, 17, 17, 0.14);
}

@media (max-width: 1280px) {
  .why-tms-feature-a,
  .why-tms-feature-b,
  .why-tms-feature-c {
    grid-column: auto;
    transform: none;
  }
}

@media (max-width: 920px) {
  .why-tms-grid-lg {
    grid-template-columns: 1fr;
    grid-template-areas:
      "a"
      "b"
      "c";
  }
}

.process-modern-wrap {
  background: #f4f7fa;
}

.process-modern-line::before {
  background: #c0ccd8;
}

.process-modern-line li {
  border-top: 3px solid #ffc107;
  box-shadow: 0 12px 22px rgba(12, 24, 37, 0.06);
}

.process-badge {
  border-radius: 0;
}

.cta-band {
  border-radius: 0;
  border-left: 4px solid #ffc107;
  background: #161d24;
}

.home-emergency-banner {
  border-top: 1px solid #2f353d;
  border-bottom: 1px solid #2f353d;
  background: #161b21;
}

.facility-xl {
  background: #f9fbfc;
}

.story-band {
  border-top: 1px solid #2f353d;
  border-bottom: 1px solid #2f353d;
  background: #171d24;
}

.wow-full-section {
  min-height: 58vh;
  border-top: 1px solid #373e45;
  background: #171d24;
}

.service-page .page-hero {
  padding-bottom: clamp(2.6rem, 5vw, 4rem);
}

.service-hero .btn-primary {
  background: #ffc107;
  border-color: #ffc107;
  color: #111111;
}

.service-hero .btn-primary:hover,
.service-hero .btn-primary:focus-visible {
  background: #ffcf3a;
  border-color: #ffcf3a;
  color: #111111;
}

.service-hero-panel {
  background: rgba(14, 21, 29, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-left: 4px solid #ffc107;
  box-shadow: 0 16px 34px rgba(3, 8, 14, 0.35);
  backdrop-filter: blur(3px);
}

.service-hero-panel h2 {
  color: #ffffff;
  margin-bottom: var(--space-4);
}

.service-hero-panel .stat-list {
  gap: var(--space-2);
}

.service-hero-panel .stat-list li {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.15rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  padding-bottom: 0.7rem;
}

.service-hero-panel .stat-list span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.78rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  font-weight: 700;
}

.service-hero-panel .stat-list strong {
  color: #ffd45a;
  font-size: 1rem;
}

.service-signal-strip {
  padding-top: 1.4rem;
  padding-bottom: 1.4rem;
  border-top: 1px solid #d6dfe8;
  border-bottom: 1px solid #d6dfe8;
  background: #eef3f7;
}

.service-signal-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-3);
}

.service-signal-list li {
  font-size: 0.92rem;
  color: #304457;
  border-left: 2px solid #111111;
  padding-left: 0.72rem;
}

.service-signal-list span {
  display: block;
  color: #111111;
  font-weight: 800;
  font-size: 0.86rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.service-programs-alt {
  background: #f7f9fb;
}

.service-programs-layout {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: stretch;
}

.service-program-feature {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #111111;
  color: #ffffff;
  border-left: 4px solid #ffc107;
  padding: clamp(1.2rem, 2vw, 1.7rem);
}

.service-photo-tile {
  --service-photo-y: 28%;
  margin: 0 0 var(--space-3);
  border: 1px solid rgba(255, 255, 255, 0.24);
  height: 190px;
  overflow: hidden;
}

.service-photo-tile img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center var(--service-photo-y);
}

.service-photo-tile-sm {
  height: 150px;
  border-color: #c7d2dd;
}

.service-photo-tile-sm img {
  min-height: 0;
}

.service-program-icon {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.42);
  margin-bottom: var(--space-2);
}

.service-program-icon svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-program-feature h3,
.service-program-feature p {
  color: #ffffff;
}

.service-program-feature .kicker {
  margin-top: auto;
}

.service-program-feature .btn {
  margin-top: var(--space-2);
}

.service-program-feature .btn-primary {
  background: #ffc107;
  border-color: #ffc107;
  color: #111111;
}

.service-program-feature .btn-primary:hover,
.service-program-feature .btn-primary:focus-visible {
  background: #ffcf3a;
  border-color: #ffcf3a;
  color: #111111;
}

.service-program-list {
  display: grid;
  gap: var(--space-3);
}

.service-program-item {
  background: #ffffff;
  border: 1px solid #d2dbe4;
  border-left: 4px solid #ffc107;
  padding: 1rem 1rem 0.9rem;
}

.service-program-item .service-program-icon {
  border-color: #c8d4e0;
  color: #111111;
}

.service-program-item h3 {
  margin-bottom: var(--space-2);
}

.service-program-item p {
  margin-bottom: var(--space-2);
}

.service-program-item a {
  font-weight: 700;
  color: #111111;
}

.service-program-item a:hover,
.service-program-item a:focus-visible {
  color: #8f6800;
}

.service-orbit-section {
  background: #ffffff;
}

.service-orbit-layout {
  display: grid;
  gap: var(--space-5);
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: start;
}

.service-orbit-steps {
  list-style: none;
  margin: var(--space-4) 0 0;
  padding: 0;
  display: grid;
  gap: var(--space-4);
}

.service-orbit-steps li {
  position: relative;
  padding: 0 0 0.2rem 2.2rem;
  border-left: 1px solid #d6dee7;
}

.service-orbit-steps li::before {
  content: "";
  position: absolute;
  left: -6px;
  top: 0.3rem;
  width: 10px;
  height: 10px;
  background: #ffc107;
  border: 2px solid #111111;
}

.service-orbit-steps h3 {
  margin-bottom: 0.35rem;
  font-size: 1.06rem;
}

.service-orbit-steps p {
  margin-bottom: 0;
}

.service-orbit-aside {
  background: #f2f6fa;
  border: 1px solid #d3dce6;
  border-top: 3px solid #111111;
  padding: 1rem;
}

.service-orbit-aside h3 {
  font-size: 1rem;
}

.service-orbit-aside ul {
  margin: 0 0 var(--space-4);
  padding-left: 1.1rem;
  color: #425464;
}

.service-orbit-aside li {
  margin-bottom: 0.45rem;
}

.service-proof-band {
  border-top: 1px solid #d6dfe8;
  border-bottom: 1px solid #d6dfe8;
  background: #eef3f7;
}

.service-proof-band blockquote {
  margin: 0 0 var(--space-5);
  padding: 0.9rem 1rem;
  border-left: 4px solid #ffc107;
  color: #1a2c3c;
  font-size: clamp(1.08rem, 1.7vw, 1.28rem);
  font-weight: 700;
}

.service-proof-grid {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-proof-grid article {
  background: #ffffff;
  border: 1px solid #d1dae3;
  padding: 1rem;
}

.service-page .service-seq-item {
  transition-delay: var(--service-delay, 0ms);
}

@media (prefers-reduced-motion: reduce) {
  .service-page .service-seq-item {
    transition-delay: 0ms;
  }
}

.service-proof-grid h3 {
  font-size: 1.08rem;
  margin-bottom: 0.45rem;
}

.service-proof-grid p {
  margin-bottom: 0;
}

.footer {
  margin-top: var(--space-8);
  border-top: 4px solid #ffc107;
  background: #383d43;
}

.footer-top {
  padding: clamp(2.8rem, 5vw, 4.2rem) 0 clamp(2rem, 3.4vw, 3rem);
}

.home-corporate-footer .corporate-footer-grid {
  grid-template-columns: 1.35fr 1fr 1fr 1fr 1fr;
  gap: clamp(1rem, 2vw, 2.2rem);
}

.footer h3,
.footer h4 {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.86rem;
  margin-bottom: var(--space-3);
  padding-bottom: 0.55rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.footer p,
.footer li,
.footer a,
.footer small {
  color: #edf1f4;
  font-size: 0.95rem;
}

.footer-list li {
  margin-bottom: 0.5rem;
}

.footer-list a {
  display: inline-block;
  padding-bottom: 0.08rem;
}

.footer .btn-secondary {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.9);
}

.footer .btn-secondary:hover,
.footer .btn-secondary:focus-visible {
  background: #fff3c8;
  border-color: #ffc107;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  background: #22272d;
}

.footer-bottom-grid {
  align-items: start;
}

.sticky-conversion-bar {
  border-top: 1px solid #31363c;
  background: #101316;
}

.sticky-conversion-bar a {
  background: #101316;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.76rem;
}

.sticky-conversion-bar a:hover,
.sticky-conversion-bar a:focus-visible {
  background: #1a1f24;
}

body {
  padding-bottom: var(--bottom-action-height);
}

@media (max-width: 1360px) {
  .home-hero-split,
  .page-hero-grid {
    grid-template-columns: 1fr;
  }

  .company-hero-modern .page-hero-grid {
    grid-template-columns: 1.02fr 0.98fr;
  }

  .page-hero::before {
    width: 220px;
  }

  .home-hero-right {
    min-height: 360px;
  }
}

@media (max-width: 920px) {
  :root {
    --header-height: 76px;
  }

  .main-nav {
    justify-self: stretch;
    gap: 0.3rem;
    padding-top: var(--space-3);
    padding-bottom: var(--space-4);
    border-top: 1px solid #d9e1e9;
  }

  .main-nav a {
    text-transform: none;
    letter-spacing: 0.02em;
    font-size: 0.95rem;
    padding: 0.72rem;
  }

  .main-nav a::after {
    left: 0.72rem;
    right: auto;
    width: 30px;
    bottom: 0.5rem;
  }

  .home-hero-xl {
    min-height: 480px;
    align-items: flex-end;
  }

  .page-hero::before {
    width: 170px;
  }

  .home-corporate-footer .corporate-footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .service-signal-list,
  .service-proof-grid,
  .service-programs-layout,
  .service-orbit-layout {
    grid-template-columns: 1fr;
  }

  .service-photo-tile,
  .service-photo-tile-sm {
    height: 220px;
  }
}

@media (max-width: 640px) {
  .home-corporate-footer .corporate-footer-grid {
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
  }

  .btn-row {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .main-nav a::after {
    width: 22px;
  }

  .hero-panel,
  .knowledge-feature,
  .contact-form,
  .ops-card {
    border-left-width: 3px;
  }
}

/* Contact page: modern minimal refresh with subtle motion. */
.contact-page {
  background:
    radial-gradient(780px 280px at 92% -8%, rgba(255, 193, 7, 0.16) 0%, rgba(255, 193, 7, 0) 62%),
    linear-gradient(180deg, #f7f9fc 0%, #eef3f9 100%);
}

.contact-hero-modern {
  border-bottom: 1px solid #d7e1ea;
  background: transparent;
  padding: clamp(2rem, 4.2vw, 3rem) 0 clamp(0.7rem, 1.8vw, 1.1rem);
}

.contact-hero-grid {
  grid-template-columns: 1fr;
  align-items: end;
}

.contact-hero-copy h1 {
  max-width: 15ch;
  margin-bottom: 0.7rem;
}

.contact-hero-copy p {
  color: #44586b;
}

.contact-hero-quick {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid #d2dce7;
  border-radius: 16px;
  padding: 1rem 1.1rem;
  box-shadow: 0 14px 28px rgba(11, 24, 38, 0.08);
  backdrop-filter: blur(2px);
}

.contact-hero-quick-title {
  margin: 0 0 0.7rem;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: #8e6800;
}

.contact-hero-quick-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.contact-hero-quick-list li {
  display: grid;
  grid-template-columns: 106px 1fr;
  gap: 0.5rem;
  align-items: center;
  padding: 0.46rem 0;
  border-bottom: 1px solid #e2e8ef;
}

.contact-hero-quick-list li:last-child {
  border-bottom: 0;
}

.contact-hero-quick-list span {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #5a6c7f;
}

.contact-hero-quick-list a,
.contact-hero-quick-list strong {
  color: #16283a;
  font-weight: 700;
}

.contact-layout-modern {
  align-items: start;
}

.contact-page .contact-hero-modern + .process-modern-wrap.section-tight {
  margin-top: -1px;
  padding-top: clamp(0.85rem, 1.7vw, 1.25rem);
  padding-bottom: clamp(1.1rem, 2.2vw, 1.8rem);
  border-top: 0;
}

.contact-page .process-modern-wrap + .section-tight {
  padding-top: clamp(1rem, 2vw, 1.6rem);
}

.contact-page .process-modern-wrap h2 {
  margin-bottom: 0.85rem;
}

.contact-page .process-modern-line.process-modern-line-contact {
  margin-top: 0.8rem;
}

.contact-form-modern {
  border: 1px solid #cad6e2;
  border-left: 4px solid #ffc107;
  border-radius: 16px;
  box-shadow: 0 20px 42px rgba(12, 24, 37, 0.1);
  padding: clamp(1rem, 2.1vw, 1.5rem);
}

.contact-form-modern h2 {
  margin-bottom: 0.45rem;
}

.contact-form-modern .field {
  gap: 0.35rem;
}

.contact-form-modern label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #415567;
}

.contact-form-modern input,
.contact-form-modern select,
.contact-form-modern textarea {
  border-color: #c5d1dd;
  background: #fbfdff;
  transition: border-color 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease, transform 0.22s ease;
}

.contact-form-modern input:hover,
.contact-form-modern select:hover,
.contact-form-modern textarea:hover {
  border-color: #aebfce;
}

.contact-form-modern input:focus,
.contact-form-modern select:focus,
.contact-form-modern textarea:focus {
  background: #ffffff;
  border-color: #9a7300;
  box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.24);
  transform: translateY(-1px);
}

.contact-side-stack {
  gap: 0.85rem;
}

.contact-channel-card {
  border: 1px solid #cfdae5;
  border-radius: 14px;
  box-shadow: 0 12px 26px rgba(11, 24, 37, 0.08);
  padding: 1rem;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.contact-channel-card:hover,
.contact-channel-card:focus-within {
  transform: translateY(-2px);
  border-color: #b8c7d4;
  box-shadow: 0 18px 34px rgba(12, 26, 40, 0.12);
}

.contact-location-card {
  padding: 0;
  overflow: hidden;
}

.contact-location-card img {
  width: 100%;
  height: 100%;
  min-height: 170px;
  max-height: 230px;
  object-fit: cover;
  display: block;
}

.contact-page .contact-form-modern[data-reveal] {
  transition-delay: 0.04s;
}

.contact-page .contact-hero-quick[data-reveal] {
  transition-delay: 0.08s;
}

.contact-side-stack .contact-channel-card[data-reveal]:nth-child(1) {
  transition-delay: 0.08s;
}

.contact-side-stack .contact-channel-card[data-reveal]:nth-child(2) {
  transition-delay: 0.12s;
}

.contact-side-stack .contact-channel-card[data-reveal]:nth-child(3) {
  transition-delay: 0.16s;
}

.contact-side-stack .contact-channel-card[data-reveal]:nth-child(4) {
  transition-delay: 0.2s;
}

.contact-side-stack .contact-channel-card[data-reveal]:nth-child(5) {
  transition-delay: 0.24s;
}

@media (max-width: 960px) {
  .contact-hero-grid,
  .contact-layout-modern {
    grid-template-columns: 1fr;
  }

  .contact-hero-quick {
    max-width: 620px;
  }

  .contact-hero-quick-list li {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }

  .contact-page .contact-hero-modern + .process-modern-wrap.section-tight {
    padding-top: 0.8rem;
  }

  .contact-page .process-modern-wrap + .section-tight {
    padding-top: 1rem;
  }
}

@media (max-width: 640px) {
  .contact-form-modern,
  .contact-channel-card,
  .contact-hero-quick {
    border-radius: 12px;
  }
}

/* Responsive hardening layer: mobile-first polish across all pages. */
@media (max-width: 1024px) {
  :root {
    --header-height: 82px;
  }

  .brand-logo {
    max-width: 232px;
    max-height: 74px;
  }

  .section {
    padding: clamp(2.5rem, 6vw, 3.7rem) 0;
  }

  .section-tight {
    padding: clamp(2rem, 5vw, 3rem) 0;
  }

  .home-hero-copy h1,
  .knowledge-hero .page-hero-grid > .knowledge-hero-copy > h1,
  .article-hero h1 {
    text-wrap: balance;
  }

  .home-hero-copy > p,
  .page-hero-grid > div > p,
  .story-band p {
    max-width: 62ch;
  }

  .product-modal-dialog {
    width: min(100%, 680px);
    max-height: min(86vh, 760px);
  }
}

@media (max-width: 920px) {
  html,
  body {
    overflow-x: clip;
  }

  :root {
    --header-height: 74px;
  }

  .container,
  .container-expanded {
    width: min(100% - 1.2rem, var(--container));
  }

  .nav-shell {
    min-height: var(--header-height);
    padding-block: 0.25rem;
  }

  .brand-logo {
    max-width: 205px;
    max-height: 64px;
  }

  .main-nav {
    max-height: calc(100dvh - var(--header-height) - 0.25rem);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .main-nav a,
  .mobile-action-bar a,
  .sticky-conversion-bar a {
    min-height: 44px;
  }

  .page-hero,
  .hero {
    padding: clamp(2rem, 5vw, 2.8rem) 0 clamp(1.25rem, 3.8vw, 1.9rem);
  }

  .home-hero-xl {
    min-height: 440px;
  }

  .home-hero-copy {
    row-gap: 0.6rem;
  }

  .home-hero-copy h1 {
    max-width: 13ch;
    font-size: clamp(1.95rem, 7vw, 2.7rem);
  }

  .home-hero-copy .btn-row {
    margin-top: 0.45rem;
    width: 100%;
  }

  .home-hero-copy .btn,
  .btn {
    min-height: 44px;
  }

  .home-faq-intro {
    top: auto;
  }

  .products-page .products-filter-meta {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .products-page .product-results-count {
    width: auto;
    max-width: 100%;
  }

  .products-page .filter-btn {
    white-space: normal;
    text-wrap: balance;
    min-height: 48px;
    padding: 0.62rem 0.64rem;
  }

  .process-modern-line,
  .process-modern-line.process-modern-line-contact {
    margin-top: 0.9rem;
    gap: 0.75rem;
  }

  .company-timeline-list .timeline-item {
    padding: 0.9rem 0.9rem 0.95rem;
  }

  .service-photo-tile,
  .service-photo-tile-sm,
  .service-show-image,
  .industry-show-image {
    height: 190px;
    min-height: 190px;
    max-height: 190px;
  }

  .resource-rich-card,
  .industry-card-xl,
  .service-show-card,
  .ops-card,
  .card,
  .contact-form {
    padding: 0.95rem;
  }
}

@media (max-width: 640px) {
  :root {
    --bottom-action-height: 60px;
  }

  body {
    padding-bottom: calc(var(--bottom-action-height) + env(safe-area-inset-bottom));
  }

  .container,
  .container-expanded {
    width: min(100% - 1rem, var(--container));
  }

  .section {
    padding: 2rem 0;
  }

  .section-tight {
    padding: 1.45rem 0;
  }

  h1 {
    font-size: clamp(1.78rem, 8vw, 2.3rem);
  }

  h2 {
    font-size: clamp(1.34rem, 6.4vw, 1.75rem);
    margin-bottom: 0.75rem;
  }

  p {
    margin-bottom: 0.85rem;
  }

  .brand-logo {
    max-width: 182px;
    max-height: 56px;
  }

  .main-nav {
    padding: 0.55rem 0.5rem 0.8rem;
  }

  .main-nav a {
    font-size: 0.93rem;
    padding: 0.68rem;
  }

  .page-hero::before {
    width: 120px;
  }

  .home-hero-xl {
    min-height: 400px;
    align-items: flex-end;
  }

  .home-hero-copy h1 {
    max-width: 12ch;
  }

  .home-hero-copy > p {
    font-size: 0.97rem;
    line-height: 1.48;
  }

  .home-hero-copy .btn-row,
  .btn-row {
    gap: 0.55rem;
  }

  .btn {
    font-size: 0.78rem;
    padding: 0.72rem 0.9rem;
  }

  .products-page .filter-row {
    grid-template-columns: 1fr;
  }

  .products-page .products-filter-meta .btn-secondary {
    width: 100%;
  }

  .product-modal {
    padding: 0.55rem;
  }

  .product-modal-dialog {
    max-height: 88vh;
    padding: 0.9rem;
  }

  .form-grid {
    gap: 0.72rem;
  }

  input,
  select,
  textarea {
    font-size: 16px;
    padding: 0.68rem 0.72rem;
  }

  .contact-form-modern label,
  label {
    font-size: 0.76rem;
  }

  .contact-layout,
  .contact-layout-modern {
    gap: 0.85rem;
  }

  .contact-location-card img {
    min-height: 150px;
    max-height: 190px;
  }

  .company-facility-photo img {
    min-height: 240px;
  }

  .company-map-panel {
    padding: 0.9rem;
  }

  .company-timeline-list {
    margin-top: 0.95rem;
  }

  .company-timeline-list .timeline-item:nth-child(odd),
  .company-timeline-list .timeline-item:nth-child(even) {
    margin-left: 1rem;
  }

  .service-signal-list li {
    padding-left: 0.58rem;
    font-size: 0.88rem;
  }

  .home-corporate-footer .corporate-footer-grid {
    gap: 1rem;
  }

  .footer-top {
    padding: 2rem 0 1.4rem;
  }

  .footer-bottom {
    padding: 1rem 0;
  }

  .footer-meta li {
    margin-bottom: 0.35rem;
  }

  .mobile-action-bar a {
    padding: 0.82rem 0.35rem;
    font-size: 0.82rem;
  }

  .page-up-btn {
    right: 0.55rem;
    bottom: calc(var(--bottom-action-height) + 0.55rem + env(safe-area-inset-bottom));
    padding: 0.56rem 0.72rem;
  }

  .page-up-label {
    font-size: 0.68rem;
  }
}

@media (max-width: 420px) {
  .brand-logo {
    max-width: 164px;
    max-height: 52px;
  }

  .home-hero-copy h1,
  .page-hero h1,
  .knowledge-hero .page-hero-grid > .knowledge-hero-copy > h1 {
    font-size: clamp(1.62rem, 8.5vw, 2rem);
  }

  .home-hero-copy > p,
  .page-hero-grid > div > p {
    font-size: 0.94rem;
  }

  .contact-location-card img {
    min-height: 138px;
    max-height: 176px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.top-header .phone-link {
  color: #0f1d2a;
}

.top-header .header-actions .phone-link-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.45rem;
  height: 2.45rem;
  border-radius: 999px;
  background: #ffc107;
  border: 1px solid #ffc107;
  color: #ffffff;
  padding: 0;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.top-header .header-actions .phone-link-icon svg {
  width: 1.05rem;
  height: 1.05rem;
  fill: currentColor;
}

.top-header .header-actions .phone-link-icon:hover,
.top-header .header-actions .phone-link-icon:focus-visible {
  color: #ffffff;
  background: #e5ad00;
  border-color: #e5ad00;
  transform: translateY(-1px);
}