/* ============================================================
   BEYOND THE SERP â common.css
   Shared design tokens, reset, typography, layout utilities,
   animations, shared components (buttons, cards, badges)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Mulish:wght@300;400;500;600;700;800;900&family=Space+Grotesk:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

/* âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
   1. DESIGN TOKENS
âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ */
:root {
  /* Surfaces */
  --background: #f3f5ff;
  --foreground: #1a0f3c;
  --surface: #ffffff;
  --surface-elevated: #eef0fc;
  --surface-muted: #e8eaf5;

  /* Brand */
  --primary: hsl(263, 73%, 52%);
  --primary-light: hsl(263, 90%, 68%);
  --primary-glow: hsl(263, 90%, 70%);
  --navy: hsl(263, 47%, 18%);
  --navy-deep: hsl(263, 50%, 10%);
  --muted-fg: hsl(263, 20%, 38%);

  /* Borders */
  --border: hsl(263, 25%, 88%);
  --border-strong: hsl(263, 40%, 78%);

  /* Shape */
  --radius: 0.875rem;

  /* Gradients */
  --gradient-brand: linear-gradient(135deg, hsl(263, 73%, 52%) 0%, hsl(263, 47%, 28%) 100%);
  --gradient-brand-soft: linear-gradient(135deg, hsl(263, 73%, 52%, 0.14) 0%, hsl(263, 47%, 28%, 0.04) 100%);
  --gradient-radial-glow: radial-gradient(60% 50% at 50% 0%, hsl(263, 73%, 52%, 0.18), transparent 70%);
  --gradient-text: linear-gradient(180deg, hsl(263, 50%, 12%) 0%, hsl(263, 73%, 45%) 100%);
  --gradient-card: linear-gradient(160deg, rgba(255, 255, 255, 0.92) 0%, rgba(238, 240, 252, 0.92) 100%);

  /* Shadows */
  --shadow-glow: 0 0 60px hsl(263, 73%, 52%, 0.25);
  --shadow-glow-soft: 0 0 80px hsl(263, 73%, 52%, 0.14);
  --shadow-elevated: 0 24px 60px -20px hsl(263, 50%, 20%, 0.18);
  --shadow-card: 0 12px 40px -16px hsl(263, 50%, 20%, 0.12);

  /* Easing */
  --ease-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}


/* âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
   2. RESET & BASE
âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Mulish', system-ui, sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  background-image:
    radial-gradient(60% 40% at 80% -10%, hsl(263, 73%, 52%, 0.10), transparent 60%),
    radial-gradient(40% 30% at 0% 30%, hsl(263, 73%, 52%, 0.06), transparent 60%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

::selection {
  background: hsl(263, 73%, 52%, 0.4);
  color: var(--foreground);
}

h1,
h2,
h3,
h4,
h5 {
  font-family: 'Space Grotesk', 'Mulish', sans-serif;
  letter-spacing: -0.02em;
  font-weight: 600;
  color: var(--foreground);
  line-height: 1.1;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--background);
}

::-webkit-scrollbar-thumb {
  background: var(--border-strong);
  border-radius: 8px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* Bootstrap container override */
.container,
.container-fluid,
.container-sm,
.container-md,
.container-lg,
.container-xl,
.container-xxl {
  max-width: 1320px;
  padding-left: clamp(24px, 5vw, 48px);
  padding-right: clamp(24px, 5vw, 48px);
}


/* âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
   3. TYPOGRAPHY HELPERS
âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ */
.font-display {
  font-family: 'Space Grotesk', 'Mulish', sans-serif !important;
  letter-spacing: -0.02em;
}

.font-body {
  font-family: 'Mulish', sans-serif !important;
}

.font-mono {
  font-family: 'JetBrains Mono', monospace !important;
}

/* Eyebrow / kicker label */
.eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--primary);
  opacity: 0.85;
  display: block;
}

