/* ==========================================================================
   PIXEL AI SOLUTIONS - ELEVATED DESIGN SYSTEM & STYLESHEET
   Domain: pixelaisolutions.com
   Aesthetic:
     Apple HIG Precision & Fluidity + Dynamic Pixel-Based Architecture
   Palette:
     Red: #C62828 (Primary Brand Accent)
     Golden Yellow: #C67F00 (#8F5900 for accessible WCAG AA body copy)
     Charcoal: #333333 (Primary Text & Surfaces)
     Engaging Ambient Backgrounds: Layered Soft Mesh with Warm Highlights
   Typography:
     Headings & Wordmark: 'Sora', sans-serif
     Body & UI: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif
   ========================================================================== */

/* --- CSS Variables & Design Tokens --- */
:root {
  /* Brand Core Colors */
  --color-red: #C62828;
  --color-red-dark: #9E1C1C;
  --color-red-light: #FDF2F2;
  --color-red-border: #F8B4B4;
  --color-red-glow: rgba(198, 40, 40, 0.12);

  --color-yellow: #C67F00;
  --color-yellow-dark: #8F5900;       /* Accessible WCAG AA (4.8:1) against white */
  --color-yellow-light: #FFF8EB;
  --color-yellow-border: #FDE0B0;
  --color-yellow-glow: rgba(198, 127, 0, 0.14);

  --color-charcoal: #333333;
  --color-charcoal-deep: #1A1A1A;
  --color-charcoal-soft: #4A4A4A;
  --color-muted: #666666;
  --color-subtle: #8E8E93;

  /* Surfaces & Backgrounds */
  --color-bg-base: #FAFAFC;
  --color-bg-white: #FFFFFF;
  --color-bg-neutral: #F7F8FA;
  --color-bg-surface: #F0F2F5;
  --color-bg-card: rgba(255, 255, 255, 0.94);

  --color-border-subtle: rgba(0, 0, 0, 0.07);
  --color-border-medium: rgba(0, 0, 0, 0.13);
  --color-border-strong: rgba(0, 0, 0, 0.22);

  /* Fonts */
  --font-heading: 'Sora', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'SF Mono', ui-monospace, Menlo, Monaco, Consolas, monospace;

  /* Geometry & Radii */
  --radius-xs: 3px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-pill: 9999px;

  /* Apple-Caliber Physics & Easing Curves */
  --ease-apple-fluid: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-apple-spring: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-apple-bounce: cubic-bezier(0.34, 1.45, 0.64, 1);
  --ease-standard: cubic-bezier(0.2, 0.8, 0.2, 1);

  --duration-fast: 160ms;
  --duration-normal: 280ms;
  --duration-slow: 600ms;

  /* Multi-Layered Specular Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04), 0 1px 1px rgba(0, 0, 0, 0.02);
  --shadow-md: 0 3px 6px rgba(0, 0, 0, 0.03), 0 10px 24px -4px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 6px 12px -2px rgba(0, 0, 0, 0.04), 0 20px 40px -6px rgba(0, 0, 0, 0.09);
  --shadow-specular: inset 0 1px 0 0 rgba(255, 255, 255, 0.95), 0 2px 10px rgba(0, 0, 0, 0.03);

  --container-max: 1200px;
  --container-pad: 1.5rem;
  --header-height: 72px;
}

/* --- Base Reset & Setup --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  color: var(--color-charcoal);
  background-color: var(--color-bg-base);
  line-height: 1.6;
  font-size: 1rem;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
}

/* --- Accessibility: Skip Link & Focus States --- */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--color-charcoal-deep);
  color: #FFFFFF;
  padding: 0.75rem 1.25rem;
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: var(--radius-sm);
  z-index: 9999;
  text-decoration: none;
  transition: top var(--duration-fast) var(--ease-apple-spring);
}

.skip-link:focus {
  top: 1rem;
  outline: 3px solid var(--color-yellow);
}

:focus-visible {
  outline: 2px solid var(--color-charcoal);
  outline-offset: 2px;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-charcoal-deep);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

h1 {
  font-size: clamp(2.25rem, 4.3vw, 3.45rem);
  letter-spacing: -0.035em;
}

h2 {
  font-size: clamp(1.7rem, 2.9vw, 2.35rem);
  letter-spacing: -0.025em;
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.45rem);
}

h4 {
  font-size: 1.1rem;
  font-weight: 600;
}

