:root {
  --nb-bg: #050712;
  --nb-bg-alt: #0b0f1f;
  --nb-surface: #101426;
  --nb-border: #252a3f;
  --nb-text: #f5f7ff;
  --nb-text-muted: #a3a7c2;
  --nb-accent: #7b5cff;
  --nb-accent-soft: rgba(123, 92, 255, 0.2);
  --nb-accent-2: #6f2489;
  --nb-danger: #ff4b81;
  --nb-radius-lg: 18px;
  --nb-radius-md: 12px;
  --nb-radius-sm: 8px;
  --nb-shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.55);
  --nb-max-width: 1120px;
  --nb-transition-fast: 0.18s ease-out;
  --primarycolor: #42526e;
  --secondarycolor: #41a317;
  --tritorycolor: #6f2489;
  --text-light: #ffffff;
  --text-muted: #d0d4e0;
  --bg-dark: #0b0f1a;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "MuseoModerno", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: radial-gradient(circle at top, #151a3a 0, #050712 55%, #02030a 100%);
  color: var(--nb-text);
  scroll-behavior: smooth;
}

section[id],
.nb-hero[id] {
  scroll-margin-top: 92px;
}

body {
  min-height: 100vh;
  line-height: 1.55;
}

/* Layout helpers */

.nb-container {
  width: 100%;
  max-width: var(--nb-max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.nb-section {
  padding: 4.25rem 0;
  background: linear-gradient(180deg, #070b1a 0%, #050712 100%);
  border-top: 1px solid rgba(123, 92, 255, 0.08);
  border-bottom: 1px solid rgba(74, 242, 161, 0.05);
}

.nb-section-alt {
  background: radial-gradient(circle at top left, #1a2042 0, #0a1025 52%, #03050f 100%);
  border-top: 1px solid rgba(74, 242, 161, 0.1);
  border-bottom: 1px solid rgba(123, 92, 255, 0.08);
}

.nb-section-header {
  text-align: center;
  margin-bottom: 2.25rem;
}

.nb-section-header-left {
  text-align: left;
}

.nb-section-header h2 {
  font-size: 2.25rem;
  margin: 0 0 0.75rem;
  letter-spacing: 0.04em;
}

.nb-section-header p {
  margin: 0;
  color: var(--nb-text-muted);
  max-width: 640px;
  margin-inline: auto;
  line-height: 1.65;
}

.nb-section-header-left p {
  max-width: none;
}

/* Header */

.nb-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: linear-gradient(to bottom, rgba(5, 7, 18, 0.96), rgba(5, 7, 18, 0.7), transparent);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.nb-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.55rem 1.5rem;
}

.nb-hero-mascot {
  width: min(100%, 500px);
  height: auto;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 0 12px var(--tritorycolor));
}

.nb-logo-img {
  width: 48px;
  height: 48px;
}

.nb-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--nb-text);
}

.nb-logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 0, #ffffff, #7b5cff 40%, #4af2a1 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
  color: #050712;
  box-shadow: 0 0 18px rgba(123, 92, 255, 0.7);
}

.nb-logo-text {
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.nb-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.9rem;
}

.nb-nav a {
  color: var(--nb-text-muted);
  text-decoration: none;
  position: relative;
  padding-bottom: 0.15rem;
  transition: color var(--nb-transition-fast);
}

.nb-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--nb-accent), var(--nb-accent-2));
  transition: width var(--nb-transition-fast);
}

.nb-nav a:hover {
  color: var(--nb-text);
}

.nb-nav a:hover::after {
  width: 100%;
}

/* Buttons */

.nb-btn {
  border: none;
  border-radius: 999px;
  padding: 0.55rem 1.4rem;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  background: linear-gradient(135deg, var(--nb-accent), var(--nb-accent-2));
  color: #050712;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.45);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  transition: transform var(--nb-transition-fast), box-shadow var(--nb-transition-fast),
    background var(--nb-transition-fast), opacity var(--nb-transition-fast);
}

.nb-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.6);
}

.nb-btn:active {
  transform: translateY(0);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.6);
}

.nb-btn-outline {
  background: transparent;
  color: var(--nb-text);
  border: 1px solid rgba(123, 92, 255, 0.7);
  box-shadow: none;
}

.nb-btn-outline:hover {
  background: rgba(123, 92, 255, 0.12);
}

.nb-btn-ghost {
  background: transparent;
  color: var(--nb-text);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: none;
}

.nb-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.06);
}

