/* ==========================================================
   BIGSTONE AGENCY — style.css
   Design System: Deep Blue / Crisp White / Rich Black
   Typography: Inter (sans) + Playfair Display (display)
   Author: Bigstone Agency Dev Team
   ========================================================== */

/* ----------------------------------------------------------
   1. CSS CUSTOM PROPERTIES (DESIGN TOKENS)
   ---------------------------------------------------------- */
:root {
  /* Color Palette */
  --color-primary: #0a2540;
  /* Deep Professional Blue */
  --color-primary-mid: #0d3060;
  --color-primary-light: #1a4a8a;
  --color-accent: #2563eb;
  /* Vivid Blue Accent */
  --color-accent-glow: rgba(37, 99, 235, 0.25);
  --color-white: #ffffff;
  --color-offwhite: #f8f9fb;
  --color-surface: #f1f4f8;
  --color-border: #e2e8f0;
  --color-text: #1a1a1a;
  /* Rich Black */
  --color-text-muted: #64748b;
  --color-text-light: #94a3b8;
  --color-dark: #0a0f1a;
  --color-footer: #09111f;

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;

  /* Font Sizes (fluid) */
  --fs-xs: 0.75rem;
  /* 12px */
  --fs-sm: 0.875rem;
  /* 14px */
  --fs-base: 1rem;
  /* 16px */
  --fs-md: 1.125rem;
  /* 18px */
  --fs-lg: 1.25rem;
  /* 20px */
  --fs-xl: 1.5rem;
  /* 24px */
  --fs-2xl: 2rem;
  /* 32px */
  --fs-3xl: 2.75rem;
  /* 44px */
  --fs-4xl: 3.5rem;
  /* 56px */
  --fs-5xl: 4.5rem;
  /* 72px */

  /* Font Weights */
  --fw-light: 300;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semi: 600;
  --fw-bold: 700;
  --fw-black: 900;

  /* Spacing Scale */
  --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: 1200px;
  --container-pad: clamp(1.25rem, 4vw, 2.5rem);
  --border-radius: 8px;
  --border-radius-lg: 16px;
  --border-radius-xl: 24px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(10, 37, 64, 0.08), 0 1px 2px rgba(10, 37, 64, 0.06);
  --shadow-md: 0 4px 16px rgba(10, 37, 64, 0.10), 0 2px 6px rgba(10, 37, 64, 0.06);
  --shadow-lg: 0 12px 40px rgba(10, 37, 64, 0.14), 0 4px 12px rgba(10, 37, 64, 0.08);
  --shadow-xl: 0 24px 60px rgba(10, 37, 64, 0.18);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;
  --transition-spring: 350ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ----------------------------------------------------------
   2. CSS RESET & BASE
   ---------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  font-weight: var(--fw-regular);
  line-height: 1.65;
  color: var(--color-text);
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img,
video {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

ul,
ol {
  list-style: none;
}

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
}

input,
select,
textarea,
button {
  font-family: inherit;
  font-size: inherit;
}

/* Screen-reader only utility */
.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;
}

/* ----------------------------------------------------------
   3. LAYOUT UTILITIES
   ---------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

/* ----------------------------------------------------------
   4. BUTTONS
   ---------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--border-radius);
  font-weight: var(--fw-semi);
  font-size: var(--fs-sm);
  letter-spacing: 0.01em;
  transition:
    background-color var(--transition-base),
    color var(--transition-base),
    border-color var(--transition-base),
    transform var(--transition-spring),
    box-shadow var(--transition-base);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

/* Primary Button */
.btn-primary {
  background-color: var(--color-accent);
  color: var(--color-white);
  border: 2px solid var(--color-accent);
  box-shadow: 0 4px 18px rgba(37, 99, 235, 0.35);
}

.btn-primary:hover {
  background-color: #1d4ed8;
  border-color: #1d4ed8;
  box-shadow: 0 8px 28px rgba(37, 99, 235, 0.45);
  color: var(--color-white);
}

/* Ghost Button */
.btn-ghost {
  background-color: transparent;
  color: var(--color-white);
  border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-ghost:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: var(--color-white);
  color: var(--color-white);
}

/* Secondary Button (on dark bg) */
.btn-secondary {
  background-color: var(--color-white);
  color: var(--color-primary);
  border: 2px solid var(--color-white);
  box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
  background-color: var(--color-offwhite);
  box-shadow: var(--shadow-lg);
  color: var(--color-primary);
}

/* Sizes */
.btn-large {
  padding: var(--space-4) var(--space-8);
  font-size: var(--fs-base);
  border-radius: var(--border-radius);
}

.btn-full {
  width: 100%;
}

/* ----------------------------------------------------------
   5. SECTION HEADER (SHARED)
   ---------------------------------------------------------- */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-16);
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background-color: rgba(37, 99, 235, 0.08);
  color: var(--color-accent);
  border: 1px solid rgba(37, 99, 235, 0.2);
  padding: var(--space-1) var(--space-4);
  border-radius: 100px;
  font-size: var(--fs-xs);
  font-weight: var(--fw-semi);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-5);
}

.section-tag--light {
  background-color: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.9);
  border-color: rgba(255, 255, 255, 0.2);
}

