/* ==========================================================================
   Momentum Media — design system
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Unbounded:wght@600;700&family=Space+Grotesk:wght@500;600;700&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --ink: #0b0f1a;
  --ink-soft: #131a2b;
  --panel: #171f33;
  --panel-border: #262f47;
  --paper: #f6f7fb;
  --white: #ffffff;
  --muted: #8b93a7;
  --muted-soft: #aeb4c4;
  --accent: #c8ff3d;
  --accent-dim: #9fd427;
  --accent-ink: #0b0f1a;
  --violet: #7c6cff;
  --coral: #ff6b5b;

  --max-w: 1180px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 8px;

  --shadow-soft: 0 20px 60px -20px rgba(11, 15, 26, 0.35);
  --shadow-hard: 0 30px 80px -30px rgba(11, 15, 26, 0.55);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0;
}

p { margin: 0; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }

.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-dim);
}

.eyebrow.on-dark { color: var(--accent); }

.eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -14px rgba(200, 255, 61, 0.55); }

.btn-ghost-dark {
  background: transparent;
  border-color: rgba(255,255,255,0.22);
  color: var(--white);
}
.btn-ghost-dark:hover { border-color: rgba(255,255,255,0.5); transform: translateY(-2px); }

.btn-ghost-light {
  background: transparent;
  border-color: rgba(11,15,26,0.15);
  color: var(--ink);
}
.btn-ghost-light:hover { border-color: rgba(11,15,26,0.4); transform: translateY(-2px); }

.btn-dark {
  background: var(--ink);
  color: var(--white);
}
.btn-dark:hover { transform: translateY(-2px); box-shadow: var(--shadow-hard); }

.btn-sm { padding: 11px 20px; font-size: 13.5px; }
.btn-arrow { display: inline-flex; transition: transform 0.18s ease; }
.btn:hover .btn-arrow { transform: translateX(3px); }

/* ---------- nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 15, 26, 0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--accent), var(--violet));
  position: relative;
  flex-shrink: 0;
}

.brand-icon::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--ink);
  clip-path: polygon(26% 79%, 26% 40%, 53% 40%, 53% 22%, 83% 22%, 83% 79%);
}

.brand-word {
  font-family: 'Unbounded', sans-serif;
  font-weight: 700;
  font-size: 17.5px;
  letter-spacing: -0.01em;
  line-height: 1;
  color: var(--white);
  white-space: nowrap;
}

.brand-word .accent {
  color: var(--accent);
}

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

.nav-links a {
  color: var(--muted-soft);
  font-size: 14.5px;
  font-weight: 500;
  transition: color 0.15s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }

.nav-cta { display: flex; align-items: center; gap: 18px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  padding: 6px;
}

@media (max-width: 880px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-cta .btn-sm { padding: 9px 16px; font-size: 13px; }
}

/* ---------- hero ---------- */

.hero {
  background: radial-gradient(circle at 15% 0%, #1a2440 0%, var(--ink) 55%);
  color: var(--white);
  padding: 96px 0 120px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  right: -180px;
  top: -120px;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200,255,61,0.18), transparent 65%);
}

.hero::after {
  content: '';
  position: absolute;
  left: -160px;
  bottom: -220px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124,108,255,0.16), transparent 65%);
}

.hero .wrap { position: relative; z-index: 1; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
  margin-top: 26px;
}

.hero h1 {
  font-size: clamp(38px, 4.6vw, 62px);
  margin-top: 18px;
}

.hero h1 .hl { color: var(--accent); }

.hero-sub {
  margin-top: 22px;
  font-size: 18px;
  color: var(--muted-soft);
  max-width: 480px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.hero-note {
  font-size: 13.5px;
  color: var(--muted);
}

.hero-panel {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 28px;
  backdrop-filter: blur(6px);
}

.hero-panel-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.hero-panel-row:last-child { border-bottom: none; }
.hero-panel-row .num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--accent);
}
.hero-panel-row .label {
  font-size: 13.5px;
  color: var(--muted-soft);
  max-width: 190px;
  text-align: right;
}

/* ---------- logo strip ---------- */

