/*
 * Brittner.NET – Redesign V3
 * Phase 1: neue Startseite + neuer globaler Header/Footer
 * Wird NACH brittner-net.css geladen.
 */

:root {
    --bn3-navy-950: #07111d;
    --bn3-navy-900: #0b1726;
    --bn3-navy-850: #102033;
    --bn3-navy-800: #14283e;
    --bn3-blue-600: #1769aa;
    --bn3-blue-500: #2380c9;
    --bn3-blue-400: #50a1df;
    --bn3-blue-100: #e8f2fa;
    --bn3-ink: #101923;
    --bn3-text: #465466;
    --bn3-muted: #718096;
    --bn3-line: #dfe6ec;
    --bn3-line-dark: rgba(255,255,255,.12);
    --bn3-surface: #ffffff;
    --bn3-surface-soft: #f5f7f9;
    --bn3-surface-warm: #f9fafb;
    --bn3-white: #ffffff;
    --bn3-radius-sm: 12px;
    --bn3-radius: 20px;
    --bn3-radius-lg: 30px;
    --bn3-shadow: 0 24px 70px rgba(4, 17, 32, .12);
    --bn3-shadow-soft: 0 14px 40px rgba(12, 30, 48, .08);
    --bn3-container: 1240px;
    --bn3-header-height: 82px;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bn3-surface);
}

body.bn3-menu-open {
    overflow: hidden;
}

.bn-container {
    max-width: var(--bn3-container);
}

.bn3-kicker {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 20px;
    color: var(--bn3-blue-600);
    font-size: .76rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.bn3-kicker::before {
    content: "";
    width: 28px;
    height: 2px;
    border-radius: 99px;
    background: currentColor;
}

.bn3-section {
    position: relative;
    padding: 112px 0;
}

.bn3-section-head {
    max-width: 820px;
    margin-bottom: 56px;
}

.bn3-section-head h2,
.bn3-statement h2,
.bn3-standard-software h2,
.bn3-about h2,
.bn3-partner h2,
.bn3-private h2,
.bn3-cta h2 {
    margin: 0;
    color: var(--bn3-ink);
    font-size: clamp(2.2rem, 4vw, 4rem);
    line-height: 1.03;
    letter-spacing: -.045em;
}

.bn3-section-head > p,
.bn3-section-head-split > p {
    color: var(--bn3-text);
    font-size: 1.08rem;
    line-height: 1.8;
}

.bn3-section-head-split {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(340px, .85fr);
    gap: 80px;
    max-width: none;
    align-items: end;
}

.bn3-section-head-split > p {
    margin: 0 0 4px;
}

/* ---------------------------------------------------------
   HEADER
--------------------------------------------------------- */

.bn3-header {
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,.10);
    background: rgba(7, 17, 29, .74);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    transition: background .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.bn3-header.is-scrolled {
    border-bottom-color: rgba(255,255,255,.08);
    background: rgba(7, 17, 29, .94);
    box-shadow: 0 12px 36px rgba(0,0,0,.16);
}

.admin-bar .bn3-header {
    top: 32px;
}

.bn3-header-inner {
    display: grid;
    grid-template-columns: 190px 1fr auto;
    gap: 34px;
    align-items: center;
    min-height: var(--bn3-header-height);
}

.bn3-logo {
    display: inline-flex;
    align-items: center;
    width: 170px;
}

.bn3-logo img {
    width: 100%;
    max-height: 52px;
    object-fit: contain;
}

.bn3-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(20px, 2vw, 34px);
}

.bn3-nav a {
    position: relative;
    color: rgba(255,255,255,.76);
    font-size: .91rem;
    font-weight: 600;
    white-space: nowrap;
}

.bn3-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -9px;
    width: 100%;
    height: 1px;
    background: var(--bn3-blue-400);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .2s ease;
}

.bn3-nav a:hover,
.bn3-nav a:focus-visible {
    color: #fff;
}

.bn3-nav a:hover::after,
.bn3-nav a:focus-visible::after {
    transform: scaleX(1);
    transform-origin: left;
}

.bn3-header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.bn3-header-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 46px;
    padding: 0 19px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 999px;
    background: #fff;
    color: var(--bn3-navy-900);
    font-size: .88rem;
    font-weight: 800;
    box-shadow: 0 8px 26px rgba(0,0,0,.12);
}

.bn3-header-cta:hover {
    background: var(--bn3-blue-100);
    color: var(--bn3-navy-900);
    transform: translateY(-1px);
}

.bn3-menu-toggle {
    display: none;
    position: relative;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 14px;
    background: transparent;
    cursor: pointer;
}

.bn3-menu-toggle span {
    position: absolute;
    left: 13px;
    width: 20px;
    height: 2px;
    border-radius: 99px;
    background: #fff;
    transition: transform .22s ease, opacity .22s ease, top .22s ease;
}

.bn3-menu-toggle span:nth-child(1) { top: 16px; }
.bn3-menu-toggle span:nth-child(2) { top: 22px; }
.bn3-menu-toggle span:nth-child(3) { top: 28px; }
.bn3-menu-toggle.is-active span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.bn3-menu-toggle.is-active span:nth-child(2) { opacity: 0; }
.bn3-menu-toggle.is-active span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

/* ---------------------------------------------------------
   HERO
--------------------------------------------------------- */

.bn3-hero {
    position: relative;
    overflow: hidden;
    min-height: 820px;
    padding: 172px 0 104px;
    background:
        radial-gradient(circle at 78% 28%, rgba(35,128,201,.20), transparent 30%),
        radial-gradient(circle at 12% 95%, rgba(23,105,170,.16), transparent 34%),
        linear-gradient(135deg, var(--bn3-navy-950) 0%, var(--bn3-navy-900) 58%, #0d1f32 100%);
}

.bn3-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .13;
    background-image:
        linear-gradient(rgba(255,255,255,.09) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.09) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,.9), transparent 92%);
}

.bn3-hero-glow {
    position: absolute;
    right: -140px;
    bottom: -250px;
    width: 620px;
    height: 620px;
    border-radius: 50%;
    background: rgba(35,128,201,.12);
    filter: blur(30px);
}

.bn3-hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(470px, .96fr);
    gap: 76px;
    align-items: center;
}

.bn3-hero .bn3-kicker {
    color: #7fc0ef;
}

.bn3-hero h1 {
    max-width: 760px;
    margin: 0 0 30px;
    color: #fff;
    font-size: clamp(3.25rem, 5.2vw, 5.7rem);
    line-height: .98;
    letter-spacing: -.055em;
}

.bn3-hero h1 span {
    color: #72b8eb;
}

.bn3-hero-lead {
    max-width: 720px;
    margin: 0 0 34px;
    color: rgba(255,255,255,.72);
    font-size: 1.14rem;
    line-height: 1.82;
}

.bn3-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
    align-items: center;
}

.bn3-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    min-height: 52px;
    padding: 0 24px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: .92rem;
    font-weight: 800;
    line-height: 1;
}

.bn3-btn-primary {
    background: #fff;
    color: var(--bn3-navy-900);
    box-shadow: 0 12px 34px rgba(0,0,0,.18);
}

.bn3-btn-primary:hover {
    background: var(--bn3-blue-100);
    color: var(--bn3-navy-900);
    transform: translateY(-2px);
}

.bn3-btn-ghost {
    border-color: rgba(255,255,255,.22);
    background: rgba(255,255,255,.04);
    color: #fff;
}

.bn3-btn-ghost:hover {
    border-color: rgba(255,255,255,.42);
    background: rgba(255,255,255,.08);
    color: #fff;
}

.bn3-techline {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 0;
    margin-top: 46px;
    color: rgba(255,255,255,.48);
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.bn3-techline span {
    display: inline-flex;
    align-items: center;
}

.bn3-techline span:not(:last-child)::after {
    content: "";
    width: 3px;
    height: 3px;
    margin: 0 13px;
    border-radius: 50%;
    background: #5ca7dd;
}

.bn3-system-card {
    position: relative;
    overflow: hidden;
    min-height: 530px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 28px;
    background: rgba(255,255,255,.055);
    box-shadow: 0 34px 100px rgba(0,0,0,.28);
    backdrop-filter: blur(12px);
}

.bn3-system-card::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(135deg, rgba(255,255,255,.08), transparent 32%, transparent 68%, rgba(35,128,201,.08));
}

.bn3-system-topbar {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 16px;
    align-items: center;
    min-height: 58px;
    padding: 0 18px;
    border-bottom: 1px solid rgba(255,255,255,.10);
    color: rgba(255,255,255,.50);
    font-size: .62rem;
    font-weight: 800;
    letter-spacing: .08em;
}

.bn3-system-dots {
    display: flex;
    gap: 5px;
}

.bn3-system-dots i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255,255,255,.25);
}

.bn3-system-status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #8bd09f;
}

.bn3-system-status::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 0 5px rgba(139,208,159,.08);
}

.bn3-system-canvas {
    position: relative;
    min-height: 472px;
    padding: 36px;
}

.bn3-system-canvas::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .12;
    background-image:
        linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px);
    background-size: 32px 32px;
}

.bn3-flow-node {
    position: absolute;
    z-index: 2;
    display: flex;
    flex-direction: column;
    min-width: 190px;
    padding: 18px 20px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 16px;
    background: rgba(8,20,34,.78);
    box-shadow: 0 18px 46px rgba(0,0,0,.20);
}

.bn3-flow-node small {
    margin-bottom: 9px;
    color: #66aee2;
    font-size: .58rem;
    font-weight: 800;
    letter-spacing: .10em;
}

.bn3-flow-node strong {
    color: #fff;
    font-size: .95rem;
    letter-spacing: -.01em;
}

.bn3-flow-node span {
    margin-top: 5px;
    color: rgba(255,255,255,.48);
    font-size: .73rem;
}

