/* ============================================================
   NOVA ARI — Applied Research & Innovation UI
   Scientific / technology-driven design system (3rd theme)
   ============================================================ */

/* ── TOKENS ── */
:root {
  --n-bg:          #ffffff;
  --n-bg-alt:      #f5f7fb;
  --n-bg-card:     #ffffff;
  --n-navy:        #0b1329;
  --n-navy-2:      #101c3d;
  --n-heading:     var(--n-navy);
  --n-text:        #101828;
  --n-text-muted:  #5b6577;
  --n-text-light:  #8892a3;
  --n-border:      #e4e8f1;
  --n-border-light:#eef1f7;
  --n-teal:        #0f9e97;
  --n-teal-dark:   #0b7d78;
  --n-teal-light:  #e7f7f6;
  --n-violet:      #5b5cf0;
  --n-violet-dark: #4344c9;
  --n-violet-light:#eeeeff;
  --n-amber:       #e0952f;
  --n-radius-sm:   8px;
  --n-radius:      14px;
  --n-radius-lg:   22px;
  --n-shadow-sm:   0 1px 3px rgba(11,19,41,.06),0 1px 2px rgba(11,19,41,.04);
  --n-shadow:      0 6px 18px -6px rgba(11,19,41,.12);
  --n-shadow-lg:   0 20px 45px -12px rgba(11,19,41,.22);
  --n-transition:  .2s cubic-bezier(.4,0,.2,1);
  --n-header-bg:   rgba(255,255,255,.92);
}

/* ── DARK MODE ── */
/* Toggled by adding data-theme="dark" to <html> (see main.js). Every
   component already reads these tokens via var(--n-*), so overriding the
   values here is enough to re-theme the whole site — no component CSS
   needs to change. */