.logo-strip {
  background: var(--ink-soft);
  padding: 34px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.logo-strip .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
.logo-strip-label {
  font-size: 12.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.logo-row {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  color: var(--muted-soft);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.02em;
}

/* ---------- sections ---------- */

section { padding: 100px 0; }
.section-light { background: var(--paper); }
.section-white { background: var(--white); }
.section-dark { background: var(--ink); color: var(--white); }

.section-head {
  max-width: 640px;
  margin-bottom: 56px;
}
.section-head h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  margin-top: 14px;
}
.section-head p {
  margin-top: 16px;
  font-size: 16.5px;
  color: var(--muted);
}
.section-dark .section-head p { color: var(--muted-soft); }

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

/* ---------- services grid ---------- */

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

.svc-card {
  background: var(--white);
  border: 1px solid #e7e9f2;
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); }

.svc-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}
.svc-icon svg { width: 22px; height: 22px; }

.svc-card h3 { font-size: 19px; margin-bottom: 10px; }
.svc-card p { color: var(--muted); font-size: 14.5px; }
.svc-card .tags { margin-top: 18px; display: flex; gap: 8px; flex-wrap: wrap; }
.svc-card .tags span {
  font-size: 11.5px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--paper);
  color: var(--muted);
}

/* ---------- process ---------- */

.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  counter-reset: step;
}
.process-step {
  position: relative;
  padding: 30px 26px 26px;
  border-top: 3px solid rgba(255,255,255,0.14);
}
.process-step.is-active { border-top-color: var(--accent); }
.process-step .idx {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.05em;
}
.process-step h4 { font-size: 17px; margin: 12px 0 10px; color: var(--white); }
.process-step p { font-size: 14px; color: var(--muted-soft); }

/* ---------- stats ---------- */

.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat-card {
  text-align: left;
  padding: 28px 0;
  border-top: 1px solid rgba(255,255,255,0.14);
}
.stat-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(30px, 3.6vw, 44px);
  font-weight: 700;
  color: var(--accent);
}
.stat-label { margin-top: 8px; font-size: 14px; color: var(--muted-soft); }

/* ---------- case studies ---------- */

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

.case-card {
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 34px;
  position: relative;
  overflow: hidden;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.case-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hard); }

.case-card .case-more {
  margin-top: 18px;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  position: relative;
}

.case-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--case-glow, radial-gradient(circle at 90% 0%, rgba(200,255,61,0.14), transparent 60%));
  pointer-events: none;
}

.case-tag {
  align-self: flex-start;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  color: var(--muted-soft);
  position: relative;
}

.case-card h3 {
  font-size: 22px;
  margin: 18px 0 8px;
  max-width: 420px;
  position: relative;
}
.case-card .case-desc {
  color: var(--muted-soft);
  font-size: 14.5px;
  max-width: 420px;
  position: relative;
}

.case-metrics {
  margin-top: auto;
  padding-top: 26px;
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  position: relative;
}
.case-metrics .m-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--accent);
}
.case-metrics .m-label {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 4px;
}

.case-card.full {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  min-height: 0;
  padding: 40px;
}
.case-card.full .case-metrics { padding-top: 0; align-content: center; }

/* ---------- case studies index filter ---------- */

.filter-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.filter-chip {
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid #dde0ec;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
  background: var(--white);
}
.filter-chip.active { background: var(--ink); color: var(--white); border-color: var(--ink); }

/* ---------- testimonials ---------- */

.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testi-card {
  background: var(--white);
  border: 1px solid #e7e9f2;
  border-radius: var(--radius-lg);
  padding: 30px;
}
.testi-stars { color: var(--accent-dim); font-size: 14px; letter-spacing: 2px; margin-bottom: 16px; }
.testi-card p.quote { font-size: 15px; color: var(--ink); }
.testi-person {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
}
.testi-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex-shrink: 0;
}
.testi-person .name { font-weight: 600; font-size: 14px; }
.testi-person .role { font-size: 12.5px; color: var(--muted); }

/* ---------- team ---------- */

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.team-card { text-align: left; }
.team-photo {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius-md);
  margin-bottom: 16px;
}
.team-card h4 { font-size: 16px; }
.team-card .role { font-size: 13.5px; color: var(--muted); margin-top: 4px; }

/* ---------- CTA band ---------- */

.cta-band {
  background: var(--ink);
  color: var(--white);
  border-radius: 28px;
  padding: 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(200,255,61,0.14), transparent 60%);
}
.cta-band > * { position: relative; }
.cta-band h2 { font-size: clamp(28px, 3.6vw, 42px); max-width: 640px; margin: 0 auto; }
.cta-band p { margin-top: 16px; color: var(--muted-soft); font-size: 16px; }
.cta-band .hero-actions { justify-content: center; margin-top: 32px; }