p {
  color: var(--color-charcoal-soft);
  margin-bottom: 1rem;
}

p.lead {
  font-size: clamp(1.05rem, 1.45vw, 1.25rem);
  color: var(--color-charcoal-soft);
  line-height: 1.65;
  font-weight: 400;
}

a {
  color: var(--color-red);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-standard);
}

a:hover {
  color: var(--color-red-dark);
}

/* --- Container & Layout Structure --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
  position: relative;
}

.container-narrow {
  max-width: 860px;
}

.section {
  padding: 5.5rem 0;
  position: relative;
}

.section-sm {
  padding: 3.5rem 0;
}

.section-bg-neutral {
  background-color: var(--color-bg-neutral);
  border-top: 1px solid var(--color-border-subtle);
  border-bottom: 1px solid var(--color-border-subtle);
}

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

.section-header {
  margin-bottom: 3.5rem;
}

.section-header.text-center {
  text-align: center;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Ambient Glowing Mesh Backdrops (Engaging & Subtle) --- */
.ambient-glow-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.65;
  mix-blend-mode: multiply;
  pointer-events: none;
  will-change: transform;
}

.ambient-glow-red {
  top: -10%;
  left: 15%;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(198, 40, 40, 0.12) 0%, rgba(198, 40, 40, 0) 70%);
  animation: floatSlow 18s ease-in-out infinite alternate;
}

.ambient-glow-yellow {
  top: 15%;
  right: 12%;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(198, 127, 0, 0.13) 0%, rgba(198, 127, 0, 0) 70%);
  animation: floatSlow 22s ease-in-out infinite alternate-reverse;
}

@keyframes floatSlow {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, 20px) scale(1.08); }
  100% { transform: translate(-20px, 35px) scale(0.96); }
}

/* --- Floating Pixel Particle Accents --- */
.floating-pixel {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 1px;
  pointer-events: none;
  z-index: 1;
  opacity: 0.45;
  animation: pixelBreathe 6s ease-in-out infinite;
}

.fp-red {
  background-color: var(--color-red);
  box-shadow: 0 0 6px rgba(198, 40, 40, 0.4);
}

.fp-yellow {
  background-color: var(--color-yellow);
  box-shadow: 0 0 6px rgba(198, 127, 0, 0.4);
}

.fp-1 { top: 20%; left: 8%; animation-delay: 0s; }
.fp-2 { top: 45%; left: 92%; animation-delay: 1.5s; width: 8px; height: 8px; }
.fp-3 { top: 75%; left: 4%; animation-delay: 3s; }
.fp-4 { top: 12%; right: 22%; animation-delay: 2.2s; width: 5px; height: 5px; }

@keyframes pixelBreathe {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.3; }
  50% { transform: translateY(-12px) scale(1.25); opacity: 0.65; }
}

/* Interactive Canvas for Hero Pixel Matrix */
.hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.85;
}

/* --- Eyebrow & Badges --- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-heading);
  font-size: 0.775rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-red);
  background: #FFFFFF;
  border: 1px solid var(--color-red-border);
  box-shadow: 0 1px 3px rgba(198, 40, 40, 0.08);
  padding: 0.38rem 0.9rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1.15rem;
  transition: transform var(--duration-fast) var(--ease-apple-spring), box-shadow var(--duration-fast);
}

.eyebrow:hover {
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(198, 40, 40, 0.15);
}

.eyebrow-yellow {
  color: var(--color-yellow-dark);
  background: #FFFFFF;
  border-color: var(--color-yellow-border);
  box-shadow: 0 1px 3px rgba(198, 127, 0, 0.08);
}

.eyebrow-yellow:hover {
  box-shadow: 0 3px 8px rgba(198, 127, 0, 0.15);
}

.eyebrow-pixel {
  display: inline-block;
  width: 6px;
  height: 6px;
  background-color: currentColor;
  border-radius: 1px;
}

/* --- Pixel Motifs & Architectural Precision --- */
.pixel-grid-pattern {
  background-image: 
    linear-gradient(to right, rgba(0, 0, 0, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.035) 1px, transparent 1px);
  background-size: 28px 28px;
}

.pixel-corner-accent {
  position: relative;
}

.pixel-corner-accent::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  width: 8px;
  height: 8px;
  border-top: 2px solid var(--color-red);
  border-left: 2px solid var(--color-red);
  transition: width var(--duration-normal) var(--ease-apple-spring), height var(--duration-normal) var(--ease-apple-spring);
  z-index: 2;
}

