/* ============================================================
   Trust Worth Services — Shared Stylesheet & Design System
   Brand Color Palette derived from logo.png:
   - Navy Blue: #183F72 (Logo Globe & Primary Accent)
   - Safety Orange: #E0692A (Logo Orbit Arrow)
   - Tech Cyan: #00A1CD (Globe Highlight)
   - Crimson Red: #D93829 (Logo TWC Text)
   ============================================================ */

/* ---------- Design Tokens ---------- */
:root {
  --bg: #F4F7FA;
  --surface: #FFFFFF;
  --surface-2: #E8EEF5;
  --surface-3: #DDE5F0;
  --ink: #0B131F;
  --ink-soft: #485668;
  --ink-muted: #78879B;
  
  --accent: #183F72;           /* Primary Navy Blue */
  --accent-strong: #0D264A;    /* Dark Navy */
  --accent-2: #E0692A;         /* Vibrant Safety Orange */
  --accent-2-hover: #C55317;  
  --accent-3: #00A1CD;         /* Tech Cyan */
  --accent-crimson: #D93829;   /* Crimson Red */
  
  --on-accent: #FFFFFF;
  --line: #D1DBE6;
  --line-strong: #0B131F;
  --hazard-a: #183F72;
  --hazard-b: #E0692A;
  
  --shadow-sm: 0 2px 8px rgba(24, 63, 114, 0.08);
  --shadow-md: 0 8px 24px rgba(24, 63, 114, 0.12);
  --shadow-lg: 0 16px 36px rgba(11, 19, 31, 0.16);
  --glow-orange: 0 0 20px rgba(224, 105, 42, 0.35);

  --font-display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --font-body: 'Public Sans', -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', 'Courier New', monospace;

  --container: 1220px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
}

:root[data-theme="dark"] {
  --bg: #0A1018;
  --surface: #111A27;
  --surface-2: #192536;
  --surface-3: #223249;
  --ink: #EAEFF6;
  --ink-soft: #9AA9BD;
  --ink-muted: #6B7C93;

  --accent: #4B82C7;
  --accent-strong: #7AA8E5;
  --accent-2: #FF7B3D;
  --accent-2-hover: #FF945F;
  --accent-3: #32D2FF;
  --accent-crimson: #FF4D3D;

  --on-accent: #050B14;
  --line: #223044;
  --line-strong: #EAEFF6;
  --hazard-a: #0A1018;
  --hazard-b: #E0692A;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 16px 36px rgba(0, 0, 0, 0.7);
  --glow-orange: 0 0 24px rgba(255, 123, 61, 0.4);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0A1018;
    --surface: #111A27;
    --surface-2: #192536;
    --surface-3: #223249;
    --ink: #EAEFF6;
    --ink-soft: #9AA9BD;
    --ink-muted: #6B7C93;

    --accent: #4B82C7;
    --accent-strong: #7AA8E5;
    --accent-2: #FF7B3D;
    --accent-2-hover: #FF945F;
    --accent-3: #32D2FF;
    --accent-crimson: #FF4D3D;

    --on-accent: #050B14;
    --line: #223044;
    --line-strong: #EAEFF6;
    --hazard-a: #0A1018;
    --hazard-b: #E0692A;

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 16px 36px rgba(0, 0, 0, 0.7);
    --glow-orange: 0 0 24px rgba(255, 123, 61, 0.4);
  }
}