/* ---------- contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.contact-info-card {
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.contact-info-row {
  display: flex;
  gap: 14px;
  padding: 18px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.contact-info-row:first-of-type { border-top: none; padding-top: 0; }
.contact-info-row .ic {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(200,255,61,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-info-row .ic svg { width: 17px; height: 17px; }
.contact-info-row .label { font-size: 12.5px; color: var(--muted); }
.contact-info-row .val { font-size: 15px; font-weight: 600; margin-top: 3px; }

.form-field { margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--ink);
}
.form-field input, .form-field select, .form-field textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid #dde0ec;
  background: var(--white);
  font-family: inherit;
  font-size: 14.5px;
  color: var(--ink);
  transition: border-color 0.15s ease;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--ink);
}
.form-field textarea { resize: vertical; min-height: 110px; }
#form-status {
  margin-top: 16px;
  font-size: 14px;
  font-weight: 600;
  display: none;
}
#form-status.show { display: block; }

/* ---------- FAQ ---------- */

.faq-item {
  border-top: 1px solid #e2e4ef;
  padding: 22px 0;
}
.faq-item:last-child { border-bottom: 1px solid #e2e4ef; }
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
}
.faq-q .plus { transition: transform 0.2s ease; font-size: 20px; color: var(--muted); }
.faq-item.open .faq-q .plus { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
  font-size: 14.5px;
  color: var(--muted);
}
.faq-item.open .faq-a { max-height: 240px; margin-top: 14px; }

/* ---------- values ---------- */

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.value-card { padding-top: 22px; border-top: 2px solid var(--ink); }
.value-card h4 { font-size: 18px; margin-bottom: 10px; }
.value-card p { font-size: 14.5px; color: var(--muted); }

/* ---------- page header (inner pages) ---------- */

.page-header {
  background: var(--ink);
  color: var(--white);
  padding: 68px 0 76px;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  right: -160px;
  top: -160px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200,255,61,0.14), transparent 65%);
}
.page-header .wrap { position: relative; }
.page-header h1 { font-size: clamp(32px, 4vw, 48px); margin-top: 16px; max-width: 680px; }
.page-header p { margin-top: 18px; color: var(--muted-soft); font-size: 17px; max-width: 560px; }
.breadcrumb { font-size: 13px; color: var(--muted); }
.breadcrumb a:hover { color: var(--white); }

/* ---------- footer ---------- */

footer {
  background: var(--ink);
  color: var(--muted-soft);
  padding: 72px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand p { margin-top: 16px; font-size: 14px; max-width: 260px; color: var(--muted); }
.footer-col h5 {
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 18px;
  font-weight: 600;
}
.footer-col li { margin-bottom: 12px; font-size: 14.5px; }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  font-size: 13px;
  color: var(--muted);
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- utilities ---------- */

.grad-1 { background: linear-gradient(135deg, #c8ff3d, #6fe0c0); }
.grad-2 { background: linear-gradient(135deg, #7c6cff, #ff6b5b); }
.grad-3 { background: linear-gradient(135deg, #33d1ff, #7c6cff); }
.grad-4 { background: linear-gradient(135deg, #ff6b5b, #ffb35b); }

.mt-64 { margin-top: 64px; }

/* ---------- responsive ---------- */

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .case-grid { grid-template-columns: 1fr; }
  .case-card.full { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  section { padding: 64px 0; }
  .wrap { padding: 0 20px; }
  .svc-grid, .testi-grid, .team-grid, .values-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .cta-band { padding: 40px 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .logo-row { gap: 22px; }
}

/* ---------- legal pages ---------- */

.legal { max-width: 760px; }
.legal h2 { font-size: 22px; margin-top: 48px; }
.legal h2:first-child { margin-top: 0; }
.legal p { margin-top: 14px; font-size: 15.5px; color: var(--muted); line-height: 1.75; }
.legal ul { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.legal li { font-size: 15.5px; color: var(--muted); line-height: 1.7; padding-left: 20px; position: relative; }
.legal li::before { content: '·'; position: absolute; left: 4px; color: var(--accent-dim); font-weight: 700; }
.legal .updated { font-size: 13.5px; color: var(--muted); margin-bottom: 8px; }

/* ---------- case study detail ---------- */

.case-quote {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}
.case-quote p.quote { font-size: 21px; line-height: 1.5; color: var(--ink); font-family: 'Space Grotesk', sans-serif; font-weight: 500; }
.case-quote .testi-person { justify-content: center; margin-top: 26px; }