.pixel-corner-accent::after {
  content: "";
  position: absolute;
  bottom: -1px;
  right: -1px;
  width: 8px;
  height: 8px;
  border-bottom: 2px solid var(--color-yellow);
  border-right: 2px solid var(--color-yellow);
  transition: width var(--duration-normal) var(--ease-apple-spring), height var(--duration-normal) var(--ease-apple-spring);
  z-index: 2;
}

.pixel-corner-accent:hover::before,
.pixel-corner-accent:hover::after {
  width: 14px;
  height: 14px;
}

/* Pulsing Status Dot (Apple-style Live Indicator) */
.status-dot-pulse {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 8px;
  height: 8px;
}

.status-dot-pulse::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: #10B981;
  animation: radar-ping 2.2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.status-dot-pulse::after {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #10B981;
}

@keyframes radar-ping {
  0% { transform: scale(0.9); opacity: 0.9; }
  70% { transform: scale(2.5); opacity: 0; }
  100% { transform: scale(2.5); opacity: 0; }
}

/* --- Apple-Caliber Frosted Glass Header --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--color-border-subtle);
  height: var(--header-height);
  display: flex;
  align-items: center;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05), 0 4px 16px -2px rgba(0, 0, 0, 0.02);
  transition: background-color var(--duration-normal) var(--ease-standard), box-shadow var(--duration-normal) var(--ease-standard);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

/* Brand Lockup */
.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
  line-height: 1;
  transition: transform var(--duration-fast) var(--ease-apple-spring);
}

.brand-link:hover {
  transform: scale(1.02);
}

.brand-mark {
  display: block;
  height: 38px;
  width: auto;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  margin-right: 3px;
}

.brand-wordmark {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: baseline;
}

.brand-red {
  color: var(--color-red);
}

.brand-yellow {
  color: var(--color-yellow);
  margin-left: 0.28em;
}

.brand-charcoal {
  color: var(--color-charcoal);
  margin-left: 0.28em;
}

/* Nav Menu */
.main-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-list {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 1.75rem;
}

.nav-link {
  font-family: var(--font-body);
  font-size: 0.925rem;
  font-weight: 500;
  color: var(--color-charcoal);
  text-decoration: none;
  padding: 0.45rem 0.65rem;
  border-radius: var(--radius-sm);
  position: relative;
  transition: color var(--duration-fast) var(--ease-standard), background var(--duration-fast);
}

.nav-link:hover {
  color: var(--color-red);
  background: rgba(0, 0, 0, 0.03);
}

.nav-link[aria-current="page"] {
  color: var(--color-red);
  font-weight: 600;
}

.nav-link[aria-current="page"]::after {
  content: "";
  position: absolute;
  bottom: 0px;
  left: 0.65rem;
  right: 0.65rem;
  height: 2px;
  background-color: var(--color-red);
  border-radius: 1px;
}

.header-cta-group {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mobile-nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.5rem;
  cursor: pointer;
  color: var(--color-charcoal);
  transition: background var(--duration-fast) var(--ease-standard);
}

.mobile-nav-toggle:hover {
  background: var(--color-bg-neutral);
}

.mobile-nav-toggle svg {
  display: block;
  width: 24px;
  height: 24px;
}

