/* ==========================================================================
   Byall Automation — site design system (v2026.12)
   One stylesheet for every public page.
   Colour language: each service family keeps a cable-jacket colour
   (Infrastructure = blue, Managed = green, Cybersecurity = red,
   Low voltage = gold, Field partners = violet). Wherever a card, chip,
   menu item or page belongs to a family, it carries that colour.
   ========================================================================== */

@font-face {
  font-family: "Archivo";
  src: url("/assets/fonts/archivo-latin-standard-normal.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo";
  src: url("/assets/fonts/archivo-latin-ext-standard-normal.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --paper: #F3F5F7;
  --white: #FFFFFF;
  --ink: #0B1F33;
  --ink-2: #2B3F54;
  --muted: #5A6B7D;
  --line: #D8DFE7;
  --line-2: #E7ECF1;

  --blue: #1597E5;        /* logo blue — decoration, cable runs */
  --blue-ink: #0A69AD;    /* blue that passes AA on white for text/buttons */
  --gold: #F5B700;        /* logo gold */
  --gold-ink: #8A6400;

  --c-infra: #1597E5;
  --c-managed: #12A06A;
  --c-cyber: #E0453A;
  --c-lv: #F5B700;
  --c-partner: #7B5CE0;

  --fam: var(--blue);     /* current family colour, set per section/card */

  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --wide: 118%;
  --wider: 125%;

  --r-s: 6px;
  --r-m: 12px;
  --r-l: 20px;

  --wrap: 1240px;
  --pad: clamp(20px, 4vw, 40px);
  --sec: clamp(56px, 7.5vw, 100px);

  --shadow: 0 1px 2px rgba(11, 31, 51, .06), 0 8px 24px -12px rgba(11, 31, 51, .18);
  --shadow-up: 0 2px 4px rgba(11, 31, 51, .06), 0 22px 40px -18px rgba(11, 31, 51, .32);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--gold); color: var(--ink); }

/* old reveal helper from common.js — content is always visible */
.reveal-init, .reveal-init.revealed { opacity: 1 !important; transform: none !important; }

.graphic-skip {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--r-s);
}
.graphic-skip:focus { top: 12px; }

/* ---------- type ---------- */
.t-display, h1 {
  font-stretch: 112%;
  font-weight: 800;
  font-size: clamp(2.3rem, 4.6vw, 3.9rem);
  line-height: 1.0;
  letter-spacing: -.025em;
}
h2, .t-h2 {
  font-stretch: var(--wide);
  font-weight: 800;
  font-size: clamp(1.75rem, 3.2vw, 2.6rem);
  line-height: 1.08;
  letter-spacing: -.02em;
}
h3, .t-h3 {
  font-stretch: 108%;
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.25;
  letter-spacing: -.005em;
}
.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--ink-2); max-width: 56ch; }
.muted { color: var(--muted); }

