/**
 * Nerdpilots Core CSS
 * Shared styles for all v2 themes.
 * Theme-specific overrides go in each theme's skin.css
 */

/* ─── Self-hosted Fonts ─────────────────────────────────────── */

/* Inter — variable font, covers weights 400–800 */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/inter-latin.woff2') format('woff2');
}

/* Manrope — variable font, covers weights 600–800 */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url('../fonts/manrope-latin.woff2') format('woff2');
}

/* Italiana — single weight 400 */
@font-face {
  font-family: 'Italiana';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/italiana-400.woff2') format('woff2');
}

/* Yantramanav — 4 separate weights */
@font-face {
  font-family: 'Yantramanav';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/yantramanav-300.woff2') format('woff2');
}

@font-face {
  font-family: 'Yantramanav';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/yantramanav-400.woff2') format('woff2');
}

@font-face {
  font-family: 'Yantramanav';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/yantramanav-500.woff2') format('woff2');
}

@font-face {
  font-family: 'Yantramanav';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/yantramanav-700.woff2') format('woff2');
}

/* Poppins — static, separate file per weight */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/poppins-400.woff2') format('woff2');
}

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/poppins-500.woff2') format('woff2');
}

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/poppins-600.woff2') format('woff2');
}

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/poppins-700.woff2') format('woff2');
}

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../fonts/poppins-800.woff2') format('woff2');
}

/* Montserrat — variable font, covers weights 400–800 */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/montserrat-latin.woff2') format('woff2');
}

/* Nunito — variable font, covers weights 400–800 */
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/nunito-latin.woff2') format('woff2');
}

/* Raleway — variable font, covers weights 400–800 */
@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/raleway-latin.woff2') format('woff2');
}

/* Playfair Display — variable font, covers weights 400–800 */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/playfair-display-latin.woff2') format('woff2');
}

/* Plus Jakarta Sans — variable font (normal 300–800 + italic 400) */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('../fonts/plus-jakarta-sans-latin.woff2') format('woff2');
}

@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/plus-jakarta-sans-latin-italic.woff2') format('woff2');
}

/* Lato */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/lato-regular.woff2') format('woff2');
}

@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/lato-bold.woff2') format('woff2');
}

/* ─── CSS Custom Properties (defaults, overridden by PHP + skin.css) ── */
:root {
  --npc-primary: #2563eb;
  --npc-primary-hover: #1d4ed8;
  --npc-primary-rgb: 37, 99, 235;
  --npc-nav-bg: #1e293b;
  --npc-nav-color: #ffffff;
  --npc-nav-active-color: var(--npc-primary); /* hover/active link color + underline; override in skin.css when nav-bg = primary */
  --npc-nav-cta-bg:       var(--npc-btn-bg);  /* CTA button bg; set to #fff (+ cta-color) when nav-bg = primary */
  --npc-nav-cta-color:    var(--npc-btn-color);
  --npc-nav-cta-bg-hover: var(--npc-primary-hover);
  --npc-nav-size: 15px;
  --npc-nav-btn-bg: #2563eb;
  --npc-btn-bg: #2563eb;
  --npc-btn-color: #ffffff;
  --npc-footer-bg: #1e293b;
  --npc-footer-bg2: #0f172a;
  --npc-footer-color: #ffffff;
  --npc-footer-link-color: #ffffff;
  --npc-footer-size: 15px;
  --npc-font-primary: 'Inter', system-ui, -apple-system, sans-serif;
  --npc-font-secondary: 'Lato', system-ui, -apple-system, sans-serif;
  --npc-font-heading: 'Manrope', sans-serif;
  --npc-radius: 8px;
  --npc-section-py: 100px;
  --npc-transition: 0.3s ease;
  --npc-navbar-height: 80px;

  /* ── Semantic color slots — set in each theme's skin.css ── */
  --npc-heading:     #1a1a1a;   /* titles on light backgrounds        */
  --npc-text-muted:  #666666;   /* subtitles, descriptions            */
  --npc-card-bg:     #ffffff;   /* card / accordion / table surfaces  */
  --npc-bg-alt:      #f5f5f5;   /* alternate section backgrounds      */
}

/* ─── Base ──────────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  font-family: var(--npc-font-primary);
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
  background: #fff;
  margin: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--npc-font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.5em;
  color: var(--npc-heading);
}

a {
  color: var(--npc-primary);
  text-decoration: none;
  transition: color var(--npc-transition);
}

a:hover {
  color: var(--npc-primary-hover);
}

img {
  max-width: 100%;
  height: auto;
}

/* ─── Skip Link (Accessibility) ────────────────────────────── */
.visually-hidden-focusable:not(:focus):not(:focus-within) {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* ─── Header / Navbar ──────────────────────────────────────── */
.npc-header {
  position: relative;
  z-index: 1030;
}

.npc-navbar {
  background-color: var(--npc-nav-bg);
  padding: 0.75rem 0;
  transition: background-color 0.4s ease, padding 0.3s ease, box-shadow 0.4s ease;
}

.npc-navbar.fixed-top {
  position: fixed;
  width: 100%;
  top: 0;
}

/* ── WordPress admin bar offset ───────────────────────────────
   WP adds .admin-bar to <body> when the toolbar is visible.
   Only fixed navbars need a manual top offset — they are relative
   to the viewport and ignore the body margin-top WP already sets.
   Absolute/overlay navbars inherit the body margin naturally.
   Admin bar height: 32px (desktop) / 46px (≤782px mobile).  */
.admin-bar .npc-navbar.fixed-top {
  top: 32px;
}

@media screen and (max-width: 782px) {
  .admin-bar .npc-navbar.fixed-top {
    top: 46px;
  }
}

/* Transparent overlay — sits above hero, scrolls away with page (not fixed) */
.npc-navbar--overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1030;
}

/* Collapse the header when the navbar is absolutely positioned so it
   doesn't create a gap above the hero section on the homepage. */
.npc-header:has(.npc-navbar--overlay) {
  height: 0;
  overflow: visible;
}

.npc-navbar--transparent {
  background-color: transparent;
  box-shadow: none;
}

