/* ============================================
   GROWWWDIGI — DESIGN SYSTEM & GLOBAL STYLES
   ============================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* --- CSS Custom Properties --- */
:root {
  /* Colors */
  --black: #0A0A0A;
  --off-white: #F7F7F2;
  --white: #FFFFFF;
  --lime: #f5da42;
  --grey: #A5A5A5;
  --grey-light: #E5E5E5;
  --grey-dark: #1A1A1A;
  --grey-medium: #2A2A2A;
  --text-primary: #0A0A0A;
  --text-secondary: #555555;
  --text-inverse: #F7F7F2;

  /* Typography */
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  /* Font Sizes */
  --text-xs: clamp(0.7rem, 0.8vw, 0.75rem);
  --text-sm: clamp(0.8rem, 0.9vw, 0.875rem);
  --text-base: clamp(0.9rem, 1vw, 1rem);
  --text-lg: clamp(1rem, 1.2vw, 1.125rem);
  --text-xl: clamp(1.1rem, 1.4vw, 1.25rem);
  --text-2xl: clamp(1.3rem, 1.8vw, 1.5rem);
  --text-3xl: clamp(1.6rem, 2.2vw, 1.875rem);
  --text-4xl: clamp(2rem, 3vw, 2.5rem);
  --text-5xl: clamp(2.5rem, 4vw, 3.5rem);
  --text-6xl: clamp(3rem, 5vw, 4.5rem);
  --text-7xl: clamp(3.5rem, 6vw, 6rem);
  --text-8xl: clamp(4rem, 8vw, 8rem);

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;
  --space-6xl: 10rem;

  /* Layout */
  --max-width: 1280px;
  --max-width-narrow: 900px;
  --gutter: clamp(1.5rem, 4vw, 3rem);

  /* Border */
  --border: 1px solid rgba(10,10,10,0.08);
  --border-light: 1px solid rgba(255,255,255,0.08);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --duration: 0.4s;
  --duration-fast: 0.2s;
  --duration-slow: 0.6s;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
}

/* --- Reset --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--white);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--duration-fast) var(--ease);
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
}

ul, ol {
  list-style: none;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
  background: none;
}

/* --- Utility Classes --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.container--narrow {
  max-width: var(--max-width-narrow);
}

.section {
  padding: var(--space-5xl) 0;
}

.section--dark {
  background-color: var(--black);
  color: var(--text-inverse);
}

.section--light {
  background-color: var(--off-white);
}

.section--compact {
  padding: var(--space-3xl) 0;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

h1 { font-size: var(--text-7xl); }
h2 { font-size: var(--text-6xl); }
h3 { font-size: var(--text-4xl); }
h4 { font-size: var(--text-3xl); }
h5 { font-size: var(--text-2xl); }
h6 { font-size: var(--text-xl); }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: var(--space-lg);
}

.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--lime);
}

.section-heading {
  font-size: var(--text-6xl);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-xl);
}

.section-heading .accent {
  color: var(--lime);
}

.text-lg {
  font-size: var(--text-lg);
  line-height: 1.7;
  color: var(--text-secondary);
}

.text-xl {
  font-size: var(--text-xl);
  line-height: 1.7;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--text-sm);
  letter-spacing: 0.02em;
  padding: 1rem 2rem;
  border-radius: var(--radius-full);
  transition: all var(--duration) var(--ease);
  white-space: nowrap;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn .arrow {
  transition: transform var(--duration) var(--ease);
  display: inline-block;
}

.btn:hover .arrow {
  transform: translateX(4px);
}

.btn--primary {
  background: var(--black);
  color: var(--white);
  border: 1px solid var(--black);
}

.btn--primary:hover {
  background: var(--grey-dark);
  border-color: var(--grey-dark);
}

.btn--lime {
  background: var(--lime);
  color: var(--black);
  border: 1px solid var(--lime);
}

.btn--lime:hover {
  background: #d6bb2d;
  border-color: #d6bb2d;
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(245,218,66,0.3);
}

.btn--outline {
  background: transparent;
  color: var(--black);
  border: 1px solid var(--black);
}

.btn--outline:hover {
  background: var(--black);
  color: var(--white);
}

.btn--white {
  background: var(--white);
  color: var(--black);
  border: 1px solid var(--white);
}

.btn--white:hover {
  background: var(--off-white);
  border-color: var(--off-white);
}

.btn--outline-white {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.3);
}

.btn--outline-white:hover {
  background: var(--white);
  color: var(--black);
}

.btn--lg {
  padding: 1.2rem 2.5rem;
  font-size: var(--text-base);
}

.btn--sm {
  padding: 0.7rem 1.4rem;
  font-size: var(--text-xs);
}

/* --- Grid Layouts --- */
.grid {
  display: grid;
  gap: var(--space-xl);
}

.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* --- Cards --- */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--duration) var(--ease);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card-border {
  border: 1px solid var(--grey-light);
  border-radius: var(--radius-lg);
  transition: all var(--duration) var(--ease);
}

.card-border:hover {
  border-color: var(--lime);
  box-shadow: 0 0 0 1px var(--lime);
}

/* --- Badge --- */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.8rem;
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  background: var(--off-white);
  color: var(--text-secondary);
}

.badge--lime {
  background: rgba(245,218,66,0.15);
  color: var(--black);
}

/* --- Divider --- */
.divider {
  width: 100%;
  height: 1px;
  background: var(--grey-light);
  border: none;
  margin: var(--space-3xl) 0;
}

.divider--dark {
  background: rgba(255,255,255,0.08);
}

/* --- Animated Reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ============================================
   HEADER
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: all var(--duration) var(--ease);
  background: transparent;
}

.header.scrolled {
  padding: 0.8rem 0;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: var(--border);
}

.header--dark {
  color: var(--white);
}

.header--dark.scrolled {
  background: rgba(10,10,10,0.95);
  border-bottom-color: rgba(255,255,255,0.08);
}

/* Fallback: Ensure header is visible on any page with a dark page-hero */
body:has(.page-hero) .header:not(.scrolled),
body:has(.hero--dark) .header:not(.scrolled) {
  color: var(--white);
}

