@import url('https://fonts.googleapis.com/css2?family=Sora:wght@500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --navy:          #101C35;
  --navy-2:        #16294C;
  --blue:          #2C6BE0;
  --blue-deep:     #17417D;
  --blue-light:    #6FA0F5;
  --sky:           #EAF2FE;
  --silver:        #9AA7B8;
  --paper:         #F7F9FC;
  --paper-dim:     #EEF2F8;
  --white:         #FFFFFF;
  --ink:           #0E1526;
  --muted:         #5C6B82;
  --line:          #E1E7F0;
  --line-soft:     #EAEEF4;

  /* Aliases */
  --primary-navy:  #101C35;
  --trident-blue:  #17417D;
  --trident-cyan:  #2C6BE0;
  --trident-light: #6FA0F5;
  --trident-pale:  #EAF2FE;
  --silver-slate:  #8592A6;
  --bg-light:      #F7F9FC;
  --bg-subtle:     #EEF2F8;
  --text-dark:     #0E1526;
  --text-muted:    #5C6B82;
  --border:        #E1E7F0;
  --border-light:  #EAEEF4;

  --radius-sm:     10px;
  --radius-md:     18px;
  --radius-lg:     28px;
  --shadow-sm:     0 4px 16px rgba(16, 28, 53, 0.06);
  --shadow-md:     0 16px 40px rgba(16, 28, 53, 0.10);
  --shadow-lg:     0 28px 70px rgba(16, 28, 53, 0.16);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--white);
  color: var(--ink);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
}

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

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

ul {
  list-style: none;
}

h1, h2, h3, h4, h5 {
  font-family: 'Sora', sans-serif;
  letter-spacing: -0.02em;
  font-weight: 700;
  line-height: 1.2;
}

h1 { font-size: clamp(32px, 5vw, 60px); }
h2 { font-size: clamp(26px, 3.5vw, 42px); }
h3 { font-size: 19px; }
h4 { font-size: 16px; }

.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.4px;
  color: var(--blue-deep);
  font-weight: 600;
  background: var(--sky);
  padding: 6px 14px;
  border-radius: 30px;
  margin-bottom: 16px;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  text-align: center;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(44, 107, 224, 0.28);
}

.btn-primary:hover {
  background: var(--blue-deep);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(23, 65, 125, 0.35);
}

.btn-outline {
  background: var(--white);
  color: var(--navy);
  border: 1.5px solid var(--line);
}

.btn-outline:hover {
  background: var(--paper);
  border-color: var(--silver);
}

.btn-white {
  background: var(--white);
  color: var(--blue-deep);
  font-weight: 700;
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.btn-white:hover {
  background: var(--sky);
  transform: translateY(-2px);
}

/* NAVBAR */
#navbar {
  position: sticky;
  top: 0;
  z-index: 200;
  padding: 14px 0 0;
  width: 100%;
}

.nav-shell {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 999px;
  padding: 6px 14px 6px 20px;
  box-shadow: 0 10px 30px rgba(16, 28, 53, 0.07);
  transition: all 0.3s ease;
}

#navbar.scrolled .nav-shell {
  box-shadow: 0 14px 36px rgba(16, 28, 53, 0.13);
  background: rgba(255, 255, 255, 0.98);
}

.nav-brand {
  display: flex;
  align-items: center;
}

.nav-brand img {
  height: 50px;
  width: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-menu a {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s;
  position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--navy);
}

.nav-menu a.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--blue);
}

.nav-cta-btn {
  padding: 10px 20px !important;
  font-size: 13.5px !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all 0.3s;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  width: 100%;
  max-width: 1180px;
  margin: 10px auto 0;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  box-shadow: var(--shadow-md);
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  padding: 12px 0;
  font-size: 14.5px;
  color: var(--ink);
  border-bottom: 1px solid var(--line-soft);
  font-weight: 500;
}

