/* ==========================================================================
   NLP Business Coaching — 2026 redesign · inner pages
   ========================================================================== */

.nx-section--tight { padding: clamp(56px, 7vw, 96px) 0; }
.nx-container--narrow { max-width: 880px; }
.nx-full { padding: 0; }
.nx-section-head--intro { margin-bottom: 48px; }
.nx-section-head--intro .nx-lead { margin: 0; }
.nx-section-head--intro .nx-lead p:last-child { margin-bottom: 0; }

/* ---------- Prose (classic editor content) ---------- */
.nx-prose { color: #3a4758; font-size: 17px; line-height: 1.75; }
.nx-prose > *:first-child { margin-top: 0; }
.nx-prose > *:last-child { margin-bottom: 0; }
.nx-prose p { margin: 0 0 1.1em; }
.nx-prose h1, .nx-prose h2, .nx-prose h3, .nx-prose h4, .nx-prose h5 {
  font-family: var(--nx-font-display); color: var(--nx-ink); letter-spacing: -0.025em; line-height: 1.15;
  margin: 1.6em 0 .6em; text-transform: none; font-weight: 700;
}
.nx-prose h1 { font-size: clamp(30px, 3.2vw, 42px); }
.nx-prose h2 { font-size: clamp(26px, 2.6vw, 34px); }
.nx-prose h3 { font-size: 23px; }
.nx-prose h4 { font-size: 19px; }
.nx-prose strong, .nx-prose b { color: var(--nx-ink); font-weight: 700; }
.nx-prose a { color: var(--nx-brand-600); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.nx-prose a:hover { color: var(--nx-accent-600); }
.nx-prose ul, .nx-prose ol { margin: 0 0 1.2em; padding-left: 0; }
.nx-prose ul { list-style: none; }
.nx-prose ul > li { position: relative; padding-left: 28px; margin: 0 0 .55em; }
.nx-prose ul > li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 10px; height: 10px; border-radius: 3px; background: var(--nx-brand); transform: rotate(45deg); }
.nx-prose ol { padding-left: 1.4em; }
.nx-prose ol > li { margin: 0 0 .55em; padding-left: 6px; }
.nx-prose ol > li::marker { color: var(--nx-brand-600); font-weight: 700; }
.nx-prose img { max-width: 100%; height: auto; border-radius: var(--nx-r); }
.nx-prose .alignleft { float: left; margin: .3em 1.6em 1em 0; }
.nx-prose .alignright { float: right; margin: .3em 0 1em 1.6em; }
.nx-prose .aligncenter { display: block; margin: 1.4em auto; }
.nx-prose blockquote { margin: 1.6em 0; padding: 22px 28px; border-left: 4px solid var(--nx-brand); background: var(--nx-brand-50); border-radius: 0 var(--nx-r) var(--nx-r) 0; font-size: 18px; color: var(--nx-ink); }
.nx-prose table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: 15.5px; border-radius: var(--nx-r-sm); overflow: hidden; }
.nx-prose th, .nx-prose td { padding: 12px 16px; border-bottom: 1px solid var(--nx-line); text-align: left; }
.nx-prose th { background: var(--nx-paper); color: var(--nx-ink); font-weight: 700; }
.nx-prose iframe { max-width: 100%; border-radius: var(--nx-r); }
.nx-prose hr { border: 0; height: 1px; background: var(--nx-line); margin: 2em 0; }
.nx-prose .btn, .nx-prose .payment-btn, .nx-prose a.button, .nx-prose .wp-block-button__link {
  display: inline-flex; align-items: center; gap: 8px; padding: 14px 24px; border-radius: 999px !important; background: var(--nx-accent) !important;
  color: #fff !important; text-decoration: none !important; font-weight: 700; font-size: 15px; border: 0; transition: background .2s, transform .3s var(--nx-ease);
}
.nx-prose .btn:hover, .nx-prose .payment-btn:hover, .nx-prose a.button:hover, .nx-prose .wp-block-button__link:hover { background: var(--nx-accent-600) !important; transform: translateY(-2px); opacity: 1; }
.nx-prose--lg { font-size: 18.5px; }
.nx-prose--lg h1, .nx-prose--lg h2 { font-size: clamp(32px, 3.6vw, 48px); margin-top: 0; line-height: 1.05; letter-spacing: -0.035em; }
.nx-prose--center { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.nx-prose--article { font-size: 18px; }
.nx-prose--dark { color: #b8c6d6; }
.nx-prose--dark h1, .nx-prose--dark h2, .nx-prose--dark h3, .nx-prose--dark h4, .nx-prose--dark strong, .nx-prose--dark b { color: #fff; }
.nx-prose--dark a { color: var(--nx-brand-300); }
.nx-prose--dark ul > li::before { background: var(--nx-brand-300); }

/* ---------- Alternating rows (servicii) ---------- */
.nx-rows { display: flex; flex-direction: column; gap: 28px; }
.nx-rows--spaced { margin-top: 80px; }
.nx-row {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 0; align-items: stretch; background: #fff;
  border: 1px solid var(--nx-line); border-radius: var(--nx-r-lg); overflow: hidden; transition: box-shadow .5s, transform .5s var(--nx-ease);
}
.nx-row:hover { box-shadow: var(--nx-shadow-lg); transform: translateY(-4px); }
.nx-row:nth-child(even) .nx-row__media { order: 2; }
.nx-row__media { display: block; overflow: hidden; min-height: 300px; background: var(--nx-paper); }
.nx-row__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .9s var(--nx-ease); }
.nx-row:hover .nx-row__media img { transform: scale(1.05); }
.nx-row__text { padding: clamp(32px, 4vw, 56px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 6px; }
.nx-row__num { font-family: var(--nx-font-display); font-weight: 800; color: var(--nx-brand); font-size: 15px; margin-bottom: 8px; }
.nx-row__text h3 { font-family: var(--nx-font-display); font-weight: 700; font-size: clamp(26px, 2.6vw, 36px); line-height: 1.05; letter-spacing: -0.03em; margin: 0 0 14px; text-transform: none; }
.nx-row__text h3 a { color: var(--nx-ink) !important; text-decoration: none !important; }
.nx-row__text .nx-prose { margin-bottom: 22px; }
@media (max-width: 860px) {
  .nx-row { grid-template-columns: 1fr; }
  .nx-row:nth-child(even) .nx-row__media { order: 0; }
  .nx-row__media { min-height: 220px; aspect-ratio: 16/9; }
}

/* ---------- Trainers ---------- */
.nx-trainers { display: flex; align-items: center; gap: 12px; margin: 4px 0 6px; }
.nx-trainers__stack { display: flex; }
.nx-trainers__stack a { width: 38px; height: 38px; border-radius: 50%; border: 2px solid #fff; overflow: hidden; margin-left: -10px; background: var(--nx-brand-50); display: grid; place-items: center; transition: transform .3s var(--nx-ease); position: relative; z-index: 1; }
.nx-trainers__stack a:first-child { margin-left: 0; }
.nx-trainers__stack a:hover { transform: translateY(-3px); z-index: 2; }
.nx-trainers__stack img { width: 100%; height: 100%; object-fit: cover; }
.nx-trainers__stack span { font-weight: 700; color: var(--nx-brand-600); }
.nx-trainers__names { font-size: 13.5px; line-height: 1.35; color: var(--nx-muted); }
.nx-trainers__names small { display: block; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--nx-brand-600); }
.nx-ccard .nx-pcard__body h3 { margin-bottom: 16px !important; }
.nx-ccard .nx-pcard__foot { margin-top: auto; }
.nx-ccard .nx-trainers { margin-bottom: 20px; position: relative; z-index: 2; }

/* ---------- Events (agenda) ---------- */
.nx-events { display: flex; flex-direction: column; gap: 14px; }
.nx-event {
  display: grid; grid-template-columns: 250px 1fr auto auto; gap: 28px; align-items: center;
  background: #fff; border: 1px solid var(--nx-line); border-radius: 22px; padding: 22px 26px;
  transition: box-shadow .4s, transform .4s var(--nx-ease), border-color .3s;
}
.nx-event:hover { box-shadow: var(--nx-shadow); transform: translateY(-2px); border-color: transparent; }
.nx-event__dates { display: flex; flex-direction: column; gap: 6px; }
.nx-event__date { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--nx-ink); font-size: 15px; }
.nx-event__date .nx-ic { width: 36px; height: 36px; padding: 8px; border-radius: 10px; background: var(--nx-brand-50); color: var(--nx-brand-600); }
.nx-event__date em { font-style: normal; color: var(--nx-muted); padding: 0 2px; }
.nx-event__main h3 { font-family: var(--nx-font-display); font-weight: 700; font-size: 20px; line-height: 1.25; letter-spacing: -0.015em; margin: 0 0 6px; text-transform: none; }
.nx-event__main h3 a { color: var(--nx-ink) !important; text-decoration: none !important; }
.nx-event__main h3 a:hover { color: var(--nx-brand-600) !important; }
.nx-event__loc { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--nx-muted); }
.nx-event__loc .nx-ic { width: 16px; height: 16px; color: var(--nx-accent); }
@media (max-width: 991px) {
  .nx-event { grid-template-columns: 1fr; gap: 14px; }
  .nx-event__trainers:empty { display: none; }
}

.nx-empty { text-align: center; padding: 70px 24px; border: 1.5px dashed var(--nx-line); border-radius: var(--nx-r-lg); background: #fff; }
.nx-empty h3 { font-family: var(--nx-font-display); font-size: 26px; color: var(--nx-ink); margin: 0 0 8px; text-transform: none; }
.nx-empty p { color: var(--nx-muted); margin: 0 0 20px; }

/* ---------- Offers ---------- */
.nx-offers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.nx-offer {
  position: relative; display: flex; flex-direction: column; gap: 14px; background: #fff; border: 1px solid var(--nx-line);
  border-radius: var(--nx-r-lg); padding: 36px 32px; transition: transform .5s var(--nx-ease), box-shadow .5s;
}
.nx-offer:hover { transform: translateY(-6px); box-shadow: var(--nx-shadow-lg); }
.nx-offer__num { font-family: var(--nx-font-display); font-weight: 800; font-size: 14px; color: var(--nx-brand); }
.nx-offer h3 { font-family: var(--nx-font-display); font-weight: 700; font-size: 26px; line-height: 1.1; letter-spacing: -0.025em; margin: 0; color: var(--nx-ink); text-transform: none; }
.nx-offer__body { flex: 1; font-size: 16px; }
.nx-offer .nx-btn { align-self: flex-start; margin-top: 10px; }
.nx-offer--featured { background: var(--nx-ink); border-color: var(--nx-ink); color: #c6d3e2; box-shadow: 0 40px 80px -30px rgba(31, 163, 224, .55); }
.nx-offer--featured h3 { color: #fff; }
.nx-offer--featured .nx-prose { color: #b8c6d6; }
.nx-offer--featured .nx-prose strong { color: #fff; }
/* neutralise legacy inline colors from the classic editor */
.nx-prose [style*="color: #0000ff"], .nx-prose [style*="color:#0000ff"] { color: var(--nx-brand-600) !important; }
.nx-offer .nx-prose h2 { font-size: 19px; line-height: 1.3; margin: 0 0 14px; }
.nx-offer--featured .nx-prose [style*="color"] { color: inherit !important; }
.nx-offer--featured .nx-prose a, .nx-offer--featured .nx-prose a [style*="color"] { color: var(--nx-brand-300) !important; }
.nx-section--dark .nx-prose [style*="color: #000"], .nx-prose--dark [style*="color: #000"] { color: inherit !important; }
.nx-prose--center h1 { font-size: clamp(34px, 4.4vw, 56px); letter-spacing: -0.035em; line-height: 1.02; }
.nx-prose--center h3 { font-size: 20px; font-weight: 500; color: var(--nx-muted); font-family: var(--nx-font-body); letter-spacing: 0; margin: .5em 0; }
.nx-prose--center h3 em { font-style: normal; }
.nx-offer--featured::before { content: "Recomandat"; position: absolute; top: 20px; right: 20px; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; background: var(--nx-accent); color: #fff; }
@media (max-width: 991px) { .nx-offers { grid-template-columns: 1fr; } }

/* ---------- Split + form cards ---------- */
.nx-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 900px) { .nx-split { grid-template-columns: 1fr; } }

.nx-formcard { background: #fff; border: 1px solid var(--nx-line); border-radius: var(--nx-r-lg); padding: clamp(28px, 4vw, 48px); box-shadow: var(--nx-shadow); margin-top: 48px; }
.nx-split .nx-formcard, .nx-contact .nx-formcard { margin-top: 0; }
.nx-formcard h2, .nx-formcard h3 { font-family: var(--nx-font-display); font-weight: 700; color: var(--nx-ink); letter-spacing: -0.025em; margin: 0 0 24px; text-transform: none; font-size: clamp(24px, 2.4vw, 32px); }
.nx-formcard--big .nx-h2 { font-size: clamp(34px, 4vw, 52px); }

/* CF7 / WPForms styling inside our cards */
.nx-formcard .wpcf7 p, .nx-formcard .wpforms-field { margin: 0 0 14px; }
.nx-formcard label { display: block; font-size: 14px; font-weight: 600; color: var(--nx-ink); margin-bottom: 6px; }
.nx-formcard input[type="text"], .nx-formcard input[type="email"], .nx-formcard input[type="tel"], .nx-formcard input[type="number"],
.nx-formcard input[type="date"], .nx-formcard input[type="url"], .nx-formcard select, .nx-formcard textarea {
  width: 100% !important; max-width: 100% !important; min-height: 54px; padding: 14px 18px !important; border-radius: 14px !important;
  border: 1.5px solid var(--nx-line) !important; background: var(--nx-paper) !important; color: var(--nx-ink) !important;
  font-family: var(--nx-font-body) !important; font-size: 15.5px !important; box-shadow: none !important; transition: border-color .2s, background .2s, box-shadow .2s;
}
.nx-formcard textarea { min-height: 150px; resize: vertical; }
.nx-formcard input:focus, .nx-formcard select:focus, .nx-formcard textarea:focus { outline: 0; border-color: var(--nx-brand) !important; background: #fff !important; box-shadow: 0 0 0 4px rgba(31, 163, 224, .15) !important; }
.nx-formcard ::placeholder { color: #8a98aa; }
.nx-formcard .wpcf7-list-item { margin: 0; }
.nx-formcard .wpcf7-list-item label, .nx-formcard .wpcf7-acceptance label { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; font-size: 14px; color: var(--nx-muted); }
.nx-formcard input[type="checkbox"], .nx-formcard input[type="radio"] { accent-color: var(--nx-brand); width: 18px; height: 18px; margin-top: 2px; flex: none; }
.nx-formcard input[type="submit"], .nx-formcard button[type="submit"], .nx-formcard .wpforms-submit {
  display: inline-flex; align-items: center; justify-content: center; height: 56px; padding: 0 32px !important; border: 0 !important; border-radius: 999px !important;
  background: var(--nx-accent) !important; color: #fff !important; font-family: var(--nx-font-body) !important; font-weight: 700 !important; font-size: 16px !important;
  cursor: pointer; transition: background .2s, transform .3s var(--nx-ease); width: auto !important; box-shadow: 0 12px 24px -12px rgba(37, 99, 235, .6);
}
.nx-formcard input[type="submit"]:hover, .nx-formcard button[type="submit"]:hover { background: var(--nx-accent-600) !important; transform: translateY(-2px); }
.nx-formcard .wpcf7-not-valid-tip { font-size: 13px; margin-top: 6px; }
.nx-formcard .wpcf7-response-output { margin: 16px 0 0 !important; padding: 14px 18px !important; border-radius: 12px; font-size: 14.5px; }

/* ---------- Trainer profiles (Servicii de coaching și terapie) ---------- */
.nx-prose .nx-profiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin: 36px 0 40px; }
.nx-prose .nx-profile { background: var(--nx-paper); border-radius: var(--nx-r-lg); padding: 28px; }
.nx-prose .nx-profile__img { width: 92px; height: 92px; border-radius: 50%; object-fit: cover; margin: 0 0 18px; display: block; }
.nx-prose .nx-profile h3 { margin: 0 0 4px; font-size: 22px; }
.nx-prose .nx-profile__role { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--nx-brand-600); margin: 0 0 14px; }
.nx-prose .nx-profile p { font-size: 15.5px; }
.nx-prose .nx-profile__link {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; padding: 11px 20px; border-radius: 999px;
  background: var(--nx-ink); color: #fff !important; text-decoration: none !important; font-size: 14.5px; font-weight: 700;
  transition: background .25s;
}
.nx-prose .nx-profile__link::after { content: "→"; }
.nx-prose .nx-profile__link:hover { background: var(--nx-accent); }
@media (max-width: 720px) { .nx-prose .nx-profiles { grid-template-columns: 1fr; } }

/* ---------- Two-column layout w/ sticky sidebar ---------- */
.nx-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 4vw, 64px); align-items: start; }
.nx-layout--single { grid-template-columns: minmax(0, 1fr); }
.nx-layout--single .nx-layout__main { max-width: 900px; margin: 0 auto; width: 100%; }
.nx-full .nx-layout--single .nx-layout__main { max-width: none; }
.nx-sticky { position: sticky; top: calc(var(--nx-header-h) + 24px); display: flex; flex-direction: column; gap: 20px; }
@media (max-width: 1080px) { .nx-layout { grid-template-columns: 1fr; } .nx-sticky { position: static; } }

.nx-sidecta { background: var(--nx-ink); color: #c6d3e2; border-radius: var(--nx-r-lg); padding: 30px; position: relative; overflow: hidden; isolation: isolate; }
.nx-sidecta::after { content: ""; position: absolute; z-index: -1; width: 260px; height: 260px; right: -110px; top: -110px; border-radius: 50%; background: radial-gradient(circle, rgba(31, 163, 224, .6), transparent 65%); }
.nx-sidecta h3 { font-family: var(--nx-font-display); color: #fff; font-size: 24px; line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 22px; text-transform: none; }
.nx-sidecta .nx-btn { width: 100%; justify-content: center; }
.nx-sidecta__phone { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; color: #fff !important; font-weight: 700; text-decoration: none !important; }
.nx-sidecta__phone .nx-ic { color: var(--nx-brand-300); width: 18px; }

.nx-widgets > *, .nx-sidebar .sidebar-widget > div { background: var(--nx-paper); border-radius: var(--nx-r); padding: 24px; margin-bottom: 16px; }
.nx-widgets .nx-sidebar { background: none; padding: 0; margin: 0; }
.nx-widgets h3, .nx-widgets h4, .nx-widgets .widget-title, .nx-widgets .widgettitle {
  font-family: var(--nx-font-body) !important; font-size: 12px !important; letter-spacing: .14em; text-transform: uppercase; font-weight: 700 !important;
  color: var(--nx-brand-600) !important; margin: 0 0 14px !important; padding: 0 !important; border: 0 !important; background: none !important;
}
.nx-widgets ul { list-style: none; margin: 0; padding: 0; }
.nx-widgets li { padding: 10px 0; border-bottom: 1px solid var(--nx-line); margin: 0; }
.nx-widgets li:last-child { border-bottom: 0; }
.nx-widgets li a { color: var(--nx-ink) !important; text-decoration: none !important; font-weight: 600; font-size: 15px; line-height: 1.4; }
.nx-widgets li a:hover { color: var(--nx-brand-600) !important; }
.nx-widgets img { max-width: 100%; height: auto; border-radius: 12px; }

.nx-searchbar { display: flex; align-items: center; gap: 10px; background: #fff; border: 1.5px solid var(--nx-line); border-radius: 999px; padding: 6px 6px 6px 18px; margin: 0 0 32px; }
.nx-searchbar .nx-ic { color: var(--nx-muted); }
.nx-searchbar input { flex: 1; border: 0 !important; background: transparent !important; outline: 0; box-shadow: none !important; font-family: var(--nx-font-body); font-size: 15.5px; padding: 10px 0; color: var(--nx-ink); }
.nx-searchbar--side { margin: 0 0 16px; background: #fff; padding-right: 18px; }
.nx-searchbar:focus-within { border-color: var(--nx-brand); }

/* ---------- Articles ---------- */
.nx-article__cover { margin: 0 0 36px; border-radius: var(--nx-r-lg); overflow: hidden; }
.nx-article__cover img { width: 100%; height: auto; display: block; }
.nx-meta-bar { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; padding: 0 0 26px; margin: 0 0 32px; border-bottom: 1px solid var(--nx-line); }
.nx-postmeta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: 14px; color: var(--nx-muted); font-weight: 600; margin-bottom: 20px; }
.nx-postmeta a { color: var(--nx-ink) !important; text-decoration: none !important; }
.nx-postfoot { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--nx-line); font-size: 14.5px; color: var(--nx-muted); }
.nx-postfoot a { font-weight: 700; }

/* Blog cards */
.nx-posts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.nx-postcard { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--nx-line); border-radius: var(--nx-r-lg); overflow: hidden; transition: transform .5s var(--nx-ease), box-shadow .5s; }
.nx-postcard:hover { transform: translateY(-6px); box-shadow: var(--nx-shadow-lg); }
.nx-postcard__img { display: block; aspect-ratio: 16/10; overflow: hidden; background: var(--nx-paper); margin: 8px 8px 0; border-radius: 20px; }
.nx-postcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--nx-ease); }
.nx-postcard:hover .nx-postcard__img img { transform: scale(1.05); }
.nx-postcard__ph { display: grid; place-items: center; height: 100%; color: var(--nx-brand); background: linear-gradient(135deg, var(--nx-brand-50), #fff); }
.nx-postcard__ph .nx-ic { width: 48px; height: 48px; }
.nx-postcard__body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.nx-postcard__body .nx-postmeta { margin-bottom: 12px; }
.nx-postcard h2 { font-family: var(--nx-font-display); font-size: 22px; line-height: 1.2; letter-spacing: -0.02em; margin: 0 0 10px; text-transform: none; font-weight: 700; }
.nx-postcard h2 a { color: var(--nx-ink) !important; text-decoration: none !important; }
.nx-postcard p { color: var(--nx-muted); font-size: 15.5px; margin: 0 0 20px; flex: 1; }
.nx-postcard .nx-link { align-self: flex-start; }
@media (max-width: 700px) { .nx-posts { grid-template-columns: 1fr; } }

.nx-pagination { margin-top: 40px; }
.nx-pagination .pagination { display: flex; gap: 6px; flex-wrap: wrap; }
.nx-pagination .page-numbers { display: inline-grid; place-items: center; min-width: 46px; height: 46px; padding: 0 14px; border-radius: 14px; background: #fff; border: 1px solid var(--nx-line); color: var(--nx-ink) !important; font-weight: 700; text-decoration: none !important; }
.nx-pagination .page-numbers.current, .nx-pagination .page-numbers:hover { background: var(--nx-ink); color: #fff !important; border-color: var(--nx-ink); }

/* ---------- Team ---------- */
.nx-team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.nx-teamcard { display: flex; flex-direction: column; text-decoration: none !important; background: #fff; border: 1px solid var(--nx-line); border-radius: var(--nx-r-lg); overflow: hidden; transition: transform .5s var(--nx-ease), box-shadow .5s; }
.nx-teamcard:hover { transform: translateY(-6px); box-shadow: var(--nx-shadow-lg); }
.nx-teamcard__img { aspect-ratio: 4/5; overflow: hidden; background: linear-gradient(160deg, var(--nx-brand-50), #dbeef8); margin: 8px 8px 0; border-radius: 20px; }
.nx-teamcard__img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.25); transition: transform .8s var(--nx-ease), filter .5s; }
.nx-teamcard:hover .nx-teamcard__img img { transform: scale(1.05); filter: none; }
.nx-teamcard__body { padding: 20px 22px 24px; }
.nx-teamcard h3 { font-family: var(--nx-font-display); font-size: 21px; letter-spacing: -0.02em; color: var(--nx-ink); margin: 0 0 8px; text-transform: none; }
.nx-teamcard__more { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; color: var(--nx-brand-600); }
.nx-teamcard__more .nx-ic { width: 16px; transition: transform .35s var(--nx-ease); }
.nx-teamcard:hover .nx-teamcard__more .nx-ic { transform: translateX(4px); }
@media (max-width: 1100px) { .nx-team { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 800px) { .nx-team { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .nx-team { grid-template-columns: 1fr; } }

/* Member single */
.nx-member { display: grid; grid-template-columns: 400px 1fr; gap: clamp(36px, 5vw, 80px); align-items: start; }
.nx-member__photo { position: sticky; top: calc(var(--nx-header-h) + 24px); display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.nx-member__photo img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--nx-r-lg); box-shadow: var(--nx-shadow-lg); }
@media (max-width: 900px) { .nx-member { grid-template-columns: 1fr; } .nx-member__photo { position: static; max-width: 380px; } }

.nx-skills { margin-top: clamp(64px, 8vw, 110px); }
.nx-skills__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.nx-skill { background: var(--nx-paper); border-radius: var(--nx-r-lg); padding: 28px; }
.nx-skill__head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.nx-skill__icon { width: 48px; height: 48px; border-radius: 14px; background: var(--nx-ink); color: var(--nx-brand-300); display: grid; place-items: center; font-size: 20px; flex: none; }
.nx-skill__icon img { max-width: 26px; }
.nx-skill h4 { font-family: var(--nx-font-display); font-size: 19px; margin: 0; color: var(--nx-ink); text-transform: none; line-height: 1.2; }
.nx-skill .nx-prose { font-size: 15.5px; }

/* ---------- Despre ---------- */
.nx-about--rev { grid-template-columns: 1.05fr 1fr; }
.nx-about__media--wide img { aspect-ratio: 4/3; }
.nx-about--rev .nx-about__media::before { inset: auto auto -18px -18px; background: var(--nx-accent); }
@media (max-width: 991px) { .nx-about--rev { grid-template-columns: 1fr; } }

.nx-vm { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.nx-vm__card { background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--nx-r-lg); padding: clamp(28px, 3.5vw, 44px); }
.nx-vm__img { border-radius: var(--nx-r); overflow: hidden; margin-bottom: 28px; aspect-ratio: 16/9; }
.nx-vm__img img { width: 100%; height: 100%; object-fit: cover; }
.nx-vm__bottom { margin-top: 48px; max-width: 900px; }
@media (max-width: 860px) { .nx-vm { grid-template-columns: 1fr; } }

.nx-values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.nx-value { position: relative; background: #fff; border: 1px solid var(--nx-line); border-radius: var(--nx-r-lg); padding: 32px 28px; min-height: 240px; display: flex; flex-direction: column; justify-content: space-between; transition: background .4s, color .4s, transform .5s var(--nx-ease); }
.nx-value:hover { background: var(--nx-ink); transform: translateY(-6px); }
.nx-value:hover h3 { color: #fff; }
.nx-value__num { font-family: var(--nx-font-display); font-weight: 800; color: var(--nx-brand); font-size: 14px; }
.nx-value__icon { width: 64px; height: 64px; border-radius: 18px; background: var(--nx-brand-50); display: grid; place-items: center; margin: 20px 0; }
.nx-value__icon img { max-width: 36px; max-height: 36px; }
.nx-value h3 { font-family: var(--nx-font-display); font-size: 24px; letter-spacing: -0.02em; margin: 0; color: var(--nx-ink); text-transform: none; transition: color .4s; }
@media (max-width: 991px) { .nx-values { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .nx-values { grid-template-columns: 1fr; } }

.nx-logos { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); margin-top: 20px; }
.nx-logos__track { display: flex; gap: 20px; width: max-content; animation: nx-marquee 40s linear infinite; }
.nx-logos:hover .nx-logos__track { animation-play-state: paused; }
.nx-logos__item { width: 190px; height: 100px; background: #fff; border-radius: 18px; display: grid; place-items: center; padding: 18px 26px; flex: none; }
.nx-logos__item img { max-width: 100%; max-height: 60px; object-fit: contain; filter: grayscale(1); opacity: .7; transition: filter .3s, opacity .3s; }
.nx-logos__item:hover img { filter: none; opacity: 1; }
@keyframes nx-marquee { to { transform: translateX(calc(-50% - 10px)); } }

/* ---------- Testimoniale ---------- */
.nx-reviews { columns: 3 320px; column-gap: 22px; }
.nx-review { break-inside: avoid; margin: 0 0 22px; background: #fff; border-radius: var(--nx-r-lg); padding: 32px; border: 1px solid var(--nx-line); position: relative; }
.nx-review::before { content: "\201C"; position: absolute; top: 18px; right: 26px; font-family: var(--nx-font-display); font-size: 80px; line-height: 1; color: var(--nx-brand-50); }
.nx-review blockquote { margin: 0 0 22px; padding: 0; border: 0; background: none; font-size: 16px; position: relative; }
.nx-review blockquote p { margin: 0 0 .8em; }
.nx-review figcaption { display: flex; align-items: center; gap: 12px; padding-top: 18px; border-top: 1px solid var(--nx-line); }
.nx-review__avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--nx-ink); color: #fff; font-family: var(--nx-font-display); font-weight: 700; }
.nx-review figcaption strong { color: var(--nx-ink); font-size: 15.5px; }

/* ---------- Contact ---------- */
.nx-contact { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: stretch; }
.nx-contact__info { background: var(--nx-ink); color: #b8c6d6; border-radius: var(--nx-r-lg); padding: clamp(28px, 4vw, 48px); position: relative; overflow: hidden; isolation: isolate; }
.nx-contact__info::after { content: ""; position: absolute; z-index: -1; width: 420px; height: 420px; right: -180px; bottom: -180px; border-radius: 50%; background: radial-gradient(circle, rgba(31, 163, 224, .45), transparent 65%); }
.nx-contact__info h3 { font-family: var(--nx-font-display); color: #fff; font-size: 24px; letter-spacing: -0.02em; margin: 0 0 30px; text-transform: none; }
.nx-contact__info ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 22px; }
.nx-contact__info li { display: flex; gap: 16px; align-items: flex-start; margin: 0; }
.nx-contact__info small { display: block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--nx-brand-300); margin-bottom: 4px; }
.nx-contact__info a { color: #fff !important; text-decoration: none !important; font-weight: 600; }
.nx-contact__info p { margin: 0; }
.nx-contact__ic { width: 46px; height: 46px; border-radius: 14px; background: rgba(255, 255, 255, .08); display: grid; place-items: center; color: var(--nx-brand-300); flex: none; }
.nx-map { margin-top: 24px; border-radius: var(--nx-r-lg); overflow: hidden; box-shadow: var(--nx-shadow); line-height: 0; }
.nx-map iframe { filter: grayscale(.4) contrast(1.05); }
@media (max-width: 991px) { .nx-contact { grid-template-columns: 1fr; } }

/* ---------- Video grid ---------- */
.nx-vgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.nx-vgrid .nx-video__frame { box-shadow: var(--nx-shadow); border: 0; }
@media (max-width: 760px) { .nx-vgrid { grid-template-columns: 1fr; } }

/* ---------- 404 ---------- */
.nx-404 { text-align: center; max-width: 760px; margin: 0 auto; }
.nx-404__num { font-family: var(--nx-font-display); font-weight: 800; font-size: clamp(120px, 22vw, 260px); line-height: .85; letter-spacing: -0.07em; background: linear-gradient(100deg, var(--nx-brand), var(--nx-accent)); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 20px; }
.nx-404 .nx-lead { margin: 0 auto 32px; }
