/* =============================================================
   WhizzIT — Managed IT Services Provider
   Modern dark-tech design system
   Self-contained · dependency-free · mobile-first
   ============================================================= */

@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@400;500;600;700;800;900&family=IBM+Plex+Mono:wght@400;500;600&display=swap');

/* -------------------------------------------------------------
   1. Design tokens
   ------------------------------------------------------------- */
:root {
  /* Brand */
  --accent:        #FC6320;
  --accent-2:      #FF8A4C;
  --accent-soft:   rgba(252, 99, 32, 0.14);
  --accent-line:   rgba(252, 99, 32, 0.40);
  --accent-glow:   rgba(252, 99, 32, 0.35);
  --on-accent:     #0A0A0C;

  /* Surfaces (dark) */
  --bg:            #08080A;
  --bg-2:          #0B0B0E;
  --elev:          #0F0F13;
  --surface:       #141418;
  --surface-2:     #1A1A20;
  --surface-3:     #212128;

  /* Lines */
  --line:          rgba(255, 255, 255, 0.08);
  --line-2:        rgba(255, 255, 255, 0.14);
  --line-3:        rgba(255, 255, 255, 0.22);

  /* Text */
  --text:          #F4F4F6;
  --text-dim:      #A6A6B0;
  --text-faint:    #8A8A94;

  /* Feedback */
  --star:          #FBBC04;

  /* Radii */
  --r-xs:   8px;
  --r-sm:   12px;
  --r:      16px;
  --r-lg:   20px;
  --r-xl:   28px;
  --r-2xl:  36px;
  --r-full: 999px;

  /* Fluid type scale */
  --fs-eyebrow: clamp(0.72rem, 0.68rem + 0.2vw, 0.8rem);
  --fs-body:    clamp(1rem, 0.97rem + 0.15vw, 1.075rem);
  --fs-lead:    clamp(1.1rem, 1rem + 0.55vw, 1.4rem);
  --fs-h3:      clamp(1.25rem, 1.1rem + 0.7vw, 1.6rem);
  --fs-h4:      clamp(1.4rem, 1.2rem + 1vw, 2rem);
  --fs-h2:      clamp(2rem, 1.5rem + 2.3vw, 3.4rem);
  --fs-h1:      clamp(2.6rem, 1.7rem + 4.2vw, 5.2rem);
  --fs-mega:    clamp(3rem, 1.6rem + 6.4vw, 7rem);

  /* Spacing */
  --space-section: clamp(4.5rem, 3rem + 6vw, 9rem);
  --gutter:        clamp(1.25rem, 0.5rem + 3vw, 3rem);
  --maxw:          1240px;
  --maxw-narrow:   860px;

  /* Motion */
  --ease:      cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in:   cubic-bezier(0.55, 0, 1, 0.45);
  --dur:       0.45s;
  --dur-fast:  0.22s;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.35);
  --shadow:    0 20px 50px -20px rgba(0, 0, 0, 0.75);
  --shadow-lg: 0 40px 90px -30px rgba(0, 0, 0, 0.85);
  --glow:      0 0 0 1px var(--accent-line), 0 18px 60px -18px var(--accent-glow);
  --shadow-accent:    0 10px 30px -10px var(--accent-glow);
  --shadow-accent-lg: 0 16px 44px -12px var(--accent-glow);
  --ring:             0 0 0 3px var(--accent-glow);

  /* Surface tint ladder (replaces scattered rgba(255,255,255,a) literals) */
  --tint-1: rgba(255, 255, 255, 0.03);
  --tint-2: rgba(255, 255, 255, 0.05);
  --tint-3: rgba(255, 255, 255, 0.08);

  /* Accent tints */
  --accent-tint: rgba(252, 99, 32, 0.10);
  --accent-blue: rgba(90, 120, 255, 0.06);

  /* 4px spacing scale */
  --space-1: 0.25rem; --space-2: 0.5rem;  --space-3: 0.75rem; --space-4: 1rem;
  --space-5: 1.25rem; --space-6: 1.5rem;  --space-8: 2rem;    --space-10: 2.5rem;
  --space-12: 3rem;   --space-16: 4rem;

  /* Semantic feedback */
  --success: #34D399; --success-text: #7EE7C0;
  --success-soft: rgba(52, 211, 153, 0.08); --success-line: rgba(52, 211, 153, 0.35);
  --danger: #FF6B6B;  --danger-text: #FF9B85;
  --danger-soft: rgba(255, 107, 107, 0.16); --danger-line: rgba(255, 107, 107, 0.40);

  /* Icon-tile radius (one value for all rounded icon squares) */
  --r-tile: 12px;

  --z-nav: 100;
  --z-overlay: 200;
  --z-top: 300;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  font-family: 'Archivo', system-ui, sans-serif;
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--text-dim);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  min-height: 100vh;
  min-height: 100dvh;
}

/* Page ambient background */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(1100px 700px at 78% -8%, rgba(252, 99, 32, 0.10), transparent 60%),
    radial-gradient(900px 620px at 8% 4%, rgba(90, 120, 255, 0.06), transparent 55%);
  pointer-events: none;
}
/* Fine grain texture */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.5;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
}

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
input, textarea, select { font: inherit; color: inherit; }
ul { list-style: none; padding: 0; }

::selection { background: var(--accent); color: var(--on-accent); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* -------------------------------------------------------------
   3. Typography
   ------------------------------------------------------------- */
h1, h2, h3, h4 {
  color: var(--text);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); font-weight: 900; letter-spacing: -0.035em; }
h2 { font-size: var(--fs-h2); letter-spacing: -0.025em; }
h3 { font-size: var(--fs-h3); font-weight: 700; letter-spacing: -0.015em; line-height: 1.12; }
.h-sub { font-size: var(--fs-h4); }
p  { max-width: 62ch; text-wrap: pretty; }
strong { color: var(--text); font-weight: 700; }

