/* ==========================================================================
   MTech Engineering — components.css
   Shared, page-independent building blocks:
   header · navigation · mobile menu · footer · CTA band · floating actions
   page hero · stats · marquee · timeline · trust banner
   ========================================================================== *//* ================================ HEADER ================================= */
/* Header markup is injected by assets/js/components.js into <div id="site-header">.
   The mount point is the sticky element, so the bar stays pinned while the
   page scrolls (a sticky child would be trapped inside a same-height parent). */

#site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
}

/* --------------------------------------------- no-JavaScript navigation bar */
/* Every page carries a <noscript> bar inside the header mount. A browser with
   scripting on ignores the element entirely and components.js replaces the
   mount's contents; with scripting off this bar is the only navigation a
   visitor gets, so it has to stand on its own: a solid background (it sits in
   a sticky, otherwise transparent container) and full-size tap targets. */
.nojs-bar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--sh-sm);
}

.nojs-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-2) var(--sp-5);
  min-height: var(--header-h);
  padding-block: var(--sp-3);
}

.nojs-logo {
  display: inline-flex;
  align-items: center;
}

.nojs-logo img {
  display: block;
  width: auto;
  height: 32px;
}

.nojs-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0 var(--sp-4);
}

.nojs-nav a {
  display: inline-block;
  padding-block: var(--sp-2);
  border-bottom: 2px solid transparent;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
}

.nojs-nav a:hover { color: var(--blue-strong); }

.nojs-nav a[aria-current="page"] {
  color: var(--navy-900);
  border-bottom-color: var(--blue);
}

.nojs-call {
  font-weight: 700;
  color: var(--navy-900);
  text-decoration: none;
  white-space: nowrap;
}

@media (max-width: 820px) {
  .nojs-inner { justify-content: flex-start; }
  .nojs-nav { order: 3; width: 100%; }
  .nojs-call { margin-left: auto; }
}

.site-header {
  background: transparent;
  border-bottom: 1px solid transparent;
  transition:
    background-color var(--t-base) var(--ease),
    box-shadow var(--t-base) var(--ease),
    border-color var(--t-base) var(--ease);
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, .88);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  backdrop-filter: blur(14px) saturate(160%);
  border-bottom-color: var(--border);
  box-shadow: 0 6px 26px -14px rgba(11, 31, 58, .28);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  min-height: var(--header-h);
}

/* ------------------------------------------------------------- logo block */
.logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  border-radius: var(--r-sm);
  padding: 4px;
  margin: -4px;
}

/* The supplied lockup is 6:1, so height alone sets the width. 40px puts the
   wordmark at the same optical size as the old text logo and keeps the header
   footprint unchanged. */
.logo-img {
  display: block;
  width: auto;
  height: 40px;
}

.footer-brand .logo-img { height: 44px; }

/* ----------------------------------------------------------- primary nav */
.nav { margin-left: auto; }

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.125rem;
}

.nav-item { position: relative; }

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 44px;
  padding: 0.6rem 0.7rem;
  border-radius: var(--r-sm);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--navy-700);
  white-space: nowrap;
  transition: color var(--t-fast) var(--ease);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0.7rem;
  right: 0.7rem;
  bottom: 0.28rem;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--blue), var(--teal));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--t-base) var(--ease);
}

.nav-link:hover { color: var(--navy-900); }
.nav-link:hover::after { transform: scaleX(1); }

.nav-link[aria-current="page"] { color: var(--navy-900); font-weight: 600; }
.nav-link[aria-current="page"]::after { transform: scaleX(1); }

.nav-trigger .caret {
  transition: transform var(--t-base) var(--ease);
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
}

.nav-trigger[aria-expanded="true"] .caret { transform: rotate(180deg); }
.nav-trigger[aria-expanded="true"] { color: var(--navy-900); }
.nav-trigger[aria-expanded="true"]::after { transform: scaleX(1); }

/* -------------------------------------------------------------- dropdown */
.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  width: min(520px, calc(100vw - 2.5rem));
  transform: translate(-50%, 8px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-lg);
  padding: 0.85rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity var(--t-base) var(--ease),
    transform var(--t-base) var(--ease),
    visibility var(--t-base) var(--ease);
  z-index: var(--z-overlay);
}

.dropdown.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.dropdown-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.2rem;
}

.dropdown-link {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.6rem 0.7rem;
  border-radius: var(--r-sm);
  transition: background-color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}

