/**
 * CB Nova Tech — Components
 * ----------------------------------------------------------------------------
 * The reusable UI library. Every custom Elementor widget in cbnt-core renders
 * markup that consumes these classes, so a fix here fixes every page at once.
 *
 * @package cbnovatech
 */

/* ============================================================================
   1. BUTTONS
   ========================================================================== */

.cbnt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--cbnt-space-2);
  min-height: 48px;
  padding: 0 var(--cbnt-space-6);
  font-family: var(--cbnt-font-heading);
  font-size: var(--cbnt-text-sm);
  font-weight: var(--cbnt-weight-semibold);
  letter-spacing: -0.005em;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid transparent;
  border-radius: var(--cbnt-radius);
  cursor: pointer;
  transition: background-color var(--cbnt-duration-fast) var(--cbnt-ease),
              border-color var(--cbnt-duration-fast) var(--cbnt-ease),
              color var(--cbnt-duration-fast) var(--cbnt-ease),
              transform var(--cbnt-duration-fast) var(--cbnt-ease),
              box-shadow var(--cbnt-duration-fast) var(--cbnt-ease);
}

/* Micro-interaction: a 1px lift on hover, and a press-down on active.
   Subtle enough to feel responsive rather than bouncy. */
.cbnt-btn:hover  { transform: translateY(-1px); }
.cbnt-btn:active { transform: translateY(0); transition-duration: var(--cbnt-duration-instant); }

.cbnt-btn__icon { width: 16px; height: 16px; flex-shrink: 0; }
/* Arrow nudges forward on hover — reinforces "this goes somewhere" */
.cbnt-btn:hover .cbnt-btn__icon--arrow { transform: translateX(2px); }
.cbnt-btn__icon--arrow { transition: transform var(--cbnt-duration-fast) var(--cbnt-ease); }

/* -- Primary -------------------------------------------------------------- */
.cbnt-btn--primary {
  background: var(--cbnt-blue-600);
  color: var(--cbnt-white);
  box-shadow: 0 1px 2px rgba(10, 23, 48, 0.12);
}
.cbnt-btn--primary:hover {
  background: var(--cbnt-blue-700);
  color: var(--cbnt-white);
  box-shadow: var(--cbnt-shadow-md);
}
.cbnt-btn--primary:focus-visible { box-shadow: var(--cbnt-shadow-focus); }

/* -- Secondary (outline) -------------------------------------------------- */
.cbnt-btn--secondary {
  background: transparent;
  color: var(--cbnt-navy-900);
  border-color: var(--cbnt-grey-300);
}
.cbnt-btn--secondary:hover {
  background: var(--cbnt-blue-50);
  border-color: var(--cbnt-blue-400);
  color: var(--cbnt-blue-700);
}

/* On dark surfaces the outline button inverts automatically */
.cbnt-on-dark .cbnt-btn--secondary,
.cbnt-section--dark .cbnt-btn--secondary,
.cbnt-section--gradient .cbnt-btn--secondary,
.cbnt-header--overlay:not(.is-scrolled) .cbnt-btn--secondary {
  color: var(--cbnt-white);
  border-color: rgba(255, 255, 255, 0.32);
}
.cbnt-on-dark .cbnt-btn--secondary:hover,
.cbnt-section--dark .cbnt-btn--secondary:hover,
.cbnt-section--gradient .cbnt-btn--secondary:hover,
.cbnt-header--overlay:not(.is-scrolled) .cbnt-btn--secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
  color: var(--cbnt-white);
}

/* -- Ghost / text --------------------------------------------------------- */
.cbnt-btn--ghost { background: transparent; color: var(--cbnt-blue-600); padding-inline: var(--cbnt-space-3); }
.cbnt-btn--ghost:hover { background: var(--cbnt-blue-50); color: var(--cbnt-blue-800); }

/* -- White (for use on dark CTA bands) ------------------------------------ */
.cbnt-btn--white { background: var(--cbnt-white); color: var(--cbnt-navy-900); }
.cbnt-btn--white:hover { background: var(--cbnt-blue-50); color: var(--cbnt-blue-800); box-shadow: var(--cbnt-shadow-lg); }

/* -- Sizes ---------------------------------------------------------------- */
.cbnt-btn--sm { min-height: 40px; padding-inline: var(--cbnt-space-4); font-size: var(--cbnt-text-xs); }
.cbnt-btn--lg { min-height: 56px; padding-inline: var(--cbnt-space-8); font-size: var(--cbnt-text-base); }
.cbnt-btn--block { width: 100%; }

.cbnt-btn[disabled],
.cbnt-btn[aria-disabled="true"] { opacity: 0.5; pointer-events: none; }

/* Inline text link with arrow — the default "read more" affordance.
   min-height keeps the tap target at 44px. Without it the link is only ~25px
   tall, which is an awkward target on a phone and fails the practical touch
   guideline even though the text itself looks fine. */
.cbnt-link-arrow {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: var(--cbnt-space-2);
  font-family: var(--cbnt-font-heading);
  font-size: var(--cbnt-text-sm);
  font-weight: var(--cbnt-weight-semibold);
  color: var(--cbnt-text-link);
  text-decoration: none;
}
.cbnt-link-arrow svg { width: 15px; height: 15px; transition: transform var(--cbnt-duration-fast) var(--cbnt-ease); }
.cbnt-link-arrow:hover svg { transform: translateX(3px); }
.cbnt-link-arrow:hover { text-decoration: underline; text-underline-offset: 0.25em; }


/* ============================================================================
   2. SECTION HEADING
   ========================================================================== */

.cbnt-heading { max-width: var(--cbnt-measure); }
.cbnt-heading--center { margin-inline: auto; text-align: center; }

.cbnt-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--cbnt-space-2);
  font-family: var(--cbnt-font-heading);
  font-size: var(--cbnt-text-eyebrow);
  font-weight: var(--cbnt-weight-bold);
  letter-spacing: var(--cbnt-tracking-eyebrow);
  text-transform: uppercase;
  color: var(--cbnt-text-accent-on-light);
  margin-bottom: var(--cbnt-space-4);
}
.cbnt-on-dark .cbnt-eyebrow,
.cbnt-section--dark .cbnt-eyebrow,
.cbnt-section--gradient .cbnt-eyebrow { color: var(--cbnt-text-accent-on-dark); }

/* Short rule before the eyebrow text — a quiet premium detail */
.cbnt-eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}
.cbnt-heading--center .cbnt-eyebrow::before { display: none; }