/* --- Tactile Apple-Style Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.925rem;
  line-height: 1;
  padding: 0.78rem 1.55rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: 
    transform var(--duration-fast) var(--ease-apple-spring),
    box-shadow var(--duration-fast) var(--ease-apple-spring),
    background-color var(--duration-fast) var(--ease-standard),
    border-color var(--duration-fast) var(--ease-standard);
  white-space: nowrap;
  user-select: none;
  position: relative;
}

.btn svg {
  transition: transform var(--duration-fast) var(--ease-apple-spring);
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn:active {
  transform: scale(0.975);
}

.btn-primary {
  background-color: var(--color-red);
  color: #FFFFFF;
  border-color: var(--color-red);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 2px 6px rgba(198, 40, 40, 0.28);
}

.btn-primary:hover {
  background-color: var(--color-red-dark);
  border-color: var(--color-red-dark);
  color: #FFFFFF;
  transform: translateY(-2px) scale(1.015);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 6px 18px rgba(198, 40, 40, 0.38);
}

.btn-secondary {
  background-color: #FFFFFF;
  color: var(--color-charcoal-deep);
  border-color: var(--color-border-medium);
  box-shadow: var(--shadow-specular);
}

.btn-secondary:hover {
  background-color: var(--color-bg-neutral);
  border-color: var(--color-charcoal);
  color: var(--color-charcoal-deep);
  transform: translateY(-2px) scale(1.015);
  box-shadow: var(--shadow-md);
}

.btn-yellow {
  background-color: var(--color-yellow);
  color: #FFFFFF;
  border-color: var(--color-yellow);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 2px 6px rgba(198, 127, 0, 0.28);
}

.btn-yellow:hover {
  background-color: var(--color-yellow-dark);
  border-color: var(--color-yellow-dark);
  color: #FFFFFF;
  transform: translateY(-2px) scale(1.015);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 6px 18px rgba(198, 127, 0, 0.38);
}

.btn-lg {
  padding: 0.98rem 1.95rem;
  font-size: 1rem;
}

.btn-sm {
  padding: 0.52rem 1.05rem;
  font-size: 0.85rem;
}

/* --- Hero Section --- */
.hero {
  padding: 6rem 0 5rem;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--color-border-subtle);
  background-color: #FFFFFF;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  margin-bottom: 1.35rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.15rem;
  margin-top: 2.25rem;
  margin-bottom: 2.75rem;
}

.hero-guarantees {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border-subtle);
}

.guarantee-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.875rem;
  color: var(--color-charcoal-soft);
}

.guarantee-icon {
  color: var(--color-red);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Hero Visual / Flow Box */
.hero-visual {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--color-border-medium);
  border-radius: var(--radius-md);
  padding: 1.85rem;
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 1px 3px rgba(0, 0, 0, 0.04),
    0 12px 30px -4px rgba(0, 0, 0, 0.07);
  position: relative;
  transition: transform var(--duration-normal) var(--ease-apple-spring);
}

.hero-visual:hover {
  transform: translateY(-3px);
}

.visual-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--color-border-subtle);
}

.visual-title {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-charcoal);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.visual-badge {
  font-size: 0.725rem;
  font-weight: 600;
  color: var(--color-yellow-dark);
  background: var(--color-yellow-light);
  border: 1px solid var(--color-yellow-border);
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-pill);
}

.system-flow {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.flow-step {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: #FFFFFF;
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1.05rem;
  position: relative;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
  transition: transform var(--duration-fast) var(--ease-apple-spring), border-color var(--duration-fast);
}

.flow-step:hover {
  transform: translateX(4px);
  border-color: var(--color-charcoal);
}

.flow-step-icon {
  width: 34px;
  height: 34px;
  background: var(--color-bg-neutral);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-charcoal);
  flex-shrink: 0;
}

.flow-step-content {
  flex-grow: 1;
}

.flow-step-label {
  font-size: 0.725rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-muted);
}

.flow-step-desc {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-charcoal-deep);
}

.flow-step-status {
  font-size: 0.725rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.status-live {
  background: #ECFDF5;
  color: #065F46;
  border: 1px solid #A7F3D0;
}

.status-gate {
  background: var(--color-yellow-light);
  color: var(--color-yellow-dark);
  border: 1px solid var(--color-yellow-border);
}

.flow-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 12px;
  color: var(--color-subtle);
  position: relative;
}

/* Pulsing signal on connector */
.flow-connector::after {
  content: "";
  position: absolute;
  width: 4px;
  height: 4px;
  background-color: var(--color-red);
  border-radius: 50%;
  animation: flowSignal 2s ease-in-out infinite;
}

@keyframes flowSignal {
  0% { transform: translateY(-6px); opacity: 0; }
  50% { opacity: 1; }
  100% { transform: translateY(6px); opacity: 0; }
}

/* --- Previous Clients --- */
.client-section {
  padding: 3.5rem 0;
  scroll-margin-top: calc(var(--header-height) + 1.5rem);
  background: var(--color-bg-white);
  border-top: 1px solid var(--color-border-subtle);
  border-bottom: 1px solid var(--color-border-subtle);
}

.client-section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
  margin-bottom: 1.75rem;
}

.client-section-heading h2 { margin: 0; font-size: clamp(1.65rem, 3vw, 2rem); }
.client-section-heading p { margin: 0; color: var(--color-muted); font-size: 0.95rem; }

