/* ========================================================================
   NETMANA — Pacific Technical Design System
   Typography: Instrument Serif (display) + Outfit (UI) + JetBrains Mono
   Palette: Midnight Navy + Warm Gold + Pearl
   ======================================================================== */

/* --- Custom Properties --- */
:root {
  /* Colors */
  --midnight: #0a0f1a;
  --midnight-light: #111827;
  --navy: #1a2744;
  --navy-muted: #243352;
  --gold: #c8a24d;
  --gold-light: #d4b86a;
  --gold-dim: rgba(200, 162, 77, 0.12);
  --gold-glow: rgba(200, 162, 77, 0.25);
  --pearl: #f5f2eb;
  --pearl-warm: #faf8f3;
  --white: #ffffff;
  --slate: #64748b;
  --slate-light: #94a3b8;
  --text-dark: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;
  --border: #e2e0d8;
  --border-light: #eceae4;

  /* Typography */
  --font-display: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', 'Fira Code', monospace;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-section: clamp(5rem, 10vw, 9rem);

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(10, 15, 26, 0.04);
  --shadow-md: 0 4px 16px rgba(10, 15, 26, 0.07);
  --shadow-lg: 0 12px 40px rgba(10, 15, 26, 0.1);

  /* Radii */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --duration: 0.35s;
  --duration-slow: 0.6s;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-body);
  background: var(--pearl);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

::selection {
  background: var(--gold);
  color: var(--midnight);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  border: none;
  background: none;
  font: inherit;
  cursor: pointer;
  color: inherit;
}

/* --- Scrollbar --- */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--midnight);
}
::-webkit-scrollbar-thumb {
  background: var(--navy-muted);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gold);
}

/* --- Container --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
}

/* --- Section Headers --- */
.section-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold);
  display: block;
  margin-bottom: var(--space-sm);
}

.section-label--light {
  color: var(--gold-light);
}

.section-rule {
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin-bottom: var(--space-lg);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--text-dark);
  letter-spacing: -0.01em;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-top: var(--space-sm);
  max-width: 520px;
  line-height: 1.6;
}

.section-header {
  margin-bottom: var(--space-xl);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 2rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--radius-sm);
  transition: all var(--duration) var(--ease-out);
  cursor: pointer;
  text-decoration: none;
}

.btn-gold {
  background: var(--gold);
  color: var(--midnight);
  box-shadow: 0 2px 12px rgba(200, 162, 77, 0.25);
}

.btn-gold:hover {
  background: var(--gold-light);
  box-shadow: 0 4px 20px rgba(200, 162, 77, 0.4);
  transform: translateY(-1px);
}

.btn-outline {
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  color: var(--white);
  background: transparent;
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-full {
  width: 100%;
}

/* --- Animations --- */
.animate-in {
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp 0.7s var(--ease-out) forwards;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--duration-slow) var(--ease-out),
              transform var(--duration-slow) var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}


/* ========================================================================
   NAVIGATION
   ======================================================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.25rem 0;
  transition: all var(--duration) var(--ease-in-out);
}

.nav.scrolled {
  background: rgba(250, 248, 243, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 0.85rem 0;
  box-shadow: 0 1px 0 var(--border);
}

.nav.scrolled .nav-logo {
  color: var(--text-dark);
}

.nav.scrolled .nav-links a {
  color: var(--text-body);
}

.nav.scrolled .nav-links a:hover {
  color: var(--gold);
}

.nav.scrolled .nav-cta {
  color: var(--midnight) !important;
  background: var(--gold);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--white);
  transition: color var(--duration) var(--ease-in-out);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--slate-light);
  transition: color var(--duration) var(--ease-in-out);
  letter-spacing: 0.01em;
}

.nav-links a:hover {
  color: var(--white);
}

.nav-cta {
  padding: 0.55rem 1.4rem !important;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  transition: all var(--duration) var(--ease-out) !important;
}

.nav-cta:hover {
  border-color: var(--gold) !important;
  color: var(--gold) !important;
}

.nav.scrolled .nav-cta {
  border-color: transparent;
}

.nav.scrolled .nav-cta:hover {
  background: var(--gold-light) !important;
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  z-index: 101;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--white);
  transition: all var(--duration) var(--ease-out);
  transform-origin: center;
}

.nav.scrolled .nav-toggle span {
  background: var(--text-dark);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(4.5px, 4.5px);
}
.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(4.5px, -4.5px);
}


/* ========================================================================
   HERO
   ======================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--midnight);
  overflow: hidden;
}

#networkCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 59px,
      rgba(26, 39, 68, 0.35) 59px,
      rgba(26, 39, 68, 0.35) 60px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 59px,
      rgba(26, 39, 68, 0.35) 59px,
      rgba(26, 39, 68, 0.35) 60px
    );
  opacity: 0.4;
  pointer-events: none;
}

.hero-fade {
  position: absolute;
  inset: 0;
  z-index: 3;
  background:
    linear-gradient(135deg, rgba(10, 15, 26, 0.85) 0%, rgba(10, 15, 26, 0.4) 50%, transparent 100%),
    linear-gradient(to bottom, transparent 60%, var(--midnight) 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 4;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
  padding-top: 6rem;
}

.hero-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold);
  display: block;
  margin-bottom: var(--space-md);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 400;
  line-height: 1.05;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-md);
}

.hero-title em {
  font-style: italic;
  color: var(--gold);
}

.hero-sub {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--slate-light);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: var(--space-lg);
  font-weight: 300;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Hero Stats Bar */
