/* ============ TOKENS ============ */
:root {
  --orange: #ff9933;
  --green: #8ed158;
  --blue: #6fa3c5;
  --accent: #ff9933;

  --bg: #0a0c10;
  --bg-2: #11141a;
  --bg-3: #181c24;
  --bg-card: #141821;
  --ink: #f1efe8;
  --ink-2: #b8b5ad;
  --ink-3: #777269;
  --line: #232830;
  --line-2: #2d3340;

  --dark: #050608;
  --dark-2: #0a0c10;
  --dark-line: #1a1d24;

  --glow-orange: 0 0 24px rgba(255, 153, 51, 0.35);
  --glow-blue: 0 0 24px rgba(111, 163, 197, 0.3);

  --font-he: "Assistant", system-ui, sans-serif;
  --font-mono: "Space Grotesk", "JetBrains Mono", monospace;

  --container: 1240px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: var(--font-he);
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

/* ============ NAVBAR ============ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 12, 16, 0.72);
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}
.navbar.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(10, 12, 16, 0.92);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
  gap: 32px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo-mark {
  display: flex;
  align-items: center;
}
.logo-mark img {
  height: 72px;
  width: auto;
  display: block;
}
body.nav-compact .logo-mark img { height: 48px; }
.footer .logo-mark img { height: 90px; }
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.logo-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
}
.logo-sub {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.15em;
  color: var(--ink-3);
  margin-top: 4px;
}

.nav-links {
  display: flex;
  gap: 28px;
  font-size: 15px;
}
.nav-links a {
  color: var(--ink-2);
  position: relative;
  padding: 4px 0;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--ink); }.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.25s;
}
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  display: flex;
  align-items: center;
  gap: 18px;
}
.nav-phone {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.btn-mini {
  background: var(--accent);
  color: #0a0c10;
  padding: 9px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  transition: all 0.2s;
  box-shadow: var(--glow-orange);
}
.btn-mini:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 32px rgba(255, 153, 51, 0.5);
}

body.nav-compact .nav-inner { padding: 10px 32px; }
body.nav-compact .logo-mark svg { width: 26px; height: 26px; }
body.nav-compact .logo-name { font-size: 16px; }

/* ============ HERO ============ */
.hero {
  position: relative;
  background: radial-gradient(ellipse at 70% 30%, #1a1f2e 0%, #0a0c10 50%, #050608 100%);
  color: var(--ink);
  padding: 120px 0 100px;
  overflow: hidden;
  isolation: isolate;
}

body.hero-light .hero {
  background: var(--bg-2);
  color: var(--ink);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  z-index: 0;
  pointer-events: none;
  animation: gridDrift 40s linear infinite;
}
@keyframes gridDrift {
  from { background-position: 0 0; }
  to { background-position: 60px 60px; }
}
body.hero-light .hero-grid {
  background-image:
    linear-gradient(to right, rgba(0,0,0,0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0,0,0,0.06) 1px, transparent 1px);
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.hero-vignette {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 70% at 30% 50%, rgba(14, 14, 14, 0.55), transparent 70%),
    linear-gradient(to bottom, rgba(14, 14, 14, 0.0), rgba(14, 14, 14, 0.5));
}

body.hero-light .hero-vignette {
  background:
    radial-gradient(ellipse 60% 70% at 30% 50%, rgba(241, 240, 235, 0.65), transparent 70%),
    linear-gradient(to bottom, rgba(241, 240, 235, 0), rgba(241, 240, 235, 0.5));
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1100px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.15em;
  padding: 8px 16px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 999px;
  margin-bottom: 40px;
  background: rgba(255,255,255,0.03);
}
body.hero-light .hero-tag {
  border-color: rgba(0,0,0,0.15);
  background: rgba(255,255,255,0.5);
}

.hero-tag .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px currentColor;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.2); }
}