.mono {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
}
.tnum { font-variant-numeric: tabular-nums; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'IBM Plex Mono', monospace;
  font-size: var(--fs-eyebrow);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--accent);
  opacity: 0.7;
}
.eyebrow.center::before { display: none; }

.accent-text { color: var(--accent); }
.lead {
  font-size: var(--fs-lead);
  line-height: 1.5;
  color: var(--text-dim);
  font-weight: 400;
  max-width: 44ch;
}

/* -------------------------------------------------------------
   4. Layout
   ------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--space-section); position: relative; }
.section--tight { padding-block: clamp(3rem, 2rem + 4vw, 5.5rem); }

.section-head { max-width: 640px; margin-bottom: clamp(2.5rem, 1.5rem + 3vw, 4rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .eyebrow { margin-bottom: 1.1rem; }
.section-head p { margin-top: 1.1rem; color: var(--text-dim); }
.section-head.center p { margin-inline: auto; }

.split-head {
  display: grid;
  gap: 1.5rem 3rem;
  align-items: end;
  margin-bottom: clamp(2.5rem, 1.5rem + 3vw, 4rem);
}
@media (min-width: 880px) {
  .split-head { grid-template-columns: 1.3fr 1fr; }
  .split-head .split-head__aside { text-align: right; padding-bottom: 0.4rem; }
}

.hairline { height: 1px; background: var(--line); border: 0; }

/* -------------------------------------------------------------
   5. Buttons
   ------------------------------------------------------------- */
.btn {
  --btn-bg: var(--surface-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.6rem;
  border-radius: var(--r-full);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: -0.01em;
  line-height: 1;
  color: var(--text);
  background: var(--btn-bg);
  border: 1px solid var(--line-2);
  position: relative;
  overflow: hidden;
  transition: transform var(--dur-fast) var(--ease),
              border-color var(--dur-fast) var(--ease),
              background var(--dur-fast) var(--ease),
              box-shadow var(--dur) var(--ease);
}
.btn svg { width: 1.1em; height: 1.1em; transition: transform var(--dur-fast) var(--ease); }
.btn:hover { transform: translateY(-2px); border-color: var(--line-3); }
.btn:active { transform: translateY(0) scale(0.98); }

.btn--primary {
  color: var(--on-accent);
  background: linear-gradient(180deg, var(--accent-2), var(--accent));
  border-color: transparent;
  isolation: isolate;
  box-shadow: var(--shadow-accent), inset 0 1px 0 rgba(255,255,255,0.28);
}
.btn--primary::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(120deg, transparent 35%, rgba(255,255,255,0.3) 50%, transparent 65%);
  transform: translateX(-130%);
  transition: transform 0.6s var(--ease);
}
.btn--primary:hover {
  box-shadow: var(--shadow-accent-lg), inset 0 1px 0 rgba(255,255,255,0.28);
  border-color: transparent;
}
.btn--primary:hover::before { transform: translateX(130%); }
.btn--primary:hover svg { transform: translateX(3px); }

.btn--ghost { background: transparent; border-color: var(--line-2); }
.btn--ghost:hover { background: var(--tint-2); }

.btn--lg { padding: 1.15rem 2rem; font-size: 1.05rem; }
.btn--block { display: flex; width: 100%; }

.textlink {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text);
  font-weight: 600;
  border-bottom: 1px solid var(--accent-line);
  padding-bottom: 3px;
  transition: gap var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.textlink svg { width: 1.05em; height: 1.05em; color: var(--accent); transition: transform var(--dur-fast) var(--ease); }
.textlink:hover { gap: 0.8rem; color: var(--accent); }
.textlink:hover svg { transform: translateX(3px); }

/* -------------------------------------------------------------
   6. Pills / chips / badges
   ------------------------------------------------------------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.95rem;
  border-radius: var(--r-full);
  border: 1px solid var(--line-2);
  background: rgba(255,255,255,0.03);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent-glow); }

.chip {
  display: inline-flex;
  align-items: center;
  padding: 0.6rem 1rem;
  border-radius: var(--r-full);
  border: 1px solid var(--line-2);
  background: var(--tint-1);
  font-size: 0.9rem;
  color: var(--text-dim);
  transition: border-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
a.chip:hover { border-color: var(--accent-line); color: var(--text); }

.chip-row { display: flex; flex-wrap: wrap; gap: 0.6rem; }

/* -------------------------------------------------------------
   7. Glass / cards
   ------------------------------------------------------------- */
.card {
  position: relative;
  background: linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.012));
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 1rem + 1.6vw, 2.2rem);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
  transition: transform var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              background var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
  overflow: hidden;
}
.card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  background: radial-gradient(340px 200px at var(--mx, 50%) var(--my, 0%), var(--accent-soft), transparent 70%);
  transition: opacity var(--dur) var(--ease);
  pointer-events: none;
}
.card:hover { transform: translateY(-4px); border-color: var(--line-2); box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,0.06); }
.card:hover::after { opacity: 1; }

.glass {
  background: rgba(18, 18, 22, 0.6);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid var(--line-2);
}

/* -------------------------------------------------------------
   8. Header / navigation
   ------------------------------------------------------------- */
.topbar {
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
  font-size: 0.82rem;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.55rem;
  color: var(--text-faint);
}
.topbar__loc { display: none; align-items: center; gap: 1.4rem; font-family: 'IBM Plex Mono', monospace; letter-spacing: 0.05em; }
.topbar__loc span { display: inline-flex; align-items: center; gap: 0.45rem; }
.topbar__loc svg { width: 13px; height: 13px; color: var(--accent); }
.topbar__right { display: flex; align-items: center; gap: 1.3rem; margin-left: auto; }
.topbar__right a { display: inline-flex; align-items: center; gap: 0.45rem; transition: color var(--dur-fast) var(--ease); }
.topbar__right a:hover { color: var(--text); }
.topbar__right svg { width: 14px; height: 14px; color: var(--accent); }
@media (min-width: 900px) { .topbar__loc { display: flex; } }