.section-title {
  font-size: clamp(var(--fs-2xl), 4vw, var(--fs-4xl));
  font-weight: var(--fw-bold);
  color: var(--color-text);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-5);
}

.section-title--light {
  color: var(--color-white);
}

.section-subtitle {
  font-size: var(--fs-md);
  color: var(--color-text-muted);
  line-height: 1.7;
}

.section-subtitle--light {
  color: rgba(255, 255, 255, 0.7);
}

/* ----------------------------------------------------------
   6. HEADER / NAVIGATION
   ---------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding-block: var(--space-4);
  transition:
    background-color var(--transition-base),
    box-shadow var(--transition-base),
    padding var(--transition-base);
}

.site-header.header-scrolled {
  background-color: rgba(10, 37, 64, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.25);
  padding-block: var(--space-3);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
}

/* Logo */
.nav-logo,
.footer-logo {
  display: inline-flex;
  align-items: baseline;
  gap: 0;
  font-size: var(--fs-xl);
  font-weight: var(--fw-black);
  letter-spacing: -0.03em;
}

.logo-stone {
  color: var(--color-white);
}

.logo-agency {
  color: var(--color-white);
}

.logo-dot {
  color: var(--color-accent);
  font-size: var(--fs-2xl);
  line-height: 0;
  position: relative;
  top: 4px;
}

/* Primary Nav */
.primary-nav {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.nav-list {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.nav-link {
  color: rgba(255, 255, 255, 0.75);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--border-radius);
  transition: color var(--transition-fast), background-color var(--transition-fast);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: calc(100% - var(--space-6));
  height: 2px;
  background-color: var(--color-accent);
  border-radius: 2px;
  transition: transform var(--transition-spring);
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-white);
}

.nav-link.active::after,
.nav-link:hover::after {
  transform: translateX(-50%) scaleX(1);
}

.nav-cta {
  flex-shrink: 0;
}

/* Hamburger Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: var(--space-2);
  border-radius: var(--border-radius);
  transition: background-color var(--transition-fast);
}

.nav-toggle:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.hamburger-bar {
  display: block;
  height: 2px;
  background-color: var(--color-white);
  border-radius: 2px;
  transition: transform var(--transition-base), opacity var(--transition-base), width var(--transition-base);
  transform-origin: center;
}

.hamburger-bar:nth-child(1) {
  width: 20px;
}

.hamburger-bar:nth-child(2) {
  width: 24px;
}

.hamburger-bar:nth-child(3) {
  width: 16px;
}

.nav-toggle--open .hamburger-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
  width: 22px;
}

.nav-toggle--open .hamburger-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-toggle--open .hamburger-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
  width: 22px;
}

/* ----------------------------------------------------------
   7. HERO SECTION
   ---------------------------------------------------------- */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-color: var(--color-primary);
  overflow: hidden;
  padding-top: 88px;
}

/* Decorative dot grid */
.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.06) 1px, transparent 0);
  background-size: 40px 40px;
  z-index: 0;
}

/* Blue glow */
.hero-glow {
  position: absolute;
  top: -10%;
  right: -5%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.20) 0%, transparent 65%);
  z-index: 0;
  pointer-events: none;
  animation: glow-pulse 6s ease-in-out infinite;
}

@keyframes glow-pulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.1);
    opacity: 0.75;
  }
}

.hero-container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
  padding-block: var(--space-24);
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

/* Hero Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background-color: rgba(37, 99, 235, 0.15);
  border: 1px solid rgba(37, 99, 235, 0.35);
  color: #93c5fd;
  padding: var(--space-2) var(--space-4);
  border-radius: 100px;
  font-size: var(--fs-xs);
  font-weight: var(--fw-semi);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  width: fit-content;
}

.badge-pulse {
  width: 8px;
  height: 8px;
  background-color: #22c55e;
  border-radius: 50%;
  position: relative;
}

.badge-pulse::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background-color: rgba(34, 197, 94, 0.35);
  animation: pulse-ring 1.8s ease-out infinite;
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.8);
    opacity: 1;
  }

  100% {
    transform: scale(2.2);
    opacity: 0;
  }
}

/* Hero Heading */
.hero-heading {
  font-size: clamp(var(--fs-3xl), 5vw, var(--fs-5xl));
  font-weight: var(--fw-black);
  color: var(--color-white);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.hero-heading-em {
  font-style: normal;
  background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subheading {
  font-size: var(--fs-md);
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.75;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

/* Hero Stats */
.hero-stats {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  margin-top: var(--space-4);
  padding-top: var(--space-6);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.stat-number {
  font-size: var(--fs-2xl);
  font-weight: var(--fw-black);
  color: var(--color-white);
  letter-spacing: -0.02em;
  line-height: 1;
}

.stat-label {
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.5);
  font-weight: var(--fw-medium);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.15);
  flex-shrink: 0;
}

/* Hero Visual */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-card-orbit {
  position: relative;
  width: 380px;
  height: 380px;
}

.orbit-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, var(--color-accent) 0%, #7c3aed 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-xl);
  font-weight: var(--fw-black);
  color: var(--color-white);
  z-index: 2;
  box-shadow: 0 0 0 16px rgba(37, 99, 235, 0.12), 0 0 0 32px rgba(37, 99, 235, 0.06);
}

.orbit-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: var(--space-2);
  background-color: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--border-radius-lg);
  padding: var(--space-3) var(--space-5);
  color: var(--color-white);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semi);
  white-space: nowrap;
  transition: transform var(--transition-base), border-color var(--transition-base);
  animation: orbit-float 4s ease-in-out infinite;
}