/* Gradient text */
.text-gradient-brand {
  background: linear-gradient(135deg, hsl(263, 73%, 52%) 0%, hsl(263, 90%, 68%) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline;
}

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


/* âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
   4. LAYOUT
âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ */
.container-site {
  max-width: 1320px;
  margin: 0 auto;
  padding-left: clamp(24px, 5vw, 48px);
  padding-right: clamp(24px, 5vw, 48px);
}

/* Vertical rhythm shortcut */
.section-y {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

/* Page hero section shared layout */
.page-hero {
  position: relative;
  padding-top: 8rem;
  padding-bottom: 5rem;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-radial-glow);
  opacity: 0.5;
  pointer-events: none;
}


/* âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
   5. BACKGROUND UTILITIES
âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ */
.bg-grid {
  background-image:
    linear-gradient(hsl(263, 25%, 88%, 0.4) 1px, transparent 1px),
    linear-gradient(90deg, hsl(263, 25%, 88%, 0.4) 1px, transparent 1px);
  background-size: 56px 56px;
}

.bg-grid-fade {
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black 30%, transparent 80%);
}

.glow-orb {
  position: absolute;
  border-radius: 9999px;
  filter: blur(80px);
  pointer-events: none;
}

.divider-glow {
  height: 1px;
  background: linear-gradient(90deg, transparent, hsl(263, 73%, 52%, 0.6), transparent);
  margin: 48px 0 32px;
}


/* âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
   6. SCROLL PROGRESS BAR
âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 100%;
  transform-origin: 0 50%;
  transform: scaleX(var(--scroll-progress, 0));
  background: linear-gradient(90deg, var(--primary), var(--primary-glow));
  z-index: 9999;
  pointer-events: none;
  box-shadow: 0 0 12px hsl(263, 73%, 52%, 0.6);
}


/* âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
   7. BUTTONS
âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ */
.btn-hero {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 9999px;
  font-family: 'Mulish', sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  background: var(--gradient-brand);
  color: #fff;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s var(--ease-quart);
  box-shadow: 0 4px 20px hsl(263, 73%, 52%, 0.35);
  white-space: nowrap;
}

.btn-hero:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 30px hsl(263, 73%, 52%, 0.5);
}

.btn-hero-lg {
  padding: 14px 28px;
  font-size: 1rem;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 9999px;
  font-family: 'Mulish', sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  background: transparent;
  color: var(--foreground);
  border: 1px solid var(--border-strong);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s var(--ease-quart);
}

.btn-outline:hover {
  color: var(--foreground);
  background: var(--surface-elevated);
  border-color: var(--primary);
}

.btn-outline-lg {
  padding: 14px 28px;
  font-size: 1rem;
}


/* âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
   8. SHARED LINK STYLES
âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  transition: gap 0.2s;
}

.link-arrow:hover {
  gap: 12px;
  color: var(--primary);
}

.link-arrow-sm {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
}


/* âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
   9. CARD VARIANTS
âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ */

/* Glass / backdrop card */
.card-glass {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-card);
  border-radius: var(--radius);
}

/* Testimonial card */
.testimonial-card {
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
}

.testimonial-card .quote-icon {
  color: var(--primary);
  margin-bottom: 20px;
}

.testimonial-card blockquote {
  font-size: 0.95rem;
  color: hsl(263, 50%, 12%, 0.8);
  line-height: 1.7;
  flex: 1;
  margin: 0 0 24px;
}

.testimonial-card figcaption {
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.testimonial-card .author-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
}

.testimonial-card .author-role {
  font-size: 0.825rem;
  color: hsl(263, 50%, 12%, 0.55);
  margin-top: 4px;
}

/* CTA dark block */
.cta-block {
  border-radius: var(--radius);
  border: 1px solid hsl(263, 40%, 35%);
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 60%, hsl(263, 50%, 14%) 100%);
  padding: clamp(40px, 8vw, 96px);
  position: relative;
  overflow: hidden;
  color: #fff;
}