.bn3-flow-node-a { top: 52px; left: 38px; }
.bn3-flow-node-main {
    top: 174px;
    left: 50%;
    width: 250px;
    transform: translateX(-50%);
    border-color: rgba(80,161,223,.48);
    background: linear-gradient(135deg, rgba(23,105,170,.32), rgba(9,22,38,.92));
}
.bn3-flow-node-b { top: 300px; right: 36px; }

.bn3-flow-line {
    position: absolute;
    z-index: 1;
    height: 1px;
    background: linear-gradient(90deg, rgba(80,161,223,.08), rgba(80,161,223,.8), rgba(80,161,223,.08));
    transform-origin: left center;
}

.bn3-flow-line-a { top: 151px; left: 150px; width: 220px; transform: rotate(23deg); }
.bn3-flow-line-b { top: 286px; left: 54%; width: 190px; transform: rotate(20deg); }

.bn3-system-metrics {
    position: absolute;
    z-index: 2;
    left: 36px;
    right: 36px;
    bottom: 28px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.bn3-system-metrics div {
    padding: 14px;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 14px;
    background: rgba(255,255,255,.035);
}

.bn3-system-metrics strong {
    display: block;
    margin-bottom: 4px;
    color: #fff;
    font-size: .84rem;
}

.bn3-system-metrics span {
    color: rgba(255,255,255,.44);
    font-size: .67rem;
}

/* ---------------------------------------------------------
   STATEMENT
--------------------------------------------------------- */

.bn3-statement {
    padding: 92px 0;
    border-bottom: 1px solid var(--bn3-line);
    background: #fff;
}

.bn3-statement-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(360px, .9fr);
    gap: 90px;
    align-items: end;
}

.bn3-statement h2 {
    font-size: clamp(2.3rem, 4vw, 4.2rem);
}

.bn3-statement h2 span {
    color: var(--bn3-blue-600);
}

.bn3-statement-copy > p {
    margin: 0 0 30px;
    color: var(--bn3-text);
    font-size: 1.08rem;
    line-height: 1.82;
}

.bn3-process-line {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
    color: var(--bn3-muted);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .03em;
    text-transform: uppercase;
}

.bn3-process-line i {
    color: var(--bn3-blue-500);
    font-style: normal;
}

/* ---------------------------------------------------------
   SERVICES
--------------------------------------------------------- */

.bn3-services {
    background: var(--bn3-surface-soft);
}

.bn3-service-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid var(--bn3-line);
    border-left: 1px solid var(--bn3-line);
}

.bn3-service-card {
    position: relative;
    min-height: 430px;
    padding: 44px;
    border-right: 1px solid var(--bn3-line);
    border-bottom: 1px solid var(--bn3-line);
    background: rgba(255,255,255,.66);
    transition: background .22s ease, transform .22s ease, box-shadow .22s ease;
}

.bn3-service-card:hover {
    z-index: 2;
    background: #fff;
    box-shadow: var(--bn3-shadow-soft);
}

.bn3-service-number {
    position: absolute;
    top: 32px;
    right: 36px;
    color: #c8d2db;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: .08em;
}

.bn3-service-icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin-bottom: 34px;
    border: 1px solid #cbdbe8;
    border-radius: 14px;
    background: #eef6fc;
    color: var(--bn3-blue-600);
}

.bn3-service-icon svg {
    width: 26px;
    height: 26px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.bn3-card-label {
    display: block;
    margin-bottom: 12px;
    color: var(--bn3-blue-600);
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .10em;
    text-transform: uppercase;
}

.bn3-service-card h3 {
    margin: 0 0 16px;
    color: var(--bn3-ink);
    font-size: clamp(1.55rem, 2.3vw, 2.15rem);
    letter-spacing: -.035em;
}

.bn3-service-card p {
    max-width: 520px;
    margin: 0 0 26px;
    color: var(--bn3-text);
    line-height: 1.78;
}

.bn3-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 34px;
}

.bn3-tags span {
    display: inline-flex;
    align-items: center;
    min-height: 29px;
    padding: 0 10px;
    border: 1px solid #dce5ec;
    border-radius: 999px;
    background: #fff;
    color: #657487;
    font-size: .67rem;
    font-weight: 800;
}

.bn3-service-card > a,
.bn3-text-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--bn3-ink);
    font-size: .88rem;
    font-weight: 800;
}

.bn3-service-card > a:hover,
.bn3-text-link:hover {
    color: var(--bn3-blue-600);
}

.bn3-service-card > a span,
.bn3-text-link span {
    transition: transform .2s ease;
}

.bn3-service-card > a:hover span,
.bn3-text-link:hover span {
    transform: translateX(4px);
}

/* ---------------------------------------------------------
   PROJECTS
--------------------------------------------------------- */

.bn3-projects {
    overflow: hidden;
    background: var(--bn3-navy-950);
}

.bn3-projects::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .08;
    background-image:
        linear-gradient(rgba(255,255,255,.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.1) 1px, transparent 1px);
    background-size: 56px 56px;
}

.bn3-projects .bn-container {
    position: relative;
    z-index: 2;
}

.bn3-section-head-light h2,
.bn3-projects h3 {
    color: #fff;
}

.bn3-section-head-light > p {
    max-width: 720px;
    color: rgba(255,255,255,.56);
}

.bn3-projects .bn3-kicker,
.bn3-projects .bn3-card-label {
    color: #74b9eb;
}

.bn3-project-list {
    display: grid;
    gap: 18px;
}

.bn3-project-featured {
    display: grid;
    grid-template-columns: minmax(0, 1.06fr) minmax(380px, .94fr);
    gap: 0;
    overflow: hidden;
    min-height: 510px;
    border: 1px solid var(--bn3-line-dark);
    border-radius: var(--bn3-radius-lg);
    background: rgba(255,255,255,.045);
}

.bn3-project-visual {
    display: grid;
    place-items: center;
    min-height: 510px;
    padding: 50px;
    background:
        radial-gradient(circle at 40% 38%, rgba(35,128,201,.24), transparent 36%),
        linear-gradient(135deg, #0f2237, #0a1725);
}

.bn3-app-window {
    width: min(100%, 580px);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 18px;
    background: #f7f9fb;
    box-shadow: 0 32px 80px rgba(0,0,0,.34);
    transform: perspective(1000px) rotateY(3deg) rotateX(2deg);
}

.bn3-app-top {
    display: flex;
    align-items: center;
    gap: 6px;
    min-height: 42px;
    padding: 0 14px;
    border-bottom: 1px solid #dfe6ec;
    background: #fff;
}

.bn3-app-top span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #c5ced6;
}

.bn3-app-top b {
    margin-left: 8px;
    color: #677485;
    font-size: .65rem;
    font-weight: 700;
}

.bn3-app-body {
    display: grid;
    grid-template-columns: 62px 1fr;
    min-height: 300px;
}

.bn3-app-sidebar {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    padding-top: 22px;
    background: #0e2944;
}

.bn3-app-sidebar i {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: rgba(255,255,255,.10);
}

.bn3-app-sidebar i:first-child {
    background: rgba(80,161,223,.72);
}

.bn3-app-content {
    padding: 25px;
}

.bn3-app-title {
    width: 42%;
    height: 12px;
    margin-bottom: 22px;
    border-radius: 4px;
    background: #1c3650;
}

.bn3-app-kpis {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.bn3-app-kpis i {
    height: 64px;
    border: 1px solid #e2e7eb;
    border-radius: 10px;
    background: #fff;
}

.bn3-app-table {
    overflow: hidden;
    border: 1px solid #e0e6eb;
    border-radius: 10px;
    background: #fff;
}

.bn3-app-table span {
    display: block;
    height: 38px;
    border-bottom: 1px solid #edf0f2;
}

.bn3-app-table span:first-child {
    background: #eef3f7;
}

.bn3-project-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 58px;
}

.bn3-project-copy h3 {
    margin: 0 0 18px;
    font-size: clamp(2rem, 3vw, 3.4rem);
    line-height: 1.05;
    letter-spacing: -.045em;
}

.bn3-project-copy p,
.bn3-project-small p {
    color: rgba(255,255,255,.58);
    line-height: 1.8;
}

.bn3-tags-dark span {
    border-color: rgba(255,255,255,.12);
    background: rgba(255,255,255,.05);
    color: rgba(255,255,255,.62);
}

.bn3-project-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.bn3-project-small {
    min-height: 330px;
    padding: 44px;
    border: 1px solid var(--bn3-line-dark);
    border-radius: var(--bn3-radius);
    background: rgba(255,255,255,.035);
}

.bn3-project-index {
    display: block;
    margin-bottom: 42px;
    color: #6fb4e7;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .11em;
}

.bn3-project-small h3 {
    max-width: 560px;
    margin: 0 0 16px;
    font-size: clamp(1.55rem, 2.3vw, 2.25rem);
    letter-spacing: -.035em;
}

/* ---------------------------------------------------------
   STANDARD SOFTWARE / BENEFITS
--------------------------------------------------------- */

.bn3-standard-software {
    background: #fff;
}

.bn3-standard-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(400px, .98fr);
    gap: 90px;
    align-items: center;
}

.bn3-standard-software h2 {
    max-width: 690px;
    margin-bottom: 20px;
}

.bn3-bigline {
    margin: 0;
    color: var(--bn3-blue-600);
    font-size: clamp(1.35rem, 2vw, 2rem);
    font-weight: 800;
    line-height: 1.35;
}

.bn3-standard-copy > p {
    margin: 0 0 34px;
    color: var(--bn3-text);
    font-size: 1.05rem;
    line-height: 1.85;
}

.bn3-benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--bn3-line);
}

.bn3-benefits div {
    padding: 24px 16px 0 0;
}

.bn3-benefits strong {
    display: block;
    color: var(--bn3-ink);
    font-size: 1.08rem;
}

.bn3-benefits span {
    color: var(--bn3-muted);
    font-size: .82rem;
}

