/* NPCS new pages: the ONE stylesheet for everything built on /parts/ (header, footer, form,
   WhatsApp buttons) and the /consultants/ pages. Linked once by /parts/head.php. */

/* ===== Base (parts/head.php) ===== */
    /* Minimal base shared by all new pages. Everything else is styled inside each page. */
    *, *::before, *::after { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body { margin: 0; font-family: 'Poppins', Arial, sans-serif; font-size: 16px; line-height: 1.6; color: #1f2937; background: #ffffff; }
    img { max-width: 100%; height: auto; }
    a { color: #1a237e; }
    .np-container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }

/* ===== Header (parts/header.php) ===== */
.np-h-top { background: #111c55; color: #fff; font-size: 13px; }
.np-h-top .np-container { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 38px; flex-wrap: wrap; }
.np-h-top a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.np-h-top a:hover { text-decoration: underline; }
.np-h-top-links { display: flex; gap: 20px; }
.np-h-ico { width: 14px; height: 14px; fill: currentColor; flex-shrink: 0; }

.np-h { position: sticky; top: 0; z-index: 1000; background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,.08); }
.np-h .np-container { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 16px; }
.np-h-logo img { display: block; max-height: 52px; width: auto; }

.np-h-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.np-h-nav li { position: relative; }
.np-h-nav a, .np-h-nav button { display: block; padding: 10px 10px; font: 500 14.5px 'Poppins', Arial, sans-serif; color: #1f2937; text-decoration: none; background: none; border: 0; cursor: pointer; white-space: nowrap; }
.np-h-nav a:hover, .np-h-nav button:hover { color: #1a237e; }
.np-h-nav button::after { content: ''; display: inline-block; margin-left: 6px; border: 4px solid transparent; border-top-color: currentColor; transform: translateY(2px); }
.np-h-sub { list-style: none; margin: 0; padding: 8px 0; position: absolute; top: 100%; left: 0; min-width: 250px; background: #fff; border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,.12); display: none; }
.np-h-sub a { padding: 9px 18px; font-weight: 400; }
.np-h-sub a:hover { background: #f0f2f5; }
.np-h-nav li:hover > .np-h-sub, .np-h-nav li:focus-within > .np-h-sub { display: block; }

.np-h-cta { display: inline-block; padding: 10px 18px; background: #1a237e; color: #fff !important; border-radius: 6px; font: 600 14px 'Poppins', Arial, sans-serif; text-decoration: none; white-space: nowrap; }
.np-h-cta:hover { background: #111c55; }
.np-h-burger { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.np-h-burger span { display: block; width: 26px; height: 3px; margin: 5px 0; background: #111c55; border-radius: 2px; }

@media (max-width: 1100px) {
    .np-h-top-hide { display: none; }
    .np-h-burger { display: block; }
    .np-h-desk-cta { display: none; }
    .np-h-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; max-height: calc(100vh - 72px); overflow-y: auto; box-shadow: 0 10px 20px rgba(0,0,0,.1); }
    .np-h-nav.is-open { display: block; }
    .np-h-nav > ul { flex-direction: column; align-items: stretch; padding: 8px 16px 16px; gap: 0; }
    .np-h-nav > ul > li { border-bottom: 1px solid #eee; }
    .np-h-nav a, .np-h-nav button { padding: 13px 4px; width: 100%; text-align: left; }
    .np-h-sub { position: static; box-shadow: none; padding: 0 0 8px 12px; min-width: 0; }
    .np-h-nav li:hover > .np-h-sub { display: none; }
    .np-h-nav li.is-open > .np-h-sub { display: block; }
    .np-h-mob-cta { display: block; padding-top: 12px; }
}
@media (min-width: 1101px) { .np-h-mob-cta { display: none; } }
.np-h-mob-cta .np-h-cta { text-align: center; }

/* ===== Footer (parts/footer.php) ===== */
.np-f { background: #111c55; color: #c7cbe6; font-size: 14.5px; margin-top: 0; }
.np-f a { color: #c7cbe6; text-decoration: none; }
.np-f a:hover { color: #fff; text-decoration: underline; }
.np-f-cta { border-bottom: 1px solid rgba(255,255,255,.12); padding: 40px 0; }
.np-f-cta .np-container { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.np-f-cta h2 { margin: 0; color: #fff; font-size: 26px; line-height: 1.3; }
.np-f-cta a.np-f-btn { display: inline-block; background: #fff; color: #111c55; padding: 13px 26px; border-radius: 6px; font-weight: 600; text-decoration: none; }
.np-f-cta a.np-f-btn:hover { background: #e9ecef; }
.np-f-main { padding: 48px 0 32px; }
.np-f-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 32px; }
.np-f h4 { color: #fff; font-size: 16px; margin: 0 0 16px; }
.np-f ul { list-style: none; margin: 0; padding: 0; }
.np-f li { margin-bottom: 9px; }
.np-f-logo { max-height: 56px; width: auto; margin-bottom: 14px; }
.np-f-about { margin: 0; }
.np-f-social { display: flex; gap: 10px; margin-top: 16px; }
.np-f-social a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; }
.np-f-social a:hover { background: rgba(255,255,255,.25); }
.np-f-social svg { width: 17px; height: 17px; fill: #fff; }
.np-f-contact li { display: flex; gap: 10px; }
.np-f-contact svg { width: 16px; height: 16px; fill: #fff; flex-shrink: 0; margin-top: 4px; }
.np-f-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 18px 0; font-size: 13px; }
.np-f-bottom .np-container { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.np-f-bottom nav { display: flex; gap: 18px; flex-wrap: wrap; }
@media (max-width: 900px) { .np-f-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) {
    .np-f-grid { grid-template-columns: 1fr; gap: 26px; }
    .np-f-cta h2 { font-size: 21px; }
    .np-f-bottom .np-container { flex-direction: column; text-align: center; align-items: center; }
}

/* ===== Floating WhatsApp / Call (parts/whatsapp.php) ===== */
.np-float { position: fixed; right: 20px; bottom: 24px; z-index: 9990; display: flex; flex-direction: column; gap: 12px; }
.np-float a { width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 18px rgba(0,0,0,.25); transition: transform .2s; }
.np-float a:hover { transform: scale(1.08); }
.np-float svg { width: 30px; height: 30px; fill: #fff; }
.np-float-wa { background: #25d366; }
.np-float-call { background: #1a237e; }

.np-mbar { display: none; }
@media (max-width: 767px) {
    .np-float { display: none; }
    .np-mbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 9990; box-shadow: 0 -2px 10px rgba(0,0,0,.15); }
    .np-mbar a { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 8px; color: #fff; font: 600 15px 'Poppins', Arial, sans-serif; text-decoration: none; }
    .np-mbar svg { width: 20px; height: 20px; fill: #fff; }
    .np-mbar-call { background: #1a237e; }
    .np-mbar-wa { background: #25d366; }
    body { padding-bottom: 52px; }
}

/* ===== Enquiry form (parts/enquiry-form.php) ===== */
.np-form { background: #fff; border-radius: 12px; padding: 28px; box-shadow: 0 8px 30px rgba(17,28,85,.12); max-width: 640px; }
.np-form h3 { margin: 0 0 4px; font-size: 22px; color: #111c55; }
.np-form p.np-form-sub { margin: 0 0 20px; color: #6b7280; font-size: 14px; }
.np-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.np-form-full { grid-column: 1 / -1; }
.np-form label { display: block; font-size: 13px; font-weight: 500; margin-bottom: 4px; color: #374151; }
.np-form input, .np-form select, .np-form textarea { width: 100%; padding: 11px 12px; border: 1px solid #d1d5db; border-radius: 6px; font: 400 15px 'Poppins', Arial, sans-serif; background: #fff; color: #1f2937; }
.np-form input:focus, .np-form select:focus, .np-form textarea:focus { outline: none; border-color: #1a237e; box-shadow: 0 0 0 3px rgba(26,35,126,.15); }
.np-form button { width: 100%; padding: 14px; border: 0; border-radius: 6px; background: #1a237e; color: #fff; font: 600 16px 'Poppins', Arial, sans-serif; cursor: pointer; }
.np-form button:hover { background: #111c55; }
.np-form button:disabled { opacity: .6; cursor: wait; }
.np-form-err { color: #b91c1c; font-size: 13px; min-height: 18px; }
@media (max-width: 600px) { .np-form { padding: 20px; } .np-form-grid { grid-template-columns: 1fr; } }

/* ===== Consultant pages (npi-) ===== */
/* NPCS consultant pages (product + industry hub). build_pages.py inlines this file into every page.
   Brand tokens copied from parts/site.php and the existing header/footer. All classes use the npi- prefix. */

:root {
    --npi-navy: #111c55;
    --npi-indigo: #1a237e;
    --npi-wa: #25d366;
    --npi-wa-dark: #1eb457;
    --npi-ink: #1f2937;
    --npi-body: #333a4d;
    --npi-muted: #5b6078;
    --npi-line: #e3e5ef;
    --npi-mist: #f5f6fa;
    --npi-steel: #dfe3f5;
    --npi-ok: #8fd3a8;
    --npi-focus: #8fa0ff;
}

/* Breadcrumb */
.npi-crumbs { background: var(--npi-mist); border-bottom: 1px solid var(--npi-line); font-size: 13px; }
.npi-crumbs ol { list-style: none; margin: 0; padding: 10px 0; display: flex; flex-wrap: wrap; gap: 6px; color: var(--npi-muted); }
.npi-crumbs li + li::before { content: '/'; margin-right: 6px; color: #a3a8bf; }
.npi-crumbs a { color: var(--npi-indigo); text-decoration: none; }
.npi-crumbs a:hover { text-decoration: underline; }

/* Hero: optional banner image behind; drawing-grid texture when there is no image */
.npi-hero { position: relative; overflow: hidden; color: #fff; background-color: var(--npi-navy);
    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: 32px 32px; }
.npi-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.npi-hero-img + .npi-hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(17,28,85,.95) 0%, rgba(17,28,85,.86) 50%, rgba(17,28,85,.6) 100%); }
.npi-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: center; padding-top: 56px; padding-bottom: 56px; }
.npi-hero-kicker { margin: 0 0 12px; font-size: 15px; font-weight: 500; color: var(--npi-ok); }
.npi-hero h1 { margin: 0 0 14px; font-size: 42px; line-height: 1.15; font-weight: 700; letter-spacing: -.01em; }
.npi-hero-sub { margin: 0 0 24px; font-size: 18px; line-height: 1.55; color: var(--npi-steel); max-width: 34em; }
.npi-trust { list-style: none; margin: 0 0 28px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; color: #c9cfee; }
.npi-trust li { display: flex; align-items: center; gap: 8px; }
.npi-trust svg { width: 16px; height: 16px; fill: var(--npi-ok); flex-shrink: 0; }
.npi-hero .np-form { margin-left: auto; color: var(--npi-ink); }

/* Buttons: same colours and shapes as the site's header/footer CTAs */
.npi-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.npi-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 12px 20px; border-radius: 6px; font: 600 15px 'Poppins', Arial, sans-serif; text-decoration: none; }
.npi-btn svg { width: 18px; height: 18px; fill: currentColor; flex-shrink: 0; }
.npi-btn-wa { background: var(--npi-wa); color: #fff; }
.npi-btn-wa:hover { background: var(--npi-wa-dark); }
.npi-btn-line { color: #fff; border: 1px solid rgba(255,255,255,.55); }
.npi-btn-line:hover { background: rgba(255,255,255,.1); }
.npi-btn-solid { background: var(--npi-indigo); color: #fff; }
.npi-btn-solid:hover { background: var(--npi-navy); }
.npi-btn:focus-visible, .npi-faq summary:focus-visible, .npi-toc a:focus-visible, .npi-refs a:focus-visible, .npi-card a:focus-visible { outline: 3px solid var(--npi-focus); outline-offset: 2px; }

/* Body layout: content column + "On this page" */
.npi-body { padding: 56px 0 32px; }
.npi-body-grid { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 56px; }
.npi-main { min-width: 0; max-width: 800px; }
.npi-sec { padding: 0 0 40px; margin: 0 0 40px; border-bottom: 1px solid var(--npi-line); scroll-margin-top: 96px; }
.npi-sec:last-child { border-bottom: 0; }
.npi-sec h2 { margin: 0 0 14px; font-size: 28px; line-height: 1.25; color: var(--npi-navy); }
.npi-sec h3 { margin: 0 0 10px; font-size: 18px; line-height: 1.35; color: var(--npi-navy); }
.npi-sec p { margin: 0 0 16px; color: var(--npi-body); }
.npi-lead p { font-size: 18px; line-height: 1.7; color: var(--npi-ink); }
.npi-list { margin: 0 0 16px; padding-left: 20px; color: var(--npi-body); }
.npi-list li { margin-bottom: 6px; }
.npi-list li::marker { color: var(--npi-indigo); }

/* Demand map: who buys what */
.npi-demand { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.npi-demand li { padding: 14px 16px 14px 44px; position: relative; background: var(--npi-mist); border-radius: 8px; color: var(--npi-ink); font-size: 15px; line-height: 1.5; }
.npi-demand li::before { content: ''; position: absolute; left: 16px; top: 18px; width: 14px; height: 14px; border: 3px solid var(--npi-indigo); border-radius: 50%; }

/* Project cards */
.npi-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 18px; }
.npi-card { border: 1px solid var(--npi-line); border-top: 4px solid var(--npi-indigo); border-radius: 8px; padding: 18px 18px 16px; background: #fff; display: flex; flex-direction: column; }
.npi-card h3 { margin-bottom: 8px; }
.npi-card h3 a { color: inherit; text-decoration: none; }
.npi-card h3 a:hover { text-decoration: underline; }
.npi-card p { font-size: 15px; margin-bottom: 14px; }
.npi-card dl { margin: auto 0 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; font-size: 14px; padding-top: 12px; border-top: 1px dashed var(--npi-line); }
.npi-card dt { color: var(--npi-muted); }
.npi-card dd { margin: 0; color: var(--npi-ink); font-weight: 500; }

/* Comparison table */
.npi-table-wrap { overflow-x: auto; margin: 18px 0 8px; border: 1px solid var(--npi-line); border-radius: 8px; }
.npi-table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 14.5px; }
.npi-table caption { caption-side: bottom; text-align: left; padding: 10px 14px; font-size: 13px; color: var(--npi-muted); }
.npi-table th, .npi-table td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--npi-line); }
.npi-table thead th { background: var(--npi-navy); color: #fff; font-weight: 600; }
.npi-table tbody th { color: var(--npi-navy); font-weight: 600; background: var(--npi-mist); }
.npi-table td { color: var(--npi-body); }
.npi-table tbody tr:last-child th, .npi-table tbody tr:last-child td { border-bottom: 0; }

/* Regulatory: checklist + per-project category list */
.npi-check { list-style: none; margin: 16px 0; padding: 0; display: grid; gap: 8px; }
.npi-check li { position: relative; padding-left: 30px; color: var(--npi-ink); }
.npi-check li::before { content: ''; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 4px; background: var(--npi-indigo) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center / 14px no-repeat; }
.npi-defs { margin: 18px 0 0; border-top: 2px solid var(--npi-navy); }
.npi-defs > div { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--npi-line); }
.npi-defs dt { font-weight: 600; color: var(--npi-navy); }
.npi-defs dd { margin: 0; color: var(--npi-body); font-size: 15px; }

/* Schemes and policy watch: two columns */
.npi-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 18px; }
.npi-pair > div { background: var(--npi-mist); border-radius: 8px; padding: 18px; }
.npi-pair ul { margin: 0; padding-left: 18px; color: var(--npi-body); }
.npi-pair li { margin-bottom: 6px; }

/* Proof */
.npi-proof { border-left: 4px solid var(--npi-indigo); background: var(--npi-mist); border-radius: 0 8px 8px 0; padding: 20px 22px; margin-top: 18px; }
.npi-proof p { color: var(--npi-ink); margin: 0 0 12px; }
.npi-proof p:last-child { margin-bottom: 0; }
.npi-proof-label { font-size: 13px; color: var(--npi-muted); margin-bottom: 4px !important; }
.npi-feedback { margin: 16px 0 0; padding: 14px 0 0; border-top: 1px dashed #cfd3e6; }
.npi-feedback p { font-style: italic; }
.npi-feedback footer { font-size: 14px; color: var(--npi-navy); font-weight: 600; }
.npi-feedback footer span { font-weight: 400; color: var(--npi-muted); }

/* Report contents */
.npi-cols { columns: 2; column-gap: 32px; margin: 14px 0 0; padding-left: 20px; color: var(--npi-body); }
.npi-cols li { break-inside: avoid; margin-bottom: 8px; }

/* FAQ */
.npi-faq details { border-bottom: 1px solid var(--npi-line); }
.npi-faq summary { cursor: pointer; list-style: none; padding: 16px 36px 16px 0; font-weight: 600; color: var(--npi-navy); position: relative; }
.npi-faq summary::-webkit-details-marker { display: none; }
.npi-faq summary::after { content: '+'; position: absolute; right: 4px; top: 12px; font-size: 22px; font-weight: 400; color: var(--npi-indigo); }
.npi-faq details[open] summary::after { content: '\2212'; }
.npi-faq details > div { padding: 0 0 4px; }

/* External references */
.npi-refs { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 12px; }
.npi-refs li { padding: 14px 16px; border: 1px solid var(--npi-line); border-radius: 8px; }
.npi-refs a { font-weight: 600; color: var(--npi-indigo); }
.npi-refs span { display: block; font-size: 14px; color: var(--npi-muted); margin-top: 4px; }

.npi-byline { font-size: 13.5px; color: var(--npi-muted); margin: 0; }

/* Sidebar */
.npi-toc { position: sticky; top: 100px; align-self: start; font-size: 14px; }
.npi-toc-title { font-size: 15px; font-weight: 600; color: var(--npi-navy); margin: 0 0 10px; }
.npi-toc ol { list-style: none; margin: 0 0 20px; padding: 0; border-left: 2px solid var(--npi-line); }
.npi-toc ol a { display: block; padding: 6px 0 6px 14px; margin-left: -2px; border-left: 2px solid transparent; color: #4b5068; text-decoration: none; line-height: 1.4; }
.npi-toc ol a:hover { color: var(--npi-indigo); border-left-color: var(--npi-indigo); }
.npi-toc-cta { background: var(--npi-navy); color: #fff; border-radius: 8px; padding: 18px; }
.npi-toc-cta p { margin: 0 0 12px; color: var(--npi-steel); font-size: 14px; }
.npi-toc-cta .npi-btn { width: 100%; margin-top: 8px; }

/* Final CTA */
.npi-final { background: var(--npi-mist); padding: 56px 0; }
.npi-final-grid { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.npi-final h2 { margin: 0 0 10px; color: var(--npi-navy); font-size: 28px; line-height: 1.25; }
.npi-final p { margin: 0; color: var(--npi-body); max-width: 40em; }
.npi-final .npi-btn-line { color: var(--npi-navy); border-color: var(--npi-navy); }
.npi-final .npi-btn-line:hover { background: #e8eaf4; }

/* Hero: project at a glance (entities pulled from the project database) */
.npi-glance { margin: 24px 0 0; padding: 14px 16px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); border-radius: 8px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 7px 14px; font-size: 14px; line-height: 1.5; }
.npi-glance dt { color: var(--npi-ok); font-weight: 500; white-space: nowrap; }
.npi-glance dd { margin: 0; color: #eef0fa; }

/* Client assignments carousel (scroll-snap; buttons are a small enhancement, swipe works without JS) */
.npi-clients { background: #fff; border-bottom: 1px solid var(--npi-line); padding: 28px 0 30px; }
.npi-clients-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.npi-clients-head h2 { margin: 0; font-size: 20px; color: var(--npi-navy); }
.npi-clients-head p { margin: 4px 0 0; font-size: 13px; color: var(--npi-muted); }
.npi-car-nav { display: flex; gap: 8px; flex-shrink: 0; }
.npi-car-nav button { width: 40px; height: 40px; border-radius: 50%; border: 1px solid #cfd3e6; background: #fff; color: var(--npi-navy); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.npi-car-nav button:hover { border-color: var(--npi-indigo); background: var(--npi-mist); }
.npi-car-nav button:focus-visible { outline: 3px solid var(--npi-focus); outline-offset: 2px; }
.npi-car-nav svg { width: 18px; height: 18px; fill: currentColor; }
.npi-car { list-style: none; margin: 0; padding: 2px 2px 10px; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 1fr); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.npi-car li { scroll-snap-align: start; border: 1px solid var(--npi-line); border-left: 4px solid var(--npi-indigo); border-radius: 8px; padding: 14px 16px; background: var(--npi-mist); min-height: 112px; display: flex; flex-direction: column; }
.npi-car strong { color: var(--npi-navy); font-size: 15.5px; }
.npi-car span { color: var(--npi-body); font-size: 14px; line-height: 1.45; margin-top: 6px; }
.npi-car small { color: var(--npi-muted); font-size: 12.5px; margin-top: auto; padding-top: 8px; }

/* Carousel client logo: real logo at /image/clients/<slug>.webp, otherwise an initials badge */
.npi-car-top { display: flex; align-items: center; gap: 12px; min-height: 44px; }
.npi-car .npi-car-logo { display: block; width: auto; height: 40px; max-width: 96px; object-fit: contain; background: #fff; border: 1px solid var(--npi-line); border-radius: 6px; padding: 4px 6px; flex-shrink: 0; }
.npi-car .npi-car-mono { margin: 0; width: 44px; height: 44px; flex-shrink: 0; border-radius: 50%; background: var(--npi-navy); color: #fff; font-size: 13px; font-weight: 600; letter-spacing: .02em; line-height: 1; display: flex; align-items: center; justify-content: center; }
.npi-car-top strong { line-height: 1.3; }
.npi-car-top + span { margin-top: 10px; }

/* Image below the intro: any uploaded size fits the 16:9 frame */
.npi-figure { margin: 6px 0 0; border-radius: 10px; overflow: hidden; background: var(--npi-mist); aspect-ratio: 16 / 9; }
.npi-figure img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* "Many more projects" card */
.npi-card-more { background: var(--npi-navy); border-color: var(--npi-navy); color: #fff; justify-content: space-between; }
.npi-card-more h3, .npi-card-more p { color: #fff; }
.npi-card-more p { color: var(--npi-steel); }
.npi-card-more .npi-btn { align-self: flex-start; }

/* Product pages: spec table, steps, two-column lists */
.npi-spec { width: 100%; border-collapse: collapse; margin: 6px 0 12px; font-size: 15px; }
.npi-spec th, .npi-spec td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--npi-line); }
.npi-spec th { width: 34%; color: var(--npi-navy); font-weight: 600; background: var(--npi-mist); }
.npi-spec td { color: var(--npi-body); }
.npi-spec tr:first-child th, .npi-spec tr:first-child td { border-top: 2px solid var(--npi-navy); }
.npi-note { font-size: 13.5px; color: var(--npi-muted); margin: 0 0 6px !important; }
.npi-steps { list-style: none; counter-reset: step; margin: 18px 0 0; padding: 0; }
.npi-steps li { counter-increment: step; position: relative; padding: 0 0 16px 48px; color: var(--npi-body); }
.npi-steps li::before { content: counter(step); position: absolute; left: 0; top: -1px; width: 30px; height: 30px; border-radius: 50%; background: var(--npi-navy); color: #fff; font-size: 13px; font-weight: 600; display: flex; align-items: center; justify-content: center; }
.npi-steps li:not(:last-child)::after { content: ''; position: absolute; left: 14px; top: 32px; bottom: 2px; width: 2px; background: #d6d9e8; }

@media (max-width: 1040px) {
    .npi-body-grid { grid-template-columns: minmax(0, 1fr); }
    .npi-toc { display: none; }
    .npi-main { max-width: none; }
}
@media (max-width: 900px) {
    .npi-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-top: 36px; padding-bottom: 36px; }
    .npi-hero h1 { font-size: 30px; }
    .npi-hero-sub { font-size: 16px; }
    .npi-hero .np-form { margin: 0; max-width: none; }
    .npi-hero-img + .npi-hero-shade { background: rgba(17,28,85,.9); }
    .npi-cards, .npi-pair { grid-template-columns: minmax(0, 1fr); }
    .npi-defs > div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
    .npi-hero-text { display: contents; }
    .npi-hero-main { order: 1; }
    .npi-hero-grid #enquiry { order: 2; }
    .npi-hero .npi-glance { order: 3; margin: 0; }
}
@media (max-width: 600px) {
    .npi-sec h2, .npi-final h2 { font-size: 23px; }
    .npi-lead p { font-size: 17px; }
    .npi-demand { grid-template-columns: minmax(0, 1fr); }
    .npi-cols { columns: 1; }
    .npi-btns .npi-btn { flex: 1 1 100%; }
    .npi-glance { grid-template-columns: minmax(0, 1fr); gap: 2px; }
    .npi-glance dd { margin-bottom: 8px; }
    .npi-spec th { width: 40%; }
    .npi-spec th, .npi-spec td { padding: 10px; font-size: 14px; }
    .npi-car { grid-auto-columns: 82%; }
    .npi-clients-head h2 { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
