/* =====================================================
   ZBIZ — Dark + Amber Gold (JARVIS) Design System
   Font: Space Grotesk
   ===================================================== */

:root {
  /* Color tokens */
  --bg-0: #050608;
  --bg-1: #0a0c12;
  --bg-2: #11141c;
  --bg-3: #181c27;
  --surface: rgba(20, 24, 34, 0.6);
  --surface-elev: rgba(28, 33, 46, 0.85);
  --border: rgba(255, 184, 77, 0.12);
  --border-strong: rgba(255, 184, 77, 0.28);
  --divider: rgba(255, 255, 255, 0.06);

  --text-0: #f5f1e8;
  --text-1: #d8d2c2;
  --text-2: #98927f;
  --text-3: #5e5a4d;

  --amber-0: #fff5d6;
  --amber-1: #ffd278;
  --amber-2: #ffaa33;
  --amber-3: #f08a1a;
  --amber-glow: rgba(255, 178, 64, 0.45);

  --accent: #ffb240;
  --accent-soft: rgba(255, 178, 64, 0.12);

  --danger: #ff6363;
  --success: #6bff9b;

  /* Type scale */
  --font-sans: "Space Grotesk", "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --fs-12: 0.75rem;
  --fs-13: 0.8125rem;
  --fs-14: 0.875rem;
  --fs-15: 0.9375rem;
  --fs-16: 1rem;
  --fs-18: 1.125rem;
  --fs-20: 1.25rem;
  --fs-24: 1.5rem;
  --fs-28: 1.75rem;
  --fs-32: 2rem;
  --fs-40: 2.5rem;
  --fs-48: 3rem;
  --fs-60: 3.75rem;
  --fs-72: 4.5rem;

  /* Spacing */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 20px;
  --sp-6: 24px;
  --sp-8: 32px;
  --sp-10: 40px;
  --sp-12: 48px;
  --sp-16: 64px;
  --sp-20: 80px;
  --sp-24: 96px;
  --sp-32: 128px;

  /* Radius */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-full: 999px;

  /* Shadows */
  --shadow-amber: 0 0 0 1px rgba(255, 178, 64, 0.18), 0 12px 40px -12px rgba(255, 178, 64, 0.35);
  --shadow-card: 0 8px 24px -8px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.04);
  --shadow-elev: 0 24px 60px -20px rgba(0, 0, 0, 0.8);

  /* Layout */
  --container: 1240px;
  --nav-h: 72px;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
}
body {
  background: var(--bg-0);
  color: var(--text-1);
  font-family: var(--font-sans);
  font-size: var(--fs-16);
  line-height: 1.6;
  font-feature-settings: "ss01" on, "cv11" on;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, canvas, video { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5, h6 { margin: 0; color: var(--text-0); font-weight: 600; letter-spacing: -0.02em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

/* ===== Layout ===== */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--sp-6);
}
.section {
  position: relative;
  padding: var(--sp-24) 0;
  border-top: 1px solid var(--divider);
}
.section--tight { padding: var(--sp-16) 0; }
.section-head { max-width: 760px; margin-bottom: var(--sp-12); }
.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 6px 12px;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-full);
  font-size: var(--fs-12);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber-1);
  background: var(--accent-soft);
}
.section-label::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--amber-2);
  box-shadow: 0 0 12px var(--amber-glow);
}
.section-title {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  line-height: 1.05;
  margin-top: var(--sp-5);
  letter-spacing: -0.03em;
}
.section-title em {
  font-style: normal;
  background: linear-gradient(135deg, var(--amber-1), var(--amber-3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.section-sub {
  margin-top: var(--sp-5);
  color: var(--text-2);
  font-size: var(--fs-18);
  max-width: 640px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: var(--r-full);
  font-weight: 500;
  font-size: var(--fs-15);
  border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn--primary {
  background: linear-gradient(135deg, var(--amber-1), var(--amber-3));
  color: #1a1206;
  font-weight: 600;
  box-shadow: var(--shadow-amber);
}
.btn--primary:hover { transform: translateY(-1px); box-shadow: 0 0 0 1px rgba(255,178,64,0.3), 0 16px 50px -10px rgba(255,178,64,0.55); }
.btn--ghost {
  background: transparent;
  color: var(--text-0);
  border-color: var(--border-strong);
}
.btn--ghost:hover { background: var(--accent-soft); border-color: var(--amber-2); }
.btn--sm { padding: 10px 16px; font-size: var(--fs-14); }
.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ===== Navigation ===== */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-h);
  z-index: 50;
  display: flex;
  align-items: center;
  background: rgba(5, 6, 8, 0.7);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--divider);
}
.nav__inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-6);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--text-0);
  font-size: var(--fs-18);
  transition: transform 0.25s var(--ease-expo);
}
.brand:hover { transform: translateY(-1px); }
.brand__z {
  display: block;
  height: 44px;
  width: 44px;
  overflow: visible;
  transition: filter 0.25s ease;
}
.brand:hover .brand__z {
  filter: drop-shadow(0 0 14px rgba(255, 178, 64, 0.55));
}
.brand__z--lg {
  height: 56px;
  width: 56px;
}
.brand__z-shadow {
  fill: #3d2606;
  transform: translate(2.5px, 3px);
  opacity: 0.75;
}
.brand__z-depth {
  fill: url(#z-edge);
  transform: translate(1.2px, 1.6px);
  opacity: 0.92;
}
.brand__z-face {
  fill: url(#z-fill);
  filter: url(#z-glow);
}
.brand__z-highlight {
  fill: url(#z-shine);
  opacity: 0.55;
}
.footer .brand__z {
  height: 56px;
  width: 56px;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
}
.nav__link {
  font-size: var(--fs-14);
  color: var(--text-2);
  letter-spacing: 0.02em;
  transition: color .15s ease;
}
.nav__link:hover { color: var(--text-0); }
.nav__cta { display: flex; align-items: center; gap: var(--sp-3); }
.nav__toggle {
  display: none;
  background: transparent; border: 1px solid var(--border-strong);
  color: var(--text-0);
  padding: 10px 12px;
  border-radius: var(--r-md);
}

@media (max-width: 980px) {
  .nav__links { display: none; }
  .nav__toggle { display: inline-flex; }
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  padding-top: calc(var(--nav-h) + var(--sp-16));
  padding-bottom: var(--sp-16);
  overflow: hidden;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--divider);
}
.hero__canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero__canvas canvas { width: 100% !important; height: 100% !important; display: block; }
.hero__veil {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 40%, transparent 0%, rgba(5,6,8,0.6) 70%, var(--bg-0) 100%),
    linear-gradient(180deg, rgba(5,6,8,0.5), rgba(5,6,8,0.85));
  z-index: 1;
  pointer-events: none;
}
.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: var(--sp-12);
  align-items: center;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 8px 14px;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-full);
  font-size: var(--fs-13);
  color: var(--amber-1);
  background: rgba(15, 11, 4, 0.5);
  backdrop-filter: blur(8px);
}
.hero__badge .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--amber-2);
  box-shadow: 0 0 14px var(--amber-glow);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}