.cbnt-heading__title { margin-bottom: var(--cbnt-space-5); }
.cbnt-heading__intro {
  font-size: var(--cbnt-text-lead);
  line-height: var(--cbnt-leading-snug);
  color: var(--cbnt-text-muted);
  max-width: var(--cbnt-measure);
}
.cbnt-heading--center .cbnt-heading__intro { margin-inline: auto; }

/* Highlights a key phrase inside a heading */
.cbnt-highlight { color: var(--cbnt-blue-600); }
.cbnt-on-dark .cbnt-highlight,
.cbnt-section--dark .cbnt-highlight,
.cbnt-section--gradient .cbnt-highlight { color: var(--cbnt-accent-400); }

.cbnt-section__head { margin-bottom: var(--cbnt-stack-gap); }


/* ============================================================================
   3. HERO
   ========================================================================== */

/* Light hero.
   The previous build opened on a dark gradient slab. A clean, modern page
   opens bright: white ground, navy type, colour used only where it carries
   meaning. The dark treatment is kept for exactly one section further down,
   so it reads as emphasis rather than as the default. */
.cbnt-hero {
  position: relative;
  background: var(--cbnt-gradient-hero);
  color: var(--cbnt-text);
  overflow: hidden;
  /* The header is a normal in-flow bar now, not an overlay, so the hero does
     not need to reserve its height. Pages that opt back into the overlay
     header via the `cbnt_header_overlay` filter get the offset below. */
  padding-top: var(--cbnt-section-y);
  padding-bottom: var(--cbnt-section-y);
  border-bottom: 1px solid var(--cbnt-border);
}

.cbnt-header--overlay ~ .cbnt-main .cbnt-hero,
.cbnt-header--overlay ~ main .cbnt-hero,
body.cbnt-overlay-header .cbnt-hero {
  padding-top: calc(var(--cbnt-header-h) + var(--cbnt-section-y));
}

/* Hairline grid, barely visible — gives the white space structure without
   decorating it. */
.cbnt-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(2, 16, 58, 0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(2, 16, 58, 0.025) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 90%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 90%);
  pointer-events: none;
}

.cbnt-hero__inner {
  display: grid;
  gap: var(--cbnt-stack-gap);
  align-items: center;
}
@media (min-width: 1024px) {
  .cbnt-hero__inner { grid-template-columns: 1.02fr 0.98fr; gap: clamp(2.5rem, 1rem + 4vw, 4.5rem); }
}

.cbnt-hero__title {
  font-size: var(--cbnt-text-display);
  line-height: var(--cbnt-leading-display);
  letter-spacing: var(--cbnt-tracking-display);
  font-weight: var(--cbnt-weight-extrabold);
  margin-bottom: var(--cbnt-space-6);
  max-width: 16ch;
}
@media (max-width: 1023px) { .cbnt-hero__title { max-width: 20ch; } }

.cbnt-hero__lead {
  font-size: var(--cbnt-text-lead);
  line-height: var(--cbnt-leading-snug);
  color: var(--cbnt-text-muted);
  max-width: 52ch;
  margin-bottom: var(--cbnt-space-8);
}

.cbnt-hero__actions { display: flex; flex-wrap: wrap; gap: var(--cbnt-space-3); }
@media (max-width: 420px) {
  /* Full-width stacked buttons are far easier to tap on a small phone */
  .cbnt-hero__actions { flex-direction: column; align-items: stretch; }
  .cbnt-hero__actions .cbnt-btn { width: 100%; }
}

.cbnt-hero__note {
  display: flex;
  align-items: center;
  gap: var(--cbnt-space-2);
  margin-top: var(--cbnt-space-6);
  font-size: var(--cbnt-text-xs);
  color: var(--cbnt-text-subtle);
}
.cbnt-hero__note svg { width: 15px; height: 15px; color: var(--cbnt-accent-700); flex-shrink: 0; }

/* Glows are dialled right back on the light ground — they read as a faint
   tint behind the composition, not as a light show. */
.cbnt-hero__glow-a { top: -22%; right: -14%; width: 44rem; height: 32rem; opacity: 0.10; }
.cbnt-hero__glow-b { bottom: -30%; left: -16%; width: 32rem; height: 26rem; opacity: 0.07; }

/* Hero page variant for interior pages — shorter, no visual column */
.cbnt-hero--page { padding-bottom: var(--cbnt-section-y-tight); }
.cbnt-hero--page .cbnt-hero__inner { grid-template-columns: 1fr; max-width: 46rem; }
.cbnt-hero--page .cbnt-hero__title { font-size: var(--cbnt-text-h1); max-width: 22ch; }


/* ============================================================================
   4. HERO VISUAL — the dashboard mock
   Built entirely in CSS/SVG rather than shipped as a hero image. This keeps the
   Largest Contentful Paint element as text, not a large bitmap.
   ========================================================================== */

/* Light by default. The `.cbnt-on-dark` overrides further down restore the
   translucent treatment for the one dark section that still uses it. */
.cbnt-mock {
  position: relative;
  background: var(--cbnt-white);
  border: 1px solid var(--cbnt-border);
  border-radius: var(--cbnt-radius-lg);
  padding: var(--cbnt-space-4);
  box-shadow: var(--cbnt-shadow-lg);
}

.cbnt-mock__bar {
  display: flex;
  align-items: center;
  gap: var(--cbnt-space-2);
  padding-bottom: var(--cbnt-space-4);
  border-bottom: 1px solid var(--cbnt-border);
  margin-bottom: var(--cbnt-space-4);
}
.cbnt-mock__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--cbnt-grey-300); }
.cbnt-mock__url {
  margin-left: var(--cbnt-space-3);
  display: inline-flex;
  align-items: center;
  gap: var(--cbnt-space-2);
  font-size: 11px;
  color: var(--cbnt-text-subtle);
  background: var(--cbnt-grey-100);
  border-radius: var(--cbnt-radius-pill);
  padding: 4px var(--cbnt-space-3);
}
.cbnt-mock__url svg { width: 11px; height: 11px; color: var(--cbnt-accent-700); }

.cbnt-mock__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--cbnt-space-3); margin-bottom: var(--cbnt-space-3); }

.cbnt-mock__stat {
  background: var(--cbnt-grey-50);
  border: 1px solid var(--cbnt-border);
  border-radius: var(--cbnt-radius-sm);
  padding: var(--cbnt-space-3);
}
.cbnt-mock__stat-label { font-size: 10px; color: var(--cbnt-text-subtle); text-transform: uppercase; letter-spacing: 0.07em; }
.cbnt-mock__stat-value { font-family: var(--cbnt-font-heading); font-size: 1.125rem; font-weight: var(--cbnt-weight-bold); color: var(--cbnt-navy-900); margin-top: 2px; }
.cbnt-mock__stat-delta { font-size: 10px; color: var(--cbnt-success); font-weight: var(--cbnt-weight-semibold); }

