:root {
  --bg: #05060a;
  --bg-2: #0a0c13;
  --bg-3: #0f1220;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.09);
  --border-2: rgba(255, 255, 255, 0.16);
  --text: #eef1f8;
  --muted: #9ba3b4;
  --muted-2: #6d7384;

  --brand: #7c9cff;
  --brand-2: #b388ff;
  --brand-3: #74e6c2;

  --accent-grad: linear-gradient(135deg, #7c9cff 0%, #b388ff 55%, #ff9ec7 100%);

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 40px 80px -30px rgba(0, 0, 0, 0.75);

  --container: 1180px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

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

button { font: inherit; cursor: pointer; }

::selection { background: rgba(124, 156, 255, 0.35); color: #fff; }

.container {
  width: min(var(--container), calc(100% - 3rem));
  margin: 0 auto;
}

/* ---------- Background FX ---------- */
.bg-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, rgba(0, 0, 0, 0.6) 40%, transparent 80%);
  z-index: 0;
}

.bg-glow {
  position: fixed;
  pointer-events: none;
  filter: blur(90px);
  opacity: 0.45;
  z-index: 0;
}
.bg-glow-a {
  top: -180px; left: -120px;
  width: 520px; height: 520px;
  background: radial-gradient(circle, #3f4db8 0%, transparent 70%);
}
.bg-glow-b {
  top: 10%; right: -180px;
  width: 560px; height: 560px;
  background: radial-gradient(circle, #6b3aa0 0%, transparent 70%);
  opacity: 0.4;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5 {
  margin: 0;
  letter-spacing: -0.02em;
  color: var(--text);
}

h1 {
  font-size: clamp(2.2rem, 5.2vw, 4.2rem);
  line-height: 1.04;
  font-weight: 700;
  letter-spacing: -0.035em;
}
h1 em {
  font-style: italic;
  font-family: "Instrument Serif", "Times New Roman", serif;
  font-weight: 400;
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding: 0 0.08em;
}

h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.025em;
}

h3 { font-size: 1.1rem; font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; }
h5 { font-size: 0.82rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); }

p { margin: 0; }

.mono { font-family: "JetBrains Mono", ui-monospace, monospace; }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--brand);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}

/* ---------- Buttons ---------- */
.btn {
  --h: 44px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: var(--h);
  padding: 0 1.1rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--text);
  background: var(--surface-2);
  transition: transform 0.18s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: #fff;
  color: #0a0c16;
  box-shadow: 0 10px 30px -10px rgba(124, 156, 255, 0.55), inset 0 0 0 1px rgba(0,0,0,0.06);
}
.btn-primary:hover {
  box-shadow: 0 14px 36px -10px rgba(124, 156, 255, 0.8);
}

.btn-ghost {
  background: transparent;
  border-color: var(--border-2);
  color: var(--text);
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.32); background: rgba(255,255,255,0.03); }

.btn-small { --h: 36px; padding: 0 0.9rem; font-size: 0.86rem; }
.btn-full { width: 100%; }

/* ---------- Announcement ---------- */
.announce {
  position: relative;
  z-index: 21;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(90deg, rgba(124,156,255,0.08), rgba(179,136,255,0.08));
}
.announce-wrap {
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  font-size: 0.84rem;
  color: var(--muted);
}
.announce-wrap p { margin: 0; }
.announce-wrap a { color: var(--text); font-weight: 600; }
.announce-wrap .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--brand-3);
  box-shadow: 0 0 0 6px rgba(116, 230, 194, 0.15);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 6px rgba(116, 230, 194, 0.15); }
  50%      { box-shadow: 0 0 0 10px rgba(116, 230, 194, 0.05); }
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(5, 6, 10, 0.65);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--border);
  background: rgba(5, 6, 10, 0.85);
}

.nav-wrap {
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  margin-left: 2.5rem;
}
.site-nav a {
  font-size: 0.92rem;
  color: var(--muted);
  transition: color 0.2s ease;
}
.site-nav a:hover { color: var(--text); }

.nav-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-2);
  border-radius: 10px;
  width: 40px; height: 40px;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}
.nav-toggle span {
  display: block;
  width: 18px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ---------- Hero ---------- */
main { position: relative; z-index: 1; }

.hero { padding: 5.5rem 0 3rem; position: relative; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 3.5rem;
  align-items: center;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.42rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.01em;
}
.tag-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--brand-3);
  box-shadow: 0 0 0 4px rgba(116,230,194,0.12);
}