body:has(.page-hero) .header:not(.scrolled) .hamburger span,
body:has(.hero--dark) .header:not(.scrolled) .hamburger span {
  background: var(--white);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__logo {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: var(--text-xl);
  letter-spacing: -0.03em;
  z-index: 1001;
}

.header__logo .dot {
  color: var(--lime);
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.header__nav a {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.01em;
  position: relative;
  padding: 0.25rem 0;
}

.header__nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--lime);
  transition: width var(--duration) var(--ease);
}

.header__nav a:hover::after,
.header__nav a.active::after {
  width: 100%;
}

.header__cta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  z-index: 1001;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--black);
  transition: all var(--duration) var(--ease);
  border-radius: 2px;
}

.header--dark .hamburger span {
  background: var(--white);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--black);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: all var(--duration) var(--ease);
}

.mobile-nav.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav > a {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 7vw, 3.2rem);
  font-weight: 700;
  color: var(--white);
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--duration) var(--ease);
}

.mobile-nav.active > a {
  opacity: 1;
  transform: translateY(0);
}

.mobile-nav > a:nth-child(1) { transition-delay: 0.1s; }
.mobile-nav > a:nth-child(2) { transition-delay: 0.15s; }
.mobile-nav > a:nth-child(3) { transition-delay: 0.2s; }
.mobile-nav > a:nth-child(4) { transition-delay: 0.25s; }
.mobile-nav > a:nth-child(5) { transition-delay: 0.3s; }
.mobile-nav > a:nth-child(6) { transition-delay: 0.35s; }

.mobile-nav > a:hover {
  color: var(--lime);
}

.mobile-nav__cta {
  width: min(100%, 22rem);
  margin-top: 1.5rem;
  padding: 0;
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--duration) var(--ease);
  transition-delay: 0.5s;
}

.mobile-nav.active .mobile-nav__cta {
  opacity: 1;
  transform: translateY(0);
}

.mobile-nav__cta .btn,
.mobile-nav__cta .btn:hover {
  display: flex;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  justify-content: center;
  align-items: center;
  gap: 0.4rem;
  padding: 0.9rem 1.1rem;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0;
  white-space: nowrap;
  color: var(--black);
  overflow: hidden;
}

@media (max-width: 360px) {
  .mobile-nav__cta .btn {
    white-space: normal;
  }
}

/* ============================================
   HERO
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--white);
}

.hero--dark {
  background: var(--black);
  color: var(--white);
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  align-items: center;
  gap: var(--space-2xl);
  min-height: 100vh;
  width: 100%;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding-top: 7rem;
  padding-bottom: 4rem;
  min-width: 0;
}

.hero__buttons {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero__label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: var(--space-xl);
}

.hero__label .dot {
  width: 6px;
  height: 6px;
  background: var(--lime);
  border-radius: 50%;
}

.hero h1 {
  font-size: var(--text-8xl);
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin-bottom: var(--space-xl);
}

.hero h1 .line {
  display: block;
}

.hero h1 .accent {
  color: var(--lime);
}

.hero__text {
  font-size: var(--text-lg);
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 560px;
  margin-bottom: var(--space-2xl);
}

.hero--dark .hero__text {
  color: var(--grey);
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero__visual {
  position: relative;
  right: auto;
  top: auto;
  transform: none;
  width: 100%;
  height: 520px;
  z-index: 1;
  pointer-events: none;
  min-width: 0;
  overflow: hidden;
}

/* ============================================
   TRUST STRIP
   ============================================ */
.trust-strip {
  padding: var(--space-4xl) 0;
  background: var(--black);
  color: var(--white);
  text-align: center;
}

.trust-strip__statement {
  font-family: var(--font-heading);
  font-size: var(--text-5xl);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: var(--space-xl);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.trust-strip__text {
  font-size: var(--text-lg);
  color: var(--grey);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.service-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--space-2xl);
  padding: var(--space-2xl) 0;
  border-bottom: 1px solid var(--grey-light);
  transition: all var(--duration) var(--ease);
  cursor: pointer;
}

.service-card:first-child {
  border-top: 1px solid var(--grey-light);
}

.service-card:hover {
  padding-left: var(--space-lg);
}

.service-card:hover .service-card__number {
  color: var(--lime);
}

.service-card:hover .service-card__link {
  opacity: 1;
  transform: translateX(0);
}

.service-card__number {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--grey);
  min-width: 30px;
  transition: color var(--duration) var(--ease);
}

.service-card__info h3 {
  font-size: var(--text-3xl);
  margin-bottom: 0.5rem;
}

.service-card__info p {
  font-size: var(--text-base);
  color: var(--text-secondary);
  max-width: 500px;
}

.service-card__link {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.5;
  transform: translateX(-10px);
  transition: all var(--duration) var(--ease);
}

.service-card__link .arrow {
  transition: transform var(--duration) var(--ease);
}

.service-card:hover .service-card__link .arrow {
  transform: translateX(4px);
}

/* ============================================
   DIFFERENTIATOR / PROCESS SECTION
   ============================================ */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, var(--lime), rgba(245,218,66,0.2));
  z-index: 0;
}

.process-step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.process-step__number {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--black);
  color: var(--lime);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 700;
  margin: 0 auto var(--space-lg);
  border: 2px solid var(--lime);
}

.process-step h4 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-sm);
}

.process-step p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============================================
   CASE STUDY CARDS
   ============================================ */
.case-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--grey-light);
  transition: all var(--duration) var(--ease);
  display: flex;
  flex-direction: column;
}

.case-card:hover {
  border-color: var(--lime);
  box-shadow: 0 0 0 1px var(--lime);
  transform: translateY(-4px);
}

.case-card__image {
  aspect-ratio: 16/10;
  background: var(--off-white);
  overflow: hidden;
  position: relative;
}

.case-card__image img,
.case-card__image .placeholder-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease);
}

.case-card:hover .case-card__image img,
.case-card:hover .case-card__image .placeholder-img {
  transform: scale(1.05);
}

.placeholder-img {
  background: linear-gradient(135deg, var(--grey-light), var(--grey-medium));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  font-weight: 700;
  color: var(--white);
}

.case-card__body {
  padding: var(--space-xl);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.case-card__meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: var(--space-md);
}

.case-card__body h3 {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-sm);
  line-height: 1.2;
}

.case-card__body p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.6;
  flex: 1;
}