.cbnt-mock__chart {
  background: var(--cbnt-grey-50);
  border: 1px solid var(--cbnt-border);
  border-radius: var(--cbnt-radius-sm);
  padding: var(--cbnt-space-4);
  height: 152px;
  display: flex;
  align-items: flex-end;
  gap: 6px;
}
.cbnt-mock__col {
  flex: 1;
  background: var(--cbnt-gradient-mark);
  border-radius: 3px 3px 0 0;
  height: var(--h, 40%);
  transform-origin: bottom;
  animation: cbnt-bar-grow var(--cbnt-duration-reveal) var(--cbnt-ease-out) backwards;
  animation-delay: calc(var(--i, 0) * 70ms);
}
@keyframes cbnt-bar-grow { from { transform: scaleY(0); opacity: 0; } to { transform: scaleY(1); opacity: 1; } }

/* Floating security badge on the mock */
.cbnt-mock__badge {
  position: absolute;
  right: calc(var(--cbnt-space-4) * -1);
  bottom: var(--cbnt-space-10);
  display: flex;
  align-items: center;
  gap: var(--cbnt-space-3);
  background: var(--cbnt-white);
  color: var(--cbnt-navy-900);
  border-radius: var(--cbnt-radius-md);
  padding: var(--cbnt-space-3) var(--cbnt-space-4);
  box-shadow: var(--cbnt-shadow-xl);
}
.cbnt-mock__badge svg { width: 22px; height: 22px; color: var(--cbnt-success); flex-shrink: 0; }
.cbnt-mock__badge strong { display: block; font-family: var(--cbnt-font-heading); font-size: var(--cbnt-text-xs); font-weight: var(--cbnt-weight-bold); }
.cbnt-mock__badge span { font-size: 11px; color: var(--cbnt-text-subtle); }
@media (max-width: 560px) { .cbnt-mock__badge { right: 0; bottom: calc(var(--cbnt-space-6) * -1); } }

/* -- Mock on a dark surface ----------------------------------------------
   Restores the translucent glass treatment for the single dark section. */
.cbnt-on-dark .cbnt-mock,
.cbnt-section--dark .cbnt-mock {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: var(--cbnt-shadow-xl);
}
.cbnt-on-dark .cbnt-mock__bar,
.cbnt-section--dark .cbnt-mock__bar { border-bottom-color: rgba(255, 255, 255, 0.09); }

.cbnt-on-dark .cbnt-mock__dot,
.cbnt-section--dark .cbnt-mock__dot { background: rgba(255, 255, 255, 0.22); }

.cbnt-on-dark .cbnt-mock__url,
.cbnt-section--dark .cbnt-mock__url {
  background: rgba(0, 0, 0, 0.26);
  color: var(--cbnt-text-on-dark-muted);
}
.cbnt-on-dark .cbnt-mock__url svg,
.cbnt-section--dark .cbnt-mock__url svg { color: var(--cbnt-accent-400); }

.cbnt-on-dark .cbnt-mock__stat,
.cbnt-on-dark .cbnt-mock__chart,
.cbnt-section--dark .cbnt-mock__stat,
.cbnt-section--dark .cbnt-mock__chart {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.08);
}
.cbnt-on-dark .cbnt-mock__stat-label,
.cbnt-section--dark .cbnt-mock__stat-label { color: var(--cbnt-text-on-dark-muted); }

.cbnt-on-dark .cbnt-mock__stat-value,
.cbnt-section--dark .cbnt-mock__stat-value { color: var(--cbnt-white); }

.cbnt-on-dark .cbnt-mock__stat-delta,
.cbnt-section--dark .cbnt-mock__stat-delta { color: var(--cbnt-accent-400); }


/* ============================================================================
   5. TRUST BAR
   ========================================================================== */

.cbnt-trust {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
  gap: var(--cbnt-space-2);
}

.cbnt-trust__item {
  display: flex;
  align-items: center;
  gap: var(--cbnt-space-4);
  padding: var(--cbnt-space-5) var(--cbnt-space-4);
}
/* Vertical rules between items on wide screens only */
@media (min-width: 900px) {
  .cbnt-trust__item + .cbnt-trust__item { border-left: 1px solid var(--cbnt-border); }
}
@media (max-width: 899px) {
  .cbnt-trust__item + .cbnt-trust__item { border-top: 1px solid var(--cbnt-border); }
}

.cbnt-trust__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  flex-shrink: 0;
  border-radius: var(--cbnt-radius-sm);
  background: var(--cbnt-blue-50);
  color: var(--cbnt-blue-600);
}
.cbnt-trust__icon svg { width: 21px; height: 21px; }

.cbnt-trust__label {
  font-family: var(--cbnt-font-heading);
  font-size: var(--cbnt-text-sm);
  font-weight: var(--cbnt-weight-bold);
  color: var(--cbnt-navy-900);
  line-height: 1.3;
}
.cbnt-trust__desc { font-size: var(--cbnt-text-xs); color: var(--cbnt-text-subtle); margin-top: 2px; }


/* ============================================================================
   6. CARDS — base
   ========================================================================== */

.cbnt-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--cbnt-surface-raised);
  border: 1px solid var(--cbnt-border);
  border-radius: var(--cbnt-radius-md);
  padding: var(--cbnt-space-8);
  transition: transform var(--cbnt-duration) var(--cbnt-ease-out),
              box-shadow var(--cbnt-duration) var(--cbnt-ease-out),
              border-color var(--cbnt-duration) var(--cbnt-ease);
}

.cbnt-card--interactive:hover {
  transform: translateY(-2px);
  box-shadow: var(--cbnt-shadow-md);
  border-color: var(--cbnt-border-accent);
}

/* Stretched link: makes the whole card clickable while keeping a single,
   properly-labelled <a> in the accessibility tree. */
.cbnt-card__link::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
}
.cbnt-card:has(.cbnt-card__link:focus-visible) {
  outline: var(--cbnt-focus-ring-width) solid var(--cbnt-focus-ring);
  outline-offset: var(--cbnt-focus-ring-offset);
}
.cbnt-card__link:focus-visible { outline: none; }

.cbnt-card__title { margin-bottom: var(--cbnt-space-3); }
.cbnt-card__text { color: var(--cbnt-text-muted); font-size: var(--cbnt-text-sm); line-height: var(--cbnt-leading-relaxed); }
.cbnt-card__foot { margin-top: auto; padding-top: var(--cbnt-space-6); }

