/* ============================================
   Arkealia — Synapse Design System
   ============================================ */

:root {
  --bg: #030303;
  --violet: #DC2626;
  --cyan: #F87171;
  --emerald: #10B981;

  --violet-rgb: 220, 38, 38;
  --cyan-rgb: 248, 113, 113;
  --emerald-rgb: 16, 185, 129;

  --glass-bg: rgba(10, 10, 10, 0.7);
  --border: rgba(255, 255, 255, 0.1);
  --border-soft: rgba(255, 255, 255, 0.05);
  --border-faint: rgba(255, 255, 255, 0.02);

  --n-200: #e5e5e5;
  --n-400: #a3a3a3;
  --n-500: #737373;
  --n-600: #525252;

  --ease-snappy: cubic-bezier(0.23, 1, 0.32, 1);

  --scroll-y: 0;
  --mx: 0.5;
  --my: 0.5;
}

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

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  background: var(--bg);
  color: #fff;
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 300;
  overflow-x: hidden;
  position: relative;
}

.display { font-family: 'Roboto', sans-serif; font-weight: 900; letter-spacing: -0.02em; }

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img, svg { display: block; }
button { font-family: inherit; }

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================
   Ambient / Abstract reactive layer
   ============================================ */

.orb-field {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.orb-parallax {
  position: absolute;
  inset: 0;
  transition: transform 0.6s var(--ease-snappy);
  will-change: transform;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
  animation: floatOrb 14s ease-in-out infinite;
}

.orb--violet {
  width: 520px; height: 520px;
  background: rgba(var(--violet-rgb), 0.4);
  top: -160px; left: 8%;
  animation-duration: 15s;
}

.orb--cyan {
  width: 420px; height: 420px;
  background: rgba(var(--cyan-rgb), 0.35);
  top: 30%; right: 4%;
  animation-duration: 12s;
  animation-delay: -4s;
}

.orb--violet-2 {
  width: 380px; height: 380px;
  background: rgba(var(--violet-rgb), 0.28);
  bottom: 6%; left: 30%;
  animation-duration: 18s;
  animation-delay: -8s;
}

@keyframes floatOrb {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-20px) scale(1.05); }
}

/* Cursor-follow spotlight */
.cursor-glow {
  position: fixed;
  top: 0; left: 0;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--violet-rgb), 0.16) 0%, rgba(var(--cyan-rgb), 0.06) 45%, transparent 72%);
  transform: translate3d(calc(var(--mx) * 1px - 240px), calc(var(--my) * 1px - 240px), 0);
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: screen;
  filter: blur(10px);
}

@media (max-width: 700px) {
  .cursor-glow { display: none; }
}

/* Red gradient backdrop — sits behind hero/page-header content, above the
   fixed orb-field. Pure CSS (no WebGL): a few soft, drifting radial glows
   over black, kept dark enough that light text stays legible everywhere. */
.gradient-bg {
  position: absolute;
  inset: -10%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 620px 480px at 28% 24%, rgba(var(--violet-rgb), 0.55), transparent 62%),
    radial-gradient(ellipse 560px 460px at 76% 62%, rgba(var(--cyan-rgb), 0.35), transparent 60%),
    radial-gradient(ellipse 640px 520px at 50% 102%, rgba(153, 27, 27, 0.45), transparent 65%);
  filter: blur(50px);
  animation: gradientDrift 22s ease-in-out infinite alternate;
  will-change: transform;
}

.gradient-bg--hero {
  inset: -14%;
}

@keyframes gradientDrift {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-3%, 2%) scale(1.12); }
}

@media (prefers-reduced-motion: reduce) {
  .gradient-bg { animation: none; }
}

