/* ═══════════════════════════════════════════════
   AZ SEO — Design System
   main.css: variables, reset, typography, utils
═══════════════════════════════════════════════ */

/* ── CSS Custom Properties ──────────────────── */
:root {
  /* Colors */
  --c-bg:           #FBFAFE;
  --c-surface:      #FFFFFF;
  --c-surface-2:    #F2EFF9;
  --c-bg-rgb:       251, 250, 254;
  --c-surface-rgb:  255, 255, 255;
  --c-purple:       #7C3AED;
  --c-purple-light: #A78BFA;
  --c-purple-dark:  #5B21B6;
  --c-purple-glow:  rgba(124, 58, 237, 0.3);
  --c-cyan:         #06B6D4;
  --c-white:        #16121F;
  --c-off-white:    #221C33;
  --c-off-white-rgb: 34, 28, 51;
  --c-muted:        #635F73;
  --c-border-rgb:   23, 18, 43;
  --c-border:       rgba(var(--c-border-rgb), 0.1);
  --c-border-hover: rgba(124, 58, 237, 0.45);
  /* Text that must stay white regardless of theme (e.g. on solid/gradient accent fills) */
  --c-on-accent:    #FFFFFF;

  /* Gradients */
  --g-hero:         radial-gradient(ellipse 80% 60% at 50% 0%, #ece2fb 0%, #FBFAFE 65%);
  --g-accent:       linear-gradient(135deg, #7C3AED 0%, #06B6D4 100%);
  --g-button:       linear-gradient(135deg, #7C3AED 0%, #A78BFA 100%);
  --g-text:         linear-gradient(90deg, #16121F 0%, #7C3AED 100%);
  --g-section:      linear-gradient(180deg, #FBFAFE 0%, #f3edfc 50%, #FBFAFE 100%);
  --g-card:         linear-gradient(135deg, rgba(124,58,237,0.07) 0%, rgba(6,182,212,0.03) 100%);
  --g-card-border:  linear-gradient(135deg, rgba(124,58,237,0.35), rgba(167,139,250,0.08));

  /* Typography */
  --f-heading: 'Space Grotesk', system-ui, sans-serif;
  --f-body:    'DM Sans', system-ui, sans-serif;

  /* Font sizes — fluid */
  --fs-xs:   clamp(0.75rem,  1vw,   0.875rem);
  --fs-sm:   clamp(0.875rem, 1.2vw, 1rem);
  --fs-base: clamp(1rem,     1.5vw, 1.125rem);
  --fs-lg:   clamp(1.125rem, 1.8vw, 1.25rem);
  --fs-xl:   clamp(1.25rem,  2vw,   1.5rem);
  --fs-2xl:  clamp(1.5rem,   2.5vw, 2rem);
  --fs-3xl:  clamp(2rem,     3.5vw, 2.75rem);
  --fs-4xl:  clamp(2.5rem,   5vw,   3.75rem);
  --fs-5xl:  clamp(3rem,     6vw,   5rem);
  --fs-hero: clamp(2.75rem,  7vw,   6rem);

  /* Spacing */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Layout */
  --container-max: 1280px;
  --container-pad: clamp(1rem, 4vw, 2rem);
  --section-py:    clamp(4rem, 8vw, 7rem);

  /* Border radius */
  --r-sm:   0.375rem;
  --r-md:   0.75rem;
  --r-lg:   1rem;
  --r-xl:   1.5rem;
  --r-full: 9999px;

  /* Shadows */
  --shadow-sm:     0 2px 8px rgba(23,18,43,0.08);
  --shadow-md:     0 4px 20px rgba(23,18,43,0.1);
  --shadow-lg:     0 8px 40px rgba(23,18,43,0.14);
  --shadow-purple: 0 0 30px rgba(124, 58, 237, 0.15);
  --shadow-glow:   0 0 60px rgba(124, 58, 237, 0.1);

  /* Transitions */
  --t-fast: 150ms ease;
  --t-base: 250ms ease;
  --t-slow: 400ms ease;

  /* Z-index */
  --z-below:    -1;
  --z-base:      0;
  --z-raised:   10;
  --z-dropdown: 100;
  --z-overlay:  200;
  --z-nav:      300;
  --z-modal:    400;
  --z-cursor:   999;
}

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

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

body {
  font-family: var(--f-body);
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--c-white);
  background-color: var(--c-bg);
  transition: background-color var(--t-base), color var(--t-base);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  cursor: none;
}

@media (hover: none) {
  body { cursor: auto; }
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

input, button, textarea, select {
  font: inherit;
}

p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

/* ── Typography ─────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--f-heading);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--c-white);
}

h1 { font-size: var(--fs-hero); }
h2 { font-size: var(--fs-4xl);  }
h3 { font-size: var(--fs-2xl);  }
h4 { font-size: var(--fs-xl);   }
h5 { font-size: var(--fs-lg);   }
h6 { font-size: var(--fs-base); }

p {
  color: var(--c-muted);
  line-height: 1.75;
  font-size: var(--fs-base);
}

/* ── Gradient text ──────────────────────────── */
.text-gradient {
  background: var(--g-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-accent {
  background: var(--g-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Container ──────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

/* ── Section ────────────────────────────────── */
.section {
  padding-block: var(--section-py);
}

.section-alt {
  background: var(--g-section);
}

/* ── Section label ──────────────────────────── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-purple-light);
  margin-bottom: var(--space-4);
}

.section-label::before {
  content: '';
  display: block;
  width: 1.5rem;
  height: 2px;
  background: var(--g-button);
  border-radius: var(--r-full);
}

/* ── Section header ─────────────────────────── */
.section-header {
  margin-bottom: var(--space-16);
}

.section-header.centered {
  text-align: center;
  max-width: 700px;
  margin-inline: auto;
  margin-bottom: var(--space-16);
}

.section-header p {
  margin-top: var(--space-4);
  font-size: var(--fs-lg);
}

/* ── Buttons ────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.75rem 1.75rem;
  font-family: var(--f-heading);
  font-size: var(--fs-sm);
  font-weight: 600;
  line-height: 1;
  border-radius: var(--r-full);
  transition: all var(--t-base);
  cursor: pointer;
  white-space: nowrap;
  letter-spacing: 0.01em;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}

.btn:hover::before {
  transform: translateX(100%);
}

.btn-primary {
  background: var(--g-button);
  color: var(--c-on-accent);
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(124, 58, 237, 0.5);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-ghost {
  background: transparent;
  color: var(--c-white);
  border: 1px solid var(--c-border);
}

.btn-ghost:hover {
  border-color: var(--c-purple-light);
  color: var(--c-purple-light);
  background: rgba(124, 58, 237, 0.08);
}

.btn-sm  { padding: 0.5rem 1.25rem;  font-size: var(--fs-xs);  }
.btn-lg  { padding: 1rem 2.5rem;     font-size: var(--fs-base); }

/* ── Cards ──────────────────────────────────── */
.card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: var(--space-8);
  transition: all var(--t-base);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--g-card);
  opacity: 0;
  transition: opacity var(--t-base);
  pointer-events: none;
}

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

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

/* ── Glass card ─────────────────────────────── */
.card-glass {
  background: rgba(var(--c-surface-rgb), 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  transition: all var(--t-base);
}

.card-glass:hover {
  border-color: var(--c-border-hover);
  box-shadow: var(--shadow-purple);
}

/* ── Tags ───────────────────────────────────── */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  font-size: var(--fs-xs);
  font-weight: 600;
  border-radius: var(--r-full);
  background: rgba(124, 58, 237, 0.15);
  color: var(--c-purple-light);
  border: 1px solid rgba(124, 58, 237, 0.25);
}

/* ── Divider ────────────────────────────────── */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--c-border), transparent);
  border: none;
  margin: 0;
}

/* ── Grid utilities ─────────────────────────── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-8); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-8); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-8); }

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

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

/* ── Flex utilities ─────────────────────────── */
.flex-center   { display: flex; align-items: center; justify-content: center; }
.flex-between  { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: var(--space-4); }

@media (max-width: 560px) {
  .section-header.flex-between { flex-direction: column; align-items: flex-start; }
}
.gap-4  { gap: var(--space-4); }
.gap-6  { gap: var(--space-6); }
.gap-8  { gap: var(--space-8); }

/* ── Text utilities ─────────────────────────── */
.text-center  { text-align: center; }
.text-muted   { color: var(--c-muted); }
.text-purple  { color: var(--c-purple-light); }
.text-white   { color: var(--c-white); }
.font-heading { font-family: var(--f-heading); }

/* ── Spacing utilities ──────────────────────── */
.mt-4  { margin-top: var(--space-4);  }
.mt-6  { margin-top: var(--space-6);  }
.mt-8  { margin-top: var(--space-8);  }
.mb-4  { margin-bottom: var(--space-4); }
.mb-6  { margin-bottom: var(--space-6); }
.mb-8  { margin-bottom: var(--space-8); }

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

/* ── Skip link ──────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: calc(var(--z-cursor) + 1);
  padding: 0.75rem 1.5rem;
  background: var(--c-purple);
  color: var(--c-on-accent);
  border-radius: 0 0 var(--r-md) var(--r-md);
  font-weight: 600;
  transition: top var(--t-fast);
}

.skip-link:focus { top: 0; }

/* ── Site content offset for fixed header ────── */
.site-content { padding-top: 80px; }

/* ── Page hero (inner pages) ─────────────────── */
.page-hero {
  padding-top: calc(80px + var(--space-16));
  padding-bottom: var(--space-16);
  background: var(--g-hero);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--c-border), transparent);
}

.page-hero h1 {
  font-size: var(--fs-4xl);
  margin-bottom: var(--space-4);
}

.page-hero p {
  font-size: var(--fs-lg);
  max-width: 600px;
  margin-inline: auto;
}

/* ── Breadcrumb ─────────────────────────────── */
.breadcrumb { margin-bottom: var(--space-6); }

.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  justify-content: center;
  font-size: var(--fs-sm);
}

.breadcrumb-item { color: var(--c-muted); }

.breadcrumb-item a {
  color: var(--c-purple-light);
  transition: color var(--t-base);
}

.breadcrumb-item a:hover { color: var(--c-white); }

.breadcrumb-item + .breadcrumb-item::before {
  content: '/';
  margin-right: var(--space-2);
  color: rgba(var(--c-border-rgb), 0.3);
}

/* ── prefers-reduced-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;
  }
}

/* ═══════════════════════════════════════════════
   HOMEPAGE SECTIONS
═══════════════════════════════════════════════ */

/* ── Hero ───────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-start;
  background: var(--g-hero);
  overflow: hidden;
  padding-top: clamp(6rem, 9vw, 7.5rem);
  padding-bottom: clamp(4rem, 8vw, 6rem);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-6);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.35rem 1rem 0.35rem 0.5rem;
  background: rgba(124, 58, 237, 0.12);
  border: 1px solid rgba(124, 58, 237, 0.3);
  border-radius: var(--r-full);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--c-purple-light);
}

.hero-badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--c-purple-light);
  animation: pulseGlow 2s ease-in-out infinite;
}

.hero-title {
  font-size: var(--fs-hero);
  line-height: 1.08;
  letter-spacing: -0.03em;
  max-width: 14ch;
}

.hero-desc {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: var(--c-muted);
  max-width: 580px;
  line-height: 1.7;
}

/* ── Audit search bar ───────────────────────── */
.audit-search-wrap {
  width: 100%;
  max-width: 640px;
  position: relative;
}

.audit-search-wrap::before {
  content: '';
  position: absolute;
  inset: -20px -10px;
  background: radial-gradient(ellipse 70% 70% at 50% 50%, rgba(124,58,237,0.18) 0%, transparent 70%);
  z-index: -1;
}

.audit-search-bar {
  display: flex;
  align-items: center;
  width: 100%;
  background: var(--c-surface);
  border-radius: var(--r-full);
  padding: 6px 6px 6px 28px;
  box-shadow: 0 20px 45px rgba(124,58,237,0.18), 0 4px 16px rgba(23,18,43,0.08);
  border: 1px solid var(--c-border);
}

.audit-search-bar input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-family: var(--f-body);
  font-size: var(--fs-base);
  color: var(--c-white);
  padding: 0.6rem 0.5rem;
  min-width: 0;
}