.cbnt-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  border-radius: var(--cbnt-radius);
  background: var(--cbnt-blue-50);
  color: var(--cbnt-blue-600);
  margin-bottom: var(--cbnt-space-6);
}
.cbnt-card__icon svg { width: 25px; height: 25px; }

.cbnt-on-dark .cbnt-card__icon,
.cbnt-section--dark .cbnt-card__icon,
.cbnt-section--gradient .cbnt-card__icon {
  background: rgba(0, 200, 255, 0.12);
  color: var(--cbnt-accent-400);
}


/* ============================================================================
   7. SERVICE CARDS
   ========================================================================== */

.cbnt-service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--cbnt-white);
  border: 1px solid var(--cbnt-border);
  border-radius: var(--cbnt-radius-md);
  padding: var(--cbnt-space-8);
  overflow: hidden;
  transition: transform var(--cbnt-duration) var(--cbnt-ease-out),
              box-shadow var(--cbnt-duration) var(--cbnt-ease-out),
              border-color var(--cbnt-duration) var(--cbnt-ease);
}

/* Accent rule that wipes across the top edge on hover */
.cbnt-service-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--cbnt-gradient-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--cbnt-duration-slow) var(--cbnt-ease-out);
}
.cbnt-service-card:hover::before,
.cbnt-service-card:focus-within::before { transform: scaleX(1); }

.cbnt-service-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--cbnt-shadow-md);
  border-color: var(--cbnt-border-accent);
}

/* grey-600, not the lighter grey-400 this originally used: grey-400 on white
   measures 2.43:1, well under the 4.5:1 required for text this size. The
   number still reads as a quiet accent at 5.4:1. */
.cbnt-service-card__num {
  font-family: var(--cbnt-font-heading);
  font-size: var(--cbnt-text-xs);
  font-weight: var(--cbnt-weight-bold);
  letter-spacing: var(--cbnt-tracking-eyebrow);
  color: var(--cbnt-grey-600);
  margin-bottom: var(--cbnt-space-4);
}

.cbnt-service-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px; height: 54px;
  border-radius: var(--cbnt-radius);
  background: var(--cbnt-blue-50);
  color: var(--cbnt-blue-600);
  margin-bottom: var(--cbnt-space-6);
  transition: background-color var(--cbnt-duration) var(--cbnt-ease),
              color var(--cbnt-duration) var(--cbnt-ease);
}
.cbnt-service-card__icon svg { width: 26px; height: 26px; }
.cbnt-service-card:hover .cbnt-service-card__icon { background: var(--cbnt-blue-600); color: var(--cbnt-white); }

.cbnt-service-card__title { margin-bottom: var(--cbnt-space-3); }
.cbnt-service-card__text {
  color: var(--cbnt-text-muted);
  font-size: var(--cbnt-text-sm);
  line-height: var(--cbnt-leading-relaxed);
  margin-bottom: var(--cbnt-space-6);
}

.cbnt-service-card__list { list-style: none; margin: 0 0 var(--cbnt-space-8); padding: 0; }
.cbnt-service-card__list li {
  position: relative;
  padding-left: var(--cbnt-space-6);
  font-size: var(--cbnt-text-sm);
  color: var(--cbnt-text-muted);
}
.cbnt-service-card__list li + li { margin-top: var(--cbnt-space-2); }
/* Tick mark drawn in CSS — no icon font, no extra markup */
.cbnt-service-card__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.55em;
  width: 9px; height: 5px;
  border-left: 2px solid var(--cbnt-accent-600);
  border-bottom: 2px solid var(--cbnt-accent-600);
  transform: rotate(-45deg);
}

.cbnt-service-card__foot { margin-top: auto; }


/* ============================================================================
   8. PILLARS  (Why CB Nova Tech)
   ========================================================================== */

.cbnt-pillar { padding: var(--cbnt-space-2) 0; }

/* Light-surface by default; the dark override follows. Defaulting to light
   matches the new section balance, where dark is the exception. */
.cbnt-pillar__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  border-radius: var(--cbnt-radius);
  background: var(--cbnt-blue-50);
  border: 1px solid var(--cbnt-blue-100);
  color: var(--cbnt-blue-600);
  margin-bottom: var(--cbnt-space-6);
}
.cbnt-on-dark .cbnt-pillar__icon,
.cbnt-section--dark .cbnt-pillar__icon,
.cbnt-section--gradient .cbnt-pillar__icon {
  background: rgba(0, 200, 255, 0.1);
  border-color: rgba(0, 200, 255, 0.22);
  color: var(--cbnt-accent-400);
}
.cbnt-pillar__icon svg { width: 26px; height: 26px; }
.cbnt-pillar__title { margin-bottom: var(--cbnt-space-3); }
.cbnt-pillar__text { color: var(--cbnt-text-muted); font-size: var(--cbnt-text-sm); line-height: var(--cbnt-leading-relaxed); }


/* ============================================================================
   9. PROCESS TIMELINE  (How We Work)
   Horizontal on desktop, vertical on mobile — per the brief.
   ========================================================================== */

.cbnt-process { position: relative; display: grid; gap: var(--cbnt-space-8); }

@media (min-width: 900px) {
  .cbnt-process { grid-template-columns: repeat(5, 1fr); gap: var(--cbnt-space-6); }
  /* The connecting rail sits behind the step markers */
  .cbnt-process::before {
    content: "";
    position: absolute;
    top: 27px;
    left: 10%;
    right: 10%;
    height: 2px;
    /* Single-hue ramp. A blue→orange→blue rail passes through muddy brown at
       each transition, so the rail carries the accent hue alone. */
    background: linear-gradient(90deg, rgba(0, 200, 255, 0.22), rgba(0, 200, 255, 0.65), rgba(0, 200, 255, 0.22));
  }
}

.cbnt-process__step { position: relative; }

.cbnt-process__marker {
  position: relative;
  z-index: var(--cbnt-z-raised);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: var(--cbnt-white);
  border: 2px solid var(--cbnt-blue-200);
  font-family: var(--cbnt-font-heading);
  font-size: var(--cbnt-text-sm);
  font-weight: var(--cbnt-weight-extrabold);
  color: var(--cbnt-blue-600);
  margin-bottom: var(--cbnt-space-5);
  transition: background-color var(--cbnt-duration) var(--cbnt-ease),
              color var(--cbnt-duration) var(--cbnt-ease),
              border-color var(--cbnt-duration) var(--cbnt-ease);
}
.cbnt-process__step:hover .cbnt-process__marker {
  background: var(--cbnt-blue-600);
  border-color: var(--cbnt-blue-600);
  color: var(--cbnt-white);
}