.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-nav);
  transition: transform var(--dur) var(--ease);
}
.nav {
  background: rgba(8, 8, 10, 0.72);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border-bottom: 1px solid var(--line);
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease), padding var(--dur) var(--ease);
}
.site-header.scrolled .nav { background: rgba(8,8,10,0.9); border-color: var(--line-2); }
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 1rem;
  transition: padding var(--dur) var(--ease);
}
.site-header.scrolled .nav__inner { padding-block: 0.7rem; }

/* Logo */
.logo { display: inline-flex; align-items: center; gap: 0.65rem; flex-shrink: 0; }
.logo__mark { width: 30px; height: 30px; filter: drop-shadow(0 3px 10px var(--accent-glow)); }
.logo__mark path { fill: var(--accent); }
.logo__word { font-weight: 800; font-size: 1.35rem; letter-spacing: -0.03em; color: var(--text); line-height: 1; }
.logo__word b { color: var(--accent); font-weight: 800; }

/* Desktop menu */
.menu { display: none; align-items: center; gap: 0.35rem; }
.menu > li { position: relative; }
.menu a, .menu .menu__trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.6rem 0.85rem;
  border-radius: var(--r-xs);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-dim);
  transition: color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}
.menu a:hover, .menu .menu__trigger:hover,
.menu a[aria-current="page"] { color: var(--text); }
.menu a[aria-current="page"] { background: rgba(255,255,255,0.05); }
.menu__trigger svg { width: 14px; height: 14px; transition: transform var(--dur-fast) var(--ease); }
.menu li:hover .menu__trigger svg,
.menu li:focus-within .menu__trigger svg { transform: rotate(180deg); }

/* Dropdown */
.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translate(-50%, 8px);
  min-width: 280px;
  padding: 0.6rem;
  border-radius: var(--r);
  background: rgba(14,14,18,0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease), visibility var(--dur-fast);
}
.menu li:hover .dropdown,
.menu li:focus-within .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.dropdown a {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.7rem 0.85rem; border-radius: var(--r-xs); width: 100%;
}
.dropdown a:hover { background: rgba(255,255,255,0.05); }
.dropdown a .di {
  width: 34px; height: 34px; flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: 10px; border: 1px solid var(--line);
  background: var(--accent-soft); color: var(--accent);
}
.dropdown a .di svg { width: 17px; height: 17px; }
.dropdown a b { display: block; color: var(--text); font-weight: 600; font-size: 0.95rem; }
.dropdown a small { display: block; color: var(--text-faint); font-size: 0.8rem; }

.nav__actions { display: flex; align-items: center; gap: 0.7rem; }
.nav__actions .btn { display: none; }
@media (min-width: 1080px) {
  .menu { display: flex; }
  .nav__actions .btn { display: inline-flex; }
}