/* ---------- layout ---------- */
.wrap { width: min(100% - 2 * var(--pad), var(--wrap)); margin-inline: auto; }
.sec { padding-block: var(--sec); }
.sec--white { background: var(--white); }
.sec--ink { background: var(--ink); color: #fff; }
.sec--tight { padding-block: clamp(40px, 6vw, 72px); }

.sec-head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: 16px 48px;
  align-items: end;
  margin-bottom: clamp(32px, 4vw, 52px);
}
.sec-head p { color: var(--muted); max-width: 46ch; justify-self: end; }
.sec--ink .sec-head p { color: #A9B8C8; }
.sec-head--solo { grid-template-columns: 1fr; }
.sec-head--solo p { justify-self: start; }
@media (max-width: 820px) {
  .sec-head { grid-template-columns: 1fr; }
  .sec-head p { justify-self: start; }
}

/* ---------- buttons ---------- */
.b-btn {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 50px; padding: 0 22px;
  border-radius: 999px;
  font-weight: 700; font-stretch: 110%; font-size: .98rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color .18s, color .18s, border-color .18s, transform .18s;
  white-space: nowrap;
}
.b-btn i { font-size: .9em; transition: transform .18s; }
.b-btn:hover i { transform: translateX(3px); }
.b-btn:active { transform: translateY(1px); }
.b-btn--gold { background: var(--gold); color: var(--ink); }
.b-btn--gold:hover { background: #FFC81F; }
.b-btn--ink { background: var(--ink); color: #fff; }
.b-btn--ink:hover { background: #17344F; }
.b-btn--line { border-color: var(--ink); color: var(--ink); background: transparent; }
.b-btn--line:hover { background: var(--ink); color: #fff; }
.b-btn--light { border-color: rgba(255,255,255,.4); color: #fff; }
.b-btn--light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.b-btns { display: flex; flex-wrap: wrap; gap: 12px; }

.b-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-stretch: 108%; color: var(--blue-ink);
  border-bottom: 2px solid currentColor; padding-bottom: 2px;
}
.b-link i { font-size: .8em; transition: transform .18s; }
.b-link:hover i { transform: translateX(3px); }

/* ---------- chips (system links) ---------- */
.b-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.b-chip {
  --fam: var(--blue);
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px 8px 10px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--line);
  font-size: .9rem; font-weight: 600;
  transition: border-color .15s, background-color .15s;
}
.b-chip::before {
  content: ""; width: 10px; height: 10px; border-radius: 50%;
  background: var(--fam); box-shadow: 0 0 0 3px color-mix(in srgb, var(--fam) 22%, transparent);
}
.b-chip:hover, .b-chip.is-hot { border-color: var(--fam); background: color-mix(in srgb, var(--fam) 9%, #fff); }
.sec--ink .b-chip { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.16); color: #fff; }

.fam-infra   { --fam: var(--c-infra); }
.fam-managed { --fam: var(--c-managed); }
.fam-cyber   { --fam: var(--c-cyber); }
.fam-lv      { --fam: var(--c-lv); }
.fam-partner { --fam: var(--c-partner); }

/* ==========================================================================
   Header + mega menu
   ========================================================================== */
.ba-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.ba-header.scrolled { box-shadow: 0 6px 20px -14px rgba(11,31,51,.4); }
.ba-nav {
  width: min(100% - 2 * var(--pad), 1320px); margin-inline: auto;
  height: 76px; display: flex; align-items: center; gap: 28px;
}
.ba-logo img { height: 56px; width: auto; }
.ba-menu { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.ba-menu > a, .ba-drop-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px; border-radius: 999px;
  font-weight: 600; font-size: .97rem; color: var(--ink-2);
  transition: background-color .15s, color .15s;
}
.ba-menu > a:hover, .ba-drop-link:hover, .ba-dropdown:focus-within .ba-drop-link { background: var(--paper); color: var(--ink); }
.ba-menu > a[aria-current="page"], .ba-drop-link[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -3px 0 var(--gold); border-radius: 0; }
.ba-drop-link i { font-size: .7rem; transition: transform .2s; }
.ba-dropdown { position: relative; }
.ba-dropdown:hover .ba-drop-link i, .ba-dropdown:focus-within .ba-drop-link i { transform: rotate(180deg); }

.ba-dropdown-menu {
  position: absolute; top: calc(100% + 10px); left: 50%;
  width: min(1040px, 92vw);
  transform: translate(-42%, 8px);
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-l);
  box-shadow: var(--shadow-up);
  padding: 22px;
  display: grid; grid-template-columns: repeat(4, 1fr) 1fr; gap: 6px;
  opacity: 0; visibility: hidden; transition: opacity .16s, transform .16s, visibility .16s;
}
.ba-dropdown-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.ba-dropdown:hover .ba-dropdown-menu, .ba-dropdown:focus-within .ba-dropdown-menu {
  opacity: 1; visibility: visible; transform: translate(-42%, 0);
}
.mm-col { padding: 14px; border-radius: var(--r-m); }
.mm-col:hover { background: var(--paper); }
.mm-head {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; font-stretch: 112%; font-size: 1rem; line-height: 1.2;
  padding-bottom: 12px; margin-bottom: 8px;
  border-bottom: 3px solid var(--fam);
}
.mm-head i { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 8px; background: color-mix(in srgb, var(--fam) 14%, #fff); color: color-mix(in srgb, var(--fam) 70%, var(--ink)); font-size: .85rem; flex: none; }
.mm-col a:not(.mm-head) { display: block; padding: 6px 0; font-size: .93rem; color: var(--ink-2); }
.mm-col a:not(.mm-head):hover { color: var(--ink); text-decoration: underline; text-decoration-color: var(--fam); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.mm-side {
  background: var(--ink); color: #fff; border-radius: var(--r-m); padding: 18px;
  display: flex; flex-direction: column; gap: 10px;
}
.mm-side a { color: #fff; }
.mm-side .mm-side-title { font-weight: 800; font-stretch: 112%; }
.mm-side p { color: #A9B8C8; font-size: .88rem; }
.mm-side .mm-all { margin-top: auto; font-weight: 700; display: inline-flex; gap: 8px; align-items: center; color: var(--gold); }
.mm-side .mm-partner { display: flex; gap: 10px; align-items: center; font-weight: 700; padding: 10px; border-radius: 10px; background: rgba(255,255,255,.07); }
.mm-side .mm-partner i { color: #B6A3F5; }

.ba-cta {
  display: inline-flex; align-items: center; gap: 8px;
  height: 46px; padding: 0 20px; border-radius: 999px;
  background: var(--gold); color: var(--ink);
  font-weight: 700; font-stretch: 110%; font-size: .95rem; white-space: nowrap;
}
.ba-cta:hover { background: #FFC81F; }
.ba-phone { display: none; }
.ba-toggle {
  display: none; width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--white); cursor: pointer; font-size: 1.1rem;
}

@media (max-width: 1080px) {
  .ba-dropdown-menu { grid-template-columns: repeat(2, 1fr); width: min(640px, 92vw); transform: translate(-50%, 8px); }
  .ba-dropdown:hover .ba-dropdown-menu, .ba-dropdown:focus-within .ba-dropdown-menu { transform: translate(-50%, 0); }
  .mm-side { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .ba-nav { height: 68px; gap: 12px; }
  .ba-logo img { height: 48px; }
  .ba-toggle { display: grid; place-items: center; order: 3; }
  .ba-cta { margin-left: auto; height: 42px; padding: 0 16px; font-size: .9rem; }
  .ba-menu {
    position: fixed; inset: 68px 0 auto 0; margin: 0;
    max-height: calc(100dvh - 68px); overflow-y: auto;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); border-bottom: 1px solid var(--line);
    padding: 10px var(--pad) 24px;
    box-shadow: 0 24px 40px -24px rgba(11,31,51,.45);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .18s, transform .18s, visibility .18s;
  }
  .ba-menu.active { opacity: 1; visibility: visible; transform: none; }
  .ba-menu > a, .ba-drop-link { padding: 14px 4px; border-radius: 0; border-bottom: 1px solid var(--line-2); font-size: 1.05rem; justify-content: space-between; width: 100%; }
  .ba-menu > a[aria-current="page"], .ba-drop-link[aria-current="page"] { box-shadow: inset 4px 0 0 var(--gold); padding-left: 14px; }
  .ba-dropdown-menu {
    position: static; transform: none !important; width: auto; box-shadow: none; border: 0;
    padding: 6px 0 10px; grid-template-columns: 1fr; opacity: 1; visibility: visible;
    display: none;
  }
  .ba-dropdown:hover .ba-dropdown-menu { display: none; }
  .ba-dropdown.active .ba-dropdown-menu { display: grid; }
  .ba-dropdown.active .ba-drop-link i { transform: rotate(180deg); }
  .ba-dropdown-menu::before { display: none; }
  .mm-col { padding: 10px 4px; }
}
@media (max-width: 480px) {
  .ba-cta { display: none; }
  .ba-phone { display: grid; place-items: center; margin-left: auto; width: 46px; height: 46px; border-radius: 50%; background: var(--gold); color: var(--ink); }
}

/* ==========================================================================
   Home hero — the building section drawing
   ========================================================================== */
.home-hero { background: var(--paper); padding-top: clamp(28px, 4vw, 56px); overflow: hidden; }
.home-hero .wrap {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(24px, 4vw, 56px); align-items: center;
}
.hero-copy h1 { margin-bottom: 20px; }
.hero-copy .lead { margin-bottom: 26px; }
.hero-copy .b-chips { margin-bottom: 30px; }
.hero-area { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ink-2); margin-bottom: 22px; font-size: .95rem; }
.hero-area span { display: inline-grid; place-items: center; min-width: 38px; height: 26px; padding: 0 8px; border-radius: 6px; background: var(--ink); color: #fff; font-weight: 800; font-stretch: 112%; font-size: .8rem; }

.bldg { position: relative; margin: 0; }
.bldg-board {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  box-shadow: var(--shadow);
  padding: 14px 14px 0;
}
.bldg-canvas { position: relative; }
.bldg svg { width: 100%; height: auto; }
.bldg .run { fill: none; stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; transition: opacity .25s, stroke-width .25s; }
.bldg .run--infra { stroke: var(--c-infra); }
.bldg .run--managed { stroke: var(--c-managed); }
.bldg .run--cyber { stroke: var(--c-cyber); }
.bldg .run--lv { stroke: #E0A800; }
.bldg .pulse { fill: none; stroke: #fff; stroke-width: 2; stroke-dasharray: 3 14; stroke-linecap: round; opacity: 0; }
.bldg[data-active] .run { opacity: .18; }
.bldg[data-active] .run.is-on { opacity: 1; stroke-width: 4.2; }
.bldg[data-active] .pulse.is-on { opacity: .95; animation: flow 1s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -17; } }
.bldg .dev.is-on { filter: drop-shadow(0 0 6px rgba(245,183,0,.9)); }

.hot {
  --fam: var(--blue);
  position: absolute; transform: translate(-50%, -50%);
  width: 36px; height: 36px; border-radius: 50%;
  border: 2px solid #fff; background: var(--fam); color: #fff;
  display: grid; place-items: center; cursor: pointer; font-size: .82rem;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--fam) 26%, transparent), 0 6px 14px -4px rgba(11,31,51,.5);
  transition: transform .15s, box-shadow .15s;
  padding: 0;
}
.hot.fam-lv { color: var(--ink); }
.hot::after {
  content: ""; position: absolute; inset: -9px; border-radius: 50%;
  border: 2px solid var(--fam); opacity: 0;
}
.hot:hover, .hot[aria-pressed="true"] { transform: translate(-50%, -50%) scale(1.14); }
.hot[aria-pressed="true"]::after { opacity: 1; }
.bldg:not([data-active]) .hot::after { animation: ping 2.6s ease-out 1.2s 2; }
@keyframes ping { 0% { opacity: .9; transform: scale(.7); } 100% { opacity: 0; transform: scale(1.5); } }

.bldg-panel {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px;
  margin: 12px -14px 0; padding: 14px 18px;
  border-top: 1px solid var(--line);
  min-height: 78px;
}
.bldg-panel .bp-icon {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: color-mix(in srgb, var(--fam, var(--blue)) 14%, #fff); color: color-mix(in srgb, var(--fam, var(--blue)) 75%, var(--ink));
  font-size: 1.1rem;
}
.bldg-panel strong { display: block; font-stretch: 112%; font-size: 1.05rem; }
.bldg-panel span { color: var(--muted); font-size: .92rem; }
.bldg-panel .b-btn { min-height: 42px; padding: 0 16px; font-size: .9rem; }
.bldg-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; padding: 12px 4px 0; font-size: .82rem; color: var(--muted); }
.bldg-legend span { display: inline-flex; align-items: center; gap: 7px; }
.bldg-legend span::before { content: ""; width: 18px; height: 4px; border-radius: 2px; background: var(--fam); }

/* stats band */
.home-stats { margin-top: clamp(32px, 5vw, 56px); background: var(--ink); color: #fff; }
.home-stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr) auto; align-items: stretch; }
.stat-item { padding: 26px 22px; border-left: 1px solid rgba(255,255,255,.12); display: flex; gap: 14px; align-items: center; }
.stat-item:first-child { border-left: 0; padding-left: 0; }
.stat-item i { font-size: 1.2rem; color: var(--gold); width: 26px; text-align: center; }
.stat-num { font-size: clamp(1.7rem, 2.8vw, 2.4rem); font-weight: 800; font-stretch: var(--wider); line-height: 1; letter-spacing: -.02em; }
.stat-label { font-size: .85rem; color: #A9B8C8; line-height: 1.25; margin-top: 4px; }
.hero-bottom-note { align-self: center; padding-left: 22px; font-size: .85rem; color: #A9B8C8; max-width: 200px; border-left: 1px solid rgba(255,255,255,.12); }
@media (max-width: 1000px) {
  .home-hero .wrap { grid-template-columns: 1fr; }
  .home-stats .wrap { grid-template-columns: repeat(2, 1fr); }
  .stat-item { padding: 20px 16px; border-top: 1px solid rgba(255,255,255,.12); }
  .stat-item:nth-child(odd) { border-left: 0; padding-left: 0; }
  .stat-item:nth-child(-n+2) { border-top: 0; }
  .hero-bottom-note { grid-column: 1 / -1; max-width: none; border-left: 0; padding: 14px 0 20px; border-top: 1px solid rgba(255,255,255,.12); }
}
@media (max-width: 560px) {
  .hot { width: 30px; height: 30px; font-size: .7rem; }
  .bldg-panel { grid-template-columns: auto 1fr; }
  .bldg-panel .b-btn { grid-column: 1 / -1; justify-content: center; }
}

/* quick system tiles under hero */
.sys-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.sys-tile {
  --fam: var(--blue);
  position: relative; overflow: hidden;
  display: grid; grid-template-rows: 150px auto;
  background: var(--white); border-radius: var(--r-m); border: 1px solid var(--line);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.sys-tile img { width: 100%; height: 150px; object-fit: cover; }
.sys-tile span { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px; font-weight: 700; font-stretch: 110%; border-top: 4px solid var(--fam); }
.sys-tile span i { color: var(--muted); font-size: .85rem; transition: transform .2s; }
.sys-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-up); }
.sys-tile:hover span i { transform: translateX(3px); color: var(--ink); }
@media (max-width: 900px) { .sys-tiles { grid-template-columns: repeat(2, 1fr); } }

/* industries strip */
.ind-strip { border-block: 1px solid var(--line); background: var(--white); }
.ind-strip .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-block: 18px; }
.strip-item { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ink-2); font-size: .95rem; }
.strip-item i { color: var(--blue-ink); }

/* ==========================================================================
   Cards & grids
   ========================================================================== */
.grid { display: grid; gap: 16px; }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .g-4 { grid-template-columns: repeat(2, 1fr); } .g-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .g-4, .g-3, .g-2 { grid-template-columns: 1fr; } }

/* icon card: big icon, title, one line */
.i-card {
  --fam: var(--blue);
  position: relative;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-m);
  padding: 24px 22px 22px;
  display: flex; flex-direction: column; gap: 10px;
}
.sec--white .i-card { background: var(--paper); border-color: var(--line-2); }
.i-card .ic {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
  background: color-mix(in srgb, var(--fam) 13%, #fff); color: color-mix(in srgb, var(--fam) 72%, var(--ink));
  font-size: 1.35rem; margin-bottom: 6px;
}
.i-card p { color: var(--muted); font-size: .95rem; }
.i-card ul { margin-top: 4px; display: grid; gap: 6px; }
.i-card li { display: flex; gap: 9px; align-items: baseline; font-size: .93rem; color: var(--ink-2); }
.i-card li::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 2px; background: var(--fam); transform: translateY(-1px); }
a.i-card { transition: border-color .18s, transform .18s, box-shadow .18s; }
a.i-card:hover { border-color: var(--fam); transform: translateY(-3px); box-shadow: var(--shadow); }
.i-card .more { margin-top: auto; padding-top: 8px; font-weight: 700; font-size: .9rem; color: var(--blue-ink); display: inline-flex; gap: 8px; align-items: center; }

/* pillar card: the four service families */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pillar {
  --fam: var(--blue);
  display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-l); overflow: hidden;
  transition: box-shadow .2s, transform .2s;
}
.pillar:hover { box-shadow: var(--shadow-up); transform: translateY(-3px); }
.pillar-photo { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.pillar-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.pillar:hover .pillar-photo img { transform: scale(1.04); }
.pillar-photo .tag {
  position: absolute; left: 14px; bottom: 14px;
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  background: var(--fam); color: #fff; font-size: 1.2rem; box-shadow: 0 8px 16px -6px rgba(0,0,0,.45);
}
.pillar.fam-lv .pillar-photo .tag { color: var(--ink); }
.pillar-body { padding: 20px 20px 22px; display: flex; flex-direction: column; gap: 12px; flex: 1; border-top: 5px solid var(--fam); }
.pillar-body h3 { font-size: 1.22rem; }
.pillar-body p { color: var(--muted); font-size: .93rem; }
.pillar-links { display: grid; gap: 2px; }
.pillar-links a { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line-2); font-size: .93rem; font-weight: 600; color: var(--ink-2); }
.pillar-links a i { color: var(--line); font-size: .75rem; transition: color .15s, transform .15s; }
.pillar-links a:hover { color: var(--ink); }
.pillar-links a:hover i { color: var(--fam); transform: translateX(3px); }
.pillar .b-btn { margin-top: auto; align-self: flex-start; min-height: 44px; font-size: .9rem; }
@media (max-width: 1100px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .pillars { grid-template-columns: 1fr; } }

/* photo tile with overlay title (industries) */
.p-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.p-tile { position: relative; border-radius: var(--r-m); overflow: hidden; min-height: 300px; display: flex; align-items: flex-end; color: #fff; isolation: isolate; }
.p-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.p-tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11,31,51,0) 35%, rgba(11,31,51,.92) 100%); }
.p-tile .pt-body { padding: 20px; }
.p-tile .pt-ic { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--gold); color: var(--ink); margin-bottom: 12px; }
.p-tile h3 { margin-bottom: 4px; }
.p-tile p { color: #D3DDE7; font-size: .9rem; }
@media (max-width: 1000px) { .p-tiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .p-tiles { grid-template-columns: 1fr; } .p-tile { min-height: 220px; } }

/* split: photo + checklist */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.split--rev .split-media { order: 2; }
.split h2 { margin-bottom: 16px; }
.split .lead { margin-bottom: 22px; }
.split-media { position: relative; }
.split-media img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--r-l); }
.split-media .badge {
  position: absolute; right: -14px; bottom: 24px;
  background: var(--ink); color: #fff; border-radius: var(--r-m); padding: 14px 18px;
  display: flex; gap: 12px; align-items: center; box-shadow: var(--shadow-up); max-width: 260px; font-size: .9rem;
}
.split-media .badge i { color: var(--gold); font-size: 1.3rem; }
.split-media .badge b { display: block; font-stretch: 115%; font-size: 1.05rem; }
.checks { display: grid; gap: 10px; margin-bottom: 26px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; }
.checks li i { flex: none; margin-top: 3px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: .66rem; background: var(--ink); color: var(--gold); }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split--rev .split-media { order: 0; }
  .split-media .badge { right: 12px; }
}