.case-card__footer {
  padding: var(--space-lg) var(--space-xl);
  border-top: var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.case-card__footer .btn {
  font-size: var(--text-xs);
}

/* ============================================
   INDUSTRY CARDS
   ============================================ */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-md);
}

.industry-card {
  aspect-ratio: 1;
  border: 1px solid var(--grey-light);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-lg);
  transition: all var(--duration) var(--ease);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.industry-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--black);
  opacity: 0;
  transition: opacity var(--duration) var(--ease);
}

.industry-card:hover::before {
  opacity: 1;
}

.industry-card:hover {
  border-color: var(--black);
}

.industry-card__icon {
  font-size: 2rem;
  margin-bottom: var(--space-sm);
  position: relative;
  z-index: 1;
  transition: transform var(--duration) var(--ease);
}

.industry-card:hover .industry-card__icon {
  transform: scale(1.15);
}

.industry-card__name {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 600;
  position: relative;
  z-index: 1;
  transition: color var(--duration) var(--ease);
}

.industry-card:hover .industry-card__name {
  color: var(--white);
}

.industry-card__details {
  position: absolute;
  inset: 0;
  background: var(--black);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  transform: scale(0.95);
  transition: all var(--duration) var(--ease);
}

.industry-card:hover .industry-card__details {
  opacity: 1;
  transform: scale(1);
}

.industry-card__details h4 {
  font-size: var(--text-lg);
  color: var(--white);
  margin-bottom: var(--space-sm);
}

.industry-card__details p {
  font-size: var(--text-xs);
  color: var(--grey);
  line-height: 1.5;
}

/* ============================================
   PROCESS / TIMELINE
   ============================================ */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.timeline-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: var(--space-2xl);
  padding: var(--space-2xl) 0;
  border-bottom: 1px solid var(--grey-light);
  transition: all var(--duration) var(--ease);
}

.timeline-item:first-child {
  border-top: 1px solid var(--grey-light);
}

.timeline-item:hover {
  padding-left: var(--space-md);
}

.timeline-item__number {
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  font-weight: 700;
  color: var(--grey-light);
  transition: color var(--duration) var(--ease);
}

.timeline-item:hover .timeline-item__number {
  color: var(--lime);
}

.timeline-item__content h3 {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-sm);
}

.timeline-item__content p {
  font-size: var(--text-base);
  color: var(--text-secondary);
  max-width: 500px;
}

/* ============================================
   TESTIMONIAL
   ============================================ */
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--grey-light);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--duration) var(--ease);
}

.testimonial-card:hover {
  border-color: var(--lime);
}

.testimonial-card__quote {
  font-size: var(--text-lg);
  line-height: 1.7;
  margin-bottom: var(--space-xl);
  color: var(--text-primary);
  font-style: italic;
}

.testimonial-card__quote::before {
  content: '"';
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  font-weight: 700;
  color: var(--lime);
  line-height: 0;
  position: relative;
  top: 10px;
  margin-right: 4px;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.testimonial-card__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--off-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

.testimonial-card__name {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--text-sm);
}

.testimonial-card__role {
  font-size: var(--text-xs);
  color: var(--grey);
}

/* ============================================
   FAQ ACCORDION
   ============================================ */
.faq-item {
  border-bottom: 1px solid var(--grey-light);
}

.faq-item__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-xl) 0;
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: color var(--duration-fast) var(--ease);
}

.faq-item__question:hover {
  color: var(--lime);
}

.faq-item__icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--grey-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--duration) var(--ease);
}

.faq-item__icon svg {
  width: 14px;
  height: 14px;
  transition: transform var(--duration) var(--ease);
}

.faq-item.active .faq-item__icon {
  background: var(--lime);
  border-color: var(--lime);
}

.faq-item.active .faq-item__icon svg {
  transform: rotate(45deg);
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--duration) var(--ease), padding var(--duration) var(--ease);
}

.faq-item.active .faq-item__answer {
  max-height: 300px;
  padding-bottom: var(--space-xl);
}

.faq-item__answer p {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 700px;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  padding: var(--space-5xl) 0;
  background: var(--black);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(245,218,66,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.cta-section h2 {
  font-size: var(--text-6xl);
  margin-bottom: var(--space-xl);
  position: relative;
}

.cta-section p {
  font-size: var(--text-lg);
  color: var(--grey);
  max-width: 500px;
  margin: 0 auto var(--space-2xl);
  position: relative;
}

.cta-section .btn {
  position: relative;
}

/* ============================================
   FORMS
   ============================================ */
.form-group {
  margin-bottom: var(--space-lg);
}

.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: var(--space-sm);
  color: var(--text-primary);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.9rem 1.2rem;
  border: 1px solid var(--grey-light);
  border-radius: var(--radius-md);
  font-size: var(--text-base);
  background: var(--white);
  transition: border-color var(--duration-fast) var(--ease), box-shadow var(--duration-fast) var(--ease);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--lime);
  box-shadow: 0 0 0 3px rgba(245,218,66,0.1);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-alert {
  margin-bottom: var(--space-lg);
  padding: 1rem 1.2rem;
  border-radius: var(--radius-md);
  font-size: var(--text-base);
}
.form-alert--success {
  background: rgba(184, 255, 0, 0.15);
  border: 1px solid var(--lime);
}
.form-alert--error {
  background: #fff1f1;
  border: 1px solid #e05a5a;
  color: #8a1f1f;
}
.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

/* ============================================
   BLOG CARD
   ============================================ */
.blog-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--grey-light);
  transition: all var(--duration) var(--ease);
}

.blog-card:hover {
  border-color: var(--lime);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.blog-card__image {
  aspect-ratio: 16/9;
  background: var(--off-white);
  overflow: hidden;
}

.blog-card__image .placeholder-img {
  width: 100%;
  height: 100%;
}

.blog-card__body {
  padding: var(--space-xl);
}

.blog-card__meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: var(--space-md);
}

.blog-card__body h3 {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-sm);
  line-height: 1.2;
}

.blog-card__body p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-md);
}

.blog-card__footer {
  font-size: var(--text-xs);
  color: var(--grey);
}

/* ============================================
   PAGE HERO (for inner pages)
   ============================================ */
