/* ==========================================================================
   Khumalo Tech Solutions — shared stylesheet
   Design language: the operational ledger. KTS's real work is flagging,
   escalating, and reconciling exceptions in client workflows — so the site
   borrows the visual grammar of a manifest/audit log: hairline rules,
   mono reference labels, and a flag(brand blue) → resolve(teal-green) color logic.
   ========================================================================== */

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

:root {
  --ink: #0E1F3C;        /* primary text, dark surfaces */
  --ink-soft: #16294A;   /* secondary dark surface */
  --paper: #F7F8FA;      /* page background */
  --paper-raised: #FFFFFF;
  --steel: #37455A;      /* body copy on light bg */
  --steel-light: #64728A;
  --brand: #039EC7;      /* KTS brand blue \u2014 primary action / flag */
  --brand-soft: #DFF3FA;
  --brand-dark: #026E8F;
  --teal: #0E5E4C;       /* deep teal-green \u2014 resolve / secondary accent */
  --teal-soft: #E1F0EA;
  --line: #DCE1E8;       /* hairline borders */
  --strip-bg: #EDF0F3;   /* strip band fill \u2014 sits between paper and line */
  --site-bg: #0E1F3C;    /* solid site background (main content) — matches header */
  --silver: #E7EAEE;     /* metallic silver-white for headings/copy sitting directly on dark art */

  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;

  --max-width: 1180px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 0.5em 0;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 600; }
h3 { font-size: 1.15rem; font-weight: 600; }

p { margin: 0 0 1em 0; color: var(--steel); max-width: 60ch; }

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  margin-bottom: 1em;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 88px 0;
}

.hairline-top {
  border-top: 1px solid var(--line);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 13px 26px;
  border-radius: 3px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px) scale(1.04); }

.btn-primary {
  background: var(--brand);
  color: #fff;
}
.btn-primary:hover { background: var(--brand-dark); }

.btn-outline {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}
.btn-outline:hover { background: var(--ink); color: #fff; }

.btn-outline-light {
  background: transparent;
  border-color: rgba(255,255,255,0.4);
  color: #fff;
}
.btn-outline-light:hover { background: rgba(255,255,255,0.12); border-color: #fff; }

/* ---------- Assessment CTA shadows (lighter tint of each button's own colour) ---------- */
.btn-shadow.btn-primary { box-shadow: 0 4px 14px rgba(3, 158, 199, 0.3); }
.btn-shadow.btn-primary:hover { box-shadow: 0 8px 20px rgba(3, 158, 199, 0.4); }
.nav-cta .btn-shadow.btn-outline { box-shadow: 0 4px 14px rgba(255, 255, 255, 0.22); }
.nav-cta .btn-shadow.btn-outline:hover { box-shadow: 0 6px 18px rgba(255, 255, 255, 0.3); }
@media (max-width: 860px) {
  .nav-links a.btn-shadow.btn-outline { box-shadow: 0 4px 14px rgba(14, 31, 60, 0.18); }
  .nav-links a.btn-shadow.btn-outline:hover { box-shadow: 0 6px 18px rgba(14, 31, 60, 0.24); }
}

/* ---------- Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--ink);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--ink-soft);
  flex: none;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}
.logo {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: #fff;
}
.logo-mark {
  width: 11px;
  height: 11px;
  background: var(--brand);
  display: inline-block;
  border-radius: 2px;
  transform: translateY(-1px);
}
.logo-sub {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: var(--steel-light);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 400;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  position: relative;
  padding: 4px 0;
}
.nav-links a:hover { color: #fff; }
.nav-links a[aria-current="page"] { color: #fff; }
.nav-links a[aria-current="page"]::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -3px;
  height: 2px;
  background: var(--brand);
}

.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-cta .btn-outline {
  border-color: rgba(255,255,255,0.4);
  color: #fff;
}
.nav-cta .btn-outline:hover { background: rgba(255,255,255,0.12); border-color: #fff; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  margin: 5px 0;
}

@media (min-width: 861px) {
  .nav-links a.btn-outline { display: none; }
}

@media (max-width: 860px) {
  .nav-links { 
    position: fixed;
    top: 65px; left: 0; right: 0;
    background: var(--paper-raised);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px 26px;
    gap: 18px;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { color: var(--steel); }
  .nav-links a:hover,
  .nav-links a[aria-current="page"] { color: var(--ink); }
  .nav-links a.btn-outline { color: var(--ink); border-color: var(--ink); }
  .nav-links a.btn-outline:hover { background: var(--ink); color: #fff; }
  .nav-cta .btn-outline { display: none; }
  .nav-toggle { display: block; }
}

/* ---------- Nav dropdown (Services submenu) ---------- */
.nav-item { position: relative; }
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  min-width: 240px;
  padding: 14px 6px 6px;
  background: var(--ink-soft);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  box-shadow: 0 14px 34px rgba(0,0,0,0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(4px);
  transition: opacity 0.15s ease, transform 0.15s ease;
}
.nav-item:hover .dropdown-menu,
.nav-item:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.dropdown-menu a {
  display: block;
  padding: 10px 14px;
  border-radius: 4px;
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  white-space: nowrap;
}
.dropdown-menu a::after { content: none !important; }
.dropdown-menu a:hover,
.dropdown-menu a[aria-current="page"] {
  background: rgba(255,255,255,0.08);
  color: #fff;
}
@media (max-width: 860px) {
  .nav-item { width: 100%; }
  .dropdown-menu {
    position: static;
    margin-top: 12px;
    padding: 0 0 0 16px;
    background: none;
    border: none;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
  }
  .dropdown-menu a { padding: 0; color: var(--steel-light); }
  .dropdown-menu a:hover,
  .dropdown-menu a[aria-current="page"] { background: none; color: var(--ink); }
}

/* ---------- Viewport fold (header + hero + strip fill the first screen) ---------- */
.viewport-fold {
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - var(--header-h, 84px));
  min-height: calc(100svh - var(--header-h, 84px)); /* accounts for mobile browser chrome */
}

/* ---------- Section heading on dark main background ---------- */
.section-heading { color: var(--silver); }

/* ---------- Hero ---------- */
.hero {
  padding: 44px 0 60px;
  flex: 1 0 auto;
  display: flex;
  align-items: flex-start;
}
.hero .container {
  max-width: none;
  margin: 0;
  padding-left: clamp(24px, 6vw, 80px);
  padding-right: 24px;
}
.hero-grid {
  max-width: 900px;
}
.hero h1 { margin-bottom: 0.45em; max-width: none; }
.hero-sub { font-size: 1.08rem; max-width: 46ch; }
.hero-ctas { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }

/* ---------- Strip ---------- */
.strip {
  padding: 26px 0;
  background: #22406F;
  border-top: 1px solid #22406F;
  border-bottom: 1px solid #22406F;
  flex: none;
}
.strip-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.02em;
  text-align: center;
}
.strip-row strong {
  color: #fff;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.strip-chip {
  border: 1px solid var(--line);
  padding: 5px 12px;
  border-radius: 20px;
}

