/* ==========================================================================
   JBE IT SERVICES - Design System & Site Styles
   Mobile-first. Breakpoints: 576 · 768 · 992 · 1200 · 1440
   All colors derive from the approved palette (see brand/guidelines).
   ========================================================================== */

/* ---------- 1. Design tokens ---------- */
:root {
  /* Brand palette */
  --jbe-deep-navy: #052044;
  --jbe-navy: #0A3D91;
  --jbe-blue: #0072FF;
  --jbe-cyan: #00C6FF;
  --jbe-white: #FFFFFF;
  --jbe-bg-light: #F4F7FB;
  --jbe-gray-light: #E6ECF3;
  --jbe-gray: #66758A;
  --jbe-text: #14243A;

  /* Derived (tints/alphas of palette colors only) */
  --jbe-blue-600: #005FD6;             /* JBE Blue, darkened for hover & AA text on white */
  --jbe-on-dark: rgba(255, 255, 255, 0.92);
  --jbe-on-dark-muted: rgba(255, 255, 255, 0.74);
  --jbe-line-dark: rgba(255, 255, 255, 0.14);
  --jbe-line: var(--jbe-gray-light);
  --jbe-cyan-soft: rgba(0, 198, 255, 0.12);
  --jbe-blue-soft: rgba(0, 114, 255, 0.08);

  /* Gradients */
  --grad-primary: linear-gradient(135deg, #0A3D91 0%, #0072FF 55%, #00C6FF 100%);
  --grad-dark: linear-gradient(135deg, #052044 0%, #0A3D91 100%);
  --grad-accent-line: linear-gradient(90deg, #0072FF 0%, #00C6FF 100%);

  /* Typography */
  --font-heading: "Montserrat", "Segoe UI", Arial, sans-serif;
  --font-body: "Open Sans", "Segoe UI", Arial, sans-serif;

  /* Type scale (fluid: mobile → desktop) */
  --fs-display: clamp(2.35rem, 1.3rem + 4.2vw, 4rem);      /* H1  38 → 64 */
  --fs-h1: clamp(2.1rem, 1.35rem + 3vw, 3.25rem);           /* inner H1 34 → 52 */
  --fs-h2: clamp(1.75rem, 1.3rem + 1.8vw, 2.625rem);        /* H2  28 → 42 */
  --fs-h3: clamp(1.25rem, 1.1rem + 0.6vw, 1.625rem);        /* H3  20 → 26 */
  --fs-h4: 1.125rem;
  --fs-lead: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);      /* subtitle 17 → 20 */
  --fs-body: 1.0625rem;                                     /* 17 */
  --fs-small: 0.875rem;                                     /* 14 */
  --fs-xs: 0.8125rem;                                       /* 13 */
  --lh-tight: 1.12;
  --lh-heading: 1.25;
  --lh-body: 1.7;
  --tracking-wide: 0.22em;
  --tracking-label: 0.14em;

  /* Spacing scale (4px base) */
  --space-1: 0.25rem;  /*  4 */
  --space-2: 0.5rem;   /*  8 */
  --space-3: 0.75rem;  /* 12 */
  --space-4: 1rem;     /* 16 */
  --space-5: 1.5rem;   /* 24 */
  --space-6: 2rem;     /* 32 */
  --space-7: 2.5rem;   /* 40 */
  --space-8: 3rem;     /* 48 */
  --space-9: 4rem;     /* 64 */
  --space-10: 5rem;    /* 80 */
  --space-11: 6rem;    /* 96 */
  --space-12: 8rem;    /* 128 */
  --section-y: clamp(4rem, 3rem + 4vw, 7rem);

  /* Shape & depth */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(5, 32, 68, 0.06), 0 2px 8px rgba(5, 32, 68, 0.05);
  --shadow-md: 0 8px 28px rgba(5, 32, 68, 0.10);
  --shadow-lg: 0 20px 50px rgba(5, 32, 68, 0.18);

  /* Layout */
  --container-width: 1280px;
  --container-pad: clamp(1rem, 0.5rem + 2.5vw, 2.5rem);
  --measure: 68ch;
  --header-h: 76px;

  /* Motion */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --dur: 220ms;

  /* Semantic theme tokens - LIGHT (default). Dark values below. */
  color-scheme: light;
  --bg: var(--jbe-white);
  --surface: var(--jbe-white);
  --surface-alt: var(--jbe-bg-light);
  --card: var(--jbe-white);
  --text: var(--jbe-text);
  --text-muted: var(--jbe-gray);
  --heading: var(--jbe-deep-navy);
  --text-accent: var(--jbe-navy);
  --link: var(--jbe-blue-600);
  --link-hover: var(--jbe-navy);
  --border: var(--jbe-gray-light);
  --chip-bg: var(--jbe-bg-light);
  --input-bg: var(--jbe-white);
  --input-border: #C9D4E2;
  --article-text: #2A3A52;
  --focus-on-light: var(--jbe-blue);
  --danger: #B3261E;
  --danger-bg: #FDF2F1;
  --danger-text: #5C1510;
  --success-bg: #EEF6FF;
  --section-divider: transparent;
  --card-shadow: var(--shadow-sm);
  --card-shadow-hover: var(--shadow-md);
}

/* Dark theme: follows the OS unless the visitor chose a theme (html[data-theme]). */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
  color-scheme: dark;
  --bg: #03152D;
  --surface: #03152D;
  --surface-alt: #061E3C;
  --card: #0A2748;
  --text: #E6ECF3;
  --text-muted: #A9B8CC;
  --heading: #FFFFFF;
  --text-accent: #7FDCFF;
  --link: #33D1FF;
  --link-hover: #FFFFFF;
  --border: rgba(230, 236, 243, 0.12);
  --chip-bg: rgba(230, 236, 243, 0.06);
  --input-bg: #061E3C;
  --input-border: #2E4E75;
  --article-text: #D5DEEA;
  --focus-on-light: var(--jbe-cyan);
  --danger: #FF8A80;
  --danger-bg: rgba(179, 38, 30, 0.18);
  --danger-text: #FFDAD6;
  --success-bg: rgba(0, 114, 255, 0.16);
  --section-divider: rgba(230, 236, 243, 0.07);
  --card-shadow: none;
  --card-shadow-hover: 0 10px 30px rgba(0, 0, 0, 0.35);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #03152D;
  --surface: #03152D;
  --surface-alt: #061E3C;
  --card: #0A2748;
  --text: #E6ECF3;
  --text-muted: #A9B8CC;
  --heading: #FFFFFF;
  --text-accent: #7FDCFF;
  --link: #33D1FF;
  --link-hover: #FFFFFF;
  --border: rgba(230, 236, 243, 0.12);
  --chip-bg: rgba(230, 236, 243, 0.06);
  --input-bg: #061E3C;
  --input-border: #2E4E75;
  --article-text: #D5DEEA;
  --focus-on-light: var(--jbe-cyan);
  --danger: #FF8A80;
  --danger-bg: rgba(179, 38, 30, 0.18);
  --danger-text: #FFDAD6;
  --success-bg: rgba(0, 114, 255, 0.16);
  --section-divider: rgba(230, 236, 243, 0.07);
  --card-shadow: none;
  --card-shadow-hover: 0 10px 30px rgba(0, 0, 0, 0.35);
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--text);
  background: var(--bg);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { font-family: var(--font-heading); line-height: var(--lh-heading); margin: 0 0 var(--space-4); color: inherit; }
h1 { font-weight: 700; }
h2, h3 { font-weight: 600; }
p { margin: 0 0 var(--space-4); }
ul, ol { margin: 0; padding: 0; }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--link-hover); }
strong { font-weight: 600; }
[hidden] { display: none !important; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.icon--sm { width: 18px; height: 18px; }
.icon--lg { width: 32px; height: 32px; stroke-width: 1.4; }

/* Accessibility */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: var(--space-4); top: -100px; z-index: 1000; background: var(--jbe-white); color: var(--jbe-navy); padding: var(--space-3) var(--space-4); border-radius: var(--radius-sm); font-family: var(--font-heading); font-weight: 600; }
.skip-link:focus { top: var(--space-4); }
:focus-visible { outline: 3px solid var(--jbe-cyan); outline-offset: 3px; border-radius: 2px; }
.section--light :focus-visible, .section--white :focus-visible, .form :focus-visible { outline-color: var(--focus-on-light); }