.hero-title {
  font-size: clamp(48px, 8vw, 110px);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin: 0 0 32px;
}
.hero-title-accent {
  color: var(--accent);
  font-style: italic;
  font-weight: 400;
}

.hero-sub {
  font-size: clamp(18px, 1.5vw, 22px);
  color: rgba(240, 238, 231, 0.7);
  max-width: 620px;
  margin: 0 0 56px;
  line-height: 1.55;
}
body.hero-light .hero-sub { color: var(--ink-2); }

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 80px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 28px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
}
.btn-solid {
  background: var(--accent);
  color: #0a0c10;
  box-shadow: var(--glow-orange);
}
.btn-solid:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(255, 153, 51, 0.6);
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  color: inherit;
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--accent);
  color: var(--accent);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
body.hero-light .hero-stats { border-top-color: rgba(0,0,0,0.1); }

.stat-num {
  font-family: var(--font-mono);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
}
.stat-num span {
  color: var(--accent);
  margin-right: 4px;
}
.stat-label {
  font-size: 13px;
  color: rgba(240, 238, 231, 0.6);
  margin-top: 8px;
  letter-spacing: 0.05em;
}
body.hero-light .stat-label { color: var(--ink-3); }

.hero-marker {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.35);
  z-index: 2;
}
body.hero-light .hero-marker { color: rgba(0,0,0,0.3); }
.hero-marker-tl { top: 24px; right: 32px; }
.hero-marker-br { bottom: 24px; left: 32px; }

/* ============ SECTIONS ============ */
.section {
  padding: 120px 0;
  position: relative;
}

.sec-head {
  margin-bottom: 64px;
  max-width: 800px;
}
.sec-head-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}
.sec-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.15em;
}
.sec-eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--ink-3);
}
.sec-title {
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
}
.sec-rule {
  width: 60px;
  height: 2px;
  background: var(--accent);
}

.sec-head.is-inverse .sec-eyebrow { color: rgba(255,255,255,0.5); }
.sec-head.is-inverse .sec-title { color: white; }

/* ============ MATERIALS ============ */
.materials {
  background: var(--bg-2);
  position: relative;
}
.materials::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 80% 0%, rgba(255, 153, 51, 0.08), transparent 70%);
  pointer-events: none;
}
.materials > * { position: relative; z-index: 1; }

.tech-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 56px;
}
.tech-tab {
  text-align: right;
  background: var(--bg-card);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 24px 28px;
  cursor: pointer;
  transition: all 0.25s;
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-rows: auto auto;
  gap: 6px 16px;
  align-items: baseline;
  font-family: inherit;
  position: relative;
  overflow: hidden;
}
.tech-tab::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 3px;
  background: var(--accent);
  box-shadow: var(--glow-orange);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.3s;
}
.tech-tab.is-active::before { transform: scaleY(1); }
.tech-tab.is-active {
  background: linear-gradient(135deg, var(--bg-3), var(--bg-card));
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(255, 153, 51, 0.2), 0 12px 32px rgba(0,0,0,0.4);
}
.tech-tab:hover:not(.is-active) {
  border-color: var(--line-2);
  transform: translateY(-2px);
}
.tech-tab-key {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--ink-3);
  grid-column: 1; grid-row: 1;
}
.tech-tab.is-active .tech-tab-key { color: var(--accent); }
.tech-tab-name {
  font-family: var(--font-mono);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.01em;
  grid-column: 2; grid-row: 1;
}
.tech-tab-desc {
  grid-column: 1 / -1; grid-row: 2;
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.5;
  margin-top: 8px;
}
.tech-tab.is-active .tech-tab-desc { color: var(--ink-2); }
.tech-tab-count {
  grid-column: 3; grid-row: 1;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-3);
  letter-spacing: 0.05em;
}
.tech-tab.is-active .tech-tab-count { color: var(--accent); }

.materials-wrap {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 40px;
  align-items: start;
}

