/* ==========================================================================
   CYBEX LOGISTICS — Global Stylesheet
   --------------------------------------------------------------------------
   Table of contents
   01. Design tokens (colors from CYBEX logo: navy #002050 / red #a00000)
   02. Reset & base typography (large, readable headline scale)
   03. Utilities (container, grid, buttons, badges, section headers)
   04. Header & navigation (sticky, opacity change on scroll)
   05. Hero sections (dark, image + gradient overlay, light text)
   06. Cards, feature grids & icon chips
   07. Tabs & accordions
   08. Stats / counters
   09. Forms (validation states) & multi-step wizard
   10. CTA band
   11. Footer (dark, light text)
   12. Reveal animations, back-to-top, misc
   13. Responsive breakpoints
   ========================================================================== */

/* ==========================================================================
   01. DESIGN TOKENS
   ========================================================================== */
:root {
  /* Brand palette — extracted from the CYBEX logo (CYBEXNewLogoTransparent500.png) */
  --navy:        #002050;   /* logo deep navy            */
  --navy-deep:   #001129;   /* darkest structural navy   */
  --navy-900:    #001a42;
  --navy-800:    #002050;
  --navy-700:    #0a3674;
  --navy-600:    #144a94;
  --navy-500:    #2f68bd;

  --red:         #a00000;   /* logo industrial red       */
  --red-dark:    #7c0000;
  --red-light:   #c42727;
  --red-tint:    #fbeaea;
  --red-bright:  #ff8d8d;   /* red readable on dark bg   */

  /* Support accents */
  --cyan:        #00b8d9;
  --cyan-tint:   #e2f7fb;
  --blue:        #2f7cf6;

  /* Neutral surfaces */
  --paper:       #ffffff;
  --grey-50:     #f6f8fb;
  --grey-100:    #eef2f7;
  --grey-200:    #dde5ef;
  --grey-300:    #c3cfdf;
  --khaki-100:   #f3eee1;   /* khaki derivative background */
  --khaki-200:   #e9e1cc;
  --khaki-300:   #d8ccad;

  /* Text on light backgrounds */
  --ink:         #0c1b33;
  --ink-soft:    #42536c;
  --ink-faint:   #6b7a91;

  /* Text on dark backgrounds (always light for readability) */
  --light:       #f2f6fc;
  --light-soft:  #c9d6e8;
  --light-faint: #92a5bf;

  /* Background gradients — used on surfaces only, never on text */
  --grad-overlay-hero: linear-gradient(100deg, rgba(0,10,28,.96) 0%, rgba(0,26,66,.88) 42%, rgba(0,32,80,.45) 72%, rgba(0,32,80,.15) 100%);
  --grad-cta:          linear-gradient(115deg, var(--navy-900) 0%, var(--navy-700) 60%, var(--navy-600) 100%);
  --grad-accent:       linear-gradient(135deg, var(--red) 0%, var(--red-light) 100%);
  --grad-card-soft:    linear-gradient(165deg, #ffffff 0%, #f3f6fb 100%);
  --grad-section-khaki:linear-gradient(180deg, var(--paper) 0%, var(--khaki-100) 100%);
  --grad-icon-navy:    linear-gradient(150deg, var(--navy-800) 0%, var(--navy-600) 100%);

  /* Shape & shadow */
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 6px 18px -8px rgba(0, 18, 41, .18);
  --shadow-md: 0 16px 40px -18px rgba(0, 18, 41, .32);
  --shadow-lg: 0 30px 70px -30px rgba(0, 10, 28, .5);
  --shadow-red: 0 14px 30px -12px rgba(160, 0, 0, .55);

  /* Layout */
  --header-h: 80px;
  --container: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);

  /* Type */
  --font-display: "Sora", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Segoe UI", "Helvetica Neue", Arial, sans-serif;

  /* Headline scale — deliberately large for hero / section spotlight titles */
  --fs-display-xl: clamp(2.9rem, 6.2vw, 4.9rem);   /* hero H1              */
  --fs-display:    clamp(2.2rem, 4.4vw, 3.4rem);   /* page H1 / big banners */
  --fs-section:    clamp(1.85rem, 3.4vw, 2.7rem);  /* section titles       */
  --fs-lead:       clamp(1.12rem, 1.5vw, 1.32rem); /* lead paragraphs      */
  --fs-quote:      clamp(1.3rem, 2.2vw, 1.75rem);  /* highlighted quotes   */
}