/* ---------- 3. Layout ---------- */
.container { width: 100%; max-width: calc(var(--container-width) + 2 * var(--container-pad)); margin-inline: auto; padding-inline: var(--container-pad); }
.section { padding-block: var(--section-y); position: relative; }
.section--white { background: var(--surface); }
.section--light { background: var(--surface-alt); }
.section + .section { box-shadow: inset 0 1px 0 var(--section-divider); }
.section--dark { background: var(--jbe-deep-navy); color: var(--jbe-on-dark); }
.section--navy { background: var(--grad-dark); color: var(--jbe-on-dark); }
.section--dark h2, .section--dark h3, .section--navy h2, .section--navy h3 { color: var(--jbe-white); }
.section--tight { padding-block: clamp(3rem, 2.5rem + 2vw, 4.5rem); }
.grid { display: grid; gap: var(--space-5); }
.prose { max-width: var(--measure); }
.prose h2 { font-size: var(--fs-h3); margin-top: var(--space-7); }
.prose ul { padding-left: 1.25rem; margin-bottom: var(--space-4); }
.prose li { margin-bottom: var(--space-2); }

@media (min-width: 768px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 992px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
  .grid { gap: var(--space-6); }
}

/* ---------- 4. Typography components ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: var(--space-3);
  font-family: var(--font-heading); font-size: var(--fs-xs); font-weight: 600;
  letter-spacing: var(--tracking-wide); text-transform: uppercase;
  color: var(--link); margin-bottom: var(--space-4);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--grad-accent-line); }
.eyebrow--light, .section--dark .eyebrow, .section--navy .eyebrow { color: var(--jbe-cyan); }
.section-heading { max-width: 760px; margin-bottom: var(--space-8); }
.section-heading--center { margin-inline: auto; text-align: center; }
.section-heading--center .eyebrow { justify-content: center; }
.section-heading__title { font-size: var(--fs-h2); letter-spacing: -0.01em; }
.section-heading__lead { font-size: var(--fs-lead); color: var(--text-muted); margin: 0; }
.section--dark .section-heading__lead, .section--navy .section-heading__lead { color: var(--jbe-on-dark-muted); }
.lead { font-size: var(--fs-lead); color: var(--text-muted); }
.accent { color: var(--jbe-cyan); }
.accent-blue { color: var(--jbe-blue); }

/* ---------- 5. Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  min-height: 48px; padding: 0.8rem 1.5rem;
  font-family: var(--font-heading); font-size: 0.8125rem; font-weight: 600;
  letter-spacing: var(--tracking-label); text-transform: uppercase; text-decoration: none;
  border: 1.5px solid transparent; border-radius: var(--radius-sm);
  cursor: pointer; transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.btn .icon { transition: transform var(--dur) var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn--sm { min-height: 40px; padding: 0.55rem 1.1rem; font-size: 0.75rem; }
.btn--primary { background: var(--jbe-blue-600); color: var(--jbe-white); }
.btn--primary:hover { background: var(--jbe-navy); color: var(--jbe-white); }
.btn--secondary { background: transparent; color: var(--text-accent); border-color: var(--text-accent); }
.btn--secondary:hover { background: var(--jbe-navy); color: var(--jbe-white); }
.btn--outline-light { background: transparent; color: var(--jbe-white); border-color: rgba(255,255,255,0.55); }
.btn--outline-light:hover { background: var(--jbe-white); color: var(--jbe-deep-navy); border-color: var(--jbe-white); }
.btn--light { background: var(--jbe-white); color: var(--jbe-navy); }
.btn--light:hover { background: var(--jbe-bg-light); color: var(--jbe-deep-navy); }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.link-arrow {
  display: inline-flex; align-items: center; gap: var(--space-2);
  font-family: var(--font-heading); font-size: var(--fs-small); font-weight: 600; text-decoration: none; color: var(--link);
}
.link-arrow .icon { transition: transform var(--dur) var(--ease); }
.link-arrow:hover .icon { transform: translateX(3px); }
.section--dark .link-arrow, .section--navy .link-arrow { color: var(--jbe-cyan); }

/* ---------- 6. Header & navigation ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  transition: background-color 260ms var(--ease), box-shadow 260ms var(--ease), height 260ms var(--ease);
}
.site-header.is-scrolled, .site-header.nav-open { background: rgba(5, 32, 68, 0.96); box-shadow: 0 1px 0 var(--jbe-line-dark), 0 10px 30px rgba(5,32,68,0.25); }
@supports (backdrop-filter: blur(8px)) {
  .site-header.is-scrolled { background: rgba(5, 32, 68, 0.9); backdrop-filter: blur(10px); }
}
.site-header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--space-5); }
.site-header__brand { display: block; flex-shrink: 0; }
.site-header__brand img { height: 40px; width: auto; transition: height 260ms var(--ease); }
.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px;
  background: transparent; border: 1px solid var(--jbe-line-dark); border-radius: var(--radius-sm); color: var(--jbe-white); cursor: pointer;
}
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: inline; }
.site-nav {
  position: fixed; inset: var(--header-h) 0 0 0; background: var(--jbe-deep-navy);
  padding: var(--space-6) var(--container-pad) var(--space-8);
  display: flex; flex-direction: column; gap: var(--space-6);
  overflow-y: auto; visibility: hidden; opacity: 0; transform: translateY(-8px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility 0s linear var(--dur);
}
.site-nav.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.site-nav__list { list-style: none; display: flex; flex-direction: column; }
.site-nav__link {
  display: block; padding: var(--space-4) 0; border-bottom: 1px solid var(--jbe-line-dark);
  font-family: var(--font-heading); font-weight: 500; font-size: 1.25rem; color: var(--jbe-white); text-decoration: none;
}
.site-nav__link[aria-current="page"] { color: var(--jbe-cyan); }
.site-nav__cta { align-self: flex-start; }
body.nav-locked { overflow: hidden; }

@media (min-width: 576px) { .site-header__brand img { height: 46px; } }
@media (min-width: 1200px) {
  :root { --header-h: 84px; }
  .nav-toggle { display: none; }
  .site-nav {
    position: static; inset: auto; background: none; padding: 0; overflow: visible;
    flex-direction: row; align-items: center; gap: var(--space-6);
    visibility: visible; opacity: 1; transform: none; transition: none;
  }
  .site-nav__list { flex-direction: row; gap: var(--space-1); }
  .site-nav__link {
    position: relative; padding: var(--space-2) var(--space-3); border: 0;
    font-size: 0.875rem; font-weight: 500; color: var(--jbe-on-dark); letter-spacing: 0.02em;
  }
  .site-nav__link::after {
    content: ""; position: absolute; left: var(--space-3); right: var(--space-3); bottom: 0; height: 2px;
    background: var(--grad-accent-line); transform: scaleX(0); transform-origin: left; transition: transform var(--dur) var(--ease);
  }
  .site-nav__link:hover { color: var(--jbe-white); }
  .site-nav__link:hover::after, .site-nav__link[aria-current="page"]::after { transform: scaleX(1); }
  .site-nav__link[aria-current="page"] { color: var(--jbe-white); }
  .site-header.is-scrolled { height: 72px; }
  .site-header__brand img { height: 54px; }
  .site-header.is-scrolled .site-header__brand img { height: 46px; }
}

/* ---------- 7. Hero (home) ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--jbe-deep-navy); color: var(--jbe-white);
  padding-top: calc(var(--header-h) + var(--space-8));
  padding-bottom: var(--space-9);
  min-height: min(100svh, 920px);
  display: flex; align-items: center;
}
.hero::before { /* depth + digital grid */
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(ellipse 60% 70% at 78% 45%, rgba(0,114,255,0.28) 0%, transparent 65%),
    radial-gradient(ellipse 50% 60% at 0% 100%, rgba(10,61,145,0.55) 0%, transparent 70%),
    linear-gradient(180deg, #041a38 0%, #052044 100%);
}
.hero::after { /* subtle digital grid */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0.35;
  background-image: linear-gradient(rgba(0,198,255,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(0,198,255,0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(90deg, #000 0%, transparent 70%);
}
.hero__globe {
  position: absolute; z-index: -1; right: -32%; bottom: -6%; width: 125%; max-width: none; opacity: 0.45;
  pointer-events: none;
}
.hero__shade { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgba(4,26,56,0.92) 0%, rgba(4,26,56,0.78) 38%, rgba(4,26,56,0.25) 62%, rgba(4,26,56,0) 78%); }
.hero__diag { position: absolute; z-index: -1; pointer-events: none; }
.hero__diag--tl { top: -40px; left: -120px; width: 360px; height: 6px; background: var(--grad-accent-line); transform: rotate(-38deg); opacity: 0.55; }
.hero__diag--br { bottom: 70px; right: -90px; width: 420px; height: 3px; background: var(--grad-accent-line); transform: rotate(-38deg); opacity: 0.6; }
.hero__inner { position: relative; }
.hero__content { max-width: 680px; }
.hero__kicker {
  font-family: var(--font-heading); font-size: var(--fs-xs); font-weight: 600; letter-spacing: var(--tracking-wide);
  text-transform: uppercase; color: var(--jbe-on-dark-muted); margin-bottom: var(--space-5);
  display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-3); align-items: center;
}
.hero__kicker .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--jbe-cyan); }
.hero__title { font-size: var(--fs-display); line-height: var(--lh-tight); letter-spacing: -0.015em; margin-bottom: var(--space-5); }
.hero__title span { display: block; }
.hero__title .hero__title-accent { background: linear-gradient(90deg, #3d9bff 0%, var(--jbe-cyan) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__lead { font-size: var(--fs-lead); color: var(--jbe-on-dark); max-width: 560px; margin-bottom: var(--space-7); }
.hero__meta {
  margin-top: var(--space-9); display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-5);
  border-top: 1px solid var(--jbe-line-dark); padding-top: var(--space-6); max-width: 860px;
}
.hero__meta dt { font-family: var(--font-heading); font-size: clamp(1.35rem, 1.15rem + 0.6vw, 1.625rem); white-space: nowrap; font-weight: 700; color: var(--jbe-white); line-height: 1.1; }
.hero__meta dd { margin: var(--space-1) 0 0; font-size: var(--fs-small); color: var(--jbe-on-dark-muted); line-height: 1.45; }
.hero__meta div { border-left: 2px solid var(--jbe-cyan); padding-left: var(--space-4); }

@media (min-width: 768px) {
  .hero__meta { grid-template-columns: repeat(4, 1fr); }
  .hero__globe { width: 90%; right: -22%; bottom: -10%; opacity: 0.6; }
}
@media (min-width: 992px) {
  .hero__globe { width: 60%; right: -6%; top: 50%; bottom: auto; transform: translateY(-44%); opacity: 1; }
  .hero__content { max-width: 780px; }
  .hero__lead { max-width: 580px; }
  .hero::after { mask-image: linear-gradient(90deg, #000 0%, transparent 55%); }
}
@media (min-width: 1440px) {
  .hero__globe { width: 56%; right: -2%; }
}

/* ---------- 8. Inner page hero ---------- */
.page-hero {
  position: relative; overflow: hidden; isolation: isolate; color: var(--jbe-white);
  background: var(--jbe-deep-navy);
  padding-top: calc(var(--header-h) + var(--space-9));
  padding-bottom: var(--space-10);
}
.page-hero__bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 55% 90% at 92% 10%, rgba(0,114,255,0.35) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 70% 110%, rgba(0,198,255,0.18) 0%, transparent 70%),
    linear-gradient(135deg, #041a38 0%, #052044 45%, #0A3D91 100%);
}
.page-hero__bg::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(0,198,255,0.35) 1px, transparent 1.5px);
  background-size: 22px 22px;
  mask-image: radial-gradient(ellipse 45% 80% at 88% 40%, #000 0%, transparent 70%);
  opacity: 0.6;
}
.page-hero__bg::after {
  content: ""; position: absolute; right: -80px; bottom: 40px; width: 520px; height: 3px;
  background: var(--grad-accent-line); transform: rotate(-38deg); opacity: 0.55;
}
.page-hero__title { font-size: var(--fs-h1); line-height: 1.12; letter-spacing: -0.01em; max-width: 900px; margin-bottom: var(--space-5); }
.page-hero__title span { color: var(--jbe-cyan); }
.page-hero__lead { font-size: var(--fs-lead); color: var(--jbe-on-dark); max-width: 720px; margin-bottom: var(--space-6); }
.page-hero .btn-row { margin-top: var(--space-2); }
.breadcrumbs { margin-bottom: var(--space-6); }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: var(--space-2); font-size: var(--fs-small); }
.breadcrumbs li { display: flex; align-items: center; gap: var(--space-2); color: var(--jbe-on-dark-muted); }
.breadcrumbs li + li::before { content: "/"; opacity: 0.6; }
.breadcrumbs a { color: var(--jbe-on-dark-muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--jbe-white); text-decoration: underline; }
.breadcrumbs [aria-current] { color: var(--jbe-white); }

