/* ===== Scroll Animations ===== */
@media (prefers-reduced-motion: no-preference) {
  html.has-motion .card,
  html.has-motion .service-card,
  html.has-motion .step,
  html.has-motion .industry-card,
  html.has-motion .value,
  html.has-motion .testimonial-card,
  html.has-motion .signal-card,
  html.has-motion .proof-card,
  html.has-motion .case-study-card,
  html.has-motion .process-block,
  html.has-motion .expect-card,
  html.has-motion .hero-panel-card,
  html.has-motion .hero-metric,
  html.has-motion .contact-copy,
  html.has-motion .short-form {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }

  html.has-motion .card.visible,
  html.has-motion .service-card.visible,
  html.has-motion .step.visible,
  html.has-motion .industry-card.visible,
  html.has-motion .value.visible,
  html.has-motion .testimonial-card.visible,
  html.has-motion .signal-card.visible,
  html.has-motion .proof-card.visible,
  html.has-motion .case-study-card.visible,
  html.has-motion .process-block.visible,
  html.has-motion .expect-card.visible,
  html.has-motion .hero-panel-card.visible,
  html.has-motion .hero-metric.visible,
  html.has-motion .contact-copy.visible,
  html.has-motion .short-form.visible {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== Utility Classes ===== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.mb-0 { margin-bottom: 0; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.mt-0 { margin-top: 0; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-40 { margin-top: 40px; }
.mx-auto { margin-left: auto; margin-right: auto; }
.max-w-720 { max-width: 720px; }
.max-w-640 { max-width: 640px; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ===== Content Prose ===== */
.content-prose { max-width: 780px; margin: 0 auto; }
.content-prose h2 {
  font-size: 1.7rem;
  margin-top: 52px;
  margin-bottom: 16px;
}
.content-prose h3 {
  font-size: 1.18rem;
  margin-top: 34px;
  margin-bottom: 12px;
}
.content-prose p {
  color: var(--stone);
  margin-bottom: 16px;
  line-height: 1.9;
}
.content-prose ul, .content-prose ol {
  color: var(--stone);
  margin-bottom: 16px;
  padding-left: 24px;
  line-height: 1.9;
}
.content-prose li { margin-bottom: 6px; }
.content-prose a { color: var(--accent); }
.content-prose a:hover { color: var(--accent-light); }

/* ===== Legal Pages ===== */
.legal-disclaimer {
  background: rgba(182, 122, 66, 0.1);
  border-left: 3px solid var(--accent);
  padding: 16px 20px;
  margin-bottom: 32px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.92rem;
  color: var(--slate);
}

.legal-updated {
  font-size: 0.85rem;
  color: var(--silver);
  margin-bottom: 32px;
}

/* ===== Case Study Cards ===== */
.case-study-card {
  background: rgba(252, 251, 248, 0.96);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 40px;
  transition: all var(--transition);
  border: 1px solid rgba(16, 33, 58, 0.08);
}

.case-study-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.case-study-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(182, 122, 66, 0.1);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.case-study-card h3 {
  font-size: 1.38rem;
  margin-bottom: 20px;
}

.case-study-section { margin-bottom: 16px; }

.case-study-section h4 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}

.case-study-section p {
  color: var(--stone);
  font-size: 0.96rem;
}

.case-study-metrics {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(16, 33, 58, 0.08);
}

.case-study-metric {
  display: flex;
  flex-direction: column;
}

.case-study-metric .metric-value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
}

.case-study-metric .metric-label {
  font-size: 0.8rem;
  color: var(--stone);
}

/* ===== FAQ Category Heading ===== */
.faq-category {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 40px;
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(16, 33, 58, 0.08);
}

.faq-category:first-child { margin-top: 0; }

/* ===== Page Header Dark Variant (404) ===== */
.page-header-dark {
  background: linear-gradient(155deg, #0f1d33 0%, #152f50 100%);
  padding: 160px 0 100px;
  text-align: center;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-header-dark .container { width: 100%; }
.page-header-dark h1 { color: var(--white); margin-bottom: 16px; }
.page-header-dark p { color: rgba(219, 228, 239, 0.8); font-size: 1.1rem; max-width: 500px; margin: 0 auto 32px; line-height: 1.8; }
.page-header-dark .btn { margin: 0 8px 12px; }