.orbit-card:hover {
  border-color: rgba(37, 99, 235, 0.55);
  transform: scale(1.05) !important;
}

.orbit-icon {
  font-size: var(--fs-lg);
  color: var(--color-accent);
}

.orbit-card--seo {
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  animation-delay: 0s;
}

.orbit-card--ads {
  top: 50%;
  right: -10px;
  transform: translateY(-50%);
  animation-delay: 1s;
}

.orbit-card--social {
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  animation-delay: 2s;
}

.orbit-card--web {
  top: 50%;
  left: -10px;
  transform: translateY(-50%);
  animation-delay: 3s;
}

@keyframes orbit-float {

  0%,
  100% {
    margin-top: 0;
  }

  50% {
    margin-top: -8px;
  }
}

/* ----------------------------------------------------------
   8. TRUST BAR
   ---------------------------------------------------------- */
.trust-bar {
  background-color: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding-block: var(--space-8);
}

.trust-bar .container {
  display: flex;
  align-items: center;
  gap: var(--space-12);
  flex-wrap: wrap;
  justify-content: center;
}

.trust-bar-label {
  font-size: var(--fs-xs);
  font-weight: var(--fw-semi);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-light);
  white-space: nowrap;
  flex-shrink: 0;
}

.trust-logos {
  display: flex;
  align-items: center;
  gap: var(--space-10);
  flex-wrap: wrap;
  justify-content: center;
}

.trust-logo-placeholder {
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  color: var(--color-text-muted);
  letter-spacing: 0.03em;
  opacity: 0.55;
  filter: grayscale(1);
  transition: opacity var(--transition-base), filter var(--transition-base);
}

.trust-logo-placeholder:hover {
  opacity: 0.9;
  filter: grayscale(0);
}

/* ----------------------------------------------------------
   9. PAS SECTION
   ---------------------------------------------------------- */
.pas-section {
  padding-block: var(--space-32);
  background-color: var(--color-white);
}

.pas-container {
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
}

.pas-block {
  text-align: center;
}

.pas-tag {
  font-size: var(--fs-xs);
  font-weight: var(--fw-semi);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-accent);
  margin-bottom: var(--space-4);
}

.pas-heading {
  font-size: clamp(var(--fs-2xl), 3.5vw, var(--fs-3xl));
  font-weight: var(--fw-bold);
  color: var(--color-primary);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.pas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.pas-card {
  padding: var(--space-10);
  border-radius: var(--border-radius-lg);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-spring), box-shadow var(--transition-base);
}

.pas-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.pas-card--problem {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
}

.pas-card--agitation {
  background-color: #fef9f0;
  border: 1px solid #fde68a;
}

.pas-card--solution {
  background-color: var(--color-primary);
  border: 1px solid var(--color-primary-mid);
}

.pas-card--solution .pas-card-title,
.pas-card--solution .pas-card-text {
  color: var(--color-white);
}

.pas-card--solution .pas-card-text {
  color: rgba(255, 255, 255, 0.75);
}

.pas-card-icon {
  font-size: clamp(2rem, 3vw, 2.5rem);
  margin-bottom: var(--space-4);
  display: block;
}

.pas-card-title {
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  color: var(--color-primary);
  margin-bottom: var(--space-3);
  letter-spacing: -0.01em;
}

.pas-card-text {
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
  line-height: 1.75;
}

/* ----------------------------------------------------------
   10. SERVICES SECTION
   ---------------------------------------------------------- */
.services-section {
  padding-block: var(--space-32);
  background-color: var(--color-offwhite);
  border-top: 1px solid var(--color-border);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.service-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-lg);
  padding: var(--space-8);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  transition: transform var(--transition-spring), box-shadow var(--transition-base), border-color var(--transition-base);
}

.service-card-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent), #7c3aed);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}

.service-card:hover .service-card-accent {
  transform: scaleX(1);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(37, 99, 235, 0.2);
}

/* Featured Service Card */
.service-card--featured {
  background: linear-gradient(145deg, var(--color-primary) 0%, var(--color-primary-mid) 100%);
  border-color: transparent;
  color: var(--color-white);
}

.service-card--featured .service-title {
  color: var(--color-white);
}

.service-card--featured .service-desc {
  color: rgba(255, 255, 255, 0.72);
}

.service-card--featured .service-icon {
  color: #93c5fd;
}

.service-card--featured .service-features li {
  color: rgba(255, 255, 255, 0.72);
}

.service-card--featured .service-features li::before {
  background-color: #93c5fd;
}

.service-card--featured .service-link {
  color: #93c5fd;
}

.service-card--featured .service-link:hover {
  color: var(--color-white);
}

.service-card--featured:hover {
  border-color: rgba(37, 99, 235, 0.5);
  box-shadow: var(--shadow-xl), 0 0 40px rgba(37, 99, 235, 0.2);
}

.service-featured-badge {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  background-color: var(--color-accent);
  color: var(--color-white);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semi);
  padding: var(--space-1) var(--space-3);
  border-radius: 100px;
  letter-spacing: 0.04em;
}