/* ---------- 9. Capability cards ---------- */
.cap-card {
  position: relative; display: flex; flex-direction: column; gap: var(--space-3);
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: var(--space-6);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.cap-card::before {
  content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 3px; border-radius: var(--radius-md) var(--radius-md) 0 0;
  background: var(--grad-accent-line); transform: scaleX(0); transform-origin: left; transition: transform 320ms var(--ease);
}
.cap-card:hover { border-color: rgba(0,114,255,0.45); box-shadow: var(--card-shadow-hover); transform: translateY(-2px); }
.cap-card:hover::before { transform: scaleX(1); }
.cap-card__icon {
  width: 52px; height: 52px; display: grid; place-items: center; border-radius: var(--radius-sm);
  background: var(--jbe-blue-soft); color: var(--jbe-blue); margin-bottom: var(--space-2);
}
.cap-card__title { font-size: 1.25rem; margin: 0; }
.cap-card__title a { color: var(--heading); text-decoration: none; }
.cap-card__title a::after { content: ""; position: absolute; inset: 0; } /* whole card clickable */
.cap-card__text { color: var(--text-muted); margin: 0; flex-grow: 1; font-size: 1rem; }
.cap-card .link-arrow { margin-top: var(--space-2); }
.cap-card--featured { background: var(--grad-dark); border-color: transparent; color: var(--jbe-on-dark); }
.cap-card--featured .cap-card__title a { color: var(--jbe-white); }
.cap-card--featured .cap-card__text { color: var(--jbe-on-dark-muted); }
.cap-card--featured .cap-card__icon { background: rgba(0,198,255,0.14); color: var(--jbe-cyan); }
.cap-card--featured .link-arrow { color: var(--jbe-cyan); }
.cap-card__tag {
  position: absolute; top: var(--space-5); right: var(--space-5);
  font-family: var(--font-heading); font-size: 0.6875rem; font-weight: 600; letter-spacing: var(--tracking-label); text-transform: uppercase;
  color: var(--jbe-cyan); border: 1px solid rgba(0,198,255,0.4); border-radius: 999px; padding: 2px 10px;
}

/* ---------- 10. Why JBE / pillars ---------- */
.pillars { display: grid; gap: 0; border-top: 1px solid var(--jbe-line-dark); }
.pillar { padding: var(--space-6) 0; border-bottom: 1px solid var(--jbe-line-dark); display: grid; grid-template-columns: 48px 1fr; gap: var(--space-4); }
.pillar__icon { color: var(--jbe-cyan); }
.pillar__num { font-family: var(--font-heading); font-size: var(--fs-xs); font-weight: 600; letter-spacing: var(--tracking-label); color: var(--jbe-on-dark-muted); display: block; margin-bottom: var(--space-1); }
.pillar h3 { font-size: 1.125rem; letter-spacing: var(--tracking-label); text-transform: uppercase; margin-bottom: var(--space-2); }
.pillar p { color: var(--jbe-on-dark-muted); margin: 0; font-size: 1rem; }
@media (min-width: 768px) {
  .pillars { grid-template-columns: repeat(2, 1fr); column-gap: var(--space-8); }
}
@media (min-width: 1200px) {
  .pillars { grid-template-columns: repeat(5, 1fr); column-gap: 0; border-top: 0; }
  .pillar { grid-template-columns: 1fr; border-bottom: 0; border-left: 1px solid var(--jbe-line-dark); padding: var(--space-2) var(--space-5) var(--space-2); }
  .pillar:first-child { border-left: 0; padding-left: 0; }
}

/* ---------- 11. Split / feature blocks ---------- */
.split { display: grid; gap: var(--space-8); align-items: center; }
@media (min-width: 992px) {
  .split { grid-template-columns: 1fr 1fr; gap: var(--space-10); }
  .split--wide-left { grid-template-columns: 1.15fr 0.85fr; }
}
.checklist { list-style: none; display: grid; gap: var(--space-3); }
.checklist li { display: grid; grid-template-columns: 22px 1fr; gap: var(--space-3); align-items: start; line-height: 1.55; }
.checklist .icon { width: 20px; height: 20px; color: var(--jbe-blue); margin-top: 2px; stroke-width: 2; }
.section--dark .checklist .icon, .section--navy .checklist .icon { color: var(--jbe-cyan); }
.checklist--cols { grid-template-columns: 1fr; }
@media (min-width: 768px) { .checklist--cols { grid-template-columns: repeat(2, 1fr); column-gap: var(--space-7); } }

/* Stats band */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-6); }
.stat { border-left: 2px solid var(--jbe-cyan); padding-left: var(--space-4); }
.stat__value { font-family: var(--font-heading); font-size: clamp(2rem, 1.5rem + 2vw, 3rem); font-weight: 700; line-height: 1; color: var(--jbe-white); }
.stat__label { color: var(--jbe-on-dark-muted); font-size: var(--fs-small); margin-top: var(--space-2); }
@media (min-width: 992px) { .stats { grid-template-columns: repeat(4, 1fr); } }

