/* ==========================================================================
   HighPoint Family of Companies — Shared Design System
   This file is loaded by all four company sites. Each site additionally
   loads a small brand.css that overrides the CSS custom properties below,
   so structure/spacing/components stay consistent while color, and type
   accent stay distinct per company.
   ========================================================================== */

:root {
  /* ---- Brand tokens (overridden per-site in brand.css) ---- */
  --primary: #0B2545;
  --primary-dark: #071630;
  --accent: #A6192E;
  --accent-dark: #7A1222;
  --tertiary: #5B6770;
  --headline-font: 'Inter', 'Helvetica Neue', Arial, sans-serif;

  /* ---- Shared neutrals ---- */
  --ink: #14171C;
  --body-text: #333B44;
  --muted: #5B6770;
  --line: #E2E5E9;
  --surface: #FFFFFF;
  --surface-alt: #F5F6F8;
  --surface-deep: #101418;
  --white: #FFFFFF;
  --gold-flag: #B7891A; /* family identifier accent, used sparingly */

  /* ---- Type scale ---- */
  --body-font: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --step-1: clamp(2.4rem, 2rem + 2vw, 3.75rem);
  --step-0: clamp(1.9rem, 1.6rem + 1.2vw, 2.6rem);
  --step-h3: clamp(1.35rem, 1.2rem + 0.6vw, 1.75rem);

  /* ---- Layout ---- */
  --maxw: 1200px;
  --gutter: clamp(20px, 4vw, 56px);
  --radius: 2px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body-font);
  color: var(--body-text);
  background: var(--surface);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 {
  font-family: var(--headline-font);
  color: var(--ink);
  margin: 0 0 0.5em;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.01em;
}
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.9em;
}