/* HERO V2 */
.hero-v2 {
  width: 100%;
  background: linear-gradient(180deg, #FFFFFF 0%, var(--bg-light) 100%);
  padding: 50px 0 40px;
  position: relative;
  border-bottom: 1px solid var(--border-light);
}

.hero-header-box {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 600;
  color: var(--primary-navy);
  margin-bottom: 20px;
}

.status-indicator {
  width: 8px;
  height: 8px;
  background: #10B981;
  border-radius: 50%;
  box-shadow: 0 0 8px #10B981;
}

.hero-v2 h1 {
  color: var(--primary-navy);
  margin-bottom: 18px;
}

.hero-v2 h1 span {
  color: var(--trident-cyan);
}

.hero-v2 .hero-lead {
  font-size: 16.5px;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 720px;
  margin: 0 auto 30px;
}

.hero-v2 .hero-action-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-bottom: 38px;
  flex-wrap: wrap;
}

/* TELEMETRY DECK */
.telemetry-deck {
  background: var(--primary-navy);
  border-radius: var(--radius-lg);
  padding: 28px 36px;
  box-shadow: var(--shadow-lg);
  color: var(--white);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  width: 100%;
}

.telemetry-item {
  display: flex;
  flex-direction: column;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  padding-right: 16px;
}

.telemetry-item:last-child {
  border-right: none;
  padding-right: 0;
}

.telemetry-item .t-val {
  font-family: 'Sora', sans-serif;
  font-size: 34px;
  font-weight: 800;
  color: var(--trident-light);
  line-height: 1;
  margin-bottom: 4px;
}

.telemetry-item .t-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 2px;
}

.telemetry-item .t-sub {
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.65);
}

/* STANDALONE VIDEO SECTION — full-width, no text overlay, video is the content */
.hero-video-standalone {
  width: 100%;
  line-height: 0;
  background: linear-gradient(180deg, #E7EAEE 0%, #CDD3DA 100%);
}

.hero-video-standalone .hero-bg-video {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* HERO VIDEO SECTION (grows to fit content — video crops to fill, text never does) */
.hero-video-section {
  position: relative;
  width: 100%;
  min-height: 520px;
  background-color: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-bottom: none;
}

.hero-video-wrapper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.hero-bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(247,249,252,0.10) 0%, rgba(247,249,252,0.55) 55%, rgba(247,249,252,0.88) 100%);
  z-index: 2;
}

.hero-video-container {
  position: relative;
  z-index: 3;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 42px;
  padding: 44px 32px 36px;
}

.hero-visual {
  position: relative;
  width: 100%;
  height: 380px;
}

.hero-video-section .hero-header-box {
  background: rgba(255, 255, 255, 0.74);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-lg);
  padding: 38px 44px;
  box-shadow: var(--shadow-md);
}

/* Floating Glass Cards */
.float-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: var(--radius-sm);
  padding: 12px 18px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 4;
}

.float-card .fc-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--sky);
  color: var(--blue-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.float-card .fc-val {
  font-family: 'Sora', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.1;
}

.float-card .fc-lbl {
  font-size: 11px;
  color: var(--muted);
  font-weight: 500;
}

.float-card-1 { top: 8%; left: 0%; }
.float-card-2 { top: 40%; right: 0%; }
.float-card-3 { bottom: 8%; left: 16%; }

.pulse-live {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22C55E;
  margin-right: 6px;
}

/* SERVICES: BENTO GRID */
.services {
  padding: 70px 0 90px;
  background: var(--white);
  width: 100%;
}

.section-title-wrap {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 44px;
}

.section-title-wrap h2 {
  color: var(--navy);
  margin-bottom: 12px;
}

.section-title-wrap p {
  color: var(--muted);
  font-size: 15.5px;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 180px;
  gap: 18px;
  width: 100%;
}

.bento-lg { grid-column: span 2; grid-row: span 2; }
.bento-md { grid-column: span 2; grid-row: span 1; }
.bento-sm { grid-column: span 1; grid-row: span 1; }
.bento-tall { grid-column: span 1; grid-row: span 2; }

.svc-visual-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.svc-visual-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.svc-visual-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.svc-visual-card:hover .svc-visual-img {
  transform: scale(1.05);
}

.svc-visual-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16,28,53,0.08) 0%, rgba(16,28,53,0.72) 55%, rgba(16,28,53,0.95) 100%);
}

