/* ═══════════════════════════════════════════
   YCM Agency — Site Premium
   Design: Noir profond · Blanc · Bleu accent
   Font: Satoshi (Fontshare) / Space Grotesk (fallback)
═══════════════════════════════════════════ */

/* ── Design Tokens ─────────────────────── */
:root {
  --bg:          #0A0A0A;
  --bg-surface:  #0D0D0D;
  --bg-card:     #111111;
  --bg-card-2:   #161616;
  --white:       #FFFFFF;
  --muted:       #9CA3AF;
  --subtle:      #6B7280;
  --faint:       #374151;

  --blue:        #3B82F6;
  --blue-dark:   #1D4ED8;
  --blue-bg:     rgba(59, 130, 246, 0.08);
  --blue-border: rgba(59, 130, 246, 0.25);

  /* CTA — bleu foncé matching logo */
  --cta:         #2563EB;
  --cta-hover:   #1E40AF;

  --border:      rgba(255, 255, 255, 0.07);
  --border-h:    rgba(255, 255, 255, 0.14);

  --font:        'Satoshi', 'Space Grotesk', system-ui, -apple-system, sans-serif;
  --radius-sm:   10px;
  --radius-md:   16px;
  --radius-lg:   24px;
  --radius-xl:   32px;
  --radius-pill: 9999px;

  --easing:      cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast:    0.25s;
  --dur-med:     0.5s;
  --dur-slow:    0.9s;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

::selection {
  background: #2563EB;
  color: #fff;
}

/* Custom scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #1E1E1E; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--blue); }

/* ── Layout Utilities ──────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 120px 0;
  position: relative;
}

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

/* ── Buttons ───────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.9375rem;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: all var(--dur-fast) var(--easing);
  border: none;
  text-decoration: none;
  white-space: nowrap;
}

.btn-cta {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 45%, #0f172a 100%);
  color: var(--white);
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  box-shadow: 0 0 40px rgba(37, 99, 235, 0.25);
  animation: btnPulse 2.6s ease-in-out infinite;
}

@keyframes btnPulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.55), 0 0 40px rgba(37, 99, 235, 0.25);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(59, 130, 246, 0), 0 0 40px rgba(37, 99, 235, 0.25);
  }
}

.btn-cta:hover {
  background: linear-gradient(135deg, #60a5fa 0%, #2563eb 45%, #1e1b4b 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 40px rgba(37, 99, 235, 0.5);
  animation: none;
}

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

.btn-cta--large {
  padding: 18px 40px;
  font-size: 1.0625rem;
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-h);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.btn-ghost svg {
  transition: transform var(--dur-fast) var(--easing);
}

.btn-ghost:hover svg {
  transform: translateX(4px);
}

.btn-nav-cta {
  background: var(--white);
  color: #000;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
}

.btn-nav-cta:hover {
  background: var(--blue);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--cta);
  color: var(--white);
  padding: 14px 28px;
  border-radius: var(--radius-pill);
}

.btn-primary:hover {
  background: var(--cta-hover);
  transform: translateY(-2px);
}

/* ── Section Tokens ────────────────────── */
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 72px;
}

.section-title {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 20px;
}

.section-desc {
  color: var(--muted);
  font-size: 1.0625rem;
  line-height: 1.7;
  font-weight: 400;
}

.section-label {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 16px;
}

.display-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.08;
  color: var(--white);
}

/* ── Scroll Appear Animations ──────────── */
[data-appear] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity var(--dur-slow) var(--easing),
    transform var(--dur-slow) var(--easing);
}

[data-appear].is-visible {
  opacity: 1;
  transform: translateY(0);
}

[data-delay="0"]    { transition-delay: 0ms; }
[data-delay="0.1"]  { transition-delay: 100ms; }
[data-delay="0.2"]  { transition-delay: 200ms; }
[data-delay="0.3"]  { transition-delay: 300ms; }

