/* ==========================================================================
   Patriot Communications — Design System
   v1.0  |  Modern, accessible, print-friendly
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand — patriotic navy + red, modernized */
  --navy-900: #0a1628;
  --navy-800: #0f2140;
  --navy-700: #16305c;
  --navy-600: #1e4178;
  --navy-500: #2a5599;

  --red-700: #a3111f;
  --red-600: #c41230;
  --red-500: #e01e37;
  --red-400: #f2405a;

  --accent-500: #0aa6c9; /* tech-cyan for highlights */
  --accent-400: #35c4e3;

  /* Neutrals */
  --ink-900: #0d1420;
  --ink-800: #1b2534;
  --ink-700: #33404f;
  --ink-600: #4d5c6e;
  --ink-500: #6b7a8c;
  --ink-400: #94a2b3;
  --ink-300: #c4cedb;
  --ink-200: #e2e8f0;
  --ink-100: #f1f5f9;
  --ink-50:  #f8fafc;
  --white:   #ffffff;

  --success: #0e9f6e;
  --warning: #d97706;

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
               'Helvetica Neue', Arial, sans-serif;
  --font-display: 'Barlow Condensed', 'Inter', sans-serif;

  --fs-xs:   0.8125rem;  /* 13 */
  --fs-sm:   0.9375rem;  /* 15 */
  --fs-base: 1.0625rem;  /* 17 */
  --fs-md:   1.1875rem;  /* 19 */
  --fs-lg:   1.375rem;   /* 22 */
  --fs-xl:   1.75rem;    /* 28 */
  --fs-2xl:  2.25rem;    /* 36 */
  --fs-3xl:  2.875rem;   /* 46 */
  --fs-4xl:  3.75rem;    /* 60 */

  /* Spacing scale */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 2.5rem;
  --sp-8: 3rem;
  --sp-9: 4rem;
  --sp-10: 5rem;
  --sp-11: 6.5rem;

  /* Radii */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-full: 999px;

  /* Shadows */
  --sh-xs: 0 1px 2px rgba(13, 20, 32, .06);
  --sh-sm: 0 2px 6px rgba(13, 20, 32, .07), 0 1px 2px rgba(13, 20, 32, .04);
  --sh-md: 0 6px 20px rgba(13, 20, 32, .09), 0 2px 6px rgba(13, 20, 32, .05);
  --sh-lg: 0 18px 46px rgba(13, 20, 32, .13), 0 4px 12px rgba(13, 20, 32, .06);
  --sh-xl: 0 32px 70px rgba(10, 22, 40, .22);

  /* Layout */
  --container: 1200px;
  --container-narrow: 820px;
  --header-h: 84px;

  --ease: cubic-bezier(.4, 0, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* --------------------------------------------------------------------------
   2. Reset & Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
}

body {
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--ink-700);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; height: auto; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--navy-900);
  line-height: 1.1;
  letter-spacing: -0.015em;
  font-weight: 700;
  text-wrap: balance;
}

h1 { font-size: clamp(2.25rem, 5.2vw, var(--fs-4xl)); }
h2 { font-size: clamp(1.875rem, 4vw, var(--fs-3xl)); }
h3 { font-size: clamp(1.375rem, 2.6vw, var(--fs-xl)); }
h4 { font-size: var(--fs-lg); }
h5 { font-size: var(--fs-md); }
h6 { font-size: var(--fs-base); }

p { text-wrap: pretty; }
p + p { margin-top: var(--sp-4); }

a { color: var(--navy-600); text-decoration: none; transition: color .18s var(--ease); }
a:hover { color: var(--red-600); }

ul, ol { padding-left: 1.15rem; }
li + li { margin-top: var(--sp-2); }

strong { color: var(--ink-900); font-weight: 600; }

hr {
  border: 0;
  height: 1px;
  background: var(--ink-200);
  margin: var(--sp-8) 0;
}

