/* ============================================================
   STEADVOX DESIGN SYSTEM — Surgical White + Industrial Authority
   Awwwards Site of the Year Contender
   ============================================================ */

/* ---------- GOOGLE FONTS ---------- */
@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

/* ---------- CSS RESET ---------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ---------- DESIGN TOKENS ---------- */
:root {
  /* Backgrounds */
  --bg-white: #FFFFFF;
  --bg-light: #F8FAFB;
  --bg-lighter: #F1F5F9;
  --bg-navy: #0F2B5B;
  --bg-navy-deep: #091D40;
  --bg-navy-light: #132F61;

  /* Text */
  --text-heading: #0F172A;
  --text-body: #334155;
  --text-muted: #64748B;
  --text-faint: #94A3B8;
  --text-white: #FFFFFF;
  --text-white-muted: rgba(255,255,255,0.7);

  /* Brand */
  --navy: #0F2B5B;
  --navy-light: #1A3F7A;
  --amber: #D97706;
  --amber-light: #F59E0B;
  --amber-glow: rgba(217,119,6,0.15);
  --steel-blue: #3B82F6;
  --emerald: #059669;
  --emerald-light: #10B981;

  /* Borders */
  --border: #E2E8F0;
  --border-dark: #CBD5E1;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(15,23,42,0.04);
  --shadow-sm: 0 1px 3px rgba(15,23,42,0.06), 0 1px 2px rgba(15,23,42,0.04);
  --shadow-md: 0 4px 6px -1px rgba(15,23,42,0.07), 0 2px 4px -2px rgba(15,23,42,0.05);
  --shadow-lg: 0 10px 15px -3px rgba(15,23,42,0.08), 0 4px 6px -4px rgba(15,23,42,0.04);
  --shadow-xl: 0 20px 25px -5px rgba(15,23,42,0.08), 0 8px 10px -6px rgba(15,23,42,0.04);
  --shadow-card-hover: 0 20px 40px -12px rgba(15,23,42,0.12);

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

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

  /* Section padding */
  --section-py: clamp(80px, 10vw, 140px);
  --section-px: clamp(20px, 5vw, 80px);

  /* Container */
  --container-max: 1200px;
  --container-narrow: 800px;
  --container-wide: 1400px;

  /* Nav */
  --nav-height: 72px;

  /* Typography scale */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --text-6xl: 3.75rem;
  --text-7xl: 4.5rem;
  --text-8xl: 6rem;
  --text-display: clamp(2.5rem, 5vw, 4.5rem);
  --text-display-lg: clamp(3rem, 6vw, 6rem);

  /* Easing */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-expo: cubic-bezier(0.7, 0, 1, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Transitions */
  --transition-fast: 150ms var(--ease-out-expo);
  --transition-base: 300ms var(--ease-out-expo);
  --transition-slow: 500ms var(--ease-out-expo);
}

/* ---------- BASE ---------- */
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-body);
  background: var(--bg-white);
  line-height: 1.7;
  overflow-x: hidden;
}

::selection {
  background: var(--amber-glow);
  color: var(--text-heading);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--navy);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--amber);
}

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--text-heading);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.display-font {
  font-family: 'Instrument Serif', serif;
  font-weight: 400;
  letter-spacing: -0.03em;
}

h1 { font-size: var(--text-display); }
h2 { font-size: clamp(1.875rem, 3.5vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h4 { font-size: var(--text-lg); }

.stat-number {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--amber);
  margin-bottom: var(--space-6);
}

.section-label::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--amber);
  display: inline-block;
}

/* ---------- LAYOUT ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--section-px);
}

.container--narrow {
  max-width: var(--container-narrow);
}

.container--wide {
  max-width: var(--container-wide);
}

section {
  padding: var(--section-py) 0;
  position: relative;
}

.section--light {
  background: var(--bg-light);
}

.section--navy {
  background: var(--bg-navy);
  color: var(--text-white);
}

.section--navy h2,
.section--navy h3,
.section--navy h4 {
  color: var(--text-white);
}

.section--navy .section-label {
  color: var(--amber-light);
}

.section--navy p {
  color: var(--text-white-muted);
}

/* Grid utilities */
.grid {
  display: grid;
  gap: var(--space-8);
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .grid-3, .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Flex utilities */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: var(--space-2); }
.gap-4 { gap: var(--space-4); }
.gap-6 { gap: var(--space-6); }
.gap-8 { gap: var(--space-8); }