/* ── NAVBAR ─────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background var(--dur-med) ease, backdrop-filter var(--dur-med) ease, border-color var(--dur-med) ease, padding var(--dur-med) ease;
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  background: rgba(10, 10, 10, 0.88);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-color: var(--border);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  overflow: visible;
}

.nav-logo-img {
  height: 200px;
  width: auto;
  object-fit: contain;
}

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

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  position: relative;
  transition: color var(--dur-fast) ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--blue);
  transition: width var(--dur-fast) var(--easing);
}

.nav-link:hover {
  color: var(--white);
}

.nav-link:hover::after {
  width: 100%;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle__bar {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--white);
  transition: all var(--dur-fast) var(--easing);
  transform-origin: center;
}

.nav-toggle.active .nav-toggle__bar:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav-toggle.active .nav-toggle__bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-toggle.active .nav-toggle__bar:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Mobile menu */
.nav-mobile {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: rgba(10, 10, 10, 0.97);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  max-height: 0;
  transition: max-height var(--dur-med) var(--easing), padding var(--dur-med) ease;
  padding: 0 24px;
}

.nav-mobile.open {
  max-height: 400px;
  padding: 16px 24px 24px;
}

.nav-mobile-link {
  padding: 14px 0;
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
  transition: color var(--dur-fast) ease;
}

.nav-mobile-link:hover {
  color: var(--blue);
}

.nav-mobile-cta {
  margin-top: 16px;
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 45%, #0f172a 100%);
  color: var(--white);
  padding: 16px;
  border-radius: var(--radius-lg);
  text-align: center;
  font-weight: 700;
  font-size: 1rem;
  transition: background var(--dur-fast) ease;
}

.nav-mobile-cta:hover {
  background: linear-gradient(135deg, #60a5fa 0%, #2563eb 45%, #1e1b4b 100%);
}

/* ── HERO ────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 120px 24px 80px;
}

/* Glow backgrounds */
.hero-glow {
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
}

.hero-glow--amber {
  width: 700px;
  height: 700px;
  left: -120px;
  top: 50%;
  transform: translateY(-60%);
  background: radial-gradient(circle, rgba(194, 108, 30, 0.14) 0%, rgba(194, 108, 30, 0.04) 50%, transparent 70%);
  animation: glowPulse 6s ease-in-out infinite;
}

.hero-glow--blue {
  width: 500px;
  height: 500px;
  right: -80px;
  bottom: 10%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.07) 0%, transparent 70%);
  animation: glowPulse 8s ease-in-out infinite reverse;
}

@keyframes glowPulse {
  0%, 100% { opacity: 1; transform: translateY(-60%) scale(1); }
  50% { opacity: 0.7; transform: translateY(-60%) scale(1.05); }
}

/* Hero content */
.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 1000px;
}

/* Hero entrance animations */
.hero-animate {
  opacity: 0;
  transform: translateY(-40px);
  animation: heroEntrance var(--dur-slow) var(--easing) forwards;
  animation-delay: var(--delay, 0s);
}

@keyframes heroEntrance {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Badge pill */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 32px;
  letter-spacing: 0.01em;
}

.hero-badge__dot {
  width: 7px;
  height: 7px;
  background: #22C55E;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.6);
  animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
  0%, 100% { box-shadow: 0 0 8px rgba(34, 197, 94, 0.6); }
  50% { box-shadow: 0 0 16px rgba(34, 197, 94, 0.9); }
}

/* Hero title */
.hero-title {
  font-size: clamp(3.25rem, 10vw, 7.5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.0;
  color: var(--white);
  margin-bottom: 28px;
  will-change: transform;
  text-shadow: 0 0 18px rgba(255, 255, 255, 0.12);
  animation:
    heroEntrance 0.9s cubic-bezier(0.16, 1, 0.3, 1) both 0.1s,
    heroFloat 6s ease-in-out 1.2s infinite;
}

@keyframes heroFloat {
  0%   { transform: translate3d(0, 0px, 0); }
  50%  { transform: translate3d(0, -10px, 0); }
  100% { transform: translate3d(0, 0px, 0); }
}

/* Hero subtitle */
.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.1875rem);
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.65;
  font-weight: 400;
}

/* CTAs */
.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Scroll indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.hero-scroll-line {
  width: 1px;
  height: 52px;
  background: linear-gradient(to bottom, var(--blue), transparent);
  margin: 0 auto;
  animation: scrollBob 2.5s ease-in-out infinite;
}

@keyframes scrollBob {
  0%, 100% { opacity: 0.5; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.1); }
}