.client-list {
  list-style: none;
  margin: 0;
  padding: 1px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: #E7E7EA;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.client-list li { min-width: 0; margin: 0; padding: 0; background: #FFFFFF; }
.client-link {
  min-height: 96px;
  height: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 0.875rem;
  padding: 1rem 1.25rem;
  color: var(--color-charcoal);
}

.client-link > span { min-width: 0; }
.client-identity { display: flex; flex: 1; align-items: center; justify-content: space-between; gap: 0.75rem; }
.client-identity > span { min-width: 0; }
.client-logo-frame { display: flex; align-items: center; justify-content: center; width: 72px; height: 48px; flex-shrink: 0; padding: 0.25rem; background: #FFFFFF; border-radius: 5px; overflow: hidden; }
.client-logo { display: block; width: auto; height: auto; max-width: 100%; max-height: 40px; object-fit: contain; }
.client-logo-dark { background: #1A1A1A; }
.client-logo-arc { padding: 0; }
.client-logo-arc .client-logo { width: 72px; height: 48px; max-height: 48px; object-fit: cover; }
.client-link strong { display: block; font: 600 0.95rem/1.45 var(--font-heading); }
.client-domain { display: block; margin-top: 0.25rem; color: var(--color-muted); font-size: 0.75rem; overflow-wrap: anywhere; }
.client-link svg { width: 18px; height: 18px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.7; }
.client-link:hover { background: var(--color-red-light); color: var(--color-red); }
.client-link:focus-visible { outline: 3px solid var(--color-red); outline-offset: -4px; background: var(--color-red-light); }

@media (max-width: 900px) {
  .client-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  .client-list { grid-template-columns: minmax(0, 1fr); }
  .client-domain { display: none; }
  .client-link { min-height: 80px; padding: 0.875rem 1rem; }
  .client-logo-frame { width: 64px; height: 44px; }
  .client-logo { max-height: 36px; }
  .client-logo-arc { padding: 0; }
  .client-logo-arc .client-logo { width: 64px; height: 44px; max-height: 44px; }
}

/* --- Service Cards with Dynamic Mouse Spotlight Effect --- */
.card-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.85rem;
}

.card-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.85rem;
}

.service-card {
  background: var(--color-bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--color-border-medium);
  border-radius: var(--radius-md);
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-specular);
  transition: 
    transform var(--duration-normal) var(--ease-apple-spring),
    box-shadow var(--duration-normal) var(--ease-apple-spring),
    border-color var(--duration-normal) var(--ease-apple-spring);
  overflow: hidden;
  will-change: transform;
}

/* Mouse spotlight layer on cards */
.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    450px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(198, 40, 40, 0.05),
    transparent 50%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1;
}

.service-card:hover::before {
  opacity: 1;
}

.service-card:hover {
  border-color: rgba(0, 0, 0, 0.3);
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 1),
    0 1px 3px rgba(0, 0, 0, 0.04),
    0 16px 36px -6px rgba(0, 0, 0, 0.09);
  transform: translateY(-5px) scale(1.008);
}

.service-card-icon {
  width: 46px;
  height: 46px;
  background: #FFFFFF;
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-red);
  margin-bottom: 1.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
  transition: transform var(--duration-fast) var(--ease-apple-spring), color var(--duration-fast);
  position: relative;
  z-index: 2;
}

.service-card:hover .service-card-icon {
  transform: scale(1.1);
  color: var(--color-red-dark);
}

.service-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
  position: relative;
  z-index: 2;
}

.service-card p {
  font-size: 0.925rem;
  color: var(--color-charcoal-soft);
  margin-bottom: 1.35rem;
  flex-grow: 1;
  position: relative;
  z-index: 2;
}

.service-specs {
  border-top: 1px solid var(--color-border-subtle);
  padding-top: 1.1rem;
  margin-top: auto;
  font-size: 0.8rem;
  color: var(--color-muted);
  position: relative;
  z-index: 2;
}

.service-specs-label {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.7rem;
  color: var(--color-charcoal);
  margin-bottom: 0.4rem;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.tag {
  display: inline-block;
  font-size: 0.725rem;
  font-weight: 500;
  background: #FFFFFF;
  color: var(--color-charcoal);
  padding: 0.22rem 0.6rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border-medium);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
  transition: border-color var(--duration-fast), transform var(--duration-fast);
}

.tag:hover {
  border-color: var(--color-charcoal);
  transform: translateY(-1px);
}

/* --- Who We Help Section --- */
.persona-card {
  background: var(--color-bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--color-border-medium);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  position: relative;
  box-shadow: var(--shadow-specular);
  transition: transform var(--duration-normal) var(--ease-apple-spring), box-shadow var(--duration-normal);
  overflow: hidden;
}

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