/* ---------- 12. Products ---------- */
.product-showcase {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  background: var(--jbe-deep-navy); color: var(--jbe-on-dark);
  padding: clamp(1.75rem, 1rem + 3vw, 3.5rem);
  display: grid; gap: var(--space-8);
}
.product-showcase::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 60% 80% at 100% 0%, rgba(0,114,255,0.35), transparent 60%),
              linear-gradient(rgba(0,198,255,0.05) 1px, transparent 1px) 0 0/40px 40px,
              linear-gradient(90deg, rgba(0,198,255,0.05) 1px, transparent 1px) 0 0/40px 40px;
}
.product-showcase > * { position: relative; }
.product-showcase h2, .product-showcase h3 { color: var(--jbe-white); }
@media (min-width: 992px) { .product-showcase { grid-template-columns: 1fr 1fr; align-items: center; } }

.product-card {
  position: relative; display: flex; flex-direction: column; gap: var(--space-5);
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); box-shadow: var(--card-shadow); overflow: hidden;
}
.product-card::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--grad-primary); }
.product-card__category { font-family: var(--font-heading); font-size: var(--fs-xs); font-weight: 600; letter-spacing: var(--tracking-label); text-transform: uppercase; color: var(--text-muted); margin: var(--space-4) 0 var(--space-2); }
.product-card__name { font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.25rem); font-weight: 700; margin: 0 0 var(--space-2); letter-spacing: -0.01em; }
.product-card__name a { color: var(--heading); text-decoration: none; }
.product-card__name a:hover { color: var(--link); }
.product-card__tagline { font-size: var(--fs-lead); color: var(--text-accent); margin: 0; }
.product-card__summary { color: var(--text-muted); margin: 0; }
.product-card__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-5); margin-top: auto; }
.product-card--placeholder { background: transparent; border: 1.5px dashed var(--border); box-shadow: none; justify-content: center; }
.product-card--placeholder::after { display: none; }
.product-card--placeholder h3 { color: var(--heading); }

.status-badge {
  display: inline-flex; align-items: center; gap: var(--space-2); align-self: flex-start;
  font-family: var(--font-heading); font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 999px; border: 1px solid currentColor;
}
.status-badge__dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status-badge--available { color: var(--link); }
.status-badge--waitlist { color: var(--link); }
.status-badge--mvp { color: var(--text-muted); }
.status-badge--mvp .status-badge__dot { background: transparent; border: 1.5px solid currentColor; }
.section--dark .status-badge, .section--navy .status-badge, .product-showcase .status-badge, .page-hero .status-badge { color: var(--jbe-cyan); }

/* Lifecycle strip */
.lifecycle { list-style: none; display: flex; flex-wrap: wrap; gap: var(--space-2); counter-reset: step; }
.lifecycle li {
  counter-increment: step; position: relative;
  font-family: var(--font-heading); font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--text-accent); background: var(--chip-bg); border: 1px solid var(--border);
  padding: 6px 12px 6px 10px; border-radius: var(--radius-sm);
}
.lifecycle li::before { content: counter(step, decimal-leading-zero); color: var(--jbe-blue); margin-right: 8px; }
.lifecycle--dark li { color: var(--jbe-white); background: rgba(255,255,255,0.05); border-color: var(--jbe-line-dark); }
.lifecycle--dark li::before { color: var(--jbe-cyan); }