/* Burger */
.burger {
  display: inline-flex; flex-direction: column; gap: 5px;
  width: 46px; height: 46px; align-items: center; justify-content: center;
  border: 1px solid var(--line-2); border-radius: var(--r-xs);
  background: rgba(255,255,255,0.03);
}
.burger span { width: 20px; height: 2px; background: var(--text); border-radius: 2px; transition: transform var(--dur-fast) var(--ease), opacity var(--dur-fast) var(--ease); }
@media (min-width: 1080px) { .burger { display: none; } }
body.menu-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.menu-open .burger span:nth-child(2) { opacity: 0; }
body.menu-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: var(--z-overlay);
  background: rgba(6,6,8,0.98);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 6rem var(--gutter) 2.5rem;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility var(--dur);
}
body.menu-open .mobile-menu { opacity: 1; visibility: visible; transform: none; }
.mobile-menu ul { display: flex; flex-direction: column; gap: 0.15rem; }
.mobile-menu > ul > li > a {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0.9rem 0.25rem;
  font-size: 1.15rem; font-weight: 600; color: var(--text);
  border-bottom: 1px solid var(--line);
}
/* Size the trailing arrow (unsized inline SVGs otherwise balloon to ~269px) */
.mobile-menu > ul > li > a svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--accent); }
/* "Services" acts as a section label above the accordion, not a giant link */
.mobile-menu .m-group > span {
  display: block;
  padding: 1.1rem 0.25rem 0.35rem;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--text-faint);
}
.mobile-menu .m-sub { padding: 0.4rem 0 0.9rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.mobile-menu .m-sub a { font-size: 0.9rem; font-weight: 500; padding: 0.5rem 0.85rem; border: 1px solid var(--line); border-radius: var(--r-full); color: var(--text-dim); }
.mobile-menu .m-cta { margin-top: 1.75rem; display: grid; gap: 0.8rem; }

/* -------------------------------------------------------------
   9. Hero
   ------------------------------------------------------------- */
.hero { position: relative; padding-top: clamp(3.5rem, 2rem + 6vw, 7rem); padding-bottom: clamp(3.5rem, 2rem + 5vw, 6rem); overflow: hidden; }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.hero__grid {
  position: absolute; inset: -2px; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(to right, var(--line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(1000px 600px at 70% 20%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(1000px 600px at 70% 20%, #000 0%, transparent 75%);
  opacity: 0.5;
}
.hero__inner { position: relative; }
.hero h1 { max-width: 15ch; letter-spacing: -0.04em; }
.hero .hero__lead { margin-top: 1.6rem; max-width: 52ch; font-size: var(--fs-lead); color: var(--text-dim); }
.hero__cta { margin-top: 2.4rem; display: flex; flex-wrap: wrap; gap: 0.9rem; align-items: center; }
.hero__tags { margin-top: 2.6rem; display: flex; flex-wrap: wrap; gap: 0.6rem; }

/* Hero split with form */
.hero-split { display: grid; gap: clamp(2.5rem, 1rem + 5vw, 4.5rem); align-items: center; }
@media (min-width: 1000px) { .hero-split { grid-template-columns: 1.15fr 0.85fr; } }

/* Callback / lead card */
.leadcard { padding: clamp(1.6rem, 1rem + 2vw, 2.4rem); border-radius: var(--r-xl); }
.leadcard h3 { margin-bottom: 0.4rem; }
.leadcard p { font-size: 0.95rem; margin-bottom: 1.5rem; }

/* Forms */
.field { margin-bottom: 1rem; }
.field label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--text-dim); margin-bottom: 0.45rem; letter-spacing: 0.01em; }
.field label .req { color: var(--accent); }
.field input, .field textarea, .field select {
  width: 100%;
  padding: 0.9rem 1rem;
  border-radius: var(--r-sm);
  background: var(--tint-1);
  border: 1px solid var(--line-2);
  color: var(--text);
  transition: border-color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder, .field textarea::placeholder { color: var(--text-faint); }
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--accent);
  background: var(--tint-2);
  box-shadow: var(--ring);
}
.field input:focus-visible, .field textarea:focus-visible, .field select:focus-visible { outline: none; }
.field .err { display: none; color: var(--danger-text); font-size: 0.8rem; margin-top: 0.4rem; }
.field.invalid input, .field.invalid textarea, .field.invalid select { border-color: var(--danger); box-shadow: 0 0 0 3px var(--danger-soft); }
.field.invalid .err { display: block; }
.form-note { font-size: 0.8rem; color: var(--text-faint); margin-top: 0.9rem; }
.form-success {
  display: none;
  padding: 1rem 1.2rem; border-radius: var(--r-sm);
  border: 1px solid var(--success-line); background: var(--success-soft);
  color: var(--success-text); font-size: 0.92rem; margin-top: 1rem;
}
.form-success.show { display: flex; gap: 0.6rem; align-items: center; }
.form-success svg { width: 18px; height: 18px; flex-shrink: 0; }
.form-error {
  display: none;
  padding: 1rem 1.2rem; border-radius: var(--r-sm);
  border: 1px solid var(--danger-line); background: var(--danger-soft);
  color: var(--danger-text); font-size: 0.9rem; margin-top: 1rem;
}
.form-error.show { display: flex; gap: 0.6rem; align-items: center; }
.form-error svg { width: 18px; height: 18px; flex-shrink: 0; }

/* -------------------------------------------------------------
   10. Stats
   ------------------------------------------------------------- */
.stats { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
@media (min-width: 640px) { .stats { grid-template-columns: repeat(3, 1fr); } }
.stat { padding: clamp(1.6rem, 1rem + 2vw, 2.6rem); background: var(--bg-2); text-align: center; }
.stat__num { font-size: clamp(2.6rem, 1.6rem + 3.5vw, 4.2rem); font-weight: 800; color: var(--text); line-height: 1; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.stat__num .accent-text { color: var(--accent); }
.stat__label { margin-top: 0.8rem; font-family: 'IBM Plex Mono', monospace; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-faint); }

/* -------------------------------------------------------------
   11. Grids & feature cards
   ------------------------------------------------------------- */
.grid { display: grid; gap: 1.25rem; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(2,1fr); } .grid-4 { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 900px) { .grid-3 { grid-template-columns: repeat(3,1fr); } .grid-4 { grid-template-columns: repeat(4,1fr); } }

/* Service / feature card */
.feature {
  display: flex; flex-direction: column;
  min-height: 100%;
}
.feature__no { font-family: 'IBM Plex Mono', monospace; font-size: 0.78rem; letter-spacing: 0.14em; color: var(--text-faint); }
.feature__icon {
  width: 52px; height: 52px; margin-bottom: 1.4rem;
  display: grid; place-items: center; border-radius: 14px;
  background: var(--accent-soft); border: 1px solid var(--accent-line); color: var(--accent);
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease);
}
.feature__icon svg { width: 24px; height: 24px; }
.card:hover .feature__icon { transform: scale(1.06) rotate(-3deg); }
.feature h3 { margin-bottom: 0.6rem; display: flex; align-items: baseline; gap: 0.6rem; }
.feature p { font-size: 0.97rem; color: var(--text-dim); flex-grow: 1; }
.feature__link { margin-top: 1.3rem; font-size: 0.9rem; color: var(--accent); display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 600; }
.feature__link svg { width: 15px; height: 15px; transition: transform var(--dur-fast) var(--ease); }
.card:hover .feature__link svg { transform: translateX(4px); }

.feature__topno {
  position: absolute; top: 1.4rem; right: 1.5rem;
  font-family: 'IBM Plex Mono', monospace; font-size: 0.8rem; color: var(--text-faint);
  transition: color var(--dur) var(--ease);
}
.card:hover .feature__topno { color: var(--accent); }

/* Value / bullet list */
.checklist { display: grid; gap: 1rem; }
.checklist li { display: flex; gap: 0.9rem; align-items: flex-start; }
.checklist .ci {
  flex-shrink: 0; width: 26px; height: 26px; border-radius: 8px; margin-top: 1px;
  display: grid; place-items: center; color: var(--accent);
  background: var(--accent-soft); border: 1px solid var(--accent-line);
}
.checklist .ci svg { width: 15px; height: 15px; }
.checklist li span.t { color: var(--text-dim); }

/* Split feature (image/text) */
.feature-split { display: grid; gap: clamp(2rem, 1rem + 4vw, 4rem); align-items: center; }
@media (min-width: 900px) { .feature-split { grid-template-columns: 1fr 1fr; } .feature-split.reverse > :first-child { order: 2; } }

/* -------------------------------------------------------------
   12. Marquee
   ------------------------------------------------------------- */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 3rem; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { font-family: 'IBM Plex Mono', monospace; font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-faint); display: inline-flex; align-items: center; gap: 3rem; white-space: nowrap; }
.marquee__item::after { content: "◆"; color: var(--accent); font-size: 0.6rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* -------------------------------------------------------------
   13. Testimonials
   ------------------------------------------------------------- */
.rating-head { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.rating-head .score { font-size: 2.6rem; font-weight: 800; color: var(--text); line-height: 1; font-variant-numeric: tabular-nums; }
.stars { color: var(--star); letter-spacing: 0.1em; font-size: 1.05rem; }
.rating-head .meta { color: var(--text-faint); font-size: 0.9rem; }

.quote {
  display: flex; flex-direction: column; height: 100%;
}
.quote .stars { margin-bottom: 1rem; font-size: 0.95rem; }
.quote p { color: var(--text); font-size: 1rem; line-height: 1.6; flex-grow: 1; }
.quote__by { margin-top: 1.5rem; display: flex; align-items: center; gap: 0.85rem; }
.quote__avatar {
  width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center; font-weight: 700; color: var(--on-accent);
  background: linear-gradient(140deg, var(--accent-2), var(--accent)); font-size: 0.95rem;
}
.quote__by b { display: block; color: var(--text); font-size: 0.92rem; }
.quote__by small { color: var(--text-faint); font-size: 0.82rem; }

/* Masonry-ish columns for many reviews */
.quote-cols { columns: 1; column-gap: 1.25rem; }
@media (min-width: 680px) { .quote-cols { columns: 2; } }
@media (min-width: 1040px) { .quote-cols { columns: 3; } }
.quote-cols .card { break-inside: avoid; margin-bottom: 1.25rem; display: inline-flex; width: 100%; }

/* -------------------------------------------------------------
   14. FAQ accordion
   ------------------------------------------------------------- */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  width: 100%; text-align: left; padding: 1.5rem 0.25rem;
  font-size: clamp(1.05rem, 1rem + 0.4vw, 1.25rem); font-weight: 700; color: var(--text);
  transition: color var(--dur-fast) var(--ease);
}
.faq__q:hover { color: var(--accent); }
.faq__icon { flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; position: relative; transition: border-color var(--dur-fast) var(--ease); }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; background: var(--accent); border-radius: 2px; transition: transform var(--dur) var(--ease); }
.faq__icon::before { width: 13px; height: 2px; }
.faq__icon::after { width: 2px; height: 13px; }
.faq__item.open .faq__icon::after { transform: scaleY(0); }
.faq__item.open .faq__icon { border-color: var(--accent-line); }
.faq__a { overflow: hidden; height: 0; transition: height var(--dur) var(--ease); }
.faq__a-inner { padding: 0 0.25rem 1.6rem; color: var(--text-dim); max-width: 68ch; }

/* -------------------------------------------------------------
   15. Team
   ------------------------------------------------------------- */
.team-card { text-align: left; }
.team-card__photo {
  aspect-ratio: 1; border-radius: var(--r); margin-bottom: 1.2rem; overflow: hidden;
  background: linear-gradient(150deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line); display: grid; place-items: center; position: relative;
}
.team-card__photo .initials { font-size: 2.6rem; font-weight: 800; color: var(--accent); opacity: 0.85; }
.team-card__photo::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 90% at 50% 0%, transparent 55%, rgba(252,99,32,0.10)); }
.team-card h3 { font-size: 1.2rem; }
.team-card .role { font-family: 'IBM Plex Mono', monospace; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin: 0.35rem 0 0.9rem; }
.team-card p { font-size: 0.92rem; }