.cta-block::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(hsl(263, 25%, 88%, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, hsl(263, 25%, 88%, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black 30%, transparent 80%);
  pointer-events: none;
}

.cta-block .orb-1 {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: hsl(263, 73%, 52%, 0.3);
  filter: blur(120px);
  top: -200px;
  right: -150px;
  pointer-events: none;
}

.cta-block .orb-2 {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: hsl(263, 73%, 52%, 0.2);
  filter: blur(120px);
  bottom: -120px;
  left: -100px;
  pointer-events: none;
}

.cta-block .eyebrow {
  color: hsl(263, 73%, 80%, 0.6);
  margin-bottom: 20px;
}

.cta-block h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.2rem, 6vw, 4.5rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.025em;
  line-height: 1;
  margin-bottom: 28px;
}

.cta-block p {
  color: hsl(0, 0%, 100%, 0.7);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 560px;
  margin-bottom: 40px;
}

.cta-block .btn-outline {
  color: #fff;
  border-color: hsl(0, 0%, 100%, 0.3);
}

.cta-block .btn-outline:hover {
  background: hsl(0, 0%, 100%, 0.1);
  border-color: hsl(0, 0%, 100%, 0.5);
  color: #fff;
}


/* âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
   10. MARQUEE STRIP
âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ */
.marquee-wrap {
  overflow: hidden;
  position: relative;
}

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

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

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

.marquee-track {
  animation: marquee 40s linear infinite;
  width: max-content;
  padding: 0 32px;
}


/* âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
   11. FLOATING ORBS ANIMATION
âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ */
.float-slow {
  animation: float 9s ease-in-out infinite;
}

.float-slower {
  animation: float 14s ease-in-out infinite;
}


/* âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
   12. SCROLL REVEAL ANIMATIONS
âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s var(--ease-quart), transform 0.9s var(--ease-quart);
  will-change: opacity, transform;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-48px);
  transition: opacity 0.9s var(--ease-quart), transform 0.9s var(--ease-quart);
}

.reveal-left.in-view {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(48px);
  transition: opacity 0.9s var(--ease-quart), transform 0.9s var(--ease-quart);
}

.reveal-right.in-view {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.94);
  transition: opacity 0.9s var(--ease-quart), transform 0.9s var(--ease-quart);
}

.reveal-scale.in-view {
  opacity: 1;
  transform: scale(1);
}

/* Stagger delays */
.reveal-d1 {
  transition-delay: 0.08s;
}

.reveal-d2 {
  transition-delay: 0.16s;
}

.reveal-d3 {
  transition-delay: 0.24s;
}

.reveal-d4 {
  transition-delay: 0.32s;
}

.reveal-d5 {
  transition-delay: 0.40s;
}

.reveal-d6 {
  transition-delay: 0.48s;
}


/* âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
   13. KEYFRAMES
âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ */
@keyframes ping {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }

  100% {
    transform: scale(2.2);
    opacity: 0;
  }
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0) translateX(0);
  }

  50% {
    transform: translateY(-22px) translateX(10px);
  }
}


/* âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
   14. RESPONSIVE UTILITIES
âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ */
@media (max-width: 767px) {
  .cta-block {
    padding: 36px 24px;
  }
}

@media (prefers-reduced-motion: reduce) {

  .reveal,
  .reveal-left,
  .reveal-right,
  .reveal-scale {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .float-slow,
  .float-slower {
    animation: none !important;
  }

  [data-parallax] {
    transform: none !important;
  }
}

/* ============================================================
   BEYOND THE SERP â header.css
   Sticky header, logo, desktop nav, mobile nav toggle,
   mobile slide-out menu
   ============================================================ */

/* âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
   HEADER WRAPPER
âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: all 0.5s var(--ease-quart);
}

.site-header.scrolled {
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: hsl(243, 100%, 98%, 0.7);
  border-bottom: 1px solid hsl(263, 25%, 88%, 0.6);
}


/* âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
   INNER ROW
âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ */
.site-header .inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 48px);
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: height 0.5s var(--ease-quart);
  position: relative;
  z-index: 2;
  /* stays above .mobile-menu (z:1) within header's stacking context */
}

.site-header.scrolled .inner {
  height: 76px;
}


/* âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
   LOGO
âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ */
.site-logo img {
  height: 64px;
  width: auto;
  transition: height 0.5s var(--ease-quart);
  display: block;
}

.site-header.scrolled .site-logo img {
  height: 40px;
}

@media (max-width: 767px) {
  .site-logo img {
    height: 56px;
  }
}

/* âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
   DESKTOP NAV
âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ */
.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  position: relative;
  padding: 8px 16px;
  font-family: 'Mulish', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(263, 50%, 12%, 0.6);
  text-decoration: none;
  transition: color 0.2s;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--foreground);
}

/* Active indicator underline */
.site-nav a.active::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 2px;
  background: var(--primary);
  box-shadow: 0 0 10px var(--primary);
}

/* CTA button in header */
.nav-cta {
  display: flex;
  align-items: center;
}


/* âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
   MOBILE TOGGLE BUTTON
âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: transparent;
  cursor: pointer;
  color: var(--foreground);
  transition: border-color 0.2s, background 0.2s;
}

.nav-toggle:hover {
  border-color: var(--primary);
  background: hsl(263, 73%, 52%, 0.06);
}

.nav-toggle svg {
  display: block;
}


/* âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
   MOBILE MENU (FULL-SCREEN OVERLAY)
âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ */
.mobile-menu {
  display: flex;
  /* always flex â visibility/opacity controls show/hide */
  flex-direction: column;
  gap: 2px;
  position: fixed;
  inset: 0;
  /* true full-screen â no top/bottom calculation */
  padding: clamp(24px, 5vw, 48px);
  padding-top: 96px;
  /* push content below default desktop header (96px) */
  overflow-y: auto;
  background: hsl(243, 100%, 98%, 0.99);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 1;
  /* below .inner (z:2) within header stacking context */
  /* Hidden state */
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition:
    opacity 0.28s var(--ease-quart),
    transform 0.28s var(--ease-quart),
    visibility 0s 0.28s;
}

.mobile-menu.open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  transition:
    opacity 0.28s var(--ease-quart),
    transform 0.28s var(--ease-quart);
}

.mobile-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--foreground);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}

.mobile-menu a:hover,
.mobile-menu a.active {
  color: var(--primary);
}

/* CTA button inside mobile menu â resets .mobile-menu a bleed-in */
.mobile-menu .btn-hero {
  display: inline-flex;
  width: 100%;
  margin-top: 20px;
  padding: 14px 28px;
  border-radius: 9999px;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  border-bottom: none;
  white-space: normal;
  text-align: center;
}

.mobile-menu .btn-hero:hover {
  color: #fff;
}


/* âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
   RESPONSIVE BREAKPOINTS
âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ */
@media (max-width: 1023px) {
  .site-nav {
    display: none;
  }

  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }
}

@media (max-width: 767px) {
  .site-header .inner {
    height: 72px;
  }

  .site-header.scrolled .inner {
    height: 60px;
  }

  .mobile-menu {
    padding-top: 72px;
  }

  /* below default mobile header (72px) */
}

/* ============================================================
   BEYOND THE SERP â footer.css
   Site footer: brand column, link columns, divider, bottom bar
   ============================================================ */

/* âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
   FOOTER WRAPPER
âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--background);
  position: relative;
  overflow: hidden;
}

/* Subtle top glow */
.site-footer::before {
  content: '';
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 200px;
  background: hsl(263, 73%, 52%, 0.1);
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}


/* âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
   INNER CONTAINER
âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ */
.site-footer .footer-inner {
  position: relative;
  max-width: 1320px;
  margin: 0 auto;
  padding:
    clamp(60px, 7vw, 100px) clamp(24px, 5vw, 48px) clamp(32px, 5vw, 48px);
}


/* âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
   BRAND COLUMN â "Book a Discovery Call" CTA link
âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ */
.footer-book-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  margin-top: 28px;
}

.footer-book-link span.label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 600;
  color: var(--foreground);
  transition: color 0.2s;
}

.footer-book-link:hover span.label {
  color: var(--primary);
}