.service-icon {
  width: 52px;
  height: 52px;
  background-color: rgba(37, 99, 235, 0.08);
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  flex-shrink: 0;
  transition: background-color var(--transition-base);
}

.service-card:hover .service-icon:not(.service-card--featured .service-icon) {
  background-color: rgba(37, 99, 235, 0.14);
}

.service-title {
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  color: var(--color-primary);
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.service-desc {
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
  line-height: 1.75;
  flex-grow: 1;
}

.service-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.service-features li {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
  font-weight: var(--fw-medium);
}

.service-features li::before {
  content: '';
  width: 5px;
  height: 5px;
  background-color: var(--color-accent);
  border-radius: 50%;
  flex-shrink: 0;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semi);
  color: var(--color-accent);
  transition: gap var(--transition-spring), color var(--transition-fast);
  margin-top: auto;
}

.service-link:hover {
  gap: var(--space-3);
  color: var(--color-primary);
}

/* ----------------------------------------------------------
   11. METHODOLOGY SECTION
   ---------------------------------------------------------- */
.methodology-section {
  padding-block: var(--space-32);
  background: linear-gradient(180deg, var(--color-primary) 0%, #07192f 100%);
  position: relative;
  overflow: hidden;
}

.methodology-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.04) 1px, transparent 0);
  background-size: 40px 40px;
}

.methodology-section .container {
  position: relative;
  z-index: 1;
}

.methodology-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  margin-top: 0;
  counter-reset: none;
}

.method-step {
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-lg);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  transition: background-color var(--transition-base), border-color var(--transition-base), transform var(--transition-spring);
  position: relative;
  overflow: hidden;
}

.method-step::before {
  content: '';
  position: absolute;
  bottom: -40px;
  right: -20px;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.method-step:hover {
  background-color: rgba(255, 255, 255, 0.07);
  border-color: rgba(37, 99, 235, 0.4);
  transform: translateY(-4px);
}

.method-step-number {
  font-size: var(--fs-4xl);
  font-weight: var(--fw-black);
  color: rgba(37, 99, 235, 0.25);
  line-height: 1;
  font-family: var(--font-display);
  letter-spacing: -0.04em;
}

.method-step-title {
  font-size: var(--fs-md);
  font-weight: var(--fw-bold);
  color: var(--color-white);
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.method-step-desc {
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.75;
}

.methodology-cta {
  text-align: center;
  margin-top: var(--space-16);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-6);
}

.method-cta-text {
  font-size: var(--fs-lg);
  color: rgba(255, 255, 255, 0.7);
  font-weight: var(--fw-medium);
}

/* ----------------------------------------------------------
   12. TESTIMONIALS SECTION
   ---------------------------------------------------------- */
.testimonials-section {
  padding-block: var(--space-32);
  background-color: var(--color-white);
  border-top: 1px solid var(--color-border);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-top: 0;
}

.testimonial-card {
  background-color: var(--color-offwhite);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-lg);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  transition: transform var(--transition-spring), box-shadow var(--transition-base);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: var(--space-4);
  left: var(--space-6);
  font-size: 80px;
  color: rgba(37, 99, 235, 0.1);
  font-family: var(--font-display);
  line-height: 1;
  font-weight: var(--fw-bold);
  pointer-events: none;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.testimonial-quote {
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
  line-height: 1.8;
  font-style: italic;
  padding-top: var(--space-6);
  flex-grow: 1;
}

.testimonial-footer {
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.testimonial-author {
  font-weight: var(--fw-bold);
  color: var(--color-primary);
  font-size: var(--fs-sm);
}

.testimonial-role {
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
}

.testimonial-stars {
  color: #f59e0b;
  font-size: var(--fs-sm);
  margin-top: var(--space-2);
  letter-spacing: 0.05em;
}

/* ----------------------------------------------------------
   13. CTA / CONTACT SECTION
   ---------------------------------------------------------- */
.cta-section {
  padding-block: var(--space-32);
  background: linear-gradient(135deg, var(--color-primary) 0%, #061728 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.cta-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: start;
}

.cta-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  padding-top: var(--space-4);
}

.cta-title {
  font-size: clamp(var(--fs-3xl), 4vw, var(--fs-4xl));
  font-weight: var(--fw-black);
  color: var(--color-white);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.cta-subtitle {
  font-size: var(--fs-md);
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.75;
}

.cta-points {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-top: var(--space-2);
}

.cta-points li {
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.75);
  font-weight: var(--fw-medium);
}

/* Contact Form */
.cta-form-wrapper {
  background-color: var(--color-white);
  border-radius: var(--border-radius-xl);
  padding: var(--space-10);
  box-shadow: var(--shadow-xl);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.form-label {
  font-size: var(--fs-xs);
  font-weight: var(--fw-semi);
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  border: 1.5px solid var(--color-border);
  border-radius: var(--border-radius);
  font-size: var(--fs-sm);
  color: var(--color-text);
  background-color: var(--color-offwhite);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast);
  -webkit-appearance: none;
  appearance: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--color-text-light);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  background-color: var(--color-white);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpolyline points='6,9 12,15 18,9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--space-4) center;
  padding-right: var(--space-10);
  cursor: pointer;
}

.form-textarea {
  resize: vertical;
  min-height: 110px;
}

.form-disclaimer {
  font-size: var(--fs-xs);
  color: var(--color-text-light);
  text-align: center;
  line-height: 1.5;
}

/* ----------------------------------------------------------
   14. FOOTER
   ---------------------------------------------------------- */
.site-footer {
  background-color: var(--color-footer);
  color: rgba(255, 255, 255, 0.65);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-container {
  padding-block: var(--space-16);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--space-12);
  padding-bottom: var(--space-12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: var(--space-8);
}

.footer-col--brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.footer-logo {
  font-size: var(--fs-xl);
  font-weight: var(--fw-black);
  letter-spacing: -0.03em;
}

.footer-tagline {
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.75;
  max-width: 300px;
}

.footer-address {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.footer-address p {
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.45);
}

.footer-link {
  color: rgba(255, 255, 255, 0.55);
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--color-white);
}

.footer-col-title {
  font-size: var(--fs-xs);
  font-weight: var(--fw-semi);
  color: var(--color-white);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-5);
}