/* ── EXPERTISES ─────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  transition:
    transform var(--dur-med) var(--easing),
    border-color var(--dur-med) var(--easing),
    box-shadow var(--dur-med) ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 120px;
  height: 120px;
  background: var(--blue-bg);
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0;
  transition: opacity var(--dur-med) ease;
}

.service-card:hover {
  transform: translateY(-10px);
  border-color: rgba(59, 130, 246, 0.35);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(59, 130, 246, 0.05);
}

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

.service-card__icon {
  width: 52px;
  height: 52px;
  background: var(--blue-bg);
  border: 1px solid var(--blue-border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--blue);
  transition: background var(--dur-fast) ease, transform var(--dur-fast) var(--easing);
}

.service-card:hover .service-card__icon {
  background: var(--blue);
  color: var(--white);
  transform: rotate(6deg);
}

/* Illustration inside card */
.service-card__illus {
  background: transparent;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 24px;
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-card__illus img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
}

.service-card__title {
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 12px;
  color: var(--white);
}

.service-card__desc {
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.65;
  font-weight: 400;
}

.service-card--cta {
  position: relative;
  cursor: pointer;
}

.service-card--cta .service-card__link::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: var(--radius-xl);
}

.service-card--cta .service-card__link {
  position: relative;
  z-index: 2;
}

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 24px;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--blue);
  transition: gap var(--dur-fast) ease, color var(--dur-fast) ease;
}

.service-card__link:hover {
  gap: 10px;
  color: var(--white);
}

/* ── PERFORMANCE ────────────────────────── */
.performance-layout {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 760px;
  margin: 0 auto;
}

.performance-desc {
  color: var(--muted);
  font-size: 1.0625rem;
  line-height: 1.7;
  margin-top: 24px;
  margin-bottom: 48px;
}

.performance-points {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-bottom: 48px;
}

.performance-point {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.performance-point__num {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--blue);
  background: var(--blue-bg);
  border: 1px solid var(--blue-border);
  border-radius: var(--radius-sm);
  padding: 4px 8px;
  flex-shrink: 0;
  margin-top: 3px;
}

.performance-point__body h4 {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
  color: var(--white);
  transition: color var(--dur-fast) ease;
}

.performance-point:hover .performance-point__body h4 {
  color: var(--blue);
}

.performance-point__body p {
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* Stats */
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.stat__num {
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
}

.stat__label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
}

/* Chart card */
.performance-visual {
  position: relative;
}

.chart-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px;
  transition: border-color var(--dur-med) ease;
}

.chart-card:hover {
  border-color: var(--blue-border);
}

.chart-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.chart-card__label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.03em;
}

.chart-card__badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

.chart-card__badge--up {
  background: rgba(34, 197, 94, 0.1);
  color: #22C55E;
  border: 1px solid rgba(34, 197, 94, 0.25);
}

.chart-svg-wrapper {
  width: 100%;
}

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

.chart-line {
  stroke-dasharray: 800;
  stroke-dashoffset: 800;
  animation: drawLine 2s var(--easing) forwards 0.5s;
}

@keyframes drawLine {
  to { stroke-dashoffset: 0; }
}

.chart-card__footer {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
}

.chart-month {
  font-size: 0.6875rem;
  color: var(--faint);
  font-weight: 500;
}

/* ── SOLUTION SECTION ───────────────────── */
.solution-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px;
}

.solution-title {
  margin: 16px 0 20px;
}

/* ── MARQUEE ─────────────────────────────── */
.marquee-wrapper {
  margin-bottom: 72px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.marquee {
  overflow: hidden;
  position: relative;
}

.marquee::before,
.marquee::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}

.marquee::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-surface), transparent);
}

.marquee::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-surface), transparent);
}

.marquee-track {
  display: flex;
  gap: 12px;
  width: max-content;
  animation: marqueeScroll 30s linear infinite;
}

