/* ==========================================================================
   TechNetBuddy — Global Stylesheet
   Palette: pale white / pearl with brand blue accents
   Author: TechNetBuddy
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. DESIGN TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* Surfaces — pale white family */
  --white:        #ffffff;
  --pearl:        #fbfcfe;   /* page background */
  --mist:         #f4f7fb;   /* alternating sections */
  --frost:        #eef3f9;   /* subtle chips / wells */
  --line:         #e4eaf2;   /* borders */
  --line-strong:  #d3dced;

  /* Ink */
  --ink:          #0d1b2a;   /* headings */
  --slate:        #3d4f66;   /* body */
  --muted:        #6b7d95;   /* secondary text */

  /* Brand */
  --brand:        #0a6ec4;
  --brand-dark:   #0860aa;
  --brand-deep:   #075699;
  --brand-soft:   #e6f1fb;
  --cisco:        #049fd9;
  --cyan:         #0ea5b7;
  --violet:       #6d5ae0;
  --amber:        #e8912d;
  --rose:         #e0475f;
  --green:        #17a673;

  /* Elevation */
  --sh-xs: 0 1px 2px rgba(13, 27, 42, .05);
  --sh-sm: 0 2px 8px rgba(13, 27, 42, .06);
  --sh-md: 0 8px 24px rgba(13, 27, 42, .08);
  --sh-lg: 0 20px 48px rgba(13, 27, 42, .10);
  --sh-brand: 0 8px 24px rgba(10, 110, 196, .22);

  /* Geometry */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 26px;
  --r-pill: 999px;

  /* Layout */
  --wrap: 1160px;
  --gutter: 24px;
  --header-h: 74px;

  /* Type — system stack, zero external requests (proxy safe) */
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: "SF Mono", "Cascadia Code", "Segoe UI Mono", "Roboto Mono", Menlo, Consolas, monospace;

  /* Motion */
  --ease: cubic-bezier(.22, .61, .36, 1);
  --fast: .18s;
  --base: .3s;
}

/* Fix a typo-safe fallback */
:root { --brand-dark: #0860aa; }

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

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

body {
  font-family: var(--font);
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--slate);
  background: var(--pearl);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; transition: color var(--fast) var(--ease); }
a:hover { color: var(--brand-deep); }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font: inherit; color: inherit; }

h1, h2, h3, h4, h5 {
  color: var(--ink);
  line-height: 1.2;
  letter-spacing: -.022em;
  font-weight: 750;
}
h1 { font-size: clamp(2.1rem, 4.6vw, 3.3rem); letter-spacing: -.032em; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); letter-spacing: -.028em; }
h3 { font-size: 1.15rem; }
h4 { font-size: 1rem; }
p  { max-width: 68ch; }

::selection { background: var(--brand-soft); color: var(--brand-deep); }

