/* =============================================
   NIIFAM — "nv" design system (Home, About, Services, Portfolio, Contact)
   Light content sections on dark hero / CTA / footer bands.
   Scoped under .nv so legacy pages (products) keep their own look.
   ============================================= */

.nv {
  --nv-navy:   #0a1633;
  --nv-ink:    #14213d;
  --nv-muted:  #55627d;
  --nv-bg:     #f5f7fb;
  --nv-card:   #ffffff;
  --nv-line:   #e3e8f2;
  --nv-brand:  #1428a0;
  --nv-brand-2:#0689d8;
  --nv-tint:   #eaf1ff;
  --nv-grad:   linear-gradient(135deg, #1428a0 0%, #0689d8 100%);
  --nv-shadow: 0 1px 2px rgba(10,22,51,.06), 0 8px 24px rgba(10,22,51,.07);
  --nv-shadow-lg: 0 2px 4px rgba(10,22,51,.06), 0 18px 44px rgba(10,22,51,.14);
  --nv-r: 18px;

  font-family: 'DM Sans', 'Inter', sans-serif;
  font-size: 1.0625rem;
  color: var(--nv-ink);
  background: var(--nv-bg);
}
.nv h1, .nv h2, .nv h3, .nv h4 {
  font-family: 'Plus Jakarta Sans', 'Space Grotesk', sans-serif;
  color: var(--nv-ink);
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.nv p { color: var(--nv-muted); max-width: none; }
.nv section { position: relative; }

/* ---------- Layout ---------- */
.nv .nv-wrap   { max-width: 1200px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 28px); }
.nv .nv-sec    { padding: clamp(64px, 8vw, 104px) 0; }
.nv .nv-sec-white { background: #fff; }
.nv .nv-head   { text-align: center; max-width: 680px; margin: 0 auto clamp(36px, 5vw, 56px); }
.nv .nv-head.left { text-align: left; margin-left: 0; }
.nv .nv-eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--nv-brand-2); margin-bottom: 12px;
}
.nv .nv-h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); font-weight: 800; margin: 0 0 14px; }
.nv .nv-lead { font-size: 1.1rem; line-height: 1.7; margin: 0; }
.nv .nv-grad { background: var(--nv-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.nv .nv-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.nv .nv-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.nv .nv-center { text-align: center; margin-top: 40px; }

/* ---------- Buttons ---------- */
.nv .nv-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 28px; border-radius: 12px; border: 1.5px solid transparent;
  font: 700 1rem/1 'DM Sans', sans-serif; cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}
.nv .nv-btn-primary { background: var(--nv-grad); color: #fff; box-shadow: 0 8px 22px rgba(20,40,160,.32); }
.nv .nv-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(20,40,160,.42); }
.nv .nv-btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.nv .nv-btn-ghost:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.nv .nv-btn-outline { background: #fff; color: var(--nv-brand); border-color: var(--nv-line); }
.nv .nv-btn-outline:hover { border-color: var(--nv-brand); transform: translateY(-2px); }
.nv .nv-btn-light { background: #fff; color: var(--nv-brand); }
.nv .nv-btn-light:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(0,0,0,.25); }
.nv .nv-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--nv-brand); text-decoration: none; }
.nv .nv-link:hover { gap: 12px; }