.cbnt-process__title { margin-bottom: var(--cbnt-space-2); }
.cbnt-process__text { font-size: var(--cbnt-text-sm); color: var(--cbnt-text-muted); line-height: var(--cbnt-leading-relaxed); }

/* Vertical rail on mobile */
@media (max-width: 899px) {
  .cbnt-process { gap: 0; }
  .cbnt-process__step {
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: var(--cbnt-space-5);
    padding-bottom: var(--cbnt-space-8);
  }
  .cbnt-process__marker { margin-bottom: 0; grid-row: 1 / 3; }
  .cbnt-process__step:not(:last-child)::before {
    content: "";
    position: absolute;
    left: 26px;
    top: 58px;
    bottom: -4px;
    width: 2px;
    background: var(--cbnt-blue-200);
  }
  .cbnt-process__body { grid-column: 2; }
}


/* ============================================================================
   10. INDUSTRIES
   ========================================================================== */

.cbnt-industry {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--cbnt-space-4);
  padding: var(--cbnt-space-5) var(--cbnt-space-5);
  background: var(--cbnt-white);
  border: 1px solid var(--cbnt-border);
  border-radius: var(--cbnt-radius);
  transition: transform var(--cbnt-duration) var(--cbnt-ease-out),
              box-shadow var(--cbnt-duration) var(--cbnt-ease-out),
              border-color var(--cbnt-duration) var(--cbnt-ease);
}
.cbnt-industry:hover {
  transform: translateY(-2px);
  box-shadow: var(--cbnt-shadow-md);
  border-color: var(--cbnt-border-accent);
}
.cbnt-industry__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  flex-shrink: 0;
  border-radius: var(--cbnt-radius-sm);
  background: var(--cbnt-blue-50);
  color: var(--cbnt-blue-600);
}
.cbnt-industry__icon svg { width: 20px; height: 20px; }
.cbnt-industry__name { font-family: var(--cbnt-font-heading); font-size: var(--cbnt-text-sm); font-weight: var(--cbnt-weight-semibold); color: var(--cbnt-navy-900); }
.cbnt-industry__desc { font-size: var(--cbnt-text-xs); color: var(--cbnt-text-subtle); margin-top: 1px; }


/* ============================================================================
   11. FEATURE SPLIT  (alternating service blocks)
   ========================================================================== */

.cbnt-feature__list { list-style: none; margin: var(--cbnt-space-6) 0 0; padding: 0; display: grid; gap: var(--cbnt-space-4); }
@media (min-width: 560px) { .cbnt-feature__list { grid-template-columns: repeat(2, 1fr); } }

.cbnt-feature__item { display: flex; align-items: flex-start; gap: var(--cbnt-space-3); }
.cbnt-feature__tick {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 21px; height: 21px;
  flex-shrink: 0;
  margin-top: 2px;
  border-radius: 50%;
  background: rgba(0, 100, 127, 0.12);
  color: var(--cbnt-accent-700);
}
.cbnt-feature__tick svg { width: 11px; height: 11px; }
.cbnt-on-dark .cbnt-feature__tick,
.cbnt-section--dark .cbnt-feature__tick { background: rgba(0, 200, 255, 0.14); color: var(--cbnt-accent-400); }
.cbnt-feature__item span { font-size: var(--cbnt-text-sm); color: var(--cbnt-text-muted); }

/* Media panel */
.cbnt-feature__media {
  position: relative;
  border-radius: var(--cbnt-radius-lg);
  overflow: hidden;
  box-shadow: var(--cbnt-shadow-lg);
  background: var(--cbnt-grey-100);
}
.cbnt-feature__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }

/* Chips used for technology / capability tags */
.cbnt-chip {
  display: inline-flex;
  align-items: center;
  gap: var(--cbnt-space-2);
  padding: 6px var(--cbnt-space-3);
  font-size: var(--cbnt-text-xs);
  font-weight: var(--cbnt-weight-medium);
  color: var(--cbnt-text-muted);
  background: var(--cbnt-grey-50);
  border: 1px solid var(--cbnt-border);
  border-radius: var(--cbnt-radius-pill);
}
.cbnt-chip svg { width: 13px; height: 13px; color: var(--cbnt-accent-600); }
.cbnt-on-dark .cbnt-chip,
.cbnt-section--dark .cbnt-chip {
  background: rgba(255,255,255,0.055);
  border-color: var(--cbnt-border-on-dark);
  color: var(--cbnt-text-on-dark-muted);
}
.cbnt-on-dark .cbnt-chip svg,
.cbnt-section--dark .cbnt-chip svg { color: var(--cbnt-accent-400); }


/* ============================================================================
   12. TECHNOLOGY ECOSYSTEM FLOW
   Business → Data → AI → Insights → Growth
   ========================================================================== */

.cbnt-flow {
  display: grid;
  gap: var(--cbnt-space-4);
  grid-template-columns: 1fr;
  counter-reset: flow;
}
@media (min-width: 860px) { .cbnt-flow { grid-template-columns: repeat(5, 1fr); gap: var(--cbnt-space-3); } }

.cbnt-flow__node {
  position: relative;
  text-align: center;
  padding: var(--cbnt-space-6) var(--cbnt-space-4);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--cbnt-border-on-dark);
  border-radius: var(--cbnt-radius-md);
  transition: border-color var(--cbnt-duration) var(--cbnt-ease),
              background-color var(--cbnt-duration) var(--cbnt-ease);
}
.cbnt-flow__node:hover { border-color: rgba(0, 200, 255, 0.45); background: rgba(0, 200, 255, 0.06); }

/* Connector arrows between nodes */
@media (min-width: 860px) {
  .cbnt-flow__node:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 50%;
    right: calc(var(--cbnt-space-3) * -1);
    width: var(--cbnt-space-3);
    height: 2px;
    background: linear-gradient(90deg, rgba(0, 200, 255, 0.65), rgba(0, 200, 255, 0.15));
    translate: 0 -50%;
  }
}
@media (max-width: 859px) {
  .cbnt-flow__node:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: calc(var(--cbnt-space-4) * -1);
    width: 2px;
    height: var(--cbnt-space-4);
    background: rgba(0, 200, 255, 0.4);
    translate: -50% 0;
  }
}

.cbnt-flow__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  margin-bottom: var(--cbnt-space-4);
  border-radius: var(--cbnt-radius-sm);
  background: rgba(0, 200, 255, 0.12);
  color: var(--cbnt-accent-400);
}
.cbnt-flow__icon svg { width: 22px; height: 22px; }
.cbnt-flow__label { font-family: var(--cbnt-font-heading); font-size: var(--cbnt-text-sm); font-weight: var(--cbnt-weight-bold); color: var(--cbnt-white); }
.cbnt-flow__text { font-size: var(--cbnt-text-xs); color: var(--cbnt-text-on-dark-muted); margin-top: var(--cbnt-space-2); }