:focus-visible {
  outline: 3px solid var(--accent-500);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

::selection { background: var(--red-500); color: #fff; }

/* --------------------------------------------------------------------------
   3. Layout Utilities
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--sp-5);
}
.container--narrow { max-width: var(--container-narrow); }

.section { padding-block: clamp(3.5rem, 7vw, var(--sp-11)); }
.section--tight { padding-block: clamp(2.5rem, 5vw, var(--sp-9)); }
.section--alt { background: var(--ink-50); }
.section--dark {
  background: linear-gradient(160deg, var(--navy-900) 0%, var(--navy-700) 100%);
  color: var(--ink-300);
}
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }

.grid { display: grid; gap: var(--sp-5); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

.stack > * + * { margin-top: var(--sp-4); }
.text-center { text-align: center; }
.mx-auto { margin-inline: auto; }
.mt-5 { margin-top: var(--sp-5); }
.mt-6 { margin-top: var(--sp-6); }
.mt-7 { margin-top: var(--sp-7); }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--red-600); color: #fff;
  padding: var(--sp-3) var(--sp-5); border-radius: 0 0 var(--r-md) 0;
  font-weight: 600;
}
.skip-link:focus { left: 0; color: #fff; }

/* --------------------------------------------------------------------------
   4. Section Headings / Eyebrows
   -------------------------------------------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font-sans);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--red-600);
  margin-bottom: var(--sp-3);
}
.eyebrow::before {
  content: '';
  width: 26px; height: 3px;
  background: var(--red-600);
  border-radius: var(--r-full);
}
.section--dark .eyebrow { color: var(--accent-400); }
.section--dark .eyebrow::before { background: var(--accent-400); }

.section-head { max-width: 720px; margin-bottom: var(--sp-8); }
.section-head.text-center { margin-inline: auto; }
.section-head.text-center .eyebrow { justify-content: center; }
.lead {
  font-size: var(--fs-md);
  color: var(--ink-600);
  line-height: 1.6;
}
.section--dark .lead { color: var(--ink-300); }

/* --------------------------------------------------------------------------
   5. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  font-family: var(--font-sans);
  font-size: var(--fs-sm);
  font-weight: 650;
  letter-spacing: .01em;
  padding: 0.875rem 1.75rem;
  border-radius: var(--r-full);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease),
              background-color .18s var(--ease), color .18s var(--ease),
              border-color .18s var(--ease);
  white-space: nowrap;
  line-height: 1.2;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; flex: none; }

.btn--primary {
  background: var(--red-600);
  color: #fff;
  box-shadow: 0 6px 18px rgba(196, 18, 48, .3);
}
.btn--primary:hover {
  background: var(--red-500); color: #fff;
  box-shadow: 0 12px 28px rgba(196, 18, 48, .38);
}

.btn--navy {
  background: var(--navy-800); color: #fff;
  box-shadow: 0 6px 18px rgba(15, 33, 64, .25);
}
.btn--navy:hover { background: var(--navy-700); color: #fff; }

.btn--ghost {
  background: transparent;
  color: var(--navy-800);
  border-color: var(--ink-300);
}
.btn--ghost:hover {
  border-color: var(--navy-800);
  background: var(--navy-800);
  color: #fff;
}

.btn--ghost-light {
  background: rgba(255,255,255,.08);
  color: #fff;
  border-color: rgba(255,255,255,.35);
  backdrop-filter: blur(6px);
}
.btn--ghost-light:hover { background: #fff; color: var(--navy-900); border-color: #fff; }

.btn--lg { padding: 1.0625rem 2.25rem; font-size: var(--fs-base); }
.btn--block { width: 100%; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  align-items: center;
}
.btn-row.text-center, .text-center .btn-row { justify-content: center; }

.link-arrow {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  font-weight: 650; font-size: var(--fs-sm); color: var(--red-600);
}
.link-arrow svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   6. Header / Navigation
   -------------------------------------------------------------------------- */
.topbar {
  background: var(--navy-900);
  color: var(--ink-300);
  font-size: var(--fs-xs);
  padding-block: var(--sp-2);
}
.topbar__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--sp-4); flex-wrap: wrap;
}
.topbar__badge {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  font-weight: 600; letter-spacing: .03em;
}
.topbar__badge .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 3px rgba(14,159,110,.25);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 3px rgba(14,159,110,.25); }
  50%     { box-shadow: 0 0 0 6px rgba(14,159,110,.06); }
}
.topbar__links { display: flex; gap: var(--sp-5); align-items: center; }
.topbar a { color: var(--ink-300); display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: #fff; }
.topbar svg { width: 14px; height: 14px; opacity: .8; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--ink-200);
  transition: box-shadow .25s var(--ease), background-color .25s var(--ease);
}
.site-header.is-scrolled { box-shadow: var(--sh-md); background: rgba(255,255,255,.97); }