.marquee--reverse .marquee-track {
  animation: marqueeScrollReverse 25s linear infinite;
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes marqueeScrollReverse {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
  transition: border-color var(--dur-fast) ease, color var(--dur-fast) ease;
  cursor: default;
}

.marquee-tag:hover {
  border-color: var(--blue-border);
  color: var(--white);
}

.marquee-tag--outline {
  background: transparent;
  border-color: rgba(255,255,255,0.06);
  font-size: 0.8125rem;
}

/* ── ABOUT CARD ─────────────────────────── */
.about-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 48px;
  align-items: center;
  transition: border-color var(--dur-med) ease;
}

.about-card:hover {
  border-color: var(--border-h);
}

.about-card__label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--subtle);
  margin-bottom: 16px;
  font-style: italic;
}

.about-card__text {
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 32px;
}

.about-card__visual {
  background: transparent;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-card__visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ── PROCESS ─────────────────────────────── */
.process-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.process-title {
  margin: 16px 0 48px;
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.process-step {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  cursor: default;
}

.process-step__num {
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: rgba(255, 255, 255, 0.12);
  line-height: 1;
  flex-shrink: 0;
  transition: color var(--dur-med) ease;
}

.process-step:hover .process-step__num {
  color: rgba(255, 255, 255, 0.35);
}

.process-step__body h4 {
  font-size: 1.1875rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 8px;
  color: var(--white);
  transition: color var(--dur-fast) ease;
}

.process-step:hover .process-step__body h4 {
  color: var(--blue);
}

.process-step__body p {
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.65;
  max-width: 420px;
}

/* Process visual — rings */
.process-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.process-rings {
  position: relative;
  width: 320px;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.process-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid;
  display: flex;
  align-items: center;
  justify-content: center;
}

.process-ring--1 {
  width: 100%;
  height: 100%;
  border-color: rgba(59, 130, 246, 0.08);
  animation: ringRotate 20s linear infinite;
}

.process-ring--2 {
  width: 72%;
  height: 72%;
  border-color: rgba(59, 130, 246, 0.14);
  animation: ringRotate 14s linear infinite reverse;
}

.process-ring--3 {
  width: 44%;
  height: 44%;
  border-color: rgba(59, 130, 246, 0.3);
  background: rgba(59, 130, 246, 0.05);
  animation: ringPulse 3s ease-in-out infinite;
}

.process-ring__center {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.process-ring__glow {
  position: absolute;
  width: 44%;
  height: 44%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.15), transparent 70%);
  filter: blur(20px);
  animation: ringPulse 3s ease-in-out infinite;
}

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

@keyframes ringPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 20px rgba(59,130,246,0.15); }
  50% { transform: scale(1.06); box-shadow: 0 0 40px rgba(59,130,246,0.3); }
}

/* ── TESTIMONIALS ───────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--bg-card-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  transition:
    transform var(--dur-med) var(--easing),
    border-color var(--dur-med) ease,
    box-shadow var(--dur-med) ease;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-h);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.testimonial-stars {
  font-size: 1rem;
  color: var(--blue);
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.testimonial-text {
  color: #D1D5DB;
  font-size: 0.9375rem;
  line-height: 1.7;
  font-style: italic;
  flex-grow: 1;
  margin-bottom: 28px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid var(--border);
  padding-top: 24px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  flex-shrink: 0;
}

.testimonial-avatar--1 {
  background: linear-gradient(135deg, #1D4ED8, #3B82F6);
}

.testimonial-avatar--2 {
  background: linear-gradient(135deg, #4F46E5, #7C3AED);
}

.testimonial-avatar--3 {
  background: linear-gradient(135deg, #0F766E, #0D9488);
}

.testimonial-name {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
}

.testimonial-company {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-top: 3px;
}

/* ── CTA BANNER ─────────────────────────── */
.cta-banner {
  position: relative;
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.cta-banner__bg {
  position: absolute;
  inset: 0;
  background: var(--bg);
  z-index: 0;
}

.cta-banner__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  padding: 80px 24px;
}

.cta-banner__eyebrow {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: rgba(255, 255, 255, 0.85);
  animation: textFloat 4s ease-in-out infinite;
}

@keyframes textFloat {
  0%   { transform: translateY(0px); }
  50%  { transform: translateY(-8px); }
  100% { transform: translateY(0px); }
}

/* ── FOOTER ─────────────────────────────── */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 80px 0 40px;
}

.footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 64px;
  margin-bottom: 64px;
}