/* ==========================================================================
   02. RESET & BASE TYPOGRAPHY
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
a { color: var(--navy-600); text-decoration: none; transition: color .25s ease; }
a:hover { color: var(--red); }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -0.015em;
  color: var(--ink);
}

/* Large, prominent headline classes — used for spotlight titles everywhere */
.display-xl { font-size: var(--fs-display-xl); font-weight: 800; letter-spacing: -0.02em; }
.display    { font-size: var(--fs-display);    font-weight: 800; letter-spacing: -0.02em; }
.section-title { font-size: var(--fs-section); }
.card-title { font-size: 1.22rem; }
.lead       { font-size: var(--fs-lead); line-height: 1.65; font-weight: 400; }
.quote-lg   { font-size: var(--fs-quote); line-height: 1.4; font-weight: 600; }

/* "Spotlight" highlight: solid brand red — gradients are never applied to text */
.spotlight { color: var(--red); }
.on-dark .spotlight {
    color: orange;
/*    text-shadow: -9px -7px 4px black;
*/    text-shadow: 1px 1px 5px #000, 1.5px 1.5px 0px #fff;
}/*var(--red-bright);*/

/* Small uppercase section label */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--font-display);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--red);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 3px;
  border-radius: 2px;
  background: var(--grad-accent);
}
.on-dark .eyebrow { color: orange;  }/*var(--red-bright);*/

/* Section header block */
.section-head { max-width: 780px; margin: 0 auto 3.25rem; text-align: center; }
.section-head .section-title { margin: .9rem 0 1rem; }
.section-head .lead { color: var(--ink-soft); }
.section-head.left { margin-left: 0; text-align: left; }

/* Skip link for accessibility */
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 2000;
  background: var(--red); color: #fff; padding: .8rem 1.4rem;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  transition: top .3s ease;
}
.skip-link:focus { top: 0; color: #fff; }

/* ==========================================================================
   03. UTILITIES
   ========================================================================== */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

.section { padding-block: clamp(4.5rem, 8vw, 7rem); }
.section-sm { padding-block: clamp(3rem, 5vw, 4.5rem); }

/* Alternating surface treatments (gradient backgrounds on blocks, never text) */
.surface-white  { background: var(--paper); }
.surface-grey   { background: var(--grey-50); }
.surface-khaki  { background: var(--grad-section-khaki); }
.surface-dark   { background: linear-gradient(160deg, var(--navy-deep) 0%, var(--navy-900) 55%, var(--navy-800) 100%); }
.surface-dark .section-title, .surface-dark h2, .surface-dark h3, .surface-dark h4 { color: var(--light); }
.surface-dark .lead { color: var(--light-soft); }

.grid { display: grid; gap: 1.75rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: 1rem 2rem;
  border: 0; border-radius: 999px;
  font-family: var(--font-display);
  font-size: 1rem; font-weight: 700; letter-spacing: .01em;
  line-height: 1; text-align: center; white-space: nowrap;
  transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease, color .25s ease, border-color .25s ease;
}
.btn:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }
.btn .icon { width: 18px; height: 18px; flex: none; }

.btn-accent { background: var(--grad-accent); color: #fff; box-shadow: var(--shadow-red); }
.btn-accent:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 18px 38px -12px rgba(160,0,0,.7); }