.audit-search-bar input::placeholder { color: var(--c-muted); }

.audit-search-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  flex-shrink: 0;
  background: var(--g-button);
  color: var(--c-on-accent);
  border: none;
  border-radius: var(--r-full);
  padding: 0.85rem 1.6rem;
  font-family: var(--f-heading);
  font-size: var(--fs-sm);
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: transform var(--t-base), box-shadow var(--t-base);
}

.audit-search-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(124,58,237,0.35);
}

.audit-search-note {
  font-size: var(--fs-xs);
  color: var(--c-muted);
}

@media (max-width: 560px) {
  .audit-search-bar { flex-wrap: wrap; border-radius: var(--r-xl); padding: 14px; }
  .audit-search-bar input { width: 100%; padding: 0.5rem; }
  .audit-search-btn { width: 100%; justify-content: center; }
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  justify-content: center;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: var(--space-10);
  flex-wrap: wrap;
  justify-content: center;
  padding-top: var(--space-6);
  border-top: 1px solid var(--c-border);
  width: 100%;
  max-width: 640px;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.hero-stat-num {
  font-family: var(--f-heading);
  font-size: var(--fs-3xl);
  font-weight: 700;
  background: var(--g-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.hero-stat-label {
  font-size: var(--fs-xs);
  color: var(--c-muted);
  font-weight: 500;
}

.scroll-down {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--c-muted);
  font-size: var(--fs-xs);
  animation: bounce 2.2s ease-in-out infinite;
  z-index: 2;
}

.scroll-down svg { color: var(--c-purple-light); }

/* ── Trust strip ────────────────────────────── */
.trust-strip {
  padding-block: var(--space-12);
  border-block: 1px solid var(--c-border);
  background: var(--c-surface);
  overflow: hidden;
}

.trust-label {
  text-align: center;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-muted);
  margin-bottom: var(--space-8);
}

.marquee-logo {
  font-family: var(--f-heading);
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--c-muted);
  letter-spacing: -0.02em;
  white-space: nowrap;
  transition: color var(--t-base);
}

