/*
 * BCBI Cyber Security Design System
 * Dark Cyber Ops aesthetic paired with BCBI Shield Logo (Crimson / Gunmetal / Emerald)
 */

:root,
:root[data-theme="dark"] {
  --bcbi-canvas: #05080f;
  --bcbi-surface: #0b111e;
  --bcbi-surface-alt: #101829;
  --bcbi-surface-hover: #141f35;
  --bcbi-ink: #f1f5f9;
  --bcbi-muted: #94a3b8;
  --bcbi-accent: #10b981;       /* Shield Emerald */
  --bcbi-accent-dark: #059669;
  --bcbi-accent-soft: rgba(16, 185, 129, 0.14);
  --bcbi-cyan: #22d3ee;         /* Telemetry Cyan */
  --bcbi-cyan-soft: rgba(34, 211, 238, 0.12);
  --bcbi-crimson: #e11d48;      /* Shield Crimson */
  --bcbi-crimson-soft: rgba(225, 29, 72, 0.14);
  --bcbi-border: rgba(148, 163, 184, 0.14);
  --bcbi-border-strong: rgba(16, 185, 129, 0.35);
  --bcbi-grid-line: rgba(148, 163, 184, 0.055);
  --bcbi-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --q2-bg: var(--bcbi-canvas);
  --q2-bg-elev: var(--bcbi-surface);
  --q2-bg-muted: var(--bcbi-surface-alt);
  --q2-text: #cbd5e1;
  --q2-text-strong: #f8fafc;
  --q2-text-muted: #94a3b8;
  --q2-divider: var(--bcbi-border);
  --q2-border-ring: var(--bcbi-border);
  --q2-border-strong: var(--bcbi-border-strong);
  --q2-nav-bg: rgba(5, 8, 15, 0.86);
  --q2-nav-border: rgba(148, 163, 184, 0.14);
  --q2-header-height: 122px;
  --q2-accent: var(--bcbi-accent);
  --q2-link: var(--bcbi-cyan);
  --q2-shadow-card: 0 1px 0 rgba(255, 255, 255, 0.03) inset, 0 0 0 1px rgba(148, 163, 184, 0.13);
  --q2-shadow-raised: 0 20px 48px -18px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(16, 185, 129, 0.28);

  --pico-font-family-sans-serif: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --pico-font-family-display: "Manrope", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --pico-background-color: var(--bcbi-canvas);
  --pico-color: var(--q2-text);
}

:root[data-theme="light"] {
  --bcbi-canvas: #f4f7fb;
  --bcbi-surface: #ffffff;
  --bcbi-surface-alt: #e9eff7;
  --bcbi-surface-hover: #f8fafc;
  --bcbi-ink: #0f172a;
  --bcbi-muted: #475569;
  --bcbi-accent: #059669;
  --bcbi-accent-dark: #047857;
  --bcbi-accent-soft: rgba(5, 150, 105, 0.1);
  --bcbi-cyan: #0284c7;
  --bcbi-cyan-soft: rgba(2, 132, 199, 0.1);
  --bcbi-crimson: #9f1239;
  --bcbi-crimson-soft: rgba(159, 18, 57, 0.1);
  --bcbi-border: rgba(15, 23, 42, 0.1);
  --bcbi-border-strong: rgba(5, 150, 105, 0.35);
  --bcbi-grid-line: rgba(15, 23, 42, 0.045);

  --q2-bg: var(--bcbi-canvas);
  --q2-bg-elev: var(--bcbi-surface);
  --q2-bg-muted: var(--bcbi-surface-alt);
  --q2-text: #1e293b;
  --q2-text-strong: #0f172a;
  --q2-text-muted: #64748b;
  --q2-divider: var(--bcbi-border);
  --q2-border-ring: var(--bcbi-border);
  --q2-border-strong: var(--bcbi-border-strong);
  --q2-nav-bg: rgba(244, 247, 251, 0.88);
  --q2-nav-border: rgba(15, 23, 42, 0.09);
  --q2-header-height: 122px;
  --q2-accent: var(--bcbi-accent);
  --q2-link: var(--bcbi-cyan);
  --q2-shadow-card: 0 2px 6px rgba(15, 23, 42, 0.04), 0 0 0 1px rgba(15, 23, 42, 0.08);
  --q2-shadow-raised: 0 16px 36px -14px rgba(15, 23, 42, 0.14), 0 0 0 1px rgba(5, 150, 105, 0.25);
}

h1, h2, h3, h4 {
  font-family: var(--pico-font-family-display);
  letter-spacing: -0.025em;
}

.container {
  max-width: 1240px;
}

/* ---------- Header & Shield Badge ---------- */