.dropdown-link:hover,
.dropdown-link:focus-visible {
  background: var(--surface-alt);
  transform: translateX(3px);
}

.dropdown-dot {
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--accent-soft, var(--surface-alt));
  color: var(--accent, var(--blue));
  margin-top: 1px;
}

.dropdown-dot svg { width: 15px; height: 15px; }

.dropdown-copy { min-width: 0; }

.dropdown-title {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--navy-900);
  line-height: 1.3;
}

.dropdown-sub {
  display: block;
  font-size: 0.6875rem;
  color: var(--muted);
  line-height: 1.35;
  margin-top: 2px;
}

.dropdown-foot {
  grid-column: 1 / -1;
  margin-top: 0.5rem;
  padding-top: 0.7rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--sp-3);
  flex-wrap: wrap;
  font-size: var(--fs-xs);
  color: var(--muted);
}

/* ------------------------------------------------------- header actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  flex: 0 0 auto;
}

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--navy-900);
  min-height: 44px;
  padding: 0.5rem 0.6rem;
  border-radius: var(--r-sm);
  transition: color var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease);
}

.header-phone svg { width: 17px; height: 17px; color: var(--blue-ink); flex: 0 0 auto; }
.header-phone:hover { color: var(--blue-ink); background: rgba(30, 136, 200, .07); }

/* ------------------------------------------------------------- burger */
.burger {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border-strong);
  background: var(--surface);
  place-items: center;
  flex: 0 0 auto;
  box-shadow: var(--sh-xs);
}

.burger span {
  position: relative;
  display: block;
  width: 19px;
  height: 2px;
  border-radius: 2px;
  background: var(--navy-900);
  transition: transform var(--t-base) var(--ease), background-color var(--t-base) var(--ease);
}

.burger span::before,
.burger span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 19px;
  height: 2px;
  border-radius: 2px;
  background: var(--navy-900);
  transition: transform var(--t-base) var(--ease);
}

.burger span::before { top: -6px; }
.burger span::after { top: 6px; }

.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* ------------------------------------------------- header breakpoints */
@media (max-width: 1024px) {
  .nav { display: none; }
  .header-phone { display: none; }
  .header-actions { margin-left: auto; }
  .burger { display: grid; }
}

@media (max-width: 560px) {
  .header-inner { gap: var(--sp-4); }
  .logo-img { height: 32px; }
}

@media (max-width: 460px) {
  .header-cta { display: none; }
}

/* ============================= MOBILE MENU =============================== */

.mobile-menu {
  position: fixed;
  inset: 0;
  color: var(--text);
  z-index: var(--z-overlay);
  background: var(--surface);
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity var(--t-base) var(--ease), transform var(--t-base) var(--ease);
  overscroll-behavior: contain;
}

.mobile-menu[hidden] { display: none; }
.mobile-menu.is-open { opacity: 1; transform: none; }

.mm-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  min-height: var(--header-h);
  padding-inline: var(--gutter);
  border-bottom: 1px solid var(--border);
  flex: 0 0 auto;
}

.mm-close {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: var(--r-sm);
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--navy-900);
}

.mm-close:hover { background: var(--surface-alt); }

.mm-body {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: var(--sp-5) var(--gutter) var(--sp-9);
  -webkit-overflow-scrolling: touch;
}

.mm-list { display: grid; gap: 0.15rem; }

.mm-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  min-height: 52px;
  padding: 0.75rem 0.9rem;
  border-radius: var(--r-md);
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--navy-900);
  border: 1px solid transparent;
}

.mm-link:hover { background: var(--surface-alt); }

.mm-link[aria-current="page"] {
  background: var(--blue-soft);
  border-color: rgba(30, 136, 200, .28);
  color: var(--blue-strong);
}

.mm-link .chev { flex: 0 0 auto; width: 18px; height: 18px; color: var(--muted); transition: transform var(--t-base) var(--ease); }
.mm-acc-trigger[aria-expanded="true"] .chev { transform: rotate(180deg); color: var(--blue); }
.mm-acc-trigger[aria-expanded="true"] { background: var(--surface-alt); }

.mm-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--t-base) var(--ease);
}

.mm-panel.is-open { grid-template-rows: 1fr; }

.mm-panel-inner { overflow: hidden; }

.mm-sublist {
  display: grid;
  gap: 2px;
  padding: 0.35rem 0 0.6rem 0.5rem;
  margin-left: 0.6rem;
  border-left: 2px solid var(--border);
}