.marquee-item:hover .marquee-logo { color: var(--c-purple-light); }

/* ── Services section ───────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

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

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

.service-card {
  position: relative;
  padding: var(--space-8);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  overflow: hidden;
  transition: all var(--t-base);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--g-card);
  opacity: 0;
  transition: opacity var(--t-base);
}

.service-card:hover {
  border-color: var(--c-border-hover);
  transform: translateY(-6px);
  box-shadow: var(--shadow-purple);
}

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

.service-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  border-radius: var(--r-lg);
  background: rgba(124, 58, 237, 0.12);
  color: var(--c-purple-light);
  transition: background var(--t-base), transform var(--t-base);
  position: relative;
  z-index: 1;
}

.service-card:hover .service-card-icon {
  background: rgba(124, 58, 237, 0.24);
  transform: scale(1.08);
}

.service-card h3 {
  font-size: var(--fs-xl);
  position: relative;
  z-index: 1;
}

.service-card p {
  font-size: var(--fs-sm);
  flex: 1;
  position: relative;
  z-index: 1;
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--c-purple-light);
  transition: gap var(--t-base);
  position: relative;
  z-index: 1;
  margin-top: auto;
}

.service-card:hover .service-card-link { gap: var(--space-3); }

.service-card-count {
  position: absolute;
  top: var(--space-6);
  right: var(--space-6);
  font-family: var(--f-heading);
  font-size: 4rem;
  font-weight: 800;
  color: rgba(124, 58, 237, 0.06);
  line-height: 1;
  pointer-events: none;
  transition: color var(--t-base);
}

.service-card:hover .service-card-count { color: rgba(124, 58, 237, 0.1); }

/* ── Stats section ──────────────────────────── */
.stats-section {
  background: var(--g-section);
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(124,58,237,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-8);
}

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

.stat-card {
  text-align: center;
  padding: var(--space-8);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  transition: all var(--t-base);
}

.stat-card:hover {
  border-color: var(--c-border-hover);
  box-shadow: var(--shadow-purple);
}

.stat-card-num {
  font-family: var(--f-heading);
  font-size: var(--fs-4xl);
  font-weight: 800;
  background: var(--g-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: var(--space-3);
}

.stat-card-label {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--c-muted);
}

/* ── Why us ─────────────────────────────────── */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

@media (max-width: 1023px) {
  .why-grid { grid-template-columns: 1fr; gap: var(--space-12); }
}

.why-visual {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-visual-inner {
  position: relative;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse 80% 80% at 50% 50%, rgba(124,58,237,0.15) 0%, transparent 70%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-8);
}

.why-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.why-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-5);
  padding: var(--space-6);
  border-radius: var(--r-lg);
  border: 1px solid var(--c-border);
  background: var(--c-surface);
  transition: all var(--t-base);
}

.why-item:hover {
  border-color: var(--c-border-hover);
  background: rgba(124, 58, 237, 0.04);
}

.why-item-icon {
  width: 44px; height: 44px;
  border-radius: var(--r-md);
  background: rgba(124, 58, 237, 0.12);
  color: var(--c-purple-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--t-base);
}

.why-item:hover .why-item-icon { background: rgba(124, 58, 237, 0.24); }

.why-item h4 {
  font-size: var(--fs-base);
  margin-bottom: 0.25rem;
}

.why-item p {
  font-size: var(--fs-sm);
  margin: 0;
}

/* ── Process ─────────────────────────────────── */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-8);
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(12.5% + 16px);
  right: calc(12.5% + 16px);
  height: 1px;
  background: linear-gradient(90deg, var(--c-purple), var(--c-purple-light), var(--c-purple));
  opacity: 0.3;
}

@media (max-width: 1023px) {
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .process-steps::before { display: none; }
}

@media (max-width: 639px) {
  .process-steps { grid-template-columns: 1fr; }
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-4);
}

.process-step-num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(124, 58, 237, 0.12);
  border: 1px solid rgba(124, 58, 237, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-heading);
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--c-purple-light);
  position: relative;
  z-index: 1;
  transition: all var(--t-base);
  flex-shrink: 0;
}

.process-step:hover .process-step-num {
  background: rgba(124, 58, 237, 0.25);
  box-shadow: 0 0 20px rgba(124, 58, 237, 0.3);
}