/* Dot-grid parallax background */
.dot-grid {
  position: absolute;
  inset: -10% -10%;
  background-image: radial-gradient(rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 34px 34px;
  transform: translateY(calc(var(--scroll-y) * -0.025px));
  pointer-events: none;
  z-index: 0;
  mask-image: radial-gradient(ellipse 60% 50% at 50% 40%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 40%, black 30%, transparent 75%);
  will-change: transform;
}

/* Floating plus marks */
.plus-mark {
  position: absolute;
  width: 10px;
  height: 10px;
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
  transition: transform 0.8s var(--ease-snappy);
}

.plus-mark::before, .plus-mark::after {
  content: '';
  position: absolute;
  background: var(--n-500);
}

.plus-mark::before { width: 100%; height: 1px; top: 50%; left: 0; transform: translateY(-50%); }
.plus-mark::after { height: 100%; width: 1px; left: 50%; top: 0; transform: translateX(-50%); }

/* ============================================
   Navigation Pill
   ============================================ */

.nav-pill {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: 95%;
  max-width: 672px;
  z-index: 100;
  border-radius: 9999px;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  padding: 10px 10px 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: border-color 0.4s var(--ease-snappy), background 0.4s var(--ease-snappy);
}

.nav-logo {
  display: flex;
  align-items: center;
  white-space: nowrap;
}

.nav-logo-img {
  height: 22px;
  width: auto;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--n-400);
  transition: color 0.3s var(--ease-snappy);
  position: relative;
}

.nav-links a:hover { color: #fff; }

.nav-links a.active { color: #fff; }

.nav-links a.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  bottom: -6px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--violet), var(--cyan));
}

.nav-cta {
  background: #fff;
  color: #000;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 10px 20px;
  border-radius: 9999px;
  white-space: nowrap;
  transition: transform 0.3s var(--ease-snappy), box-shadow 0.3s var(--ease-snappy);
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 20px -6px rgba(255, 255, 255, 0.6);
}

.nav-toggle {
  display: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: transparent;
  color: #fff;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nav-mobile-menu {
  position: fixed;
  top: 92px;
  left: 50%;
  transform: translateX(-50%) translateY(-12px);
  width: 90%;
  max-width: 400px;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 20px;
  z-index: 99;
  display: flex;
  flex-direction: column;
  gap: 4px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease-snappy), transform 0.3s var(--ease-snappy);
}

.nav-mobile-menu.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-mobile-menu a {
  padding: 12px 8px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--n-400);
  border-bottom: 1px solid var(--border-soft);
}

.nav-mobile-menu a:last-child { border-bottom: none; }
.nav-mobile-menu a.active { color: #fff; }

/* ============================================
   Hero (Home)
   ============================================ */

.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 160px 24px 100px;
  background: transparent;
  overflow: hidden;
}

.hero-eyebrow {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--n-200);
  border: 1px solid var(--border);
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 8px 16px;
  border-radius: 9999px;
  margin-bottom: 32px;
  opacity: 0;
  animation: enterUp 0.8s var(--ease-snappy) forwards;
}

.hero-eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 8px var(--emerald);
}

.hero h1 {
  position: relative;
  z-index: 1;
  font-size: clamp(42px, 9vw, 108px);
  line-height: 0.95;
  max-width: 1000px;
  opacity: 0;
  animation: enterUp 0.9s var(--ease-snappy) forwards;
  animation-delay: 0.1s;
}

.shimmer {
  background: linear-gradient(90deg, #fca5a5 0%, #ffffff 40%, #ffffff 60%, #ef4444 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmerMove 5s linear infinite;
}

@keyframes shimmerMove {
  0% { background-position: 200% center; }
  100% { background-position: -200% center; }
}

.hero p {
  position: relative;
  z-index: 1;
  max-width: 620px;
  margin-top: 28px;
  font-size: 18px;
  font-weight: 300;
  color: var(--n-200);
  line-height: 1.6;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.9), 0 1px 3px rgba(0, 0, 0, 0.95);
  opacity: 0;
  animation: enterUp 0.9s var(--ease-snappy) forwards;
  animation-delay: 0.3s;
}