.npc-header--scrolled .npc-navbar--transparent {
  background-color: var(--npc-nav-bg);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.npc-header--scrolled .npc-navbar:not(.npc-navbar--transparent) {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.npc-logo {
  max-height: 36px;
  width: auto;
}

.npc-logo-mobile {
  max-height: 40px;
  width: auto;
}

.npc-logo-text {
  font-family: var(--npc-font-primary);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--npc-nav-color);
  text-decoration: none;
}

.npc-navbar {
    min-height: 80px;
}

.npc-navbar .navbar-nav {
  gap: 0.5rem;
}

.npc-navbar .navbar-nav .nav-link {
  color: var(--npc-nav-color);
  font-size: var(--npc-nav-size);
  font-family: var(--npc-font-primary);
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  border-radius: 6px;
  transition: color var(--npc-transition), background-color var(--npc-transition);
}

.npc-navbar .navbar-nav .nav-link:hover,
.npc-navbar .navbar-nav .active:not(.nav-cta) > .nav-link {
  opacity: 1;
}

/* ── Active / hover underline indicator (excludes nav-cta) ─── */
/* Uses ::before so it doesn't conflict with Bootstrap's dropdown
   chevron, which lives on ::after of .dropdown-toggle. */
.npc-navbar .navbar-nav > .nav-item:not(.nav-cta) > .nav-link {
  position: relative;
}

.npc-navbar .navbar-nav > .nav-item:not(.nav-cta) > .nav-link::before {
  content: '';
  position: absolute;
  bottom: 7px;
  left: 1rem;
  right: 1rem;
  height: 2px;
  background-color: var(--npc-nav-active-color);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.npc-navbar .navbar-nav > .nav-item:not(.nav-cta) > .nav-link:hover::before,
.npc-navbar .navbar-nav > .active:not(.nav-cta) > .nav-link::before {
  transform: scaleX(1);
}

/* CTA nav item — add class "nav-cta" to a menu item via Appearance → Menus → Screen Options → CSS Classes */
.npc-navbar .nav-cta > .nav-link {
  background-color: var(--npc-nav-cta-bg);
  color: var(--npc-nav-cta-color);
  padding: 0.875rem 1.5rem !important;
  border-radius: 10px;
  font-weight: 700;
  line-height: 1;
  margin-left: 0.5rem;
  margin-right: 0.5rem;
}

.npc-navbar .nav-cta:last-child > .nav-link {
    margin-right: 0;
}

.npc-navbar .nav-cta > .nav-link:hover {
  background-color: var(--npc-nav-cta-bg-hover);
  color: var(--npc-nav-cta-color);
  opacity: 1;
}

/* ── Dropdown ────────────────────────────────────────────────── */
.npc-navbar .dropdown-menu {
  border: none;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  padding: 0.5rem;
  min-width: 210px;
  margin-top: 0.5rem;
}

.npc-navbar .dropdown-menu.show {
  animation: npcDropdownIn 0.18s ease forwards;
}

@keyframes npcDropdownIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.npc-navbar .dropdown-item {
  border-radius: calc(var(--npc-radius) - 4px);
  padding: 0.6rem 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.npc-navbar .navbar-toggler {
  border: none;
  padding: 0.4rem 0.65rem;
}

.npc-navbar .navbar-toggler:focus {
  box-shadow: none;
}

/* CSS hamburger / X icon that inherits --npc-nav-color */
.npc-navbar .navbar-toggler-icon {
  background-image: none;
  position: relative;
  width: 22px;
  height: 2px;
  background-color: var(--npc-nav-color);
  border-radius: 2px;
  display: block;
  transition: background-color 0.2s ease;
}

.npc-navbar .navbar-toggler-icon::before,
.npc-navbar .navbar-toggler-icon::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--npc-nav-color);
  border-radius: 2px;
  transition: transform 0.25s ease, top 0.25s ease;
}

.npc-navbar .navbar-toggler-icon::before { top: -7px; }
.npc-navbar .navbar-toggler-icon::after  { top:  7px; }

/* Animate to X when expanded */
.npc-navbar .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
  background-color: transparent;
}

.npc-navbar .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
  top: 0;
  transform: rotate(45deg);
}

.npc-navbar .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
  top: 0;
  transform: rotate(-45deg);
}


/* Offcanvas mobile menu */
.offcanvas {
  background-color: var(--npc-nav-bg);
}

.offcanvas.show .nav-link {
  padding: 0.75rem 0 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* No underline animation in the stacked mobile menu */
.offcanvas.show .navbar-nav > .nav-item:not(.nav-cta) > .nav-link::before {
  display: none;
}

.offcanvas.show .navbar-nav > .nav-cta > .nav-link {
  display: block;
  text-align: center;
  border-radius: var(--npc-radius);
  padding: 0.75rem 1.5rem !important;
  margin: 0.75rem 0;
}

/* More breathing room inside the offcanvas panel */
.offcanvas.show .offcanvas-body {
  padding: 1.5rem 1.75rem;
}

.offcanvas .btn-close {
  background-image: none;
  position: relative;
  width: 16px;
  height: 16px;
  right: 8px;
  padding: 0;
  opacity: 0.8;
  filter: none;
  flex-shrink: 0;
}

.offcanvas .btn-close:hover { opacity: 1; }

.offcanvas .btn-close::before,
.offcanvas .btn-close::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--npc-nav-color);
  border-radius: 2px;
}

.offcanvas .btn-close::before { transform: translateY(-50%) rotate(45deg); }
.offcanvas .btn-close::after  { transform: translateY(-50%) rotate(-45deg); }

/* ─── Buttons ──────────────────────────────────────────────── */
.btn,
.npc-btn {
  font-size: 1.125rem;
  font-weight: 700;
}

/* Theme Bootstrap .btn-primary with NPC variables so no per-section overrides are needed */
.btn-primary {
  background-color: var(--npc-btn-bg);
  border-color: var(--npc-btn-bg);
  color: var(--npc-btn-color);
  padding: 10px 24px;
  border-radius: 10px;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  background-color: var(--npc-primary-hover) !important;
  border-color: var(--npc-primary-hover) !important;
  color: var(--npc-btn-color) !important;
}

.npc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  border-radius: var(--npc-radius);
  font-family: var(--npc-font-primary);
  font-weight: 700;
  font-size: 1.125rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--npc-transition);
}

.npc-btn--primary {
  background: var(--npc-btn-bg);
  color: var(--npc-btn-color);
  border-color: var(--npc-btn-bg);
}

.npc-btn--primary:hover {
  background: var(--npc-primary-hover);
  border-color: var(--npc-primary-hover);
  color: var(--npc-btn-color);
}

.npc-btn--outline {
  background: transparent;
  color: var(--npc-btn-bg);
  border-color: var(--npc-btn-bg);
}

.npc-btn--outline:hover {
  background: var(--npc-btn-bg);
  color: var(--npc-btn-color);
}

.npc-btn--white {
  background: #fff;
  color: var(--npc-primary);
  border-color: #fff;
}

.npc-btn--white:hover {
  background: rgba(255, 255, 255, 0.9);
  color: var(--npc-primary-hover);
}

/* ─── Sections (Homepage) ──────────────────────────────────── */
.npc-section {
  padding: var(--npc-section-py) 0;
  position: relative;
  overflow: hidden;
}

/* Section titles — shared across all homepage sections */
.npc-section__title,
.npc-how-it-works__title,
.npc-trust__title,
.npc-services__title,
.npc-compare__title,
.npc-checklist__title,
.npc-intro__title,
.npc-testimonials__title,
.npc-areas__title,
.npc-faq__title,
.npc-widget__title,
.npc-thankyou__title {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--npc-heading);
}

/* Section subtitles */
.npc-section__subtitle {
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 700px;
  color: var(--npc-text-muted);
}

/* Card / item titles inside repeaters */
.npc-how-it-works__box-title,
.npc-trust__item-title,
.npc-trust__box-title,
.npc-services__card-title {
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: 0.375rem;
  color: var(--npc-heading);
}

/* Card / item body text inside repeaters */
.npc-how-it-works__box-desc,
.npc-trust__item-desc,
.npc-trust__box-desc,
.npc-services__card-subtitle,
.npc-areas__description {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--npc-text-muted);
}