.btn-navy { background: var(--navy); color: #fff; box-shadow: var(--shadow-sm); }
.btn-navy:hover { background: var(--navy-700); color: #fff; transform: translateY(-2px); }

.btn-ghost { background: rgba(255,255,255,.06); color: var(--light); border: 1.5px solid rgba(255,255,255,.4); backdrop-filter: blur(4px); }
.btn-ghost:hover { background: rgba(255,255,255,.14); color: #fff; border-color: #fff; transform: translateY(-2px); }

.btn-outline { background: transparent; color: var(--navy); border: 1.5px solid var(--navy-700); }
.btn-outline:hover { background: var(--navy); color: #fff; transform: translateY(-2px); }

.btn-sm { padding: .7rem 1.4rem; font-size: .92rem; }
.btn-lg { padding: 1.15rem 2.4rem; font-size: 1.08rem; }
.btn-block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: 1rem; }

/* Small pill badge */
.pill {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .42rem 1rem; border-radius: 999px;
  font-size: .8rem; font-weight: 700; letter-spacing: .06em;
  background: var(--red-tint); color: var(--red);
  border: 1px solid rgba(160,0,0,.18);
}
.on-dark .pill { background: rgba(160,0,0,.22); color: var(--red-bright); border-color: rgba(255,141,141,.35); }

/* ==========================================================================
   04. HEADER & NAVIGATION
   --------------------------------------------------------------------------
   Fixed/sticky bar. Always carries a translucent navy background so menu text
   stays legible over any hero; on scroll it solidifies (opacity/color change)
   and a shadow appears. Scroll up => header returns; scroll down => hides.
   ========================================================================== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 1000;
  height: var(--header-h);
  background: rgba(0, 15, 38, .6);            /* guaranteed visible backdrop */
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: background-color .35s ease, box-shadow .35s ease, transform .35s ease, border-color .35s ease;
}
.site-header.is-scrolled {
  background: rgba(0, 13, 31, .97);           /* solid deep navy on scroll   */
  border-bottom-color: rgba(255,255,255,.12);
  box-shadow: 0 12px 34px -16px rgba(0, 5, 18, .75);
}
.site-header.is-hidden { transform: translateY(-100%); } /* hides when scrolling down */

.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }

/* Logo sits on a white chip so brand navy + red stay visible on dark bars */
.brand { display: inline-flex; flex: none; }
.brand-chip {
  display: inline-flex; align-items: center;
  background: var(--paper);
  border-radius: var(--radius-sm);
  padding: .45rem .8rem;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease;
}
.brand:hover .brand-chip { transform: translateY(-1px); }
.brand-chip img { width: 128px; height: auto; }

.main-nav { display: flex; align-items: center; gap: 1.75rem; }
.nav-list { display: flex; align-items: center; gap: .25rem; }

.nav-link {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .6rem .95rem; border: 0; background: none; border-radius: 999px;
  font-family: var(--font-display); font-size: .95rem; font-weight: 600;
  color: var(--light-soft);                                   /* light text on dark bar */
  transition: color .25s ease, background-color .25s ease;
}
.nav-link:hover, .nav-link:focus-visible { color: #fff; background: rgba(255,255,255,.08); }
.nav-link.is-active { color: #fff; }
.nav-link.is-active::after {
  content: ""; width: 5px; height: 5px; border-radius: 50%;
  background: var(--red-light);
}
.nav-link .icon-chev { width: 14px; height: 14px; transition: transform .25s ease; }

/* Multi-level dropdown */
.has-dropdown { position: relative; }
.dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(8px);
  min-width: 264px; padding: .6rem;
  background: linear-gradient(165deg, #ffffff 0%, #f2f5fa 100%);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown,
.has-dropdown.is-open .dropdown {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0);
}
.dropdown::before { content: ""; position: absolute; top: -8px; left: 0; right: 0; height: 8px; }
.dropdown a {
  display: block; padding: .7rem 1rem; border-radius: var(--radius-sm);
  color: var(--ink); font-weight: 600; font-size: .95rem;
}
.dropdown a:hover { background: var(--navy-800); color: var(--light); }
.dropdown .dropdown-label {
  padding: .5rem 1rem .35rem; font-size: .72rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--ink-faint);
}
.has-dropdown.is-open .icon-chev { transform: rotate(180deg); }

.nav-cta { margin-left: .5rem; }

/* Hamburger (mobile) */
.nav-toggle {
  display: none; flex: none;
  width: 46px; height: 46px; border: 1.5px solid rgba(255,255,255,.3);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.06);
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle-bar { display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--light); transition: transform .3s ease, opacity .3s ease; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   05. HERO SECTIONS
   ========================================================================== */
.hero {
  position: relative; display: flex; align-items: center;
  min-height: clamp(600px, 92vh, 900px);
  padding: calc(var(--header-h) + 4.5rem) 0 6rem;
  background-color: var(--navy-deep);
  background-size: cover; background-position: center;
  color: var(--light);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: var(--grad-overlay-hero);
}
.hero .container { position: relative; z-index: 1; }
.hero-content { max-width: 860px; }
.hero .eyebrow { margin-bottom: 1.4rem; }
.hero h1 { color: var(--light); margin-bottom: 1.5rem; }
.hero .lead {
    color: #fff3dd;
    max-width: 720px;
    margin-bottom: 2.25rem;
    background-color: #1532597f;
    padding: 1.25rem 1.5rem;
    border-radius: var(--radius-md);
}
.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem 1.6rem;
    margin-top: 2.75rem;
    font-size: .9rem;
    font-weight: 600;
    color: #fff3dd;
    background-color: #1532592f;
    padding: 0.5rem;
    /*var(--light-faint);*/
}
.hero-trust li { display: inline-flex; align-items: center; gap: .5rem; }
.hero-trust .icon { width: 16px; height: 16px; color: orange; /*var(--cyan);*/ }

/* Compact inner-page hero */
.hero-sub { min-height: clamp(420px, 58vh, 620px); padding: calc(var(--header-h) + 4rem) 0 4.5rem; }
.hero-sub .hero-content { max-width: 900px; }
.hero-sub h1 { font-size: var(--fs-display); }

/* Breadcrumb trail (SEO + UX) */
.breadcrumbs {
  display: flex; flex-wrap: wrap; align-items: center; gap: .5rem;
  margin-bottom: 1.6rem; font-size: .88rem; font-weight: 600;
}
.breadcrumbs a { color: var(--light-faint); }
.breadcrumbs a:hover { color: #fff; }
.breadcrumbs .sep { color: var(--red-light); }
.breadcrumbs .current { color: var(--light-soft); }

/* Hero stat strip */
.hero-stats {
  position: relative; z-index: 2; margin-top: -4.5rem;
}
.stat-bar {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--grey-200);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.stat-cell { background: var(--paper); padding: 2rem 1.75rem; text-align: center; }
.stat-cell .stat-number {
  font-family: var(--font-display); font-size: clamp(2.1rem, 3.2vw, 2.9rem);
  font-weight: 800; color: var(--navy); line-height: 1;
}
.stat-cell .stat-number .suffix { color: var(--red); }
.stat-cell .stat-label { margin-top: .6rem; font-size: .9rem; font-weight: 600; color: var(--ink-soft); }

/* ==========================================================================
   06. CARDS, FEATURE GRIDS, ICON CHIPS
   ========================================================================== */
.card {
  position: relative; height: 100%;
  background: var(--grad-card-soft);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  display: flex; flex-direction: column; gap: .85rem;
}
.card::before {
  content: ""; position: absolute; top: 0; left: 2rem; right: 2rem; height: 3px;
  border-radius: 0 0 3px 3px;
  background: var(--grad-accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--grey-300); }
.card:hover::before { transform: scaleX(1); }
.card p { color: var(--ink-soft); font-size: .97rem; }
.card .card-title a { color: var(--ink); }
.card .card-title a:hover { color: var(--red); }
.card-link {
  margin-top: auto; padding-top: .4rem;
  display: inline-flex; align-items: center; gap: .45rem;
  font-family: var(--font-display); font-weight: 700; font-size: .92rem;
  color: var(--red);
}
.card-link .icon { width: 16px; height: 16px; transition: transform .25s ease; }
.card-link:hover .icon { transform: translateX(4px); }

.icon-chip {
  display: inline-flex; align-items: center; justify-content: center;
  width: 54px; height: 54px; border-radius: 14px;
  background: var(--grad-icon-navy);
  color: #fff;
  box-shadow: var(--shadow-sm);
  margin-bottom: .35rem;
}
.icon-chip .icon { width: 26px; height: 26px; }
.icon-chip.red { background: var(--grad-accent); }
.icon-chip.cyan { background: linear-gradient(150deg, #007c99, var(--cyan)); }

/* Dark-variant cards (on dark surfaces) */
.card-dark { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); }
.card-dark .card-title, .card-dark .card-title a { color: var(--light); }
.card-dark p { color: var(--light-soft); }
.card-dark .card-link { color: var(--red-bright); }

/* Split / media feature rows */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split.reverse { grid-template-columns: 1fr 1.05fr; }
.split.reverse > :first-child { order: 2; }
.split-media {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.split-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
.split-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(200deg, rgba(0,32,80,.0) 55%, rgba(0,18,41,.45) 100%);
}
.check-list { display: grid; gap: .85rem; margin-top: 1.4rem; }
.check-list li { display: flex; gap: .75rem; align-items: flex-start; font-weight: 600; color: var(--ink); font-size: 1rem; }
.check-list li .icon { width: 20px; height: 20px; flex: none; margin-top: .15rem; color: var(--red); }
.surface-dark .check-list li { color: var(--light); }
.surface-dark .check-list li .icon { color: var(--red-bright); }

/* Audience / persona chips */
.audience-card { text-align: left; }
.audience-card .audience-role {
  font-family: var(--font-display); font-size: .78rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--red);
}

/* Partner strip */
.partner-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1rem 3rem; }
.partner-item {
  display: inline-flex; align-items: center; gap: .8rem;
  font-family: var(--font-display); font-weight: 700; font-size: 1.35rem;
  color: var(--ink-faint);
  transition: color .25s ease, transform .25s ease;
}
.partner-item:hover { color: var(--navy); transform: translateY(-2px); }
.partner-item .icon { width: 30px; height: 30px; color: var(--red-light); }

/* ==========================================================================
   07. TABS & ACCORDIONS
   ========================================================================== */
.tabs-nav {
  display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center;
  margin-bottom: 2.5rem;
}
.tab-btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .8rem 1.5rem;
  border: 1.5px solid var(--grey-200); border-radius: 999px;
  background: var(--paper);
  font-family: var(--font-display); font-weight: 700; font-size: .95rem;
  color: var(--ink-soft);
  transition: all .25s ease;
}
.tab-btn .icon { width: 18px; height: 18px; }
.tab-btn:hover { border-color: var(--navy-500); color: var(--navy); }
.tab-btn.is-active {
  background: var(--navy-800); border-color: var(--navy-800); color: var(--light);
  box-shadow: var(--shadow-md);
}
.tab-btn.is-active::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--red-light); }
.tab-panel { display: none; }
.tab-panel.is-active { display: block; animation: fadeUp .45s ease both; }

