/* ============================================
   Consilent Solutions — Midnight Quantum
   ============================================ */

:root {
  --bg: #0A0E1A;
  --bg-2: #0D1224;
  --surface: #11162B;
  --surface-2: #161C36;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #F4F6FB;
  --text-muted: #8B92A8;
  --text-dim: #5C6480;
  --cyan: #00E5FF;
  --violet: #7C5CFF;
  --amber: #FFB547;
  --amber-hover: #FFC36B;
  --grad: linear-gradient(135deg, #00E5FF 0%, #7C5CFF 100%);
  --grad-warm: linear-gradient(135deg, #FFB547 0%, #FF7B7B 100%);
  --shadow-glow: 0 0 40px rgba(0, 229, 255, 0.15);
  --shadow-amber: 0 8px 28px rgba(255, 181, 71, 0.32);
  --max: 1200px;
  --radius: 14px;
  --radius-lg: 22px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

::selection { background: var(--cyan); color: var(--bg); }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
}

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ============ NAV ============ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(20px, 4vw, 40px);
  transition: background 0.3s var(--ease), backdrop-filter 0.3s var(--ease), border-color 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(10, 14, 26, 0.78);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--border);
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.02em;
}

.nav__logo { width: 32px; height: 32px; flex-shrink: 0; }

.nav__wordmark-accent { color: var(--amber); }

.nav__links {
  display: flex;
  gap: 36px;
  list-style: none;
}

.nav__links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s var(--ease);
  position: relative;
}

.nav__links a:hover { color: var(--text); }

.nav__links a::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  bottom: -6px;
  height: 1px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.nav__links a:hover::after { transform: scaleX(1); }

.nav__cta {
  padding: 10px 20px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.25s var(--ease);
}

.nav__cta:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  box-shadow: var(--shadow-glow);
}

.nav__menu {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav__menu span {
  width: 22px;
  height: 2px;
  background: var(--text);
  transition: all 0.3s var(--ease);
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  border: none;
  transition: all 0.25s var(--ease);
  white-space: nowrap;
}

.btn--primary {
  background: var(--amber);
  color: #1a1100;
  box-shadow: var(--shadow-amber);
}

.btn--primary:hover {
  background: var(--amber-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(255, 181, 71, 0.42);
}

.btn--primary svg { transition: transform 0.25s var(--ease); }
.btn--primary:hover svg { transform: translateX(4px); }

.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-strong);
}

.btn--ghost:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(0, 229, 255, 0.04);
}

.btn--full { width: 100%; }

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 140px 0 80px;
}

.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero__gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 20% 30%, rgba(0, 229, 255, 0.12), transparent 60%),
    radial-gradient(ellipse 50% 40% at 80% 70%, rgba(124, 92, 255, 0.14), transparent 60%),
    linear-gradient(180deg, transparent 60%, var(--bg) 100%);
  z-index: 1;
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 2;
  max-width: 920px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
  text-align: center;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.22);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--cyan);
  margin-bottom: 32px;
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: 0.02em;
}

.pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  position: relative;
  box-shadow: 0 0 0 0 rgba(0, 229, 255, 0.6);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(0, 229, 255, 0.7); }
  70% { box-shadow: 0 0 0 12px rgba(0, 229, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 229, 255, 0); }
}

.hero__title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: clamp(40px, 7.2vw, 84px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  margin-bottom: 28px;
}

.hero__stat {
  background: var(--grad-warm);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
  letter-spacing: -0.05em;
  display: inline-block;
}

.hero__title-muted {
  color: var(--text-muted);
  font-weight: 500;
}

.hero__lead {
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 42px;
  line-height: 1.65;
}

.hero__ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero__credentials {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.hero__chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.chip {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

.hero__proof {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 22px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 14px;
  color: var(--text-muted);
}

.hero__proof strong { color: var(--text); font-weight: 600; }

.hero__proof-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 12px var(--amber);
}

.hero__scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
  z-index: 2;
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, var(--cyan), transparent);
  position: relative;
  overflow: hidden;
}

.hero__scroll-line::after {
  content: '';
  position: absolute;
  top: -40px;
  left: 0;
  width: 1px;
  height: 40px;
  background: var(--cyan);
  animation: scrollLine 2.4s infinite var(--ease);
}

@keyframes scrollLine {
  0% { top: -40px; }
  100% { top: 40px; }
}