.hero-actions {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 44px;
  flex-wrap: wrap;
  justify-content: center;
  opacity: 0;
  animation: enterUp 0.9s var(--ease-snappy) forwards;
  animation-delay: 1s;
}

@keyframes enterUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.link-underline {
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  padding-bottom: 2px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9), 0 1px 3px rgba(0, 0, 0, 0.95);
  transition: color 0.3s var(--ease-snappy), border-color 0.3s var(--ease-snappy);
}

.link-underline:hover { color: #fff; border-color: rgba(255,255,255,0.4); }

/* ============================================
   Page Header (About / Services / Contact)
   ============================================ */

.page-header {
  position: relative;
  z-index: 1;
  padding: 190px 24px 90px;
  text-align: center;
  overflow: hidden;
  background: transparent;
}

.page-header .eyebrow-label { display: inline-block; position: relative; z-index: 1; }

.page-header h1 {
  position: relative;
  z-index: 1;
  font-size: clamp(38px, 7vw, 72px);
  line-height: 1.02;
  max-width: 780px;
  margin: 16px auto 0;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.85);
}

.page-header p {
  position: relative;
  z-index: 1;
  max-width: 560px;
  margin: 22px auto 0;
  color: var(--n-200);
  font-size: 17px;
  font-weight: 300;
  line-height: 1.7;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.9), 0 1px 3px rgba(0, 0, 0, 0.95);
}

.page-header .eyebrow-label {
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9);
}

/* ============================================
   Shiny Border Button
   ============================================ */

.shiny-btn {
  position: relative;
  display: inline-block;
  padding: 1px;
  border-radius: 9999px;
  overflow: hidden;
  isolation: isolate;
}

.shiny-btn::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 200%; height: 200%;
  background: conic-gradient(from 0deg, transparent 0%, var(--violet) 40%, var(--cyan) 50%, transparent 60%);
  transform: translate(-50%, -50%);
  animation: spinBorder 4s linear infinite;
  z-index: 0;
}

@keyframes spinBorder {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.shiny-btn-inner {
  position: relative;
  z-index: 1;
  display: inline-block;
  background: #0a0a0a;
  color: #fff;
  padding: 16px 40px;
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: background 0.3s var(--ease-snappy);
  border: none;
  cursor: pointer;
  font-family: 'Roboto', sans-serif;
}

.shiny-btn:hover .shiny-btn-inner { background: #141414; }

/* ============================================
   Metrics Ticker
   ============================================ */

.ticker {
  position: relative;
  z-index: 1;
  height: 60px;
  background: rgba(0, 0, 0, 0.4);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  display: flex;
  align-items: center;
  overflow: hidden;
  white-space: nowrap;
}

.ticker-track {
  display: flex;
  align-items: center;
  gap: 56px;
  animation: tickerScroll 40s linear infinite;
  padding-right: 56px;
}

@keyframes tickerScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Roboto Mono', ui-monospace, monospace;
  flex-shrink: 0;
}

.ticker-item .label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--n-500);
}

.ticker-item .value {
  font-size: 15px;
  color: #fff;
}

.ticker-item .value.accent-violet { color: var(--violet); }
.ticker-item .value.accent-cyan { color: var(--cyan); }
.ticker-item .value.accent-emerald { color: var(--emerald); }

.ticker-sep { color: var(--n-600); }

/* ============================================
   Section shared
   ============================================ */

section { position: relative; z-index: 1; }

.section {
  padding: 140px 0;
  position: relative;
}

.section--tight { padding: 100px 0; }

.section-head {
  max-width: 640px;
  margin-bottom: 64px;
}

.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.eyebrow-label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--violet);
  margin-bottom: 16px;
  font-family: 'Roboto', sans-serif;
}

.section-head h2 {
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.05;
  margin-bottom: 20px;
}