.text-center { text-align: center; }

/* ---------- NAVIGATION ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  background: #ffffff;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  touch-action: manipulation;
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.nav.scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 1px 3px rgba(15,23,42,0.04);
}

.nav__inner {
  width: 100%;
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 var(--section-px);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.03em;
  text-decoration: none;
}

.nav__logo span {
  color: var(--amber);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  list-style: none;
}

.nav__links a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-body);
  text-decoration: none;
  transition: color var(--transition-fast);
  position: relative;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--amber);
  transition: width var(--transition-base);
}

.nav__links a:hover,
.nav__links a.active {
  color: var(--navy);
}

.nav__links a:hover::after,
.nav__links a.active::after {
  width: 100%;
}

.nav__cta {
  margin-left: var(--space-4);
}

/* Mobile nav */
.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 0;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  width: 44px;
  height: 44px;
  position: relative;
  z-index: 10001;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.nav__hamburger span {
  width: 22px;
  height: 2px;
  background: var(--navy);
  display: block;
  transition: transform 0.35s cubic-bezier(0.77, 0, 0.175, 1),
              opacity 0.2s ease;
  transform-origin: center;
}

.nav__hamburger span:nth-child(1) { transform: translateY(-6px); }
.nav__hamburger span:nth-child(2) { transform: translateY(0); }
.nav__hamburger span:nth-child(3) { transform: translateY(6px); }

.nav__hamburger.active span:nth-child(1) {
  transform: translateY(0) rotate(45deg);
}

.nav__hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav__hamburger.active span:nth-child(3) {
  transform: translateY(0) rotate(-45deg);
}

.nav__mobile {
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: #ffffff;
  z-index: 999;
  display: flex;
  flex-direction: column;
  clip-path: inset(0 0 100% 0);
  opacity: 0;
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  border-bottom: 1px solid transparent;
  transition: clip-path 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.25s ease;
  pointer-events: none;
}

.nav__mobile.active {
  clip-path: inset(0 0 0 0);
  opacity: 1;
  border-bottom-color: var(--border);
  pointer-events: auto;
}

.nav__mobile a {
  padding: 14px clamp(20px, 5vw, 48px);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  border-bottom: 1px solid var(--bg-light);
  transition: background 0.2s ease, color 0.2s ease;
}

.nav__mobile a:last-of-type {
  border-bottom: none;
}

.nav__mobile a:hover,
.nav__mobile a:active {
  background: var(--bg-light);
  color: var(--amber);
}

.nav__mobile .btn {
  margin: 12px clamp(20px, 5vw, 48px) 16px;
  text-align: center;
  justify-content: center;
}

@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__hamburger { display: flex; }
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: var(--text-sm);
  font-weight: 600;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  line-height: 1;
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: var(--amber);
  color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(217,119,6,0.25);
}

.btn--primary:hover {
  background: var(--amber-light);
  box-shadow: 0 4px 16px rgba(217,119,6,0.35);
  color: #FFFFFF;
}

.btn--primary:not(.btn-magnetic):hover {
  transform: translateY(-1px);
}

.btn--secondary {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--border-dark);
}

.btn--secondary:hover {
  border-color: var(--navy);
  background: var(--bg-light);
  color: var(--navy);
}

.btn--navy {
  background: var(--navy);
  color: var(--text-white);
}

.btn--navy:hover {
  background: var(--navy-light);
  transform: translateY(-1px);
  color: var(--text-white);
}

.btn--white {
  background: #FFFFFF;
  color: var(--navy);
}

.btn--white:hover {
  background: var(--bg-light);
  transform: translateY(-1px);
  color: var(--navy);
}

.btn--lg {
  font-size: var(--text-base);
  padding: 18px 36px;
}