.footer-nav-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-nav-link {
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--transition-fast), padding-left var(--transition-fast);
  display: inline-block;
}

.footer-nav-link:hover {
  color: var(--color-white);
  padding-left: var(--space-2);
}

/* Newsletter */
.footer-col--newsletter {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.footer-newsletter-desc {
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.7;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.newsletter-input-wrap {
  display: flex;
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.newsletter-input-wrap:focus-within {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.newsletter-input {
  flex-grow: 1;
  padding: var(--space-3) var(--space-4);
  background-color: rgba(255, 255, 255, 0.05);
  border: none;
  color: var(--color-white);
  font-size: var(--fs-sm);
  outline: none;
}

.newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.newsletter-btn {
  padding: var(--space-3) var(--space-5);
  background-color: var(--color-accent);
  color: var(--color-white);
  font-size: var(--fs-md);
  font-weight: var(--fw-bold);
  transition: background-color var(--transition-fast);
  flex-shrink: 0;
}

.newsletter-btn:hover {
  background-color: #1d4ed8;
}

.newsletter-disclaimer {
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.3);
}

/* Footer Bottom */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  flex-wrap: wrap;
}

.footer-copyright {
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.35);
}

.footer-legal-nav {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}

.footer-legal-link {
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.35);
  transition: color var(--transition-fast);
}

.footer-legal-link:hover {
  color: rgba(255, 255, 255, 0.7);
}

/* ----------------------------------------------------------
   15. SCROLL ANIMATIONS
   ---------------------------------------------------------- */
.anim-fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.anim-fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delay for grid children */
.service-card:nth-child(1) {
  transition-delay: 0ms;
}

.service-card:nth-child(2) {
  transition-delay: 80ms;
}

.service-card:nth-child(3) {
  transition-delay: 160ms;
}

.service-card:nth-child(4) {
  transition-delay: 80ms;
}

.service-card:nth-child(5) {
  transition-delay: 160ms;
}

.service-card:nth-child(6) {
  transition-delay: 240ms;
}

.pas-card:nth-child(1) {
  transition-delay: 0ms;
}

.pas-card:nth-child(2) {
  transition-delay: 100ms;
}

.pas-card:nth-child(3) {
  transition-delay: 200ms;
}

.method-step:nth-child(1) {
  transition-delay: 0ms;
}

.method-step:nth-child(2) {
  transition-delay: 80ms;
}

.method-step:nth-child(3) {
  transition-delay: 160ms;
}

.method-step:nth-child(4) {
  transition-delay: 240ms;
}

.testimonial-card:nth-child(1) {
  transition-delay: 0ms;
}

.testimonial-card:nth-child(2) {
  transition-delay: 100ms;
}

.testimonial-card:nth-child(3) {
  transition-delay: 200ms;
}

/* ----------------------------------------------------------
   16. RESPONSIVE DESIGN — TABLET (≤ 1024px)
   ---------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    padding-block: var(--space-20);
  }

  .hero-subheading {
    margin-inline: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-visual {
    display: none;
  }

  .methodology-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-10);
  }

  .footer-col--brand {
    grid-column: 1 / -1;
  }
}

/* ----------------------------------------------------------
   17. RESPONSIVE DESIGN — MOBILE (≤ 768px)
   ---------------------------------------------------------- */
@media (max-width: 768px) {

  /* Nav */
  .nav-toggle {
    display: flex;
  }

  .primary-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(320px, 85vw);
    background-color: var(--color-primary);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 100px var(--space-6) var(--space-8);
    transform: translateX(105%);
    transition: transform var(--transition-slow);
    box-shadow: -8px 0 40px rgba(0, 0, 0, 0.4);
    z-index: 999;
    overflow-y: auto;
  }

  .primary-nav.nav-open {
    transform: translateX(0);
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin-bottom: var(--space-8);
  }

  .nav-link {
    display: block;
    padding: var(--space-4) var(--space-3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: var(--fs-md);
  }

  .nav-link::after {
    display: none;
  }

  .nav-cta {
    text-align: center;
    padding: var(--space-4);
  }

  /* Hero */
  .hero-stats {
    flex-wrap: wrap;
    gap: var(--space-5);
  }

  .stat-divider {
    display: none;
  }

  /* PAS Grid */
  .pas-grid {
    grid-template-columns: 1fr;
  }

  /* Services Grid */
  .services-grid {
    grid-template-columns: 1fr;
  }

  /* Methodology */
  .methodology-steps {
    grid-template-columns: 1fr;
  }

  /* Testimonials */
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  /* CTA */
  .cta-container {
    grid-template-columns: 1fr;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: var(--space-4);
  }

  .footer-legal-nav {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* ----------------------------------------------------------
   18. RESPONSIVE DESIGN — SMALL MOBILE (≤ 480px)
   ---------------------------------------------------------- */
@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    text-align: center;
    justify-content: center;
  }

  .cta-form-wrapper {
    padding: var(--space-6);
  }
}