.persona-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.persona-icon {
  width: 42px;
  height: 42px;
  background: var(--color-yellow-light);
  border: 1px solid var(--color-yellow-border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-yellow-dark);
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(198, 127, 0, 0.08);
}

.persona-card h3 {
  font-size: 1.3rem;
  margin: 0;
}

.comparison-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--color-border-subtle);
}

.comp-column {
  font-size: 0.875rem;
}

.comp-title {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.comp-title.problem { color: var(--color-red); }
.comp-title.solution { color: var(--color-charcoal-deep); }

.comp-list {
  list-style: none;
}

.comp-list li {
  position: relative;
  padding-left: 1.15rem;
  margin-bottom: 0.45rem;
  line-height: 1.45;
  color: var(--color-charcoal-soft);
}

.comp-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  font-weight: bold;
}

.comp-list.problem-list li::before { color: var(--color-red); }
.comp-list.solution-list li::before { color: var(--color-yellow-dark); }

/* --- 4-Step Process Section --- */
.process-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
}

.process-step {
  background: #FFFFFF;
  border: 1px solid var(--color-border-medium);
  border-radius: var(--radius-md);
  padding: 1.85rem;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-specular);
  transition: transform var(--duration-normal) var(--ease-apple-spring), border-color var(--duration-fast), box-shadow var(--duration-normal);
}

.process-step:hover {
  transform: translateY(-4px);
  border-color: var(--color-charcoal);
  box-shadow: var(--shadow-md);
}

.step-num {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--color-red);
  background: var(--color-red-light);
  border: 1px solid var(--color-red-border);
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  margin-bottom: 1.25rem;
  box-shadow: 0 1px 3px rgba(198, 40, 40, 0.12);
}

.process-step h3 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}

.process-step p {
  font-size: 0.875rem;
  color: var(--color-charcoal-soft);
  margin-bottom: 1rem;
}

.step-deliverable {
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px dashed var(--color-border-medium);
  font-size: 0.775rem;
  color: var(--color-charcoal);
  font-weight: 600;
}

/* --- Proof & Evidence Section --- */
.proof-section {
  border-top: 1px solid var(--color-border-subtle);
  border-bottom: 1px solid var(--color-border-subtle);
  background-color: #FFFFFF;
}

.proof-notice {
  background: var(--color-bg-neutral);
  border: 1px solid var(--color-border-medium);
  border-left: 4px solid var(--color-charcoal);
  border-radius: var(--radius-sm);
  padding: 1.35rem 1.65rem;
  margin-bottom: 2.5rem;
  box-shadow: var(--shadow-sm);
}

.proof-notice p {
  margin: 0;
  font-size: 0.925rem;
  color: var(--color-charcoal-soft);
}

.proof-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.vignette-card {
  border: 1px solid var(--color-border-medium);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  background: #FFFFFF;
  position: relative;
  box-shadow: var(--shadow-specular);
  transition: transform var(--duration-normal) var(--ease-apple-spring), box-shadow var(--duration-normal);
}

.vignette-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.vignette-badge {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-charcoal-soft);
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border-medium);
  padding: 0.22rem 0.55rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
}

.vignette-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.vignette-meta {
  font-size: 0.85rem;
  color: var(--color-muted);
  margin-bottom: 1.25rem;
}

.vignette-body {
  font-size: 0.9rem;
  color: var(--color-charcoal-soft);
}

.vignette-body strong {
  color: var(--color-charcoal-deep);
}

.proof-placeholder-card {
  background: var(--color-bg-neutral);
  border: 1px dashed var(--color-border-strong);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  text-align: center;
  margin-top: 2.5rem;
}

.proof-placeholder-card h4 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.proof-placeholder-card p {
  font-size: 0.9rem;
  max-width: 600px;
  margin: 0 auto 1.5rem;
}

