:root{
  --np-teal:#2bb3b1;
  --np-blue:#5c8dff;
  --np-orange:#f08a24;
  --np-ink:#0b1220;
  --np-muted:#667085;
  --np-bg:#f6f8fb;
  --np-border:rgba(17,24,39,.10);
  --np-shadow:0 10px 24px rgba(16,24,40,.08);
  --radius:18px;
  --radius-sm:12px;
  --max:1180px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color:#0f172a;
  background:#fff;
  line-height:1.55;
}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}

.container{max-width:var(--max);margin:0 auto;padding:0 20px}

.muted{color:var(--np-muted)}
.small{font-size:12px}

.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:10px;
  padding:11px 16px;border-radius:999px;border:1px solid rgba(255,255,255,.18);
  background:rgba(255,255,255,.10); color:#fff;
  font-weight:800;font-size:13px; cursor:pointer;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
  user-select:none;
}
.btn:hover{transform: translateY(-1px); background:rgba(255,255,255,.16)}
.btn.primary{background:linear-gradient(90deg, var(--np-teal), var(--np-blue)); border-color:transparent}
.btn.primary:hover{background:linear-gradient(90deg, #23a4a2, #4c7dff)}
.btn.dark{background:#0b1220;color:#fff;border-color:rgba(255,255,255,.12)}
.btn.outline{background:#fff;color:#0f172a;border-color:var(--np-border)}
.btn.outline:hover{background:#f3f5f9}

.pill{
  display:inline-flex;align-items:center;gap:8px;
  padding:6px 10px;border:1px solid rgba(255,255,255,.22);
  background:rgba(11,18,32,.45);backdrop-filter: blur(10px);
  color:#fff;border-radius:999px;font-size:12px;font-weight:800;
}
.pill.light{
  border:1px solid var(--np-border);
  background:#fff;color:#0f172a;
}

header.siteHeader{
  position:sticky; top:0; z-index:50;
  background:#fff; border-bottom:1px solid var(--np-border);
}
.headerInner{
  display:flex; align-items:center; justify-content:space-between;
  gap:12px; padding:10px 0;
}
.brand{
  display:flex; align-items:center; gap:10px;
}
.brand img{height:26px; width:auto}
.nav{
  display:flex; align-items:center; gap:8px;
  white-space:nowrap; flex-wrap:nowrap;
}
.nav a{
  font-size:12.5px; font-weight:800;
  padding:7px 8px; border-radius:999px;
  color:#0f172a;
}
.nav a:hover{background:#f3f6fb}
.nav a.active{background:#eef6ff; color:#0b3b79}

.headerRight{
  display:flex; align-items:center; gap:10px; white-space:nowrap;
}
.langSwitch{
  display:flex; align-items:center; gap:4px;
  padding:6px; background:#f4f6fb; border:1px solid var(--np-border);
  border-radius:999px;
}
.langSwitch a{
  font-size:12px; font-weight:900;
  padding:6px 8px; border-radius:999px;
}
.langSwitch a.active{background:#fff; box-shadow:0 2px 8px rgba(16,24,40,.10)}

.hero{
  position:relative;
  height: min(660px, calc(100vh - 64px));
  min-height:540px;
  overflow:hidden;
  background: #0b1220;
}
.hero video, .hero .heroPoster{
  position:absolute; inset:0;
  width:100%; height:100%;
  object-fit:cover;
}
.hero::after{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(90deg, rgba(11,18,32,.88) 0%, rgba(11,18,32,.55) 55%, rgba(11,18,32,.25) 100%);
}
.heroContent{
  position:relative; z-index:2;
  height:100%;
  display:flex; align-items:center;
  padding:0;
}
.heroGrid{
  display:grid; grid-template-columns: 1.12fr .88fr;
  gap:22px; align-items:center;
}
.hero h1{
  margin:10px 0 8px;
  color:#fff;
  font-size: clamp(30px, 4vw, 52px);
  line-height:1.06;
  letter-spacing:-0.02em;
}
.hero p{color:rgba(255,255,255,.82); margin:0 0 18px; max-width:60ch}
.heroKicker{color:rgba(255,255,255,.66); font-size:12px; font-weight:900; letter-spacing:.10em; text-transform:uppercase}
.heroRow{display:flex; flex-wrap:wrap; gap:10px; align-items:center}
.heroBadges{display:flex; flex-wrap:wrap; gap:8px; margin-top:14px}

.heroSearchWrap{
  background: rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.16);
  border-radius: var(--radius);
  padding:14px;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
}
.heroSearchTitle{color:#fff; font-weight:900; margin:0 0 10px}
.heroSearch{
  display:flex; gap:10px; align-items:center;
}
.heroSearch input{
  flex:1;
  padding:12px 14px;
  border-radius: 12px;
  border:1px solid rgba(255,255,255,.18);
  background: rgba(11,18,32,.55);
  color:#fff;
  outline:none;
}
.heroSearch input::placeholder{color:rgba(255,255,255,.65)}
.heroTabs{
  display:flex; flex-wrap:wrap; gap:10px;
  margin-top:0; margin-bottom:10px;
}
.heroTabs a{
  color:#fff; font-weight:900; font-size:12px;
  border-bottom:2px solid rgba(255,255,255,.35);
  padding-bottom:4px;
}
.heroTabs a:hover{border-bottom-color:#fff}

section{padding:64px 0}
.sectionAlt{background: var(--np-bg)}
.sectionTight{padding:44px 0}
.sectionTitle{
  text-align:center; margin-bottom:26px
}
.sectionTitle h2{margin:0; font-size:34px; letter-spacing:-.02em}
.sectionTitle p{margin:10px auto 0; max-width:88ch; color:var(--np-muted)}

.grid3{display:grid; grid-template-columns: repeat(3, 1fr); gap:16px}
.grid2{display:grid; grid-template-columns: repeat(2, 1fr); gap:18px}

/* Used by search.html results */
.gridCards{display:grid; grid-template-columns: repeat(2, 1fr); gap:16px}
@media (max-width: 720px){
  .gridCards{grid-template-columns:1fr}
}

.card{
  border:1px solid var(--np-border);
  border-radius: var(--radius);
  background:#fff;
  box-shadow: var(--np-shadow);
  padding:18px;
  /* search results use <a class="card"> ... */
  display:block;
  color:inherit;
  text-decoration:none;
}
.card h3{margin:0 0 8px}
.card p{margin:0;color:var(--np-muted)}
.cardIcon{
  width:42px; height:42px; border-radius:14px;
  display:grid; place-items:center;
  background: linear-gradient(135deg, rgba(43,179,177,.15), rgba(92,141,255,.15));
  border: 1px solid rgba(43,179,177,.25);
  margin-bottom:10px;
  font-weight:900;
}

.split{
  display:grid; grid-template-columns: 1.05fr .95fr; gap:22px; align-items:center;
}
.split.reverse{grid-template-columns: .95fr 1.05fr}
.mediaBox{
  border-radius: var(--radius);
  overflow:hidden;
  border:1px solid var(--np-border);
  box-shadow: var(--np-shadow);
  background:#0b1220;
}
.mediaBox img{width:100%; height:100%; object-fit:cover}

.checks{margin:12px 0 0; padding:0; list-style:none; display:grid; gap:10px}
.checks li{display:flex; gap:10px; align-items:flex-start; color:#111827}
.check{
  width:22px; height:22px; border-radius:999px;
  background: rgba(43,179,177,.18);
  border:1px solid rgba(43,179,177,.35);
  display:grid; place-items:center;
  flex:0 0 auto;
  margin-top:2px;
  font-weight:900;
  color: var(--np-teal);
}

.kpiRow{display:flex; flex-wrap:wrap; gap:14px; justify-content:center; margin-top:22px}
.kpi{
  display:flex; gap:10px; align-items:center;
  padding:12px 14px;
  border:1px solid var(--np-border);
  border-radius:999px;
  background:#fff;
}
.kpi strong{font-size:14px}
.kpi span{font-size:12px; color:var(--np-muted)}

.cta{
  padding:22px;
  border-radius: calc(var(--radius) + 8px);
  background: linear-gradient(135deg, rgba(43,179,177,.15), rgba(92,141,255,.12));
  border:1px solid rgba(43,179,177,.25);
  display:flex; align-items:center; justify-content:space-between;
  gap:18px; flex-wrap:wrap;
}
.cta h3{margin:0 0 6px}
.cta p{margin:0; color:var(--np-muted); max-width:90ch}

footer{
  background: linear-gradient(180deg, #0b5fa8 0%, #083b66 100%);
  color:#eaf3ff;
  padding:34px 0;
  margin-top:10px;
}
.footerInner{display:flex; align-items:center; justify-content:space-between; gap:18px; flex-wrap:wrap}
.footerLinks{display:flex; gap:14px; flex-wrap:wrap}
.footerLinks a{color:#eaf3ff; font-weight:900; font-size:12.5px; opacity:.95}
.footerLinks a:hover{opacity:1}
.social{display:flex; gap:10px}
.social a{
  width:36px;height:36px;border-radius:999px;
  display:grid; place-items:center;
  background: rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.18);
}

#toTop{
  position:fixed;
  right:18px; bottom:18px;
  width:52px; height:52px;
  border-radius:999px;
  border:none;
  background: transparent;
  cursor:pointer;
  z-index:99;
  opacity:0;
  transform: translateY(10px);
  transition: opacity .18s ease, transform .18s ease;
}
#toTop.show{opacity:1; transform: translateY(0)}
#toTop .inner{
  position: relative;
  z-index: 1;
}

#toTop svg{
  position: absolute;
  inset: 0;
  transform: rotate(-90deg);
  transform-origin: 50% 50%;
  pointer-events: none;
  z-index: 2;          /* IMPORTANT */
}

#toTop circle{
  fill: none;
  stroke-linecap: round; /* arată mai bine la capete */
}

#toTop .arrow{
  color:#000;
  font-weight:900;
  font-size:18px;
  line-height:1;
}

.form{display:grid; gap:12px}
.inputRow{display:grid; grid-template-columns: 1fr 1fr; gap:12px}
.field label{font-weight:900; font-size:12px; color:#0f172a; display:block; margin:0 0 6px}
.field input, .field textarea{
  width:100%;
  padding:12px 12px;
  border-radius: 12px;
  border:1px solid var(--np-border);
  background:#fff;
  outline:none;
}
.field textarea{min-height:120px; resize:vertical}
.notice{font-size:12px; color:var(--np-muted)}
.mapBox iframe{width:100%; height:340px; border:0}

@media (max-width: 1050px){
  .heroGrid{grid-template-columns:1fr}
  .grid3{grid-template-columns:1fr}
  .grid2{grid-template-columns:1fr}
  .split, .split.reverse{grid-template-columns:1fr}
}
@media (max-width: 720px){
  .nav{display:none}
  .brand img{height:24px}
}


/* Mobile navigation drawer */
.navToggle{
  display:none;
  width:42px;height:42px;
  border-radius:999px;
  border:1px solid var(--np-border);
  background:#fff;
  box-shadow:0 6px 16px rgba(16,24,40,.08);
  /* stack the 3 bars vertically */
  align-items:center;
  justify-content:center;
  flex-direction:column;
  gap:4px;
  padding:0;
}
.navToggle span{
  display:block;
  width:18px;
  height:2px;
  background:var(--np-ink);
  border-radius:2px;
  transition: transform .18s ease, opacity .18s ease;
}

/* Turn hamburger into an "X" when menu is open */
.navToggle[aria-expanded="true"] span:nth-child(1){
  transform: translateY(6px) rotate(45deg);
}
.navToggle[aria-expanded="true"] span:nth-child(2){
  opacity:0;
}
.navToggle[aria-expanded="true"] span:nth-child(3){
  transform: translateY(-6px) rotate(-45deg);
}

.navDrawer{position:fixed; inset:0; z-index:9999;}
.navDrawerBackdrop{
  position:absolute; inset:0;
  background:rgba(11,18,32,.45);
  backdrop-filter: blur(4px);
}
.navDrawerPanel{
  position:absolute; right:0; top:0; bottom:0;
  width:min(360px, 92vw);
  background:#fff;
  box-shadow: -12px 0 34px rgba(16,24,40,.18);
  padding:16px;
  display:flex;
  flex-direction:column;
  gap:14px;
}
.navDrawerTop{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding-bottom:8px;
  border-bottom:1px solid var(--np-border);
}
.navDrawerTop .brand img{height:24px}
.navDrawerClose{
  width:38px;height:38px;
  border-radius:999px;
  border:1px solid var(--np-border);
  background:#fff;
  font-size:22px;
  line-height:1;
  cursor:pointer;
}
.navDrawerNav{
  display:flex;
  flex-direction:column;
  gap:10px;
  padding:8px 0;
}
.navDrawerNav a{
  padding:10px 12px;
  border-radius:12px;
  color:var(--np-ink);
  text-decoration:none;
  font-weight:600;
}
.navDrawerNav a.active, .navDrawerNav a:hover{
  background:rgba(43,179,177,.10);
}
.navDrawerBottom{
  margin-top:auto;
  display:flex;
  flex-direction:column;
  gap:12px;
  padding-top:12px;
  border-top:1px solid var(--np-border);
}
.drawerLang{
  justify-content:flex-start;
}
.drawerCta{
  width:100%;
  justify-content:center;
}

@media (max-width: 720px){
  .navToggle{display:inline-flex}
  .headerRight{display:none}
}

/* === Accessibility widget === */
:root{
  --a11y-bg: #f4efff;
  --a11y-card: #efe8ff;
  --a11y-primary: #6b2cff;
  --a11y-shadow: 0 20px 40px rgba(0,0,0,.15);
}

.a11y-fab{
  position: fixed;
  right: 86px;
  bottom: 18px;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: var(--a11y-primary);
  color: #fff;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  z-index: 9999;
  box-shadow: var(--a11y-shadow);
  user-select:none;
}
.a11y-fab:focus{ outline: 3px solid rgba(107,44,255,.35); outline-offset: 3px; }
.a11y-fab .a11y-icon{ font-size: 26px; }

.a11y-panel{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.25);
  display:none;
  z-index: 9998;
}
.a11y-panel.open{ display:block; }

.a11y-card{
  position: absolute;
  right: 18px;
  bottom: 86px;
  width: min(520px, calc(100vw - 36px));
  background: var(--a11y-bg);
  border-radius: 18px;
  box-shadow: var(--a11y-shadow);
  padding: 18px;
}

.a11y-header{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.a11y-title{ font-size: 22px; font-weight: 700; color:#2a2a2a; }
.a11y-sub{ font-size: 14px; opacity:.75; margin-top:4px; }

.a11y-actions{ display:flex; gap:10px; }
.a11y-btn{
  border: 0;
  border-radius: 12px;
  padding: 10px 14px;
  cursor:pointer;
  font: inherit;
}
.a11y-btn-ghost{ background: #e6dcff; }
.a11y-btn-primary{ background: var(--a11y-primary); color:#fff; width:44px; }

.a11y-section{
  background: var(--a11y-card);
  border-radius: 16px;
  padding: 14px;
  margin-top: 12px;
}
.a11y-section-title{
  font-weight: 700;
  margin-bottom: 10px;
}

.a11y-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  padding: 10px 0;
}
.a11y-label{ opacity:.85; }

.a11y-controls{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content:flex-end;
}

.a11y-pill{
  border: 1px solid rgba(0,0,0,.08);
  background: #fff;
  border-radius: 12px;
  padding: 10px 12px;
  cursor:pointer;
  font: inherit;
}
.a11y-pill.active{
  background: var(--a11y-primary);
  color: #fff;
  border-color: transparent;
}

/* ===== Actual changes applied to site ===== */
html[data-a11y="on"]{
  font-size: var(--a11y-font-scale, 100%);
}
body{
  line-height: var(--a11y-line-height, normal);
  letter-spacing: var(--a11y-letter-spacing, normal);
  font-family: var(--a11y-font-family, inherit);
}

/* High contrast */
html[data-contrast="high"]{
  filter: contrast(1.2);
}
/* Invert */
html[data-contrast="invert"]{
  filter: invert(1) hue-rotate(180deg);
}
/* Headings highlight */
html[data-headings="on"] h1,
html[data-headings="on"] h2,
html[data-headings="on"] h3{
  outline: 3px solid rgba(107,44,255,.35);
  border-radius: 8px;
  padding: 2px 6px;
}
/* Links highlight */
html[data-links="on"] a{
  text-decoration: underline !important;
  text-decoration-thickness: 3px !important;
  text-underline-offset: 3px !important;
}


/* ===== Assistant + Cookie FAB positioning ===== */

.assistant-fab{
  position: fixed;
  right: 154px;
  bottom: 18px;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: #0b77d5;
  color: #fff;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  z-index: 9999;
  box-shadow: 0 20px 40px rgba(0,0,0,.15);
  user-select:none;
  border: none;
  font-size: 22px;
}

.assistant-panel{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.25);
  display:none;
  z-index: 9998;
}
.assistant-panel.open{ display:block; }

.assistant-card{
  position: absolute;
  right: 18px;
  bottom: 86px;
  width: min(380px, calc(100vw - 36px));
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 20px 40px rgba(0,0,0,.15);
  padding: 14px;
}
.assistant-header{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.assistant-title{ font-size: 16px; font-weight: 800; }
.assistant-sub{ font-size: 12px; opacity:.7; margin-top: 2px; }
.assistant-close{
  border:0;
  background:#f2f2f2;
  border-radius: 10px;
  width: 34px;
  height: 34px;
  cursor:pointer;
  font-weight: 700;
}
.assistant-bubble{
  background: #0b77d5;
  color:#fff;
  border-radius: 14px;
  padding: 10px 12px;
  font-size: 13px;
  line-height: 1.35;
  margin-bottom: 10px;
}
.assistant-qa-title{ font-weight: 800; font-size: 13px; margin: 8px 0 6px; }
.assistant-q{
  width: 100%;
  text-align: left;
  border: 1px solid rgba(0,0,0,.08);
  background:#f7f7ff;
  border-radius: 12px;
  padding: 10px 12px;
  cursor:pointer;
  font-size: 13px;
  margin-bottom: 8px;
}
.assistant-answer{
  border: 1px solid rgba(0,0,0,.08);
  background:#fff;
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 13px;
  line-height: 1.45;
  display:none;
}
.assistant-answer.show{ display:block; }

/* Cookie settings small button (bottom-left) */
.cookie-fab{
  position: fixed;
  left: 18px;
  bottom: 18px;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid rgba(0,0,0,.1);
  box-shadow: 0 20px 40px rgba(0,0,0,.12);
  cursor:pointer;
  z-index: 9999;
  font-size: 22px;
  display:flex;
  align-items:center;
  justify-content:center;
  user-select:none;
}

/* Make sure the 3 FABs don't overlap on small screens */
@media (max-width: 420px){
  .assistant-fab{ right: 146px; }
  .a11y-fab{ right: 82px; }
  #toTop{ right: 18px; }
}

/* ===== Assistant UI refinements (NetPrime-style) ===== */
.assistant-card{ padding: 16px; }
.assistant-close{
  border-radius: 999px;
  width: 36px;
  height: 36px;
}
.assistant-qa-list{
  max-height: 220px;
  overflow: auto;
  padding-right: 4px;
}
.assistant-q{
  border-radius: 999px;
  background: #eef3ff;
}
.assistant-footer{
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(0,0,0,.08);
}
.assistant-noanswer{
  color: #0b77d5;
  text-decoration: underline;
  font-size: 13px;
}

/* Cookie FAB: avoid blocking alerts; keep subtle */
.cookie-fab{ font-size: 20px; }