.svc-visual-body {
  position: relative;
  z-index: 2;
  padding: 20px;
  color: var(--white);
}

.svc-icon-badge {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  transition: all 0.25s ease;
}

.svc-visual-card:hover .svc-icon-badge {
  background: var(--blue);
  border-color: var(--blue);
}

.svc-icon-badge .tms-icon svg,
.svc-icon-badge svg {
  width: 18px;
  height: 18px;
  stroke: var(--white);
}

.svc-visual-card h3 {
  color: var(--white);
  font-size: 16px;
  margin-bottom: 4px;
}

.svc-visual-card p {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.45;
}

/* WHY TRIDENT */
.why {
  padding: 80px 0;
  background: var(--paper);
  width: 100%;
}

.why-pillars-grid {
  display: flex;
  flex-direction: column;
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.why-pillars-grid::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--line);
  transform: translateX(-50%);
}

.pillar-box {
  display: grid;
  grid-template-columns: 1fr 60px 1fr;
  align-items: center;
  padding: 26px 0;
}

.pillar-box:nth-child(odd) .pillar-copy {
  grid-column: 1;
  text-align: right;
}

.pillar-box:nth-child(odd) .pillar-spacer {
  grid-column: 3;
}

.pillar-box:nth-child(even) .pillar-copy {
  grid-column: 3;
  text-align: left;
}

.pillar-box:nth-child(even) .pillar-spacer {
  grid-column: 1;
}

.pillar-num {
  grid-column: 2;
  grid-row: 1;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--blue);
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  z-index: 2;
  margin: 0 auto;
}

.pillar-copy h3 {
  color: var(--navy);
  margin-bottom: 6px;
}

.pillar-copy p {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.7;
  max-width: 360px;
}

.pillar-box:nth-child(odd) .pillar-copy p {
  margin-left: auto;
}

/* INDUSTRIES: MARQUEE */
.industries {
  padding: 70px 0;
  background: var(--white);
  overflow: hidden;
  width: 100%;
}

.marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: marquee-scroll 32s linear infinite;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

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

.ind-pill-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.ind-pill-card:hover {
  background: var(--white);
  border-color: var(--blue);
  box-shadow: var(--shadow-sm);
}

.ind-pill-card .tms-icon svg,
.ind-pill-card svg {
  color: var(--blue-deep);
  stroke: var(--blue-deep);
  width: 18px;
  height: 18px;
}

.ind-pill-card span {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
}

/* CTA BAND */
.cta-band {
  width: 100%;
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue-deep) 100%);
  border-radius: var(--radius-lg);
  padding: 56px 36px;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
  margin: 0 auto;
}

.cta-band h2 {
  color: var(--white);
  margin-bottom: 12px;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 26px;
  font-size: 15.5px;
}

