/* Header, footer and contact card of the nxdpro.net inner pages (same look as the homepage, css/home.css).
   Class names start with nxh- / nxf- / nxc- so they never clash with the pages' own styles. */
.nxh-skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: #fff; color: #000; padding: 8px 12px; border-radius: 8px; }
.nxh-skip:focus { left: 8px; }
.nxh { position: sticky; top: 0; z-index: 50; background: rgba(11, 13, 18, .82); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid rgba(255, 255, 255, .06); font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
.nxh-in { position: relative; display: flex; align-items: center; gap: 16px; max-width: 1180px; height: 64px; margin: 0 auto; padding: 0 16px; }
.nxh a { text-decoration: none; }
.nxh-brand { display: inline-flex; align-items: center; gap: 10px; color: #eef0f6; font-weight: 800; font-size: 16px; letter-spacing: -.01em; text-decoration: none; }
.nxh-brand img { display: block; border-radius: 8px; }
.nxh-nav { display: none; }
.nxh-act { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.nxh-lang { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 38px; padding: 0 8px; border-radius: 10px; border: 1px solid #252b38; color: #9aa2b4; font-size: 13px; font-weight: 700; }
.nxh-lang:hover { color: #eef0f6; }
.nxh-cta { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 8px 12px; border-radius: 10px; background: #5865f2; color: #fff; font-weight: 600; font-size: 14px; box-shadow: 0 8px 28px -10px rgba(88, 101, 242, .8); transition: background-color .2s, transform .2s; }
.nxh-cta:hover { background: #4752e0; transform: translateY(-1px); }
.nxh-cta span { display: none; }
.nxh-ico { width: 18px; height: 18px; flex: none; }
.nxh-menu { display: inline-flex; flex-direction: column; justify-content: center; gap: 6px; width: 44px; height: 44px; padding: 0 12px; background: none; border: 1px solid #252b38; border-radius: 10px; cursor: pointer; }
.nxh-menu span { display: block; height: 2px; background: #eef0f6; border-radius: 2px; transition: transform .25s; }
.nxh-open .nxh-menu span:first-child { transform: translateY(4px) rotate(45deg); }
.nxh-open .nxh-menu span:last-child { transform: translateY(-4px) rotate(-45deg); }
.nxh-open .nxh-nav { display: flex; flex-direction: column; position: absolute; left: 0; right: 0; top: 64px; padding: 8px 16px 16px; background: rgba(11, 13, 18, .97); border-bottom: 1px solid #252b38; }
.nxh-open .nxh-nav a { padding: 14px 4px; border-bottom: 1px solid rgba(255, 255, 255, .05); color: #eef0f6; font-weight: 600; }

.nxf { margin-top: 56px; border-top: 1px solid #252b38; padding: 40px 0 28px; background: #0f1218; color: #9aa2b4; font: 400 14px/1.6 Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
.nxf-in { display: grid; gap: 26px; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.nxf-brand p { margin: 10px 0 0; max-width: 30em; }
.nxf-links { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 16px; margin: 0; padding: 0; list-style: none; }
.nxf-links a { display: inline-block; padding: 8px 0; color: #9aa2b4; text-decoration: none; }
.nxf-links a:hover { color: #eef0f6; text-decoration: none; }
.nxf-bottom { display: flex; flex-direction: column; gap: 14px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .06); color: #6f778a; font-size: 13px; }
.nxf-lang { display: flex; gap: 14px; }
.nxf-lang a { color: #9aa2b4; text-decoration: none; padding: 6px 0; }

.nxc { display: grid; gap: 16px; margin: 28px 0 0; padding: 22px; border-radius: 16px; background: linear-gradient(140deg, rgba(88, 101, 242, .22), rgba(0, 173, 238, .08)); border: 1px solid rgba(88, 101, 242, .45); font-family: Inter, system-ui, sans-serif; }
.nxc-txt b { display: block; color: #eef0f6; font-size: 18px; font-weight: 700; }
.nxc-txt span { display: block; margin-top: 6px; color: #b8bfd0; font-size: 15px; }
.nxc-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.nxc-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 16px; border-radius: 12px; border: 1px solid #3a4152; background: rgba(255, 255, 255, .05); color: #eef0f6; font-weight: 600; font-size: 15px; text-decoration: none; }
.nxc-btn:hover { text-decoration: none; border-color: #4a5266; }
.nxc-primary { background: #5865f2; border-color: #5865f2; color: #fff; }
.nxc-primary:hover { background: #4752e0; }
.nxc .nxh-ico { width: 20px; height: 20px; }

@media (min-width: 640px) {
  .nxh-in, .nxf-in { padding: 0 24px; }
  .nxh-cta span { display: inline; }
  .nxh-cta { padding: 8px 14px; }
  .nxf-links { grid-template-columns: repeat(4, auto); justify-content: start; }
  .nxf-bottom { flex-direction: row; justify-content: space-between; align-items: center; }
}
@media (min-width: 900px) {
  .nxc { grid-template-columns: 1fr auto; align-items: center; }
}
@media (min-width: 980px) {
  .nxh-nav { display: flex; gap: 4px; margin-left: 28px; }
  .nxh-nav a { padding: 8px 12px; border-radius: 8px; color: #9aa2b4; font-size: 14.5px; font-weight: 500; }
  .nxh-nav a:hover, .nxh-nav a[aria-current] { color: #eef0f6; background: rgba(255, 255, 255, .05); text-decoration: none; }
  .nxh-menu { display: none; }
  .nxh-open .nxh-nav { position: static; flex-direction: row; padding: 0; background: none; border: 0; }
  .nxh-open .nxh-nav a { padding: 8px 12px; border: 0; }
  .nxf-in { grid-template-columns: 1fr 1.4fr; align-items: start; }
  .nxf-bottom { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
  .nxh-cta, .nxh-menu span { transition: none; }
}