/* Big lifecycle flow (product page) */
.flow { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-3); counter-reset: flow; }
.flow li {
  counter-increment: flow; position: relative; padding: var(--space-5) var(--space-4);
  background: rgba(255,255,255,0.04); border: 1px solid var(--jbe-line-dark); border-radius: var(--radius-sm);
  font-family: var(--font-heading); font-weight: 600; color: var(--jbe-white); letter-spacing: 0.04em;
}
.flow li::before { content: counter(flow, decimal-leading-zero); display: block; font-size: var(--fs-xs); color: var(--jbe-cyan); letter-spacing: var(--tracking-label); margin-bottom: var(--space-2); }
@media (min-width: 768px) { .flow { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1200px) {
  .flow { grid-template-columns: repeat(var(--flow-cols, 8), 1fr); gap: 0; }
  .flow li { border-radius: 0; border-left-width: 0; }
  .flow li:first-child { border-left-width: 1px; border-radius: var(--radius-sm) 0 0 var(--radius-sm); }
  .flow li:last-child { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
  .flow li:not(:last-child)::after { content: ""; position: absolute; right: -6px; top: 50%; width: 10px; height: 10px; background: var(--jbe-deep-navy); border-top: 1px solid var(--jbe-cyan); border-right: 1px solid var(--jbe-cyan); transform: translateY(-50%) rotate(45deg); z-index: 1; }
  .flow--5 { --flow-cols: 5; }
}

/* Feature tiles (product) */
.feature { display: grid; grid-template-columns: 48px 1fr; gap: var(--space-4); padding: var(--space-5) 0; border-top: 1px solid var(--border); }
.feature__icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: var(--radius-sm); background: var(--jbe-blue-soft); color: var(--jbe-blue); }
.feature h3 { font-size: 1.125rem; margin-bottom: var(--space-2); }
.feature p { color: var(--text-muted); margin: 0; font-size: 1rem; }

/* Product UI mock (pure CSS - no screenshots required) */
.ui-mock { background: #06264f; border: 1px solid var(--jbe-line-dark); border-radius: var(--radius-md); box-shadow: var(--shadow-lg); overflow: hidden; font-family: var(--font-heading); }
.ui-mock__bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--jbe-line-dark); background: rgba(5,32,68,0.8); }
.ui-mock__bar span { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,0.18); }
.ui-mock__bar strong { margin-left: 10px; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; color: var(--jbe-on-dark-muted); text-transform: uppercase; }
.ui-mock__body { padding: 16px; display: grid; gap: 14px; }
.ui-mock__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.ui-mock__kpi { background: rgba(255,255,255,0.04); border: 1px solid var(--jbe-line-dark); border-radius: 6px; padding: 10px; }
.ui-mock__kpi b { display: block; font-size: 1.25rem; color: var(--jbe-white); }
.ui-mock__kpi small { font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--jbe-on-dark-muted); }
.ui-mock__board { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.ui-mock__col { background: rgba(255,255,255,0.03); border-radius: 6px; padding: 8px 6px; min-height: 150px; display: flex; flex-direction: column; gap: 6px; }
.ui-mock__col > small { font-size: 0.58rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--jbe-cyan); margin-bottom: 2px; }
.ui-mock__card { height: 22px; border-radius: 4px; background: rgba(0,114,255,0.35); border-left: 3px solid var(--jbe-cyan); }
.ui-mock__card--muted { background: rgba(255,255,255,0.08); border-left-color: rgba(255,255,255,0.3); }
.ui-mock__card--ok { background: rgba(0,198,255,0.22); }
.ui-mock__burn { height: 60px; border-radius: 6px; border: 1px solid var(--jbe-line-dark); background:
  linear-gradient(to top right, transparent calc(50% - 1px), var(--jbe-cyan) 50%, transparent calc(50% + 1px)),
  repeating-linear-gradient(90deg, transparent 0 38px, rgba(255,255,255,0.05) 38px 39px); }

/* ---------- 13. Service detail blocks ---------- */
.service-block { display: grid; gap: var(--space-7); padding-block: var(--space-9); border-top: 1px solid var(--border); }
.service-block:first-of-type { border-top: 0; padding-top: 0; }
.service-block__head { display: flex; flex-direction: column; gap: var(--space-4); }
.service-block__num { font-family: var(--font-heading); font-size: var(--fs-xs); font-weight: 600; letter-spacing: var(--tracking-wide); color: var(--link); }
.service-block__icon { width: 60px; height: 60px; display: grid; place-items: center; border-radius: var(--radius-md); background: var(--grad-dark); color: var(--jbe-cyan); }
.service-block h2 { font-size: var(--fs-h2); margin: 0; }
.service-block__intro { font-size: var(--fs-lead); color: var(--text-muted); }
.service-block__outcomes { background: var(--chip-bg); border-left: 3px solid var(--jbe-blue); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; padding: var(--space-5) var(--space-6); }
.service-block__outcomes h3 { font-size: var(--fs-small); letter-spacing: var(--tracking-label); text-transform: uppercase; color: var(--text-accent); margin-bottom: var(--space-3); }
.service-block__outcomes ul { list-style: none; display: grid; gap: var(--space-2); font-size: 1rem; }
.service-block__outcomes li::before { content: "→ "; color: var(--jbe-blue); font-weight: 700; }
@media (min-width: 992px) {
  .service-block { grid-template-columns: 5fr 7fr; gap: var(--space-10); }
  .service-block__head { position: sticky; top: calc(var(--header-h) + var(--space-6)); align-self: start; }
}
.service-block--featured { background: var(--surface-alt); border-radius: var(--radius-lg); padding: clamp(1.5rem, 1rem + 3vw, 3.5rem); border-top: 0; margin-bottom: var(--space-6); }
.service-block--featured .service-block__outcomes { background: var(--card); }

/* Service index chips */
.chip-nav { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.chip-nav a {
  display: inline-flex; align-items: center; gap: var(--space-2); padding: 8px 14px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.3); color: var(--jbe-white); text-decoration: none; font-family: var(--font-heading); font-size: var(--fs-small); font-weight: 500;
}
.chip-nav a:hover { background: rgba(255,255,255,0.1); border-color: var(--jbe-cyan); }

/* ---------- 14. Solutions ---------- */
.solution-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-md); padding: var(--space-6); display: flex; flex-direction: column; gap: var(--space-4); }
.solution-card__icon { color: var(--jbe-blue); }
.solution-card h3 { font-size: 1.25rem; margin: 0; }
.solution-card dl { margin: 0; display: grid; gap: var(--space-4); }
.solution-card dt { font-family: var(--font-heading); font-size: var(--fs-xs); font-weight: 600; letter-spacing: var(--tracking-label); text-transform: uppercase; color: var(--text-muted); margin-bottom: var(--space-1); }
.solution-card dd { margin: 0; font-size: 1rem; }
.solution-card__tags { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: auto; padding-top: var(--space-4); border-top: 1px solid var(--border); }
.tag { font-family: var(--font-heading); font-size: 0.72rem; font-weight: 600; padding: 4px 10px; border-radius: 4px; background: var(--chip-bg); color: var(--text-accent); }
.tag--product { background: var(--jbe-deep-navy); color: var(--jbe-cyan); }

/* Model diagram: services + products */
.model { display: grid; gap: var(--space-4); align-items: stretch; }
.model__box { border: 1px solid var(--jbe-line-dark); border-radius: var(--radius-md); padding: var(--space-6); background: rgba(255,255,255,0.03); }
.model__box h3 { font-size: 1.125rem; letter-spacing: var(--tracking-label); text-transform: uppercase; }
.model__box p { color: var(--jbe-on-dark-muted); margin: 0; font-size: 1rem; }
.model__plus { display: grid; place-items: center; font-family: var(--font-heading); font-size: 2rem; color: var(--jbe-cyan); }
.model__box--result { background: var(--grad-primary); border-color: transparent; }
.model__box--result p { color: var(--jbe-white); }
@media (min-width: 992px) { .model { grid-template-columns: 1fr auto 1fr auto 1fr; } }

/* ---------- 15. Industries ---------- */
.industry { display: flex; flex-direction: column; gap: var(--space-3); padding: var(--space-6); background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-md); }
.industry__icon { color: var(--jbe-blue); }
.industry h3 { font-size: 1.25rem; margin: 0; }
.industry p { color: var(--text-muted); font-size: 1rem; margin: 0; }
.industry ul { list-style: none; display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: auto; padding-top: var(--space-3); }

/* ---------- 16. About ---------- */
.values { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--jbe-line-dark); border: 1px solid var(--jbe-line-dark); border-radius: var(--radius-md); overflow: hidden; }
.value { background: var(--jbe-deep-navy); padding: var(--space-6) var(--space-5); }
.value h3 { font-size: 1rem; letter-spacing: var(--tracking-label); text-transform: uppercase; color: var(--jbe-white); margin-bottom: var(--space-2); }
.value p { font-size: 0.9375rem; color: var(--jbe-on-dark-muted); margin: 0; line-height: 1.6; }
@media (min-width: 768px) { .values { grid-template-columns: repeat(4, 1fr); } }
.value--accent { background: var(--grad-primary); }
.value--accent p { color: var(--jbe-white); }

