/* =========================================================
   Twilliams Transport Inc. — site styles
   Brand: navy #202A6E · deep navy #11143D · signal red #E8202A
          steel #8B8E97 · mist #F2F4F8
   ========================================================= */

:root {
  --navy: #202A6E;
  --navy-deep: #11143D;
  --navy-ink: #0B0D2B;
  --red: #E8202A;
  --red-dark: #C2141D;
  --steel: #8B8E97;
  --steel-light: #C9CBD2;
  --mist: #F2F4F8;
  --white: #FFFFFF;
  --text: #1A1D3A;
  --text-soft: #545871;

  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --wide: 118;           /* font-stretch for display type */

  --radius-xl: 32px;
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 10px;

  --gutter: clamp(16px, 3vw, 40px);
  --maxw: 1320px;
  --header-h: 92px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Display type ---------- */
.display, h1, h2, h3 {
  font-stretch: 112%;
  font-variation-settings: "wdth" var(--wide);
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: .98;
  margin: 0;
}
h1 { font-size: clamp(2.6rem, 6.4vw, 6rem); }
h2 { font-size: clamp(2.1rem, 4.6vw, 4.2rem); }
h3 { font-size: clamp(1.25rem, 1.8vw, 1.6rem); line-height: 1.1; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(1.05rem, 1.35vw, 1.22rem); color: var(--text-soft); max-width: 60ch; }

.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .95rem; font-weight: 600; color: var(--navy);
  margin-bottom: 18px;
}
.kicker::before { /* logo speed bars */
  content: ""; width: 28px; height: 12px; flex: none;
  background:
    linear-gradient(var(--red), var(--red)) 0 0 / 100% 3px no-repeat,
    linear-gradient(var(--red), var(--red)) 6px 4.5px / calc(100% - 6px) 3px no-repeat,
    linear-gradient(var(--red), var(--red)) 12px 9px / calc(100% - 12px) 3px no-repeat;
  transform: skewX(-24deg);
}
.on-dark .kicker, .kicker.light { color: var(--white); }

.outline-num {
  font-stretch: 112%; font-variation-settings: "wdth" var(--wide);
  font-weight: 800; line-height: .85;
  color: transparent; -webkit-text-stroke: 2px var(--red);
  font-variant-numeric: tabular-nums;
}

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--red); --fg: var(--white);
  display: inline-flex; align-items: center; gap: 14px;
  padding: 6px 6px 6px 24px; min-height: 56px;
  border-radius: 14px; border: 1.5px solid var(--bg);
  background: var(--bg); color: var(--fg);
  font-weight: 700; font-size: 1rem; text-decoration: none;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn .arrow {
  width: 44px; height: 44px; border-radius: 10px; flex: none;
  display: grid; place-items: center;
  background: rgba(255,255,255,.16);
  transition: transform .3s var(--ease);
}
.btn:hover .arrow { transform: rotate(45deg); }
.btn:hover { background: var(--red-dark); border-color: var(--red-dark); }
.btn-ghost { --bg: transparent; --fg: var(--white); border-color: rgba(255,255,255,.5); }
.btn-ghost .arrow { background: var(--red); }
.btn-ghost:hover { background: rgba(255,255,255,.08); border-color: var(--white); }
.btn-line { --bg: transparent; --fg: var(--navy); border-color: var(--navy); }
.btn-line .arrow { background: var(--navy); color: var(--white); }
.btn-line:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn-line:hover .arrow { background: var(--red); }
.btn-navy { --bg: var(--navy); }
.btn-navy:hover { background: var(--navy-deep); border-color: var(--navy-deep); }
.btn-plain { padding: 0 24px; }

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--navy-deep);
  display: grid; place-items: center;
  transition: opacity .6s var(--ease), visibility .6s;
}
.preloader img { width: min(300px, 64vw); animation: pre-drive 1.4s var(--ease) both; }
.preloader .road { width: min(300px, 64vw); height: 3px; margin-top: 22px; background: rgba(255,255,255,.12); border-radius: 3px; overflow: hidden; }
.preloader .road span { display: block; height: 100%; width: 40%; background: var(--red); animation: pre-road 1s linear infinite; }
.preloader.done { opacity: 0; visibility: hidden; }
@keyframes pre-drive { from { opacity: 0; transform: translateX(-40px); } to { opacity: 1; transform: none; } }
@keyframes pre-road { from { transform: translateX(-100%); } to { transform: translateX(260%); } }

/* ---------- Progress bar ---------- */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--red); z-index: 1001; }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy-deep); color: #D6D8E6; font-size: .86rem; }
.topbar .container { display: flex; justify-content: space-between; gap: 20px; align-items: center; min-height: 40px; }
.topbar a { text-decoration: none; }
.topbar a:hover { color: var(--white); }
.topbar-list { display: flex; gap: 26px; align-items: center; flex-wrap: wrap; }
.topbar-list span, .topbar-list a { display: inline-flex; gap: 8px; align-items: center; }
.topbar svg { width: 15px; height: 15px; color: var(--red); }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--steel); }
.status-dot.open { background: #2FCB6E; box-shadow: 0 0 0 0 rgba(47,203,110,.6); animation: pulse-dot 2s infinite; }
@keyframes pulse-dot { 70% { box-shadow: 0 0 0 7px rgba(47,203,110,0); } 100% { box-shadow: 0 0 0 0 rgba(47,203,110,0); } }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(1.4) blur(10px);
  transition: box-shadow .3s var(--ease);
}
.site-header.scrolled { box-shadow: 0 8px 30px rgba(17,20,61,.08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: var(--header-h); transition: height .3s var(--ease); }
.site-header.scrolled .header-inner { height: 76px; }
.brand img { height: 58px; width: auto; transition: height .3s var(--ease); }
.site-header.scrolled .brand img { height: 48px; }

.main-nav { background: var(--mist); border-radius: 18px; padding: 6px; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.main-nav a {
  position: relative; display: block; padding: 12px 20px; border-radius: 12px;
  text-decoration: none; font-weight: 600; color: var(--navy-deep);
  transition: background .2s, color .2s;
}
.main-nav a:hover { background: var(--white); }
.main-nav a.active { color: var(--red); }
.main-nav a.active::after { content: ""; position: absolute; left: 20px; right: 20px; bottom: 6px; height: 2px; background: var(--red); border-radius: 2px; }

.header-actions { display: flex; align-items: center; gap: 16px; }
.header-phone { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; color: var(--navy-deep); }
.header-phone .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--mist); display: grid; place-items: center; color: var(--red); }
.header-phone small { display: block; font-weight: 500; color: var(--steel); font-size: .75rem; line-height: 1; margin-bottom: 3px; }
.header-actions .btn { min-height: 52px; padding: 0 26px; }

