/* NG Communications — site stylesheet
   Layout: white sticky header over a deep-navy hero; light content bands; navy footer.
   Brand: logo blue + logo orange, used sparingly on a cool neutral base. */

:root {
  --navy-950: #081322;
  --navy-900: #0b1a2c;
  --navy-800: #11263f;
  --navy-700: #1a3656;
  --ink: #15202e;
  --ink-2: #3c4a5c;
  --muted: #5b6a7d;
  --line: #dde4ec;
  --line-2: #e9eef4;
  --bg: #ffffff;
  --bg-2: #f4f7fa;
  --blue: #1565b8;
  --blue-600: #0f559e;
  --blue-700: #0b4580;
  --blue-300: #7db6ee;
  --blue-50: #ebf3fc;
  --orange: #e5502a;
  --orange-300: #ff9a6b;

  /* surfaces and roles (redefined for dark mode below) */
  --surface: #ffffff;            /* cards, menus, sidebar */
  --header-bg: rgba(255, 255, 255, .96);
  --header-solid: #ffffff;
  --btn-bg: #1565b8;
  --btn-bg-hover: #0f559e;
  --badge-bg: var(--navy-900);   /* round icon badges on cards */
  --panel: var(--navy-900);      /* dark sidebar quote box */
  --panel-line: var(--navy-900);
  --line-strong: #c5d6e9;
  --field-bg: #ffffff;
  --field-line: #c9d3de;
  --field-line-hover: #9fb0c3;
  --orange-text: #e5502a;
  --ok-bg: #e8f5ee;   --ok-fg: #135c33;
  --err-bg: #fdecea;  --err-fg: #8c1d18;  --err: #b3261e;  --err-line: #c62828;
  --art-a: #ebf3fc;   --art-b: #f6f9fd;   --art-c: #fff1ec;
  --rings-fill: rgba(255, 255, 255, .6);

  --font: "Figtree", "Segoe UI", Helvetica, Arial, sans-serif;
  --fs-xs: .8125rem;
  --fs-sm: .9375rem;
  --fs-md: 1.0625rem;
  --fs-lg: 1.25rem;
  --fs-xl: clamp(1.5rem, 1.2rem + 1vw, 1.875rem);
  --fs-2xl: clamp(2rem, 1.4rem + 2.4vw, 3rem);
  --fs-3xl: clamp(2.25rem, 1.5rem + 3vw, 3.5rem);

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --radius: 10px;
  --radius-sm: 6px;
  --header-h: 76px;
  --shadow: 0 1px 2px rgba(11, 26, 44, .06), 0 8px 24px -8px rgba(11, 26, 44, .14);
  --shadow-lg: 0 2px 4px rgba(11, 26, 44, .06), 0 24px 48px -16px rgba(11, 26, 44, .28);
  color-scheme: light;
}

/* Dark mode: follows the visitor's device or browser setting */
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #e7edf4;
    --ink-2: #b6c3d2;
    --muted: #8d9db1;
    --line: #22364e;
    --line-2: #1b2d43;
    --line-strong: #34506f;
    --bg: #0c1726;
    --bg-2: #0f1d30;
    --surface: #13243a;
    --header-bg: rgba(12, 23, 38, .94);
    --header-solid: #0c1726;
    --blue: #74b4f2;        /* links, icons and highlights */
    --blue-600: #8fc3f5;
    --blue-700: #b0d5f8;
    --blue-50: rgba(116, 180, 242, .13);
    --btn-bg: #1565b8;
    --btn-bg-hover: #1f76cf;
    --badge-bg: #1d3a5e;
    --panel: #172d49;
    --panel-line: #25446a;
    --field-bg: #0f1d30;
    --field-line: #2e4663;
    --field-line-hover: #45668c;
    --orange-text: #ff8a5c;
    --ok-bg: rgba(46, 160, 94, .16);  --ok-fg: #8fe0b0;
    --err-bg: rgba(229, 72, 58, .16); --err-fg: #ffb4ab; --err: #ff9d91; --err-line: #ef6b5e;
    --art-a: #132a45;  --art-b: #11233a;  --art-c: #2a2130;
    --rings-fill: rgba(255, 255, 255, .05);
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px -8px rgba(0, 0, 0, .5);
    --shadow-lg: 0 2px 4px rgba(0, 0, 0, .3), 0 24px 48px -16px rgba(0, 0, 0, .65);
    color-scheme: dark;
  }
}