.hero-copy h1 { margin: 1.1rem 0 1.2rem; }

.lede {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 56ch;
}

.hero-actions {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
  margin: 1.8rem 0 1.4rem;
}

.hero-badges {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem 1.6rem;
  color: var(--muted);
  font-size: 0.88rem;
}
.hero-badges li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.hero-badges svg {
  color: var(--brand-3);
  flex-shrink: 0;
}

/* Hero visual */
.hero-visual {
  position: relative;
  min-height: 460px;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}
.orb-a {
  width: 360px; height: 360px;
  background: radial-gradient(circle, #7c9cff 0%, transparent 60%);
  top: -40px; right: -40px;
  opacity: 0.35;
}
.orb-b {
  width: 300px; height: 300px;
  background: radial-gradient(circle, #b388ff 0%, transparent 60%);
  bottom: -20px; left: -30px;
  opacity: 0.3;
}

.panel {
  position: absolute;
  background: linear-gradient(180deg, rgba(20,22,34,0.92), rgba(12,13,22,0.92));
  border: 1px solid var(--border-2);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.panel-code {
  top: 0; left: 0;
  width: 86%;
  padding: 0;
  overflow: hidden;
  animation: floatA 7s ease-in-out infinite;
}
.panel-code .panel-top {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.7rem 0.9rem;
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
}
.panel-code .panel-top span {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #3a3d4a;
}
.panel-code .panel-top span:nth-child(1) { background: #ff6057; }
.panel-code .panel-top span:nth-child(2) { background: #ffbd2e; }
.panel-code .panel-top span:nth-child(3) { background: #27c840; }
.panel-code .panel-top em {
  margin-left: auto;
  color: var(--muted-2);
  font-size: 0.78rem;
  font-style: normal;
  font-family: "JetBrains Mono", monospace;
}
.panel-code pre {
  margin: 0;
  padding: 1rem 1.1rem;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.82rem;
  line-height: 1.65;
  color: #d3d8e6;
  overflow: hidden;
}
.t-c { color: #c9a8ff; }
.t-v { color: #7c9cff; }
.t-s { color: #74e6c2; }
.t-f { color: #ffb366; }
.t-n { color: #ff9ec7; }

.panel-kpi {
  right: 0; bottom: 20px;
  width: 64%;
  padding: 0.95rem 1rem;
  animation: floatB 8s ease-in-out infinite;
}
.kpi-row {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px dashed var(--border);
}
.kpi-row > div:first-child small {
  display: block;
  color: var(--muted-2);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.kpi-row > div:first-child strong {
  display: block;
  font-size: 1.25rem;
  margin-top: 0.1rem;
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.spark { flex: 1; min-width: 0; }

.kpi-list {
  list-style: none;
  padding: 0;
  margin: 0.7rem 0 0;
  display: grid;
  gap: 0.45rem;
}
.kpi-list li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.76rem;
  color: #c9cfdd;
}
.kpi-list li em {
  margin-left: auto;
  font-style: normal;
  color: var(--muted);
}
.pill {
  font-size: 0.66rem;
  padding: 0.14rem 0.45rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}
.pill-ok { background: rgba(116,230,194,0.14); color: var(--brand-3); border: 1px solid rgba(116,230,194,0.3); }
.pill-warn { background: rgba(255,189,46,0.14); color: #ffcf66; border: 1px solid rgba(255,189,46,0.3); }

.panel-chip {
  top: 10px; right: 6%;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.85rem;
  font-size: 0.82rem;
  color: var(--text);
  animation: floatC 6s ease-in-out infinite;
}

@keyframes floatA { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes floatB { 0%,100% { transform: translateY(0); } 50% { transform: translateY(8px); } }
@keyframes floatC { 0%,100% { transform: translate(0,0); } 50% { transform: translate(-6px,-6px); } }

/* ---------- Logo cloud ---------- */
.logos {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  text-align: center;
}
.logos-label {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 1.2rem;
}
.logos-row {
  display: flex;
  flex-wrap: wrap;
  gap: 2.2rem 3rem;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-family: "Instrument Serif", serif;
  font-size: 1.6rem;
  letter-spacing: 0.01em;
  opacity: 0.75;
}
.logos-row span { transition: opacity 0.2s ease, color 0.2s ease; }
.logos-row span:hover { color: var(--text); opacity: 1; }

/* ---------- Stats ---------- */
.stats {
  padding: 2.5rem 0 1rem;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.stats article {
  padding: 1.3rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}
.stats h3 {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.2rem;
}
.stats p { color: var(--muted); font-size: 0.92rem; }

/* ---------- Sections ---------- */
.section { padding: 6rem 0; position: relative; }
.section-dark {
  background:
    radial-gradient(circle at 85% 0%, rgba(124,156,255,0.07), transparent 55%),
    radial-gradient(circle at 10% 100%, rgba(179,136,255,0.06), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,0.015), rgba(255,255,255,0.015));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head { max-width: 62ch; margin-bottom: 2.6rem; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head p {
  margin-top: 0.8rem;
  color: var(--muted);
  font-size: 1.02rem;
}

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.service-card {
  position: relative;
  padding: 1.6rem 1.4rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.015));
  transition: border-color 0.25s ease, transform 0.25s ease, background 0.25s ease;
}
.service-card::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg, rgba(124,156,255,0), rgba(179,136,255,0.35), rgba(124,156,255,0));
  -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;
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}
.service-card:hover {
  transform: translateY(-3px);
  background: linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.02));
}
.service-card:hover::before { opacity: 1; }

.icon-wrap {
  width: 40px; height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  background: linear-gradient(135deg, rgba(124,156,255,0.22), rgba(179,136,255,0.22));
  border: 1px solid rgba(179,136,255,0.25);
  color: #d7defc;
  margin-bottom: 0.95rem;
}
.service-card h3 { font-size: 1.08rem; margin-bottom: 0.5rem; }
.service-card > p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 0.9rem;
}
.service-card ul {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  gap: 0.3rem;
  border-top: 1px dashed var(--border);
  padding-top: 0.8rem;
}
.service-card ul li {
  font-size: 0.86rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.service-card ul li::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--brand);
}

/* ---------- Case studies ---------- */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.case {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.4rem;
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  display: grid;
  gap: 1rem;
  align-content: start;
}
.case header { display: grid; gap: 0.6rem; }
.case-tag {
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
}
.case h3 { font-size: 1.15rem; line-height: 1.35; }
.case > p { color: var(--muted); font-size: 0.95rem; }

.case-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}
.case-metrics div { display: grid; gap: 0.15rem; }
.case-metrics strong {
  font-size: 1.05rem;
  font-weight: 700;
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.case-metrics span { font-size: 0.76rem; color: var(--muted-2); }

/* ---------- Process ---------- */
.process {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  counter-reset: process;
  position: relative;
}
.process::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-2), transparent);
  z-index: 0;
}
.process li {
  position: relative;
  z-index: 1;
  padding: 1.4rem 1.2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.02);
}
.process .step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(124,156,255,0.2), rgba(179,136,255,0.2));
  border: 1px solid rgba(179,136,255,0.28);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.82rem;
  font-weight: 600;
  color: #dfe5fc;
  margin-bottom: 0.9rem;
}
.process h3 { margin-bottom: 0.4rem; }
.process p { color: var(--muted); font-size: 0.93rem; }

/* ---------- Testimonials ---------- */
.testimonials { padding-top: 3rem; }
.quotes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.quote {
  margin: 0;
  padding: 1.6rem 1.4rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
}
.quote blockquote {
  margin: 0 0 1.2rem;
  font-size: 1rem;
  line-height: 1.6;
  color: #dde1ee;
}
.quote figcaption {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  border-top: 1px dashed var(--border);
  padding-top: 1rem;
}
.avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.82rem;
  font-weight: 700;
  background: linear-gradient(135deg, #7c9cff, #b388ff);
  color: #0b0d16;
}
.quote strong { display: block; font-size: 0.95rem; }
.quote span { font-size: 0.82rem; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  align-items: start;
}
.faq-list { display: grid; gap: 0.6rem; }
.faq-list details {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.025);
  padding: 0 1.2rem;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.faq-list details[open] {
  background: rgba(255,255,255,0.04);
  border-color: var(--border-2);
}
.faq-list summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 0;
  font-weight: 500;
  font-size: 1rem;
  color: var(--text);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list .chev {
  width: 20px; height: 20px;
  position: relative;
  flex-shrink: 0;
}
.faq-list .chev::before,
.faq-list .chev::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: var(--muted);
  transition: transform 0.2s ease, background 0.2s ease;
}
.faq-list .chev::before { width: 12px; height: 2px; transform: translate(-50%, -50%); }
.faq-list .chev::after  { width: 2px; height: 12px; transform: translate(-50%, -50%); }
.faq-list details[open] .chev::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.faq-list details[open] .chev::before { background: var(--text); }

.faq-list details p {
  margin: 0 0 1.05rem;
  color: var(--muted);
  font-size: 0.95rem;
}

/* ---------- Contact ---------- */
.contact {
  background:
    radial-gradient(circle at 20% 0%, rgba(124,156,255,0.08), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(179,136,255,0.07), transparent 55%);
  border-top: 1px solid var(--border);
}
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  align-items: start;
}
.contact-copy h2 { margin-bottom: 0.8rem; }
.contact-copy > p { color: var(--muted); max-width: 48ch; }