.approach { list-style: none; counter-reset: ap; display: grid; gap: var(--space-5); }
.approach li { counter-increment: ap; display: grid; grid-template-columns: 56px 1fr; gap: var(--space-4); }
.approach li::before { content: counter(ap, decimal-leading-zero); font-family: var(--font-heading); font-weight: 700; font-size: 1.5rem; color: var(--jbe-blue); line-height: 1.2; }
.approach h3 { font-size: 1.125rem; margin-bottom: var(--space-1); }
.approach p { color: var(--text-muted); margin: 0; font-size: 1rem; }
@media (min-width: 992px) { .approach { grid-template-columns: repeat(2, 1fr); column-gap: var(--space-8); } }

.timeline { list-style: none; border-left: 2px solid var(--border); padding-left: var(--space-6); display: grid; gap: var(--space-6); }
.timeline li { position: relative; }
.timeline li::before { content: ""; position: absolute; left: calc(-1 * var(--space-6) - 7px); top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--surface-alt); border: 3px solid var(--jbe-blue); }
.timeline h3 { font-size: 1.0625rem; margin-bottom: var(--space-1); }
.timeline p { color: var(--text-muted); margin: 0; font-size: 1rem; }

/* ---------- 17. Insights ---------- */
.post-card { display: flex; flex-direction: column; gap: var(--space-3); background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-md); padding: var(--space-6); position: relative; transition: box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.post-card:hover { box-shadow: var(--card-shadow-hover); border-color: rgba(0,114,255,0.35); }
.post-card .post-card__meta { margin: 0; line-height: 1.4; row-gap: var(--space-1); }
.post-card__meta { display: flex; flex-wrap: wrap; gap: var(--space-3); font-size: var(--fs-xs); color: var(--text-muted); font-family: var(--font-heading); letter-spacing: 0.06em; text-transform: uppercase; font-weight: 600; }
.post-card__cat { color: var(--link); }
.post-card h3 { font-size: 1.25rem; margin: 0; }
.post-card h3 a { color: var(--heading); text-decoration: none; }
.post-card h3 a::after { content: ""; position: absolute; inset: 0; }
.post-card p { color: var(--text-muted); margin: 0; font-size: 1rem; flex-grow: 1; }
.article { font-size: 1.0625rem; }
.article h2 { font-size: var(--fs-h3); margin-top: var(--space-8); }
.article p, .article li { color: var(--article-text); }
.article-meta { display: flex; flex-wrap: wrap; gap: var(--space-4); color: var(--jbe-on-dark-muted); font-size: var(--fs-small); }
.article-meta span { display: inline-flex; align-items: center; gap: var(--space-2); }

/* ---------- 18. Contact & forms ---------- */
.contact-layout { display: grid; gap: var(--space-8); }
@media (min-width: 992px) { .contact-layout { grid-template-columns: 5fr 7fr; gap: var(--space-10); align-items: start; } }
.contact-aside h2 { font-size: var(--fs-h3); }
.contact-aside__item { display: grid; grid-template-columns: 44px 1fr; gap: var(--space-4); padding: var(--space-5) 0; border-top: 1px solid var(--border); }
.contact-aside__item .icon { color: var(--jbe-blue); width: 28px; height: 28px; }
.contact-aside__item h3 { font-size: 1rem; margin-bottom: var(--space-1); }
.contact-aside__item p { margin: 0; color: var(--text-muted); font-size: 1rem; }

.form-panel { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--card-shadow-hover); padding: clamp(1.5rem, 1rem + 2vw, 3rem); }
.form { display: grid; gap: var(--space-5); }
.form__row { display: grid; gap: var(--space-5); }
@media (min-width: 768px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: var(--space-2); }
.field label, .field legend { font-family: var(--font-heading); font-size: var(--fs-small); font-weight: 600; color: var(--text); }
.field .req { color: var(--link); }
.field .hint { font-size: var(--fs-xs); color: var(--text-muted); }
.input, .select, .textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text); background: var(--input-bg);
  border: 1.5px solid var(--input-border); border-radius: var(--radius-sm); padding: 0.75rem 0.9rem; min-height: 48px;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.textarea { min-height: 160px; resize: vertical; line-height: 1.6; }
.select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--text-muted) 50%), linear-gradient(135deg, var(--text-muted) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 2.5rem; }
.input:hover, .select:hover, .textarea:hover { border-color: var(--text-muted); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--jbe-blue); box-shadow: 0 0 0 4px rgba(0,114,255,0.18); }
.field--error .input, .field--error .select, .field--error .textarea { border-color: var(--danger); }
.field__error { display: flex; align-items: center; gap: var(--space-2); font-size: var(--fs-small); color: var(--danger); font-weight: 600; }
.field__error .icon { width: 16px; height: 16px; }
.checkbox { display: grid; grid-template-columns: 22px 1fr; gap: var(--space-3); align-items: start; font-size: 0.9375rem; color: var(--text); }
.checkbox input { width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--jbe-blue); }
.hp-field { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.alert { display: grid; grid-template-columns: 24px 1fr; gap: var(--space-3); padding: var(--space-4) var(--space-5); border-radius: var(--radius-sm); border: 1px solid; font-size: 1rem; }
.alert strong { display: block; font-family: var(--font-heading); }
.alert p { margin: 0; }
.alert--success { background: var(--success-bg); border-color: var(--jbe-blue); color: var(--heading); }
.alert--success .icon { color: var(--jbe-blue); }
.alert--error { background: var(--danger-bg); border-color: var(--danger); color: var(--danger-text); }
.alert--error .icon { color: var(--danger); }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-4); }
.form__note { font-size: var(--fs-xs); color: var(--text-muted); margin: 0; display: inline-flex; gap: var(--space-2); align-items: center; }
.form__note .icon { width: 16px; height: 16px; }

