/* N-PAC Services page | Theme: #dd131a and #263d5b */
:root {
  --np-red: #dd131a;
  --np-navy: #263d5b;
  --np-dark: #14263d;
  --np-ink: #233852;
  --np-muted: #637187;
  --np-light: #f4f7fa;
  --np-line: #e1e7ee;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 95px; }
body { margin: 0; color: var(--np-ink); background: #fff; font-family: Inter, Arial, sans-serif; line-height: 1.65; }
img { display: block;}
.np-service-image img { display: block; width: 100%;}
a { color: inherit; text-decoration: none; }
.np-container { width: min(1200px, calc(100% - 48px)); margin-inline: auto; }

/* Header */
.np-header { position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,.97); border-bottom: 1px solid #e9edf2; box-shadow: 0 4px 20px #182f4b0b; backdrop-filter: blur(12px); }
.np-nav { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.np-logo { display: inline-flex; align-items: center; gap: 10px; color: var(--np-navy); font-size: 29px; font-weight: 800; letter-spacing: -1.4px; line-height: 1.05; }
.np-logo-mark { width: 40px; height: 42px; display: grid; place-items: center; color: #fff; background: var(--np-red); clip-path: polygon(28% 0,100% 0,72% 100%,0 100%); font-size: 25px; }
.np-logo small { display: block; margin-top: 5px; font-size: 8px; letter-spacing: 1.1px; }
.np-nav nav { display: flex; align-items: center; gap: 30px; }
.np-nav nav a { font-size: 16px; font-weight: 700; transition: color .2s ease, background .2s ease; }
.np-nav nav a:hover { color: var(--np-red); }
.np-nav nav .np-nav-cta { padding: 12px 17px; color: #fff; background: var(--np-red); border-radius: 3px; }
.np-nav nav .np-nav-cta:hover { color: #fff; background: var(--np-navy); }

/* Hero */
.np-hero { color: #fff; background: radial-gradient(circle at 85% 15%, #3b587b 0, transparent 33%), linear-gradient(120deg, #12243a, #263d5b 68%, #172b45); overflow: hidden; }
.np-hero-grid { min-height: 440px; display: grid; grid-template-columns: 1fr .9fr; align-items: center; gap: 60px; padding-block: 60px; }
.np-eyebrow, .np-section-label { color: var(--np-red); font-size: 16px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; }
.np-hero .np-eyebrow, .np-cta .np-eyebrow { color: #ff666b; }
.np-hero h1 { margin: 16px 0; font-size: clamp(40px, 5.2vw, 64px); line-height: 1.08; letter-spacing: -2.7px; font-weight: 800; }
.np-hero h1 span, .np-cta h2 em { color: #ff4149; font-style: normal; }
.np-hero-copy > p { max-width: 560px; margin: 0 0 26px; color: #d6e0eb; font-size: 16px; }
.np-button { display: inline-flex; align-items: center; gap: 22px; padding: 14px 19px; color: #fff; background: var(--np-red); border: 1px solid var(--np-red); border-radius: 3px; font-size: 16px; font-weight: 800; transition: .25s; }
.np-button span { font-size: 18px; }
.np-button:hover { color: var(--np-navy); background: #fff; border-color: #fff; transform: translateY(-2px); }
.np-hero-photo { height: 320px; position: relative; margin-right: 12px; box-shadow: 14px 14px 0 var(--np-red); }
.np-hero-photo img { height: 100%; object-fit: cover; }
.np-hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, #10243bd9, transparent 65%); }
.np-photo-note { position: absolute; z-index: 1; bottom: 20px; left: 20px; font-size: 16px; font-weight: 700; }
.np-photo-note i { display: inline-block; width: 8px; height: 8px; margin-right: 9px; background: #ff4249; border-radius: 50%; box-shadow: 0 0 0 5px #ff424926; }
.np-hero-ribbon { background: #101f32a6; border-top: 1px solid #ffffff1c; }
.np-hero-ribbon .np-container { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding-block: 14px; color: #d7e0eb; font-size: 16px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.np-hero-ribbon b { color: #ff555c; }

/* Intro */
.np-intro { padding: 70px 0 36px; }
.np-intro-grid { display: grid; grid-template-columns: 1fr .8fr; align-items: end; gap: 60px; }
.np-intro h2 { margin: 12px 0 0; color: var(--np-navy); font-size: clamp(30px, 3.8vw, 43px); line-height: 1.2; letter-spacing: -1.5px; }
.np-intro h2 span { color: var(--np-red); }
.np-intro-grid > p { margin: 0 0 4px; color: var(--np-muted); font-size: 16px; }

/* Alternating service rows */
.np-service { padding: 70px 0; border-top: 1px solid #edf0f4; overflow: hidden; }
.np-alt { background: var(--np-light); }
.np-service-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 52px; }
.np-alt .np-service-grid { grid-template-columns: .95fr 1.05fr; }
.np-service-content { min-width: 0; }
.np-number { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; color: var(--np-red); font-size: 23px; font-weight: 800; line-height: 1.2; }
.np-number::before { content: ""; width: 27px; height: 3px; background: var(--np-red); }
.np-number span { color: #8490a0; font-size: 9px; letter-spacing: 1.5px; }
.np-service-content h2 { margin: 0 0 8px; color: var(--np-navy); font-size: clamp(29px, 3vw, 39px); line-height: 1.17; letter-spacing: -1.2px; }
.np-service-content h2 em { color: var(--np-red); font-style: normal; }
.np-service-content h3 { margin: 0 0 15px; color: var(--np-navy); font-size: 16px; line-height: 1.5; }
.np-service-content > p { color: var(--np-muted); font-size: 16px; line-height: 1.85; margin: 0 0 12px; }
.np-service-image { height: 410px; position: relative; min-width: 0; padding: 0 0 17px 17px; }
.np-service-image::before { content: ""; position: absolute; top: -12px; left: 5px; width: 70%; height: 72%; border-top: 5px solid var(--np-red); border-left: 5px solid var(--np-red); pointer-events: none; }
.np-service-image img { position: relative; z-index: 1; height: auto; box-shadow: 0 18px 45px #172c461a; border-radius: 3px; }
.np-alt .np-service-image { padding: 0 17px 17px 0; }
.np-alt .np-service-image::before { left: auto; right: 5px; border-left: 0; border-right: 5px solid var(--np-red); }
.np-image-tag { position: absolute; z-index: 2; right: -7px; bottom: 0; display: flex; align-items: center; gap: 13px; min-width: 225px; padding: 15px 18px; color: #fff; background: var(--np-navy); box-shadow: 0 10px 25px #162b451f; }
.np-alt .np-image-tag { right: auto; left: -7px; }
.np-image-tag strong { color: #ff454c; font-size: 27px; font-weight: 800; }
.np-image-tag b, .np-image-tag small { display: block; }
.np-image-tag b { font-size: 16px; }
.np-image-tag small { margin-top: 3px; color: #c9d4e0; font-size: 9px; }

/* Content cards and process */
.np-info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; margin-top: 22px; }
.np-info { min-width: 0; padding: 17px 15px; background: #fff; border: 1px solid var(--np-line); border-radius: 3px; }
.np-info h4 { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; color: var(--np-navy); font-size: 16px; font-weight: 800; }
.np-info h4:first-letter { color: var(--np-red); }
.np-info ul { display: grid; grid-template-columns: 1fr; gap: 7px; margin: 0; padding: 0; list-style: none; }
.np-info li { position: relative; padding-left: 12px; color: var(--np-muted); font-size: 16px; line-height: 1.55; }
.np-info li::before { content: ""; position: absolute; left: 0; top: 6px; width: 5px; height: 5px; background: var(--np-red); border-radius: 50%; }
.np-info p { margin: 0; color: var(--np-muted); font-size: 16px; line-height: 1.8; }
.np-how { margin-top: 18px; padding: 15px 18px; background: #eef2f6; border-left: 3px solid var(--np-red); }
.np-how b, .np-process b { display: block; margin-bottom: 5px; color: var(--np-navy); font-size: 16px; font-weight: 800; }
.np-how p { margin: 0; color: var(--np-muted); font-size: 16px; line-height: 1.8; }
.np-process { margin-top: 17px; padding: 15px 17px; background: #fff; border: 1px solid var(--np-line); }
.np-process p { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0; color: var(--np-navy); font-size: 16px; font-weight: 700; line-height: 1.8; }
.np-process p span { color: var(--np-red); font-weight: 800; }
.np-platforms { margin-bottom: 12px !important; color: var(--np-navy) !important; font-weight: 700; }
.np-mini-note { margin-top: 15px; padding: 10px; color: var(--np-red); background: #fff4f4; font-size: 9px; font-weight: 800; line-height: 1.7; }
.np-compliance { margin-top: 13px !important; padding-left: 11px; border-left: 2px solid var(--np-red); font-size: 16px !important; }

/* CTA and footer */
.np-cta { padding: 68px 0; color: #fff; background: radial-gradient(circle at 90% 10%, #dd131a35, transparent 30%), linear-gradient(120deg, #14263d, #263d5b); }
.np-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 35px; }
.np-cta h2 { margin: 12px 0; font-size: clamp(30px, 4vw, 45px); line-height: 1.18; letter-spacing: -1.3px; }
.np-cta p { max-width: 600px; margin: 0; color: #d4deea; font-size: 16px; }
.np-cta .np-button { flex-shrink: 0; }
.np-footer { color: #fff; background: #101f32; }
.np-footer-top { display: flex; align-items: center; justify-content: space-between; gap: 22px; padding-block: 27px; }
.np-footer-logo { color: #fff; }
.np-footer-top p { color: #c6d2df; font-size: 16px; }
.np-footer-top > a:last-child { font-size: 16px; font-weight: 700; }
.np-footer-top > a:last-child:hover { color: #ff5a60; }
.np-footer-bottom { padding-block: 14px; border-top: 1px solid #ffffff1a; color: #aebdcd; text-align: center; font-size: 16px; }

/* Responsive */
@media (max-width: 980px) {
  .np-hero-grid { gap: 35px; }
  .np-service-grid, .np-alt .np-service-grid { gap: 30px; }
  .np-service-image { height: 360px; }
  .np-info-grid { gap: 10px; }
  .np-info { padding: 14px 11px; }
}
@media (max-width: 740px) {
  .np-container { width: calc(100% - 32px); }
  .np-nav { min-height: 72px; flex-wrap: wrap; padding-block: 12px; }
  .np-logo { font-size: 26px; }
  .np-nav nav { width: 100%; justify-content: space-between; gap: 12px; padding-bottom: 3px; }
  .np-nav nav a { font-size: 16px; }
  .np-nav nav .np-nav-cta { padding: 9px 12px; }
  .np-hero-grid { grid-template-columns: 1fr; gap: 32px; padding-block: 45px; }
  .np-hero h1 { font-size: clamp(38px, 9vw, 54px); letter-spacing: -1.8px; }
  .np-hero-photo { height: 270px; margin-right: 8px; }
  .np-hero-ribbon .np-container { flex-wrap: wrap; justify-content: flex-start; gap: 9px 13px; font-size: 9px; }
  .np-intro { padding: 48px 0 25px; }
  .np-intro-grid { grid-template-columns: 1fr; gap: 15px; }
  .np-intro h2 { font-size: 32px; }
  .np-service { padding: 48px 0; }
  .np-service-grid, .np-alt .np-service-grid { grid-template-columns: 1fr; gap: 34px; }
  .np-alt .np-service-image { order: 2; }
  .np-alt .np-service-content { order: 1; }
  .np-service-image { height: 300px; margin-inline: 5px; }
  .np-service-content h2 { font-size: 33px; }
  .np-service-content h3 { font-size: 16px; }
  .np-info-grid { gap: 12px; }
  .np-info { padding: 15px 12px; }
  .np-cta { padding: 48px 0; }
  .np-cta-inner { align-items: flex-start; flex-direction: column; gap: 24px; }
  .np-cta h2 { font-size: 35px; }
  .np-footer-top { align-items: flex-start; flex-direction: column; gap: 12px; }
  .np-footer-top p { margin: 0; }
}
@media (max-width: 440px) {
  .np-container { width: calc(100% - 26px); }
  .np-nav nav { gap: 8px; }
  .np-nav nav a { font-size: 16px; }
  .np-nav nav .np-nav-cta { padding: 9px; }
  .np-hero h1 { font-size: 38px; }
  .np-hero-photo { height: 225px; }
  .np-service-image { height: 245px; }
  .np-info-grid { grid-template-columns: 1fr; }
  .np-info { padding: 16px; }
  .np-info ul { grid-template-columns: 1fr 1fr; column-gap: 12px; }
  .np-number { font-size: 20px; }
  .np-number span { font-size: 8px; letter-spacing: 1px; }
  .np-image-tag { min-width: 195px; padding: 12px 14px; }
  .np-process p { gap: 5px; }
}