.btn--sm {
  font-size: var(--text-xs);
  padding: 10px 20px;
}

.btn--ghost {
  background: transparent;
  color: var(--text-body);
  padding: 14px 0;
  border-radius: 0;
}

.btn--ghost:hover {
  color: var(--amber);
}

/* Magnetic button effect (applied via JS) */
.btn-magnetic {
  transition: transform 0.2s var(--ease-out-expo);
}

/* ---------- CARDS ---------- */
.card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
}

.card .media-placeholder,
.card .card__media {
  margin-top: auto;
}

.card:hover {
  border-color: var(--border-dark);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
}

.card--flat {
  border: none;
  background: var(--bg-light);
}

.card--flat:hover {
  background: var(--bg-lighter);
}

.card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--amber-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-5);
  color: var(--amber);
}

.card__icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--amber);
}

.card__title {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: var(--space-3);
}

.card__text {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.7;
}

.card__meta {
  font-size: var(--text-xs);
  color: var(--text-faint);
  margin-top: var(--space-4);
  padding-top: var(--space-4);
  border-top: 1px solid var(--border);
}

/* Tilt card (applied via JS) */
.card-tilt {
  transform-style: preserve-3d;
  will-change: transform;
}

/* ---------- HERO ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--nav-height) + var(--space-16));
  padding-bottom: var(--space-16);
  position: relative;
  overflow: hidden;
}

.hero--centered {
  text-align: center;
}

.hero--centered .hero__content {
  max-width: 800px;
  margin: 0 auto;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-light);
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--space-8);
  opacity: 0;
}

.hero__badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--emerald);
  animation: pulse-dot 2s ease infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero__headline {
  font-size: var(--text-display-lg);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text-heading);
  margin-bottom: var(--space-6);
  opacity: 0;
}

.hero__headline em {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  color: var(--amber);
}

.hero__subtitle {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: var(--space-10);
  opacity: 0;
}

.hero--centered .hero__subtitle {
  margin-left: auto;
  margin-right: auto;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-10);
  opacity: 0;
  flex-wrap: wrap;
}

.hero--centered .hero__actions {
  justify-content: center;
}

.hero__risk-line {
  font-size: var(--text-sm);
  color: var(--text-muted);
  opacity: 0;
}

.hero__risk-line svg {
  width: 16px;
  height: 16px;
  display: inline-block;
  vertical-align: middle;
  margin-right: 4px;
  color: var(--emerald);
}

/* Hero stat strip */
.hero__stats {
  display: flex;
  gap: var(--space-12);
  margin-top: var(--space-12);
  padding-top: var(--space-8);
  border-top: 1px solid var(--border);
  opacity: 0;
}

.hero__stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero__stat-number {
  font-family: 'JetBrains Mono', monospace;
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.03em;
}

.hero__stat-label {
  font-size: var(--text-xs);
  color: var(--text-muted);
  max-width: 140px;
  line-height: 1.4;
}

@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding-top: calc(var(--nav-height) + var(--space-10));
    padding-bottom: var(--space-10);
  }

  .hero__headline {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .hero__stats {
    flex-direction: column;
    gap: var(--space-6);
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__actions .btn {
    text-align: center;
  }
}

/* Page hero (secondary pages) */
.page-hero {
  padding-top: calc(var(--nav-height) + var(--space-20));
  padding-bottom: var(--space-16);
  text-align: center;
}

.page-hero__headline {
  font-size: var(--text-display);
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: var(--space-4);
  letter-spacing: -0.03em;
  opacity: 0;
}

.page-hero__subtitle {
  font-size: var(--text-lg);
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
  opacity: 0;
}

/* ---------- COMPARISON TABLE ---------- */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
}

.comparison-table th {
  text-align: left;
  padding: var(--space-4) var(--space-6);
  font-weight: 600;
  color: var(--text-heading);
  background: var(--bg-light);
  border-bottom: 2px solid var(--border);
  font-size: var(--text-sm);
}

.comparison-table th:nth-child(2) {
  background: var(--amber-glow);
  color: var(--amber);
}