/* -------------------------------------------------------------
   16. Blog cards
   ------------------------------------------------------------- */
.post {
  display: flex; flex-direction: column; height: 100%;
  border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.008));
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.post:hover { transform: translateY(-4px); border-color: var(--line-2); box-shadow: var(--shadow); }
.post__cover {
  aspect-ratio: 16 / 9; position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--surface-2), var(--bg-2));
  border-bottom: 1px solid var(--line);
}
.post__cover::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(to right, var(--line) 1px, transparent 1px), linear-gradient(to bottom, var(--line) 1px, transparent 1px);
  background-size: 26px 26px; opacity: 0.6;
  mask-image: radial-gradient(70% 70% at 70% 30%, #000, transparent);
  -webkit-mask-image: radial-gradient(70% 70% at 70% 30%, #000, transparent);
}
.post__cover .glyph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--accent); opacity: 0.9; }
.post__cover .glyph svg { width: 46px; height: 46px; filter: drop-shadow(0 8px 24px var(--accent-glow)); }
.post__cat { position: absolute; top: 0.9rem; left: 0.9rem; z-index: 2; }
.post__body { padding: 1.4rem; display: flex; flex-direction: column; flex-grow: 1; }
.post__date { font-family: 'IBM Plex Mono', monospace; font-size: 0.72rem; letter-spacing: 0.1em; color: var(--text-faint); }
.post__body h3 { font-size: 1.12rem; margin: 0.7rem 0 0.6rem; line-height: 1.25; }
.post:hover .post__body h3 { color: var(--accent); }
.post__body p { font-size: 0.92rem; color: var(--text-dim); flex-grow: 1; }
.post__more { margin-top: 1.1rem; font-size: 0.85rem; color: var(--accent); font-weight: 600; display: inline-flex; gap: 0.4rem; align-items: center; }
.post__more svg { width: 15px; height: 15px; flex-shrink: 0; transition: transform var(--dur-fast) var(--ease); }
.post:hover .post__more svg { transform: translateX(4px); }