/* ---------- Process (numbered — a real sequence) ---------- */
.process-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 44px;
}
@media (max-width: 860px) {
  .process-list { grid-template-columns: 1fr; }
}
.process-item {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px 26px 30px;
  box-shadow: 0 1px 4px rgba(14, 31, 60, 0.06);
}
.process-num {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--brand);
  display: block;
  margin-bottom: 10px;
}

/* ---------- Card grid (not numbered — no inherent sequence) ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 44px;
}
@media (max-width: 960px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .card-grid { grid-template-columns: 1fr; }
}
.card {
  background: var(--brand);
  padding: 30px 26px;
}
.card h3 { margin-bottom: 0.6em; color: #fff; }
.card p { font-size: 0.92rem; margin-bottom: 0; color: rgba(255,255,255,0.85); }
.card-glyph {
  width: 30px; height: 30px;
  border: 1.5px solid #fff;
  border-radius: 3px;
  margin-bottom: 20px;
  position: relative;
}
.card-glyph::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 12px; height: 1.5px;
  background: #fff;
  transform: translate(-50%, -50%);
}

/* ---------- Why section ---------- */
.why-block {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: start;
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 44px 48px;
  box-shadow: 0 1px 4px rgba(14, 31, 60, 0.06);
}
@media (max-width: 860px) {
  .why-block { grid-template-columns: 1fr; padding: 32px 26px; }
}
.why-block p { max-width: none; font-size: 1.02rem; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--ink);
  color: #fff;
  padding: 70px 0;
  text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.7); margin: 0 auto 30px; }
.cta-band .hero-ctas { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer {
  background: #22406F;
  border-top: 1px solid #22406F;
  padding: 50px 0 34px;
  position: relative;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 34px;
}
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin: 0 0 14px 0;
}
.footer-col a, .footer-col p {
  display: block;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: 8px;
  max-width: none;
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.25);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.65);
  font-family: var(--font-mono);
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  padding: 64px 0 40px;
  max-width: 70ch;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  color: rgba(255,255,255,0.5);
  margin-bottom: 22px;
}
.back-link:hover { color: var(--silver); }

