/* ==========================================================================
   NLP Business Coaching — 2026 redesign layer
   Corporate modern / bold. Loaded after legacy styles.
   ========================================================================== */

:root {
  --nx-ink: #14344F;
  --nx-ink-2: #1C4467;
  --nx-ink-3: #27598A;
  --nx-brand: #1FA3E0;
  --nx-brand-600: #0B86C2;
  --nx-brand-300: #7ED0F4;
  --nx-brand-50: #EAF6FC;
  --nx-accent: #2563EB;
  --nx-accent-600: #1D4ED8;
  --nx-paper: #F4F6F9;
  --nx-line: #E2E7EE;
  --nx-text: #16202D;
  --nx-muted: #5A6A7E;
  --nx-white: #fff;

  --nx-font-display: 'Onest', 'Hanken Grotesk', system-ui, sans-serif;
  --nx-font-body: 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --nx-r-sm: 10px;
  --nx-r: 18px;
  --nx-r-lg: 28px;
  --nx-shadow: 0 1px 2px rgba(8, 20, 35, .06), 0 12px 32px -12px rgba(8, 20, 35, .18);
  --nx-shadow-lg: 0 30px 60px -24px rgba(8, 20, 35, .35);
  --nx-ease: cubic-bezier(.2, .8, .2, 1);
  --nx-header-h: 84px;
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }
body {
  font-family: var(--nx-font-body) !important;
  color: var(--nx-text);
  background: #fff;
  font-size: 16.5px;
  line-height: 1.65;
  letter-spacing: -0.005em;
}
body h1, body h2, body h3, body h4 {
  font-family: var(--nx-font-display);
  letter-spacing: -0.02em;
  color: inherit;
}
::selection { background: var(--nx-brand); color: #fff; }
a { color: var(--nx-brand-600); }
a:hover { color: var(--nx-accent-600); }
:focus-visible { outline: 3px solid var(--nx-brand-300); outline-offset: 3px; border-radius: 6px; }

.nx-container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.nx-ic { flex: none; display: inline-block; vertical-align: middle; }
.nx-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Buttons ---------- */
.nx-btn {
  display: inline-flex; align-items: center; gap: .6em;
  font-family: var(--nx-font-body); font-weight: 700; font-size: 15px; line-height: 1;
  padding: 16px 24px; border-radius: 999px; border: 1.5px solid transparent;
  text-decoration: none !important; cursor: pointer; white-space: nowrap;
  transition: transform .35s var(--nx-ease), background .25s, color .25s, border-color .25s, box-shadow .35s;
}
.nx-btn .nx-ic { width: 18px; height: 18px; transition: transform .35s var(--nx-ease); }
.nx-btn:hover .nx-ic { transform: translateX(4px); }
.nx-btn--primary { background: var(--nx-accent); color: #fff !important; box-shadow: 0 10px 24px -10px rgba(37, 99, 235, .55); }
.nx-btn--primary:hover { background: var(--nx-accent-600); transform: translateY(-2px); }
.nx-btn--brand { background: var(--nx-brand); color: #fff !important; }
.nx-btn--brand:hover { background: var(--nx-brand-600); transform: translateY(-2px); }
.nx-btn--ghost { border-color: rgba(255, 255, 255, .28); color: #fff !important; background: rgba(255, 255, 255, .04); backdrop-filter: blur(6px); }
.nx-btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .1); }
.nx-btn--dark { background: var(--nx-ink); color: #fff !important; }
.nx-btn--dark:hover { background: var(--nx-ink-3); transform: translateY(-2px); }
.nx-btn--sm { padding: 12px 18px; font-size: 14px; }

.nx-link {
  display: inline-flex; align-items: center; gap: .5em; font-weight: 700; color: var(--nx-ink) !important;
  text-decoration: none !important; border-bottom: 2px solid var(--nx-brand); padding-bottom: 4px;
}
.nx-link .nx-ic { width: 18px; transition: transform .35s var(--nx-ease); }
.nx-link:hover .nx-ic { transform: translateX(4px); }

/* ---------- Typographic helpers ---------- */
.nx-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--nx-font-body); font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--nx-brand-600); margin: 0 0 18px;
}
.nx-eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.nx-eyebrow--light { color: var(--nx-brand-300); }
.nx-h2 {
  font-family: var(--nx-font-display); font-weight: 700;
  font-size: clamp(34px, 4.4vw, 56px); line-height: 1.02; letter-spacing: -0.035em;
  margin: 0 0 22px; color: var(--nx-ink); text-transform: none;
}
.nx-h2 em { font-style: normal; color: var(--nx-brand); }
.nx-lead { font-size: 18px; color: var(--nx-muted); max-width: 60ch; }