.hero__title {
  margin-top: var(--sp-6);
  font-size: clamp(2.5rem, 7vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  color: var(--text-0);
}
.hero__title em {
  font-style: normal;
  background: linear-gradient(135deg, var(--amber-0), var(--amber-2) 60%, var(--amber-3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__sub {
  margin-top: var(--sp-6);
  color: var(--text-1);
  font-size: var(--fs-18);
  max-width: 560px;
}
.hero__sub strong { color: var(--amber-1); font-weight: 600; }
.hero__cta {
  margin-top: var(--sp-8);
  display: flex;
  gap: var(--sp-4);
  flex-wrap: wrap;
}
.hero__trust {
  margin-top: var(--sp-10);
  display: flex;
  gap: var(--sp-8);
  flex-wrap: wrap;
}
.hero__trust div {
  display: flex; flex-direction: column;
}
.hero__trust strong {
  font-size: var(--fs-24);
  background: linear-gradient(135deg, var(--amber-1), var(--amber-3));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  font-weight: 600;
}
.hero__trust span {
  font-size: var(--fs-12);
  color: var(--text-2);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Hero Dashboard Card */
.dash {
  position: relative;
  background: var(--surface);
  backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-xl);
  padding: var(--sp-8);
  box-shadow: var(--shadow-elev);
}
.dash::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: var(--r-xl);
  background: linear-gradient(135deg, rgba(255,178,64,0.08), transparent 60%);
  pointer-events: none;
}
.dash__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: var(--sp-5);
  border-bottom: 1px solid var(--divider);
}
.dash__title {
  font-size: var(--fs-14);
  color: var(--text-2);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.dash__status {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: var(--fs-12);
  color: var(--success);
}
.dash__status::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--success); box-shadow: 0 0 10px var(--success);
}
.dash__metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
  margin-top: var(--sp-6);
}
.metric {
  padding: var(--sp-4);
  background: rgba(255, 178, 64, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
}
.metric__label {
  font-size: var(--fs-12);
  color: var(--text-2);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.metric__value {
  margin-top: 6px;
  font-size: var(--fs-28);
  font-weight: 600;
  color: var(--amber-1);
  letter-spacing: -0.02em;
}
.dash__bars { margin-top: var(--sp-6); display: flex; flex-direction: column; gap: var(--sp-4); }
.bar { display: flex; flex-direction: column; }
.bar__head { display: flex; justify-content: space-between; font-size: var(--fs-13); margin-bottom: 6px; }
.bar__head strong { color: var(--text-0); font-weight: 500; }
.bar__head span { color: var(--amber-1); font-feature-settings: "tnum"; }
.bar__track { height: 6px; background: rgba(255,255,255,0.06); border-radius: 999px; overflow: hidden; }
.bar__fill {
  height: 100%; border-radius: 999px;
  background: linear-gradient(90deg, var(--amber-3), var(--amber-1));
  box-shadow: 0 0 12px var(--amber-glow);
  width: 0%;
  transition: width 1.6s cubic-bezier(.2,.7,.2,1);
}
.dash__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: var(--sp-6); }
.tag {
  font-size: var(--fs-12);
  padding: 5px 10px;
  background: rgba(255,178,64,0.08);
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  color: var(--text-1);
}

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

/* ===== Marquee ===== */
.marquee {
  border-top: 1px solid var(--divider);
  border-bottom: 1px solid var(--divider);
  padding: var(--sp-5) 0;
  overflow: hidden;
  background: var(--bg-1);
}
.marquee__track {
  display: flex;
  gap: var(--sp-12);
  animation: marquee 36s linear infinite;
  white-space: nowrap;
}
.marquee__item {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: var(--fs-14);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-2);
}
.marquee__item strong {
  color: var(--amber-1);
  font-weight: 600;
}
.marquee__sep {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--amber-3); opacity: 0.6;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ===== Bento Pain Points ===== */
/* ── Bento grid: 6-column base, explicit placement per row ── */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--sp-5);
  position: relative; /* anchor for watermark */
}

/* Watermark — centered behind all cards */
.bento::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('images/watermark.png');
  background-size: cover;
  background-position: center;
  opacity: 0.15;
  filter: invert(1) sepia(1) saturate(3) hue-rotate(190deg) brightness(1.2);
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 0;
}

/* Row 1 — full-width, 3 equal cards */
.bento__card:nth-child(1) { grid-column: 1 / 3; }
.bento__card:nth-child(2) { grid-column: 3 / 5; }
.bento__card:nth-child(3) { grid-column: 5 / 7; }

/* Row 2 — 2 cards, shifted inward by 1 track each side */
.bento__card:nth-child(4) { grid-column: 2 / 4; }
.bento__card:nth-child(5) { grid-column: 4 / 6; }