/* ---------- 19. CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--grad-primary); color: var(--jbe-white); padding-block: clamp(3rem, 2rem + 4vw, 5rem); }
.cta-band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,32,68,0.55) 0%, rgba(5,32,68,0) 70%); }
.cta-band::after { content: ""; position: absolute; right: -140px; bottom: 30px; width: 360px; height: 2px; background: rgba(255,255,255,0.35); transform: rotate(-38deg); }
.cta-band__inner { position: relative; z-index: 1; display: grid; gap: var(--space-6); align-items: center; }
.cta-band__title { font-size: var(--fs-h2); color: var(--jbe-white); margin-bottom: var(--space-3); }
.cta-band__text { font-size: var(--fs-lead); margin: 0; color: var(--jbe-white); max-width: 620px; }
@media (min-width: 992px) { .cta-band__inner { grid-template-columns: 1fr auto; } }

/* ---------- 20. Footer ---------- */
.site-footer { background: #041a38; color: var(--jbe-on-dark-muted); padding-top: var(--space-10); font-size: 0.9375rem; }
.site-footer a { color: var(--jbe-on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--jbe-cyan); text-decoration: underline; }
.site-footer__top { display: grid; gap: var(--space-7); padding-bottom: var(--space-8); }
.site-footer__brand img { height: 56px; width: auto; margin-bottom: var(--space-5); }
.site-footer__tagline { font-family: var(--font-heading); font-weight: 600; letter-spacing: var(--tracking-label); text-transform: uppercase; color: var(--jbe-white); font-size: var(--fs-small); line-height: 1.7; }
.site-footer__tagline span { color: var(--jbe-cyan); }
.site-footer__about { max-width: 360px; }
.site-footer__heading { font-size: var(--fs-xs); letter-spacing: var(--tracking-wide); text-transform: uppercase; color: var(--jbe-white); margin-bottom: var(--space-4); }
.site-footer__col ul { list-style: none; display: grid; gap: var(--space-2); }
.site-footer__mail { display: inline-flex; align-items: center; gap: var(--space-2); word-break: break-all; }
.site-footer__mail .icon { width: 18px; height: 18px; color: var(--jbe-cyan); }
.site-footer__small { font-size: var(--fs-small); }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-3); padding-block: var(--space-5); border-top: 1px solid var(--jbe-line-dark); font-size: var(--fs-small); }
.site-footer__bottom p { margin: 0; }
.site-footer__values { font-family: var(--font-heading); letter-spacing: var(--tracking-label); text-transform: uppercase; font-size: var(--fs-xs); color: var(--jbe-cyan); }
.site-footer__legal { font-size: var(--fs-xs); opacity: 0.8; padding-bottom: var(--space-6); margin: 0; }
@media (min-width: 768px) { .site-footer__top { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1200px) { .site-footer__top { grid-template-columns: 1.6fr 1.2fr 0.9fr 0.8fr 1.2fr; gap: var(--space-6); } }

/* ---------- 21. Motion ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 600ms var(--ease), transform 600ms var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- 22. Utilities ---------- */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-6 { margin-top: var(--space-6); } .mt-8 { margin-top: var(--space-8); }
.text-center { text-align: center; }
.muted { color: var(--text-muted); }
.section--dark .muted, .section--navy .muted { color: var(--jbe-on-dark-muted); }
.divider-accent { width: 64px; height: 3px; background: var(--grad-accent-line); border: 0; margin: var(--space-6) 0; }

/* ---------- 23. Print ---------- */
@media print {
  .site-header, .site-footer, .cta-band, .nav-toggle { display: none !important; }
  .page-hero, .hero { background: none !important; color: #000; padding-top: 0; }
  body { color: #000; }
}

/* Linked industry tiles (home) */
a.industry { text-decoration: none; color: var(--text); transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
a.industry:hover { border-color: rgba(0,114,255,0.45); box-shadow: var(--card-shadow-hover); color: var(--text); }
a.industry h3 { font-size: 1.0625rem; }
.ui-mock__card { display: block; }

.product-showcase .muted { color: var(--jbe-on-dark-muted); }
.product-showcase .muted strong { color: var(--jbe-white); }
.ui-mock__col > small { overflow-wrap: anywhere; }

/* Experience highlights (anonymised) */
.xp-card { display: flex; flex-direction: column; gap: var(--space-2); padding: var(--space-6); border-radius: var(--radius-md); background: rgba(255,255,255,0.04); border: 1px solid var(--jbe-line-dark); }
.xp-card__sector { font-family: var(--font-heading); font-size: var(--fs-xs); font-weight: 600; letter-spacing: var(--tracking-label); text-transform: uppercase; color: var(--jbe-cyan); margin: 0; }
.xp-card__scope { font-size: 1.1875rem; color: var(--jbe-white); margin: var(--space-2) 0 0; }
.xp-card__role { font-family: var(--font-heading); font-size: var(--fs-small); font-weight: 500; color: var(--jbe-on-dark); margin: 0; }
.xp-card__text { color: var(--jbe-on-dark-muted); font-size: 0.9375rem; line-height: 1.65; margin: var(--space-2) 0 0; flex-grow: 1; }
.xp-card__metrics { list-style: none; display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-3); padding-top: var(--space-4); border-top: 1px solid var(--jbe-line-dark); }
.xp-card__metrics li { font-family: var(--font-heading); font-size: 0.75rem; font-weight: 600; color: var(--jbe-white); background: rgba(0,114,255,0.22); border-radius: 4px; padding: 4px 10px; }
.xp-note { font-size: var(--fs-small); color: var(--jbe-on-dark-muted); margin-top: var(--space-6); }

/* Tech stack chips & facts (services) */
.stack { list-style: none; display: flex; flex-wrap: wrap; gap: var(--space-2); }
.stack li { font-family: var(--font-heading); font-size: 0.75rem; font-weight: 600; color: var(--text-accent); background: var(--card); border: 1px solid var(--border); border-radius: 4px; padding: 5px 10px; }
.facts { display: grid; gap: var(--space-4); grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.fact { border-left: 3px solid var(--jbe-blue); padding-left: var(--space-4); }
.fact b { display: block; font-family: var(--font-heading); font-size: 1.75rem; line-height: 1.1; color: var(--heading); }
.fact span { font-size: var(--fs-small); color: var(--text-muted); line-height: 1.45; display: block; margin-top: var(--space-1); }
.subhead { font-family: var(--font-heading); font-size: var(--fs-xs); font-weight: 600; letter-spacing: var(--tracking-label); text-transform: uppercase; color: var(--text-muted); margin: var(--space-6) 0 var(--space-3); }
.flow__text { display: block; margin-top: var(--space-2); font-family: var(--font-body); font-weight: 400; font-size: 0.875rem; line-height: 1.55; letter-spacing: 0; color: var(--jbe-on-dark-muted); }
.section--dark .lead { color: var(--jbe-on-dark); }
.h3-like { font-size: 1.25rem; margin: 0; }
.post-card .h3-like a { color: var(--heading); text-decoration: none; }
.post-card .h3-like a::after { content: ""; position: absolute; inset: 0; }
.pillar__icon, .industry__icon, .solution-card__icon { display: block; line-height: 0; }
.post-card .post-card__meta { flex-grow: 0; font-size: var(--fs-xs); }
.pillar { align-content: start; }
.page-hero .status-badge { display: flex; width: max-content; }
@media (max-width: 575px) {
  .ui-mock__board { grid-template-columns: repeat(3, 1fr); }
  .ui-mock__col:nth-child(n+4) { display: none; }
}
@media (max-width: 991px) { .hero__diag--br { display: none; } }
.product-claim { font-family: var(--font-heading); font-weight: 600; font-size: clamp(1.375rem, 1.1rem + 1vw, 1.875rem); line-height: 1.3; color: var(--jbe-white); margin: 0; }

/* ==========================================================================
   24. Header tools: language switcher + theme toggle
   ========================================================================== */
.site-nav__tools { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-5); }
.lang-switch { list-style: none; display: flex; gap: var(--space-2); }
.lang-switch__link {
  display: inline-flex; align-items: center; gap: var(--space-2); min-height: 40px; padding: 6px 12px;
  border: 1px solid var(--jbe-line-dark); border-radius: var(--radius-sm);
  font-family: var(--font-heading); font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.06em;
  color: var(--jbe-on-dark); text-decoration: none;
}
.lang-switch__link abbr { text-decoration: none; }
.lang-switch__link:hover { color: var(--jbe-white); border-color: var(--jbe-cyan); }
.lang-switch__link[aria-current="true"] { color: var(--jbe-deep-navy); background: var(--jbe-cyan); border-color: var(--jbe-cyan); }
.lang-switch__name { font-weight: 500; letter-spacing: 0; }
.theme-toggle {
  display: inline-flex; align-items: center; gap: var(--space-3); min-height: 40px; padding: 6px 12px;
  background: transparent; color: var(--jbe-on-dark); cursor: pointer;
  border: 1px solid var(--jbe-line-dark); border-radius: var(--radius-sm);
  font-family: var(--font-heading); font-size: 0.875rem; font-weight: 500;
}
.theme-toggle:hover { color: var(--jbe-white); border-color: var(--jbe-cyan); }
.theme-toggle__sun { display: none; }
:root[data-theme="dark"] .theme-toggle__sun { display: block; }
:root[data-theme="dark"] .theme-toggle__moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle__sun { display: block; }
  :root:not([data-theme="light"]) .theme-toggle__moon { display: none; }
}
@media (min-width: 1200px) {
  .site-nav__tools { flex-direction: row; align-items: center; gap: var(--space-3); }
  .lang-switch { gap: 0; border: 1px solid var(--jbe-line-dark); border-radius: var(--radius-sm); overflow: hidden; }
  .lang-switch li + li { border-left: 1px solid var(--jbe-line-dark); }
  .lang-switch__link { min-height: 36px; padding: 4px 9px; border: 0; border-radius: 0; font-size: 0.75rem; }
  .lang-switch__name { display: none; }
  .theme-toggle { width: 38px; min-height: 38px; padding: 0; justify-content: center; }
  .theme-toggle__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .site-nav__list { gap: 0; }
  .site-nav__link { padding-inline: 0.6rem; }
  .site-nav__link::after { left: 0.6rem; right: 0.6rem; }
}
@media (min-width: 1200px) and (max-width: 1339px) {
  .site-header__brand img, .site-header.is-scrolled .site-header__brand img { height: 42px; }
  .site-nav__link { font-size: 0.8125rem; padding-inline: 0.45rem; }
  .site-nav__link::after { left: 0.45rem; right: 0.45rem; }
  .site-nav { gap: var(--space-4); }
}

/* Language suggestion bar */
.lang-suggest { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: var(--jbe-deep-navy); color: var(--jbe-white); border-top: 2px solid var(--jbe-cyan); box-shadow: 0 -10px 30px rgba(0,0,0,0.25); }
.lang-suggest__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-3); padding-block: var(--space-3); }
.lang-suggest p { margin: 0; display: inline-flex; align-items: center; gap: var(--space-2); font-size: 0.9375rem; }
.lang-suggest p .icon { color: var(--jbe-cyan); }
.lang-suggest__actions { display: flex; align-items: center; gap: var(--space-2); }
.lang-suggest__close { width: 40px; height: 40px; display: grid; place-items: center; background: transparent; color: var(--jbe-white); border: 1px solid var(--jbe-line-dark); border-radius: var(--radius-sm); cursor: pointer; }