/* --- FAQ Accordion (Smooth Height Interpolation) --- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--color-border-medium);
  border-radius: var(--radius-sm);
  background: #FFFFFF;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--duration-fast) var(--ease-standard), box-shadow var(--duration-fast);
}

.faq-item:hover {
  border-color: var(--color-border-strong);
  box-shadow: var(--shadow-md);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.35rem 1.65rem;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-charcoal-deep);
  cursor: pointer;
  transition: background-color var(--duration-fast) var(--ease-standard);
}

.faq-question:hover {
  background-color: var(--color-bg-neutral);
}

.faq-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--color-red);
  transition: transform var(--duration-normal) var(--ease-apple-spring);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 1.65rem 1.5rem;
  font-size: 0.95rem;
  color: var(--color-charcoal-soft);
  line-height: 1.65;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

/* --- Final CTA Section --- */
.final-cta {
  background-color: var(--color-charcoal-deep);
  color: #FFFFFF;
  padding: 5.5rem 0;
  position: relative;
  overflow: hidden;
}

.final-cta h2 {
  color: #FFFFFF;
  margin-bottom: 1rem;
}

.final-cta p.lead {
  color: #D1D5DB;
  max-width: 680px;
  margin: 0 auto 2.5rem;
}

.final-cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* --- Dedicated Services Deep Dive --- */
.service-deepdive-item {
  padding: 4.5rem 0;
  border-bottom: 1px solid var(--color-border-subtle);
}

.service-deepdive-item:last-child {
  border-bottom: none;
}

.deepdive-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: flex-start;
}

.deepdive-content h2 {
  margin-bottom: 1rem;
  font-size: 1.85rem;
}

.deepdive-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-red);
  margin-bottom: 0.75rem;
}

.three-box-breakdown {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.breakdown-box {
  background: #FFFFFF;
  border: 1px solid var(--color-border-medium);
  border-radius: var(--radius-sm);
  padding: 1.25rem 1.5rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
  transition: transform var(--duration-fast) var(--ease-apple-spring);
}

.breakdown-box:hover {
  transform: translateX(3px);
}

.breakdown-box.problem-box {
  border-left: 4px solid var(--color-red);
  background: #FFFDFC;
}

.breakdown-box.solution-box {
  border-left: 4px solid var(--color-yellow);
  background: var(--color-yellow-light);
}

.breakdown-box.benefit-box {
  border-left: 4px solid var(--color-charcoal);
  background: #F9FAFB;
}

.breakdown-label {
  font-family: var(--font-heading);
  font-size: 0.775rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.35rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.problem-box .breakdown-label { color: var(--color-red); }
.solution-box .breakdown-label { color: var(--color-yellow-dark); }
.benefit-box .breakdown-label { color: var(--color-charcoal-deep); }

.breakdown-box p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--color-charcoal);
}

.deepdive-sidebar {
  background: #FFFFFF;
  border: 1px solid var(--color-border-medium);
  border-radius: var(--radius-md);
  padding: 1.85rem;
  box-shadow: var(--shadow-specular);
}

.deepdive-sidebar h4 {
  font-size: 0.95rem;
  margin-bottom: 0.85rem;
  color: var(--color-charcoal-deep);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.sidebar-checklist {
  list-style: none;
  margin-bottom: 1.5rem;
}

.sidebar-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--color-charcoal-soft);
  margin-bottom: 0.5rem;
}

.sidebar-checklist li svg {
  color: var(--color-yellow-dark);
  flex-shrink: 0;
  margin-top: 2px;
}

/* --- Contact & Qualification Form --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 3.5rem;
  align-items: flex-start;
}

.form-wrapper {
  background: #FFFFFF;
  border: 1px solid var(--color-border-medium);
  border-radius: var(--radius-md);
  padding: 2.75rem 2.5rem;
  box-shadow: var(--shadow-specular);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group-full {
  grid-column: 1 / -1;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-charcoal-deep);
}

.form-label .required-mark { color: var(--color-red); }
.form-label .optional-mark { font-size: 0.75rem; font-weight: 400; color: var(--color-muted); }

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.78rem 1rem;
  font-family: var(--font-body);
  font-size: 0.925rem;
  color: var(--color-charcoal);
  background: #FFFFFF;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-sm);
  transition: border-color var(--duration-fast) var(--ease-standard), box-shadow var(--duration-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--color-charcoal);
  outline: none;
  box-shadow: 0 0 0 3px rgba(51, 51, 51, 0.12);
}

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

.form-help {
  font-size: 0.775rem;
  color: var(--color-muted);
}

.form-honeypot {
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
  opacity: 0 !important;
  height: 0 !important;
  width: 0 !important;
  z-index: -1 !important;
}

.form-status {
  display: none;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-sm);
  margin-top: 1.25rem;
  font-size: 0.9rem;
  line-height: 1.5;
}

.form-status.status-loading {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--color-bg-neutral);
  border: 1px solid var(--color-border-strong);
  color: var(--color-charcoal);
}

.form-status.status-success {
  display: block;
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  color: #065F46;
}

.form-status.status-error {
  display: block;
  background: #FEF2F2;
  border: 1px solid var(--color-red-border);
  color: var(--color-red-dark);
}

.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.booking-card {
  background: #FFFFFF;
  border: 1px solid var(--color-border-medium);
  border-radius: var(--radius-md);
  padding: 2.25rem 2rem;
  box-shadow: var(--shadow-specular);
}

.booking-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.booking-card p {
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.booking-config-note {
  background: var(--color-bg-neutral);
  border: 1px dashed var(--color-border-strong);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  margin-top: 1.25rem;
  font-size: 0.8rem;
  color: var(--color-muted);
}

.booking-config-note code {
  font-family: var(--font-mono);
  background: var(--color-bg-surface);
  padding: 0.15rem 0.35rem;
  border-radius: 3px;
  color: var(--color-charcoal-deep);
}

.contact-direct-info {
  border-top: 1px solid var(--color-border-subtle);
  padding-top: 1.5rem;
  font-size: 0.875rem;
}

.contact-detail-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.5rem;
  color: var(--color-charcoal-soft);
}

/* --- About Pillars --- */
.about-pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
  margin: 3rem 0;
}