/* ============================================================================
   13. CASE STUDY CARDS
   ========================================================================== */

.cbnt-case {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--cbnt-white);
  border: 1px solid var(--cbnt-border);
  border-radius: var(--cbnt-radius-md);
  overflow: hidden;
  transition: transform var(--cbnt-duration) var(--cbnt-ease-out),
              box-shadow var(--cbnt-duration) var(--cbnt-ease-out);
}
.cbnt-case:hover { transform: translateY(-2px); box-shadow: var(--cbnt-shadow-md); }

.cbnt-case__media { position: relative; aspect-ratio: 16 / 10; background: var(--cbnt-grey-100); overflow: hidden; }
.cbnt-case__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--cbnt-duration-slow) var(--cbnt-ease-out); }
.cbnt-case:hover .cbnt-case__media img { transform: scale(1.02); }

.cbnt-case__tag {
  position: absolute;
  top: var(--cbnt-space-4);
  left: var(--cbnt-space-4);
  background: rgba(10, 23, 48, 0.86);
  color: var(--cbnt-white);
  font-size: 12px;
  font-weight: var(--cbnt-weight-semibold);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 5px var(--cbnt-space-3);
  border-radius: var(--cbnt-radius-pill);
  backdrop-filter: blur(4px);
}

.cbnt-case__body { padding: var(--cbnt-space-6); display: flex; flex-direction: column; flex: 1; }
.cbnt-case__title { margin-bottom: var(--cbnt-space-3); }
.cbnt-case__text { font-size: var(--cbnt-text-sm); color: var(--cbnt-text-muted); line-height: var(--cbnt-leading-relaxed); }
.cbnt-case__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--cbnt-space-2);
  margin-top: var(--cbnt-space-5);
  padding-top: var(--cbnt-space-5);
  border-top: 1px solid var(--cbnt-border);
}

/* Placeholder state — used until genuine case studies are supplied */
.cbnt-case--placeholder { border-style: dashed; border-color: var(--cbnt-grey-300); background: var(--cbnt-grey-50); }
.cbnt-case--placeholder:hover { transform: none; box-shadow: none; }
.cbnt-case--placeholder .cbnt-case__media {
  display: flex;
  align-items: center;
  justify-content: center;
  background: repeating-linear-gradient(45deg, var(--cbnt-grey-100) 0 12px, var(--cbnt-grey-50) 12px 24px);
  color: var(--cbnt-grey-400);
}
.cbnt-case--placeholder .cbnt-case__media svg { width: 40px; height: 40px; }


/* ============================================================================
   14. TESTIMONIALS
   ========================================================================== */

.cbnt-quote {
  display: flex;
  flex-direction: column;
  background: var(--cbnt-white);
  border: 1px solid var(--cbnt-border);
  border-radius: var(--cbnt-radius-md);
  padding: var(--cbnt-space-8);
  height: 100%;
}

.cbnt-quote__mark { width: 34px; height: 34px; color: var(--cbnt-blue-200); margin-bottom: var(--cbnt-space-5); }

.cbnt-quote__text {
  font-size: var(--cbnt-text-lead);
  line-height: var(--cbnt-leading-snug);
  color: var(--cbnt-navy-900);
  margin-bottom: var(--cbnt-space-8);
  flex: 1;
}

.cbnt-quote__author { display: flex; align-items: center; gap: var(--cbnt-space-4); }
.cbnt-quote__avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--cbnt-grey-100);
  flex-shrink: 0;
}
.cbnt-quote__name { font-family: var(--cbnt-font-heading); font-size: var(--cbnt-text-sm); font-weight: var(--cbnt-weight-bold); color: var(--cbnt-navy-900); }
.cbnt-quote__role { font-size: var(--cbnt-text-xs); color: var(--cbnt-text-subtle); }

/* Empty state — designed so real testimonials drop straight in */
.cbnt-quote--empty {
  border-style: dashed;
  border-color: var(--cbnt-grey-300);
  background: var(--cbnt-grey-50);
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 220px;
}
.cbnt-quote--empty svg { width: 34px; height: 34px; color: var(--cbnt-grey-400); margin-bottom: var(--cbnt-space-4); }
.cbnt-quote--empty p { font-size: var(--cbnt-text-sm); color: var(--cbnt-text-subtle); max-width: 34ch; }


/* ============================================================================
   15. INSIGHTS / BLOG CARDS
   ========================================================================== */

.cbnt-post {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--cbnt-white);
  border: 1px solid var(--cbnt-border);
  border-radius: var(--cbnt-radius-md);
  overflow: hidden;
  transition: transform var(--cbnt-duration) var(--cbnt-ease-out),
              box-shadow var(--cbnt-duration) var(--cbnt-ease-out);
}
.cbnt-post:hover { transform: translateY(-2px); box-shadow: var(--cbnt-shadow-md); }

.cbnt-post__media { aspect-ratio: 16 / 9; background: var(--cbnt-grey-100); overflow: hidden; }
.cbnt-post__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--cbnt-duration-slow) var(--cbnt-ease-out); }
.cbnt-post:hover .cbnt-post__media img { transform: scale(1.02); }

.cbnt-post__body { padding: var(--cbnt-space-6); display: flex; flex-direction: column; flex: 1; }

.cbnt-post__cat {
  align-self: flex-start;
  font-size: 12px;
  font-weight: var(--cbnt-weight-bold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cbnt-blue-700);
  background: var(--cbnt-blue-50);
  padding: 4px var(--cbnt-space-3);
  border-radius: var(--cbnt-radius-pill);
  margin-bottom: var(--cbnt-space-4);
  text-decoration: none;
}

.cbnt-post__title { font-size: var(--cbnt-text-h4); margin-bottom: var(--cbnt-space-3); }
.cbnt-post__title a { color: inherit; text-decoration: none; }
.cbnt-post__title a::after { content: ""; position: absolute; inset: 0; }
.cbnt-post__excerpt { font-size: var(--cbnt-text-sm); color: var(--cbnt-text-muted); line-height: var(--cbnt-leading-relaxed); }

.cbnt-post__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--cbnt-space-3);
  margin-top: auto;
  padding-top: var(--cbnt-space-5);
  font-size: var(--cbnt-text-xs);
  color: var(--cbnt-text-subtle);
}
.cbnt-post__meta-sep { width: 3px; height: 3px; border-radius: 50%; background: var(--cbnt-grey-300); }