/* steps on a cable */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: s; }
.steps::before {
  content: ""; position: absolute; left: 28px; right: 28px; top: 27px; height: 4px; border-radius: 2px;
  background: linear-gradient(90deg, var(--c-infra), var(--c-lv), var(--c-managed));
}
.step { position: relative; padding-top: 76px; }
.step .port {
  position: absolute; top: 0; left: 0; width: 58px; height: 58px; border-radius: 14px;
  display: grid; place-items: center; background: var(--ink); color: #fff;
  font-weight: 800; font-stretch: var(--wider); font-size: 1.15rem;
  box-shadow: 0 0 0 6px var(--paper);
}
.sec--white .step .port { box-shadow: 0 0 0 6px var(--white); }
.step .port i { position: absolute; right: -8px; bottom: -8px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--ink); font-size: .7rem; }
.step h3 { margin-bottom: 6px; font-size: 1.2rem; }
.step p { color: var(--muted); font-size: .95rem; max-width: 30ch; }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .steps::before { display: none; }
}
@media (max-width: 340px) { .steps { grid-template-columns: 1fr; } }

/* logo marquee */
.partners-slider { position: relative; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.partners-track { display: flex; gap: 14px; width: max-content; animation: marquee 38s linear infinite; }
.partners-slider:hover .partners-track { animation-play-state: paused; }
.partner-card { width: 170px; height: 92px; flex: none; display: grid; place-items: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-m); padding: 16px 22px; }
.sec--white .partner-card { background: var(--paper); border-color: var(--line-2); }
.partner-card img { max-height: 52px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .2s, opacity .2s; }
.partner-card:hover img { filter: none; opacity: 1; }
@keyframes marquee { to { transform: translateX(calc(-50% - 7px)); } }