.page-hero {
  padding: 10rem 0 var(--space-5xl);
  background: var(--black);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(245,218,66,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero h1 {
  font-size: var(--text-7xl);
  max-width: 800px;
}

.page-hero .hero__text,
.page-hero .text-lg,
.page-hero__text {
  margin-top: var(--space-xl);
  color: rgba(255, 255, 255, 0.82);
}

.page-hero .hero__actions {
  margin-top: var(--space-2xl);
}

.page-hero .hero__actions .btn--primary {
  background: var(--lime);
  color: var(--black);
  border-color: var(--lime);
}

.page-hero .hero__actions .btn--primary:hover {
  background: #d6bb2d;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--black);
  color: var(--white);
  padding: var(--space-5xl) 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: var(--space-3xl);
  padding-bottom: var(--space-4xl);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer__brand {
  max-width: 300px;
}

.footer__logo {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: var(--text-2xl);
  letter-spacing: -0.03em;
  margin-bottom: var(--space-md);
}

.footer__tagline {
  font-size: var(--text-sm);
  color: var(--grey);
  margin-bottom: var(--space-xl);
  line-height: 1.6;
}

.footer__socials {
  display: flex;
  gap: var(--space-md);
}

.footer__socials a {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-sm);
  transition: all var(--duration) var(--ease);
}

.footer__socials a:hover {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--black);
}

.footer__col h4 {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: var(--space-xl);
}

.footer__col ul li {
  margin-bottom: var(--space-sm);
}

.footer__col ul li a {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.7);
  transition: color var(--duration-fast) var(--ease);
}

.footer__col ul li a:hover {
  color: var(--lime);
}

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.7);
}

.footer__contact-item .icon {
  color: var(--lime);
  margin-top: 2px;
}

.footer__bottom {
  padding: var(--space-xl) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: var(--text-xs);
  color: var(--grey);
}

.footer__bottom-links {
  display: flex;
  gap: var(--space-lg);
}

.footer__bottom-links a {
  color: var(--grey);
  transition: color var(--duration-fast) var(--ease);
}

.footer__bottom-links a:hover {
  color: var(--white);
}

/* ============================================
   FUNNEL VISUALIZATION
   ============================================ */
.funnel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  max-width: 700px;
  margin: var(--space-3xl) auto 0;
}

.funnel-step {
  padding: var(--space-lg) var(--space-2xl);
  text-align: center;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--text-base);
  border-radius: var(--radius-md);
  position: relative;
  transition: all var(--duration) var(--ease);
}

.funnel-step:nth-child(1) {
  width: 100%;
  background: rgba(245,218,66,0.15);
  color: var(--lime);
  border: 1px solid rgba(245,218,66,0.3);
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.funnel-step:nth-child(2) {
  width: 80%;
  background: rgba(245,218,66,0.12);
  color: var(--lime);
  border: 1px solid rgba(245,218,66,0.25);
  border-top: none;
}

.funnel-step:nth-child(3) {
  width: 60%;
  background: rgba(245,218,66,0.09);
  color: var(--lime);
  border: 1px solid rgba(245,218,66,0.2);
  border-top: none;
}

.funnel-step:nth-child(4) {
  width: 45%;
  background: rgba(245,218,66,0.06);
  color: var(--lime);
  border: 1px solid rgba(245,218,66,0.15);
  border-top: none;
}

.funnel-step:nth-child(5) {
  width: 35%;
  background: rgba(245,218,66,0.03);
  color: var(--lime);
  border: 1px solid rgba(245,218,66,0.1);
  border-top: none;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
}

.funnel-arrow {
  color: var(--grey);
  font-size: var(--text-xl);
}

/* ============================================
   CONTENT DETAIL PAGE
   ============================================ */
.content-detail {
  padding: var(--space-5xl) 0;
}

.content-detail__grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: var(--space-4xl);
}

.content-detail__body h2 {
  font-size: var(--text-4xl);
  margin: var(--space-3xl) 0 var(--space-lg);
}

.content-detail__body h3 {
  font-size: var(--text-3xl);
  margin: var(--space-2xl) 0 var(--space-md);
}

.content-detail__body p {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-lg);
}

.content-detail__body ul {
  margin-bottom: var(--space-lg);
  padding-left: var(--space-lg);
}

.content-detail__body ul li {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-sm);
  list-style: disc;
}

.content-detail__sidebar {
  position: sticky;
  top: 120px;
  height: fit-content;
}

.sidebar-cta {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  text-align: center;
}

.sidebar-cta h4 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-md);
}

.sidebar-cta p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.value-card {
  padding: var(--space-2xl);
  border: 1px solid var(--grey-light);
  border-radius: var(--radius-lg);
  transition: all var(--duration) var(--ease);
}

.value-card:hover {
  border-color: var(--lime);
}

.value-card__number {
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  font-weight: 700;
  color: var(--lime);
  margin-bottom: var(--space-md);
}

.value-card h3 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-sm);
}

.value-card p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============================================
   AUDIT PAGE
   ============================================ */
.audit-includes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}

.audit-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-lg);
  border: 1px solid var(--grey-light);
  border-radius: var(--radius-md);
  transition: all var(--duration) var(--ease);
}

.audit-item:hover {
  border-color: var(--lime);
}

.audit-item__icon {
  width: 40px;
  height: 40px;
  background: rgba(245,218,66,0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--black);
}

.audit-item h4 {
  font-size: var(--text-base);
  margin-bottom: 0.25rem;
}

.audit-item p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

/* ============================================
   METRIC CARDS
   ============================================ */
.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
}

.metric-card {
  text-align: center;
  padding: var(--space-2xl);
  border: 1px solid var(--grey-light);
  border-radius: var(--radius-lg);
  transition: all var(--duration) var(--ease);
}

.metric-card:hover {
  border-color: var(--lime);
}

.metric-card__number {
  font-family: var(--font-heading);
  font-size: var(--text-5xl);
  font-weight: 700;
  color: var(--black);
  margin-bottom: var(--space-sm);
}

.metric-card__label {
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

/* ============================================
   SERVICE DETAIL PAGE
   ============================================ */
.service-detail-hero {
  padding: 10rem 0 var(--space-5xl);
  background: var(--black);
  color: var(--white);
  position: relative;
}

.service-detail-hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}