.comparison-table td {
  padding: var(--space-4) var(--space-6);
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.comparison-table td:nth-child(2) {
  background: rgba(217,119,6,0.03);
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.check {
  color: var(--emerald);
  font-weight: 600;
}

.cross {
  color: var(--text-faint);
}

/* ---------- PRICING CARDS ---------- */
.pricing-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-10);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-base);
  position: relative;
}

.pricing-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
}

.pricing-card--featured {
  border-color: var(--amber);
  box-shadow: 0 0 0 1px var(--amber);
}

.pricing-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--amber);
  color: #FFF;
  font-size: var(--text-xs);
  font-weight: 700;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.pricing-card__name {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: var(--space-2);
}

.pricing-card__desc {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-bottom: var(--space-6);
}

.pricing-card__price {
  font-family: 'JetBrains Mono', monospace;
  font-size: var(--text-4xl);
  font-weight: 700;
  color: var(--text-heading);
  letter-spacing: -0.03em;
  margin-bottom: var(--space-2);
}

.pricing-card__price span {
  font-size: var(--text-sm);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 500;
  color: var(--text-muted);
}

.pricing-card__hours {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-bottom: var(--space-8);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid var(--border);
}

.pricing-card__features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
  flex: 1;
}

.pricing-card__features li {
  font-size: var(--text-sm);
  color: var(--text-body);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.pricing-card__features li::before {
  content: '';
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(5,150,105,0.1);
  flex-shrink: 0;
  margin-top: 2px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23059669' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 10px;
}

.pricing-card__cta {
  margin-top: auto;
}

.pricing-card__cta .btn {
  width: 100%;
}

/* ---------- PROCESS / HOW IT WORKS ---------- */
.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 36px;
  left: calc(16.66% + 24px);
  right: calc(16.66% + 24px);
  height: 2px;
  background: var(--border);
  z-index: 0;
}

.process-step {
  text-align: center;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.process-step .media-placeholder {
  margin-top: auto;
  width: 100%;
}

.process-step__number {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--bg-white);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-6);
  font-family: 'JetBrains Mono', monospace;
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--navy);
  transition: all var(--transition-base);
}

.process-step:hover .process-step__number {
  border-color: var(--amber);
  background: #fef3e2;
  color: var(--amber);
}

.process-step__title {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: var(--space-3);
}

.process-step__text {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 280px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .process-steps {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }

  .process-steps::before {
    display: none;
  }
}

/* ---------- TESTIMONIALS ---------- */
.testimonial-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-10);
  position: relative;
}

.testimonial-card__quote {
  font-family: 'Instrument Serif', serif;
  font-size: var(--text-2xl);
  color: var(--text-heading);
  line-height: 1.5;
  margin-bottom: var(--space-8);
  font-style: italic;
}

.testimonial-card__quote::before {
  content: '\201C';
  font-size: var(--text-6xl);
  color: var(--amber);
  line-height: 0;
  position: relative;
  top: 20px;
  margin-right: 4px;
  font-family: 'Instrument Serif', serif;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.testimonial-card__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-light);
  border: 2px solid var(--border);
  overflow: hidden;
  flex-shrink: 0;
}

.testimonial-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-card__name {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--text-heading);
}

.testimonial-card__role {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

/* ---------- FAQ ACCORDION ---------- */
.faq-category {
  margin-bottom: var(--space-12);
}

.faq-category__title {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-4);
  border-bottom: 2px solid var(--border);
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-6) 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--text-heading);
  text-align: left;
  transition: color var(--transition-fast);
}

.faq-item__question:hover {
  color: var(--amber);
}

.faq-item__icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  position: relative;
}

.faq-item__icon::before,
.faq-item__icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  background: currentColor;
  transition: transform var(--transition-base);
}

.faq-item__icon::before {
  width: 14px;
  height: 2px;
  transform: translate(-50%, -50%);
}

.faq-item__icon::after {
  width: 2px;
  height: 14px;
  transform: translate(-50%, -50%);
}

.faq-item.active .faq-item__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease-out-expo), padding 0.5s var(--ease-out-expo);
}

