/* Northline Energy Services — blue / black / white industrial theme on Bootstrap 5.3.2 */
:root {
  --nl-blue: #0a4fa3;
  --nl-blue-600: #083f84;
  --nl-blue-100: #e7f0fb;
  --nl-blue-light: #5aa2ff;
  --nl-black: #0b0f14;
  --nl-ink: #1a212b;
  --nl-steel: #5b6675;
  --nl-line: #dde3ea;
  --nl-muted: #f4f6f9;
  --bs-primary: var(--nl-blue);
  --bs-primary-rgb: 10, 79, 163;
  --bs-link-color: var(--nl-blue);
  --bs-link-color-rgb: 10, 79, 163;
  --bs-link-hover-color: var(--nl-blue-600);
  --bs-body-color: var(--nl-ink);
  --bs-body-font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Noto Sans Arabic", "Geeza Pro", sans-serif;
  --bs-border-radius: .5rem;
  --radius: .75rem;
}
body { background: #fff; -webkit-font-smoothing: antialiased; }
h1, h2, h3, .h1, .h2, .h3 { font-weight: 700; letter-spacing: -.015em; color: inherit; }
.mono, code { font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; }
.text-primary-light { color: var(--nl-blue-light) !important; }
.text-white-75 { color: rgba(255,255,255,.75) !important; }
.skip-link { position: absolute; top: .5rem; inset-inline-start: .5rem; z-index: 2000; background: #fff; padding: .5rem 1rem; border-radius: .5rem; }
.rtl .flip-rtl { display: inline-block; transform: scaleX(-1); }

/* Buttons */
.btn-primary { --bs-btn-bg: var(--nl-blue); --bs-btn-border-color: var(--nl-blue); --bs-btn-hover-bg: var(--nl-blue-600); --bs-btn-hover-border-color: var(--nl-blue-600); --bs-btn-active-bg: #06336b; --bs-btn-disabled-bg: var(--nl-blue); font-weight: 600; }
.btn-outline-primary { --bs-btn-color: var(--nl-blue); --bs-btn-border-color: var(--nl-blue); --bs-btn-hover-bg: var(--nl-blue); --bs-btn-hover-border-color: var(--nl-blue); }
.btn-dark { --bs-btn-bg: var(--nl-black); --bs-btn-border-color: var(--nl-black); font-weight: 600; }
.btn-lg { padding: .75rem 1.35rem; font-size: 1rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; }

/* Top utility bar + header */
.topbar { background: var(--nl-black); color: #c9d2dd; padding: .35rem 0; }
.topbar a:not(.dropdown-item) { color: #fff; text-decoration: none; }
.badge-inline { color: #9fb2c8; }
.btn-lang { color: inherit; border: 1px solid rgba(127,127,127,.35); padding: .15rem .55rem; }
.topbar .btn-lang { color: #fff; }
.site-header { background: rgba(255,255,255,.97); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--nl-line); }
.navbar { padding: .6rem 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; color: var(--nl-black); }
.brand-text strong { font-size: 1.15rem; letter-spacing: -.02em; }
.brand-text small { font-size: .68rem; color: var(--nl-steel); text-transform: uppercase; letter-spacing: .08em; }
.navbar .nav-link { color: var(--nl-ink); font-weight: 500; font-size: .93rem; padding: .5rem .6rem !important; border-radius: .4rem; white-space: nowrap; }
.nav-cta .btn { white-space: nowrap; }
@media (max-width: 1199.98px) { .navbar-collapse { padding: .75rem 0 1rem; } .navbar-nav { margin-bottom: .75rem; } }
.navbar .nav-link:hover { color: var(--nl-blue); }
.navbar .nav-link.active { color: var(--nl-blue); background: var(--nl-blue-100); }
.crumbs { background: var(--nl-muted); border-bottom: 1px solid var(--nl-line); padding: .45rem 0; font-size: .82rem; }
.crumbs a { text-decoration: none; }

/* Hero */
.hero { position: relative; background: radial-gradient(1200px 500px at 85% -10%, #123f78 0%, transparent 60%), var(--nl-black); color: #fff; padding: 4.5rem 0 4rem; overflow: hidden; }
.hero-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(to bottom, #000 30%, transparent); }
.hero h1 { font-size: clamp(1.9rem, 4.2vw, 3.1rem); line-height: 1.1; }
.hero .lead { color: #c3cedb; max-width: 40rem; }
.eyebrow { display: inline-flex; gap: .45rem; align-items: center; font-size: .82rem; color: var(--nl-blue-light); background: rgba(90,162,255,.1); border: 1px solid rgba(90,162,255,.3); padding: .3rem .75rem; border-radius: 99px; }
.hero-search { display: flex; align-items: center; gap: .5rem; background: #fff; border-radius: .6rem; padding: .35rem .35rem .35rem .9rem; max-width: 34rem; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.hero-search i { color: var(--nl-steel); }
.hero-search input { flex: 1; border: 0; outline: 0; min-width: 0; font-size: .95rem; color: var(--nl-ink); background: transparent; }
.reel-card { background: #111820; border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 60px rgba(0,0,0,.4); }
.reel-card video { display: block; aspect-ratio: 16/9; background: #000; object-fit: cover; }
.reel-placeholder { aspect-ratio: 16/9; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .5rem; color: #8fa3ba;
  background: repeating-linear-gradient(135deg, #111a24 0 14px, #0e151d 14px 28px); }
.reel-placeholder i { font-size: 2.6rem; color: var(--nl-blue-light); }
.reel-meta { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; padding: .7rem 1rem; font-size: .8rem; color: #b8c4d2; }
.page-hero { background: var(--nl-black); color: #fff; padding: 3rem 0 2.6rem; background-image: radial-gradient(900px 300px at 90% 0, #123f78 0%, transparent 70%); }
.page-hero h1 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
.page-hero .lead { color: #c3cedb; max-width: 48rem; font-size: 1.1rem; }
.page-hero a { color: #fff; }
.hero-facts { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; font-size: .9rem; color: #c3cedb; margin: 0; }

/* Proof / stats bar */
.proof-bar { background: var(--nl-blue); color: #fff; }
.proof-bar .stat { padding: 1.3rem .5rem; border-inline-end: 1px solid rgba(255,255,255,.15); }
.proof-bar .stat:last-child { border-inline-end: 0; }
.proof-bar dt { font-size: .72rem; font-weight: 500; text-transform: uppercase; letter-spacing: .06em; color: rgba(255,255,255,.75); order: 2; }
.proof-bar dd { font-size: 1.7rem; font-weight: 800; margin: 0; letter-spacing: -.02em; }
.proof-bar .stat { display: flex; flex-direction: column-reverse; }

/* Sections */
.section { padding: 4.5rem 0; }
.section-muted { background: var(--nl-muted); }
.section-dark { background: var(--nl-black); color: #fff; }
.section-head { margin-bottom: 2rem; max-width: 46rem; }
.section-head.d-md-flex { max-width: none; }
.kicker { text-transform: uppercase; letter-spacing: .1em; font-size: .75rem; font-weight: 700; color: var(--nl-blue); margin-bottom: .4rem; }
.section-dark .kicker { color: var(--nl-blue-light); }
.link-arrow { font-weight: 600; text-decoration: none; }

/* Cards */
.card { border: 1px solid var(--nl-line); border-radius: var(--radius); }
.service-card { transition: border-color .15s, box-shadow .15s, transform .15s; }
.service-card:hover { border-color: var(--nl-blue); box-shadow: 0 12px 30px rgba(10,79,163,.12); transform: translateY(-2px); }
.service-card a, .project-card a { color: var(--nl-black); text-decoration: none; }
.icon-box { width: 48px; height: 48px; border-radius: .6rem; background: var(--nl-blue-100); color: var(--nl-blue); display: grid; place-items: center; font-size: 1.4rem; margin-bottom: 1rem; flex-shrink: 0; }
.icon-box.lg { width: 60px; height: 60px; font-size: 1.7rem; margin-bottom: 0; }
.std-tags { display: flex; flex-wrap: wrap; gap: .35rem; }
.std-tags span { font-size: .72rem; font-family: ui-monospace, Menlo, Consolas, monospace; background: var(--nl-muted); border: 1px solid var(--nl-line); padding: .15rem .45rem; border-radius: .3rem; }
.metrics-row { display: flex; gap: 1rem; background: #fff; border-top: 1px solid var(--nl-line); padding: .8rem 1rem; }
.metrics-row div { flex: 1; min-width: 0; }
.metrics-row strong { display: block; font-size: 1.1rem; color: var(--nl-blue); }
.metrics-row span { display: block; font-size: .72rem; color: var(--nl-steel); line-height: 1.2; }
.answer-card { background: #fff; border: 1px solid var(--nl-line); border-inline-start: 3px solid var(--nl-blue); border-radius: .5rem; padding: 1rem 1.1rem; color: inherit; text-decoration: none; }
.answer-card a { color: var(--nl-black); text-decoration: none; }
a.answer-card:hover, .answer-card:hover { border-color: var(--nl-blue); }
.side-card { background: #fff; border: 1px solid var(--nl-line); border-radius: var(--radius); padding: 1.3rem; top: 90px; }
.check-list { list-style: none; padding: 0; }
.check-list li { position: relative; padding-inline-start: 1.7rem; margin-bottom: .5rem; }
.check-list li::before { content: "\F26E"; font-family: bootstrap-icons; position: absolute; inset-inline-start: 0; top: 0; color: var(--nl-blue); font-weight: 700; }
.tldr { background: var(--nl-blue-100); border-radius: var(--radius); padding: 1.3rem 1.4rem; }
.quick-answer { background: var(--nl-blue-100); border-inline-start: 4px solid var(--nl-blue); border-radius: .5rem; padding: 1.2rem 1.4rem; font-size: 1.05rem; }
.prose { font-size: 1.02rem; line-height: 1.7; }
.prose h2 { font-size: 1.4rem; margin-top: 2rem; }
.prose h3 { font-size: 1.15rem; margin-top: 1.5rem; }
.prose table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: .92rem; }
.prose th, .prose td { border: 1px solid var(--nl-line); padding: .5rem .7rem; text-align: start; }
.prose th { background: var(--nl-muted); }
.narrow { max-width: 820px; }

/* Services list */
.service-row { padding: 2.2rem 0; border-bottom: 1px solid var(--nl-line); }
.service-row h2 a { color: var(--nl-black); text-decoration: none; }

/* Capacity chart */
.capacity-chart { border: 1px solid var(--nl-line); border-radius: var(--radius); padding: 1rem 1.2rem; }
.cap-row { display: grid; grid-template-columns: 1fr 2fr auto; gap: 1rem; align-items: center; padding: .6rem 0; border-bottom: 1px dashed var(--nl-line); }
.cap-row:last-child { border-bottom: 0; }
.cap-label { font-size: .88rem; font-weight: 600; }
.cap-track { position: relative; height: 12px; background: var(--nl-muted); border-radius: 99px; border: 1px solid var(--nl-line); }
.cap-fill { position: absolute; top: -1px; bottom: -1px; background: linear-gradient(90deg, var(--nl-blue), #2f7be0); border-radius: 99px; }
.cap-value { font-size: .82rem; white-space: nowrap; }

/* Certifications */
.cert-badge { background: #111820; border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); padding: 1rem; display: flex; flex-direction: column; gap: .15rem; height: 100%; }
.cert-badge i { color: var(--nl-blue-light); font-size: 1.4rem; }
.cert-badge span { font-size: .78rem; color: #9fb2c8; }
.cert-badge small { font-size: .72rem; color: #6f8399; }
.cert-table th { font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; color: var(--nl-steel); }
.hse-card { display: flex; gap: 1rem; background: #fff; border: 1px solid var(--nl-line); border-radius: var(--radius); padding: 1.4rem; }
.flow { list-style: none; padding: 0; counter-reset: fl; }
.flow li { display: grid; grid-template-columns: 100px 1fr; gap: 1rem; padding: .9rem 0; border-bottom: 1px solid var(--nl-line); }
.flow span { color: var(--nl-blue); font-weight: 700; }
.quote-card { background: var(--nl-black); color: #fff; border-radius: var(--radius); padding: 1.8rem; margin: 0; }
.quote-card blockquote { font-size: 1.15rem; line-height: 1.5; }
.quote-card blockquote::before { content: "\201C"; font-size: 3rem; line-height: 0; vertical-align: -.5em; color: var(--nl-blue-light); margin-inline-end: .2rem; }

/* Response list + map */
.response-list li { padding: .75rem 0; border-bottom: 1px solid var(--nl-line); }
.response-list .bar { height: 8px; background: var(--nl-muted); border-radius: 99px; margin: .35rem 0; overflow: hidden; }
.response-list .bar span { display: block; height: 100%; background: var(--nl-blue); border-radius: 99px; }
.map-wrap { position: relative; border: 1px solid var(--nl-line); border-radius: var(--radius); overflow: hidden; background: #eaf1f9; }
.cov-map { display: block; width: 100%; height: auto; touch-action: none; cursor: grab; user-select: none; }
.cov-map.dragging { cursor: grabbing; }
.map-sea { fill: #eaf1f9; }
.map-land { fill: #c9d6e5; stroke: #fff; stroke-width: .6; stroke-linejoin: round; }
.map-grid line { stroke: #d5e1ee; stroke-width: .5; }
.map-marker { cursor: pointer; outline: none; }
.map-marker .dot { fill: var(--nl-blue); stroke: #fff; stroke-width: 1.5; }
.map-marker .ring { fill: rgba(10,79,163,.14); stroke: rgba(10,79,163,.45); stroke-width: .8; }
.map-marker text { font-size: 9px; font-weight: 700; fill: var(--nl-black); paint-order: stroke; stroke: #fff; stroke-width: 3px; stroke-linejoin: round; pointer-events: none; }
.map-marker:hover .dot, .map-marker:focus .dot, .map-marker.active .dot { fill: var(--nl-black); }
.map-marker.active .ring { fill: rgba(10,79,163,.28); stroke: var(--nl-blue); }
.map-marker.dim { opacity: .2; }
.map-controls { position: absolute; top: .6rem; inset-inline-end: .6rem; display: flex; flex-direction: column; gap: .3rem; }
.map-controls .btn { border: 1px solid var(--nl-line); width: 34px; height: 34px; padding: 0; }
.map-legend { padding: .5rem .8rem; background: #fff; border-top: 1px solid var(--nl-line); display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.lg-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--nl-blue); display: inline-block; }
.lg-ring { width: 16px; height: 16px; border-radius: 50%; border: 1px solid var(--nl-blue); background: rgba(10,79,163,.14); display: inline-block; margin-inline-start: .8rem; }
.region-list { display: flex; flex-direction: column; gap: .75rem; max-height: 620px; overflow: auto; padding-inline-end: .2rem; }
.region-card { border: 1px solid var(--nl-line); border-radius: var(--radius); padding: 1rem; background: #fff; transition: border-color .15s, box-shadow .15s; cursor: pointer; }
.region-card.active { border-color: var(--nl-blue); box-shadow: 0 0 0 3px rgba(10,79,163,.15); }
.region-card.dim { display: none; }
.resp-badge { background: var(--nl-black); color: #fff; font-size: .75rem; font-weight: 700; padding: .2rem .5rem; border-radius: .35rem; white-space: nowrap; }

/* Timeline */
.timeline { list-style: none; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; top: .4rem; bottom: .4rem; inset-inline-start: 7px; width: 2px; background: var(--nl-line); }
.timeline li { position: relative; padding-inline-start: 2rem; padding-bottom: 1.2rem; }
.timeline li::before { content: ""; position: absolute; inset-inline-start: 0; top: .3rem; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--nl-blue); }
.tl-date { display: block; font-size: .78rem; color: var(--nl-blue); font-weight: 700; }

/* Experts */
.avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--nl-black); color: #fff; display: grid; place-items: center; font-weight: 700; flex-shrink: 0; }
.avatar.lg { width: 64px; height: 64px; font-size: 1.4rem; }
.avatar.xl, .expert-photo { width: 96px; height: 96px; font-size: 2rem; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.expert-mini { display: flex; gap: .8rem; align-items: center; background: #fff; border: 1px solid var(--nl-line); border-radius: var(--radius); padding: 1rem; height: 100%; }
.expert-mini strong, .expert-mini span, .expert-mini small { display: block; }
.expert-mini span { font-size: .85rem; color: var(--nl-steel); }
.expert-mini small { color: var(--nl-blue); font-weight: 600; }
.expert-card { display: flex; gap: 1.3rem; border: 1px solid var(--nl-line); border-radius: var(--radius); padding: 1.5rem; scroll-margin-top: 100px; }
.author-box { display: flex; gap: 1rem; border: 1px solid var(--nl-line); border-radius: var(--radius); padding: 1.2rem; background: var(--nl-muted); }

/* Spec library */
.filter-box { position: sticky; top: 90px; }
.filter-box .list-group-item { border: 0; padding: .45rem .7rem; border-radius: .4rem !important; font-size: .9rem; }
.filter-box .list-group-item.active { background: var(--nl-black); }
.offline-note { display: flex; gap: .6rem; background: var(--nl-muted); border-radius: .5rem; padding: .8rem; }
.offline-note i { color: var(--nl-blue); font-size: 1.2rem; }
.doc-grid { display: flex; flex-direction: column; gap: .8rem; }
.doc-card { display: grid; grid-template-columns: auto 1fr auto; gap: 1rem; border: 1px solid var(--nl-line); border-radius: var(--radius); padding: 1rem 1.1rem; background: #fff; transition: border-color .15s; }
.doc-card.selected { border-color: var(--nl-blue); background: #f7fbff; }
.doc-check .form-check-input { width: 1.25rem; height: 1.25rem; margin-top: .2rem; }
.doc-card label { cursor: pointer; }
.doc-actions { display: flex; flex-direction: column; gap: .4rem; align-items: stretch; min-width: 150px; }
.doc-type { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; padding: .15rem .5rem; border-radius: .3rem; background: var(--nl-blue-100); color: var(--nl-blue); }
.doc-type.t-msds { background: #fff3cd; color: #7a5a00; }
.doc-type.t-certificate { background: #d1f2e0; color: #0f5132; }
.doc-type.t-install { background: #ebe5fb; color: #4b2ca0; }
.spec-attrs { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; margin: 0 0 .3rem; font-size: .8rem; }
.spec-attrs dt { font-weight: 500; color: var(--nl-steel); font-size: .7rem; text-transform: uppercase; letter-spacing: .04em; }
.spec-attrs dd { margin: 0; font-weight: 600; }
.history summary { font-size: .82rem; color: var(--nl-blue); cursor: pointer; }
.history ul { margin-top: .4rem; padding: .6rem .8rem; background: var(--nl-muted); border-radius: .4rem; }
.pack-bar { position: fixed; inset-inline: 0; bottom: 0; z-index: 1040; background: var(--nl-black); color: #fff; padding: .8rem 0; box-shadow: 0 -8px 24px rgba(0,0,0,.25); }
.empty-state { text-align: center; padding: 3rem 1rem; border: 1px dashed var(--nl-line); border-radius: var(--radius); color: var(--nl-steel); }
.empty-state i { font-size: 2rem; }
.doc-list li a { display: flex; gap: .6rem; padding: .5rem 0; color: var(--nl-ink); text-decoration: none; border-bottom: 1px solid var(--nl-line); font-size: .88rem; }
.doc-list i { color: #c0392b; font-size: 1.2rem; }
.doc-list small { display: block; color: var(--nl-steel); font-family: ui-monospace, Menlo, monospace; font-size: .72rem; }
.saved-offline { color: #198754 !important; border-color: #198754 !important; }

/* RFQ */
.rfq-step { border: 1px solid var(--nl-line); border-radius: var(--radius); padding: 1.4rem; margin-bottom: 1.2rem; background: #fff; }
.rfq-step legend { float: none; width: auto; font-size: 1.1rem; font-weight: 700; padding: 0 .4rem; margin: 0 0 .8rem -.4rem; }
.step-no { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--nl-blue); color: #fff; font-size: .85rem; margin-inline-end: .3rem; }
.type-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: .6rem; margin-bottom: 1rem; }
.type-option input { position: absolute; opacity: 0; pointer-events: none; }
.type-option span { display: flex; flex-direction: column; gap: .4rem; height: 100%; border: 2px solid var(--nl-line); border-radius: .6rem; padding: .9rem; font-weight: 600; font-size: .9rem; cursor: pointer; transition: all .15s; }
.type-option i { font-size: 1.4rem; color: var(--nl-blue); }
.type-option input:checked + span { border-color: var(--nl-blue); background: var(--nl-blue-100); }
.type-option input:focus-visible + span { outline: 3px solid rgba(10,79,163,.4); }
.cond-block { border-top: 1px dashed var(--nl-line); padding-top: 1rem; animation: fadeIn .2s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.chip-group { display: flex; flex-wrap: wrap; gap: .4rem; }
.chip input { position: absolute; opacity: 0; }
.chip span { display: inline-block; border: 1px solid var(--nl-line); border-radius: 99px; padding: .35rem .8rem; font-size: .85rem; cursor: pointer; }
.chip input:checked + span { background: var(--nl-black); color: #fff; border-color: var(--nl-black); }
.chip input:focus-visible + span { outline: 3px solid rgba(10,79,163,.4); }
.dropzone { position: relative; border: 2px dashed #b7c4d4; border-radius: var(--radius); background: var(--nl-muted); text-align: center; transition: all .15s; }
.dropzone.dragover { border-color: var(--nl-blue); background: var(--nl-blue-100); }
.dropzone.is-invalid { border-color: #dc3545; }
.dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.dropzone label { display: flex; flex-direction: column; align-items: center; gap: .25rem; padding: 1.6rem 1rem; cursor: pointer; }
.dropzone i { font-size: 2rem; color: var(--nl-blue); }
.file-list li { display: flex; align-items: center; gap: .6rem; padding: .5rem .7rem; border: 1px solid var(--nl-line); border-radius: .5rem; margin-top: .5rem; font-size: .88rem; }
.file-list li.bad { border-color: #dc3545; background: #fff5f5; }
.file-list .fname { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hp { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.next-steps { list-style: none; padding: 0; counter-reset: ns; }
.next-steps li { counter-increment: ns; position: relative; padding-inline-start: 2.3rem; margin-bottom: 1rem; }
.next-steps li::before { content: counter(ns); position: absolute; inset-inline-start: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--nl-blue-100); color: var(--nl-blue); display: grid; place-items: center; font-weight: 700; font-size: .85rem; }
.next-steps strong, .next-steps span { display: block; }
.next-steps span { color: var(--nl-steel); }
.thanks-card { border: 1px solid var(--nl-line); border-radius: var(--radius); padding: 2rem; }

/* Contact */
.contact-tile { display: flex; flex-direction: column; gap: .15rem; border: 1px solid var(--nl-line); border-radius: var(--radius); padding: 1.2rem; text-decoration: none; color: var(--nl-ink); height: 100%; transition: border-color .15s; }
.contact-tile:hover { border-color: var(--nl-blue); }
.contact-tile i { font-size: 1.5rem; color: var(--nl-blue); }
.contact-tile span { font-size: .8rem; color: var(--nl-steel); text-transform: uppercase; letter-spacing: .05em; }
.office-card { border-inline-start: 3px solid var(--nl-blue); padding: .3rem .9rem; }

/* FAQ */
.faq .accordion-button { font-weight: 600; font-size: .98rem; }
.faq .accordion-button:not(.collapsed) { color: var(--nl-blue); background: var(--nl-blue-100); box-shadow: none; }

/* Footer */
.footer-cta { background: var(--nl-blue); color: #fff; padding: 2.5rem 0; }
.site-footer { background: var(--nl-black); color: #a9b5c3; padding: 3.5rem 0 1.5rem; }
.site-footer a, .footer-link { color: #d4dce6; text-decoration: none; }
.site-footer a:hover, .footer-link:hover { color: #fff; }
.footer-h { color: #fff; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 1rem; }
.site-footer li { margin-bottom: .4rem; }
.cert-mini i { color: var(--nl-blue-light); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 2.5rem; padding-top: 1.2rem; gap: 1rem; }

/* Mobile field action bar */
.mobile-actions { position: fixed; inset-inline: 0; bottom: 0; z-index: 1030; display: grid; grid-template-columns: repeat(4, 1fr); background: var(--nl-black); border-top: 1px solid #222c38; padding-bottom: env(safe-area-inset-bottom); }
.mobile-actions a { display: flex; flex-direction: column; align-items: center; gap: .1rem; padding: .55rem 0 .5rem; color: #fff; text-decoration: none; font-size: .7rem; font-weight: 600; min-height: 56px; justify-content: center; }
.mobile-actions i { font-size: 1.25rem; }
.mobile-actions a.primary { background: var(--nl-blue); }
.mobile-actions .bi-whatsapp { color: #25d366; }
@media (max-width: 991.98px) {
  body { padding-bottom: 64px; }
  .pack-bar { bottom: 56px; }
  .cookie-banner { bottom: 56px !important; }
  .section { padding: 3rem 0; }
  .proof-bar .stat { border-bottom: 1px solid rgba(255,255,255,.15); }
  .proof-bar dd { font-size: 1.35rem; }
}
@media (max-width: 767.98px) {
  .doc-card { grid-template-columns: auto 1fr; }
  .doc-actions { grid-column: 1 / -1; flex-direction: row; min-width: 0; }
  .doc-actions .btn { flex: 1; }
  .cap-row { grid-template-columns: 1fr auto; }
  .cap-track { grid-column: 1 / -1; grid-row: 2; }
  .expert-card { flex-direction: column; }
  .flow li { grid-template-columns: 80px 1fr; }
  .hero { padding: 3rem 0; }
}

/* Cookie banner */
.cookie-banner { position: fixed; inset-inline: 0; bottom: 0; z-index: 1060; background: var(--nl-black); color: #d4dce6; padding: 1rem 0; box-shadow: 0 -10px 30px rgba(0,0,0,.3); border-top: 3px solid var(--nl-blue); }
.cookie-banner a { color: #fff; }
.cookie-banner h2 { color: #fff; }
.cookie-cat { padding: .8rem 0; border-bottom: 1px solid var(--nl-line); }
.cookie-cat:last-child { border-bottom: 0; }

@media print {
  .topbar, .site-header, .mobile-actions, .cookie-banner, .footer-cta, .site-footer, .pack-bar { display: none !important; }
  .page-hero { background: #fff; color: #000; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* Polish */
.service-card h3, .project-card h3, .project-card h2, .answer-card h3, .answer-card h2 { font-weight: 700; }
.footer-link { font-size: inherit; vertical-align: baseline; }
.footer-cta .d-flex.flex-wrap { flex-shrink: 0; }

/* Menus: dark text on white, blue highlight — never inherit the white top-bar/footer link colour */
.dropdown-menu { --bs-dropdown-bg: #fff; --bs-dropdown-color: var(--nl-ink); --bs-dropdown-link-color: var(--nl-ink);
  --bs-dropdown-link-hover-color: var(--nl-blue); --bs-dropdown-link-hover-bg: var(--nl-blue-100);
  --bs-dropdown-link-active-color: #fff; --bs-dropdown-link-active-bg: var(--nl-blue);
  background: #fff; border: 1px solid var(--nl-line); box-shadow: 0 12px 30px rgba(11,15,20,.18); border-radius: .5rem; padding: .35rem; min-width: 11rem; }
.dropdown-menu .dropdown-item { color: var(--nl-ink); border-radius: .35rem; padding: .45rem .75rem; font-size: .92rem; }
.dropdown-menu .dropdown-item:hover, .dropdown-menu .dropdown-item:focus { color: var(--nl-blue); background: var(--nl-blue-100); }
.dropdown-menu .dropdown-item.active, .dropdown-menu .dropdown-item:active { color: #fff; background: var(--nl-blue); }
.lang-switcher { z-index: 1045; }
.topbar .btn-lang:hover, .topbar .btn-lang[aria-expanded="true"] { background: rgba(255,255,255,.12); color: #fff; }
.site-header .btn-lang { color: var(--nl-ink); border-color: var(--nl-line); }
.site-header .btn-lang:hover, .site-header .btn-lang[aria-expanded="true"] { background: var(--nl-blue-100); color: var(--nl-blue); }
/* Mobile expanded menu: solid white panel, readable links, clear active state */
@media (max-width: 1199.98px) {
  .site-header .navbar-collapse { background: #fff; }
  .site-header .navbar-nav .nav-link { padding: .7rem .75rem !important; border-bottom: 1px solid var(--nl-line); border-radius: 0; color: var(--nl-ink); }
  .site-header .navbar-nav .nav-link.active { color: var(--nl-blue); background: var(--nl-blue-100); }
}
.navbar-toggler { border-color: var(--nl-line); }
.navbar-toggler-icon { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2811,15,20,.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e"); }

/* ---- Customer portal ---- */
.portal-link { color: #fff !important; font-weight: 600; }
.portal-link i { color: var(--nl-blue-light); }
.portal-auth { background: #fff; border: 1px solid var(--nl-line); border-radius: var(--radius); padding: 2rem; box-shadow: 0 12px 40px rgba(11,15,20,.06); }
.portal-hero { padding: 2.2rem 0 2rem; }
.status-pill { display: inline-flex; align-items: center; gap: .4rem; padding: .4rem .9rem; border-radius: 99px; font-weight: 700; font-size: .85rem; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25); color: #fff; white-space: nowrap; }
.status-pill.st-approved { background: #198754; border-color: #198754; }
.status-pill.st-pending { background: #ffc107; border-color: #ffc107; color: var(--nl-black); }
.portal-nav { display: flex; flex-direction: column; gap: 2px; background: #fff; border: 1px solid var(--nl-line); border-radius: var(--radius); padding: .5rem; position: sticky; top: 90px; }
.portal-nav a { display: flex; align-items: center; gap: .6rem; padding: .6rem .75rem; border-radius: .45rem; color: var(--nl-ink); text-decoration: none; font-weight: 500; }
.portal-nav a:hover { background: var(--nl-blue-100); color: var(--nl-blue); }
.portal-nav a.active { background: var(--nl-blue); color: #fff; }
.portal-nav a.active .badge { background: #fff !important; color: var(--nl-blue); }
.portal-nav a.locked { color: #8a95a3; }
.panel-card { background: #fff; border: 1px solid var(--nl-line); border-radius: var(--radius); padding: 1.25rem; }
.panel-card.p-0 { overflow: hidden; }
.list-row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--nl-line); color: var(--nl-ink); text-decoration: none; }
.list-row:last-of-type { border-bottom: 0; }
.list-row:hover { color: var(--nl-blue); }
.action-tile { display: flex; flex-direction: column; gap: .2rem; height: 100%; padding: 1.2rem; border: 1px solid var(--nl-line); border-radius: var(--radius); background: #fff; color: var(--nl-ink); text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.action-tile:hover { border-color: var(--nl-blue); box-shadow: 0 8px 24px rgba(10,79,163,.1); }
.action-tile i { font-size: 1.6rem; color: var(--nl-blue); }
.action-tile span { font-size: .85rem; color: var(--nl-steel); }
.action-tile.primary { background: var(--nl-blue); border-color: var(--nl-blue); color: #fff; }
.action-tile.primary i, .action-tile.primary span { color: #fff; }
.thread { display: flex; flex-direction: column; gap: .75rem; max-height: 520px; overflow-y: auto; padding: .25rem; }
.msg { max-width: 85%; padding: .7rem .9rem; border-radius: .8rem; background: var(--nl-muted); border: 1px solid var(--nl-line); }
.msg-customer { align-self: flex-end; background: var(--nl-blue-100); border-color: #c9dcf5; }
.msg-staff { align-self: flex-start; background: #fff; }
.msg-system { align-self: center; background: transparent; border-style: dashed; font-size: .88rem; max-width: 100%; }
.msg-meta { font-size: .75rem; color: var(--nl-steel); margin-bottom: .2rem; }
.msg-body { white-space: pre-wrap; word-break: break-word; }
.order-steps { display: flex; list-style: none; padding: 0; margin: 0; counter-reset: st; }
.order-steps li { flex: 1; position: relative; text-align: center; font-size: .78rem; color: var(--nl-steel); padding-top: 1.9rem; }
.order-steps li::before { counter-increment: st; content: counter(st); position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 1.6rem; height: 1.6rem; border-radius: 50%; background: #fff; border: 2px solid var(--nl-line); display: grid; place-items: center; font-weight: 700; z-index: 1; }
.order-steps li::after { content: ""; position: absolute; top: .75rem; left: -50%; width: 100%; height: 2px; background: var(--nl-line); }
.order-steps li:first-child::after { display: none; }
.order-steps li.done::before { content: "✓"; background: #198754; border-color: #198754; color: #fff; }
.order-steps li.done::after, .order-steps li.current::after { background: #198754; }
.order-steps li.current::before { background: var(--nl-blue); border-color: var(--nl-blue); color: #fff; }
.order-steps li.current { color: var(--nl-blue); font-weight: 700; }
.rtl .order-steps li::after { left: auto; right: -50%; }
.account-box { border: 1px dashed #b7c4d4; border-radius: .6rem; padding: .9rem 1rem; background: var(--nl-muted); }
.account-box.signed-in { display: flex; gap: .6rem; align-items: center; border-style: solid; border-color: #c9dcf5; background: var(--nl-blue-100); }
.account-box.signed-in i { color: var(--nl-blue); font-size: 1.3rem; }
.pre-wrap { white-space: pre-wrap; }
@media (max-width: 991.98px) { .portal-nav { position: static; flex-direction: row; overflow-x: auto; } .portal-nav a { white-space: nowrap; } .portal-nav form { flex-shrink: 0; margin-top: 0 !important; } }