/* ----------------------------------------------------------
   19. ACCESSIBILITY & REDUCED MOTION
   ---------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* Focus visible styles */
:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: 3px;
}

/* Print styles */
@media print {

  .site-header,
  .hero-visual,
  .trust-bar,
  .nav-toggle {
    display: none !important;
  }

  body {
    font-size: 12pt;
    color: #000;
  }

  .hero-section {
    background-color: white;
    color: black;
    min-height: auto;
    padding-block: 2rem;
  }
}

/* ==========================================================
   20. WHITE HERO REDESIGN + ANIMATIONS
   ========================================================== */

/* ----------------------------------------------------------
   20a. LIGHT HEADER (over white hero)
   ---------------------------------------------------------- */
.site-header--light {
  background-color: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
}

.site-header--light .logo-stone,
.site-header--light .logo-agency {
  color: var(--color-primary);
}

.site-header--light .logo-dot {
  color: var(--color-accent);
}

.site-header--light .nav-link {
  color: var(--color-text-muted);
}

.site-header--light .nav-link:hover,
.site-header--light .nav-link.active {
  color: var(--color-primary);
}

.site-header--light .nav-link::after {
  background-color: var(--color-accent);
}

.site-header--light .hamburger-bar {
  background-color: var(--color-primary);
}

/* After scroll, header gets dark bg — reset light styles */
.header-scrolled .logo-stone,
.header-scrolled .logo-agency {
  color: var(--color-white);
}

.header-scrolled .nav-link {
  color: rgba(255, 255, 255, 0.75);
}

.header-scrolled .nav-link:hover,
.header-scrolled .nav-link.active {
  color: var(--color-white);
}

.header-scrolled .hamburger-bar {
  background-color: var(--color-white);
}

/* ----------------------------------------------------------
   20b. CUSTOM CURSOR
   ---------------------------------------------------------- */
* {
  cursor: none !important;
}

.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 40px;
  height: 40px;
  border: 2px solid rgba(37, 99, 235, 0.6);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  margin-left: -20px;
  margin-top: -20px;
  transition: width 0.25s ease, height 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
  mix-blend-mode: multiply;
}

.custom-cursor.cursor-grow {
  width: 60px;
  height: 60px;
  margin-left: -30px;
  margin-top: -30px;
  background-color: rgba(37, 99, 235, 0.07);
  border-color: var(--color-accent);
}

.custom-cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 6px;
  height: 6px;
  background-color: var(--color-accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  margin-left: -3px;
  margin-top: -3px;
}

/* ----------------------------------------------------------
   20c. WHITE HERO SECTION
   ---------------------------------------------------------- */
.hero-section--light {
  background-color: var(--color-white);
  min-height: 100vh;
  padding-top: 88px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

/* Canvas fills the whole hero as a layer */
.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ----------------------------------------------------------
   20d. PARALLAX FLOATING SHAPES
   ---------------------------------------------------------- */
.hero-shapes {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.hshape {
  position: absolute;
  border-radius: 50%;
  will-change: transform;
}

.hshape--1 {
  width: 300px;
  height: 300px;
  top: 5%;
  right: 8%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.07) 0%, transparent 70%);
  animation: shape-drift 12s ease-in-out infinite;
}

.hshape--2 {
  width: 200px;
  height: 200px;
  top: 55%;
  right: 20%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.06) 0%, transparent 70%);
  animation: shape-drift 16s ease-in-out infinite reverse;
}

.hshape--3 {
  width: 150px;
  height: 150px;
  top: 15%;
  right: 38%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.07) 0%, transparent 70%);
  animation: shape-drift 10s ease-in-out infinite;
  animation-delay: -4s;
}

.hshape--4 {
  width: 400px;
  height: 400px;
  bottom: -80px;
  left: -80px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.04) 0%, transparent 70%);
  animation: shape-drift 20s ease-in-out infinite reverse;
  animation-delay: -8s;
}

.hshape--5 {
  width: 80px;
  height: 80px;
  top: 30%;
  left: 10%;
  border: 2px solid rgba(37, 99, 235, 0.12);
  border-radius: 50%;
  background: transparent;
  animation: shape-drift 8s ease-in-out infinite;
}

.hshape--6 {
  width: 120px;
  height: 120px;
  bottom: 18%;
  right: 45%;
  border: 1.5px solid rgba(124, 58, 237, 0.1);
  background: transparent;
  border-radius: 24px;
  transform: rotate(20deg);
  animation: shape-rotate 18s linear infinite;
}