.hero-stats {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: auto 1px auto 1px auto 1px auto;
  align-items: center;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
  margin-top: auto;
  padding-bottom: 3rem;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-row {
  display: flex;
  align-items: baseline;
}

.stat-number {
  font-family: var(--font-body);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--white);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.stat-plus {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.8vw, 1.3rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--slate);
  margin-top: 0.4rem;
  white-space: nowrap;
}

.stat-divider {
  width: 1px;
  height: 32px;
  background: var(--navy-muted);
}


/* ========================================================================
   SCENARIO — Before/After
   ======================================================================== */
.scenario {
  padding: var(--space-section) 0;
  background: var(--pearl);
}

.scenario-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.scenario-col {
  padding: clamp(1.5rem, 2.5vw, 2rem);
  border-radius: var(--radius-md);
}

.scenario-before {
  background: var(--white);
  border: 1px solid var(--border);
}

.scenario-after {
  background: var(--midnight);
  border: 1px solid var(--navy-muted);
}

.scenario-heading {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.scenario-heading--good {
  color: var(--gold);
  border-color: var(--navy-muted);
}

.scenario-step {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.6rem 0;
}

.step-num {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--slate);
  flex-shrink: 0;
  padding-top: 0.15rem;
}

.scenario-before .scenario-step p {
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.5;
}

.scenario-after .scenario-step p {
  font-size: 0.9rem;
  color: var(--slate-light);
  line-height: 1.5;
}

.scenario-after .step-num {
  color: var(--gold);
}

.scenario-step--bad p {
  color: var(--text-dark) !important;
  font-weight: 600;
}

.scenario-step--good p {
  color: var(--gold) !important;
  font-weight: 600;
}


/* ========================================================================
   APPROACH — 3-step narrative
   ======================================================================== */
.approach {
  padding: var(--space-section) 0;
  background: var(--midnight);
}

.approach-step {
  display: flex;
  gap: clamp(1.5rem, 3vw, 3rem);
  padding: var(--space-lg) 0;
  border-bottom: 1px solid var(--navy-muted);
}

.approach-step:last-of-type {
  border-bottom: none;
}

.approach-num {
  font-family: var(--font-mono);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 500;
  color: var(--gold);
  line-height: 1;
  flex-shrink: 0;
  opacity: 0.5;
}

.approach-body h3 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  font-weight: 400;
  color: var(--pearl);
  margin-bottom: 0.75rem;
}

.approach-body p {
  font-size: 0.95rem;
  color: var(--slate-light);
  line-height: 1.75;
  max-width: 640px;
}

.approach-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.approach-tags span {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.7rem;
  background: rgba(200, 162, 77, 0.1);
  color: var(--gold);
  border-radius: 3px;
  border: 1px solid rgba(200, 162, 77, 0.15);
}


/* ========================================================================
   SCANOTRON — Custom software spotlight
   ======================================================================== */
.scanotron {
  padding: var(--space-section) 0;
  background: var(--midnight-light);
}

.scanotron-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.scanotron-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 400;
  color: var(--pearl);
  line-height: 1.2;
  margin-bottom: var(--space-md);
}