.nx-section { padding: clamp(80px, 10vw, 140px) 0; position: relative; }
.nx-section--paper { background: var(--nx-paper); }
.nx-section--dark { background: var(--nx-ink); color: #cfd9e6; }
.nx-section--dark .nx-h2 { color: #fff; }
.nx-section-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 56px; flex-wrap: wrap; }
.nx-section-head .nx-h2 { margin: 0; max-width: 16ch; }

/* ==========================================================================
   HEADER
   ========================================================================== */
.nx-header {
  position: fixed; inset: 0 0 auto 0; z-index: 1000;
  height: var(--nx-header-h);
  display: flex; align-items: center;
  transition: background .35s, box-shadow .35s, height .35s var(--nx-ease), border-color .35s;
  border-bottom: 1px solid transparent;
  background: transparent; padding: 0; margin: 0;
}
.admin-bar .nx-header { top: 32px; }
.nx-header.is-scrolled {
  background: rgba(20, 52, 79, .86); backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom-color: rgba(255, 255, 255, .08); --nx-header-h: 70px;
}
.nx-header .nx-container { display: flex; align-items: center; gap: 28px; max-width: 1400px; }
.nx-logo {
  display: inline-flex; align-items: center; background: #fff; border-radius: 14px;
  padding: 6px 12px; height: 52px; flex: none; transition: height .35s var(--nx-ease);
  box-shadow: 0 6px 20px -8px rgba(0, 0, 0, .4);
}
.nx-header.is-scrolled .nx-logo { height: 46px; }
.nx-logo img { height: 100%; width: auto; display: block; }

.nx-nav { margin-left: auto; }
.nx-menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; align-items: center; }
.nx-menu > li { position: relative; list-style: none; margin: 0; padding: 0; }
.nx-menu > li > a {
  display: block; padding: 10px 13px; border-radius: 999px;
  color: rgba(255, 255, 255, .84) !important; font-size: 14.5px; font-weight: 600; text-decoration: none !important;
  text-transform: none; letter-spacing: 0; transition: background .2s, color .2s;
}
.nx-menu > li > a:hover { background: rgba(255, 255, 255, .1); color: #fff !important; }
.nx-menu .sub-menu {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 240px; list-style: none; margin: 0; padding: 8px;
  background: #fff; border-radius: 16px; box-shadow: var(--nx-shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: .25s var(--nx-ease);
}
.nx-menu li:hover > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.nx-menu .sub-menu a { display: block; padding: 10px 14px; border-radius: 10px; color: var(--nx-text) !important; font-size: 14.5px; font-weight: 600; text-decoration: none !important; }
.nx-menu .sub-menu a:hover { background: var(--nx-brand-50); color: var(--nx-brand-600) !important; }

.nx-actions { display: flex; align-items: center; gap: 8px; flex: none; }
.nx-iconbtn {
  width: 44px; height: 44px; border-radius: 999px; display: inline-grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, .2); color: #fff; background: rgba(255, 255, 255, .04); cursor: pointer; padding: 0;
  transition: background .2s, border-color .2s;
}
.nx-iconbtn:hover { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .5); }

.nx-menu > li.menu-item-home { display: none; }
@media (max-width: 1440px) { .nx-menu > li > a { padding: 10px 10px; font-size: 14px; } .nx-header .nx-container { gap: 18px; } }
@media (max-width: 1300px) {
  .nx-nav { display: none; }
  .nx-actions { margin-left: auto; }
}
@media (max-width: 600px) {
  .nx-actions .nx-btn { display: none; }
  .nx-logo { height: 46px; }
}