.section-head p {
  color: var(--n-400);
  font-size: 17px;
  font-weight: 300;
  line-height: 1.7;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-snappy), transform 0.8s var(--ease-snappy);
}

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

/* ============================================
   Feature Grid / Cards
   ============================================ */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.card {
  border: 1px solid var(--border-soft);
  background: rgba(255, 255, 255, 0.02);
  padding: 40px;
  border-radius: 24px;
  transition: transform 0.5s var(--ease-snappy), border-color 0.5s var(--ease-snappy),
              background 0.5s var(--ease-snappy), box-shadow 0.5s var(--ease-snappy);
}

.card:hover {
  transform: translateY(-12px);
  border-color: rgba(var(--violet-rgb), 0.4);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 0 20px -10px rgba(var(--violet-rgb), 0.4);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(var(--violet-rgb), 0.12);
  border: 1px solid rgba(var(--violet-rgb), 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  color: var(--violet);
  transition: transform 0.5s var(--ease-snappy);
}

.card:hover .card-icon { transform: scale(1.1) rotate(-4deg); }

.card--cyan .card-icon {
  background: rgba(var(--cyan-rgb), 0.12);
  border-color: rgba(var(--cyan-rgb), 0.2);
  color: var(--cyan);
}

.card h3 {
  font-size: 24px;
  margin-bottom: 14px;
}

.card p {
  color: var(--n-400);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.7;
}

.card-list {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.card-list li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 14px;
  color: var(--n-400);
  font-weight: 300;
}

.card-list li::before {
  content: '';
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--cyan);
  flex-shrink: 0;
  transform: translateY(-3px);
}

.card--cyan .card-list li::before { background: var(--violet); }

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 24px;
  font-size: 13px;
  color: #fff;
  font-weight: 600;
  transition: gap 0.3s var(--ease-snappy);
}

.card:hover .card-link { gap: 10px; }

/* ============================================
   Compact Service Grid (Trade / Survey Solutions)
   ============================================ */

.service-group {
  margin-bottom: 88px;
}

.service-group:last-child { margin-bottom: 0; }

.service-group-head {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.service-group-head h2 {
  font-size: clamp(28px, 4vw, 40px);
}

.service-group-head .count {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--n-500);
  font-family: 'Roboto Mono', monospace;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.service-item {
  border: 1px solid var(--border-soft);
  background: rgba(255, 255, 255, 0.02);
  border-radius: 18px;
  padding: 28px;
  display: flex;
  gap: 18px;
  transition: transform 0.5s var(--ease-snappy), border-color 0.5s var(--ease-snappy), background 0.5s var(--ease-snappy);
}

.service-item:hover {
  transform: translateY(-6px);
  border-color: rgba(var(--cyan-rgb), 0.35);
  background: rgba(255, 255, 255, 0.04);
}

.service-item-icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: rgba(var(--cyan-rgb), 0.12);
  border: 1px solid rgba(var(--cyan-rgb), 0.2);
  color: var(--cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.service-group--survey .service-item-icon {
  background: rgba(var(--violet-rgb), 0.12);
  border-color: rgba(var(--violet-rgb), 0.2);
  color: var(--violet);
}

.service-item-text h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.service-item-text p {
  font-size: 13.5px;
  color: var(--n-400);
  font-weight: 300;
  line-height: 1.6;
}

/* ============================================
   Process
   ============================================ */

.process-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border-soft);
  border: 1px solid var(--border-soft);
  border-radius: 24px;
  overflow: hidden;
}

.process-step {
  background: #050505;
  padding: 40px 32px;
  transition: background 0.4s var(--ease-snappy);
}

.process-step:hover { background: rgba(255,255,255,0.03); }

.process-num {
  font-family: 'Roboto', sans-serif;
  font-weight: 900;
  font-size: 40px;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--violet), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 24px;
}

.process-step h4 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 10px;
}