/* ---------- Base & Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.3s ease, color 0.3s ease;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; transition: color 0.2s ease; }
h1, h2, h3, h4, h5 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .02em;
  line-height: 1.05;
}
p { margin: 0; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
section { position: relative; }
::selection { background: var(--accent-2); color: #FFFFFF; }
:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon {
  width: 1.4em; height: 1.4em;
  stroke: currentColor; fill: none;
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
  flex: none; display: inline-block; vertical-align: middle;
}

/* ---------- Typography & Utility Badges ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent-2);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}
.eyebrow::before {
  content: "";
  width: 8px; height: 8px;
  background: var(--accent-2);
  flex: none;
}

.hazard-bar {
  height: 8px;
  background-image: repeating-linear-gradient(135deg, var(--hazard-a) 0 16px, var(--hazard-b) 16px 32px);
}

/* ---------- Buttons & Interactive Elements ---------- */
.btn {
  font-family: var(--font-mono);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border: 1.5px solid var(--line-strong);
  white-space: nowrap;
  cursor: pointer;
  background: transparent;
  color: var(--ink);
  position: relative;
  overflow: hidden;
  transition: transform .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.btn-solid {
  background: var(--accent);
  border-color: var(--accent);
  color: #FFFFFF;
}
.btn-solid:hover {
  background: var(--accent-strong);
  border-color: var(--accent-strong);
  box-shadow: var(--shadow-md);
}
.btn-accent {
  background: var(--accent-2);
  border-color: var(--accent-2);
  color: #FFFFFF;
}
.btn-accent:hover {
  background: var(--accent-2-hover);
  border-color: var(--accent-2-hover);
  box-shadow: var(--glow-orange);
}
.btn-outline {
  background: transparent;
  color: var(--ink);
}
.btn-outline:hover {
  background: var(--surface-2);
  border-color: var(--accent-2);
  color: var(--accent-2);
}
.btn:active { transform: translateY(1px); }
.btn .icon { width: 16px; height: 16px; }

/* ---------- Header ---------- */
header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(244, 247, 250, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: background-color 0.3s ease;
}
:root[data-theme="dark"] header {
  background: rgba(10, 16, 24, 0.92);
}
.header-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px;
  max-width: var(--container); margin: 0 auto;
  gap: 20px;
}
.logo {
  display: flex; flex-direction: row; align-items: center; gap: 12px;
  text-decoration: none; color: var(--ink);
}
.logo-img {
  width: 44px; height: 44px;
  object-fit: contain; flex: none;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.15));
}
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-mark {
  font-family: var(--font-display);
  font-weight: 800; font-size: 26px;
  letter-spacing: .02em;
}
.logo-mark span { color: var(--accent-2); }
.logo-sub {
  font-family: var(--font-mono); font-size: 9.5px;
  letter-spacing: .18em; color: var(--ink-soft);
  margin-top: 3px; font-weight: 500;
}

header nav.primary { display: flex; gap: 28px; }
header nav.primary a {
  font-family: var(--font-mono); font-size: 13px; font-weight: 500;
  letter-spacing: .08em; text-transform: uppercase;
  text-decoration: none; color: var(--ink-soft);
  position: relative; padding: 6px 0;
  transition: color 0.2s ease;
}
header nav.primary a:hover { color: var(--accent-2); }
header nav.primary a.current { color: var(--ink); font-weight: 600; }
header nav.primary a.current::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 2.5px; background: var(--accent-2);
}

.header-actions { display: flex; align-items: center; gap: 14px; }
.phone-quick { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); line-height: 1.2; }
.phone-quick small { font-family: var(--font-mono); font-size: 10px; letter-spacing: .14em; color: var(--ink-soft); text-transform: uppercase; }
.phone-quick strong { font-family: var(--font-mono); font-size: 14px; font-weight: 600; color: var(--accent); }
:root[data-theme="dark"] .phone-quick strong { color: var(--accent-3); }

.theme-toggle {
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--ink);
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all 0.2s ease;
}
.theme-toggle:hover { background: var(--surface-3); border-color: var(--accent-2); color: var(--accent-2); }

.menu-toggle {
  display: none; background: none;
  border: 1.5px solid var(--line-strong);
  width: 42px; height: 42px;
  align-items: center; justify-content: center;
  cursor: pointer;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  content: ""; display: block; width: 20px; height: 2px;
  background: var(--ink); position: relative; transition: all 0.2s ease;
}
.menu-toggle span::before { position: absolute; top: -6px; }
.menu-toggle span::after { position: absolute; top: 6px; }