/* ---------- Services page hero image (scoped, not shared with other .page-hero pages) ---------- */
.page-hero-services {
  max-width: none;
  background:
    linear-gradient(100deg, rgba(14,31,60,0.95) 0%, rgba(14,31,60,0.82) 34%, rgba(14,31,60,0.4) 100%),
    url('bg-code.jpg') center right / cover no-repeat;
}
.page-hero-services h1,
.page-hero-services p { max-width: 70ch; }

/* Hero/page-hero heading + intro copy sit directly on the dark background art —
   use a near-white metallic silver so they stay legible without a card behind them. */
.hero h1,
.hero-sub,
.page-hero h1,
.page-hero p {
  color: var(--silver);
}

/* ---------- Services page ---------- */
.service-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  padding: 42px 0;
  border-top: 1px solid var(--line);
}
.service-row:last-child { border-bottom: 1px solid var(--line); }
@media (max-width: 760px) {
  .service-row { grid-template-columns: 1fr; gap: 12px; }
}
.service-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--brand);
  text-transform: uppercase;
}
.service-body h3, .service-body p, .service-body ul { color: var(--silver); }
.service-body h3 { margin-bottom: 0.5em; }
.service-body ul { margin: 14px 0 0; padding-left: 18px; }
.service-body li { margin-bottom: 6px; font-size: 0.95rem; }

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 40px;
}
@media (max-width: 760px) {
  .pricing-grid { grid-template-columns: 1fr; }
}
.price-card {
  border: 1px solid var(--line);
  padding: 32px;
  background: var(--paper-raised);
}
.price-card .eyebrow { margin-bottom: 0.7em; }
.price-figure {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.price-note {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--steel-light);
  margin-top: 24px;
}

/* ---------- Services hub (three service-area tiles) ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 44px;
}
@media (max-width: 960px) {
  .services-grid { grid-template-columns: 1fr; }
}
a.service-tile {
  display: flex;
  flex-direction: column;
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 34px 30px;
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.08);
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
a.service-tile:hover {
  border-color: var(--brand);
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 10px 34px rgba(255, 255, 255, 0.18);
}
.service-tile h3 { margin-bottom: 0.6em; }
.service-tile p { font-size: 0.95rem; margin-bottom: 0; }
.service-tile .tile-link,
.service-tile .tile-status {
  margin-top: 24px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.03em;
}
.service-tile .tile-link { color: var(--brand); font-weight: 500; }
.service-tile .tile-status {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--steel-light);
  border: 1px solid var(--line);
  padding: 4px 10px;
  border-radius: 20px;
  width: fit-content;
  box-shadow: 0 2px 8px rgba(14, 31, 60, 0.1);
}

/* ---------- Home services preview (AI & Automation / Web Dev side by side, WMS full-width below) ---------- */
.home-services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 44px;
}
.home-services-grid .service-tile-full { grid-column: 1 / -1; }
.home-services-grid a.service-tile {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  align-items: flex-start;
  justify-content: center;
  padding: 40px 34px;
  /* AI & Automation / Web Dev are half-width; this ratio gives them the
     same rendered height as the full-width, 32:9 WMS tile below them. */
  aspect-ratio: 16 / 9;
}
.home-services-grid a.service-tile.service-tile-full { aspect-ratio: 32 / 9; }
.home-services-grid a.service-tile::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.5;
}
.home-services-grid a.service-tile.tile-ai-automation::before { background-image: url('service-ai-automation-bg.jpg'); }
.home-services-grid a.service-tile.tile-web-dev::before { background-image: url('service-web-dev-bg.jpg'); }
.home-services-grid a.service-tile.tile-wms::before { background-image: url('service-wms-bg.jpg'); }
.home-services-grid a.service-tile h3 { position: relative; z-index: 1; margin-bottom: 0; font-size: 1.5rem; }
@media (max-width: 720px) {
  .home-services-grid { grid-template-columns: 1fr; }
  .home-services-grid a.service-tile,
  .home-services-grid a.service-tile.service-tile-full { aspect-ratio: 32 / 9; }
}
.home-services-cta { text-align: center; margin-top: 34px; }