.accordion { display: grid; gap: 1rem; }
.accordion-item {
  background: var(--paper);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow .3s ease, border-color .3s ease;
}
.accordion-item.is-open { box-shadow: var(--shadow-md); border-color: var(--grey-300); }
.accordion-header {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: none; border: 0; text-align: left;
  font-family: var(--font-display); font-size: 1.05rem; font-weight: 700;
  color: var(--ink);
  transition: color .25s ease;
}
.accordion-header:hover { color: var(--red); }
.accordion-item.is-open .accordion-header { color: var(--red); }
.accordion-icon {
  flex: none; width: 30px; height: 30px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--grey-100); color: var(--navy);
  transition: transform .3s ease, background-color .3s ease, color .3s ease;
}
.accordion-icon svg { width: 14px; height: 14px; }
.accordion-item.is-open .accordion-icon { transform: rotate(45deg); background: var(--red); color: #fff; }
.accordion-body { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.accordion-body-inner { padding: 0 1.5rem 1.5rem; color: var(--ink-soft); font-size: .98rem; }
.accordion-body-inner p + p { margin-top: .8rem; }
.accordion-body-inner ul { margin-top: .8rem; display: grid; gap: .5rem; }
.accordion-body-inner li { position: relative; padding-left: 1.4rem; }
.accordion-body-inner li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; border-radius: 2px; background: var(--red); }

.surface-dark .accordion-item { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); }
.surface-dark .accordion-header { color: var(--light); }
.surface-dark .accordion-item.is-open .accordion-header, .surface-dark .accordion-header:hover { color: var(--red-bright); }
.surface-dark .accordion-icon { background: rgba(255,255,255,.1); color: var(--light); }
.surface-dark .accordion-body-inner { color: var(--light-soft); }