.materials-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
  max-height: 620px;
  overflow-y: auto;
  padding-left: 4px;
}
.materials-list::-webkit-scrollbar { width: 4px; }
.materials-list::-webkit-scrollbar-thumb { background: var(--line); border-radius: 2px; }
.materials-list::-webkit-scrollbar-thumb:hover { background: var(--ink-3); }

.materials-list-head {
  display: grid;
  grid-template-columns: 1fr 80px;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--ink-3);
  text-transform: uppercase;
}

.mat-row {
  display: grid;
  grid-template-columns: 1fr 80px auto;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  text-align: right;
  transition: all 0.2s;
  cursor: pointer;
  font-family: inherit;
}
.mat-row:hover, .mat-row.is-active {
  padding-right: 12px;
  background: linear-gradient(to left, transparent, rgba(255, 153, 51, 0.08));
}
.mat-code {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
}
.mat-name {
  font-size: 17px;
  font-weight: 600;
  color: #8ec5e8;
}
.mat-row.is-active .mat-name,
.mat-row:hover .mat-name { color: #b8dcf2; }
.mat-temp {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-3);
}
.mat-arrow {
  color: var(--ink-3);
  opacity: 0;
  transform: translateX(8px);
  transition: all 0.25s;
  display: flex;
}
.mat-row.is-active .mat-arrow,
.mat-row:hover .mat-arrow {
  opacity: 1;
  transform: translateX(0);
  color: var(--accent);
}

.materials-detail {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 28px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 28px;
  animation: fadeUp 0.35s ease forwards;
  position: sticky;
  top: 100px;
  box-shadow: 0 24px 48px rgba(0,0,0,0.3);
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 960px) {
  .tech-tabs { grid-template-columns: 1fr; }
  .materials-list { max-height: none; }
  .materials-detail { position: static; }
  .hide-sm { display: none !important; }
  .materials-list-head, .mat-row { grid-template-columns: 1fr auto; }
}

.mat-visual {
  background:
    radial-gradient(ellipse 70% 60% at 50% 40%, color-mix(in oklab, var(--acc) 14%, transparent) 0%, transparent 65%),
    linear-gradient(135deg, var(--bg-3), #0a0c10 80%);
  border-radius: 4px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 320px;
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

/* Print bed grid — drifts slowly, perspective hint */
.mat-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse at center, black 25%, transparent 80%);
  pointer-events: none;
  animation: gridDrift 40s linear infinite;
  z-index: 0;
}

/* Glow border tint by accent */
.mat-visual::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 4px;
  padding: 1px;
  background: linear-gradient(135deg, color-mix(in oklab, var(--acc) 55%, transparent), transparent 50%, color-mix(in oklab, var(--acc) 30%, transparent));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
  opacity: 0.7;
}

/* Layered FX wrapper */
.mat-visual-fx {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

/* Scanning print-head laser line */
.mat-visual-fx .scan {
  position: absolute;
  top: 0; left: -10%;
  width: 120%; height: 2px;
  background: linear-gradient(to right, transparent, var(--acc), transparent);
  box-shadow: 0 0 18px var(--acc), 0 0 36px var(--acc);
  opacity: 0.65;
  animation: matScan 4s ease-in-out infinite;
}
@keyframes matScan {
  0% { top: 8%; opacity: 0; }
  10% { opacity: 0.65; }
  90% { opacity: 0.65; }
  100% { top: 92%; opacity: 0; }
}

/* Build layers stacking from the bottom */
.mat-visual-fx .layers {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 50%;
  background:
    repeating-linear-gradient(to top,
      color-mix(in oklab, var(--acc) 18%, transparent) 0 1px,
      transparent 1px 8px);
  mask-image: linear-gradient(to top, black, transparent);
  animation: matLayers 5s ease-out infinite;
  opacity: 0.5;
}
@keyframes matLayers {
  0% { background-position: 0 100%; opacity: 0; }
  20% { opacity: 0.55; }
  100% { background-position: 0 0%; opacity: 0.05; }
}

/* Drifting filament particles */
.mat-visual-fx .dot {
  position: absolute;
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--acc);
  box-shadow: 0 0 8px var(--acc);
  opacity: 0;
  animation: matDot 7s linear infinite;
}
.mat-visual-fx .dot:nth-child(3) { left: 18%; animation-delay: 0s; }
.mat-visual-fx .dot:nth-child(4) { left: 42%; animation-delay: 1.4s; animation-duration: 9s; }
.mat-visual-fx .dot:nth-child(5) { left: 67%; animation-delay: 2.8s; animation-duration: 8s; }
.mat-visual-fx .dot:nth-child(6) { left: 86%; animation-delay: 4.2s; animation-duration: 10s; }
@keyframes matDot {
  0% { top: -10%; opacity: 0; transform: translateX(0); }
  15% { opacity: 0.9; }
  85% { opacity: 0.9; }
  100% { top: 110%; opacity: 0; transform: translateX(-12px); }
}