/* Drawer (full-screen menu) */
.nx-drawer {
  position: fixed; inset: 0; z-index: 1100; background: var(--nx-ink); color: #fff;
  display: grid; grid-template-columns: 1.3fr 1fr; overflow-y: auto;
  clip-path: circle(0% at calc(100% - 60px) 42px); visibility: hidden;
  transition: clip-path .7s var(--nx-ease), visibility 0s .7s;
}
.nx-drawer.is-open { clip-path: circle(150% at calc(100% - 60px) 42px); visibility: visible; transition: clip-path .7s var(--nx-ease); }
.nx-drawer__close { position: absolute; top: 20px; right: 24px; }
.nx-drawer__main { padding: 110px 6vw 60px; }
.nx-drawer__side { padding: 110px 5vw 60px; background: var(--nx-ink-2); display: flex; flex-direction: column; gap: 28px; }
.nx-drawer .menu, .nx-drawer ul { list-style: none; margin: 0; padding: 0; }
.nx-drawer__main ul { columns: 2; column-gap: 40px; }
.nx-drawer__main li { break-inside: avoid; margin: 0; }
.nx-drawer__main a {
  display: block; padding: 9px 0; color: rgba(255, 255, 255, .8) !important; font-family: var(--nx-font-display);
  font-size: clamp(18px, 1.7vw, 24px); font-weight: 600; letter-spacing: -0.02em; text-decoration: none !important;
  border-bottom: 1px solid rgba(255, 255, 255, .06); transition: color .2s, padding .3s var(--nx-ease);
}
.nx-drawer__main a:hover { color: var(--nx-brand-300) !important; padding-left: 8px; }
.nx-drawer__main .sub-menu a { font-size: 16px; font-family: var(--nx-font-body); padding-left: 14px; }
.nx-drawer__label { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--nx-brand-300); margin: 0 0 10px; }
.nx-drawer__side a { color: #fff !important; text-decoration: none !important; }
.nx-drawer__contact li { display: flex; gap: 12px; align-items: center; padding: 8px 0; color: #c6d3e2; }
.nx-drawer__contact .nx-ic { color: var(--nx-brand-300); }
.nx-drawer__mobile-nav { display: none; }
@media (max-width: 1300px) { .nx-drawer__mobile-nav { display: block; margin-bottom: 30px; } }
@media (max-width: 860px) {
  .nx-drawer { grid-template-columns: 1fr; }
  .nx-drawer__main ul { columns: 1; }
  .nx-drawer__main { padding-top: 90px; }
  .nx-drawer__side { padding-top: 40px; }
  .nx-drawer__extra { display: none; }
  .nx-drawer__mobile-nav { margin-bottom: 0; }
}
body.nx-lock { overflow: hidden; }

/* Search overlay */
.nx-search {
  position: fixed; inset: 0; z-index: 1100; background: rgba(20, 52, 79, .94); backdrop-filter: blur(10px);
  display: grid; place-items: center; opacity: 0; visibility: hidden; transition: .3s;
}
.nx-search.is-open { opacity: 1; visibility: visible; }
.nx-search__close { position: absolute; top: 20px; right: 24px; }
.nx-search form { width: min(760px, 90vw); display: flex; gap: 10px; border-bottom: 2px solid rgba(255, 255, 255, .3); padding-bottom: 12px; }
.nx-search input[type="search"], .nx-search input[type="text"] {
  flex: 1; background: transparent !important; border: 0 !important; color: #fff !important; box-shadow: none !important;
  font-family: var(--nx-font-display); font-size: clamp(26px, 4vw, 44px); letter-spacing: -0.02em; outline: 0; padding: 0;
}
.nx-search button, .nx-search input[type="submit"] { background: var(--nx-accent); color: #fff; border: 0; border-radius: 999px; padding: 0 24px; font-weight: 700; cursor: pointer; }

/* ==========================================================================
   HERO (home)
   ========================================================================== */
.nx-hero {
  position: relative; overflow: hidden; background: var(--nx-ink); color: #fff;
  min-height: min(100svh, 920px); display: flex; align-items: center;
  padding: calc(var(--nx-header-h) + 60px) 0 90px;
  isolation: isolate;
}
.nx-hero::before { /* mesh */
  content: ""; position: absolute; inset: -20%; z-index: -2;
  background:
    radial-gradient(40% 50% at 78% 30%, rgba(31, 163, 224, .55), transparent 70%),
    radial-gradient(30% 40% at 95% 85%, rgba(37, 99, 235, .45), transparent 70%),
    radial-gradient(45% 55% at 10% 100%, rgba(39, 89, 138, .85), transparent 70%);
  animation: nx-drift 18s ease-in-out infinite alternate;
}
.nx-hero::after { /* grid */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(70% 70% at 60% 40%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(70% 70% at 60% 40%, #000 30%, transparent 80%);
}
@keyframes nx-drift { to { transform: translate3d(-4%, 3%, 0) scale(1.08); } }

.nx-hero__grid { display: grid; grid-template-columns: 1.25fr .9fr; gap: 64px; align-items: center; }
.nx-hero__tag {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 999px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); font-size: 14px; font-weight: 600; color: #d8e4f0;
  margin-bottom: 28px;
}
.nx-hero__tag b { background: var(--nx-brand); color: #fff; font-size: 12px; padding: 5px 10px; border-radius: 999px; letter-spacing: .04em; }
.nx-hero h1 {
  font-family: var(--nx-font-display); font-weight: 800; color: #fff; text-transform: none;
  font-size: clamp(44px, 6.6vw, 96px); line-height: .96; letter-spacing: -0.045em; margin: 0 0 28px;
}
.nx-hero h1 .nx-hl { color: transparent; background: linear-gradient(100deg, var(--nx-brand-300), var(--nx-brand) 45%, var(--nx-accent)); -webkit-background-clip: text; background-clip: text; }
.nx-hero__sub { font-size: clamp(17px, 1.4vw, 20px); color: #b5c4d6; max-width: 52ch; margin: 0 0 40px; }
.nx-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }

.nx-hero__proof { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 56px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .1); }
.nx-hero__proof div { display: flex; align-items: center; gap: 12px; font-size: 14.5px; color: #c6d3e2; font-weight: 600; }
.nx-hero__proof .nx-ic { width: 38px; height: 38px; padding: 9px; border-radius: 12px; background: rgba(31, 163, 224, .16); color: var(--nx-brand-300); }

.nx-hero__visual { position: relative; aspect-ratio: 1; max-width: 520px; justify-self: end; width: 100%; }
.nx-hero__orb {
  position: absolute; inset: 8%; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, .18), rgba(255, 255, 255, .02) 60%);
  border: 1px solid rgba(255, 255, 255, .14);
  display: grid; place-items: center; backdrop-filter: blur(4px);
  box-shadow: inset 0 0 80px rgba(31, 163, 224, .25), 0 40px 120px -30px rgba(31, 163, 224, .6);
}
.nx-hero__orb img { width: 46%; filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .35)); animation: nx-float 7s ease-in-out infinite; }
.nx-hero__ring { position: absolute; inset: 0; border-radius: 50%; border: 1px dashed rgba(255, 255, 255, .16); animation: nx-spin 60s linear infinite; }
.nx-hero__ring::after { content: ""; position: absolute; top: 12%; left: 12%; width: 14px; height: 14px; border-radius: 50%; background: var(--nx-accent); box-shadow: 0 0 20px var(--nx-accent); }
@keyframes nx-spin { to { transform: rotate(360deg); } }
@keyframes nx-float { 50% { transform: translateY(-12px); } }

.nx-float-card {
  position: absolute; display: flex; gap: 14px; align-items: center; padding: 14px 18px 14px 14px;
  background: rgba(255, 255, 255, .96); color: var(--nx-ink); border-radius: 18px; box-shadow: var(--nx-shadow-lg);
  text-decoration: none !important; transition: transform .4s var(--nx-ease);
}
.nx-float-card:hover { transform: translateY(-4px); color: var(--nx-ink); }
.nx-float-card .nx-ic { width: 44px; height: 44px; padding: 11px; border-radius: 12px; background: var(--nx-brand); color: #fff; }
.nx-float-card small { display: block; font-size: 12px; color: var(--nx-muted); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.nx-float-card strong { display: block; font-family: var(--nx-font-display); font-size: 17px; line-height: 1.2; letter-spacing: -0.01em; }
.nx-float-card--a { left: -6%; bottom: 14%; }
.nx-float-card--b { right: -2%; top: 8%; }
.nx-float-card--b .nx-ic { background: var(--nx-accent); }

.nx-scroll-cue { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid rgba(255, 255, 255, .3); border-radius: 20px; }
.nx-scroll-cue::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; background: #fff; border-radius: 4px; animation: nx-cue 1.8s infinite; }
@keyframes nx-cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

@media (max-width: 991px) {
  .nx-hero__grid { grid-template-columns: 1fr; }
  .nx-hero__visual { max-width: 380px; justify-self: center; margin-top: 20px; }
  .nx-scroll-cue { display: none; }
}
@media (max-width: 560px) {
  .nx-float-card--a { left: 0; }
  .nx-float-card--b { right: 0; }
  .nx-float-card strong { font-size: 15px; }
}

/* ==========================================================================
   PAGE HERO (inner pages)
   ========================================================================== */
.nx-pagehero {
  position: relative; overflow: hidden; background: var(--nx-ink) center/cover no-repeat; color: #fff; isolation: isolate;
  padding: calc(var(--nx-header-h) + 90px) 0 90px;
}
.nx-pagehero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(20, 52, 79, .94) 20%, rgba(20, 52, 79, .72) 60%, rgba(31, 163, 224, .45)); }
.nx-pagehero h1 { font-family: var(--nx-font-display); font-weight: 800; color: #fff; font-size: clamp(38px, 5.4vw, 76px); line-height: 1; letter-spacing: -0.04em; margin: 0; max-width: 18ch; text-transform: none; }
.nx-crumbs { display: flex; gap: 10px; align-items: center; font-size: 14px; color: #9fb2c7; margin-bottom: 20px; font-weight: 600; }
.nx-crumbs a { color: #fff !important; text-decoration: none !important; }

/* ==========================================================================
   HOME — ABOUT
   ========================================================================== */
.nx-about { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.nx-about__media { position: relative; }
.nx-about__media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--nx-r-lg); display: block; box-shadow: var(--nx-shadow-lg); }
.nx-about__media::before { content: ""; position: absolute; inset: auto -18px -18px auto; width: 60%; height: 60%; border-radius: var(--nx-r-lg); background: var(--nx-brand); z-index: -1; }
.nx-about__badge {
  position: absolute; left: -24px; top: 32px; background: var(--nx-ink); color: #fff; padding: 20px 22px; border-radius: 18px; box-shadow: var(--nx-shadow-lg);
  font-family: var(--nx-font-display); font-weight: 700; font-size: 17px; line-height: 1.2; max-width: 190px;
}
.nx-about__badge span { display: block; font-family: var(--nx-font-body); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--nx-brand-300); margin-bottom: 6px; }
.nx-about__text .nx-rich { font-size: 18px; color: var(--nx-muted); }
.nx-about__text .nx-rich strong { color: var(--nx-ink); }
.nx-about__text .nx-btn { margin-top: 18px; }
@media (max-width: 991px) {
  .nx-about { grid-template-columns: 1fr; }
  .nx-about__media { max-width: 520px; }
  .nx-about__badge { left: 16px; }
}

/* ==========================================================================
   HOME — BENTO (servicii)
   ========================================================================== */
.nx-bento { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 20px; }
.nx-tile {
  position: relative; border-radius: var(--nx-r-lg); padding: 40px; overflow: hidden; min-height: 400px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 28px;
  transition: transform .5s var(--nx-ease), box-shadow .5s;
}
.nx-tile:hover { transform: translateY(-6px); box-shadow: var(--nx-shadow-lg); }
.nx-tile h3 { font-family: var(--nx-font-display); font-weight: 700; font-size: clamp(26px, 2.4vw, 34px); line-height: 1.05; letter-spacing: -0.03em; margin: 0 0 20px; text-transform: none; color: inherit; }
.nx-tile__num { font-family: var(--nx-font-display); font-size: 14px; font-weight: 700; opacity: .6; margin-bottom: 28px; display: block; }
.nx-tile__quote p { margin: 0; font-size: 17px; line-height: 1.55; text-align: left !important; }
.nx-tile__quote p em { font-style: normal; }
.nx-tile__quote p strong { display: block; margin-top: 14px; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; }
.nx-tile__quote::before { content: "\201C"; font-family: var(--nx-font-display); font-size: 84px; line-height: .6; display: block; height: 36px; opacity: .35; }

.nx-tile--dark { background: var(--nx-ink); color: #cfd9e6; }
.nx-tile--dark h3 { color: #fff; }
.nx-tile--dark::after { content: ""; position: absolute; width: 380px; height: 380px; right: -140px; top: -140px; border-radius: 50%; background: radial-gradient(circle, rgba(31, 163, 224, .55), transparent 65%); pointer-events: none; }
.nx-tile--brand { background: var(--nx-brand); color: #eaf6fc; }
.nx-tile--brand h3 { color: #fff; }
.nx-tile--brand .nx-btn--ghost { border-color: rgba(255, 255, 255, .5); }
.nx-tile--image { color: #fff; text-decoration: none !important; justify-content: flex-end; background: var(--nx-ink) center/cover no-repeat; }
.nx-tile--image::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 20, 35, .05) 20%, rgba(8, 20, 35, .92)); transition: background .4s; }
.nx-tile--image:hover::before { background: linear-gradient(180deg, rgba(8, 20, 35, .2) 0%, rgba(8, 20, 35, .95)); }
.nx-tile--image > * { position: relative; }
.nx-tile--image h3 { color: #fff; margin: 0; }
.nx-tile--image .nx-chip { align-self: flex-start; }
.nx-tile--image .nx-go { width: 56px; height: 56px; border-radius: 50%; background: var(--nx-accent); color: #fff; display: grid; place-items: center; position: absolute; top: 28px; right: 28px; transition: transform .4s var(--nx-ease); }
.nx-tile--image:hover .nx-go { transform: rotate(-45deg); }

.nx-chip { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 7px 12px; border-radius: 999px; background: rgba(255, 255, 255, .14); color: #fff; backdrop-filter: blur(6px); }
.nx-chip--brand { background: var(--nx-brand-50); color: var(--nx-brand-600); }

@media (max-width: 991px) {
  .nx-bento { grid-template-columns: 1fr 1fr; }
  .nx-tile--image { grid-column: 1 / -1; min-height: 320px; }
}
@media (max-width: 640px) {
  .nx-bento { grid-template-columns: 1fr; }
  .nx-tile { padding: 30px; min-height: 0; }
}

/* ==========================================================================
   HOME — PROGRAME (cards)
   ========================================================================== */
.nx-programs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.nx-pcard {
  position: relative; display: flex; flex-direction: column; background: #fff; border-radius: var(--nx-r-lg);
  border: 1px solid var(--nx-line); overflow: hidden; transition: transform .5s var(--nx-ease), box-shadow .5s, border-color .3s;
}
.nx-pcard:hover { transform: translateY(-6px); box-shadow: var(--nx-shadow-lg); border-color: transparent; }
.nx-pcard__img { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--nx-paper); margin: 8px 8px 0; border-radius: 20px; }
.nx-pcard__img > div { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform .8s var(--nx-ease); }
.nx-pcard:hover .nx-pcard__img > div { transform: scale(1.06); }
.nx-pcard__img .nx-chip { position: absolute; left: 14px; top: 14px; background: rgba(8, 20, 35, .7); }
.nx-pcard__num { position: absolute; right: 14px; top: 12px; font-family: var(--nx-font-display); font-weight: 800; font-size: 14px; color: #fff; background: rgba(255, 255, 255, .18); backdrop-filter: blur(6px); padding: 6px 10px; border-radius: 10px; }
.nx-pcard__body { padding: 26px 28px 28px; display: flex; flex-direction: column; flex: 1; }
.nx-pcard__body h2, .nx-pcard__body h3 {
  font-family: var(--nx-font-display) !important; font-size: 22px !important; line-height: 1.2 !important; letter-spacing: -0.02em;
  color: var(--nx-ink) !important; margin: 0 0 14px !important; text-transform: none; font-weight: 700 !important; text-align: left !important;
}
.nx-pcard__body h2 strong, .nx-pcard__body h3 strong { font-weight: inherit; }
.nx-pcard__body p { font-size: 15.5px; color: var(--nx-muted); margin: 0 0 12px; text-align: left !important; }
.nx-pcard__body p strong { color: var(--nx-text); font-weight: 600; }
.nx-pcard__body p:empty, .nx-pcard__body p:has(> br:only-child) { display: none; }
.nx-pcard__foot { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--nx-line); }
.nx-pcard__foot a { position: static; }
.nx-pcard__foot a::after { content: ""; position: absolute; inset: 0; } /* whole card clickable */

@media (max-width: 1100px) { .nx-programs { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .nx-programs { grid-template-columns: 1fr; } }

/* ==========================================================================
   HOME — VIDEO
   ========================================================================== */
.nx-video { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: center; }
.nx-video__frame { position: relative; border-radius: var(--nx-r-lg); overflow: hidden; aspect-ratio: 16/9; background: #000; box-shadow: 0 40px 100px -30px rgba(31, 163, 224, .5); border: 1px solid rgba(255, 255, 255, .1); }
.nx-video__frame iframe, .nx-video__frame video { position: absolute; inset: 0; width: 100% !important; height: 100% !important; border: 0; }
.nx-video .nx-h2 { font-size: clamp(30px, 3.4vw, 46px); }
@media (max-width: 991px) { .nx-video { grid-template-columns: 1fr; gap: 36px; } }

/* ==========================================================================
   CTA BAND
   ========================================================================== */
.nx-cta { padding: 0 0 clamp(60px, 8vw, 110px); background: #fff; }
.nx-cta__box {
  position: relative; overflow: hidden; border-radius: 36px; padding: clamp(40px, 6vw, 80px);
  background: linear-gradient(120deg, var(--nx-brand-600), var(--nx-brand) 55%, #45C1F0);
  color: #fff; display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; isolation: isolate;
}
.nx-cta__box::after { content: ""; position: absolute; z-index: -1; width: 520px; height: 520px; right: -160px; bottom: -260px; border-radius: 50%; border: 80px solid rgba(255, 255, 255, .1); }
.nx-cta__box h2 { font-family: var(--nx-font-display); font-weight: 800; color: #fff; font-size: clamp(32px, 4vw, 54px); line-height: 1; letter-spacing: -0.035em; margin: 0 0 14px; text-transform: none; }
.nx-cta__box p { margin: 0; color: rgba(255, 255, 255, .88); font-size: 18px; }
.nx-cta__phones { display: flex; flex-direction: column; gap: 10px; }
.nx-cta__phones a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 22px; border-radius: 16px;
  background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .25); color: #fff !important; text-decoration: none !important;
  font-family: var(--nx-font-display); font-size: 22px; font-weight: 700; letter-spacing: -0.01em; transition: background .25s, transform .35s var(--nx-ease);
}
.nx-cta__phones a:hover { background: #fff; color: var(--nx-brand-600) !important; transform: translateX(4px); }
@media (max-width: 860px) { .nx-cta__box { grid-template-columns: 1fr; } }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.nx-footer { background: var(--nx-ink); color: #9fb0c3; font-size: 15px; padding: 90px 0 0; position: relative; overflow: hidden; }
.nx-footer a { color: #d6e1ec !important; text-decoration: none !important; }
.nx-footer a:hover { color: var(--nx-brand-300) !important; }
.nx-footer__top { display: grid; grid-template-columns: 1.3fr 1fr 1.2fr 1.4fr; gap: 48px; padding-bottom: 64px; }
.nx-footer h3, .nx-footer .widget_nav_menu h3, .nx-footer__title {
  font-family: var(--nx-font-body) !important; font-size: 12px !important; font-weight: 700 !important; letter-spacing: .16em; text-transform: uppercase;
  color: var(--nx-brand-300) !important; margin: 0 0 20px !important; padding: 0 !important; border: 0 !important; background: none !important;
}
.nx-footer h3::before, .nx-footer h3::after { display: none !important; }
.nx-footer ul { list-style: none; margin: 0; padding: 0; }
.nx-footer li { margin: 0 0 10px; padding: 0; border: 0; background: none; }
.nx-footer li::before { display: none !important; }
.nx-footer .widget_recent_entries li a { display: block; line-height: 1.4; }
.nx-footer p { margin: 0 0 8px; }
.nx-footer__brand .nx-logo { margin-bottom: 22px; }
.nx-footer__brand p { max-width: 34ch; }
.nx-footer__contact li { display: flex; gap: 12px; align-items: flex-start; }
.nx-footer__contact .nx-ic { color: var(--nx-brand-300); margin-top: 2px; }
.nx-footer__contact .nx-phones a { display: block; }

.nx-footer .wpcf7 p { margin: 0; }
.nx-footer .wpcf7 input[type="email"] {
  width: 100%; height: 54px; border-radius: 14px !important; border: 1px solid rgba(255, 255, 255, .16) !important; background: rgba(255, 255, 255, .06) !important;
  color: #fff !important; padding: 0 18px !important; font-family: var(--nx-font-body); font-size: 15px; margin: 6px 0 12px;
}
.nx-footer .wpcf7 input[type="email"]::placeholder { color: #8195ab; }
.nx-footer .wpcf7 .wpcf7-list-item { margin: 0; }
.nx-footer .wpcf7 .wpcf7-list-item label { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.5; color: #8fa2b8; }
.nx-footer .wpcf7 input[type="checkbox"] { accent-color: var(--nx-brand); margin-top: 3px; }
.nx-footer .wpcf7 input[type="submit"] {
  margin-top: 14px; height: 50px; padding: 0 26px; border-radius: 999px !important; border: 0 !important; background: var(--nx-accent) !important;
  color: #fff !important; font-weight: 700; font-family: var(--nx-font-body); font-size: 15px; cursor: pointer; transition: background .2s; width: auto !important;
}
.nx-footer .wpcf7 input[type="submit"]:hover { background: var(--nx-accent-600) !important; }
.nx-footer .wpcf7 br { display: none; }

.nx-footer__company { display: flex; flex-wrap: wrap; gap: 6px 28px; padding: 22px 0; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 13.5px; color: #7f93a9; }
.nx-footer__company p { margin: 0; }
.nx-footer__company strong { color: #b9c7d6; font-weight: 600; }
.nx-footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding: 24px 0 30px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 13.5px; }
.nx-footer__legal { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.nx-footer__social { display: flex; gap: 8px; align-items: center; }
.nx-footer__social a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .06); transition: background .2s, transform .3s var(--nx-ease); }
.nx-footer__social a:hover { background: var(--nx-brand); color: #fff !important; transform: translateY(-3px); }
.nx-footer__social img { height: 36px; width: auto; border-radius: 6px; margin-left: 10px; }
.nx-footer__word {
  font-family: var(--nx-font-display); font-weight: 800; font-size: clamp(56px, 12.5vw, 200px); letter-spacing: -0.06em; line-height: .8;
  color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .09); white-space: nowrap; text-align: center; margin: 0 0 -0.12em; user-select: none;
}

@media (max-width: 1100px) { .nx-footer__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .nx-footer__top { grid-template-columns: 1fr; gap: 36px; } }

.nx-totop {
  position: fixed; right: 22px; bottom: 22px; z-index: 900; width: 50px; height: 50px; border-radius: 16px; border: 0; cursor: pointer;
  background: var(--nx-ink); color: #fff; display: grid; place-items: center; box-shadow: var(--nx-shadow-lg);
  opacity: 0; transform: translateY(16px); pointer-events: none; transition: .35s var(--nx-ease);
}
.nx-totop.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.nx-totop:hover { background: var(--nx-brand); }

/* ---------- Footer CTA band (attached to footer) ---------- */
.nx-footer--cta { padding-top: 0; }
.nx-footer--cta .nx-footer__top { padding-top: 72px; }
.nx-footer--cta .nx-footer__phones-item { display: none; }
.nx-fcta {
  position: relative; overflow: hidden; isolation: isolate;
  background: linear-gradient(110deg, var(--nx-brand-600) 0%, var(--nx-brand) 55%, #45C1F0 100%);
  color: #fff; padding: 40px 0;
}
.nx-fcta::after {
  content: ""; position: absolute; z-index: -1; width: 420px; height: 420px; right: -120px; top: -250px;
  border-radius: 50%; border: 60px solid rgba(255, 255, 255, .08);
}
.nx-fcta__inner { display: flex; align-items: center; justify-content: space-between; gap: 28px 48px; flex-wrap: wrap; }
.nx-fcta__text { flex: 1 1 460px; min-width: 0; }
.nx-fcta__eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .75); margin: 0 0 8px; }
.nx-fcta h2 {
  font-family: var(--nx-font-display); font-weight: 800; color: #fff; text-transform: none;
  font-size: clamp(24px, 2.4vw, 34px); line-height: 1.08; letter-spacing: -0.03em; margin: 0 0 8px;
}
.nx-fcta h2 span { color: rgba(255, 255, 255, .78); }
.nx-fcta__mail { margin: 0; font-size: 15px; color: rgba(255, 255, 255, .85); }
.nx-footer .nx-fcta__mail a { color: #fff !important; text-decoration: underline !important; text-underline-offset: 3px; }
.nx-fcta__phones { display: flex; flex-wrap: wrap; gap: 10px; }
.nx-footer .nx-fcta__phones a {
  display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 20px; border-radius: 999px;
  background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .3); color: #fff !important;
  font-family: var(--nx-font-display); font-weight: 700; font-size: 17px; letter-spacing: -0.01em; white-space: nowrap;
  transition: background .25s, color .25s, border-color .25s;
}
.nx-fcta__phones .nx-ic { width: 18px; height: 18px; }
.nx-footer .nx-fcta__phones a:hover { background: #fff; color: var(--nx-brand-600) !important; border-color: #fff; }
@media (max-width: 640px) {
  .nx-fcta { padding: 32px 0; }
  .nx-fcta__phones { width: 100%; }
  .nx-footer .nx-fcta__phones a { flex: 1 1 100%; justify-content: center; }
}

/* Hide legacy chrome if any plugin re-injects it */
#backtotop, .more-push { display: none !important; }

/* ==========================================================================
   Reveal on scroll
   ========================================================================== */
.nx-js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--nx-ease), transform .9s var(--nx-ease); transition-delay: var(--d, 0s); }
.nx-js [data-reveal].is-in { opacity: 1; transform: none; }
.nx-hero [data-hero] { opacity: 0; transform: translateY(24px); animation: nx-in 1s var(--nx-ease) forwards; animation-delay: var(--d, 0s); }
@keyframes nx-in { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .nx-js [data-reveal], .nx-hero [data-hero] { opacity: 1; transform: none; }
}