/* ============================================================================
   16. CTA BAND
   ========================================================================== */

.cbnt-cta {
  position: relative;
  background: var(--cbnt-gradient-dark);
  color: var(--cbnt-text-on-dark);
  border-radius: var(--cbnt-radius-xl);
  padding: clamp(2.5rem, 1.4rem + 4.6vw, 5rem);
  overflow: hidden;
  text-align: center;
}
.cbnt-cta__glow { top: -40%; left: 50%; translate: -50% 0; width: 40rem; height: 30rem; }

.cbnt-cta__title { font-size: var(--cbnt-text-h2); margin-bottom: var(--cbnt-space-5); max-width: 22ch; margin-inline: auto; }
.cbnt-cta__text {
  font-size: var(--cbnt-text-lead);
  color: var(--cbnt-text-on-dark-muted);
  max-width: 58ch;
  margin: 0 auto var(--cbnt-space-8);
  line-height: var(--cbnt-leading-snug);
}
.cbnt-cta__actions { display: flex; flex-wrap: wrap; gap: var(--cbnt-space-3); justify-content: center; }
@media (max-width: 420px) {
  .cbnt-cta__actions { flex-direction: column; }
  .cbnt-cta__actions .cbnt-btn { width: 100%; }
}

/* Full-bleed variant used at the foot of service pages */
.cbnt-cta--full { border-radius: 0; }


/* ============================================================================
   17. FAQ ACCORDION
   Native <details>/<summary>. Keyboard accessible and screen-reader correct
   with no JavaScript at all.
   ========================================================================== */

.cbnt-faq { display: grid; gap: var(--cbnt-space-3); max-width: 52rem; }

.cbnt-faq__item {
  background: var(--cbnt-white);
  border: 1px solid var(--cbnt-border);
  border-radius: var(--cbnt-radius);
  overflow: hidden;
  transition: border-color var(--cbnt-duration) var(--cbnt-ease),
              box-shadow var(--cbnt-duration) var(--cbnt-ease);
}
.cbnt-faq__item[open] { border-color: var(--cbnt-border-accent); box-shadow: var(--cbnt-shadow-sm); }

.cbnt-faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--cbnt-space-4);
  padding: var(--cbnt-space-5) var(--cbnt-space-6);
  font-family: var(--cbnt-font-heading);
  font-size: var(--cbnt-text-base);
  font-weight: var(--cbnt-weight-semibold);
  color: var(--cbnt-navy-900);
  cursor: pointer;
  list-style: none;
  min-height: 56px;
}
.cbnt-faq__q::-webkit-details-marker { display: none; }
.cbnt-faq__q:hover { color: var(--cbnt-blue-600); }

.cbnt-faq__icon {
  position: relative;
  width: 18px; height: 18px;
  flex-shrink: 0;
  color: var(--cbnt-blue-600);
}
/* Plus that rotates into a minus */
.cbnt-faq__icon::before,
.cbnt-faq__icon::after {
  content: "";
  position: absolute;
  background: currentColor;
  border-radius: 1px;
  transition: transform var(--cbnt-duration) var(--cbnt-ease-out), opacity var(--cbnt-duration-fast) var(--cbnt-ease);
}
.cbnt-faq__icon::before { top: 8px; left: 0; width: 18px; height: 2px; }
.cbnt-faq__icon::after  { top: 0; left: 8px; width: 2px; height: 18px; }
.cbnt-faq__item[open] .cbnt-faq__icon::after { transform: rotate(90deg); opacity: 0; }

.cbnt-faq__a { padding: 0 var(--cbnt-space-6) var(--cbnt-space-6); }
.cbnt-faq__a p { font-size: var(--cbnt-text-sm); color: var(--cbnt-text-muted); line-height: var(--cbnt-leading-relaxed); max-width: var(--cbnt-measure); }
.cbnt-faq__a > * + * { margin-top: var(--cbnt-space-4); }


/* ============================================================================
   18. FORMS
   ========================================================================== */

.cbnt-form { display: grid; gap: var(--cbnt-space-5); }
.cbnt-form__row { display: grid; gap: var(--cbnt-space-5); }
@media (min-width: 640px) { .cbnt-form__row--2 { grid-template-columns: repeat(2, 1fr); } }

.cbnt-field { display: flex; flex-direction: column; gap: var(--cbnt-space-2); }

.cbnt-label {
  font-size: var(--cbnt-text-sm);
  font-weight: var(--cbnt-weight-semibold);
  color: var(--cbnt-navy-900);
}
/* Required marker uses a word as well as an asterisk, so it is not
   communicated by a symbol alone. */
.cbnt-label .cbnt-req { color: var(--cbnt-error); margin-left: 2px; }

.cbnt-input,
.cbnt-select,
.cbnt-textarea {
  width: 100%;
  min-height: 48px;
  padding: var(--cbnt-space-3) var(--cbnt-space-4);
  font-size: var(--cbnt-text-base);
  color: var(--cbnt-navy-900);
  background: var(--cbnt-white);
  border: 1px solid var(--cbnt-border-strong);
  border-radius: var(--cbnt-radius);
  transition: border-color var(--cbnt-duration-fast) var(--cbnt-ease),
              box-shadow var(--cbnt-duration-fast) var(--cbnt-ease);
  /* 16px minimum prevents iOS Safari zooming in on focus */
  font-size: max(16px, var(--cbnt-text-base));
}
.cbnt-textarea { min-height: 140px; resize: vertical; padding-top: var(--cbnt-space-4); line-height: var(--cbnt-leading-body); }

.cbnt-select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%2346536B' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--cbnt-space-4) center;
  background-size: 16px;
  padding-right: var(--cbnt-space-10);
}

.cbnt-input:focus,
.cbnt-select:focus,
.cbnt-textarea:focus {
  outline: none;
  border-color: var(--cbnt-blue-600);
  box-shadow: var(--cbnt-shadow-focus);
}
.cbnt-input::placeholder,
.cbnt-textarea::placeholder { color: var(--cbnt-grey-400); }

.cbnt-hint { font-size: var(--cbnt-text-xs); color: var(--cbnt-text-subtle); }

/* Error state — red border AND an icon AND text, never colour alone */
.cbnt-field--error .cbnt-input,
.cbnt-field--error .cbnt-select,
.cbnt-field--error .cbnt-textarea { border-color: var(--cbnt-error); }
.cbnt-error-msg {
  display: flex;
  align-items: center;
  gap: var(--cbnt-space-2);
  font-size: var(--cbnt-text-xs);
  font-weight: var(--cbnt-weight-medium);
  color: var(--cbnt-error);
}
.cbnt-error-msg svg { width: 14px; height: 14px; flex-shrink: 0; }