.cta-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* FOOTER */
footer {
  width: 100%;
  background: #141c2e !important;
  color: #B0BCCE !important;
  padding-top: 56px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.footer-dispatch-bar {
  background: #19263e !important;
  border: 1px solid #2C6BE0 !important;
  border-radius: var(--radius-md) !important;
  padding: 18px 24px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-bottom: 46px !important;
  flex-wrap: wrap !important;
  gap: 16px !important;
}

.dispatch-left {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
}

.dispatch-left h4 {
  color: #FFFFFF !important;
  font-size: 15px !important;
  margin-bottom: 2px !important;
}

.dispatch-left p {
  font-size: 13px !important;
  color: #8CA0BA !important;
}

.footer-main-grid {
  display: grid !important;
  grid-template-columns: 1.5fr 1fr 1fr 1fr !important;
  gap: 36px !important;
  padding-bottom: 44px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.footer-brand-side img {
  height: 46px;
  margin-bottom: 14px;
}

.footer-brand-side p {
  font-size: 13.5px !important;
  line-height: 1.75 !important;
  max-width: 280px !important;
  color: #8CA0BA !important;
}

.footer-column-block h5 {
  font-family: 'Sora', sans-serif !important;
  font-size: 13px !important;
  letter-spacing: 0.3px !important;
  color: #FFFFFF !important;
  margin-bottom: 16px !important;
  font-weight: 700 !important;
}

.footer-column-block a {
  display: block !important;
  font-size: 13.5px !important;
  color: #8CA0BA !important;
  margin-bottom: 10px !important;
  transition: color 0.2s ease !important;
}

.footer-column-block a:hover {
  color: #2C6BE0 !important;
}

.footer-sub-bottom {
  padding: 22px 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  font-size: 12.5px !important;
  color: #6C7A90 !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
}

.footer-sub-bottom a {
  color: #8CA0BA !important;
}

.footer-sub-bottom a:hover {
  color: #FFFFFF !important;
}

/* =========================================
   INNER PAGES (ABOUT, CONTACT, LEGAL)
========================================= */
.page-header {
  background: var(--paper);
  padding: 60px 0 40px;
  border-bottom: 1px solid var(--line);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 14px;
}

.breadcrumb a {
  color: var(--muted);
  transition: color 0.2s;
}

.breadcrumb a:hover {
  color: var(--blue);
}

.breadcrumb [aria-current="page"] {
  color: var(--navy);
  font-weight: 600;
}

.page-header h1 {
  color: var(--navy);
  margin-bottom: 8px;
}

.page-header p {
  color: var(--muted);
  font-size: 15.5px;
  max-width: 640px;
}

/* Legal Pages */
.legal-body {
  padding: 60px 0 90px;
  background: var(--white);
}

.legal-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 48px;
  align-items: flex-start;
}

.legal-toc {
  position: sticky;
  top: 90px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.legal-toc h4 {
  color: var(--navy);
  margin-bottom: 12px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.legal-toc a {
  padding: 7px 0 7px 10px;
  font-size: 13.5px;
  color: var(--muted);
  border-left: 2px solid transparent;
  transition: all 0.2s ease;
}

.legal-toc a:hover,
.legal-toc a.active {
  color: var(--blue-deep);
  border-left-color: var(--blue);
  font-weight: 600;
}

.legal-content {
  max-width: 800px;
}

.legal-meta {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.legal-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--sky);
  color: var(--blue-deep);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 20px;
}

.legal-section {
  margin-bottom: 34px;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line-soft);
}

.legal-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.legal-section h2 {
  color: var(--navy);
  font-size: 21px;
  margin-bottom: 14px;
}

.legal-section h3 {
  color: var(--navy);
  font-size: 16px;
  margin: 16px 0 8px;
}

.legal-section p {
  color: var(--muted);
  margin-bottom: 12px;
  font-size: 14.5px;
  line-height: 1.7;
}

.legal-section ul {
  margin: 8px 0 14px 4px;
}

.legal-section li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
}

.legal-section li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue);
}

.legal-highlight {
  background: var(--paper);
  border-left: 3px solid var(--blue);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 14px 18px;
  margin: 14px 0;
}

/* Contact Page */
.contact-section {
  padding: 70px 0 90px;
  background: var(--paper);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 44px;
  align-items: flex-start;
}

.contact-info-col h2 {
  color: var(--navy);
  margin-bottom: 14px;
}

.contact-info-col > p {
  color: var(--muted);
  margin-bottom: 24px;
  font-size: 14.5px;
  line-height: 1.7;
}

.cinfo-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.cinfo-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.cinfo-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 10px;
  background: var(--white);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-deep);
  box-shadow: var(--shadow-sm);
}

.cinfo-text strong {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--muted);
  margin-bottom: 2px;
}

.cinfo-text a,
.cinfo-text span {
  color: var(--navy);
  font-weight: 600;
  font-size: 14.5px;
}

.hours-box {
  background: var(--navy);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  color: var(--white);
}

.hours-box h4 {
  color: var(--white);
  margin-bottom: 12px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  font-size: 13.5px;
  padding: 6px 0;
  color: rgba(255,255,255,0.8);
}

.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px;
  box-shadow: var(--shadow-md);
}

.form-card h3 {
  color: var(--navy);
  margin-bottom: 4px;
}

.form-note {
  color: var(--muted);
  font-size: 13.5px;
  margin-bottom: 20px;
}

.form-row2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--ink);
  background: var(--white);
  transition: all 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(44, 107, 224, 0.14);
}