.process-step h4 { font-size: var(--fs-base); }

.process-step p {
  font-size: var(--fs-sm);
  margin: 0;
}

/* ── Industries ─────────────────────────────── */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}

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

.industry-card {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-5) var(--space-6);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  transition: all var(--t-base);
  font-weight: 600;
  font-family: var(--f-heading);
  font-size: var(--fs-sm);
  color: var(--c-muted);
}

.industry-card:hover {
  border-color: var(--c-border-hover);
  color: var(--c-white);
  background: rgba(124, 58, 237, 0.06);
  transform: translateX(4px);
}

.industry-card-icon {
  width: 36px; height: 36px;
  border-radius: var(--r-sm);
  background: rgba(124, 58, 237, 0.1);
  color: var(--c-purple-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--t-base);
}

.industry-card:hover .industry-card-icon { background: rgba(124, 58, 237, 0.22); }

/* ── Testimonials ───────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

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

.testimonial-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  transition: all var(--t-base);
  position: relative;
}

.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: var(--space-6);
  right: var(--space-8);
  font-family: var(--f-heading);
  font-size: 4rem;
  color: rgba(124, 58, 237, 0.15);
  line-height: 1;
}

.testimonial-card:hover {
  border-color: var(--c-border-hover);
  box-shadow: var(--shadow-purple);
}

.testimonial-stars {
  display: flex;
  gap: 3px;
  color: #F59E0B;
}

.testimonial-text {
  font-size: var(--fs-base);
  color: var(--c-off-white);
  line-height: 1.7;
  flex: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding-top: var(--space-5);
  border-top: 1px solid var(--c-border);
}

.testimonial-avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: rgba(124, 58, 237, 0.18);
  border: 2px solid rgba(124, 58, 237, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-heading);
  font-size: var(--fs-base);
  font-weight: 700;
  color: var(--c-purple-light);
  flex-shrink: 0;
}

.testimonial-name {
  font-family: var(--f-heading);
  font-weight: 700;
  font-size: var(--fs-sm);
  color: var(--c-white);
}

.testimonial-role {
  font-size: var(--fs-xs);
  color: var(--c-muted);
}

/* ── Blog ───────────────────────────────────── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

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

.blog-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  overflow: hidden;
  transition: all var(--t-base);
  display: flex;
  flex-direction: column;
}

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

.blog-card-img {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--c-surface-2);
  position: relative;
}

.blog-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.blog-card:hover .blog-card-img img { transform: scale(1.06); }

.blog-card-img-placeholder {
  width: 100%; height: 100%;
  background: radial-gradient(ellipse at 30% 50%, rgba(124,58,237,0.2) 0%, transparent 70%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(124, 58, 237, 0.3);
}

.blog-card-body {
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  flex: 1;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--fs-xs);
  color: var(--c-muted);
}

.blog-card-meta span { display: flex; align-items: center; gap: 4px; }

.blog-card h3 {
  font-size: var(--fs-lg);
  line-height: 1.3;
  transition: color var(--t-base);
}

.blog-card:hover h3 { color: var(--c-purple-light); }

.blog-card p {
  font-size: var(--fs-sm);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-footer {
  margin-top: auto;
  padding-top: var(--space-4);
  border-top: 1px solid var(--c-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.blog-card-read {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--c-purple-light);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--t-base);
}

.blog-card:hover .blog-card-read { gap: 10px; }

/* ── CTA Banner ─────────────────────────────── */
.cta-banner {
  position: relative;
  overflow: hidden;
  background: var(--g-hero);
  text-align: center;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 90% at 50% 50%, rgba(124,58,237,0.18) 0%, transparent 70%);
  pointer-events: none;
}

.cta-banner-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-6);
}

.cta-banner h2 { max-width: 18ch; }

.cta-banner p {
  max-width: 520px;
  font-size: var(--fs-lg);
}

.cta-banner-btns {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  justify-content: center;
}

/* ── Dual column hero visual ────────────────── */
.hero-mockup {
  position: relative;
  z-index: 1;
  border-radius: var(--r-xl);
  border: 1px solid var(--c-border);
  background: var(--c-surface);
  padding: var(--space-6);
  box-shadow: var(--shadow-lg), 0 0 80px rgba(124,58,237,0.12);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.mockup-bar {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--c-border);
}

.mockup-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
}

.mockup-dot:nth-child(1) { background: #FF5F57; }
.mockup-dot:nth-child(2) { background: #FFBD2E; }
.mockup-dot:nth-child(3) { background: #28C840; }

.mockup-row {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--r-md);
  background: rgba(124, 58, 237, 0.05);
  border: 1px solid rgba(124, 58, 237, 0.08);
}

.mockup-rank {
  font-family: var(--f-heading);
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--c-purple-light);
  width: 24px;
  text-align: center;
  flex-shrink: 0;
}

.mockup-keyword {
  font-size: var(--fs-xs);
  color: var(--c-muted);
  flex: 1;
}

.mockup-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--r-full);
  background: rgba(34, 197, 94, 0.15);
  color: #22C55E;
  flex-shrink: 0;
}

.mockup-badge.up   { background: rgba(34,197,94,0.12);  color: #22C55E; }
.mockup-badge.down { background: rgba(239,68,68,0.12);   color: #EF4444; }

/* ════════════════════════════════════════════
   INNER PAGES — shared service/sector components
════════════════════════════════════════════ */

/* ── Page hero CTAs ──────────────────────────── */
.page-hero-ctas {
  display: flex;
  justify-content: center;
  gap: var(--space-4);
  margin-top: var(--space-7);
  flex-wrap: wrap;
}

/* ── Benefit grid ─────────────────────────────── */
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

/* Center a lone trailing card instead of leaving it stranded on the left */
@media (min-width: 901px) {
  .benefit-grid > :last-child:nth-child(3n+1) {
    grid-column: 2;
  }
}

.benefit-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  transition: border-color var(--t-base), transform var(--t-base);
}

.benefit-card:hover {
  border-color: rgba(124,58,237,0.35);
  transform: translateY(-4px);
}

.benefit-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--r-lg);
  background: rgba(124,58,237,0.12);
  color: var(--c-purple-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.benefit-card h3 {
  font-size: var(--fs-lg);
  margin: 0;
}

.benefit-card p {
  font-size: var(--fs-sm);
  color: var(--c-muted);
  line-height: 1.65;
  margin: 0;
  flex: 1;
}

.benefit-card-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--c-purple-light);
  text-decoration: none;
  margin-top: auto;
  transition: gap var(--t-base);
}