/* ==========================================================================
   08. STATS / COUNTERS
   ========================================================================== */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.75rem; }
.stat-box { text-align: center; padding: 1.5rem; }
.stat-box .stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 800; line-height: 1;
  color: var(--navy);
}
.stat-box .stat-number .suffix { color: var(--red); }
.stat-box .stat-label { margin-top: .7rem; font-weight: 600; color: var(--ink-soft); }
.surface-dark .stat-box .stat-number { color: var(--light); }
.surface-dark .stat-box .stat-number .suffix { color: var(--red-bright); }
.surface-dark .stat-box .stat-label { color: var(--light-soft); }

/* ==========================================================================
   09. FORMS & MULTI-STEP WIZARD
   ========================================================================== */
.form-panel {
  background: var(--paper);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 3.5vw, 2.75rem);
  box-shadow: var(--shadow-lg);
}
.form-panel .form-title { margin-bottom: .4rem; }
.form-panel .form-note { color: var(--ink-soft); font-size: .95rem; margin-bottom: 1.75rem; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-group { display: flex; flex-direction: column; gap: .45rem; }
.form-group.full { grid-column: 1 / -1; }
.form-group label {
  font-family: var(--font-display); font-size: .9rem; font-weight: 700; color: var(--ink);
}
.form-group label .req { color: var(--red); }
.field-hint { font-size: .8rem; color: var(--ink-faint); }

.field, select.field, textarea.field {
  width: 100%;
  padding: .9rem 1.1rem;
  font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  background: var(--grey-50);
  border: 1.5px solid var(--grey-200);
  border-radius: var(--radius-sm);
  transition: border-color .25s ease, box-shadow .25s ease, background-color .25s ease;
  appearance: none;
}
select.field {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23002050' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1.1rem center;
  padding-right: 2.6rem;
}
textarea.field { min-height: 130px; resize: vertical; }
.field:focus { outline: none; border-color: var(--navy-500); background: #fff; box-shadow: 0 0 0 4px rgba(47, 104, 189, .14); }

.field.is-invalid { border-color: var(--red-light); background: var(--red-tint); }
.error-msg { display: none; font-size: .83rem; font-weight: 600; color: var(--red); }
.error-msg.is-visible { display: block; }

/* Checkbox / radio groups */
.option-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; }
.option-chip { position: relative; }
.option-chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.option-chip span {
  display: block; padding: .8rem 1.1rem; text-align: center;
  border: 1.5px solid var(--grey-200); border-radius: var(--radius-sm);
  background: var(--grey-50);
  font-weight: 600; font-size: .95rem; color: var(--ink-soft);
  transition: all .2s ease;
}
.option-chip input:checked + span { border-color: var(--navy-800); background: var(--navy-800); color: var(--light); }
.option-chip input:focus-visible + span { box-shadow: 0 0 0 4px rgba(47,104,189,.2); }

.consent { display: flex; gap: .8rem; align-items: flex-start; font-size: .9rem; color: var(--ink-soft); }
.consent input { margin-top: .3rem; width: 17px; height: 17px; accent-color: var(--red); }

/* Form success panel */
.form-success {
  display: none; text-align: center; padding: 3rem 1.5rem;
}
.form-success.is-visible { display: block; animation: fadeUp .5s ease both; }
.form-success .icon { width: 64px; height: 64px; color: var(--red); margin: 0 auto 1.25rem; }

/* Multi-step wizard */
.wizard-steps { display: flex; justify-content: space-between; margin-bottom: 2.25rem; position: relative; }
.wizard-steps::before {
  content: ""; position: absolute; top: 17px; left: 0; right: 0; height: 3px;
  background: var(--grey-200); border-radius: 3px;
}
.wizard-steps .wizard-progress {
  position: absolute; top: 17px; left: 0; height: 3px; width: 0;
  background: var(--grad-accent); border-radius: 3px;
  transition: width .45s ease;
}
.wizard-step { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: .5rem; width: 25%; }
.wizard-dot {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--paper); border: 2px solid var(--grey-300);
  font-family: var(--font-display); font-weight: 800; font-size: .92rem; color: var(--ink-faint);
  transition: all .3s ease;
}
.wizard-step .wizard-label { font-size: .78rem; font-weight: 700; color: var(--ink-faint); text-align: center; transition: color .3s ease; }
.wizard-step.is-current .wizard-dot { border-color: var(--red); color: var(--red); box-shadow: 0 0 0 5px var(--red-tint); }
.wizard-step.is-current .wizard-label { color: var(--red); }
.wizard-step.is-done .wizard-dot { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }
.wizard-step.is-done .wizard-label { color: var(--navy); }