/* Footer language links */
.site-footer__langs { list-style: none; display: flex; flex-wrap: wrap; gap: var(--space-4); margin: 0; }
.site-footer__langs a[aria-current="true"] { color: var(--jbe-cyan); }

/* Dark-mode refinements for elements that are dark in both themes */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .product-showcase,
  :root:not([data-theme="light"]) .cap-card--featured { border: 1px solid var(--border); }
  :root:not([data-theme="light"]) .tag--product { background: #0A3D91; color: #FFFFFF; }
}
:root[data-theme="dark"] .product-showcase,
:root[data-theme="dark"] .cap-card--featured { border: 1px solid var(--border); }
:root[data-theme="dark"] .tag--product { background: #0A3D91; color: #FFFFFF; }

/* Smooth theme switch (not on first paint) */
.theme-ready body, .theme-ready .section, .theme-ready .cap-card, .theme-ready .product-card, .theme-ready .post-card, .theme-ready .industry, .theme-ready .solution-card, .theme-ready .form-panel, .theme-ready .input, .theme-ready .select, .theme-ready .textarea {
  transition: background-color 240ms var(--ease), color 240ms var(--ease), border-color 240ms var(--ease);
}

/* ==========================================================================
   25. Lead form extensions, demo, FAQ
   ========================================================================== */
.form__group { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: var(--space-5); }
.form__group[hidden] { display: none; }
.form__legend { font-family: var(--font-heading); font-size: var(--fs-xs); font-weight: 600; letter-spacing: var(--tracking-label); text-transform: uppercase; color: var(--text-muted); padding: 0; margin-bottom: var(--space-1); }
.form__group + .form__group { border-top: 1px solid var(--border); padding-top: var(--space-5); }
.opt { font-family: var(--font-body); font-weight: 400; font-size: var(--fs-xs); color: var(--text-muted); }
.segmented { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); }
.segmented label { position: relative; cursor: pointer; }
.segmented input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.segmented span {
  display: flex; align-items: center; justify-content: center; gap: var(--space-2); min-height: 48px; padding: 0.6rem 1rem;
  border: 1.5px solid var(--input-border); border-radius: var(--radius-sm); background: var(--input-bg); color: var(--text);
  font-family: var(--font-heading); font-weight: 600; font-size: var(--fs-small);
}
.segmented input:checked + span { border-color: var(--jbe-blue); background: var(--jbe-blue-soft); color: var(--link); box-shadow: inset 0 0 0 1px var(--jbe-blue); }
.segmented input:focus-visible + span { outline: 3px solid var(--focus-on-light); outline-offset: 2px; }
.input-group { display: grid; grid-template-columns: minmax(118px, 0.9fr) 1.6fr; gap: var(--space-2); }
.checkbox--inline { margin-top: var(--space-1); font-size: var(--fs-small); color: var(--text-muted); }
.checkbox--inline input { width: 18px; height: 18px; margin-top: 2px; }
.input[readonly] { background: var(--chip-bg); }
.approach--compact { grid-template-columns: 1fr !important; gap: var(--space-4); margin-top: var(--space-4); }
.approach--compact li { grid-template-columns: 40px 1fr; }
.approach--compact li::before { font-size: 1.125rem; }

.faq-layout { display: grid; gap: var(--space-8); }
.faq-nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: var(--space-2); }
.faq-nav a { display: inline-block; padding: 8px 14px; border: 1px solid var(--border); border-radius: 999px; font-family: var(--font-heading); font-size: var(--fs-small); font-weight: 600; color: var(--text-accent); text-decoration: none; background: var(--card); }
.faq-nav a:hover { border-color: var(--jbe-blue); }
.faq-group + .faq-group { margin-top: var(--space-8); }
.faq-group__title { font-size: var(--fs-h3); margin-bottom: var(--space-4); }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--card); }
.faq-item + .faq-item { margin-top: var(--space-3); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); padding: var(--space-5) var(--space-6); font-family: var(--font-heading); font-weight: 600; font-size: 1.0625rem; color: var(--heading); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item__icon { color: var(--link); transition: transform var(--dur) var(--ease); }
.faq-item[open] .faq-item__icon { transform: rotate(90deg); }
.faq-item[open] summary { border-bottom: 1px solid var(--border); }
.faq-item__answer { padding: var(--space-5) var(--space-6); color: var(--text-muted); font-size: 1rem; line-height: 1.7; }
@media (min-width: 992px) {
  .faq-layout { grid-template-columns: 240px 1fr; gap: var(--space-10); align-items: start; }
  .faq-nav { position: sticky; top: calc(var(--header-h) + var(--space-6)); }
  .faq-nav ul { flex-direction: column; }
  .faq-nav a { border-radius: var(--radius-sm); display: block; }
}
@media (max-width: 575px) { .input-group { grid-template-columns: 1fr; } }

/* social links (enabled in admin: Dados da empresa) */
.site-footer__social { display: flex; gap: var(--space-2); list-style: none; margin: var(--space-4) 0 var(--space-4); padding: 0; }
.site-footer__social a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 8px; border: 1px solid rgba(255,255,255,.25); color: #FFFFFF; transition: background-color .2s, border-color .2s; }
.site-footer__social a:hover, .site-footer__social a:focus-visible { background: rgba(0,198,255,.12); border-color: var(--jbe-cyan); color: var(--jbe-cyan); }
.site-footer__social .icon { width: 20px; height: 20px; }
.site-footer .site-footer__social { display: flex; flex-direction: row; flex-wrap: wrap; }
.site-footer .site-footer__social li { margin: 0; }