/* ─── Hero ─────────────────────────────────────────────────── */
.npc-hero {
  position: relative;
  width: 100%;
  min-height: 720px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 150px 0 100px;
  margin: 0;
}

/*
 * Hero top padding adapts to the navbar state. The default above
 * (150px) is sized for an overlaid transparent navbar; the variants
 * below correct the two cases where that default looks off.
 *
 *   fixed-top + transparent → 150px (default — bg visible behind nav)
 *   fixed-top + solid       → navbar-height + 100px (clear the bar)
 *   overlay (absolute)      → 150px (default — same as fixed+transp)
 *   in-flow (no fixed/over) → 100px (no overlap to clear; match bottom)
 */
.npc-header:has(.npc-navbar.fixed-top):not(:has(.npc-navbar--transparent)) + main .npc-hero {
  padding-top: calc(var(--npc-navbar-height) + 100px);
}

.npc-header:not(:has(.npc-navbar.fixed-top)):not(:has(.npc-navbar--overlay)) + main .npc-hero {
  padding-top: 100px;
}

.npc-hero__overlay,
.npc-hero__vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.npc-hero__overlay {
  z-index: 1;
}

.npc-hero__vignette {
  z-index: 2;
}

.npc-hero__title {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
  color: #fff;
}

.npc-hero__subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  margin-bottom: 2rem;
  opacity: 0.9;
  color: #fff;
}

.npc-hero__subtitle a {
    font-weight: 500;
}

.npc-hero__widget {
  margin-inline: auto;
}

/* ─── Hero: fullwidth modifier ────────────────────────────────── */
.npc-hero--fullwidth {
  min-height: 550px;
}

/* ─── Hero: trust badges ──────────────────────────────────────── */
.npc-hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  margin-top: 1.75rem;
}

.npc-hero__trust-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--npc-trust-color, #fff);
}

@media (max-width: 991.98px) {
  .npc-hero--split .npc-hero__title,
  .npc-hero--split .npc-hero__subtitle {
    text-align: center;
  }

  .npc-hero--split .npc-hero__trust {
    justify-content: center;
  }
}

/* ─── Business / About Section ─────────────────────────────── */
.npc-business {
  background-size: cover;
  background-position: center;
}

.npc-business__image img {
  border-radius: var(--npc-radius);
  width: 100%;
}

/* ─── Features Section ─────────────────────────────────────── */
.npc-features {
  background-size: cover;
  background-position: center;
}

.npc-features__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.npc-features__box {
  text-align: center;
  padding: 1.5rem 1rem;
}

.npc-features__box img {
  width: 100%;
  max-width: 200px;
  height: auto;
  border-radius: var(--npc-radius);
  margin-bottom: 1rem;
}

/* ─── Download / CTA Section ───────────────────────────────── */
.npc-download__image img {
  max-width: 100%;
  border-radius: var(--npc-radius);
}

.npc-download__btn-image img {
  max-height: 50px;
  width: auto;
}


.npc-testimonials__name {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.npc-testimonials__role {
  font-size: 0.85rem;
  opacity: 0.7;
}

.npc-testimonials .carousel-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: none;
}

.npc-testimonials .carousel-indicators .active {
  background: #fff;
}

.npc-testimonials .carousel-control-prev,
.npc-testimonials .carousel-control-next {
  width: 5%;
  opacity: 0.7;
}

/* ─── Trust / Features Grid ────────────────────────────────── */
.npc-trust__box {
  text-align: center;
  padding: 2rem 1.5rem;
}

.npc-trust__icon {
  width: 64px;
  height: 64px;
  object-fit: contain;
  margin-bottom: 1rem;
}

/* ─── Outro Section (Widget / CTA) ─────────────────────────────────── */
.npc-widget-section {
  background: linear-gradient(135deg, var(--npc-primary), var(--npc-primary-hover));
  color: #fff;
}

.npc-widget-section__placeholder {
  border: 2px dashed rgba(255, 255, 255, 0.4);
  padding: 3rem;
  text-align: center;
  border-radius: var(--npc-radius);
  opacity: 0.7;
}

/* ─── Clients / Logo Grid ──────────────────────────────────── */
.npc-clients__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 2rem;
  align-items: center;
}

.npc-clients__logo {
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.npc-clients__logo img {
  max-height: 60px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: all var(--npc-transition);
}

.npc-clients__logo img:hover {
  filter: grayscale(0);
  opacity: 1;
}

@media (max-width: 991.98px) {
  .npc-clients__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 575.98px) {
  .npc-clients__grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 0;
    padding-bottom: 1rem;
  }

  .npc-clients__logo {
    flex: 0 0 40%;
    scroll-snap-align: start;
  }
}

/* ─── Subheader (Inner Pages) ──────────────────────────────── */
.npc-subheader {
  background-size: cover;
  background-position: center;
  background-color: var(--npc-nav-bg);
  background-repeat: no-repeat;
  min-height: 440px;
  display: flex;
  align-items: center;
  padding: 60px 0;
  position: relative;
}

/* When navbar is fixed-top it's removed from flow — offset subheader so
   content is never hidden behind it. Uses CSS :has() (baseline 2023). */
.npc-header:has(.fixed-top) + main .npc-subheader, .npc-header:has(.fixed-top) + main .npc-404 {
  padding-top: calc(var(--npc-navbar-height) + 60px);
}

.npc-subheader--center { text-align: center; }
.npc-subheader--left   { text-align: left; }

.npc-subheader--center .container { max-width: 920px; }

/* When the embed section follows, add extra bottom padding to
   compensate for the card rising 48 px into the subheader. */
.npc-subheader:has(+ .npc-embed) {
  padding-bottom: calc(60px + 40px);
  min-height: 480px;
}

.npc-subheader__overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.npc-subheader .container {
  position: relative;
  z-index: 2;
  color: var(--npc-subheader-text, #fff);
}

/* Vignette layer — sits between overlay (z:0) and content (z:2) */
.npc-subheader::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.npc-subheader__title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 0.5rem;
}

.npc-subheader__subtitle {
  font-size: 1.0625rem;
  line-height: 1.6;
  opacity: 0.85;
  margin-bottom: 0;
}


/* ─── Intro / Story ───────────────────────────────────────────── */
.npc-intro {
  padding: var(--npc-section-py) 0;
}

.npc-intro__image-wrap {
  position: relative;
  overflow: hidden;
}

.npc-intro__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.npc-intro__subtitle {
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 1.25rem;
  opacity: 0.8;
}

.npc-intro__body {
  font-size: 1rem;
  line-height: 1.75;
}

.npc-intro__body p:last-child {
  margin-bottom: 0;
}

/* Checkmark bullet list */
.npc-intro__body ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.npc-intro__body ul li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 0.6rem;
  padding-left: 0;
}

.npc-intro__body ul li::before {
  content: '\f058'; /* fa-circle-check */
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: var(--npc-primary);
  flex-shrink: 0;
  margin-top: 0.15rem;
  font-size: 1.05rem;
}

.npc-intro__body ol {
  padding-left: 1.25rem;
}

.npc-intro__body ol li {
  margin-bottom: 0.4rem;
}