html[data-theme="dark"]{
  --n-bg:          #0d1420;
  --n-bg-alt:      #101a2b;
  --n-bg-card:     #131f33;
  --n-navy:        #060a14;
  --n-navy-2:      #0a1226;
  --n-heading:     #f1f4fa;
  --n-text:        #e7ebf3;
  --n-text-muted:  #a3adc2;
  --n-text-light:  #78829a;
  --n-border:      #223252;
  --n-border-light:#1a2740;
  --n-teal-light:  #0f2c2c;
  --n-violet-light:#1c1c3d;
  --n-shadow-sm:   0 1px 3px rgba(0,0,0,.35),0 1px 2px rgba(0,0,0,.3);
  --n-shadow:      0 6px 18px -6px rgba(0,0,0,.5);
  --n-shadow-lg:   0 20px 45px -12px rgba(0,0,0,.6);
}
html[data-theme="dark"] .nova-theme .n-header{background:rgba(13,20,32,.92)}
html[data-theme="dark"] .nova-theme .n-brand-logo{background:var(--n-bg-card);border:1px solid var(--n-border)}
html[data-theme="dark"] .nova-theme .n-chip{color:var(--n-text-muted)}
html[data-theme="dark"] .nova-theme .n-post-thumb-fallback{background:linear-gradient(135deg,var(--n-teal-light),var(--n-violet-light))}
html[data-theme="dark"] .nova-theme .n-hero::before{opacity:.7}
html[data-theme="dark"] .nova-theme .n-cta-band{background:linear-gradient(120deg,var(--n-navy-2),#0d1730)}

/* Nav header + mobile offcanvas menu must follow the same light/dark theme
   as the rest of the site — without this, the offcanvas panel stays
   Bootstrap's default white background while its text color (which
   correctly follows --n-text) turns near-white in dark mode, making menu
   items nearly invisible (light text on a white panel). */
html[data-theme="dark"] .nova-theme{--n-header-bg:rgba(13,20,32,.92)}
html[data-theme="dark"] .offcanvas{background-color:var(--n-bg-card);color:var(--n-text)}
html[data-theme="dark"] .offcanvas .offcanvas-header{border-color:var(--n-border)!important}
html[data-theme="dark"] .offcanvas .btn-close{filter:invert(1) grayscale(100%) brightness(200%)}

/* ── DARK-MODE TOGGLE BUTTON ── */
.nova-theme .n-theme-toggle{width:38px;height:38px;border-radius:999px;display:flex;align-items:center;justify-content:center;color:var(--n-text-muted);background:var(--n-bg-alt);border:1px solid var(--n-border);transition:var(--n-transition);flex-shrink:0}
.nova-theme .n-theme-toggle:hover{color:var(--n-teal-dark);border-color:var(--n-teal)}
.nova-theme .n-theme-toggle i{font-size:.95rem}
.nova-theme .n-theme-toggle .fa-sun{display:none}
html[data-theme="dark"] .nova-theme .n-theme-toggle .fa-sun{display:inline-block}
html[data-theme="dark"] .nova-theme .n-theme-toggle .fa-moon{display:none}

/* ── RESET ── */
.nova-theme *,.nova-theme *::before,.nova-theme *::after{box-sizing:border-box;margin:0;padding:0}
.nova-theme{scroll-behavior:smooth}
.nova-theme body,body.nova-theme{font-family:'Inter',system-ui,-apple-system,sans-serif;background:var(--n-bg);color:var(--n-text);line-height:1.65;-webkit-font-smoothing:antialiased;overflow-x:hidden}
.nova-theme img{max-width:100%;height:auto;display:block}
.nova-theme a{color:inherit;text-decoration:none}
.nova-theme ul,.nova-theme ol{list-style:none}
.nova-theme button{cursor:pointer;border:none;background:none;font:inherit}

/* ── TYPOGRAPHY ── */
.nova-theme h1,.nova-theme h2,.nova-theme h3,.nova-theme h4,.nova-theme h5{
  font-family:'Space Grotesk','Inter',sans-serif;font-weight:700;line-height:1.15;color:var(--n-heading);letter-spacing:-.01em
}
.nova-theme h1{font-size:clamp(2.1rem,4.4vw,3.35rem);font-weight:700}
.nova-theme h2{font-size:clamp(1.7rem,3.4vw,2.35rem)}
.nova-theme h3{font-size:1.2rem;font-weight:700}
.nova-theme p{color:var(--n-text-muted)}
.nova-theme .lead{font-size:1.1rem;color:var(--n-text-muted)}

/* ── LAYOUT ── */
.nova-theme .container{width:100%;max-width:1180px;margin:0 auto;padding:0 1.5rem}
.nova-theme .n-section{padding:4.5rem 0}
.nova-theme .n-section-sm{padding:2.75rem 0}
.nova-theme .n-section-alt{background:var(--n-bg-alt)}
.nova-theme .n-section-dark{background:var(--n-navy);color:#fff}
.nova-theme .n-section-dark p{color:rgba(255,255,255,.7)}
.nova-theme .n-section-dark h2,.nova-theme .n-section-dark h3{color:#fff}

/* ── EYEBROW ── */
.nova-theme .n-eyebrow{display:inline-flex;align-items:center;gap:.5rem;font-size:.74rem;font-weight:700;letter-spacing:.09em;text-transform:uppercase;color:var(--n-teal-dark);background:var(--n-teal-light);border:1px solid #cdeeeb;padding:.35rem .85rem;border-radius:999px;margin-bottom:1rem}
.nova-theme .n-eyebrow.violet{color:var(--n-violet-dark);background:var(--n-violet-light);border-color:#dcdcff}
.nova-theme .n-eyebrow.light{color:#fff;background:rgba(255,255,255,.1);border-color:rgba(255,255,255,.2)}

/* ── BUTTONS ── */
.nova-theme .btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;font-size:.9rem;font-weight:600;padding:.75rem 1.55rem;border-radius:var(--n-radius-sm);border:1.5px solid transparent;transition:var(--n-transition);white-space:nowrap;cursor:pointer;text-decoration:none;line-height:1}
.nova-theme .btn-teal{background:var(--n-teal);color:#fff;border-color:var(--n-teal)}
.nova-theme .btn-teal:hover{background:var(--n-teal-dark);border-color:var(--n-teal-dark);transform:translateY(-1px);box-shadow:0 8px 20px rgba(15,158,151,.3)}
.nova-theme .btn-outline{background:transparent;color:#fff;border-color:rgba(255,255,255,.35)}
.nova-theme .btn-outline:hover{border-color:#fff;background:rgba(255,255,255,.08)}
.nova-theme .btn-outline-dark{background:transparent;color:var(--n-heading);border-color:var(--n-border)}
.nova-theme .btn-outline-dark:hover{border-color:var(--n-teal);color:var(--n-teal-dark);background:var(--n-teal-light)}
.nova-theme .btn-violet{background:var(--n-violet);color:#fff;border-color:var(--n-violet)}
.nova-theme .btn-violet:hover{background:var(--n-violet-dark);border-color:var(--n-violet-dark);transform:translateY(-1px)}
.nova-theme .btn-whatsapp{background:#25d366;color:#fff}
.nova-theme .btn-whatsapp:hover{background:#1ebe57;transform:translateY(-1px)}
.nova-theme .btn-sm{font-size:.8rem;padding:.55rem 1.1rem}
.nova-theme .btn-lg{font-size:1rem;padding:.95rem 2.1rem}
.nova-theme .btn-block{width:100%}
.nova-theme .btn:disabled{opacity:.6;cursor:not-allowed;transform:none!important}

/* ── NAV ── */
.nova-theme .n-header{position:sticky;top:0;z-index:1000;background:var(--n-header-bg,rgba(255,255,255,.92));backdrop-filter:blur(10px);border-bottom:1px solid var(--n-border-light)}
.nova-theme .n-navbar{padding:.85rem 0}
.nova-theme .n-nav-inner{display:flex;align-items:center;gap:1.5rem}
.nova-theme .n-brand{display:flex;align-items:center;gap:.7rem}
.nova-theme .n-brand-logo{width:42px;height:42px;border-radius:10px;background:var(--n-navy);display:flex;align-items:center;justify-content:center;overflow:hidden;flex-shrink:0}
.nova-theme .n-brand-logo img{width:100%;height:100%;object-fit:cover}
.nova-theme .n-brand-logo-mark{color:#fff;font-family:'Space Grotesk',sans-serif;font-weight:700;font-size:.95rem}
.nova-theme .n-brand-name{display:block;font-family:'Space Grotesk',sans-serif;font-weight:700;font-size:1rem;color:var(--n-heading);line-height:1.2}
.nova-theme .n-brand-sub{display:block;font-size:.68rem;color:var(--n-text-light);letter-spacing:.04em}
.nova-theme .n-nav-links{display:flex;align-items:center;gap:1.6rem;margin-left:1rem}
.nova-theme .n-nav-link{font-size:.87rem;font-weight:600;color:var(--n-text-muted);transition:var(--n-transition);white-space:nowrap}
.nova-theme .n-nav-link:hover,.nova-theme .n-nav-link.active{color:var(--n-teal-dark)}
.nova-theme .n-nav-actions{margin-left:auto;display:flex;align-items:center;gap:.75rem}
.nova-theme .n-hamburger{display:none;width:40px;height:40px;align-items:center;justify-content:center;border-radius:8px;color:var(--n-heading);font-size:1.1rem}
.nova-theme .n-hamburger:hover{background:var(--n-bg-alt)}

@media(max-width:991.98px){
  .nova-theme .n-nav-links{display:none}
  .nova-theme .n-nav-actions .btn{display:none}
  .nova-theme .n-hamburger{display:flex}
}

/* Mobile offcanvas */
.nova-theme .n-mobile-link{display:flex;align-items:center;gap:.7rem;padding:.75rem .25rem;font-weight:600;font-size:.92rem;color:var(--n-text);border-bottom:1px solid var(--n-border-light)}
.nova-theme .n-mobile-link i{width:18px;color:var(--n-teal)}
.nova-theme .n-mobile-link.active{color:var(--n-teal-dark)}
.nova-theme .offcanvas .n-brand-logo{width:38px;height:38px}

/* ── HERO ── */
.nova-theme .n-hero{position:relative;background:var(--n-navy);color:#fff;padding:5rem 0 4.5rem;overflow:hidden}
.nova-theme .n-hero::before{content:'';position:absolute;inset:0;background:
  radial-gradient(600px 400px at 85% -10%, rgba(91,92,240,.35), transparent 60%),
  radial-gradient(500px 350px at -5% 110%, rgba(15,158,151,.3), transparent 60%);
  pointer-events:none}
.nova-theme .n-hero-grid{position:absolute;inset:0;opacity:.06;
  background-image:linear-gradient(rgba(255,255,255,.6) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.6) 1px,transparent 1px);
  background-size:42px 42px;pointer-events:none}
.nova-theme .n-hero-inner{position:relative;z-index:1}
.nova-theme .n-hero h1{color:#fff;margin-bottom:1.1rem}
.nova-theme .n-hero p.lead{color:rgba(255,255,255,.78);max-width:640px;margin-bottom:2rem}
.nova-theme .n-hero-cta{display:flex;gap:.85rem;flex-wrap:wrap}
.nova-theme .n-page-hero{background:var(--n-navy);color:#fff;padding:3.75rem 0 3.25rem;position:relative;overflow:hidden}
.nova-theme .n-page-hero::before{content:'';position:absolute;inset:0;background:radial-gradient(500px 320px at 90% 0%,rgba(91,92,240,.3),transparent 60%);pointer-events:none}
.nova-theme .n-page-hero h1{color:#fff;position:relative;z-index:1}
.nova-theme .n-page-hero p{color:rgba(255,255,255,.75);max-width:680px;position:relative;z-index:1}
.nova-theme .n-breadcrumb{position:relative;z-index:1;font-size:.82rem;color:rgba(255,255,255,.6);margin-bottom:1rem}
.nova-theme .n-breadcrumb a{color:rgba(255,255,255,.85)}
.nova-theme .n-breadcrumb a:hover{color:var(--n-teal)}

/* ── CARDS ── */
.nova-theme .n-card{background:var(--n-bg-card);border:1px solid var(--n-border);border-radius:var(--n-radius);padding:1.75rem;transition:var(--n-transition);height:100%}
.nova-theme .n-card:hover{box-shadow:var(--n-shadow);border-color:#d8e6e4;transform:translateY(-2px)}
.nova-theme .n-card-icon{width:48px;height:48px;border-radius:12px;background:var(--n-teal-light);color:var(--n-teal-dark);display:flex;align-items:center;justify-content:center;font-size:1.15rem;margin-bottom:1.1rem}
.nova-theme .n-card-icon.violet{background:var(--n-violet-light);color:var(--n-violet-dark)}
.nova-theme .n-card h3{margin-bottom:.5rem;font-size:1.08rem}
.nova-theme .n-card p{font-size:.92rem;margin-bottom:0}
.nova-theme .n-card ul{margin-top:.85rem;display:flex;flex-direction:column;gap:.45rem}
.nova-theme .n-card ul li{font-size:.85rem;color:var(--n-text-muted);display:flex;gap:.5rem;align-items:flex-start}
.nova-theme .n-card ul li i{color:var(--n-teal);font-size:.7rem;margin-top:.4rem;flex-shrink:0}

.nova-theme .n-tag{display:inline-block;font-size:.7rem;font-weight:700;letter-spacing:.03em;color:var(--n-violet-dark);background:var(--n-violet-light);padding:.2rem .6rem;border-radius:6px;margin-bottom:.6rem}

/* ── SECTION HEAD ── */
.nova-theme .n-head{max-width:680px;margin-bottom:2.75rem}
.nova-theme .n-head.center{margin-left:auto;margin-right:auto;text-align:center}

/* ── PROCESS / FLOW ── */
.nova-theme .n-flow{display:flex;flex-wrap:wrap;gap:0;border:1px solid var(--n-border);border-radius:var(--n-radius);overflow:hidden}
.nova-theme .n-flow-step{flex:1 1 190px;padding:1.6rem 1.4rem;border-right:1px solid var(--n-border);border-bottom:1px solid var(--n-border)}
.nova-theme .n-flow-step:last-child{border-right:none}
.nova-theme .n-flow-num{font-family:'Space Grotesk',sans-serif;font-weight:700;color:var(--n-teal);font-size:.85rem;margin-bottom:.4rem}
.nova-theme .n-flow-step h3{font-size:.98rem;margin-bottom:.35rem}
.nova-theme .n-flow-step p{font-size:.83rem}

/* ── STAT-FREE STRIP (values, not counters) ── */
.nova-theme .n-values-strip{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:1.25rem}
.nova-theme .n-value-item{padding:1.4rem;border:1px solid var(--n-border);border-radius:var(--n-radius)}
.nova-theme .n-value-item i{color:var(--n-teal);font-size:1.2rem;margin-bottom:.6rem;display:block}
.nova-theme .n-value-item h3{font-size:.98rem;margin-bottom:.35rem}
.nova-theme .n-value-item p{font-size:.83rem;margin:0}

/* ── DIVISION / MODULE LIST ROWS ── */
.nova-theme .n-row-item{display:flex;gap:1.1rem;padding:1.5rem 0;border-bottom:1px solid var(--n-border)}
.nova-theme .n-row-item:last-child{border-bottom:none}
.nova-theme .n-row-num{font-family:'Space Grotesk',sans-serif;font-weight:700;color:var(--n-teal);font-size:.95rem;flex-shrink:0;width:2.4rem}
.nova-theme .n-row-item h3{margin-bottom:.35rem}
.nova-theme .n-row-item p{font-size:.9rem;margin-bottom:.6rem}
.nova-theme .n-chip-row{display:flex;flex-wrap:wrap;gap:.4rem}
.nova-theme .n-chip{font-size:.74rem;font-weight:600;color:var(--n-text-muted);background:var(--n-bg-alt);border:1px solid var(--n-border);padding:.25rem .65rem;border-radius:999px}

/* ── FORMS ── */
.nova-theme .n-field{margin-bottom:1.1rem}
.nova-theme .n-field label{display:block;font-size:.82rem;font-weight:600;color:var(--n-text);margin-bottom:.4rem}
.nova-theme .n-field input,.nova-theme .n-field textarea,.nova-theme .n-field select{
  width:100%;padding:.7rem .9rem;border:1.5px solid var(--n-border);border-radius:var(--n-radius-sm);
  font-size:.9rem;font-family:inherit;color:var(--n-text);background:var(--n-bg-card);transition:var(--n-transition)
}
.nova-theme .n-field input:focus,.nova-theme .n-field textarea:focus,.nova-theme .n-field select:focus{outline:none;border-color:var(--n-teal);box-shadow:0 0 0 3px rgba(15,158,151,.12)}
.nova-theme .n-field .n-error{color:#dc2626;font-size:.78rem;margin-top:.35rem}
.nova-theme .n-alert{padding:.95rem 1.15rem;border-radius:var(--n-radius-sm);font-size:.88rem;margin-bottom:1.25rem}
.nova-theme .n-alert-success{background:var(--n-teal-light);color:var(--n-teal-dark);border:1px solid #cdeeeb}
.nova-theme .n-alert-error{background:#fef2f2;color:#b91c1c;border:1px solid #fecaca}

/* ── TESTIMONIALS / FAQ ── */
.nova-theme .n-quote{background:var(--n-bg-card);border:1px solid var(--n-border);border-radius:var(--n-radius);padding:1.6rem;height:100%}
.nova-theme .n-quote i.fa-quote-left{color:var(--n-teal);opacity:.35;font-size:1.3rem;margin-bottom:.75rem;display:block}
.nova-theme .n-quote p{font-size:.92rem;color:var(--n-text);margin-bottom:1rem;font-style:italic}
.nova-theme .n-quote-author{display:flex;align-items:center;gap:.7rem}
.nova-theme .n-quote-avatar{width:38px;height:38px;border-radius:50%;background:var(--n-teal-light);color:var(--n-teal-dark);display:flex;align-items:center;justify-content:center;font-weight:700;font-size:.8rem;overflow:hidden;flex-shrink:0}
.nova-theme .n-quote-avatar img{width:100%;height:100%;object-fit:cover}
.nova-theme .n-quote-name{font-weight:700;font-size:.85rem;color:var(--n-heading)}
.nova-theme .n-quote-role{font-size:.76rem;color:var(--n-text-light)}

.nova-theme .n-faq-item{border-bottom:1px solid var(--n-border)}
.nova-theme .n-faq-q{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1.1rem 0;font-weight:600;font-size:.94rem;color:var(--n-heading);width:100%;text-align:left}
.nova-theme .n-faq-q i{color:var(--n-teal);transition:transform .2s}
.nova-theme .n-faq-item.open .n-faq-q i{transform:rotate(45deg)}
.nova-theme .n-faq-a{max-height:0;overflow:hidden;transition:max-height .25s ease}
.nova-theme .n-faq-item.open .n-faq-a{max-height:300px}
.nova-theme .n-faq-a p{padding-bottom:1.1rem;font-size:.88rem}

/* ── INSIGHTS (blog) ── */
.nova-theme .n-post-card{background:var(--n-bg-card);border:1px solid var(--n-border);border-radius:var(--n-radius);overflow:hidden;height:100%;display:flex;flex-direction:column;transition:var(--n-transition)}
.nova-theme .n-post-card:hover{box-shadow:var(--n-shadow);transform:translateY(-2px)}
.nova-theme .n-post-thumb{aspect-ratio:16/10;background:var(--n-bg-alt) center/cover no-repeat;position:relative}
.nova-theme .n-post-thumb-fallback{display:flex;align-items:center;justify-content:center;color:var(--n-teal);font-size:1.8rem;background:linear-gradient(135deg,var(--n-teal-light),var(--n-violet-light))}
.nova-theme .n-post-body{padding:1.3rem;flex:1;display:flex;flex-direction:column}
.nova-theme .n-post-date{font-size:.74rem;color:var(--n-text-light);font-weight:600;text-transform:uppercase;letter-spacing:.04em;margin-bottom:.5rem}
.nova-theme .n-post-body h3{font-size:1rem;margin-bottom:.5rem}
.nova-theme .n-post-body p{font-size:.86rem;flex:1}
.nova-theme .n-post-link{font-size:.82rem;font-weight:700;color:var(--n-teal-dark);margin-top:.9rem;display:inline-flex;align-items:center;gap:.4rem}
.nova-theme .n-search-box{position:relative;max-width:420px}
.nova-theme .n-search-box input{padding-left:2.6rem}
.nova-theme .n-search-box i{position:absolute;left:.95rem;top:50%;transform:translateY(-50%);color:var(--n-text-light)}
.nova-theme .n-empty{padding:3rem 1rem;text-align:center;color:var(--n-text-light)}
.nova-theme .n-empty i{font-size:1.8rem;margin-bottom:.75rem;display:block;color:var(--n-border)}

/* ── CONTACT ── */
.nova-theme .n-contact-item{display:flex;gap:.9rem;align-items:flex-start;padding:1rem 0;border-bottom:1px solid rgba(255,255,255,.1)}
.nova-theme .n-contact-item:last-child{border-bottom:none}
.nova-theme .n-contact-item i{width:38px;height:38px;border-radius:10px;background:rgba(255,255,255,.08);display:flex;align-items:center;justify-content:center;color:var(--n-teal);flex-shrink:0}
.nova-theme .n-contact-item h3{font-size:.85rem;color:rgba(255,255,255,.55);margin-bottom:.25rem;font-family:'Inter',sans-serif;font-weight:600}
.nova-theme .n-contact-item p,.nova-theme .n-contact-item a{color:#fff;font-size:.92rem;font-weight:600}

/* ── FOOTER ── */
.nova-theme .n-footer{background:var(--n-navy);color:rgba(255,255,255,.65);padding:3.5rem 0 1.5rem}
.nova-theme .n-footer h6{color:#fff;font-size:.8rem;font-weight:700;letter-spacing:.05em;text-transform:uppercase;margin-bottom:1.1rem}
.nova-theme .n-footer-links{display:flex;flex-direction:column;gap:.65rem}
.nova-theme .n-footer-links a{font-size:.86rem;color:rgba(255,255,255,.65);transition:var(--n-transition)}
.nova-theme .n-footer-links a:hover{color:var(--n-teal)}
.nova-theme .n-footer-tagline{font-size:.87rem;margin:1rem 0 1.3rem;max-width:320px;color:rgba(255,255,255,.55)}
.nova-theme .n-footer-brand{display:inline-flex;align-items:center;gap:.7rem;margin-bottom:.25rem}
.nova-theme .n-footer-brand-name{color:#fff;font-family:'Space Grotesk',sans-serif;font-weight:700;font-size:1rem}
.nova-theme .n-social-row{display:flex;gap:.6rem;margin-top:.25rem}
.nova-theme .n-social-btn{width:36px;height:36px;border-radius:9px;background:rgba(255,255,255,.08);display:flex;align-items:center;justify-content:center;color:#fff;font-size:.85rem;transition:var(--n-transition)}
.nova-theme .n-social-btn:hover{background:var(--n-teal)}
.nova-theme .n-footer-bottom{border-top:1px solid rgba(255,255,255,.1);margin-top:2.5rem;padding-top:1.5rem;display:flex;flex-wrap:wrap;gap:1rem;justify-content:space-between;align-items:center;font-size:.78rem;color:rgba(255,255,255,.45)}
.nova-theme .n-footer-bottom a{color:rgba(255,255,255,.55)}
.nova-theme .n-footer-bottom a:hover{color:var(--n-teal)}

/* ── CTA BAND ── */
.nova-theme .n-cta-band{background:linear-gradient(120deg,var(--n-navy),#182752);color:#fff;border-radius:var(--n-radius-lg);padding:3rem;text-align:center;position:relative;overflow:hidden}
.nova-theme .n-cta-band::before{content:'';position:absolute;inset:0;background:radial-gradient(420px 240px at 80% 0%,rgba(15,158,151,.35),transparent 60%);pointer-events:none}
.nova-theme .n-cta-band h2{color:#fff;position:relative;z-index:1;margin-bottom:.85rem}
.nova-theme .n-cta-band p{color:rgba(255,255,255,.75);position:relative;z-index:1;max-width:560px;margin:0 auto 1.6rem}
.nova-theme .n-cta-band .n-hero-cta{justify-content:center;position:relative;z-index:1}

/* ── UTIL ── */
.nova-theme .n-loading-bar{position:fixed;top:0;left:0;height:3px;background:var(--n-teal);z-index:2000;transition:width .2s}
.nova-theme [wire\:loading]{transition:opacity .15s}

/* ── LINKS (linktree-style) PAGE ── */
.nova-theme .n-links-body{min-height:100vh;display:flex;align-items:flex-start;justify-content:center;background:var(--n-bg-alt);padding:3rem 1.25rem}
.nova-theme .n-links-shell{width:100%;max-width:440px}
.nova-theme .n-links-profile{background:var(--n-bg-card);border:1px solid var(--n-border);border-radius:var(--n-radius-lg);padding:2.25rem 1.75rem;text-align:center}
.nova-theme .n-links-logo{width:76px;height:76px;border-radius:18px;margin:0 auto;overflow:hidden;background:var(--n-navy)}
.nova-theme .n-links-logo img{width:100%;height:100%;object-fit:cover}
.nova-theme .n-links-name{font-size:1.15rem;margin:1rem 0 .4rem}
.nova-theme .n-links-intro{font-size:.88rem;margin-bottom:1.5rem}
.nova-theme .n-profile-link{display:flex;align-items:center;gap:.85rem;padding:.85rem 1rem;border:1.5px solid var(--n-border);border-radius:var(--n-radius-sm);margin-bottom:.75rem;transition:var(--n-transition)}
.nova-theme .n-profile-link:hover{border-color:var(--n-teal);background:var(--n-teal-light)}
.nova-theme .n-profile-link .link-icon{width:38px;height:38px;border-radius:9px;background:var(--n-bg-alt);color:var(--n-teal-dark);display:flex;align-items:center;justify-content:center;flex-shrink:0}
.nova-theme .n-profile-link strong{display:block;font-size:.9rem;color:var(--n-heading)}
.nova-theme .n-profile-link small{display:block;font-size:.75rem;color:var(--n-text-light)}
.nova-theme .n-profile-link .link-arrow{margin-left:auto;color:var(--n-text-light);font-size:.75rem}
.nova-theme .n-links-footer{display:flex;justify-content:center;gap:1.25rem;margin-top:1.5rem;font-size:.78rem}
.nova-theme .n-links-footer a{color:var(--n-text-light)}
.nova-theme .n-links-footer a:hover{color:var(--n-teal-dark)}
.nova-theme .n-links-empty{font-size:.88rem;color:var(--n-text-light)}
.nova-theme .n-links-copyright{text-align:center;margin-top:1rem;font-size:.72rem;color:var(--n-text-light)}

/* ── MARQUEE (scrolling capabilities strip) ── */
.nova-theme .n-marquee-band{background:var(--n-bg-alt);border-top:1px solid var(--n-border);border-bottom:1px solid var(--n-border);padding:1rem 0;overflow:hidden;position:relative}
.nova-theme .n-marquee-band::before,.nova-theme .n-marquee-band::after{content:'';position:absolute;top:0;bottom:0;width:80px;z-index:2;pointer-events:none}
.nova-theme .n-marquee-band::before{left:0;background:linear-gradient(90deg,var(--n-bg-alt),transparent)}
.nova-theme .n-marquee-band::after{right:0;background:linear-gradient(270deg,var(--n-bg-alt),transparent)}
.nova-theme .n-marquee-track{display:flex;width:max-content;animation:n-marquee-scroll 42s linear infinite}
.nova-theme .n-marquee-track:hover{animation-play-state:paused}
.nova-theme .n-marquee-group{display:flex;align-items:center;gap:1rem;padding:0 .5rem}
.nova-theme .n-marquee-item{display:inline-flex;align-items:center;gap:.55rem;font-size:.82rem;font-weight:600;color:var(--n-text-muted);white-space:nowrap;background:var(--n-bg-card);border:1px solid var(--n-border);padding:.5rem 1rem;border-radius:999px}
.nova-theme .n-marquee-item i{color:var(--n-teal-dark);font-size:.85rem}
.nova-theme .n-marquee-item:nth-child(3n+2) i{color:var(--n-violet-dark)}
@keyframes n-marquee-scroll{0%{transform:translateX(0)}100%{transform:translateX(-50%)}}
@media(max-width:575.98px){
  .nova-theme .n-marquee-band::before,.nova-theme .n-marquee-band::after{width:36px}
  .nova-theme .n-marquee-track{animation-duration:55s}
}

/* ── LIVE OPEN/CLOSED STATUS BADGE ── */
.nova-theme .n-live-badge{display:inline-flex;align-items:center;gap:.5rem;font-size:.8rem;font-weight:700;padding:.4rem .9rem;border-radius:999px;background:rgba(255,255,255,.08);color:#fff;border:1px solid rgba(255,255,255,.18)}
.nova-theme .n-live-badge.on-light{background:var(--n-teal-light);color:var(--n-teal-dark);border-color:#cdeeeb}
.nova-theme .n-live-dot{width:8px;height:8px;border-radius:50%;background:#9ca3af;flex-shrink:0}
.nova-theme .n-live-badge.open .n-live-dot{background:#22c55e;box-shadow:0 0 0 3px rgba(34,197,94,.25)}
.nova-theme .n-live-badge.closed .n-live-dot{background:#ef4444;box-shadow:0 0 0 3px rgba(239,68,68,.2)}
.nova-theme .n-wd-row{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.3rem 0}
.nova-theme .n-wd-day{font-size:.82rem;font-weight:600;color:rgba(255,255,255,.8)}
.nova-theme .n-wd-time{font-size:.82rem;font-weight:600;color:#fff}
.nova-theme .n-wd-closed{font-size:.78rem;font-weight:700;color:#f87171;background:rgba(239,68,68,.12);padding:.15rem .55rem;border-radius:999px}

/* ── LONG ITEM LISTS (training courses, capability lists) ── */
.nova-theme .n-item-columns{column-count:2;column-gap:1.5rem}
.nova-theme .n-item-columns li{break-inside:avoid;-webkit-column-break-inside:avoid;font-size:.86rem;color:var(--n-text-muted);display:flex;gap:.5rem;align-items:flex-start;padding:.3rem 0}
.nova-theme .n-item-columns li i{color:var(--n-teal);font-size:.65rem;margin-top:.45rem;flex-shrink:0}
@media(max-width:575.98px){.nova-theme .n-item-columns{column-count:1}}
.nova-theme .n-card-full{grid-column:1/-1}

/* ── MAP TYPE TOGGLE (street / satellite) ── */
.nova-theme .n-map-wrap{position:relative;border-radius:var(--n-radius-lg);overflow:hidden;border:1px solid var(--n-border)}
.nova-theme .n-map-controls{position:absolute;top:.75rem;left:.75rem;z-index:2;display:flex;background:var(--n-bg-card);border:1px solid var(--n-border);border-radius:999px;padding:.2rem;box-shadow:var(--n-shadow-sm)}
.nova-theme .n-map-btn{font-size:.76rem;font-weight:700;color:var(--n-text-muted);padding:.4rem .85rem;border-radius:999px;transition:var(--n-transition)}
.nova-theme .n-map-btn.active{background:var(--n-teal);color:#fff}
.nova-theme .n-map-actions{display:flex;gap:.5rem;flex-wrap:wrap;margin-top:.75rem}

/* ── GRID SYSTEM (self-contained — no Bootstrap dependency) ── */
/* Use directly: <div class="n-grid n-grid-3"> <card>...</card> <card>...</card> </div>
   Guarantees a real gap between items and can never overlap, regardless of
   whether any external CSS (e.g. Bootstrap) has loaded or not. */
.nova-theme .n-grid{display:grid;gap:1.5rem;align-items:stretch}
.nova-theme .n-grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.nova-theme .n-grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.nova-theme .n-grid-4{grid-template-columns:repeat(4,minmax(0,1fr))}
.nova-theme .n-grid-5{grid-template-columns:repeat(5,minmax(0,1fr))}
.nova-theme .n-grid-6{grid-template-columns:repeat(6,minmax(0,1fr))}
.nova-theme .n-grid-sm{gap:1rem}
.nova-theme .n-grid > *{min-width:0}
@media(max-width:991.98px){
  .nova-theme .n-grid-3,.nova-theme .n-grid-4,.nova-theme .n-grid-5,.nova-theme .n-grid-6{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:575.98px){
  .nova-theme .n-grid-2,.nova-theme .n-grid-3,.nova-theme .n-grid-4,.nova-theme .n-grid-5,.nova-theme .n-grid-6{grid-template-columns:minmax(0,1fr)}
}

/* ── RESPONSIVE ── */
@media(max-width:767.98px){
  .nova-theme .n-section{padding:3rem 0}
  .nova-theme .n-flow-step{flex:1 1 100%;border-right:none}
  .nova-theme .n-cta-band{padding:2.25rem 1.5rem}
}