.faq-item.active .faq-item__answer {
  max-height: 500px;
}

.faq-item__answer-inner {
  padding: 0 0 var(--space-6);
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.8;
}

/* ---------- MEDIA PLACEHOLDERS ---------- */
.media-placeholder {
  border: 2px dashed var(--border-dark);
  border-radius: var(--radius-lg);
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-8);
  color: var(--text-muted);
  font-size: var(--text-sm);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.media-placeholder--16x9 { aspect-ratio: 16/9; }
.media-placeholder--4x3 { aspect-ratio: 4/3; }
.media-placeholder--1x1 { aspect-ratio: 1/1; }
.media-placeholder--3x2 { aspect-ratio: 3/2; }

.media-placeholder__icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-white);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-faint);
}

.media-placeholder__label {
  font-size: var(--text-xs);
  color: var(--text-faint);
  max-width: 400px;
  line-height: 1.6;
}

.media-placeholder--video .media-placeholder__icon {
  width: 64px;
  height: 64px;
  background: var(--navy);
  color: white;
  border: none;
}

/* ---------- STATS WALL ---------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}

.stat-card {
  text-align: center;
  padding: var(--space-8);
}

.stat-card__number {
  font-family: 'JetBrains Mono', monospace;
  font-size: var(--text-5xl);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: var(--space-3);
}

.section--navy .stat-card__number {
  color: var(--amber-light);
}

.stat-card__label {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.section--navy .stat-card__label {
  color: var(--text-white-muted);
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---------- FORM ---------- */
.form-group {
  margin-bottom: var(--space-5);
}

.form-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: var(--space-2);
}

.section--navy .form-label {
  color: var(--text-white);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 14px 18px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: var(--text-base);
  color: var(--text-heading);
  background: var(--bg-white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  outline: none;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--amber);
  box-shadow: 0 0 0 3px var(--amber-glow);
}

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

/* ---------- GUARANTEE BOX ---------- */
.guarantee-box {
  background: rgba(5,150,105,0.06);
  border: 1px solid rgba(5,150,105,0.15);
  border-radius: var(--radius-lg);
  padding: var(--space-6) var(--space-8);
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
}

.guarantee-box__icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(5,150,105,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--emerald);
}

.guarantee-box__title {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--emerald);
  margin-bottom: var(--space-1);
}

.guarantee-box__text {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

/* ---------- CALLOUT BOX ---------- */
.callout {
  background: var(--bg-navy);
  color: var(--text-white);
  border-radius: var(--radius-xl);
  padding: var(--space-10) var(--space-12);
  text-align: center;
}

.callout__text {
  font-size: var(--text-xl);
  font-weight: 600;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.5;
}

.callout__sub {
  font-size: var(--text-sm);
  color: var(--text-white-muted);
  margin-top: var(--space-3);
}

/* ---------- CTA SECTION ---------- */
.cta-section {
  background: var(--bg-navy);
  padding: var(--section-py) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 140%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(217,119,6,0.08) 0%, transparent 60%);
  pointer-events: none;
}

.cta-section h2 {
  color: var(--text-white);
  font-size: var(--text-display);
  margin-bottom: var(--space-4);
}

.cta-section p {
  color: var(--text-white-muted);
  font-size: var(--text-lg);
  max-width: 500px;
  margin: 0 auto var(--space-8);
}

.cta-section .btn {
  position: relative;
  z-index: 1;
}

/* ---------- FOOTER ---------- */
.footer {
  background: var(--bg-navy-deep);
  color: var(--text-white-muted);
  padding: var(--space-16) 0 var(--space-8);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-12);
  margin-bottom: var(--space-12);
}

.footer__brand {
  max-width: 300px;
}

.footer__logo {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-white);
  letter-spacing: -0.03em;
  margin-bottom: var(--space-4);
}

.footer__logo span {
  color: var(--amber);
}

.footer__desc {
  font-size: var(--text-sm);
  color: var(--text-white-muted);
  line-height: 1.7;
  margin-bottom: var(--space-6);
}