@keyframes shape-drift {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(12px, -18px) scale(1.03);
  }

  66% {
    transform: translate(-10px, 10px) scale(0.97);
  }
}

@keyframes shape-rotate {
  from {
    transform: rotate(20deg);
  }

  to {
    transform: rotate(380deg);
  }
}

/* ----------------------------------------------------------
   20e. HERO HEADING (white bg, dark text)
   ---------------------------------------------------------- */
.hero-heading--dark {
  color: var(--color-primary);
  font-size: clamp(var(--fs-3xl), 5.5vw, 5.5rem);
  font-weight: var(--fw-black);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

/* Word-by-word entrance */
.hero-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(24px) rotate(-2deg);
  animation: word-enter 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: calc(0.12s + var(--i) * 0.12s);
}

.hero-word--accent {
  background: linear-gradient(135deg, var(--color-accent) 0%, #7c3aed 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@keyframes word-enter {
  to {
    opacity: 1;
    transform: translateY(0) rotate(0deg);
  }
}

/* ----------------------------------------------------------
   20f. TYPEWRITER
   ---------------------------------------------------------- */
.hero-typewriter {
  display: flex;
  align-items: center;
  gap: 0;
  font-size: var(--fs-lg);
  font-weight: var(--fw-semi);
  color: var(--color-text-muted);
  animation: fade-in-up 0.8s ease forwards;
  animation-delay: 0.7s;
  opacity: 0;
}

.typewriter-prefix {
  color: var(--color-text-muted);
}

.typewriter-cycle {
  color: var(--color-accent);
  font-weight: var(--fw-bold);
  position: relative;
}

.typewriter-cycle::after {
  content: '|';
  color: var(--color-accent);
  animation: blink 0.9s step-end infinite;
  margin-left: 2px;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ----------------------------------------------------------
   20g. HERO SUBHEADING & BADGE (light variant)
   ---------------------------------------------------------- */
.hero-subheading--dark {
  color: var(--color-text-muted);
  opacity: 0;
  animation: fade-in-up 0.8s ease forwards;
  animation-delay: 0.9s;
}

.hero-badge--light {
  background-color: rgba(37, 99, 235, 0.06);
  border: 1px solid rgba(37, 99, 235, 0.18);
  color: var(--color-accent);
  opacity: 0;
  animation: fade-in-up 0.6s ease forwards;
  animation-delay: 0.1s;
}

.badge-pulse--blue {
  background-color: var(--color-accent);
}

.badge-pulse--blue::before {
  background-color: rgba(37, 99, 235, 0.3);
}

/* ----------------------------------------------------------
   20h. HERO ACTIONS ENTRANCE
   ---------------------------------------------------------- */
.hero-actions {
  animation: fade-in-up 0.8s ease forwards;
  animation-delay: 1.1s;
  opacity: 0;
}

/* Outline-dark button (for white bg) */
.btn-outline-dark {
  background-color: transparent;
  color: var(--color-primary);
  border: 2px solid rgba(10, 37, 64, 0.2);
  transition: background-color var(--transition-base), border-color var(--transition-base), color var(--transition-base), transform var(--transition-spring), box-shadow var(--transition-base);
}

.btn-outline-dark:hover {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
  box-shadow: var(--shadow-md);
}

/* Magnetic button — JS handles transform; override the default hover */
.btn-magnetic {
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow var(--transition-base), background-color var(--transition-base);
  will-change: transform;
}

/* ----------------------------------------------------------
   20i. HERO STATS (light)
   ---------------------------------------------------------- */
.hero-stats--light {
  border-top: 1px solid rgba(10, 37, 64, 0.1);
  animation: fade-in-up 0.8s ease forwards;
  animation-delay: 1.3s;
  opacity: 0;
}

.stat-number--dark {
  color: var(--color-primary);
  font-size: var(--fs-2xl);
  font-weight: var(--fw-black);
  letter-spacing: -0.03em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.stat-label--dark {
  color: var(--color-text-muted);
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.stat-divider--dark {
  width: 1px;
  height: 40px;
  background-color: rgba(10, 37, 64, 0.12);
  flex-shrink: 0;
}

/* ----------------------------------------------------------
   20j. HERO VISUAL (light)
   ---------------------------------------------------------- */
.hero-visual--light {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.hero-panel {
  position: relative;
  width: 400px;
  height: 480px;
  animation: panel-enter 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: 0.4s;
  opacity: 0;
}

@keyframes panel-enter {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.96);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ----------------------------------------------------------
   20k. PANEL CARD STACK
   ---------------------------------------------------------- */
.panel-card-stack {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 210px;
}

.pcard {
  position: absolute;
  inset: 0;
  border-radius: var(--border-radius-lg);
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
}

.pcard--back {
  transform: translate(14px, 14px) rotate(4deg);
  background-color: #f1f4f8;
  border-color: var(--color-border);
  z-index: 1;
}

.pcard--mid {
  transform: translate(7px, 7px) rotate(2deg);
  background-color: #f8f9fb;
  border-color: var(--color-border);
  z-index: 2;
}

.pcard--front {
  z-index: 3;
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  box-shadow: var(--shadow-xl);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  transform-origin: center;
  transform-style: preserve-3d;
}

.pcard-header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.pcard-logo {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--color-accent) 0%, #7c3aed 100%);
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--fw-black);
  font-size: var(--fs-xs);
  color: var(--color-white);
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.pcard-name {
  font-weight: var(--fw-bold);
  font-size: var(--fs-sm);
  color: var(--color-primary);
}

.pcard-sub {
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
}

/* Mini bar chart inside the card */
.pcard-chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 60px;
  flex-grow: 1;
}

.pchart-bar {
  flex: 1;
  border-radius: 3px 3px 0 0;
  height: var(--h);
  background-color: var(--clr);
  animation: bar-grow 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  transform-origin: bottom;
  transform: scaleY(0);
}

@keyframes bar-grow {
  to {
    transform: scaleY(1);
  }
}

.pchart-bar:nth-child(1) {
  animation-delay: 0.8s;
}

.pchart-bar:nth-child(2) {
  animation-delay: 0.9s;
}

.pchart-bar:nth-child(3) {
  animation-delay: 1.0s;
}

.pchart-bar:nth-child(4) {
  animation-delay: 1.1s;
}

.pchart-bar:nth-child(5) {
  animation-delay: 1.2s;
}

.pchart-bar:nth-child(6) {
  animation-delay: 1.3s;
}

.pchart-bar:nth-child(7) {
  animation-delay: 1.4s;
}

.pcard-metrics {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-3);
}

.pcard-metric {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.pcard-metric-val {
  font-size: var(--fs-md);
  font-weight: var(--fw-black);
  color: var(--color-accent);
  letter-spacing: -0.02em;
}

.pcard-metric-lbl {
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
  font-weight: var(--fw-medium);
}

/* ----------------------------------------------------------
   20l. FLOATING SERVICE CHIPS
   ---------------------------------------------------------- */
.panel-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 100px;
  padding: var(--space-2) var(--space-4);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semi);
  color: var(--color-text);
  white-space: nowrap;
  box-shadow: var(--shadow-md);
  will-change: transform;
  transition: box-shadow var(--transition-base), border-color var(--transition-base);
  animation: chip-float 1.4s cubic-bezier(0.22, 1, 0.36, 1) forwards, chip-bob var(--bob-dur, 5s) ease-in-out infinite var(--bob-delay, 0s);
  opacity: 0;
  cursor: default;
}

.panel-chip:hover {
  box-shadow: var(--shadow-lg);
  border-color: rgba(37, 99, 235, 0.3);
  transform: scale(1.05) !important;
}

@keyframes chip-float {
  to {
    opacity: 1;
  }
}

@keyframes chip-bob {

  0%,
  100% {
    margin-top: 0;
  }

  50% {
    margin-top: -7px;
  }
}

.panel-chip--1 {
  top: 6%;
  left: -14%;
  --bob-dur: 5.5s;
  --bob-delay: 0s;
  animation-delay: 0.6s;
}

.panel-chip--2 {
  top: 24%;
  right: -10%;
  --bob-dur: 6s;
  --bob-delay: 0.8s;
  animation-delay: 0.75s;
}

.panel-chip--3 {
  bottom: 34%;
  left: -16%;
  --bob-dur: 4.8s;
  --bob-delay: 1.2s;
  animation-delay: 0.9s;
}

.panel-chip--4 {
  bottom: 18%;
  right: -8%;
  --bob-dur: 5.2s;
  --bob-delay: 0.4s;
  animation-delay: 1.0s;
}

.panel-chip--5 {
  top: 58%;
  left: -10%;
  --bob-dur: 6.5s;
  --bob-delay: 1.8s;
  animation-delay: 1.1s;
}

/* ----------------------------------------------------------
   20m. SCROLL CUE
   ---------------------------------------------------------- */
.hero-scroll-cue {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  animation: fade-in-up 1s ease forwards;
  animation-delay: 1.8s;
  opacity: 0;
  z-index: 2;
}

.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--color-accent), transparent);
  animation: scroll-line-pulse 2s ease-in-out infinite;
}