/* CTA row: primary button + secondary phone link */
.npc-intro__cta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.npc-intro__link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--npc-primary);
}

.npc-intro__link:hover span {
  text-decoration: underline;
}

/* ─── Blog / Archive ───────────────────────────────────────── */
.npc-blog {
  padding: var(--npc-section-py) 0;
}

/* Post card — white card, thumbnail left, text right */
.npc-post-card {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  background: #fff;
  border-radius: 16px;
  padding: 1.5rem;
  margin-bottom: 1.25rem;
  box-shadow: 3px 4px 24px rgba(0, 0, 0, 0.08);
}

.npc-post-card__thumb {
  flex-shrink: 0;
  width: 160px;
}

.npc-post-card__thumb img {
  width: 100%;
  border-radius: var(--npc-radius);
  display: block;
}

.npc-post-card__body {
  flex: 1;
  min-width: 0;
}

.npc-post-card__meta {
  font-size: 0.8125rem;
  color: #888;
  margin-bottom: 0.4rem;
}

.npc-post-card__meta a {
  color: inherit;
  text-decoration: none;
}

.npc-post-card__meta-sep {
  margin: 0 0.3rem;
}

.npc-post-card__title {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  line-height: 1.4;
}

.npc-post-card__title a {
  color: inherit;
  text-decoration: none;
}

.npc-post-card__title a:hover {
  color: var(--npc-primary);
}

.npc-post-card__excerpt {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.6;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.npc-post-card__excerpt p {
  margin: 0;
}

@media (max-width: 575px) {
  .npc-post-card {
    flex-direction: column;
  }
  .npc-post-card__thumb {
    width: 100%;
  }
}

/* ─── Embed / Form Page ────────────────────────────────────── */
.npc-embed {
  position: relative;
  z-index: 1;
  padding: 0 0 var(--npc-section-py);
  /* No background here — applied via ::before so it starts below the card's
     overlap zone, keeping the top 48 px transparent behind the rising card. */
}

/* Gray background starts 48 px below the section top, not at the very top.
   This leaves the overlap zone clear so the subheader shows behind the card. */
.npc-embed::before {
  content: '';
  position: absolute;
  inset: 48px 0 0;
  z-index: -1;
}

/* When intro text is present: full background from the top, no card overlap */
.npc-embed:has(.npc-embed__intro) {
  padding-top: 60px;
}

.npc-embed:has(.npc-embed__intro)::before {
  inset: 0;
}

.npc-embed__intro {
  font-size: 1.0625rem;
  line-height: 1.7;
  max-width: 640px;
  margin: 0 auto 2rem;
  text-align: center;
}

/* Card rises 48 px into the subheader */
.npc-embed__area {
  position: relative;
  margin: -48px auto 0;
}

/* No overlap when intro sits above the card */
.npc-embed:has(.npc-embed__intro) .npc-embed__area {
  margin-top: 0;
}

/* ─── Thank You Page ───────────────────────────────────────── */
.npc-thankyou__card {
  max-width: 720px;
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.08);
  padding: 3rem 2.5rem;
  text-align: center;
}

.npc-thankyou__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: var(--npc-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.npc-thankyou__icon svg {
  width: 28px;
  height: 28px;
}

.npc-thankyou__title {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.625rem;
}

.npc-thankyou__subtitle {
  font-size: 1rem;
  color: #666;
  margin-bottom: 1.75rem;
}

.npc-thankyou__embed {
  border-radius: var(--npc-radius);
  overflow: hidden;
  margin-bottom: 2rem;
}

.npc-thankyou__btn {
  display: inline-block;
  margin-top: 0.25rem;
}

/* ─── Contact Page ─────────────────────────────────────────── */
/* Reuses .npc-embed for subheader overlap; card styles scoped here */
.npc-contact .npc-embed__area {
  max-width: 100%;
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.08);
}

.npc-contact__form-col {
  padding: 2.5rem;
}

.npc-contact__info-col {
  padding: 2.5rem;
}

.npc-contact__info-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.75rem;
}

.npc-contact__list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.npc-contact__item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.npc-contact__item-number {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  flex-shrink: 0;
  line-height: 1;
}

.npc-contact__item-text {
  font-size: 0.9375rem;
  line-height: 1.6;
}

.npc-contact__item-link {
  font-weight: 600;
}

.npc-contact__item-note {
  font-size: 0.875rem;
  opacity: 0.65;
  margin-top: 0.2rem;
}

/* ─── WP Contact Form 7 ─────────────────────────────────────── */
.wpcf7 input:not([type="submit"]),
.wpcf7 textarea,
.wpcf7 select {
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: var(--npc-radius);
  padding: 0.625rem 0.875rem;
  font-size: 0.9375rem;
  font-family: var(--npc-font-primary);
  color: inherit;
  background-color: #fff;
  transition: border-color var(--npc-transition), box-shadow var(--npc-transition);
  appearance: auto;
}

.wpcf7 textarea {
  resize: vertical;
  min-height: 140px;
}

.wpcf7 input:not([type="submit"]):focus,
.wpcf7 textarea:focus,
.wpcf7 select:focus {
  outline: none;
  border-color: var(--npc-primary);
  box-shadow: 0 0 0 3px rgba(var(--npc-primary-rgb), 0.15);
}

.wpcf7 input[type="submit"],
.wpcf7-submit {
  background-color: var(--npc-btn-bg);
  border: 1px solid var(--npc-btn-bg);
  color: var(--npc-btn-color);
  padding: 0.625rem 1.75rem;
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--npc-font-primary);
  border-radius: var(--npc-radius);
  cursor: pointer;
  transition: background-color var(--npc-transition), border-color var(--npc-transition);
}

.wpcf7 input[type="submit"]:hover,
.wpcf7-submit:hover {
  background-color: var(--npc-primary-hover);
  border-color: var(--npc-primary-hover);
}

.wpcf7 label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.35rem;
}

.wpcf7 .wpcf7-form-control-wrap {
  display: block;
  margin-bottom: 1rem;
}

/* Content heading: prominent question/label */
.wpcf7 .content-heading {
  font-size: 1rem;
  font-weight: 600;
  color: inherit;
  margin-bottom: 0.25rem;
}

/* Plain <p> next to a heading: subtle description */
.wpcf7 .content-heading + p {
  font-size: 0.875rem;
  opacity: 0.6;
  margin-bottom: 0.5rem;
}

.wpcf7 .send-it p:last-child {
    margin-bottom: 0;
}

/* ─── FAQ / Help Page ───────────────────────────────────────── */
.npc-faq-page {
  padding: var(--npc-section-py) 0;
}

.npc-faq-page__category-title {
  font-size: 1.125rem;
  font-weight: 700;
  padding-bottom: 0.625rem;
  margin-bottom: 1rem;
  border-bottom: 2px solid;
}

/* ─── Article (single post) ────────────────────────────────── */
.npc-blog-content,
.npc-page-content {
  padding: var(--npc-section-py) 0;
}

.npc-article__content img,
.npc-page-content__body img {
  max-width: 100%;
  height: auto;
  border-radius: var(--npc-radius);
}

.npc-article__content ul,
.npc-article__content ol {
  padding-left: 1.5rem;
}

.npc-article__content li {
  margin-bottom: 0.5rem;
}