/* ---------------------------------------------------------
   TECH STACK
--------------------------------------------------------- */

.bn3-stack {
    background: var(--bn3-surface-soft);
}

.bn3-stack-grid {
    border-top: 1px solid var(--bn3-line);
}

.bn3-stack-row {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 30px;
    align-items: center;
    min-height: 86px;
    border-bottom: 1px solid var(--bn3-line);
}

.bn3-stack-row span {
    color: var(--bn3-muted);
    font-size: .71rem;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.bn3-stack-row strong {
    color: var(--bn3-ink);
    font-size: clamp(1rem, 1.5vw, 1.3rem);
    letter-spacing: -.015em;
}

/* ---------------------------------------------------------
   ABOUT
--------------------------------------------------------- */

.bn3-about {
    background: #fff;
}

.bn3-about-grid {
    display: grid;
    grid-template-columns: minmax(360px, .8fr) minmax(0, 1.2fr);
    gap: 90px;
    align-items: center;
}

.bn3-person-card {
    position: relative;
    overflow: hidden;
    min-height: 560px;
    border-radius: var(--bn3-radius-lg);
    background:
        radial-gradient(circle at 50% 35%, rgba(80,161,223,.26), transparent 30%),
        linear-gradient(145deg, var(--bn3-navy-900), #132b44);
    box-shadow: var(--bn3-shadow);
}

.bn3-person-card::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .13;
    background-image:
        linear-gradient(rgba(255,255,255,.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.1) 1px, transparent 1px);
    background-size: 44px 44px;
}

.bn3-person-monogram {
    position: absolute;
    top: 50%;
    left: 50%;
    display: grid;
    place-items: center;
    width: 180px;
    height: 180px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 50%;
    color: #fff;
    font-size: 4.6rem;
    font-weight: 800;
    letter-spacing: -.07em;
    transform: translate(-50%, -58%);
    box-shadow: 0 0 0 18px rgba(255,255,255,.025), 0 0 0 36px rgba(255,255,255,.018);
}

.bn3-person-caption {
    position: absolute;
    right: 26px;
    bottom: 26px;
    left: 26px;
    padding: 20px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 16px;
    background: rgba(6,17,29,.62);
    backdrop-filter: blur(14px);
}

.bn3-person-caption span,
.bn3-person-caption small {
    display: block;
}

.bn3-person-caption span {
    margin-bottom: 4px;
    color: #fff;
    font-weight: 800;
}

.bn3-person-caption small {
    color: rgba(255,255,255,.52);
}

.bn3-about-copy {
    max-width: 700px;
}

.bn3-about-copy h2 {
    margin-bottom: 26px;
}

.bn3-about-lead {
    color: var(--bn3-ink) !important;
    font-size: 1.12rem !important;
    font-weight: 600;
}

.bn3-about-copy p {
    color: var(--bn3-text);
    font-size: 1.03rem;
    line-height: 1.85;
}

.bn3-about-copy .bn3-text-link {
    margin-top: 14px;
}

/* ---------------------------------------------------------
   WORKFLOW
--------------------------------------------------------- */

.bn3-workflow {
    border-top: 1px solid var(--bn3-line);
    background: var(--bn3-surface-warm);
}

.bn3-workflow-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid var(--bn3-line);
}

.bn3-workflow-grid article {
    min-height: 280px;
    padding: 34px 28px 0 0;
    border-right: 1px solid var(--bn3-line);
}

.bn3-workflow-grid article:not(:first-child) {
    padding-left: 28px;
}

.bn3-workflow-grid article:last-child {
    border-right: 0;
}

.bn3-workflow-grid article > span {
    display: block;
    margin-bottom: 54px;
    color: var(--bn3-blue-600);
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .12em;
}

.bn3-workflow-grid h3 {
    margin: 0 0 12px;
    color: var(--bn3-ink);
    font-size: 1.42rem;
}

.bn3-workflow-grid p {
    margin: 0;
    color: var(--bn3-text);
    font-size: .94rem;
    line-height: 1.75;
}

/* ---------------------------------------------------------
   PARTNER
--------------------------------------------------------- */

.bn3-partner {
    background: #fff;
}

.bn3-partner-grid {
    display: grid;
    grid-template-columns: minmax(320px, .8fr) minmax(0, 1.2fr);
    gap: 90px;
    align-items: center;
    padding-top: 12px;
    padding-bottom: 12px;
}

.bn3-partner-brand {
    padding: 42px;
    border: 1px solid var(--bn3-line);
    border-radius: var(--bn3-radius);
    background: var(--bn3-surface-soft);
}

.bn3-partner-brand img {
    width: min(100%, 360px);
    max-height: 160px;
    object-fit: contain;
}

.bn3-partner h2 {
    margin-bottom: 24px;
}

.bn3-partner p {
    max-width: 700px;
    color: var(--bn3-text);
    font-size: 1.04rem;
    line-height: 1.85;
}

.bn3-partner .bn3-text-link {
    margin-top: 10px;
}

/* ---------------------------------------------------------
   PRIVATE
--------------------------------------------------------- */

.bn3-private {
    padding-top: 88px;
    padding-bottom: 88px;
    border-top: 1px solid #d9e3eb;
    border-bottom: 1px solid #d9e3eb;
    background: #edf5fa;
}

.bn3-private-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(380px, .85fr);
    gap: 90px;
    align-items: center;
}

.bn3-private h2 {
    max-width: 670px;
    font-size: clamp(2rem, 3.2vw, 3.25rem);
}

.bn3-private p {
    margin: 0 0 22px;
    color: #3f5366;
    font-size: 1.03rem;
    line-height: 1.82;
}

/* ---------------------------------------------------------
   INSIGHTS
--------------------------------------------------------- */

.bn3-insights {
    background: #fff;
}

.bn3-insights-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.bn3-insight-card {
    overflow: hidden;
    border: 1px solid var(--bn3-line);
    border-radius: var(--bn3-radius);
    background: #fff;
    transition: transform .22s ease, box-shadow .22s ease;
}

.bn3-insight-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--bn3-shadow-soft);
}

.bn3-insight-image {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--bn3-navy-900);
}

.bn3-insight-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.bn3-insight-card:hover .bn3-insight-image img {
    transform: scale(1.025);
}

.bn3-insight-placeholder {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    color: rgba(255,255,255,.12);
    font-size: 3rem;
    font-weight: 900;
}

.bn3-insight-body {
    padding: 28px;
}

.bn3-insight-meta {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    color: var(--bn3-muted);
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.bn3-insight-meta span + span::before {
    content: "·";
    margin-right: 12px;
}

.bn3-insight-card h3 {
    margin: 0 0 13px;
    font-size: 1.35rem;
    line-height: 1.25;
}

.bn3-insight-card h3 a {
    color: var(--bn3-ink);
}

.bn3-insight-card h3 a:hover {
    color: var(--bn3-blue-600);
}

.bn3-insight-card p {
    margin: 0 0 24px;
    color: var(--bn3-text);
    font-size: .92rem;
    line-height: 1.7;
}

.bn3-empty-insights {
    grid-column: 1 / -1;
    padding: 36px;
    border: 1px dashed var(--bn3-line);
    border-radius: var(--bn3-radius);
    color: var(--bn3-muted);
}

/* ---------------------------------------------------------
   CTA
--------------------------------------------------------- */

.bn3-cta {
    position: relative;
    overflow: hidden;
    padding: 118px 0;
    background:
        radial-gradient(circle at 50% -40%, rgba(80,161,223,.28), transparent 42%),
        var(--bn3-navy-900);
    text-align: center;
}

.bn3-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .08;
    background-image:
        linear-gradient(rgba(255,255,255,.10) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.10) 1px, transparent 1px);
    background-size: 56px 56px;
}

.bn3-cta-inner {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.bn3-cta .bn3-kicker {
    color: #78bcec;
}

.bn3-cta h2 {
    margin-bottom: 24px;
    color: #fff;
    font-size: clamp(2.45rem, 4.8vw, 4.8rem);
}

.bn3-cta p {
    max-width: 700px;
    margin: 0 auto 32px;
    color: rgba(255,255,255,.62);
    font-size: 1.08rem;
    line-height: 1.8;
}

.bn3-actions-center {
    justify-content: center;
}

.bn3-btn-light {
    background: #fff;
    color: var(--bn3-navy-900);
}

.bn3-btn-light:hover {
    background: var(--bn3-blue-100);
    color: var(--bn3-navy-900);
    transform: translateY(-2px);
}

.bn3-contact-link {
    color: rgba(255,255,255,.72);
    font-size: .9rem;
    font-weight: 700;
}

.bn3-contact-link:hover {
    color: #fff;
}

/* ---------------------------------------------------------
   FOOTER
--------------------------------------------------------- */

.bn3-footer {
    padding: 74px 0 26px;
    border-top: 1px solid rgba(255,255,255,.08);
    background: var(--bn3-navy-950);
    color: rgba(255,255,255,.58);
}

.bn3-footer-main {
    display: grid;
    grid-template-columns: 1.45fr .75fr .75fr .9fr;
    gap: 60px;
    padding-bottom: 62px;
}

.bn3-footer-logo {
    display: inline-flex;
    width: 180px;
    margin-bottom: 20px;
}

.bn3-footer-logo img {
    width: 100%;
    max-height: 55px;
    object-fit: contain;
}

.bn3-footer-brand p {
    max-width: 340px;
    margin: 0;
    color: rgba(255,255,255,.48);
    line-height: 1.75;
}

.bn3-footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.bn3-footer-column h4 {
    margin: 0 0 12px;
    color: #fff;
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .10em;
    text-transform: uppercase;
}

.bn3-footer-column a,
.bn3-footer-column span {
    color: rgba(255,255,255,.52);
    font-size: .88rem;
    line-height: 1.55;
}

.bn3-footer-column a:hover {
    color: #fff;
}

.bn3-footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,.08);
    color: rgba(255,255,255,.34);
    font-size: .78rem;
}