.service-detail-hero h1 {
  font-size: var(--text-7xl);
  margin-bottom: var(--space-xl);
}

.service-detail-hero p {
  font-size: var(--text-lg);
  color: var(--grey);
  line-height: 1.7;
}

.service-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
}

.service-feature {
  padding: var(--space-2xl);
  border: 1px solid var(--grey-light);
  border-radius: var(--radius-lg);
  transition: all var(--duration) var(--ease);
}

.service-feature:hover {
  border-color: var(--lime);
}

.service-feature__icon {
  width: 48px;
  height: 48px;
  background: rgba(245,218,66,0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
  color: var(--black);
  font-size: 1.25rem;
}

.service-feature h3 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-sm);
}

.service-feature p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .content-detail__grid { grid-template-columns: 1fr; }
  .content-detail__sidebar { position: static; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .process-steps::before { display: none; }
  .industry-grid { grid-template-columns: repeat(3, 1fr); }
  .service-detail-hero__grid { grid-template-columns: 1fr; }
  .about-values { grid-template-columns: repeat(2, 1fr); }
  .metric-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .header__nav,
  .header__cta .btn {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-nav {
    display: flex;
  }

  .hero h1 {
    font-size: var(--text-6xl);
  }

  .hero__visual {
    display: none;
  }

  .page-hero h1 {
    font-size: var(--text-5xl);
  }

  .section-heading {
    font-size: var(--text-5xl);
  }

  .grid--2,
  .grid--3,
  .grid--4 {
    grid-template-columns: 1fr;
  }

  .service-card {
    grid-template-columns: auto 1fr;
    gap: var(--space-lg);
  }

  .service-card__link {
    display: none;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  .industry-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .footer__bottom {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .timeline-item__number {
    font-size: var(--text-2xl);
  }

  .audit-includes {
    grid-template-columns: 1fr;
  }

  .service-features {
    grid-template-columns: 1fr;
  }

  .about-values {
    grid-template-columns: 1fr;
  }

  .metric-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero__actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-section h2 {
    font-size: var(--text-5xl);
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: var(--text-5xl);
  }

  .page-hero h1 {
    font-size: var(--text-4xl);
  }

  .section-heading {
    font-size: var(--text-4xl);
  }

  .industry-grid {
    grid-template-columns: 1fr 1fr;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ============================================
   ANIMATION KEYFRAMES
   ============================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ============================================
   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;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ============================================
   SCROLLBAR
   ============================================ */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--black);
}

::-webkit-scrollbar-thumb {
  background: var(--grey-medium);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--grey);
}

/* ============================================
   MAGNETIC BUTTON (JS-driven)
   ============================================ */
.btn-magnetic {
  position: relative;
}

/* ============================================
   HERO CANVAS / VISUAL
   ============================================ */
.hero-visual {
  position: absolute;
  right: 0;
  top: 0;
  width: 50%;
  height: 100%;
  pointer-events: none;
}

.hero-visual canvas {
  width: 100%;
  height: 100%;
}

/* ============================================
   STICKY CTA (Mobile)
   ============================================ */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-md);
  background: var(--black);
  z-index: 998;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.sticky-cta .btn {
  width: 100%;
  justify-content: center;
}

@media (max-width: 768px) {
  .sticky-cta {
    display: block;
  }

  body {
    padding-bottom: 70px;
  }
}

/* ============================================
   DARK SECTION OVERRIDES
   ============================================ */
.section--dark .section-label {
  color: var(--grey);
}

.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: var(--white);
}

.section--dark .text-lg {
  color: var(--grey);
}

.section--dark .service-card {
  border-bottom-color: rgba(255,255,255,0.08);
}

.section--dark .service-card:first-child {
  border-top-color: rgba(255,255,255,0.08);
}

.section--dark .service-card__number {
  color: rgba(255,255,255,0.3);
}

.section--dark .service-card__info p {
  color: var(--grey);
}

.section--dark .faq-item {
  border-bottom-color: rgba(255,255,255,0.08);
}

.section--dark .faq-item__question {
  color: var(--white);
}

.section--dark .faq-item__icon {
  border-color: rgba(255,255,255,0.15);
}

.section--dark .faq-item__answer p {
  color: var(--grey);
}

.section--dark .timeline-item {
  border-bottom-color: rgba(255,255,255,0.08);
}

.section--dark .timeline-item:first-child {
  border-top-color: rgba(255,255,255,0.08);
}

.section--dark .timeline-item__number {
  color: rgba(255,255,255,0.15);
}

.section--dark .timeline-item__content p {
  color: var(--grey);
}

.section--dark .testimonial-card {
  background: var(--grey-dark);
  border-color: rgba(255,255,255,0.08);
}

.section--dark .testimonial-card__quote {
  color: rgba(255,255,255,0.8);
}

.section--dark .testimonial-card__name {
  color: var(--white);
}

.section--dark .process-step p {
  color: var(--grey);
}

.section--dark .case-card {
  background: var(--grey-dark);
  border-color: rgba(255,255,255,0.08);
}

.section--dark .case-card__body h3 {
  color: var(--white);
}

.section--dark .case-card__body p {
  color: var(--grey);
}

.section--dark .case-card__footer {
  border-top-color: rgba(255,255,255,0.08);
}

/* ============================================
   HERO INTERACTIVE VISUAL
   ============================================ */
.hero-interactive {
  position: absolute;
  right: 0;
  top: 0;
  width: 55%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
}

.hero-interactive__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.15;
  animation: float 6s ease-in-out infinite;
}

.hero-interactive__orb--1 {
  width: 400px;
  height: 400px;
  background: var(--lime);
  top: 20%;
  right: 10%;
  animation-delay: 0s;
}

.hero-interactive__orb--2 {
  width: 300px;
  height: 300px;
  background: var(--lime);
  top: 50%;
  right: 30%;
  animation-delay: 2s;
  opacity: 0.1;
}

.hero-interactive__orb--3 {
  width: 200px;
  height: 200px;
  background: var(--lime);
  top: 70%;
  right: 5%;
  animation-delay: 4s;
  opacity: 0.08;
}

/* Floating cards inside hero */
.hero-float-card {
  position: absolute;
  background: rgba(255,255,255,0.95);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-lg);
  animation: float 5s ease-in-out infinite;
  pointer-events: none;
  border: 1px solid var(--grey-light);
}