/* Focus visibility — accessibility */
:focus-visible {
  outline: 3px solid rgba(10, 110, 196, .45);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Skip link */
.skip-link {
  position: fixed; top: -80px; left: 16px; z-index: 999;
  background: var(--brand); color: #fff;
  padding: 12px 22px; border-radius: var(--r-sm);
  font-weight: 650; box-shadow: var(--sh-md);
  transition: top var(--base) var(--ease);
}
.skip-link:focus { top: 16px; color: #fff; }

/* --------------------------------------------------------------------------
   3. LAYOUT HELPERS
   -------------------------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding: clamp(64px, 9vw, 108px) 0; }
.section--mist { background: var(--mist); border-block: 1px solid var(--line); }
.section--white { background: var(--white); border-block: 1px solid var(--line); }
.section--tight { padding-block: clamp(48px, 6vw, 72px); }
.center { text-align: center; }
.center p { margin-inline: auto; }

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

/* --------------------------------------------------------------------------
   4. SECTION HEADINGS
   -------------------------------------------------------------------------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: .74rem; font-weight: 600;
  color: var(--brand); background: var(--brand-soft);
  padding: 5px 14px; border-radius: var(--r-pill);
  margin-bottom: 16px; letter-spacing: .01em;
}
.eyebrow::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: currentColor; flex: none;
}
.sec-head { margin-bottom: 44px; max-width: 660px; }
.sec-head.center { margin-inline: auto; }
.sec-head p { color: var(--muted); font-size: 1.06rem; margin-top: 14px; }

/* --------------------------------------------------------------------------
   5. BUTTONS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 26px; border-radius: var(--r-md);
  font-weight: 650; font-size: .95rem; line-height: 1;
  border: 1.5px solid transparent; white-space: nowrap;
  transition: transform var(--fast) var(--ease),
              box-shadow var(--base) var(--ease),
              background var(--fast) var(--ease),
              border-color var(--fast) var(--ease),
              color var(--fast) var(--ease);
}
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: linear-gradient(135deg, var(--brand), var(--cisco));
  color: #fff; box-shadow: var(--sh-brand);
}
.btn--primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 14px 30px rgba(10,110,196,.3); }

.btn--ghost {
  background: var(--white); color: var(--ink); border-color: var(--line-strong);
  box-shadow: var(--sh-xs);
}
.btn--ghost:hover { color: var(--brand); border-color: var(--brand); box-shadow: var(--sh-sm); transform: translateY(-2px); }

.btn--light { background: rgba(255,255,255,.16); color: #fff; border-color: rgba(255,255,255,.4); }
.btn--light:hover { background: #fff; color: var(--brand-deep); }

.btn--sm { padding: 9px 18px; font-size: .86rem; border-radius: var(--r-sm); }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 13px; }

/* --------------------------------------------------------------------------
   6. HEADER / NAVIGATION
   -------------------------------------------------------------------------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  background: rgba(251, 252, 254, .82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow var(--base) var(--ease),
              border-color var(--base) var(--ease),
              background var(--base) var(--ease);
}
.header.is-stuck {
  background: rgba(255, 255, 255, .94);
  border-bottom-color: var(--line);
  box-shadow: var(--sh-sm);
}
.header__inner {
  height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px;
}

/* Brand lockup — circular emblem + text wordmark */
.brand {
  display: inline-flex; align-items: center; gap: 12px; flex: none;
  color: var(--ink);
}
.brand:hover { color: var(--ink); }
.brand__icon {
  width: 46px; height: 46px; flex: none; border-radius: 50%;
  /* faint ring so the dark badge never floats on the pale background */
  box-shadow: 0 0 0 1px rgba(13,27,42,.07), 0 2px 8px rgba(10,110,196,.18);
  transition: transform .4s var(--ease), box-shadow .3s var(--ease);
}
.brand:hover .brand__icon {
  transform: rotate(-6deg) scale(1.06);
  box-shadow: 0 0 0 1px rgba(10,110,196,.2), 0 6px 18px rgba(10,110,196,.3);
}
.brand__name {
  font-size: 1.22rem; font-weight: 800; letter-spacing: -.035em;
  line-height: 1; white-space: nowrap;
}
/* "Net" picks up the neon teal from the emblem */
.brand__name-alt {
  background: linear-gradient(120deg, var(--cisco), #7ed957);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Footer variant */
.footer__brand { margin-bottom: 16px; }
.footer__brand .brand__icon { width: 44px; height: 44px; }

/* Nav */
.nav { display: flex; align-items: center; gap: 4px; }
.nav__link {
  position: relative; padding: 9px 15px; border-radius: var(--r-sm);
  font-size: .93rem; font-weight: 550; color: var(--slate);
  transition: color var(--fast) var(--ease), background var(--fast) var(--ease);
}
.nav__link:hover { color: var(--brand); background: var(--brand-soft); }
.nav__link.is-active { color: var(--brand); font-weight: 650; }
.nav__link.is-active::after {
  content: ''; position: absolute; left: 15px; right: 15px; bottom: 3px;
  height: 2px; border-radius: 2px; background: var(--brand);
}
.header__actions { display: flex; align-items: center; gap: 12px; flex: none; }

/* Hamburger */
.burger {
  display: none; width: 42px; height: 42px; border-radius: var(--r-sm);
  border: 1px solid var(--line-strong); background: var(--white);
  align-items: center; justify-content: center; flex-direction: column; gap: 4px;
}
.burger span {
  display: block; width: 18px; height: 2px; border-radius: 2px;
  background: var(--ink); transition: transform var(--base) var(--ease), opacity var(--fast) var(--ease);
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Scroll progress bar */
.progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, var(--brand), var(--cyan));
  z-index: 101; transition: width .1s linear;
}

/* --------------------------------------------------------------------------
   7. HERO
   -------------------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden;
  padding: calc(var(--header-h) + 70px) 0 84px;
  background:
    radial-gradient(58rem 34rem at 88% -12%, rgba(4,159,217,.13), transparent 62%),
    radial-gradient(48rem 30rem at -8% 8%, rgba(109,90,224,.10), transparent 60%),
    linear-gradient(180deg, var(--white) 0%, var(--pearl) 100%);
}
.hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(70% 60% at 50% 34%, #000 5%, transparent 78%);
  -webkit-mask-image: radial-gradient(70% 60% at 50% 34%, #000 5%, transparent 78%);
  opacity: .55;
}
.hero .wrap { position: relative; z-index: 1; }
.hero__grid {
  display: grid; grid-template-columns: 1.06fr .94fr; gap: 56px; align-items: center;
}
.hero h1 { margin-bottom: 20px; }
.hero h1 .grad {
  background: linear-gradient(120deg, var(--brand) 10%, var(--cisco) 55%, var(--violet) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero__lead { font-size: 1.11rem; color: var(--muted); margin-bottom: 30px; }

.pill {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--white); border: 1px solid var(--line);
  padding: 7px 16px 7px 12px; border-radius: var(--r-pill);
  font-size: .84rem; font-weight: 550; color: var(--slate);
  box-shadow: var(--sh-xs); margin-bottom: 22px;
}
.pill .dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--green); flex: none;
  box-shadow: 0 0 0 4px rgba(23,166,115,.16);
  animation: blip 2.2s var(--ease) infinite;
}
@keyframes blip {
  0%, 100% { box-shadow: 0 0 0 4px rgba(23,166,115,.16); }
  50%      { box-shadow: 0 0 0 8px rgba(23,166,115,0); }
}

/* Trust strip */
.trust { margin-top: 34px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.trust__label { font-size: .78rem; color: var(--muted); font-family: var(--mono); }
.trust__items { display: flex; gap: 8px; flex-wrap: wrap; }
.trust__item {
  font-size: .76rem; font-weight: 600; color: var(--slate);
  background: var(--white); border: 1px solid var(--line);
  padding: 5px 12px; border-radius: var(--r-sm);
}

/* Hero console mockup */
.console {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--sh-lg);
  transform: perspective(1400px) rotateY(-6deg) rotateX(2deg);
  transition: transform .5s var(--ease);
}
.console:hover { transform: perspective(1400px) rotateY(0) rotateX(0); }
.console__bar {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px; background: var(--mist); border-bottom: 1px solid var(--line);
}
.console__dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.console__dot:nth-child(1) { background: #ff5f57; }
.console__dot:nth-child(2) { background: #febc2e; }
.console__dot:nth-child(3) { background: #28c840; }
.console__title {
  margin-left: 8px; font-family: var(--mono); font-size: .74rem; color: var(--muted);
}
.console__body { padding: 20px; font-family: var(--mono); font-size: .78rem; line-height: 1.95; }
.console__row { display: flex; gap: 7px; }
.c-prompt { color: var(--green); font-weight: 600; flex: none; }
.c-cmd    { color: var(--ink); font-weight: 550; }
.c-out    { color: var(--muted); padding-left: 18px; }
.c-key    { color: var(--cisco); font-weight: 600; }
.c-num    { color: var(--amber); font-weight: 600; }
.c-ok     { color: var(--green); font-weight: 600; }
.c-caret {
  display: inline-block; width: 7px; height: 14px; vertical-align: -2px;
  background: var(--brand); animation: caret 1.05s step-end infinite;
}
@keyframes caret { 0%, 50% { opacity: 1; } 51%, 100% { opacity: 0; } }

/* --------------------------------------------------------------------------
   8. CARDS
   -------------------------------------------------------------------------- */
.card {
  position: relative; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 30px 27px; box-shadow: var(--sh-xs); overflow: hidden;
  transition: transform var(--base) var(--ease),
              box-shadow var(--base) var(--ease),
              border-color var(--base) var(--ease);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--sh-md); border-color: var(--line-strong); }
.card::before {
  content: ''; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: var(--accent-c, var(--brand));
  transform: scaleX(0); transform-origin: left;
  transition: transform .45s var(--ease);
}
.card:hover::before { transform: scaleX(1); }
.card h3 { margin-bottom: 9px; }
.card p { font-size: .93rem; color: var(--muted); }

/* Accent variants */
.card[data-accent="cisco"]  { --accent-c: linear-gradient(90deg, var(--cisco), #35c1f0); }
.card[data-accent="cloud"]  { --accent-c: linear-gradient(90deg, var(--cyan), var(--green)); }
.card[data-accent="mobile"] { --accent-c: linear-gradient(90deg, var(--brand), var(--violet)); }
.card[data-accent="media"]  { --accent-c: linear-gradient(90deg, var(--amber), var(--rose)); }

/* Icon tile */
.icon {
  width: 50px; height: 50px; border-radius: 14px; flex: none;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; margin-bottom: 18px;
  background: var(--brand-soft); color: var(--brand);
  transition: transform var(--base) var(--ease);
}
.card:hover .icon { transform: scale(1.08) rotate(-4deg); }
.icon--cisco  { background: rgba(4,159,217,.11);  color: var(--cisco); }
.icon--cloud  { background: rgba(14,165,183,.11); color: var(--cyan); }
.icon--mobile { background: rgba(109,90,224,.11); color: var(--violet); }
.icon--amber  { background: rgba(232,145,45,.12); color: var(--amber); }
.icon--rose   { background: rgba(224,71,95,.10);  color: var(--rose); }
.icon--green  { background: rgba(23,166,115,.11); color: var(--green); }

/* Tags */
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 17px; }
.tag {
  font-family: var(--mono); font-size: .69rem; font-weight: 500;
  padding: 4px 10px; border-radius: 6px;
  background: var(--frost); color: var(--slate); border: 1px solid var(--line);
}

/* Feature list inside cards */
.ticks { margin-top: 16px; display: grid; gap: 9px; }
.ticks li {
  position: relative; padding-left: 25px; font-size: .89rem; color: var(--slate);
}
.ticks li::before {
  content: ''; position: absolute; left: 0; top: .52em;
  width: 15px; height: 8px; border-left: 2px solid var(--green);
  border-bottom: 2px solid var(--green); transform: rotate(-45deg);
  border-radius: 1px;
}

/* --------------------------------------------------------------------------
   9. STATS
   -------------------------------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat {
  text-align: center; padding: 30px 18px;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--sh-xs);
  transition: transform var(--base) var(--ease), box-shadow var(--base) var(--ease);
}
.stat:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.stat__num {
  font-size: clamp(2rem, 4vw, 2.7rem); font-weight: 800; line-height: 1;
  letter-spacing: -.04em;
  background: linear-gradient(135deg, var(--brand), var(--cisco));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.stat__label { margin-top: 9px; font-size: .87rem; color: var(--muted); }

/* --------------------------------------------------------------------------
   10. SOCIAL CHANNEL CARDS
   -------------------------------------------------------------------------- */
.channel {
  display: block; text-align: center; color: inherit;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 34px 26px; box-shadow: var(--sh-xs);
  transition: transform var(--base) var(--ease), box-shadow var(--base) var(--ease), border-color var(--base) var(--ease);
}
.channel:hover { transform: translateY(-6px); box-shadow: var(--sh-md); color: inherit; }
.channel__icon {
  width: 62px; height: 62px; border-radius: 50%; margin: 0 auto 18px;
  display: flex; align-items: center; justify-content: center; font-size: 1.5rem;
  transition: transform var(--base) var(--ease);
}
.channel:hover .channel__icon { transform: scale(1.1); }
.channel--yt { --ch: #e0475f; }
.channel--tt { --ch: #111827; }
.channel--ig { --ch: #e8912d; }
.channel:hover { border-color: var(--ch); }
.channel__icon { background: color-mix(in srgb, var(--ch) 11%, transparent); color: var(--ch); }
.channel__handle {
  font-family: var(--mono); font-size: .82rem; color: var(--brand);
  margin: 3px 0 12px; font-weight: 550;
}
.channel p { font-size: .91rem; color: var(--muted); margin-inline: auto; }
.channel__cta {
  display: inline-block; margin-top: 16px; font-size: .86rem;
  font-weight: 650; color: var(--ch);
}

/* --------------------------------------------------------------------------
   11. SPLIT / ALTERNATING BLOCKS
   -------------------------------------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
.split + .split { margin-top: 78px; }
.split--flip .split__media { order: -1; }
.split__media {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 26px; box-shadow: var(--sh-md);
}
.split h2 { margin-bottom: 14px; }
.split p { color: var(--muted); }

/* Mini dashboard used inside split media */
.mini { display: grid; gap: 12px; }
.mini__row {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 13px 16px; border-radius: var(--r-md);
  background: var(--mist); border: 1px solid var(--line);
}
.mini__label { font-size: .85rem; font-weight: 600; color: var(--ink); }
.mini__val { font-family: var(--mono); font-size: .82rem; color: var(--brand); font-weight: 600; }
.bar { height: 7px; border-radius: 4px; background: var(--frost); overflow: hidden; margin-top: 8px; }
.bar > i {
  display: block; height: 100%; width: 0; border-radius: 4px;
  background: linear-gradient(90deg, var(--brand), var(--cisco));
  transition: width 1.1s var(--ease);
}

/* --------------------------------------------------------------------------
   12. ACCORDION (FAQ)
   -------------------------------------------------------------------------- */
.acc { display: grid; gap: 12px; max-width: 820px; margin-inline: auto; }
.acc__item {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-md); overflow: hidden;
  transition: border-color var(--fast) var(--ease), box-shadow var(--base) var(--ease);
}
.acc__item.is-open { border-color: var(--brand); box-shadow: var(--sh-sm); }
.acc__btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 18px 22px; text-align: left;
  font-size: .99rem; font-weight: 650; color: var(--ink);
}
.acc__btn:hover { color: var(--brand); }
.acc__sign {
  width: 24px; height: 24px; flex: none; border-radius: 50%;
  background: var(--brand-soft); color: var(--brand);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; line-height: 1;
  transition: transform var(--base) var(--ease), background var(--fast) var(--ease);
}
.acc__item.is-open .acc__sign { transform: rotate(45deg); background: var(--brand); color: #fff; }
.acc__panel {
  max-height: 0; overflow: hidden;
  transition: max-height .38s var(--ease);
}
.acc__panel > div { padding: 0 22px 20px; color: var(--muted); font-size: .94rem; }

/* --------------------------------------------------------------------------
   13. FORMS
   -------------------------------------------------------------------------- */
.form { display: grid; gap: 18px; }
.field { display: grid; gap: 7px; }
.field label { font-size: .87rem; font-weight: 650; color: var(--ink); }
.field .req { color: var(--rose); }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 15px;
  background: var(--white); border: 1.5px solid var(--line);
  border-radius: var(--r-md); font-size: .95rem;
  transition: border-color var(--fast) var(--ease), box-shadow var(--fast) var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(10,110,196,.13);
}
.field textarea { resize: vertical; min-height: 130px; }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: var(--rose); }
.field__err {
  font-size: .8rem; color: var(--rose); min-height: 1em;
  opacity: 0; transform: translateY(-3px);
  transition: opacity var(--fast) var(--ease), transform var(--fast) var(--ease);
}
.field.has-error .field__err { opacity: 1; transform: none; }
.form__note {
  margin-top: 4px; padding: 13px 16px; border-radius: var(--r-md);
  font-size: .89rem; display: none;
}
.form__note.is-ok   { display: block; background: rgba(23,166,115,.09); color: #0e7a54; border: 1px solid rgba(23,166,115,.28); }
.form__note.is-bad  { display: block; background: rgba(224,71,95,.08); color: #b32b41; border: 1px solid rgba(224,71,95,.26); }

/* Contact info list */
.info { display: grid; gap: 14px; }
.info__row {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 17px 19px; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--sh-xs);
  transition: border-color var(--fast) var(--ease), transform var(--base) var(--ease);
}
.info__row:hover { border-color: var(--brand); transform: translateX(3px); }
.info__ico {
  width: 40px; height: 40px; border-radius: 11px; flex: none;
  background: var(--brand-soft); color: var(--brand);
  display: flex; align-items: center; justify-content: center; font-size: 1.05rem;
}
.info__k { font-size: .78rem; color: var(--muted); }
.info__v { font-weight: 650; color: var(--ink); font-size: .95rem; word-break: break-word; }

/* --------------------------------------------------------------------------
   14. PAGE BANNER (inner pages)
   -------------------------------------------------------------------------- */
.banner {
  position: relative; overflow: hidden;
  padding: calc(var(--header-h) + 60px) 0 58px;
  background:
    radial-gradient(46rem 26rem at 82% -20%, rgba(4,159,217,.14), transparent 62%),
    linear-gradient(180deg, var(--white), var(--mist));
  border-bottom: 1px solid var(--line);
}
.banner h1 { margin-bottom: 12px; }
.banner p { color: var(--muted); font-size: 1.06rem; }
.crumbs {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  font-size: .82rem; color: var(--muted); margin-top: 18px;
}
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--brand); }
.crumbs span[aria-current] { color: var(--ink); font-weight: 600; }
.crumbs .sep { opacity: .5; }

/* --------------------------------------------------------------------------
   15. CTA BAND
   -------------------------------------------------------------------------- */
.cta {
  position: relative; overflow: hidden;
  border-radius: var(--r-xl); padding: clamp(44px, 6vw, 68px) clamp(26px, 5vw, 58px);
  background: linear-gradient(135deg, var(--brand-deep), var(--brand) 45%, var(--cisco));
  color: #fff; text-align: center; box-shadow: var(--sh-lg);
}
.cta::before {
  content: ''; position: absolute; inset: 0; opacity: .3;
  background-image:
    linear-gradient(rgba(255,255,255,.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.14) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(60% 60% at 50% 50%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(60% 60% at 50% 50%, #000, transparent 75%);
}
.cta > * { position: relative; z-index: 1; }
.cta h2 { color: #fff; margin-bottom: 13px; }
.cta p { color: rgba(255,255,255,.9); margin: 0 auto 28px; max-width: 54ch; }
.cta .btn-row { justify-content: center; }

/* --------------------------------------------------------------------------
   16. FOOTER
   -------------------------------------------------------------------------- */
.footer { background: var(--white); border-top: 1px solid var(--line); padding: 60px 0 0; }
.footer__grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 44px;
}
.footer__logo { height: 38px; width: auto; margin-bottom: 14px; }
.footer__about { font-size: .91rem; color: var(--muted); max-width: 34ch; }
.footer h4 {
  font-size: .8rem; text-transform: none; font-weight: 750; color: var(--ink);
  margin-bottom: 15px; letter-spacing: -.01em;
}
.footer__list { display: grid; gap: 10px; }
.footer__list a { font-size: .9rem; color: var(--muted); }
.footer__list a:hover { color: var(--brand); padding-left: 3px; }
.footer__list a { transition: color var(--fast) var(--ease), padding-left var(--fast) var(--ease); }

.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a {
  width: 38px; height: 38px; border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  background: var(--mist); border: 1px solid var(--line);
  color: var(--slate); font-size: .95rem;
  transition: all var(--fast) var(--ease);
}
.socials a:hover { background: var(--brand); border-color: var(--brand); color: #fff; transform: translateY(-3px); }

.footer__bar {
  border-top: 1px solid var(--line); padding: 20px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: .84rem; color: var(--muted);
}
.footer__bar nav { display: flex; gap: 20px; }
.footer__bar a { color: var(--muted); }
.footer__bar a:hover { color: var(--brand); }

/* --------------------------------------------------------------------------
   17. BACK TO TOP
   -------------------------------------------------------------------------- */
.totop {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--white); border: 1px solid var(--line-strong);
  color: var(--brand); font-size: 1.1rem; box-shadow: var(--sh-md);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: all var(--base) var(--ease);
}
.totop.is-on { opacity: 1; visibility: visible; transform: none; }
.totop:hover { background: var(--brand); color: #fff; border-color: var(--brand); }

/* --------------------------------------------------------------------------
   18. SCROLL REVEAL
   -------------------------------------------------------------------------- */
[data-reveal] {
  opacity: 0; transform: translateY(20px);
  transition: opacity .62s var(--ease), transform .62s var(--ease);
  will-change: opacity, transform;
}
[data-reveal].is-in { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   19. RESPONSIVE
   -------------------------------------------------------------------------- */
@media (max-width: 1000px) {
  .hero__grid { grid-template-columns: 1fr; gap: 44px; }
  .console { transform: none; }
  .split, .split--flip { grid-template-columns: 1fr; gap: 32px; }
  .split--flip .split__media { order: 0; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .burger { display: flex; margin-left: auto; }
  .header__actions { display: none; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--white); border-bottom: 1px solid var(--line);
    padding: 14px var(--gutter) 22px;
    box-shadow: var(--sh-md);
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: all var(--base) var(--ease);
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav__link { padding: 13px 14px; font-size: 1rem; border-radius: var(--r-md); }
  .nav__link.is-active::after { display: none; }
  .nav__link.is-active { background: var(--brand-soft); }
  .nav .btn { display: inline-flex; margin-top: 10px; }
  body.nav-open { overflow: hidden; }
}

@media (max-width: 720px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .btn-row .btn { width: 100%; }
  .footer__bar { flex-direction: column; text-align: center; }
  .footer__bar nav { justify-content: center; flex-wrap: wrap; }
}

@media (max-width: 460px) {
  .stats { grid-template-columns: 1fr; }
  :root { --gutter: 18px; }
}

/* --------------------------------------------------------------------------
   20. MOTION / PRINT 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;
  }
  [data-reveal] { opacity: 1; transform: none; }
}

@media print {
  .header, .footer, .totop, .progress, .cta { display: none !important; }
  body { background: #fff; color: #000; }
  .card, .stat { box-shadow: none; border: 1px solid #ccc; }
}

/* --------------------------------------------------------------------------
   21. ANTI-SPAM HONEYPOT — visually removed, still focusable by bots only
   -------------------------------------------------------------------------- */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

/* --------------------------------------------------------------------------
   22. NAV LIST — replaces the old inline display:contents
   -------------------------------------------------------------------------- */
.nav__list { display: flex; align-items: center; gap: 4px; }

/* The duplicate CTA inside the nav is for mobile only */
.nav > .btn { display: none; }

@media (max-width: 860px) {
  .nav__list { flex-direction: column; align-items: stretch; gap: 2px; width: 100%; }
  .nav > .btn { display: inline-flex; margin-top: 12px; width: 100%; }
}

/* --------------------------------------------------------------------------
   23. UTILITIES — every former inline style, now CSP-safe
   -------------------------------------------------------------------------- */
.flex-1        { flex: 1; }
.mt-0          { margin-top: 0; }
.mt-16         { margin-top: 16px; }
.mt-20         { margin-top: 20px; }
.mt-22         { margin-top: 22px; }
.mt-26         { margin-top: 26px; }
.mt-28         { margin-top: 28px; }
.mb-8          { margin-bottom: 8px; }
.mx-auto       { margin-inline: auto; }
.gap-18        { gap: 18px; }
.align-start   { align-items: start; }
.btn-row--center { justify-content: center; }

.muted-sm      { color: var(--muted); font-size: .9rem; }
.lead-muted    { color: var(--muted); margin-bottom: 26px; }

.socials-head  { margin: 32px 0 14px; }
.socials--flush { margin-top: 0; }

/* Whole-card links keep body colour instead of link blue */
.card--link { color: inherit; display: block; }
.card--link:hover { color: inherit; }

/* 404 numeral */
.err-code { font-size: clamp(3rem, 10vw, 6rem); letter-spacing: -.05em; }

/* Emblem failed to load — collapse its box, wordmark carries the brand */
.brand.is-iconless .brand__icon { display: none; }