/* Crosshair calibration ticks at corners */
.mat-visual-fx .ticks {
  position: absolute; inset: 12px;
  border: 1px solid transparent;
}
.mat-visual-fx .ticks::before,
.mat-visual-fx .ticks::after {
  content: "";
  position: absolute;
  width: 14px; height: 14px;
  border: 1px solid color-mix(in oklab, var(--acc) 50%, transparent);
  opacity: 0.55;
}
.mat-visual-fx .ticks::before { top: 0; left: 0; border-right: none; border-bottom: none; }
.mat-visual-fx .ticks::after  { bottom: 0; right: 0; border-left: none; border-top: none; }

.mat-visual-inner {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}
.mat-svg { width: 100%; max-width: 200px; }
.mat-part svg {
  width: 85%;
  max-width: 240px;
  height: auto;
  filter: drop-shadow(0 4px 18px color-mix(in oklab, var(--acc) 35%, transparent));
  animation: matFloat 6s ease-in-out infinite, matEnter 0.5s ease-out backwards;
}
@keyframes matFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-6px) rotate(0.6deg); }
}
@keyframes matEnter {
  from { opacity: 0; transform: translateY(12px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Coordinate readout strip */
.mat-meta {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.1em;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.mat-meta::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--acc);
  box-shadow: 0 0 10px var(--acc);
  animation: pulse 2s infinite;
}

@media (prefers-reduced-motion: reduce) {
  .mat-visual::before,
  .mat-visual-fx .scan,
  .mat-visual-fx .layers,
  .mat-visual-fx .dot,
  .mat-part svg { animation: none !important; }
}

.mat-info-code {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}
.mat-info-title {
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 14px;
  letter-spacing: -0.01em;
}
.mat-info-desc {
  color: var(--ink-2);
  margin: 0 0 28px;
  line-height: 1.6;
}
.mat-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 28px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.spec-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--ink-3);
  margin-bottom: 4px;
}
.spec-value {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 600;
}
.mat-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border: 1px solid;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s;
}
.mat-cta:hover { transform: translateX(-4px); }

/* ============ PROCESS ============ */
.process {
  background: var(--bg);
  position: relative;
}
.process::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 60% at 0% 30%, rgba(111, 163, 197, 0.06), transparent 70%),
    radial-gradient(ellipse 60% 60% at 100% 80%, rgba(255, 153, 51, 0.05), transparent 70%);
  pointer-events: none;
}
.process > * { position: relative; z-index: 1; }

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  background: var(--bg-card);
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 80px;
}

.process-card {
  position: relative;
  padding: 36px 28px;
  border-left: 1px solid var(--line);
  transition: all 0.3s ease;
  cursor: pointer;
  overflow: hidden;
}
.process-card:last-child { border-left: none; }
.process-card.is-hovered {
  background: linear-gradient(135deg, var(--bg-3), var(--bg-card));
  box-shadow: inset 0 0 0 1px rgba(255, 153, 51, 0.2);
}