.nb-btn-full {
  width: 100%;
}

/* Mobile nav toggle */

.nb-nav-toggle {
  display: none;
  width: 36px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(5, 7, 18, 0.9);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}

.nb-nav-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--nb-text);
  transition: transform 0.18s ease-out, opacity 0.18s ease-out;
}

.nb-nav-toggle.is-open span:nth-child(1) {
  transform: translateY(3px) rotate(45deg);
}

.nb-nav-toggle.is-open span:nth-child(2) {
  transform: translateY(-3px) rotate(-45deg);
}

/* Hero */

.nb-hero {
  padding: 1.4rem 0 0.95rem;
}

.nb-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2.4rem;
  align-items: center;
}

.nb-hero-copy h1 {
  font-size: clamp(2.4rem, 3.1vw, 3.2rem);
  margin: 0 0 1rem;
}

.nb-hero-copy p {
  margin: 0 0 1.1rem;
  color: var(--nb-text-muted);
  max-width: 520px;
}

.nb-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
}

.nb-hero-meta {
  display: flex;
  flex-wrap: wrap;
  column-gap: 1rem;
  row-gap: 0.3rem;
  font-size: 0.85rem;
  color: var(--nb-text-muted);
}

.nb-hero-meta span {
  position: relative;
  padding-left: 1.1rem;
}

.nb-hero-meta span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: radial-gradient(circle, var(--nb-accent-2), var(--nb-accent));
  transform: translateY(-50%);
}

/* Hero visual */

.nb-hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.nb-orbit {
  position: relative;
  width: 260px;
  height: 260px;
  margin: 0 auto 0.45rem;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 0, #ffffff, #7b5cff 40%, #050712 100%);
  box-shadow: 0 0 40px rgba(123, 92, 255, 0.8), 0 0 80px rgba(74, 242, 161, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.nb-orbit-core {
  position: relative;
  z-index: 2;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  background: rgba(5, 7, 18, 0.9);
  color: var(--nb-text);
  font-weight: 600;
  font-size: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.nb-orbit-ring {
  position: absolute;
  border-radius: 999px;
  border: 1px dashed rgba(5, 7, 18, 0.4);
  color: #050712;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(245, 247, 255, 0.9);
}

.nb-orbit-ring-1 {
  width: 210px;
  height: 42px;
  transform: rotate(-18deg);
}

.nb-orbit-ring-2 {
  width: 230px;
  height: 42px;
  transform: rotate(18deg);
}

.nb-orbit-ring-3 {
  width: 250px;
  height: 42px;
  transform: rotate(54deg);
}

.nb-hero-caption {
  margin: -2.25rem 0 0;
  text-align: center;
  color: var(--nb-text-muted);
  font-size: 0.9rem;
  max-width: 390px;
}

#services.nb-section {
  padding-top: 1.8rem;
}

/* Grid & cards */

.nb-grid {
  display: grid;
  gap: 1.35rem;
  align-items: stretch;
}

.nb-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.nb-section-subgrid {
  margin-top: 1.8rem;
}

.nb-card {
  background: radial-gradient(circle at top left, #1a1f3b 0, #101426 45%, #050712 100%);
  border-radius: var(--nb-radius-lg);
  padding: 1.35rem 1.25rem 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.04);
  box-shadow: var(--nb-shadow-soft);
  height: 100%;
}

.nb-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.1rem;
}

.nb-card p {
  margin: 0 0 1rem;
  color: var(--nb-text-muted);
  font-size: 0.95rem;
}

.nb-card-outline {
  background: rgba(5, 7, 18, 0.7);
  border-style: dashed;
  border-color: rgba(123, 92, 255, 0.5);
}

/* Lists */

.nb-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.nb-list li {
  position: relative;
  padding-left: 1.2rem;
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
  color: var(--nb-text-muted);
}

.nb-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: radial-gradient(circle, var(--nb-accent-2), var(--nb-accent));
}

.nb-list-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
}

.nb-list-inline li {
  margin-bottom: 0;
}

/* Timeline */

.nb-timeline {
  position: relative;
  margin: 0 auto 2rem;
  max-width: 720px;
}

.nb-timeline::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--nb-accent), transparent);
  opacity: 0.5;
}

.nb-timeline-item {
  position: relative;
  padding-left: 2.5rem;
  margin-bottom: 1.25rem;
}