/* ============ SECTION HEADS ============ */
.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 72px;
}

.section-head__eyebrow {
  display: inline-block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 18px;
}

.section-head__title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: 22px;
}

.section-head__sub {
  font-size: clamp(15px, 1.4vw, 18px);
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 640px;
  margin: 0 auto;
}

/* ============ PROBLEM ============ */
.problem {
  padding: 120px 0;
  position: relative;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}

.problem__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  text-align: left;
}

.problem__card {
  padding: 32px 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}

.problem__card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  right: 0;
  height: 2px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}

.problem__card:hover { border-color: var(--border-strong); transform: translateY(-4px); }
.problem__card:hover::before { transform: scaleX(1); }

.problem__card-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--cyan);
  margin-bottom: 14px;
  letter-spacing: 0.05em;
}

.problem__card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.problem__card p {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ============ FACTORY (PILLARS) ============ */
.factory {
  padding: 140px 0;
  position: relative;
  background: var(--bg);
}

.factory::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(124, 92, 255, 0.1), transparent 70%);
  pointer-events: none;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.pillar {
  position: relative;
  padding: 40px 32px 36px;
  background: linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all 0.4s var(--ease);
  overflow: hidden;
}

.pillar::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(0, 229, 255, 0.08), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}

.pillar:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 229, 255, 0.3);
  box-shadow: 0 20px 60px rgba(0, 229, 255, 0.08);
}

.pillar:hover::after { opacity: 1; }

.pillar__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.2);
  border-radius: 14px;
  color: var(--cyan);
  margin-bottom: 24px;
}

.pillar__icon svg { width: 28px; height: 28px; }

.pillar__num {
  position: absolute;
  top: 32px;
  right: 32px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dim);
  letter-spacing: 0.08em;
}

.pillar h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}

.pillar p {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 22px;
}

.pillar__list {
  list-style: none;
  padding: 18px 0 0;
  border-top: 1px solid var(--border);
}

.pillar__list li {
  font-size: 13.5px;
  color: var(--text);
  padding: 7px 0 7px 22px;
  position: relative;
}

.pillar__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 12px;
  height: 1px;
  background: var(--cyan);
}

/* ============ DELIVERABLES ============ */
.deliv {
  padding: 140px 0;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 50%, var(--bg) 100%);
}

.deliv__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 18px;
}

.deliv__card {
  padding: 32px 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.3s var(--ease);
  position: relative;
}

.deliv__card:hover {
  border-color: var(--border-strong);
  background: var(--surface-2);
  transform: translateY(-3px);
}

.deliv__icon {
  font-size: 32px;
  margin-bottom: 18px;
  filter: drop-shadow(0 4px 12px rgba(0, 229, 255, 0.2));
}

.deliv__card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.deliv__card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ============ PROOF ============ */
.proof {
  padding: 140px 0;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

.proof::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(255, 181, 71, 0.06), transparent 60%);
  pointer-events: none;
}

.proof__inner {
  position: relative;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.proof__badge {
  display: inline-block;
  padding: 8px 18px;
  background: rgba(255, 181, 71, 0.1);
  border: 1px solid rgba(255, 181, 71, 0.3);
  border-radius: 100px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 28px;
}

.proof__title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin-bottom: 24px;
}

.proof__sub {
  font-size: clamp(15px, 1.4vw, 18px);
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 720px;
  margin: 0 auto 72px;
}

.proof__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.proof__stat {
  padding: 36px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.3s var(--ease);
}

.proof__stat:hover {
  border-color: rgba(255, 181, 71, 0.3);
  transform: translateY(-4px);
}

.proof__stat-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(48px, 6vw, 64px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  background: var(--grad-warm);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 12px;
}

.proof__stat-num small {
  font-size: 0.5em;
  font-weight: 600;
  -webkit-text-fill-color: var(--amber);
}