.process-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--ink-3);
  margin-bottom: 24px;
}
.process-card.is-hovered .process-num { color: var(--accent); }

.process-icon {
  margin-bottom: 24px;
  color: var(--ink-2);
  transition: color 0.3s;
}
.process-card.is-hovered .process-icon { color: var(--accent); }

.process-title {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.process-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0;
}

.process-line {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 3px;
  background: var(--accent);
  box-shadow: var(--glow-orange);
  transition: width 0.4s ease;
}
.process-card.is-hovered .process-line { width: 100%; }

/* Urgency banner */
.urgency-banner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  background: linear-gradient(135deg, #1a1f2e, #0a0c10);
  color: var(--ink);
  padding: 32px 40px;
  border-radius: 6px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
}
.urgency-banner::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 4px;
  background: var(--accent);
  box-shadow: var(--glow-orange);
}
.urgency-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 40% 80% at 100% 50%, rgba(255, 153, 51, 0.1), transparent 70%);
  pointer-events: none;
}
.urgency-pulse {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 var(--accent);
  animation: pulse-ring 1.8s infinite;
}
@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(255, 153, 51, 0.6); }
  70% { box-shadow: 0 0 0 14px rgba(255, 153, 51, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 153, 51, 0); }
}
.urgency-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 4px;
}
.urgency-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 4px;
}
.urgency-desc {
  font-size: 14px;
  color: var(--ink-2);
}
.urgency-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  background: var(--accent);
  color: #0a0c10;
  border-radius: 999px;
  font-weight: 700;
  white-space: nowrap;
  transition: all 0.2s;
  box-shadow: var(--glow-orange);
  position: relative;
  z-index: 1;
}
.urgency-cta:hover { transform: translateY(-2px); box-shadow: 0 0 40px rgba(255,153,51,0.6); }

/* ============ CAPABILITIES ============ */
.capabilities {
  background: var(--bg-2);
  position: relative;
}
.capabilities::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  pointer-events: none;
}
.capabilities > * { position: relative; z-index: 1; }

.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.cap-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 32px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 16px;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  animation: fadeUp 0.5s both;
}
.cap-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--acc);
  opacity: 0;
  transition: opacity 0.25s;
}
.cap-card > * { position: relative; z-index: 1; }
.cap-card:hover {
  transform: translateY(-4px);
  border-color: var(--acc);
}
.cap-card:hover .cap-tag,
.cap-card:hover .cap-arrow { color: var(--acc); }

.cap-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--ink-3);
  grid-column: 1;
  grid-row: 1;
}
.cap-label {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.01em;
  grid-column: 1;
  grid-row: 2;
}
.cap-arrow {
  font-family: var(--font-mono);
  font-size: 22px;
  color: var(--ink-3);
  grid-column: 2;
  grid-row: 1 / -1;
  transition: transform 0.25s, color 0.25s;
}
.cap-card:hover .cap-arrow { transform: translate(-6px, -4px); }

/* ============ CONTACT ============ */
.contact {
  background: linear-gradient(180deg, var(--bg) 0%, #050608 100%);
  color: var(--ink);
  position: relative;
}
.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 60% at 50% 0%, rgba(255, 153, 51, 0.08), transparent 70%);
  pointer-events: none;
}
.contact > * { position: relative; z-index: 1; }

.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: start;
}

.contact-lead {
  font-size: 20px;
  color: var(--ink-2);
  margin: 0 0 48px;
  line-height: 1.5;
}

.contact-meta {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}
.meta-row {
  display: grid;
  grid-template-columns: 100px 1fr;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  gap: 20px;
}
.meta-key {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--ink-3);
}
.meta-val {
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
}
a.meta-val { transition: color 0.2s; }
a.meta-val:hover { color: var(--accent); }

.trust-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
  font-size: 13px;
  color: var(--ink-3);
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
}
.trust-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
}