.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--sp-5); min-height: var(--header-h);
}

.brand { display: flex; align-items: center; gap: var(--sp-3); flex: none; }
.brand img { height: 52px; width: auto; }
.brand__text { display: none; }

.nav__menu {
  display: flex; align-items: center; gap: var(--sp-1);
  list-style: none; margin: 0; padding: 0;
}
.nav__menu li { margin: 0; }
.nav__menu a {
  display: block;
  padding: .6rem .7rem;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--ink-700);
  border-radius: var(--r-sm);
  position: relative;
  white-space: nowrap;
}
.nav__menu a::after {
  content: '';
  position: absolute; left: .7rem; right: .7rem; bottom: .3rem;
  height: 2px; background: var(--red-600);
  transform: scaleX(0); transform-origin: left;
  transition: transform .22s var(--ease);
  border-radius: var(--r-full);
}
.nav__menu a:hover { color: var(--navy-900); }
.nav__menu a:hover::after,
.nav__menu a[aria-current="page"]::after { transform: scaleX(1); }
.nav__menu a[aria-current="page"] { color: var(--navy-900); }

.nav__actions { display: flex; align-items: center; gap: var(--sp-3); flex: none; }
.nav__phone {
  display: flex; flex-direction: column; line-height: 1.15;
  font-family: var(--font-sans);
}
.nav__phone .label {
  font-size: 11px; text-transform: uppercase; letter-spacing: .1em;
  color: var(--ink-500); font-weight: 700;
}
.nav__phone .num {
  font-size: var(--fs-md); font-weight: 750; color: var(--navy-900);
  font-family: var(--font-display); letter-spacing: 0;
}
.nav__phone .num:hover { color: var(--red-600); }