.footer__email {
  font-size: var(--text-sm);
  color: var(--amber-light);
}

.footer__email:hover {
  color: var(--amber);
}

.footer__col-title {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--text-white);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--space-5);
}

.footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer__links a {
  font-size: var(--text-sm);
  color: var(--text-white-muted);
  transition: color var(--transition-fast);
}

.footer__links a:hover {
  color: var(--text-white);
}

.footer__bottom {
  padding-top: var(--space-8);
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.4);
}

.footer__social {
  display: flex;
  gap: var(--space-4);
}

.footer__social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-white-muted);
  transition: all var(--transition-fast);
}

.footer__social a:hover {
  border-color: var(--amber);
  color: var(--amber);
  background: rgba(217,119,6,0.1);
}

.footer__social svg {
  width: 16px;
  height: 16px;
}

@media (max-width: 768px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }

  .footer__brand {
    grid-column: 1 / -1;
  }

  .footer__bottom {
    flex-direction: column;
    gap: var(--space-4);
    text-align: center;
  }
}

/* ---------- INDUSTRY TAGS ---------- */
.industry-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: center;
}

.industry-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-white);
  transition: all var(--transition-fast);
}

.industry-tag:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.2);
}

/* Light variant */
.industry-tag--light {
  background: var(--bg-light);
  border-color: var(--border);
  color: var(--text-body);
}

/* ---------- TRUST BADGES ---------- */
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: center;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-body);
}

.trust-badge svg {
  width: 16px;
  height: 16px;
  color: var(--emerald);
}

/* ---------- ROI CALCULATOR ---------- */
.calculator {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-10);
}

.calculator__input-group {
  margin-bottom: var(--space-6);
}

.calculator__slider-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-3);
}

.calculator__slider-label span:first-child {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-heading);
}

.calculator__slider-label span:last-child {
  font-family: 'JetBrains Mono', monospace;
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--amber);
}

input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: var(--bg-lighter);
  outline: none;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--amber);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(217,119,6,0.3);
  transition: transform var(--transition-fast);
}

input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.calculator__results {
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  margin-top: var(--space-8);
}

.calculator__result-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-3) 0;
}

.calculator__result-row:not(:last-child) {
  border-bottom: 1px solid var(--border);
}

.calculator__result-label {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.calculator__result-value {
  font-family: 'JetBrains Mono', monospace;
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--text-heading);
}

.calculator__result-value--savings {
  color: var(--emerald);
}

.calculator__result-value--cost {
  color: var(--text-faint);
  text-decoration: line-through;
}

/* ---------- TIMELINE ---------- */
.timeline {
  position: relative;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
}

.timeline__item {
  position: relative;
  margin-bottom: var(--space-10);
}

.timeline__dot {
  position: absolute;
  left: -33px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--amber);
  border: 3px solid var(--bg-white);
  box-shadow: 0 0 0 2px var(--amber);
}

.timeline__label {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--amber);
  margin-bottom: var(--space-2);
}

.timeline__title {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: var(--space-2);
}

.timeline__text {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.7;
}

/* ---------- TEAM CARDS ---------- */
.team-card {
  text-align: center;
  padding: var(--space-8);
}

.team-card__photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto var(--space-6);
  border: 3px solid var(--border);
  background: var(--bg-light);
}

.team-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card__name {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: var(--space-1);
}

.team-card__role {
  font-size: var(--text-sm);
  color: var(--amber);
  font-weight: 600;
  margin-bottom: var(--space-4);
}

.team-card__bio {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 320px;
  margin: 0 auto var(--space-4);
}

.team-card__linkedin {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--navy);
}

.team-card__linkedin:hover {
  color: var(--amber);
}

/* ---------- VALUES GRID ---------- */
.value-card {
  padding: var(--space-8);
  border-left: 3px solid var(--amber);
}

.value-card__title {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: var(--space-3);
}

.value-card__text {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.7;
}

/* ---------- CONTACT FORM (dark bg) ---------- */
.contact-form--dark .form-input,
.contact-form--dark .form-textarea,
.contact-form--dark .form-select {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.15);
  color: var(--text-white);
}