#header {
  min-height: var(--q2-header-height);
  height: var(--q2-header-height);
  border-bottom: 1px solid var(--q2-nav-border);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
}

#header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(16, 185, 129, 0.45) 35%, rgba(34, 211, 238, 0.45) 65%, transparent 100%);
  pointer-events: none;
}

#header .navbar {
  height: 100%;
  min-height: var(--q2-header-height);
  gap: 0.9rem;
}

.navbar-brand.bcbi-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--q2-text-strong);
  margin: 0 !important;
  padding: 0 !important;
  flex: 0 0 auto;
}

.navbar-brand img.bcbi-logo-img,
.bcbi-brand .bcbi-logo-img {
  height: 100px;
  width: auto;
  max-height: none;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.45));
}

.bcbi-brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1.18;
  font-family: var(--pico-font-family-display);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: -0.015em;
  color: var(--q2-text-strong);
}

.bcbi-brand-line1 {
  color: var(--q2-text-strong);
}

.bcbi-brand-line2 {
  color: var(--bcbi-accent);
  font-size: 0.84rem;
  font-weight: 600;
}

@media (max-width: 960px) {
  :root, :root[data-theme="dark"], :root[data-theme="light"] {
    --q2-header-height: 90px;
  }
  .navbar-brand img.bcbi-logo-img,
  .bcbi-brand .bcbi-logo-img {
    height: 70px;
  }
  .bcbi-brand-name {
    font-size: 0.84rem;
  }
  .bcbi-brand-line2 {
    font-size: 0.76rem;
  }
}

.dropmenu > ul,
.dropmenu ul.navigation {
  flex-wrap: nowrap !important;
  gap: 0.25rem;
}

.dropmenu a {
  font-size: 0.88rem;
  font-weight: 500;
  padding: 0.45rem 0.65rem;
  border-radius: 8px;
}

.dropmenu a.active {
  background: var(--bcbi-accent-soft) !important;
  color: var(--bcbi-accent) !important;
  box-shadow: inset 0 0 0 1px var(--bcbi-border-strong);
}

.navbar-section.actions {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  white-space: nowrap;
}

.bcbi-header-phones {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.22rem;
  min-width: max-content;
  padding: 0.45rem 1.05rem;
  border-radius: 12px;
  background: var(--bcbi-surface-alt);
  border: 1px solid var(--bcbi-border);
}

.bcbi-header-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-width: max-content;
  margin: 0 !important;
  padding: 0 !important;
  font-family: var(--bcbi-mono);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--q2-text-strong);
  text-decoration: none;
  white-space: nowrap;
  line-height: 1.25;
  transition: color 0.18s ease;
}

.bcbi-header-phone span {
  white-space: nowrap;
}

.bcbi-header-phone:hover {
  color: var(--bcbi-accent);
}

.bcbi-header-phone i {
  color: var(--bcbi-accent);
  font-size: 0.78rem;
  flex-shrink: 0;
}

@media (max-width: 1120px) {
  .bcbi-header-phones {
    display: none;
  }
}

/* Cyber Buttons */

.bcbi-btn-primary,
.bcbi-callback-trigger {
  background: linear-gradient(135deg, var(--bcbi-accent) 0%, var(--bcbi-accent-dark) 100%);
  color: #03150e !important;
  border: 1px solid rgba(52, 211, 153, 0.45);
  border-radius: 10px;
  padding: 0.6rem 1.2rem;
  font-size: 0.88rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 8px 24px -6px rgba(16, 185, 129, 0.45);
  transition: transform 0.16s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

:root[data-theme="light"] .bcbi-btn-primary,
:root[data-theme="light"] .bcbi-callback-trigger {
  color: #ffffff !important;
}

.bcbi-btn-primary:hover,
.bcbi-callback-trigger:hover {
  transform: translateY(-1px);
  filter: brightness(1.07);
  box-shadow: 0 12px 30px -6px rgba(16, 185, 129, 0.6);
}

.bcbi-btn-lg {
  padding: 0.82rem 1.55rem;
  font-size: 0.94rem;
}

.bcbi-btn-outline {
  background: var(--bcbi-surface);
  color: var(--q2-text-strong);
  border: 1px solid var(--bcbi-border);
  border-radius: 10px;
  padding: 0.58rem 1.15rem;
  font-size: 0.88rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 0.18s ease, color 0.18s ease, transform 0.16s ease;
}

.bcbi-btn-outline:hover {
  border-color: var(--bcbi-cyan);
  color: var(--bcbi-cyan);
  transform: translateY(-1px);
}

@media (max-width: 960px) {
  .navbar-section.actions .bcbi-callback-trigger {
    display: none;
  }
}

.bcbi-mobile-contacts {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--q2-divider);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

.bcbi-mobile-contacts a {
  color: var(--q2-text-strong);
  font-weight: 600;
  text-decoration: none;
}

/* Form inputs full-width */
.form-wrapper input[type="text"],
.form-wrapper input[type="tel"],
.form-wrapper input[type="email"],
.form-wrapper textarea,
.bcbi-dialog input[type="text"],
.bcbi-dialog input[type="tel"],
.bcbi-dialog input[type="email"],
.bcbi-dialog textarea {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  font-size: 1rem;
  padding: 0.68rem 0.95rem;
  border-radius: 10px;
}

/* ---------- Cyber Ops Hero + Animated Radar HUD ---------- */

.bcbi-hero {
  position: relative;
  overflow: hidden;
  padding: 4.25rem 0 3.75rem;
  border-bottom: 1px solid var(--bcbi-border);
  background-color: var(--bcbi-canvas);
  background-image:
    radial-gradient(ellipse 65% 55% at 78% 22%, rgba(16, 185, 129, 0.14), transparent 65%),
    radial-gradient(ellipse 50% 50% at 15% 80%, rgba(225, 29, 72, 0.09), transparent 60%),
    radial-gradient(var(--bcbi-grid-line) 1.2px, transparent 1.2px);
  background-size: 100% 100%, 100% 100%, 24px 24px;
}

.bcbi-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.75rem;
  align-items: center;
}