.mobile-nav {
  display: none !important; flex-direction: column; gap: 0;
  padding: 10px 24px 20px; background: var(--surface);
  border-bottom: 1px solid var(--line);
}
@media (max-width: 992px) {
  .mobile-nav.is-open {
    display: flex !important;
  }
}
.mobile-nav a {
  padding: 14px 0; border-top: 1px solid var(--line);
  font-family: var(--font-mono); font-size: 13.5px;
  letter-spacing: .06em; text-transform: uppercase;
  text-decoration: none; color: var(--ink-soft);
}
.mobile-nav a.current { color: var(--accent-2); font-weight: 600; }


/* ---------- Hero (Home Page) ---------- */
.hero { padding: 64px 0 80px; position: relative; overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: 1.15fr 0.85fr;
  gap: 52px; align-items: center; position: relative; z-index: 1;
}
.hero h1 { font-size: clamp(40px, 5.2vw, 68px); line-height: 0.98; margin: 18px 0 22px; }
.hero h1 em { font-style: normal; color: var(--accent-2); }
.hero-lede { max-width: 52ch; font-size: 17.5px; color: var(--ink-soft); line-height: 1.6; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }

/* Modern Hero Visual Frame */
.hero-visual-frame {
  position: relative;
  border: 2px solid var(--line-strong);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.hero-visual-frame::before, .hero-visual-frame::after {
  content: ""; position: absolute; width: 16px; height: 16px;
  border-color: var(--accent-2); border-style: solid; z-index: 2;
}
.hero-visual-frame::before { top: -2px; left: -2px; border-width: 3px 0 0 3px; }
.hero-visual-frame::after { bottom: -2px; right: -2px; border-width: 0 3px 3px 0; }

.hero-img-wrap {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.hero-img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s ease;
}
.hero-visual-frame:hover .hero-img-wrap img { transform: scale(1.04); }

.hero-img-badge {
  position: absolute; bottom: 16px; left: 16px; right: 16px;
  background: rgba(11, 19, 31, 0.85);
  backdrop-filter: blur(8px);
  padding: 14px 18px; color: #FFFFFF;
  display: flex; align-items: center; justify-content: space-between;
  border-left: 3px solid var(--accent-2);
}
.hero-img-badge-text small {
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: .14em; text-transform: uppercase; color: var(--accent-3);
  display: block; margin-bottom: 2px;
}
.hero-img-badge-text strong {
  font-family: var(--font-display); font-size: 18px; font-weight: 700;
  letter-spacing: .02em; text-transform: uppercase;
}

/* Service Ticket Component */
.ticket {
  background: var(--surface);
  border: 1.5px solid var(--line-strong);
  padding: 24px 24px 20px;
  position: relative;
}
.ticket::before, .ticket::after,
.plate::before, .plate::after,
.card::before, .card::after,
.job-card::before, .job-card::after {
  content: ""; position: absolute; width: 14px; height: 14px;
  border-color: var(--accent-2); border-style: solid;
}
.ticket::before, .plate::before, .card::before, .job-card::before { top: -1.5px; left: -1.5px; border-width: 2.5px 0 0 2.5px; }
.ticket::after, .plate::after, .card::after, .job-card::after { bottom: -1.5px; right: -1.5px; border-width: 0 2.5px 2.5px 0; }

.ticket-head {
  display: flex; justify-content: space-between; align-items: baseline;
  border-bottom: 1px dashed var(--line); padding-bottom: 12px; margin-bottom: 12px;
}
.ticket-head h3 { font-size: 16px; letter-spacing: .06em; }
.ticket-head span { font-family: var(--font-mono); font-size: 11px; color: var(--ink-soft); }
.ticket-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.ticket-list li { display: flex; gap: 10px; font-size: 14px; align-items: center; }
.ticket-list li::before { content: ""; flex: none; width: 8px; height: 8px; background: var(--accent-2); }
.ticket-foot {
  margin-top: 16px; padding-top: 12px; border-top: 1px dashed var(--line);
  display: flex; justify-content: space-between;
  font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-soft);
}

/* Orbit background decoration */
.orbit-deco { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 0; opacity: .45; }
.orbit-deco svg { position: absolute; }

/* ---------- Animated Stats Bar ---------- */
.stats-bar {
  background: var(--accent);
  color: #FFFFFF;
  padding: 32px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px; text-align: center;
}
.stat-item { padding: 0 12px; border-right: 1px solid rgba(255, 255, 255, 0.15); }
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(32px, 3.8vw, 48px);
  font-weight: 800;
  color: var(--accent-3);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-num span { color: var(--accent-2); }
