/* ============================================================================
   PerforMAX Consulting — Complete Redesign
   "Precision Authority" aesthetic
   ============================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,600&display=swap');

/* ============================================================================
   DESIGN TOKENS
   ============================================================================ */
:root {
  /* Brand colors */
  --navy:       #0B1E35;
  --navy-mid:   #0D2440;
  --navy-light: #1A3A5C;
  --gold:       #C9A96E;
  --gold-soft:  #E8D5B0;
  --gold-dark:  #A8853C;
  --blue:       #2563EB;
  --blue-light: #3B82F6;

  /* Surfaces */
  --surface:    #FFFFFF;
  --surface-2:  #F7F8FA;
  --surface-3:  #EFF1F5;

  /* Text */
  --text-head:  #0B1E35;
  --text-body:  #374151;
  --text-muted: #6B7280;
  --text-light: #9CA3AF;

  /* Borders */
  --border:     #E5E7EB;
  --border-mid: #D1D5DB;

  /* Typography */
  --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Shadows */
  --shadow-sm:  0 1px 2px rgba(0,0,0,0.06), 0 2px 8px rgba(0,0,0,0.04);
  --shadow:     0 2px 8px rgba(0,0,0,0.07), 0 8px 24px rgba(0,0,0,0.05);
  --shadow-md:  0 4px 16px rgba(0,0,0,0.08), 0 16px 40px rgba(0,0,0,0.06);
  --shadow-lg:  0 8px 32px rgba(0,0,0,0.10), 0 32px 64px rgba(0,0,0,0.07);

  /* Layout */
  --container:  1180px;
  --nav-h:      72px;
  --radius:     4px;
  --radius-md:  8px;
  --radius-lg:  14px;
}

/* ============================================================================
   LEGACY VARIABLE ALIASES
   (for backward compatibility with assessment.html which uses old design tokens)
   ============================================================================ */
:root {
  /* Color aliases */
  --color-navy-dark:       var(--navy);
  --color-navy-card:       var(--navy-mid);
  --color-gold:            var(--gold);
  --color-border:          var(--border);
  --color-border-gold:     rgba(201, 169, 110, 0.25);
  --color-text-primary:    #FFFFFF;
  --color-text-secondary:  rgba(255, 255, 255, 0.65);
  --color-text-muted:      rgba(255, 255, 255, 0.45);
  --color-blue-mid:        var(--blue);
  --color-accent:          var(--gold);

  /* Font aliases */
  --font-body:             var(--font);
  --font-condensed:        var(--font);
  --font-serif:            var(--font);

  /* Spacing aliases */
  --spacing-xs:  0.5rem;
  --spacing-sm:  1rem;
  --spacing-md:  1.5rem;
  --spacing-lg:  2rem;
  --spacing-xl:  3rem;
  --spacing-2xl: 4rem;
  --spacing-3xl: 5rem;
}

/* ============================================================================
   RESET & BASE
   ============================================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-body);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;   /* prevent horizontal scroll from any overflowing element */
}

img { max-width: 100%; height: auto; display: block; }
svg { display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
input, textarea, select { font: inherit; }

/* Push body content below fixed nav */
main { padding-top: var(--nav-h); }

/* ============================================================================
   TYPOGRAPHY
   ============================================================================ */
h1, h2, h3, h4, h5 {
  font-family: var(--font);
  color: var(--text-head);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.4rem, 5.5vw, 4.5rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); font-weight: 700; }
h4 { font-size: 1.1rem; font-weight: 700; }

p { line-height: 1.75; }

/* Eyebrow label */
.eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

/* Section label (about page) */
.label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: var(--text-head);
  letter-spacing: -0.03em;
  margin-bottom: 2.5rem;
  line-height: 1.15;
}

.section-intro {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 680px;
  margin-bottom: 3rem;
  line-height: 1.75;
}

/* Tag badge */
.tag {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  background: rgba(201, 169, 110, 0.12);
  color: var(--gold-dark);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 3px;
  border: 1px solid rgba(201, 169, 110, 0.25);
}