@media (max-width: 960px) {
  .bcbi-hero {
    padding: 2.5rem 0 2.75rem;
  }
  .bcbi-hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.bcbi-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.36rem 0.9rem;
  border-radius: 8px;
  background: var(--bcbi-surface);
  border: 1px solid var(--bcbi-border-strong);
  font-family: var(--bcbi-mono);
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--bcbi-accent);
  margin-bottom: 1.35rem;
}

.bcbi-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--bcbi-accent);
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: bcbi-pulse 2.2s infinite;
}

@keyframes bcbi-pulse {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.65); }
  70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.bcbi-hero-copy h1 {
  font-size: clamp(2.1rem, 3.8vw, 3.2rem);
  line-height: 1.08;
  font-weight: 800;
  color: var(--q2-text-strong);
  margin-bottom: 1.15rem;
}

.bcbi-hero-lead {
  font-size: 1.05rem;
  line-height: 1.62;
  color: var(--bcbi-muted);
  max-width: 54ch;
  margin-bottom: 1.85rem;
}

.bcbi-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* HUD Telemetry Panel */

.bcbi-hud-panel {
  position: relative;
  background: linear-gradient(165deg, rgba(16, 24, 41, 0.96) 0%, rgba(11, 17, 30, 0.98) 100%);
  border: 1px solid var(--bcbi-border);
  border-radius: 16px;
  padding: 1.35rem;
  box-shadow: var(--q2-shadow-raised);
  overflow: hidden;
  color: #e2e8f0;
}

:root[data-theme="light"] .bcbi-hud-panel {
  background: linear-gradient(165deg, #0b111e 0%, #111b2e 100%);
}

.bcbi-hud-panel::before,
.bcbi-hud-panel::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  border-color: var(--bcbi-accent);
  border-style: solid;
  pointer-events: none;
}

.bcbi-hud-panel::before {
  top: 8px;
  left: 8px;
  border-width: 2px 0 0 2px;
}

.bcbi-hud-panel::after {
  bottom: 8px;
  right: 8px;
  border-width: 0 2px 2px 0;
}

.bcbi-hud-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.85rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.16);
  font-family: var(--bcbi-mono);
  font-size: 0.74rem;
  color: #94a3b8;
}

.bcbi-hud-badge {
  color: #34d399;
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.35);
  padding: 0.18rem 0.55rem;
  border-radius: 6px;
  text-decoration: none;
}

.bcbi-hud-radar-wrap {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 1.1rem;
  align-items: center;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  background: rgba(5, 8, 15, 0.65);
  border: 1px solid rgba(148, 163, 184, 0.12);
  margin-bottom: 0.9rem;
}

@media (max-width: 520px) {
  .bcbi-hud-radar-wrap {
    grid-template-columns: 1fr;
    justify-items: center;
  }
}

.bcbi-radar {
  position: relative;
  width: 144px;
  height: 144px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bcbi-radar-svg {
  width: 100%;
  height: 100%;
}

.bcbi-radar-sweep {
  transform-origin: 72px 72px;
  animation: bcbi-spin 5.5s linear infinite;
}

@keyframes bcbi-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.bcbi-telemetry-log {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  font-family: var(--bcbi-mono);
  font-size: 0.76rem;
}

.bcbi-telemetry-log li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #cbd5e1;
}