/* Row 3 — full-width, 3 equal cards */
.bento__card:nth-child(6) { grid-column: 1 / 3; }
.bento__card:nth-child(7) { grid-column: 3 / 5; }
.bento__card:nth-child(8) { grid-column: 5 / 7; }

/* ── Card ── */
.bento__card {
  position: relative;
  z-index: 1; /* above watermark */
  padding: var(--sp-8) var(--sp-6) var(--sp-6);
  border: 1px solid var(--divider);
  border-radius: var(--r-xl);
  background: var(--bg-1);
  overflow: hidden;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  transition:
    border-color 0.4s var(--ease-expo),
    transform    0.4s var(--ease-expo),
    box-shadow   0.4s var(--ease-expo);
}

/* Top accent bar — slides in on hover */
.bento__card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--amber-3), var(--amber-1), transparent);
  opacity: 0;
  transition: opacity 0.35s var(--ease-expo);
}

.bento__card:hover {
  border-color: var(--border-strong);
  transform: translateY(-5px);
  box-shadow: 0 20px 56px rgba(0,0,0,0.4);
}
.bento__card:hover::before { opacity: 1; }

/* Row 2 cards get a subtly warmer bg to "lift" the middle */
.bento__card:nth-child(4),
.bento__card:nth-child(5) {
  background: linear-gradient(160deg, rgba(255,178,64,0.04) 0%, var(--bg-1) 60%);
  border-color: rgba(255,184,77,0.1);
}

/* ── Number badge ── */
.bento__num {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: var(--r-md);
  background: rgba(255,178,64,0.1);
  border: 1px solid rgba(255,178,64,0.18);
  color: var(--amber-1);
  font-size: var(--fs-13);
  font-weight: 600;
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
  transition: background 0.3s ease, color 0.3s ease;
}
.bento__card:hover .bento__num {
  background: rgba(255,178,64,0.18);
  color: var(--amber-0);
}

/* ── Text ── */
.bento__title {
  margin-top: var(--sp-5);
  font-size: var(--fs-18);
  line-height: 1.4;
  color: var(--text-0);
  letter-spacing: -0.01em;
}
.bento__text {
  margin-top: var(--sp-3);
  font-size: var(--fs-14);
  color: var(--text-2);
  line-height: 1.65;
  flex: 1;
}

/* ── Quote ── */
.bento__quote {
  margin-top: var(--sp-10);
  padding: var(--sp-6) var(--sp-8);
  border-left: 2px solid var(--amber-2);
  background: linear-gradient(90deg, rgba(255,178,64,0.05), transparent);
  font-size: var(--fs-18);
  color: var(--text-0);
  font-style: italic;
  border-radius: 0 var(--r-md) var(--r-md) 0;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  /* Reset all explicit placements — let auto-flow handle it */
  .bento__card:nth-child(n) { grid-column: auto; }
}
@media (max-width: 560px) {
  .bento { grid-template-columns: 1fr; gap: var(--sp-4); }
}

/* ===== About ===== */
.about {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--sp-12);
  align-items: start;
}
.about__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--sp-6); }
.about__card {
  padding: var(--sp-8);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  background: var(--surface);
}
.about__stat {
  font-size: var(--fs-48);
  font-weight: 600;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--amber-1), var(--amber-3));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  line-height: 1;
}
.about__stat + p { color: var(--text-2); margin-top: var(--sp-2); }
.about__list { margin-top: var(--sp-6); display: flex; flex-direction: column; gap: var(--sp-3); }
.about__list li {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--divider);
  font-size: var(--fs-14);
  color: var(--text-1);
}
.about__list li::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--amber-2);
}
@media (max-width: 900px) { .about { grid-template-columns: 1fr; } }

/* ===== Services ===== */
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-4);
  position: relative;
}
.services::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('images/watermark.png');
  background-size: cover;
  background-position: center;
  opacity: 0.07;
  filter: invert(1) sepia(1) saturate(3) hue-rotate(190deg) brightness(1.2);
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 0;
}
.service {
  position: relative;
  z-index: 1;
  padding: var(--sp-8);
  border: 1px solid var(--divider);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(255,255,255,0.02), transparent);
  transition: transform 0.4s var(--ease-expo), border-color 0.3s ease, box-shadow 0.4s ease;
  overflow: hidden;
}
.service::after {
  content: "";
  position: absolute; inset: -1px;
  border-radius: var(--r-lg);
  padding: 1px;
  background: linear-gradient(135deg, rgba(255,178,64,0.4), transparent 50%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity .25s ease;
  pointer-events: none;
}
.service:hover { transform: translateY(-6px); border-color: transparent; box-shadow: 0 20px 60px rgba(0,0,0,0.4); }
.service:hover::after { opacity: 1; }
.service--featured { background: linear-gradient(180deg, rgba(255,178,64,0.07), rgba(255,178,64,0.02)); border-color: var(--border-strong); }
.service--wide { grid-column: span 3; display: grid; grid-template-columns: 1.4fr 1fr; gap: var(--sp-10); align-items: center; }
.service__num {
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  color: var(--amber-2);
  letter-spacing: 0.18em;
}
.service__title {
  margin-top: var(--sp-2);
  font-size: var(--fs-24);
  letter-spacing: -0.02em;
}
.service__kicker {
  margin-top: 4px;
  font-size: var(--fs-13);
  color: var(--amber-1);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.service__text {
  margin-top: var(--sp-4);
  color: var(--text-2);
  font-size: var(--fs-15);
}
.service__list { margin-top: var(--sp-5); display: flex; flex-direction: column; gap: 8px; }
.service__list li {
  display: flex; gap: 10px; align-items: center;
  font-size: var(--fs-14); color: var(--text-1);
}
.service__list li::before {
  content: "→";
  color: var(--amber-2);
  font-weight: 600;
}
.service__badge {
  position: absolute; top: var(--sp-5); right: var(--sp-5);
  font-size: var(--fs-12);
  padding: 4px 10px;
  border-radius: var(--r-full);
  background: linear-gradient(135deg, var(--amber-1), var(--amber-3));
  color: #1a1206;
  font-weight: 600;
  letter-spacing: 0.05em;
}
@media (max-width: 980px) { .services { grid-template-columns: 1fr 1fr; } .service--wide { grid-column: span 2; grid-template-columns: 1fr; } }
@media (max-width: 640px) { .services { grid-template-columns: 1fr; } .service--wide { grid-column: span 1; } }

/* ===== Before/After ===== */
.ba { display: grid; grid-template-columns: 1fr auto 1fr; gap: var(--sp-6); align-items: stretch; }
.ba__col {
  padding: var(--sp-8);
  border: 1px solid var(--divider);
  border-radius: var(--r-xl);
  background: var(--surface);
}
.ba__col--after { border-color: var(--border-strong); background: linear-gradient(180deg, rgba(255,178,64,0.07), rgba(255,178,64,0.02)); }
.ba__head {
  display: flex; align-items: center; gap: 10px;
  font-size: var(--fs-13); letter-spacing: 0.12em; text-transform: uppercase;
  padding-bottom: var(--sp-4);
  border-bottom: 1px solid var(--divider);
  margin-bottom: var(--sp-5);
}
.ba__head--after { color: var(--amber-1); }
.ba__head--before { color: var(--text-2); }
.ba__list { display: flex; flex-direction: column; gap: var(--sp-3); }
.ba__list li {
  font-size: var(--fs-15); color: var(--text-1);
  padding-left: 24px;
  position: relative;
}
.ba__list--before li::before {
  content: "✕";
  position: absolute; left: 0;
  color: var(--danger);
  opacity: 0.8;
}
.ba__list--after li::before {
  content: "✓";
  position: absolute; left: 0;
  color: var(--amber-1);
  font-weight: 700;
}
.ba__arrow {
  align-self: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--amber-1), var(--amber-3));
  display: grid; place-items: center;
  color: #1a1206;
  font-size: 24px;
  box-shadow: var(--shadow-amber);
}
@media (max-width: 900px) { .ba { grid-template-columns: 1fr; } .ba__arrow { transform: rotate(90deg); } }