.form-group textarea {
  min-height: 100px;
  resize: vertical;
}

.sms-consent-block {
  background: var(--paper);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin: 6px 0 18px;
}

.sms-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
}

.sms-checkbox-label input {
  margin-top: 3px;
  width: auto;
}

.sms-disclosure {
  font-size: 11.5px;
  color: var(--muted);
  margin-top: 8px;
  line-height: 1.5;
}

/* About Page */
.about-intro {
  padding: 70px 0 80px;
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-text h2 {
  color: var(--navy);
  margin-bottom: 16px;
}

.about-text p {
  color: var(--muted);
  margin-bottom: 14px;
  font-size: 14.5px;
  line-height: 1.75;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.a-stat {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px 18px;
  text-align: center;
}

.a-stat .num {
  font-family: 'Sora', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--blue-deep);
  margin-bottom: 4px;
}

.a-stat .lbl {
  font-size: 12px;
  color: var(--muted);
}

.values {
  padding: 80px 0;
  background: var(--paper);
}

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

.value-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 26px 22px;
  box-shadow: var(--shadow-sm);
}

.value-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--sky);
  color: var(--blue-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.value-icon .tms-icon svg,
.value-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--blue-deep);
}

.value-card h4 {
  color: var(--navy);
  margin-bottom: 6px;
}

.value-card p {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.65;
}

/* TMS Icon base */
.tms-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  vertical-align: middle;
  line-height: 1;
}

.tms-icon svg {
  display: block;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  width: 20px;
  height: 20px;
}

.btn .tms-icon svg {
  width: 16px;
  height: 16px;
}

/* ===================================================
   RESPONSIVE MEDIA QUERIES
=================================================== */

@media (max-width: 1024px) {
  .nav-menu, .nav-cta-btn {
    display: none !important;
  }

  .hamburger {
    display: flex;
  }

  .telemetry-deck {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    padding: 22px;
  }

  .telemetry-item:nth-child(2) {
    border-right: none;
  }

  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 190px;
  }

  .bento-lg, .bento-tall, .bento-md {
    grid-column: span 2;
    grid-row: span 1;
  }

  .why-pillars-grid::before {
    left: 24px;
  }

  .pillar-box {
    grid-template-columns: 48px 1fr;
    gap: 16px;
    padding: 18px 0;
  }

  .pillar-num {
    grid-column: 1;
  }

  .pillar-box:nth-child(odd) .pillar-copy,
  .pillar-box:nth-child(even) .pillar-copy {
    grid-column: 2;
    text-align: left;
  }

  .pillar-box:nth-child(odd) .pillar-copy p {
    margin-left: 0;
  }

  .pillar-box .pillar-spacer {
    display: none;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .footer-main-grid {
    grid-template-columns: 1fr 1fr !important;
  }
}

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

  .legal-toc {
    position: static;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  #navbar {
    padding: 8px 0 0;
  }

  .nav-brand img {
    height: 42px;
  }

  .hero-v2 {
    padding: 30px 0 24px;
  }

  .status-pill {
    font-size: 11px;
    padding: 4px 10px;
    margin-bottom: 16px;
  }

  .hero-v2 .hero-lead {
    font-size: 14.5px;
    margin-bottom: 22px;
  }

  .hero-v2 .hero-action-row {
    flex-direction: column;
    width: 100%;
    margin-bottom: 24px;
  }

  .hero-v2 .hero-action-row .btn {
    width: 100%;
  }

  /* Compact 2x2 Telemetry Deck */
  .telemetry-deck {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 14px;
    padding: 16px 14px;
    border-radius: var(--radius-md);
  }

  .telemetry-item {
    padding-right: 6px;
    border-right: none;
  }

  .telemetry-item:nth-child(odd) {
    border-right: 1px solid rgba(255, 255, 255, 0.12);
  }

  .telemetry-item .t-val {
    font-size: 24px;
    margin-bottom: 2px;
  }

  .telemetry-item .t-title {
    font-size: 12px;
    line-height: 1.2;
  }

  .telemetry-item .t-sub {
    font-size: 10.5px;
  }

  /* Video Hero: grows to fit content on mobile too */
  .hero-video-section {
    min-height: 480px;
    padding: 0;
    display: flex;
    align-items: flex-end;
  }

  .hero-bg-video {
    object-position: center 35%;
    filter: contrast(1.06) brightness(1.04);
  }

  .hero-video-overlay {
    background: linear-gradient(
      180deg,
      rgba(247, 249, 252, 0.08) 0%,
      rgba(247, 249, 252, 0.5) 45%,
      rgba(247, 249, 252, 0.92) 100%
    );
  }

  .hero-video-container {
    padding-bottom: 16px;
  }

  .hero-video-section .hero-header-box {
    padding: 24px 22px;
  }

  .hero-visual {
    height: auto;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
  }

  .float-card {
    position: static;
    flex: 1 1 calc(50% - 8px);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    gap: 8px;
  }

  .float-card:last-child {
    flex: 1 1 100%;
  }

  .float-card .fc-icon {
    width: 28px;
    height: 28px;
    border-radius: 6px;
  }

  .float-card .fc-icon svg {
    width: 14px;
    height: 14px;
  }

  .float-card .fc-val {
    font-size: 13px;
  }

  .float-card .fc-lbl {
    font-size: 10px;
  }

  .bento-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .bento-lg, .bento-tall, .bento-md, .bento-sm {
    grid-column: span 1;
    grid-row: span 1;
  }

  .svc-visual-card {
    min-height: 200px;
  }

  .cta-band {
    padding: 34px 18px;
    border-radius: var(--radius-md);
  }

  .cta-btns {
    flex-direction: column;
    width: 100%;
  }

  .cta-btns .btn {
    width: 100%;
  }

  .form-card {
    padding: 22px 18px;
  }

  .form-row2 {
    grid-template-columns: 1fr;
  }

  .footer-dispatch-bar {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .dispatch-left {
    flex-direction: column;
    text-align: center;
  }

  .footer-main-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  .footer-sub-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}