.hero-float-card--1 {
  top: 18%;
  right: 15%;
  animation-delay: 0s;
}

.hero-float-card--2 {
  top: 40%;
  right: 5%;
  animation-delay: 1.5s;
}

.hero-float-card--3 {
  top: 60%;
  right: 20%;
  animation-delay: 3s;
}

.hero-float-card--4 {
  top: 30%;
  right: 35%;
  animation-delay: 0.75s;
}

.hero-float-card__metric {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--text-2xl);
  color: var(--black);
}

.hero-float-card__label {
  font-size: var(--text-xs);
  color: var(--grey);
}

.hero-float-card__bar {
  width: 60px;
  height: 4px;
  background: var(--grey-light);
  border-radius: 2px;
  margin-top: 0.5rem;
  overflow: hidden;
}

.hero-float-card__bar-fill {
  height: 100%;
  background: var(--lime);
  border-radius: 2px;
  animation: barFill 2s ease-in-out infinite alternate;
}

@keyframes barFill {
  from { width: 40%; }
  to { width: 90%; }
}

/* ============================================
   NUMBERS / COUNTER
   ============================================ */
.counter {
  display: inline-block;
}

/* ============================================
   IMAGE PLACEHOLDER
   ============================================ */
.img-placeholder {
  background: var(--off-white);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.img-placeholder--dark {
  background: var(--grey-dark);
}

/* ============================================
   WORK GALLERY
   ============================================ */
.work-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.work-gallery__item {
  aspect-ratio: 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--off-white);
  position: relative;
  cursor: pointer;
}

.work-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease);
}

.work-gallery__item:hover img {
  transform: scale(1.05);
}

.work-gallery__item--wide {
  grid-column: span 2;
  aspect-ratio: 2/1;
}

@media (max-width: 768px) {
  .work-gallery {
    grid-template-columns: 1fr 1fr;
  }

  .work-gallery__item--wide {
    grid-column: span 2;
  }
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: var(--space-4xl);
  align-items: start;
}

.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--grey-light);
  border-radius: var(--radius-lg);
  padding: var(--space-3xl);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.contact-info__card {
  padding: var(--space-xl);
  border: 1px solid var(--grey-light);
  border-radius: var(--radius-lg);
  transition: all var(--duration) var(--ease);
}

.contact-info__card:hover {
  border-color: var(--lime);
}

.contact-info__icon {
  font-size: 1.5rem;
  margin-bottom: var(--space-sm);
  display: block;
}

.contact-info__card h4 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-xs);
}

.contact-info__card a,
.contact-info__card p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

.contact-info__card a:hover {
  color: var(--lime);
}

.contact-info__socials {
  display: flex;
  gap: var(--space-md);
}

.contact-info__socials a {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  transition: color var(--duration-fast) var(--ease);
}

.contact-info__socials a:hover {
  color: var(--lime);
}

/* ============================================
   GROWTH AUDIT PAGE
   ============================================ */
.audit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: start;
}

.audit-includes-wrap h3 {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-2xl);
}

.audit-form-wrap {
  background: var(--white);
  border: 1px solid var(--grey-light);
  border-radius: var(--radius-lg);
  padding: var(--space-3xl);
}

/* ============================================
   LEGAL CONTENT (Privacy & Terms)
   ============================================ */
.legal-content__section {
  margin-bottom: var(--space-3xl);
}

.legal-content__section:last-child {
  margin-bottom: 0;
}

.legal-content__section h2 {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--grey-light);
}

.legal-content__section p {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-md);
}

.legal-content__section ul {
  margin-bottom: var(--space-md);
  padding-left: var(--space-lg);
}

.legal-content__section ul li {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-sm);
  list-style: disc;
}

.legal-content__section ul li strong {
  color: var(--text-primary);
}

/* ============================================
   FINAL CTA (alternate CTA section)
   ============================================ */
.final-cta {
  padding: var(--space-5xl) 0;
  background: var(--black);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.final-cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(245,218,66,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.final-cta__heading {
  font-family: var(--font-heading);
  font-size: var(--text-6xl);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-xl);
  position: relative;
}

.final-cta__text {
  font-size: var(--text-lg);
  color: var(--grey);
  max-width: 500px;
  margin: 0 auto var(--space-2xl);
  position: relative;
  line-height: 1.7;
}

.final-cta__buttons {
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

/* ============================================
   SECTION HEADING VARIANTS
   ============================================ */
.differentiator__heading,
.performance__heading,
.work__heading,
.industries__heading,
.process__heading,
.about-intro__heading,
.about-philosophy__heading,
.about-thinking__heading,
.about-approach__heading {
  font-family: var(--font-heading);
  font-size: var(--text-6xl);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-2xl);
}

.process__heading {
  text-align: center;
}

.process__cta {
  text-align: center;
  margin-top: var(--space-2xl);
}

/* ============================================
   RESPONSIVE — CONTACT & AUDIT
   ============================================ */
@media (max-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--space-3xl);
  }

  .audit-grid {
    grid-template-columns: 1fr;
    gap: var(--space-3xl);
  }
}

@media (max-width: 768px) {
  .contact-form-wrap {
    padding: var(--space-xl);
  }

  .audit-form-wrap {
    padding: var(--space-xl);
  }

  .contact-info {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .contact-info__card {
    flex: 1 1 calc(50% - var(--space-md));
    min-width: 200px;
  }
}

/* ============================================
   SERVICES PAGE ENHANCEMENTS
   ============================================ */

/* Hero Eyebrow Pill */
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.1rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: var(--space-lg);
}

.hero-pill__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 10px var(--lime);
  display: inline-block;
}

/* Services Hero Metrics Bar */
.services-hero__metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  margin-top: var(--space-4xl);
  padding-top: var(--space-2xl);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.services-hero__metric {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.services-hero__metric-number {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3vw, 2.75rem);
  font-weight: 700;
  color: var(--lime);
  line-height: 1;
}

.services-hero__metric-label {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
  letter-spacing: 0.01em;
}

/* Services Filter Bar */
.services-filter-bar {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: var(--space-3xl);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--grey-light);
}