/* ===== Fractional COO ===== */
.coo { display: grid; grid-template-columns: 1.05fr 1fr; gap: var(--sp-12); align-items: start; }
.coo__kpis { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: var(--sp-4); margin-top: var(--sp-8); }
.kpi {
  padding: var(--sp-5);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
}
.kpi__num {
  font-size: var(--fs-28);
  font-weight: 600;
  color: var(--amber-1);
  letter-spacing: -0.02em;
}
.kpi__label { font-size: var(--fs-12); color: var(--text-2); margin-top: 4px; }
.coo__card {
  padding: var(--sp-8);
  background: linear-gradient(180deg, rgba(255,178,64,0.06), transparent);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-xl);
}
.coo__card h3 { font-size: var(--fs-24); margin-bottom: var(--sp-5); }
.coo__card ul { display: flex; flex-direction: column; gap: var(--sp-3); }
.coo__card li {
  display: flex; gap: 12px; align-items: flex-start;
  color: var(--text-1); font-size: var(--fs-15);
}
.coo__card li::before {
  content: "→";
  color: var(--amber-2); font-weight: 700;
  flex-shrink: 0;
}
@media (max-width: 900px) { .coo { grid-template-columns: 1fr; } .coo__kpis { grid-template-columns: 1fr 1fr 1fr; } }
@media (max-width: 500px) { .coo__kpis { grid-template-columns: 1fr; } }