/* Metric highlight */
.metric {
  font-weight: 700;
  color: var(--navy);
}

/* Read time badge */
.read-time {
  display: inline-block;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-left: 0.5rem;
}

/* ============================================================================
   LAYOUT
   ============================================================================ */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 6rem 0;
}

/* ============================================================================
   BUTTONS
   ============================================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.75rem 1.75rem;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  border-radius: var(--radius-md);
  transition: all 0.22s ease;
  white-space: nowrap;
  text-decoration: none;
  background: var(--gold);
  color: var(--navy);
}
.btn:hover {
  background: var(--gold-dark);
  color: #fff;
  transform: translateY(-1px);
}

/* Primary */
.btn-primary {
  background: var(--blue);
  color: #fff;
}
.btn-primary:hover {
  background: var(--blue-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37,99,235,0.3);
  color: #fff;
}

/* Secondary (outline) */
.btn-secondary {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--border-mid);
}
.btn-secondary:hover {
  border-color: var(--navy);
  background: var(--navy);
  color: #fff;
  transform: translateY(-1px);
}

/* Ghost (for dark sections) */
.btn-ghost {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.35);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.6);
  transform: translateY(-1px);
  color: #fff;
}

/* Secondary on dark background (hero) — override to be visible */
.hero .btn-secondary {
  background: transparent;
  color: rgba(255,255,255,0.85);
  border: 2px solid rgba(255,255,255,0.4);
}
.hero .btn-secondary:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.75);
  color: #fff;
  transform: translateY(-1px);
}

/* Text link */
.btn-text {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--blue);
  text-decoration: none;
  transition: gap 0.2s;
  background: none;
  padding: 0;
}
.btn-text::after { content: ' →'; }
.btn-text:hover { gap: 0.5rem; color: var(--navy); transform: none; }

/* ============================================================================
   NAVIGATION
   ============================================================================ */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: box-shadow 0.3s ease;
}

nav.scrolled {
  box-shadow: 0 2px 24px rgba(0,0,0,0.25);
}

.nav-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 2rem;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 2rem;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo img {
  height: 54px;
  width: auto;
  border-radius: 3px;
}

/* Hide brand text — logo image only */
.nav-logo span { display: none; }

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
  margin: 0 auto;
}

.nav-links li a {
  display: block;
  padding: 0.5rem 0.9rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color 0.2s;
  letter-spacing: 0.01em;
}

.nav-links li a:hover,
.nav-links li a.active {
  color: var(--gold);
}

/* Free Assessment — highlighted nav link */
.nav-links li a.nav-assess {
  color: var(--gold);
  font-weight: 700;
  border: 1px solid rgba(201,169,110,0.3);
  border-radius: var(--radius-md);
  padding: 0.3rem 0.75rem;
  margin-left: 0.3rem;
}
.nav-links li a.nav-assess:hover {
  background: rgba(201,169,110,0.12);
  border-color: var(--gold);
  color: var(--gold-soft);
}

/* Nav right */
.nav-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

/* Language switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  padding: 2px;
}

.lang-btn {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.5);
  padding: 0.3rem 0.55rem;
  border-radius: 5px;
  transition: all 0.2s;
  cursor: pointer;
  background: transparent;
  border: none;
}

.lang-btn:hover { color: rgba(255,255,255,0.85); }

.lang-btn.active {
  background: var(--gold);
  color: var(--navy);
}

/* Hamburger */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 6px;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.08);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.25s ease;
  transform-origin: center;
}

.menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================================
   HERO SECTION
   ============================================================================ */
.hero {
  position: relative;
  min-height: calc(100svh - var(--nav-h));
  display: flex;
  align-items: center;
  background: var(--navy);
  overflow: hidden;
}

/* Geometric background accents */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 60% 50%, rgba(37,99,235,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 50% 80% at 90% 20%, rgba(201,169,110,0.08) 0%, transparent 60%);
  pointer-events: none;
}

/* Diagonal accent line */
.hero::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(135deg, transparent 50%, rgba(201,169,110,0.04) 50%);
  pointer-events: none;
}