.nav__toggle {
  display: none;
  width: 46px; height: 46px;
  border: 1px solid var(--ink-200);
  background: var(--white);
  border-radius: var(--r-md);
  cursor: pointer;
  padding: 0;
  place-items: center;
}
.nav__toggle span {
  display: block; width: 20px; height: 2px; background: var(--navy-900);
  border-radius: 2px; position: relative;
  transition: background-color .2s var(--ease);
}
.nav__toggle span::before, .nav__toggle span::after {
  content: ''; position: absolute; left: 0; width: 20px; height: 2px;
  background: var(--navy-900); border-radius: 2px;
  transition: transform .25s var(--ease);
}
.nav__toggle span::before { top: -6px; }
.nav__toggle span::after  { top: 6px; }
.nav__toggle[aria-expanded="true"] span { background: transparent; }
.nav__toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span::after  { transform: translateY(-6px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  background:
    radial-gradient(1100px 620px at 82% 18%, rgba(42,85,153,.55) 0%, transparent 62%),
    radial-gradient(760px 520px at 10% 92%, rgba(196,18,48,.28) 0%, transparent 60%),
    linear-gradient(155deg, var(--navy-900) 0%, #10254a 52%, var(--navy-800) 100%);
  color: var(--ink-300);
  overflow: hidden;
  padding-block: clamp(3.5rem, 7vw, 6rem);
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 85% 75% at 50% 40%, #000 25%, transparent 78%);
  pointer-events: none;
}
.hero__inner {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 5vw, var(--sp-9));
  align-items: center;
}
.hero__badge {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.18);
  color: #fff;
  padding: .45rem 1rem .45rem .55rem;
  border-radius: var(--r-full);
  font-size: var(--fs-xs); font-weight: 600;
  backdrop-filter: blur(8px);
  margin-bottom: var(--sp-5);
}
.hero__badge .pill {
  background: linear-gradient(135deg, var(--red-500), var(--red-700));
  color: #fff; font-size: 11px; font-weight: 800;
  letter-spacing: .06em; text-transform: uppercase;
  padding: .18rem .55rem; border-radius: var(--r-full);
}
.hero h1 { color: #fff; margin-bottom: var(--sp-5); }
.hero h1 .accent {
  background: linear-gradient(100deg, var(--red-400), var(--accent-400));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__lead {
  font-size: clamp(1.0625rem, 1.6vw, var(--fs-md));
  color: rgba(226,232,240,.86);
  max-width: 56ch;
  margin-bottom: var(--sp-6);
}
.hero .btn-row { margin-bottom: var(--sp-7); }

.hero__proof {
  display: flex; flex-wrap: wrap; gap: var(--sp-6);
  padding-top: var(--sp-5);
  border-top: 1px solid rgba(255,255,255,.14);
}
.hero__proof div { min-width: 90px; }
.hero__proof .n {
  display: block;
  font-family: var(--font-display); font-weight: 700;
  font-size: var(--fs-2xl); color: #fff; line-height: 1;
}
.hero__proof .t {
  font-size: var(--fs-xs); color: rgba(226,232,240,.7);
  text-transform: uppercase; letter-spacing: .07em; font-weight: 600;
}

.hero__media { position: relative; }
.hero__media img {
  width: 100%;
  border-radius: var(--r-xl);
  box-shadow: var(--sh-xl);
  border: 1px solid rgba(255,255,255,.12);
}
.hero__float {
  position: absolute;
  background: rgba(255,255,255,.97);
  border-radius: var(--r-lg);
  padding: var(--sp-4);
  box-shadow: var(--sh-lg);
  display: flex; align-items: center; gap: var(--sp-3);
  backdrop-filter: blur(10px);
}
.hero__float--tl { top: -18px; left: -18px; }
.hero__float--br { bottom: -20px; right: -14px; }
.hero__float .ico {
  width: 40px; height: 40px; flex: none;
  display: grid; place-items: center;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, var(--navy-700), var(--navy-500));
  color: #fff;
}
.hero__float .ico svg { width: 20px; height: 20px; }
.hero__float--br .ico { background: linear-gradient(135deg, var(--red-600), var(--red-400)); }
.hero__float .txt { display: flex; flex-direction: column; line-height: 1.25; }
.hero__float .k {
  display: block;
  font-family: var(--font-display); font-weight: 700;
  font-size: var(--fs-base); color: var(--navy-900); line-height: 1.15;
  white-space: nowrap;
}
.hero__float .s {
  display: block;
  font-size: var(--fs-xs); color: var(--ink-500); white-space: nowrap;
}

/* Page hero (interior pages) */
.page-hero {
  background:
    radial-gradient(900px 400px at 78% 20%, rgba(42,85,153,.5) 0%, transparent 60%),
    linear-gradient(150deg, var(--navy-900) 0%, var(--navy-700) 100%);
  color: var(--ink-300);
  padding-block: clamp(3rem, 6vw, 4.75rem);
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, #000 20%, transparent 80%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; margin-bottom: var(--sp-4); }
.page-hero p { color: rgba(226,232,240,.85); max-width: 62ch; font-size: var(--fs-md); }

.breadcrumb {
  display: flex; gap: var(--sp-2); align-items: center;
  list-style: none; padding: 0; margin: 0 0 var(--sp-4);
  font-size: var(--fs-xs); color: rgba(226,232,240,.6);
}
.breadcrumb li { margin: 0; }
.breadcrumb a { color: rgba(226,232,240,.75); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb li + li::before { content: '/'; margin-right: var(--sp-2); opacity: .5; }

/* --------------------------------------------------------------------------
   8. Trust bar
   -------------------------------------------------------------------------- */
.trustbar {
  background: var(--white);
  border-bottom: 1px solid var(--ink-200);
  padding-block: var(--sp-6);
}
.trustbar__inner {
  display: flex; align-items: center; justify-content: center;
  gap: clamp(1.5rem, 5vw, var(--sp-9)); flex-wrap: wrap;
}
.trustbar__label {
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ink-400);
}
.trustbar img { height: 46px; width: auto; opacity: .95; }
.trustbar__item {
  display: flex; align-items: center; gap: var(--sp-3);
  font-size: var(--fs-sm); font-weight: 600; color: var(--ink-700);
}
.trustbar__item svg { width: 22px; height: 22px; color: var(--red-600); flex: none; }

/* --------------------------------------------------------------------------
   9. Cards
   -------------------------------------------------------------------------- */
.card {
  background: var(--white);
  border: 1px solid var(--ink-200);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out),
              border-color .25s var(--ease);
  position: relative;
  height: 100%;
  display: flex; flex-direction: column;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--sh-lg);
  border-color: transparent;
}
.card__icon {
  width: 54px; height: 54px;
  display: grid; place-items: center;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, var(--navy-800), var(--navy-600));
  color: #fff;
  margin-bottom: var(--sp-4);
  box-shadow: 0 6px 16px rgba(22,48,92,.25);
}
.card__icon svg { width: 26px; height: 26px; }
.card--accent .card__icon { background: linear-gradient(135deg, var(--red-700), var(--red-500)); box-shadow: 0 6px 16px rgba(196,18,48,.25); }
.card--cyan   .card__icon { background: linear-gradient(135deg, #0d7f9c, var(--accent-500)); box-shadow: 0 6px 16px rgba(10,166,201,.25); }
.card h3 { margin-bottom: var(--sp-3); }
.card p { font-size: var(--fs-sm); color: var(--ink-600); }
.card .link-arrow { margin-top: auto; padding-top: var(--sp-4); }

/* Product card */
.pcard {
  background: var(--white);
  border: 1px solid var(--ink-200);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out);
  height: 100%;
}
.pcard:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); }
.pcard__media {
  background: linear-gradient(160deg, var(--ink-100), var(--ink-50));
  aspect-ratio: 4 / 3;
  display: grid; place-items: center;
  padding: var(--sp-5);
  position: relative;
  overflow: hidden;
}
.pcard__media img {
  max-height: 100%; width: auto; object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform .4s var(--ease-out);
}
.pcard:hover .pcard__media img { transform: scale(1.06); }
.pcard__tag {
  position: absolute; top: var(--sp-3); left: var(--sp-3);
  background: var(--navy-900); color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: .07em;
  text-transform: uppercase;
  padding: .28rem .7rem; border-radius: var(--r-full);
}
.pcard__tag--red { background: var(--red-600); }
.pcard__body { padding: var(--sp-5); display: flex; flex-direction: column; flex: 1; }
.pcard__body h3 { font-size: var(--fs-lg); margin-bottom: var(--sp-2); }
.pcard__sub { font-size: var(--fs-xs); color: var(--red-600); font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em; margin-bottom: var(--sp-3); }