.scanotron-title em {
  color: var(--gold);
  font-style: italic;
}

.scanotron-content p {
  font-size: 0.95rem;
  color: var(--slate-light);
  line-height: 1.75;
  margin-bottom: var(--space-sm);
}

.scanotron-terminal {
  background: #0d1117;
  border-radius: var(--radius-md);
  border: 1px solid var(--navy-muted);
  overflow: hidden;
}

.terminal-bar {
  display: flex;
  gap: 6px;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--navy-muted);
}

.terminal-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--navy-muted);
}

.terminal-bar span:first-child { background: #ff5f57; }
.terminal-bar span:nth-child(2) { background: #febc2e; }
.terminal-bar span:nth-child(3) { background: #28c840; }

.terminal-body {
  padding: 1.25rem 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  line-height: 1.8;
}

.t-gray { color: var(--slate); }
.t-white { color: var(--pearl); }
.t-gold { color: var(--gold); }

/* Nav active state */
.nav-active {
  color: var(--gold) !important;
}


/* ========================================================================
   SOFTWARE SERVICES PAGE
   ======================================================================== */
.sw-hero {
  background: var(--pearl);
  padding: calc(var(--space-section) + 4rem) 0 var(--space-section);
}

.sw-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--text-dark);
  margin-bottom: var(--space-md);
}

.sw-hero-title em {
  color: var(--gold);
  font-style: italic;
}

.sw-hero-sub {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--text-muted);
  max-width: 540px;
  line-height: 1.7;
  font-weight: 300;
}

/* Shared product tag */
.sw-product-tag {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  display: block;
  margin-bottom: 0.5rem;
}

/* Featured product (Scanotron) */
.sw-featured {
  padding: var(--space-section) 0;
  background: var(--midnight);
}

.sw-featured-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.sw-featured-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.5rem);
  font-weight: 400;
  color: var(--pearl);
  margin-bottom: 0.25rem;
}

.sw-featured-desc {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--gold);
  display: block;
  margin-bottom: var(--space-md);
}

.sw-featured-content p {
  font-size: 0.95rem;
  color: var(--slate-light);
  line-height: 1.75;
  margin-bottom: var(--space-md);
}

.sw-featured-stats {
  display: flex;
  gap: 2rem;
  margin-bottom: var(--space-lg);
  padding: var(--space-md) 0;
  border-top: 1px solid var(--navy-muted);
  border-bottom: 1px solid var(--navy-muted);
}

.sw-stat {
  display: flex;
  flex-direction: column;
}

.sw-stat-val {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--pearl);
}

.sw-stat-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--slate);
  margin-top: 0.2rem;
}

/* Other products (side by side) */
.sw-other {
  padding: var(--space-xl) 0 var(--space-section);
  background: var(--midnight);
}

.sw-other-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.sw-other-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--navy-muted);
  border-radius: var(--radius-md);
  padding: clamp(1.5rem, 2.5vw, 2.25rem);
  transition: all var(--duration) var(--ease-out);
}

.sw-other-card:hover {
  border-color: var(--gold);
  background: rgba(200, 162, 77, 0.04);
}

.sw-other-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--pearl);
  margin-bottom: 0.75rem;
}

.sw-other-card p {
  font-size: 0.9rem;
  color: var(--slate-light);
  line-height: 1.7;
}

.sw-other-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.sw-other-features span {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.65rem;
  background: rgba(200, 162, 77, 0.1);
  color: var(--gold);
  border-radius: 3px;
  border: 1px solid rgba(200, 162, 77, 0.15);
}

/* Capabilities grid */
.sw-capabilities {
  padding: var(--space-section) 0;
  background: var(--midnight-light);
}

.sw-cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.sw-cap {
  padding: var(--space-md);
  border-bottom: 1px solid var(--navy-muted);
}

.sw-cap h3 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--pearl);
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.sw-cap p {
  font-size: 0.85rem;
  color: var(--slate);
  line-height: 1.6;
}

.sw-cap .approach-num {
  font-size: 1.5rem;
  opacity: 0.4;
}

/* Process — split layout */
.sw-process-section {
  padding: var(--space-section) 0;
  background: var(--pearl);
}

.sw-process-layout {
  display: grid;
  grid-template-columns: 0.45fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.sw-step {
  display: flex;
  gap: clamp(1rem, 2vw, 2rem);
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--border);
}