/* Legacy class — no visible pattern, just compatibility */
.grid-bg {}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  width: 100%;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.hero-content .eyebrow {
  font-size: 1.4rem;
  letter-spacing: 0.06em;
  margin-bottom: 1.25rem;
}

.hero-content h1 {
  color: #fff;
  max-width: 820px;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-content .subline {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: rgba(255,255,255,0.65);
  max-width: 580px;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.hero-tagline {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2.5rem;
  opacity: 0.9;
  line-height: 1.2;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

/* Short hero (inner pages) */
.hero-short {
  min-height: 0;
  padding-top: 3rem;
  padding-bottom: 3.5rem;
}

.hero-short .hero-content {
  padding: 0 2rem;
}

.hero-short h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  max-width: 700px;
}

.hero-short .subline {
  max-width: 540px;
}

/* ============================================================================
   PAIN POINTS
   ============================================================================ */
.pain-points {
  background: var(--surface-2);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}

.card:hover {
  border-color: var(--gold-soft);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.pain-card { /* inherits .card */ }

.card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201,169,110,0.1);
  border-radius: var(--radius-md);
  margin-bottom: 1.25rem;
}

.card-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card h3 {
  font-size: 1.1rem;
  color: var(--text-head);
  margin-bottom: 0.65rem;
}

.card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ============================================================================
   SERVICES GRID (homepage snapshot)
   ============================================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
  cursor: pointer;
}

.service-card:hover {
  border-color: var(--gold-soft);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.service-card .card-icon { margin-bottom: 1.25rem; }

.service-card h3 {
  font-size: 1.05rem;
  color: var(--text-head);
  margin-bottom: 0.6rem;
  flex: 1;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

/* ============================================================================
   SOCIAL PROOF STRIP
   ============================================================================ */
.social-proof {
  background: var(--navy);
  padding: 5rem 0;
}

.proof-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 3.5rem;
}

.proof-metric {
  background: var(--navy-mid);
  padding: 2.5rem 2rem;
  text-align: center;
  min-width: 0;         /* prevent grid blowout */
  overflow: hidden;
}

.proof-metric .value {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--gold);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.proof-metric .label {
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.4;
  display: block;
  margin-bottom: 0;
  word-break: break-word;
  overflow-wrap: break-word;
}

.proof-clients {
  text-align: center;
}

.proof-clients > p {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 1.5rem;
}

.client-logos {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* Each row: 4 logos side by side */
.logo-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

/* White pill — natural colour on dark background */
.client-logos img {
  width: 100%;
  height: 104px;
  object-fit: contain;
  background: rgba(255,255,255,0.92);
  padding: 12px 24px;
  border-radius: 10px;
  filter: none;
  opacity: 0.88;
  transition: opacity 0.25s, transform 0.2s;
  display: block;
}

.client-logos img:hover {
  opacity: 1;
  transform: translateY(-3px);
}

/* ============================================================================
   TESTIMONIALS
   ============================================================================ */
.testimonials {
  background: var(--surface-2);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  border-left: 4px solid var(--gold);
  transition: box-shadow 0.25s, transform 0.25s;
  display: flex;
  flex-direction: column;
}

.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.testimonial-card .quote {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text-body);
  font-style: italic;
  margin-bottom: 1.5rem;
  position: relative;
  flex: 1;
}

.testimonial-card .quote::before {
  content: '"';
  position: absolute;
  top: -0.5rem;
  left: -0.25rem;
  font-size: 4rem;
  color: var(--gold);
  opacity: 0.15;
  font-style: normal;
  font-weight: 800;
  line-height: 1;
  pointer-events: none;
}

.attribution {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.testimonial-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: 0.04em;
}

.attr-info .name,
.attribution .name {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-head);
  line-height: 1.3;
}