.filter-chip {
  background: transparent;
  border: 1px solid var(--grey-light);
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 600;
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease);
}

.filter-chip:hover {
  border-color: var(--black);
  background: rgba(10, 10, 10, 0.04);
}

.filter-chip.active {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

/* Services Catalog Grid */
.services-catalog {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-2xl);
}

.service-box {
  background: var(--white);
  border: 1px solid var(--grey-light);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--duration) var(--ease);
  position: relative;
  overflow: hidden;
}

.service-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: transparent;
  transition: background var(--duration) var(--ease);
}

.service-box:hover {
  border-color: rgba(10, 10, 10, 0.35);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
}

.service-box:hover::before {
  background: var(--lime);
}

.service-box__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-lg);
}

.service-box__number {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--black);
  background: rgba(184, 255, 0, 0.25);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
}

.service-box__category {
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.service-box__title {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-sm);
  color: var(--text-primary);
  line-height: 1.2;
}

.service-box__desc {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: var(--space-lg);
}

/* Deliverables Pill Cloud */
.service-box__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: var(--space-xl);
}

.service-box__tag {
  background: rgba(10, 10, 10, 0.04);
  border: 1px solid rgba(10, 10, 10, 0.06);
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--duration-fast) var(--ease);
}

.service-box:hover .service-box__tag {
  background: rgba(10, 10, 10, 0.07);
  color: var(--text-primary);
}

/* Metric Highlight Box */
.service-box__metric {
  background: var(--off-white);
  border: 1px solid rgba(10, 10, 10, 0.06);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-xl);
}

.service-box__metric-icon {
  color: var(--lime);
  background: var(--black);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
}

/* Service Box Footer */
.service-box__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-lg);
  border-top: 1px solid var(--grey-light);
  gap: var(--space-md);
}

.service-box__cta {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all var(--duration-fast) var(--ease);
}

.service-box__cta:hover {
  color: var(--black);
}

.service-box__cta .arrow {
  color: var(--black);
  transition: transform var(--duration-fast) var(--ease);
  display: inline-block;
}

.service-box:hover .service-box__cta .arrow {
  transform: translateX(4px);
}

/* Specialized Advisory / Add-ons Card */
.advisory-card {
  margin-top: var(--space-4xl);
  background: linear-gradient(135deg, #111111 0%, #1a1a1a 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-2xl);
  padding: var(--space-3xl);
  color: var(--white);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
  position: relative;
  overflow: hidden;
}

.advisory-card::after {
  content: '';
  position: absolute;
  bottom: -40px;
  right: -40px;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(184, 255, 0, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.advisory-card__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.advisory-card__item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
}

.advisory-card__item-icon {
  color: var(--lime);
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1.3;
}

/* Growth Flywheel Section */
.flywheel-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-3xl);
  position: relative;
}

.flywheel-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: all var(--duration) var(--ease);
  position: relative;
}

.flywheel-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--lime);
  transform: translateY(-4px);
}

.flywheel-card__step {
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--lime);
  margin-bottom: var(--space-sm);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.flywheel-card h4 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-sm);
  color: var(--white);
}

.flywheel-card p {
  font-size: var(--text-sm);
  color: var(--grey);
  line-height: 1.6;
}