/* form card */
.contact-form-card {
  background: var(--bg-card);
  color: var(--ink);
  padding: 36px;
  border-radius: 6px;
  position: relative;
  border: 1px solid var(--line);
  box-shadow: 0 24px 48px rgba(0,0,0,0.4);
}

.form-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 20px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--ink-3);
}
.form-head-num { color: var(--accent); }

.field {
  margin-bottom: 20px;
}
.field label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--ink-2);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 16px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--bg-3);
  color: var(--ink);
  transition: all 0.2s;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--bg-2);
  box-shadow: 0 0 0 3px rgba(255, 153, 51, 0.15);
}
.field textarea { resize: vertical; }
.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: #ff5a4a;
  background: rgba(255, 90, 74, 0.08);
}
.field-error {
  font-size: 11px;
  color: #ff7a6a;
  font-weight: 600;
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
}

.form-submit {
  width: 100%;
  padding: 16px;
  background: var(--accent);
  color: #0a0c10;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.2s;
  box-shadow: var(--glow-orange);
}
.form-submit:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 0 32px rgba(255, 153, 51, 0.5);
}
.form-submit:disabled { opacity: 0.7; cursor: wait; }

.spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(0,0,0,0.3);
  border-top-color: #0a0c10;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.form-note {
  font-size: 11px;
  color: var(--ink-3);
  text-align: center;
  margin-top: 14px;
  line-height: 1.5;
}

.form-success {
  text-align: center;
  padding: 40px 20px;
}
.check-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--green);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  animation: pop 0.4s cubic-bezier(.18,.89,.32,1.28);
}
@keyframes pop {
  from { transform: scale(0); }
  to { transform: scale(1); }
}
.form-success h3 {
  font-size: 26px;
  margin: 0 0 10px;
}
.form-success p {
  color: var(--ink-2);
  margin: 0 0 28px;
}
.form-reset {
  background: transparent;
  border: 1px solid var(--line);
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 14px;
  color: var(--ink-2);
  transition: all 0.2s;
}
.form-reset:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ============ FOOTER ============ */
.footer {
  background: #050608;
  color: var(--ink-2);
  padding: 80px 0 40px;
  border-top: 1px solid var(--line);
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 40px;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--dark-line);
}
.footer .logo-name { color: var(--ink); }
.footer .logo-sub { color: var(--ink-3); }
.footer-tag {
  font-size: 18px;
  color: var(--ink-3);
  font-style: italic;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 60px;
}
.footer-grid > div {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.foot-key {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--ink-3);
  margin-bottom: 8px;
}
.footer-grid a, .footer-grid span {
  color: var(--ink-2);
  font-size: 15px;
  transition: color 0.2s;
}
.footer-grid a:hover { color: var(--accent); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 30px;
  border-top: 1px solid var(--dark-line);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--ink-3);
}

/* ============ WHATSAPP ============ */
.wa-float {
  position: fixed;
  bottom: 24px;
  left: 24px;
  background: #25d366;
  color: white;
  padding: 14px 22px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 15px;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
  z-index: 90;
  transition: all 0.25s;
}
.wa-float:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 32px rgba(37, 211, 102, 0.45);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-phone { display: none; }
  .hero { padding: 80px 0 60px; }
  .hero-stats { grid-template-columns: 1fr; gap: 24px; }
  .section { padding: 80px 0; }
  .materials-wrap { grid-template-columns: 1fr; gap: 32px; }
  .materials-detail { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-card:nth-child(2) { border-left: none; }
  .process-card:nth-child(1), .process-card:nth-child(2) { border-bottom: 1px solid var(--line); }
  .urgency-banner { grid-template-columns: 1fr; gap: 16px; text-align: right; }
  .cap-grid { grid-template-columns: 1fr; }
  .contact-wrap { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-top, .footer-bottom { flex-direction: column; gap: 20px; text-align: center; }
}