/* ===== AI Brain Section ===== */
.aibrain {
  position: relative;
  padding: var(--sp-24) 0;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(255, 178, 64, 0.06) 0%, transparent 70%),
    var(--bg-0);
  border-top: 1px solid var(--divider);
}
.aibrain::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('images/watermark.png');
  background-size: cover;
  background-position: center;
  opacity: 0.07;
  filter: invert(1) sepia(1) saturate(3) hue-rotate(190deg) brightness(1.2);
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 0;
}
.aibrain__inner {
  position: relative;
  z-index: 1;
}
.aibrain__copy { max-width: 720px; }
.aibrain__caps { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-3); margin-top: var(--sp-8); }
.cap {
  padding: var(--sp-5);
  background: rgba(15, 11, 4, 0.5);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
  border-radius: var(--r-md);
}
.cap__icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(255,178,64,0.12);
  display: grid; place-items: center;
  color: var(--amber-1);
  margin-bottom: var(--sp-3);
}
.cap__label {
  font-size: var(--fs-12);
  color: var(--amber-2);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.cap__text {
  font-size: var(--fs-14);
  color: var(--text-1);
  margin-top: 4px;
}
/* ===== Senior Advisory ===== */
.advisory { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-6); }
.advisory__card {
  padding: var(--sp-8);
  border: 1px solid var(--divider);
  border-radius: var(--r-xl);
  background: var(--surface);
  transition: border-color .2s ease;
}
.advisory__card:hover { border-color: var(--border-strong); }
.advisory__badge {
  display: inline-block;
  font-size: var(--fs-12);
  padding: 5px 10px;
  border-radius: var(--r-full);
  background: var(--accent-soft);
  color: var(--amber-1);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.advisory__title { font-size: var(--fs-24); margin-top: var(--sp-4); }
.advisory__text { color: var(--text-2); margin-top: var(--sp-3); font-size: var(--fs-15); }
.advisory__list { margin-top: var(--sp-5); display: flex; flex-direction: column; gap: 10px; }
.advisory__list li {
  font-size: var(--fs-14); color: var(--text-1);
  padding-left: 22px; position: relative;
}
.advisory__list li::before { content: "◆"; position: absolute; left: 0; color: var(--amber-2); font-size: 10px; top: 4px;}
.advisory__quote {
  grid-column: span 2;
  text-align: center;
  padding: var(--sp-12) var(--sp-8) 0;
  font-size: var(--fs-20);
  color: var(--text-1);
  font-style: italic;
  max-width: 760px;
  margin: 0 auto;
}
@media (max-width: 800px) { .advisory { grid-template-columns: 1fr; } .advisory__quote { grid-column: span 1; } }

/* ===== Industries ===== */
.industries { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--sp-3); }
.industry {
  padding: var(--sp-6);
  border: 1px solid var(--divider);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(255,255,255,0.02), transparent);
  transition: all .25s ease;
  display: flex; flex-direction: column;
}
.industry:hover { border-color: var(--border-strong); transform: translateY(-3px); background: linear-gradient(180deg, rgba(255,178,64,0.06), transparent); }
.industry__icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: rgba(255,178,64,0.1);
  display: grid; place-items: center;
  color: var(--amber-1);
  margin-bottom: var(--sp-4);
}
.industry__title { font-size: var(--fs-18); }
.industry__text { color: var(--text-2); font-size: var(--fs-14); margin-top: var(--sp-3); line-height: 1.55; }
@media (max-width: 1100px) { .industries { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .industries { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .industries { grid-template-columns: 1fr; } }

/* ===== Process ===== */
.process { position: relative; }
.process__rail {
  position: absolute; left: 50%; top: 24px; bottom: 24px;
  width: 2px; transform: translateX(-1px);
  background: linear-gradient(180deg, transparent, var(--border-strong) 10%, var(--border-strong) 90%, transparent);
}

/* ── Step layout ── */
.step {
  display: grid;
  grid-template-columns: 1fr 100px 1fr;
  gap: var(--sp-6);
  align-items: center;
  margin-bottom: var(--sp-8);
}

/* ── Dot ── */
.step__dot {
  width: 56px; height: 56px;
  border-radius: 50%;
  margin: 0 auto;
  background: var(--bg-1);
  border: 1px solid var(--border-strong);
  display: grid; place-items: center;
  font-weight: 600;
  color: var(--amber-1);
  font-feature-settings: "tnum";
  position: relative;
  z-index: 1;
  grid-column: 2;
  transition: border-color 0.4s var(--ease-expo), background 0.4s var(--ease-expo),
              box-shadow 0.4s var(--ease-expo), color 0.3s ease;
}
/* Glow ring */
.step__dot::before {
  content: "";
  position: absolute; inset: -8px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--amber-glow), transparent 65%);
  opacity: 0;
  transition: opacity 0.4s var(--ease-expo);
}

/* ── Card ── */
.step__card {
  position: relative;
  overflow: hidden;
  padding: var(--sp-6);
  border: 1px solid var(--divider);
  border-radius: var(--r-lg);
  background: var(--bg-1);
  transition: border-color 0.4s var(--ease-expo), background 0.4s var(--ease-expo),
              box-shadow 0.4s var(--ease-expo), transform 0.4s var(--ease-expo);
}
.step__card h3 { font-size: var(--fs-18); margin-bottom: 6px; }
.step__card p  { color: var(--text-2); font-size: var(--fs-14); line-height: 1.6; }

/* Timer progress bar at card bottom — width driven by JS class */
.step__card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  height: 2px; width: 0%;
  background: linear-gradient(90deg, var(--amber-3), var(--amber-1));
  border-radius: 0 var(--r-lg) var(--r-lg) 0;
  transition: width 0s; /* instant reset when inactive */
}

/* ── Active state (JS toggles .step--active) ── */
.step--active .step__dot {
  border-color: var(--amber-1);
  background: rgba(255, 178, 64, 0.12);
  box-shadow: 0 0 0 6px rgba(255, 178, 64, 0.08);
  color: var(--amber-0);
}
.step--active .step__dot::before { opacity: 1; }
.step--active .step__card {
  border-color: var(--border-strong);
  background: rgba(255, 178, 64, 0.04);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.35);
  transform: translateY(-3px);
}
/* Animate timer bar to 100% over 2 s when active */
.step--active .step__card::after {
  width: 100%;
  transition: width 2s linear;
}

/* Hover also triggers active feel (but no timer bar) */
.step:hover .step__dot::before { opacity: 1; }
.step:hover .step__dot {
  border-color: var(--border-strong);
  background: rgba(255, 178, 64, 0.06);
}
.step:hover .step__card {
  border-color: var(--border-strong);
  transform: translateY(-3px);
}

/* ── Left / right alternation ── */
.process > .step:nth-child(2n)   .step__card    { grid-column: 1; text-align: right; }
.process > .step:nth-child(2n)   .step__spacer  { grid-column: 3; }
.process > .step:nth-child(2n+1) .step__card    { grid-column: 3; text-align: left; }
.process > .step:nth-child(2n+1) .step__spacer  { grid-column: 1; }

/* ── Mobile responsive ── */
@media (max-width: 800px) {
  .process__rail {
    left: 23px;
    top: 0; bottom: 0;
  }

  /* Switch to flexbox — bypasses all grid-column specificity battles */
  .step {
    display: flex;
    flex-direction: row;
    align-items: flex-center;
    justify-content: center;
    gap: var(--sp-4);
    margin-bottom: var(--sp-5);
  }

  /* Dot: always first visually, fixed width */
  .step__dot {
    order: 0;
    flex-shrink: 0;
    width: 48px; height: 48px;
    font-size: var(--fs-13);
    margin: 0;
    /* clear grid-column — not used in flex */
    grid-column: unset;
  }

  /* Card: always second, fills remaining space */
  .step__card {
    order: 1;
    flex: 1;
    min-width: 0;
    padding: var(--sp-5);
    text-align: left;
    /* clear grid-column — not used in flex */
    grid-column: unset;
  }
  .step__card h3 { font-size: var(--fs-16); }

  /* Spacer: hidden on mobile */
  .step__spacer { display: none; }

  /* No lift on mobile — avoids content jumping */
  .step--active .step__card,
  .step:hover   .step__card { transform: none; }
}