.spec-list { list-style: none; padding: 0; margin: 0 0 var(--sp-4); }
.spec-list li {
  display: flex; align-items: flex-start; gap: var(--sp-2);
  font-size: var(--fs-sm); color: var(--ink-600);
  margin-top: var(--sp-2);
}
.spec-list li:first-child { margin-top: 0; }
.spec-list li::before {
  content: '';
  flex: none;
  width: 16px; height: 16px; margin-top: 4px;
  background: var(--red-600);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M16.7 5.3a1 1 0 0 1 0 1.4l-7.5 7.5a1 1 0 0 1-1.4 0L3.3 9.7a1 1 0 1 1 1.4-1.4l3.8 3.8 6.8-6.8a1 1 0 0 1 1.4 0z'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* Feature row (alternating image + text) */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, var(--sp-9));
  align-items: center;
}
.feature-row + .feature-row { margin-top: clamp(3rem, 6vw, var(--sp-10)); }
.feature-row--rev .feature-row__media { order: 2; }
.feature-row__media {
  border-radius: var(--r-xl);
  overflow: hidden;
  background: linear-gradient(160deg, var(--ink-100), var(--ink-50));
  padding: var(--sp-6);
  box-shadow: var(--sh-md);
  display: grid; place-items: center;
}
.feature-row__media img { mix-blend-mode: multiply; }

/* --------------------------------------------------------------------------
   10. Stats
   -------------------------------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px,1fr)); gap: var(--sp-5); }
.stat {
  text-align: center;
  padding: var(--sp-6) var(--sp-4);
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-lg);
  backdrop-filter: blur(6px);
}
.stat .n {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2.25rem, 4.5vw, 3.25rem); line-height: 1;
  color: #fff;
  background: linear-gradient(120deg, #fff, var(--accent-400));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat .t {
  margin-top: var(--sp-2);
  font-size: var(--fs-sm); color: rgba(226,232,240,.78);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   11. Steps / Process
   -------------------------------------------------------------------------- */