.proof__stat-label {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ============ SERVICES ============ */
.services {
  padding: 140px 0;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.service {
  padding: 36px 30px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.3s var(--ease);
  position: relative;
}

.service::before {
  content: '';
  position: absolute;
  left: 0; top: 30px; bottom: 30px;
  width: 2px;
  background: var(--grad);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.4s var(--ease);
}

.service:hover {
  border-color: var(--border-strong);
  transform: translateX(4px);
}

.service:hover::before { transform: scaleY(1); }

.service h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 19px;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.service p {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ============ TEAM ============ */
.team {
  padding: 140px 0;
  background: var(--bg);
}

.team__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 980px;
  margin: 0 auto;
}

.team__card {
  padding: 40px 32px;
  background: linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: all 0.3s var(--ease);
}

.team__card:hover {
  border-color: rgba(0, 229, 255, 0.25);
  transform: translateY(-4px);
}

.team__avatar {
  width: 88px;
  height: 88px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--grad);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 28px;
  font-weight: 600;
  color: var(--bg);
  letter-spacing: 0.02em;
  position: relative;
}

.team__avatar::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: var(--grad);
  filter: blur(14px);
  opacity: 0.4;
  z-index: -1;
}

.team__avatar--network {
  background: var(--surface-2);
  color: var(--cyan);
  border: 1px solid rgba(0, 229, 255, 0.3);
}

.team__avatar--network::after { background: rgba(0, 229, 255, 0.4); }

.team__avatar--network svg { width: 44px; height: 44px; }

.team__card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.team__role {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  color: var(--cyan);
  letter-spacing: 0.05em;
  margin-bottom: 18px;
}

.team__card p {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 22px;
}

.team__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.22);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--cyan);
  transition: all 0.25s var(--ease);
}

.team__link:hover {
  background: rgba(0, 229, 255, 0.16);
  border-color: var(--cyan);
}

/* ============ CONTACT ============ */
.contact {
  padding: 140px 0;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  position: relative;
  overflow: hidden;
}

.contact::before {
  content: '';
  position: absolute;
  top: 50%; right: -20%;
  transform: translateY(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.08), transparent 60%);
  pointer-events: none;
}

.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  position: relative;
  z-index: 1;
}

.contact__title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 18px 0 22px;
}

.contact__sub {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 36px;
}

.contact__direct {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.contact__direct-card {
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.25s var(--ease);
}

.contact__direct-card:hover {
  border-color: rgba(0, 229, 255, 0.4);
  transform: translateY(-2px);
}

.contact__direct-name {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 4px;
}

.contact__direct-meta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: var(--cyan);
}

.contact__form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.field { display: flex; flex-direction: column; gap: 8px; }

.field--full { grid-column: 1 / -1; }

.field label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.field input,
.field textarea {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 14.5px;
  font-family: inherit;
  color: var(--text);
  transition: all 0.2s var(--ease);
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--cyan);
  background: var(--surface-2);
  box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.12);
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--text-dim);
}

.contact__form .btn { grid-column: 1 / -1; margin-top: 6px; }

.contact__note {
  grid-column: 1 / -1;
  font-size: 12px;
  color: var(--text-dim);
  text-align: center;
  margin-top: 4px;
  font-style: italic;
}

/* ============ FOOTER ============ */
.footer {
  padding: 60px 0 40px;
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 22px;
}

.footer__tag {
  color: var(--text-muted);
  font-size: 14px;
  max-width: 480px;
}

.footer__links {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer__links a {
  font-size: 13px;
  color: var(--text-muted);
  transition: color 0.2s var(--ease);
}

.footer__links a:hover { color: var(--cyan); }

.footer__legal {
  font-size: 12px;
  color: var(--text-dim);
  margin-top: 8px;
}

/* ============ REVEAL ANIMATIONS ============ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

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

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .contact__inner { grid-template-columns: 1fr; gap: 50px; }
  .contact__form { grid-template-columns: 1fr; padding: 28px; }
  .field--full, .contact__form .btn, .contact__note { grid-column: auto; }
}

@media (max-width: 768px) {
  .nav__links, .nav__cta { display: none; }
  .nav__menu { display: flex; }

  .nav.menu-open .nav__links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: rgba(10, 14, 26, 0.96);
    backdrop-filter: blur(18px);
    padding: 24px;
    gap: 18px;
    border-bottom: 1px solid var(--border);
  }

  .hero { padding: 120px 0 60px; }
  .hero__title { font-size: clamp(38px, 11vw, 60px); }
  .problem, .factory, .deliv, .proof, .services, .team, .contact { padding: 90px 0; }
  .section-head { margin-bottom: 50px; }
  .contact__direct { grid-template-columns: 1fr; }
  .hero__scroll { display: none; }
}

@media (max-width: 480px) {
  .hero__ctas { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
  .pillar { padding: 32px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