.sw-step:last-of-type {
  border-bottom: none;
}

.sw-step .approach-num {
  color: var(--gold);
}

.sw-step .approach-body h3 {
  color: var(--text-dark);
}

.sw-step .approach-body p {
  color: var(--text-body);
}

@media (max-width: 1024px) {
  .sw-featured-layout {
    grid-template-columns: 1fr;
  }

  .sw-other-grid {
    grid-template-columns: 1fr;
  }

  .sw-cap-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .sw-process-layout {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
}

@media (max-width: 768px) {
  .sw-cap-grid {
    grid-template-columns: 1fr;
  }

  .sw-featured-stats {
    flex-wrap: wrap;
    gap: 1.25rem;
  }

  .sw-step {
    flex-direction: column;
    gap: 0.5rem;
  }
}

/* Software services grid */
.sw-services {
  padding: var(--space-section) 0;
  background: var(--pearl-warm);
}

.sw-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.sw-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: clamp(1.25rem, 2vw, 1.75rem);
  transition: all var(--duration) var(--ease-out);
}

.sw-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.sw-card-num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--gold);
  display: block;
  margin-bottom: 0.75rem;
}

.sw-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--text-dark);
  margin-bottom: 0.6rem;
}

.sw-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Software process */
.sw-process {
  padding: var(--space-section) 0;
  background: var(--midnight);
}

.sw-step {
  display: flex;
  gap: clamp(1.5rem, 3vw, 3rem);
  padding: var(--space-lg) 0;
  border-bottom: 1px solid var(--navy-muted);
}

.sw-step:last-of-type {
  border-bottom: none;
}

/* Software CTA */
.sw-cta {
  padding: var(--space-section) 0;
  background: var(--pearl);
}

@media (max-width: 1024px) {
  .sw-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .sw-grid {
    grid-template-columns: 1fr;
  }

  .sw-step {
    flex-direction: column;
    gap: 0.75rem;
  }
}


/* ========================================================================
   PARTNERSHIPS
   ======================================================================== */
.partners {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2rem 0;
}

.partners-inner {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.partners-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  white-space: nowrap;
  flex-shrink: 0;
}

.partners-logos {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.partner-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.partner-name {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: 0.02em;
}

.partner-badge {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  background: var(--gold-dim);
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
}

.partner-divider {
  width: 1px;
  height: 28px;
  background: var(--border);
}


/* Property detail text */
.property-detail {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: var(--space-sm);
}

/* Origin values on light bg */
.origin-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: var(--space-xl);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--border);
}

.origin-values .value-mono {
  color: var(--gold);
}

.origin-values h4 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.origin-values p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
}


/* ========================================================================
   PROPERTIES
   ======================================================================== */
.properties {
  padding: var(--space-section) 0;
  background: var(--pearl);
}

.properties-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.property-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: clamp(1.25rem, 2vw, 1.75rem);
  transition: all var(--duration) var(--ease-out);
  position: relative;
}

.property-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
}

.property-featured {
  border-color: var(--gold);
  background: linear-gradient(135deg, var(--white) 0%, rgba(200, 162, 77, 0.04) 100%);
}

.property-units {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  margin-bottom: var(--space-sm);
}

.units-number {
  font-family: var(--font-body);
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1;
}

.units-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.property-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--text-dark);
  margin-bottom: 0.3rem;
}

.property-address {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: var(--space-sm);
}

.property-services {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.property-services span {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.6rem;
  background: var(--gold-dim);
  color: var(--gold);
  border-radius: 3px;
}


/* value-mono shared style */
.value-mono {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--gold);
  display: block;
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
}

/* ========================================================================
   ORIGIN / OUR NAME
   ======================================================================== */
.origin {
  padding: var(--space-section) 0;
  background: var(--pearl-warm);
  border-top: 1px solid var(--border);
}

.origin-layout {
  display: grid;
  grid-template-columns: 0.4fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
}

.origin-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-lg);
}

.origin-logo-svg,
.origin-logo-img {
  width: 100%;
  max-width: 200px;
}

.origin-coords {
  text-align: center;
}

.location-mono {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--gold);
  display: block;
  letter-spacing: 0.05em;
  margin-bottom: 0.3rem;
}

.location-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--text-muted);
}

