/* ==========================================================================
   Deans Computer Services
   Core stylesheet. Navy + white, hand-built. No framework.
   ========================================================================== */

/* -----  Design tokens  --------------------------------------------------- */
:root {
  /* Brand */
  --navy-900: #06122b;
  --navy-800: #0a1c3f;
  --navy-700: #0e2552;
  --navy-600: #14336e;
  --navy-500: #1c4493;
  --blue-500: #2766d6;
  --blue-400: #3d82f0;
  --sky-300:  #6fa9f7;
  --sky-100:  #d6e6ff;

  /* Amber Vault (gold) */
  --gold-50:  #fff6e2;
  --gold-300: #f3cf63;
  --gold-400: #e7b53a;
  --gold-500: #d59b1e;
  --gold-600: #b27a09;

  /* Neutrals */
  --ink:      #0b1530;
  --slate:    #43506b;
  --muted:    #6a778f;
  --line:     #e4e9f2;
  --cloud:    #f4f7fc;
  --cloud-2:  #eef3fb;
  --white:    #ffffff;

  /* Effects, soft, layered, refined */
  --shadow-sm: 0 1px 2px rgba(11, 21, 48, .04), 0 2px 4px rgba(11, 21, 48, .04);
  --shadow-md: 0 2px 6px rgba(11, 21, 48, .04), 0 12px 28px rgba(11, 21, 48, .06);
  --shadow-lg: 0 6px 16px rgba(10, 28, 63, .05), 0 28px 56px rgba(10, 28, 63, .11);
  --shadow-blue: 0 10px 24px rgba(39, 102, 214, .20);
  --ring: 0 0 0 4px rgba(61, 130, 240, .15);

  --grad-navy: linear-gradient(165deg, #071530 0%, #0a1c3f 55%, #0e2552 100%);
  --grad-blue: linear-gradient(135deg, var(--blue-500) 0%, var(--blue-400) 100%);
  --grad-gold: linear-gradient(135deg, var(--gold-400) 0%, var(--gold-500) 55%, var(--gold-600) 100%);
  --shadow-gold: 0 18px 40px rgba(213, 155, 30, .32);

  /* Type */
  --font-head: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;

  /* Geometry */
  --radius-sm: 10px;
  --radius:    16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --maxw: 1200px;
  --gutter: clamp(20px, 5vw, 64px);

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* -----  Reset  ----------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.1; font-weight: 700; letter-spacing: -.02em; color: var(--ink); }
::selection { background: var(--navy-600); color: #fff; }

/* -----  Layout helpers  -------------------------------------------------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 128px); position: relative; }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.section--cloud { background: var(--cloud); }
.section--navy { background: var(--grad-navy); color: #fff; }
.section--navy h1, .section--navy h2, .section--navy h3 { color: #fff; }

.grid { display: grid; gap: clamp(20px, 3vw, 32px); }
.grid > *, .split > * { min-width: 0; }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }

.center { text-align: center; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--slate); }
.section--navy .lead { color: rgba(255,255,255,.78); }

/* Section heading block */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0;
  font-family: var(--font-head); font-weight: 600; font-size: .8rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--blue-500);
  margin-bottom: 18px;
}
.eyebrow--center { justify-content: center; }
.section--navy .eyebrow { color: var(--sky-300); }

.h-block { max-width: 720px; }
.h-block.center { margin-inline: auto; }
.title { font-size: clamp(2rem, 4.2vw, 3.25rem); font-weight: 800; letter-spacing: -.03em; }
.title-sm { font-size: clamp(1.55rem, 2.7vw, 2.2rem); font-weight: 800; letter-spacing: -.025em; }
.h-block .lead { margin-top: 18px; }