.benefit-card-link svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.benefit-card:hover .benefit-card-link { gap: var(--space-3); }

/* ── Two column content split ─────────────────── */
.content-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-14);
  align-items: start;
}

.content-split p {
  color: var(--c-muted);
  line-height: 1.75;
  margin-bottom: var(--space-4);
}

.content-split-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: var(--space-8);
}

.content-split-card h3 {
  font-size: var(--fs-base);
  font-family: var(--f-heading);
  color: var(--c-white);
  margin: 0 0 var(--space-5);
}

.content-split ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.content-split ul li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  color: var(--c-off-white);
  font-size: var(--fs-sm);
  line-height: 1.5;
  padding-bottom: var(--space-4);
  margin-bottom: var(--space-4);
  border-bottom: 1px solid var(--c-border);
}

.content-split ul li:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: none;
}

/* ── Stacked content block + checklist card ──── */
.content-block {
  max-width: 760px;
  margin-bottom: var(--space-10);
}

.content-block.centered {
  text-align: center;
  margin-inline: auto;
}

.content-block p {
  color: var(--c-muted);
  line-height: 1.75;
  margin-bottom: var(--space-4);
}

.content-block p:last-child { margin-bottom: 0; }

.checklist-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: var(--space-8);
}

.checklist-card h3 {
  font-size: var(--fs-base);
  font-family: var(--f-heading);
  color: var(--c-white);
  margin: 0 0 var(--space-5);
}

.checklist-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4) var(--space-10);
  list-style: none;
  padding: 0;
  margin: 0;
}

.checklist-grid li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  color: var(--c-off-white);
  font-size: var(--fs-sm);
  line-height: 1.5;
}

.checklist-grid li svg {
  color: var(--c-purple);
  flex-shrink: 0;
  margin-top: 3px;
  width: 16px;
  height: 16px;
}

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

.content-split ul li svg {
  color: var(--c-purple);
  flex-shrink: 0;
  margin-top: 3px;
  width: 16px;
  height: 16px;
}

/* ── FAQ accordion (native details/summary) ──── */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  max-width: 760px;
  margin-inline: auto;
}

.faq-item {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--space-5) var(--space-6);
}

.faq-item summary {
  cursor: pointer;
  font-family: var(--f-heading);
  font-weight: 600;
  font-size: var(--fs-base);
  color: var(--c-white);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--c-purple-light);
  flex-shrink: 0;
  transition: transform var(--t-base);
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  margin: var(--space-4) 0 0;
  color: var(--c-muted);
  line-height: 1.7;
  font-size: var(--fs-sm);
}

/* ── Responsive ───────────────────────────────── */
@media (max-width: 900px) {
  .benefit-grid   { grid-template-columns: 1fr 1fr; }
  .content-split  { grid-template-columns: 1fr; gap: var(--space-8); }
}

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

/* ════════════════════════════════════════════
   GEO PILLAR — visual components
════════════════════════════════════════════ */

/* ── AI chat mockup (hero) ────────────────────── */
.geo-hero-visual {
  display: flex;
  justify-content: center;
  margin-top: var(--space-10);
}

.chat-mockup {
  width: 100%;
  max-width: 460px;
  background: rgba(var(--c-surface-rgb), 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(124, 58, 237, 0.4);
  border-radius: var(--r-xl);
  padding: var(--space-6);
  box-shadow: 0 30px 70px rgba(0,0,0,0.5), 0 0 60px rgba(124,58,237,0.12);
}

.chat-mockup-header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding-bottom: var(--space-4);
  margin-bottom: var(--space-4);
  border-bottom: 1px solid var(--c-border);
  font-size: var(--fs-xs);
  color: var(--c-muted);
}

.chat-mockup-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22C55E;
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.15);
}

.chat-mockup-body {
  display: flex;
  flex-direction: column;
}

.chat-mockup-question {
  align-self: flex-end;
  background: rgba(124, 58, 237, 0.14);
  color: var(--c-off-white);
  border-radius: var(--r-lg);
  padding: var(--space-3) var(--space-4);
  font-size: var(--fs-sm);
  margin-bottom: var(--space-4);
  max-width: 90%;
}

.chat-mockup-answer {
  font-size: var(--fs-sm);
  line-height: 1.65;
  color: var(--c-off-white);
  min-height: 4.6em;
}

.chat-mockup-answer strong { color: var(--c-purple-light); }

.chat-mockup-sources {
  display: flex;
  gap: var(--space-2);
  margin-top: var(--space-4);
  flex-wrap: wrap;
}

.chat-source-tag {
  font-size: var(--fs-xs);
  padding: 0.3rem 0.7rem;
  border-radius: var(--r-full);
  background: rgba(6, 182, 212, 0.1);
  color: var(--c-cyan);
  border: 1px solid rgba(6, 182, 212, 0.25);
}

.chat-mockup-caption {
  text-align: center;
  font-size: var(--fs-xs);
  color: var(--c-muted);
  margin-top: var(--space-3);
  font-style: italic;
}

/* ── Comparison: classic search vs AI answer ──── */
.geo-compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  align-items: stretch;
}

.geo-compare-col {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.geo-compare-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--c-muted);
}

.geo-compare-label.is-ai { color: var(--c-purple-light); }

/* SERP mockup */
.serp-mockup {
  background: #fff;
  border-radius: var(--r-xl);
  padding: var(--space-6);
  box-shadow: var(--shadow-lg);
  flex: 1;
}

.serp-mockup-bar {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.6rem 1rem;
  border: 1px solid #dfe1e5;
  border-radius: var(--r-full);
  margin-bottom: var(--space-5);
  font-size: var(--fs-sm);
  color: #5f6368;
}