.bcbi-ok-tag {
  color: #34d399;
  font-weight: 700;
}

.bcbi-hero-matrix {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

@media (max-width: 480px) {
  .bcbi-hero-matrix {
    grid-template-columns: 1fr;
  }
}

.bcbi-matrix-card {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 0.85rem 0.95rem;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(148, 163, 184, 0.14);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.18s ease, background-color 0.18s ease, transform 0.16s ease;
}

.bcbi-matrix-card:hover {
  border-color: #10b981;
  background: rgba(16, 185, 129, 0.09);
  transform: translateY(-2px);
}

.bcbi-matrix-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #34d399;
  font-family: var(--bcbi-mono);
  font-size: 0.72rem;
}

.bcbi-matrix-card strong {
  font-size: 0.9rem;
  color: #f8fafc;
}

.bcbi-matrix-card span {
  font-size: 0.76rem;
  color: #94a3b8;
  line-height: 1.38;
}

/* ---------- Sections Common ---------- */

.bcbi-section {
  padding: 3.75rem 0;
}

.bcbi-section-tight {
  padding: 2.25rem 0;
}

.bcbi-section-alt {
  background: var(--bcbi-surface);
  border-top: 1px solid var(--bcbi-border);
  border-bottom: 1px solid var(--bcbi-border);
}

.bcbi-section-head {
  margin-bottom: 2rem;
}

.bcbi-section-head h2 {
  font-size: clamp(1.5rem, 2.5vw, 2.05rem);
  margin-bottom: 0.45rem;
  color: var(--q2-text-strong);
}

.bcbi-section-head p {
  color: var(--bcbi-muted);
  max-width: 60ch;
  margin-bottom: 0;
}

.bcbi-section-head-split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* ---------- Capabilities Strip ---------- */

.bcbi-features-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

@media (max-width: 1024px) {
  .bcbi-features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .bcbi-features-grid {
    grid-template-columns: 1fr;
  }
}

.bcbi-feature-card {
  background: var(--bcbi-surface-alt);
  border: 1px solid var(--bcbi-border);
  border-radius: 14px;
  padding: 1.15rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.bcbi-feature-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.bcbi-feature-code {
  font-family: var(--bcbi-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--bcbi-accent);
}

.bcbi-feature-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--bcbi-accent-soft);
  color: var(--bcbi-accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.98rem;
}

.bcbi-feature-card h3 {
  font-size: 0.97rem;
  margin: 0;
  color: var(--q2-text-strong);
}

.bcbi-feature-card p {
  font-size: 0.84rem;
  color: var(--q2-text-muted);
  margin: 0;
  line-height: 1.48;
}

/* ---------- Services Matrix Cards ---------- */

.bcbi-services-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
}

.bcbi-services-cards-inner {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 0;
}

.bcbi-article + .bcbi-services-cards-inner {
  margin-top: 1.5rem;
}

@media (max-width: 980px) {
  .bcbi-services-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .bcbi-services-cards,
  .bcbi-services-cards-inner {
    grid-template-columns: 1fr;
  }
}

.bcbi-service-card {
  position: relative;
  background: var(--bcbi-surface);
  border: 1px solid var(--bcbi-border);
  border-radius: 14px;
  padding: 1.45rem;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.bcbi-service-card:hover {
  transform: translateY(-3px);
  border-color: var(--bcbi-accent);
  background: var(--bcbi-surface-hover);
  box-shadow: var(--q2-shadow-raised);
}

.bcbi-service-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.bcbi-service-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--bcbi-accent-soft);
  border: 1px solid var(--bcbi-border-strong);
  color: var(--bcbi-accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.bcbi-service-arrow {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--bcbi-surface-alt);
  color: var(--q2-text-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.bcbi-service-card:hover .bcbi-service-arrow {
  background: var(--bcbi-accent);
  color: #03150e;
}

.bcbi-service-card h3 {
  font-size: 1.08rem;
  line-height: 1.3;
  margin-bottom: 0.45rem;
  color: var(--q2-text-strong);
}

.bcbi-service-card p {
  font-size: 0.89rem;
  color: var(--q2-text-muted);
  line-height: 1.55;
  margin-bottom: 1rem;
  flex: 1;
}

.bcbi-service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.bcbi-tag {
  font-family: var(--bcbi-mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--bcbi-cyan);
  background: var(--bcbi-cyan-soft);
  border: 1px solid rgba(34, 211, 238, 0.22);
  padding: 0.18rem 0.52rem;
  border-radius: 6px;
}

/* ---------- Workflow Protocol ---------- */

.bcbi-workflow-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.1rem;
}

@media (max-width: 960px) {
  .bcbi-workflow-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .bcbi-workflow-grid {
    grid-template-columns: 1fr;
  }
}

.bcbi-step-card {
  background: var(--bcbi-surface-alt);
  border: 1px solid var(--bcbi-border);
  border-top: 2px solid var(--bcbi-accent);
  border-radius: 14px;
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.bcbi-step-num {
  font-family: var(--bcbi-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--bcbi-accent);
}

.bcbi-step-card h3 {
  font-size: 1rem;
  margin: 0.15rem 0 0;
  color: var(--q2-text-strong);
}

.bcbi-step-card p {
  font-size: 0.86rem;
  color: var(--q2-text-muted);
  margin: 0;
  line-height: 1.5;
}

/* ---------- Cyber Callout CTA ---------- */

.bcbi-cta-box {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0b1324 0%, #07191d 100%);
  color: #ffffff;
  border-radius: 18px;
  padding: 2.35rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  border: 1px solid rgba(16, 185, 129, 0.3);
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.65);
}

.bcbi-cta-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 85% 20%, rgba(16, 185, 129, 0.22), transparent 48%),
    radial-gradient(rgba(148, 163, 184, 0.08) 1px, transparent 1px);
  background-size: 100% 100%, 20px 20px;
  pointer-events: none;
}