.attr-info .title,
.attr-info .company,
.attribution .title,
.attribution .company {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ============================================================================
   PHILOSOPHY SECTION
   ============================================================================ */
.philosophy-section {
  background: var(--navy);
  padding: 6rem 0;
}

.philosophy-inner {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  padding: 3rem 3.5rem;
  border: 1px solid rgba(201,169,110,0.2);
  border-radius: var(--radius-lg);
}

.philosophy-mark {
  font-size: 7rem;
  line-height: 0.6;
  color: var(--gold);
  opacity: 0.2;
  font-weight: 800;
  position: absolute;
  top: 2rem;
  left: 2.5rem;
  font-family: Georgia, serif;
  pointer-events: none;
}

.philosophy-quote {
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.9;
  color: rgba(255,255,255,0.8);
  font-style: italic;
  font-weight: 400;
  position: relative;
  z-index: 1;
  margin-bottom: 1.5rem;
}

.philosophy-quote em {
  color: var(--gold);
  font-style: normal;
  font-weight: 600;
}

.philosophy-attribution {
  display: flex;
  justify-content: center;
}

.philosophy-name {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.75;
}

/* ============================================================================
   ASSESSMENT BANNER
   ============================================================================ */
.assess-banner {
  background: var(--surface-2);
}

.assess-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 3.5rem 3rem;
  border: 1px solid rgba(201,169,110,0.15);
  position: relative;
  overflow: hidden;
}

.assess-banner-inner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(201,169,110,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.assess-banner-text .eyebrow { opacity: 0.85; }

.assess-banner-text h2 {
  color: #fff;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  margin-bottom: 0.75rem;
}

.assess-banner-text p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.6);
  max-width: 480px;
  line-height: 1.7;
}

.assess-banner-cta { flex-shrink: 0; }

/* ============================================================================
   CTA BANNERS
   ============================================================================ */
.cta-banner {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 4rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(37,99,235,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.cta-banner h2 {
  color: #fff;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  margin-bottom: 0.75rem;
  position: relative;
}

.cta-banner p {
  color: rgba(255,255,255,0.6);
  font-size: 1rem;
  margin-bottom: 2rem;
  position: relative;
}

.cta-banner .btn-primary { position: relative; }

/* ============================================================================
   SERVICES PAGE — Detail Sections
   ============================================================================ */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  gap: 2px;
  background: var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}

.service-problem,
.service-solution,
.service-outcomes {
  background: var(--surface);
  padding: 2.25rem 2rem;
}

.service-problem { background: var(--surface-2); }
.service-outcomes { background: var(--surface-2); }

.service-detail h3 {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 1rem;
}

.service-problem p {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.75;
}

.service-solution ul,
.service-outcomes ul {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.service-solution li {
  font-size: 0.9rem;
  color: var(--text-body);
  padding-left: 1.2rem;
  position: relative;
  line-height: 1.5;
}

.service-solution li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
  font-size: 0.8rem;
}

.service-outcomes li {
  padding: 0.5rem 0.75rem;
  background: rgba(37,99,235,0.06);
  border-left: 3px solid var(--blue);
  border-radius: 0 3px 3px 0;
}

.service-outcomes .metric {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy);
}

/* ============================================================================
   PROJECT CATALOG (Services page)
   ============================================================================ */
.catalog-section { background: var(--surface-2); }
.bg-alt { background: var(--surface-2); }
.project-catalog {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.project-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}

.project-card:hover {
  border-color: var(--gold-soft);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.project-header {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.project-header h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-head);
  line-height: 1.35;
}

.project-impact {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.2rem 0.55rem;
  border-radius: 3px;
  white-space: normal;
  word-break: break-word;
}

.impact-high {
  background: rgba(201,169,110,0.12);
  color: var(--gold-dark);
  border: 1px solid rgba(201,169,110,0.2);
}

.project-card > p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.meta-item svg {
  width: 13px;
  height: 13px;
  stroke: var(--text-light);
  flex-shrink: 0;
}

.catalog-download {
  text-align: center;
  padding: 2.5rem;
  background: var(--surface-2);
  border-radius: var(--radius-lg);
  border: 1px dashed var(--border-mid);
}

.catalog-download p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

/* ============================================================================
   HOW WE WORK (Services page)
   ============================================================================ */