/* ===== Why ZBIZ ===== */
.why { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--sp-4); }
.why__card {
  padding: var(--sp-6);
  border: 1px solid var(--divider);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(255,255,255,0.02), transparent);
  transition: all .25s ease;
}
.why__card:hover { border-color: var(--border-strong); transform: translateY(-3px); }
.why__num {
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  color: var(--amber-2);
  letter-spacing: 0.16em;
}
.why__title { font-size: var(--fs-18); margin-top: var(--sp-2); }
.why__text { color: var(--text-2); font-size: var(--fs-14); margin-top: var(--sp-3); line-height: 1.55; }
.why__quote {
  margin-top: var(--sp-12);
  padding: var(--sp-10);
  background: linear-gradient(180deg, rgba(255,178,64,0.06), transparent);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-xl);
  text-align: center;
}
.why__quote p {
  font-size: var(--fs-20);
  color: var(--text-0);
  font-style: italic;
  max-width: 800px;
  margin: 0 auto;
}
.why__quote cite {
  display: block;
  margin-top: var(--sp-5);
  color: var(--amber-1);
  font-style: normal;
  font-size: var(--fs-13);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.why__stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-4);
  margin-top: var(--sp-12);
}
.why__stat {
  text-align: center;
  padding: var(--sp-6);
  border: 1px solid var(--divider);
  border-radius: var(--r-lg);
}
.why__stat strong {
  display: block;
  font-size: var(--fs-40);
  font-weight: 600;
  background: linear-gradient(135deg, var(--amber-1), var(--amber-3));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  letter-spacing: -0.03em;
}
.why__stat span { font-size: var(--fs-13); color: var(--text-2); letter-spacing: 0.05em; }
@media (max-width: 1000px) { .why { grid-template-columns: repeat(2, 1fr); } .why__stats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .why { grid-template-columns: 1fr; } }

/* ===== Cases ===== */
.cases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
  counter-reset: case-num;
}
.case {
  counter-increment: case-num;
  position: relative;
  padding: var(--sp-8) var(--sp-8) var(--sp-6);
  border: 1px solid var(--divider);
  border-radius: var(--r-xl);
  background: var(--bg-1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: border-color .3s ease, transform .3s ease, box-shadow .3s ease;
}
/* Amber accent bar slides in on hover */
.case::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--amber-3), var(--amber-1), transparent);
  opacity: 0;
  transition: opacity .3s ease;
}
/* Case number badge */
.case::after {
  content: '0' counter(case-num);
  position: absolute;
  top: var(--sp-8);
  right: var(--sp-8);
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  color: var(--text-3);
  letter-spacing: 0.06em;
}
.case:hover {
  border-color: var(--border-strong);
  transform: translateY(-6px);
  box-shadow: 0 24px 64px rgba(0,0,0,0.45), 0 0 0 1px var(--border);
}
.case:hover::before { opacity: 1; }

.case__kicker {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-12);
  color: var(--amber-2);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: var(--font-mono);
  padding-right: var(--sp-10); /* avoid overlap with case number */
}
.case__kicker::before {
  content: '';
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--amber-2);
  flex-shrink: 0;
}
.case__title {
  font-size: var(--fs-18);
  margin-top: var(--sp-4);
  letter-spacing: -0.02em;
  line-height: 1.5;
  color: var(--text-0);
}
.case__text {
  margin-top: var(--sp-3);
  color: var(--text-2);
  font-size: var(--fs-14);
  line-height: 1.7;
  flex: 1;
}
.case__result {
  margin-top: var(--sp-6);
  padding: var(--sp-3) var(--sp-5);
  background: rgba(255, 170, 51, 0.07);
  border: 1px solid rgba(255, 170, 51, 0.2);
  border-radius: var(--r-md);
  font-size: var(--fs-13);
  font-weight: 600;
  color: var(--amber-1);
  font-family: var(--font-mono);
  letter-spacing: 0.03em;
}
@media (max-width: 900px) { .cases { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .cases { grid-template-columns: 1fr; } }

/* ===== Testimonials ===== */
.tests { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-5); }
.test {
  padding: var(--sp-8);
  border: 1px solid var(--divider);
  border-radius: var(--r-xl);
  background: var(--surface);
  display: flex; flex-direction: column;
}
.test__stars { color: var(--amber-1); letter-spacing: 2px; }
.test__quote {
  margin-top: var(--sp-5);
  color: var(--text-0);
  font-size: var(--fs-16);
  line-height: 1.65;
  flex: 1;
}
.test__quote::before { content: "“"; color: var(--amber-2); font-size: 32px; line-height: 0; vertical-align: -10px; margin-right: 4px; }
.test__quote::after { content: "”"; color: var(--amber-2); font-size: 32px; line-height: 0; vertical-align: -10px; margin-left: 4px; }
.test__author {
  margin-top: var(--sp-6);
  padding-top: var(--sp-5);
  border-top: 1px solid var(--divider);
}
.test__author strong { display: block; color: var(--text-0); font-weight: 500; font-size: var(--fs-14); }
.test__author span { color: var(--text-2); font-size: var(--fs-13); }
@media (max-width: 900px) { .tests { grid-template-columns: 1fr; } }

/* ===== Insights ===== */
.insights { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-6); }
.insight {
  position: relative;
  padding: var(--sp-8);
  border: 1px solid var(--divider);
  border-radius: var(--r-xl);
  background: var(--bg-1);
  transition: border-color .3s ease, transform .3s ease, box-shadow .3s ease;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.insight::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--amber-3), var(--amber-1), transparent);
  opacity: 0;
  transition: opacity .3s ease;
}
.insight:hover {
  border-color: var(--border-strong);
  transform: translateY(-6px);
  box-shadow: 0 24px 64px rgba(0,0,0,0.45), 0 0 0 1px var(--border);
}
.insight:hover::before { opacity: 1; }