.bcbi-cta-text,
.bcbi-cta-action {
  position: relative;
  z-index: 1;
}

.bcbi-cta-text h2 {
  color: #ffffff;
  font-size: clamp(1.38rem, 2.2vw, 1.8rem);
  margin-bottom: 0.45rem;
}

.bcbi-cta-text p {
  color: #cbd5e1;
  margin: 0;
  font-size: 0.96rem;
}

.bcbi-cta-action {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem;
}

.bcbi-cta-phone {
  color: #f8fafc;
  text-decoration: none;
  font-family: var(--bcbi-mono);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.72rem 1.15rem;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: rgba(255, 255, 255, 0.06);
  white-space: nowrap;
}

.bcbi-cta-phone:hover {
  border-color: var(--bcbi-cyan);
  color: var(--bcbi-cyan);
}

/* ---------- About + News ---------- */

.bcbi-two-col {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 1.5rem;
  align-items: stretch;
}

@media (max-width: 880px) {
  .bcbi-two-col {
    grid-template-columns: 1fr;
  }
}

.bcbi-panel {
  background: var(--bcbi-surface);
  border: 1px solid var(--bcbi-border);
  border-radius: 16px;
  padding: 1.7rem;
  height: 100%;
}

.bcbi-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.bcbi-panel-head h2 {
  margin: 0;
  font-size: 1.45rem;
}

.bcbi-feed-source {
  display: inline-block;
  margin-top: 0.2rem;
  font-family: var(--bcbi-mono);
  font-size: 0.74rem;
  color: var(--q2-text-muted);
}

.bcbi-feed-source a {
  color: var(--bcbi-cyan);
  text-decoration: none;
}

.bcbi-feed-source a:hover {
  text-decoration: underline;
}

.bcbi-home-news-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.bcbi-home-news-item {
  padding: 0.95rem 1.05rem;
  border-radius: 12px;
  background: var(--bcbi-surface-alt);
  border: 1px solid var(--bcbi-border);
  transition: border-color 0.18s ease;
}

.bcbi-home-news-item:hover {
  border-color: var(--bcbi-accent);
}

.bcbi-home-news-item time {
  display: inline-block;
  font-family: var(--bcbi-mono);
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--bcbi-accent);
  margin-bottom: 0.25rem;
}

.bcbi-home-news-item h3 {
  font-size: 0.97rem;
  line-height: 1.38;
  margin-bottom: 0.3rem;
}

.bcbi-home-news-item h3 a {
  color: var(--q2-text-strong);
  text-decoration: none;
}

.bcbi-home-news-item h3 a:hover {
  color: var(--bcbi-accent);
}

.bcbi-home-news-item p {
  font-size: 0.85rem;
  color: var(--q2-text-muted);
  margin: 0;
  line-height: 1.48;
}

/* ---------- Partners ---------- */

.bcbi-partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.9rem;
}

.bcbi-partner-item {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--bcbi-border);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.bcbi-partner-item img {
  max-height: 44px;
  max-width: 100%;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.8);
  transition: filter 0.2s ease;
}

.bcbi-partner-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}

.bcbi-partner-item:hover img {
  filter: grayscale(0%) opacity(1);
}

/* ---------- Inner Pages ---------- */