.menu-toggle { display: none; width: 50px; height: 50px; border: 0; border-radius: 12px; background: var(--navy); color: var(--white); place-items: center; }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after { display: block; width: 22px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .3s var(--ease), background .2s; }
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -7px; } .menu-toggle span::after { top: 7px; }
.menu-open .menu-toggle span { background: transparent; }
.menu-open .menu-toggle span::before { transform: translateY(7px) rotate(45deg); }
.menu-open .menu-toggle span::after { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 999; background: var(--navy-deep); color: var(--white);
  padding: calc(var(--header-h) + 50px) var(--gutter) 40px;
  display: flex; flex-direction: column; gap: 30px;
  clip-path: circle(0% at calc(100% - 45px) 65px);
  transition: clip-path .6s var(--ease);
  overflow-y: auto;
}
.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 45px) 65px); }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu li a { display: block; padding: 10px 0; font-size: 2.2rem; font-weight: 800; text-transform: uppercase; font-stretch: 112%; font-variation-settings: "wdth" var(--wide); text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.1); }
.mobile-menu li a.active { color: var(--red); }
.mobile-menu .mm-contact a { display: block; color: #D6D8E6; text-decoration: none; margin-bottom: 6px; }

/* ---------- Hero (home) ---------- */
.hero-wrap { padding: 16px var(--gutter) 0; }
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: var(--radius-xl);
  min-height: min(860px, calc(100vh - 150px));
  max-width: 1880px; margin: 0 auto;
  background: var(--navy-deep) url("https://images.unsplash.com/photo-1592805144716-feeccccef5ac?auto=format&fit=crop&w=1800&q=70") center / cover;
  color: var(--white);
  display: flex; align-items: flex-end;
}
.hero-video { position: absolute; inset: 0; z-index: -2; pointer-events: none; overflow: hidden; }
.hero-video iframe {
  position: absolute; top: 50%; left: 50%;
  width: 100vw; height: 56.25vw; min-height: 100%; min-width: 177.78vh;
  transform: translate(-50%, -50%) scale(1.15);
  border: 0; opacity: 0; transition: opacity 1.2s ease;
}
.hero-video iframe.ready { opacity: 1; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg, rgba(11,13,43,.88) 0%, rgba(17,20,61,.62) 45%, rgba(17,20,61,.12) 80%),
    linear-gradient(0deg, rgba(11,13,43,.7) 0%, rgba(11,13,43,0) 40%);
}
.hero-content { padding: clamp(28px, 5vw, 70px); padding-bottom: clamp(40px, 6vw, 90px); max-width: 1080px; }
.hero h1 { margin-bottom: 26px; }
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .line > span { display: inline-block; transform: translateY(105%); animation: rise 1s var(--ease) forwards; }
.hero h1 .line:nth-child(2) > span { animation-delay: .12s; }
.hero h1 .line:nth-child(3) > span { animation-delay: .24s; }
.hero h1 .red { color: var(--red); }
.hero .lead { color: #D6D8E6; margin-bottom: 34px; opacity: 0; animation: fade-up .9s .45s var(--ease) forwards; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; opacity: 0; animation: fade-up .9s .6s var(--ease) forwards; }
@keyframes rise { to { transform: translateY(0); } }
@keyframes fade-up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

.hero-speed { position: absolute; right: 7%; top: 14%; width: clamp(140px, 22vw, 340px); z-index: -1; opacity: .9; }
.hero-speed i { display: block; height: clamp(8px, 1.1vw, 16px); margin-bottom: clamp(8px, 1vw, 14px); background: var(--red); transform: skewX(-28deg); transform-origin: right; animation: bar-in 1s var(--ease) both; border-radius: 2px; }
.hero-speed i:nth-child(1) { width: 100%; animation-delay: .5s; }
.hero-speed i:nth-child(2) { width: 78%; margin-left: 22%; animation-delay: .62s; }
.hero-speed i:nth-child(3) { width: 56%; margin-left: 44%; animation-delay: .74s; }
@keyframes bar-in { from { transform: skewX(-28deg) scaleX(0); } to { transform: skewX(-28deg) scaleX(1); } }

.hero-badges { position: absolute; right: 24px; bottom: 24px; display: flex; gap: 12px; align-items: stretch; }
.watch-btn {
  display: flex; align-items: center; gap: 16px; padding: 22px 30px;
  background: rgba(11,13,43,.82); backdrop-filter: blur(8px); border: 0; border-radius: 20px; color: var(--white); font-weight: 600;
}
.watch-btn .play { width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--white); display: grid; place-items: center; position: relative; }
.watch-btn .play::after { content: ""; position: absolute; inset: -2px; border-radius: 50%; border: 2px solid var(--red); animation: ring 2s infinite; }
@keyframes ring { from { transform: scale(1); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
.gov-chip { padding: 16px 22px; border-radius: 20px; background: rgba(255,255,255,.1); backdrop-filter: blur(8px); font-size: .82rem; line-height: 1.5; color: #D6D8E6; }
.gov-chip strong { color: var(--white); font-weight: 700; letter-spacing: .02em; }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; padding: clamp(40px, 6vw, 80px) 0; user-select: none; }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: flex; align-items: center; gap: 36px; padding-right: 36px; white-space: nowrap;
  font-size: clamp(3rem, 8vw, 7.4rem); font-weight: 800; text-transform: uppercase; line-height: 1;
  font-stretch: 112%; font-variation-settings: "wdth" var(--wide); color: var(--navy); }
.marquee-item .o { color: transparent; -webkit-text-stroke: 2px var(--red); }
.marquee-item .sep { width: .7em; height: .38em; flex: none; position: relative; }
.marquee-item .sep::before { content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(var(--red), var(--red)) 0 0 / 100% 22% no-repeat,
    linear-gradient(var(--red), var(--red)) 25% 50% / 75% 22% no-repeat,
    linear-gradient(var(--red), var(--red)) 50% 100% / 50% 22% no-repeat;
  transform: skewX(-26deg); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(70px, 9vw, 130px) 0; }
.section-tight { padding: clamp(50px, 6vw, 80px) 0; }
.block-dark {
  background: var(--navy-deep); color: var(--white);
  border-radius: var(--radius-xl); margin: 0 var(--gutter);
  max-width: 1880px; margin-inline: auto;
}
.block-wrap { padding: 0 16px; }
.on-dark .lead, .block-dark .lead { color: #BFC2D6; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: clamp(36px, 5vw, 64px); flex-wrap: wrap; }
.section-head h2 { max-width: 16ch; }
.center { text-align: center; }
.center h2 { margin-inline: auto; }

/* ---------- Stats / about intro ---------- */
.big-stat { display: flex; align-items: center; gap: 26px; padding-bottom: clamp(30px, 4vw, 50px); border-bottom: 1px solid rgba(255,255,255,.14); margin-bottom: clamp(40px, 5vw, 70px); }
.big-stat .outline-num { font-size: clamp(6rem, 20vw, 17rem); }
.big-stat .vlabel { writing-mode: vertical-rl; transform: rotate(180deg); font-weight: 600; font-size: 1.05rem; line-height: 1.3; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: start; }
.split p strong { color: var(--white); font-weight: 700; }
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: clamp(40px, 6vw, 80px); background: rgba(255,255,255,.12); border-radius: var(--radius-lg); overflow: hidden; }
.stat { background: var(--navy-deep); padding: 30px 26px; }
.stat .num { font-size: clamp(2.4rem, 4vw, 3.6rem); font-weight: 800; font-stretch: 112%; font-variation-settings: "wdth" var(--wide); line-height: 1; color: var(--white); }
.stat .num em { font-style: normal; color: var(--red); }
.stat p { margin: 10px 0 0; color: #BFC2D6; font-size: .95rem; }

/* ---------- Features / accordion ---------- */
.features { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.feature-media { position: relative; }
.feature-media .main-img { border-radius: var(--radius-xl); aspect-ratio: 4/4.4; object-fit: cover; width: 100%; }
.feature-media .float-card {
  position: absolute; right: -20px; bottom: 34px; background: var(--white); border-radius: var(--radius-lg);
  padding: 22px 26px; box-shadow: 0 24px 60px rgba(17,20,61,.18); display: flex; gap: 16px; align-items: center; max-width: 290px;
  animation: bob 5s ease-in-out infinite;
}
.float-card .ico { width: 52px; height: 52px; border-radius: 14px; background: var(--red); color: var(--white); display: grid; place-items: center; flex: none; }
.float-card strong { display: block; font-size: 1.05rem; line-height: 1.2; color: var(--navy-deep); }
.float-card span { font-size: .88rem; color: var(--text-soft); }
@keyframes bob { 50% { transform: translateY(-12px); } }

.accordion { border-top: 1px solid var(--steel-light); }
.acc-item { border-bottom: 1px solid var(--steel-light); }
.acc-btn { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; background: none; border: 0; text-align: left; font-size: 1.2rem; font-weight: 700; color: var(--navy-deep); }
.acc-btn .chev { width: 34px; height: 34px; flex: none; display: grid; place-items: center; border-radius: 10px; transition: transform .35s var(--ease), background .25s, color .25s; color: var(--navy); }
.acc-item.open .acc-btn .chev { transform: rotate(-90deg); background: var(--red); color: var(--white); }
.acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
.acc-panel > div { overflow: hidden; }
.acc-panel p { color: var(--text-soft); padding-right: 50px; margin: 0 0 22px; }
.acc-item.open .acc-panel { grid-template-rows: 1fr; }
.on-dark .accordion, .on-dark .acc-item { border-color: rgba(255,255,255,.14); }
.on-dark .acc-btn { color: var(--white); }
.on-dark .acc-btn .chev { color: var(--white); }
.on-dark .acc-panel p { color: #BFC2D6; }

/* ---------- Services slider ---------- */
.slider-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; margin-bottom: 50px; }
.slider-meta { display: flex; align-items: center; gap: 24px; }
.slider-count { white-space: nowrap; font-weight: 700; font-variant-numeric: tabular-nums; }
.slider-bars { display: flex; gap: 8px; }
.slider-bars i { width: 36px; height: 3px; background: rgba(255,255,255,.3); border-radius: 2px; transition: background .3s; }
.slider-bars i.on { background: var(--red); }
.slider-nav { display: flex; gap: 10px; }
.slider-nav button { width: 54px; height: 54px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.35); background: transparent; color: var(--white); display: grid; place-items: center; transition: background .2s, border-color .2s; }
.slider-nav button:hover { background: var(--red); border-color: var(--red); }
.slider { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 0 var(--gutter) 10px; cursor: grab; scroll-padding-left: var(--gutter); }
.slider::-webkit-scrollbar { display: none; }
.slider.dragging { cursor: grabbing; scroll-snap-type: none; }
.slide {
  position: relative; flex: 0 0 clamp(270px, 30vw, 400px); aspect-ratio: 3/4; scroll-snap-align: start;
  border-radius: var(--radius-lg); overflow: hidden; color: var(--white); text-decoration: none; isolation: isolate;
}
.slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); pointer-events: none; }
.slide::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11,13,43,0) 35%, rgba(11,13,43,.92) 100%); transition: background .4s; }
.slide:hover img { transform: scale(1.06); }
.slide:hover::before { background: linear-gradient(180deg, rgba(232,32,42,0) 25%, rgba(194,20,29,.92) 100%); }
.slide-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px; }
.slide h3 { margin-bottom: 10px; }
.slide p { margin: 0; color: rgba(255,255,255,.85); font-size: .95rem; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .5s var(--ease), opacity .4s; }
.slide:hover p, .slide:focus-visible p { max-height: 140px; opacity: 1; }
.slide .tag { position: absolute; top: 22px; left: 22px; padding: 6px 14px; border-radius: 30px; background: rgba(255,255,255,.16); backdrop-filter: blur(6px); font-size: .8rem; font-weight: 600; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; padding: 34px 28px 30px; background: var(--mist); border-radius: var(--radius-lg); overflow: hidden; transition: background .35s var(--ease), color .35s; }
.step:hover { background: var(--navy); color: var(--white); }
.step:hover p { color: #C9CCDE; }
.step .n { font-size: 4.2rem; display: block; margin-bottom: 26px; }
.step h3 { margin-bottom: 12px; font-size: 1.25rem; }
.step p { color: var(--text-soft); margin: 0; font-size: .97rem; transition: color .35s; }
.step::after { content: ""; position: absolute; right: -30px; top: 30px; width: 110px; height: 14px; background: var(--red); transform: skewX(-28deg); opacity: .14; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; gap: 16px; grid-auto-flow: dense; }
.gallery a { position: relative; border-radius: var(--radius-md); overflow: hidden; display: block; }
.gallery a:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery a:nth-child(6) { grid-column: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease), filter .5s; }
.gallery a::after { content: "+"; position: absolute; inset: 0; display: grid; place-items: center; font-size: 2.6rem; font-weight: 300; color: var(--white); background: rgba(32,42,110,.55); opacity: 0; transition: opacity .35s; }
.gallery a:hover img { transform: scale(1.08); }
.gallery a:hover::after { opacity: 1; }