.steps { counter-reset: step; display: grid; gap: var(--sp-5); grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); }
.step {
  position: relative;
  padding: var(--sp-6) var(--sp-5);
  background: var(--white);
  border: 1px solid var(--ink-200);
  border-radius: var(--r-lg);
  counter-increment: step;
}
.step::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: var(--fs-2xl); font-weight: 700; line-height: 1;
  color: var(--ink-200);
  display: block; margin-bottom: var(--sp-3);
}
.step h4 { margin-bottom: var(--sp-2); }
.step p { font-size: var(--fs-sm); color: var(--ink-600); }

/* --------------------------------------------------------------------------
   12. Testimonial / Quote
   -------------------------------------------------------------------------- */
.quote {
  background: var(--white);
  border: 1px solid var(--ink-200);
  border-left: 4px solid var(--red-600);
  border-radius: var(--r-md);
  padding: var(--sp-6);
  box-shadow: var(--sh-sm);
}
.quote p { font-size: var(--fs-md); color: var(--ink-700); font-style: italic; }
.quote footer {
  margin-top: var(--sp-4); font-size: var(--fs-sm);
  font-weight: 650; color: var(--navy-900); font-style: normal;
}
.quote footer span { display: block; font-weight: 500; color: var(--ink-500); font-size: var(--fs-xs); }

/* --------------------------------------------------------------------------
   13. Blog / Posts
   -------------------------------------------------------------------------- */
.post-card {
  background: var(--white);
  border: 1px solid var(--ink-200);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out);
  height: 100%;
}
.post-card:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); }
.post-card__media { aspect-ratio: 16/9; overflow: hidden; background: var(--ink-100); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s var(--ease-out); }
.post-card:hover .post-card__media img { transform: scale(1.05); }
.post-card__body { padding: var(--sp-5); display: flex; flex-direction: column; flex: 1; }
.post-card h3 { font-size: var(--fs-lg); margin-bottom: var(--sp-3); }
.post-card h3 a { color: var(--navy-900); }
.post-card h3 a:hover { color: var(--red-600); }
.post-card p { font-size: var(--fs-sm); color: var(--ink-600); }
.post-card .link-arrow { margin-top: auto; padding-top: var(--sp-4); }

.chip {
  display: inline-block;
  font-size: 11px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase;
  padding: .25rem .65rem; border-radius: var(--r-full);
  background: var(--ink-100); color: var(--navy-700);
  margin-bottom: var(--sp-3);
}
.chip--red { background: rgba(196,18,48,.1); color: var(--red-700); }
.post-meta { font-size: var(--fs-xs); color: var(--ink-500); margin-bottom: var(--sp-3); }

/* --------------------------------------------------------------------------
   14. Forms
   -------------------------------------------------------------------------- */
.form-card {
  background: var(--white);
  border: 1px solid var(--ink-200);
  border-radius: var(--r-xl);
  padding: clamp(1.5rem, 4vw, var(--sp-7));
  box-shadow: var(--sh-md);
}
.field { margin-bottom: var(--sp-4); }
.field label {
  display: block;
  font-size: var(--fs-sm); font-weight: 650;
  color: var(--navy-900); margin-bottom: var(--sp-2);
}
.field .req { color: var(--red-600); }
.field input, .field select, .field textarea {
  width: 100%;
  font-family: inherit; font-size: var(--fs-base);
  color: var(--ink-800);
  padding: .8rem 1rem;
  border: 1.5px solid var(--ink-200);
  border-radius: var(--r-md);
  background: var(--ink-50);
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease), background-color .18s var(--ease);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--navy-600);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(30,65,120,.12);
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-400); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); }
.form-note { font-size: var(--fs-xs); color: var(--ink-500); margin-top: var(--sp-3); }

/* --------------------------------------------------------------------------
   15. Contact info blocks
   -------------------------------------------------------------------------- */