.bcbi-page-hero {
  padding: 2.25rem 0 1.75rem;
  border-bottom: 1px solid var(--bcbi-border);
  background-color: var(--bcbi-canvas);
  background-image:
    radial-gradient(ellipse 60% 80% at 88% 0%, var(--bcbi-accent-soft), transparent 70%),
    radial-gradient(var(--bcbi-grid-line) 1.2px, transparent 1.2px);
  background-size: 100% 100%, 24px 24px;
}

.bcbi-page-hero .breadcrumbs {
  font-family: var(--bcbi-mono);
  font-size: 0.76rem;
  margin-bottom: 0.75rem;
}

.bcbi-page-hero .breadcrumbs li + li::before {
  content: "/";
  color: var(--bcbi-accent);
  opacity: 0.85;
}

.bcbi-page-hero h1 {
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  margin: 0.5rem 0 0.35rem;
  color: var(--q2-text-strong);
}

.bcbi-page-hero .lead {
  color: var(--bcbi-muted);
  margin: 0;
  max-width: 68ch;
  font-size: 1rem;
}

.bcbi-page-section {
  padding: 2.5rem 0 3.75rem;
}

.bcbi-layout.has-sidebar {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}

@media (max-width: 920px) {
  .bcbi-layout.has-sidebar {
    grid-template-columns: 1fr;
  }
}

.bcbi-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  position: sticky;
  top: calc(var(--q2-header-height) + 1.25rem);
}

@media (max-width: 920px) {
  .bcbi-sidebar {
    position: static;
    order: 2;
  }
}

.bcbi-sidebar-card {
  background: var(--bcbi-surface);
  border: 1px solid var(--bcbi-border);
  border-radius: 14px;
  padding: 1.2rem;
}

.bcbi-sidebar-title {
  font-family: var(--bcbi-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
  color: var(--bcbi-accent);
}

.bcbi-sidebar-title a {
  color: inherit;
  text-decoration: none;
}

.bcbi-sidebar-menu,
.bcbi-sidebar-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.bcbi-sidebar-menu > li {
  border-top: 1px solid var(--bcbi-border);
}

.bcbi-sidebar-menu > li:first-child {
  border-top: 0;
}

.bcbi-sidebar-menu a {
  display: block;
  padding: 0.55rem 0.7rem;
  border-radius: 8px;
  color: var(--q2-text);
  font-size: 0.88rem;
  text-decoration: none;
  line-height: 1.35;
}

.bcbi-sidebar-menu a:hover {
  background: var(--bcbi-surface-alt);
  color: var(--bcbi-accent);
}

.bcbi-sidebar-menu a.active {
  background: var(--bcbi-accent-soft);
  color: var(--bcbi-accent);
  font-weight: 600;
  border-left: 3px solid var(--bcbi-accent);
}

.bcbi-sidebar-note p {
  font-size: 0.86rem;
  color: var(--q2-text-muted);
  margin-bottom: 0.9rem;
  line-height: 1.5;
}

.bcbi-article {
  background: var(--bcbi-surface);
  border: 1px solid var(--bcbi-border);
  border-radius: 16px;
  padding: 2rem 2.25rem;
}

.bcbi-article img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

.bcbi-article h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.65rem;
  font-size: 1.12rem;
  color: var(--q2-text-strong);
}

.bcbi-article ul {
  padding-left: 1.2rem;
}

.bcbi-article li {
  margin-bottom: 0.45rem;
  line-height: 1.6;
}

@media (max-width: 640px) {
  .bcbi-article {
    padding: 1.35rem;
  }
}

.bcbi-subgrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin: 0.75rem 0 1.5rem;
}

@media (max-width: 640px) {
  .bcbi-subgrid {
    grid-template-columns: 1fr;
  }
}

.bcbi-subcard {
  padding: 1.05rem 1.15rem;
  border-radius: 12px;
  background: var(--bcbi-surface-alt);
  border: 1px solid var(--bcbi-border);
}

.bcbi-subcard h4 {
  font-size: 0.96rem;
  margin: 0 0 0.35rem;
  color: var(--q2-text-strong);
}

.bcbi-subcard p {
  font-size: 0.86rem;
  color: var(--q2-text-muted);
  margin: 0;
  line-height: 1.5;
}

.bcbi-service-cta {
  margin-top: 1.5rem;
  background: var(--bcbi-surface);
  border: 1px solid var(--bcbi-border);
  border-left: 4px solid var(--bcbi-accent);
  border-radius: 14px;
  padding: 1.4rem 1.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.bcbi-service-cta h3 {
  margin-bottom: 0.25rem;
  font-size: 1.05rem;
}

.bcbi-service-cta p {
  margin: 0;
  color: var(--q2-text-muted);
  font-size: 0.9rem;
}

/* ---------- Requisites Table ---------- */

.bcbi-req-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.bcbi-req-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.93rem;
}