.mm-sublink {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 48px;
  padding: 0.55rem 0.75rem;
  border-radius: var(--r-sm);
  font-size: var(--fs-sm);
  color: var(--text);
}

.mm-sublink:hover { background: var(--surface-alt); color: var(--navy-900); }
.mm-sublink[aria-current="page"] { background: var(--accent-soft, var(--blue-soft)); color: var(--accent, var(--blue-strong)); font-weight: 600; }

.mm-dot {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: var(--accent-soft, var(--surface-alt));
  color: var(--accent, var(--blue));
}

.mm-dot svg { width: 13px; height: 13px; }

.mm-block {
  margin-top: var(--sp-6);
  padding-top: var(--sp-5);
  border-top: 1px solid var(--border);
}

.mm-block h2 {
  font-size: var(--fs-eyebrow);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: var(--muted);
  font-family: var(--font-body);
  font-weight: 700;
  margin-bottom: var(--sp-4);
}

.mm-contact { display: grid; gap: var(--sp-3); }

.mm-contact a {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 48px;
  font-size: var(--fs-sm);
  color: var(--navy-900);
  font-weight: 500;
}

.mm-contact svg { width: 18px; height: 18px; color: var(--blue); flex: 0 0 auto; }

.mm-cta { display: grid; gap: var(--sp-3); margin-top: var(--sp-5); }

/* ============================== CTA BAND ================================ */

.cta-band {
  position: relative;
  background: linear-gradient(150deg, var(--navy-900) 0%, var(--navy-800) 52%, var(--navy-700) 100%);
  color: var(--on-dark-soft);
  padding-block: clamp(3rem, 6vw, 5rem);
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.cta-band > .container { position: relative; z-index: 1; }

.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-8);
}

.cta-band h2 {
  color: #fff;
  font-size: clamp(1.875rem, 3.6vw, 2.75rem);
  margin-bottom: var(--sp-3);
  max-width: 16ch;
}

.cta-band p {
  color: var(--on-dark-muted);
  font-size: var(--fs-sm);
  max-width: 46ch;
  margin: 0;
}

.cta-band .btn-row { flex: 0 0 auto; }

.cta-band .orb { opacity: .28; }

.cta-band-note {
  margin-top: var(--sp-5);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  font-size: var(--fs-xs);
  color: var(--on-dark-muted);
}

.cta-band-note span { display: inline-flex; align-items: center; gap: 0.4rem; }
.cta-band-note svg { width: 15px; height: 15px; color: var(--teal); }

@media (max-width: 860px) {
  .cta-band-inner { flex-direction: column; align-items: flex-start; gap: var(--sp-6); }
  .cta-band h2 { max-width: none; }
}

/* =============================== FOOTER ================================= */

.site-footer {
  background: var(--navy-900);
  color: var(--on-dark-soft);
  padding-top: clamp(3rem, 6vw, 4.5rem);
  position: relative;
  overflow: hidden;
  /* separates the footer from the CTA gradient, which ends lighter */
  border-top: 1px solid rgba(255, 255, 255, .1);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.site-footer > * { position: relative; z-index: 1; }

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.15fr 1.35fr;
  gap: clamp(1.75rem, 3.5vw, 3rem);
  padding-bottom: var(--sp-8);
}

.footer-about {
  margin-top: var(--sp-4);
  font-size: var(--fs-sm);
  color: var(--on-dark-muted);
  max-width: 34ch;
}

.footer-heading {
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: #fff;
  margin-bottom: var(--sp-4);
}

.footer-links { display: grid; gap: 0.6rem; }

.footer-links a,
.footer-contact-row {
  display: flex;
  gap: 0.6rem;
  font-size: var(--fs-sm);
  color: var(--on-dark-muted);
  transition: color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
  line-height: 1.5;
}

/* 44px minimum touch target for footer navigation links */
.footer-links a { align-items: center; min-height: 44px; }

.footer-contact-row { align-items: flex-start; min-height: 28px; }

.footer-links a:hover {
  color: #fff;
  transform: translateX(3px);
}

.footer-contact { display: grid; gap: 0.5rem; }

/* These rows are standalone contact links, not links inside a sentence, so
   they get the full 44px touch target rather than the inline-link exception. */
.footer-contact-row a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--on-dark-muted);
}