.bn3-footer-bottom > div {
    display: flex;
    gap: 18px;
}

.bn3-footer-bottom a {
    color: rgba(255,255,255,.40);
}

.bn3-footer-bottom a:hover {
    color: #fff;
}

/* ---------------------------------------------------------
   ACCESSIBILITY
--------------------------------------------------------- */

.bn3-header a:focus-visible,
.bn3-header button:focus-visible,
.bn3-btn:focus-visible,
.bn3-text-link:focus-visible,
.bn3-service-card > a:focus-visible,
.bn3-footer a:focus-visible {
    outline: 3px solid #78bcec;
    outline-offset: 4px;
}

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

/* ---------------------------------------------------------
   RESPONSIVE – TABLET / MOBILE
--------------------------------------------------------- */

@media (max-width: 1120px) {
    .bn3-header-inner {
        grid-template-columns: 165px 1fr auto;
        gap: 20px;
    }

    .bn3-logo { width: 155px; }
    .bn3-nav { gap: 19px; }
    .bn3-nav a { font-size: .84rem; }

    .bn3-hero-grid {
        grid-template-columns: minmax(0, 1fr) minmax(420px, .86fr);
        gap: 48px;
    }

    .bn3-system-canvas { padding: 24px; }
    .bn3-flow-node-a { left: 24px; }
    .bn3-flow-node-b { right: 24px; }

    .bn3-section-head-split,
    .bn3-statement-grid,
    .bn3-standard-grid,
    .bn3-about-grid,
    .bn3-partner-grid,
    .bn3-private-grid {
        gap: 58px;
    }

    .bn3-project-copy { padding: 44px; }
    .bn3-footer-main { gap: 36px; }
}

@media (max-width: 980px) {
    :root { --bn3-header-height: 74px; }

    .admin-bar .bn3-header { top: 32px; }

    .bn3-header-inner {
        grid-template-columns: 1fr auto;
        min-height: var(--bn3-header-height);
    }

    .bn3-logo { width: 150px; }
    .bn3-header-cta { display: none; }
    .bn3-menu-toggle { display: block; }

    .bn3-nav {
        position: fixed;
        z-index: 999;
        top: var(--bn3-header-height);
        right: 0;
        bottom: 0;
        left: 0;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 0;
        padding: 44px 28px;
        background: rgba(7,17,29,.985);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: opacity .2s ease, visibility .2s ease, transform .2s ease;
    }

    .admin-bar .bn3-nav { top: calc(var(--bn3-header-height) + 32px); }

    .bn3-nav.is-open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .bn3-nav a {
        width: 100%;
        padding: 17px 0;
        border-bottom: 1px solid rgba(255,255,255,.09);
        color: #fff;
        font-size: 1.35rem;
        font-weight: 700;
        letter-spacing: -.02em;
    }

    .bn3-nav a::after { display: none; }

    .bn3-hero {
        min-height: auto;
        padding-top: 140px;
        padding-bottom: 82px;
    }

    .bn3-hero-grid {
        grid-template-columns: 1fr;
        gap: 58px;
    }

    .bn3-hero-copy { max-width: 780px; }
    .bn3-hero-visual { max-width: 700px; }

    .bn3-section { padding: 88px 0; }

    .bn3-section-head-split,
    .bn3-statement-grid,
    .bn3-standard-grid,
    .bn3-about-grid,
    .bn3-partner-grid,
    .bn3-private-grid {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .bn3-section-head-split > p {
        max-width: 760px;
    }

    .bn3-service-card {
        min-height: 400px;
        padding: 36px;
    }

    .bn3-project-featured {
        grid-template-columns: 1fr;
    }

    .bn3-project-visual { min-height: 430px; }
    .bn3-project-copy { padding: 44px; }

    .bn3-person-card {
        max-width: 620px;
        min-height: 460px;
    }

    .bn3-workflow-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bn3-workflow-grid article {
        border-bottom: 1px solid var(--bn3-line);
    }

    .bn3-workflow-grid article:nth-child(2) { border-right: 0; }
    .bn3-workflow-grid article:nth-child(3),
    .bn3-workflow-grid article:nth-child(4) { border-bottom: 0; }

    .bn3-insights-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bn3-insight-card:last-child:nth-child(odd) {
        grid-column: 1 / -1;
        max-width: calc(50% - 12px);
    }

    .bn3-footer-main {
        grid-template-columns: 1.35fr 1fr 1fr;
    }

    .bn3-footer-contact {
        grid-column: 2 / 4;
    }
}

@media (max-width: 782px) {
    .admin-bar .bn3-header { top: 46px; }
    .admin-bar .bn3-nav { top: calc(var(--bn3-header-height) + 46px); }
}

@media (max-width: 760px) {
    .bn-container,
    .bn-footer .bn-container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .bn3-kicker {
        margin-bottom: 16px;
        font-size: .69rem;
    }

    .bn3-kicker::before { width: 22px; }

    .bn3-hero {
        padding-top: 126px;
        padding-bottom: 68px;
    }

    .bn3-hero h1 {
        font-size: clamp(2.75rem, 12vw, 4.3rem);
    }

    .bn3-hero-lead {
        font-size: 1rem;
        line-height: 1.72;
    }

    .bn3-actions {
        align-items: stretch;
    }

    .bn3-btn {
        width: 100%;
        min-height: 54px;
    }

    .bn3-techline { margin-top: 34px; }

    .bn3-system-card { min-height: 455px; }
    .bn3-system-canvas { min-height: 397px; }
    .bn3-flow-node { min-width: 165px; padding: 14px 15px; }
    .bn3-flow-node-a { top: 34px; left: 18px; }
    .bn3-flow-node-main { top: 144px; width: 210px; }
    .bn3-flow-node-b { top: 252px; right: 18px; }
    .bn3-flow-line-a { top: 125px; left: 125px; width: 160px; }
    .bn3-flow-line-b { top: 239px; width: 145px; }
    .bn3-system-metrics { right: 18px; bottom: 18px; left: 18px; }

    .bn3-statement {
        padding: 72px 0;
    }

    .bn3-section { padding: 74px 0; }

    .bn3-section-head {
        margin-bottom: 38px;
    }

    .bn3-section-head h2,
    .bn3-statement h2,
    .bn3-standard-software h2,
    .bn3-about h2,
    .bn3-partner h2,
    .bn3-private h2 {
        font-size: clamp(2rem, 9vw, 3.25rem);
    }

    .bn3-service-grid {
        grid-template-columns: 1fr;
    }

    .bn3-service-card {
        min-height: auto;
        padding: 32px 26px;
    }

    .bn3-service-icon { margin-bottom: 28px; }

    .bn3-project-visual {
        min-height: 330px;
        padding: 28px 20px;
    }

    .bn3-app-window { transform: none; }
    .bn3-app-body { grid-template-columns: 48px 1fr; min-height: 240px; }
    .bn3-app-content { padding: 18px; }
    .bn3-app-kpis i { height: 48px; }
    .bn3-app-table span { height: 30px; }

    .bn3-project-copy,
    .bn3-project-small {
        padding: 30px 26px;
    }

    .bn3-project-grid {
        grid-template-columns: 1fr;
    }

    .bn3-project-small {
        min-height: 0;
    }

    .bn3-project-index { margin-bottom: 28px; }

    .bn3-benefits {
        grid-template-columns: 1fr;
    }

    .bn3-benefits div {
        padding: 18px 0;
        border-bottom: 1px solid var(--bn3-line);
    }

    .bn3-stack-row {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 20px 0;
    }

    .bn3-person-card {
        min-height: 390px;
    }

    .bn3-person-monogram {
        width: 140px;
        height: 140px;
        font-size: 3.6rem;
    }

    .bn3-workflow-grid {
        grid-template-columns: 1fr;
    }

    .bn3-workflow-grid article,
    .bn3-workflow-grid article:not(:first-child) {
        min-height: 0;
        padding: 28px 0;
        border-right: 0;
        border-bottom: 1px solid var(--bn3-line);
    }

    .bn3-workflow-grid article:last-child { border-bottom: 0; }
    .bn3-workflow-grid article > span { margin-bottom: 18px; }

    .bn3-partner-brand { padding: 28px; }

    .bn3-insights-grid {
        grid-template-columns: 1fr;
    }

    .bn3-insight-card:last-child:nth-child(odd) {
        grid-column: auto;
        max-width: none;
    }

    .bn3-cta {
        padding: 84px 0;
    }

    .bn3-cta h2 {
        font-size: clamp(2.3rem, 10vw, 3.7rem);
    }

    .bn3-actions-center .bn3-contact-link {
        width: 100%;
        padding-top: 6px;
    }

    .bn3-footer {
        padding-top: 56px;
    }

    .bn3-footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 38px 28px;
    }

    .bn3-footer-brand {
        grid-column: 1 / -1;
    }

    .bn3-footer-contact {
        grid-column: 1 / -1;
    }
}