.stat-label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}

/* ---------- Trust Strip ---------- */
.trust-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface-2); padding: 18px 0; }
.trust-strip-inner { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; justify-content: center; }
.trust-strip .tag { font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; color: var(--ink-soft); text-transform: uppercase; }
.trust-strip .names { display: flex; gap: 28px; flex-wrap: wrap; justify-content: center; }
.trust-strip .names span {
  font-family: var(--font-display); font-weight: 700; font-size: 15.5px;
  letter-spacing: .04em; color: var(--ink-soft); text-transform: uppercase;
  transition: color 0.2s ease;
}
.trust-strip .names span:hover { color: var(--accent-2); }

/* ---------- Section Headers ---------- */
.section { padding: 88px 0; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 48px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(30px, 3.6vw, 44px); }
.section-head .desc { max-width: 42ch; color: var(--ink-soft); font-size: 15.5px; line-height: 1.55; }

/* ---------- Core Services Grid & Visual Cards ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: var(--surface);
  border: 1.5px solid var(--line);
  position: relative;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}
.card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-2);
  box-shadow: var(--shadow-md);
}

.card-img-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--surface-2);
}
.card-img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.card:hover .card-img-wrap img { transform: scale(1.08); }

.card-img-tag {
  position: absolute; top: 12px; left: 12px;
  background: var(--accent); color: #FFFFFF;
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: .12em; text-transform: uppercase;
  padding: 4px 10px; font-weight: 600;
}

.card-body { padding: 26px 24px; display: flex; flex-direction: column; flex: 1; }
.card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.card .icon-badge {
  width: 48px; height: 48px; display: flex; align-items: center; justify-content: center;
  background: var(--surface-2); border: 1px solid var(--line); color: var(--accent);
}
:root[data-theme="dark"] .card .icon-badge { color: var(--accent-3); }

.card .num { font-family: var(--font-mono); font-size: 12px; color: var(--accent-2); letter-spacing: .1em; font-weight: 600; }
.card h3 { font-size: 22px; margin: 0 0 10px; color: var(--ink); }
.card p { color: var(--ink-soft); font-size: 14.5px; flex: 1; line-height: 1.55; }
.card .card-link {
  margin-top: 18px; font-family: var(--font-mono); font-size: 12px;
  letter-spacing: .06em; text-transform: uppercase; text-decoration: none;
  color: var(--accent); display: inline-flex; align-items: center; gap: 6px; font-weight: 600;
}
:root[data-theme="dark"] .card .card-link { color: var(--accent-3); }
.card .card-link:hover { color: var(--accent-2); }
.card .card-link .icon { width: 14px; height: 14px; }

/* Service Detail Showcase Rows (services.html) */
.service-detail-row {
  display: grid; grid-template-columns: 0.9fr 1.1fr;
  gap: 40px; align-items: center; padding: 48px 0;
  border-top: 1px solid var(--line);
}
.service-detail-row:last-child { border-bottom: 1px solid var(--line); }
.service-detail-row.reverse { grid-template-columns: 1.1fr 0.9fr; }
.service-detail-row.reverse .service-detail-img { order: 2; }
.service-detail-row.reverse .service-detail-content { order: 1; }