.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li {
  display: flex; gap: var(--sp-4);
  padding-block: var(--sp-4);
  border-bottom: 1px solid var(--ink-200);
  margin: 0;
}
.info-list li:last-child { border-bottom: 0; }
.info-list .ico {
  width: 44px; height: 44px; flex: none;
  display: grid; place-items: center;
  border-radius: var(--r-md);
  background: var(--ink-100); color: var(--navy-700);
}
.info-list .ico svg { width: 20px; height: 20px; }
.info-list li > span:last-child { display: flex; flex-direction: column; }
.info-list .k {
  display: block;
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--ink-500); margin-bottom: 3px;
}
.info-list .v {
  display: block;
  font-weight: 600; color: var(--navy-900); font-size: var(--fs-base);
  line-height: 1.5;
}
.info-list .v a { color: var(--navy-900); }
.info-list .v a:hover { color: var(--red-600); }

/* --------------------------------------------------------------------------
   16. CTA band
   -------------------------------------------------------------------------- */
.cta-band {
  background:
    radial-gradient(700px 340px at 15% 20%, rgba(196,18,48,.4) 0%, transparent 62%),
    linear-gradient(140deg, var(--navy-900), var(--navy-700));
  color: var(--ink-300);
  border-radius: var(--r-xl);
  padding: clamp(2rem, 5vw, var(--sp-9));
  display: grid; grid-template-columns: 1.35fr .65fr;
  gap: var(--sp-6); align-items: center;
  box-shadow: var(--sh-lg);
  position: relative; overflow: hidden;
}
.cta-band::after {
  content: ''; position: absolute; right: -60px; top: -60px;
  width: 260px; height: 260px; border-radius: 50%;
  background: rgba(255,255,255,.05);
}
.cta-band h2 { color: #fff; margin-bottom: var(--sp-3); }
.cta-band p { color: rgba(226,232,240,.85); }
.cta-band .btn-row { justify-content: flex-end; position: relative; z-index: 1; }

/* --------------------------------------------------------------------------
   17. FAQ / Accordion
   -------------------------------------------------------------------------- */
.faq { border-top: 1px solid var(--ink-200); }
.faq details {
  border-bottom: 1px solid var(--ink-200);
}
.faq summary {
  cursor: pointer; list-style: none;
  padding: var(--sp-5) var(--sp-8) var(--sp-5) 0;
  font-family: var(--font-display); font-weight: 700;
  font-size: var(--fs-lg); color: var(--navy-900);
  position: relative;
  transition: color .18s var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--red-600); }
.faq summary::after {
  content: ''; position: absolute; right: 4px; top: 50%;
  width: 14px; height: 14px; margin-top: -7px;
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 3a1 1 0 0 1 1 1v5h5a1 1 0 1 1 0 2h-5v5a1 1 0 1 1-2 0v-5H4a1 1 0 1 1 0-2h5V4a1 1 0 0 1 1-1z'/%3E%3C/svg%3E") center/contain no-repeat;
  transition: transform .25s var(--ease);
}
.faq details[open] summary::after { transform: rotate(135deg); }
.faq .faq__body { padding-bottom: var(--sp-5); color: var(--ink-600); max-width: 78ch; }

/* --------------------------------------------------------------------------
   18. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--navy-900);
  color: var(--ink-400);
  padding-top: var(--sp-9);
  font-size: var(--fs-sm);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: var(--sp-7);
  padding-bottom: var(--sp-8);
}
.site-footer h4 {
  color: #fff; font-size: var(--fs-base);
  text-transform: uppercase; letter-spacing: .08em;
  margin-bottom: var(--sp-4);
}
.site-footer a { color: var(--ink-400); }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { margin-top: var(--sp-2); }
.footer-brand img {
  height: 58px; width: auto; margin-bottom: var(--sp-4);
  background: #fff; padding: 8px 12px; border-radius: var(--r-md);
}
.footer-brand p { color: var(--ink-400); max-width: 40ch; }
.footer-contact { font-style: normal; line-height: 1.9; }
.footer-contact strong { color: #fff; }
.social-row { display: flex; gap: var(--sp-3); margin-top: var(--sp-5); }
.social-row a {
  width: 40px; height: 40px; display: grid; place-items: center;
  border-radius: var(--r-md);
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  color: var(--ink-300);
  transition: background-color .2s var(--ease), transform .2s var(--ease), color .2s var(--ease);
}
.social-row a:hover { background: var(--red-600); color: #fff; transform: translateY(-2px); border-color: transparent; }
.social-row svg { width: 18px; height: 18px; }

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

/* --------------------------------------------------------------------------
   19. Floating mobile call bar
   -------------------------------------------------------------------------- */