/* Success state */
.cbnt-form-success {
  display: flex;
  align-items: flex-start;
  gap: var(--cbnt-space-4);
  padding: var(--cbnt-space-5);
  background: var(--cbnt-success-bg);
  border: 1px solid rgba(14, 124, 74, 0.28);
  border-radius: var(--cbnt-radius);
  color: #0B5C37;
}
.cbnt-form-success svg { width: 22px; height: 22px; flex-shrink: 0; color: var(--cbnt-success); }

/* Checkbox / radio */
.cbnt-check { display: flex; align-items: flex-start; gap: var(--cbnt-space-3); cursor: pointer; }
.cbnt-check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--cbnt-blue-600); flex-shrink: 0; }
.cbnt-check span { font-size: var(--cbnt-text-sm); color: var(--cbnt-text-muted); }

/* Honeypot — hidden from humans, visible to naive bots. Uses absolute
   positioning rather than display:none, which some bots detect. */
.cbnt-hp {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
}


/* ============================================================================
   19. CONTACT PANEL
   ========================================================================== */

.cbnt-contact-panel {
  background: var(--cbnt-gradient-dark);
  color: var(--cbnt-text-on-dark);
  border-radius: var(--cbnt-radius-lg);
  padding: var(--cbnt-space-10);
  height: 100%;
}
.cbnt-contact-list { list-style: none; margin: var(--cbnt-space-8) 0 0; padding: 0; }
.cbnt-contact-list li { display: flex; gap: var(--cbnt-space-4); }
.cbnt-contact-list li + li { margin-top: var(--cbnt-space-6); }
.cbnt-contact-list__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  flex-shrink: 0;
  border-radius: var(--cbnt-radius-sm);
  background: rgba(0, 200, 255, 0.12);
  color: var(--cbnt-accent-400);
}
.cbnt-contact-list__icon svg { width: 19px; height: 19px; }
.cbnt-contact-list__label { font-size: var(--cbnt-text-xs); color: var(--cbnt-text-on-dark-muted); text-transform: uppercase; letter-spacing: 0.07em; }
.cbnt-contact-list__value { font-family: var(--cbnt-font-heading); font-size: var(--cbnt-text-base); font-weight: var(--cbnt-weight-semibold); color: var(--cbnt-white); margin-top: 2px; }
.cbnt-contact-list__value a { color: inherit; text-decoration: none; }
.cbnt-contact-list__value a:hover { text-decoration: underline; }


/* ============================================================================
   20. STAT CARDS
   Only ever populated with figures the client has verified.
   ========================================================================== */

.cbnt-stat { text-align: center; padding: var(--cbnt-space-6) var(--cbnt-space-4); }
.cbnt-stat__value {
  font-family: var(--cbnt-font-heading);
  font-size: clamp(2rem, 1.5rem + 2.1vw, 3rem);
  font-weight: var(--cbnt-weight-extrabold);
  letter-spacing: var(--cbnt-tracking-display);
  color: var(--cbnt-blue-600);
  line-height: 1;
  /* Tabular figures stop the number jittering during count-up animation */
  font-variant-numeric: tabular-nums;
}
.cbnt-on-dark .cbnt-stat__value,
.cbnt-section--dark .cbnt-stat__value { color: var(--cbnt-accent-400); }
.cbnt-stat__label { font-size: var(--cbnt-text-sm); color: var(--cbnt-text-muted); margin-top: var(--cbnt-space-3); }


/* ============================================================================
   21. BREADCRUMBS
   ========================================================================== */

.cbnt-breadcrumb { font-size: var(--cbnt-text-xs); }
.cbnt-breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: var(--cbnt-space-2); list-style: none; margin: 0; padding: 0; }
.cbnt-breadcrumb li { display: flex; align-items: center; gap: var(--cbnt-space-2); }
.cbnt-breadcrumb li + li::before { content: "/"; color: var(--cbnt-grey-400); }
.cbnt-breadcrumb a { color: var(--cbnt-text-muted); text-decoration: none; }
.cbnt-breadcrumb a:hover { color: var(--cbnt-text-link); text-decoration: underline; }
.cbnt-breadcrumb [aria-current="page"] { color: var(--cbnt-text); font-weight: var(--cbnt-weight-medium); }
.cbnt-on-dark .cbnt-breadcrumb a { color: var(--cbnt-text-on-dark-muted); }
.cbnt-on-dark .cbnt-breadcrumb [aria-current="page"] { color: var(--cbnt-white); }


/* ============================================================================
   22. PAGINATION
   ========================================================================== */

.cbnt-pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--cbnt-space-2); margin-top: var(--cbnt-space-16); }
.cbnt-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px; height: 44px;
  padding-inline: var(--cbnt-space-3);
  border: 1px solid var(--cbnt-border);
  border-radius: var(--cbnt-radius-sm);
  font-size: var(--cbnt-text-sm);
  font-weight: var(--cbnt-weight-medium);
  color: var(--cbnt-text-muted);
  text-decoration: none;
  transition: var(--cbnt-transition-colors);
}
.cbnt-pagination .page-numbers:hover { background: var(--cbnt-blue-50); color: var(--cbnt-blue-700); border-color: var(--cbnt-blue-200); }
.cbnt-pagination .page-numbers.current { background: var(--cbnt-blue-600); border-color: var(--cbnt-blue-600); color: var(--cbnt-white); }


/* ============================================================================
   23. NOTICES  (used for [CONTENT REQUIRED] markers in staging)
   ========================================================================== */

.cbnt-notice {
  display: flex;
  align-items: flex-start;
  gap: var(--cbnt-space-3);
  padding: var(--cbnt-space-4) var(--cbnt-space-5);
  border-radius: var(--cbnt-radius);
  font-size: var(--cbnt-text-sm);
  background: var(--cbnt-warning-bg);
  border: 1px dashed rgba(138, 90, 0, 0.4);
  color: var(--cbnt-warning);
}
.cbnt-notice svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; }
.cbnt-notice strong { font-weight: var(--cbnt-weight-bold); }


/* ============================================================================
   24. SCROLL REVEAL
   Applied by cbnt.js via IntersectionObserver. The `.cbnt-reveal` class is
   only added by JavaScript, so content is never hidden if JS fails to load.
   ========================================================================== */

.cbnt-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity var(--cbnt-duration-reveal) var(--cbnt-ease-out),
              transform var(--cbnt-duration-reveal) var(--cbnt-ease-out);
  transition-delay: var(--cbnt-reveal-delay, 0ms);
}
.cbnt-reveal.is-visible { opacity: 1; transform: none; }