/* ---------- base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 var(--fs-md)/1.6 var(--font);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blue-700); }
h1, h2, h3, h4 { line-height: 1.2; text-wrap: balance; margin: 0; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--blue-300); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--btn-bg); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); }
.skip:focus { top: 12px; color: #fff; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.icon { width: 1.25em; height: 1.25em; flex: none; }
[hidden] { display: none !important; }

/* ---------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 44px; padding: .6em 1.25em; border-radius: 8px; border: 1px solid transparent;
  font-weight: 600; font-size: var(--fs-sm); letter-spacing: .01em; text-decoration: none;
  cursor: pointer; transition: background .15s, border-color .15s, color .15s, transform .15s;
  white-space: nowrap;
}
.btn-primary { background: var(--btn-bg); color: #fff; }
.btn-primary:hover { background: var(--btn-bg-hover); color: #fff; }
.btn-primary:active { transform: translateY(1px); }
.btn-ghost { border-color: rgba(255, 255, 255, .35); color: #fff; background: rgba(255, 255, 255, .04); }
.btn-ghost:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .1); }
.btn-lg { min-height: 50px; padding-inline: 1.5em; font-size: var(--fs-md); }
.btn-small { min-height: 38px; padding: .4em 1em; font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .06em; }
.btn-block { width: 100%; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5em;
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blue);
}
.eyebrow .icon { width: 1.15em; height: 1.15em; }
.eyebrow-orange { color: var(--orange-text); }
.eyebrow-light { color: var(--blue-300); }

/* ---------- top bar */
.topbar { background: var(--navy-950); color: #b9c6d6; font-size: var(--fs-xs); }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; min-height: 38px; gap: 16px; }
.topbar a { color: #c9d4e2; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: #fff; }
.topbar .icon { width: 14px; height: 14px; }
.topbar-links { list-style: none; display: flex; gap: 24px; margin-left: auto; }
.topbar-login { color: #fff !important; font-weight: 600; }

/* ---------- header */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: var(--header-bg); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header.is-scrolled { box-shadow: 0 6px 20px -12px rgba(11, 26, 44, .35); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.brand { display: block; color: var(--navy-900); line-height: 0; flex: none; }
.logo { display: block; height: 46px; width: auto; }
.brand-light { color: #fff; }

.site-nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.nav-list { list-style: none; display: flex; align-items: stretch; gap: 4px; }
.nav-item { position: relative; display: flex; align-items: center; }
.nav-link {
  display: flex; align-items: center; min-height: var(--header-h); padding: 0 6px 0 14px;
  font-weight: 600; font-size: var(--fs-md); color: var(--ink); text-decoration: none; letter-spacing: .01em;
  position: relative;
}
.nav-item[data-active] .nav-link::after, .nav-link[aria-current]::after {
  content: ""; position: absolute; left: 14px; right: 0; bottom: -1px; height: 3px; background: var(--orange); border-radius: 3px 3px 0 0;
}
.nav-link:hover { color: var(--blue); }
.nav-caret {
  display: grid; place-items: center; width: 28px; height: 28px; border: 0; background: none; cursor: pointer;
  color: var(--muted); border-radius: 6px; margin-right: 6px;
}
.nav-caret .icon { width: 16px; height: 16px; transition: transform .2s; }
.nav-caret:hover { color: var(--blue); background: var(--blue-50); }
.nav-caret[aria-expanded="true"] .icon { transform: rotate(180deg); }
.nav-mobile-extra { display: none; }
.burger { display: none; }

/* mega menu */
.mega {
  position: absolute; top: 100%; right: -8px; width: min(520px, 90vw);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .16s, transform .16s, visibility 0s linear .16s;
}
.mega-inner {
  margin-top: 1px; background: var(--surface); border: 1px solid var(--line); border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow-lg); padding: 10px;
}
.nav-item.is-open .mega,
.nav-item:hover .mega { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mega-list { list-style: none; display: grid; gap: 2px; }
.mega-list a {
  display: flex; gap: 14px; align-items: flex-start; padding: 12px; border-radius: 8px; text-decoration: none; color: var(--ink);
}
.mega-list a:hover, .mega-list a:focus-visible { background: var(--bg-2); }
.mega-list a[aria-current] { background: var(--blue-50); }
.mega-list strong { display: block; font-weight: 600; font-size: var(--fs-sm); }
.mega-list small { display: block; color: var(--muted); font-size: var(--fs-xs); line-height: 1.45; margin-top: 2px; }
.mega-ico { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 8px; background: var(--blue-50); color: var(--blue); flex: none; }
.mega-ico .icon { width: 19px; height: 19px; }
.mega-all {
  display: flex; align-items: center; justify-content: space-between; margin-top: 6px; padding: 12px;
  border-top: 1px solid var(--line-2); font-weight: 600; font-size: var(--fs-sm); text-decoration: none;
}
.mega-all .icon { width: 18px; height: 18px; }

/* ---------- arcs motif (from the logo) */
.arcs {
  position: absolute; inset: 0; pointer-events: none; overflow: hidden;
}
.arcs::before, .arcs::after {
  content: ""; position: absolute; border-radius: 50%; border: solid transparent;
}
.page-head .arcs::before {
  width: 520px; height: 520px; right: -180px; top: -200px; border-width: 36px;
  border-right-color: rgba(21, 101, 184, .07); border-top-color: rgba(21, 101, 184, .04); transform: rotate(10deg);
}
.page-head .arcs::after {
  width: 380px; height: 380px; right: -150px; top: -120px; border-width: 22px;
  border-right-color: rgba(229, 80, 42, .08); transform: rotate(10deg);
}

/* ---------- hero */
.hero { position: relative; background: var(--navy-900); color: #fff; overflow: hidden; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(900px 480px at 85% 30%, rgba(21, 101, 184, .35), transparent 60%),
    radial-gradient(600px 400px at 100% 100%, rgba(229, 80, 42, .16), transparent 60%),
    linear-gradient(180deg, var(--navy-900), var(--navy-950));
}
.arcs-hero::before {
  width: 860px; height: 860px; right: -300px; top: 50%; margin-top: -430px; border-width: 70px;
  border-right-color: rgba(47, 147, 224, .10);
}
.arcs-hero::after {
  width: 620px; height: 620px; right: -250px; top: 50%; margin-top: -310px; border-width: 44px;
  border-right-color: rgba(240, 119, 45, .10);
}
.hero-inner { padding-block: clamp(48px, 7vw, 96px) 32px; }
.slides { display: grid; }
.slide {
  grid-area: 1 / 1; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(32px, 5vw, 72px); align-items: center;
  opacity: 0; visibility: hidden; transition: opacity .5s ease, visibility 0s linear .5s;
}
.slide.is-active { opacity: 1; visibility: visible; transition-delay: 0s; }
.slide-copy { max-width: 620px; }
.slide-title { font-size: var(--fs-3xl); font-weight: 800; letter-spacing: -.025em; margin: 14px 0 18px; line-height: 1.05; }
.slide-text { font-size: var(--fs-lg); line-height: 1.55; color: #c8d5e5; max-width: 54ch; }
.slide-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.slide-media {
  position: relative; margin: 0; justify-self: end; width: 100%; max-width: 480px;
  padding: 0 20px 20px 0;
  transform: translateX(18px); transition: transform .8s cubic-bezier(.2, .7, .2, 1);
}
.slide.is-active .slide-media { transform: none; }
/* thin brand-gradient outline, offset behind the photo */
.slide-media-frame {
  position: absolute; inset: 20px 0 0 20px; border-radius: 18px; padding: 1.5px;
  background: linear-gradient(135deg, #2f93e0 0%, #1f5fae 45%, #f0772d 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; opacity: .85;
}
.slide-media img {
  position: relative; display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover;
  border-radius: 16px; background: var(--navy-800);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .14), 0 40px 80px -32px rgba(0, 0, 0, .75);
}
/* soft navy grade so the three photos sit together on the dark hero */
.slide-media::after {
  content: ""; position: absolute; inset: 0 20px 20px 0; border-radius: 16px; pointer-events: none;
  background: linear-gradient(to top, rgba(11, 26, 44, .38), rgba(11, 26, 44, 0) 45%),
              linear-gradient(135deg, rgba(21, 101, 184, .10), rgba(229, 80, 42, .06));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18);
}

.hero-controls { display: flex; align-items: center; gap: 8px; margin-top: 40px; }
.hc-btn {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .22); background: transparent; color: #fff; cursor: pointer;
}
.hc-btn:hover { background: rgba(255, 255, 255, .1); }
.hc-btn .icon { width: 18px; height: 18px; }
.hc-pause { margin-left: 8px; }
.hc-pause .i-play, .hc-pause.is-paused .i-pause { display: none; }
.hc-pause.is-paused .i-play { display: block; }
.dots { display: flex; gap: 4px; }
.dot { width: 36px; height: 40px; border: 0; background: none; cursor: pointer; position: relative; }
.dot::before { content: ""; position: absolute; left: 4px; right: 4px; top: 50%; height: 3px; margin-top: -1.5px; border-radius: 3px; background: rgba(255, 255, 255, .28); transition: background .2s; }
.dot[aria-current]::before { background: var(--orange); }

/* ---------- bands */
.band { padding-block: clamp(56px, 7vw, 96px); }
.band-title {
  font-size: var(--fs-xl); font-weight: 700; text-align: left; margin-bottom: 32px;
  display: flex; align-items: center; gap: 16px;
}
.band-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* solutions (home) */
.band-solutions { background: var(--bg-2); }
.sol-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.05fr); gap: 20px; align-items: start; }
.sol-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 20px 20px; }
.sol-head { display: flex; align-items: center; gap: 14px; padding-inline: 4px; }
.sol-ico {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: var(--badge-bg); color: #fff;
}
.sol-ico .icon { width: 22px; height: 22px; }
.sol-head h3 { font-size: var(--fs-lg); }
.sol-head h3 a { color: var(--ink); text-decoration: none; }
.sol-head h3 a:hover { color: var(--blue); }
.sol-list { list-style: none; margin-top: 16px; }
.sol-list a {
  display: flex; align-items: center; gap: 12px; padding: 10px 6px; border-top: 1px solid var(--line-2);
  color: var(--ink-2); text-decoration: none; font-size: var(--fs-sm); font-weight: 500;
}
.sol-list li:first-child a { border-top: 0; }
.sol-list a .icon { width: 18px; height: 18px; color: var(--blue); }
.sol-list a span { flex: 1; }
.sol-list a .chev { width: 16px; height: 16px; color: var(--line); transition: transform .15s, color .15s; }
.sol-list a:hover { color: var(--blue); }
.sol-list a:hover .chev { color: var(--blue); transform: translateX(2px); }
.sol-all {
  display: flex; align-items: center; justify-content: space-between; margin-top: 8px; padding: 12px 6px 0;
  border-top: 1px solid var(--line); font-size: var(--fs-sm); font-weight: 600; text-decoration: none;
}
.sol-all .icon { width: 18px; height: 18px; }
.sol-cta {
  background: var(--surface); border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow);
  border-top: 4px solid var(--orange);
  display: grid; gap: 12px; align-content: start;
}
.sol-cta h3 { font-size: var(--fs-xl); color: var(--blue); font-weight: 700; }
.sol-cta p:not(.eyebrow) { color: var(--ink-2); font-size: var(--fs-sm); }
.sol-cta .btn { margin-top: 8px; }
.sol-cta-phone { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 600; text-decoration: none; color: var(--ink); font-size: var(--fs-sm); padding-top: 4px; }
.sol-cta-phone .icon { width: 16px; height: 16px; color: var(--blue); }