.npc-article__thumbnail img {
  width: 100%;
  border-radius: var(--npc-radius);
}

.npc-article__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 2rem;
}

.npc-article__nav {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
}

.npc-article__nav a {
  text-decoration: none;
  font-weight: 500;
  color: var(--npc-primary);
}

.npc-article__nav a:hover {
  text-decoration: underline;
}

/* ─── Comments ─────────────────────────────────────────────── */
.npc-article__comments {
  margin-top: 2rem;
}

.npc-article__comments #comments h2,
.npc-article__comments .comments-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.npc-article__comments .comment-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
}

.npc-article__comments .comment {
  padding: 1.25rem;
  background: #f8f9fa;
  border-radius: var(--npc-radius);
  margin-bottom: 1rem;
}

.npc-article__comments .comment-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.npc-article__comments .comment-author img {
  border-radius: 50%;
  width: 40px;
  height: 40px;
}

.npc-article__comments .comment-author b,
.npc-article__comments .fn {
  font-size: 0.9375rem;
  font-weight: 600;
}

.npc-article__comments .comment-metadata {
  font-size: 0.8125rem;
  color: #888;
  margin-bottom: 0.75rem;
}

.npc-article__comments .comment-metadata a {
  color: inherit;
}

.npc-article__comments .comment-content p {
  font-size: 0.9375rem;
  margin-bottom: 0.25rem;
}

.npc-article__comments .reply a {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--npc-primary);
  text-decoration: none;
}

/* Comment form */
.npc-article__comments .comment-respond {
  margin-top: 1.5rem;
}

.npc-article__comments .comment-reply-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.npc-article__comments .comment-form input[type="text"],
.npc-article__comments .comment-form input[type="email"],
.npc-article__comments .comment-form input[type="url"],
.npc-article__comments .comment-form textarea {
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: var(--npc-radius);
  padding: 0.625rem 0.875rem;
  font-size: 0.9375rem;
  font-family: var(--npc-font-primary);
  transition: border-color var(--npc-transition), box-shadow var(--npc-transition);
  margin-bottom: 1rem;
}

.npc-article__comments .comment-form input:focus,
.npc-article__comments .comment-form textarea:focus {
  outline: none;
  border-color: var(--npc-primary);
  box-shadow: 0 0 0 3px rgba(var(--npc-primary-rgb), 0.15);
}

.npc-article__comments .comment-form textarea {
  min-height: 130px;
  resize: vertical;
}

.npc-article__comments .comment-form label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.35rem;
}

.npc-article__comments .form-submit .submit {
  background-color: var(--npc-btn-bg);
  border: none;
  color: var(--npc-btn-color);
  padding: 0.625rem 1.75rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--npc-radius);
  cursor: pointer;
  transition: background-color var(--npc-transition);
}

.npc-article__comments .form-submit .submit:hover {
  background-color: var(--npc-primary-hover);
}

.npc-no-posts {
  padding: 3rem 0;
}

/* ─── Sidebar ──────────────────────────────────────────────── */
.npc-sidebar__heading {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.875rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--npc-primary);
}

.npc-sidebar__subscribe {
  text-align: center;
  margin-bottom: 2rem;
}

.npc-sidebar__subscribe-logo {
  max-width: 140px;
  margin-bottom: 0.75rem;
}

.npc-sidebar__subscribe-title {
  font-weight: 700;
  color: #333;
  margin-bottom: 0.4rem;
}

.npc-sidebar__subscribe-text {
  font-size: 0.875rem;
  color: #666;
  margin-bottom: 1rem;
}

.npc-sidebar__categories li {
  margin-bottom: 0.6rem;
}

.npc-sidebar__categories a {
  color: #717375;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color var(--npc-transition);
}

.npc-sidebar__categories a:hover {
  color: var(--npc-primary);
}

.npc-sidebar__article-link {
  display: block;
  color: #7d818c;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  margin-bottom: 0.5rem;
  transition: color var(--npc-transition);
}

.npc-sidebar__article-link:hover {
  color: var(--npc-primary);
}

.npc-sidebar__article-divider {
  border-color: rgba(221, 220, 220, 0.5);
  margin: 0.5rem 0;
}

.npc-sidebar__archive-list li {
  margin-bottom: 0.5rem;
}

.npc-sidebar__archive-list a {
  color: #7d818c;
  font-size: 0.9rem;
  text-decoration: none;
  transition: color var(--npc-transition);
}

.npc-sidebar__archive-list a:hover {
  color: var(--npc-primary);
}

.npc-sidebar__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.npc-sidebar__tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: #e9ecef;
  border-radius: 50px;
  font-size: 0.8rem;
  color: #555;
  text-decoration: none;
  transition: background-color var(--npc-transition), color var(--npc-transition);
}

.npc-sidebar__tag:hover {
  background: var(--npc-primary);
  color: #fff;
}

/* ─── Single Post ──────────────────────────────────────────── */

.npc-sidebar.npc-post-card {
  display: block;
  padding: 2.5rem;
}

.npc-single__content {
  font-size: 1.05rem;
  line-height: 1.8;
}

.npc-single__content img {
  border-radius: var(--npc-radius);
  margin: 1.5rem 0;
}

.npc-single__content h2,
.npc-single__content h3 {
  margin-top: 2rem;
}

.npc-single__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 2rem 0;
}

.npc-single__nav {
  display: flex;
  justify-content: space-between;
  padding: 2rem 0;
  border-top: 1px solid #eee;
  margin-top: 2rem;
}

/* ─── Pagination ───────────────────────────────────────────── */
.npc-pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.npc-pagination ul.page-numbers {
    list-style-type: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.npc-pagination li > .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--npc-radius);
  color: #333;
  font-weight: 600;
  transition: all var(--npc-transition);
}

.npc-pagination li > .page-numbers.current,
.npc-pagination li > .page-numbers:hover {
  background: var(--npc-primary);
  color: #fff;
}

/* ─── Search ───────────────────────────────────────────────── */
.npc-search-item a {
  color: var(--npc-text, #333);
  text-decoration: none;
}

.npc-search-item a:hover {
  color: var(--npc-primary);
}

/* ─── 404 ──────────────────────────────────────────────────── */
.npc-404 {
  text-align: center;
  padding: 60px 0;
}

.npc-404__heading {
  font-size: 8rem;
  font-weight: 900;
  color: var(--npc-heading);
  line-height: 1;
  margin-bottom: 1rem;
}

/* ─── Comments ─────────────────────────────────────────────── */
.npc-comments {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #eee;
}

.npc-comments .comment {
  padding: 1.5rem;
  border-bottom: 1px solid #f0f0f0;
  border-radius: 1rem;
}

.npc-comments .comment-form-comment {
    display: flex;
    flex-direction: column;
}
.npc-comments .comment-form-comment textarea {
    border-color: #eee;
}

/* ─── Subscribe Form ───────────────────────────────────────── */
.npc-subscribe-form .input-group {
  max-width: 400px;
}

.npc-subscribe-msg {
  font-size: 0.85rem;
  margin-top: 0.5rem;
  opacity: 0;
  transition: opacity var(--npc-transition);
}

.npc-subscribe-msg.visible {
  opacity: 1;
}

/* ─── Footer ───────────────────────────────────────────────── */
.npc-footer {
  font-family: var(--npc-font-primary);
}

.npc-footer__main {
  background-color: var(--npc-footer-bg);
  color: var(--npc-footer-color);
  font-size: var(--npc-footer-size);
  padding: 60px 0 30px;
}

.npc-footer__logo {
  max-height: 50px;
  width: auto;
  margin-bottom: 1rem;
}

.npc-footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--npc-footer-link-color);
  margin-bottom: 0.75rem;
  font-size: var(--npc-footer-size);
}