/* ---------- Dark hero (inner pages) ---------- */
.nv .nv-hero {
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(6,137,216,.35), transparent 60%),
    radial-gradient(700px 380px at 5% 110%, rgba(20,40,160,.55), transparent 60%),
    var(--nv-navy);
  color: #fff; text-align: center;
  padding: calc(var(--nav-h, 76px) + clamp(48px, 7vw, 88px)) 0 clamp(56px, 7vw, 88px);
  overflow: hidden;
}
.nv .nv-hero::before {
  content: ''; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 75%);
}
.nv .nv-hero > * { position: relative; }
.nv .nv-hero h1 { color: #fff; font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 800; margin: 0 0 16px; }
.nv .nv-hero p { color: rgba(255,255,255,.8); font-size: 1.15rem; max-width: 640px; margin: 0 auto; line-height: 1.7; }
.nv .nv-crumbs { display: flex; justify-content: center; gap: 8px; font-size: .9rem; color: rgba(255,255,255,.6); margin-bottom: 18px; }
.nv .nv-crumbs a { color: rgba(255,255,255,.8); text-decoration: none; }
.nv .nv-crumbs a:hover { color: #fff; text-decoration: underline; }

/* ---------- Stats strip ---------- */

/* ---------- Cards ---------- */
.nv .nv-card {
  background: var(--nv-card); border: 1px solid var(--nv-line); border-radius: var(--nv-r);
  padding: clamp(22px, 3vw, 32px); box-shadow: var(--nv-shadow);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.nv a.nv-card, .nv .nv-card.hover:hover { text-decoration: none; }
.nv .nv-card:hover { transform: translateY(-4px); box-shadow: var(--nv-shadow-lg); border-color: #c9d6f2; }
.nv .nv-card h3 { font-size: 1.25rem; font-weight: 700; margin: 0 0 10px; }
.nv .nv-card p { margin: 0 0 18px; line-height: 1.7; font-size: 1rem; }
.nv .nv-icon {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 20px;
  background: var(--nv-grad); color: #fff; font-size: 1.4rem; box-shadow: 0 8px 18px rgba(20,40,160,.28);
}
.nv .nv-icon.soft { background: var(--nv-tint); color: var(--nv-brand); box-shadow: none; }

/* ---------- Split (image + text) ---------- */
.nv .nv-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.nv .nv-split.rev .nv-split-media { order: 2; }
.nv .nv-media { position: relative; }
.nv .nv-media img { width: 100%; border-radius: 24px; aspect-ratio: 4 / 3; object-fit: cover; }
.nv .nv-media::after {
  content: ''; position: absolute; inset: 18px -14px -14px 18px; border-radius: 24px; z-index: -1;
  background: var(--nv-tint); border: 1px solid var(--nv-line);
}
.nv .nv-prose { color: var(--nv-muted); line-height: 1.8; }
.nv .nv-prose p { margin: 0 0 1em; }
.nv .nv-prose ul { list-style: disc; padding-left: 1.2em; margin: 0 0 1em; }
.nv .nv-prose strong { color: var(--nv-ink); }

/* ---------- Check list ---------- */
.nv .nv-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.nv .nv-checks li {
  display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--nv-line);
  border-radius: 14px; padding: 16px 18px; box-shadow: var(--nv-shadow);
}
.nv .nv-checks i { color: #fff; background: var(--nv-grad); width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: .7rem; flex-shrink: 0; margin-top: 2px; }
.nv .nv-checks strong { display: block; color: var(--nv-ink); font-size: 1.02rem; }
.nv .nv-checks span { color: var(--nv-muted); font-size: .96rem; line-height: 1.6; }

/* ---------- Process ---------- */

/* ---------- Clients marquee (light) ---------- */
.nv .nv-clients { background: #fff; border-top: 1px solid var(--nv-line); border-bottom: 1px solid var(--nv-line); padding: 44px 0 40px; overflow: hidden; }
.nv .nv-clients-title { text-align: center; font-weight: 700; color: var(--nv-muted); font-size: .9rem; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 26px; }

/* ---------- Work cards ---------- */

/* ---------- Testimonials ---------- */
.nv .nv-quote { margin: 0; display: flex; flex-direction: column; gap: 18px; }
.nv .nv-quote .stars { color: #f5a623; font-size: .9rem; display: flex; gap: 3px; }
.nv .nv-quote .stars .off { color: #d5dcea; }
.nv .nv-quote blockquote { margin: 0; flex: 1; color: var(--nv-ink); line-height: 1.75; }
.nv .nv-quote figcaption { display: flex; align-items: center; gap: 12px; border-top: 1px solid var(--nv-line); padding-top: 16px; }
.nv .nv-quote figcaption img, .nv .nv-quote .av { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.nv .nv-quote .av { display: grid; place-items: center; background: var(--nv-grad); color: #fff; font-weight: 700; }
.nv .nv-quote strong { display: block; }
.nv .nv-quote small { color: var(--nv-muted); }

/* ---------- FAQ ---------- */
.nv .nv-faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.nv .nv-faq details { background: #fff; border: 1px solid var(--nv-line); border-radius: 14px; box-shadow: var(--nv-shadow); }
.nv .nv-faq details[open] { border-color: #b9ccf5; }
.nv .nv-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; min-height: 58px; font-weight: 700; color: var(--nv-ink); }
.nv .nv-faq summary::-webkit-details-marker { display: none; }
.nv .nv-faq summary::after { content: '+'; font-size: 1.6rem; line-height: 1; color: var(--nv-brand-2); transition: transform .2s ease; }
.nv .nv-faq details[open] summary::after { transform: rotate(45deg); }
.nv .nv-faq .ans { padding: 0 22px 20px; color: var(--nv-muted); line-height: 1.75; }

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

/* ---------- Contact ---------- */
.nv .nv-contact { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.nv .nv-info { display: grid; gap: 16px; }
.nv .nv-info-item { display: flex; gap: 16px; align-items: flex-start; }
.nv .nv-info-item .nv-icon { margin: 0; flex-shrink: 0; width: 52px; height: 52px; font-size: 1.15rem; }
.nv .nv-info-item h3 { font-size: 1.05rem; margin: 2px 0 4px; }
.nv .nv-info-item p, .nv .nv-info-item a { margin: 0; color: var(--nv-muted); text-decoration: none; line-height: 1.6; }
.nv .nv-info-item a:hover { color: var(--nv-brand); }
.nv .nv-social { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.nv .nv-social a {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: var(--nv-tint); color: var(--nv-brand); text-decoration: none; transition: .2s ease;
}
.nv .nv-social a:hover { background: var(--nv-grad); color: #fff; transform: translateY(-2px); }
.nv .nv-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.nv .nv-form .full { grid-column: 1 / -1; }
.nv .nv-field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; color: var(--nv-ink); }
.nv .nv-field label .req { color: #d63a3a; }
.nv .nv-field input, .nv .nv-field textarea, .nv .nv-field select {
  width: 100%; min-height: 50px; padding: 12px 16px; border-radius: 12px;
  background: #fff; border: 1.5px solid var(--nv-line); color: var(--nv-ink); font-size: 16px; font-family: inherit;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.nv .nv-field textarea { min-height: 140px; resize: vertical; }
.nv .nv-field input::placeholder, .nv .nv-field textarea::placeholder { color: #98a3b8; }
.nv .nv-field input:focus, .nv .nv-field textarea:focus { outline: none; border-color: var(--nv-brand-2); box-shadow: 0 0 0 4px rgba(6,137,216,.15); }
.nv .nv-field .input-error { border-color: #d63a3a; }
.nv .nv-field .field-error-text, .nv .field-error-text { color: #c02d2d; font-size: .85rem; margin-top: 4px; display: block; }
.nv .nv-alert { display: flex; gap: 10px; align-items: center; padding: 14px 16px; border-radius: 12px; margin-bottom: 18px; font-weight: 500; }
.nv .nv-alert.ok  { background: #e7f7ee; color: #14673a; border: 1px solid #b6e4c8; }
.nv .nv-alert.err { background: #fdecec; color: #8f2020; border: 1px solid #f3bcbc; }
.nv .nv-map { border-radius: var(--nv-r); overflow: hidden; border: 1px solid var(--nv-line); box-shadow: var(--nv-shadow); background: #e9eef8; }
.nv .nv-map iframe { display: block; width: 100%; height: 420px; border: 0; }

/* ---------- Quote modal (Services) ---------- */
.nv-modal-overlay { position: fixed; inset: 0; z-index: 99990; background: rgba(10,22,51,.6); backdrop-filter: blur(4px); display: grid; place-items: center; padding: 16px; }
.nv-modal { width: 100%; max-width: 560px; max-height: 92vh; overflow: auto; background: #fff; color: #14213d; border-radius: 20px; padding: clamp(20px, 4vw, 32px); box-shadow: 0 30px 80px rgba(0,0,0,.35); font-family: 'DM Sans', sans-serif; }
.nv-modal h3 { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 1.4rem; margin: 0; color: #14213d; }
.nv-modal .sub { color: #55627d; margin: 4px 0 0; }
.nv-modal .head { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.nv-modal .x { width: 40px; height: 40px; border-radius: 10px; background: #f0f3fa; color: #14213d; flex-shrink: 0; }
.nv-modal .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.nv-modal label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
.nv-modal .req { color: #d63a3a; }
.nv-modal input, .nv-modal textarea { width: 100%; min-height: 48px; padding: 11px 14px; border-radius: 12px; border: 1.5px solid #e3e8f2; font-size: 16px; font-family: inherit; color: #14213d; background: #fff; }
.nv-modal textarea { min-height: 110px; resize: vertical; }
.nv-modal input:focus, .nv-modal textarea:focus { outline: none; border-color: #0689d8; box-shadow: 0 0 0 4px rgba(6,137,216,.15); }
.nv-modal .input-error { border-color: #d63a3a; }
.nv-modal .field-error-text { color: #c02d2d; font-size: .85rem; }
.nv-modal .field { margin-bottom: 14px; }
.nv-modal .foot { display: flex; gap: 12px; justify-content: flex-end; margin-top: 8px; flex-wrap: wrap; }
.nv-modal .nv-alert { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border-radius: 12px; margin-bottom: 14px; }
.nv-modal .nv-alert.ok { background: #e7f7ee; color: #14673a; }
.nv-modal .nv-alert.err { background: #fdecec; color: #8f2020; }
.nv-modal .nv-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 12px; font-weight: 700; border: 1.5px solid transparent; cursor: pointer; font-size: 1rem; }
.nv-modal .nv-btn-primary { background: linear-gradient(135deg, #1428a0, #0689d8); color: #fff; }
.nv-modal .nv-btn-outline { background: #fff; border-color: #e3e8f2; color: #14213d; }
.nv-modal .nv-btn[disabled] { opacity: .7; cursor: wait; }

/* ---------- Home hero adjustments (keeps the admin-managed slider) ---------- */

/* ---------- Footer: match the navy bands ---------- */
body .footer { background: #0a1633; border-top: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .nv .nv-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .nv .nv-contact { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nv { font-size: 1rem; }
  .nv .nv-split { grid-template-columns: 1fr; }
  .nv .nv-split.rev .nv-split-media { order: 0; }
  .nv .nv-media::after { display: none; }
  .nv .nv-form { grid-template-columns: 1fr; }
  .nv-modal .row { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .nv .nv-grid-3, .nv .nv-grid-2 { grid-template-columns: 1fr; }
}

/* Keep legacy hero-slider text legible inside the .nv scope */

/* Portfolio filter chips */
.nv .nv-filter { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 36px; }
.nv .nv-filter button {
  min-height: 44px; padding: 0 20px; border-radius: 100px; background: #fff; color: var(--nv-ink);
  border: 1.5px solid var(--nv-line); font-weight: 600; font-family: inherit; cursor: pointer; transition: .15s ease;
}
.nv .nv-filter button:hover { border-color: var(--nv-brand); color: var(--nv-brand); }
.nv .nv-filter button.is-active { background: var(--nv-grad); color: #fff; border-color: transparent; }

/* Services: quick-jump bar and icon art fallback */
.nv [id] { scroll-margin-top: calc(var(--nav-h, 76px) + 70px); }

/* WhatsApp CTA + screen-reader helper */
.nv .nv-wa-card { text-decoration: none; }
.nv .nv-wa-card:hover { border-color: #25d366; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Products: search + gallery thumbs + lightbox */
.nv .nv-search { position: relative; max-width: 520px; margin: 0 auto 36px; }
.nv .nv-search i.fa-search { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: #8a96ad; }
.nv .nv-search input { width: 100%; min-height: 54px; padding: 0 46px 0 48px; border-radius: 14px; border: 1.5px solid var(--nv-line); background: #fff; font-size: 16px; font-family: inherit; color: var(--nv-ink); box-shadow: var(--nv-shadow); }
.nv .nv-search input:focus { outline: none; border-color: var(--nv-brand-2); box-shadow: 0 0 0 4px rgba(6,137,216,.15); }
.nv .nv-search button { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 10px; color: var(--nv-muted); }
.nv-lightbox { position: fixed; inset: 0; z-index: 99995; background: rgba(6,12,28,.94); display: grid; place-items: center; padding: 56px 72px; }
.nv-lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 12px; }
.nv-lightbox .lb-btn { position: absolute; width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; font-size: 1.1rem; display: grid; place-items: center; border: 0; cursor: pointer; }
.nv-lightbox .lb-btn:hover { background: rgba(255,255,255,.24); }
.nv-lightbox .lb-close { top: 16px; right: 16px; }
@media (max-width: 640px) { .nv-lightbox { padding: 64px 12px; } }

/* Map fallback link */
.nv .nv-map-link { display: flex; justify-content: center; margin-top: 18px; }

/* =============================================
   Portfolio cards (shared by Home + Portfolio)
   ============================================= */
.nv .nv-pgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.nv .nv-pcard {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--nv-line);
  border-radius: var(--nv-r); overflow: hidden; box-shadow: var(--nv-shadow);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.nv .nv-pcard:hover { transform: translateY(-4px); box-shadow: var(--nv-shadow-lg); border-color: #c9d6f2; }
.nv .nv-pcard-media { position: relative; aspect-ratio: 16 / 10; background: var(--nv-tint); overflow: hidden; }
.nv .nv-pcard-media > a, .nv .nv-pcard-open { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: pointer; }
.nv .nv-pcard-open { cursor: zoom-in; }
.nv .nv-pcard-media img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .5s ease; }
.nv .nv-pcard:hover .nv-pcard-media img { transform: scale(1.05); }
.nv .nv-pcard-ph { display: grid; place-items: center; height: 100%; color: var(--nv-brand); font-size: 2.6rem; }
.nv .nv-pcard-tag {
  position: absolute; top: 14px; left: 14px; padding: 5px 12px; border-radius: 100px;
  background: rgba(10,22,51,.82); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.nv .nv-pcard-zoom {
  position: absolute; right: 12px; bottom: 12px; width: 38px; height: 38px; border-radius: 12px;
  display: grid; place-items: center; background: rgba(255,255,255,.92); color: var(--nv-brand);
  opacity: 0; transform: translateY(6px); transition: .2s ease;
}
.nv .nv-pcard:hover .nv-pcard-zoom, .nv .nv-pcard-open:focus-visible .nv-pcard-zoom { opacity: 1; transform: none; }
.nv .nv-pcard-body { display: flex; flex-direction: column; gap: 10px; padding: 20px 22px 22px; flex: 1; }
.nv .nv-pcard-body h3 { font-size: 1.18rem; margin: 0; }
.nv .nv-pcard-body h3 a { text-decoration: none; }
.nv .nv-pcard-body h3 a:hover { color: var(--nv-brand); }
.nv .nv-pcard-body p { margin: 0; font-size: .96rem; line-height: 1.65; }
.nv .nv-pcard-count { display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; font-weight: 700; color: var(--nv-brand); }
.nv .nv-pcard-count i { color: #f5a623; }
.nv .nv-pcard-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.nv .nv-pcard-list li { display: flex; gap: 8px; align-items: flex-start; font-size: .92rem; color: var(--nv-muted); }
.nv .nv-pcard-list i { color: var(--nv-brand-2); margin-top: 4px; font-size: .8rem; }
.nv .nv-pcard-foot { margin-top: auto; padding-top: 14px; display: flex; align-items: center; gap: 12px; border-top: 1px solid var(--nv-line); }
.nv .nv-pcard-foot .nv-link { margin-left: auto; background: none; border: 0; cursor: pointer; font-family: inherit; font-size: 1rem; }
.nv .nv-pcard-logo { height: 30px; width: auto; max-width: 96px; object-fit: contain; }

/* Portfolio filter bar */
.nv .nv-filterbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 32px; }
.nv .nv-filterbar .nv-filter { margin: 0; justify-content: flex-start; }
.nv .nv-filter-count { margin: 0; font-size: .95rem; color: var(--nv-muted); }
.nv .nv-filter-count strong { color: var(--nv-ink); }
.nv-lightbox .lb-fig { margin: 0; max-width: 100%; max-height: 100%; display: grid; gap: 12px; justify-items: center; }
.nv-lightbox .lb-fig img { max-height: 78vh; }
.nv-lightbox figcaption { color: rgba(255,255,255,.85); font-weight: 600; }

/* =============================================
   Trusted-by slider
   ============================================= */
.nv .nv-slider { position: relative; padding: 0 28px; }
.nv .nv-slider-track {
  display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none; padding: 6px 2px; -webkit-overflow-scrolling: touch;
}
.nv .nv-slider-track::-webkit-scrollbar { display: none; }
.nv .nv-slider-track:focus-visible { outline: 3px solid var(--nv-brand-2); outline-offset: 4px; border-radius: 12px; }
.nv .nv-slide {
  flex: 0 0 calc((100% - 16px) / 2); scroll-snap-align: start; height: 104px; display: grid; place-items: center;
  background: #fff; border: 1px solid var(--nv-line); border-radius: 14px; padding: 16px;
}
.nv .nv-slide img { max-width: 100%; max-height: 100%; object-fit: contain; }
.nv .nv-slide-ph { color: var(--nv-muted); font-weight: 600; }
.nv .nv-slider-btn {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; background: #fff; color: var(--nv-brand); border: 1px solid var(--nv-line);
  box-shadow: var(--nv-shadow); cursor: pointer; transition: .15s ease;
}
.nv .nv-slider-btn:hover { background: var(--nv-grad); color: #fff; border-color: transparent; }
.nv .nv-slider-btn.prev { left: -6px; }
.nv .nv-slider-btn.next { right: -6px; }
@media (min-width: 560px)  { .nv .nv-slide { flex-basis: calc((100% - 32px) / 3); } }
@media (min-width: 820px)  { .nv .nv-slide { flex-basis: calc((100% - 48px) / 4); } }
@media (min-width: 1100px) { .nv .nv-slide { flex-basis: calc((100% - 80px) / 6); } .nv .nv-slider { padding: 0 36px; } }

/* =============================================
   Services page
   ============================================= */
.nv .nv-svc-head { display: flex; gap: 16px; align-items: center; margin-bottom: 18px; }
.nv .nv-svc-head .nv-icon { margin: 0; flex-shrink: 0; }
.nv .nv-svc-head h2 a { text-decoration: none; }
.nv .nv-svc-head h2 a:hover { color: var(--nv-brand); }
.nv .nv-svc-sub { font-size: 1.05rem; margin: 24px 0 12px; }

/* =============================================
   CTA band: distinct brand blue, separate from the navy footer
   ============================================= */
body .footer { margin-top: 0; border-top: 4px solid #0689d8; }

/* =============================================
   Responsive
   ============================================= */
@media (max-width: 1024px) {
  .nv .nv-pgrid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .nv .nv-pgrid { grid-template-columns: 1fr; }
  .nv .nv-slider { padding: 0 20px; }
  .nv .nv-slider-btn { width: 38px; height: 38px; }
  .nv .nv-filterbar { flex-direction: column; align-items: flex-start; }
}

/* =============================================
   Services page: sidebar + simple, clean cards
   ============================================= */
.nv .nv-services-sec { background: var(--nv-bg); padding-top: clamp(32px, 4vw, 56px); }
.nv .nv-svc-layout { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: clamp(24px, 3vw, 40px); align-items: start; }

/* Sidebar */
.nv .nv-side {
  position: sticky; top: calc(var(--nav-h, 76px) + 24px); background: #fff; border: 1px solid var(--nv-line);
  border-radius: var(--nv-r); padding: 18px 14px; box-shadow: var(--nv-shadow);
}
.nv .nv-side-label { display: block; padding: 0 10px 10px; font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--nv-muted); }
.nv .nv-side nav { display: grid; gap: 4px; }
.nv .nv-side a {
  display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 12px; text-decoration: none;
  color: var(--nv-ink); font-weight: 600; font-size: .96rem; border: 1px solid transparent; transition: .15s ease;
}
.nv .nv-side a .nv-icon { width: 38px; height: 38px; border-radius: 11px; font-size: .95rem; margin: 0; flex-shrink: 0; }
.nv .nv-side a:hover { background: var(--nv-bg); }
.nv .nv-side a.is-active { background: var(--nv-tint); border-color: #cfdcf7; color: var(--nv-brand); }
.nv .nv-side a.is-active .nv-icon { background: var(--nv-grad); color: #fff; }

/* Service card */
.nv .nv-svc-list { display: grid; gap: 24px; }
.nv .nv-scard {
  position: relative; background: #fff; border: 1px solid var(--nv-line); border-radius: 22px;
  box-shadow: var(--nv-shadow); padding: clamp(22px, 3vw, 34px); overflow: hidden;
  scroll-margin-top: calc(var(--nav-h, 76px) + 24px);
  transition: box-shadow .2s ease, border-color .2s ease;
}
.nv .nv-scard::before {
  content: ''; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--nv-grad);
}
.nv .nv-scard:hover { box-shadow: var(--nv-shadow-lg); border-color: #c9d6f2; }

.nv .nv-scard-features {
  list-style: none; margin: 20px 0 0; padding: 18px 20px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 22px; background: var(--nv-bg); border: 1px solid var(--nv-line); border-radius: 14px;
}
.nv .nv-scard-features li { display: flex; gap: 10px; align-items: flex-start; color: var(--nv-ink); font-size: .96rem; }
.nv .nv-scard-features i { color: var(--nv-brand-2); margin-top: 5px; }

.nv .nv-scard-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--nv-line); }

@media (max-width: 1024px) {
  .nv .nv-svc-layout { grid-template-columns: minmax(0, 1fr); }
  .nv .nv-svc-list, .nv .nv-side { min-width: 0; }
  /* sidebar becomes a sticky, horizontally scrolling chip bar */
  .nv .nv-side { position: sticky; top: var(--nav-h, 68px); z-index: 20; padding: 10px 12px; border-radius: 14px; }
  .nv .nv-side-label { display: none; }
  .nv .nv-side nav { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
  .nv .nv-side nav::-webkit-scrollbar { display: none; }
  .nv .nv-side a { flex: 0 0 auto; white-space: nowrap; padding: 8px 14px; border-radius: 100px; background: var(--nv-bg); border-color: var(--nv-line); }
  .nv .nv-side a .nv-icon { display: none; }
}
@media (max-width: 760px) {
  .nv .nv-scard-features { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .nv .nv-scard-actions .nv-btn { width: 100%; }
}

/* "Why choose us": the photo fills the full height of the checklist column */
.nv .nv-split--fill { align-items: stretch; }
.nv .nv-media--fill { height: 100%; min-height: 340px; }
.nv .nv-media--fill img { height: 100%; width: 100%; aspect-ratio: auto; object-fit: cover; object-position: center top; }
@media (max-width: 768px) {
  .nv .nv-media--fill { height: auto; min-height: 0; }
  .nv .nv-media--fill img { height: auto; aspect-ratio: 4 / 3; }
}

/* =============================================
   Solutions (catalogue + detail)
   ============================================= */
.nv .nv-count {
  display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 100px; font-size: .78rem; font-weight: 700;
  background: rgba(10, 22, 51, .08); color: inherit;
}
.nv .nv-filter button.is-active .nv-count { background: rgba(255, 255, 255, .25); }
.nv .nv-search--inline { margin: 0; width: min(320px, 100%); }
.nv .nv-search--inline input { min-height: 46px; box-shadow: none; }

.nv .nv-solgrid { align-items: stretch; }
.nv .nv-sol {
  display: flex; flex-direction: column; gap: 10px; background: #fff; border: 1px solid var(--nv-line);
  border-radius: var(--nv-r); padding: 22px; box-shadow: var(--nv-shadow);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.nv .nv-sol:hover { transform: translateY(-4px); box-shadow: var(--nv-shadow-lg); border-color: #c9d6f2; }
.nv .nv-sol-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.nv .nv-sol-top .nv-icon { margin: 0; width: 52px; height: 52px; font-size: 1.25rem; border-radius: 15px; }
.nv .nv-sol h3 { margin: 6px 0 0; font-size: 1.2rem; font-weight: 800; }
.nv .nv-sol h3 a { text-decoration: none; }
.nv .nv-sol h3 a:hover { color: var(--nv-brand); }
.nv .nv-sol-desc { margin: 0; font-size: .96rem; }
.nv .nv-sol .nv-pcard-list { margin-top: 4px; }
.nv .nv-sol-link { margin-top: auto; padding-top: 14px; }

.nv .nv-status {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 100px;
  font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap;
}
.nv .nv-status::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.nv .nv-status--ok   { background: #e5f7ec; color: #14753d; }
.nv .nv-status--dev  { background: #fff4e0; color: #9a5b00; }
.nv .nv-status--soon { background: #eaf1ff; color: #2a4cc2; }
.nv .nv-status--onDark { margin-bottom: 16px; }
.nv .nv-hero .nv-status--ok   { background: rgba(37, 211, 102, .18); color: #7df0a8; }
.nv .nv-hero .nv-status--dev  { background: rgba(255, 184, 77, .18); color: #ffd28a; }
.nv .nv-hero .nv-status--soon { background: rgba(127, 178, 255, .2); color: #bcd3ff; }

.nv .nv-industry-list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 4px; }
.nv .nv-industry-list a {
  display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; text-decoration: none;
  color: var(--nv-ink); font-weight: 500;
}
.nv .nv-industry-list a:hover { background: var(--nv-tint); color: var(--nv-brand); }
.nv .nv-industry-list i { width: 20px; text-align: center; color: var(--nv-brand-2); }

.nv .nv-sol-detail { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.nv .nv-sol-aside { position: sticky; top: calc(var(--nav-h, 76px) + 24px); display: grid; gap: 18px; }

@media (max-width: 900px) {
  .nv .nv-sol-detail { grid-template-columns: minmax(0, 1fr); }
  .nv .nv-sol-aside { position: static; }
}
@media (max-width: 640px) {
  .nv .nv-search--inline { width: 100%; }
}

/* ---------- Solution page redesign ---------- */
.nv .nv-hero-sub { font-weight: 700; color: #fff !important; font-size: 1.25rem !important; margin-bottom: 10px !important; }
.nv .nv-hero-sum { margin-top: 4px; }
.nv .nv-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 28px; }
.nv .nv-hero-shot { display: block; width: min(100%, 880px); margin: 40px auto 0; border-radius: 18px; border: 1px solid rgba(255,255,255,.2); box-shadow: 0 30px 60px rgba(0,0,0,.4); }
.nv .nv-checks--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 24px; }

.nv .nv-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.nv .nv-chips li { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 100px; background: var(--nv-bg); border: 1px solid var(--nv-line); font-weight: 600; color: var(--nv-ink); }
.nv .nv-chips i { color: var(--nv-brand-2); }
@media (max-width: 640px) {
  .nv .nv-checks--2 { grid-template-columns: minmax(0, 1fr); }
  .nv .nv-hero-actions .nv-btn { width: 100%; }
  .nv .nv-chips li { padding: 10px 16px; }
}

/* ---------- Home: solutions slot ---------- */
.nv .nv-sol-features { margin: 0; font-size: .92rem; line-height: 1.6; }

/* Home: solutions slider (one card per step) */
.nv .nv-solslider { padding: 0 28px; }
.nv .nv-solslider-track { gap: 20px; padding: 10px 4px 24px; }
.nv .nv-solslide { flex: 0 0 100%; scroll-snap-align: start; min-width: 0; }
@media (min-width: 640px)  { .nv .nv-solslide { flex-basis: calc((100% - 20px) / 2); } }
@media (min-width: 1024px) { .nv .nv-solslide { flex-basis: calc((100% - 40px) / 3); } .nv .nv-solslider { padding: 0 40px; } }
.nv .nv-solslider .nv-slider-btn.prev { left: -4px; }
.nv .nv-solslider .nv-slider-btn.next { right: -4px; }
@media (max-width: 639px) {
  .nv .nv-solslider { padding: 0; }
  .nv .nv-solslider .nv-slider-btn { top: auto; bottom: -4px; transform: none; width: 40px; height: 40px; }
  .nv .nv-solslider .nv-slider-btn.prev { left: calc(50% - 48px); }
  .nv .nv-solslider .nv-slider-btn.next { right: calc(50% - 48px); }
  .nv .nv-solslider-track { padding-bottom: 56px; }
}

/* =============================================
   Services page: reference row design
   (icon tile · "N. Title" · tagline · text · Solutions)
   ============================================= */
.nv .nv-svc-list { gap: 14px; }
.nv .nv-scard {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0 clamp(14px, 2vw, 22px); align-items: start;
  padding: clamp(18px, 2.4vw, 28px); border-radius: 16px; box-shadow: none; border: 1px solid var(--nv-line);
}
.nv .nv-scard::before { display: none; }
.nv .nv-scard:hover { box-shadow: var(--nv-shadow); border-color: #c9d6f2; }

.nv .nv-scard-icon {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; font-size: 1.15rem;
  background: var(--tone-bg); color: var(--tone-fg); flex-shrink: 0;
}
.nv .nv-tone-1 { --tone-bg: #eaf1ff; --tone-fg: #1428a0; }
.nv .nv-tone-2 { --tone-bg: #e4f4fd; --tone-fg: #0689d8; }
.nv .nv-tone-3 { --tone-bg: #f0eaff; --tone-fg: #6d3fd6; }
.nv .nv-tone-4 { --tone-bg: #e5f7ec; --tone-fg: #14753d; }
.nv .nv-tone-5 { --tone-bg: #eceff4; --tone-fg: #1f2a44; }

.nv .nv-scard-main { min-width: 0; }
.nv .nv-scard-name { margin: 0 0 4px; font-size: clamp(1.15rem, 1.8vw, 1.4rem); font-weight: 800; letter-spacing: -.01em; color: var(--nv-ink); }
.nv .nv-scard-tagline { margin: 0 0 10px; font: 700 1.02rem 'Plus Jakarta Sans', sans-serif; color: var(--tone-fg); }
.nv .nv-scard-text p { margin: 0 0 8px; color: var(--nv-muted); line-height: 1.7; text-align: justify; hyphens: none; overflow-wrap: normal; word-break: normal; }
.nv .nv-scard-text > :last-child { margin-bottom: 0; }
.nv .nv-scard-solutions { margin: 12px 0 0; font-size: .95rem; line-height: 1.65; color: var(--nv-muted); text-align: justify; hyphens: none; overflow-wrap: normal; word-break: normal; }
.nv .nv-scard-solutions strong { color: var(--tone-fg); font-weight: 700; }
.nv .nv-scard-features { margin-top: 14px; padding: 14px 16px; gap: 8px 22px; }
.nv .nv-scard-benefits i { color: var(--tone-fg); }
.nv .nv-scard-actions { margin-top: 16px; padding-top: 0; border-top: 0; }
.nv .nv-scard-cta {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 10px; font: 700 .92rem 'DM Sans', sans-serif; cursor: pointer;
  color: var(--tone-fg); background: var(--tone-bg); border: 1px solid transparent; transition: .15s ease;
}
.nv .nv-scard-cta:hover { background: var(--nv-grad); color: #fff; }
.nv .nv-scard-cta:hover i { transform: translateX(3px); }
.nv .nv-scard-cta i { transition: transform .15s ease; }

@media (max-width: 900px) {
}
@media (max-width: 560px) {
  .nv .nv-scard { grid-template-columns: minmax(0, 1fr); }
  .nv .nv-scard-icon { width: 44px; height: 44px; margin-bottom: 12px; }
  .nv .nv-scard-cta { width: 100%; justify-content: center; }
}

/* =============================================
   Solution page: full-width overview, CTA banner below
   ============================================= */
.nv .nv-sol-detail { grid-template-columns: minmax(0, 1fr); gap: clamp(28px, 4vw, 48px); }
.nv .nv-sol-aside { position: static; display: block; }
.nv .nv-sol-main .nv-svc-head { padding-bottom: 20px; margin-bottom: 8px; border-bottom: 1px solid var(--nv-line); }
.nv .nv-sol-main .nv-prose { max-width: none; width: 100%; font-size: 1.05rem; line-height: 1.8; }
.nv .nv-sol-main .nv-svc-sub {
  display: flex; align-items: center; gap: 14px; margin: 28px 0 18px; font-size: 1.15rem; font-weight: 800;
}
.nv .nv-sol-main .nv-svc-sub::after { content: ''; flex: 1; height: 1px; background: var(--nv-line); }

.nv .nv-sol-main .nv-checks--2 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.nv .nv-sol-main .nv-checks li {
  align-items: center; min-height: 68px; padding: 14px 18px; border-radius: 14px; background: #fff;
  border: 1px solid var(--nv-line); box-shadow: var(--nv-shadow); transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.nv .nv-sol-main .nv-checks li:hover { transform: translateY(-3px); border-color: #c9d6f2; box-shadow: var(--nv-shadow-lg); }
.nv .nv-sol-main .nv-checks i { margin-top: 0; width: 30px; height: 30px; font-size: .8rem; }
.nv .nv-sol-main .nv-checks strong { font-size: 1.02rem; }

.nv .nv-sol-banner {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: clamp(16px, 3vw, 32px);
  padding: clamp(24px, 3.5vw, 40px); border-radius: 24px; color: #fff; position: relative; overflow: hidden;
  background:
    radial-gradient(420px 220px at 10% 0%, rgba(255,255,255,.16), transparent 70%),
    radial-gradient(520px 260px at 95% 110%, rgba(6,137,216,.6), transparent 70%),
    linear-gradient(135deg, #1428a0 0%, #0b5cc4 55%, #0689d8 100%);
  box-shadow: 0 18px 44px rgba(20, 40, 160, .28);
}
.nv .nv-sol-banner-icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.28); font-size: 1.5rem; color: #fff; }
.nv .nv-sol-banner h3 { margin: 0 0 6px; color: #fff; font-size: clamp(1.35rem, 2.4vw, 1.8rem); font-weight: 800; }
.nv .nv-sol-banner p { margin: 0; max-width: 56ch; color: rgba(255,255,255,.88); line-height: 1.65; }
.nv .nv-sol-banner-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
.nv .nv-sol-banner .nv-btn-light { color: #0b2a8a; }
.nv .nv-sol-banner .nv-btn-ghost { border-color: rgba(255,255,255,.6); }

@media (max-width: 1024px) {
  .nv .nv-sol-main .nv-checks--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nv .nv-sol-banner { grid-template-columns: auto minmax(0, 1fr); }
  .nv .nv-sol-banner-actions { grid-column: 1 / -1; justify-content: flex-start; }
}
@media (max-width: 640px) {
  .nv .nv-sol-main .nv-checks--2 { grid-template-columns: minmax(0, 1fr); }
  .nv .nv-sol-banner { grid-template-columns: minmax(0, 1fr); text-align: left; }
  .nv .nv-sol-banner-icon { width: 54px; height: 54px; }
  .nv .nv-sol-banner-actions .nv-btn { width: 100%; justify-content: center; }
}

/* hyphenated words stay on one line (see App\Helpers\Text) */
.nv .nb { white-space: nowrap; }

/* =============================================
   HOME HERO SLIDER (nvh) - admin-managed slides
   ============================================= */
.nv .nvh {
  position: relative; overflow: hidden; background: #000; color: #fff;
  min-height: min(100vh, 880px); min-height: min(100svh, 880px); display: flex; flex-direction: column;
}
.nv .nvh-slides { position: relative; flex: 1; display: grid; }
.nv .nvh-slide {
  grid-area: 1 / 1; position: relative; display: flex; align-items: center; min-height: inherit;
  padding: calc(var(--nav-h, 80px) + clamp(28px, 5vw, 64px)) 0 clamp(120px, 14vw, 150px);
  opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility 0s linear .9s;
}
.nv .nvh-slide.is-active { opacity: 1; visibility: visible; transition: opacity .9s ease; z-index: 1; }

.nv .nvh-bg {
  position: absolute; inset: 0; background: #06101f center / cover no-repeat; transform: scale(1.1);
  transition: transform 9s cubic-bezier(.2, .6, .2, 1);
}
.nv .nvh-slide:not(:has(.nvh-bg[style])) .nvh-bg {
  background:
    radial-gradient(900px 500px at 80% 10%, rgba(6,137,216,.55), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(20,40,160,.7), transparent 60%), #05080f;
}
.nv .nvh-slide.is-active .nvh-bg { transform: scale(1); }
.nv .nvh-shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(100deg, rgba(0,0,0,.9) 0%, rgba(5,12,45,.8) 42%, rgba(20,40,160,.38) 100%),
    linear-gradient(0deg, rgba(0,0,0,.65) 0%, transparent 38%);
}
.nv .nvh-shade::after {
  content: ''; position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse at 20% 40%, #000 10%, transparent 70%);
  mask-image: radial-gradient(ellipse at 20% 40%, #000 10%, transparent 70%);
}

.nv .nvh-wrap { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; gap: 40px; width: 100%; }
@media (min-width: 1100px) { .nv .nvh-wrap { grid-template-columns: minmax(0, 1.5fr) minmax(280px, .62fr); gap: 64px; } }
.nv .nvh-content { max-width: 780px; }

/* staggered entrance */
.nv .nvh-anim { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); transition-delay: 0s; }
.nv .nvh-slide.is-active .nvh-anim { opacity: 1; transform: none; transition-delay: var(--d, 0s); }

.nv .nvh-title {
  margin: 0 0 22px; color: #fff; font-family: 'Plus Jakarta Sans', 'Space Grotesk', sans-serif;
  font-size: clamp(2.3rem, 5.6vw, 4.6rem); font-weight: 800; line-height: 1.06; letter-spacing: -.03em; text-wrap: balance;
}
.nv .nvh-title .hs-highlight {
  display: inline; padding: 0; background: linear-gradient(100deg, #7fd0ff 0%, #2aa0ee 55%, #6c8bff 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; position: static;
}
.nv .nvh-desc { margin: 0 0 32px; max-width: 58ch; color: rgba(255,255,255,.86); font-size: clamp(1.02rem, 1.5vw, 1.2rem); line-height: 1.75; text-shadow: 0 1px 12px rgba(0,0,0,.4); }

.nv .nvh-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.nv .nvh-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 28px; border-radius: 14px;
  font: 700 1rem 'DM Sans', sans-serif; text-decoration: none; cursor: pointer; border: 1.5px solid transparent; transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}
.nv .nvh-btn--primary { background: var(--nv-grad); color: #fff; box-shadow: 0 12px 30px rgba(6,137,216,.45); }
.nv .nvh-btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 38px rgba(6,137,216,.6); }
.nv .nvh-btn--primary i { transition: transform .18s ease; }
.nv .nvh-btn--primary:hover i { transform: translateX(4px); }
.nv .nvh-btn--ghost { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.4); backdrop-filter: blur(8px); }
.nv .nvh-btn--ghost:hover { background: rgba(255,255,255,.18); border-color: #fff; transform: translateY(-2px); }
.nv .nvh-btn:focus-visible, .nv .nvh-arrow:focus-visible, .nv .nvh-bar:focus-visible { outline: 3px solid #7fd0ff; outline-offset: 3px; }

/* stat glass cards */
.nv .nvh-stats { list-style: none; margin: 0; padding: 0; display: none; gap: 14px; }
@media (min-width: 1100px) { .nv .nvh-stats { display: grid; } }
.nv .nvh-stats li {
  display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 18px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 16px 40px rgba(0,0,0,.3); transition: transform .2s ease, background .2s ease;
}
.nv .nvh-stats li:hover { transform: translateX(-4px); background: rgba(255,255,255,.13); }
.nv .nvh-stat-icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: var(--nv-grad); font-size: 1.15rem; flex-shrink: 0; box-shadow: 0 8px 20px rgba(6,137,216,.4); }
.nv .nvh-stat-text { display: grid; gap: 2px; min-width: 0; }
.nv .nvh-stat-text strong { font: 800 1.9rem/1 'Plus Jakarta Sans', sans-serif; color: #fff; letter-spacing: -.02em; }
.nv .nvh-stat-text span { font-size: .9rem; color: rgba(255,255,255,.78); }

/* pager + arrows */
.nv .nvh-ui { position: absolute; left: 0; right: 0; bottom: clamp(24px, 4vw, 40px); z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-inline: auto; }
.nv .nvh-pager { display: flex; align-items: center; gap: 20px; min-width: 0; flex: 1; max-width: 520px; }
.nv .nvh-count { font: 600 .95rem 'DM Sans', sans-serif; color: rgba(255,255,255,.65); letter-spacing: .08em; white-space: nowrap; }
.nv .nvh-count b { color: #fff; font-size: 1.5rem; font-weight: 800; letter-spacing: 0; }
.nv .nvh-bars { display: flex; gap: 10px; flex: 1; }
.nv .nvh-bar { position: relative; flex: 1; height: 24px; padding: 0; background: none; border: 0; cursor: pointer; }
.nv .nvh-bar::before { content: ''; position: absolute; left: 0; right: 0; top: 10px; height: 4px; border-radius: 4px; background: rgba(255,255,255,.28); }
.nv .nvh-bar:hover::before { background: rgba(255,255,255,.45); }
.nv .nvh-bar span { position: absolute; left: 0; top: 10px; z-index: 1; display: block; height: 4px; width: 0; border-radius: 4px; background: linear-gradient(90deg, #7fd0ff, #fff); transition: width .1s linear; }
.nv .nvh-arrows { display: flex; gap: 12px; }
.nv .nvh-arrow {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; cursor: pointer; color: #fff; font-size: 1rem;
  background: rgba(255,255,255,.1); border: 1.5px solid rgba(255,255,255,.35); backdrop-filter: blur(10px); transition: .18s ease;
}
.nv .nvh-arrow:hover { background: var(--nv-grad); border-color: transparent; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(6,137,216,.45); }

/* tablet / phone */
@media (max-width: 1099px) {
  .nv .nvh-slide { padding-bottom: 130px; }
}
@media (max-width: 640px) {
  .nv .nvh { min-height: calc(100vh - 72px); min-height: calc(100svh - 72px); }
  .nv .nvh-slide { align-items: flex-start; padding-top: calc(var(--nav-h, 68px) + 24px); padding-bottom: 96px; }
  .nv .nvh-title { font-size: clamp(1.95rem, 8.6vw, 2.5rem); margin-bottom: 14px; }
  .nv .nvh-desc { margin-bottom: 22px; font-size: 1rem; line-height: 1.6; }
  .nv .nvh-btn { min-height: 50px; }
  .nv .nvh-actions .nvh-btn { flex: 1 1 100%; }
  .nv .nvh-ui { bottom: 22px; }
  .nv .nvh-pager { gap: 14px; }
  .nv .nvh-count b { font-size: 1.25rem; }
  .nv .nvh-arrow { width: 46px; height: 46px; }
}
@media (prefers-reduced-motion: reduce) {
  .nv .nvh-bg { transition: none; transform: none; }
  .nv .nvh-anim { transition-duration: .01s; transform: none; }
}

/* admin line breaks in slide headings: let the heading wrap naturally (the space before the br stays) */
.nv .nvh-title .nvh-br { display: none; }

/* =============================================
   Services sidebar: clear mobile navigation
   (current-service bar that opens the full list)
   ============================================= */
.nv .nv-side-toggle { display: none; }

@media (max-width: 1024px) {
  .nv .nv-side { position: sticky; top: var(--nav-h, 68px); z-index: 30; padding: 0; border-radius: 16px; overflow: visible; box-shadow: 0 8px 24px rgba(10, 22, 51, .12); }
  .nv .nv-side-label { display: none; }

  .nv .nv-side-toggle {
    display: flex; align-items: center; gap: 12px; width: 100%; min-height: 60px; padding: 10px 16px; cursor: pointer; text-align: left;
    background: #fff; border: 0; border-radius: 16px; font-family: inherit; color: var(--nv-ink);
  }
  .nv .nv-side-toggle-text { flex: 1; min-width: 0; display: grid; gap: 1px; }
  .nv .nv-side-toggle-text small { font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--nv-brand-2); }
  .nv .nv-side-toggle-text strong { font: 700 1rem 'Plus Jakarta Sans', sans-serif; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--nv-ink); }
  .nv .nv-side-toggle-count { flex-shrink: 0; padding: 4px 10px; border-radius: 100px; background: var(--nv-tint); color: var(--nv-brand); font-size: .8rem; font-weight: 700; }
  .nv .nv-side-toggle > i { flex-shrink: 0; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--nv-grad); color: #fff; font-size: .8rem; transition: transform .2s ease; }
  .nv .nv-side-toggle > i.is-open { transform: rotate(180deg); }
  .nv .nv-side-toggle:focus-visible { outline: 3px solid var(--nv-brand-2); outline-offset: 2px; }

  .nv .nv-side nav {
    display: none; position: absolute; left: 0; right: 0; top: calc(100% + 8px); max-height: min(70vh, 460px); overflow-y: auto;
    padding: 8px; background: #fff; border: 1px solid var(--nv-line); border-radius: 16px; box-shadow: 0 18px 44px rgba(10, 22, 51, .22);
  }
  .nv .nv-side nav.is-open { display: grid; gap: 4px; }
  .nv .nv-side nav a {
    flex: none; white-space: normal; display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 8px 12px;
    border-radius: 12px; background: transparent; border: 1px solid transparent; font-size: 1rem;
  }
  .nv .nv-side nav a .nv-icon { display: grid; width: 38px; height: 38px; }
  .nv .nv-side nav a.is-active { background: var(--nv-tint); border-color: #cfdcf7; }

  /* leave room for the sticky bar when jumping to a service (the page already adds nav-height scroll-padding) */
  .nv .nv-scard { scroll-margin-top: 74px; }
}

/* =============================================
   FOOTER (nf-foot): grid pattern, 4 columns, N-SERIES tag
   ============================================= */
body .footer.nf-foot {
  position: relative; overflow: hidden; padding: clamp(48px, 6vw, 72px) 0 0; background: #0a1633; border-top: 4px solid #0689d8;
}
body .footer.nf-foot::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  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: 52px 52px;
}
body .footer.nf-foot > .container { position: relative; }

.nf-foot-grid { display: grid; grid-template-columns: 1.25fr 1fr 1fr 1.25fr; gap: clamp(28px, 4vw, 56px); padding-bottom: clamp(36px, 5vw, 56px); }

.nf-foot-logo { display: inline-block; margin-bottom: 18px; text-decoration: none; }
.nf-foot-logo img { display: block; height: 52px; width: auto; max-width: 100%; object-fit: contain; }
.nf-foot-logo-text { font: 800 1.5rem 'Plus Jakarta Sans', sans-serif; color: #fff; }
.nf-foot-brand p { margin: 0 0 22px; max-width: 280px; color: rgba(255,255,255,.78); font-size: 1rem; line-height: 1.7; }

.nf-foot-social { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.nf-foot-social a {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; color: #fff; text-decoration: none; font-size: 1rem;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); transition: background .18s ease, transform .18s ease, border-color .18s ease;
}
.nf-foot-social a:hover { background: linear-gradient(135deg, #1428a0, #0689d8); border-color: transparent; transform: translateY(-3px); }

.nf-foot-col h3 { margin: 0 0 20px; font: 700 1rem 'Plus Jakarta Sans', sans-serif; color: #fff; letter-spacing: 0; }
.nf-foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.nf-foot-col a, .nf-foot-contact span { color: rgba(255,255,255,.78); text-decoration: none; font-size: 1rem; line-height: 1.5; transition: color .15s ease; }
.nf-foot-col ul a { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; }
.nf-foot-col ul a:hover { color: #fff; }
.nf-foot-col a:focus-visible, .nf-foot-social a:focus-visible { outline: 2px solid #3fb6ff; outline-offset: 3px; border-radius: 6px; }
.nf-foot-more { color: #3fb6ff !important; font-weight: 600; margin-top: 4px; }
.nf-foot-more i { font-size: .8rem; transition: transform .18s ease; }
.nf-foot-more:hover i { transform: translateX(4px); }

.nf-foot-contact { gap: 12px !important; }
.nf-foot-contact li { display: flex; align-items: flex-start; gap: 14px; }
.nf-foot-contact i { flex-shrink: 0; width: 20px; margin-top: 4px; text-align: center; color: #3fb6ff; font-size: 1rem; }
.nf-foot-contact a { word-break: break-word; }

.nf-foot-bottom {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px 24px;
  padding: 22px 0 26px; border-top: 1px solid rgba(255,255,255,.12);
}
.nf-foot-bottom p { margin: 0; font-size: .88rem; color: rgba(255,255,255,.7); }
.nf-foot-tag strong { color: #3fb6ff; font-weight: 800; letter-spacing: .02em; }

@media (max-width: 1023px) { .nf-foot-grid { grid-template-columns: 1fr 1fr; } .nf-foot-brand { grid-column: 1 / -1; } }
@media (max-width: 560px) {
  .nf-foot-grid { grid-template-columns: 1fr; gap: 30px; }
  .nf-foot-bottom { flex-direction: column; align-items: flex-start; gap: 6px; }
}

/* footer polish */
.nf-foot-contact li { align-items: center; }
.nf-foot-contact i { margin-top: 0; }
@media (max-width: 560px) { .nf-foot-bottom { padding-right: 64px; } }

/* footer: give the Services column room so service names stay on one line */
@media (min-width: 1024px) { .nf-foot-grid { grid-template-columns: 1.1fr 1.45fr .95fr 1.15fr; } }