.how-we-work {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.work-step {
  background: var(--surface);
  padding: 2.5rem 2rem;
}

.work-step:first-child { background: var(--navy); }
.work-step:first-child h4 { color: rgba(255,255,255,0.9); }
.work-step:first-child p { color: rgba(255,255,255,0.55); }

.work-step-number {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1;
  color: var(--gold);
  opacity: 0.2;
  letter-spacing: -0.05em;
  margin-bottom: 0.75rem;
  font-variant-numeric: tabular-nums;
}

.work-step:first-child .work-step-number { opacity: 0.35; }

.work-step h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-head);
  margin-bottom: 0.6rem;
}

.work-step p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ============================================================================
   CASE STUDY SECTIONS (Results page)
   ============================================================================ */
.case-detail-section {
  margin-bottom: 2.5rem;
}

.case-detail-section .tag {
  margin-bottom: 1.25rem;
}

.case-detail-section h2 {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  margin-bottom: 0.75rem;
  color: var(--text-head);
}

.case-detail-section h3 {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 0.75rem;
}

.case-detail-section p {
  font-size: 1rem;
  color: var(--text-body);
  line-height: 1.8;
  max-width: 780px;
}

.case-results-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  max-width: 700px;
}

.case-results-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.85rem 1.25rem;
  background: var(--surface-2);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--blue);
}

.case-results-list li::before {
  content: '✓';
  color: var(--blue);
  font-weight: 800;
  font-size: 0.85rem;
  flex-shrink: 0;
  margin-top: 0.05rem;
}

.case-results-list .metric {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.5;
}

/* ============================================================================
   ABOUT PAGE
   ============================================================================ */
.about-hero {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image img {
  width: 100%;
  border-radius: var(--radius-lg);
  object-fit: cover;
  aspect-ratio: 3/4;
  max-height: 420px;
  object-position: top;
}

.about-image::before {
  content: '';
  position: absolute;
  inset: -8px -8px 8px 8px;
  border: 2px solid var(--gold);
  border-radius: var(--radius-lg);
  opacity: 0.3;
  z-index: -1;
}

.about-content .label { margin-bottom: 0.75rem; }

.about-content h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  margin-bottom: 1rem;
}

.about-content .subline {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* Story section */
.story-section {
  max-width: 780px;
}

.story-section p {
  font-size: 1.02rem;
  color: var(--text-body);
  line-height: 1.85;
  margin-bottom: 1.25rem;
}

.story-section p:last-child { margin-bottom: 0; }

/* Why PerforMAX */
.story-section strong { font-weight: 700; color: var(--text-head); }

/* Credentials */
.credentials {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.credential-block {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.credential-block::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.credential-block .value {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: var(--gold);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.credential-block .label {
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.4;
  display: block;
  margin-bottom: 0;
}

/* Timeline */
.timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-left: 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 11px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom, var(--gold) 0%, rgba(201,169,110,0.1) 100%);
}

.timeline-item {
  display: flex;
  gap: 1.75rem;
  padding: 0 0 2.25rem 0;
  position: relative;
}

.timeline-item:last-child { padding-bottom: 0; }

.timeline-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 5px rgba(201,169,110,0.12), 0 0 0 1px rgba(201,169,110,0.25);
}

.timeline-content { padding-bottom: 0.25rem; }

.timeline-content .year {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 0.2rem;
}

.timeline-content .company {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-head);
  line-height: 1.3;
}

.timeline-content .role {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

/* ============================================================================
   RESOURCES PAGE
   ============================================================================ */
.article-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.article-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}

