/*
Theme Name: Nicolò Piave OnePage + Catalogo Formativo 2026
Theme URI: https://www.nicolopiave.coach/
Author: Nicolò Piave
Author URI: https://www.nicolopiave.coach/
Description: Tema WordPress responsive di Nicolò Piave con home one-page, modulo contatti, informative legali e catalogo formativo 2026 con 30 schede corso dedicate.
Version: 5.4.9
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: nicolo-piave-catalogo
License: GNU General Public License v2 or later
*/

:root {
  --np-navy-950: #02152f;
  --np-navy-900: #03214a;
  --np-navy-800: #06336f;
  --np-blue-600: #087ef2;
  --np-blue-500: #1597ff;
  --np-blue-100: #eaf5ff;
  --np-gold: #ffb800;
  --np-ink: #061a43;
  --np-muted: #52617d;
  --np-line: #d9e6f5;
  --np-white: #ffffff;
  --np-shadow: 0 18px 50px rgba(2, 21, 47, .14);
}

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

html {
  width: 100%;
  min-width: 320px;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
  background: var(--np-navy-950);
  -webkit-text-size-adjust: 100%;
}

body {
  width: 100%;
  min-width: 320px;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  background: var(--np-navy-950);
  color: var(--np-ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.np-site,
.np-main {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.np-mobile-header,
.np-mobile-layout { display: none; }

.np-section {
  position: relative;
  display: block;
  width: 100%;
  max-width: none;
  aspect-ratio: 16 / 9;
  margin: 0;
  padding: 0;
  overflow: hidden;
  line-height: 0;
  background: #fff;
  isolation: isolate;
}

#come-lavoro { scroll-margin-top: 0; }

.np-desktop-art,
.np-desktop-art picture {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}

.np-desktop-art > picture > img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  border: 0;
  object-fit: fill;
  object-position: center;
  user-select: none;
  -webkit-user-drag: none;
  touch-action: pan-y pinch-zoom;
}

.np-hotspot {
  position: absolute;
  z-index: 10;
  display: block;
  border-radius: clamp(3px, .45vw, 10px);
  outline-offset: 4px;
  line-height: 1;
}

.np-hotspot:focus-visible {
  outline: 3px solid var(--np-gold);
  background: rgba(255, 255, 255, .14);
}


.np-phone-link    { left: 4.8%;  top: 37.3%; width: 16.5%; height: 5.4%; }
.np-email-link    { left: 4.8%;  top: 43.8%; width: 18.4%; height: 5.4%; }
.np-site-link     { left: 4.8%;  top: 50.3%; width: 18.8%; height: 5.4%; }
.np-home-link     { left: 31.0%; top: 17.3%; width: 16.7%; height: 5.8%; }
.np-career-link   { left: 31.0%; top: 23.9%; width: 16.7%; height: 5.8%; }
.np-business-link { left: 31.0%; top: 30.4%; width: 16.7%; height: 5.8%; }
.np-about-link    { left: 31.0%; top: 36.9%; width: 16.7%; height: 5.8%; }
.np-method-link   { left: 31.0%; top: 43.4%; width: 16.7%; height: 5.8%; }
.np-target-link   { left: 31.0%; top: 49.9%; width: 16.7%; height: 5.8%; }
.np-contact-link  { left: 31.0%; top: 56.4%; width: 16.7%; height: 5.8%; }
.np-linkedin      { left: 76.5%; top: 52.8%; width: 4.4%; height: 6.4%; border-radius: 50%; }
.np-facebook      { left: 81.2%; top: 52.8%; width: 4.4%; height: 6.4%; border-radius: 50%; }
.np-youtube       { left: 85.9%; top: 52.8%; width: 4.4%; height: 6.4%; border-radius: 50%; }
.np-privacy       { left: 47.4%; top: 75.7%; width: 14.5%; height: 8.5%; }
.np-legal         { left: 63.3%; top: 75.7%; width: 17.2%; height: 8.5%; }
.np-cookie        { left: 82.0%; top: 75.7%; width: 14.4%; height: 8.5%; }

.np-footer-copyright {
  position: absolute;
  z-index: 8;
  left: 0;
  right: 0;
  bottom: 0;
  min-height: 9.6%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: .6em 3vw;
  color: rgba(255, 255, 255, .9);
  background: linear-gradient(90deg, #031b3e 0%, #06234c 50%, #031b3e 100%);
  border-top: 1px solid rgba(255, 255, 255, .28);
  font-size: clamp(8px, 1.14vw, 44px);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: .01em;
  text-align: center;
}

/* Contact block */
.np-contact-section {
  position: relative;
  overflow: hidden;
  padding: clamp(70px, 7vw, 140px) clamp(24px, 5vw, 100px);
  color: var(--np-white);
  background:
    radial-gradient(circle at 12% 22%, rgba(21, 151, 255, .25), transparent 28%),
    radial-gradient(circle at 90% 82%, rgba(0, 107, 255, .2), transparent 30%),
    linear-gradient(135deg, #02152f 0%, #062d63 52%, #031b3e 100%);
  line-height: 1.5;
}

.np-contact-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .34;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 40px 40px;
}

.np-contact-shell {
  position: relative;
  z-index: 1;
  width: min(1480px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(560px, 1.2fr);
  gap: clamp(44px, 7vw, 110px);
  align-items: center;
}

.np-contact-copy h2 {
  max-width: 760px;
  margin: 12px 0 24px;
  color: #fff;
  font-size: clamp(38px, 4vw, 76px);
  line-height: 1.02;
  letter-spacing: -.04em;
}

.np-contact-copy > p:not(.np-eyebrow) {
  max-width: 680px;
  margin: 0;
  color: rgba(255,255,255,.82);
  font-size: clamp(17px, 1.3vw, 23px);
  line-height: 1.7;
}

.np-eyebrow {
  margin: 0 0 10px;
  color: #075fd5;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .14em;
  line-height: 1.2;
  text-transform: uppercase;
}

.np-eyebrow-light { color: #65baff; }

.np-contact-details {
  display: grid;
  gap: 14px;
  margin-top: 38px;
}

.np-contact-details a {
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: min(100%, 440px);
  padding: 18px 20px;
  color: #fff;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 16px;
  background: rgba(255,255,255,.07);
  transition: transform .2s ease, background-color .2s ease;
}

.np-contact-details a:hover { transform: translateY(-2px); background: rgba(255,255,255,.11); }
.np-contact-details strong { color: #65baff; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.np-contact-details span { font-size: 18px; overflow-wrap: anywhere; }

.np-form-card {
  padding: clamp(26px, 3vw, 50px);
  color: var(--np-ink);
  border: 1px solid rgba(255,255,255,.6);
  border-radius: 28px;
  background: rgba(255,255,255,.97);
  box-shadow: 0 28px 80px rgba(0,0,0,.28);
  backdrop-filter: blur(14px);
}

.np-contact-form { display: grid; gap: 22px; }
.np-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.np-contact-form label { display: grid; gap: 8px; min-width: 0; }
.np-contact-form label > span { color: #14264b; font-size: 14px; font-weight: 750; line-height: 1.35; }

.np-contact-form input[type="text"],
.np-contact-form input[type="email"],
.np-contact-form input[type="tel"],
.np-contact-form select,
.np-contact-form textarea {
  width: 100%;
  min-height: 50px;
  padding: 13px 15px;
  color: #071a40;
  border: 1px solid #cbd8e9;
  border-radius: 12px;
  outline: 0;
  background: #fff;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.np-contact-form textarea { min-height: 160px; resize: vertical; line-height: 1.55; }
.np-contact-form input:focus,
.np-contact-form select:focus,
.np-contact-form textarea:focus { border-color: var(--np-blue-600); box-shadow: 0 0 0 4px rgba(8,126,242,.13); }
.np-contact-form small { justify-self: end; color: #65728a; font-size: 12px; }

.np-consent {
  grid-template-columns: 22px minmax(0,1fr);
  align-items: start;
  gap: 12px !important;
}

.np-consent input { width: 19px; height: 19px; margin: 2px 0 0; accent-color: var(--np-blue-600); }
.np-consent span { color: #42506a !important; font-size: 13px !important; font-weight: 500 !important; }
.np-consent a { color: #005fc8; font-weight: 800; }

.np-submit-button,
.np-primary-button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 14px 24px;
  color: #fff;
  border: 0;
  border-radius: 13px;
  background: linear-gradient(100deg, #063fbd, #087ef2);
  box-shadow: 0 12px 28px rgba(5,93,205,.25);
  font-weight: 800;
  line-height: 1.25;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}

.np-submit-button { width: 100%; }
.np-submit-button:hover,
.np-primary-button:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(5,93,205,.34); }
.np-submit-button:focus-visible,
.np-primary-button:focus-visible { outline: 3px solid var(--np-gold); outline-offset: 3px; }

.np-form-note { margin: -6px 0 0; color: #6c788d; font-size: 12px; line-height: 1.5; text-align: center; }
.np-form-notice { margin-bottom: 22px; padding: 15px 17px; border-radius: 12px; font-weight: 700; line-height: 1.45; }
.np-form-success { color: #075828; background: #e5f8ec; border: 1px solid #aee5c0; }
.np-form-error { color: #8f1d1d; background: #ffeded; border: 1px solid #ffc3c3; }
.np-honeypot { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.np-sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@media (max-width: 1180px) {
  html { scroll-padding-top: 76px; }
  .admin-bar .np-mobile-header { top: 32px; }

  .np-mobile-header {
    position: sticky;
    z-index: 1000;
    top: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 48px;
    align-items: center;
    min-height: 72px;
    padding: 10px max(16px, env(safe-area-inset-left)) 10px max(16px, env(safe-area-inset-right));
    background: rgba(2,21,47,.97);
    border-bottom: 1px solid rgba(255,255,255,.14);
    box-shadow: 0 8px 24px rgba(0,0,0,.2);
    backdrop-filter: blur(14px);
  }

  .np-mobile-brand { display: inline-flex; width: min(235px, 72vw); line-height: 0; }
  .np-mobile-brand img { width: 100%; height: auto; }
  .np-menu-toggle {
    width: 46px;
    height: 46px;
    display: grid;
    place-content: center;
    gap: 5px;
    padding: 0;
    color: #fff;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 12px;
    background: rgba(255,255,255,.08);
    cursor: pointer;
  }
  .np-menu-toggle span { width: 22px; height: 2px; background: currentColor; border-radius: 99px; transition: transform .2s ease, opacity .2s ease; }
  .np-menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .np-menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .np-menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .np-menu-toggle:focus-visible { outline: 3px solid var(--np-gold); outline-offset: 2px; }

  .np-mobile-menu {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    display: grid;
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    background: #031b3e;
    box-shadow: 0 16px 30px rgba(0,0,0,.28);
    transition: max-height .25s ease, visibility .25s ease;
  }
  .np-mobile-menu.is-open { max-height: 420px; visibility: visible; }
  .np-mobile-menu a { padding: 16px 22px; color: #fff; border-bottom: 1px solid rgba(255,255,255,.1); font-weight: 720; line-height: 1.2; text-decoration: none; }
  .np-mobile-menu a:focus-visible { outline: 3px solid var(--np-gold); outline-offset: -4px; }

  .np-desktop-art { display: none; }
  .np-mobile-layout { display: block; }

  .np-section,
  .np-art-section,
  .np-footer-section {
    width: 100%;
    height: auto;
    aspect-ratio: auto;
    overflow: visible;
    line-height: 1.5;
    background: #fff;
  }

  .np-mobile-content {
    width: min(980px, 100%);
    margin: 0 auto;
    padding: clamp(58px, 8vw, 92px) clamp(20px, 5vw, 54px);
    color: var(--np-ink);
  }

  .np-mobile-content h2 {
    margin: 0 0 24px;
    color: var(--np-ink);
    font-size: clamp(32px, 6.2vw, 58px);
    line-height: 1.05;
    letter-spacing: -.035em;
  }
  .np-mobile-content h3 { margin: 0 0 9px; color: #07369d; font-size: clamp(20px, 3.2vw, 26px); line-height: 1.2; }
  .np-mobile-content p { margin: 0 0 20px; color: #35425d; font-size: clamp(16px, 2.35vw, 19px); line-height: 1.66; }
  .np-mobile-content ul { margin: 0; padding-left: 20px; color: #35425d; }
  .np-mobile-content li { margin: 0 0 10px; line-height: 1.55; }
  .np-lead { color: #087ef2 !important; font-size: clamp(20px, 3.4vw, 30px) !important; font-weight: 650; line-height: 1.3 !important; }

  .np-mobile-hero {
    position: relative;
    min-height: min(760px, 110vw);
    display: grid;
    align-content: start;
    overflow: hidden;
    padding: clamp(28px, 6vw, 60px) clamp(20px, 6vw, 68px);
    color: #fff;
    background:
      radial-gradient(circle at 85% 20%, rgba(13,126,242,.34), transparent 30%),
      linear-gradient(145deg, #02152f 0%, #062b5f 100%);
  }
  .np-mobile-hero::after {
    content: "";
    position: absolute;
    right: -8%;
    bottom: -9%;
    width: min(66vw, 520px);
    aspect-ratio: 1;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
  }
  .np-mobile-hero-logo { position: relative; z-index: 2; width: min(620px, 94%); height: auto; }
  .np-mobile-hero .np-script { position: relative; z-index: 2; max-width: 700px; margin: 18px 0 0; color: rgba(255,255,255,.9); }
  .np-mobile-hero-photo {
    position: absolute;
    z-index: 2;
    right: clamp(18px, 6vw, 70px);
    bottom: clamp(20px, 4vw, 46px);
    width: min(54vw, 430px);
    text-align: center;
  }
  .np-portrait {
    display: block;
    width: 100%;
    border-radius: 50%;
    border: 5px solid rgba(255,255,255,.82);
    box-shadow: 0 20px 55px rgba(0,0,0,.35);
  }
  .np-mobile-hero-photo .np-ai-photo-caption {
    margin-top: 9px;
    padding: 7px 9px;
    border-radius: 9px;
    background: rgba(2,21,47,.78);
    font-size: clamp(11px, 1.6vw, 13px);
  }
  .np-script { font-family: Georgia, "Times New Roman", serif; font-size: clamp(22px, 4vw, 42px); font-style: italic; line-height: 1.35; }
  .np-script-dark { margin-bottom: 2px !important; color: #075fd5 !important; font-size: clamp(22px, 3.2vw, 34px) !important; }

  .np-mobile-home > .np-mobile-content { padding-top: 66px; }
  .np-card-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; margin: 32px 0; }
  .np-info-card {
    position: relative;
    padding: 26px;
    overflow: hidden;
    border: 1px solid var(--np-line);
    border-radius: 19px;
    background: linear-gradient(145deg, #fff 0%, #f4f9ff 100%);
    box-shadow: 0 12px 34px rgba(5,59,129,.08);
  }
  .np-info-card p:last-child { margin-bottom: 0; }
  .np-info-card ul { padding-left: 18px; }
  .np-card-number { display: inline-grid; place-items: center; width: 42px; height: 42px; margin-bottom: 17px; color: #fff; border-radius: 50%; background: linear-gradient(135deg, #075fd5, #1597ff); font-size: 13px; font-weight: 850; }

  .np-feature-panel {
    margin-top: 44px;
    padding: clamp(28px, 5vw, 48px);
    border: 1px solid #cfe4fb;
    border-radius: 24px;
    background: linear-gradient(135deg, #f2f8ff, #fff);
    box-shadow: var(--np-shadow);
  }
  .np-feature-panel h2 { margin-bottom: 14px; font-size: clamp(38px, 7vw, 64px); }
  .np-feature-panel h2 span { color: var(--np-blue-600); font-weight: 450; }
  .np-check-list { display: grid; gap: 14px; margin-top: 26px !important; padding: 0 !important; list-style: none; }
  .np-check-list li { position: relative; margin: 0; padding: 15px 16px 15px 48px; border-radius: 13px; background: #fff; box-shadow: 0 7px 20px rgba(5,59,129,.07); }
  .np-check-list li::before { content: "✓"; position: absolute; left: 16px; top: 14px; width: 22px; height: 22px; display: grid; place-content: center; color: #fff; border-radius: 50%; background: var(--np-blue-600); font-size: 13px; font-weight: 900; }

  .np-mobile-method {
    padding-top: clamp(46px, 6.4vw, 74px);
    padding-bottom: clamp(46px, 6.4vw, 74px);
    background: #fff;
  }
  .np-mobile-method > h2 { margin-bottom: 19px; }
  .np-steps { display: grid; gap: 14px; margin-top: 27px; }
  .np-steps article { display: grid; grid-template-columns: 58px minmax(0,1fr); gap: 15px; padding: 18px; border: 1px solid var(--np-line); border-radius: 18px; background: #fff; box-shadow: 0 9px 28px rgba(2,21,47,.07); }
  .np-steps article > span { width: 54px; height: 54px; display: grid; place-content: center; color: #fff; border-radius: 16px; background: linear-gradient(145deg, #063fbd, #1597ff); font-size: 25px; font-weight: 900; }
  .np-steps p { margin-bottom: 0; }

  .np-mobile-about { background: linear-gradient(180deg, #f7fbff, #fff); }
  .np-about-intro { display: grid; grid-template-columns: minmax(170px, 300px) minmax(0,1fr); gap: clamp(22px, 5vw, 50px); align-items: center; margin-bottom: 28px; }
  .np-about-photo-figure { width: 100%; text-align: center; }
  .np-about-photo { display: block; width: 100%; border-radius: 28px; box-shadow: var(--np-shadow); }
  .np-about-photo-figure .np-ai-photo-caption { margin-top: 9px; }
  .np-about-intro h2 { margin-bottom: 8px; }
  .np-about-intro h2 strong { display: block; color: #063fbd; }
  .np-pill-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
  .np-pill-row span { padding: 10px 14px; color: #063a8d; border: 1px solid #c6ddf8; border-radius: 999px; background: #f0f7ff; font-size: 13px; font-weight: 750; }

  .np-contact-section { padding: clamp(58px, 8vw, 90px) clamp(20px, 5vw, 54px); }
  .np-contact-shell { width: min(980px, 100%); grid-template-columns: 1fr; gap: 44px; }
  .np-contact-copy h2 { font-size: clamp(38px, 7vw, 62px); }
  .np-contact-copy > p:not(.np-eyebrow) { font-size: 18px; }
  .np-contact-details { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .np-contact-details a { width: 100%; }

  .np-mobile-footer {
    padding: 54px clamp(20px, 5vw, 54px) max(30px, env(safe-area-inset-bottom));
    color: #fff;
    background: linear-gradient(145deg, #02152f, #062b5f);
    line-height: 1.55;
  }
  .np-mobile-footer > img { width: min(430px, 90%); margin-bottom: 20px; }
  .np-mobile-footer > p { max-width: 760px; margin: 0 0 30px; color: rgba(255,255,255,.78); font-size: 16px; }
  .np-mobile-footer-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 34px; padding: 30px 0; border-top: 1px solid rgba(255,255,255,.16); border-bottom: 1px solid rgba(255,255,255,.16); }
  .np-mobile-footer-grid h2 { margin: 0 0 13px; color: #65baff; font-size: 16px; text-transform: uppercase; letter-spacing: .07em; }
  .np-mobile-footer-grid a { display: block; margin: 0 0 9px; color: #fff; text-decoration: none; overflow-wrap: anywhere; }
  .np-mobile-footer-grid a:hover { text-decoration: underline; }
  .np-mobile-social { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0; }
  .np-mobile-social a { padding: 9px 13px; color: #fff; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; text-decoration: none; }
  .np-mobile-footer .np-legal-note { font-size: 13px; }
  .np-mobile-footer .np-mobile-copyright { margin-bottom: 0; padding-top: 20px; color: rgba(255,255,255,.68); border-top: 1px solid rgba(255,255,255,.13); font-size: 13px; text-align: center; }
}

@media (max-width: 782px) {
  .admin-bar .np-mobile-header { top: 46px; }
}

@media (max-width: 700px) {
  html { scroll-padding-top: 68px; }
  .np-mobile-header { min-height: 66px; grid-template-columns: minmax(0,1fr) 44px; padding-top: 8px; padding-bottom: 8px; }
  .np-mobile-brand { width: min(205px, 70vw); }
  .np-menu-toggle { width: 42px; height: 42px; }
  .np-mobile-content { padding: 52px 18px; }
  .np-mobile-method { padding-top: 42px; padding-bottom: 42px; }

  .np-mobile-hero { min-height: 650px; padding: 26px 18px; }
  .np-mobile-hero-logo { width: 100%; }
  .np-mobile-hero .np-script { max-width: 92%; margin-top: 16px; font-size: clamp(20px, 6.3vw, 31px); }
  .np-mobile-hero-photo { right: 50%; bottom: 24px; width: min(72vw, 330px); transform: translateX(50%); }

  .np-card-grid,
  .np-card-grid-2,
  .np-form-grid,
  .np-contact-details,
  .np-mobile-footer-grid { grid-template-columns: 1fr; }

  .np-info-card { padding: 22px; }
  .np-feature-panel { padding: 24px 20px; }
  .np-steps article { grid-template-columns: 48px minmax(0,1fr); gap: 12px; padding: 15px; }
  .np-steps article > span { width: 46px; height: 46px; border-radius: 13px; font-size: 21px; }

  .np-about-intro { grid-template-columns: 1fr; text-align: center; }
  .np-about-photo-figure { width: min(300px, 78vw); margin: 0 auto; }
  .np-about-photo { width: 100%; margin: 0; border-radius: 50%; }
  .np-about-intro h2 strong { display: inline; }
  .np-pill-row { justify-content: center; }

  .np-contact-section { padding: 56px 16px; }
  .np-form-card { padding: 24px 18px; border-radius: 20px; }
  .np-contact-copy h2 { font-size: clamp(38px, 11vw, 54px); }
  .np-contact-details a { min-height: 76px; }
  .np-submit-button { min-height: 56px; }
  .np-consent { gap: 10px !important; }

  .np-mobile-footer { padding-left: 20px; padding-right: 20px; }
  .np-mobile-footer-grid { gap: 22px; }
}

@media (max-width: 380px) {
  .np-mobile-hero { min-height: 600px; }
  .np-mobile-content h2 { font-size: 31px; }
  .np-contact-copy h2 { font-size: 38px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Metodo: ricostruzione vettoriale/HTML, nitida a qualunque risoluzione */
.np-method-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: clamp(48px, 4.1vw, 82px) clamp(28px, 4vw, 84px) clamp(54px, 4.3vw, 88px);
  color: var(--np-ink);
  background:
    radial-gradient(circle at 50% -10%, rgba(21,151,255,.08), transparent 38%),
    linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  line-height: 1.45;
}

.np-method-inner {
  width: min(1740px, 100%);
  margin: 0 auto;
}

.np-method-heading {
  display: grid;
  grid-template-columns: minmax(80px, 1fr) auto minmax(80px, 1fr);
  gap: clamp(22px, 3vw, 56px);
  align-items: center;
  margin-bottom: clamp(34px, 3.4vw, 64px);
  text-align: center;
}

.np-method-rule {
  height: 2px;
  background: linear-gradient(90deg, transparent, #123ac6);
}

.np-method-rule:last-child {
  background: linear-gradient(90deg, #123ac6, transparent);
}

.np-method-script {
  margin: 0 0 8px;
  color: #0b32c7;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 4vw, 74px);
  font-style: italic;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.035em;
}

.np-method-heading h2 {
  max-width: 1040px;
  margin: 0;
  color: #071b49;
  font-size: clamp(20px, 1.65vw, 32px);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -.012em;
}

.np-method-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
}

.np-method-card {
  position: relative;
  min-width: 0;
  padding: 0 clamp(24px, 2.2vw, 44px);
  text-align: center;
}

.np-method-card + .np-method-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4%;
  bottom: 3%;
  width: 1px;
  background: #cbd8eb;
}

.np-method-icon {
  width: clamp(116px, 10.2vw, 186px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  margin: 0 auto clamp(14px, 1.2vw, 24px);
  color: #0a2fc3;
  border-radius: 50%;
  background: linear-gradient(145deg, #f3f8ff, #e6f0ff);
  box-shadow: inset 0 0 0 1px rgba(8,82,205,.035);
}

.np-method-icon svg {
  width: 62%;
  height: 62%;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 3.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  shape-rendering: geometricPrecision;
}

.np-method-number {
  display: block;
  margin-bottom: 7px;
  color: #0c31c7;
  font-size: clamp(31px, 2.6vw, 50px);
  font-weight: 500;
  line-height: 1;
}

.np-method-card h3 {
  margin: 0 0 clamp(16px, 1.2vw, 24px);
  color: #082eae;
  font-size: clamp(22px, 1.75vw, 34px);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -.025em;
}

.np-method-card p {
  max-width: 360px;
  margin: 0 auto;
  color: #18284f;
  font-size: clamp(16px, 1.22vw, 23px);
  font-weight: 430;
  line-height: 1.75;
  text-wrap: pretty;
}

/* Pulsanti legali e link inline */
.np-policy-hotspot,
.np-footer-policy-link,
.np-inline-policy {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  font: inherit;
  cursor: pointer;
}

.np-policy-hotspot {
  padding: 0;
  background: transparent;
}

.np-inline-policy {
  display: inline;
  padding: 0;
  color: #005fc8;
  background: transparent;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.np-inline-policy:focus-visible,
.np-footer-policy-link:focus-visible {
  outline: 3px solid var(--np-gold);
  outline-offset: 3px;
}

.np-footer-policy-link {
  display: block;
  margin: 0 0 9px;
  padding: 0;
  color: #fff;
  background: transparent;
  text-align: left;
  line-height: 1.55;
}

.np-footer-policy-link:hover { text-decoration: underline; }

/* Finestre modali policy */
body.np-modal-open { overflow: hidden; }

.np-modal-layer {
  position: fixed;
  z-index: 100000;
  inset: 0;
  display: none;
  place-items: center;
  padding: clamp(12px, 2.5vw, 42px);
}

.np-modal-layer.is-open { display: grid; }

.np-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(1, 13, 33, .76);
  backdrop-filter: blur(9px);
}

.np-policy-modal {
  position: relative;
  z-index: 1;
  width: min(1040px, 100%);
  max-height: min(90vh, 980px);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  overflow: hidden;
  color: #132347;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 32px 100px rgba(0,0,0,.42);
  line-height: 1.62;
}

.np-modal-toolbar {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 22px;
  align-items: center;
  padding: clamp(20px, 2.3vw, 34px) clamp(22px, 3vw, 42px);
  color: #fff;
  background:
    radial-gradient(circle at 85% 15%, rgba(21,151,255,.35), transparent 34%),
    linear-gradient(135deg, #02152f, #06336f);
}

.np-modal-kicker {
  margin: 0 0 5px;
  color: #70c0ff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .11em;
  line-height: 1.3;
  text-transform: uppercase;
}

.np-modal-toolbar h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(28px, 3vw, 48px);
  line-height: 1.05;
  letter-spacing: -.035em;
}

.np-modal-close {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  padding: 0 0 4px;
  color: #fff;
  border: 1px solid rgba(255,255,255,.32);
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  font-size: 34px;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
}

.np-modal-close:hover { background: rgba(255,255,255,.18); }
.np-modal-close:focus-visible { outline: 3px solid var(--np-gold); outline-offset: 3px; }

.np-modal-content {
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: clamp(24px, 3vw, 46px);
  scrollbar-gutter: stable;
}

.np-modal-content h3 {
  margin: 30px 0 9px;
  color: #07359c;
  font-size: clamp(18px, 1.55vw, 23px);
  line-height: 1.25;
}

.np-modal-content h3:first-of-type { margin-top: 18px; }
.np-modal-content p { margin: 0 0 14px; }
.np-modal-content ul { margin: 0 0 16px; padding-left: 22px; }
.np-modal-content li { margin-bottom: 8px; }
.np-modal-content a { color: #005fc8; font-weight: 750; }
.np-policy-date { padding: 11px 14px; border-radius: 10px; background: #eef6ff; }

.np-cookie-table-wrap {
  max-width: 100%;
  overflow-x: auto;
  margin: 18px 0 24px;
  border: 1px solid #d5e2f2;
  border-radius: 14px;
}

.np-cookie-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: 14px;
}

.np-cookie-table th,
.np-cookie-table td {
  padding: 13px 14px;
  border-bottom: 1px solid #dfe9f5;
  text-align: left;
  vertical-align: top;
}

.np-cookie-table th { color: #fff; background: #073b88; }
.np-cookie-table tr:last-child td { border-bottom: 0; }

@media (max-width: 1180px) {
  .np-method-section {
    padding: clamp(54px, 7vw, 84px) clamp(20px, 5vw, 54px);
  }

  .np-method-inner { width: min(980px, 100%); }
  .np-method-heading { grid-template-columns: 1fr; gap: 12px; margin-bottom: 34px; }
  .np-method-rule { display: none; }
  .np-method-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .np-method-card {
    padding: 28px 24px;
    border: 1px solid var(--np-line);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(5,59,129,.08);
  }
  .np-method-card + .np-method-card::before { display: none; }
  .np-method-icon { width: clamp(112px, 17vw, 154px); }
  .np-method-card p { max-width: 430px; font-size: 17px; line-height: 1.65; }
  .np-method-card h3 { font-size: clamp(23px, 3vw, 29px); }
}

@media (max-width: 700px) {
  .np-method-section { padding: 48px 16px; }
  .np-method-script { font-size: clamp(38px, 12vw, 56px); }
  .np-method-heading h2 { font-size: 19px; }
  .np-method-grid { grid-template-columns: 1fr; gap: 14px; }
  .np-method-card { padding: 24px 18px; }
  .np-method-icon { width: 112px; }
  .np-method-card p { font-size: 16px; line-height: 1.62; }
  .np-method-number { font-size: 35px; }
  .np-method-card h3 { margin-bottom: 12px; font-size: 24px; }

  .np-modal-layer { align-items: end; padding: 0; }
  .np-policy-modal {
    width: 100%;
    max-height: 94dvh;
    border-radius: 22px 22px 0 0;
  }
  .np-modal-toolbar { padding: 19px 18px; }
  .np-modal-close { width: 44px; height: 44px; }
  .np-modal-content { padding: 22px 18px max(32px, env(safe-area-inset-bottom)); }
  .np-modal-content h3 { margin-top: 25px; }
}

.np-policy-modal[hidden] { display: none !important; }
.np-consent-copy { min-width: 0; }
.np-consent-copy label {
  display: block;
  color: #42506a;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
  cursor: pointer;
}
.np-consent-copy .np-inline-policy { margin-top: 5px; font-size: 13px; }

/* ==========================================================
   Metodo compatto — altezza ridotta di circa il 60%
   Mantiene testi e icone vettoriali nitidi a ogni risoluzione.
   ========================================================== */
@media (min-width: 1181px) {
  .np-method-section {
    padding: 16px clamp(24px, 3vw, 58px) 20px;
    line-height: 1.12;
  }

  .np-method-inner {
    width: min(1780px, 100%);
  }

  .np-method-heading {
    gap: clamp(16px, 2vw, 34px);
    margin-bottom: 12px;
  }

  .np-method-script {
    margin-bottom: 2px;
    font-size: clamp(30px, 2vw, 38px);
    line-height: .95;
  }

  .np-method-heading h2 {
    font-size: clamp(16px, 1vw, 19px);
    line-height: 1.12;
  }

  .np-method-grid {
    align-items: start;
  }

  .np-method-card {
    padding: 0 clamp(14px, 1.35vw, 26px);
  }

  .np-method-card + .np-method-card::before {
    top: 1%;
    bottom: 0;
  }

  .np-method-icon {
    width: clamp(62px, 4vw, 76px);
    margin-bottom: 5px;
  }

  .np-method-icon svg {
    width: 60%;
    height: 60%;
    stroke-width: 3.5;
  }

  .np-method-number {
    margin-bottom: 1px;
    font-size: clamp(22px, 1.45vw, 27px);
    line-height: 1;
  }

  .np-method-card h3 {
    margin-bottom: 5px;
    font-size: clamp(18px, 1.18vw, 22px);
    line-height: 1.06;
  }

  .np-method-card p {
    max-width: 430px;
    font-size: clamp(13px, .82vw, 15.5px);
    line-height: 1.24;
  }
}

@media (min-width: 701px) and (max-width: 1180px) {
  .np-method-section {
    padding: 28px clamp(18px, 4vw, 38px) 30px;
    line-height: 1.2;
  }

  .np-method-heading {
    gap: 7px;
    margin-bottom: 18px;
  }

  .np-method-script {
    margin-bottom: 3px;
    font-size: clamp(32px, 5vw, 42px);
    line-height: .98;
  }

  .np-method-heading h2 {
    font-size: 17px;
    line-height: 1.18;
  }

  .np-method-grid {
    gap: 12px;
  }

  .np-method-card {
    padding: 17px 16px;
    border-radius: 16px;
  }

  .np-method-icon {
    width: clamp(68px, 10vw, 86px);
    margin-bottom: 6px;
  }

  .np-method-number {
    margin-bottom: 2px;
    font-size: 27px;
  }

  .np-method-card h3 {
    margin-bottom: 6px;
    font-size: clamp(19px, 2.4vw, 23px);
    line-height: 1.08;
  }

  .np-method-card p {
    font-size: 15px;
    line-height: 1.3;
  }
}

@media (max-width: 700px) {
  .np-method-section {
    padding: 28px 14px 30px;
    line-height: 1.2;
  }

  .np-method-heading {
    gap: 5px;
    margin-bottom: 16px;
  }

  .np-method-script {
    margin-bottom: 2px;
    font-size: clamp(32px, 10vw, 42px);
    line-height: .98;
  }

  .np-method-heading h2 {
    font-size: 16px;
    line-height: 1.2;
  }

  .np-method-grid {
    gap: 10px;
  }

  .np-method-card {
    padding: 15px 14px;
    border-radius: 15px;
  }

  .np-method-icon {
    width: 70px;
    margin-bottom: 5px;
  }

  .np-method-number {
    margin-bottom: 1px;
    font-size: 27px;
  }

  .np-method-card h3 {
    margin-bottom: 5px;
    font-size: 21px;
    line-height: 1.08;
  }

  .np-method-card p {
    font-size: 15px;
    line-height: 1.3;
  }
}

/* ==========================================================
   CATALOGO FORMATIVO 2026 - VERSIONE 5.0
   ========================================================== */

.np-secondary-button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 20px;
  color: #073b88;
  border: 1px solid #b9d0ea;
  border-radius: 12px;
  background: #fff;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.np-secondary-button:hover { transform: translateY(-2px); border-color: #6da9e9; box-shadow: 0 10px 26px rgba(2,21,47,.11); }
.np-secondary-button:focus-visible { outline: 3px solid var(--np-gold); outline-offset: 3px; }
.np-secondary-on-dark { color: #fff; border-color: rgba(255,255,255,.38); background: rgba(255,255,255,.09); }
.np-secondary-on-dark:hover { border-color: rgba(255,255,255,.72); box-shadow: 0 12px 30px rgba(0,0,0,.22); }

/* Home: ponte tra coaching e catalogo formativo */
.np-catalog-promo {
  position: relative;
  overflow: hidden;
  padding: clamp(70px, 7vw, 128px) clamp(24px, 5vw, 96px);
  color: var(--np-ink);
  background:
    radial-gradient(circle at 92% 20%, rgba(8,126,242,.16), transparent 27%),
    linear-gradient(135deg, #f6faff 0%, #fff 54%, #eef7ff 100%);
  line-height: 1.5;
}
.np-catalog-promo::before {
  content: "";
  position: absolute;
  left: -10vw;
  bottom: -18vw;
  width: 42vw;
  height: 42vw;
  border-radius: 50%;
  border: 1px solid rgba(8,126,242,.12);
  box-shadow: 0 0 0 70px rgba(8,126,242,.035), 0 0 0 140px rgba(8,126,242,.025);
}
.np-catalog-promo-inner {
  position: relative;
  z-index: 1;
  width: min(1500px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, .62fr);
  gap: clamp(44px, 7vw, 110px);
  align-items: center;
}
.np-catalog-promo-copy h2 {
  max-width: 980px;
  margin: 0 0 24px;
  color: #06255b;
  font-size: clamp(42px, 4.6vw, 78px);
  line-height: .98;
  letter-spacing: -.045em;
}
.np-catalog-promo-lead { max-width: 860px; margin: 0 0 28px; color: #42526f; font-size: clamp(18px, 1.5vw, 23px); line-height: 1.62; }
.np-area-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 30px; }
.np-area-chips span { padding: 9px 13px; color: #073b88; border: 1px solid #c5d9f0; border-radius: 999px; background: rgba(255,255,255,.82); font-size: 13px; font-weight: 800; }
.np-promo-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.np-catalog-cover-figure { width: min(430px, 100%); justify-self: center; text-align: center; }
.np-catalog-cover-link { display: block; width: 100%; border-radius: 20px; box-shadow: 0 28px 70px rgba(2,21,47,.24); transform: rotate(1.1deg); line-height: 0; transition: transform .25s ease, box-shadow .25s ease; }
.np-catalog-cover-link:hover { transform: rotate(0) translateY(-5px); box-shadow: 0 34px 80px rgba(2,21,47,.3); }
.np-catalog-cover-link img { display: block; width: 100%; height: auto; border-radius: 20px; }


/* Disclosure for photographic images processed with AI.
   Every disclosure stays in normal document flow, immediately below the relevant
   photographic element. It must never cover text, icons or image content. */
.np-photo-figure { margin: 0; padding: 0; }
.np-ai-photo-caption {
  display: block;
  width: 100%;
  margin: 9px 0 0;
  padding: 8px 12px;
  color: #17345f;
  border: 1px solid #cfdeef;
  border-radius: 10px;
  background: #f5f9fe;
  box-shadow: 0 5px 16px rgba(2,21,47,.055);
  font-size: clamp(11px, .78vw, 13px);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: .005em;
  text-align: center;
}
.np-ai-photo-caption-on-dark {
  color: #fff;
  border-color: rgba(255,255,255,.32);
  background: rgba(2,21,47,.92);
  box-shadow: 0 7px 20px rgba(0,0,0,.16);
  text-shadow: none;
}

/* Desktop photographic disclosures.
   - Hero/header portrait: the disclosure sits in the clear navy-blue strip
     immediately beside the portrait, without covering photo or copy.
   - Large "Chi sono" portrait: the disclosure runs vertically along the clear
     outer margin of the photographic figure. The rail is deliberately narrow and
     positioned in the image's blank edge, away from face, body, text and icons. */
.np-ai-photo-caption-desktop-flow { display: none; }

@media (min-width: 1181px) {
  #home.np-section,
  #chi-sono.np-section {
    aspect-ratio: auto;
    overflow: visible;
  }

  #home .np-desktop-art,
  #chi-sono .np-desktop-art {
    position: relative;
    height: auto;
    line-height: 1.35;
    background: #fff;
  }

  #home .np-desktop-art > picture,
  #chi-sono .np-desktop-art > picture {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
  }

  #home .np-desktop-art > picture > img,
  #chi-sono .np-desktop-art > picture > img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: fill;
  }

  .np-ai-photo-caption-desktop-flow {
    display: block;
    color: #17345f;
    border: 1px solid #cfdeef;
    background: rgba(245,249,254,.97);
    box-shadow: 0 5px 16px rgba(2,21,47,.05);
    font-size: clamp(11px, .7vw, 13px);
    font-weight: 800;
    line-height: 1.3;
  }

  /* Hero portrait disclosure: placed directly below the portrait, in the slim
     white breathing space at the transition between the hero and the next panel.
     It is intentionally rendered as plain caption text (no pill, no border, no
     shadow) so it reads clearly without altering the composition. */
  .np-desktop-photo-art-home .np-ai-photo-caption-hero {
    position: absolute;
    z-index: 7;
    top: 37.15%;
    right: 3.9%;
    width: 28.2%;
    margin: 0;
    padding: 1px 4px 0;
    color: #06255b;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    font-size: clamp(9px, .58vw, 11px);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: .002em;
    text-align: center;
    white-space: nowrap;
  }

  /* Large portrait in "Chi sono": vertical disclosure along the clean left edge
     of the portrait. Writing mode avoids a rotated box protruding over the figure. */
  .np-desktop-photo-art-about .np-ai-photo-caption-vertical {
    position: absolute;
    z-index: 6;
    top: 18%;
    bottom: 18%;
    left: clamp(5px, .8vw, 18px);
    width: auto;
    max-width: 34px;
    height: auto;
    margin: 0;
    padding: 9px 6px;
    border-radius: 9px;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    text-align: center;
  }
}

/* Captions on ordinary photo figures and catalog covers remain attached to the
   figure and therefore always sit directly below the image at every breakpoint. */
.np-catalog-cover-figure .np-ai-photo-caption,
.np-catalog-hero-cover-figure .np-ai-photo-caption,
.np-about-photo-figure .np-ai-photo-caption,
.np-mobile-hero-photo .np-ai-photo-caption {
  clear: both;
}

/* Catalogo: navigazione desktop dedicata */
.np-catalog-sitebar {
  position: sticky;
  z-index: 1100;
  top: 0;
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 10px clamp(24px, 5vw, 80px);
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid #dce7f3;
  box-shadow: 0 8px 28px rgba(2,21,47,.08);
  backdrop-filter: blur(12px);
}
.admin-bar .np-catalog-sitebar { top: 32px; }
.np-catalog-brand { width: min(310px, 34vw); line-height: 0; }
.np-catalog-brand img { width: 100%; height: auto; }
.np-catalog-nav { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 34px); }
.np-catalog-nav a { color: #233653; font-size: 14px; font-weight: 800; text-decoration: none; }
.np-catalog-nav a:hover, .np-catalog-nav a.is-current { color: #075fd5; }
.np-catalog-nav .np-nav-cta { padding: 11px 17px; color: #fff; border-radius: 10px; background: linear-gradient(135deg, #063fbd, #1597ff); box-shadow: 0 9px 24px rgba(7,95,213,.22); }
.np-catalog-nav .np-nav-cta:hover { color: #fff; transform: translateY(-1px); }

.np-catalog-main, .np-course-main { width: 100%; overflow: clip; color: var(--np-ink); background: #fff; line-height: 1.5; }
.np-catalog-wrap { width: min(1420px, calc(100% - 48px)); margin: 0 auto; }

.np-catalog-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 7vw, 122px) 0;
  color: #fff;
  background:
    radial-gradient(circle at 14% 18%, rgba(20,143,255,.34), transparent 31%),
    radial-gradient(circle at 86% 80%, rgba(255,184,0,.16), transparent 29%),
    linear-gradient(140deg, #02152f 0%, #07356f 60%, #041f47 100%);
}
.np-catalog-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .22;
  background-image: linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px);
  background-size: 46px 46px;
}
.np-catalog-hero-inner { position: relative; z-index: 1; width: min(1420px, calc(100% - 48px)); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.22fr) minmax(300px, .55fr); gap: clamp(48px, 7vw, 120px); align-items: center; }
.np-catalog-kicker { margin: 0 0 16px; color: #ffcc4a; font-size: 14px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.np-catalog-hero h1 { max-width: 970px; margin: 0 0 24px; color: #fff; font-size: clamp(46px, 5.7vw, 88px); line-height: .96; letter-spacing: -.05em; }
.np-catalog-hero h1 span { display: block; color: #9fd0ff; font-weight: 580; }
.np-catalog-hero-lead { max-width: 850px; margin: 0 0 30px; color: rgba(255,255,255,.82); font-size: clamp(18px, 1.55vw, 24px); line-height: 1.62; }
.np-catalog-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.np-catalog-stats { display: flex; gap: 22px; margin-top: 36px; }
.np-catalog-stats > div { min-width: 108px; padding-left: 16px; border-left: 2px solid rgba(255,184,0,.8); }
.np-catalog-stats strong { display: block; color: #fff; font-size: 29px; line-height: 1; }
.np-catalog-stats span { display: block; margin-top: 6px; color: rgba(255,255,255,.66); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.np-catalog-hero-cover-figure { position: relative; z-index: 2; width: min(400px, 100%); justify-self: center; text-align: center; }
.np-catalog-hero-cover { display: block; width: 100%; line-height: 0; transform: perspective(1200px) rotateY(-5deg) rotateZ(1deg); filter: drop-shadow(0 32px 38px rgba(0,0,0,.35)); transition: transform .25s ease; }
.np-catalog-hero-cover:hover { transform: perspective(1200px) rotateY(0) rotateZ(0) translateY(-5px); }
.np-catalog-hero-cover img { width: 100%; height: auto; border-radius: 8px; }

.np-catalog-intro { padding: clamp(70px, 7vw, 116px) 0; background: #fff; }
.np-catalog-intro .np-catalog-wrap > h2, .np-courses-heading h2, .np-catalog-cta h2 { margin: 0; color: #06255b; font-size: clamp(34px, 3.4vw, 56px); line-height: 1.05; letter-spacing: -.035em; }
.np-catalog-intro .np-catalog-wrap > h2 { max-width: 980px; }
.np-area-grid { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 16px; margin-top: 38px; }
.np-area-card { position: relative; min-height: 260px; display: flex; flex-direction: column; padding: 25px 22px; overflow: hidden; color: #12294c; border: 1px solid #d6e4f3; border-radius: 18px; background: linear-gradient(155deg, #fff, #f4f9ff); box-shadow: 0 12px 30px rgba(2,21,47,.06); text-decoration: none; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.np-area-card:hover { transform: translateY(-4px); border-color: #8fbce9; box-shadow: 0 18px 42px rgba(2,21,47,.11); }
.np-area-mark { width: 42px; height: 5px; margin-bottom: 24px; border-radius: 99px; background: linear-gradient(90deg, #087ef2, #ffb800); }
.np-area-card h3 { margin: 0 0 13px; color: #073b88; font-size: 21px; line-height: 1.14; }
.np-area-card p { margin: 0 0 22px; color: #52617d; font-size: 14px; line-height: 1.58; }
.np-area-card > span:last-child { margin-top: auto; color: #075fd5; font-size: 13px; font-weight: 850; }

.np-courses-section { padding: clamp(74px, 7vw, 120px) 0; background: linear-gradient(180deg, #f4f9ff 0%, #fff 100%); }
.np-courses-heading { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 32px; }
.np-text-link { color: #075fd5; font-weight: 850; text-decoration: none; white-space: nowrap; }
.np-text-link:hover { text-decoration: underline; }
.np-catalog-tools { display: grid; gap: 16px; margin-bottom: 34px; }
.np-catalog-search input { width: 100%; min-height: 58px; padding: 14px 18px; color: #12294c; border: 1px solid #cbdced; border-radius: 14px; background: #fff; box-shadow: 0 8px 24px rgba(2,21,47,.05); font-size: 16px; }
.np-catalog-search input:focus { outline: 0; border-color: #087ef2; box-shadow: 0 0 0 4px rgba(8,126,242,.13); }
.np-filter-row { display: flex; flex-wrap: wrap; gap: 8px; }
.np-filter-row button { min-height: 40px; padding: 8px 13px; color: #24415f; border: 1px solid #cadced; border-radius: 999px; background: #fff; font-size: 13px; font-weight: 800; cursor: pointer; }
.np-filter-row button:hover, .np-filter-row button.is-active { color: #fff; border-color: #075fd5; background: #075fd5; }
.np-filter-row button:focus-visible { outline: 3px solid var(--np-gold); outline-offset: 2px; }

.np-course-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.np-course-card { min-width: 0; }
.np-course-card[hidden] { display: none !important; }
.np-course-card-link { position: relative; height: 100%; min-height: 330px; display: flex; flex-direction: column; padding: 26px; overflow: hidden; color: #112846; border: 1px solid #d6e3f2; border-radius: 20px; background: #fff; box-shadow: 0 12px 34px rgba(2,21,47,.065); text-decoration: none; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.np-course-card-link::after { content: ""; position: absolute; right: -48px; bottom: -58px; width: 145px; height: 145px; border-radius: 50%; background: radial-gradient(circle, rgba(8,126,242,.11), transparent 68%); }
.np-course-card-link:hover { transform: translateY(-4px); border-color: #91bbe6; box-shadow: 0 20px 48px rgba(2,21,47,.12); }
.np-course-card-topline, .np-course-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; }
.np-course-number { min-width: 42px; height: 42px; display: inline-grid; place-items: center; padding: 0 8px; color: #fff; border-radius: 11px; background: #073b88; font-size: 13px; font-weight: 900; letter-spacing: .06em; }
.np-course-area { display: inline-flex; align-items: center; min-height: 30px; padding: 6px 10px; color: #765100; border: 1px solid #f0d47b; border-radius: 999px; background: #fff8dd; font-size: 11px; font-weight: 900; letter-spacing: .035em; text-transform: uppercase; }
.np-course-card h2 { margin: 0 0 15px; color: #062b66; font-size: clamp(22px, 1.7vw, 28px); line-height: 1.04; letter-spacing: -.025em; }
.np-course-card p { margin: 0 0 24px; color: #52617d; font-size: 15px; line-height: 1.58; }
.np-course-open { position: relative; z-index: 1; margin-top: auto; color: #075fd5; font-size: 13px; font-weight: 900; }
.np-no-results { margin: 28px 0 0; padding: 18px; color: #6d4c00; border: 1px solid #f0d47b; border-radius: 12px; background: #fff8dd; }

.np-catalog-cta { padding: clamp(62px, 6vw, 100px) 0; color: #fff; background: linear-gradient(125deg, #031b3e, #0751aa); }
.np-catalog-cta-inner { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 40px; align-items: center; }
.np-catalog-cta h2 { color: #fff; max-width: 980px; }
.np-catalog-cta p:not(.np-eyebrow) { max-width: 820px; margin: 18px 0 0; color: rgba(255,255,255,.77); font-size: 17px; line-height: 1.6; }
.np-primary-light { color: #073b88 !important; background: #fff !important; box-shadow: 0 12px 30px rgba(0,0,0,.18) !important; }

/* Scheda corso */
.np-course-hero { padding: clamp(54px, 5vw, 82px) 0; color: #fff; background: linear-gradient(135deg, #02152f 0%, #073c7b 100%); }
.np-breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; color: rgba(255,255,255,.62); font-size: 13px; }
.np-breadcrumb a { color: rgba(255,255,255,.8); text-decoration: none; }
.np-breadcrumb a:hover { color: #fff; text-decoration: underline; }
.np-course-hero-row { display: flex; align-items: end; justify-content: space-between; gap: 40px; }
.np-course-hero h1 { max-width: 1050px; margin: 0 0 18px; color: #fff; font-size: clamp(42px, 5vw, 78px); line-height: .98; letter-spacing: -.04em; }
.np-course-hero-row > div > p { max-width: 920px; margin: 0; color: rgba(255,255,255,.8); font-size: clamp(18px, 1.55vw, 23px); line-height: 1.55; }
.np-course-hero .np-course-area { color: #5c4200; background: #ffedb2; border-color: #ffcf38; }
.np-course-hero .np-course-number { color: #073b88; background: #fff; }

.np-course-detail { padding: clamp(62px, 6vw, 106px) 0; background: linear-gradient(180deg, #f4f9ff, #fff); }
.np-course-detail-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(310px, .65fr); gap: clamp(30px, 4vw, 58px); align-items: start; }
.np-course-sidebar { position: sticky; top: 112px; display: grid; gap: 16px; }
.admin-bar .np-course-sidebar { top: 144px; }
.np-sidebar-card { padding: 26px; border: 1px solid #d7e3f0; border-radius: 18px; background: #fff; box-shadow: 0 12px 30px rgba(2,21,47,.06); }
.np-sidebar-highlight { background: linear-gradient(145deg, #eaf5ff, #fff); }
.np-sidebar-kicker { margin: 0 0 8px; color: #bc8100; font-size: 11px; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; }
.np-sidebar-card h2 { margin: 0 0 12px; color: #073b88; font-size: 25px; line-height: 1.08; }
.np-sidebar-card p { margin: 0 0 18px; color: #53627a; font-size: 14px; line-height: 1.6; }
.np-sidebar-card .np-primary-button, .np-sidebar-card .np-secondary-button { width: 100%; margin-top: 10px; }
.np-sidebar-compact { color: #fff; border: 0; background: linear-gradient(135deg, #073b88, #06255b); }
.np-sidebar-compact strong { font-size: 20px; line-height: 1.35; }
.np-related-section { padding: clamp(68px, 6vw, 100px) 0; background: #fff; }
.np-course-grid-related { grid-template-columns: repeat(3,minmax(0,1fr)); }

/* Footer pagine catalogo */
.np-catalog-footer { color: #fff; background: #02152f; line-height: 1.5; }
.np-catalog-footer-inner { width: min(1420px, calc(100% - 48px)); margin: 0 auto; display: grid; grid-template-columns: minmax(280px, 1.5fr) repeat(3, minmax(150px,.55fr)); gap: 44px; padding: 64px 0 48px; }
.np-footer-brand-block img { width: min(360px, 100%); margin-bottom: 17px; }
.np-footer-brand-block p { max-width: 520px; margin: 0 0 12px; color: rgba(255,255,255,.68); font-size: 14px; }
.np-footer-brand-block .np-footer-motto { color: #ffca39; font-weight: 800; }
.np-catalog-footer h2 { margin: 0 0 14px; color: #65baff; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.np-catalog-footer a, .np-catalog-footer .np-footer-policy-link { display: block; margin: 0 0 9px; padding: 0; color: #fff; border: 0; background: transparent; font-size: 14px; font-weight: 600; text-align: left; text-decoration: none; cursor: pointer; }
.np-catalog-footer a:hover, .np-catalog-footer .np-footer-policy-link:hover { text-decoration: underline; }
.np-catalog-footer-bottom { padding: 20px 24px; color: rgba(255,255,255,.56); border-top: 1px solid rgba(255,255,255,.12); background: #011026; font-size: 12px; text-align: center; }

@media (max-width: 1180px) {
  .np-catalog-sitebar { display: none; }
  .np-catalog-promo { padding: 72px 32px; }
  .np-catalog-promo-inner { grid-template-columns: minmax(0,1.25fr) minmax(230px,.55fr); gap: 44px; }
  .np-catalog-promo-copy h2 { font-size: clamp(42px, 6vw, 64px); }
  .np-catalog-wrap, .np-catalog-hero-inner, .np-catalog-footer-inner { width: min(100% - 40px, 980px); }
  .np-catalog-hero { padding: 72px 0; }
  .np-catalog-hero-inner { grid-template-columns: minmax(0,1.15fr) minmax(250px,.55fr); gap: 46px; }
  .np-catalog-hero h1 { font-size: clamp(46px, 7vw, 70px); }
  .np-area-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .np-area-card:last-child { grid-column: 1 / -1; min-height: 190px; }
  .np-course-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .np-course-card h2 { font-size: 25px; }
  .np-course-detail-grid { grid-template-columns: minmax(0,1.4fr) minmax(270px,.65fr); gap: 28px; }
  .np-course-sidebar { top: 96px; }
  .np-catalog-footer-inner { grid-template-columns: 1.3fr repeat(3, .7fr); gap: 28px; }
}

@media (max-width: 782px) {
  .admin-bar .np-catalog-sitebar { top: 46px; }
}

@media (max-width: 760px) {
  .np-catalog-promo { padding: 62px 18px; }
  .np-catalog-promo-inner { grid-template-columns: 1fr; }
  .np-catalog-promo-copy h2 { font-size: clamp(38px, 10vw, 54px); }
  .np-catalog-cover-figure { width: min(350px, 88vw); }
  .np-catalog-cover-link { width: 100%; transform: none; }
  .np-promo-actions, .np-catalog-hero-actions { align-items: stretch; flex-direction: column; }
  .np-promo-actions a, .np-catalog-hero-actions a { width: 100%; }
  .np-catalog-wrap, .np-catalog-hero-inner, .np-catalog-footer-inner { width: min(100% - 32px, 680px); }
  .np-catalog-hero-inner { grid-template-columns: 1fr; }
  .np-catalog-hero-copy { order: 1; }
  .np-catalog-hero-cover-figure { order: 2; width: min(330px, 78vw); margin-top: 6px; }
  .np-catalog-hero-cover { width: 100%; transform: none; }
  .np-catalog-hero h1 { font-size: clamp(42px, 12vw, 60px); }
  .np-catalog-stats { justify-content: space-between; gap: 10px; }
  .np-catalog-stats > div { min-width: 0; flex: 1; }
  .np-area-grid, .np-course-grid, .np-course-grid-related { grid-template-columns: 1fr; }
  .np-area-card:last-child { grid-column: auto; }
  .np-area-card { min-height: 220px; }
  .np-courses-heading { align-items: start; flex-direction: column; }
  .np-text-link { white-space: normal; }
  .np-course-card-link { min-height: 0; }
  .np-course-hero-row { align-items: stretch; flex-direction: column; }
  .np-course-hero-row > .np-secondary-button { width: 100%; }
  .np-course-detail-grid { grid-template-columns: 1fr; }
  .np-course-sidebar { position: static; }
  .np-catalog-cta-inner { grid-template-columns: 1fr; }
  .np-catalog-cta-inner > .np-primary-button { width: 100%; }
  .np-catalog-footer-inner { grid-template-columns: 1fr 1fr; }
  .np-footer-brand-block { grid-column: 1 / -1; }
}

@media (max-width: 480px) {
  .np-catalog-wrap, .np-catalog-hero-inner, .np-catalog-footer-inner { width: calc(100% - 28px); }
  .np-catalog-hero { padding: 54px 0; }
  .np-catalog-hero h1 { font-size: 40px; }
  .np-catalog-hero-lead { font-size: 17px; }
  .np-catalog-stats strong { font-size: 24px; }
  .np-catalog-intro, .np-courses-section { padding: 62px 0; }
  .np-course-card-link { padding: 22px; border-radius: 16px; }
  .np-filter-row { display: grid; grid-template-columns: 1fr 1fr; }
  .np-filter-row button:first-child { grid-column: 1 / -1; }
  .np-catalog-footer-inner { grid-template-columns: 1fr; gap: 26px; }
  .np-footer-brand-block { grid-column: auto; }
}

/* Pagine WordPress generiche */
.np-generic-main { min-height: 65vh; padding: clamp(70px, 7vw, 120px) 0; color: var(--np-ink); background: linear-gradient(180deg,#f5faff,#fff); line-height: 1.6; }
.np-generic-wrap { width: min(980px, calc(100% - 40px)); margin: 0 auto; }
.np-generic-article { padding: clamp(26px,5vw,54px); border: 1px solid #d7e4f2; border-radius: 22px; background: #fff; box-shadow: var(--np-shadow); }
.np-generic-article h1 { margin: 0 0 24px; color: #06255b; font-size: clamp(38px,5vw,64px); line-height: 1.02; letter-spacing: -.04em; }
.np-generic-article h1 a { color: inherit; text-decoration: none; }
.np-entry-content { color: #42516b; }

/* ==========================================================
   NAVIGAZIONE E RIFINITURE - VERSIONE 5.1.1
   ========================================================== */

html { scroll-padding-top: 92px; }
#home,
#come-lavoro,
#catalogo-formativo,
#chi-sono,
#contatti-form,
#contatti { scroll-margin-top: 92px; }

.np-skip-link {
  position: fixed;
  z-index: 99999;
  top: 8px;
  left: 12px;
  padding: 11px 15px;
  color: #061a43;
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(0,0,0,.24);
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform .18s ease;
}
.np-skip-link:focus { transform: translateY(0); outline: 3px solid var(--np-gold); outline-offset: 2px; }

.np-desktop-header {
  position: sticky;
  z-index: 1200;
  top: 0;
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 8px clamp(24px, 4vw, 72px);
  color: #fff;
  background: rgba(2, 21, 47, .985);
  border-bottom: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 10px 28px rgba(0,0,0,.18);
  backdrop-filter: blur(14px);
}
.admin-bar .np-desktop-header { top: 32px; }
.np-desktop-brand {
  flex: 0 0 auto;
  width: clamp(225px, 20vw, 310px);
  line-height: 0;
}
.np-desktop-brand img { display: block; width: 100%; height: auto; }
.np-desktop-menu { min-width: 0; }
.np-primary-menu,
.np-primary-menu .sub-menu,
.np-mobile-menu-list,
.np-mobile-menu-list .sub-menu {
  margin: 0;
  padding: 0;
  list-style: none;
}
.np-primary-menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(5px, .75vw, 12px);
}
.np-primary-menu > .menu-item { position: relative; }
.np-primary-menu > .menu-item > a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px clamp(9px, .85vw, 14px);
  color: rgba(255,255,255,.9);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.15;
  text-decoration: none;
  white-space: nowrap;
  transition: color .18s ease, background .18s ease, transform .18s ease;
}
.np-primary-menu > .menu-item > a:hover,
.np-primary-menu > .current-menu-item > a,
.np-primary-menu > .current-menu-ancestor > a,
.np-primary-menu > .current_page_item > a {
  color: #fff;
  background: rgba(255,255,255,.1);
}
.np-primary-menu > .menu-item-has-children > a::after {
  content: "▾";
  color: #ffcc45;
  font-size: 10px;
  transform: translateY(-1px);
}
.np-primary-menu .sub-menu {
  position: absolute;
  z-index: 1250;
  top: calc(100% + 8px);
  left: 50%;
  width: max-content;
  min-width: 250px;
  max-width: 330px;
  padding: 9px;
  opacity: 0;
  visibility: hidden;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  background: #031b3e;
  box-shadow: 0 20px 46px rgba(0,0,0,.32);
  transform: translate(-50%, -7px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
}
.np-primary-menu .menu-item-has-children:hover > .sub-menu,
.np-primary-menu .menu-item-has-children:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.np-primary-menu .sub-menu a {
  display: block;
  padding: 10px 12px;
  color: rgba(255,255,255,.88);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
  white-space: normal;
}
.np-primary-menu .sub-menu a:hover,
.np-primary-menu .sub-menu a:focus-visible,
.np-primary-menu .sub-menu .current-menu-item > a {
  color: #fff;
  background: rgba(21,151,255,.18);
}
.np-primary-menu a:focus-visible { outline: 3px solid var(--np-gold); outline-offset: 2px; }
.np-primary-menu > .np-menu-contact > a {
  color: #052252;
  background: linear-gradient(135deg, #ffd45b, #ffb800);
  box-shadow: 0 8px 22px rgba(255,184,0,.18);
}
.np-primary-menu > .np-menu-contact > a:hover {
  color: #02152f;
  background: linear-gradient(135deg, #ffe17c, #ffc421);
  transform: translateY(-1px);
}

/* Il vecchio header specifico del catalogo non viene più usato: la navigazione è unica in tutto il sito. */
.np-catalog-sitebar { display: none !important; }

/* Footer del catalogo: una colonna in più per una navigazione realmente completa. */
.np-catalog-footer-inner {
  grid-template-columns: minmax(250px, 1.35fr) repeat(4, minmax(145px, .62fr));
  gap: clamp(26px, 3vw, 44px);
}

@media (max-width: 1180px) {
  html { scroll-padding-top: 76px; }
  #home,
  #come-lavoro,
  #catalogo-formativo,
  #chi-sono,
  #contatti-form,
  #contatti { scroll-margin-top: 76px; }

  .np-desktop-header { display: none; }

  .np-mobile-menu {
    max-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
  }
  .np-mobile-menu.is-open {
    max-height: min(78vh, 760px);
    visibility: visible;
    overscroll-behavior: contain;
  }
  .np-mobile-menu-list { width: 100%; }
  .np-mobile-menu-list > .menu-item > a {
    display: block;
    padding: 15px 22px;
    color: #fff;
    border-bottom: 1px solid rgba(255,255,255,.1);
    font-size: 15px;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none;
  }
  .np-mobile-menu-list > .menu-item-has-children > a::after {
    content: " · sezioni";
    color: #ffca39;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .02em;
  }
  .np-mobile-menu-list .sub-menu {
    padding: 4px 0 8px 18px;
    background: rgba(255,255,255,.035);
    border-bottom: 1px solid rgba(255,255,255,.08);
  }
  .np-mobile-menu-list .sub-menu a {
    display: block;
    padding: 10px 22px 10px 18px;
    color: rgba(255,255,255,.82);
    border-left: 2px solid rgba(255,184,0,.5);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.25;
    text-decoration: none;
  }
  .np-mobile-menu-list a:hover,
  .np-mobile-menu-list a:focus-visible,
  .np-mobile-menu-list .current-menu-item > a {
    color: #fff;
    background: rgba(21,151,255,.13);
  }
  .np-mobile-menu-list a:focus-visible { outline: 3px solid var(--np-gold); outline-offset: -3px; }

  .np-catalog-footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .np-footer-brand-block { grid-column: 1 / -1; }
}

@media (max-width: 480px) {
  .np-catalog-footer-inner { grid-template-columns: 1fr; }
  .np-footer-brand-block { grid-column: auto; }
}

.np-course-editorial {
  margin-top: 22px;
  padding: clamp(24px, 3vw, 38px);
  color: #3f506c;
  border: 1px solid #d7e3f0;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(2,21,47,.06);
  line-height: 1.7;
}
.np-course-editorial-primary { margin-top: 0; }
.np-course-editorial h2 { margin: 0 0 16px; color: #073b88; font-size: clamp(28px, 3vw, 38px); line-height: 1.08; }
.np-course-editorial p:first-of-type { margin-top: 0; }
.np-course-editorial p:last-child { margin-bottom: 0; }

/* ==========================================================
   Informativa cookie — versione base senza tracciamento
   Non è un consent wall: nessun cookie non tecnico viene caricato.
   ========================================================== */
.np-cookie-banner {
  position: fixed;
  z-index: 99990;
  right: clamp(14px, 2vw, 28px);
  bottom: clamp(14px, 2vw, 28px);
  left: clamp(14px, 2vw, 28px);
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.np-cookie-banner.is-hiding {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .2s ease, transform .2s ease;
}

.np-cookie-banner-inner {
  position: relative;
  width: min(1180px, 100%);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 19px 58px 19px 20px;
  color: #fff;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 22px;
  background:
    radial-gradient(circle at 88% 8%, rgba(21,151,255,.22), transparent 32%),
    linear-gradient(135deg, rgba(2,21,47,.985), rgba(4,47,103,.985));
  box-shadow: 0 24px 70px rgba(0,0,0,.34);
  backdrop-filter: blur(16px);
  pointer-events: auto;
}

.np-cookie-banner-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  color: #ffc735;
  border: 1px solid rgba(255,199,53,.4);
  border-radius: 16px;
  background: rgba(255,184,0,.08);
}
.np-cookie-banner-icon svg { width: 34px; height: 34px; }

.np-cookie-banner-copy { min-width: 0; }
.np-cookie-banner-eyebrow {
  margin: 0 0 3px;
  color: #74c4ff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .11em;
  line-height: 1.2;
  text-transform: uppercase;
}
.np-cookie-banner-copy h2 {
  margin: 0 0 5px;
  color: #fff;
  font-size: clamp(18px, 1.45vw, 23px);
  line-height: 1.15;
  letter-spacing: -.015em;
}
.np-cookie-banner-copy p {
  margin: 0;
  color: rgba(255,255,255,.84);
  font-size: 13px;
  line-height: 1.48;
}
.np-cookie-banner-copy strong { color: #fff; }
.np-cookie-banner-note {
  margin-top: 5px !important;
  color: rgba(255,255,255,.66) !important;
  font-size: 11.5px !important;
}
.np-cookie-banner-note code {
  padding: 1px 4px;
  color: #fff;
  border-radius: 4px;
  background: rgba(255,255,255,.09);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .92em;
}

.np-cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 9px;
}
.np-cookie-banner-primary,
.np-cookie-banner-secondary {
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 11px;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.15;
  cursor: pointer;
}
.np-cookie-banner-primary {
  color: #06244f;
  border: 1px solid #ffc735;
  background: linear-gradient(135deg, #ffd65f, #ffb800);
  box-shadow: 0 8px 22px rgba(255,184,0,.18);
}
.np-cookie-banner-secondary {
  color: #fff;
  border: 1px solid rgba(255,255,255,.26);
  background: rgba(255,255,255,.08);
}
.np-cookie-banner-primary:hover { background: linear-gradient(135deg, #ffe17d, #ffc328); }
.np-cookie-banner-secondary:hover { background: rgba(255,255,255,.14); }
.np-cookie-banner-primary:focus-visible,
.np-cookie-banner-secondary:focus-visible,
.np-cookie-banner-close:focus-visible {
  outline: 3px solid #ffc735;
  outline-offset: 3px;
}

.np-cookie-banner-close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  padding: 0 0 3px;
  color: rgba(255,255,255,.82);
  border: 0;
  border-radius: 50%;
  background: transparent;
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
}
.np-cookie-banner-close:hover { color: #fff; background: rgba(255,255,255,.09); }

@media (prefers-reduced-motion: reduce) {
  .np-cookie-banner.is-hiding { transition: none; }
}

@media (max-width: 900px) {
  .np-cookie-banner-inner {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
  }
  .np-cookie-banner-actions {
    grid-column: 1 / -1;
    justify-content: stretch;
  }
  .np-cookie-banner-primary,
  .np-cookie-banner-secondary { flex: 1 1 180px; }
}

@media (max-width: 600px) {
  .np-cookie-banner {
    right: 10px;
    bottom: max(10px, env(safe-area-inset-bottom));
    left: 10px;
  }
  .np-cookie-banner-inner {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 17px 46px 16px 16px;
    border-radius: 18px;
  }
  .np-cookie-banner-icon { display: none; }
  .np-cookie-banner-copy h2 { padding-right: 6px; font-size: 18px; }
  .np-cookie-banner-copy p { font-size: 12.5px; }
  .np-cookie-banner-note { font-size: 11px !important; }
  .np-cookie-banner-actions {
    grid-column: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .np-cookie-banner-primary,
  .np-cookie-banner-secondary { width: 100%; min-height: 43px; padding: 9px 10px; }
}


/* ==========================================================
   SCHEDE CORSO WEB-NATIVE — VERSIONE 5.3.0
   Le pagine dei corsi non incorporano più immagini derivate dal PDF.
   ========================================================== */
.np-course-native-column { min-width: 0; }
.np-course-native-sheet {
  position: relative;
  overflow: hidden;
  border: 1px solid #cbdced;
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 26px 68px rgba(2,21,47,.13);
}
.np-course-native-sheet::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: -140px;
  right: -120px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(21,151,255,.13), rgba(21,151,255,0) 68%);
  pointer-events: none;
}
.np-native-sheet-header {
  position: relative;
  z-index: 1;
  min-height: 190px;
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 28px;
  align-items: center;
  padding: clamp(30px, 4vw, 52px);
  color: #fff;
  background:
    linear-gradient(135deg, rgba(255,184,0,.12), transparent 38%),
    linear-gradient(128deg, #031b3e 0%, #074789 100%);
}
.np-native-sheet-header::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 52%;
  height: 5px;
  background: linear-gradient(90deg, transparent, #ffb800);
}
.np-native-sheet-kicker,
.np-native-sheet-label {
  margin: 0 0 9px;
  color: #bd7f00;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .13em;
  line-height: 1.2;
  text-transform: uppercase;
}
.np-native-sheet-header .np-native-sheet-kicker { color: #ffd765; }
.np-native-sheet-header h2 {
  max-width: 760px;
  margin: 0;
  color: #fff;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.06;
  letter-spacing: -.032em;
}
.np-native-sheet-seal {
  width: clamp(92px, 9vw, 126px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,214,94,.7);
  border-radius: 50%;
  background: radial-gradient(circle at 36% 30%, #0d63b6, #03214a 66%);
  box-shadow: inset 0 0 0 8px rgba(255,255,255,.055), 0 16px 34px rgba(0,0,0,.2);
}
.np-native-sheet-seal span {
  display: grid;
  place-items: center;
  width: 72%;
  aspect-ratio: 1;
  color: #ffd35c;
  border: 1px solid rgba(255,211,92,.55);
  border-radius: 50%;
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 900;
  letter-spacing: -.03em;
}
.np-native-sheet-intro {
  position: relative;
  z-index: 1;
  padding: clamp(30px, 4vw, 52px);
  border-bottom: 1px solid #d9e6f5;
  background: linear-gradient(180deg, #fff, #fbfdff);
}
.np-native-sheet-lead {
  max-width: 940px;
  margin: 0;
  color: #2e435f;
  font-size: clamp(18px, 1.4vw, 21px);
  line-height: 1.72;
}
.np-native-sheet-section {
  position: relative;
  z-index: 1;
  padding: clamp(30px, 4vw, 52px);
  border-bottom: 1px solid #d9e6f5;
}
.np-native-section-title {
  display: flex;
  align-items: flex-start;
  gap: 17px;
  margin-bottom: 27px;
}
.np-native-section-index {
  flex: 0 0 auto;
  min-width: 44px;
  min-height: 44px;
  display: grid;
  place-items: center;
  color: #073b88;
  border: 1px solid #eed17a;
  border-radius: 12px;
  background: #fff8dd;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .07em;
}
.np-native-section-title .np-native-sheet-label { margin-bottom: 5px; }
.np-native-section-title h3 {
  margin: 0;
  color: #062b66;
  font-size: clamp(27px, 2.6vw, 38px);
  line-height: 1.08;
  letter-spacing: -.028em;
}
.np-native-outcome-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 13px;
}
.np-native-outcome-card {
  min-height: 128px;
  display: grid;
  grid-template-columns: auto minmax(0,1fr);
  gap: 14px;
  align-items: start;
  padding: 21px;
  color: #314761;
  border: 1px solid #d8e5f2;
  border-radius: 17px;
  background: linear-gradient(150deg, #fff, #f5faff);
}
.np-native-outcome-card p {
  margin: 1px 0 0;
  font-size: 15px;
  line-height: 1.55;
  font-weight: 670;
}
.np-native-check {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  color: #fff;
  border-radius: 50%;
  background: #087ef2;
  box-shadow: 0 6px 14px rgba(8,126,242,.2);
  font-size: 16px;
  font-weight: 900;
}
.np-native-topics-section { background: #f7fbff; }
.np-native-topic-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 10px;
}
.np-native-topic-card {
  min-height: 126px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  padding: 18px;
  border: 1px solid #ccdeee;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 7px 20px rgba(2,21,47,.04);
}
.np-native-topic-card span {
  color: #c58a07;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
}
.np-native-topic-card strong {
  color: #073b88;
  font-size: 15px;
  line-height: 1.2;
  text-transform: uppercase;
}
.np-native-sheet-footer {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 1px;
  padding: 0;
  background: #d4e1ef;
}
.np-native-value-item {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 18px;
  color: #fff;
  background: #052f67;
  text-align: center;
}
.np-native-value-item span {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  color: #073b88;
  border-radius: 50%;
  background: #ffd45b;
  font-size: 12px;
  font-weight: 950;
}
.np-native-value-item strong {
  font-size: 13px;
  line-height: 1.2;
  letter-spacing: .01em;
}

.np-course-sidebar .np-sidebar-card { position: relative; overflow: hidden; }
.np-course-sidebar .np-sidebar-card::after {
  content: "";
  position: absolute;
  right: -54px;
  bottom: -58px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(8,126,242,.08), transparent 70%);
  pointer-events: none;
}
.np-sidebar-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  color: #fff;
  border-radius: 50%;
  background: #073b88;
  box-shadow: 0 9px 22px rgba(7,59,136,.2);
}
.np-sidebar-icon svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.np-course-audience-card { background: linear-gradient(145deg, #eaf5ff 0%, #fff 100%); }
.np-course-approach-card { background: linear-gradient(145deg, #fffaf0 0%, #fff 100%); }
.np-course-approach-card .np-sidebar-icon { background: #bc8100; }
.np-course-flex-card {
  color: #fff;
  border-color: #073b88;
  background: linear-gradient(145deg, #073b88 0%, #031b3e 100%);
}
.np-course-flex-card .np-sidebar-kicker { color: #ffd35c; }
.np-course-flex-card h2 { color: #fff; }
.np-course-flex-card p { color: rgba(255,255,255,.76); }
.np-course-flex-card .np-primary-button { color: #06255b; background: linear-gradient(135deg, #ffd65f, #ffb800); box-shadow: none; }
.np-course-flex-card .np-secondary-button { color: #fff; border-color: rgba(255,255,255,.44); background: transparent; }
.np-course-flex-card .np-secondary-button:hover { color: #06255b; background: #fff; }

@media (max-width: 1180px) {
  .np-native-topic-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .np-native-topic-card { min-height: 106px; }
}

@media (max-width: 760px) {
  .np-course-detail { padding: 42px 0 64px; }
  .np-course-native-sheet { border-radius: 20px; }
  .np-native-sheet-header { min-height: 0; grid-template-columns: 1fr; padding: 28px 24px; }
  .np-native-sheet-seal { width: 82px; }
  .np-native-sheet-intro,
  .np-native-sheet-section { padding: 28px 24px; }
  .np-native-outcome-grid { grid-template-columns: 1fr; }
  .np-native-outcome-card { min-height: 0; }
  .np-native-sheet-footer { grid-template-columns: 1fr; gap: 0; }
  .np-native-value-item { min-height: 62px; justify-content: flex-start; padding: 13px 22px; border-bottom: 1px solid rgba(255,255,255,.11); text-align: left; }
}

@media (max-width: 480px) {
  .np-native-sheet-header h2 { font-size: 27px; }
  .np-native-section-title { gap: 12px; }
  .np-native-section-index { min-width: 39px; min-height: 39px; }
  .np-native-section-title h3 { font-size: 25px; }
  .np-native-topic-grid { grid-template-columns: 1fr; }
  .np-native-topic-card { min-height: 92px; gap: 16px; }
  .np-native-sheet-lead { font-size: 17px; }
}

/* =========================================================
   v5.4 — Rich course pages
   Native HTML/CSS/SVG: no PDF page images, no external assets.
   ========================================================= */
.np-course-main-rich {
  --np-rich-navy: #05295f;
  --np-rich-blue: #0a6ed8;
  --np-rich-sky: #eaf5ff;
  --np-rich-gold: #e6a700;
  --np-rich-cream: #fff9ec;
  background: #fff;
}

.np-course-hero-rich {
  position: relative;
  overflow: hidden;
  padding: clamp(54px, 5.4vw, 94px) 0 clamp(64px, 6vw, 108px);
  background:
    radial-gradient(circle at 78% 42%, rgba(48,151,255,.20), transparent 28%),
    radial-gradient(circle at 94% 16%, rgba(255,190,28,.12), transparent 20%),
    linear-gradient(135deg, #02152f 0%, #073b7b 56%, #062d60 100%);
}
.np-course-hero-rich::before,
.np-course-hero-rich::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
}
.np-course-hero-rich::before {
  width: 520px;
  height: 520px;
  right: -220px;
  top: -260px;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 0 0 58px rgba(255,255,255,.025), 0 0 0 116px rgba(255,255,255,.018);
}
.np-course-hero-rich::after {
  width: 320px;
  height: 320px;
  left: -190px;
  bottom: -220px;
  background: rgba(15,128,238,.08);
}
.np-course-hero-rich .np-breadcrumb { position: relative; z-index: 2; }
.np-course-hero-rich-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(330px, .72fr);
  gap: clamp(34px, 5vw, 78px);
  align-items: center;
  margin-top: 28px;
}
.np-course-hero-copy { min-width: 0; }
.np-course-hero-copy .np-course-meta { flex-wrap: wrap; margin-bottom: 24px; }
.np-source-chip {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 11px;
  color: rgba(255,255,255,.83);
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 999px;
  background: rgba(255,255,255,.07);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .055em;
  text-transform: uppercase;
}
.np-course-hero-rich h1 {
  max-width: 1040px;
  margin: 0 0 20px;
  font-size: clamp(42px, 5.2vw, 82px);
  line-height: .96;
  letter-spacing: -.045em;
}
.np-course-hero-subtitle {
  max-width: 880px;
  margin: 0;
  color: rgba(255,255,255,.83);
  font-size: clamp(19px, 1.55vw, 24px);
  line-height: 1.5;
  font-weight: 520;
}
.np-course-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.np-course-hero-actions .np-primary-button,
.np-course-hero-actions .np-secondary-button { min-width: 190px; }

.np-course-hero-art { min-width: 0; }
.np-course-visual {
  position: relative;
  width: min(100%, 510px);
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 50%;
  background:
    radial-gradient(circle at 42% 40%, rgba(255,255,255,.15), transparent 30%),
    radial-gradient(circle at 50% 50%, rgba(9,119,227,.36), rgba(1,22,52,.10) 62%, transparent 63%);
  box-shadow: inset 0 0 70px rgba(0,0,0,.13), 0 30px 70px rgba(0,0,0,.16);
}
.np-visual-core {
  position: absolute;
  z-index: 4;
  inset: 50% auto auto 50%;
  width: 41%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  color: #fff;
  border: 2px solid rgba(255,211,92,.72);
  border-radius: 34% 66% 52% 48% / 54% 45% 55% 46%;
  background: linear-gradient(145deg, #0d68c3, #042858 72%);
  box-shadow: 0 22px 52px rgba(0,0,0,.25), inset 0 0 30px rgba(255,255,255,.08);
  animation: npVisualFloat 7s ease-in-out infinite;
}
.np-rich-icon-svg {
  width: 28px;
  height: 28px;
  display: block;
  vector-effect: non-scaling-stroke;
}
.np-rich-icon-hero { width: 52%; height: 52%; }
.np-visual-orbit {
  position: absolute;
  inset: 14%;
  border: 1px dashed rgba(255,255,255,.26);
  border-radius: 50%;
}
.np-visual-orbit-b {
  inset: 26%;
  border-style: solid;
  border-color: rgba(255,192,25,.23);
}
.np-visual-node {
  position: absolute;
  z-index: 5;
  width: 15.5%;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  color: #0b4f99;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 22px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 14px 34px rgba(0,0,0,.17);
}
.np-visual-node .np-rich-icon-svg { width: 52%; height: 52%; }
.np-visual-node-1 { top: 8%; left: 42%; transform: rotate(-5deg); }
.np-visual-node-2 { top: 42%; right: 4%; transform: rotate(6deg); }
.np-visual-node-3 { bottom: 6%; left: 42%; transform: rotate(4deg); }
.np-visual-node-4 { top: 42%; left: 4%; transform: rotate(-6deg); }
.np-visual-arrow {
  position: absolute;
  z-index: 2;
  width: 27%;
  height: 5%;
  border-radius: 999px;
  transform: rotate(-44deg);
  background: linear-gradient(90deg, transparent, rgba(255,189,19,.85));
}
.np-visual-arrow::after {
  content: "";
  position: absolute;
  right: -2px;
  top: 50%;
  width: 18px;
  height: 18px;
  border-top: 5px solid #ffc326;
  border-right: 5px solid #ffc326;
  transform: translateY(-50%) rotate(45deg);
}
.np-visual-arrow-a { left: 10%; bottom: 18%; }
.np-visual-arrow-b { right: 8%; top: 16%; transform: rotate(-55deg) scale(.75); opacity: .72; }
.np-visual-dot {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ffd35c;
  box-shadow: 0 0 0 5px rgba(255,211,92,.10);
}
.np-dot-1 { left: 26%; top: 18%; }
.np-dot-2 { right: 20%; bottom: 22%; }
.np-dot-3 { left: 18%; bottom: 35%; width: 5px; height: 5px; background: #56b5ff; }
@keyframes npVisualFloat {
  0%,100% { transform: translate(-50%, -50%) rotate(-1.4deg); }
  50% { transform: translate(-50%, calc(-50% - 9px)) rotate(1.4deg); }
}
.np-course-hero-art-caption {
  width: min(92%, 450px);
  display: flex;
  align-items: center;
  gap: 14px;
  margin: -30px auto 0;
  padding: 15px 18px;
  position: relative;
  z-index: 7;
  color: #fff;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 16px;
  background: rgba(2,25,57,.88);
  box-shadow: 0 18px 38px rgba(0,0,0,.20);
  backdrop-filter: blur(10px);
}
.np-course-hero-art-caption > span {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: #ffc833;
  border-radius: 14px;
  background: rgba(255,255,255,.08);
}
.np-course-hero-art-caption strong,
.np-course-hero-art-caption small { display: block; }
.np-course-hero-art-caption strong { margin-bottom: 3px; font-size: 14px; }
.np-course-hero-art-caption small { color: rgba(255,255,255,.67); font-size: 11px; line-height: 1.35; }

.np-course-rich-intro {
  padding: clamp(62px, 6.4vw, 112px) 0;
  background: linear-gradient(180deg, #f3f9ff 0%, #fff 15%, #fff 86%, #f6fbff 100%);
}
.np-course-rich-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.52fr) minmax(305px, .6fr);
  gap: clamp(30px, 4.2vw, 62px);
  align-items: start;
}
.np-course-rich-maincol { min-width: 0; display: grid; gap: clamp(34px, 4vw, 58px); }
.np-course-sidebar-rich { position: sticky; top: 112px; display: grid; gap: 18px; }
.admin-bar .np-course-sidebar-rich { top: 144px; }

.np-rich-story-card,
.np-rich-topic-section,
.np-rich-outcome-section,
.np-course-editorial-rich {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 3.5vw, 48px);
  border: 1px solid #d9e6f3;
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 18px 54px rgba(4,34,72,.065);
}
.np-rich-story-card::after {
  content: "";
  position: absolute;
  width: 250px;
  height: 250px;
  right: -145px;
  top: -145px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(20,143,255,.11), transparent 69%);
}
.np-rich-section-heading {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  gap: 17px;
  margin-bottom: 26px;
}
.np-rich-section-heading-spaced { margin-bottom: 30px; }
.np-rich-heading-icon {
  flex: 0 0 58px;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  color: #fff;
  border-radius: 17px;
  background: linear-gradient(145deg, #0b75d9, #063a7a);
  box-shadow: 0 10px 24px rgba(7,72,142,.20);
}
.np-rich-heading-icon .np-rich-icon-svg { width: 31px; height: 31px; }
.np-rich-section-heading .np-eyebrow { margin: 3px 0 6px; }
.np-rich-section-heading h2,
.np-rich-method-copy h2,
.np-rich-organization-section h2 {
  margin: 0;
  color: #062b65;
  font-size: clamp(29px, 3vw, 44px);
  line-height: 1.07;
  letter-spacing: -.032em;
}
.np-rich-heading-copy {
  max-width: 760px;
  margin: 12px 0 0;
  color: #5a6980;
  font-size: 15px;
  line-height: 1.65;
}
.np-rich-prose { position: relative; z-index: 2; }
.np-rich-prose p {
  margin: 0 0 19px;
  color: #33445e;
  font-size: clamp(16px, 1.1vw, 18px);
  line-height: 1.78;
}
.np-rich-prose p:first-child {
  color: #17385f;
  font-size: clamp(18px, 1.35vw, 21px);
  line-height: 1.67;
  font-weight: 650;
}
.np-rich-prose p:last-child { margin-bottom: 0; }
.np-rich-topic-section { background: linear-gradient(180deg, #fff, #fbfdff); }
.np-rich-topic-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 16px;
}
.np-rich-topic-card {
  position: relative;
  min-height: 270px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid #dce8f4;
  border-radius: 20px;
  background: linear-gradient(145deg, #f7fbff 0%, #fff 68%);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.np-rich-topic-card:hover {
  transform: translateY(-3px);
  border-color: #9bc8f0;
  box-shadow: 0 16px 34px rgba(4,43,91,.09);
}
.np-rich-topic-card::after {
  content: "";
  position: absolute;
  right: -45px;
  bottom: -55px;
  width: 135px;
  height: 135px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(20,133,235,.09), transparent 67%);
}
.np-rich-topic-number {
  position: absolute;
  top: 18px;
  right: 20px;
  color: #d6e5f5;
  font-size: 42px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.05em;
}
.np-rich-topic-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  color: #0c62b7;
  border: 1px solid #cfe4f7;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(7,69,132,.08);
}
.np-rich-topic-icon .np-rich-icon-svg { width: 30px; height: 30px; }
.np-rich-topic-card h3 { margin: 0 0 12px; color: #073b82; font-size: 22px; line-height: 1.12; }
.np-rich-topic-card p { margin: 0; color: #52627a; font-size: 14px; line-height: 1.67; }

.np-rich-outcome-section { background: #fff; }
.np-rich-outcome-grid { display: grid; gap: 12px; }
.np-rich-outcome-card {
  display: grid;
  grid-template-columns: 58px minmax(0,1fr);
  gap: 17px;
  align-items: start;
  padding: 20px 22px;
  border: 1px solid #dce7f1;
  border-radius: 17px;
  background: linear-gradient(90deg, #fff 0%, #f8fbff 100%);
}
.np-rich-outcome-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  color: #fff;
  border-radius: 15px;
  background: linear-gradient(145deg, #eeb415, #c88600);
  box-shadow: 0 8px 18px rgba(189,129,0,.17);
}
.np-rich-outcome-icon .np-rich-icon-svg { width: 27px; height: 27px; }
.np-rich-outcome-card h3 { margin: 1px 0 7px; color: #143860; font-size: 18px; line-height: 1.3; }
.np-rich-outcome-card p { margin: 0; color: #627087; font-size: 13.5px; line-height: 1.55; }

.np-rich-method-section {
  position: relative;
  min-height: 420px;
  display: grid;
  grid-template-columns: minmax(300px,.8fr) minmax(0,1.25fr);
  gap: clamp(26px, 4vw, 52px);
  align-items: center;
  padding: clamp(30px, 4vw, 54px);
  overflow: hidden;
  color: #fff;
  border-radius: 28px;
  background:
    radial-gradient(circle at 12% 20%, rgba(23,151,255,.28), transparent 28%),
    linear-gradient(135deg, #062b61, #021b3e 72%);
  box-shadow: 0 22px 54px rgba(2,21,47,.15);
}
.np-rich-method-section::after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -130px;
  width: 320px;
  height: 320px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 50%;
}
.np-rich-method-copy { position: relative; z-index: 3; }
.np-rich-method-copy h2 { color: #fff; margin-bottom: 18px; }
.np-rich-method-copy > p:not(.np-eyebrow) { margin: 0 0 16px; color: rgba(255,255,255,.76); font-size: 15px; line-height: 1.72; }
.np-rich-method-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.np-rich-method-tags span { padding: 7px 10px; color: #ffe29a; border: 1px solid rgba(255,211,92,.28); border-radius: 999px; background: rgba(255,211,92,.07); font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.np-rich-method-illustration {
  position: relative;
  z-index: 3;
  min-height: 310px;
}
.np-method-path {
  position: absolute;
  left: 50%;
  top: 8%;
  bottom: 8%;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(#3da9ff, #ffd25b);
  box-shadow: 0 0 18px rgba(61,169,255,.35);
}
.np-method-stop {
  position: absolute;
  width: 112px;
  min-height: 96px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 7px;
  padding: 12px;
  color: #fff;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 18px;
  background: rgba(255,255,255,.07);
  box-shadow: 0 15px 30px rgba(0,0,0,.14);
  backdrop-filter: blur(8px);
}
.np-method-stop .np-rich-icon-svg { width: 29px; height: 29px; color: #ffd45b; }
.np-method-stop span { font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.np-method-stop::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 34px;
  height: 1px;
  background: rgba(255,255,255,.26);
}
.np-method-stop-1 { left: 4%; top: 2%; }
.np-method-stop-2 { right: 4%; top: 26%; }
.np-method-stop-3 { left: 4%; bottom: 24%; }
.np-method-stop-4 { right: 4%; bottom: 1%; }
.np-method-stop-1::after,
.np-method-stop-3::after { right: -34px; }
.np-method-stop-2::after,
.np-method-stop-4::after { left: -34px; }

.np-rich-organization-section {
  display: grid;
  grid-template-columns: minmax(260px,.72fr) minmax(0,1.35fr);
  gap: clamp(28px, 4vw, 55px);
  align-items: center;
  padding: clamp(30px, 4vw, 52px);
  border: 1px solid #edd795;
  border-radius: 28px;
  background: linear-gradient(135deg, #fffaf0 0%, #fff 62%);
  box-shadow: 0 18px 45px rgba(101,69,0,.07);
}
.np-rich-organization-section h2 { margin-bottom: 17px; }
.np-rich-organization-section p:not(.np-eyebrow) { margin: 0 0 16px; color: #536178; font-size: 15px; line-height: 1.72; }
.np-rich-organization-section .np-primary-button { margin-top: 8px; }
.np-rich-organization-art {
  position: relative;
  min-height: 290px;
  border-radius: 26px;
  background:
    radial-gradient(circle at 50% 50%, rgba(6,93,185,.12), transparent 43%),
    linear-gradient(145deg, #eff8ff, #fff);
  overflow: hidden;
}
.np-org-badge {
  position: absolute;
  left: 50%; top: 50%;
  width: 106px; height: 106px;
  transform: translate(-50%,-50%);
  display: grid; place-items: center;
  color: #fff;
  border: 7px solid #fff;
  border-radius: 50%;
  background: linear-gradient(145deg, #096fcb, #073467);
  box-shadow: 0 16px 36px rgba(4,55,111,.22);
}
.np-org-badge .np-rich-icon-svg { width: 52px; height: 52px; }
.np-org-mini {
  position: absolute;
  width: 66px; height: 66px;
  display: grid; place-items: center;
  color: #0a5fb1;
  border: 1px solid #cce2f5;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 23px rgba(4,55,111,.11);
}
.np-org-mini .np-rich-icon-svg { width: 33px; height: 33px; }
.np-org-mini-a { left: 10%; top: 13%; }
.np-org-mini-b { right: 9%; top: 15%; color: #b57900; }
.np-org-mini-c { left: 16%; bottom: 10%; }
.np-org-line { position: absolute; height: 1px; background: #c2d9ee; transform-origin: left center; }
.np-org-line-a { width: 110px; left: 23%; top: 31%; transform: rotate(24deg); }
.np-org-line-b { width: 115px; right: 19%; bottom: 28%; transform: rotate(-33deg); }

.np-course-sidebar-rich .np-sidebar-card { padding: 25px; border-radius: 20px; }
.np-course-sidebar-rich .np-sidebar-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
}
.np-course-sidebar-rich .np-sidebar-icon .np-rich-icon-svg { width: 28px; height: 28px; }
.np-rich-area-card .np-text-link { display: inline-block; margin-top: 3px; }
.np-rich-catalog-card { background: linear-gradient(145deg, #f6faff, #fff); }
.np-rich-catalog-card .np-secondary-button { width: 100%; }
.np-course-flex-card .np-sidebar-icon { color: #06255b; background: #ffd35c; }

.np-related-section-rich { padding-top: clamp(74px, 7vw, 112px); }
.np-course-bottom-cta .np-catalog-cta-inner {
  grid-template-columns: 70px minmax(0,1fr) auto;
  align-items: center;
}
.np-course-bottom-cta-icon {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  color: #ffd25b;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 18px;
  background: rgba(255,255,255,.07);
}
.np-course-bottom-cta-icon .np-rich-icon-svg { width: 34px; height: 34px; }

@media (max-width: 1120px) {
  .np-course-hero-rich-grid { grid-template-columns: minmax(0,1fr) minmax(300px,.62fr); gap: 30px; }
  .np-course-rich-layout { grid-template-columns: minmax(0,1.35fr) minmax(275px,.62fr); gap: 28px; }
  .np-rich-method-section { grid-template-columns: 1fr; }
  .np-rich-method-illustration { min-height: 280px; max-width: 480px; width: 100%; margin: 0 auto; }
  .np-rich-organization-section { grid-template-columns: .8fr 1.2fr; }
}

@media (max-width: 880px) {
  .np-course-hero-rich-grid { grid-template-columns: 1fr; }
  .np-course-hero-copy { text-align: left; }
  .np-course-hero-art { width: min(100%, 520px); margin: 8px auto 0; }
  .np-course-rich-layout { grid-template-columns: 1fr; }
  .np-course-sidebar-rich { position: static; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .np-rich-organization-section { grid-template-columns: 1fr; }
  .np-rich-organization-art { min-height: 250px; }
  .np-course-bottom-cta .np-catalog-cta-inner { grid-template-columns: 62px 1fr; }
  .np-course-bottom-cta .np-primary-button { grid-column: 1 / -1; width: 100%; }
}

@media (max-width: 680px) {
  .np-course-hero-rich { padding-top: 42px; padding-bottom: 68px; }
  .np-course-hero-rich h1 { font-size: clamp(38px, 12vw, 58px); }
  .np-course-hero-actions { flex-direction: column; }
  .np-course-hero-actions .np-primary-button,
  .np-course-hero-actions .np-secondary-button { width: 100%; }
  .np-course-visual { width: min(92vw, 430px); }
  .np-course-hero-art-caption { width: 94%; margin-top: -18px; }
  .np-rich-story-card,
  .np-rich-topic-section,
  .np-rich-outcome-section,
  .np-course-editorial-rich { padding: 25px 20px; border-radius: 20px; }
  .np-rich-section-heading { gap: 13px; }
  .np-rich-heading-icon { flex-basis: 48px; width: 48px; height: 48px; border-radius: 14px; }
  .np-rich-heading-icon .np-rich-icon-svg { width: 26px; height: 26px; }
  .np-rich-section-heading h2,
  .np-rich-method-copy h2,
  .np-rich-organization-section h2 { font-size: 28px; }
  .np-rich-topic-grid { grid-template-columns: 1fr; }
  .np-rich-topic-card { min-height: 0; padding: 22px; }
  .np-rich-outcome-card { grid-template-columns: 50px minmax(0,1fr); padding: 17px; gap: 13px; }
  .np-rich-outcome-icon { width: 45px; height: 45px; }
  .np-rich-method-section,
  .np-rich-organization-section { padding: 25px 20px; border-radius: 22px; }
  .np-rich-method-illustration { min-height: 300px; }
  .np-method-stop { width: 100px; min-height: 88px; padding: 10px; }
  .np-method-stop-1,.np-method-stop-3 { left: 0; }
  .np-method-stop-2,.np-method-stop-4 { right: 0; }
  .np-course-sidebar-rich { grid-template-columns: 1fr; }
  .np-course-bottom-cta .np-catalog-cta-inner { grid-template-columns: 1fr; }
  .np-course-bottom-cta-icon { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .np-visual-core { animation: none; }
  .np-rich-topic-card { transition: none; }
}

.np-rich-specifics-section {
  position: relative;
  padding: clamp(28px, 3.5vw, 48px);
  overflow: hidden;
  border: 1px solid #ead9a8;
  border-radius: 26px;
  background:
    radial-gradient(circle at 90% 10%, rgba(237,175,25,.10), transparent 25%),
    linear-gradient(145deg, #fffdf7, #fff 70%);
  box-shadow: 0 18px 54px rgba(84,57,0,.05);
}
.np-rich-heading-icon-gold {
  color: #fff;
  background: linear-gradient(145deg, #e9ae17, #b87900);
  box-shadow: 0 10px 24px rgba(174,113,0,.18);
}
.np-rich-specifics-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 14px;
}
.np-rich-specific-card {
  min-height: 190px;
  padding: 22px;
  border: 1px solid #eadfbe;
  border-radius: 18px;
  background: rgba(255,255,255,.88);
  box-shadow: 0 9px 24px rgba(98,67,0,.045);
}
.np-rich-specific-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.np-rich-specific-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: #0b5fae;
  border: 1px solid #d4e5f4;
  border-radius: 14px;
  background: #f4faff;
}
.np-rich-specific-icon .np-rich-icon-svg { width: 27px; height: 27px; }
.np-rich-specific-index {
  color: #d6b65d;
  font-size: 27px;
  font-weight: 900;
  line-height: 1;
}
.np-rich-specific-card p {
  margin: 0;
  color: #485972;
  font-size: 14.5px;
  line-height: 1.68;
}
@media (max-width: 680px) {
  .np-rich-specifics-section { padding: 25px 20px; border-radius: 20px; }
  .np-rich-specifics-grid { grid-template-columns: 1fr; }
  .np-rich-specific-card { min-height: 0; }
}

.np-course-local-nav {
  position: relative;
  z-index: 15;
  border-bottom: 1px solid #dce7f2;
  background: rgba(255,255,255,.97);
  box-shadow: 0 8px 20px rgba(4,31,66,.045);
}
.np-course-local-nav-inner {
  min-height: 74px;
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
}
.np-course-local-nav a {
  min-width: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 16px 20px;
  color: #315170;
  border-right: 1px solid #e4edf5;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  transition: color .18s ease, background .18s ease;
}
.np-course-local-nav a:first-child { border-left: 1px solid #e4edf5; }
.np-course-local-nav a:hover,
.np-course-local-nav a:focus-visible { color: #075fc0; background: #f5faff; }
.np-course-local-nav .np-rich-icon-svg { width: 22px; height: 22px; color: #d39a08; }
.np-course-local-nav a span { white-space: nowrap; }
#np-course-overview,
#np-course-specifics,
#np-course-topics,
#np-course-outcomes,
#np-course-method { scroll-margin-top: 110px; }
@media (max-width: 880px) {
  .np-course-local-nav { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .np-course-local-nav-inner { width: max-content; min-width: 100%; justify-content: flex-start; }
  .np-course-local-nav a { min-width: 132px; padding-inline: 15px; }
}
@media (max-width: 520px) {
  .np-course-local-nav-inner { min-height: 66px; }
  .np-course-local-nav a { min-width: 116px; flex-direction: column; gap: 4px; padding: 10px 12px; font-size: 11px; }
  .np-course-local-nav .np-rich-icon-svg { width: 20px; height: 20px; }
}