.serp-mockup-bar svg { color: #5f6368; flex-shrink: 0; }

.serp-result { margin-bottom: var(--space-5); }
.serp-result:last-child { margin-bottom: 0; }

.serp-result-url   { display: block; font-size: var(--fs-xs); color: #006621; margin-bottom: 2px; }
.serp-result-title { display: block; font-size: var(--fs-base); color: #1a0dab; font-family: var(--f-heading); margin-bottom: 4px; }
.serp-result-desc  { display: block; font-size: var(--fs-sm); color: #4d5156; line-height: 1.5; }

/* AI answer mockup */
.ai-answer-mockup {
  background: var(--c-surface);
  border: 1px solid rgba(124, 58, 237, 0.3);
  border-radius: var(--r-xl);
  padding: var(--space-6);
  box-shadow: 0 20px 50px rgba(124, 58, 237, 0.12);
  flex: 1;
}

.ai-answer-mockup-header {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--c-purple-light);
  margin-bottom: var(--space-4);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.ai-answer-mockup p {
  font-size: var(--fs-sm);
  line-height: 1.65;
  color: var(--c-off-white);
  margin-bottom: var(--space-5);
}

.ai-answer-sources {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.ai-source-chip {
  font-size: var(--fs-xs);
  padding: 0.3rem 0.7rem;
  border-radius: var(--r-full);
  background: rgba(var(--c-border-rgb), 0.05);
  border: 1px solid var(--c-border);
  color: var(--c-muted);
}

/* ── Stat band + donut chart ──────────────────── */
.geo-stats-band {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-14);
  align-items: center;
}

.geo-donut-wrap {
  position: relative;
  width: 220px;
  height: 220px;
  flex-shrink: 0;
  margin-inline: auto;
}

.geo-donut-wrap svg { width: 100%; height: 100%; }

.geo-donut-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-6);
}

.geo-donut-center strong {
  font-family: var(--f-heading);
  font-size: var(--fs-2xl);
  color: var(--c-white);
  line-height: 1;
}

.geo-donut-center span {
  font-size: var(--fs-xs);
  color: var(--c-muted);
  margin-top: var(--space-2);
  line-height: 1.4;
}

.geo-stats-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.geo-stat-row {
  display: flex;
  align-items: baseline;
  gap: var(--space-4);
}

.geo-stat-row .stat-num {
  font-family: var(--f-heading);
  font-size: var(--fs-3xl);
  font-weight: 700;
  color: var(--c-purple-light);
  flex-shrink: 0;
  min-width: 110px;
}

.geo-stat-row p {
  font-size: var(--fs-sm);
  color: var(--c-muted);
  margin: 0;
  line-height: 1.5;
}

/* ── Animated timeline ─────────────────────────── */
.geo-timeline {
  position: relative;
  padding-top: var(--space-4);
}

.geo-timeline-line {
  position: absolute;
  top: 32px;
  left: 0;
  width: 100%;
  height: 4px;
  overflow: visible;
}

.geo-timeline-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-8);
  position: relative;
}

.geo-timeline-step {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.geo-timeline-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--c-surface);
  border: 2px solid var(--c-purple);
  color: var(--c-purple-light);
  font-family: var(--f-heading);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-base);
  position: relative;
  z-index: 1;
}

.geo-timeline-step h4 {
  font-size: var(--fs-base);
  margin: 0;
}

.geo-timeline-step p {
  font-size: var(--fs-sm);
  color: var(--c-muted);
  margin: 0;
  line-height: 1.6;
}

/* ── Responsive: GEO components ───────────────── */
@media (max-width: 900px) {
  .geo-compare-grid { grid-template-columns: 1fr; }
  .geo-stats-band   { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .geo-stat-row     { flex-direction: column; align-items: center; gap: var(--space-2); text-align: center; }
  .geo-timeline-line   { display: none; }
  .geo-timeline-steps  { grid-template-columns: 1fr; gap: var(--space-6); }
}

@media (max-width: 480px) {
  .chat-mockup { padding: var(--space-5); }
}

/* ════════════════════════════════════════════
   RELATIONS PRESSE DIGITALES — visual components
════════════════════════════════════════════ */

/* ── Press stack (hero) ───────────────────────── */
.press-stack {
  position: relative;
  width: 100%;
  max-width: 360px;
  height: 280px;
  margin-inline: auto;
  margin-top: var(--space-10);
}

.press-card {
  position: absolute;
  top: 0;
  left: 50%;
  width: 280px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--space-5);
  box-shadow: 0 20px 50px rgba(0,0,0,0.45);
  transition: transform var(--t-base);
}

.press-card-1 { transform: translateX(-50%) rotate(-9deg) translateY(10px); z-index: 1; }
.press-card-2 { transform: translateX(-50%) rotate(0deg)   translateY(0);    z-index: 2; }
.press-card-3 { transform: translateX(-50%) rotate(9deg)  translateY(10px); z-index: 1; }

.press-stack:hover .press-card-1 { transform: translateX(-65%) rotate(-12deg) translateY(6px); }
.press-stack:hover .press-card-3 { transform: translateX(-35%) rotate(12deg)  translateY(6px); }

.press-card-source {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--c-purple-light);
  margin-bottom: var(--space-3);
}

.press-card h4 {
  font-size: var(--fs-base);
  line-height: 1.4;
  margin: 0 0 var(--space-3);
}

.press-card-date {
  display: block;
  font-size: var(--fs-xs);
  color: var(--c-muted);
}

.press-stack-caption {
  text-align: center;
  font-size: var(--fs-xs);
  color: var(--c-muted);
  margin-top: var(--space-10);
  font-style: italic;
}

/* ── Media categories marquee (reuses trust-strip) ── */
.media-strip {
  background: var(--c-surface);
}

/* ── Before / after bar comparison ────────────── */
.bar-compare {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: var(--space-12);
  height: 220px;
  padding-top: var(--space-6);
}

.bar-compare-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
}

.bar-compare-bar {
  width: 64px;
  border-radius: var(--r-md) var(--r-md) 0 0;
  background: linear-gradient(180deg, var(--c-purple-light) 0%, var(--c-purple) 100%);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
}

.bar-compare-col.is-before .bar-compare-bar {
  background: var(--c-border);
  height: 70px;
}

.bar-compare-col.is-after .bar-compare-bar { height: 190px; }