.lightbox { position: fixed; inset: 0; z-index: 2000; background: rgba(11,13,43,.94); display: none; align-items: center; justify-content: center; padding: 30px; }
.lightbox.open { display: flex; animation: fade-in .3s; }
.lightbox img { max-height: 84vh; max-width: min(1200px, 92vw); border-radius: var(--radius-md); }
.lightbox button { position: absolute; width: 54px; height: 54px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: var(--white); display: grid; place-items: center; }
.lightbox button:hover { background: var(--red); }
.lb-close { top: 24px; right: 24px; } .lb-prev { left: 24px; } .lb-next { right: 24px; }
@keyframes fade-in { from { opacity: 0; } }

/* ---------- Gov band ---------- */
.gov-band { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; background: var(--mist); border-radius: var(--radius-xl); padding: clamp(30px, 5vw, 64px); position: relative; overflow: hidden; }
.gov-band::after { content: ""; position: absolute; right: -60px; bottom: -40px; width: 340px; height: 200px; opacity: .07;
  background:
    linear-gradient(var(--navy), var(--navy)) 0 0 / 100% 22% no-repeat,
    linear-gradient(var(--navy), var(--navy)) 30% 50% / 70% 22% no-repeat,
    linear-gradient(var(--navy), var(--navy)) 60% 100% / 40% 22% no-repeat;
  transform: skewX(-28deg); }