.origin-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  font-weight: 400;
  color: var(--text-dark);
  margin-bottom: 0.3rem;
}

.origin-title em {
  font-style: italic;
}

.origin-translation {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--gold);
  display: block;
  margin-bottom: var(--space-lg);
}

.origin-text p {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: var(--space-md);
}

.origin-tagline {
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid var(--border);
  font-size: 1.1rem;
  color: var(--text-muted);
}

.origin-tag-label {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-style: italic;
  color: var(--text-dark);
}

.origin-tag-meaning {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-top: 0.4rem;
  text-transform: uppercase;
}


/* ========================================================================
   CONTACT
   ======================================================================== */
.contact {
  padding: var(--space-section) 0;
  background: var(--pearl-warm);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 0.65fr;
  gap: var(--space-2xl);
  align-items: start;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
  letter-spacing: 0.01em;
}

.form-group .optional {
  font-weight: 400;
  color: var(--text-muted);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-dark);
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color var(--duration) var(--ease-out),
              box-shadow var(--duration) var(--ease-out);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-dim);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding-top: 0.5rem;
}

.info-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  display: block;
  margin-bottom: 0.35rem;
}

.info-block a,
.info-block p {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-dark);
  line-height: 1.5;
}

.info-block a {
  transition: color var(--duration) var(--ease-out);
}

.info-block a:hover {
  color: var(--gold);
}

.info-sub {
  font-size: 0.82rem !important;
  font-weight: 400 !important;
  color: var(--text-muted) !important;
  margin-top: 0.2rem;
}


/* ========================================================================
   FOOTER
   ======================================================================== */
.footer {
  background: var(--midnight);
  padding: 3rem 0;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.footer-logo-icon {
  width: 24px;
  height: 24px;
  color: var(--gold);
}

.footer-logo {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--white);
}

.footer-tagline {
  font-size: 0.75rem;
  color: var(--slate);
  display: block;
  margin-top: 0.25rem;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  font-size: 0.82rem;
  color: var(--slate);
  transition: color var(--duration) var(--ease-out);
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-legal p {
  font-size: 0.75rem;
  color: var(--slate);
}


/* ========================================================================
   RESPONSIVE
   ======================================================================== */

/* Tablet */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-large,
  .service-card:nth-child(2),
  .service-card:nth-child(3),
  .service-wide {
    grid-column: span 1;
  }

  .properties-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .scenario-grid {
    grid-template-columns: 1fr 1fr;
  }

  .scanotron-layout {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  .origin-layout {
    grid-template-columns: 0.5fr 1fr;
    gap: 3rem;
  }

  .origin-values {
    grid-template-columns: repeat(3, 1fr);
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .footer-inner {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    inset: 0;
    background: var(--midnight);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s var(--ease-out);
    z-index: 99;
  }

  .nav-links.open {
    opacity: 1;
    pointer-events: all;
  }

  .nav-links a {
    font-size: 1.2rem;
    color: var(--white) !important;
  }

  .nav-cta {
    font-size: 1.2rem !important;
    border-color: var(--gold) !important;
    color: var(--gold) !important;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-title {
    font-size: clamp(2.2rem, 8vw, 3.5rem);
  }

  .hero-stats {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  .stat-divider {
    display: none;
  }

  .scenario-grid {
    grid-template-columns: 1fr;
  }

  .approach-step {
    flex-direction: column;
    gap: 0.75rem;
  }

  .scanotron-layout {
    grid-template-columns: 1fr;
  }

  .partners-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .partners-logos {
    gap: 1.5rem;
  }

  .partner-divider {
    display: none;
  }

  .properties-grid {
    grid-template-columns: 1fr;
  }

  .origin-layout {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .origin-logo {
    order: -1;
  }

  .origin-logo-img {
    max-width: 150px;
  }

  .origin-values {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .origin-text p {
    text-align: left;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.25rem;
  }
}

/* Small mobile */
@media (max-width: 480px) {
  .hero-content {
    padding-top: 5rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
    text-align: center;
  }
}


/* ========================================================================
   FORM SUCCESS STATE
   ======================================================================== */
.form-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-xl) var(--space-lg);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.form-success-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gold-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-sm);
  color: var(--gold);
}

.form-success h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.form-success p {
  font-size: 0.9rem;
  color: var(--text-muted);
}