.footer-contact-row a:hover { color: #fff; }

/* The mobile menu reuses .footer-contact-row markup, but it sits on a white
   surface — the dark-surface greys would be unreadable there. */
.mm-contact .footer-contact-row { color: var(--text); }
.mm-contact .footer-contact-row svg { color: var(--teal-ink); }
.mm-contact .footer-contact-row strong { color: var(--navy-900); }
.footer-contact-row svg { width: 17px; height: 17px; color: var(--teal); flex: 0 0 auto; margin-top: 3px; }
.footer-contact-row strong { color: #fff; font-weight: 600; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  flex-wrap: wrap;
  padding-block: var(--sp-5);
  border-top: 1px solid var(--border-dark);
  font-size: var(--fs-xs);
  color: var(--on-dark-muted);
}

.footer-bottom-links { display: flex; gap: var(--sp-5); flex-wrap: wrap; }

.footer-bottom a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--on-dark-muted);
}

.footer-bottom a:hover { color: #fff; }

@media (max-width: 1024px) {
  .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .footer-top { grid-template-columns: minmax(0, 1fr); }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: var(--sp-3); }
}

/* ========================= FLOATING ACTIONS ============================= */

.float-actions {
  position: fixed;
  right: clamp(0.9rem, 2.2vw, 1.6rem);
  bottom: clamp(0.9rem, 2.2vw, 1.6rem);
  z-index: var(--z-float);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.6rem;
}

.fab {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 48px;
  min-width: 48px;
  padding: 0 1rem;
  border-radius: var(--r-pill);
  font-size: var(--fs-sm);
  font-weight: 600;
  box-shadow: var(--sh-lg);
  transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease), opacity var(--t-base) var(--ease);
}

.fab:hover { transform: translateY(-3px); box-shadow: var(--sh-xl); }
.fab svg { width: 20px; height: 20px; flex: 0 0 auto; }

/* Deepened from the {@link https://www.whatsapp.com/brand WhatsApp green},
   which only gives white text 3.1:1 — this clears AA at 5.4:1. */
.fab-whatsapp {
  background: #0F7A36;
  color: #fff;
  padding-inline: 1rem;
}

.fab-top {
  background: var(--surface);
  color: var(--navy-900);
  border: 1px solid var(--border-strong);
  width: 48px;
  padding: 0;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
}

.fab-top.is-visible { opacity: 1; visibility: visible; transform: none; }

@media (max-width: 560px) {
  .fab-whatsapp .fab-label { display: none; }
  .fab-whatsapp { width: 48px; padding: 0; justify-content: center; }
}

/* ============================== PAGE HERO =============================== */

.page-hero {
  position: relative;
  background: var(--surface-alt);
  padding-block: clamp(2.5rem, 5vw, 4rem) clamp(2.5rem, 5vw, 4rem);
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.page-hero-inner { position: relative; z-index: 1; max-width: 900px; }

.page-hero h1 { margin-bottom: var(--sp-4); }

.page-hero-lead {
  font-size: var(--fs-lead);
  color: var(--muted);
  max-width: 68ch;
  margin: 0;
}

.page-hero--accent {
  border-bottom: 3px solid var(--accent, var(--blue));
}

.page-hero--split .page-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  gap: var(--sp-8);
  align-items: center;
  max-width: none;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  font-size: var(--fs-xs);
  color: var(--muted);
  margin-bottom: var(--sp-5);
}

/* padding plus a matching negative margin grows the touch target to 45px
   without changing the visual height of the breadcrumb strip */
.breadcrumb a {
  display: inline-flex;
  align-items: center;
  color: var(--muted);
  padding: 12px 5px;
  margin: -12px -5px;
  transition: color var(--t-fast) var(--ease);
}

.breadcrumb a:hover { color: var(--blue-ink); text-decoration: underline; text-underline-offset: 3px; }
.breadcrumb li { display: inline-flex; align-items: center; gap: 0.45rem; }
.breadcrumb li + li::before { content: "/"; color: var(--border-strong); }
.breadcrumb [aria-current="page"] { color: var(--navy-700); font-weight: 600; }

@media (max-width: 860px) {
  .page-hero--split .page-hero-inner { grid-template-columns: minmax(0, 1fr); gap: var(--sp-6); }
}

/* =============================== STATS ================================= */

.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-sm);
}

.stat {
  background: var(--surface);
  padding: clamp(1.4rem, 3vw, 2.25rem);
  text-align: center;
}