/* top services */
.ts-grid { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.ts-card { display: grid; grid-template-rows: auto 1fr; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); transition: box-shadow .2s, transform .2s; }
.ts-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.ts-art {
  position: relative; height: 150px; overflow: hidden;
  background: linear-gradient(135deg, var(--art-a), var(--art-b) 60%, var(--art-c));
  display: grid; place-items: center;
}
.ts-ico { position: relative; z-index: 1; width: 64px; height: 64px; color: var(--blue); stroke-width: 1.4; }
.ts-rings, .ts-rings::before, .ts-rings::after {
  position: absolute; left: 50%; top: 50%; border-radius: 50%; border: 1px solid rgba(21, 101, 184, .16);
}
.ts-rings { width: 120px; height: 120px; margin: -60px 0 0 -60px; background: var(--rings-fill); }
.ts-rings::before, .ts-rings::after { content: ""; }
.ts-rings::before { width: 190px; height: 190px; margin: -95px 0 0 -95px; }
.ts-rings::after { width: 270px; height: 270px; margin: -135px 0 0 -135px; border-color: rgba(229, 80, 42, .14); }
.ts-body { padding: 24px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.ts-body h3 { font-size: var(--fs-lg); font-weight: 800; text-transform: uppercase; letter-spacing: .02em; color: var(--orange-text); }
.ts-body p { color: var(--blue-600); font-size: var(--fs-md); line-height: 1.5; flex: 1; margin-bottom: 12px; }

/* CTA band */
.cta-band { position: relative; background: var(--navy-900); color: #fff; overflow: hidden; }
.cta-band::before {
  content: ""; position: absolute; width: 520px; height: 520px; right: -160px; top: -140px; border-radius: 50%;
  border: 40px solid transparent; border-right-color: rgba(47, 147, 224, .12); border-bottom-color: rgba(240, 119, 45, .08);
}
.cta-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-block: 56px; flex-wrap: wrap; }
.cta-inner h2 { font-size: var(--fs-2xl); font-weight: 800; margin: 8px 0 10px; letter-spacing: -.02em; }
.cta-inner p:not(.eyebrow) { color: #c8d5e5; }
.cta-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.cta-phone { display: inline-flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; font-weight: 600; }
.cta-phone .icon { width: 18px; height: 18px; color: var(--orange-300); }

/* ---------- inner pages */
.page-head {
  position: relative; overflow: hidden; background: var(--bg-2); border-bottom: 1px solid var(--line);
  padding-block: 28px clamp(40px, 5vw, 64px);
}
.page-head .wrap { position: relative; }
.page-head h1 { font-size: var(--fs-2xl); font-weight: 800; letter-spacing: -.025em; margin-top: 10px; max-width: 22ch; }
.page-head .eyebrow { margin-top: 28px; }
.page-head .crumbs + h1 { margin-top: 28px; }
.page-lead { margin-top: 18px; font-size: var(--fs-lg); line-height: 1.6; color: var(--ink-2); max-width: 64ch; }

.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 0; font-size: var(--fs-xs); color: var(--muted); }
.crumbs li { display: flex; align-items: center; }
.crumbs li + li::before { content: "/"; margin: 0 10px; color: var(--line-strong); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--blue); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }

.chips { display: none; border-bottom: 1px solid var(--line); background: var(--bg); }
.chips ul { list-style: none; display: flex; gap: 8px; overflow-x: auto; padding-block: 12px; scrollbar-width: none; }
.chips ul::-webkit-scrollbar { display: none; }
.chips a {
  display: block; white-space: nowrap; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line);
  font-size: var(--fs-xs); font-weight: 600; color: var(--ink-2); text-decoration: none;
}
.chips a[aria-current] { background: var(--btn-bg); border-color: var(--btn-bg); color: #fff; }

.page-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(32px, 5vw, 72px);
  padding-block: clamp(40px, 5vw, 64px) clamp(56px, 7vw, 96px);
}
.page-grid + .band-top-services { background: var(--bg-2); border-top: 1px solid var(--line); }

/* prose */
.prose { min-width: 0; max-width: 72ch; }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-size: var(--fs-xl); margin-top: 1.9em; }
.prose > h2:first-child { margin-top: 0; }
.prose h3 { font-size: var(--fs-lg); margin-top: 1.6em; }
.prose h4 { font-size: var(--fs-md); margin-top: 1.4em; }
.prose h2 + *, .prose h3 + * { margin-top: .6em; }
.prose p, .prose li { color: var(--ink-2); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose .lead { font-size: var(--fs-lg); color: var(--ink); }
.prose ul:not(.checks):not(.svc-grid), .prose ol { padding-left: 1.3em; }
.prose ul:not(.checks):not(.svc-grid) li + li { margin-top: .35em; }
.prose blockquote {
  margin: 0; padding: 20px 24px; background: var(--bg-2); border-radius: var(--radius); border: 1px solid var(--line);
}
.prose blockquote p { color: var(--ink); line-height: 1.7; }
.prose table { width: 100%; border-collapse: collapse; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.checks { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.checks li {
  display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px;
  border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--ink) !important; font-size: var(--fs-sm); line-height: 1.5;
}
.check-ico { width: 22px; height: 22px; flex: none; padding: 4px; border-radius: 50%; background: var(--blue-50); color: var(--blue); stroke-width: 2.5; }
.prose-legal { max-width: 76ch; }
.prose-legal h2 { font-size: var(--fs-lg); scroll-margin-top: calc(var(--header-h) + 16px); }
.prose-legal p, .prose-legal li { font-size: var(--fs-sm); line-height: 1.75; }

/* section overview cards */
.svc-grid { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.svc-card {
  position: relative; display: flex; flex-direction: column; gap: 10px; padding: 24px; border: 1px solid var(--line);
  border-radius: var(--radius); background: var(--surface); transition: border-color .15s, box-shadow .15s;
}
.svc-card:hover { border-color: var(--line-strong); box-shadow: var(--shadow); }
.svc-card h2 { font-size: var(--fs-lg) !important; margin: 6px 0 0 !important; }
.svc-card h2 a { color: var(--ink); text-decoration: none; }
.svc-card h2 a:hover { color: var(--blue); text-decoration: underline; }
.svc-card p { font-size: var(--fs-sm); flex: 1; margin: 0 !important; }
.svc-card > * + * { margin-top: 0 !important; }
.svc-ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; background: var(--blue-50); color: var(--blue); }
.svc-ico .icon { width: 22px; height: 22px; }
.svc-card .more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: var(--fs-sm); text-decoration: none; margin-top: 6px; }
.svc-card .more .icon { width: 16px; height: 16px; transition: transform .15s; }
.svc-card:hover .more .icon { transform: translateX(3px); }

/* sidebar */
.sidebar { min-width: 0; }
.side-sticky { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 20px; }
.side-card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 20px; }
.side-title { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 700; margin-bottom: 10px; padding-inline: 8px; }
.side-title a { color: inherit; text-decoration: none; }
.side-title a:hover { color: var(--blue); }
.side-nav ul { list-style: none; display: grid; gap: 2px; }
.side-nav a {
  display: flex; align-items: center; gap: 10px; padding: 9px 8px; border-radius: 6px; text-decoration: none;
  color: var(--ink-2); font-size: var(--fs-sm); font-weight: 500;
}
.side-nav a .icon { width: 18px; height: 18px; color: var(--muted); }
.side-nav a:hover { background: var(--bg-2); color: var(--ink); }
.side-nav a[aria-current] { background: var(--blue-50); color: var(--blue-700); font-weight: 700; }
.side-nav a[aria-current] .icon { color: var(--blue); }
.side-toc ol { list-style: none; counter-reset: toc; display: grid; gap: 2px; max-height: 40vh; overflow: auto; }
.side-toc a { display: block; padding: 6px 8px; border-radius: 6px; font-size: var(--fs-xs); color: var(--ink-2); text-decoration: none; line-height: 1.4; }
.side-toc a:hover { background: var(--bg-2); color: var(--blue); }
.side-cta { background: var(--panel); border-color: var(--panel-line); color: #fff; padding: 24px; display: grid; gap: 10px; }
.side-cta h2 { font-size: var(--fs-lg); font-weight: 700; }
.side-cta p:not(.eyebrow) { color: #c8d5e5; font-size: var(--fs-sm); }
.side-cta .eyebrow-orange { color: var(--orange-300); }
.side-cta .btn { margin-top: 8px; }

/* ---------- contact */
.contact-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 5vw, 64px);
  padding-block: clamp(40px, 5vw, 64px) clamp(56px, 7vw, 96px); align-items: start;
}
.contact-form { display: grid; gap: 28px; min-width: 0; }
.contact-form fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 16px; min-width: 0; }
.contact-form legend { font-size: var(--fs-lg); font-weight: 700; padding: 0; margin-bottom: 16px; }
.f-row { display: grid; gap: 16px; }
.f-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.f-name { grid-template-columns: 110px minmax(0, 1fr); }
.field { display: grid; gap: 6px; min-width: 0; align-content: start; }
.field label { font-size: var(--fs-sm); font-weight: 600; display: flex; align-items: baseline; gap: 8px; }
.req { font-size: 11px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 46px; padding: 10px 14px; border: 1px solid var(--field-line); border-radius: 8px; background: var(--field-bg);
  font: inherit; font-size: var(--fs-md); color: var(--ink); transition: border-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; min-height: 140px; }