.bar-compare.is-visible .bar-compare-bar { transform: scaleY(1); }

.bar-compare-label {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--c-off-white);
}

.bar-compare-sub {
  font-size: var(--fs-xs);
  color: var(--c-muted);
}

/* ── Zigzag process ────────────────────────────── */
.pr-process {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-12);
}

.pr-process::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: linear-gradient(180deg, transparent, var(--c-border) 10%, var(--c-border) 90%, transparent);
  transform: translateX(-50%);
}

.pr-process-step {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: var(--space-10);
}

.pr-process-content {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: var(--space-6);
}

.pr-process-content h4 {
  font-size: var(--fs-lg);
  margin: 0 0 var(--space-3);
}

.pr-process-content p {
  font-size: var(--fs-sm);
  color: var(--c-muted);
  line-height: 1.65;
  margin: 0;
}

.pr-process-num {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--c-bg);
  border: 2px solid var(--c-purple);
  color: var(--c-purple-light);
  font-family: var(--f-heading);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.pr-process-step.is-right .pr-process-content { grid-column: 2; }
.pr-process-step.is-right .pr-process-spacer  { grid-column: 1; }
.pr-process-step.is-left  .pr-process-content { grid-column: 1; }
.pr-process-step.is-left  .pr-process-spacer  { grid-column: 2; }

/* ── Responsive: RP components ────────────────── */
@media (max-width: 900px) {
  .pr-process::before { left: 26px; }
  .pr-process-step,
  .pr-process-step.is-right,
  .pr-process-step.is-left {
    grid-template-columns: 1fr;
    padding-left: var(--space-14);
  }
  .pr-process-step .pr-process-content { grid-column: 1; }
  .pr-process-step .pr-process-spacer  { display: none; }
  .pr-process-num {
    top: 26px;
    left: 26px;
    transform: translate(-50%, -50%);
  }
  .bar-compare { gap: var(--space-8); }
}

@media (max-width: 480px) {
  .press-stack { max-width: 280px; height: 240px; }
  .press-card  { width: 220px; padding: var(--space-4); }
}

/* ════════════════════════════════════════════
   CONTENU — visual components
════════════════════════════════════════════ */

/* ── Hero split (text + image) ────────────────── */
.content-hero-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-12);
  align-items: center;
  margin-top: var(--space-10);
}

.content-hero-image {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--c-border);
  box-shadow: 0 30px 70px rgba(0,0,0,0.45);
  aspect-ratio: 4 / 3;
}

.content-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(0.15) contrast(1.05);
}

.content-hero-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(124,58,237,0) 40%, rgba(10,8,20,0.55) 100%);
}

/* ── Pie / donut chart ─────────────────────────── */
.pie-chart-section {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-12);
  align-items: center;
  max-width: 640px;
  margin-inline: auto;
}

.pie-chart-svg { width: 220px; height: 220px; flex-shrink: 0; }

.pie-legend {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.pie-legend-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--fs-sm);
}

.pie-legend-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}

.pie-legend-pct {
  margin-left: auto;
  font-weight: 700;
  color: var(--c-off-white);
}

/* ── Line chart ─────────────────────────────────── */
.line-chart-wrap {
  max-width: 760px;
  margin-inline: auto;
}

.line-chart-svg { width: 100%; height: auto; }

.line-chart-axis {
  display: flex;
  justify-content: space-between;
  font-size: var(--fs-xs);
  color: var(--c-muted);
  margin-top: var(--space-3);
  padding-inline: var(--space-4);
}

.line-chart-caption {
  text-align: center;
  font-size: var(--fs-xs);
  color: var(--c-muted);
  margin-top: var(--space-6);
  font-style: italic;
}

/* ── Content production steps (image cards) ──────── */
.content-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}

.content-step-card {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  border: 1px solid var(--c-border);
}

.content-step-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.3) brightness(0.65);
  transition: transform var(--t-slow), filter var(--t-slow);
}

.content-step-card:hover img {
  transform: scale(1.06);
  filter: grayscale(0.1) brightness(0.75);
}

.content-step-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-5);
  background: linear-gradient(180deg, transparent 30%, rgba(10,8,20,0.9) 100%);
}

.content-step-num {
  font-family: var(--f-heading);
  font-weight: 700;
  font-size: var(--fs-sm);
  color: var(--c-purple-light);
  margin-bottom: var(--space-2);
}

.content-step-overlay h4 {
  font-size: var(--fs-base);
  margin: 0 0 var(--space-2);
  color: var(--c-off-white);
}

.content-step-overlay p {
  font-size: var(--fs-xs);
  color: var(--c-muted);
  margin: 0;
  line-height: 1.5;
}

/* ── Content type cards (image-top sub-services) ── */
.content-type-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}

.content-type-card {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--c-border);
  background: var(--c-surface);
  transition: transform var(--t-base), border-color var(--t-base);
}

.content-type-card:hover {
  transform: translateY(-4px);
  border-color: var(--c-purple);
}

.content-type-card-img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.content-type-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.2);
}

.content-type-card-body { padding: var(--space-5); }

.content-type-card-body h3 {
  font-size: var(--fs-lg);
  margin: 0 0 var(--space-2);
}

.content-type-card-body p {
  font-size: var(--fs-sm);
  color: var(--c-muted);
  line-height: 1.6;
  margin: 0 0 var(--space-4);
}

/* ── Responsive: Contenu components ───────────────── */
@media (max-width: 900px) {
  .content-hero-split { grid-template-columns: 1fr; }
  .pie-chart-section   { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .content-steps       { grid-template-columns: repeat(2, 1fr); }
  .content-type-grid   { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 540px) {
  .content-steps     { grid-template-columns: 1fr; }
  .content-type-grid { grid-template-columns: 1fr; }
  .pie-chart-svg      { width: 180px; height: 180px; }
}

/* ════════════════════════════════════════════
   WEB — visual components
════════════════════════════════════════════ */

/* ── Speed gauge ───────────────────────────────── */
.speed-gauge-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-5);
}

.speed-gauge { width: 260px; height: 152px; }

.speed-gauge-needle,
.speed-gauge-pivot {
  stroke: var(--c-off-white);
  fill: var(--c-off-white);
}