.process-step p {
  font-size: 14px;
  color: var(--n-400);
  font-weight: 300;
  line-height: 1.65;
}

/* ============================================
   Values divider strip
   ============================================ */

.about-stat {
  display: flex;
  gap: 48px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.about-stat div span { display: block; }

.about-stat .num {
  font-family: 'Roboto', sans-serif;
  font-weight: 900;
  font-size: 36px;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #fff, var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.about-stat .lbl {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--n-500);
  margin-top: 6px;
}

/* ============================================
   Team strip
   ============================================ */

.team-strip {
  border: 1px solid var(--border-soft);
  background: rgba(255,255,255,0.02);
  border-radius: 24px;
  padding: 48px;
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.team-strip .team-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: rgba(var(--cyan-rgb), 0.12);
  border: 1px solid rgba(var(--cyan-rgb), 0.2);
  color: var(--cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.team-strip .team-text { flex: 1; min-width: 240px; }

.team-strip h3 { font-size: 22px; margin-bottom: 10px; }

.team-strip p {
  color: var(--n-400);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.7;
}

/* ============================================
   Contact
   ============================================ */

.contact-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: start;
}

.contact-form-panel {
  border: 1px solid var(--border);
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border-radius: 28px;
  padding: 44px;
}

.contact-form-panel h3 { font-size: 22px; margin-bottom: 8px; }
.contact-form-panel > p { color: var(--n-500); font-size: 14px; margin-bottom: 32px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  margin-bottom: 20px;
}

.field label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--n-500);
  margin-bottom: 8px;
}

.field input,
.field textarea {
  width: 100%;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
  color: #fff;
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  transition: border-color 0.3s var(--ease-snappy), background 0.3s var(--ease-snappy);
}

.field input::placeholder,
.field textarea::placeholder { color: var(--n-600); }

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(var(--violet-rgb), 0.5);
  background: rgba(255,255,255,0.05);
  box-shadow: 0 0 0 3px rgba(var(--violet-rgb), 0.12);
}

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

.form-submit {
  width: 100%;
  margin-top: 8px;
}

.form-submit .shiny-btn-inner { width: 100%; text-align: center; }

.form-note {
  margin-top: 16px;
  font-size: 12px;
  color: var(--n-600);
  min-height: 16px;
}

.form-note.is-success { color: var(--emerald); }
.form-note.is-error { color: var(--cyan); }

.field-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-info-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-item {
  border: 1px solid var(--border-soft);
  background: rgba(255,255,255,0.02);
  border-radius: 18px;
  padding: 24px;
  transition: border-color 0.4s var(--ease-snappy), transform 0.4s var(--ease-snappy);
}

.contact-item:hover {
  border-color: rgba(var(--cyan-rgb), 0.3);
  transform: translateY(-4px);
}

.contact-item .lbl {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--n-500);
  margin-bottom: 10px;
}

.contact-item .val {
  font-size: 14px;
  color: #fff;
  font-weight: 400;
  line-height: 1.5;
}

.contact-item .val a:hover { color: var(--cyan); }

/* ============================================
   CTA band
   ============================================ */

.cta-band {
  border: 1px solid var(--border);
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border-radius: 32px;
  padding: 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: '';
  position: absolute;
  top: -50%; left: 50%;
  transform: translateX(-50%);
  width: 700px; height: 500px;
  background: radial-gradient(ellipse, rgba(var(--violet-rgb), 0.25), transparent 70%);
  pointer-events: none;
}

.cta-band h2 {
  font-size: clamp(32px, 5vw, 52px);
  margin-bottom: 16px;
  position: relative;
}

.cta-band > p {
  color: var(--n-400);
  max-width: 480px;
  margin: 0 auto 40px;
  font-weight: 300;
  position: relative;
}

.cta-band .shiny-btn { position: relative; }

/* ============================================
   Footer
   ============================================ */