.gov-ids { display: grid; gap: 14px; position: relative; z-index: 1; }
.gov-id { display: flex; justify-content: space-between; align-items: center; gap: 16px; background: var(--white); border-radius: var(--radius-md); padding: 18px 22px; }
.gov-id small { display: block; color: var(--steel); font-weight: 600; font-size: .8rem; }
.gov-id strong { font-size: 1.35rem; letter-spacing: .06em; color: var(--navy-deep); font-variant-numeric: tabular-nums; }
.copy-btn { border: 1.5px solid var(--steel-light); background: transparent; border-radius: 10px; padding: 8px 14px; font-size: .85rem; font-weight: 600; color: var(--navy); transition: all .2s; }
.copy-btn:hover { border-color: var(--navy); }
.copy-btn.copied { background: var(--navy); color: var(--white); border-color: var(--navy); }

/* ---------- Quote section ---------- */
.quote-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 5vw, 70px); align-items: start; }
.call-card { margin-top: 40px; background: var(--red); border-radius: var(--radius-lg); padding: 34px; color: var(--white); position: relative; overflow: hidden; }
.call-card h3 { font-size: 1.5rem; margin-bottom: 14px; }
.call-card small { display: block; opacity: .85; }
.call-card a { font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 800; text-decoration: none; font-stretch: 112%; font-variation-settings: "wdth" var(--wide); }
.call-card .truck-ghost { position: absolute; right: -30px; bottom: -20px; width: 180px; opacity: .14; }