.speed-gauge-needle {
  transform: rotate(-90deg);
  transform-origin: 110px 110px;
  transition: transform 1.4s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s;
}

.speed-gauge-wrap.is-visible .speed-gauge-needle { transform: rotate(58deg); }

.speed-gauge-labels {
  display: flex;
  justify-content: space-between;
  width: 260px;
  font-size: var(--fs-xs);
  color: var(--c-muted);
  margin-top: calc(-1 * var(--space-8));
}

/* ── Core Web Vitals cards ─────────────────────── */
.vitals-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.vitals-card {
  padding: var(--space-6);
  border-radius: var(--r-lg);
  border: 1px solid var(--c-border);
  background: var(--c-surface);
  text-align: center;
}

.vitals-card-metric {
  font-family: var(--f-heading);
  font-size: var(--fs-2xl);
  font-weight: 700;
  color: var(--c-off-white);
  margin-bottom: var(--space-2);
}

.vitals-card h4 {
  font-size: var(--fs-base);
  margin: 0 0 var(--space-2);
}

.vitals-card p {
  font-size: var(--fs-sm);
  color: var(--c-muted);
  line-height: 1.6;
  margin: 0 0 var(--space-4);
}

.vitals-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--r-full);
  font-size: var(--fs-xs);
  font-weight: 600;
}

.vitals-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}

.vitals-badge.is-good   { color: #34D399; background: rgba(52,211,153,0.12); }
.vitals-badge.is-watch  { color: #FBBF24; background: rgba(251,191,36,0.12); }

/* ── CRO funnel ─────────────────────────────────── */
.cro-funnel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  max-width: 480px;
  margin-inline: auto;
}

.cro-funnel-stage {
  width: 100%;
  padding: var(--space-4) var(--space-6);
  text-align: center;
  border-radius: var(--r-md);
  color: var(--c-on-accent);
  font-size: var(--fs-sm);
  font-weight: 600;
}

.cro-funnel-stage span {
  display: block;
  font-size: var(--fs-xs);
  font-weight: 400;
  color: rgba(255,255,255,0.75);
  margin-top: var(--space-1);
}

.cro-funnel-stage:nth-child(1) { width: 100%; background: linear-gradient(90deg, #7C3AED, #A78BFA); }
.cro-funnel-stage:nth-child(2) { width: 80%;  background: linear-gradient(90deg, #6D28D9, #8B5CF6); }
.cro-funnel-stage:nth-child(3) { width: 60%;  background: linear-gradient(90deg, #5B21B6, #7C3AED); }
.cro-funnel-stage:nth-child(4) { width: 42%;  background: linear-gradient(90deg, #06B6D4, #22D3EE); }

.cro-funnel-caption {
  text-align: center;
  font-size: var(--fs-xs);
  color: var(--c-muted);
  margin-top: var(--space-6);
  font-style: italic;
}

/* ── Responsive: Web components ───────────────────── */
@media (max-width: 900px) {
  .vitals-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .speed-gauge, .speed-gauge-labels { width: 220px; }
  .cro-funnel-stage { padding: var(--space-3) var(--space-4); }
}

/* ════════════════════════════════════════════
   SECTEURS D'ACTIVITÉ — visual components
════════════════════════════════════════════ */

.sector-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.sector-card {
  position: relative;
  padding: var(--space-7);
  border-radius: var(--r-lg);
  border: 1px solid var(--c-border);
  background: var(--c-surface);
  overflow: hidden;
  transition: transform var(--t-base), border-color var(--t-base);
}

.sector-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--sector-color, var(--c-purple));
}

.sector-card:hover {
  transform: translateY(-4px);
  border-color: var(--sector-color, var(--c-purple));
}

.sector-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--r-md);
  background: color-mix(in srgb, var(--sector-color, var(--c-purple)) 16%, transparent);
  color: var(--sector-color, var(--c-purple));
  margin-bottom: var(--space-4);
}

.sector-card h3 {
  font-size: var(--fs-lg);
  margin: 0 0 var(--space-2);
}

.sector-card p {
  font-size: var(--fs-sm);
  color: var(--c-muted);
  line-height: 1.6;
  margin: 0 0 var(--space-4);
}

/* ── Relevance matrix ─────────────────────────── */
.matrix-wrap { overflow-x: auto; }

.matrix-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}

.matrix-table th,
.matrix-table td {
  padding: var(--space-4);
  text-align: center;
  border-bottom: 1px solid var(--c-border);
  font-size: var(--fs-sm);
}

.matrix-table th {
  color: var(--c-off-white);
  font-weight: 600;
}

.matrix-table td:first-child,
.matrix-table th:first-child {
  text-align: left;
  color: var(--c-off-white);
  font-weight: 600;
}

.matrix-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--c-border);
}

.matrix-dot.is-strong { background: #7C3AED; box-shadow: 0 0 0 4px rgba(124,58,237,0.18); }
.matrix-dot.is-relevant { background: #06B6D4; }

.matrix-legend {
  display: flex;
  justify-content: center;
  gap: var(--space-8);
  margin-top: var(--space-6);
  font-size: var(--fs-xs);
  color: var(--c-muted);
}

.matrix-legend-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

/* ── Responsive: Secteurs components ──────────────── */
@media (max-width: 900px) {
  .sector-grid { grid-template-columns: repeat(2, 1fr); }
}

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

/* ── Blog pagination ───────────────────────────── */
.pagination {
  display: flex;
  justify-content: center;
  margin-top: var(--space-12);
}

.pagination ul.page-numbers {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  list-style: none;
  margin: 0;
  padding: 0;
}

.pagination .page-numbers li { display: flex; }

.pagination a.page-numbers,
.pagination span.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 var(--space-3);
  border-radius: var(--r-md);
  border: 1px solid var(--c-border);
  color: var(--c-muted);
  font-size: var(--fs-sm);
  font-weight: 600;
  transition: border-color var(--t-base), color var(--t-base), background var(--t-base);
}

.pagination a.page-numbers:hover {
  border-color: var(--c-purple-light);
  color: var(--c-purple-light);
}

.pagination span.page-numbers.current {
  background: var(--g-button);
  border-color: transparent;
  color: var(--c-on-accent);
}

.pagination .pagination-prev-icon { transform: rotate(180deg); }