.stat-num {
  font-family: var(--font-display);
  font-size: var(--fs-stat);
  font-weight: 800;
  line-height: 1;
  letter-spacing: var(--ls-tight);
  color: var(--navy-900);
  display: block;
  font-variant-numeric: tabular-nums;
}

.stat-num .suffix { color: var(--accent-ink, var(--accent, var(--blue))); }

.stat-label {
  display: block;
  margin-top: 0.7rem;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.5;
}

.stat:nth-child(1) { --accent: var(--teal); --accent-ink: var(--teal-ink); }
.stat:nth-child(2) { --accent: var(--blue); --accent-ink: var(--blue-ink); }
.stat:nth-child(3) { --accent: var(--orange); --accent-ink: var(--orange-ink); }
.stat:nth-child(4) { --accent: var(--amber); --accent-ink: var(--amber-ink); }

@media (max-width: 700px) {
  .stats-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ============================== MARQUEE ================================ */

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

.marquee-track {
  display: flex;
  width: max-content;
  gap: 0.85rem;
  animation: marquee-scroll 46s linear infinite;
}

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

.marquee-group {
  display: flex;
  gap: 0.85rem;
  align-items: stretch;
  flex: 0 0 auto;
}

/* Two identical groups sit in the track, separated by one .marquee-track gap.
   Travelling a plain -50% would land half a gap short of the second group's start,
   so the loop point snaps by 0.425rem (half of the 0.85rem gap). Subtracting that
   half-gap makes the restart invisible. Change the track gap and update this too. */
@keyframes marquee-scroll {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(calc(-50% - 0.425rem), 0, 0); }
}

.reg-chip {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex: 0 0 auto;
  padding: 0.85rem 1.15rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent, var(--blue));
  border-radius: var(--r-md);
  box-shadow: var(--sh-xs);
  min-width: 250px;
  transition: box-shadow var(--t-base) var(--ease), transform var(--t-base) var(--ease);
}

.reg-chip:hover { box-shadow: var(--sh-md); transform: translateY(-3px); }

.reg-code {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  color: var(--accent-ink, var(--accent, var(--blue)));
  letter-spacing: var(--ls-tight);
  white-space: nowrap;
}

.reg-role {
  font-size: var(--fs-xs);
  color: var(--muted);
  line-height: 1.4;
}

.reg-chip:nth-child(8n+1) { --accent: var(--blue); --accent-ink: var(--blue-ink); }
.reg-chip:nth-child(8n+2) { --accent: var(--teal); --accent-ink: var(--teal-ink); }
.reg-chip:nth-child(8n+3) { --accent: var(--orange); --accent-ink: var(--orange-ink); }
.reg-chip:nth-child(8n+4) { --accent: var(--navy-700); --accent-ink: var(--navy-700); }
.reg-chip:nth-child(8n+5) { --accent: var(--red); --accent-ink: var(--red-ink); }
.reg-chip:nth-child(8n+6) { --accent: var(--amber-strong); --accent-ink: var(--amber-ink); }
.reg-chip:nth-child(8n+7) { --accent: var(--blue); --accent-ink: var(--blue-ink); }
.reg-chip:nth-child(8n+8) { --accent: var(--teal); --accent-ink: var(--teal-ink); }

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .marquee { overflow-x: auto; }
  .marquee-group[aria-hidden="true"] { display: none; }
}

/* ============================== TIMELINE =============================== */

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--sp-5);
}

.timeline-line {
  position: absolute;
  top: 27px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
}

.timeline-line-fill {
  display: block;
  height: 100%;
  width: 100%;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--teal), var(--blue) 45%, var(--orange) 78%, var(--amber));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1.5s var(--ease) .15s;
}

.timeline.is-filled .timeline-line-fill { transform: scaleX(1); }

.timeline-step {
  position: relative;
  padding-top: 66px;
}

.timeline-node {
  position: absolute;
  top: 8px;
  left: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--surface);
  border: 2px solid var(--accent, var(--blue));
  color: var(--accent-ink, var(--accent, var(--blue)));
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 800;
  box-shadow: 0 0 0 6px var(--surface), var(--sh-sm);
  transition: transform var(--t-base) var(--ease), background-color var(--t-base) var(--ease), color var(--t-base) var(--ease);
}

.timeline-step:hover .timeline-node {
  transform: scale(1.08);
  background: var(--accent, var(--blue));
  color: #fff;
}