/* =========================================
   CAREERS PAGE
========================================= */
.careers-why { padding: 90px 0 100px; background: var(--navy); }
.careers-why .section-title-wrap h2 { color: var(--white); }
.careers-why .section-title-wrap p { color: rgba(255,255,255,0.6); }
.careers-why .badge-tag { background: rgba(255,255,255,0.1); color: var(--blue-light); }

.careers-why-grid { display: grid; grid-template-columns: repeat(1fr); gap: 22px; }
.cw-card { background: var(--navy-2); border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius-md); padding: 30px 26px; transition: all 0.3s ease; }
.cw-card:hover { border-color: var(--blue); transform: translateY(-4px); }
.cw-icon { width: 44px; height: 44px; border-radius: 12px; background: rgba(111,160,245,0.15); color: var(--blue-light); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.cw-icon .tms-icon svg, .cw-icon svg { width: 21px; height: 21px; stroke: var(--blue-light); }
.cw-card h3 { color: var(--white); margin-bottom: 8px; }
.cw-card p { color: rgba(255,255,255,0.62); font-size: 14px; line-height: 1.7; }

.roles-section { padding: 100px 0; background: var(--white); }
.roles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.role-card {
  display: flex; align-items: flex-start; gap: 16px;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-md); padding: 26px 24px;
  transition: all 0.25s ease;
}
.role-card:hover { border-color: var(--blue); box-shadow: var(--shadow-sm); transform: translateY(-3px); background: var(--white); }
.role-icon {
  width: 42px; height: 42px; flex-shrink: 0; border-radius: 12px;
  background: var(--sky); color: var(--blue-deep);
  display: flex; align-items: center; justify-content: center;
}
.role-icon .tms-icon svg, .role-icon svg { width: 20px; height: 20px; stroke: var(--blue-deep); }
.role-card h3 { color: var(--navy); font-size: 16px; margin-bottom: 6px; }
.role-card p { color: var(--muted); font-size: 13.5px; line-height: 1.6; margin: 0; }

.apply-section { padding: 20px 0 110px; background: var(--paper); }
.apply-grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: 50px; align-items: flex-start; }