.form-step { display: none; }
.form-step.is-active { display: block; animation: fadeUp .4s ease both; }
.wizard-actions { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1.75rem; }
.wizard-actions .btn:only-child { margin-left: auto; }

/* Review summary inside step 4 */
.review-box { background: var(--grey-50); border: 1px solid var(--grey-200); border-radius: var(--radius-md); padding: 1.25rem 1.5rem; display: grid; gap: .5rem; margin-bottom: 1.25rem; }
.review-box li { display: flex; justify-content: space-between; gap: 1rem; font-size: .95rem; }
.review-box li span:first-child { color: var(--ink-faint); font-weight: 600; }
.review-box li span:last-child { font-weight: 700; color: var(--ink); text-align: right; }

/* ==========================================================================
   10. CTA BAND
   ========================================================================== */
.cta-band {
  position: relative; overflow: hidden;
  background: var(--grad-cta);
  border-radius: var(--radius-lg);
  padding: clamp(2.75rem, 6vw, 4.5rem);
  text-align: center;
  color: var(--light);
  box-shadow: var(--shadow-lg);
}
.cta-band::before, .cta-band::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(10px); opacity: .5;
}
.cta-band::before { width: 340px; height: 340px; background: radial-gradient(circle, rgba(160,0,0,.55), transparent 70%); top: -140px; right: -80px; }
.cta-band::after { width: 380px; height: 380px; background: radial-gradient(circle, rgba(0,184,217,.3), transparent 70%); bottom: -180px; left: -100px; }
.cta-band .container { position: relative; z-index: 1; }
.cta-band h2 { color: var(--light); font-size: var(--fs-section); margin-bottom: 1rem; }
.cta-band p { color: var(--light-soft); max-width: 640px; margin: 0 auto 2rem; font-size: 1.08rem; }