/* project cards (scroller) */
.proj-scroller { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 1fr); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 14px; scrollbar-width: thin; }
.proj-scroller > * { scroll-snap-align: start; }
.proj-card, .project-box {
  --fam: var(--blue);
  display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-m); overflow: hidden;
}
.proj-logo, .project-logo { height: 150px; display: grid; place-items: center; padding: 22px 28px; background: #fff; border-bottom: 1px solid var(--line-2); }
.proj-logo img, .project-logo img { max-height: 100px; width: auto; object-fit: contain; }
.proj-body, .project-box .project-content { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; border-top: 4px solid var(--fam); }
.project-tag { align-self: flex-start; font-size: .8rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: color-mix(in srgb, var(--fam) 13%, #fff); color: color-mix(in srgb, var(--fam) 70%, var(--ink)); }
.proj-body p, .project-box p { color: var(--muted); font-size: .93rem; }
.scroller-ctrl { display: flex; gap: 8px; }
.scroller-ctrl button { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); cursor: pointer; }
.scroller-ctrl button:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* states */
.states { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.state {
  position: relative; overflow: hidden;
  border-radius: var(--r-m); padding: 22px; min-height: 150px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  display: flex; flex-direction: column; justify-content: space-between;
}
.state b { font-size: clamp(3rem, 6vw, 4.6rem); font-weight: 800; font-stretch: var(--wider); line-height: .9; letter-spacing: -.03em; color: var(--gold); }
.state h3 { color: #fff; }
.state span { color: #A9B8C8; font-size: .88rem; }
.state i { position: absolute; right: 20px; top: 20px; color: rgba(255,255,255,.35); }
@media (max-width: 620px) { .states { grid-template-columns: 1fr; } .state { min-height: 0; flex-direction: row; align-items: center; } }

/* final CTA */
.final-cta { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.final-cta .wrap { display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px 56px; align-items: center; padding-block: clamp(56px, 8vw, 96px); }
.final-cta h2 { color: #fff; }
.final-cta p { color: #A9B8C8; margin-top: 12px; max-width: 48ch; }
.final-cta .cta-side { display: grid; gap: 14px; justify-items: start; }
.final-cta .cta-phone { display: flex; gap: 12px; align-items: center; color: #fff; font-weight: 700; font-stretch: 112%; font-size: 1.15rem; }
.final-cta .cta-phone i { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); color: var(--gold); }
.final-cta::after {
  content: ""; position: absolute; right: -60px; top: 50%; width: 420px; height: 6px; border-radius: 3px;
  background: var(--gold); box-shadow: 0 16px 0 var(--c-infra), 0 32px 0 var(--c-managed), 0 48px 0 var(--c-cyber);
  transform: rotate(-12deg); opacity: .9;
}
@media (max-width: 860px) { .final-cta .wrap { grid-template-columns: 1fr; } .final-cta::after { display: none; } }

/* ==========================================================================
   Inner page hero
   ========================================================================== */
.page-hero { background: var(--paper); padding-block: clamp(36px, 5vw, 72px) clamp(40px, 6vw, 80px); overflow: hidden; }
.page-hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.page-hero .crumb { display: flex; align-items: center; gap: 10px; font-size: .9rem; color: var(--muted); margin-bottom: 18px; font-weight: 600; }
.page-hero .crumb a:hover { color: var(--ink); text-decoration: underline; }
.page-hero .crumb .fam-pill { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); color: var(--ink-2); }
.page-hero .crumb .fam-pill::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--fam); }
.page-hero h1 { margin-bottom: 18px; }
.page-hero .lead { margin-bottom: 26px; }
.page-hero .b-chips { margin-top: 24px; }

.ph-media { position: relative; }
.ph-media .ph-main { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-l); }
.ph-media .ph-sub {
  position: absolute; left: -28px; bottom: -28px; width: 42%; aspect-ratio: 1; object-fit: cover;
  border-radius: var(--r-m); border: 6px solid var(--paper); box-shadow: var(--shadow-up);
}
.ph-media .ph-bar { position: absolute; top: 22px; right: -10px; display: grid; gap: 6px; }
.ph-media .ph-bar span { display: block; width: 110px; height: 6px; border-radius: 3px; background: var(--fam); }
.ph-media .ph-bar span:nth-child(2) { width: 80px; opacity: .55; }
.ph-media .ph-bar span:nth-child(3) { width: 50px; opacity: .3; }
.ph-stamp {
  position: absolute; right: 18px; bottom: 18px;
  display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: var(--r-m);
  background: rgba(255,255,255,.95); box-shadow: var(--shadow); font-size: .88rem; max-width: 70%;
}
.ph-stamp i { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--fam); color: #fff; flex: none; }
.fam-lv .ph-stamp i, .ph-stamp.fam-lv i { color: var(--ink); }
.ph-stamp > div { min-width: 0; }
.ph-stamp b { display: block; font-stretch: 112%; font-size: .98rem; }
@media (max-width: 900px) {
  .page-hero .wrap { grid-template-columns: minmax(0, 1fr); }
  .ph-stamp { right: 10px; bottom: 10px; max-width: calc(100% - 20px); }
  .ph-media { margin-left: 18px; }
  .ph-media .ph-sub { left: -18px; bottom: -18px; width: 36%; }
}

/* stat row inside light sections */
.k-row { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--r-m); background: var(--white); overflow: hidden; }
.k-row > div { padding: 22px; border-left: 1px solid var(--line); }
.k-row > div:first-child { border-left: 0; }
.k-row strong { display: block; font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; font-stretch: var(--wider); letter-spacing: -.02em; line-height: 1.05; }
.k-row span { color: var(--muted); font-size: .9rem; }
@media (max-width: 760px) { .k-row { grid-template-columns: 1fr 1fr; } .k-row > div:nth-child(3) { border-left: 0; } .k-row > div:nth-child(n+3) { border-top: 1px solid var(--line); } }

/* sub-service link list (inner pages) */
.svc-links { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.svc-link {
  --fam: var(--blue);
  display: flex; align-items: center; gap: 14px; padding: 16px 18px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-m);
  font-weight: 700; font-stretch: 108%;
  transition: border-color .15s, box-shadow .15s;
}
.svc-link i:first-child { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; flex: none; background: color-mix(in srgb, var(--fam) 13%, #fff); color: color-mix(in srgb, var(--fam) 72%, var(--ink)); }
.svc-link i:last-child { margin-left: auto; color: var(--line); font-size: .8rem; transition: color .15s, transform .15s; }
.svc-link:hover { border-color: var(--fam); box-shadow: var(--shadow); }
.svc-link:hover i:last-child { color: var(--fam); transform: translateX(3px); }
@media (max-width: 1000px) { .svc-links { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .svc-links { grid-template-columns: 1fr; } }

/* low-voltage photo cards */
.ph-card { --fam: var(--c-lv); background: var(--white); border: 1px solid var(--line); border-radius: var(--r-m); overflow: hidden; display: flex; flex-direction: column; }
.ph-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.ph-card .pc-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; border-top: 4px solid var(--fam); position: relative; flex: 1; }
.ph-card .pc-ic { position: absolute; top: -26px; right: 18px; width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--fam); color: #fff; box-shadow: 0 8px 16px -6px rgba(0,0,0,.4); }
.ph-card.fam-lv .pc-ic { color: var(--ink); }
.ph-card p { color: var(--muted); font-size: .93rem; }
.ph-card .more { margin-top: auto; padding-top: 6px; font-weight: 700; font-size: .9rem; color: var(--blue-ink); display: inline-flex; gap: 8px; align-items: center; }
a.ph-card { transition: box-shadow .2s, transform .2s; }
a.ph-card:hover { box-shadow: var(--shadow-up); transform: translateY(-3px); }

/* benefits row on ink */
.why-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid rgba(255,255,255,.14); }
.why-row > div { padding: 26px 24px 8px 0; display: flex; flex-direction: column; gap: 10px; }
.why-row > div + div { padding-left: 24px; border-left: 1px solid rgba(255,255,255,.14); }
.why-row i { font-size: 1.5rem; color: var(--gold); }
.why-row h3 { color: #fff; }
.why-row p { color: #A9B8C8; font-size: .95rem; }
@media (max-width: 760px) { .why-row { grid-template-columns: 1fr; } .why-row > div + div { padding-left: 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.14); } }

/* ==========================================================================
   Service detail pages
   ========================================================================== */
.svc-hero .wrap { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); }
.deliver { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: d; }
.deliver li {
  --fam: var(--blue);
  position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-m);
  padding: 22px; display: flex; flex-direction: column; gap: 14px; min-height: 170px;
}
.deliver li .ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 1.3rem; background: color-mix(in srgb, var(--fam) 13%, #fff); color: color-mix(in srgb, var(--fam) 72%, var(--ink)); }
.deliver li strong { font-stretch: 108%; font-size: 1.08rem; line-height: 1.3; }
.deliver li::after { counter-increment: d; content: counter(d, decimal-leading-zero); position: absolute; right: 18px; top: 18px; font-weight: 800; font-stretch: var(--wider); color: var(--line); font-size: 1.1rem; }
@media (max-width: 860px) { .deliver { grid-template-columns: 1fr; } .deliver li { min-height: 0; flex-direction: row; align-items: center; } }
.detail-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 860px) { .related { grid-template-columns: 1fr; } }

/* ==========================================================================
   Projects page
   ========================================================================== */
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.filter-bar button {
  padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--white);
  font-weight: 600; font-size: .9rem; cursor: pointer;
}
.filter-bar button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.projects-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.project-box[hidden] { display: none; }
.project-box h3 { font-size: 1.08rem; }
@media (max-width: 1100px) { .projects-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 820px) { .projects-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .projects-grid { grid-template-columns: 1fr; } }

.ba-testi-wrap { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.ba-testi-track { display: flex; gap: 16px; width: max-content; animation: marquee 70s linear infinite; }
.ba-testi-wrap:hover .ba-testi-track { animation-play-state: paused; }
.ba-testi-card { width: 380px; flex: none; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--r-m); padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.ba-stars { color: var(--gold); letter-spacing: 3px; }
.ba-quote { color: #E3EAF1; font-size: .98rem; }
.ba-author { display: flex; gap: 12px; align-items: center; margin-top: auto; }
.ba-avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--ink); font-weight: 800; font-size: .85rem; flex: none; }
.ba-author-name { font-weight: 700; color: #fff; }
.ba-author-role { color: #A9B8C8; font-size: .82rem; }

/* ==========================================================================
   Credentials
   ========================================================================== */
.lic-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.lic-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-m); padding: 20px; display: flex; flex-direction: column; gap: 14px; position: relative; }
.lic-state { width: 64px; height: 64px; border-radius: 14px; background: var(--ink); color: var(--gold); display: grid; place-items: center; font-weight: 800; font-stretch: var(--wider); font-size: 1.4rem; }
.lic-body { display: flex; flex-direction: column; gap: 4px; }
.lic-body strong { font-stretch: 108%; line-height: 1.3; }
.lic-type { color: var(--muted); font-size: .9rem; }
.lic-num { font-weight: 700; font-size: .9rem; color: var(--blue-ink); font-variant-numeric: tabular-nums; }
.lic-badge { position: absolute; top: 18px; right: 18px; display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 700; color: #0D7A50; background: #E3F5EC; border-radius: 999px; padding: 4px 10px; }
.lic-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--c-managed); }
@media (max-width: 1000px) { .lic-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .lic-grid { grid-template-columns: 1fr; } }
.erate-note { margin-top: 18px; display: flex; gap: 14px; align-items: center; flex-wrap: wrap; padding: 16px 20px; border-radius: var(--r-m); background: color-mix(in srgb, var(--c-infra) 9%, #fff); border: 1px solid color-mix(in srgb, var(--c-infra) 30%, #fff); }
.erate-note > i { color: var(--blue-ink); font-size: 1.2rem; }
.erate-note p { flex: 1; min-width: 220px; font-size: .95rem; }

.vendor-groups { display: grid; gap: 28px; }
.vendor-group h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-size: 1rem; }
.vendor-group h3 i { width: 32px; height: 32px; border-radius: 8px; display: grid; place-items: center; background: color-mix(in srgb, var(--fam) 14%, #fff); color: color-mix(in srgb, var(--fam) 72%, var(--ink)); font-size: .85rem; }
.partner-badge-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.pbadge-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-m); padding: 14px; min-height: 108px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; }
.sec--white .pbadge-card { background: var(--paper); border-color: var(--line-2); }
.pbadge-card img { max-height: 44px; width: auto; max-width: 110px; object-fit: contain; }
.pbadge-card span { font-size: .8rem; color: var(--muted); font-weight: 600; }
.pbadge-text-logo { font-weight: 800; font-stretch: var(--wide); font-size: 1.05rem; color: var(--ink); letter-spacing: -.01em; }
.pbadge-highlight { border: 2px solid var(--c-cyber); }
.pbadge-highlight span { color: var(--c-cyber); }

.member { display: grid; grid-template-columns: auto 1fr auto; gap: 22px; align-items: center; padding: 24px; border-radius: var(--r-l); background: var(--white); border: 1px solid var(--line); }
.member .m-ic { width: 76px; height: 76px; border-radius: 18px; display: grid; place-items: center; background: var(--ink); color: var(--gold); font-size: 1.8rem; }
.member strong { font-size: 1.25rem; font-stretch: 112%; display: block; }
.member .m-sub { color: var(--muted); font-size: .93rem; }
.member .membership-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.member .membership-tags span { font-size: .8rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); }
.membership-badge { font-weight: 700; font-size: .85rem; color: #0D7A50; background: #E3F5EC; padding: 8px 14px; border-radius: 999px; white-space: nowrap; }
@media (max-width: 760px) { .member { grid-template-columns: 1fr; } }

.erate-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
.erate-grid h2 { color: #fff; margin-bottom: 14px; }
.erate-grid > div > p { color: #A9B8C8; margin-bottom: 20px; }
.erate-list { display: grid; gap: 10px; }
.erate-list li { display: flex; gap: 12px; color: #E3EAF1; }
.erate-list li i { color: var(--gold); margin-top: 4px; }
.erate-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,.14); border-radius: var(--r-m); overflow: hidden; }
.erate-stat { background: var(--ink); padding: 20px; }
.erate-stat strong { display: block; font-size: 1.5rem; font-weight: 800; font-stretch: var(--wider); color: var(--gold); line-height: 1.1; font-variant-numeric: tabular-nums; }
.erate-stat span { font-size: .82rem; color: #A9B8C8; }
@media (max-width: 900px) { .erate-grid { grid-template-columns: 1fr; } .erate-stats { grid-template-columns: 1fr 1fr; } }

/* ==========================================================================
   Team
   ========================================================================== */
.team-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.team-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-m); overflow: hidden; display: flex; flex-direction: column; }
.team-photo { aspect-ratio: 4 / 5; background: var(--line-2); overflow: hidden; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.team-card .tc-body { padding: 16px 16px 20px; display: flex; flex-direction: column; gap: 6px; border-top: 4px solid var(--fam, var(--blue)); }
.team-position { font-size: .82rem; font-weight: 700; color: var(--blue-ink); }
.team-text { color: var(--muted); font-size: .88rem; }
@media (max-width: 1100px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .team-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 440px) { .team-grid { grid-template-columns: 1fr; } }
.team-extra { margin-top: 22px; display: flex; gap: 18px; align-items: center; flex-wrap: wrap; padding: 18px 22px; border-radius: var(--r-m); background: var(--ink); color: #fff; }
.team-extra-avatars { display: flex; }
.team-extra-avatars > * { width: 44px; height: 44px; border-radius: 50%; border: 3px solid var(--ink); margin-left: -10px; display: grid; place-items: center; background: #1C3A57; color: var(--gold); font-size: .9rem; }
.team-extra-avatars > *:first-child { margin-left: 0; }
.team-count { background: var(--gold) !important; color: var(--ink) !important; font-weight: 800; font-size: .82rem !important; }
.team-extra p { color: #C6D3DF; flex: 1; min-width: 240px; font-size: .95rem; }

/* ==========================================================================
   Forms (contact + partner application)
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
@media (max-width: 920px) { .contact-grid { grid-template-columns: 1fr; } }
.c-ways { display: grid; gap: 10px; margin-top: 26px; }
.c-way { display: flex; align-items: center; gap: 16px; padding: 16px 18px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-m); transition: border-color .15s, box-shadow .15s; }
a.c-way:hover { border-color: var(--ink); box-shadow: var(--shadow); }
.c-way > i { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--ink); color: var(--gold); flex: none; font-size: 1.05rem; }
.c-way h3 { font-size: .82rem; font-weight: 600; color: var(--muted); font-stretch: 100%; margin-bottom: 2px; }
.c-way p, .c-way p a { font-weight: 700; font-stretch: 108%; }
.c-way.is-wa > i { background: #1FAF55; color: #fff; }
.c-photo { margin-top: 18px; border-radius: var(--r-l); overflow: hidden; position: relative; }
.c-photo img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-l); padding: clamp(22px, 3vw, 36px); box-shadow: var(--shadow); }
.form-card h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-bottom: 6px; }
.form-subtitle { color: var(--muted); margin-bottom: 22px; }
.byall-field, .pn-form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.f-row, .pn-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
@media (max-width: 560px) { .f-row, .pn-form-row { grid-template-columns: 1fr; } }
label { font-weight: 600; font-size: .9rem; }
input[type=text], input[type=email], input[type=tel], input[type=url], select, textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  border-radius: var(--r-s); border: 1.5px solid var(--line); background: var(--paper);
  font-size: 1rem; transition: border-color .15s, background-color .15s;
}
textarea { min-height: 130px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue-ink); background: #fff; box-shadow: 0 0 0 4px color-mix(in srgb, var(--blue) 18%, transparent); }
.field-error { display: none; color: #B42318; font-size: .82rem; }
.byall-field.has-error .field-error { display: block; }
.byall-field.has-error input, .byall-field.has-error select, .byall-field.has-error textarea { border-color: #B42318; }

.type-pick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 8px; }
.type-pick button {
  display: flex; flex-direction: column; align-items: flex-start; gap: 8px;
  padding: 12px; border-radius: var(--r-s); border: 1.5px solid var(--line); background: var(--white);
  font-size: .85rem; font-weight: 600; text-align: left; cursor: pointer; line-height: 1.2;
  transition: border-color .15s, background-color .15s;
}
.type-pick button i { color: var(--fam, var(--blue-ink)); font-size: 1rem; }
.type-pick button:hover { border-color: var(--ink-2); }
.type-pick button[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: #fff; }
.type-pick button[aria-pressed="true"] i { color: var(--gold); }
@media (max-width: 560px) { .type-pick { grid-template-columns: 1fr 1fr; } }

.byall-submit, .pn-submit { width: 100%; justify-content: center; min-height: 56px; font-size: 1.05rem; background: var(--gold); color: var(--ink); border: 0; border-radius: 999px; font-weight: 800; font-stretch: 112%; cursor: pointer; display: inline-flex; align-items: center; gap: 10px; }
.byall-submit:hover, .pn-submit:hover { background: #FFC81F; }
.pn-note { margin-top: 14px; font-size: .85rem; color: var(--muted); }
.pn-check-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.pn-check-grid label { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: var(--r-s); background: var(--paper); font-weight: 500; cursor: pointer; font-size: .9rem; }
.pn-check-grid label:has(input:checked) { border-color: var(--ink); background: #fff; box-shadow: inset 0 0 0 1px var(--ink); }
.pn-check-grid input { width: 18px; height: 18px; accent-color: var(--ink); }
@media (max-width: 860px) { .pn-check-grid { grid-template-columns: 1fr 1fr; } }

.logo-wall { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.logo-wall img { width: 100%; height: 96px; object-fit: contain; padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-m); }
@media (max-width: 900px) { .logo-wall { grid-template-columns: repeat(3, 1fr); } }

/* ==========================================================================
   Partner network
   ========================================================================== */
.pn-cap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.pn-cap .i-card { --fam: var(--c-partner); }
@media (max-width: 1000px) { .pn-cap { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .pn-cap { grid-template-columns: 1fr; } }
.pn-form-wrap { max-width: 920px; }

/* ==========================================================================
   Thank-you / 404
   ========================================================================== */
.ty { min-height: calc(100dvh - 76px); display: grid; place-items: center; padding: 48px var(--pad); background: var(--paper); }
.ty-card { width: min(100%, 720px); background: var(--white); border: 1px solid var(--line); border-radius: var(--r-l); overflow: hidden; box-shadow: var(--shadow-up); }
.ty-top { background: var(--ink); color: #fff; padding: 28px 32px; display: flex; align-items: center; gap: 16px; }
.ty-top img { height: 54px; width: auto; }
.ty-top h1 { font-size: 1.3rem; font-stretch: 115%; letter-spacing: 0; line-height: 1.2; }
.ty-top p { color: #A9B8C8; font-size: .9rem; }
.ty-body { padding: 32px; display: grid; gap: 18px; }
.ty-mark { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: #E3F5EC; color: #0D7A50; font-size: 1.6rem; }
.ty-mark.is-404 { background: color-mix(in srgb, var(--gold) 20%, #fff); color: var(--gold-ink); width: auto; height: auto; border-radius: var(--r-m); padding: 6px 16px; font-weight: 800; font-stretch: var(--wider); font-size: 2.4rem; justify-self: start; }
.ty-body h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
.ty-body > p { color: var(--muted); }
.ty-info { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-m); overflow: hidden; }
.ty-info > div { background: var(--paper); padding: 14px 16px; display: flex; flex-direction: column; gap: 2px; }
.ty-info span { font-size: .8rem; color: var(--muted); }
.ty-info a, .ty-info strong { font-weight: 700; }
.ty-steps { display: grid; gap: 10px; }
.ty-steps li { display: flex; gap: 12px; align-items: center; }
.ty-steps li b { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; background: var(--ink); color: var(--gold); font-size: .85rem; flex: none; }
@media (max-width: 520px) { .ty-info { grid-template-columns: 1fr; } }

/* ==========================================================================
   Footer
   ========================================================================== */
.byall-footer { background: #071526; color: #C6D3DF; }
.byall-footer .f-cable { height: 6px; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; }
.byall-footer .f-cable span:nth-child(1) { background: var(--c-infra); }
.byall-footer .f-cable span:nth-child(2) { background: var(--c-managed); }
.byall-footer .f-cable span:nth-child(3) { background: var(--c-cyber); }
.byall-footer .f-cable span:nth-child(4) { background: var(--c-lv); }
.byall-footer .f-cable span:nth-child(5) { background: var(--c-partner); }
.byall-container { width: min(100% - 2 * var(--pad), var(--wrap)); margin-inline: auto; }
.byall-top { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.1fr; gap: 36px; padding-block: 56px 40px; }
.byall-brand img { height: 64px; width: auto; margin-bottom: 18px; }
.byall-brand h2 { font-size: 1.2rem; color: #fff; letter-spacing: 0; line-height: 1.3; margin-bottom: 10px; }
.byall-brand h2 span { color: #A9B8C8; font-weight: 500; font-stretch: 100%; font-size: .95rem; }
.byall-brand p { font-size: .92rem; }
.byall-soft-cta { margin-top: 14px; }
.byall-soft-cta a { color: var(--gold); font-weight: 700; }
.byall-social { display: flex; gap: 8px; margin-top: 20px; }
.byall-social a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.07); color: #fff; transition: background-color .15s, color .15s; }
.byall-social a:hover { background: var(--gold); color: var(--ink); }
.f-col h3 { color: #fff; font-size: .95rem; margin-bottom: 14px; }
.f-col a { display: block; padding: 5px 0; font-size: .92rem; color: #C6D3DF; }
.f-col a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.byall-services { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.byall-services span { font-size: .78rem; padding: 4px 10px; border-radius: 999px; border: 1px solid rgba(255,255,255,.16); }
.byall-card { align-self: start; display: flex; flex-direction: column; gap: 4px; padding: 22px; border-radius: var(--r-m); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); }
.byall-card span { font-size: .8rem; color: #8FA2B6; margin-top: 10px; }
.byall-card span:first-child { margin-top: 0; }
.byall-card a { color: #fff; font-weight: 700; font-stretch: 108%; font-size: 1.05rem; }
.byall-card a:hover { color: var(--gold); }
.byall-card p { color: #fff; font-weight: 800; font-stretch: 115%; font-size: 1.1rem; }
.byall-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-block: 20px 28px; border-top: 1px solid rgba(255,255,255,.1); font-size: .82rem; color: #8FA2B6; }
@media (max-width: 980px) { .byall-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .byall-top { grid-template-columns: 1fr; } }

/* Nora toggle: keep the widget, fit it to the palette */
#nora-toggle { background: var(--ink) !important; box-shadow: 0 10px 24px -8px rgba(11,31,51,.6) !important; }

/* ==========================================================================
   Motion preferences
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .partners-track, .ba-testi-track { animation: none !important; }
  .partners-slider, .ba-testi-wrap { overflow-x: auto; }
}

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

.f-label { font-weight: 600; font-size: .9rem; }

/* family colours last so they win over component defaults */
.fam-infra   { --fam: var(--c-infra); }
.fam-managed { --fam: var(--c-managed); }
.fam-cyber   { --fam: var(--c-cyber); }
.fam-lv      { --fam: var(--c-lv); }
.fam-partner { --fam: var(--c-partner); }

.why-row--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .why-row--4 { grid-template-columns: 1fr 1fr; } .why-row--4 > div:nth-child(3) { padding-left: 0; border-left: 0; } }
@media (max-width: 560px) {
  .why-row--4 { grid-template-columns: 1fr; }
  .why-row--4 > div + div { padding-left: 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.14); }
  .b-btn { white-space: normal; text-align: left; min-height: 50px; padding-block: 10px; }
  .page-hero .crumb { flex-wrap: wrap; }
}

/* compact cards and steps on phones */
@media (max-width: 620px) {
  .i-card { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; row-gap: 4px; padding: 18px; align-items: start; }
  .i-card .ic { grid-row: span 3; width: 46px; height: 46px; font-size: 1.1rem; margin: 0; }
  .i-card > :not(.ic) { grid-column: 2; }
  .steps { grid-template-columns: 1fr 1fr; gap: 28px 16px; }
  .step { padding-top: 64px; }
  .step .port { width: 48px; height: 48px; font-size: 1rem; }
  .sys-tile { grid-template-rows: 110px auto; }
  .sys-tile img { height: 110px; }
  .sys-tile span { font-size: .92rem; padding: 12px; }
}

/* North Carolina: licensing in progress */
.hero-area span.is-soon { background: transparent; color: var(--ink); border: 1.5px dashed var(--ink-2); font-stretch: 105%; }
.states { grid-template-columns: repeat(4, 1fr); }
.state.is-soon { border-style: dashed; border-color: rgba(245,183,0,.55); background: rgba(245,183,0,.06); }
.state.is-soon b { color: transparent; -webkit-text-stroke: 1.5px var(--gold); }
.state.is-soon span { color: var(--gold); }
@media (max-width: 1000px) { .states { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .states { grid-template-columns: 1fr; } }
.lic-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.lic-card.is-soon { border-style: dashed; border-color: #D9A400; background: #FFFBEB; }
.lic-card.is-soon .lic-state { background: transparent; color: var(--ink); border: 2px dashed var(--ink-2); }
.lic-card.is-soon .lic-num { color: var(--gold-ink); }
.lic-badge.pending { color: var(--gold-ink); background: #FFF1C2; }
.lic-badge.pending::before { background: var(--gold); }
.soon-note { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; font-weight: 600; color: var(--gold-ink); }
.soon-note::before { content: ""; width: 8px; height: 8px; border-radius: 50%; border: 1.5px dashed currentColor; }
.byall-card .soon-note { color: var(--gold); margin-top: 2px; }

/* ==========================================================================
   Dark header (higher contrast menu, logo on its native dark ground)
   ========================================================================== */
.ba-header {
  background: var(--ink);
  border-bottom: 0;
  box-shadow: inset 0 -3px 0 var(--gold);
}
.ba-header.scrolled { box-shadow: inset 0 -3px 0 var(--gold), 0 10px 24px -14px rgba(11,31,51,.7); }
.ba-nav { height: 84px; }
.ba-logo img { height: 66px; }
.ba-menu > a, .ba-drop-link { color: #fff; font-weight: 700; font-size: 1rem; }
.ba-menu > a:hover, .ba-drop-link:hover, .ba-dropdown:focus-within .ba-drop-link { background: rgba(255,255,255,.12); color: #fff; }
.ba-menu > a[aria-current="page"], .ba-drop-link[aria-current="page"] { color: var(--gold); box-shadow: inset 0 -3px 0 var(--gold); }
.ba-toggle { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.25); color: #fff; }
html { scroll-padding-top: 104px; }

@media (max-width: 900px) {
  .ba-nav { height: 72px; }
  .ba-logo img { height: 56px; }
  .ba-menu { inset: 72px 0 auto 0; max-height: calc(100dvh - 72px); background: var(--ink); border-bottom: 3px solid var(--gold); }
  .ba-menu > a, .ba-drop-link { border-bottom-color: rgba(255,255,255,.1); }
  .ba-dropdown-menu { background: transparent; }
  .mm-col:hover { background: transparent; }
  .mm-head { color: #fff; }
  .mm-col a:not(.mm-head) { color: #C6D3DF; }
  .mm-col a:not(.mm-head):hover { color: #fff; }
  .mm-side { background: rgba(255,255,255,.06); }
}
.hero-area span { white-space: nowrap; }
@media (max-width: 480px) { .hero-area { flex-wrap: wrap; } }