.contact-form--dark .form-input:focus,
.contact-form--dark .form-textarea:focus {
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(217,119,6,0.2);
}

.contact-form--dark .form-input::placeholder,
.contact-form--dark .form-textarea::placeholder {
  color: rgba(255,255,255,0.35);
}

/* ---------- TOOLS LOGO STRIP ---------- */
.tools-strip {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: center;
  align-items: center;
}

.tool-logo {
  height: 32px;
  opacity: 0.4;
  filter: grayscale(100%);
  transition: all var(--transition-fast);
}

.tool-logo:hover {
  opacity: 1;
  filter: grayscale(0%);
}

/* Tool logo placeholder */
.tool-logo-placeholder {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--text-muted);
}

/* ---------- CASE STUDY ---------- */
.case-study {
  background: var(--bg-navy);
  border-radius: var(--radius-xl);
  padding: var(--space-16);
  color: var(--text-white);
  position: relative;
  overflow: hidden;
}

.case-study::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background: radial-gradient(ellipse at right, rgba(217,119,6,0.06) 0%, transparent 60%);
  pointer-events: none;
}

.case-study__label {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--amber-light);
  margin-bottom: var(--space-6);
}

.case-study__quote {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-style: italic;
  line-height: 1.4;
  color: var(--text-white);
  margin-bottom: var(--space-8);
  max-width: 700px;
}

.case-study__author {
  margin-bottom: var(--space-10);
}

.case-study__author-name {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--text-white);
}

.case-study__author-role {
  font-size: var(--text-sm);
  color: var(--text-white-muted);
}

.case-study__stats {
  display: flex;
  gap: var(--space-10);
  padding-top: var(--space-8);
  border-top: 1px solid rgba(255,255,255,0.1);
}

.case-study__stat-number {
  font-family: 'JetBrains Mono', monospace;
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--amber-light);
}

.case-study__stat-label {
  font-size: var(--text-xs);
  color: var(--text-white-muted);
  margin-top: var(--space-1);
}

@media (max-width: 768px) {
  .case-study {
    padding: var(--space-10);
  }

  .case-study__stats {
    flex-direction: column;
    gap: var(--space-6);
  }
}

/* ---------- STICKY SCROLL ---------- */
.sticky-scroll {
  position: relative;
}

.sticky-scroll__panel {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
}

/* ---------- PARALLAX ---------- */
.parallax-bg {
  will-change: transform;
}

/* ---------- REVEAL ANIMATIONS (init states — GSAP activates) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.95);
}

/* When JS is disabled, show everything */
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-left, .reveal-right, .reveal-scale,
  .hero__badge, .hero__headline, .hero__subtitle,
  .hero__actions, .hero__risk-line, .hero__stats,
  .page-hero__headline, .page-hero__subtitle {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* No JS fallback */
.no-js .reveal,
.no-js .reveal-left,
.no-js .reveal-right,
.no-js .reveal-scale,
.no-js .hero__badge,
.no-js .hero__headline,
.no-js .hero__subtitle,
.no-js .hero__actions,
.no-js .hero__risk-line,
.no-js .hero__stats,
.no-js .page-hero__headline,
.no-js .page-hero__subtitle {
  opacity: 1;
  transform: none;
}

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

.divider {
  width: 60px;
  height: 3px;
  background: var(--amber);
  border-radius: 2px;
  margin: var(--space-6) 0;
}

.divider--center {
  margin-left: auto;
  margin-right: auto;
}

/* Smooth scroll offset for anchors */
[id] {
  scroll-margin-top: calc(var(--nav-height) + 20px);
}

/* ---------- RESPONSIVE FINE-TUNING ---------- */
@media (max-width: 480px) {
  :root {
    --section-py: 60px;
    --section-px: 20px;
  }

  .btn--lg {
    padding: 16px 28px;
    font-size: var(--text-sm);
  }
}

@media (min-width: 1600px) {
  :root {
    --section-px: 120px;
  }
}

/* Page body offset for fixed nav */
body {
  padding-top: 0;
}