.npc-footer__contact-item:hover {
  color: var(--npc-footer-link-color);
  opacity: 0.8;
}

.npc-footer__contact-item i {
  margin-top: 3px;
  width: 16px;
  text-align: center;
  flex-shrink: 0;
}

.npc-footer__socials {
  display: flex;
  gap: 0.75rem;
}

.npc-footer__social-link img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  opacity: 0.8;
  transition: opacity var(--npc-transition);
}

.npc-footer__social-link:hover img {
  opacity: 1;
}

.npc-footer__section-title {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1.125rem;
}

.npc-footer__widget {
  width: 100%;
}

.npc-footer__widget-title {
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 1rem;
}

.npc-footer__menu {
  padding: 0;
  margin: 0;
}

.npc-footer__menu li {
  margin-bottom: 0.5rem;
}

.npc-footer__menu a {
  color: var(--npc-footer-link-color);
  font-size: var(--npc-footer-size);
  font-weight: 400;
  opacity: 0.8;
  transition: opacity var(--npc-transition);
}

.npc-footer__menu a:hover {
  opacity: 1;
  color: var(--npc-footer-link-color);
}

.npc-footer__sub {
  background-color: var(--npc-footer-bg2);
  color: var(--npc-footer-color);
  font-size: var(--npc-footer-size);
}

.npc-footer__sub-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
}

.npc-footer__sub-inner > :last-child {
  justify-self: end;
}

.npc-footer__sub-socials {
  display: flex;
  gap: 0.625rem;
  align-items: center;
}

.npc-footer__sub-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  flex-shrink: 0;
}

.npc-footer__sub-social-link img {
  display: block;
}

div:has(a[href*="policies.google.com"]) {
    background-color: var(--npc-footer-bg2);
}

@media (max-width: 767.98px) {
  /* Main footer: center all content */
  .npc-footer__main {
    text-align: center;
  }

  .npc-footer__menus {
    flex-direction: column;
    align-items: center;
  }

  .npc-footer__menus > [class*="col-"] {
    width: auto;
    flex: none;
  }

  .npc-footer__contact {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .npc-footer__contact-item {
    justify-content: center;
  }

  /* Sub footer */
  .npc-footer__sub-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1rem;
    padding: 1.5rem 0;
  }

  .npc-footer__sub-inner > :last-child {
    justify-self: center;
  }

  .npc-footer__sub-socials {
    justify-content: center;
  }

  .npc-footer__buttons {
    justify-content: center;
  }
}

.npc-footer__copyright {
  opacity: 0.7;
}

.npc-footer__buttons {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: wrap;
}

.npc-footer__button {
  color: var(--npc-footer-link-color);
  opacity: 0.7;
  font-size: 0.9375rem;
}

.npc-footer__button:hover {
  opacity: 1;
  color: var(--npc-footer-link-color);
}

.npc-footer__sep {
  opacity: 0.4;
}

.npc-footer__powered {
  opacity: 0.5;
  font-size: inherit;
}

.npc-footer__powered a {
  color: var(--npc-footer-link-color);
}

/* ─── Scroll to Top ────────────────────────────────────────── */
.npc-scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--npc-primary);
  color: #fff;
  border: none;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all var(--npc-transition);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.npc-scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.npc-scroll-top:hover {
  background: var(--npc-primary-hover);
  transform: translateY(-2px);
}

/* ─── Body Editor (ACF WYSIWYG) ────────────────────────────── */
.npc-body-editor {
  padding: var(--npc-section-py) 0;
}

.npc-body-editor img {
  border-radius: var(--npc-radius);
}

/* ─── Responsive ───────────────────────────────────────────── */
@media (max-width: 991.98px) {
  :root {
    --npc-section-py: 60px;
  }

  .npc-hero {
    min-height: 450px;
    padding: 120px 0 70px;
  }

  /* Mobile variants of the navbar-state padding rules above. */
  .npc-header:has(.npc-navbar.fixed-top):not(:has(.npc-navbar--transparent)) + main .npc-hero {
    padding-top: calc(var(--npc-navbar-height) + 70px);
  }

  .npc-header:not(:has(.npc-navbar.fixed-top)):not(:has(.npc-navbar--overlay)) + main .npc-hero {
    padding-top: 70px;
  }

  .npc-subheader {
    padding: 50px 0;
  }

  .npc-header:has(.fixed-top) + main .npc-subheader {
    padding-top: calc(var(--npc-navbar-height) + 50px);
  }

  .npc-testimonials__card {
    padding: 1.5rem;
  }
}

@media (max-width: 575.98px) {

  .npc-footer__buttons {
    justify-content: center;
  }

  .npc-footer__copyright {
    text-align: center;
    width: 100%;
    margin-bottom: 0.5rem;
  }
}

/* ─── Scroll Animations ────────────────────────────────────── */
[data-npc-anim] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

[data-npc-anim="fade-in"] {
  transform: none;
}

[data-npc-anim="fade-left"] {
  transform: translateX(-32px);
}

[data-npc-anim="fade-right"] {
  transform: translateX(32px);
}

[data-npc-anim="scale-up"] {
  transform: scale(0.95);
}

[data-npc-anim].npc-anim--visible {
  opacity: 1;
  transform: none;
}

/* Stagger children inside a container */
[data-npc-anim-stagger] > [data-npc-anim]:nth-child(1) { transition-delay: 0s; }
[data-npc-anim-stagger] > [data-npc-anim]:nth-child(2) { transition-delay: 0.1s; }
[data-npc-anim-stagger] > [data-npc-anim]:nth-child(3) { transition-delay: 0.2s; }
[data-npc-anim-stagger] > [data-npc-anim]:nth-child(4) { transition-delay: 0.3s; }
[data-npc-anim-stagger] > [data-npc-anim]:nth-child(5) { transition-delay: 0.4s; }
[data-npc-anim-stagger] > [data-npc-anim]:nth-child(6) { transition-delay: 0.5s; }

/* ─── Print ────────────────────────────────────────────────── */
@media print {
  .npc-header,
  .npc-footer,
  .npc-scroll-top,
  .npc-sidebar {
    display: none !important;
  }

  body {
    font-size: 12pt;
    color: #000;
  }
}

/* ─── Reduced Motion ───────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ═══════════════════════════════════════════════════════════════
   SECTION COMPONENTS — structural rules extracted from section PHP files
   Visual/decorative rules live in each theme's skin.css
   ═══════════════════════════════════════════════════════════════ */

/* ─── How It Works ─────────────────────────────────────────── */
.npc-how-it-works {
  padding: var(--npc-section-py) 0;
}