.field select {
  appearance: none; padding-right: 36px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b6a7d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 16px;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--field-line-hover); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(21, 101, 184, .18); }
.field [aria-invalid="true"] { border-color: var(--err-line); box-shadow: 0 0 0 3px rgba(198, 40, 40, .12); }
.err { color: var(--err); font-size: var(--fs-xs); font-weight: 500; }
.seg { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; max-width: 420px; }
.seg-opt {
  position: relative; display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px;
  border: 1px solid var(--field-line); border-radius: 8px; cursor: pointer; font-weight: 600; font-size: var(--fs-sm); color: var(--ink-2);
}
.seg-opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg-opt .icon { width: 18px; height: 18px; }
.seg-opt:has(input:checked) { border-color: var(--blue); background: var(--blue-50); color: var(--blue-700); box-shadow: inset 0 0 0 1px var(--blue); }
.seg-opt:has(input:focus-visible) { outline: 3px solid var(--blue-300); outline-offset: 2px; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--line); }
.fine { font-size: var(--fs-xs); color: var(--muted); }
.form-status { padding: 16px 18px; border-radius: 8px; background: var(--blue-50); color: var(--blue-700); font-weight: 500; font-size: var(--fs-sm); }
.form-status.form-ok { background: var(--ok-bg); color: var(--ok-fg); }
.form-status.form-error { background: var(--err-bg); color: var(--err-fg); }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.btn[aria-busy="true"] { opacity: .7; cursor: progress; }
.contact-side { display: grid; gap: 20px; }
.contact-card h2 { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 700; margin-bottom: 12px; }
.big-phone { display: inline-flex; align-items: center; gap: 10px; font-size: var(--fs-xl); font-weight: 800; color: var(--navy-900); text-decoration: none; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.big-phone .icon { color: var(--blue); width: 24px; height: 24px; }
.muted { color: var(--muted); font-size: var(--fs-sm); }
.kv { display: grid; gap: 4px 0; margin: 16px 0 0; font-size: var(--fs-sm); }
.kv dt { font-size: var(--fs-xs); color: var(--muted); font-weight: 600; margin-top: 10px; }
.kv dt:first-child { margin-top: 0; }
.kv dd { margin: 0; color: var(--ink); font-variant-numeric: tabular-nums; }

/* sitemap */
.sm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; padding-block: 48px 80px; }
.sm-group { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.sm-group h2 { display: flex; align-items: center; gap: 12px; font-size: var(--fs-lg); margin-bottom: 14px; }
.sm-group h2 a { color: var(--ink); text-decoration: none; }
.sm-group h2 a:hover { color: var(--blue); }
.sm-group ul { list-style: none; display: grid; gap: 8px; padding-left: 56px; }
.sm-group li a { font-size: var(--fs-sm); }

/* ---------- footer */
.site-footer { background: var(--navy-950); color: #9fb0c4; font-size: var(--fs-sm); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr)); gap: 32px; padding-block: 64px 48px; }
.f-brand .logo { height: 40px; }
.f-about { margin-top: 20px; max-width: 30ch; line-height: 1.7; color: #b7c5d6; }
.f-col h2 { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .1em; color: #fff; margin-bottom: 14px; }
.f-col h2 a { color: #fff; text-decoration: none; }
.f-col ul { list-style: none; display: grid; gap: 8px; }
.site-footer a { color: #b7c5d6; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-block: 22px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: var(--fs-xs); }
.footer-legal { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 18px; }

/* ---------- responsive */
@media (max-width: 1100px) {
  .sol-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sol-cta { grid-column: 1 / -1; grid-template-columns: 1fr auto; align-items: center; column-gap: 32px; }
  .sol-cta > * { grid-column: 1; }
  .sol-cta .btn, .sol-cta .sol-cta-phone { grid-column: 2; }
  .sol-cta .btn { grid-row: 2 / span 2; align-self: center; margin-top: 0; }
  .sol-cta .sol-cta-phone { grid-row: 1; }
  .footer-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .f-brand { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px 48px; align-items: flex-start; }
  .f-about { margin-top: 0; max-width: 60ch; }
}

@media (max-width: 960px) {
  :root { --header-h: 64px; }
  .site-header { backdrop-filter: none; background: var(--header-solid); }
  .topbar { display: none; }
  .logo { height: 38px; }
  .burger {
    display: grid; place-items: center; width: 44px; height: 44px; margin-left: auto; border: 1px solid var(--line);
    border-radius: 8px; background: var(--surface); cursor: pointer; color: var(--ink);
  }
  .burger .i-close, .burger[aria-expanded="true"] .i-open { display: none; }
  .burger[aria-expanded="true"] .i-close { display: block; }
  .site-nav {
    position: fixed; left: 0; right: 0; top: calc(var(--header-h) + env(safe-area-inset-top, 0px)); bottom: 0;
    flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: 8px var(--gutter) calc(24px + env(safe-area-inset-bottom, 0px));
    background: var(--header-solid); overflow-y: auto; border-top: 1px solid var(--line);
    visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .18s, transform .18s, visibility 0s linear .18s;
  }
  .site-nav.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-item { flex-wrap: wrap; border-bottom: 1px solid var(--line-2); }
  .nav-link { flex: 1; min-height: 58px; padding: 0 4px; font-size: var(--fs-lg); }
  .nav-item[data-active] .nav-link::after, .nav-link[aria-current]::after { display: none; }
  .nav-item[data-active] .nav-link { color: var(--blue); }
  .nav-caret { width: 44px; height: 44px; margin: 0; border: 1px solid var(--line); border-radius: 8px; }
  .mega { position: static; width: 100%; opacity: 1; visibility: visible; transform: none; display: none; }
  .nav-item:hover .mega { display: none; }
  .nav-item.is-open .mega { display: block; }
  .mega-inner { border: 0; box-shadow: none; padding: 0 0 12px; margin: 0; background: transparent; }
  .mega-list a { padding: 10px 4px; }
  .mega-all { padding-inline: 4px; }
  .nav-mobile-extra { display: grid; list-style: none; gap: 0; margin-top: 12px; }
  .nav-mobile-extra a { display: block; padding: 12px 4px; color: var(--ink-2); text-decoration: none; font-weight: 500; }
  .nav-cta { margin-top: 16px; min-height: 52px; font-size: var(--fs-md); }
  body.nav-open { overflow: hidden; }

  .slide { grid-template-columns: 1fr; }
  .slide-media { display: none; }
  .hero-controls { margin-top: 32px; }

  .page-grid, .contact-grid { grid-template-columns: 1fr; }
  .chips { display: block; }
  .side-nav { display: none; }
  .side-sticky { position: static; }
  .side-toc { display: none; }
  .contact-side { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }

  .sol-grid { grid-template-columns: 1fr 1fr; }
  .ts-grid { grid-template-columns: 1fr; }
  .ts-card { grid-template-columns: 200px minmax(0, 1fr); grid-template-rows: none; }
  .ts-art { height: auto; min-height: 150px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .sol-grid { grid-template-columns: 1fr; }
  .sol-cta { display: grid; grid-template-columns: 1fr; }
  .sol-cta > *, .sol-cta .btn, .sol-cta .sol-cta-phone { grid-column: 1; grid-row: auto; }
  .sol-cta .btn { margin-top: 8px; }
  .slide-actions .btn { flex: 1 1 auto; }
  .ts-card { grid-template-columns: 1fr; }
  .ts-art { min-height: 120px; }
  .svc-grid, .checks, .f-2, .contact-side { grid-template-columns: 1fr; }
  .form-foot .btn { width: 100%; }
  .cta-actions { width: 100%; }
  .cta-actions .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; padding-block: 48px 32px; }
  .f-brand { flex-direction: column; gap: 16px; }
  .sm-group ul { padding-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
}

@media print {
  .topbar, .site-header, .hero-controls, .sidebar, .chips, .band-top-services, .cta-band, .site-footer { display: none !important; }
  .page-grid { display: block; }
  body { font-size: 11pt; }
}