.nb-timeline-dot {
  position: absolute;
  left: 2px;
  top: 0.35rem;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: radial-gradient(circle, var(--nb-accent-2), var(--nb-accent));
  box-shadow: 0 0 12px rgba(123, 92, 255, 0.9);
}

.nb-timeline-content h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
}

.nb-timeline-content p {
  margin: 0;
  color: var(--nb-text-muted);
  font-size: 0.9rem;
}

/* Highlight / pills */

.nb-highlight {
  background: linear-gradient(135deg, rgba(123, 92, 255, 0.12), rgba(74, 242, 161, 0.08));
  border-radius: var(--nb-radius-lg);
  padding: 1.35rem 1.2rem;
  border: 1px solid rgba(123, 92, 255, 0.4);
  box-shadow: var(--nb-shadow-soft);
}

.nb-highlight h3 {
  margin: 0 0 0.8rem;
  font-size: 1.05rem;
}

.nb-highlight-marquee {
  overflow: hidden;
  width: 100%;
}

.nb-highlight-track {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 0.8rem;
  width: max-content;
}

.nb-pill-card {
  background: #050712;
  border-radius: var(--nb-radius-md);
  padding: 0;
  border: none;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  flex: 0 0 210px;
  height: 92px;
  transition: none;
}

.nb-pill-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(5, 7, 18, 0.62);
  transition: opacity var(--nb-transition-fast);
}

.nb-pill-card:hover {
  transform: none;
  border-color: transparent;
  box-shadow: none;
}

.nb-pill-card:hover::after {
  opacity: 0;
}

.nb-pill-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* About */

.nb-about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: stretch;
}

.nb-about-copy {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.nb-about-copy .nb-section-header {
  margin-bottom: 0.9rem;
}

.nb-about-copy p {
  margin: 0;
  color: var(--nb-text-muted);
}

.nb-about-card {
  background: radial-gradient(circle at top, #1a1f3b 0, #050712 60%);
  border-radius: var(--nb-radius-lg);
  padding: 1.3rem 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: var(--nb-shadow-soft);
}

.nb-about-card h3 {
  margin: 0 0 0.75rem;
}

.nb-about-badge {
  margin-top: 1.1rem;
  display: inline-flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.6rem 0.9rem;
  border-radius: var(--nb-radius-md);
  background: rgba(5, 7, 18, 0.9);
  border: 1px solid rgba(123, 92, 255, 0.6);
  font-size: 0.85rem;
}

/* Consultation / contact */

.nb-consult-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: stretch;
}

.nb-consult-info {
  display: flex;
  flex-direction: column;
}

.nb-consult-info .nb-section-header {
  margin-bottom: 0.9rem;
}

.nb-consult-info .nb-list {
  margin-bottom: 0;
}

.nb-card-form {
  background: rgba(5, 7, 18, 0.9);
}

.nb-card-form h3 {
  text-align: center;
}

.nb-form {
  margin-top: 0.75rem;
}

.nb-form-row {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 0.9rem;
}

.nb-form-row label {
  font-size: 0.85rem;
  color: var(--nb-text-muted);
}

.nb-form-row input,
.nb-form-row textarea {
  border-radius: var(--nb-radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(5, 7, 18, 0.9);
  color: var(--nb-text);
  padding: 0.55rem 0.7rem;
  font-size: 0.9rem;
  outline: none;
  transition: border-color var(--nb-transition-fast), box-shadow var(--nb-transition-fast),
    background var(--nb-transition-fast);
}

.nb-form-row input::placeholder,
.nb-form-row textarea::placeholder {
  color: rgba(163, 167, 194, 0.6);
}

.nb-form-row input:focus,
.nb-form-row textarea:focus {
  border-color: rgba(123, 92, 255, 0.9);
  box-shadow: 0 0 0 1px rgba(123, 92, 255, 0.6);
  background: rgba(5, 7, 18, 0.95);
}

.nb-form-note {
  margin: 0.75rem 0 0.25rem;
  font-size: 0.8rem;
  color: var(--nb-text-muted);
  text-align: center;
}

.nb-form-note a {
  color: var(--nb-accent-2);
  text-decoration: none;
}

.nb-form-note a:hover {
  text-decoration: underline;
}

.nb-form-status {
  margin: 0.25rem 0 0;
  font-size: 0.8rem;
  text-align: center;
}

.nb-social-links {
  margin-top: auto;
  padding-top: 1.15rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.nb-social-links a {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--nb-text);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: transform var(--nb-transition-fast), border-color var(--nb-transition-fast),
    background var(--nb-transition-fast), color var(--nb-transition-fast);
}

.nb-social-links a:hover {
  transform: translateY(-1px);
  border-color: rgba(123, 92, 255, 0.7);
  background: rgba(123, 92, 255, 0.16);
  color: var(--nb-accent-2);
}

.nb-back-to-top {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--nb-accent-2);
  background: rgba(5, 7, 18, 0.5);
  border: 1px solid rgba(123, 92, 255, 0.55);
  backdrop-filter: blur(8px);
  z-index: 120;
  transition: transform var(--nb-transition-fast), background var(--nb-transition-fast),
    border-color var(--nb-transition-fast), color var(--nb-transition-fast);
}

.nb-back-to-top:hover {
  transform: translateY(-1px);
  background: rgba(5, 7, 18, 0.75);
  border-color: rgba(74, 242, 161, 0.65);
  color: var(--nb-text);
}

/* Footer */

.nb-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 1.5rem 0 1.75rem;
  background: rgba(5, 7, 18, 0.98);
}