.form-card { background: var(--white); color: var(--text); border-radius: var(--radius-xl); padding: clamp(26px, 4vw, 48px); }
.form-card h3 { color: var(--navy-deep); margin-bottom: 8px; }
.form-card > p { color: var(--text-soft); }
.form-steps { display: flex; gap: 8px; margin: 22px 0 28px; }
.form-steps li { list-style: none; flex: 1; }
.form-steps { padding: 0; }
.form-steps .bar { height: 4px; border-radius: 4px; background: var(--mist); position: relative; overflow: hidden; }
.form-steps .bar::after { content: ""; position: absolute; inset: 0; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.form-steps li.done .bar::after, .form-steps li.current .bar::after { transform: scaleX(1); }
.form-steps span { display: block; font-size: .82rem; font-weight: 600; color: var(--steel); margin-top: 8px; }
.form-steps li.current span, .form-steps li.done span { color: var(--navy-deep); }

.fieldset { border: 0; padding: 0; margin: 0; display: none; }
.fieldset.active { display: block; animation: fade-up .45s var(--ease); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .88rem; font-weight: 600; color: var(--navy-deep); }
.field label .req { color: var(--red); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; width: 100%; padding: 14px 16px; border-radius: 12px;
  border: 1.5px solid #DCDEE6; background: #FBFBFD; color: var(--text);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); background: var(--white); box-shadow: 0 0 0 4px rgba(32,42,110,.12); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--red); }
.field .err { font-size: .82rem; color: var(--red); display: none; }
.field.invalid .err { display: block; }
.choice-row { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span { display: inline-block; padding: 11px 18px; border-radius: 12px; border: 1.5px solid #DCDEE6; font-weight: 600; font-size: .95rem; cursor: pointer; transition: all .2s; }
.choice input:checked + span { background: var(--navy); border-color: var(--navy); color: var(--white); }
.choice input:focus-visible + span { outline: 3px solid var(--red); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; }
.form-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.form-actions .btn { min-height: 52px; }
.form-note { font-size: .82rem; color: var(--steel); margin-top: 16px; }
.form-status { display: none; margin-top: 18px; padding: 16px 18px; border-radius: 12px; font-weight: 600; }
.form-status.ok { display: block; background: #E7F7EE; color: #12663A; }
.form-status.bad { display: block; background: #FDECEC; color: #A3141B; }
.form-success { text-align: center; padding: 30px 10px; display: none; }
.form-success.show { display: block; animation: fade-up .5s var(--ease); }
.form-success .check { width: 84px; height: 84px; border-radius: 50%; background: var(--red); color: var(--white); display: grid; place-items: center; margin: 0 auto 22px; }
.form-success .check svg { stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .6s .2s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.btn[disabled] { opacity: .65; pointer-events: none; }
.spinner { width: 18px; height: 18px; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(30px, 6vw, 90px); }

/* ---------- CTA band ---------- */
.cta-band .container { display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; padding-top: clamp(60px, 8vw, 110px); padding-bottom: clamp(50px, 6vw, 80px); }
.cta-band h2 { font-size: clamp(2.4rem, 6vw, 5.4rem); }
.cta-band h2 .red { color: var(--red); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--radius-xl); color: var(--white); min-height: 440px; display: flex; align-items: flex-end; max-width: 1880px; margin: 0 auto; background: var(--navy-deep); }
.page-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transform: scale(1.08); animation: slow-zoom 12s ease-out forwards; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(11,13,43,.9), rgba(11,13,43,.4)); }
.page-hero .inner { padding: clamp(28px, 5vw, 70px); width: 100%; }
.page-hero h1 { font-size: clamp(2.6rem, 7vw, 6.4rem); animation: fade-up .9s var(--ease) both; }
.crumbs { display: flex; gap: 10px; font-size: .92rem; color: #BFC2D6; margin-bottom: 18px; }
.crumbs a { text-decoration: none; } .crumbs a:hover { color: var(--white); }
.crumbs .sep { color: var(--red); }
@keyframes slow-zoom { to { transform: scale(1); } }

/* ---------- About page ---------- */
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.mv-card { border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 46px); background: var(--mist); position: relative; overflow: hidden; }
.mv-card.dark { background: var(--navy); color: var(--white); }
.mv-card.dark p { color: #C9CCDE; }
.mv-card h3 { margin-bottom: 16px; }
.mv-card .ico { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; background: var(--red); color: var(--white); margin-bottom: 26px; }
.mv-card p { color: var(--text-soft); margin: 0; }
.values { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.value { border: 1.5px solid var(--steel-light); border-radius: var(--radius-lg); padding: 28px 22px; transition: border-color .3s, transform .3s var(--ease); }
.value:hover { border-color: var(--red); transform: translateY(-6px); }
.value .ico { color: var(--red); margin-bottom: 22px; }
.value h3 { font-size: 1.05rem; margin-bottom: 10px; }
.value p { font-size: .92rem; color: var(--text-soft); margin: 0; }
.img-stack { position: relative; padding-bottom: 60px; }
.img-stack img:first-child { border-radius: var(--radius-xl); width: 82%; aspect-ratio: 4/5; object-fit: cover; }
.img-stack img:last-child { position: absolute; right: 0; bottom: 0; width: 52%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-lg); border: 8px solid var(--white); }
.year-badge { position: absolute; left: 50%; top: 40px; background: var(--red); color: var(--white); border-radius: 50%; width: 130px; height: 130px; display: grid; place-items: center; text-align: center; font-weight: 700; line-height: 1.1; animation: spin-slow 22s linear infinite; }
.year-badge b { font-size: 1.9rem; display: block; font-stretch: 112%; font-variation-settings: "wdth" var(--wide); }
@keyframes spin-slow { to { transform: rotate(360deg); } }
.check-list { list-style: none; padding: 0; margin: 26px 0 34px; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; }
.check-list svg { flex: none; color: var(--red); margin-top: 3px; }

/* ---------- Services page ---------- */
.svc-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: center; padding: clamp(40px, 5vw, 70px) 0; border-bottom: 1px solid var(--steel-light); }
.svc-row:last-child { border-bottom: 0; }
.svc-row:nth-child(even) .svc-media { order: 2; }
.svc-media { position: relative; border-radius: var(--radius-xl); overflow: hidden; aspect-ratio: 5/4; }
.svc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.svc-row:hover .svc-media img { transform: scale(1.05); }
.svc-media .num { position: absolute; left: 22px; bottom: 10px; font-size: 6rem; -webkit-text-stroke: 2px var(--white); }
.svc-text h2 { font-size: clamp(2rem, 3.6vw, 3.2rem); margin-bottom: 20px; }
.pill-list { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 30px; padding: 0; list-style: none; }
.pill-list li { padding: 9px 16px; border-radius: 30px; background: var(--mist); font-weight: 600; font-size: .9rem; color: var(--navy-deep); }
.equip-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.equip { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-lg); padding: 30px; transition: background .3s, border-color .3s; }
.equip:hover { background: rgba(232,32,42,.12); border-color: var(--red); }
.equip .ico { color: var(--red); margin-bottom: 20px; }
.equip h3 { font-size: 1.2rem; margin-bottom: 10px; }
.equip p { color: #BFC2D6; margin: 0; font-size: .96rem; }

/* ---------- Contact page ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.c-card { background: var(--mist); border-radius: var(--radius-lg); padding: 28px; text-decoration: none; transition: background .3s, color .3s, transform .3s var(--ease); display: block; }
a.c-card:hover { background: var(--navy); color: var(--white); transform: translateY(-6px); }
a.c-card:hover small { color: #BFC2D6; }
.c-card .ico { width: 52px; height: 52px; border-radius: 14px; background: var(--red); color: var(--white); display: grid; place-items: center; margin-bottom: 22px; }
.c-card small { display: block; color: var(--steel); font-weight: 600; margin-bottom: 4px; }
.c-card strong { font-size: 1.05rem; line-height: 1.35; display: block; word-break: break-word; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.map-wrap { border-radius: var(--radius-xl); overflow: hidden; min-height: 460px; background: var(--mist); }
.map-wrap iframe { width: 100%; height: 100%; min-height: 460px; border: 0; filter: grayscale(.3); }
.contact-grid .form-card { background: var(--mist); }
.contact-grid .form-card .field input, .contact-grid .form-card .field textarea { background: var(--white); }
.hours-list { list-style: none; padding: 0; margin: 0; }
.hours-list li { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--steel-light); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: #BFC2D6; border-radius: var(--radius-xl) var(--radius-xl) 0 0; margin-top: 16px; overflow: hidden; }
.footer-cta { border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-cta h2 { color: var(--white); }
.footer-main { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding: clamp(50px, 6vw, 80px) 0 40px; }
.footer-main h4 { color: var(--white); font-size: 1.15rem; margin: 0 0 20px; font-weight: 700; }
.footer-main ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-main a { text-decoration: none; transition: color .2s; }
.footer-main a:hover { color: var(--white); }
.footer-brand img { height: 64px; width: auto; margin-bottom: 22px; }
.footer-brand p { max-width: 36ch; }
.footer-ids { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.footer-ids span { padding: 8px 12px; border-radius: 10px; background: rgba(255,255,255,.07); font-size: .82rem; }
.footer-ids b { color: var(--white); }
.since { font-size: min(14vw, 14rem); line-height: .8; margin: 10px 0 18px; -webkit-text-stroke: 1.5px rgba(232,32,42,.75); white-space: nowrap; text-transform: lowercase; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.12); font-size: .88rem; }
.footer-bottom a { text-decoration: none; } .footer-bottom a:hover { color: var(--white); }
.webmail-link { display: inline-flex; align-items: center; gap: 8px; }

/* ---------- Floating actions ---------- */
.fab-stack { position: fixed; right: 22px; bottom: 22px; z-index: 900; display: flex; flex-direction: column; gap: 12px; align-items: flex-end; opacity: 0; visibility: hidden; transform: translateY(20px); transition: opacity .35s, visibility .35s, transform .35s var(--ease); }
.fab-stack.show { opacity: 1; visibility: visible; transform: none; }
.fab { position: relative; width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; border: 0; text-decoration: none; color: var(--white); box-shadow: 0 12px 30px rgba(17,20,61,.25); transition: transform .25s var(--ease), background .2s; }
.fab:hover { transform: translateY(-3px); }
.fab-call { background: var(--red); }
.fab-call::before { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid var(--red); animation: ring 2s infinite; }
.fab-mail { background: var(--navy); }
.fab-top { background: var(--white); color: var(--navy); opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity .3s, visibility .3s, transform .3s var(--ease); }
.fab-top.show { opacity: 1; visibility: visible; transform: none; }
.fab-top svg.ring { position: absolute; inset: 3px; width: calc(100% - 6px); height: calc(100% - 6px); transform: rotate(-90deg); }
.fab-top svg.ring circle { fill: none; stroke: var(--red); stroke-width: 3; stroke-linecap: round; }
.fab .tip { position: absolute; right: calc(100% + 12px); top: 50%; transform: translateY(-50%) translateX(6px); background: var(--navy-deep); color: var(--white); padding: 8px 14px; border-radius: 10px; font-size: .85rem; font-weight: 600; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
.fab:hover .tip, .fab:focus-visible .tip { opacity: 1; transform: translateY(-50%); }
.quote-float { position: fixed; left: 22px; bottom: 22px; z-index: 900; display: flex; align-items: center; gap: 12px; padding: 10px 20px 10px 10px; background: var(--navy-deep); color: var(--white); border-radius: 18px; text-decoration: none; font-weight: 700; box-shadow: 0 12px 30px rgba(17,20,61,.3); transform: translateY(130%); transition: transform .45s var(--ease); }
.quote-float.show { transform: none; }
.quote-float .ico { width: 40px; height: 40px; border-radius: 12px; background: var(--red); display: grid; place-items: center; }
.mobile-bar { display: none; }

/* ---------- Video modal ---------- */
.modal { position: fixed; inset: 0; z-index: 2000; background: rgba(11,13,43,.92); display: none; align-items: center; justify-content: center; padding: 20px; }
.modal.open { display: flex; animation: fade-in .3s; }
.modal-inner { width: min(1100px, 100%); aspect-ratio: 16/9; border-radius: var(--radius-lg); overflow: hidden; background: #000; }
.modal-inner iframe { width: 100%; height: 100%; border: 0; }
.modal-close { position: absolute; top: 20px; right: 20px; width: 54px; height: 54px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: var(--white); display: grid; place-items: center; }
.modal-close:hover { background: var(--red); }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: 30px; transform: translate(-50%, 30px); background: var(--navy-deep); color: var(--white); padding: 14px 22px; border-radius: 12px; font-weight: 600; z-index: 3000; opacity: 0; transition: opacity .3s, transform .3s var(--ease); pointer-events: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal-img { opacity: 0; transform: scale(.94); transition: opacity 1s var(--ease), transform 1.2s var(--ease); }
.reveal-img.in { opacity: 1; transform: none; }
.d1 { transition-delay: .1s; } .d2 { transition-delay: .2s; } .d3 { transition-delay: .3s; } .d4 { transition-delay: .4s; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .main-nav a { padding: 12px 14px; }
  .header-phone div { display: none; }
  .values { grid-template-columns: repeat(3, 1fr); }
  .footer-main { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 980px) {
  :root { --header-h: 76px; }
  .main-nav, .header-actions .btn, .header-phone { display: none; }
  .menu-toggle { display: grid; }
  .brand img { height: 48px; }
  .topbar .hide-sm { display: none; }
  .split, .features, .quote-grid, .faq-grid, .gov-band, .svc-row, .contact-grid, .mv-grid { grid-template-columns: 1fr; }
  .svc-row:nth-child(even) .svc-media { order: 0; }
  .steps { grid-template-columns: 1fr 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .contact-cards { grid-template-columns: 1fr 1fr; }
  .equip-grid { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .gallery a:nth-child(6) { grid-column: span 2; }
  .feature-media .float-card { right: 12px; }
  .hero-badges { position: static; padding: 0 clamp(28px, 5vw, 70px) 28px; flex-wrap: wrap; }
  .hero { flex-direction: column; justify-content: flex-end; align-items: stretch; }
  .hero-speed { right: 6%; top: 8%; }
  .quote-float { display: none; }
  .fab-stack { bottom: 86px; right: 14px; }
  .fab-call, .fab-mail { display: none; }
  .mobile-bar { display: grid; grid-template-columns: 1fr 1fr 1fr; position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 900; background: var(--navy-deep); border-radius: 18px; padding: 6px; gap: 6px; box-shadow: 0 12px 30px rgba(17,20,61,.35); }
  .mobile-bar a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 4px; border-radius: 12px; color: var(--white); text-decoration: none; font-size: .78rem; font-weight: 600; }
  .mobile-bar a.primary { background: var(--red); }
  body { padding-bottom: 84px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .grid-2 { grid-template-columns: 1fr; }
  .steps, .stats-row, .contact-cards, .equip-grid, .values { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; }
  .gallery { grid-auto-rows: 140px; gap: 10px; }
  .gallery a:nth-child(1) { grid-column: span 2; }
  .big-stat { gap: 14px; }
  .hero { min-height: 640px; }
  .hero-speed { display: none; }
  .watch-btn { padding: 14px 18px; }
  .gov-chip { width: 100%; }
  .topbar .container { justify-content: center; }
  .topbar-list { gap: 16px; justify-content: center; }
  .feature-media .float-card { position: relative; right: auto; bottom: auto; margin: -50px 16px 0; max-width: none; }
  .img-stack img:first-child { width: 100%; }
  .year-badge { left: auto; right: 10px; top: 10px; width: 104px; height: 104px; }
  .year-badge b { font-size: 1.5rem; }
  .btn { width: 100%; justify-content: space-between; }
  .hero-cta .btn { width: 100%; }
  .gov-id { flex-wrap: wrap; }
  .lb-prev, .lb-next { top: auto; bottom: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .reveal-img { opacity: 1; transform: none; }
  .hero h1 .line > span { transform: none; }
  .marquee-track { animation: none; }
}

/* =========================================================
   Color pass — brighter brand palette
   royal #2C3FC4 · sky tint #EAEEFF · blush tint #FDECEC
   ========================================================= */
:root { --royal: #2C3FC4; --royal-dark: #1F2E9C; --sky: #EAEEFF; --blush: #FDECEC; }

.topbar-ids { color: var(--white); font-weight: 500; }
.topbar-ids b { color: #FF6B71; font-weight: 700; }

.section.tint { background: var(--sky); }
.kicker { background: rgba(32,42,110,.07); padding: 6px 14px 6px 12px; border-radius: 30px; }
.on-dark .kicker, .kicker.light { background: rgba(255,255,255,.1); }

/* Red marquee band */
.marquee-red { background: var(--red); margin: 16px 16px 0; border-radius: var(--radius-xl); padding: clamp(28px, 4vw, 48px) 0; }
.marquee-red .marquee-item { color: var(--white); }
.marquee-red .marquee-item .o { -webkit-text-stroke: 2px var(--white); }
.marquee-red .marquee-item .sep::before {
  background:
    linear-gradient(var(--navy-deep), var(--navy-deep)) 0 0 / 100% 22% no-repeat,
    linear-gradient(var(--navy-deep), var(--navy-deep)) 25% 50% / 75% 22% no-repeat,
    linear-gradient(var(--navy-deep), var(--navy-deep)) 50% 100% / 50% 22% no-repeat; }
.marquee-red + .block-wrap { margin-top: 16px; }

/* Colored stat tiles */
.stats-row { gap: 12px; background: none; border-radius: 0; overflow: visible; }
.stat { border-radius: var(--radius-lg); }
.stat:nth-child(1) { background: var(--red); }
.stat:nth-child(2) { background: var(--royal); }
.stat:nth-child(3) { background: #2A357F; }
.stat:nth-child(4) { background: var(--white); }
.stat:nth-child(4) .num { color: var(--navy-deep); }
.stat:nth-child(1) p, .stat:nth-child(2) p, .stat:nth-child(3) p { color: rgba(255,255,255,.85); }
.stat:nth-child(4) p { color: var(--text-soft); }
.stat:nth-child(1) .num em { color: var(--navy-deep); }

/* Colored process steps */
.step:nth-child(1) { background: var(--red); color: var(--white); }
.step:nth-child(2) { background: var(--royal); color: var(--white); }
.step:nth-child(3) { background: var(--navy); color: var(--white); }
.step:nth-child(4) { background: var(--white); }
.step:nth-child(-n+3) p { color: rgba(255,255,255,.85); }
.step:nth-child(-n+3) .n { -webkit-text-stroke-color: var(--white); }
.step:nth-child(-n+3)::after { background: var(--white); opacity: .18; }
.step:hover { transform: translateY(-6px); background: var(--navy-deep); color: var(--white); }
.step { transition: transform .35s var(--ease), background .35s var(--ease), color .35s; }

/* Credentials band */
.gov-band { background: linear-gradient(125deg, var(--royal) 0%, var(--navy) 55%, var(--navy-deep) 100%); color: var(--white); }
.gov-band .lead { color: #D3D8F5; }
.gov-band::after { opacity: .12;
  background:
    linear-gradient(var(--red), var(--red)) 0 0 / 100% 22% no-repeat,
    linear-gradient(var(--red), var(--red)) 30% 50% / 70% 22% no-repeat,
    linear-gradient(var(--red), var(--red)) 60% 100% / 40% 22% no-repeat; }
.gov-ids { grid-template-columns: 1fr 1fr; }
.gov-id { flex-direction: column; align-items: flex-start; border-top: 4px solid var(--red); }
.gov-id.uei, .gov-id.cage { border-top-color: var(--royal); }
.gov-id strong { font-size: 1.25rem; }
.gov-links { grid-column: 1 / -1; display: flex; gap: 12px; flex-wrap: wrap; }
.btn-white { --bg: var(--white); --fg: var(--navy-deep); }
.btn-white .arrow { background: var(--red); color: var(--white); }
.btn-white:hover { background: var(--sky); border-color: var(--sky); }
.seals { display: flex; gap: 18px; flex-wrap: wrap; position: relative; z-index: 1; }
.seals a, .seal-wrap { display: block; width: 136px; height: 136px; border-radius: 50%; transition: transform .4s var(--ease); }
.seals a:hover { transform: rotate(-8deg) scale(1.06); }
.seal { width: 100%; height: 100%; filter: drop-shadow(0 10px 24px rgba(0,0,0,.3)); }

/* Values, cards, contact tints */
.value { border: 0; background: var(--sky); }
.value:nth-child(even) { background: var(--blush); }
.value .ico { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; background: var(--royal); color: var(--white); }
.value:nth-child(even) .ico { background: var(--red); }
.value:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(32,42,110,.14); }
.mv-card:not(.dark) { background: var(--red); color: var(--white); }
.mv-card:not(.dark) p { color: rgba(255,255,255,.88); }
.mv-card:not(.dark) .ico { background: var(--white); color: var(--red); }
.c-card:nth-child(odd) { background: var(--sky); }
.c-card:nth-child(even) { background: var(--blush); }
.c-card:nth-child(odd) .ico { background: var(--royal); }
.equip:nth-child(3n+2) .ico { color: #7E8BFF; }
.equip:nth-child(3n) .ico { color: var(--white); }
.pill-list li:nth-child(odd) { background: var(--sky); }
.pill-list li:nth-child(even) { background: var(--blush); color: var(--red-dark); }
.float-card .ico { background: linear-gradient(135deg, var(--red), var(--royal)); }

/* Page heroes get a brand-colored wash */
.page-hero::before { background: linear-gradient(100deg, rgba(17,20,61,.92) 0%, rgba(44,63,196,.62) 55%, rgba(232,32,42,.35) 100%); }
.hero::before {
  background:
    linear-gradient(100deg, rgba(11,13,43,.9) 0%, rgba(32,42,110,.6) 45%, rgba(44,63,196,.15) 80%),
    linear-gradient(0deg, rgba(11,13,43,.7) 0%, rgba(11,13,43,0) 40%);
}
.slide:nth-child(even):hover::before { background: linear-gradient(180deg, rgba(44,63,196,0) 25%, rgba(31,46,156,.94) 100%); }

@media (max-width: 980px) {
  .topbar-ids { display: none; }
  .marquee-red { margin: 12px 10px 0; }
}
@media (max-width: 640px) {
  .gov-ids { grid-template-columns: 1fr; }
  .seals a, .seal-wrap { width: 92px; height: 92px; }
}