.insight__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--sp-3);
}
.insight__meta strong {
  display: inline-block;
  padding: 4px 10px;
  background: rgba(255, 170, 51, 0.1);
  border: 1px solid rgba(255, 170, 51, 0.2);
  border-radius: var(--r-full);
  font-size: var(--fs-12);
  font-weight: 500;
  color: var(--amber-1);
  letter-spacing: 0.04em;
}
.insight__meta span {
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  color: var(--text-3);
  letter-spacing: 0.06em;
  flex-shrink: 0;
}
.insight__title {
  margin-top: var(--sp-5);
  font-size: var(--fs-18);
  line-height: 1.5;
  letter-spacing: -0.02em;
  color: var(--text-0);
}
.insight__text {
  margin-top: var(--sp-3);
  color: var(--text-2);
  font-size: var(--fs-14);
  line-height: 1.7;
  flex: 1;
}
.insight__link {
  margin-top: var(--sp-6);
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  color: var(--amber-1);
  font-size: var(--fs-13);
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: gap .2s ease, color .2s ease;
}
.insight__link:hover { gap: var(--sp-3); color: var(--amber-0); }
.insights-extras { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-5); margin-top: var(--sp-10); }
.youtube, .newsletter {
  padding: var(--sp-8);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  background: var(--surface);
}
.newsletter form {
  margin-top: var(--sp-5);
  display: flex; gap: 8px;
}
.newsletter input {
  flex: 1;
  padding: 12px 14px;
  background: var(--bg-2);
  border: 1px solid var(--divider);
  border-radius: var(--r-md);
  color: var(--text-0);
  font-family: inherit;
  font-size: var(--fs-14);
}
.newsletter input:focus { outline: none; border-color: var(--amber-2); }
@media (max-width: 900px) { .insights { grid-template-columns: 1fr; } .insights-extras { grid-template-columns: 1fr; } }

/* ===== FAQ ===== */
.faq { max-width: 900px; margin: 0 auto; }
.faq__item {
  border-top: 1px solid var(--divider);
}
.faq__item:last-child { border-bottom: 1px solid var(--divider); }
.faq__head {
  width: 100%;
  display: flex; justify-content: space-between; align-items: center;
  padding: var(--sp-6) 0;
  background: none; border: none;
  text-align: left;
  color: var(--text-0);
  font-size: var(--fs-18);
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: color .15s ease;
}
.faq__head:hover { color: var(--amber-1); }
.faq__icon {
  width: 32px; height: 32px;
  display: grid; place-items: center;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  color: var(--amber-1);
  transition: transform .25s ease;
  flex-shrink: 0;
  margin-left: var(--sp-4);
}
.faq__item.open .faq__icon { transform: rotate(45deg); }
.faq__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}
.faq__item.open .faq__body { max-height: 400px; }
.faq__body p {
  padding: 0 0 var(--sp-6) 0;
  color: var(--text-2);
  font-size: var(--fs-15);
  line-height: 1.7;
  max-width: 800px;
}

/* ===== CTA Banner ===== */
.cta-banner {
  position: relative;
  margin: var(--sp-16) 0;
  padding: var(--sp-16) var(--sp-12);
  border-radius: var(--r-xl);
  background:
    radial-gradient(ellipse at top left, rgba(255,178,64,0.15), transparent 50%),
    radial-gradient(ellipse at bottom right, rgba(255,138,26,0.1), transparent 50%),
    var(--bg-1);
  border: 1px solid var(--border-strong);
  overflow: hidden;
  text-align: center;
}
.cta-banner::before {
  content: "";
  position: absolute; inset: 0;
  background: repeating-linear-gradient(135deg, rgba(255,178,64,0.03) 0 1px, transparent 1px 18px);
  pointer-events: none;
}
.cta-banner__title { font-size: clamp(2rem, 5vw, 3.5rem); line-height: 1.05; max-width: 800px; margin: 0 auto; }
.cta-banner__sub { color: var(--text-2); margin-top: var(--sp-5); font-size: var(--fs-18); }
.cta-banner__btns { margin-top: var(--sp-8); display: flex; gap: var(--sp-3); justify-content: center; flex-wrap: wrap; }

/* ===== Contact ===== */
.contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: var(--sp-8); }
.contact__info, .contact__form {
  padding: var(--sp-8);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
}
.contact__info h3, .contact__form h3 { font-size: var(--fs-20); }
.contact__info p { color: var(--text-2); margin-top: var(--sp-3); }
.contact__details { margin-top: var(--sp-6); display: flex; flex-direction: column; gap: var(--sp-3); }
.contact__details li {
  display: flex; gap: 12px; align-items: center;
  color: var(--text-1); font-size: var(--fs-14);
  padding: 10px 0;
  border-bottom: 1px solid var(--divider);
}
.contact__details li:last-child { border-bottom: none; }
.contact__details strong { color: var(--text-2); min-width: 100px; font-weight: 400; font-size: var(--fs-13); letter-spacing: 0.05em; text-transform: uppercase; }
.contact__details span { color: var(--text-0); }
.contact__link {
  color: var(--text-0);
  transition: color 0.15s ease;
}
.contact__link:hover { color: var(--amber-1); }
.field { display: flex; flex-direction: column; gap: var(--sp-3); margin-bottom: var(--sp-5); }
.field label { font-size: var(--fs-12); color: var(--text-2); letter-spacing: 0.08em; text-transform: uppercase; }
.field input, .field select, .field textarea {
  padding: 12px 14px;
  background: var(--bg-2);
  border: 1px solid var(--divider);
  border-radius: var(--r-md);
  color: var(--text-0);
  font-family: inherit;
  font-size: var(--fs-14);
  transition: border-color .15s ease, background .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--amber-2); background: var(--bg-3); }
.field textarea { resize: vertical; min-height: 100px; }
.field--row { flex-direction: row; gap: var(--sp-8); margin-bottom: var(--sp-5); }
.field--row .field { flex: 1; margin-bottom: 0; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }

/* ===== Footer ===== */
.footer {
  border-top: 1px solid var(--divider);
  background: var(--bg-1);
  padding: var(--sp-16) 0 var(--sp-6);
  margin-top: var(--sp-16);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--sp-10);
}
.footer__about { color: var(--text-2); font-size: var(--fs-14); margin-top: var(--sp-4); max-width: 360px; }
.footer__social { margin-top: var(--sp-5); display: flex; flex-wrap: wrap; gap: 8px; }
.footer__social a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-12);
  padding: 7px 13px;
  border: 1px solid var(--divider);
  border-radius: var(--r-full);
  color: var(--text-2);
  letter-spacing: 0.04em;
  transition: all .2s var(--ease-expo);
}
.footer__social a svg { flex-shrink: 0; transition: color .2s ease; }
.footer__social a:hover { border-color: var(--border-strong); color: var(--amber-1); background: rgba(255,178,64,0.06); transform: translateY(-1px); }
.footer__col h4 {
  font-size: var(--fs-13);
  color: var(--text-0);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: var(--sp-4);
}
.footer__col ul { display: flex; flex-direction: column; gap: 10px; }
.footer__col a {
  color: var(--text-2);
  font-size: var(--fs-14);
  transition: color .15s ease;
}
.footer__col a:hover { color: var(--amber-1); }
.footer__bottom {
  margin-top: var(--sp-12);
  padding-top: var(--sp-5);
  border-top: 1px solid var(--divider);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--sp-3);
  color: var(--text-3);
  font-size: var(--fs-13);
}
.footer__bottom a { color: var(--text-2); }
@media (max-width: 800px) { .footer__grid { grid-template-columns: 1fr 1fr; } }

/* ===== Floating Button ===== */
.fab {
  position: fixed;
  right: 24px; bottom: 24px;
  z-index: 60;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  background: linear-gradient(135deg, var(--amber-1), var(--amber-3));
  color: #1a1206;
  font-weight: 600;
  border-radius: var(--r-full);
  box-shadow: var(--shadow-amber);
  transition: transform .2s ease;
}
.fab:hover { transform: translateY(-2px) scale(1.02); }
.fab__pulse {
  width: 10px; height: 10px; border-radius: 50%;
  background: #1a1206;
  position: relative;
}
.fab__pulse::after {
  content: ""; position: absolute; inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(26,18,6,0.5);
  animation: ringPulse 1.8s infinite;
}
@keyframes ringPulse {
  0% { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* ===== Mobile menu ===== */
.menu-panel {
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  background: rgba(5,6,8,0.98);
  backdrop-filter: blur(20px);
  z-index: 49;
  padding: var(--sp-8) var(--sp-6);
  transform: translateX(100%);
  transition: transform .3s ease;
}
.menu-panel.open { transform: translateX(0); }
.menu-panel ul { display: flex; flex-direction: column; gap: var(--sp-3); }
.menu-panel a {
  display: block;
  padding: var(--sp-4) 0;
  font-size: var(--fs-20);
  color: var(--text-0);
  border-bottom: 1px solid var(--divider);
}

/* ===== Reveal animation — Premium Motion System ===== */
:root {
  --ease-expo:   cubic-bezier(0.16, 1, 0.3, 1);
  --ease-back:   cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --dur-reveal: 1s;
}

/* ── Base: fade + lift + blur ── */
.reveal {
  opacity: 0;
  transform: translateY(36px) scale(0.97);
  filter: blur(6px);
  transition:
    opacity   var(--dur-reveal) var(--ease-expo),
    transform var(--dur-reveal) var(--ease-expo),
    filter    0.8s              var(--ease-expo);
  will-change: transform, opacity, filter;
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal.in {
  opacity: 1;
  transform: none;
  filter: blur(0px);
}

/* ── Slide from left ── */
.reveal--left {
  transform: translateX(-48px) scale(0.97);
  filter: blur(5px);
}
.reveal--left.in {
  transform: none;
  filter: blur(0px);
}

/* ── Slide from right ── */
.reveal--right {
  transform: translateX(48px) scale(0.97);
  filter: blur(5px);
}
.reveal--right.in {
  transform: none;
  filter: blur(0px);
}

/* ── Scale pop — KPIs & stat numbers ── */
.reveal--scale {
  transform: scale(0.82) translateY(16px);
  filter: blur(4px);
  transition:
    opacity   0.75s var(--ease-back),
    transform 0.75s var(--ease-back),
    filter    0.6s  var(--ease-expo);
}
.reveal--scale.in {
  transform: scale(1) translateY(0);
  filter: blur(0px);
}

/* ── Fade only (no movement) ── */
.reveal--fade {
  transform: none;
  filter: blur(3px);
}
.reveal--fade.in {
  transform: none;
  filter: blur(0px);
}

/* ── Section heading shimmer on reveal ── */
@keyframes label-shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}
.section-label.in {
  background: linear-gradient(
    90deg,
    var(--amber-3) 0%,
    var(--amber-0) 40%,
    var(--amber-2) 60%,
    var(--amber-3) 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: label-shimmer 1.8s var(--ease-expo) 0.15s forwards;
  border-color: transparent;
}

/* ── Scroll progress indicator ── */
#scroll-progress {
  position: fixed;
  top: var(--nav-h);
  left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--amber-3), var(--amber-1), var(--amber-0));
  z-index: 100;
  pointer-events: none;
  box-shadow: 0 0 10px var(--amber-glow);
  transition: width 0.1s linear;
}

/* Magnetic button — JS adds inline transform, this ensures smooth return */
.btn--primary {
  transition:
    transform 0.4s var(--ease-expo),
    background 0.2s ease,
    box-shadow 0.3s ease;
}
.btn--primary:not(:hover) {
  transition:
    transform 0.6s var(--ease-expo),
    background 0.2s ease,
    box-shadow 0.3s ease;
}

/* Utility */
.text-center { text-align: center; }
.mt-12 { margin-top: var(--sp-12); }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