/* ==========================================================================
   11. FOOTER
   ========================================================================== */
.site-footer {
  background: linear-gradient(180deg, var(--navy-deep) 0%, #000a18 100%);
  color: var(--light-soft);
  padding: 4.5rem 0 0;
  border-top: 1px solid rgba(255,255,255,.08);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}
.footer-tagline { margin-top: 1.25rem; font-size: .95rem; color: var(--light-faint); max-width: 340px; }
.footer-heading {
  font-family: var(--font-display); font-size: .85rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--light);                                 /* light headings on dark */
  margin-bottom: 1.15rem;
}
.footer-col ul { display: grid; gap: .65rem; }
.footer-col a { color: var(--light-soft); font-size: .95rem; }
.footer-col a:hover { color: var(--red-bright); }
.footer-contact li { display: flex; gap: .7rem; align-items: flex-start; font-size: .95rem; }
.footer-contact .icon { width: 17px; height: 17px; flex: none; margin-top: .3rem; color: /*var(--red-bright);*/ orange; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.09);
  padding: 1.5rem 0;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
  font-size: .88rem; color: var(--light-faint);
}
.footer-bottom a { color: var(--light-faint); }
.footer-bottom a:hover { color: #fff; }

/* ==========================================================================
   12. ANIMATIONS, BACK-TO-TOP, MISC
   ========================================================================== */
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* Scroll-reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; will-change: opacity, transform; }
.reveal.in-view { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .12s; }
.reveal[data-delay="2"] { transition-delay: .24s; }
.reveal[data-delay="3"] { transition-delay: .36s; }