.footer-book-link .arrow-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1rem;
  transition: transform 0.25s var(--ease-spring);
  flex-shrink: 0;
}

.footer-book-link:hover .arrow-circle {
  transform: rotate(45deg);
}

/* Footer brand column â logo image */
.footer-logo {
  height: 44px;
  width: auto;
  display: block;
}

/* Footer brand column â tagline paragraph */
.footer-desc {
  margin-top: 20px;
  max-width: 360px;
  color: hsl(263, 50%, 12%, 0.65);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Email link below book CTA */
.footer-email-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-size: 0.875rem;
  color: hsl(263, 50%, 12%, 0.6);
  text-decoration: none;
  transition: color 0.2s;
}

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


/* âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
   LINK COLUMNS
âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ */
.footer-col-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: hsl(263, 73%, 52%, 0.8);
  display: block;
  font-weight: 600;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.875rem;
  color: hsl(263, 50%, 12%, 0.7);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--foreground);
}


/* âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
   BOTTOM BAR
âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ */
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 40px;
}

.footer-copy {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  color: hsl(263, 50%, 12%, 0.5);
}


/* âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
   RESPONSIVE
âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ */
@media (max-width: 767px) {
  .footer-book-link span.label {
    font-size: 1.3rem;
  }
}

/* âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
   COMPONENT STYLES â used across multiple page templates
   (Must be in common.css so they load on every page)
ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ */

/* ââ Service Cards (home + services archive) ââ */
.service-card {
  background: var(--background);
  padding: 28px;
  text-decoration: none;
  color: var(--foreground);
  transition: background-color 0.4s;
  display: flex;
  flex-direction: column;
  position: relative;
  min-height: 220px;
}

.service-card.highlighted {
  background: #fff;
}

.service-card:hover {
  background: var(--surface-elevated);
  color: var(--foreground);
}

.service-card .card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}

.service-card .icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: hsl(263, 73%, 52%, 0.1);
  color: var(--primary);
  display: grid;
  place-items: center;
  transition: background 0.2s, color 0.2s;
}

.service-card:hover .icon-wrap {
  background: var(--primary);
  color: #fff;
}

.service-card .card-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  color: hsl(263, 50%, 12%, 0.4);
}

.service-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0 0 8px;
  line-height: 1.25;
  transition: color 0.2s;
}

.service-card:hover h3 { color: var(--primary); }

.service-card p {
  font-size: 0.875rem;
  color: hsl(263, 50%, 12%, 0.6);
  line-height: 1.6;
  margin: 0;
  flex: 1;
}

.service-card .learn-more {
  margin-top: 20px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  color: hsl(263, 50%, 12%, 0.5);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
}

.service-card:hover .learn-more { color: var(--primary); }

/* Flagship badge â used on service cards */
.flagship-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary);
  padding: 3px 9px;
  border-radius: 9999px;
  border: 1px solid hsl(263, 73%, 52%, 0.4);
  background: hsl(263, 73%, 52%, 0.1);
}

/* ââ Case Study Cards (home + case studies archive) ââ */
.case-card {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: hsl(243, 100%, 97%, 0.4);
  overflow: hidden;
  text-decoration: none;
  color: var(--foreground);
  display: flex;
  flex-direction: column;
  transition: border-color 0.4s, transform 0.4s var(--ease-quart);
}

.case-card:hover {
  border-color: hsl(263, 73%, 52%, 0.4);
  transform: translateY(-4px);
  color: var(--foreground);
}

.case-card .case-img {
  aspect-ratio: 4/3;
  overflow: hidden;
  position: relative;
}

.case-card .case-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-quart);
  display: block;
}

.case-card:hover .case-img img { transform: scale(1.05); }

.case-card .case-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, hsl(243, 100%, 98%, 0.5) 0%, transparent 60%);
}

.case-card .case-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.case-card .case-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.case-card .case-industry {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: hsl(263, 73%, 52%, 0.8);
}

.case-card .case-arrow {
  color: hsl(263, 50%, 12%, 0.4);
  font-size: 1.1rem;
  transition: color 0.2s, transform 0.2s;
}