section { padding: clamp(56px, 8vw, 108px) 0; }
section.tight { padding: clamp(36px, 5vw, 64px) 0; }
.bg-alt { background: var(--surface-alt); }
.bg-deep { background: var(--surface-deep); color: #C9CED4; }
.bg-deep h2, .bg-deep h3 { color: #fff; }
.bg-primary { background: var(--primary); color: #D8DEE8; }
.bg-primary h2, .bg-primary h3 { color: #fff; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.15s ease;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-outline { border-color: currentColor; background: transparent; }
.btn-outline:hover { background: rgba(255,255,255,0.08); }
.btn-ghost-dark { border-color: var(--primary); color: var(--primary); background: transparent; }
.btn-ghost-dark:hover { background: var(--primary); color: #fff; }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---- Header / Nav ---- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(140%) blur(6px);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px var(--gutter); max-width: var(--maxw); margin: 0 auto; gap: 24px;
}
.brand-logo img { height: 58px; width: auto; max-width: 240px; }
.brand-logo img.logo-badge { height: 76px; max-width: 100px; }
.brand-logo { flex-shrink: 0; }
.main-nav { display: flex; align-items: center; gap: 26px; }
.main-nav a {
  font-size: 0.86rem; font-weight: 600; color: var(--ink);
  letter-spacing: 0.01em; padding: 8px 0; position: relative; white-space: nowrap;
}
.main-nav a:hover { color: var(--accent); }
.main-nav .cta-link {
  background: var(--primary); color: #fff !important; padding: 10px 20px; border-radius: var(--radius);
}
.main-nav .cta-link:hover { background: var(--accent); }
.nav-toggle { display: none; }

/* Our Companies mega menu */
.our-companies-nav { position: relative; }
.mega-panel {
  display: none; position: absolute; top: calc(100% + 14px); right: -20px;
  width: min(760px, 90vw); background: #fff; border: 1px solid var(--line);
  box-shadow: 0 20px 50px rgba(10,15,25,0.16); padding: 24px; border-radius: 4px;
}
.our-companies-nav:hover .mega-panel,
.our-companies-nav:focus-within .mega-panel { display: block; }
.mega-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.mega-card {
  display: block; padding: 16px; border: 1px solid var(--line); border-radius: 3px;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.mega-card:hover { border-color: var(--accent); background: var(--surface-alt); }
.mega-card .mega-name { font-weight: 800; font-size: 0.95rem; color: var(--ink); margin-bottom: 3px; }
.mega-card .mega-role { font-size: 0.74rem; color: var(--accent); font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 6px; }
.mega-card .mega-desc { font-size: 0.82rem; color: var(--muted); line-height: 1.45; }
.mega-card.is-current { background: var(--surface-alt); border-color: var(--ink); }
.mega-foot { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 0.82rem; }
.mega-foot a { color: var(--accent); font-weight: 700; }

/* ---- Hero ---- */
.hero {
  background: var(--primary); color: #E7EAF0; position: relative; overflow: hidden;
  padding: clamp(70px, 12vw, 140px) 0 clamp(56px, 8vw, 96px);
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(0,0,0,0.28), rgba(0,0,0,0) 55%);
  pointer-events: none;
}
.hero .wrap { position: relative; }
.hero h1 { color: #fff; font-size: var(--step-1); max-width: 15ch; }
.hero .lede { font-size: clamp(1.05rem, 0.95rem + 0.4vw, 1.25rem); max-width: 56ch; color: #C9D2E0; margin-bottom: 1.6em; }
.hero .family-tag {
  display: inline-flex; align-items: center; gap: 8px; font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; color: #B9C4D6; margin-bottom: 22px;
  border: 1px solid rgba(255,255,255,0.28); padding: 7px 14px; border-radius: 100px;
}
.hero .family-tag .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* ---- Grids / Cards ---- */
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line); padding: 30px; border-radius: 3px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.card:hover { box-shadow: 0 16px 34px rgba(10,15,25,0.09); transform: translateY(-2px); }
.card .card-icon { width: 44px; height: 44px; border-radius: 50%; background: var(--surface-alt); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; color: var(--accent); font-weight: 800; }
.card h3 { font-size: 1.15rem; margin-bottom: 0.5em; }
.card p { color: var(--muted); font-size: 0.94rem; margin-bottom: 0; }
.card .card-link { display: inline-block; margin-top: 14px; font-size: 0.85rem; font-weight: 700; color: var(--accent); }

.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: var(--step-0); }
.section-head .lede { color: var(--muted); font-size: 1.05rem; }

/* ---- Stats strip ---- */
.stat-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat-strip .stat { padding: 30px var(--gutter); border-right: 1px solid var(--line); }
.stat-strip .stat:last-child { border-right: none; }
.stat .num { font-size: 2.1rem; font-weight: 800; color: var(--primary); font-family: var(--headline-font); }
.stat .label { font-size: 0.82rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; margin-top: 4px; }

/* ---- Capabilities gallery (image tiles, replaces the old project case-study grid) ---- */
.wrap-wide { max-width: 1500px; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.gallery-item { border-radius: 3px; overflow: hidden; background: var(--surface-alt); border: 1px solid var(--line); }
.gallery-media { aspect-ratio: 5/4; overflow: hidden; background: var(--surface-deep); }
.gallery-media img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---- Integrated Solutions module ---- */
.solution-card { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--accent); padding: 28px; border-radius: 2px; }
.solution-card h3 { font-size: 1.1rem; }
.solution-companies { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.chip { font-size: 0.76rem; font-weight: 700; padding: 6px 12px; border-radius: 100px; background: var(--surface-alt); border: 1px solid var(--line); color: var(--ink); }
.solution-caps { font-size: 0.87rem; color: var(--muted); }

/* ---- Cross-sell callout ---- */
.crosssell {
  border: 1px solid var(--line); border-radius: 3px; padding: 26px 28px; background: var(--surface-alt);
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.crosssell .cs-label { font-size: 0.74rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--accent); margin-bottom: 6px; }
.crosssell h4 { font-size: 1.05rem; margin-bottom: 4px; }
.crosssell p { margin: 0; color: var(--muted); font-size: 0.9rem; }
.crosssell .btn { flex-shrink: 0; }

/* ---- Our Companies grid (shared page) ---- */
.oc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.oc-card { border: 1px solid var(--line); border-radius: 3px; padding: 32px; background: #fff; display: flex; flex-direction: column; gap: 14px; }
.oc-card img { height: 48px; width: auto; max-width: 100%; margin-bottom: 6px; align-self: flex-start; }
.oc-card img.logo-badge { height: 64px; }
.oc-card .oc-role { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); }
.oc-card h3 { font-size: 1.3rem; }
.oc-card p { color: var(--muted); font-size: 0.92rem; flex-grow: 1; }

/* ---- Certifications / procurement blocks ---- */
.proc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.proc-item { border: 1px solid var(--line); padding: 22px; border-radius: 3px; background: #fff; }
.proc-item .proc-label { font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); font-weight: 700; margin-bottom: 6px; }
.proc-item .proc-val { font-weight: 700; color: var(--ink); font-size: 1.02rem; }
.badge-seal { display: flex; align-items: center; gap: 20px; padding: 24px; border: 1px solid var(--line); border-radius: 3px; background: #fff; }
.badge-seal img { height: 110px; width: auto; }

/* ---- Forms ---- */
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 0.82rem; font-weight: 700; color: var(--ink); }
.form-field input, .form-field select, .form-field textarea {
  padding: 12px 14px; border: 1px solid var(--line); border-radius: 2px; font-family: var(--body-font); font-size: 0.94rem;
}
.form-field textarea { resize: vertical; min-height: 110px; }
.form-note { font-size: 0.82rem; color: var(--muted); margin-top: 6px; }
.contact-paths { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-bottom: 40px; }
.path-card { border: 1px solid var(--line); border-radius: 3px; padding: 26px; }
.path-card.is-active { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.path-card h3 { font-size: 1.05rem; }
.path-card p { color: var(--muted); font-size: 0.9rem; }

/* ---- Footer ---- */
.site-footer { background: var(--surface-deep); color: #A8AFB8; padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-brand img { height: 50px; width: auto; max-width: 220px; margin-bottom: 16px; filter: brightness(0) invert(1); }
.footer-brand img.logo-badge { height: 66px; }
.footer-brand p { font-size: 0.88rem; line-height: 1.6; max-width: 34ch; }
.footer-col h5 { color: #fff; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 16px; }
.footer-col a, .footer-col span { display: block; font-size: 0.88rem; margin-bottom: 10px; color: #A8AFB8; }
.footer-col a:hover { color: #fff; }
.footer-family { padding: 40px 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-family h5 { color: #fff; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 20px; }
.footer-companies { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.footer-company a { display: block; font-weight: 700; color: #fff; font-size: 0.92rem; margin-bottom: 4px; }
.footer-company .fc-role { font-size: 0.78rem; color: #7C8592; }
.footer-integrated { font-size: 0.85rem; max-width: 70ch; margin-top: 18px; line-height: 1.6; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 24px 0; font-size: 0.78rem; flex-wrap: wrap; gap: 10px; }
.footer-bottom a { color: #7C8592; margin-left: 16px; }
.family-badge {
  display: inline-flex; align-items: center; gap: 8px; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted);
}
.family-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* ---- Breadcrumb / page header ---- */
.page-header { background: var(--surface-alt); border-bottom: 1px solid var(--line); padding: 40px 0; }
.crumbs { font-size: 0.8rem; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--muted); } .crumbs a:hover { color: var(--accent); }
.page-header h1 { font-size: clamp(1.9rem, 1.6rem + 1.4vw, 2.7rem); }
.page-header .lede { color: var(--muted); font-size: 1.05rem; max-width: 68ch; margin-bottom: 0; }

/* ---- Routing tool ---- */
.route-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.route-item { border: 1px solid var(--line); border-radius: 3px; padding: 20px; background: #fff; text-align: center; }
.route-item .r-need { font-weight: 700; font-size: 0.92rem; margin-bottom: 8px; }
.route-item .r-arrow { color: var(--muted); font-size: 0.78rem; margin-bottom: 6px; }
.route-item .r-to { font-size: 0.86rem; font-weight: 700; color: var(--accent); }

/* ==========================================================================
   ONE-PAGE SOUL LAYER — chapter numerals, scroll-spy dot nav, reveal motion,
   per-company background motifs. Added when the sites moved from multi-page
   to single-scroll, anchor-navigated layouts.
   ========================================================================== */

/* ---- Chapter numerals ---- */
.chapter {
  position: relative;
  margin-bottom: 44px;
}
.chapter .chapter-num {
  position: absolute;
  top: -0.62em;
  left: -0.05em;
  font-family: var(--headline-font);
  font-weight: 800;
  font-size: clamp(3.5rem, 3rem + 3vw, 6.5rem);
  color: var(--surface-alt);
  z-index: 0;
  line-height: 1;
  user-select: none;
  pointer-events: none;
}
.bg-alt .chapter .chapter-num { color: #E9EBEE; }
.bg-deep .chapter .chapter-num, .bg-primary .chapter .chapter-num { color: rgba(255,255,255,0.06); }
.chapter .eyebrow, .chapter h2, .chapter .lede { position: relative; z-index: 1; }

/* ---- Scroll-spy dot nav (desktop only) ---- */
.dotnav {
  position: fixed; right: 26px; top: 50%; transform: translateY(-50%);
  z-index: 90; display: flex; flex-direction: column; gap: 14px;
}
.dotnav a {
  width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--line);
  background: #fff; display: block; position: relative; transition: all 0.2s ease;
}
.dotnav a::after {
  content: attr(data-label); position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
  font-size: 0.72rem; font-weight: 700; white-space: nowrap; background: var(--ink); color: #fff;
  padding: 5px 10px; border-radius: 3px; opacity: 0; pointer-events: none; transition: opacity 0.15s ease;
}
.dotnav a:hover::after { opacity: 1; }
.dotnav a.is-active { background: var(--accent); border-color: var(--accent); transform: scale(1.3); }
@media (max-width: 1180px) { .dotnav { display: none; } }

/* ---- Scroll reveal ---- */
/* Content is visible by default (no-JS / JS-blocked users always see everything).
   Only once site.js confirms it's running does it add .js to <html>, which is
   what actually arms the hidden-until-scrolled-into-view state. */
.reveal, .reveal-stagger > * { opacity: 1; transform: none; }
html.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
html.js .reveal.is-visible { opacity: 1; transform: translateY(0); }
html.js .reveal-stagger > * { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
html.js .reveal-stagger.is-visible > * { opacity: 1; transform: translateY(0); }
html.js .reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0.02s; }
html.js .reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 0.09s; }
html.js .reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 0.16s; }
html.js .reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 0.23s; }
html.js .reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 0.30s; }
html.js .reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 0.37s; }
@media (prefers-reduced-motion: reduce) {
  html.js .reveal, html.js .reveal-stagger > * { opacity: 1; transform: none; transition: none; }
}

/* ---- Pull quote / big stat moments ---- */
.pullquote {
  font-family: var(--headline-font); font-weight: 700; font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.35rem);
  line-height: 1.28; color: var(--ink); max-width: 26ch; letter-spacing: -0.01em;
}
.pullquote .accent-mark { color: var(--accent); }
.big-stat { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.big-stat .bs-num { font-family: var(--headline-font); font-weight: 800; font-size: clamp(3rem, 2.4rem + 2.6vw, 5rem); color: var(--primary); line-height: 1; }
.big-stat .bs-label { font-size: 0.95rem; color: var(--muted); max-width: 26ch; }

/* ---- Hero: diagonal accent + texture, per-brand motif hook ---- */
.hero { padding-top: clamp(96px, 14vw, 168px); }
.hero .motif { position: absolute; inset: 0; opacity: 0.5; pointer-events: none; z-index: 0; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.14) 1px, transparent 0);
  background-size: 26px 26px; opacity: 0.35; pointer-events: none;
}
.hero-edge {
  position: absolute; right: 0; top: 0; bottom: 0; width: min(38vw, 480px);
  clip-path: polygon(28% 0, 100% 0, 100% 100%, 0% 100%);
  background: linear-gradient(160deg, rgba(255,255,255,0.10), rgba(255,255,255,0) 60%);
  pointer-events: none;
}
.section-divider { height: 64px; position: relative; overflow: hidden; }
.section-divider svg { position: absolute; bottom: 0; width: 100%; height: 100%; }

/* ---- Per-company hero motifs (toggled via body class set in brand css context) ---- */
.motif-blueprint {
  background-image:
    linear-gradient(rgba(255,255,255,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.07) 1px, transparent 1px);
  background-size: 42px 42px;
}
.motif-diagonal {
  background: repeating-linear-gradient(115deg, rgba(255,255,255,0.05) 0 2px, transparent 2px 34px);
}
.motif-dotgrid {
  background-image: radial-gradient(rgba(255,255,255,0.16) 1.4px, transparent 0);
  background-size: 18px 18px;
}
.motif-herringbone {
  background-image:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.06) 0 3px, transparent 3px 22px),
    repeating-linear-gradient(-45deg, rgba(255,255,255,0.06) 0 3px, transparent 3px 22px);
}

/* ---- Section nav (in-page anchor nav) ---- */
.main-nav a.is-active { color: var(--accent); }
.main-nav a.is-active::after { content: ""; display: block; height: 2px; background: var(--accent); margin-top: 4px; }

/* ---- Contact tabs (Discuss vs. Invite to Bid, folded into one section) ---- */
.contact-tabs { display: flex; gap: 10px; margin-bottom: 28px; }
.contact-tab { padding: 12px 22px; border: 2px solid var(--line); border-radius: 100px; font-weight: 700; font-size: 0.88rem; cursor: pointer; background: #fff; color: var(--muted); }
.contact-tab.is-active { border-color: var(--accent); color: var(--accent); background: rgba(0,0,0,0.02); }
.contact-panel { display: none; }
.contact-panel.is-active { display: block; }

/* ---- Section label pill on nav-linked headers ---- */
.section-kicker { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.section-kicker .kick-line { width: 34px; height: 2px; background: var(--accent); }

/* ---- Responsive ---- */
@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-companies { grid-template-columns: repeat(2, 1fr); }
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .stat-strip .stat:nth-child(2) { border-right: none; }
  .proc-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .brand-logo img { height: 42px; max-width: 165px; }
  .brand-logo img.logo-badge { height: 54px; max-width: 74px; }
  .main-nav { position: fixed; inset: 64px 0 0 0; background: #fff; flex-direction: column; align-items: flex-start;
    padding: 24px var(--gutter); gap: 4px; transform: translateX(100%); transition: transform 0.2s ease; overflow-y: auto; }
  .main-nav.is-open { transform: translateX(0); }
  .main-nav a { width: 100%; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav-toggle { display: block; background: none; border: none; font-size: 1.6rem; cursor: pointer; color: var(--ink); }
  .mega-panel { position: static; width: 100%; box-shadow: none; margin-top: 10px; }
  .our-companies-nav:hover .mega-panel { display: none; }
  .grid-2, .grid-3, .grid-4, .gallery-grid, .oc-grid, .form-grid, .route-grid, .proc-grid { grid-template-columns: 1fr; }
  .footer-grid, .footer-companies { grid-template-columns: 1fr; }
  .stat-strip { grid-template-columns: 1fr; }
  .stat-strip .stat { border-right: none; border-bottom: 1px solid var(--line); }
  .contact-paths { grid-template-columns: 1fr; }
}