.nb-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  font-size: 0.8rem;
  color: var(--nb-text-muted);
}

.nb-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.nb-footer-links a {
  color: var(--nb-text-muted);
  text-decoration: none;
}

.nb-footer-links a:hover {
  color: var(--nb-text);
}

/* Responsive */

@media (max-width: 1100px) {
  .nb-container {
    padding: 0 1.25rem;
  }

  .nb-nav {
    gap: 1rem;
  }

  .nb-btn {
    padding: 0.52rem 1.1rem;
  }
}

@media (max-width: 960px) {
  .nb-section {
    padding: 3.6rem 0;
  }

  .nb-hero {
    padding: 1.2rem 0 0.9rem;
  }

  #services.nb-section {
    padding-top: 1.55rem;
  }

  .nb-hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
  }

  .nb-hero-visual {
    order: -1;
  }

  .nb-hero-copy {
    text-align: center;
  }

  .nb-hero-copy p {
    margin-inline: auto;
  }

  .nb-hero-actions,
  .nb-hero-meta {
    justify-content: center;
  }

  .nb-grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nb-about-grid,
  .nb-consult-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .nb-social-links {
    margin-top: 1rem;
  }
}

@media (max-width: 768px) {
  .nb-header-inner {
    padding: 0.5rem 1rem;
  }

  .nb-nav {
    position: absolute;
    inset-inline: 1rem;
    top: 56px;
    background: rgba(5, 7, 18, 0.98);
    border-radius: var(--nb-radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 0.75rem 1rem 0.9rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    transform-origin: top;
    transform: scaleY(0.8);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease-out, transform 0.18s ease-out;
  }

  .nb-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: scaleY(1);
  }

  .nb-nav .nb-btn {
    width: 100%;
  }

  .nb-nav-toggle {
    display: inline-flex;
  }

  .nb-grid-3 {
    grid-template-columns: minmax(0, 1fr);
  }

  .nb-section {
    padding: 3.1rem 0;
  }

  .nb-hero {
    padding: 1rem 0 0.75rem;
  }

  #services.nb-section {
    padding-top: 1.3rem;
  }

  .nb-section-header h2 {
    font-size: 1.95rem;
  }

  .nb-hero-caption {
    margin-top: -1.4rem;
  }

  .nb-footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .nb-back-to-top {
    right: 0.75rem;
    bottom: 0.75rem;
    width: 36px;
    height: 36px;
  }
}

@media (max-width: 480px) {
  .nb-container {
    padding: 0 1rem;
  }

  .nb-hero-copy h1 {
    font-size: 2.1rem;
  }

  .nb-hero {
    padding: 0.8rem 0 0.65rem;
  }

  .nb-hero-caption {
    margin-top: -0.85rem;
  }

  .nb-hero-actions .nb-btn {
    width: 100%;
  }

  .nb-hero-meta {
    column-gap: 0.65rem;
    row-gap: 0.25rem;
    justify-content: flex-start;
  }

  .nb-pill-card {
    flex-basis: 176px;
    height: 82px;
  }

  .nb-hero-meta span {
    width: 100%;
  }

  .nb-orbit {
    width: 220px;
    height: 220px;
  }

  .nb-orbit-ring-1,
  .nb-orbit-ring-2,
  .nb-orbit-ring-3 {
    font-size: 0.7rem;
  }

  .nb-about-badge {
    width: 100%;
  }

  .nb-footer-links {
    gap: 0.6rem 1rem;
  }
}