.footer {
  background: #050505;
  padding: 96px 0 32px;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(var(--violet-rgb), 0.5) 25%,
    rgba(var(--cyan-rgb), 0.5) 50%,
    rgba(var(--violet-rgb), 0.5) 75%,
    transparent 100%);
}

.footer-watermark {
  position: absolute;
  left: 50%;
  bottom: -6%;
  transform: translateX(-50%);
  font-family: 'Roboto', sans-serif;
  font-weight: 900;
  letter-spacing: -0.04em;
  font-size: clamp(90px, 16vw, 240px);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.05);
  white-space: nowrap;
  pointer-events: none;
  z-index: 0;
  user-select: none;
}

.footer .container { position: relative; z-index: 1; }

.footer-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  padding-bottom: 56px;
  margin-bottom: 56px;
  border-bottom: 1px solid var(--border-soft);
}

.footer-logo-img {
  height: 26px;
  width: auto;
  margin-bottom: 18px;
}

.footer-brand p {
  color: var(--n-500);
  font-size: 14px;
  font-weight: 300;
  max-width: 300px;
  line-height: 1.7;
}

.footer-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'Roboto', sans-serif;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #fff;
  white-space: nowrap;
  transition: gap 0.4s var(--ease-snappy), color 0.4s var(--ease-snappy);
}

.footer-cta-link svg {
  transition: transform 0.4s var(--ease-snappy);
  flex-shrink: 0;
}

.footer-cta-link:hover {
  gap: 20px;
  color: var(--cyan);
}

.footer-cta-link:hover svg { transform: translate(4px, -4px); }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 56px;
  padding-bottom: 56px;
}

.footer-links-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 140px;
}

.footer-links-group h5 {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--n-600);
  margin-bottom: 6px;
  font-weight: 500;
}

.footer-links-group a, .footer-links-group span {
  font-size: 14px;
  color: var(--n-400);
  font-weight: 300;
  transition: color 0.3s var(--ease-snappy);
  width: fit-content;
}

.footer-links-group a { position: relative; }

.footer-links-group a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 0;
  height: 1px;
  background: var(--cyan);
  transition: width 0.35s var(--ease-snappy);
}

.footer-links-group a:hover { color: #fff; }
.footer-links-group a:hover::after { width: 100%; }

.footer-bottom {
  border-top: 1px solid var(--border-soft);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom .copyright {
  font-size: 13px;
  color: var(--n-600);
}

.back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--n-500);
  transition: color 0.3s var(--ease-snappy);
}

.back-to-top:hover { color: #fff; }

.back-to-top svg { transition: transform 0.35s var(--ease-snappy); }
.back-to-top:hover svg { transform: translateY(-3px); }

@media (max-width: 640px) {
  .footer-top { align-items: flex-start; flex-direction: column; }
  .footer-watermark { font-size: 68px; }
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }

  .grid-3, .grid-2, .service-grid { grid-template-columns: 1fr; }
  .process-list { grid-template-columns: 1fr; }
  .process-step { border-bottom: 1px solid var(--border-soft); }
  .service-item { padding: 22px; }

  .footer-links { gap: 40px; }

  .cta-band { padding: 40px 24px; }
  .about-stat { gap: 32px; }

  .contact-layout { grid-template-columns: 1fr; }
  .contact-form-panel { padding: 32px 24px; }
  .form-row { grid-template-columns: 1fr; }

  .team-strip { padding: 32px 24px; }
}

@media (max-width: 520px) {
  .footer-links { flex-direction: column; gap: 28px; }
  .hero { padding-top: 140px; }
  .page-header { padding-top: 150px; }
  .section { padding: 90px 0; }
}

@media (prefers-reduced-motion: reduce) {
  .orb, .shimmer, .shiny-btn::before {
    animation: none !important;
  }
  .orb-parallax, .cursor-glow, .dot-grid {
    transition: none !important;
    transform: none !important;
  }
}