.case-card:hover .case-arrow {
  color: var(--primary);
  transform: rotate(45deg);
}

.case-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 16px;
  transition: color 0.2s;
}

.case-card:hover h3 { color: var(--primary); }

.case-card .case-results {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  margin-top: auto;
}

.case-card .result-val {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  background: linear-gradient(135deg, hsl(263, 73%, 52%) 0%, hsl(263, 90%, 68%) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}

.case-card .result-label {
  font-size: 0.72rem;
  color: hsl(263, 50%, 12%, 0.5);
  margin-top: 4px;
  max-width: 140px;
  line-height: 1.4;
}

/* âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
   SHARED UTILITIES â used across service + case-study pages
âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ */

/* Separator dot (breadcrumb, meta rows) */
.sep {
  opacity: 0.35;
}

/* Breadcrumb nav â shared by single-bts_service.php + single-bts_case_study.php */
.svc-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  color: hsl(263, 50%, 12%, 0.45);
  margin-bottom: 28px;
}
.svc-breadcrumb a {
  color: hsl(263, 50%, 12%, 0.45);
  text-decoration: none;
  transition: color 0.2s;
}
.svc-breadcrumb a:hover {
  color: var(--primary);
}

/* wysiwyg body content (case study body) */
.wysiwyg h2 { font-size: clamp(1.4rem, 2.5vw, 2rem); margin: 32px 0 16px; }
.wysiwyg h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); font-family: 'Space Grotesk', sans-serif; margin: 24px 0 12px; }
.wysiwyg p  { font-size: 1.05rem; color: hsl(263, 50%, 12%, 0.75); line-height: 1.8; margin-bottom: 16px; }
.wysiwyg ul, .wysiwyg ol { padding-left: 24px; margin-bottom: 16px; }
.wysiwyg li { font-size: 1rem; color: hsl(263, 50%, 12%, 0.75); line-height: 1.75; margin-bottom: 6px; }
.wysiwyg strong { color: var(--foreground); font-weight: 600; }

/* âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
   LEGAL PAGES (Privacy Policy, Terms)
âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ */
.legal-hero {
  max-width: 720px;
}

.legal-content {
  max-width: 720px;
  margin: 0 auto;
}

.legal-content h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 600;
  margin: 40px 0 14px;
  padding-top: 4px;
  border-top: 1px solid var(--border);
}

.legal-content p {
  font-size: 1rem;
  color: hsl(263, 50%, 12%, 0.72);
  line-height: 1.8;
  margin-bottom: 16px;
}

.legal-content ul,
.legal-content ol {
  padding-left: 24px;
  margin-bottom: 16px;
}

.legal-content li {
  font-size: 1rem;
  color: hsl(263, 50%, 12%, 0.72);
  line-height: 1.75;
  margin-bottom: 6px;
}

.legal-content strong { color: var(--foreground); font-weight: 600; }
.legal-content a { color: var(--primary); }


/* ââ Legal pages hero + section (new template classes) âââââââ */
.legal-hero-eyebrow {
  display: block;
  margin-bottom: 1rem;
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.legal-hero-heading {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--foreground);
  line-height: 1.15;
  margin: 0 0 1rem;
}
.legal-hero-date {
  font-size: 0.875rem;
  color: var(--muted-fg);
  margin: 0;
}
.legal-content-section {
  padding: 3rem 0 5rem;
}


/* âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
   FOUNDER IMAGE CARD â shared across home & about templates
   Template uses: class="founder-img-wrap"
                  class="founder-img-overlay"
                  class="founder-caption"
âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ */
.founder-img-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-elevated);
  aspect-ratio: 3 / 4;
}

.founder-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.founder-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--background) 0%, transparent 50%);
}

.founder-caption {
  position: absolute;
  bottom: 20px;
  left: 20px;
}

.founder-caption .eyebrow {
  margin-bottom: 4px;
}

.founder-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
}

.founder-agency {
  font-size: 0.875rem;
  color: hsl(263, 50%, 12%, 0.7);
}