.bcbi-req-table tr {
  border-bottom: 1px solid var(--bcbi-border);
}

.bcbi-req-table tr:last-child {
  border-bottom: 0;
}

.bcbi-req-table th {
  width: 34%;
  padding: 0.85rem 1rem 0.85rem 0;
  text-align: left;
  font-weight: 600;
  color: var(--q2-text-muted);
  vertical-align: top;
}

.bcbi-req-table td {
  padding: 0.85rem 0;
  color: var(--q2-text-strong);
  font-family: var(--bcbi-mono);
  font-size: 0.88rem;
}

@media (max-width: 600px) {
  .bcbi-req-table th,
  .bcbi-req-table td {
    display: block;
    width: 100%;
    padding: 0.35rem 0;
  }
  .bcbi-req-table tr {
    display: block;
    padding: 0.55rem 0;
  }
}

/* ---------- Licenses Grid & Lightbox ---------- */

.bcbi-licenses-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

@media (max-width: 720px) {
  .bcbi-licenses-grid {
    grid-template-columns: 1fr;
  }
}

.bcbi-license-card {
  background: var(--bcbi-surface);
  border: 1px solid var(--bcbi-border);
  border-radius: 16px;
  padding: 1.35rem;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.bcbi-license-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  align-self: flex-start;
  font-family: var(--bcbi-mono);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--bcbi-accent);
  background: var(--bcbi-accent-soft);
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
}

.bcbi-license-title {
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--q2-text-strong);
  line-height: 1.45;
}

.bcbi-license-zoom {
  position: relative;
  display: block;
  padding: 0;
  border: 1px solid var(--bcbi-border);
  border-radius: 12px;
  overflow: hidden;
  background: #ffffff;
  cursor: zoom-in;
  margin-top: auto;
}

.bcbi-license-zoom img {
  display: block;
  width: 100%;
  height: auto;
}

.bcbi-zoom-hint {
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  background: rgba(5, 8, 15, 0.88);
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: 8px;
}

.bcbi-lightbox {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: min(92vw, 920px);
  max-height: 92vh;
  margin: auto;
}

.bcbi-lightbox::backdrop,
.bcbi-dialog::backdrop {
  background: rgba(5, 8, 15, 0.8);
  backdrop-filter: blur(6px);
}

.bcbi-lightbox-inner {
  position: relative;
  background: var(--bcbi-surface);
  border: 1px solid var(--bcbi-border);
  border-radius: 16px;
  padding: 1rem;
  text-align: center;
}

.bcbi-lightbox-inner img {
  max-height: 78vh;
  max-width: 100%;
  width: auto;
  border-radius: 10px;
}

.bcbi-lightbox-inner p {
  margin: 0.75rem 0 0;
  font-size: 0.9rem;
  color: var(--q2-text-muted);
}

/* ---------- News ---------- */

.bcbi-news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

@media (max-width: 960px) {
  .bcbi-news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .bcbi-news-grid {
    grid-template-columns: 1fr;
  }
}

.bcbi-news-card {
  background: var(--bcbi-surface);
  border: 1px solid var(--bcbi-border);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.bcbi-news-card:hover {
  transform: translateY(-3px);
  border-color: var(--bcbi-accent);
}

.bcbi-news-thumb {
  display: block;
  height: 185px;
  overflow: hidden;
  background: var(--bcbi-surface-alt);
}

.bcbi-news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bcbi-news-placeholder {
  height: 185px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.12) 0%, rgba(34, 211, 238, 0.09) 100%);
  color: var(--bcbi-accent);
  font-size: 2rem;
  border-bottom: 1px solid var(--bcbi-border);
}

.bcbi-news-card .card-header {
  padding: 1.15rem 1.25rem 0.5rem;
}

.bcbi-news-card .card-subtitle {
  font-family: var(--bcbi-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--bcbi-accent);
  margin-bottom: 0.35rem;
}

.bcbi-news-card .card-title h3 {
  font-size: 1.02rem;
  line-height: 1.38;
  margin: 0;
}

.bcbi-news-card .card-title h3 a {
  color: var(--q2-text-strong);
  text-decoration: none;
}

.bcbi-news-card .card-title h3 a:hover {
  color: var(--bcbi-accent);
}

.bcbi-news-card .card-body {
  padding: 0 1.25rem 0.85rem;
  font-size: 0.89rem;
  color: var(--q2-text-muted);
  flex: 1;
}