.pillar-card {
  background: #FFFFFF;
  border: 1px solid var(--color-border-medium);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  box-shadow: var(--shadow-specular);
  transition: transform var(--duration-normal) var(--ease-apple-spring), box-shadow var(--duration-normal);
}

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

.pillar-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.pillar-card p {
  font-size: 0.9rem;
  margin: 0;
}

/* --- Fluid Scroll Reveal Transitions --- */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px) scale(0.985);
  transition: 
    opacity 0.7s var(--ease-apple-fluid),
    transform 0.7s var(--ease-apple-fluid);
  will-change: opacity, transform;
}

.reveal-on-scroll.is-revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.delay-1 { transition-delay: 90ms; }
.delay-2 { transition-delay: 180ms; }
.delay-3 { transition-delay: 270ms; }

/* --- Footer --- */
.site-footer {
  background-color: var(--color-charcoal-deep);
  color: #D1D5DB;
  border-top: 1px solid #444444;
  padding: 4.5rem 0 2rem;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand p {
  color: #9CA3AF;
  font-size: 0.875rem;
  margin-top: 1rem;
  line-height: 1.6;
}

.footer-col h4 {
  color: #FFFFFF;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.65rem;
}

.footer-links a {
  color: #9CA3AF;
  font-size: 0.875rem;
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-standard);
}

.footer-links a:hover {
  color: #FFFFFF;
}

.footer-bottom {
  border-top: 1px solid #333333;
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: #9CA3AF;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-legal-links a {
  color: #9CA3AF;
  text-decoration: none;
}

.footer-legal-links a:hover {
  color: #FFFFFF;
}

.spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(51, 51, 51, 0.2);
  border-top-color: var(--color-charcoal);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* --- Responsive Media Queries --- */
@media (max-width: 1024px) {
  .hero-grid,
  .deepdive-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

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

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

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 68px;
    --container-pad: 1.15rem;
  }

  .section {
    padding: 3.5rem 0;
  }

  .hero {
    padding: 4rem 0 3rem;
  }

  .mobile-nav-toggle {
    display: block;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: #FFFFFF;
    border-bottom: 1px solid var(--color-border-subtle);
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
    flex-direction: column;
    align-items: stretch;
    gap: 1.25rem;
  }

  .main-nav.is-open {
    display: flex;
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    width: 100%;
  }

  .nav-link {
    width: 100%;
    padding: 0.5rem 0;
    font-size: 1.05rem;
  }

  .header-cta-group {
    display: none;
  }

  .main-nav .header-cta-group {
    display: flex;
    flex-direction: column;
    margin-top: 0.5rem;
  }

  .main-nav .btn {
    width: 100%;
  }

  .card-grid-3,
  .card-grid-2,
  .process-timeline,
  .proof-grid,
  .about-pillars,
  .comparison-block,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-guarantees {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* --- Accessibility: Restrained Motion --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal-on-scroll {
    opacity: 1 !important;
    transform: none !important;
  }
  .ambient-glow,
  .floating-pixel {
    animation: none !important;
    display: none !important;
  }
}