/* Filter tabs */
.tabs { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tab {
  padding: 0.7rem 1.1rem; border-radius: var(--r-full); font-size: 0.88rem; font-weight: 500;
  border: 1px solid var(--line-2); color: var(--text-dim);
  transition: all var(--dur-fast) var(--ease);
}
.tab:hover { color: var(--text); }
.tab.active { background: var(--accent); color: var(--on-accent); border-color: transparent; }

/* -------------------------------------------------------------
   17. CTA band
   ------------------------------------------------------------- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--r-2xl); padding: clamp(2.5rem, 1.5rem + 5vw, 5rem); text-align: center; border: 1px solid var(--accent-line); background: linear-gradient(150deg, rgba(252,99,32,0.14), rgba(20,20,24,0.4) 55%); }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(600px 300px at 50% -20%, var(--accent-glow), transparent 70%); }
.cta-band h2 { max-width: 18ch; margin-inline: auto; }
.cta-band p { margin: 1.2rem auto 0; color: var(--text-dim); }
.cta-band .hero__cta { justify-content: center; }

/* CTA band variant with an inline lead form (main pages) */
.cta-band--form { text-align: left; }
.cta-band__grid { display: grid; gap: clamp(1.75rem, 1rem + 3vw, 3.5rem); align-items: center; }
@media (min-width: 900px) { .cta-band__grid { grid-template-columns: 1.05fr 0.95fr; } }
.cta-band--form h2 { max-width: 20ch; margin-inline: 0; }
.cta-band--form p { margin: 1.1rem 0 0; max-width: 46ch; }
.cta-band--form .eyebrow { text-align: left; }
.cta-band--form .hero__cta { justify-content: flex-start; }
.cta-form { background: rgba(8,8,10,0.55); border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(1.25rem, 1rem + 1.4vw, 1.85rem); backdrop-filter: blur(6px); text-align: left; }
.cta-form h3 { margin: 0 0 .3rem; }
.cta-form > p { margin: 0 0 1.1rem; font-size: .92rem; color: var(--text-dim); }
.cta-form .field { margin-bottom: .7rem; }
.cta-form .field textarea { min-height: 84px; }
.cta-form .btn { margin-top: .25rem; }

/* -------------------------------------------------------------
   18. Page hero (interior)
   ------------------------------------------------------------- */
.page-hero { position: relative; padding-top: clamp(3rem, 2rem + 4vw, 5.5rem); padding-bottom: clamp(2.5rem, 1.5rem + 3vw, 4rem); overflow: hidden; }
.page-hero .hero__grid { opacity: 0.4; }
.breadcrumb { display: flex; gap: 0.6rem; font-family: 'IBM Plex Mono', monospace; font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 1.6rem; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { color: var(--accent); }
.page-hero h1 { max-width: 18ch; }
.page-hero p { margin-top: 1.4rem; max-width: 60ch; font-size: var(--fs-lead); color: var(--text-dim); }

/* -------------------------------------------------------------
   19. Contact info blocks
   ------------------------------------------------------------- */
.info-row { display: flex; gap: 1rem; align-items: flex-start; padding: 1.2rem 0; border-bottom: 1px solid var(--line); }
.info-row:last-child { border-bottom: 0; }
.info-row .ii { flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); border: 1px solid var(--accent-line); color: var(--accent); }
.info-row .ii svg { width: 20px; height: 20px; }
.info-row .label { font-family: 'IBM Plex Mono', monospace; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 0.2rem; }
.info-row .val { color: var(--text); font-weight: 600; font-size: 1.05rem; }
.info-row .val a:hover { color: var(--accent); }
.info-row .sub { color: var(--text-dim); font-size: 0.9rem; }

/* -------------------------------------------------------------
   20. Footer
   ------------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-2); padding-top: clamp(3.5rem, 2rem + 4vw, 5.5rem); margin-top: clamp(3rem,2rem+3vw,5rem); }
.footer-grid { display: grid; gap: 2.5rem; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; } }
.footer-brand .logo { margin-bottom: 1.2rem; }
.footer-brand p { color: var(--text-dim); font-size: 0.95rem; max-width: 34ch; }
.footer-social { margin-top: 1.5rem; display: flex; gap: 0.7rem; }
.footer-social a { width: 44px; height: 44px; border-radius: var(--r-tile); border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--text-dim); transition: all var(--dur-fast) var(--ease); }
.footer-social a:hover { color: var(--accent); border-color: var(--accent-line); background: var(--accent-soft); }
.footer-social svg { width: 18px; height: 18px; }
.footer-col h4 { font-family: 'IBM Plex Mono', monospace; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-faint); font-weight: 500; margin-bottom: 1.2rem; }
.footer-col ul { display: grid; gap: 0.7rem; }
.footer-col a { color: var(--text-dim); font-size: 0.94rem; transition: color var(--dur-fast) var(--ease); }
.footer-col a:hover { color: var(--text); }
.footer-contact address { font-style: normal; color: var(--text-dim); font-size: 0.92rem; display: grid; gap: 1rem; }
.footer-contact .fc-line { display: flex; gap: 0.6rem; align-items: flex-start; }
.footer-contact .fc-line svg { width: 16px; height: 16px; color: var(--accent); flex-shrink: 0; margin-top: 3px; }
.footer-contact a:hover { color: var(--text); }
.coverage { margin-top: clamp(2.5rem,1.5rem+3vw,4rem); padding-top: 2rem; border-top: 1px solid var(--line); }
.coverage h4 { font-family: 'IBM Plex Mono', monospace; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-faint); font-weight: 500; margin-bottom: 1.1rem; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; padding-block: 1.8rem; margin-top: clamp(2.5rem,1.5rem+3vw,4rem); border-top: 1px solid var(--line); color: var(--text-faint); font-size: 0.85rem; }
.footer-bottom .fb-links { display: flex; flex-wrap: wrap; gap: 1.3rem; }
.footer-bottom a:hover { color: var(--text); }

/* -------------------------------------------------------------
   21. Prose (legal pages)
   ------------------------------------------------------------- */
.prose { max-width: var(--maxw-narrow); }
.prose h2 { font-size: clamp(1.4rem,1.2rem+1vw,1.9rem); margin: 2.5rem 0 1rem; }
.prose h3 { font-size: 1.15rem; margin: 1.8rem 0 0.6rem; }
.prose p, .prose li { color: var(--text-dim); margin-bottom: 1rem; }
.prose ul { list-style: disc; padding-left: 1.3rem; display: grid; gap: 0.5rem; margin-bottom: 1.2rem; }
.prose a { color: var(--accent); border-bottom: 1px solid var(--accent-line); }
.prose strong { color: var(--text); }

/* -------------------------------------------------------------
   22. Scroll reveal animation
   ------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.07s; }
.reveal[data-delay="2"] { transition-delay: 0.14s; }
.reveal[data-delay="3"] { transition-delay: 0.21s; }
.reveal[data-delay="4"] { transition-delay: 0.28s; }
.reveal[data-delay="5"] { transition-delay: 0.35s; }
.reveal[data-delay="6"] { transition-delay: 0.42s; }

.reveal-x { opacity: 0; transform: translateX(-30px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal-x.right { transform: translateX(30px); }
.reveal-x.in { opacity: 1; transform: none; }

/* Scroll progress bar */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; transform: scaleX(0); transform-origin: 0 50%; z-index: var(--z-top); background: linear-gradient(90deg, var(--accent), var(--accent-2)); box-shadow: 0 0 12px var(--accent-glow); will-change: transform; transition: transform 0.1s linear; }