@media (max-width: 520px) {
    .bn3-logo { width: 138px; }
    .bn3-menu-toggle { width: 46px; height: 46px; }

    .bn3-hero h1 {
        font-size: clamp(2.45rem, 13vw, 3.45rem);
    }

    .bn3-system-card {
        min-height: 420px;
        border-radius: 22px;
    }

    .bn3-system-topbar {
        grid-template-columns: auto 1fr;
        font-size: .56rem;
    }

    .bn3-system-status { display: none; }

    .bn3-flow-node {
        min-width: 145px;
        max-width: 170px;
    }

    .bn3-flow-node strong { font-size: .82rem; }
    .bn3-flow-node span { font-size: .64rem; }
    .bn3-flow-node-a { top: 28px; left: 14px; }
    .bn3-flow-node-main { top: 132px; width: 178px; }
    .bn3-flow-node-b { top: 235px; right: 14px; }
    .bn3-flow-line-a { display: none; }
    .bn3-flow-line-b { display: none; }

    .bn3-system-metrics {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
        right: 12px;
        bottom: 12px;
        left: 12px;
    }

    .bn3-system-metrics div { padding: 10px 8px; }
    .bn3-system-metrics span { font-size: .58rem; }

    .bn3-techline span:not(:last-child)::after { margin: 0 9px; }

    .bn3-project-visual {
        min-height: 280px;
    }

    .bn3-app-sidebar { display: none; }
    .bn3-app-body { grid-template-columns: 1fr; }

    .bn3-person-card {
        min-height: 350px;
    }

    .bn3-person-caption {
        right: 18px;
        bottom: 18px;
        left: 18px;
    }

    .bn3-footer-main {
        grid-template-columns: 1fr;
    }

    .bn3-footer-brand,
    .bn3-footer-contact {
        grid-column: auto;
    }

    .bn3-footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* =========================================================
   COMPLETE REDESIGN – GLOBAL SUBPAGES / MOBILE MENU
   ========================================================= */

/* ---------- Final hero workflow spacing ---------- */
.bn3-system-card { min-height: 590px; }
.bn3-system-canvas { min-height: 532px; }
.bn3-flow-node-a { top: 48px !important; left: 38px !important; }
.bn3-flow-node-main { top: 180px !important; left: 50% !important; width: 250px !important; transform: translateX(-50%) !important; }
.bn3-flow-node-b { top: 315px !important; right: 30px !important; bottom: auto !important; min-width: 190px !important; padding: 18px 20px !important; }
.bn3-flow-line-a { top: 148px !important; left: 150px !important; width: 220px !important; transform: rotate(23deg) !important; }
.bn3-flow-line-b { top: 286px !important; left: 54% !important; bottom: auto !important; width: 190px !important; transform: rotate(20deg) !important; }
.bn3-system-metrics { left: 36px !important; right: 36px !important; bottom: 24px !important; }
.bn3-system-metrics div { padding: 14px !important; }

/* ---------- Shared subpage hero ---------- */
.bn3-page-hero {
    position: relative;
    overflow: hidden;
    padding: calc(var(--bn3-header-height) + 96px) 0 96px;
    border-bottom: 1px solid rgba(255,255,255,.10);
    background:
        radial-gradient(circle at 82% 28%, rgba(35,128,201,.17), transparent 32%),
        linear-gradient(118deg, #07111d 0%, #0b1a2b 55%, #102b43 100%);
}

.bn3-page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .12;
    background-image:
        linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: linear-gradient(to right, transparent 0%, #000 48%, #000 100%);
}

.bn3-page-hero-compact { padding-bottom: 76px; }

.bn3-page-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(340px, .75fr);
    gap: 90px;
    align-items: center;
}

.bn3-page-hero h1,
.bn3-article-hero h1 {
    max-width: 900px;
    margin: 0 0 28px;
    color: #fff;
    font-size: clamp(3rem, 6vw, 5.8rem);
    line-height: .99;
    letter-spacing: -.055em;
}

.bn3-page-hero p {
    max-width: 780px;
    margin: 0;
    color: rgba(255,255,255,.68);
    font-size: clamp(1.02rem, 1.4vw, 1.17rem);
    line-height: 1.8;
}

.bn3-page-hero .bn3-actions { margin-top: 34px; }

.bn3-page-hero-aside,
.bn3-contact-hero-card {
    padding: 30px;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 24px;
    background: rgba(255,255,255,.045);
    box-shadow: 0 24px 70px rgba(0,0,0,.18);
    backdrop-filter: blur(12px);
}

.bn3-page-aside-label {
    display: block;
    margin-bottom: 20px;
    color: var(--bn3-blue-400);
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.bn3-page-aside-list { display: grid; }
.bn3-page-aside-list > span {
    display: grid;
    grid-template-columns: 36px 1fr;
    gap: 12px;
    align-items: center;
    min-height: 54px;
    border-top: 1px solid rgba(255,255,255,.10);
    color: rgba(80,161,223,.72);
    font-size: .68rem;
    font-weight: 800;
}
.bn3-page-aside-list > span:last-child { border-bottom: 1px solid rgba(255,255,255,.10); }
.bn3-page-aside-list strong { color: #fff; font-size: .93rem; font-weight: 700; }

.bn3-page-aside-chips { display: flex; flex-wrap: wrap; gap: 9px; }
.bn3-page-aside-chips span {
    padding: 8px 12px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 999px;
    color: rgba(255,255,255,.72);
    font-size: .76rem;
    font-weight: 700;
}

/* ---------- Shared page sections ---------- */
.bn3-page-section { padding: 106px 0; background: #fff; }
.bn3-page-soft { background: var(--bn3-surface-soft); }
.bn3-page-dark {
    background:
        radial-gradient(circle at 82% 20%, rgba(35,128,201,.13), transparent 32%),
        var(--bn3-navy-900);
}

.bn3-page-intro { border-bottom: 1px solid var(--bn3-line); }

.bn3-editorial-split {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: 90px;
    align-items: center;
}
.bn3-editorial-split-top { align-items: start; }
.bn3-editorial-split h2,
.bn3-page-section-head h2,
.bn3-solution-copy h2,
.bn3-contact-copy h2,
.bn3-form-card h2,
.bn3-service-trust-grid h2,
.bn3-partner-detail-copy h2 {
    margin: 0;
    color: var(--bn3-ink);
    font-size: clamp(2.25rem, 4vw, 4rem);
    line-height: 1.03;
    letter-spacing: -.045em;
}

.bn3-lead-copy {
    color: var(--bn3-ink) !important;
    font-size: 1.15rem !important;
    font-weight: 600;
    line-height: 1.75 !important;
}

.bn3-rich-copy p,
.bn3-solution-copy > p,
.bn3-contact-copy > p,
.bn3-form-card > p {
    color: var(--bn3-text);
    font-size: 1.03rem;
    line-height: 1.85;
}

.bn3-inline-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 28px;
}
.bn3-inline-facts span {
    padding: 8px 12px;
    border: 1px solid var(--bn3-line);
    border-radius: 999px;
    color: var(--bn3-text);
    background: #fff;
    font-size: .76rem;
    font-weight: 700;
}

.bn3-page-section-head {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, .75fr);
    gap: 70px;
    align-items: end;
    margin-bottom: 52px;
}
.bn3-page-section-head > p {
    margin: 0 0 5px;
    color: var(--bn3-text);
    font-size: 1.02rem;
    line-height: 1.75;
}
.bn3-page-section-head-light h2 { color: #fff; }
.bn3-page-section-head-light > p { color: rgba(255,255,255,.62); }

/* ---------- Feature cards ---------- */
.bn3-feature-grid { display: grid; gap: 0; border: 1px solid var(--bn3-line); }
.bn3-feature-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bn3-feature-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.bn3-feature-card {
    position: relative;
    min-height: 310px;
    padding: 34px;
    border-right: 1px solid var(--bn3-line);
    background: rgba(255,255,255,.72);
    transition: background .2s ease, transform .2s ease;
}
.bn3-feature-card:last-child { border-right: 0; }
.bn3-feature-card:hover { z-index: 2; background: #fff; }
.bn3-feature-index {
    display: block;
    margin-bottom: 42px;
    color: #a9b6c4;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .10em;
}
.bn3-feature-card h3 { margin: 0 0 16px; color: var(--bn3-ink); font-size: 1.45rem; letter-spacing: -.025em; }
.bn3-feature-card p { margin: 0 0 24px; color: var(--bn3-text); line-height: 1.75; }
.bn3-feature-card-compact { min-height: 240px; }
.bn3-feature-card-compact h3 { margin-top: 30px; }

.bn3-example-strip {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 32px;
    margin-top: 28px;
    padding: 24px 28px;
    border: 1px solid var(--bn3-line);
    border-radius: 16px;
    background: #fff;
}
.bn3-example-strip span { color: var(--bn3-blue-600); font-size: .71rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.bn3-example-strip div { color: var(--bn3-text); font-size: .92rem; line-height: 1.65; }

/* ---------- Process / solution split ---------- */
.bn3-solution-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(420px, .95fr);
    gap: 90px;
    align-items: center;
}
.bn3-solution-copy h2 { margin-bottom: 28px; }
.bn3-check-list { display: grid; gap: 0; margin: 32px 0 0; padding: 0; list-style: none; }
.bn3-check-list li {
    position: relative;
    padding: 15px 0 15px 30px;
    border-top: 1px solid var(--bn3-line);
    color: var(--bn3-ink);
    font-weight: 650;
}
.bn3-check-list li:last-child { border-bottom: 1px solid var(--bn3-line); }
.bn3-check-list li::before { content: "→"; position: absolute; left: 0; color: var(--bn3-blue-500); }

.bn3-process-panel {
    padding: 34px;
    border: 1px solid var(--bn3-line);
    border-radius: 28px;
    background: var(--bn3-surface-soft);
    box-shadow: var(--bn3-shadow-soft);
}
.bn3-process-panel > div {
    display: grid;
    grid-template-columns: 38px 1fr;
    gap: 7px 14px;
    padding: 22px;
    border: 1px solid var(--bn3-line);
    border-radius: 16px;
    background: #fff;
}
.bn3-process-panel > div span { grid-row: 1 / 3; color: var(--bn3-blue-500); font-size: .67rem; font-weight: 800; }
.bn3-process-panel > div strong { color: var(--bn3-ink); }
.bn3-process-panel > div small { color: var(--bn3-muted); }
.bn3-process-panel > i { display: block; margin: 7px 0 7px 38px; color: var(--bn3-blue-400); font-style: normal; transform: rotate(90deg); transform-origin: left center; }

/* ---------- Dark cards ---------- */
.bn3-dark-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.bn3-dark-card-grid article {
    min-height: 330px;
    padding: 34px;
    border: 1px solid rgba(255,255,255,.11);
    border-radius: 20px;
    background: rgba(255,255,255,.035);
}
.bn3-dark-card-grid article > span { color: var(--bn3-blue-400); font-size: .68rem; font-weight: 800; letter-spacing: .1em; }
.bn3-dark-card-grid h3 { margin: 58px 0 16px; color: #fff; font-size: 1.55rem; }
.bn3-dark-card-grid p { color: rgba(255,255,255,.58); line-height: 1.75; }

/* ---------- Private section ---------- */
.bn3-private-page { background: #edf5fb; }
.bn3-private-page-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 90px; align-items: center; }
.bn3-private-page h2 { margin: 0 0 24px; color: var(--bn3-ink); font-size: clamp(2.2rem,4vw,4rem); line-height: 1.03; letter-spacing: -.045em; }
.bn3-private-page p { color: var(--bn3-text); line-height: 1.8; }
.bn3-private-service-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); border-top: 1px solid #cbdce8; }
.bn3-private-service-list span { padding: 22px 18px 22px 0; border-bottom: 1px solid #cbdce8; color: var(--bn3-ink); font-weight: 700; }

/* ---------- About page ---------- */
.bn3-page-hero-photo {
    position: relative;
    overflow: hidden;
    min-height: 480px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 28px;
    background: #10243a;
    box-shadow: 0 30px 80px rgba(0,0,0,.27);
}
.bn3-page-hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.bn3-page-hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(4,13,23,.86), transparent 42%); }
.bn3-page-photo-caption { position: absolute; z-index: 2; right: 24px; bottom: 24px; left: 24px; padding: 18px; border: 1px solid rgba(255,255,255,.12); border-radius: 15px; background: rgba(5,15,26,.68); backdrop-filter: blur(12px); }
.bn3-page-photo-caption strong, .bn3-page-photo-caption span { display: block; }
.bn3-page-photo-caption strong { color: #fff; }
.bn3-page-photo-caption span { margin-top: 4px; color: rgba(255,255,255,.55); font-size: .8rem; }
.bn3-about-values { border-top: 1px solid var(--bn3-line); }

.bn3-partner-detail-grid { display: grid; grid-template-columns: minmax(300px,.75fr) minmax(0,1.25fr); gap: 90px; align-items: start; }
.bn3-partner-logo-card { display: grid; place-items: center; min-height: 280px; padding: 40px; border: 1px solid rgba(255,255,255,.11); border-radius: 22px; background: #fff; }
.bn3-partner-logo-card img { width: min(100%, 330px); height: auto; object-fit: contain; }
.bn3-partner-detail-brand > p { margin: 18px 0 0; color: rgba(255,255,255,.5); font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.bn3-partner-detail-copy h2 { margin-bottom: 26px; color: #fff; }
.bn3-partner-detail-copy > p { color: rgba(255,255,255,.62); line-height: 1.8; }
.bn3-partner-detail-copy .bn3-partner-detail-lead { color: rgba(255,255,255,.82); font-size: 1.08rem; font-weight: 600; }
.bn3-partner-detail-copy strong { color: #fff; }
.bn3-partner-mini-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin: 32px 0; }
.bn3-partner-mini-grid > * { padding: 18px; border: 1px solid rgba(255,255,255,.10); border-radius: 14px; background: rgba(255,255,255,.035); }
.bn3-partner-mini-grid small, .bn3-partner-mini-grid strong { display: block; }
.bn3-partner-mini-grid small { margin-bottom: 7px; color: var(--bn3-blue-400); font-size: .62rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.bn3-partner-mini-grid strong { color: rgba(255,255,255,.78); font-size: .8rem; line-height: 1.5; overflow-wrap: anywhere; }

/* ---------- Contact ---------- */
.bn3-contact-hero-card { display: grid; gap: 8px; }
.bn3-contact-hero-card strong { margin-bottom: 8px; color: #fff; font-size: 1.35rem; }
.bn3-contact-hero-card a { color: #fff; font-size: 1rem; font-weight: 700; }
.bn3-contact-hero-card > span:last-child { margin-top: 6px; color: rgba(255,255,255,.48); }

.bn3-contact-grid { display: grid; grid-template-columns: minmax(0,.85fr) minmax(420px,1.15fr); gap: 80px; align-items: start; }
.bn3-contact-copy h2, .bn3-form-card h2 { margin-bottom: 25px; }
.bn3-contact-points { display: grid; margin-top: 38px; border-top: 1px solid var(--bn3-line); }
.bn3-contact-points > div { display: grid; grid-template-columns: 45px 1fr; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--bn3-line); }
.bn3-contact-points > div > span { color: var(--bn3-blue-500); font-size: .67rem; font-weight: 800; }
.bn3-contact-points strong { color: var(--bn3-ink); }
.bn3-contact-points p { margin: 5px 0 0; color: var(--bn3-muted); font-size: .9rem; line-height: 1.6; }
.bn3-contact-direct { display: grid; gap: 7px; margin-top: 34px; }
.bn3-contact-direct small { color: var(--bn3-muted); }
.bn3-contact-direct a { display: flex; justify-content: space-between; max-width: 360px; color: var(--bn3-ink); font-weight: 800; }
.bn3-contact-direct a span { color: var(--bn3-blue-500); }

.bn3-form-card { padding: 42px; border: 1px solid var(--bn3-line); border-radius: 26px; background: var(--bn3-surface-soft); box-shadow: var(--bn3-shadow-soft); }
.bn3-fluent-form { margin-top: 30px; }
.bn3-fluent-form .ff-el-group { margin-bottom: 18px !important; }
.bn3-fluent-form label { color: var(--bn3-ink) !important; font-size: .82rem !important; font-weight: 750 !important; }
.bn3-fluent-form input:not([type="checkbox"]):not([type="radio"]),
.bn3-fluent-form textarea,
.bn3-fluent-form select {
    min-height: 50px !important;
    padding: 12px 14px !important;
    border: 1px solid #d6e0e8 !important;
    border-radius: 11px !important;
    background: #fff !important;
    color: var(--bn3-ink) !important;
    box-shadow: none !important;
}
.bn3-fluent-form textarea { min-height: 150px !important; }
.bn3-fluent-form input:focus,
.bn3-fluent-form textarea:focus,
.bn3-fluent-form select:focus { border-color: var(--bn3-blue-400) !important; box-shadow: 0 0 0 3px rgba(80,161,223,.10) !important; }
.bn3-fluent-form .ff-btn-submit { min-height: 52px !important; padding: 0 24px !important; border: 0 !important; border-radius: 999px !important; background: var(--bn3-navy-900) !important; color: #fff !important; font-weight: 800 !important; }
.bn3-fluent-form .ff-btn-submit:hover { background: var(--bn3-blue-600) !important; }

.bn3-region-strip { display: grid; grid-template-columns: repeat(3,1fr); border: 1px solid var(--bn3-line); background: #fff; }
.bn3-region-strip > div { padding: 30px; border-right: 1px solid var(--bn3-line); }
.bn3-region-strip > div:last-child { border-right: 0; }
.bn3-region-strip strong, .bn3-region-strip span { display: block; }
.bn3-region-strip strong { margin-bottom: 8px; color: var(--bn3-ink); font-size: 1.1rem; }
.bn3-region-strip span { color: var(--bn3-muted); line-height: 1.6; }

/* ---------- Service ---------- */
.bn3-service-trust-grid { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: 90px; align-items: center; }
.bn3-service-trust-grid h2 { margin-bottom: 22px; color: #fff; }
.bn3-service-trust-grid p { color: rgba(255,255,255,.58); line-height: 1.8; }
.bn3-service-trust-list { display: grid; border-top: 1px solid rgba(255,255,255,.12); }
.bn3-service-trust-list span { padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.84); font-weight: 700; }
.bn3-service-trust-list span::before { content: "→"; margin-right: 14px; color: var(--bn3-blue-400); }

/* ---------- Insights listing ---------- */
.bn3-insights-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; }
.bn3-insight-card { overflow: hidden; border: 1px solid var(--bn3-line); border-radius: 20px; background: #fff; box-shadow: none; transition: transform .2s ease, box-shadow .2s ease; }
.bn3-insight-card:hover { transform: translateY(-4px); box-shadow: var(--bn3-shadow-soft); }
.bn3-insight-media { display: block; overflow: hidden; aspect-ratio: 16 / 10; background: #e8eef3; }
.bn3-insight-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.bn3-insight-card:hover .bn3-insight-media img { transform: scale(1.025); }
.bn3-insight-placeholder { display: grid; place-items: center; width: 100%; height: 100%; background: linear-gradient(135deg,#0b1726,#163653); color: rgba(255,255,255,.38); font-size: .68rem; font-weight: 800; letter-spacing: .16em; }
.bn3-insight-body { padding: 26px; }
.bn3-insight-meta { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 18px; color: var(--bn3-muted); font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; }
.bn3-insight-meta span { color: var(--bn3-blue-600); }
.bn3-insight-body h2 { margin: 0 0 14px; font-size: 1.45rem; line-height: 1.2; letter-spacing: -.025em; }
.bn3-insight-body h2 a { color: var(--bn3-ink); }
.bn3-insight-body p { color: var(--bn3-text); line-height: 1.7; }
.bn3-empty-state { grid-column: 1 / -1; padding: 50px; border: 1px solid var(--bn3-line); border-radius: 20px; background: #fff; }
.bn3-empty-state h2 { color: var(--bn3-ink); }
.bn3-pagination { display: flex; justify-content: center; gap: 8px; margin-top: 48px; }
.bn3-pagination .page-numbers { display: grid; place-items: center; min-width: 42px; min-height: 42px; padding: 0 12px; border: 1px solid var(--bn3-line); border-radius: 10px; background: #fff; color: var(--bn3-ink); font-weight: 700; }
.bn3-pagination .page-numbers.current { border-color: var(--bn3-navy-900); background: var(--bn3-navy-900); color: #fff; }

/* ---------- Single article ---------- */
.bn3-article-hero { padding: calc(var(--bn3-header-height) + 88px) 0 78px; background: linear-gradient(130deg,#07111d,#0f2b44); }
.bn3-article-hero-inner { max-width: 920px; }
.bn3-article-back { display: inline-flex; margin-bottom: 36px; color: rgba(255,255,255,.56); font-size: .82rem; font-weight: 700; }
.bn3-article-back:hover { color: #fff; }
.bn3-article-hero h1 { max-width: 920px; font-size: clamp(2.7rem,5vw,5rem); }
.bn3-article-meta { display: flex; gap: 22px; color: rgba(255,255,255,.48); font-size: .78rem; font-weight: 700; }
.bn3-article-section { padding: 82px 0 110px; background: var(--bn3-surface-soft); }
.bn3-article-layout { display: grid; grid-template-columns: minmax(0,820px) minmax(260px,1fr); gap: 70px; align-items: start; }
.bn3-article { overflow: hidden; border: 1px solid var(--bn3-line); border-radius: 22px; background: #fff; }
.bn3-article-image { margin: 0; aspect-ratio: 16 / 9; overflow: hidden; }
.bn3-article-image img { width: 100%; height: 100%; object-fit: cover; }
.bn3-article-content { padding: clamp(30px,5vw,58px); color: var(--bn3-text); font-size: 1.04rem; line-height: 1.85; }
.bn3-article-content h2, .bn3-article-content h3 { color: var(--bn3-ink); letter-spacing: -.03em; }
.bn3-article-content h2 { margin: 46px 0 20px; font-size: 2rem; }
.bn3-article-content h3 { margin: 34px 0 16px; font-size: 1.45rem; }
.bn3-article-content a { color: var(--bn3-blue-600); text-decoration: underline; text-underline-offset: 3px; }
.bn3-article-content img { max-width: 100%; height: auto; border-radius: 14px; }
.bn3-article-aside { position: sticky; top: 112px; }
.bn3-article-aside-card { padding: 28px; border: 1px solid var(--bn3-line); border-radius: 18px; background: #fff; }
.bn3-article-aside-card h3 { margin: 0 0 14px; color: var(--bn3-ink); font-size: 1.25rem; }
.bn3-article-aside-card p { color: var(--bn3-text); line-height: 1.65; }

/* ---------- Legal ---------- */
.bn3-legal-hero h1 { font-size: clamp(3rem,5vw,5rem); }
.bn3-legal-section { padding: 80px 0 110px; background: var(--bn3-surface-soft); }
.bn3-legal-layout { display: grid; grid-template-columns: 280px minmax(0,1fr); gap: 64px; align-items: start; }
.bn3-legal-aside { position: sticky; top: 112px; display: grid; gap: 8px; padding: 26px; border: 1px solid var(--bn3-line); border-radius: 18px; background: #fff; color: var(--bn3-text); font-size: .88rem; line-height: 1.6; }
.bn3-legal-aside strong { color: var(--bn3-ink); font-size: 1.05rem; }
.bn3-legal-aside a { color: var(--bn3-blue-600); font-weight: 700; }
.bn3-legal-toc a { padding: 9px 0; border-top: 1px solid var(--bn3-line); color: var(--bn3-text); font-size: .78rem; }
.bn3-legal-toc a:last-child { border-bottom: 1px solid var(--bn3-line); }
.bn3-legal-content { display: grid; gap: 18px; }
.bn3-legal-card { display: grid; grid-template-columns: 58px 1fr; gap: 22px; padding: 38px; border: 1px solid var(--bn3-line); border-radius: 18px; background: #fff; scroll-margin-top: 115px; }
.bn3-legal-number { color: #a5b2bf; font-size: .72rem; font-weight: 800; letter-spacing: .1em; }
.bn3-legal-card h2 { margin: 0 0 20px; color: var(--bn3-ink); font-size: clamp(1.65rem,2.6vw,2.35rem); letter-spacing: -.035em; }
.bn3-legal-card h3 { margin: 30px 0 12px; color: var(--bn3-ink); font-size: 1.2rem; }
.bn3-legal-card p { color: var(--bn3-text); line-height: 1.8; }
.bn3-legal-card a { color: var(--bn3-blue-600); font-weight: 650; }
.bn3-legal-source { padding: 18px 22px; color: var(--bn3-muted); font-size: .76rem; }

/* ---------- Generic pages ---------- */
.bn3-page-hero-generic h1 { margin-bottom: 0; }
.bn3-generic-page { max-width: 920px; }
.bn3-generic-content { color: var(--bn3-text); line-height: 1.85; }
.bn3-generic-content h2, .bn3-generic-content h3 { color: var(--bn3-ink); letter-spacing: -.03em; }
.bn3-generic-content h2 { margin-top: 44px; font-size: 2rem; }
.bn3-generic-content h3 { margin-top: 32px; font-size: 1.4rem; }

/* ---------- Footer CTA ---------- */
.bn3-footer-cta { padding: 76px 0; border-bottom: 1px solid rgba(255,255,255,.10); background: #0b1726; }
.bn3-footer-cta-inner { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(360px,.85fr); gap: 80px; align-items: end; }
.bn3-footer-cta h2 { margin: 0; color: #fff; font-size: clamp(2.2rem,4vw,4rem); line-height: 1.03; letter-spacing: -.045em; }
.bn3-footer-cta-copy p { margin: 0 0 24px; color: rgba(255,255,255,.58); line-height: 1.75; }

/* =========================================================
   MOBILE OFF-CANVAS MENU
   ========================================================= */

.bn3-menu-toggle { display: none !important; }

.bn3-mobile-overlay {
    position: fixed;
    z-index: 1998;
    inset: 0;
    background: rgba(2,10,18,.70);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .28s ease, visibility .28s ease;
}

.bn3-mobile-drawer {
    position: fixed;
    z-index: 1999;
    top: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    width: min(430px,92vw);
    height: 100dvh;
    border-left: 1px solid rgba(255,255,255,.10);
    background:
        radial-gradient(circle at 100% 0%, rgba(35,128,201,.18), transparent 38%),
        linear-gradient(165deg,#0d2033 0%,#081522 46%,#07111d 100%);
    box-shadow: -30px 0 90px rgba(0,0,0,.42);
    transform: translateX(105%);
    transition: transform .38s cubic-bezier(.22,1,.36,1);
}

body.bn3-menu-open .bn3-mobile-overlay { opacity: 1; visibility: visible; }
body.bn3-menu-open .bn3-mobile-drawer { transform: translateX(0); }

.bn3-mobile-drawer-head { display: flex; align-items: center; justify-content: space-between; min-height: 82px; padding: 0 26px; border-bottom: 1px solid rgba(255,255,255,.10); }
.bn3-mobile-logo { display: flex; align-items: center; width: 154px; }
.bn3-mobile-logo img { display: block; width: 100%; height: auto; }
.bn3-mobile-drawer-body { flex: 1; overflow-y: auto; padding: 34px 26px 30px; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.15) transparent; }
.bn3-mobile-menu-label { display: block; margin-bottom: 19px; color: var(--bn3-blue-400); font-size: .67rem; font-weight: 800; line-height: 1; letter-spacing: .16em; text-transform: uppercase; }
.bn3-mobile-nav { display: flex; flex-direction: column; }
.bn3-mobile-nav a { position: relative; display: grid; grid-template-columns: 35px minmax(0,1fr) auto; gap: 12px; align-items: center; min-height: 68px; border-top: 1px solid rgba(255,255,255,.10); color: #fff; transition: padding-left .22s ease,color .22s ease; }
.bn3-mobile-nav a:last-child { border-bottom: 1px solid rgba(255,255,255,.10); }
.bn3-mobile-nav a::before { content: ""; position: absolute; top: 0; bottom: 0; left: -26px; width: 3px; border-radius: 0 4px 4px 0; background: var(--bn3-blue-400); opacity: 0; transform: scaleY(.25); transition: opacity .22s ease,transform .22s ease; }
.bn3-mobile-nav a:hover, .bn3-mobile-nav a:focus-visible { padding-left: 8px; color: #fff; }
.bn3-mobile-nav a:hover::before, .bn3-mobile-nav a:focus-visible::before { opacity: 1; transform: scaleY(.55); }
.bn3-mobile-nav-index { color: rgba(80,161,223,.72); font-size: .62rem; font-weight: 800; letter-spacing: .10em; }
.bn3-mobile-nav-title { font-size: 1.28rem; font-weight: 700; line-height: 1.2; letter-spacing: -.025em; }
.bn3-mobile-nav-arrow { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid rgba(255,255,255,.10); border-radius: 50%; color: rgba(255,255,255,.55); font-size: .86rem; transition: border-color .2s ease,background .2s ease,color .2s ease,transform .2s ease; }
.bn3-mobile-nav a:hover .bn3-mobile-nav-arrow, .bn3-mobile-nav a:focus-visible .bn3-mobile-nav-arrow { border-color: rgba(80,161,223,.4); background: rgba(80,161,223,.12); color: #fff; transform: translateX(2px); }

.bn3-mobile-contact { margin-top: 38px; padding: 24px; border: 1px solid rgba(80,161,223,.20); border-radius: 20px; background: linear-gradient(135deg,rgba(35,128,201,.15),rgba(255,255,255,.025)); }
.bn3-mobile-contact > span { display: block; margin-bottom: 5px; color: rgba(255,255,255,.52); font-size: .75rem; }
.bn3-mobile-contact > strong { display: block; max-width: 260px; margin-bottom: 20px; color: #fff; font-size: 1.18rem; line-height: 1.35; letter-spacing: -.02em; }
.bn3-mobile-contact-btn { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 52px; padding: 0 19px; border-radius: 999px; background: #fff; color: var(--bn3-navy-900) !important; font-size: .88rem; font-weight: 800; box-shadow: 0 14px 38px rgba(0,0,0,.20); }
.bn3-mobile-contact-btn:hover { background: var(--bn3-blue-100); }
.bn3-mobile-drawer-footer { padding: 21px 26px calc(21px + env(safe-area-inset-bottom)); border-top: 1px solid rgba(255,255,255,.10); background: rgba(4,13,23,.50); }
.bn3-mobile-legal { display: flex; align-items: center; gap: 9px; margin-bottom: 8px; color: rgba(255,255,255,.32); }
.bn3-mobile-legal a { color: rgba(255,255,255,.62); font-size: .75rem; font-weight: 600; }
.bn3-mobile-legal a:hover { color: var(--bn3-blue-400); }
.bn3-mobile-copyright { color: rgba(255,255,255,.30); font-size: .68rem; }

.bn3-mobile-close {
    position: relative !important;
    display: block !important;
    flex: 0 0 46px;
    width: 46px !important;
    height: 46px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 1px solid rgba(255,255,255,.14) !important;
    border-radius: 14px !important;
    outline: none !important;
    box-shadow: none !important;
    background: rgba(255,255,255,.035) !important;
    background-image: none !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    cursor: pointer;
}
.bn3-mobile-close:hover, .bn3-mobile-close:focus-visible { border-color: rgba(80,161,223,.55) !important; background: rgba(80,161,223,.09) !important; }
.bn3-mobile-close span { position: absolute !important; top: 21px !important; left: 13px !important; display: block !important; width: 20px !important; height: 2px !important; border: 0 !important; border-radius: 999px !important; background: #fff !important; }
.bn3-mobile-close span:first-child { transform: rotate(45deg) !important; }
.bn3-mobile-close span:last-child { transform: rotate(-45deg) !important; }
.bn3-mobile-close:hover span { background: #6bb5e8 !important; }

/* ---------- Desktop nav button reset ---------- */
@media (min-width: 981px) {
    .bn3-menu-toggle { display: none !important; }
}

/* =========================================================
   COMPLETE RESPONSIVE
   ========================================================= */
@media (max-width: 1120px) {
    .bn3-page-hero-grid { gap: 58px; }
    .bn3-editorial-split, .bn3-solution-split, .bn3-contact-grid, .bn3-service-trust-grid, .bn3-partner-detail-grid, .bn3-footer-cta-inner { gap: 58px; }
    .bn3-feature-card { padding: 28px; }
    .bn3-partner-mini-grid { grid-template-columns: 1fr; }
}

@media (max-width: 980px) {
    .bn3-desktop-nav { display: none !important; }
    .bn3-header-inner { grid-template-columns: 1fr auto !important; }
    .bn3-header-cta { display: none !important; }
    .bn3-menu-toggle {
        position: relative;
        display: block !important;
        width: 46px !important;
        height: 46px !important;
        padding: 0 !important;
        margin: 0 !important;
        border: 1px solid rgba(255,255,255,.14) !important;
        border-radius: 14px !important;
        outline: none !important;
        box-shadow: none !important;
        background: rgba(255,255,255,.035) !important;
        background-image: none !important;
        appearance: none !important;
        -webkit-appearance: none !important;
        cursor: pointer;
    }
    .bn3-menu-toggle:hover, .bn3-menu-toggle:focus-visible { border-color: rgba(80,161,223,.55) !important; background: rgba(80,161,223,.09) !important; }
    .bn3-menu-toggle span { position: absolute !important; left: auto !important; right: 12px !important; display: block !important; height: 2px !important; border: 0 !important; border-radius: 999px !important; background: #fff !important; opacity: 1 !important; transform: none !important; transition: width .2s ease,background .2s ease !important; }
    .bn3-menu-toggle span:nth-child(1) { top: 14px !important; width: 20px !important; }
    .bn3-menu-toggle span:nth-child(2) { top: 21px !important; width: 15px !important; }
    .bn3-menu-toggle span:nth-child(3) { top: 28px !important; width: 10px !important; }
    .bn3-menu-toggle:hover span:nth-child(1), .bn3-menu-toggle:hover span:nth-child(2), .bn3-menu-toggle:hover span:nth-child(3) { width: 20px !important; background: #6bb5e8 !important; }

    .bn3-page-hero { padding-top: calc(var(--bn3-header-height) + 68px); }
    .bn3-page-hero-grid { grid-template-columns: 1fr; }
    .bn3-page-hero-aside, .bn3-contact-hero-card { max-width: 620px; }
    .bn3-page-hero-photo { min-height: 520px; max-width: 620px; }
    .bn3-editorial-split, .bn3-solution-split, .bn3-contact-grid, .bn3-service-trust-grid, .bn3-partner-detail-grid, .bn3-private-page-grid, .bn3-footer-cta-inner { grid-template-columns: 1fr; }
    .bn3-page-section-head { grid-template-columns: 1fr; gap: 24px; }
    .bn3-feature-grid-3, .bn3-feature-grid-4 { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .bn3-feature-card { border-bottom: 1px solid var(--bn3-line); }
    .bn3-feature-grid-3 .bn3-feature-card:nth-child(2), .bn3-feature-grid-4 .bn3-feature-card:nth-child(2n) { border-right: 0; }
    .bn3-dark-card-grid { grid-template-columns: 1fr; }
    .bn3-dark-card-grid article { min-height: 250px; }
    .bn3-dark-card-grid h3 { margin-top: 34px; }
    .bn3-insights-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .bn3-article-layout { grid-template-columns: 1fr; }
    .bn3-article-aside { position: static; }
    .bn3-legal-layout { grid-template-columns: 1fr; gap: 28px; }
    .bn3-legal-aside { position: static; }
    .bn3-region-strip { grid-template-columns: 1fr; }
    .bn3-region-strip > div { border-right: 0; border-bottom: 1px solid var(--bn3-line); }
    .bn3-region-strip > div:last-child { border-bottom: 0; }

    /* Hero workflow gets its own compact mobile geometry */
    .bn3-system-card { min-height: 485px; }
    .bn3-system-canvas { min-height: 427px; }
    .bn3-flow-node-a { top: 34px !important; left: 18px !important; }
    .bn3-flow-node-main { top: 145px !important; width: 210px !important; }
    .bn3-flow-node-b { top: 258px !important; right: 18px !important; min-width: 165px !important; padding: 14px 15px !important; }
    .bn3-flow-line-a { top: 126px !important; left: 125px !important; width: 160px !important; }
    .bn3-flow-line-b { top: 240px !important; width: 145px !important; }
    .bn3-system-metrics { right: 18px !important; bottom: 18px !important; left: 18px !important; }
}

@media (max-width: 760px) {
    .bn3-page-section { padding: 78px 0; }
    .bn3-page-hero { padding-bottom: 70px; }
    .bn3-page-hero h1 { font-size: clamp(2.7rem,12vw,4.2rem); }
    .bn3-editorial-split, .bn3-solution-split, .bn3-contact-grid, .bn3-service-trust-grid, .bn3-partner-detail-grid, .bn3-private-page-grid, .bn3-footer-cta-inner { gap: 42px; }
    .bn3-feature-grid-3, .bn3-feature-grid-4 { grid-template-columns: 1fr; }
    .bn3-feature-card { min-height: auto; border-right: 0; }
    .bn3-feature-index { margin-bottom: 30px; }
    .bn3-example-strip { grid-template-columns: 1fr; gap: 10px; }
    .bn3-private-service-list { grid-template-columns: 1fr; }
    .bn3-form-card { padding: 28px 22px; }
    .bn3-insights-grid { grid-template-columns: 1fr; }
    .bn3-partner-logo-card { min-height: 220px; }
    .bn3-legal-card { grid-template-columns: 1fr; gap: 14px; padding: 28px 22px; }
    .bn3-article-section { padding-top: 56px; }
    .bn3-article-content { padding: 28px 22px; }
    .bn3-footer-cta { padding: 62px 0; }
}

@media (max-width: 520px) {
    .bn3-mobile-drawer { width: min(390px,94vw); }
    .bn3-mobile-drawer-head { min-height: 74px; padding: 0 20px; }
    .bn3-mobile-logo { width: 142px; }
    .bn3-mobile-drawer-body { padding: 28px 20px 26px; }
    .bn3-mobile-nav a { min-height: 64px; }
    .bn3-mobile-nav-title { font-size: 1.17rem; }
    .bn3-mobile-contact { margin-top: 30px; padding: 21px; }
    .bn3-mobile-drawer-footer { padding-left: 20px; padding-right: 20px; }
    .bn3-menu-toggle, .bn3-mobile-close { width: 44px !important; height: 44px !important; }
    .bn3-menu-toggle span { right: 11px !important; }
    .bn3-menu-toggle span:nth-child(1) { top: 13px !important; }
    .bn3-menu-toggle span:nth-child(2) { top: 20px !important; }
    .bn3-menu-toggle span:nth-child(3) { top: 27px !important; }
    .bn3-mobile-close span { top: 20px !important; left: 12px !important; }

    .bn3-system-card { min-height: 455px; }
    .bn3-system-canvas { min-height: 397px; }
    .bn3-flow-node { min-width: 150px !important; padding: 12px 13px !important; }
    .bn3-flow-node strong { font-size: .82rem; }
    .bn3-flow-node span { font-size: .64rem; }
    .bn3-flow-node-a { top: 27px !important; left: 13px !important; }
    .bn3-flow-node-main { top: 128px !important; width: 178px !important; }
    .bn3-flow-node-b { top: 230px !important; right: 13px !important; min-width: 150px !important; }
    .bn3-flow-line-a, .bn3-flow-line-b { display: none !important; }
    .bn3-system-metrics { right: 13px !important; bottom: 13px !important; left: 13px !important; gap: 6px; }
    .bn3-system-metrics div { padding: 10px 7px !important; }
    .bn3-system-metrics span { font-size: .58rem; }
}