.contact-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  display: grid;
  gap: 0.9rem;
  color: var(--muted);
  font-size: 0.95rem;
}
.contact-list li { display: flex; align-items: center; gap: 0.7rem; }
.contact-list svg { color: var(--brand); }
.contact-list a { color: var(--text); font-weight: 500; }

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
  padding: 1.8rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  backdrop-filter: blur(6px);
}
.field { display: grid; gap: 0.4rem; }
.field-full { grid-column: 1 / -1; }
.field label {
  font-size: 0.82rem;
  color: var(--muted);
  letter-spacing: 0.03em;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  background: rgba(0,0,0,0.3);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 10px;
  padding: 0.78rem 0.9rem;
  font: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  font-family: inherit;
}
.field textarea { resize: vertical; min-height: 112px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(124,156,255,0.18);
  background: rgba(0,0,0,0.45);
}
.field input::placeholder,
.field textarea::placeholder { color: var(--muted-2); }

.contact-form .btn { grid-column: 1 / -1; }
.form-status {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 0.88rem;
  color: var(--brand-3);
  min-height: 1.2em;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding-top: 3rem;
  margin-top: 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.6fr;
  gap: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border);
}
.footer-brand p {
  margin-top: 0.9rem;
  color: var(--muted);
  font-size: 0.94rem;
  max-width: 42ch;
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.footer-cols a,
.footer-cols span {
  display: block;
  padding: 0.22rem 0;
  color: var(--muted);
  font-size: 0.92rem;
  transition: color 0.2s ease;
}
.footer-cols a:hover { color: var(--text); }
.footer-cols h5 { margin-bottom: 0.7rem; color: var(--text); }

.footer-bottom {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted-2);
  font-size: 0.84rem;
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 1040px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero-visual { min-height: 420px; }
  .services-grid,
  .case-grid,
  .quotes-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .process { grid-template-columns: 1fr 1fr; }
  .process::before { display: none; }
  .faq-wrap,
  .contact-grid,
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 760px) {
  .container { width: calc(100% - 2rem); }
  .announce-wrap { font-size: 0.78rem; padding: 0.4rem 0; text-align: center; flex-wrap: wrap; }
  .site-nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 0.6rem 1.5rem 1rem;
    background: rgba(5, 6, 10, 0.96);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    transform: translateY(-6px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }
  .site-nav a {
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--border);
    font-size: 1rem;
    color: var(--text);
  }
  .site-nav a:last-child { border-bottom: 0; }
  .nav-open .site-nav {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-toggle { display: inline-flex; }
  .nav-actions .btn { display: none; }
  .nav-actions .nav-toggle { display: inline-flex; }

  .hero { padding-top: 3rem; }
  h1 { font-size: clamp(2rem, 8vw, 2.8rem); }
  .section { padding: 4.2rem 0; }
  .section-head { margin-bottom: 2rem; }
  .logos-row { gap: 1.2rem 1.8rem; font-size: 1.2rem; }
  .services-grid,
  .case-grid,
  .quotes-grid,
  .stats-grid,
  .process,
  .footer-cols,
  .contact-form { grid-template-columns: 1fr; }
  .hero-visual { min-height: 380px; }
  .panel-code { width: 100%; }
  .panel-kpi { width: 88%; right: 0; bottom: -10px; }
  .panel-chip { display: none; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  .panel-code, .panel-kpi, .panel-chip { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