@keyframes scroll-line-pulse {
  0% {
    transform: scaleY(0);
    transform-origin: top;
    opacity: 1;
  }

  50% {
    transform: scaleY(1);
    transform-origin: top;
    opacity: 1;
  }

  100% {
    transform: scaleY(1);
    transform-origin: bottom;
    opacity: 0;
  }
}

.scroll-text {
  font-size: var(--fs-xs);
  font-weight: var(--fw-semi);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-light);
  writing-mode: horizontal-tb;
}

/* ----------------------------------------------------------
   20n. RESPONSIVE OVERRIDES FOR WHITE HERO
   ---------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-panel {
    width: 320px;
    height: 380px;
  }

  .panel-card-stack {
    width: 240px;
    height: 175px;
  }
}

@media (max-width: 768px) {
  .hero-section--light .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--space-12);
  }

  .hero-visual--light {
    display: none;
  }

  .hero-badge--light,
  .hero-stats--light {
    margin-inline: auto;
  }

  .hero-subheading--dark {
    margin-inline: auto;
    max-width: 480px;
  }

  .hero-heading--dark {
    font-size: clamp(var(--fs-2xl), 9vw, var(--fs-4xl));
  }

  .hero-scroll-cue {
    display: none;
  }

  * {
    cursor: auto !important;
  }

  .custom-cursor,
  .custom-cursor-dot {
    display: none;
  }
}