.footer-logo {
  height: 200px;
  width: auto;
  object-fit: contain;
  margin-bottom: 20px;
}

.footer-tagline {
  color: var(--subtle);
  font-size: 0.9375rem;
  line-height: 1.65;
  max-width: 320px;
}

.footer-nav h4,
.footer-contact h4 {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 24px;
}

.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-nav a {
  font-size: 0.9375rem;
  color: var(--subtle);
  transition: color var(--dur-fast) ease;
}

.footer-nav a:hover {
  color: var(--blue);
}

.footer-email {
  display: block;
  font-size: 0.9375rem;
  color: var(--subtle);
  margin-bottom: 20px;
  transition: color var(--dur-fast) ease;
}

.footer-email:hover {
  color: var(--white);
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--subtle);
  transition: all var(--dur-fast) var(--easing);
}

.social-link:hover {
  border-color: var(--blue-border);
  color: var(--blue);
  transform: translateY(-2px);
  background: var(--blue-bg);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  font-size: 0.75rem;
  color: var(--faint);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  font-size: 0.75rem;
  color: var(--faint);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color var(--dur-fast) ease;
}

.footer-legal a:hover {
  color: var(--white);
}

/* ── RESPONSIVE ──────────────────────────── */

/* Tablet: 810–1199px */
@media (max-width: 1100px) {
  .services-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .service-card:last-child {
    grid-column: 1 / -1;
    max-width: 560px;
    margin: 0 auto;
  }

  .performance-layout {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .performance-visual {
    max-width: 520px;
    margin: 0 auto;
    width: 100%;
  }

  .about-card {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .about-card__visual {
    max-width: 360px;
  }

  .process-layout {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .process-visual {
    display: none;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

/* Mobile: ≤ 809px */
@media (max-width: 809px) {
  .section {
    padding: 80px 0;
  }

  /* Nav */
  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  /* Hero */
  .hero-title {
    font-size: clamp(2.75rem, 11vw, 4.5rem);
  }

  .hero-ctas {
    flex-direction: column;
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
  }

  .btn-cta,
  .btn-ghost {
    width: 100%;
    justify-content: center;
    padding: 15px 24px;
  }

  /* Services */
  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card:last-child {
    max-width: 100%;
  }

  /* Stats */
  .stats-row {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .stats-row .stat:last-child {
    grid-column: 1 / -1;
    text-align: center;
  }

  /* Testimonials */
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* Footer */
  .footer-main {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-brand {
    grid-column: auto;
  }

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

@media (max-width: 520px) {
  .section-title {
    font-size: 1.875rem;
  }

  .display-title {
    font-size: 2.25rem;
  }

  .about-card {
    padding: 28px 24px;
  }

  .service-card {
    padding: 28px 24px;
  }
}

/* ── CONSULTATION PAGE ───────────────────── */
.consult-hero {
  padding: 160px 24px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.consult-hero__glow {
  position: absolute;
  width: 600px;
  height: 600px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%);
  background: radial-gradient(circle, rgba(37, 99, 235, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.consult-hero__label {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 16px;
}

.consult-hero__title {
  font-size: clamp(2.25rem, 6vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.08;
  color: var(--white);
  margin-bottom: 20px;
}

.consult-hero__sub {
  font-size: 1.0625rem;
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.65;
}

/* Form section */
.consult-form-section {
  padding: 0 24px 120px;
}

.consult-form-wrap {
  max-width: 680px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 52px 48px;
}

/* Form elements */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.form-group:last-of-type {
  margin-bottom: 0;
}

.form-label {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--muted);
  text-transform: uppercase;
}

.form-input,
.form-textarea {
  background: var(--bg-card-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--white);
  font-family: var(--font);
  font-size: 0.9375rem;
  padding: 14px 18px;
  transition: border-color var(--dur-fast) ease, box-shadow var(--dur-fast) ease;
  outline: none;
  width: 100%;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--faint);
}

.form-input:focus,
.form-textarea:focus {
  border-color: rgba(37, 99, 235, 0.5);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

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

.form-divider {
  height: 1px;
  background: var(--border);
  margin: 32px 0;
}

.form-submit {
  width: 100%;
  justify-content: center;
  padding: 17px 32px;
  font-size: 1rem;
  margin-top: 32px;
}

.form-note {
  text-align: center;
  margin-top: 16px;
  font-size: 0.8125rem;
  color: var(--subtle);
}

/* Success/error state */
.form-status {
  display: none;
  text-align: center;
  padding: 20px;
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  font-weight: 600;
  margin-top: 16px;
}

.form-status--success {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.25);
  color: #22C55E;
}

.form-status--error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.25);
  color: #EF4444;
}

@media (max-width: 640px) {
  .consult-form-wrap {
    padding: 32px 24px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

/* ── PROCESS CTA ─────────────────────────── */
.process-cta {
  margin-top: 40px;
  align-self: flex-start;
}

/* ── SCROLL PROGRESS BAR ─────────────────── */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--blue), #60A5FA);
  z-index: 200;
  transition: width 0.1s linear;
  box-shadow: 0 0 8px rgba(59, 130, 246, 0.6);
}

/* ── CURSOR SPOTLIGHT ────────────────────── */
.cursor-spotlight {
  position: fixed;
  top: -300px;
  left: -300px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.05) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
  will-change: transform;
  transition: opacity 0.3s ease;
}

/* ── CARD TILT EFFECT ────────────────────── */
.service-card {
  transform-style: preserve-3d;
  will-change: transform;
}

/* Animated shimmer on card ::before (glow already there) */
.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.04) 0%,
    transparent 40%,
    rgba(255, 255, 255, 0.02) 100%
  );
  opacity: 0;
  transition: opacity var(--dur-med) ease;
  pointer-events: none;
}

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

/* ── ANIMATED GRADIENT LABELS ────────────── */
.section-label {
  background: linear-gradient(90deg, var(--blue) 0%, #93C5FD 50%, var(--blue) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmerLabel 4s linear infinite;
}

@keyframes shimmerLabel {
  0%   { background-position: 0% center; }
  100% { background-position: 200% center; }
}

/* ── FLOATING ICON ON SERVICE CARDS ─────── */
.service-card:hover .service-card__icon {
  animation: floatIcon 0.6s var(--easing) forwards;
}

@keyframes floatIcon {
  0%   { transform: rotate(6deg) translateY(0); }
  50%  { transform: rotate(6deg) translateY(-6px); }
  100% { transform: rotate(6deg) translateY(0); }
}

/* ── HERO GLOW ENHANCED ──────────────────── */
@keyframes glowPulse {
  0%, 100% { opacity: 1; transform: translateY(-60%) scale(1); }
  50%       { opacity: 0.75; transform: translateY(-60%) scale(1.08); }
}

/* ── BUTTON RIPPLE ───────────────────────── */
.btn-cta {
  overflow: hidden;
  position: relative;
}

.btn-ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  transform: scale(0);
  animation: rippleAnim 0.55s linear;
  pointer-events: none;
}

@keyframes rippleAnim {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* ── SERVICES PAGE ───────────────────────── */
.services-hero {
  padding: 160px 24px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.services-hero__glow {
  position: absolute;
  width: 700px;
  height: 700px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -65%);
  background: radial-gradient(circle, rgba(37, 99, 235, 0.09) 0%, transparent 70%);
  pointer-events: none;
}

.services-hero__label {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 16px;
}

.services-hero__title {
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.08;
  color: var(--white);
  margin-bottom: 20px;
}

.services-hero__sub {
  font-size: 1.0625rem;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.65;
}

/* Services detail grid */
.services-list {
  padding: 0 0 120px;
}

.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
}

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

.service-detail--reverse {
  direction: rtl;
}

.service-detail--reverse > * {
  direction: ltr;
}

.service-detail__img {
  background: transparent;
  border-radius: var(--radius-xl);
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: none;
}

.service-detail__img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 32px;
}

.service-detail__img--placeholder {
  background: transparent;
  position: relative;
}

.service-detail__num {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
}

.service-detail__title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 20px;
}

.service-detail__desc {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 32px;
}

.service-detail__features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 36px;
}

.service-detail__feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9375rem;
  color: var(--muted);
}

.service-detail__feature::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
}

@media (max-width: 1100px) {
  .service-detail {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .service-detail--reverse {
    direction: ltr;
  }
}