.timeline-step:nth-child(2) { --accent: var(--teal); --accent-ink: var(--teal-ink); }
.timeline-step:nth-child(3) { --accent: var(--blue); --accent-ink: var(--blue-ink); }
.timeline-step:nth-child(4) { --accent: var(--orange); --accent-ink: var(--orange-ink); }
.timeline-step:nth-child(5) { --accent: var(--amber-strong); --accent-ink: var(--amber-ink); }
.timeline-step:nth-child(6) { --accent: var(--navy-700); --accent-ink: var(--navy-700); }

.timeline-step h3 {
  font-size: 1.0625rem;
  margin-bottom: 0.4rem;
}

.timeline-step p {
  font-size: var(--fs-sm);
  color: var(--muted);
  margin: 0;
}

@media (max-width: 900px) {
  .timeline { grid-template-columns: minmax(0, 1fr); gap: var(--sp-4); }
  .timeline-line {
    top: 0;
    bottom: 0;
    left: 19px;
    right: auto;
    width: 2px;
    height: auto;
  }
  .timeline-line-fill {
    width: 100%;
    height: 100%;
    transform: scaleY(0);
    transform-origin: top center;
  }
  .timeline.is-filled .timeline-line-fill { transform: scaleY(1); }
  .timeline-step { padding-top: 0; padding-left: 62px; min-height: 48px; }
  .timeline-node { top: 0; }
}

/* ============================= TRUST BANNER ============================= */

.trust-banner {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  padding: clamp(1.25rem, 2.6vw, 1.85rem) clamp(1.4rem, 3vw, 2.25rem);
  background: linear-gradient(100deg, var(--teal-soft), var(--blue-soft) 92%);
  border: 1px solid rgba(30, 136, 200, .22);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-sm);
}

.trust-banner-icon {
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: var(--r-md);
  background: var(--surface);
  color: var(--teal-ink);
  box-shadow: var(--sh-xs);
}

.trust-banner-icon svg { width: 26px; height: 26px; }

.trust-banner p {
  margin: 0;
  font-size: var(--fs-sm);
  color: var(--navy-700);
}

.trust-banner strong { display: block; color: var(--navy-900); font-size: var(--fs-body); margin-bottom: 2px; }

@media (max-width: 620px) {
  .trust-banner { flex-direction: column; align-items: flex-start; gap: var(--sp-4); }
}

/* ============================= AT-A-GLANCE ============================= */

.facts-card {
  border-radius: var(--r-xl);
  padding: clamp(1.5rem, 3vw, 2.25rem);
}

.facts-list { display: grid; gap: 0; }

.fact {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--sp-4);
  padding-block: 0.95rem;
  border-bottom: 1px solid var(--border-dark);
}

.fact:last-child { border-bottom: 0; padding-bottom: 0; }
.fact:first-child { padding-top: 0; }

.fact-key {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
  flex: 0 0 auto;
}

.fact-val {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  text-align: right;
  line-height: 1.4;
}

/* ========================== QUOTE / CALLOUT ============================ */

.callout {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-5);
  padding: clamp(1.35rem, 2.6vw, 1.9rem) clamp(1.4rem, 3vw, 2.25rem);
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent, var(--blue));
  border-radius: var(--r-lg);
  box-shadow: var(--sh-sm);
}

.callout-badge {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent-soft, var(--blue-soft));
  color: var(--accent, var(--blue));
}

.callout-badge svg { width: 24px; height: 24px; }

.callout p {
  margin: 0;
  font-size: var(--fs-body);
  color: var(--navy-700);
  font-weight: 500;
}

@media (max-width: 620px) {
  .callout { flex-direction: column; gap: var(--sp-4); }
}

/* ============================ AREAS SERVED ============================= */

.areas-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 0.9rem;
  font-size: var(--fs-sm);
  color: var(--muted);
  text-align: center;
  line-height: 1.7;
}

.areas-line strong { color: var(--navy-900); }

/* ============================== WORDMARKS ============================== */

.wordmark {
  display: grid;
  place-items: center;
  min-height: 96px;
  padding: var(--sp-4);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.6vw, 1.1875rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--navy-900);
  text-align: center;
  line-height: 1.25;
  transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease), border-color var(--t-base) var(--ease), color var(--t-base) var(--ease);
  overflow-wrap: anywhere;
}

.wordmark:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-md);
  border-color: var(--border-strong);
  color: var(--blue-strong);
}

/* ============================ SECTION RULE ============================= */

.section-rule {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  margin-bottom: var(--sp-6);
}

.section-rule::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: var(--border);
}