/* Responsive adjustments for Services enhancements */
@media (max-width: 1024px) {
  .services-catalog {
    grid-template-columns: 1fr;
  }
  .flywheel-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .advisory-card {
    grid-template-columns: 1fr;
    padding: var(--space-2xl);
  }
  .services-hero__metrics {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .services-hero__metrics {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
  }
  .flywheel-grid {
    grid-template-columns: 1fr;
  }
  .services-filter-bar {
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: var(--space-sm);
    flex-wrap: nowrap;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .services-filter-bar::-webkit-scrollbar {
    display: none;
  }
  .filter-chip {
    flex-shrink: 0;
  }
  .service-box {
    padding: var(--space-xl);
  }
  .service-box__footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ============================================
   GLOBAL UI FIX — DESKTOP + MOBILE
   ============================================ */
html, body {
  max-width: 100%;
  overflow-x: hidden;
}

main {
  min-width: 0;
}

.header__logo {
  white-space: nowrap;
}

.header__inner {
  gap: 1rem;
  min-width: 0;
}

body.nav-open .header,
body.nav-open .header.scrolled {
  background: transparent;
  border-bottom: none;
  color: var(--white);
}

body.nav-open .sticky-cta {
  display: none !important;
}

body.nav-open .header__logo,
body.nav-open .header__logo .dot {
  color: var(--white);
}

body.nav-open .header__logo .dot {
  color: var(--lime);
}

body.nav-open .hamburger span,
body.nav-open .header.scrolled .hamburger span {
  background: var(--white);
}

.mobile-nav > a {
  font-size: clamp(1.6rem, 7vw, 3.2rem);
  text-align: center;
  padding: 0 1.25rem;
  line-height: 1.15;
}

.mobile-nav {
  padding: 6rem 1.25rem 2rem;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%230A0A0A' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.1rem center;
  padding-right: 2.5rem;
}

.page-hero__heading {
  font-size: inherit;
}

.about-intro__text,
.about-philosophy__text,
.about-thinking__text {
  font-size: var(--text-lg);
  line-height: 1.75;
  max-width: 720px;
  color: var(--text-secondary);
}

.about-philosophy__text {
  color: var(--grey);
}

.section--dark .value-card {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.12);
}

.section--dark .value-card p {
  color: var(--grey);
}

.section--dark .industry-card {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.03);
}

.section--dark .industry-card__name {
  color: var(--white);
}

.section--dark .service-feature {
  background: var(--white);
}

.page-hero [style*="display: flex"] {
  flex-wrap: wrap !important;
  row-gap: 0.5rem;
}

.contact-form-wrap,
.audit-form-wrap,
.contact-info__card,
.service-box,
.case-card,
.blog-card {
  min-width: 0;
}

.form-group input,
.form-group textarea,
.form-group select {
  max-width: 100%;
}

body:has(.contact-form) .sticky-cta,
body:has(.audit-form) .sticky-cta {
  display: none;
}

body:has(.contact-form),
body:has(.audit-form) {
  padding-bottom: 0;
}

@media (hover: none) {
  .industry-card:hover::before,
  .industry-card:hover .industry-card__details {
    opacity: 0;
    transform: none;
  }

  .industry-card__details {
    display: none;
  }

  .industry-card:hover {
    transform: none;
  }
}

@media (max-width: 1200px) {
  .hero__inner {
    grid-template-columns: minmax(0, 1fr) minmax(240px, 0.8fr);
  }

  .hero__visual {
    height: 440px;
  }
}

@media (max-width: 1024px) {
  .header__nav,
  .header__cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-nav {
    display: flex;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero__visual {
    display: none;
  }

  .hero__content {
    padding-top: 8rem;
    padding-bottom: var(--space-4xl);
    max-width: 100%;
  }

  .footer__contact-item span {
    overflow-wrap: anywhere;
  }

  .sticky-cta {
    display: block;
  }

  body {
    padding-bottom: 5.5rem;
  }

  body:has(.contact-form),
  body:has(.audit-form) {
    padding-bottom: 0;
  }

  body:has(.contact-form) .sticky-cta,
  body:has(.audit-form) .sticky-cta {
    display: none;
  }
}

@media (max-width: 768px) {
  :root {
    --space-5xl: 5rem;
    --space-4xl: 4rem;
  }

  .header__cta {
    display: none;
  }

  .header__nav {
    display: none;
  }

  .section {
    padding: 4rem 0;
  }

  .page-hero {
    padding: 7.25rem 0 3.25rem;
  }

  .hero {
    min-height: auto;
  }

  .hero h1,
  .hero__headline,
  .page-hero h1,
  .page-hero__heading,
  .section-heading,
  .differentiator__heading,
  .performance__heading,
  .work__heading,
  .industries__heading,
  .process__heading,
  .about-intro__heading,
  .about-philosophy__heading,
  .about-thinking__heading,
  .about-approach__heading,
  .final-cta__heading,
  .trust-strip__statement,
  .cta-section h2 {
    overflow-wrap: break-word;
    word-break: break-word;
  }

  .hero__buttons,
  .hero__actions,
  .final-cta__buttons,
  .cta-section [style*="display:flex"] {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 0.75rem;
  }

  .hero__buttons .btn,
  .hero__actions .btn,
  .final-cta__buttons .btn,
  .cta-section .btn,
  .process__cta .btn,
  .page-hero .btn,
  .contact-form .btn,
  .audit-form .btn {
    width: 100%;
    justify-content: center;
    white-space: normal;
  }

  .sticky-cta {
    padding: 0.75rem var(--gutter);
    padding-bottom: max(0.75rem, env(safe-area-inset-bottom));
  }

  body {
    padding-bottom: 5.5rem;
  }

  body:has(.contact-form),
  body:has(.audit-form) {
    padding-bottom: 0;
  }

  .funnel-step {
    padding: 0.9rem 1rem;
    font-size: var(--text-sm);
  }

  .industry-card {
    aspect-ratio: auto;
    min-height: 120px;
    padding: var(--space-md);
  }

  .industry-card__name {
    font-size: 0.8rem;
  }

  .metric-grid {
    grid-template-columns: 1fr;
  }

  .metric-card__number {
    font-size: var(--text-3xl);
    overflow-wrap: anywhere;
  }

  .contact-info {
    flex-direction: column;
  }

  .contact-info__card {
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
  }

  .contact-info__socials {
    flex-wrap: wrap;
  }

  .faq-item__question {
    font-size: var(--text-lg);
    gap: 1rem;
    align-items: flex-start;
  }

  .service-card__info h3,
  .timeline-item__content h3,
  .service-box__title {
    font-size: var(--text-2xl);
  }

  .footer {
    padding-top: var(--space-3xl);
  }

  .legal-content__section h2 {
    font-size: var(--text-2xl);
  }

  .content-detail {
    padding: var(--space-3xl) 0;
  }
}

@media (max-width: 480px) {
  .btn {
    width: auto;
  }

  .hero__buttons .btn,
  .hero__actions .btn,
  .final-cta__buttons .btn,
  .cta-section .btn,
  .process__cta .btn,
  .contact-form .btn,
  .audit-form .btn,
  .sticky-cta .btn {
    width: 100%;
  }

  .industry-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
  }

  .placeholder-img {
    font-size: var(--text-xl);
  }

  .header__logo {
    font-size: 1.05rem;
  }

  .page-hero h1,
  .hero h1 {
    font-size: clamp(2rem, 11vw, 2.75rem);
    line-height: 1.05;
  }
}

/* ============================================
   CLIENT PORTFOLIO (LOGOS ONLY)
   ============================================ */
.client-portfolio {
  padding: var(--space-4xl) 0;
  background-color: var(--off-white);
  position: relative;
  border-bottom: 1px solid rgba(10, 10, 10, 0.06);
}

.client-portfolio__header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto var(--space-3xl);
}

.client-portfolio__header .section-label {
  justify-content: center;
}

.client-portfolio__header .section-heading {
  margin-bottom: var(--space-sm);
  font-size: clamp(2rem, 4.5vw, 3.25rem);
}

.client-portfolio__sub {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  margin-top: var(--space-xs);
  line-height: 1.6;
}

.client-logos-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.25rem;
  align-items: center;
}

.client-logo-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(10, 10, 10, 0.08);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03);
  height: 106px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  transition: all var(--duration) var(--ease);
  position: relative;
  overflow: hidden;
}

.client-logo-card:hover {
  transform: translateY(-4px);
  border-color: rgba(184, 255, 0, 0.8);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.client-logo-card img {
  max-height: 50px;
  max-width: 82%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.85;
  transition: all var(--duration) var(--ease);
  display: block;
}

.client-logo-card:hover img {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}

@media (max-width: 1200px) {
  .client-logos-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
  }
}

@media (max-width: 768px) {
  .client-portfolio {
    padding: var(--space-3xl) 0;
  }

  .client-logos-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.85rem;
  }

  .client-logo-card {
    height: 92px;
    padding: 1rem;
    border-radius: var(--radius-lg);
  }

  .client-logo-card img {
    max-height: 40px;
  }
}

@media (max-width: 480px) {
  .client-logos-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .client-logo-card {
    height: 82px;
    padding: 0.75rem;
  }

  .client-logo-card img {
    max-height: 34px;
  }
}