.article-card:hover {
  border-color: var(--gold-soft);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.article-card h3 {
  font-size: 1.05rem;
  color: var(--text-head);
  line-height: 1.4;
}

.article-card .excerpt {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  flex: 1;
}

/* Newsletter */
.newsletter-section {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 3.5rem 3rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.newsletter-section h3 {
  color: #fff;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.newsletter-section p {
  color: rgba(255,255,255,0.55);
  font-size: 0.92rem;
  max-width: 360px;
}

.newsletter-form {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.newsletter-form input {
  padding: 0.75rem 1.25rem;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-md);
  color: #fff;
  font-size: 0.9rem;
  min-width: 240px;
  outline: none;
  transition: border-color 0.2s;
}

.newsletter-form input::placeholder { color: rgba(255,255,255,0.35); }
.newsletter-form input:focus { border-color: var(--gold); }

/* Framework section */
.framework-section {
  background: linear-gradient(135deg, var(--navy-mid) 0%, var(--navy) 100%);
  border-radius: var(--radius-lg);
  padding: 3.5rem 3rem;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(201,169,110,0.15);
}

.framework-section::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(201,169,110,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.framework-section h3 {
  color: #fff;
  font-size: 1.6rem;
  margin-bottom: 0.75rem;
  position: relative;
}

.framework-section p {
  color: rgba(255,255,255,0.6);
  font-size: 0.95rem;
  max-width: 500px;
  margin-bottom: 1.75rem;
  position: relative;
}

/* Downloads */
.download-cards {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.download-card {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.download-card:hover {
  border-color: var(--border-mid);
  box-shadow: var(--shadow);
}

.download-card-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201,169,110,0.1);
  border-radius: var(--radius-md);
  flex-shrink: 0;
}

.download-card-icon svg {
  stroke: var(--gold);
  width: 26px;
  height: 26px;
}

.download-card-body { flex: 1; }

.download-card-body h3 {
  font-size: 1rem;
  color: var(--text-head);
  margin-bottom: 0.4rem;
}

.download-card-body p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.download-meta {
  font-size: 0.75rem;
  color: var(--text-light);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.download-card-action { flex-shrink: 0; }

/* ============================================================================
   CONTACT PAGE
   ============================================================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h2 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.contact-info > p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 2rem;
}

.contact-info-block {
  padding: 1.25rem 0;
  border-top: 1px solid var(--border);
}

.contact-info-block:last-child { border-bottom: 1px solid var(--border); }

.contact-info-block p {
  font-size: 0.9rem;
  color: var(--text-body);
  margin-bottom: 0.25rem;
  line-height: 1.6;
}

.contact-info-block strong { font-weight: 700; color: var(--text-head); }

.contact-info-block a {
  font-size: 0.9rem;
  color: var(--blue);
  text-decoration: none;
  transition: color 0.2s;
}

.contact-info-block a:hover { color: var(--navy); text-decoration: underline; }

/* Contact form card */
.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-head);
  margin-bottom: 0.4rem;
  letter-spacing: 0.02em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.72rem 1rem;
  border: 1px solid var(--border-mid);
  border-radius: var(--radius-md);
  background: var(--surface);
  color: var(--text-body);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
  -webkit-appearance: none;
}

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

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

.form-group select {
  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 d='M1 1l5 5 5-5' stroke='%236B7280' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-submit { margin-top: 0.5rem; }

.form-feedback {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  font-weight: 600;
  display: none;
}

.form-feedback.show { display: block; }
.form-feedback.success { background: #D1FAE5; color: #065F46; border: 1px solid #A7F3D0; }
.form-feedback.error { background: #FEE2E2; color: #991B1B; border: 1px solid #FECACA; }

.form-note {
  margin-top: 1rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.form-note a { color: var(--blue); }

/* ============================================================================
   FOOTER
   ============================================================================ */
footer {
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 3rem 2rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.footer-logo img {
  height: 48px;
  width: auto;
  /* Logo already has dark background — show naturally so it blends with footer */
  filter: none;
  opacity: 1;
  border-radius: 6px;
}


.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.5rem;
}

.footer-nav a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  padding: 0.3rem 0.5rem;
  border-radius: 3px;
  transition: color 0.2s;
  font-weight: 500;
}

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

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social a {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  transition: background 0.2s;
}

.footer-social a:hover { background: var(--gold); }

.footer-social svg {
  width: 16px;
  height: 16px;
  stroke: rgba(255,255,255,0.55);
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.2s;
}

.footer-social a:hover svg { stroke: var(--navy); }

.footer-bottom {
  max-width: var(--container);
  margin: 0 auto;
  padding: 1.25rem 2rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-bottom p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
}

.footer-lang {
  display: flex;
  gap: 0;
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius-md);
  padding: 2px;
}

/* ============================================================================
   SCROLL REVEAL
   ============================================================================ */
.scroll-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.scroll-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays */
.card-grid .scroll-reveal:nth-child(2),
.services-grid .scroll-reveal:nth-child(2),
.testimonial-grid .scroll-reveal:nth-child(2),
.credentials .scroll-reveal:nth-child(2) { transition-delay: 0.1s; }

.card-grid .scroll-reveal:nth-child(3),
.services-grid .scroll-reveal:nth-child(3),
.testimonial-grid .scroll-reveal:nth-child(3),
.credentials .scroll-reveal:nth-child(3) { transition-delay: 0.2s; }

.credentials .scroll-reveal:nth-child(4) { transition-delay: 0.3s; }

/* ============================================================================
   RESPONSIVE — TABLET (≤ 960px)
   ============================================================================ */
@media (max-width: 960px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .proof-metrics { grid-template-columns: 1fr 1fr; }
  .service-detail { grid-template-columns: 1fr; }
  .how-we-work { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .credentials { grid-template-columns: repeat(2, 1fr); }
  .about-hero { grid-template-columns: 260px 1fr; gap: 2.5rem; }
  .assess-banner-inner { flex-direction: column; text-align: center; }
  .assess-banner-text p { max-width: none; }
  .newsletter-section { flex-direction: column; text-align: center; }
  .newsletter-section p { max-width: none; }

  /* Logo rows: 2 columns on tablet */
  .logo-row { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================================
   RESPONSIVE — MOBILE (≤ 768px)
   ============================================================================ */
@media (max-width: 768px) {
  :root { --nav-h: 60px; }

  /* ── Global ── */
  section { padding: 3.5rem 0; }
  .container { padding: 0 1.1rem; }

  /* ── Navigation ── */
  .nav-container { padding: 0 1.1rem; }
  .nav-logo img { height: 40px; }

  .nav-links {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--navy-mid);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
    padding: 0.5rem 0;
    z-index: 999;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    overflow-y: auto;
    max-height: calc(100vh - 60px);
  }

  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links li a {
    padding: 0.8rem 1.25rem;
    font-size: 0.92rem;
    border-bottom: 1px solid rgba(255,255,255,0.04);
  }

  /* Free Assessment in mobile drawer */
  .nav-links li a.nav-assess {
    margin-left: 0;
    border-radius: 0;
    border-color: transparent;
    background: rgba(201,169,110,0.08);
  }

  .nav-cta .btn { display: none; }
  .menu-toggle { display: flex; }

  /* ── Hero ── */
  .hero-content { padding: 2.5rem 1.1rem 3.5rem; }
  .hero-content .eyebrow { font-size: 0.85rem; }
  .hero-tagline { font-size: 1.5rem; letter-spacing: 0.04em; }
  .hero-buttons { flex-direction: column; align-items: stretch; }
  .hero-buttons .btn { width: 100%; justify-content: center; }

  .hero-short { padding-top: 2rem; padding-bottom: 2rem; }
  .hero-short .hero-content { padding: 0 1.1rem; }

  /* ── Cards & grids ── */
  .services-grid { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .article-cards { grid-template-columns: 1fr; }
  .project-catalog { grid-template-columns: 1fr; }

  /* ── Social proof ── */
  .proof-metrics {
    grid-template-columns: 1fr 1fr;
    width: 100%;
    max-width: 100%;
  }
  .proof-metric .value { font-size: 1.75rem; }   /* prevent wide numbers overflowing cell */
  .proof-metric .label { font-size: 0.68rem; letter-spacing: 0.05em; }
  .social-proof { padding: 3rem 0; }

  /* Client logos: 2 columns on mobile */
  .logo-row { grid-template-columns: repeat(2, 1fr); }
  .client-logos img { height: 80px; padding: 10px 16px; }

  /* ── Credentials ── */
  .credentials { grid-template-columns: 1fr 1fr; gap: 1rem; }

  /* ── Download card ── */
  .download-card { flex-direction: column; align-items: flex-start; }
  .download-card-action { width: 100%; }
  .download-card-action .btn { width: 100%; justify-content: center; }

  /* ── About ── */
  .about-hero { grid-template-columns: 1fr; gap: 1.5rem; }
  .about-image { max-width: 200px; }
  .about-image::before { display: none; }
  .story-section { max-width: 100%; }

  /* ── Timeline ── */
  .timeline-content .company { font-size: 0.95rem; }

  /* ── Banners ── */
  .assess-banner-inner { padding: 2rem 1.25rem; gap: 1.5rem; }
  .assess-banner-cta .btn { width: 100%; justify-content: center; }
  .cta-banner { padding: 2.5rem 1.25rem; }

  /* Full-width block buttons — display:block forces true 100% width,
     overcoming inline-flex min-content blowout on long RO/DE strings */
  .cta-banner .btn-primary,
  .assess-banner-cta .btn,
  .download-card-action .btn,
  .hero-buttons .btn {
    display: block;
    width: 100%;
    text-align: center;
    white-space: normal;
    box-sizing: border-box;
  }

  /* ── Philosophy ── */
  .philosophy-inner { padding: 2.5rem 1.5rem 2rem; }
  .philosophy-mark { font-size: 4.5rem; }
  .philosophy-quote { font-size: 0.95rem; }

  /* ── Contact ── */
  .contact-form { padding: 1.5rem 1.1rem; }

  /* ── Newsletter & Framework ── */
  .newsletter-section { padding: 2rem 1.25rem; }
  .newsletter-form { flex-direction: column; }
  .newsletter-form input { min-width: 0; width: 100%; }
  .newsletter-form .btn { width: 100%; justify-content: center; }
  .framework-section { padding: 2rem 1.25rem; }

  /* ── Service detail ── */
  .service-problem, .service-solution, .service-outcomes { padding: 1.5rem 1.25rem; }

  /* ── How we work ── */
  .work-step { padding: 1.75rem 1.25rem; }

  /* ── Footer ── */
  .footer-container { flex-direction: column; align-items: flex-start; gap: 1.25rem; padding: 2rem 1.1rem 1.5rem; }
  .footer-nav { gap: 0.1rem 0.25rem; }
  .footer-bottom { padding: 1rem 1.1rem; flex-direction: column; align-items: flex-start; gap: 0.75rem; }
}

/* ============================================================================
   RESPONSIVE — SMALL MOBILE (≤ 480px)
   ============================================================================ */
@media (max-width: 480px) {
  section { padding: 2.5rem 0; }

  .hero-tagline { font-size: 1.25rem; }

  /* Logo rows: single column on very small screens */
  .logo-row { grid-template-columns: repeat(2, 1fr); }
  .client-logos img { height: 72px; padding: 8px 12px; }

  .proof-metrics { grid-template-columns: 1fr 1fr; width: 100%; max-width: 100%; }
  .proof-metric .value { font-size: 1.5rem; }
  .proof-metric .label { font-size: 0.62rem; letter-spacing: 0.04em; }
  .credentials { grid-template-columns: 1fr 1fr; gap: 0.75rem; }

  .credential-block { padding: 1.25rem; }
  .proof-metric { padding: 1.5rem 0.75rem; }

  .card, .pain-card, .service-card { padding: 1.25rem; }
  .article-card, .project-card, .testimonial-card { padding: 1.25rem; }

  .assess-banner-inner { padding: 1.5rem 1rem; }
  .cta-banner { padding: 2rem 1rem; }

  .philosophy-inner { padding: 2rem 1.25rem 1.5rem; }

  .section-title { margin-bottom: 1.5rem; }
  .section-intro { margin-bottom: 2rem; }
}

/* ============================================================================
   PRINT
   ============================================================================ */
@media print {
  nav, footer, .hero-buttons, .assess-banner, .cta-banner { display: none; }
  body { color: #000; background: #fff; }
  section { padding: 2rem 0; }
}