.callbar {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  background: rgba(10,22,40,.97);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255,255,255,.12);
  padding: .65rem var(--sp-4);
  gap: var(--sp-3);
}
.callbar .btn { flex: 1; padding: .8rem 1rem; font-size: var(--fs-sm); }

/* --------------------------------------------------------------------------
   20. Scroll reveal
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .65s var(--ease-out), transform .65s var(--ease-out);
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }

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

/* --------------------------------------------------------------------------
   21. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__media { max-width: 620px; margin-inline: auto; }
  .cta-band { grid-template-columns: 1fr; text-align: center; }
  .cta-band .btn-row { justify-content: center; }
}

@media (max-width: 900px) {
  :root { --header-h: 70px; }

  .nav__toggle { display: grid; }
  .nav__menu {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--ink-200);
    box-shadow: var(--sh-lg);
    padding: var(--sp-3) var(--sp-5) var(--sp-6);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
  }
  .nav__menu.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__menu a {
    padding: .95rem .25rem;
    font-size: var(--fs-md);
    border-bottom: 1px solid var(--ink-100);
    border-radius: 0;
  }
  .nav__menu a::after { display: none; }
  .nav__menu a[aria-current="page"] { color: var(--red-600); }

  .nav__phone { display: none; }
  .brand img { height: 42px; }
  .topbar__links { gap: var(--sp-4); }

  .feature-row { grid-template-columns: 1fr; }
  .feature-row--rev .feature-row__media { order: 0; }

  .hero__float--tl { top: -12px; left: 8px; padding: var(--sp-3); }
  .hero__float--br { bottom: -14px; right: 8px; padding: var(--sp-3); }

  .callbar { display: flex; }
  body { padding-bottom: 68px; }
  .go-top { bottom: 84px !important; }
}

@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; gap: var(--sp-6); }
  .field-row { grid-template-columns: 1fr; }
  .topbar__links .hide-sm { display: none; }
  .hero__proof { gap: var(--sp-5); }
  /* Long button labels (e.g. "Download the Connect brochure (PDF)") must be
     allowed to wrap, otherwise their min-content width pushes past the
     viewport and creates horizontal overflow. */
  .btn {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    white-space: normal;
    text-align: center;
    padding-inline: 1.25rem;
    overflow-wrap: break-word;
  }
  .btn-row { width: 100%; }
  .btn-row .btn { width: auto; flex: 1 1 200px; min-width: 0; max-width: 100%; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* --------------------------------------------------------------------------
   22. Back-to-top
   -------------------------------------------------------------------------- */
.go-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 89;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--navy-800); color: #fff;
  border: none; cursor: pointer;
  box-shadow: var(--sh-md);
  opacity: 0; visibility: hidden;
  transform: translateY(10px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s, background-color .2s;
}
.go-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.go-top:hover { background: var(--red-600); }
.go-top svg { width: 20px; height: 20px; }

/* --------------------------------------------------------------------------
   23. Print
   -------------------------------------------------------------------------- */
@media print {
  @page { size: Letter; margin: 0.6in; }
  body { color: #000; background: #fff; font-size: 11pt; padding: 0; }
  .site-header, .topbar, .callbar, .go-top, .site-footer, .cta-band,
  .hero__float, .nav__toggle { display: none !important; }
  .hero, .page-hero, .section--dark { background: #fff !important; color: #000 !important; }
  .hero h1, .page-hero h1, .section--dark h2 { color: #000 !important; }
  .hero__lead, .page-hero p { color: #333 !important; }
  a { color: #000; text-decoration: underline; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; color: #555; }
  .card, .pcard, .post-card { break-inside: avoid; box-shadow: none; border: 1px solid #bbb; }
  .section { padding-block: 0.4in; }
  .reveal { opacity: 1 !important; transform: none !important; }
}