/* -------------------------------------------------------------
   23. Helpers
   ------------------------------------------------------------- */
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }
.muted { color: var(--text-faint); }
.nowrap { white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.skip-link { position: absolute; left: 1rem; top: -60px; z-index: var(--z-top); background: var(--accent); color: var(--on-accent); padding: 0.7rem 1.1rem; border-radius: var(--r-xs); font-weight: 600; transition: top var(--dur-fast) var(--ease); }
.skip-link:focus { top: 1rem; }

/* -------------------------------------------------------------
   24. Reduced motion
   ------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .reveal, .reveal-x { opacity: 1 !important; transform: none !important; }
  .marquee__track { animation: none; }
}

/* -------------------------------------------------------------
   25. Services mega-menu (full service tree, matches staging)
   ------------------------------------------------------------- */
.nav__inner { position: relative; }
.menu > li.has-mega { position: static; }
/* Transparent hover bridge across the 12px gap so the pointer can reach the panel */
.menu li.has-mega::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  top: 100%;
  height: 16px;
  pointer-events: none;
}
.menu li.has-mega:hover::after,
.menu li.has-mega:focus-within::after { pointer-events: auto; }
.mega {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  right: 0;
  padding: 1.4rem 1.5rem 1rem;
  border-radius: var(--r);
  background: rgba(14, 14, 18, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.2rem 1.2rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease), visibility var(--dur-fast);
  z-index: var(--z-overlay);
}
.menu li.has-mega:hover .mega,
.menu li.has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: none; }
.mega__col { min-width: 0; }
.mega__hub {
  display: flex; align-items: center; gap: 0.55rem;
  padding: 0.5rem 0.6rem; margin-bottom: 0.15rem;
  border-radius: var(--r-xs);
  color: var(--text); font-weight: 700; font-size: 0.9rem; letter-spacing: -0.01em;
}
.mega__hub:hover { background: rgba(255,255,255,0.05); color: var(--accent); }
.mega__hub .di {
  width: 30px; height: 30px; flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: 9px; border: 1px solid var(--line);
  background: var(--accent-soft); color: var(--accent);
}
.mega__hub .di svg { width: 16px; height: 16px; }
.mega__sub { display: flex; flex-direction: column; padding-bottom: 0.5rem; }
.mega__sub a {
  padding: 0.32rem 0.6rem;
  border-radius: var(--r-xs);
  color: var(--text-dim); font-size: 0.82rem; line-height: 1.3;
  transition: color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}
.mega__sub a:hover { background: rgba(255,255,255,0.04); color: var(--text); }
.mega__all {
  grid-column: 1 / -1;
  border-top: 1px solid var(--line);
  margin-top: 0.4rem; padding: 0.85rem 0.6rem 0.2rem;
  color: var(--accent); font-weight: 600; font-size: 0.9rem;
}
@media (max-width: 1180px) { .mega { grid-template-columns: repeat(3, minmax(0,1fr)); } }
/* Mobile: hub chips stand out from sub-service chips */
.mobile-menu .m-sub { align-items: flex-start; }
.mobile-menu .m-sub a.m-hub {
  color: var(--text); font-weight: 700;
  border-color: var(--accent-line); background: var(--accent-soft);
  margin-top: 0.35rem;
}

/* -------------------------------------------------------------
   26. Brand logo image (new WhizzIT lockup)
   ------------------------------------------------------------- */
.logo__img { height: 34px; width: auto; display: block; transition: height var(--dur) var(--ease); }
.site-header.scrolled .logo__img { height: 30px; }
.site-footer .logo__img { height: 34px; }
@media (max-width: 420px) { .logo__img { height: 30px; } }

/* -------------------------------------------------------------
   27. Mobile nav — Services accordion
   ------------------------------------------------------------- */
.mobile-menu .m-acc { display: block; padding: 0.25rem 0 0.6rem; }
.mobile-menu .m-acc__item { border-bottom: 1px solid var(--line); }
.mobile-menu .m-acc__head {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  width: 100%; text-align: left;
  padding: 0.8rem 0.25rem;
  font-size: 1.05rem; font-weight: 600; color: var(--text);
}
.mobile-menu .m-acc__head:hover { color: var(--accent); }
.mobile-menu .m-acc__chev { width: 20px; height: 20px; color: var(--accent); flex-shrink: 0; transition: transform var(--dur) var(--ease); }
.mobile-menu .m-acc__item.open .m-acc__chev { transform: rotate(180deg); }
.mobile-menu .m-acc__body { height: 0; overflow: hidden; transition: height var(--dur) var(--ease); }
.mobile-menu .m-acc__body a {
  display: block; padding: 0.7rem 0.85rem;
  color: var(--text-dim); font-size: 0.98rem; border-radius: var(--r-xs);
  transition: color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}
.mobile-menu .m-acc__body a:first-child { color: var(--text); font-weight: 600; }
.mobile-menu .m-acc__body a:hover, .mobile-menu .m-acc__body a:active { color: var(--accent); background: rgba(255,255,255,0.05); }