.npc-how-it-works__box {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.npc-how-it-works__content {
    flex: 1;
}

.npc-how-it-works__image {
  max-width: 100%;
  height: auto;
}

.npc-how-it-works__icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.npc-how-it-works__icon {
  display: block;
  object-fit: contain;
}

.npc-how-it-works__box-title {
  font-weight: 700;
}

.npc-how-it-works__box-desc {
  line-height: 1.6;
}

.npc-how-it-works__btn {
  text-decoration: none;
}

/* ─── Business / About Section ─────────────────────────────── */
.npc-business {
  padding: var(--npc-section-py) 0;
}

.npc-business--has-bg {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.npc-business__title {
  font-weight: 700;
}

.npc-business__desc {
  line-height: 1.7;
}

.npc-business__image {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.npc-business__btn {
  padding: 0.625rem 2rem;
  font-weight: 700;
  text-decoration: none;
}

/* ─── Features Section ─────────────────────────────────────── */
.npc-features {
  padding: var(--npc-section-py) 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.npc-features__title {
  font-weight: 700;
}

.npc-features__desc {
  line-height: 1.7;
}

.npc-features__box-image {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
}

.npc-features__box-image img {
  max-height: 80px;
  width: auto;
}

.npc-features__box-title {
  font-weight: 600;
  margin-bottom: 0;
}

/* ─── Download / CTA Section ───────────────────────────────── */
.npc-download {
  padding: var(--npc-section-py) 0;
}

.npc-download__title {
  font-weight: 700;
}

.npc-download__desc {
  line-height: 1.7;
}

.npc-download__image {
  max-width: 100%;
  height: auto;
}

.npc-download__link {
  display: inline-block;
  text-decoration: none;
}

.npc-download__btn-image {
  max-height: 60px;
  width: auto;
  transition: opacity 0.2s ease;
}

.npc-download__btn-image:hover {
  opacity: 0.85;
}

.npc-download__btn {
  padding: 0.625rem 2rem;
  font-weight: 700;
}

/* ─── Testimonials ─────────────────────────────────────────── */
.npc-testimonials {
  position: relative;
  background-image: var(--npc-testi-bg);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  padding: var(--npc-section-py) 0;
}

.npc-testimonials > .container {
  z-index: 1;
}

.npc-testimonials__title {
  font-weight: 700;
}

.npc-testimonials__card {
  padding: 2rem 1rem;
}

.npc-testimonials__quote {
  font-size: clamp(1.5rem, 2.25vw, 2.75rem);
  font-weight: 600;
  font-style: italic;
  line-height: 1.4;
  border: none;
  margin: 0;
  padding: 0;
}

.npc-testimonials__avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
}

.npc-testimonials__name {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.npc-testimonials__subtitle {
  font-size: 0.875rem;
  margin-bottom: 0;
}

.npc-testimonials .carousel-indicators {
  bottom: -20px;
}

.npc-testimonials .carousel-indicators button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.npc-testimonials .carousel-control-prev,
.npc-testimonials .carousel-control-next {
  width: 5%;
}

.npc-testimonials__stars {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-bottom: 1rem;
}
.npc-testimonials__star { overflow: visible; }
.npc-testimonials__star-bg { fill: rgba(255,255,255,.25); }
.npc-testimonials__star-fg { fill: #f5c518; }

/* ─── Trust / Features Grid ────────────────────────────────── */
.npc-trust {
  padding: var(--npc-section-py) 0;
  background-image: var(--npc-trust-bg);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.npc-trust__title {
  font-weight: 700;
}

.npc-trust__box {
  padding: 1.5rem 1rem;
}

.npc-trust__box-icon img {
  object-fit: contain;
}

.npc-trust__box-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.npc-trust__box-icon img {
  max-height: 64px;
  width: auto;
}

/* ─── Widget / Shortcode Area ──────────────────────────────── */
.npc-widget {
  padding: var(--npc-section-py) 0;
}

.npc-widget__title {
  font-weight: 700;
}

/* Shared subtitle below section headings */
.npc-section__subtitle {
  font-size: clamp(1rem, 2vw, 1.125rem);
  line-height: 1.7;
  max-width: 640px;
  margin: 0.5rem auto 0;
}

.npc-widget__subtitle {
  line-height: 1.6;
  margin-top: 0.5rem;
  margin-bottom: 0;
}

.npc-widget__content {
  max-width: 680px;
  margin-inline: auto;
}

.npc-widget__placeholder {
  padding: 2rem;
  border-radius: var(--npc-radius);
}

/* ─── Clients / Logo Grid ──────────────────────────────────── */
.npc-clients {
  padding: var(--npc-section-py) 0;
}

.npc-clients__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.5rem;
  align-items: center;
  justify-items: center;
}

.npc-clients__item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
}

.npc-clients__logo {
  max-width: 100%;
  max-height: 60px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: filter 0.3s ease, opacity 0.3s ease;
}

.npc-clients__item:hover .npc-clients__logo {
  filter: grayscale(0%);
  opacity: 1;
}

/* Clients: mobile horizontal scroll with snap */
@media (max-width: 767.98px) {
  .npc-clients__grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 0;
    padding-bottom: 0.75rem;
  }

  .npc-clients__item {
    flex: 0 0 40%;
    scroll-snap-align: start;
    padding: 0.5rem 1rem;
  }
}

/* Clients: tablet 4 columns */
@media (min-width: 768px) and (max-width: 991.98px) {
  .npc-clients__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ─── Services ────────────────────────────────────────────────── */
.npc-services {
  padding: var(--npc-section-py) 0;
}

.npc-services__title {
  font-weight: 700;
}

.npc-services__card {
  display: flex;
  flex-direction: column;
  text-align: center;
  overflow: hidden;
  height: 100%;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.npc-services__card:hover {
  transform: translateY(-4px);
}

.npc-services__image-wrap {
  position: relative;
  width: 100%;
  padding-top: 66.67%; /* 3:2 aspect ratio */
  overflow: hidden;
  flex-shrink: 0;
}

.npc-services__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.npc-services__card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.5rem;
}

.npc-services__card-title {
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.npc-services__card-subtitle {
  line-height: 1.6;
  margin-bottom: 0;
}

.npc-services__btn {
  text-decoration: none;
}

/* ─── Compare ─────────────────────────────────────────────────── */
.npc-compare {
  padding: var(--npc-section-py) 0;
}

.npc-compare__table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.npc-compare__table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.npc-compare__table th,
.npc-compare__table td {
  padding: 1rem 1.25rem;
  vertical-align: middle;
}

.npc-compare__table thead th {
  border-bottom: 2px solid rgba(0, 0, 0, 0.1);
  font-weight: 700;
}

.npc-compare__table tbody tr:not(:last-child) td {
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.npc-compare__feature {
  font-weight: 500;
}

.npc-compare__feature-col {
  width: 50%;
}

.npc-compare__company-col,
.npc-compare__competition-col {
  width: 25%;
}

.npc-compare__logo {
  max-height: 30px;
  max-width: 200px;
  width: auto;
}

.npc-compare__icon {
  width: 24px;
  height: 24px;
}

.npc-compare__icon--check { color: var(--npc-check, #22c55e); }
.npc-compare__icon--cross { color: var(--npc-cross, #dc3545); }

/* ─── Cleaning Checklist ──────────────────────────────────────── */
.npc-checklist {
  padding: var(--npc-section-py) 0;
}

/* Tab navigation */
.npc-checklist__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.375rem;
  margin-bottom: 1.75rem;
  border-bottom: none;
}

.npc-checklist__nav .nav-link {
  border-radius: 2rem;
  padding: 0.45rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 500;
  border: 2px solid transparent;
  color: inherit;
  background: transparent;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
}

.npc-checklist__nav .nav-link:hover {
  background: rgba(0, 0, 0, 0.06);
}

.npc-checklist__nav .nav-link.active {
  background: var(--npc-btn-bg, #000);
  color: var(--npc-btn-color, #fff);
  border-color: var(--npc-btn-bg, #000);
}

/* Tab content area */
.npc-checklist__tab-content {
  margin-top: 0;
}

.npc-checklist__panel {
  display: block; /* single-tab mode — no Bootstrap tab-pane wrapper */
}

/* Table */
.npc-checklist__table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.npc-checklist__table {
  width: 100%;
  border-collapse: collapse;
  min-width: 480px;
}

.npc-checklist__table th,
.npc-checklist__table td {
  padding: 0.75rem 1rem;
  vertical-align: middle;
}

.npc-checklist__table thead th {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.npc-checklist__table tbody tr:not(:last-child) td {
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

.npc-checklist__item-col {
  width: 40%;
}

.npc-checklist__service-col {
  min-width: 100px;
}

.npc-checklist__item-label {
  font-size: 0.95rem;
}

/* Check / cross icons */
.npc-checklist__icon {
  width: 22px;
  height: 22px;
  display: inline-block;
  flex-shrink: 0;
}

.npc-checklist__icon--check { color: var(--npc-check, #22c55e); }
.npc-checklist__icon--cross { color: var(--npc-cross-muted, #d1d5db); }

/* ─── Service Areas ───────────────────────────────────────────── */
.npc-areas {
  padding: var(--npc-section-py) 0;
}

.npc-areas__title {
  font-weight: 700;
}

.npc-areas__description {
  line-height: 1.7;
}

.npc-areas__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.npc-areas__list-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0;
  break-inside: avoid;
  font-size: 0.9375rem;
  font-weight: 600;
}

.npc-areas__list-item::before {
  content: '';
  display: inline-block;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  background-color: var(--npc-areas-accent, var(--npc-primary));
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Ccircle cx='12' cy='12' r='11' stroke='currentColor' stroke-width='2'/%3E%3Cpath d='M7 12.5l3 3 7-7' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Ccircle cx='12' cy='12' r='11' stroke='currentColor' stroke-width='2'/%3E%3Cpath d='M7 12.5l3 3 7-7' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

.npc-areas__btn {
  text-decoration: none;
}

.npc-areas__link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--npc-primary);
}

.npc-areas__link:hover span {
  text-decoration: underline;
}

.npc-areas__map {
  border-radius: var(--npc-radius);
  overflow: hidden;
}

.npc-areas__map iframe {
  width: 100%;
  min-height: 400px;
  border: 0;
  display: block;
}

.npc-areas__map-placeholder {
  border: 2px dashed rgba(0, 0, 0, 0.15);
  padding: 3rem;
  border-radius: var(--npc-radius);
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 575.98px) {
  .npc-areas__list {
    columns: 1;
  }
}

/* ─── FAQ ─────────────────────────────────────────────────────── */
.npc-faq {
  padding: var(--npc-section-py) 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.npc-faq__title {
  font-weight: 700;
}

.npc-faq__accordion {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  border: none;
  border-radius: 0;
  overflow: visible;
}

.npc-faq__item {
  border: none !important;
  overflow: hidden;
}

.npc-faq__question {
  font-weight: 600;
  font-size: 1rem;
  padding: 1.25rem 1.5rem;
  box-shadow: none !important;
  gap: 0.5rem;
}

.npc-faq__question:focus {
  box-shadow: none !important;
  outline: none;
}

/* Replace Bootstrap chevron with + / − */
.npc-faq__question::after {
  background-image: none !important;
  content: '+';
  font-size: 1.5rem;
  font-weight: 300;
  line-height: 1;
  width: auto;
  height: auto;
  transform: none !important;
}

.npc-faq__question:not(.collapsed)::after {
  content: '−';
  transform: none !important;
}

.npc-faq__answer {
  line-height: 1.7;
  padding: 0 1.5rem 1.5rem;
  border-top: none;
}

.npc-faq__answer p {
  margin-bottom: 0;
}

/* ─── Semantic Color Defaults ───────────────────────────────────────
   Uses --npc-heading / --npc-text-muted / --npc-card-bg / --npc-bg-alt
   set by each theme's skin.css. Override per-selector in skin.css for
   sections that use a special colored background (e.g. testimonials).
   ─────────────────────────────────────────────────────────────────── */

/* Subheader — --npc-subheader-text lets themes set one var for both */
.npc-subheader__title    { color: var(--npc-subheader-text, var(--npc-heading)); }
.npc-subheader__subtitle { color: var(--npc-subheader-text, var(--npc-text-muted)); }

/* Navbar dropdown */
.npc-navbar .dropdown-menu { background-color: var(--npc-card-bg); }
.npc-navbar .dropdown-item { color: var(--npc-heading); }
.npc-navbar .dropdown-item:hover,
.npc-navbar .dropdown-item:focus {
  background-color: rgba(var(--npc-primary-rgb), 0.08);
  color: var(--npc-primary);
}

/* Blog / archive */
.npc-blog { background-color: var(--npc-bg-alt); }

/* Embed / form page background band */
.npc-embed::before { background-color: var(--npc-bg-alt); }

/* Intro / story */
.npc-intro__body        { color: var(--npc-text-muted); }
.npc-intro__body strong { color: var(--npc-heading); }

/* Contact page */
.npc-contact__info-col   { background-color: var(--npc-bg-alt); }
.npc-contact__info-title { color: var(--npc-heading); }
.npc-contact__item-number { background-color: var(--npc-primary); color: #fff; }
.npc-contact__item-link   { color: var(--npc-primary); }
.npc-contact__item-link:hover { color: var(--npc-primary-hover); }

/* FAQ section (homepage) */
.npc-faq                        { background-color: var(--npc-bg-alt); }
.npc-faq__question              { background-color: var(--npc-card-bg); color: var(--npc-heading); }
.npc-faq__question:not(.collapsed) { color: var(--npc-primary); background-color: var(--npc-card-bg); }
.npc-faq__question::after       { color: var(--npc-primary); }
.npc-faq__answer                { background-color: var(--npc-card-bg); color: var(--npc-text-muted); }

/* Compare + Checklist tables */
.npc-compare__table,
.npc-checklist__table          { background-color: var(--npc-card-bg); }
.npc-checklist__table thead th { color: var(--npc-heading); }

/* FAQ / Help page */
.npc-faq-page                  { background-color: var(--npc-bg-alt); }
.npc-faq-page__category-title  { color: var(--npc-heading); border-color: var(--npc-primary); }