.apply-info-col h2 { color: var(--navy); margin-bottom: 16px; }
.apply-info-col > p { color: var(--muted); margin-bottom: 30px; font-size: 15px; line-height: 1.75; }

/* Honeypot field: present in DOM for bots, invisible and unreachable for humans */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
  opacity: 0;
}

.file-drop {
  border: 1.5px dashed var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  padding: 18px 16px;
  display: flex; align-items: center; gap: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.file-drop:hover { border-color: var(--blue); background: var(--sky); }
.file-drop .fd-icon {
  width: 38px; height: 38px; border-radius: 10px; flex-shrink: 0;
  background: var(--sky); color: var(--blue-deep);
  display: flex; align-items: center; justify-content: center;
}
.file-drop .fd-text { font-size: 13.5px; color: var(--muted); }
.file-drop .fd-text strong { color: var(--navy); font-weight: 600; }
.file-drop input[type="file"] { display: none; }
.file-drop.has-file { border-style: solid; border-color: var(--blue); background: var(--sky); }
.file-drop .fd-filename { font-size: 13px; color: var(--blue-deep); font-weight: 600; }

@media (max-width: 900px) {
  .careers-why-grid { grid-template-columns: 1fr; }
  .roles-grid { grid-template-columns: 1fr; }
  .apply-grid { grid-template-columns: 1fr; }
}

.logos{ background: var(--white); padding: 40px 0; border-bottom: 1px solid var(--line); }
.logos-label{
  text-align:center; font-family: var(--font-body); font-weight:600;
  font-size:12.5px; letter-spacing:.06em; text-transform:uppercase;
  color: var(--steel-lt); margin: 0 0 24px;
}
.logos-row{ display:flex; align-items:center; justify-content:center; gap:44px; flex-wrap:wrap; }
.logo-item{ height:70px; width:auto; filter: grayscale(1); opacity:.55; transition: opacity .2s ease, filter .2s ease; }
.logo-item:hover{ filter:none; opacity:1; }

@media (max-width: 620px){
  .logos-row{ gap:28px; }
  .logo-item{ height:28px; }
}

/* Container & Section */
.jobs-section {
  background-color: #0b1329;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #ffffff;
  padding: 80px 24px;
  min-height: 100vh;
  box-sizing: border-box;
}

/* Header */
.jobs-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 50px auto;
}

.jobs-header .badge {
  display: inline-block;
  background: rgba(30, 58, 138, 0.4);
  color: #60a5fa;
  border: 1px solid rgba(96, 165, 250, 0.2);
  padding: 6px 16px;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.jobs-header h2 {
  font-size: 2.25rem;
  font-weight: 700;
  margin: 0 0 12px 0;
  letter-spacing: -0.02em;
}

.jobs-header p {
  color: #94a3b8;
  font-size: 1.05rem;
  line-height: 1.6;
  margin: 0;
}

/* Grid Layout */
.jobs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Individual Card */
.job-card {
  background-color: #111e38;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.job-card:hover {
  transform: translateY(-4px);
  border-color: rgba(96, 165, 250, 0.4);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

/* Icon */
.job-icon {
  width: 44px;
  height: 44px;
  background: rgba(30, 58, 138, 0.35);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #60a5fa;
  margin-bottom: 20px;
}

.job-icon svg {
  width: 22px;
  height: 22px;
}

/* Tags */
.job-tags {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.job-tags .tag {
  background: rgba(255, 255, 255, 0.06);
  color: #94a3b8;
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 6px;
  font-weight: 500;
}

/* Card Content */
.job-title {
  font-size: 1.35rem;
  font-weight: 600;
  margin: 0 0 10px 0;
  color: #ffffff;
}

.job-desc {
  color: #94a3b8;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0 0 28px 0;
  flex-grow: 1; /* Pushes footer down evenly */
}

/* Footer (Salary & CTA) */
.job-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 18px;
}

.salary {
  font-size: 0.95rem;
  font-weight: 600;
  color: #38bdf8;
}

.apply-btn {
  color: #ffffff;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: color 0.2s ease, transform 0.2s ease;
}

.apply-btn:hover {
  color: #60a5fa;
}