/* -----  Buttons  --------------------------------------------------------- */
.btn {
  --b: var(--ink);
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 600; font-size: .98rem;
  padding: 14px 26px; border-radius: 999px; border: 1.5px solid transparent;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, color .3s, border-color .3s;
  white-space: nowrap; line-height: 1;
}
.btn svg { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover svg { transform: translateX(3px); }
.btn:disabled, .btn[aria-busy="true"] { opacity: .72; cursor: progress; transform: none; box-shadow: none; }

.btn--primary { background: var(--grad-blue); color: #fff; box-shadow: var(--shadow-blue); }
.btn--primary:hover { box-shadow: 0 22px 48px rgba(39, 102, 214, .42); }

.btn--dark { background: var(--navy-800); color: #fff; }
.btn--dark:hover { background: var(--navy-700); box-shadow: var(--shadow-md); }

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--navy-600); background: #fff; box-shadow: var(--shadow-sm); }

.btn--light { background: #fff; color: var(--navy-800); }
.btn--light:hover { box-shadow: 0 18px 40px rgba(0,0,0,.2); }

.btn--outline-light { background: rgba(255,255,255,.06); color: #fff; border-color: rgba(255,255,255,.32); }
.btn--outline-light:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.6); }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.textlink {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-head); font-weight: 600; color: var(--blue-500);
}
.textlink svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.textlink:hover svg { transform: translateX(4px); }

/* =====  HEADER / NAV  ==================================================== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.nav {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center;
  height: 80px; gap: clamp(10px, 1.4vw, 20px);
}
.nav > nav { justify-self: center; min-width: 0; }
.nav__menu { max-width: 100%; }

/* Brand mark */
.brand {
  display: inline-flex; align-items: center; justify-content: flex-start;
  flex-shrink: 0; line-height: 1; padding-block: 4px;
}
.brand__logo {
  height: clamp(44px, 3.7vw, 52px); width: auto; display: block;
  filter: none; transition: filter .35s var(--ease), transform .35s var(--ease);
}
.brand:hover .brand__logo { transform: translateY(-1px); }
.scrolled .brand__logo,
body.menu-open .brand__logo,
body.theme-amber .site-header:not(.scrolled) .brand__logo {
  filter: brightness(0) saturate(100%) invert(9%) sepia(45%) saturate(1893%) hue-rotate(202deg) brightness(94%) contrast(103%);
}
.footer .brand__logo { filter: none; }

/* Desktop menu */
.nav__menu { display: flex; align-items: center; justify-content: center; gap: clamp(0px, 0.2vw, 3px); }
.nav__cta-li { display: none; }
.nav__menu > li { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: 5px;
  font-family: var(--font-head); font-weight: 600; font-size: .9rem; letter-spacing: -.01em;
  color: rgba(255,255,255,.76); padding: 8px 11px; border-radius: 99px;
  white-space: nowrap; transition: color .22s var(--ease), background .22s var(--ease);
}
.nav__link:hover { color: #fff; background: rgba(255,255,255,.09); }
.nav__link.active { background: rgba(255,255,255,.13); color: #fff; }
.scrolled .nav__link { color: var(--slate); }
.scrolled .nav__link:hover { color: var(--navy-800); background: var(--cloud); }
.scrolled .nav__link.active { color: var(--navy-800); background: var(--cloud-2); }
.nav__link > svg { width: 11px; height: 11px; opacity: .5; margin-top: 1px; transition: transform .3s var(--ease); }
.has-drop:hover .nav__link > svg { transform: rotate(180deg); }

/* Dropdown */
.dropdown {
  position: absolute; top: calc(100% + 13px); left: 50%; transform: translateX(-50%) translateY(8px);
  min-width: 320px; background: #fff; border: 1px solid var(--line);
  border-radius: 18px; box-shadow: 0 26px 64px rgba(10,28,63,.20), 0 4px 12px rgba(10,28,63,.08); padding: 9px;
  opacity: 0; visibility: hidden; transition: opacity .26s var(--ease), transform .26s var(--ease);
}
.dropdown--wide { min-width: min(384px, calc(100vw - 40px)); }
.has-drop:hover .dropdown,
.has-drop.is-open .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown::before {
  content: ""; position: absolute; top: -15px; left: 0; right: 0; height: 15px;
}
.dropdown a {
  display: block; padding: 11px 16px; border-radius: 12px; position: relative;
  transition: background .2s, padding-left .22s var(--ease);
}
.dropdown a::before {
  content: ""; position: absolute; left: 7px; top: 50%; transform: translateY(-50%) scaleY(0);
  width: 3px; height: 60%; border-radius: 3px; background: var(--grad-blue); transition: transform .24s var(--ease);
}
.dropdown a:hover { background: var(--cloud); padding-left: 20px; }
.dropdown a:hover::before { transform: translateY(-50%) scaleY(1); }
.dropdown a > span { display: block; }
.dropdown .di-ic {
  width: 38px; height: 38px; border-radius: 10px; flex-shrink: 0;
  display: grid; place-items: center; background: var(--cloud-2); color: var(--blue-500);
}
.dropdown .di-ic svg { width: 19px; height: 19px; }
.dropdown .di-t { display: block; font-family: var(--font-head); font-weight: 700; font-size: .9rem; color: var(--ink); margin-bottom: 2px; }
.dropdown .di-d { display: block; font-size: .78rem; color: var(--muted); line-height: 1.45; }
body.theme-amber .dropdown a::before { background: var(--grad-gold); }

.nav__actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; flex-shrink: 0; justify-self: end; }
.nav__actions .btn { padding-inline: 22px; }
.nav__phone { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 700; color: #fff; font-size: .95rem; transition: color .4s var(--ease); }
.scrolled .nav__phone { color: var(--ink); }
.nav__phone svg { width: 17px; height: 17px; color: var(--blue-500); }

/* Mobile toggle */
.nav__toggle {
  display: none; width: 46px; height: 46px; border-radius: 12px;
  border: 1px solid var(--line); background: #fff; position: relative;
}
.nav__toggle span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.nav__toggle span:nth-child(1) { top: 16px; }
.nav__toggle span:nth-child(2) { top: 22px; }
.nav__toggle span:nth-child(3) { top: 28px; }
body.menu-open .nav__toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.menu-open .nav__toggle span:nth-child(2) { opacity: 0; }
body.menu-open .nav__toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* =====  HERO (shared base)  ============================================== */
.hero {
  position: relative; padding-top: 114px; padding-bottom: clamp(64px, 8vw, 118px);
  background: var(--grad-navy); color: #fff; overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero__grid-overlay {
  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: 56px 56px; mask-image: radial-gradient(ellipse 80% 60% at 70% 30%, #000, transparent 80%);
}
.orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .22; }
.orb--1 { width: 440px; height: 440px; background: radial-gradient(circle, #2766d6, transparent 70%); top: -140px; right: -100px; }
.orb--2 { width: 360px; height: 360px; background: radial-gradient(circle, #3d82f0, transparent 70%); bottom: -160px; left: -120px; opacity: .14; }
.hero .container { position: relative; z-index: 2; }
.hero h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); font-weight: 800; letter-spacing: -.035em; color: #fff; }
.hero__sub { font-size: clamp(1.05rem, 1.7vw, 1.3rem); color: rgba(255,255,255,.82); max-width: 560px; margin-top: 22px; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 26px;
  padding: 8px 16px 8px 8px; border-radius: 999px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
  font-size: .85rem; font-weight: 500; backdrop-filter: blur(6px);
}
.hero__badge b { background: #fff; color: var(--navy-800); font-family: var(--font-head); font-weight: 700; font-size: .72rem; padding: 4px 10px; border-radius: 999px; letter-spacing: .04em; }

/* =====  CARDS  ========================================================== */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 32px; transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
  position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--cloud-2); }
.card__ic {
  width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center;
  background: var(--cloud-2); color: var(--blue-500); margin-bottom: 22px;
  transition: background .4s var(--ease), color .4s var(--ease);
}
.card__ic svg { width: 27px; height: 27px; }
.card:hover .card__ic { background: var(--grad-blue); color: #fff; }
.card h3 { font-size: 1.28rem; margin-bottom: 10px; }
.card p { color: var(--slate); font-size: .98rem; }
.card .textlink { margin-top: 18px; }
.card__num { position: absolute; top: 24px; right: 28px; font-family: var(--font-head); font-weight: 800; font-size: 2.6rem; color: var(--cloud-2); line-height: 1; }

/* feature list inside cards */
.ticks { display: grid; gap: 11px; margin-top: 18px; }
.ticks li { display: flex; gap: 11px; align-items: flex-start; color: var(--slate); font-size: .96rem; }
.ticks li svg { width: 20px; height: 20px; color: var(--blue-500); flex-shrink: 0; margin-top: 2px; }
.section--navy .ticks li { color: rgba(255,255,255,.82); }
.section--navy .ticks li svg { color: var(--sky-300); }

/* =====  STATS  ========================================================== */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 40px); }
.stat__num { font-family: var(--font-head); font-weight: 800; font-size: clamp(2.4rem, 5vw, 3.4rem); letter-spacing: -.03em; line-height: 1; background: linear-gradient(120deg, var(--navy-600), var(--blue-400)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section--navy .stat__num { background: linear-gradient(120deg, #fff, var(--sky-300)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat__label { margin-top: 10px; color: var(--muted); font-weight: 500; font-size: .95rem; }
.section--navy .stat__label { color: rgba(255,255,255,.7); }
.stat { position: relative; padding-left: 22px; }
.stat::before { content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 3px; border-radius: 3px; background: var(--grad-blue); }

/* =====  PARTNER LOGOS  =================================================== */
.partner-strip {
  padding-block: 30px; border-block: 1px solid var(--line); background: #fff; overflow: hidden;
}
.partner-strip .container { overflow: hidden; }
.partner-strip__eyebrow {
  color: var(--muted); font-weight: 700; font-size: .82rem; letter-spacing: .12em; line-height: 1.35;
  text-transform: uppercase; overflow-wrap: anywhere;
}
.partner-carousel {
  width: 100%; max-width: 100%; margin-top: 22px; overflow: hidden; contain: layout paint;
}
.partner-track {
  display: flex; width: max-content; min-width: max-content; animation: partner-scroll 46s linear infinite;
}
.partner-carousel:hover .partner-track,
.partner-carousel:focus-within .partner-track {
  animation-play-state: paused;
}
.partner-set {
  flex: 0 0 auto; display: grid; grid-auto-flow: column; grid-auto-columns: 182px; align-items: stretch; gap: 14px; padding-right: 14px;
}
.partner-logo {
  width: 100%; min-width: 0; min-height: 142px; padding: 17px 14px 15px; border-radius: var(--radius); background: linear-gradient(180deg, #fff 0%, #fbfdff 100%);
  border: 1px solid var(--line); box-shadow: var(--shadow-sm); text-decoration: none;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.partner-logo:hover {
  transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: rgba(37,99,235,.28);
}
.partner-logo--dark,
.partner-logo--iplicit {
  background: linear-gradient(180deg, #fff 0%, #fbfdff 100%); border-color: var(--line);
}
.partner-logo--dark .partner-logo__name,
.partner-logo--iplicit .partner-logo__name {
  color: var(--navy-700);
}
.partner-logo__mark {
  width: 100%; height: 52px; display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.partner-logo__mark img {
  max-width: 148px; max-height: 52px; width: auto; height: auto; object-fit: contain; filter: saturate(1.04);
}
.partner-logo--hornet .partner-logo__mark img {
  width: 152px; max-width: 152px; max-height: none; transform: translateY(-5px); filter: drop-shadow(0 1px 1px rgba(6,18,43,.28));
}
.partner-logo--hornet .partner-logo__mark {
  height: 45px; align-items: flex-start;
}
.partner-logo--amber .partner-logo__mark {
  height: 66px; align-items: flex-start;
}
.partner-logo--amber .partner-logo__mark img {
  width: 166px; max-width: 166px; max-height: none; transform: translateY(-1px);
}
.partner-logo--iplicit .partner-logo__mark img {
  filter: brightness(0) saturate(100%) invert(22%) sepia(93%) saturate(1742%) hue-rotate(195deg) brightness(90%) contrast(93%);
}
.partner-logo__name {
  min-height: 2.3em; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 800; font-size: .76rem; line-height: 1.15;
  color: var(--navy-700); text-align: center;
}
@keyframes partner-scroll { to { transform: translateX(-50%); } }
.brand-wordmark {
  font-family: var(--font-head); font-size: 1.45rem; font-weight: 800; letter-spacing: -.04em;
  color: var(--navy-700); line-height: 1;
}
.brand-panel__logo .brand-wordmark { font-size: clamp(1.45rem, 2.6vw, 2.1rem); }
.brand-wordmark--iplicit { color: #2f62d0; }
.brand-wordmark--exchequer { color: #536172; }
.brand-wordmark--pegasus { color: #1289c9; }
.brand-wordmark--intact { color: #e2a31a; }
.brand-wordmark--amber { color: #d59b1e; }
.brand-wordmark--hornet { color: #202326; }
.brand-wordmark--eset { color: #0096a1; }
.brand-wordmark--veeam { color: #00b336; }

/* =====  SPLIT (image + text)  =========================================== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split--rev .split__media { order: 2; }
.split__media {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 420px;
  background: var(--grad-navy); box-shadow: var(--shadow-lg);
}
.split__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.split__media--team-photo { aspect-ratio: 1064 / 720; min-height: 0; }
.split__media--team-photo img { object-position: center 56%; }

/* Placeholder visual that looks intentional with no photo */
.media-illustration { position: absolute; inset: 0; display: grid; place-items: center; overflow: hidden; }
.media-illustration::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px); background-size: 40px 40px; }
.media-illustration svg { width: 60%; max-width: 280px; opacity: .92; position: relative; z-index: 1; }
.media-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.media-photo--top { object-position: center top; }
.media-photo--wide { object-position: center; }
.brand-panel {
  position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; justify-content: center; gap: 20px;
  padding: clamp(26px, 4vw, 44px); background:
    radial-gradient(circle at 20% 10%, rgba(111,169,247,.26), transparent 34%),
    linear-gradient(145deg, rgba(255,255,255,.08), rgba(255,255,255,.02));
}
.brand-panel--light { background: linear-gradient(145deg, #fff, #eef4ff); }
.brand-panel--gold { background: linear-gradient(145deg, #fff9e8, #f1bd43); }
.brand-panel__logos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.brand-panel__logo {
  min-height: 96px; border-radius: 18px; background: #fff; border: 1px solid rgba(228,233,242,.9);
  display: grid; place-items: center; padding: 18px; box-shadow: var(--shadow-sm);
}
.brand-panel__logo strong { font-family: var(--font-head); color: var(--navy-700); font-weight: 800; }
.brand-panel__logo--wide { grid-column: 1 / -1; }
.split__media .brand-panel__logo img {
  position: static; width: auto; height: auto; max-width: 154px; max-height: 54px; object-fit: contain;
}
.brand-panel__copy { color: #fff; max-width: 440px; }
.brand-panel--light .brand-panel__copy { color: var(--ink); }
.brand-panel__copy b { display: block; font-family: var(--font-head); font-size: clamp(1.25rem, 2vw, 1.65rem); line-height: 1.15; }
.brand-panel__copy span { display: block; margin-top: 8px; color: rgba(255,255,255,.7); font-size: .94rem; line-height: 1.55; }
.brand-panel--light .brand-panel__copy span { color: var(--slate); }
.workflow-panel {
  position: absolute; inset: 0; z-index: 2; display: grid; align-content: center; gap: 14px;
  padding: clamp(26px, 4vw, 42px); background: linear-gradient(145deg, rgba(255,255,255,.08), rgba(255,255,255,.02));
}
.workflow-window { border-radius: 18px; overflow: hidden; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); box-shadow: var(--shadow-md); }
.workflow-window__top { height: 42px; display: flex; gap: 8px; align-items: center; padding: 0 15px; border-bottom: 1px solid rgba(255,255,255,.12); }
.workflow-window__top span { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.44); }
.workflow-window__body { padding: 20px; display: grid; gap: 11px; }
.workflow-row { display: grid; grid-template-columns: 1fr 1.4fr .7fr; gap: 10px; align-items: center; }
.workflow-row i { height: 12px; border-radius: 999px; background: rgba(255,255,255,.28); }
.workflow-row i:nth-child(2) { background: rgba(111,169,247,.7); }
.workflow-pill-row { display: flex; flex-wrap: wrap; gap: 10px; }
.workflow-pill { padding: 9px 12px; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.16); color: #fff; font-family: var(--font-head); font-size: .78rem; font-weight: 700; }
/* =====  TIMELINE  ======================================================= */
.timeline { position: relative; display: grid; gap: 8px; max-width: 820px; margin-inline: auto; }
.timeline::before { content: ""; position: absolute; left: 27px; top: 14px; bottom: 14px; width: 2px; background: linear-gradient(var(--blue-400), var(--cloud-2)); }
.tl-item { display: grid; grid-template-columns: 56px 1fr; gap: 24px; align-items: flex-start; padding: 18px 0; position: relative; }
.tl-dot { width: 56px; height: 56px; border-radius: 16px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; color: var(--blue-500); box-shadow: var(--shadow-sm); position: relative; z-index: 1; font-size: .9rem; }
.tl-body h3 { font-size: 1.18rem; margin-bottom: 6px; }
.tl-body p { color: var(--slate); font-size: .97rem; }

/* =====  PROCESS STEPS  ================================================== */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 32px); counter-reset: step; }
.step { position: relative; padding: 32px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); }
.step__n { width: 50px; height: 50px; border-radius: 14px; background: var(--grad-navy); color: #fff; display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; font-size: 1.2rem; margin-bottom: 20px; }
.step h3 { font-size: 1.22rem; margin-bottom: 8px; }
.step p { color: var(--slate); font-size: .96rem; }
.section--navy .step { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.1); }

/* =====  TESTIMONIAL  ==================================================== */
.quote-card { max-width: 880px; margin-inline: auto; text-align: center; }
.quote-card .stars { display: flex; gap: 4px; justify-content: center; color: #ffb020; margin-bottom: 24px; }
.quote-card .stars svg { width: 22px; height: 22px; }
.quote-card blockquote { font-family: var(--font-head); font-weight: 600; font-size: clamp(1.3rem, 2.8vw, 2rem); line-height: 1.35; letter-spacing: -.02em; }
.section--navy .quote-card blockquote { color: #fff; }
.quote-card .author { margin-top: 28px; display: flex; align-items: center; gap: 14px; justify-content: center; }
.quote-card .author .av { width: 50px; height: 50px; border-radius: 50%; background: var(--grad-blue); display: grid; place-items: center; color: #fff; font-family: var(--font-head); font-weight: 700; }
.quote-card .author .meta { text-align: left; }
.quote-card .author .meta b { font-family: var(--font-head); display: block; }
.quote-card .author .meta span { font-size: .88rem; color: var(--muted); }
.section--navy .quote-card .author .meta span { color: rgba(255,255,255,.65); }

/* =====  CTA BAND  ======================================================= */
.cta-band { position: relative; border-radius: var(--radius-xl); padding: clamp(40px, 6vw, 72px); background: var(--grad-navy); color: #fff; overflow: hidden; box-shadow: var(--shadow-lg); }
.cta-band .orb { opacity: .4; }
.cta-band__inner { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; font-size: clamp(1.7rem, 3.4vw, 2.6rem); max-width: 560px; }
.cta-band p { color: rgba(255,255,255,.78); margin-top: 14px; max-width: 520px; }

/* =====  CONTACT  ======================================================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.info-card { display: flex; gap: 16px; padding: 22px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; transition: box-shadow .3s, transform .3s; }
.info-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.info-card .ic { width: 50px; height: 50px; border-radius: 13px; background: var(--cloud-2); color: var(--blue-500); display: grid; place-items: center; flex-shrink: 0; }
.info-card .ic svg { width: 23px; height: 23px; }
.info-card h4 { font-family: var(--font-head); font-size: 1.02rem; margin-bottom: 3px; }
.info-card p, .info-card a { color: var(--slate); font-size: .96rem; }
.info-card a:hover { color: var(--blue-500); }

.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(26px, 4vw, 40px); box-shadow: var(--shadow-md); }
.field { margin-bottom: 18px; }
.field label { display: block; font-family: var(--font-head); font-weight: 600; font-size: .9rem; margin-bottom: 8px; color: var(--ink); }
.field input, .field textarea, .field select {
  width: 100%; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 12px;
  font: inherit; font-size: .97rem; color: var(--ink); background: var(--cloud); transition: border-color .25s, box-shadow .25s, background .25s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--blue-400); background: #fff; box-shadow: var(--ring); }
.field textarea { resize: vertical; min-height: 130px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field--trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }
.form__note { min-height: 1.45em; margin-top: 16px; font-size: .92rem; color: var(--blue-500); font-weight: 600; opacity: 0; transition: opacity .3s; }
.form__note.show { opacity: 1; }
.form__note.is-error { color: #b42318; }
.form__note.is-success { color: var(--blue-500); }

/* =====  FOOTER  ========================================================= */
.footer { background: var(--navy-900); color: rgba(255,255,255,.66); padding-top: clamp(56px, 7vw, 88px); position: relative; overflow: hidden; }
.footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: clamp(28px, 4vw, 56px); padding-bottom: 48px; }
.footer__about { margin-top: 20px; font-size: .95rem; max-width: 320px; line-height: 1.7; }
.footer h4 { color: #fff; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 20px; font-weight: 700; }
.footer__links { display: grid; gap: 12px; }
.footer__links a { color: rgba(255,255,255,.66); font-size: .96rem; transition: color .25s, padding-left .25s; }
.footer__links a:hover { color: #fff; padding-left: 4px; }
.footer__contact li { display: flex; gap: 12px; margin-bottom: 16px; font-size: .95rem; align-items: flex-start; }
.footer__contact svg { width: 18px; height: 18px; color: var(--sky-300); flex-shrink: 0; margin-top: 3px; }
.footer__contact a:hover { color: #fff; }
.footer__contact-link { display: inline-flex; align-items: flex-start; gap: 12px; color: inherit; }
.footer__contact-link svg { margin-top: 3px; }
.socials { display: flex; gap: 12px; margin-top: 22px; }
.socials a { width: 42px; height: 42px; border-radius: 12px; background: rgba(255,255,255,.07); display: grid; place-items: center; color: rgba(255,255,255,.8); transition: background .3s, transform .3s, color .3s; }
.socials a:hover { background: var(--grad-blue); color: #fff; transform: translateY(-3px); }
.socials svg { width: 19px; height: 19px; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding-block: 26px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .87rem; }
.footer__bottom a { color: rgba(255,255,255,.66); }
.footer__bottom a:hover { color: #fff; }
.footer__legal { display: flex; gap: 22px; flex-wrap: wrap; }

/* =====  PHOTO HERO (homepage)  ========================================= */
.hero--photo { background: var(--navy-900); display: flex; align-items: center; min-height: min(88vh, 760px); }
.hero__photo { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 74% center; }
.hero__scrim { position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(96deg, var(--navy-900) 6%, rgba(7,18,43,.88) 32%, rgba(7,18,43,.5) 58%, rgba(7,18,43,.08) 100%); }
.hero--photo .container { position: relative; z-index: 2; width: 100%; }
.hero__stat-row { display: flex; gap: 36px; margin-top: 40px; flex-wrap: wrap; }
.hero__stat b { font-family: var(--font-head); font-weight: 800; font-size: 1.9rem; color: #fff; display: block; line-height: 1; letter-spacing: -.02em; }
.hero__stat span { font-size: .86rem; color: rgba(255,255,255,.66); margin-top: 6px; display: block; }
.hero__stat + .hero__stat { padding-left: 36px; border-left: 1px solid rgba(255,255,255,.16); }

/* =====  AMBER VAULT (gold theme)  ====================================== */
.gold .eyebrow { color: var(--gold-600); }
.hero.gold .eyebrow, .section--navy.gold .eyebrow { color: var(--gold-300); }
.btn--gold { background: linear-gradient(180deg, #ecbb44 0%, #d29a1c 100%); color: #2a1d00; box-shadow: var(--shadow-gold); }
.btn--gold:hover { box-shadow: 0 22px 48px rgba(213,155,30,.46); }
.hero.gold .hero__badge { border-color: rgba(243,207,99,.3); }
.hero.gold .hero__badge b { background: var(--grad-gold); color: #2a1d00; }
.hero.gold .orb--1 { background: radial-gradient(circle, var(--gold-400), transparent 70%); opacity: .5; }
.hero.gold .orb--2 { background: radial-gradient(circle, var(--gold-500), transparent 70%); opacity: .32; }
.gold .stat__num { background: linear-gradient(120deg, var(--gold-600), var(--gold-400)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section--navy.gold .stat__num { background: linear-gradient(120deg, #fff, var(--gold-300)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.gold .stat::before { background: var(--grad-gold); }
.gold .card__ic { background: var(--gold-50); color: var(--gold-600); }
.gold .card:hover .card__ic { background: var(--grad-gold); color: #2a1d00; }
.gold .card__num { color: var(--gold-50); }
.gold .ticks li svg { color: var(--gold-500); }
.section--navy.gold .ticks li svg { color: var(--gold-300); }
.gold .textlink { color: var(--gold-600); }

/* Solid gold band */
.section--gold { background: var(--grad-gold); color: #3a2700; overflow: hidden; }
.section--gold::before { content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.16) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.16) 1px, transparent 1px);
  background-size: 54px 54px; mask-image: radial-gradient(ellipse 70% 70% at 80% 20%, #000, transparent 75%); opacity: .5; }
.section--gold > .container { position: relative; z-index: 1; }
.section--gold h1, .section--gold h2, .section--gold h3 { color: #281a00; }
.section--gold .eyebrow { color: #7a5200; }
.section--gold .lead { color: #5b3f00; }
.section--gold .stat__num { background: none; -webkit-text-fill-color: #281a00; color: #281a00; }
.section--gold .stat__label { color: #6a4a00; }
.section--gold .stat::before { background: #281a00; opacity: .8; }
.av-wordmark { font-family: var(--font-head); font-weight: 800; letter-spacing: -.02em; }
.av-wordmark .amber { color: var(--gold-400); }

/* =====  SPLIT HERO (interior pages)  =================================== */
.hero__inner { display: grid; grid-template-columns: 1.06fr .94fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
.hero__panel { position: relative; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-lg); padding: clamp(22px, 2.6vw, 30px); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: var(--shadow-lg); }
.hero__panel h2 { color: #fff; font-size: 1rem; display: flex; align-items: center; gap: 11px; margin-bottom: 18px; }
.hero__panel h2 .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--grad-blue); box-shadow: 0 0 0 4px rgba(61,130,240,.22); }
.gold .hero__panel h2 .dot { background: var(--grad-gold); box-shadow: 0 0 0 4px rgba(231,181,58,.22); }
.hp-row { display: flex; align-items: center; gap: 14px; padding: 13px 4px; border-bottom: 1px solid rgba(255,255,255,.09); }
.hp-row:last-child { border-bottom: none; }
.hp-row > svg { width: 20px; height: 20px; color: var(--sky-300); flex-shrink: 0; }
.hp-row b { color: #fff; font-family: var(--font-head); font-weight: 600; font-size: .98rem; }
.hp-row .v { margin-left: auto; font-family: var(--font-head); font-weight: 800; font-size: 1.2rem;
  background: linear-gradient(120deg, #fff, var(--sky-300)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hp-tile { display: flex; flex-direction: column; gap: 12px; padding: 16px; border-radius: 14px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); transition: background .3s, transform .3s; }
.hp-tile:hover { background: rgba(255,255,255,.11); transform: translateY(-3px); }
.hp-tile svg { width: 24px; height: 24px; color: var(--sky-300); }
.hp-tile span { color: #fff; font-family: var(--font-head); font-weight: 600; font-size: .9rem; }
.hp-chip { display: flex; align-items: center; gap: 13px; padding: 13px 15px; border-radius: 12px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); margin-bottom: 10px; }
.hp-chip:last-child { margin-bottom: 0; }
.hp-chip .n { width: 30px; height: 30px; border-radius: 8px; background: var(--grad-blue); color: #fff; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: .82rem; flex-shrink: 0; }
.hp-chip b { color: #fff; font-family: var(--font-head); font-weight: 600; font-size: .95rem; }
.hp-chip span { color: rgba(255,255,255,.55); font-size: .8rem; margin-left: auto; }
@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 460px) {
  .hp-grid { grid-template-columns: 1fr; }
}

/* =====  HERO VARIANTS (per-page uniqueness)  =========================== */
/* Centered editorial hero (Why DCS) */
.hero--center { text-align: center; }
.hero--center .container > div { max-width: 880px; margin-inline: auto; }
.hero--center .hero__badge { margin-inline: auto; }
.hero--center .btn-row { justify-content: center; }
.hero__stats-inline { display: flex; justify-content: center; gap: clamp(28px, 5vw, 64px); margin-top: 48px; flex-wrap: wrap; }
.hero__stats-inline .si { text-align: center; }
.hero__stats-inline .si b { display: block; font-family: var(--font-head); font-weight: 800; font-size: clamp(2.2rem, 4vw, 3rem); letter-spacing: -.03em; line-height: 1;
  background: linear-gradient(120deg, #fff, var(--sky-300)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero__stats-inline .si span { color: rgba(255,255,255,.66); font-size: .9rem; margin-top: 8px; display: block; }

/* Left text + horizontal chip row (IT Services) */
.hero__chips { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; max-width: 720px; }
.hero__chips .chip { display: inline-flex; align-items: center; gap: 9px; padding: 11px 18px; border-radius: 999px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); color: #fff; font-family: var(--font-head); font-weight: 600; font-size: .9rem; backdrop-filter: blur(6px); transition: background .3s, transform .3s; }
.hero__chips .chip:hover { background: rgba(255,255,255,.14); transform: translateY(-2px); }
.hero__chips .chip svg { width: 16px; height: 16px; color: var(--sky-300); }

/* Left text + bottom tile strip (Business) */
.hero__strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(132px, 1fr)); gap: 12px; margin-top: 44px; }
.hero__strip .ht { display: flex; flex-direction: column; gap: 10px; padding: 16px; border-radius: 14px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); transition: background .3s, transform .3s; }
.hero__strip .ht:hover { background: rgba(255,255,255,.12); transform: translateY(-3px); }
.hero__strip .ht svg { width: 22px; height: 22px; color: var(--sky-300); }
.hero__strip .ht span { color: #fff; font-family: var(--font-head); font-weight: 600; font-size: .82rem; }

/* Accounting: 2x2 platform tile grid panel */
.hero__platforms { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hero__platforms .pf { padding: 20px; border-radius: 16px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); transition: background .3s, transform .3s; }
.hero__platforms .pf:hover { background: rgba(255,255,255,.12); transform: translateY(-3px); }
.hero__platforms .pf b { display: block; font-family: var(--font-head); font-weight: 700; color: #fff; font-size: 1.02rem; margin-bottom: 4px; }
.hero__platforms .pf span { font-size: .82rem; color: rgba(255,255,255,.6); }

/* =====  AMBER VAULT (light gold + white theme)  ======================== */
body.theme-amber .site-header:not(.scrolled) .nav__link { color: var(--slate); }
body.theme-amber .site-header:not(.scrolled) .nav__link:hover { color: var(--gold-600); }
body.theme-amber .nav__link.active, body.theme-amber .site-header:not(.scrolled) .nav__link.active { background: var(--gold-50); color: var(--gold-600); }
body.theme-amber .site-header:not(.scrolled) .nav__phone { color: var(--ink); }
body.theme-amber .nav__phone svg { color: var(--gold-500); }
body.theme-amber .btn--primary { background: linear-gradient(180deg, #ecbb44 0%, #d29a1c 100%); color: #2a1d00; box-shadow: var(--shadow-gold); }
body.theme-amber .btn--primary:hover { box-shadow: 0 22px 48px rgba(213,155,30,.45); }

.av-hero { position: relative; padding-top: 114px; padding-bottom: clamp(56px, 7vw, 104px); overflow: hidden; color: var(--ink);
  background: radial-gradient(130% 120% at 82% -10%, #fdeecb 0%, #fff8ec 42%, #ffffff 100%); }
.av-hero__bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.av-hero__bg .orb { opacity: .26; }
.av-hero__bg .orb--1 { width: 440px; height: 440px; background: radial-gradient(circle, var(--gold-400), transparent 70%); top: -130px; right: -80px; }
.av-hero__bg .orb--2 { width: 340px; height: 340px; background: radial-gradient(circle, var(--gold-300), transparent 70%); bottom: -150px; left: -110px; opacity: .16; }
.av-hero__grid { position: absolute; inset: 0;
  background-image: linear-gradient(rgba(213,155,30,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(213,155,30,.06) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(ellipse 70% 60% at 75% 25%, #000, transparent 78%); }
.av-hero .container { position: relative; z-index: 2; }
.av-hero h1 { color: var(--ink); font-size: clamp(2.3rem, 5.2vw, 3.9rem); }
.av-hero .hero__sub { color: var(--slate); }
.av-hero .hero__badge { background: #fff; border: 1px solid var(--line); color: var(--slate); box-shadow: var(--shadow-sm); }
.av-hero .hero__badge b { background: var(--grad-gold); color: #2a1d00; }
.av-logo-lockup { display: inline-flex; align-items: center; gap: 15px; margin-bottom: 28px; }
.av-logo-lockup .av-mark { width: 58px; height: 58px; border-radius: 17px; background: var(--grad-gold); display: grid; place-items: center; box-shadow: 0 10px 24px rgba(213,155,30,.34), inset 0 1px 0 rgba(255,255,255,.4); }
.av-logo-lockup .av-mark svg { width: 30px; height: 30px; color: #2a1d00; }
.av-logo-lockup .av-name { font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; letter-spacing: -.025em; color: var(--ink); line-height: 1.04; }
.av-logo-lockup .av-name > span { color: var(--gold-500); }
.av-logo-lockup .av-name em { display: block; font-style: normal; font-weight: 600; font-size: .64rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-top: 5px; }

.section--cream { background: linear-gradient(180deg, #fffaf0 0%, #fef6e7 100%); }
.text-amber { background: linear-gradient(120deg, var(--gold-600), var(--gold-400)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* Amber stat tile (in hero / intro) */
.av-stat-card { background: #fff; border: 1px solid var(--gold-300); border-radius: var(--radius-lg); padding: 28px; box-shadow: 0 18px 50px rgba(213,155,30,.16); }
.av-hero-panel {
  position: relative; min-height: 470px; border-radius: var(--radius-xl); overflow: hidden;
  background: #251701; border: 1px solid rgba(122,82,0,.25); box-shadow: var(--shadow-lg);
}
.av-hero-panel > img { width: 100%; height: 100%; min-height: 470px; object-fit: cover; display: block; }
.av-hero-panel::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(42,29,0,.08) 30%, rgba(42,29,0,.68));
}
.av-stat-card--float {
  position: absolute; left: 24px; right: 24px; bottom: 24px; z-index: 2;
  background: rgba(255,255,255,.92); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
.av-stat-card .row { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--gold-50); }
.av-stat-card .row:last-child { border-bottom: none; }
.av-stat-card .row .ic { width: 42px; height: 42px; border-radius: 11px; background: var(--gold-50); color: var(--gold-600); display: grid; place-items: center; flex-shrink: 0; }
.av-stat-card .row .ic svg { width: 21px; height: 21px; }
.av-stat-card .row b { font-family: var(--font-head); font-weight: 700; color: var(--ink); }
.av-stat-card .row .v { margin-left: auto; font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; color: var(--gold-600); }
.av-action-grid { align-items: stretch; }
.av-action-card {
  display: grid; grid-template-columns: 180px 1fr; gap: 24px; align-items: center;
  padding: clamp(22px, 3vw, 34px); border-radius: var(--radius-xl); background: #fff;
  border: 1px solid rgba(213,155,30,.22); box-shadow: 0 18px 50px rgba(213,155,30,.12);
}
.av-action-card img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: contain; padding: 14px;
  border-radius: 22px; background: linear-gradient(135deg, #fff8e5, #f3cf63);
}
.av-action-card .eyebrow { color: var(--gold-600); }
.av-action-card .title-sm { color: var(--gold-600); }
.av-action-card p { color: var(--slate); margin: 14px 0 22px; }

/* =====  AREAS WE COVER  ================================================= */
.areas-grid { display: flex; flex-wrap: wrap; gap: 12px; }
.areas-grid--compact { margin-top: 18px; }
.area { display: inline-flex; align-items: center; gap: 9px; padding: 12px 20px; border-radius: 999px; background: #fff; border: 1px solid var(--line);
  font-family: var(--font-head); font-weight: 600; font-size: .95rem; color: var(--ink); box-shadow: var(--shadow-sm); transition: transform .3s, box-shadow .3s, border-color .3s; }
.area:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--blue-400); }
.area svg { width: 16px; height: 16px; color: var(--blue-500); }
.section--navy .area { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); color: #fff; box-shadow: none; }
.section--navy .area svg { color: var(--sky-300); }
.section--navy .area:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.3); }
.coverage-map {
  position: relative; overflow: hidden; border-radius: var(--radius-xl); border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.06); box-shadow: 0 28px 70px rgba(0,0,0,.25);
}
.coverage-map img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.coverage-map::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(6,18,43,0) 48%, rgba(6,18,43,.18));
}
.map-credit {
  position: absolute; right: 12px; bottom: 10px; z-index: 2; padding: 5px 8px; border-radius: 8px;
  background: rgba(255,255,255,.88); color: #38506f; font-size: .66rem; font-weight: 700; line-height: 1;
}
.map-label {
  position: absolute; z-index: 2; display: inline-block; padding: 11px 14px; border-radius: 14px;
  background: rgba(255,255,255,.9); color: var(--ink); box-shadow: var(--shadow-md);
  font-family: var(--font-head); font-size: .74rem; font-weight: 800; line-height: 1.2;
}
.map-label b { color: var(--blue-500); font-size: .68rem; }
.map-label--base { top: 12%; right: 7%; }
.map-label--region { left: 7%; bottom: 15%; }
.map-label--uk { right: 8%; bottom: 10%; }

/* =====  TESTIMONIAL GRID  ============================================== */
.tgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 28px); align-items: stretch; }
.tcard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.tcard:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.tcard .stars { display: flex; gap: 3px; color: #ffb020; margin-bottom: 16px; }
.tcard .stars svg { width: 17px; height: 17px; }
.tcard p { color: var(--slate); font-size: .98rem; line-height: 1.6; }
.tcard .who { display: flex; align-items: center; gap: 13px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.tcard .who .av { width: 44px; height: 44px; border-radius: 50%; background: var(--grad-navy); color: #fff; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: .9rem; flex-shrink: 0; }
.tcard .who b { font-family: var(--font-head); font-size: .96rem; display: block; }
.tcard .who span { font-size: .82rem; color: var(--muted); }

/* =====  SECURITY / SKYGUARD LAYERS  ==================================== */
.layers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.layer { display: flex; gap: 16px; padding: 22px; border-radius: var(--radius); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); transition: background .3s, transform .3s; }
.layer:hover { background: rgba(255,255,255,.08); transform: translateY(-3px); }
.layer .li { width: 44px; height: 44px; border-radius: 12px; background: rgba(111,169,247,.16); color: var(--sky-300); display: grid; place-items: center; flex-shrink: 0; }
.layer .li svg { width: 22px; height: 22px; }
.layer h4 { color: #fff; font-family: var(--font-head); font-size: 1.02rem; margin-bottom: 5px; }
.layer p { color: rgba(255,255,255,.66); font-size: .88rem; line-height: 1.5; }

/* =====  RESPONSIVE for new blocks  ===================================== */
@media (max-width: 960px) {
  .hero__strip { grid-template-columns: repeat(3, 1fr); }
  .layers { grid-template-columns: 1fr 1fr; }
  .tgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .av-action-card { grid-template-columns: 140px 1fr; }
}
@media (max-width: 620px) {
  .hero__strip { grid-template-columns: 1fr 1fr; }
  .hero__platforms { grid-template-columns: 1fr; }
  .layers { grid-template-columns: 1fr; }
  .tgrid { grid-template-columns: 1fr; }
  .hero__stats-inline { gap: 24px; }
  .av-action-card { grid-template-columns: 1fr; }
  .av-action-card img { aspect-ratio: 16 / 9; object-fit: contain; }
  .av-hero-panel, .av-hero-panel > img { min-height: 380px; }
  .av-stat-card--float { left: 14px; right: 14px; bottom: 14px; padding: 18px; }
}

/* =====  BLOG  ========================================================== */
.cat-chip { display: inline-flex; font-family: var(--font-head); font-weight: 700; font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; color: var(--blue-500); background: var(--cloud-2); padding: 5px 11px; border-radius: 999px; }
.post-featured { display: grid; grid-template-columns: 1fr 1fr; gap: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.post-featured__media { position: relative; min-height: 340px; background: var(--grad-navy); overflow: hidden; }
.post-featured__media::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 38px 38px; }
.post-featured__media .big-ic { position: absolute; inset: 0; display: grid; place-items: center; }
.post-featured__media .big-ic svg { width: 120px; height: 120px; color: rgba(255,255,255,.16); }
.post-featured__media .tag { position: absolute; top: 22px; left: 22px; z-index: 2; background: rgba(255,255,255,.14); color: #fff; backdrop-filter: blur(6px); }
.post-featured__body { padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; justify-content: center; }
.post-featured__body .date { font-size: .85rem; color: var(--muted); margin: 14px 0; }
.post-featured__body h2 { font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.2; }
.post-featured__body p { color: var(--slate); margin-top: 14px; }

.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 28px); }
.post { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.post:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.post__media { height: 150px; position: relative; background: var(--grad-navy); overflow: hidden; }
.post__media::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 30px 30px; }
.post__media .big-ic { position: absolute; inset: 0; display: grid; place-items: center; }
.post__media .big-ic svg { width: 56px; height: 56px; color: rgba(255,255,255,.22); }
.post__media .tag { position: absolute; top: 14px; left: 14px; z-index: 2; background: rgba(255,255,255,.16); color: #fff; backdrop-filter: blur(6px); }
/* Real featured images cover the card media */
.post-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; transition: transform .5s var(--ease); }
.post:hover .post-img, .post-featured:hover .post-img { transform: scale(1.05); }
.post__media:has(.post-img) .big-ic, .post-featured__media:has(.post-img) .big-ic { display: none; }
.post__media:has(.post-img)::after, .post-featured__media:has(.post-img)::after { background: linear-gradient(180deg, rgba(6,18,43,.12), rgba(6,18,43,.45)); background-image: none; z-index: 1; }
.post-featured__media .tag { z-index: 2; }
.post__body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.post__body .date { font-size: .8rem; color: var(--muted); margin-bottom: 10px; }
.post__body h3 { font-size: 1.12rem; line-height: 1.3; margin-bottom: 10px; }
.post__body p { color: var(--slate); font-size: .93rem; flex: 1; }
.post.is-hidden { display: none; }

.cat-filter { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 0; }
.cf { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--slate); cursor: pointer; transition: background .25s, color .25s, border-color .25s, transform .25s; }
.cf:hover { transform: translateY(-2px); }
.cf.active { background: var(--navy-800); color: #fff; border-color: var(--navy-800); }

.blog-filters { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px; margin-bottom: 48px; }
.date-select-wrap { display: inline-flex; }
.date-select { appearance: none; -webkit-appearance: none; padding: 10px 38px 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2343506b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat right 14px center; background-size: 16px; font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--slate); cursor: pointer; transition: border-color .25s; }
.date-select:hover, .date-select:focus { border-color: var(--blue-500); outline: none; }
.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; }
.posts-empty { text-align: center; color: var(--muted); font-size: .96rem; margin: -16px 0 48px; }

@media (max-width: 960px) { .posts { grid-template-columns: 1fr 1fr; } .post-featured { grid-template-columns: 1fr; } .post-featured__media { min-height: 220px; } }
@media (max-width: 620px) { .posts { grid-template-columns: 1fr; } }

/* =====  SCROLL REVEAL  ================================================== */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal-d="1"] { transition-delay: .08s; }
[data-reveal-d="2"] { transition-delay: .16s; }
[data-reveal-d="3"] { transition-delay: .24s; }
[data-reveal-d="4"] { transition-delay: .32s; }
[data-reveal-d="5"] { transition-delay: .4s; }
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* =====  AMBER VAULT HERO CARD + PRODUCT EXPLORER  ====================== */
.av-logo-img { height: clamp(56px, 7vw, 74px); width: auto; margin-bottom: 22px; filter: drop-shadow(0 8px 18px rgba(213,155,30,.26)); }
.av-hero .eyebrow { margin-bottom: 14px; color: var(--gold-600); }
.av-hero-card { background: #fff; border: 1px solid var(--gold-300); border-radius: var(--radius-xl); padding: clamp(22px,3vw,30px); box-shadow: 0 26px 64px rgba(213,155,30,.18); }
.av-hc-head { display: flex; align-items: center; gap: 14px; padding-bottom: 20px; border-bottom: 1px solid var(--gold-50); margin-bottom: 20px; }
.av-hc-ic { width: 50px; height: 50px; border-radius: 14px; background: var(--grad-gold); display: grid; place-items: center; flex-shrink: 0; box-shadow: var(--shadow-gold); }
.av-hc-ic svg { width: 26px; height: 26px; color: #2a1d00; }
.av-hc-ic--logo { width: 54px; height: 54px; background: #fff; box-shadow: 0 4px 14px rgba(213,155,30,.22); padding: 6px; }
.av-hc-ic--logo img { width: 100%; height: 100%; object-fit: contain; }
.av-hc-head b { display: block; font-family: var(--font-head); font-weight: 800; font-size: 1.08rem; color: var(--ink); }
.av-hc-head span { font-size: .85rem; color: var(--muted); }
.av-hc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.av-hc-stat { padding: 18px; border-radius: 16px; background: var(--gold-50); border: 1px solid #f7e7bf; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.av-hc-stat:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.av-hc-stat b { display: block; font-family: var(--font-head); font-weight: 800; font-size: 1.7rem; letter-spacing: -.02em; color: var(--gold-600); line-height: 1; }
.av-hc-stat span { display: block; margin-top: 6px; font-size: .82rem; color: var(--slate); }

.av-explorer { display: grid; grid-template-columns: minmax(220px, .82fr) 1.18fr; gap: clamp(16px, 2vw, 22px); align-items: stretch; }
.av-tabs { display: flex; flex-direction: column; gap: 8px; }
.av-tab { display: flex; align-items: center; gap: 13px; width: 100%; text-align: left; padding: 15px 17px; border-radius: 15px; border: 1px solid var(--line); background: #fff; font-family: var(--font-head); font-weight: 700; font-size: .98rem; color: var(--slate); cursor: pointer; transition: background .25s, color .25s, border-color .25s, transform .25s; }
.av-tab:hover { transform: translateX(3px); border-color: var(--gold-300); color: var(--ink); }
.av-tab-ic { width: 38px; height: 38px; border-radius: 11px; flex-shrink: 0; display: grid; place-items: center; background: var(--gold-50); color: var(--gold-600); transition: background .25s, color .25s; }
.av-tab-ic svg { width: 20px; height: 20px; }
.av-tab.is-active { background: var(--navy-900); border-color: var(--navy-900); color: #fff; box-shadow: var(--shadow-md); }
.av-tab.is-active .av-tab-ic { background: var(--grad-gold); color: #2a1d00; }
.av-panels { position: relative; background: #fff; border: 1px solid var(--gold-300); border-radius: var(--radius-xl); padding: clamp(28px, 4vw, 44px); box-shadow: 0 26px 64px rgba(213,155,30,.14); display: flex; }
.av-panel { display: none; flex-direction: column; animation: av-fade .4s var(--ease); }
.av-panel.is-active { display: flex; }
@keyframes av-fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.av-panel-ic { width: 64px; height: 64px; border-radius: 18px; background: var(--gold-50); color: var(--gold-600); display: grid; place-items: center; margin-bottom: 22px; }
.av-panel-ic svg { width: 32px; height: 32px; }
.av-panel h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-bottom: 14px; }
.av-panel p { color: var(--slate); font-size: 1.05rem; line-height: 1.62; max-width: 540px; }
.av-panel .ticks { margin-top: 24px; }
@media (max-width: 860px) {
  .av-explorer { grid-template-columns: 1fr; }
  .av-tabs { flex-direction: row; overflow-x: auto; gap: 8px; padding-bottom: 6px; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
  .av-tabs::-webkit-scrollbar { display: none; }
  .av-tab { width: auto; white-space: nowrap; flex-shrink: 0; }
  .av-tab:hover { transform: none; }
}

/* =====  GETTING STARTED / PROCESS (contrast fix on navy)  ============== */
.section--navy .step { background: rgba(255,255,255,.055); border-color: rgba(255,255,255,.13); }
.section--navy .step:hover { background: rgba(255,255,255,.09); transform: translateY(-4px); }
.section--navy .step h3 { color: #fff; }
.section--navy .step p { color: rgba(255,255,255,.74); }
.section--navy .step__n { background: var(--grad-blue); box-shadow: 0 8px 20px rgba(39,102,214,.32); }
.step { transition: transform .35s var(--ease), background .35s var(--ease); }

/* =====  SKYGUARD (home band)  ========================================== */
.skyguard-logo { height: clamp(118px, 11vw, 154px); width: auto; display: block; filter: drop-shadow(0 10px 24px rgba(0,0,0,.3)); }
.sg-pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.sg-pillar { display: flex; gap: 14px; align-items: flex-start; padding: 22px; border-radius: var(--radius); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); transition: transform .3s var(--ease), background .3s var(--ease), border-color .3s; }
.sg-pillar:hover { transform: translateY(-4px); background: rgba(255,255,255,.09); border-color: rgba(111,169,247,.4); }
.sg-pillar .sg-ic { width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0; display: grid; place-items: center; background: rgba(111,169,247,.16); color: var(--sky-300); }
.sg-pillar .sg-ic svg { width: 22px; height: 22px; }
.sg-pillar b { display: block; font-family: var(--font-head); font-weight: 700; color: #fff; font-size: .98rem; margin-bottom: 2px; }
.sg-pillar span { font-size: .82rem; color: rgba(255,255,255,.6); }

/* =====  SINGLE-LINE CHIP CAROUSEL (hero)  ============================== */
.hero__chips { margin-top: 38px; max-width: 100%; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 80%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 80%, transparent); }
.chip-track { display: flex; gap: 12px; width: max-content; animation: chip-scroll 32s linear infinite; }
@keyframes chip-scroll { to { transform: translateX(calc(-50% - 6px)); } }
.hero__chips:hover .chip-track { animation-play-state: paused; }
.hero__chips .chip { flex-shrink: 0; }

/* =====  EXTRA HOVER POLISH  ============================================ */
.textlink { transition: color .25s; }
.media-photo, .split__media img { transition: transform .6s var(--ease); }
.split__media:hover img.media-photo { transform: scale(1.04); }
.footer__links a { transition: color .25s, padding-left .25s var(--ease); }

/* =====  RESPONSIVE  ===================================================== */
@media (max-width: 1080px) {
  .footer__top { grid-template-columns: 1fr 1fr; }
  .sg-pillars { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1100px) {
  .nav__phone { display: none; }
  .nav__actions .btn { display: none; }
  .nav { grid-template-columns: auto 1fr 46px; height: 80px; }
  .nav > nav { justify-self: stretch; }
  .nav__actions { width: 46px; min-width: 46px; justify-self: end; }
  .nav__toggle {
    display: block !important; width: 46px !important; height: 46px !important;
    position: fixed; top: 19px; right: var(--gutter); z-index: 140;
    opacity: 1 !important; visibility: visible !important; pointer-events: auto !important;
    background: rgba(255,255,255,.96) !important; border-color: rgba(228,233,242,.9) !important;
    box-shadow: var(--shadow-md);
  }
  .nav__toggle span { background: var(--navy-900) !important; }
  .cols-3, .cols-4 { grid-template-columns: repeat(2, 1fr); }
  .split, .contact-grid { grid-template-columns: 1fr; }
  .split--rev .split__media { order: 0; }
  .split__media { min-height: 320px; }
  .steps { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }

  /* Mobile menu panel */
  .nav__menu {
    position: fixed; top: 84px; right: var(--gutter); left: var(--gutter); width: auto;
    display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 4px; background: #fff; color: var(--ink);
    padding: 12px; border: 1px solid rgba(218,225,236,.95); border-radius: 18px; box-shadow: 0 30px 70px rgba(6,18,43,.28), 0 8px 20px rgba(6,18,43,.12);
    max-height: calc(100vh - 104px); overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; opacity: 0; visibility: hidden; pointer-events: none;
    transform: translateY(-12px) scale(.97); transform-origin: top right; transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
    backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  }
  body.menu-open .site-header { background: rgba(255,255,255,.92); border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
  body.menu-open { overflow: hidden; }
  body.menu-open .nav__menu { opacity: 1; visibility: visible; pointer-events: auto; transform: none; }
  @keyframes slide-down { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: none; } }
  .nav__menu > li { width: 100%; }
  .nav__link,
  .scrolled .nav__link,
  body.theme-amber .site-header:not(.scrolled) .nav__link {
    width: 100%; padding: 13px 14px; font-size: 1rem; border-radius: 12px; color: var(--navy-900); background: transparent;
  }
  .nav__menu > li > .nav__link:hover,
  .nav__menu > li > .nav__link:focus-visible,
  .scrolled .nav__menu > li > .nav__link:hover,
  body.theme-amber .site-header:not(.scrolled) .nav__menu > li > .nav__link:hover {
    color: var(--navy-900); background: var(--cloud-2); padding-left: 14px;
  }
  .nav__link.active,
  .scrolled .nav__link.active,
  body.theme-amber .site-header:not(.scrolled) .nav__link.active {
    background: var(--cloud-2); color: var(--navy-700);
  }
  .nav__menu .has-drop > .dropdown,
  .nav__menu .has-drop:hover > .dropdown,
  .nav__menu .has-drop.is-open > .dropdown {
    position: static !important; top: auto !important; right: auto !important; left: auto !important;
    width: 100% !important; min-width: 0 !important; opacity: 1 !important; visibility: visible !important;
    transform: none !important; box-shadow: none;
    background: #f7f9fc; border: 1px solid var(--line); border-radius: 14px; margin: 4px 0 8px; padding: 0;
    max-height: 0; overflow: hidden; transition: max-height .32s var(--ease), padding .32s var(--ease), border-color .2s, margin .2s;
  }
  .nav__menu .has-drop:not(.open) > .dropdown {
    margin-top: 0; margin-bottom: 0; padding-top: 0; padding-bottom: 0; border-color: transparent;
  }
  .nav__menu .has-drop.open > .dropdown {
    max-height: 900px; padding: 7px; margin: 4px 0 8px; border-color: #d9e2ef;
  }
  .dropdown::before { display: none; }
  .dropdown a { display: block; padding: 10px 12px; border-radius: 10px; color: var(--navy-800); }
  .dropdown a:hover, .dropdown a:focus-visible { background: #fff; color: var(--navy-900); padding-left: 12px; }
  .dropdown a::before { display: none; }
  .dropdown .di-t { color: var(--navy-900); font-size: .93rem; margin-bottom: 1px; }
  .dropdown .di-d { display: block; color: var(--slate); font-size: .78rem; line-height: 1.35; }
  .dropdown a:hover .di-t,
  .dropdown a:focus-visible .di-t { color: var(--navy-900); }
  .dropdown a:hover .di-d,
  .dropdown a:focus-visible .di-d { color: var(--slate); }
  .has-drop > .nav__link { justify-content: space-between; }
  .has-drop:hover .nav__link svg { transform: none; }
  .has-drop.open > .nav__link svg { transform: rotate(180deg); }
  .has-drop.open > .nav__link { color: var(--navy-800); background: var(--cloud); }
  /* link personality: gold/blue accent slides in on tap */
  .nav__menu > li > .nav__link { position: relative; transition: background .25s, color .25s; }
  .nav__menu > li > .nav__link::before { content: ""; position: absolute; left: 6px; top: 50%; transform: translateY(-50%) scaleY(0); width: 3px; height: 18px; border-radius: 3px; background: var(--grad-blue); transition: transform .25s var(--ease); }
  .nav__menu > li > .nav__link:active::before, .has-drop.open > .nav__link::before, .nav__link.active::before { transform: translateY(-50%) scaleY(1); }
  body.theme-amber .nav__menu > li > .nav__link::before { background: var(--grad-gold); }
  .dropdown a { font-family: var(--font-head); font-weight: 600; color: var(--navy-800); font-size: .95rem; }
  .dropdown a:active { color: var(--navy-800); }
  /* Contact CTA block inside the mobile menu */
  .nav__cta-li { display: flex; flex-direction: column; gap: 10px; margin-top: 10px; padding: 14px 4px 4px; border-top: 1px solid var(--line); }
  .nav__cta-phone { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 800; font-size: 1.05rem; color: var(--ink); padding: 6px 10px; }
  .nav__cta-phone svg { width: 18px; height: 18px; color: var(--blue-500); }
  body.theme-amber .nav__cta-phone svg { color: var(--gold-500); }
  .nav__cta-btn { display: inline-flex !important; width: 100%; justify-content: center; }
}
@media (max-width: 760px) {
  .nav__toggle { right: var(--gutter) !important; left: auto !important; }
}
@media (max-width: 760px) {
  .nav__toggle { right: var(--gutter) !important; left: auto !important; }
  .hero .container > div { min-width: 0; max-width: 100% !important; }
  .hero h1, .hero__sub { max-width: 340px; }
  .hero__badge { max-width: 100%; white-space: normal; align-items: flex-start; }
  .hero__sub { max-width: 100%; overflow-wrap: anywhere; }
  .btn-row { width: auto; gap: 12px; }
  .btn-row .btn { width: auto; max-width: none; white-space: nowrap; }
  .hero__photo img { object-position: 70% center; }
  .hero__scrim { background: linear-gradient(178deg, rgba(6,18,43,.82) 0%, rgba(6,18,43,.62) 42%, rgba(6,18,43,.92) 100%); }
  .hero__stat-row { gap: 14px; margin-top: 30px; flex-wrap: nowrap; }
  .hero__stat { flex: 1 1 0; min-width: 0; }
  .hero__stat b { font-size: 1.5rem; }
  .hero__stat span { font-size: .74rem; margin-top: 4px; }
  .hero__stat + .hero__stat { padding-left: 14px; }
}
@media (max-width: 620px) {
  /* Card grids become swipeable carousels to keep pages short */
  .grid.cols-2, .grid.cols-3, .grid.cols-4, .posts, .layers, .sg-pillars {
    display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: min(78vw, 330px);
    overflow-x: auto; overflow-y: visible; scroll-snap-type: x mandatory; gap: 14px;
    margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter) 18px;
    scroll-padding-left: var(--gutter); -ms-overflow-style: none; scrollbar-width: none;
  }
  .grid.cols-2::-webkit-scrollbar, .grid.cols-3::-webkit-scrollbar, .grid.cols-4::-webkit-scrollbar,
  .posts::-webkit-scrollbar, .layers::-webkit-scrollbar, .sg-pillars::-webkit-scrollbar { display: none; }
  .grid.cols-2 > *, .grid.cols-3 > *, .grid.cols-4 > *, .posts > *, .layers > *, .sg-pillars > * { scroll-snap-align: start; }
  .field-row { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .cta-band__inner { flex-direction: column; align-items: flex-start; }
  .stats { grid-template-columns: 1fr; }
  .hero__stat b { font-size: 1.6rem; }
  .map-label { display: none; }
  .coverage-map img { aspect-ratio: 4 / 3; object-position: center; }
  .h-block { max-width: calc(100vw - (var(--gutter) * 2)); }
  .title, .title-sm, .lead { overflow-wrap: break-word; }
  .partner-set { grid-auto-columns: 164px; }
  .partner-logo { min-height: 126px; padding: 14px 10px; gap: 10px; }
  .partner-logo__mark { height: 46px; }
  .partner-logo__mark img { max-width: 124px; max-height: 46px; }
  .partner-logo--hornet .partner-logo__mark { height: 40px; }
  .partner-logo--hornet .partner-logo__mark img { width: 132px; max-width: 132px; max-height: none; transform: translateY(-4px); }
  .partner-logo--amber .partner-logo__mark { height: 58px; }
  .partner-logo--amber .partner-logo__mark img { width: 146px; max-width: 146px; max-height: none; }
  .partner-logo__name { font-size: .72rem; }
}
@media (max-width: 460px) {
  .partner-set { grid-auto-columns: 158px; }
  .partner-logo__mark img { max-width: 122px; }
  .partner-logo--amber .partner-logo__mark img { width: 140px; max-width: 140px; }
}


/* =====  PREMIUM IMAGE + TEAM ADDITIONS  ================================= */
.photo-card { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--grad-navy); box-shadow: var(--shadow-lg); }
.photo-card img { width: 100%; height: 100%; min-height: 260px; object-fit: cover; display: block; }
.photo-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(6,18,43,.72)); pointer-events: none; }
.logo-cloud { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.logo-tile { min-height: 98px; padding: 20px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); display: grid; place-items: center; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.logo-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(39,102,214,.28); }
.logo-tile img { max-width: 150px; max-height: 46px; object-fit: contain; }
.logo-tile strong { font-family: var(--font-head); font-weight: 800; color: var(--navy-700); }
.team-hero-photo { margin-top: 52px; border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.16); }
.team-hero-photo img { width: 100%; height: clamp(220px, 27vw, 330px); object-fit: cover; object-position: center; display: block; }
.team-toolbar { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 34px 0 46px; }
.team-filter { border: 1px solid var(--line); background: #fff; color: var(--slate); border-radius: 999px; padding: 10px 17px; font-family: var(--font-head); font-weight: 700; font-size: .9rem; transition: background .25s, color .25s, border-color .25s, transform .25s; }
.team-filter:hover { transform: translateY(-2px); border-color: var(--blue-400); color: var(--navy-700); }
.team-filter.active { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2vw, 26px); align-items: start; }
.team-card { position: relative; aspect-ratio: 1 / 1; overflow: hidden; border-radius: var(--radius-lg); background: var(--navy-800);
  box-shadow: var(--shadow-md); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.team-card.is-hidden { display: none; }
.team-card__photo { position: absolute; inset: 0; overflow: hidden; background: #e8eef7; }
.team-card__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .6s var(--ease); }
.team-card:hover .team-card__photo img { transform: scale(1.012); }
.team-card::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(6,18,43,0) 38%, rgba(6,18,43,.62) 66%, rgba(6,18,43,.95) 100%); transition: background .45s var(--ease); }
.team-card:hover::after { background: linear-gradient(180deg, rgba(6,18,43,.15) 0%, rgba(6,18,43,.66) 45%, rgba(6,18,43,.97) 100%); }
.team-card__dept { position: absolute; left: 16px; top: 16px; bottom: auto; z-index: 3; padding: 6px 12px; border-radius: 999px;
  background: rgba(255,255,255,.16); color: #fff; backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.18);
  font-family: var(--font-head); font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.team-card__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 22px 24px 24px; color: #fff; }
.team-card h3 { font-size: 1.22rem; margin-bottom: 4px; color: #fff; letter-spacing: -.02em; }
.team-card__role { color: var(--sky-300); font-family: var(--font-head); font-weight: 700; font-size: .85rem; line-height: 1.35; }
.team-card__bio { color: rgba(255,255,255,.86); font-size: .85rem; line-height: 1.55; margin-top: 0;
  max-height: 0; opacity: 0; overflow: hidden; transition: max-height .5s var(--ease), opacity .4s var(--ease), margin-top .5s var(--ease); }
.team-card:hover .team-card__bio { max-height: 280px; opacity: 1; margin-top: 13px; }
@media (hover: none) { .team-card__bio { max-height: 200px; opacity: 1; margin-top: 13px; } .team-card::after { background: linear-gradient(180deg, rgba(6,18,43,.1) 0%, rgba(6,18,43,.7) 45%, rgba(6,18,43,.96) 100%); } }
@media (max-width: 1080px) { .team-grid, .logo-cloud { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) {
  .brand__logo { height: 40px; }
  .team-grid, .logo-cloud { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) { .team-grid, .logo-cloud { grid-template-columns: 1fr; } .team-card { min-height: auto; } }

/* =====  MOBILE: carousels + tighter hero (follow-up polish)  =========== */
@media (max-width: 760px) {
  .hero, .av-hero { padding-top: 102px; }
  .hero { padding-bottom: clamp(44px, 8vw, 74px); }
  .hero--photo { min-height: auto; align-items: stretch; }
  .hero__stat-row { margin-top: 28px; }
  .skyguard-logo { height: 112px; }
}
@media (max-width: 620px) {
  .tgrid, .steps {
    display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: min(78vw, 330px);
    overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px;
    margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter) 18px;
    scroll-padding-left: var(--gutter); -ms-overflow-style: none; scrollbar-width: none;
  }
  .tgrid::-webkit-scrollbar, .steps::-webkit-scrollbar { display: none; }
  .tgrid > *, .steps > * { scroll-snap-align: start; break-inside: avoid; margin-bottom: 0; }
}

/* =====  EMPLOYEE OWNERSHIP BAND (Why DCS)  ============================= */
.eot-band { position: relative; border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg); min-height: 440px; display: flex; align-items: flex-end; }
.eot-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .8s var(--ease); }
.eot-band:hover img { transform: scale(1.04); }
.eot-band::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(105deg, rgba(6,18,43,.93) 0%, rgba(6,18,43,.72) 46%, rgba(6,18,43,.12) 100%); }
.eot-band__overlay { position: relative; z-index: 2; padding: clamp(28px, 5vw, 58px); max-width: 640px; color: #fff; }
.eot-band__overlay h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; letter-spacing: -.025em; margin: 12px 0 14px; }
.eot-band__overlay p { color: rgba(255,255,255,.86); font-size: 1.05rem; line-height: 1.6; }
@media (max-width: 620px) { .eot-band::after { background: linear-gradient(180deg, rgba(6,18,43,.55) 0%, rgba(6,18,43,.82) 55%, rgba(6,18,43,.95) 100%); } }

/* =====  SKYGUARD SHOWCASE (IT Services panel)  ======================== */
.sg-showcase { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px; text-align: center;
  padding: 48px 36px; min-height: 360px; border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-lg);
  background: radial-gradient(120% 120% at 50% 0%, rgba(231,181,58,.12), rgba(255,255,255,.03) 62%); }
.split__media.sg-showcase .sg-showcase__logo {
  position: relative; inset: auto; width: min(260px, 68%); height: auto; max-height: 260px;
  object-fit: contain; filter: drop-shadow(0 16px 34px rgba(0,0,0,.42)); transition: transform .5s var(--ease);
}
.sg-showcase:hover .sg-showcase__logo { transform: translateY(-4px) scale(1.02); }
.sg-showcase__copy { color: rgba(255,255,255,.78); font-size: .98rem; max-width: 360px; line-height: 1.6; }

/* =====  AMBER VAULT HEADER LOCKUP (AV pages)  ========================= */
.brand--av { display: inline-flex; align-items: center; gap: 11px; }
.av-brand-mark { height: clamp(40px, 3.6vw, 48px); width: auto; display: block; transition: transform .35s var(--ease); }
.brand--av:hover .av-brand-mark { transform: translateY(-1px); }
.av-brand-name { font-family: var(--font-head); font-weight: 800; font-size: 1.32rem; letter-spacing: -.025em; color: var(--ink); line-height: 1; white-space: nowrap; }
.av-brand-name span { color: var(--gold-500); }
.av-subnav .nav { gap: clamp(16px, 2.4vw, 34px); }
.av-subnav .nav__menu { gap: 8px; }
.av-subnav .nav__link { padding-inline: 13px; }
.av-subnav .nav__actions { gap: 14px; }
.av-subnav .nav__actions .btn { padding-inline: 18px; }
@media (max-width: 1100px) { .av-brand-name { display: none; } }

/* =====  BLOG ARTICLE (post.php)  ====================================== */
.post-hero { position: relative; padding-top: 116px; padding-bottom: clamp(30px,4vw,46px); background: var(--grad-navy); color: #fff; overflow: hidden; }
.post-hero h1 { color: #fff; font-size: clamp(2rem, 4.4vw, 3.1rem); font-weight: 800; letter-spacing: -.03em; max-width: 900px; }
.post-breadcrumb { display: flex; gap: 9px; align-items: center; font-family: var(--font-head); font-weight: 600; font-size: .85rem; color: rgba(255,255,255,.55); margin-bottom: 18px; }
.post-breadcrumb a { color: var(--sky-300); }
.post-breadcrumb a:hover { color: #fff; }
.post-meta { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-top: 22px; color: rgba(255,255,255,.72); font-size: .92rem; font-family: var(--font-head); font-weight: 500; }
.post-meta .dot-sep { color: rgba(255,255,255,.3); }
.post-cover { position: relative; width: 100%; margin-inline: auto; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 16 / 7.5; background: var(--cloud-2); }
.post-cover--landscape { aspect-ratio: 16 / 9; }
.post-cover--square { aspect-ratio: 1 / 1; }
.post-cover--portrait { aspect-ratio: 4 / 5; }
.post-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-cover--contain img { object-fit: contain; background: var(--cloud-2); }
.article-layout { max-width: 768px; margin-inline: auto; }
.article-body { font-size: 1.08rem; line-height: 1.78; color: var(--slate); }
.article-body p { margin-bottom: 22px; }
.article-body h3 { font-family: var(--font-head); font-size: clamp(1.3rem, 2.1vw, 1.65rem); font-weight: 800; color: var(--ink); margin: 36px 0 14px; letter-spacing: -.02em; }
.article-body ul { margin: 0 0 22px; padding: 0; display: grid; gap: 10px; }
.article-body li { display: flex; gap: 11px; align-items: flex-start; }
.article-share { display: flex; align-items: center; gap: 10px; margin-top: 42px; padding-top: 28px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.article-share__label { font-family: var(--font-head); font-weight: 700; color: var(--ink); margin-right: 4px; }
.share-btn { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; color: var(--slate); cursor: pointer; transition: background .25s, color .25s, border-color .25s, transform .25s; }
.share-btn:hover { background: var(--navy-800); color: #fff; border-color: var(--navy-800); transform: translateY(-2px); }
.share-btn.copied { background: #1f9d55; border-color: #1f9d55; color: #fff; }
.share-btn svg { width: 19px; height: 19px; }
.post-featured--link, a.post { text-decoration: none; color: inherit; }

/* =====  AMBER VAULT SUB-SITE  ========================================== */
.av-back { display:inline-flex; align-items:center; gap:6px; font-family:var(--font-head); font-weight:600; font-size:.85rem; color:var(--muted); white-space:nowrap; transition:color .25s; }
.av-back:hover { color:var(--gold-600); }
.av-back svg { width:15px; height:15px; }
.av-accreditations { display:inline-flex; flex-wrap:wrap; gap:12px; justify-content:center; }
.av-accred { display:inline-flex; align-items:center; gap:8px; padding:11px 20px; border-radius:999px; background:#fff; border:1px solid var(--gold-300); font-family:var(--font-head); font-weight:700; font-size:.85rem; color:var(--gold-600); box-shadow:var(--shadow-sm); transition:transform .3s var(--ease), box-shadow .3s; }
.av-accred:hover { transform:translateY(-2px); box-shadow:var(--shadow-md); }
.av-accred::before { content:""; width:8px; height:8px; border-radius:50%; background:var(--grad-gold); }
@media (max-width:1024px){ .av-back{ display:none; } body.theme-amber .nav__cta-phone svg{ color:var(--gold-500); } }

/* =====  BLOG ARTICLE CAROUSEL (post body)  ============================ */
.carousel-shell { position: relative; margin: 30px 0; }
.article-body .post-carousel { display: flex; gap: 0; overflow-x: auto; scroll-snap-type: x mandatory; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); margin: 0; scrollbar-width: none; -ms-overflow-style: none; }
.article-body .post-carousel::-webkit-scrollbar { display: none; }
.article-body .post-carousel img { flex: 0 0 100%; width: 100%; scroll-snap-align: center; aspect-ratio: 16 / 9; object-fit: cover; display: block; margin: 0; }
.post-cover .carousel-shell { height: 100%; margin: 0; }
.post-cover .post-carousel { height: 100%; display: flex; gap: 0; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -ms-overflow-style: none; }
.post-cover .post-carousel::-webkit-scrollbar { display: none; }
.post-cover .post-carousel img { flex: 0 0 100%; width: 100%; height: 100%; scroll-snap-align: center; object-fit: cover; display: block; margin: 0; }
.post-cover--contain .post-carousel img { object-fit: contain; background: var(--cloud-2); }
.post-cover .carousel-dots { position: absolute; left: 0; right: 0; bottom: 16px; margin-top: 0; z-index: 3; }
.post-cover .carousel-dots button { background: rgba(255,255,255,.7); }
.post-cover .carousel-dots button.active { background: #fff; }
.carousel-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.94); border: 1px solid var(--line); box-shadow: var(--shadow-md); display: grid; place-items: center; cursor: pointer; z-index: 2; transition: transform .25s, background .25s; }
.carousel-nav:hover { background: #fff; transform: translateY(-50%) scale(1.06); }
.carousel-nav.prev { left: 14px; } .carousel-nav.next { right: 14px; }
.carousel-nav svg { width: 20px; height: 20px; color: var(--ink); }
.carousel-dots { display: flex; gap: 7px; justify-content: center; margin-top: 14px; }
.carousel-dots button { width: 8px; height: 8px; padding: 0; border-radius: 50%; border: none; background: var(--line); cursor: pointer; transition: width .25s, background .25s, border-radius .25s; }
.carousel-dots button.active { background: var(--blue-500); width: 22px; border-radius: 4px; }

/* ---- Software inner pages ---------------------------------------------- */
.card-pad { padding: 30px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.prose-block .lead { color: var(--slate); }
.software-intro-section { padding-top: clamp(42px, 5vw, 70px); }
.software-intro {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
  gap: clamp(24px, 4vw, 44px); align-items: stretch;
}
.software-intro__copy {
  position: relative; padding: clamp(28px, 4vw, 44px);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #fff 0%, #f7faff 100%);
  box-shadow: var(--shadow-sm); overflow: hidden;
}
.software-intro__copy::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--grad-blue);
}
.software-intro__copy .eyebrow { margin-bottom: 12px; }
.software-intro__copy h2 { max-width: 680px; }
.software-intro__copy p {
  color: var(--slate); font-size: clamp(1rem, 1.3vw, 1.12rem);
  line-height: 1.75; margin-top: 18px; max-width: 760px;
}
.software-intro__panel {
  padding: clamp(24px, 3vw, 34px); border-radius: var(--radius-lg);
  background: var(--grad-navy); color: #fff; box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; justify-content: center;
}
.software-intro__logo {
  width: 100%; min-height: 94px; display: grid; place-items: center;
  padding: 20px; border-radius: 18px; background: rgba(255,255,255,.96);
  border: 1px solid rgba(255,255,255,.18); margin-bottom: 24px;
}
.software-intro__logo img { max-width: 190px; max-height: 56px; object-fit: contain; }
.software-intro__logo strong { font-family: var(--font-head); color: var(--navy-700); font-size: 1.2rem; }
.software-intro__panel h3 { color: #fff; font-size: 1.16rem; margin-bottom: 16px; }
.software-intro__panel ul { display: grid; gap: 11px; }
.software-intro__panel li {
  display: flex; gap: 10px; align-items: flex-start;
  color: rgba(255,255,255,.78); font-size: .95rem; line-height: 1.45;
}
.software-intro__panel li::before {
  content: ""; width: 18px; height: 18px; flex: none; margin-top: 2px;
  border-radius: 50%; background: var(--sky-300);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/contain no-repeat;
}
.split-band { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; }
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.chip-row .chip { display: inline-flex; align-items: center; padding: 9px 16px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); color: var(--ink); font-weight: 600; font-size: .92rem; box-shadow: var(--shadow-sm); }
.stat-hero { text-align: left; padding: 30px 34px; border-radius: var(--radius-lg); background: var(--grad-navy); color: #fff; box-shadow: var(--shadow-lg); }
.stat-hero b { display: block; font-family: var(--font-head); font-weight: 800; font-size: clamp(2.6rem, 6vw, 3.4rem); line-height: 1; color: var(--sky-300); }
.stat-hero span { display: block; margin-top: 10px; color: rgba(255,255,255,.82); font-size: 1rem; max-width: 260px; }

/* ---- SEO landing pages ------------------------------------------------- */
.seo-hero { padding-bottom: clamp(46px, 7vw, 86px); }
.seo-hero .hero__inner { align-items: stretch; }
.seo-hero .hero__inner > * { min-width: 0; }
.seo-visual {
  position: relative; align-self: stretch; min-height: 390px; border-radius: var(--radius-xl);
  overflow: hidden; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.15);
  box-shadow: var(--shadow-lg); display: flex; flex-direction: column; justify-content: flex-end;
}
.seo-visual__media { position: absolute; inset: 0; display: grid; place-items: center; }
.seo-visual__media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(6,18,43,.05) 22%, rgba(6,18,43,.76) 100%);
}
.seo-visual__media--photo img { width: 100%; height: 100%; object-fit: cover; }
.seo-visual__media--logo {
  background:
    radial-gradient(circle at 30% 10%, rgba(111,169,247,.28), transparent 35%),
    linear-gradient(145deg, rgba(255,255,255,.1), rgba(255,255,255,.02));
}
.seo-visual__media--logo img {
  width: min(56%, 280px); max-height: 170px; object-fit: contain;
  padding: 28px; border-radius: 24px; background: rgba(255,255,255,.94); box-shadow: var(--shadow-lg);
}
.seo-visual__caption { position: relative; z-index: 2; padding: clamp(22px, 3vw, 32px); color: #fff; }
.seo-visual__caption b { display: block; font-family: var(--font-head); font-size: clamp(1.1rem, 1.7vw, 1.35rem); line-height: 1.18; }
.seo-visual__caption span { display: block; margin-top: 8px; max-width: 390px; color: rgba(255,255,255,.78); line-height: 1.55; font-size: .94rem; }
.seo-stat-strip {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 3vw, 34px);
  margin-top: clamp(34px, 5vw, 54px); padding-top: clamp(24px, 4vw, 36px);
  border-top: 1px solid rgba(255,255,255,.14);
}
.seo-stat-strip .stat__num {
  background: linear-gradient(120deg, #fff, var(--sky-300));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.seo-stat-strip .stat__label { color: rgba(255,255,255,.72); }
.seo-mini-check {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: var(--cloud-2); color: var(--blue-500); margin-bottom: 18px;
}
.seo-mini-check svg { width: 22px; height: 22px; }
.seo-copy-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr); gap: clamp(28px, 5vw, 62px); align-items: start; }
.seo-aside {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 34px); box-shadow: var(--shadow-sm);
}
.seo-aside h3 { font-size: 1.18rem; margin-bottom: 18px; }
.seo-aside ul { display: grid; gap: 13px; }
.seo-aside li { display: flex; gap: 11px; align-items: flex-start; color: var(--slate); line-height: 1.5; font-size: .96rem; }
.seo-aside li svg { width: 19px; height: 19px; color: var(--blue-500); flex: none; margin-top: 3px; }
.seo-link-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.seo-link-card {
  position: relative; min-height: 156px; padding: 24px 56px 24px 24px; border-radius: var(--radius-lg);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.seo-link-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(39,102,214,.28); }
.seo-link-card span { display: block; font-family: var(--font-head); font-weight: 800; color: var(--ink); line-height: 1.2; }
.seo-link-card p { margin-top: 8px; color: var(--slate); font-size: .93rem; line-height: 1.5; }
.seo-link-card svg { position: absolute; top: 24px; right: 24px; width: 19px; height: 19px; color: var(--blue-500); transition: transform .25s var(--ease); }
.seo-link-card:hover svg { transform: translateX(3px); }
.faq-list { max-width: 860px; margin-inline: auto; display: grid; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 20px 58px 20px 22px; position: relative;
  font-family: var(--font-head); font-weight: 800; color: var(--ink); line-height: 1.35;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: var(--cloud-2); color: var(--blue-500); font-weight: 800; line-height: 1; text-align: center;
}
.faq-item[open] summary::after { content: "-"; }
.faq-item p { padding: 0 22px 22px; color: var(--slate); margin: 0; }

@media (max-width: 960px) {
  .seo-copy-grid, .seo-link-grid { grid-template-columns: 1fr; }
  .seo-visual { min-height: 320px; }
}
@media (max-width: 620px) {
  .seo-hero .hero__inner,
  .seo-hero .seo-stat-strip {
    width: min(340px, calc(100vw - 50px));
    max-width: min(340px, calc(100vw - 50px));
  }
  .seo-hero .hero__inner { display: block; }
  .seo-visual { width: 100%; max-width: 100%; margin-top: 32px; }
  .seo-stat-strip { grid-template-columns: 1fr; gap: 22px; }
  .seo-hero h1 { max-width: 100%; }
  .seo-hero .hero__sub { max-width: 100%; }
  .seo-hero .btn-row { flex-direction: column; align-items: stretch; max-width: 100%; }
  .seo-hero .btn-row .btn { width: 100%; justify-content: center; white-space: normal; line-height: 1.2; }
  .seo-link-card { min-height: 0; }
  .faq-item summary { padding-right: 54px; }
}
/* ---- Brochure carousel ------------------------------------------------- */
.brochure-carousel { position: relative; }
.brochure-track { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 6px 2px 16px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.brochure-track::-webkit-scrollbar { display: none; }
.brochure-card { scroll-snap-align: start; flex: 0 0 220px; display: flex; flex-direction: column; gap: 12px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; box-shadow: var(--shadow-md); transition: transform .3s var(--ease), box-shadow .3s; }
.brochure-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.brochure-card__media { display: block; width: 100%; aspect-ratio: 3 / 4; border-radius: calc(var(--radius) - 6px); overflow: hidden; background: var(--cloud); }
.brochure-card__media img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.brochure-card--no-cover .brochure-card__media { display: flex; align-items: center; justify-content: center; color: var(--blue-500); }
.brochure-card--no-cover .brochure-card__media svg { width: 34%; height: 34%; }
.brochure-card__title { font-family: var(--font-head); font-weight: 700; color: var(--ink); font-size: .96rem; line-height: 1.3; flex-grow: 1; }
.brochure-card__dl { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--blue-500); font-size: .9rem; }
.brochure-card__dl svg { width: 17px; height: 17px; }
.brochure-card__dl:hover { color: var(--blue-400); }
.brochure-card__req { font-weight: 600; color: var(--muted); font-size: .88rem; }
.brochure-card__req:hover { color: var(--blue-500); }
.bc-nav { position: absolute; top: 42%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md); z-index: 2; transition: background .2s, color .2s, opacity .2s; }
.bc-nav:hover { background: var(--blue-500); color: #fff; border-color: var(--blue-500); }
.bc-nav svg { width: 20px; height: 20px; }
.bc-prev { left: -18px; }
.bc-next { right: -18px; }
.bc-nav[hidden] { display: none; }

@media (max-width: 900px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .split-band, .software-intro { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .feature-grid { grid-template-columns: 1fr; }
  .bc-prev { left: 4px; } .bc-next { right: 4px; }
}

/* Customer Portal dropdown — right-aligned so it never overflows the viewport */
.dropdown--portal { left: auto; right: 0; transform: translateX(0) translateY(8px); min-width: 300px; }
.has-drop:hover .dropdown--portal,
.has-drop.is-open .dropdown--portal { transform: translateX(0) translateY(0); }
/* Keep the invisible hover-bridge full width (base .dropdown::before) so the
   dropdown stays open while the mouse crosses the gap toward it. */
@media (max-width: 1100px) { .dropdown--portal { left: auto; right: auto; transform: none; min-width: 0; } }

/* Employee ownership emphasis */
.hero__badge--eot b { background: var(--grad-gold); color: #2a1d00; }
.eot-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 26px; }
.eot-point { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); }
.eot-point h3 { font-family: var(--font-head); font-size: 1.12rem; margin-bottom: 8px; color: var(--ink); }
.eot-point p { color: var(--slate); margin: 0; font-size: .98rem; }
@media (max-width: 860px) { .eot-points { grid-template-columns: 1fr; } }

/* Mobile card groups that were still stacking into long lists */
@media (max-width: 620px) {
  .feature-grid,
  .seo-link-grid,
  .eot-points,
  .team-grid,
  .logo-cloud {
    display: grid;
    grid-auto-flow: column;
    grid-template-columns: none;
    grid-auto-columns: min(78vw, 330px);
    gap: 14px;
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x mandatory;
    scroll-padding-left: var(--gutter);
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: none;
    scrollbar-width: none;
    margin-inline: calc(var(--gutter) * -1);
    padding: 4px var(--gutter) 20px;
  }
  .feature-grid::-webkit-scrollbar,
  .seo-link-grid::-webkit-scrollbar,
  .eot-points::-webkit-scrollbar,
  .team-grid::-webkit-scrollbar,
  .logo-cloud::-webkit-scrollbar {
    display: none;
  }
  .feature-grid > *,
  .seo-link-grid > *,
  .eot-points > *,
  .team-grid > *,
  .logo-cloud > * {
    min-width: 0;
    scroll-snap-align: start;
  }
  .team-grid { align-items: stretch; }
}

/* Blog category shown as a banner above the card text (not overlaid on image) */
.cat-chip--banner { align-self: flex-start; margin-bottom: 12px; }

/* ---- Brochure library page -------------------------------------------- */
.brochure-jump { position: sticky; top: 80px; z-index: 24; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.84); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.brochure-jump__inner { display: flex; flex-wrap: nowrap; gap: 8px; padding-block: 14px; justify-content: center; overflow-x: auto; scrollbar-width: none; }
.brochure-jump__inner::-webkit-scrollbar { display: none; }
.brochure-jump__pill { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-family: var(--font-head); font-weight: 700; font-size: .82rem; color: var(--ink); white-space: nowrap; box-shadow: var(--shadow-sm); transition: background .2s, color .2s, border-color .2s, transform .2s; }
.brochure-jump__pill span { display: inline-flex; min-width: 22px; height: 20px; padding: 0 6px; align-items: center; justify-content: center; border-radius: 999px; background: var(--cloud-2); color: var(--blue-500); font-size: .74rem; }
.brochure-jump__pill:hover { background: var(--grad-blue); color: #fff; border-color: transparent; transform: translateY(-1px); }
.brochure-jump__pill:hover span { background: rgba(255,255,255,.25); color: #fff; }

.brochure-section { scroll-margin-top: 90px; }

.brochure-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, 340px); gap: clamp(22px, 4vw, 42px); align-items: center; margin-bottom: 28px; padding: clamp(20px, 3vw, 28px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: linear-gradient(135deg, #fff 0%, #f7faff 100%); box-shadow: var(--shadow-sm); overflow: hidden; }
.brochure-heading__content { min-width: 0; }
.brochure-heading__body { min-width: 0; }
.brochure-heading .lead { color: var(--slate); max-width: 680px; }
.brochure-heading__cover { margin: 0; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: var(--cloud); box-shadow: 0 20px 46px rgba(10,28,63,.16); }
.brochure-heading__cover img { width: 100%; height: 100%; object-fit: cover; display: block; }

.brochure-folders { display: flex; flex-direction: column; gap: 14px; }
.brochure-folder { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); overflow: hidden; transition: box-shadow .25s var(--ease), border-color .25s var(--ease); }
.brochure-folder.is-open { border-color: rgba(39,102,214,.24); box-shadow: var(--shadow-md); }
.brochure-folder__head { width: 100%; display: flex; align-items: center; gap: 14px; padding: 18px 22px; background: linear-gradient(180deg, #fff, #fbfdff); border: 0; cursor: pointer; text-align: left; font-family: var(--font-head); }
.brochure-folder__icon { width: 40px; height: 40px; flex: none; border-radius: 11px; display: grid; place-items: center; background: var(--cloud); color: var(--blue-500); }
.brochure-folder__icon svg { width: 21px; height: 21px; }
.brochure-folder__name { flex: 1; font-weight: 700; font-size: 1.06rem; color: var(--ink); }
.brochure-folder__count { flex: none; min-width: 26px; height: 26px; padding: 0 10px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; background: var(--cloud-2); color: var(--slate); font-size: .78rem; font-weight: 800; white-space: nowrap; }
.brochure-folder__chev { flex: none; color: var(--muted); display: inline-flex; transition: transform .3s var(--ease); }
.brochure-folder__chev svg { width: 20px; height: 20px; }
.brochure-folder.is-open .brochure-folder__chev { transform: rotate(180deg); }
.brochure-folder.is-open .brochure-folder__head { background: var(--cloud); }
/* Height is set inline by JS (max-height: scrollHeight) when opened, so there is
   no partial reveal from a CSS-only technique — fully closed means 0, no peeking. */
.brochure-folder__body { max-height: 0; overflow: hidden; transition: max-height .34s var(--ease); }
.brochure-file-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; padding: 10px 22px 22px; }
.brochure-file-grid .brochure-card { flex: none; }
.brochure-file-grid .brochure-card { box-shadow: none; border-color: rgba(218,225,236,.9); }
.brochure-file-grid .brochure-card:hover { box-shadow: var(--shadow-md); }

@media (max-width: 720px) {
  .brochure-heading { grid-template-columns: 1fr; gap: 18px; padding: 16px; }
  .brochure-heading__cover { order: -1; border-radius: 13px; }
  .brochure-jump { top: 80px; }
  .brochure-jump__inner { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; padding-inline: var(--gutter); margin-inline: calc(var(--gutter) * -1); scroll-padding-left: var(--gutter); }
  .brochure-jump__pill { flex: none; }
  .brochure-file-grid { grid-template-columns: repeat(2, 1fr); padding: 4px 14px 18px; }
  .brochure-folder__head { padding: 15px 16px; }
}