.service-detail-img {
  position: relative; border: 1.5px solid var(--line-strong);
  box-shadow: var(--shadow-md); overflow: hidden;
}
.service-detail-img img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.service-detail-content h3 { font-size: 28px; margin-bottom: 12px; }
.service-detail-content p { color: var(--ink-soft); font-size: 15.5px; margin-bottom: 18px; }
.service-detail-content ul { list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.service-detail-content ul li {
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase;
  background: var(--surface-2); border: 1px solid var(--line); padding: 7px 12px; color: var(--ink);
}

/* ---------- Workforce Tags & Categories Section ---------- */
.workforce { background: var(--ink); color: #FFFFFF; }
.workforce .section-head h2 { color: #FFFFFF; }
.workforce .eyebrow { color: var(--accent-3); }
.workforce .eyebrow::before { background: var(--accent-3); }
.workforce .section-head .desc { color: #A4B3C6; }
.tag-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tag-pill {
  font-family: var(--font-mono); font-size: 13.5px; letter-spacing: .06em; text-transform: uppercase;
  border: 1px solid #28374D; background: #131E2E; padding: 18px 20px;
  display: flex; align-items: center; justify-content: space-between; color: #FFFFFF;
  transition: all 0.2s ease; cursor: default;
}
.tag-pill:hover { border-color: var(--accent-2); background: #1B293D; transform: translateY(-2px); }
.tag-pill .left-info { display: flex; align-items: center; gap: 12px; }
.tag-pill .icon { width: 18px; height: 18px; color: var(--accent-3); }
.tag-pill .count { font-size: 11px; color: var(--accent-2); background: rgba(224, 105, 42, 0.15); padding: 3px 8px; border-radius: 2px; }

/* Badge Grid (careers.html) */
.badge-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.badge-card {
  background: var(--surface); border: 1.5px solid var(--line);
  padding: 28px; text-align: left; position: relative;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.badge-card:hover { transform: translateY(-4px); border-color: var(--accent-2); }
.badge-card .icon-badge {
  width: 48px; height: 48px; display: flex; align-items: center; justify-content: center;
  background: var(--surface-2); border: 1px solid var(--line); color: var(--accent); margin-bottom: 16px;
}
.badge-card h3 { font-size: 20px; margin-bottom: 8px; }
.badge-card p { color: var(--ink-soft); font-size: 14px; }

/* ---------- About & Why Section ---------- */
.about-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: start; }
.about-img-frame {
  position: relative; border: 1.5px solid var(--line-strong);
  box-shadow: var(--shadow-md); margin-bottom: 24px;
}
.about-img-frame img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

.reasons { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-direction: column; }
.reasons li { display: grid; grid-template-columns: 48px 1fr; gap: 16px; padding: 20px 0; border-top: 1px solid var(--line); }
.reasons li:last-child { border-bottom: 1px solid var(--line); }
.reasons .idx { font-family: var(--font-mono); font-size: 14px; font-weight: 700; color: var(--accent-2); padding-top: 2px; }
.reasons h4 { font-family: var(--font-body); text-transform: none; font-weight: 700; font-size: 16.5px; margin-bottom: 6px; letter-spacing: 0; }
.reasons p { color: var(--ink-soft); font-size: 14.5px; }

.plate { background: var(--surface-2); border: 1.5px solid var(--line-strong); padding: 28px; position: relative; }
.plate h3 { font-size: 14px; letter-spacing: .08em; margin-bottom: 16px; }
.plate .row { padding: 14px 0; border-top: 1px dashed var(--line); display: flex; gap: 14px; align-items: flex-start; }
.plate .row:first-of-type { border-top: none; }
.plate .row .icon { color: var(--accent-2); margin-top: 2px; }
.plate .row small { display: block; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .12em; color: var(--ink-soft); margin-bottom: 4px; text-transform: uppercase; }
.plate .row div, .plate .row a { font-size: 15px; text-decoration: none; color: var(--ink); }
.plate .row a:hover { color: var(--accent-2); }

/* ---------- Field Reports / Client Testimonials ---------- */
.reports-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.report {
  background: var(--surface); border: 1.5px solid var(--line);
  padding: 30px; display: flex; flex-direction: column; gap: 18px;
  position: relative; transition: transform 0.2s ease, border-color 0.2s ease;
}
.report:hover { transform: translateY(-4px); border-color: var(--accent-2); }
.report-stars { display: flex; gap: 4px; color: #F5A623; }
.report-stars .icon { width: 16px; height: 16px; fill: currentColor; }
.report q {
  font-family: var(--font-display); font-weight: 600; font-size: 21px;
  line-height: 1.35; quotes: none; text-transform: none; font-style: normal;
  color: var(--ink);
}
.report-meta {
  display: flex; justify-content: space-between; align-items: flex-end;
  font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-soft);
  border-top: 1px solid var(--line); padding-top: 14px; letter-spacing: .04em;
}
.report-meta strong { display: block; color: var(--ink); font-family: var(--font-body); font-weight: 700; font-size: 14px; margin-bottom: 2px; }

/* ---------- Process Steps ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.process-step { position: relative; }
.process-step .step-num {
  width: 48px; height: 48px; border: 1.5px solid var(--line-strong);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 14px; font-weight: 700;
  color: var(--accent-2); margin-bottom: 16px; background: var(--surface);
}
.process-step h4 { font-size: 17px; text-transform: none; font-weight: 700; letter-spacing: 0; margin-bottom: 6px; font-family: var(--font-body); }
.process-step p { font-size: 13.5px; color: var(--ink-soft); }

/* ---------- Job Cards (Careers Page) ---------- */
.job-filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 32px; }
.job-filters button {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase;
  border: 1.5px solid var(--line-strong); background: transparent; color: var(--ink);
  padding: 10px 18px; cursor: pointer; transition: all 0.2s ease;
}
.job-filters button.active, .job-filters button:hover { background: var(--accent); border-color: var(--accent); color: #FFFFFF; }
.job-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.job-card { background: var(--surface); border: 1.5px solid var(--line); padding: 24px; position: relative; display: flex; flex-direction: column; gap: 14px; }
.job-card h3 { font-size: 20px; }
.job-card .qual { font-family: var(--font-mono); font-size: 11px; color: var(--ink-soft); letter-spacing: .08em; text-transform: uppercase; }
.job-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.job-tags span { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .04em; text-transform: uppercase; background: var(--surface-2); border: 1px solid var(--line); padding: 5px 10px; color: var(--ink); }
.job-card .job-apply {
  margin-top: auto; align-self: flex-start;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
  text-decoration: none; color: #FFFFFF; background: var(--accent-2);
  padding: 10px 20px; border: none; border-radius: var(--radius-sm);
  font-weight: 600; cursor: pointer; transition: all 0.2s ease;
  display: inline-flex; align-items: center; justify-content: center;
}
.job-card .job-apply:hover {
  background: var(--accent-2-hover);
  box-shadow: var(--glow-orange);
  transform: translateY(-2px);
}

/* ---------- Form Styles & Modal ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; }
.form-field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.form-field label { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); font-weight: 600; }
.form-field input, .form-field select, .form-field textarea {
  font-family: var(--font-body); font-size: 15px; color: var(--ink);
  background: var(--surface); border: 1.5px solid var(--line-strong); padding: 13px 14px;
  width: 100%; transition: border-color 0.2s ease;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: none; border-color: var(--accent-2); box-shadow: 0 0 0 3px rgba(224, 105, 42, 0.15); }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* Custom Callback Modal */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(11, 19, 31, 0.75);
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px; opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
}
.modal-backdrop.active { opacity: 1; pointer-events: auto; }
.modal-dialog {
  background: var(--surface);
  border: 2px solid var(--line-strong);
  max-width: 520px; width: 100%;
  padding: 32px; position: relative;
  box-shadow: var(--shadow-lg);
  transform: translateY(20px); transition: transform 0.3s ease;
}
.modal-backdrop.active .modal-dialog { transform: translateY(0); }
.modal-close {
  position: absolute; top: 16px; right: 16px;
  background: none; border: none; color: var(--ink-soft);
  cursor: pointer; padding: 4px; transition: color 0.2s ease;
}
.modal-close:hover { color: var(--accent-2); }

/* ---------- Page Hero Interior ---------- */
.page-hero { padding: 56px 0 60px; overflow: hidden; position: relative; }
.page-hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(36px, 4.6vw, 60px); line-height: .98; margin: 16px 0 18px; }
.page-hero .lede { max-width: 56ch; font-size: 16.5px; color: var(--ink-soft); }
.crumb { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .08em; color: var(--ink-soft); text-transform: uppercase; margin-bottom: 10px; display: block; }
.crumb a { text-decoration: none; color: var(--ink-soft); }
.crumb a:hover { color: var(--accent-2); }

/* ---------- Footer ---------- */
footer { background: var(--ink); color: #FFFFFF; padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid #1E2B3D; }
footer .logo { align-items: flex-start; }
footer .logo-mark { color: #FFFFFF; }
footer .logo-mark span { color: var(--accent-2); }
footer p.tag-desc { color: #8E9EAF; font-size: 14px; margin-top: 14px; max-width: 32ch; line-height: 1.5; }
footer h5 { font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-3); margin-bottom: 16px; }
footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
footer a { text-decoration: none; color: #BAC7D5; font-size: 14.5px; transition: color 0.2s ease; }
footer a:hover { color: var(--accent-2); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-top: 24px; font-family: var(--font-mono); font-size: 11.5px; color: #78899D; }

/* ---------- Team Leadership Section ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 32px;
}
.team-card {
  background: var(--surface);
  border: 1.5px solid var(--line);
  padding: 32px 20px 24px;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  display: flex; flex-direction: column; align-items: center;
}
.team-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-2);
  box-shadow: var(--shadow-md);
}
.team-avatar {
  width: 120px; height: 120px;
  border-radius: 50%;
  border: 3px solid var(--accent-3);
  overflow: hidden;
  margin-bottom: 18px;
  background: var(--surface-2);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.team-avatar img {
  width: 100%; height: 100%; object-fit: cover;
}
.team-name {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 800;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 4px;
  letter-spacing: .02em;
}
.team-role {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent-2);
  font-weight: 600;
  margin-bottom: 16px;
}
.team-socials {
  display: flex; justify-content: center; gap: 10px;
  margin-top: auto;
}
.team-social-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--accent);
  color: #FFFFFF;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.team-social-btn:hover {
  background: var(--accent-2);
  transform: translateY(-2px);
}
.team-social-btn .icon { width: 15px; height: 15px; }

/* ---------- Reveal Animation ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

@media (min-width: 993px) {
  .mobile-nav { display: none !important; }
}

/* ---------- Circular Badge Service Cards (Matching trustworth.in) ---------- */
.service-badge-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
}
.service-badge-card {
  background: var(--surface);
  border: 1.5px solid var(--line);
  padding: 36px 24px 28px;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  display: flex; flex-direction: column; align-items: center;
}
.service-badge-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-3);
  box-shadow: var(--shadow-md);
}
.service-badge-avatar {
  width: 140px; height: 140px;
  border-radius: 50%;
  border: 4px solid var(--accent-3);
  overflow: hidden;
  margin-bottom: 20px;
  background: var(--surface-2);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm);
}
.service-badge-avatar img {
  width: 100%; height: 100%; object-fit: cover;
}
.service-badge-title {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 800;
  color: var(--ink);
  margin-bottom: 6px;
  letter-spacing: .01em;
}
.service-badge-sub {
  font-family: var(--font-body);
  font-size: 13.5px;
  color: var(--ink-soft);
  margin-bottom: 20px;
}
.service-badge-btn {
  margin-top: auto;
  font-family: var(--font-mono); font-size: 12.5px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent-3); text-decoration: none;
  transition: color 0.2s ease;
  display: inline-flex; align-items: center; gap: 6px;
}
.service-badge-btn:hover {
  color: var(--accent-2);
}

/* ---------- Responsive Layout ---------- */
@media (max-width: 992px) {
  header nav.primary { display: none !important; }
  .menu-toggle { display: flex !important; }
  .hero-grid, .about-grid, .contact-grid, .page-hero-grid, .service-detail-row, .service-detail-row.reverse { grid-template-columns: 1fr; }
  .service-detail-row.reverse .service-detail-img { order: initial; }
  .services-grid, .badge-grid, .tag-row, .team-grid, .service-badge-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 16px; }
  .stat-item { border-right: none; }
  .reports-grid, .job-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .process { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .services-grid, .badge-grid, .tag-row, .stats-grid, .team-grid, .service-badge-grid { grid-template-columns: 1fr; }
  .form-row-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-ctas .btn { flex: 1; justify-content: center; }
  .header-row { padding: 12px 16px; }
  .phone-quick { display: none; }
  .process { grid-template-columns: 1fr; }
}