/* ---------- Timeline (alternating numbered line, e.g. AI & Automation page) ---------- */
.timeline-section { padding: 40px 0 88px; }
.timeline { position: relative; max-width: 760px; margin: 0 auto; }
.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: var(--line);
  opacity: 0.25;
  transform: translateX(-50%);
}
.timeline-item {
  position: relative;
  width: 50%;
  padding-bottom: 56px;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item:nth-child(odd) { padding-right: 48px; text-align: right; }
.timeline-item:nth-child(even) { margin-left: 50%; padding-left: 48px; text-align: left; }
.timeline-dot {
  position: absolute;
  top: 2px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 5px var(--site-bg), 0 4px 14px rgba(3, 158, 199, 0.35);
}
.timeline-item:nth-child(odd) .timeline-dot { right: -17px; }
.timeline-item:nth-child(even) .timeline-dot { left: -17px; }
.timeline-content h3 { color: var(--silver); margin-bottom: 0.4em; font-size: 1.1rem; }
.timeline-content p { color: rgba(255,255,255,0.65); font-size: 0.95rem; margin: 0; }
@media (max-width: 640px) {
  .timeline::before { left: 20px; }
  .timeline-item,
  .timeline-item:nth-child(even) {
    width: 100%;
    margin-left: 0;
    padding-left: 48px;
    padding-right: 0;
    text-align: left;
  }
  .timeline-item:nth-child(odd) .timeline-dot,
  .timeline-item:nth-child(even) .timeline-dot { left: 3px; right: auto; }
}

/* ---------- About page ---------- */
.about-grid h2, .about-grid p { color: var(--silver); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; }
}
.pillar {
  padding: 24px 0;
  border-top: 1px solid var(--line);
}
.pillar:last-child { border-bottom: 1px solid var(--line); }

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: start;
}
@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
}
.contact-bubble {
  background: var(--silver);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 44px 48px;
  box-shadow: 0 1px 4px rgba(14, 31, 60, 0.06);
}
@media (max-width: 860px) {
  .contact-bubble { padding: 32px 26px; }
}
.form-field { margin-bottom: 20px; }
.form-field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 8px;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 3px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--paper-raised);
  color: var(--ink);
}
.form-field textarea { resize: vertical; min-height: 110px; }
.form-note {
  font-size: 0.82rem;
  color: var(--steel-light);
  margin-top: -6px;
}
.contact-side .contact-item {
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
.contact-side .contact-item:last-child { border-bottom: 1px solid var(--line); }
.contact-side .contact-item h4 {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
  margin: 0 0 8px 0;
}
.contact-side .contact-item a, .contact-side .contact-item p {
  font-size: 1rem;
  color: var(--ink);
  margin: 0;
}
.form-status {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  margin-top: 6px;
  min-height: 1.2em;
}

/* ---------- Parallax background (site-wide) ---------- */
.bg-parallax {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}
.bg-parallax img {
  position: absolute;
  top: -12%;
  left: 0;
  width: 100%;
  height: 124%;
  object-fit: cover;
  object-position: center;
  will-change: transform;
}
@media (max-width: 860px) {
  .bg-parallax img { object-position: left center; }
}
.bg-tint {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: rgba(247, 248, 250, 0);
  pointer-events: none;
}
/* dark surfaces (cta band, etc.) already have their own opaque background
   so the watermark only shows through open page space */

/* ---------- Main content background ----------
   The circuit-board watermark (.bg-parallax/.bg-tint) only shows behind the
   transparent header/hero/strip on the homepage. Everything inside <main> sits on
   a solid brand teal (--site-bg). Individual cards (.why-block, .process-item, form
   inputs, etc.) keep their own solid var(--paper-raised) fill so they still read as
   white cards on top of it. */
main {
  background: var(--site-bg);
  position: relative;
}

/* ---------- Nav logo image ---------- */
.logo-img {
  height: 42px;
  width: auto;
  display: block;
}

/* ---------- Other services (simple list, no inherent order) ---------- */
.other-services-list {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 40px;
}
.other-service-pill {
  display: inline-block;
  border: 1px solid var(--line);
  background: var(--paper-raised);
  padding: 16px 24px;
  border-radius: 4px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--ink);
  box-shadow: 0 2px 8px rgba(14, 31, 60, 0.1);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
a.other-service-pill:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(14, 31, 60, 0.16);
  border-color: var(--brand);
}

/* ---------- Calendly scheduling modal ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(14, 31, 60, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 100;
}
.modal-overlay.open { display: flex; }
.modal-box {
  background: var(--paper-raised);
  border-radius: 6px;
  width: 100%;
  max-width: 760px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
}
.modal-header .logo-img { height: 24px; }
.modal-close {
  background: none;
  border: none;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  color: var(--steel);
  padding: 4px 8px;
}
.modal-close:hover { color: var(--ink); }
.modal-body { padding: 8px; }
.modal-intro {
  padding: 16px 22px 0;
  font-size: 0.92rem;
}