.bcbi-news-card .card-footer {
  padding: 0.8rem 1.25rem 1.15rem;
  border-top: 1px solid var(--bcbi-border);
}

.bcbi-card-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--bcbi-accent);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.bcbi-news-detail {
  max-width: 820px;
  margin: 0 auto;
}

.bcbi-date-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--bcbi-mono);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--bcbi-accent);
  background: var(--bcbi-accent-soft);
  padding: 0.25rem 0.75rem;
  border-radius: 8px;
  margin-bottom: 0.85rem;
}

.bcbi-news-detail-media {
  margin: 0 0 1.5rem;
}

.bcbi-news-detail-media img {
  width: 100%;
  max-height: 440px;
  object-fit: cover;
  border-radius: 14px;
}

/* ---------- Contacts ---------- */

.bcbi-contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

@media (max-width: 860px) {
  .bcbi-contacts-grid {
    grid-template-columns: 1fr;
  }
}

.bcbi-contact-cards {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin: 1.25rem 0;
}

.bcbi-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 0.95rem 1.05rem;
  border-radius: 12px;
  background: var(--bcbi-surface-alt);
  border: 1px solid var(--bcbi-border);
}

.bcbi-contact-item i {
  color: var(--bcbi-accent);
  margin-top: 0.2rem;
}

.bcbi-contact-label {
  font-family: var(--bcbi-mono);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--q2-text-muted);
}

.bcbi-muted {
  color: var(--q2-text-muted);
  font-size: 0.92rem;
}

/* ---------- Modal Dialog ---------- */

.bcbi-dialog {
  border: 0;
  padding: 0;
  background: transparent;
  width: min(94vw, 480px);
  margin: auto;
}

.bcbi-dialog-card {
  background: var(--bcbi-surface);
  color: var(--q2-text);
  border-radius: 16px;
  box-shadow: var(--q2-shadow-raised);
  border: 1px solid var(--bcbi-border);
  padding: 1.65rem;
  margin: 0;
}

.bcbi-dialog-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.15rem;
}

.bcbi-dialog-header h3 {
  margin: 0 0 0.25rem;
}

.bcbi-dialog-sub {
  margin: 0;
  font-size: 0.88rem;
  color: var(--q2-text-muted);
}

.bcbi-dialog-close {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid var(--bcbi-border);
  background: var(--bcbi-surface-alt);
  color: var(--q2-text-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}

.bcbi-dialog-close:hover {
  background: var(--bcbi-accent);
  color: #03150e;
}

/* ---------- Footer ---------- */

#footer.bcbi-footer {
  background: #04070d;
  color: #cbd5e1;
  border-top: 1px solid rgba(148, 163, 184, 0.14);
  padding: 1.15rem 0 1rem;
  font-size: 12px;
  text-align: left;
}

#footer.bcbi-footer .bcbi-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 1.15rem;
}

@media (max-width: 960px) {
  #footer.bcbi-footer .bcbi-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 580px) {
  #footer.bcbi-footer .bcbi-footer-grid {
    grid-template-columns: 1fr;
  }
}

#footer.bcbi-footer .bcbi-footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--pico-font-family-display);
  font-weight: 700;
  font-size: 13px;
  color: #ffffff;
  margin-bottom: 0.35rem;
}

#footer.bcbi-footer .bcbi-footer-desc,
#footer.bcbi-footer .bcbi-footer-copy {
  font-size: 11.5px;
  color: #94a3b8;
  line-height: 1.38;
  margin: 0 0 0.3rem;
}

#footer.bcbi-footer .bcbi-footer-col h4 {
  font-family: var(--bcbi-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 0.4rem;
  color: var(--bcbi-accent);
}

#footer.bcbi-footer .bcbi-footer-links,
#footer.bcbi-footer .bcbi-footer-contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.22rem;
}

#footer.bcbi-footer li,
#footer.bcbi-footer a {
  font-size: 12px;
  line-height: 1.35;
  margin: 0;
}

#footer.bcbi-footer .bcbi-footer-links a,
#footer.bcbi-footer .bcbi-footer-contact-list a {
  color: #cbd5e1;
  text-decoration: none;
  white-space: nowrap;
}

#footer.bcbi-footer .bcbi-footer-links a:hover,
#footer.bcbi-footer .bcbi-footer-contact-list a:hover {
  color: var(--bcbi-accent);
}

#footer.bcbi-footer .bcbi-footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  color: #cbd5e1;
}

#footer.bcbi-footer .bcbi-footer-contact-list i {
  color: var(--bcbi-accent);
  margin-top: 0.2rem;
  font-size: 11px;
}