/* -------------------------------------------------------------
   28. Trust bar (proof strip under hero)
   ------------------------------------------------------------- */
.trustbar { border-block: 1px solid var(--line); background: var(--bg-2); }
.trustbar__inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 0.75rem 2.4rem; padding-block: 1rem;
}
.trustbar__item {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: 'IBM Plex Mono', monospace; font-size: 0.82rem;
  letter-spacing: 0.02em; color: var(--text-dim); white-space: nowrap;
}
.trustbar__item svg { width: 17px; height: 17px; color: var(--accent); flex-shrink: 0; }
.trustbar__item b { color: var(--text); font-weight: 600; }
.trustbar__item .stars { color: var(--star); font-size: 0.9rem; letter-spacing: 0.06em; }
@media (min-width: 768px) { .trustbar__item { font-size: 0.86rem; } }

/* -------------------------------------------------------------
   29. Card grids that centre orphan rows (even spacing)
   ------------------------------------------------------------- */
.cardgrid { display: flex; flex-wrap: wrap; gap: 1.25rem; justify-content: center; align-items: stretch; }
.cardgrid > * { flex: 0 1 100%; min-width: 0; }
@media (min-width: 560px) { .cardgrid > * { flex-basis: calc(50% - 0.625rem); } }
@media (min-width: 900px) {
  .cardgrid--3 > * { flex-basis: calc(33.333% - 0.834rem); }
  .cardgrid--4 > * { flex-basis: calc(25% - 0.938rem); }
}

/* -------------------------------------------------------------
   30. Sticky mobile CTA bar (conversion)
   ------------------------------------------------------------- */
.mobilecta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-nav);
  display: flex; gap: 0.55rem;
  padding: 0.55rem 0.7rem calc(0.55rem + env(safe-area-inset-bottom, 0px));
  background: rgba(8, 8, 10, 0.92);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-top: 1px solid var(--line-2);
}
.mobilecta .btn { flex: 1; padding-block: 0.85rem; }
@media (min-width: 1080px) { .mobilecta { display: none; } }
@media (max-width: 1079px) { body { padding-bottom: 4.6rem; } body.menu-open .mobilecta { opacity: 0; pointer-events: none; } }

/* -------------------------------------------------------------
   31. Client logo wall + Google reviews header
   ------------------------------------------------------------- */
.logowall { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }
.logowall__cell {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.09); border-radius: var(--r);
  display: grid; place-items: center;
  padding: 1.05rem 1.6rem; min-width: 148px; min-height: 86px;
  flex: 0 1 auto;
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.logowall__cell:hover { transform: translateY(-3px); background: rgba(255,255,255,0.07); border-color: rgba(255,255,255,0.16); }
.logowall__cell img { height: 52px; width: auto; max-width: 240px; object-fit: contain; display: block; filter: brightness(0) invert(1); opacity: 0.8; transition: filter var(--dur) var(--ease), opacity var(--dur) var(--ease); }
.logowall__cell:hover img { opacity: 1; }

/* Home client logo carousel — auto-scroll, ~5 in view, greyscale on dark */
.logo-carousel { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); }
.logo-carousel__track { display: flex; width: max-content; align-items: center; animation: logoscroll 36s linear infinite; }
.logo-carousel:hover .logo-carousel__track { animation-play-state: paused; }
.logo-carousel__cell { flex: 0 0 auto; display: grid; place-items: center; padding: 0.5rem clamp(1.75rem, 4vw, 3.5rem); }
.logo-carousel__cell img { height: clamp(56px, 6vw, 84px); width: auto; max-width: 330px; object-fit: contain; filter: grayscale(1); opacity: 0.85; transition: opacity var(--dur) var(--ease); }
.logo-carousel__cell:hover img { opacity: 1; }
@keyframes logoscroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .logo-carousel__track { animation: none; } }
.reviews-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1rem 1.5rem; }
.reviews-head .g-logo { width: 22px; height: 22px; }
.reviews-head .score { font-size: 2.4rem; font-weight: 800; color: var(--text); line-height: 1; font-variant-numeric: tabular-nums; }

/* Live Google review cards */
.reviews-live-head { text-align: center; margin: 0 auto 1.5rem; color: var(--text-dim); font-size: .95rem; }
.reviews-live-head .stars { color: #fbbc05; letter-spacing: .05em; }
.reviews-live-head a { color: var(--accent-2); }
.g-review__head { display: flex; align-items: center; gap: .6rem; margin-bottom: .55rem; }
.g-review__avatar { width: 38px; height: 38px; border-radius: 50%; overflow: hidden; flex: 0 0 auto; display: grid; place-items: center; background: var(--bg-2); color: var(--text); font-weight: 700; font-size: .82rem; }
.g-review__avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.g-review__who { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.g-review__who b { font-size: .95rem; }
.g-review__who small { color: var(--text-faint); font-size: .78rem; }
.g-review__logo { width: 18px; height: 18px; margin-left: auto; flex: 0 0 auto; }
.g-review .stars { color: #fbbc05; margin-bottom: .4rem; }

/* -------------------------------------------------------------
   32. reCAPTCHA field
   ------------------------------------------------------------- */
.captcha-row { margin-bottom: 1rem; }
.captcha-row .g-recaptcha { display: inline-block; max-width: 100%; overflow: hidden; }
.captcha-row .err { display: none; color: var(--danger-text); font-size: 0.8rem; margin-top: 0.4rem; }
.captcha-row.invalid .err { display: block; }
/* Keep the fixed-width reCAPTCHA widget inside the lead card on small phones */
@media (max-width: 480px) {
  .leadcard { padding-inline: 1.1rem; }
  .captcha-row { overflow: hidden; }
  .captcha-row .g-recaptcha { transform: scale(0.90); transform-origin: 0 0; margin-bottom: -6px; }
}