.back-to-top {
  position: fixed; right: 1.5rem; bottom: 1.5rem; z-index: 900;
  width: 50px; height: 50px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--navy-800); color: var(--light);
  border: 0; box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: all .3s ease;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { background: var(--red); color: #fff; }
.back-to-top .icon { width: 20px; height: 20px; }

/* Page-hero image tag inside <picture> for inner pages */
.hero-img { position: absolute; inset: 0; z-index: 0; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; }

/* Inline list of tech/integration chips */
.chip-cloud { display: flex; flex-wrap: wrap; gap: .7rem; }
.chip-cloud li {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .6rem 1.15rem;
  border: 1px solid var(--grey-200); border-radius: 999px;
  background: var(--paper);
  font-weight: 700; font-size: .9rem; color: var(--ink);
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, border-color .25s ease;
}
.chip-cloud li:hover { transform: translateY(-3px); border-color: var(--navy-500); }
.chip-cloud li .icon { width: 17px; height: 17px; color: var(--red); }

/* Content prose (for long-form sections) */
.prose p { color: var(--ink-soft); }
.prose p + p { margin-top: 1rem; }

/* Reduced motion: respect user preference */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   13. RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .grid-4, .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-bar { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  :root { --header-h: 70px; }
  .grid-3, .grid-2, .split, .split.reverse { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: 0; }
  .section-head.left { text-align: left; }

  /* Mobile navigation panel */
  .main-nav {
    position: fixed; top: var(--header-h); right: 0; left: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    background: rgba(0, 13, 31, .98);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255,255,255,.08);
    padding: 1rem var(--gutter) 2rem;
    transform: translateY(-12px);
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity .3s ease, transform .3s ease, visibility .3s;
  }
  .main-nav.is-open { opacity: 1; visibility: visible; pointer-events: auto; transform: none; }
  .nav-list { flex-direction: column; align-items: stretch; gap: .35rem; }
  .nav-link { justify-content: space-between; padding: .9rem 1rem; font-size: 1.05rem; }
  .dropdown {
    position: static; transform: none; min-width: 0;
    box-shadow: none; background: rgba(255,255,255,.05);
    display: none; opacity: 1; visibility: visible;
  }
  .has-dropdown.is-open .dropdown { display: block; }
  .dropdown a { color: var(--light-soft); }
  .dropdown a:hover { background: rgba(255,255,255,.1); color: #fff; }
  .dropdown .dropdown-label { color: var(--light-faint); }
  .nav-cta { margin: .75rem 0 0; justify-content: center; }
  .nav-toggle { display: flex; }
  .option-grid { grid-template-columns: 1fr; }
  .wizard-step .wizard-label { display: none; }
}

@media (max-width: 620px) {
  .form-grid { grid-template-columns: 1fr; }
  .stat-bar { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { justify-content: center; text-align: center; }
  .btn-row { flex-direction: column; }
  .btn-row .btn { width: 100%; }
  .hero-stats { margin-top: -2.5rem; }
  .brand-chip img { width: 108px; }
  .stat-cell { padding: 1.4rem 1rem; }
}
