/* =============================================================
   WANG PRIVATE EQUITY INC. — MASTER STYLESHEET
   Dark Luxe mood · Moss & Berry palette (dark interpretation)
   Overlapping-layers layout · Vertical sidebar nav
   ============================================================= */

/* --- CSS CUSTOM PROPERTIES --- */
:root {
  /* Palette — Dark Luxe interpretation of Moss & Berry */
  --color-primary: #4E6B4E;
  --color-primary-light: #5a7d5a;
  --color-secondary: #7DA67D;
  --color-accent: #9C27B0;
  --color-bg: #0c0c0c;
  --color-bg-alt: #1a1a1a;
  --color-bg-band-1: #111611;
  --color-bg-band-2: #141414;
  --color-surface: #F5F3EE;
  --color-surface-warm: #F0EDE6;
  --color-text: #1E2E1E;
  --color-text-light: #5F755F;
  --color-text-on-dark: #e8e4de;
  --color-text-muted-dark: rgba(232, 228, 222, 0.55);
  --color-gold: #c9a84c;
  --color-gold-dim: rgba(201, 168, 76, 0.15);

  /* Typography — Golden ratio scale */
  --font-heading: Didot, 'Bodoni MT', 'Playfair Display', serif;
  --font-body: system-ui, -apple-system, sans-serif;
  --fs-h1: clamp(2.2rem, 5vw, 2.618rem);
  --fs-h2: clamp(1.5rem, 4vw, 1.618rem);
  --fs-h3: 1.25rem;
  --fs-body: 1rem;
  --fs-small: 0.875rem;
  --lh-body: 1.7;

  /* Spacing — Compact */
  --section-pad: 48px;
  --card-gap: 16px;

  /* Borders & Shadows */
  --radius: 8px;
  --radius-lg: 20px;
  --radius-card: 16px;
  --shadow-subtle: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.06);
  --shadow-hero: 0 12px 48px rgba(0, 0, 0, 0.12);
  --shadow-inset: inset 0 0 0 1px rgba(0, 0, 0, 0.06);

  /* Sidebar */
  --sidebar-width: 220px;

  /* Transitions — Dark Luxe: slow & smooth */
  --transition-base: 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-fast: 0.3s ease;
}

/* --- DIAGONAL STRIPE TEXTURE --- */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9998;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 15px,
    rgba(30, 46, 30, 0.02) 15px,
    rgba(30, 46, 30, 0.02) 16px
  );
}

/* --- PAGE TRANSITION OVERLAY --- */
.page-transition-overlay {
  position: fixed;
  inset: 0;
  background: var(--color-surface);
  z-index: 10000;
  opacity: 1;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.page-transition-overlay.is-hidden {
  opacity: 0;
}
.page-transition-overlay.is-active {
  opacity: 1;
  pointer-events: all;
}

/* --- RESET & BASE --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: 350;
  line-height: var(--lh-body);
  color: var(--color-text-on-dark);
  background-color: var(--color-bg);
  margin-left: var(--sidebar-width);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition-fast); }
ul, ol { list-style: none; }

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  letter-spacing: 0.03em;
  line-height: 1.25;
}

h1 {
  font-size: var(--fs-h1);
  font-weight: 600;
  letter-spacing: 0.04em;
}

h2 {
  font-size: var(--fs-h2);
  font-weight: 800;
  display: inline-block;
}

/* Gradient text for H2 */
h2.gradient-text,
.gradient-text {
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h3 {
  font-size: var(--fs-h3);
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0.02em;
}

small, .text-small {
  font-size: var(--fs-small);
  font-style: italic;
}

p {
  margin-bottom: 1rem;
}

.text-on-dark { color: var(--color-text-on-dark); }
.text-on-light { color: var(--color-text); }
.text-gold { color: var(--color-gold); }
.text-muted { color: var(--color-text-muted-dark); }

/* --- SIDEBAR NAVIGATION --- */
.sidebar {
  position: fixed;
  left: 0;
  top: 0;
  height: 100vh;
  width: var(--sidebar-width);
  background: var(--color-bg);
  border-right: 1px solid rgba(201, 168, 76, 0.1);
  padding: 2.5rem 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  z-index: 1000;
  overflow-y: auto;
}

.sidebar-logo {
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(201, 168, 76, 0.12);
}

.sidebar-logo .logo-main {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 300;
  letter-spacing: 0.3em;
  color: var(--color-gold);
  display: block;
  line-height: 1.2;
}

.sidebar-logo .logo-sub {
  font-family: var(--font-body);
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(232, 228, 222, 0.5);
  display: block;
  margin-top: 0.35rem;
}

.sidebar-nav {
  flex: 1;
}

.sidebar-nav a {
  display: block;
  position: relative;
  padding: 0.75rem 0 0.75rem 1rem;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  transition: color var(--transition-fast), padding-left var(--transition-fast);
}

.sidebar-nav a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 0;
  background: var(--color-gold);
  border-radius: 2px;
  transition: height var(--transition-fast);
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
  color: #ffffff;
}

.sidebar-nav a:hover::before,
.sidebar-nav a.active::before {
  height: 20px;
}

.sidebar-bottom {
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(201, 168, 76, 0.08);
}

.sidebar-login-btn {
  display: inline-block;
  padding: 0.5rem 1.2rem;
  border: 1px solid rgba(201, 168, 76, 0.3);
  border-radius: var(--radius);
  color: var(--color-gold);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  transition: all var(--transition-fast);
}

.sidebar-login-btn:hover {
  background: var(--color-gold);
  color: var(--color-bg);
}

/* Mobile hamburger */
.mobile-nav-toggle {
  display: none;
  position: fixed;
  top: 1.2rem;
  left: 1.2rem;
  z-index: 1100;
  width: 44px;
  height: 44px;
  background: var(--color-bg);
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: var(--radius);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.mobile-nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-gold);
  transition: all var(--transition-fast);
  border-radius: 1px;
}

.mobile-nav-toggle.is-open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.mobile-nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}
.mobile-nav-toggle.is-open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 999;
}

/* --- HERO SECTION (Overlapping Layers + Stacked Bands) --- */
.hero {
  position: relative;
  min-height: 60vh;
  background: var(--color-bg);
  overflow: hidden;
}

.hero-bg {
  position: relative;
  min-height: 85vh;
  background: var(--color-bg);
  display: flex;
  flex-direction: column;
}

/* Watermark text */
.hero-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-heading);
  font-size: clamp(5rem, 12vw, 8rem);
  font-weight: 600;
  color: white;
  opacity: 0.04;
  letter-spacing: 0.15em;
  white-space: nowrap;
  pointer-events: none;
  z-index: 0;
}

/* Stacked bands */
.hero-band {
  width: 100%;
  position: relative;
  z-index: 1;
}

.hero-band--top {
  background: var(--color-bg-alt);
  padding: 3rem 2rem 2rem;
  text-align: center;
}

.hero-band--top .band-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-gold);
  font-weight: 500;
}

.hero-band--middle {
  background: var(--color-surface);
  padding: 3rem 2rem;
  text-align: center;
}

.hero-band--middle h1 {
  color: var(--color-text);
  max-width: 700px;
  margin: 0 auto 1rem;
}

.hero-band--middle .hero-subtitle {
  color: var(--color-text-light);
  font-size: var(--fs-body);
  max-width: 560px;
  margin: 0 auto;
  font-weight: 350;
}

.hero-band--bottom {
  background: var(--color-bg-alt);
  padding: 2rem;
  text-align: center;
}

.hero-band--bottom .hero-supporting {
  color: var(--color-text-muted-dark);
  font-size: var(--fs-small);
  margin-top: 0.75rem;
}

/* Foreground overlapping card */
.hero-card {
  max-width: 800px;
  margin: -8rem auto 0;
  position: relative;
  z-index: 2;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  box-shadow: var(--shadow-hero);
}

.hero-card h1 { color: var(--color-text); }
.hero-card p { color: var(--color-text-light); }

/* Geometric decorations on hero */
.hero-bg::before {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  border: 2px solid rgba(156, 39, 176, 0.08);
  border-radius: 50%;
  top: 10%;
  right: 8%;
  pointer-events: none;
  z-index: 0;
}

.hero-bg::after {
  content: '';
  position: absolute;
  width: 80px;
  height: 80px;
  border: 2px solid rgba(78, 107, 78, 0.06);
  transform: rotate(45deg);
  bottom: 15%;
  left: 5%;
  pointer-events: none;
  z-index: 0;
}

/* Hexagon motif on hero */
.hero-hexagon {
  position: absolute;
  width: 260px;
  height: 260px;
  top: 20%;
  left: 15%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.05;
}

.hero-hexagon::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: transparent;
  border: 2px solid var(--color-accent);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

/* --- CONTENT SECTIONS (Overlapping Layers) --- */
.section-band {
  width: 100%;
  padding: 6rem 2rem 8rem;
  position: relative;
}

.section-band--dark { background: var(--color-bg-alt); }
.section-band--darker { background: var(--color-bg); }
.section-band--moss { background: var(--color-bg-band-1); }
.section-band--deep { background: var(--color-bg-band-2); }
.section-band--primary { background: var(--color-primary); }

/* Triangle tessellation motif on section bands */
.section-band::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.03;
  background:
    repeating-linear-gradient(60deg, transparent, transparent 60px, rgba(201, 168, 76, 0.3) 60px, rgba(201, 168, 76, 0.3) 61px),
    repeating-linear-gradient(-60deg, transparent, transparent 60px, rgba(201, 168, 76, 0.3) 60px, rgba(201, 168, 76, 0.3) 61px);
  z-index: 0;
}

.section-card {
  max-width: 1000px;
  margin: -3rem auto 0;
  position: relative;
  background: var(--color-surface);
  border-radius: var(--radius-card);
  padding: 3rem;
  box-shadow: var(--shadow-card);
  z-index: 2;
}

.section-card h2 { color: var(--color-text); }
.section-card p { color: var(--color-text); }
.section-card .text-light { color: var(--color-text-light); }

/* Increasing z-index per section */
.section-band:nth-of-type(1) .section-card { z-index: 2; }
.section-band:nth-of-type(2) .section-card { z-index: 3; }
.section-band:nth-of-type(3) .section-card { z-index: 4; }
.section-band:nth-of-type(4) .section-card { z-index: 5; }
.section-band:nth-of-type(5) .section-card { z-index: 6; }
.section-band:nth-of-type(6) .section-card { z-index: 7; }
.section-band:nth-of-type(7) .section-card { z-index: 8; }
.section-band:nth-of-type(8) .section-card { z-index: 9; }

/* Small geometric decorations on sections */
.section-band .geo-circle {
  position: absolute;
  width: 50px;
  height: 50px;
  border: 1.5px solid rgba(78, 107, 78, 0.08);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.section-band .geo-diamond {
  position: absolute;
  width: 40px;
  height: 40px;
  border: 1.5px solid rgba(201, 168, 76, 0.06);
  transform: rotate(45deg);
  pointer-events: none;
  z-index: 0;
}

/* --- TORN PAPER EDGE DIVIDER --- */
.torn-edge {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  z-index: 1;
  line-height: 0;
}

.torn-edge svg {
  width: 100%;
  height: 24px;
  display: block;
}

/* --- FEATURE / SERVICE GRIDS --- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.feature-item {
  position: relative;
  background: linear-gradient(180deg, var(--color-surface), rgba(78, 107, 78, 0.04));
  border-radius: 12px;
  padding: 2rem 1.5rem 1.5rem;
  box-shadow: var(--shadow-inset);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.feature-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 1.5rem;
  width: 40px;
  height: 3px;
  background: var(--color-primary);
  border-radius: 2px;
}

/* Card corner triangle motif */
.feature-item::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 24px 24px 0;
  border-color: transparent rgba(156, 39, 176, 0.06) transparent transparent;
  border-radius: 0 12px 0 0;
}

.feature-item h3 {
  color: var(--color-text);
  margin-bottom: 0.6rem;
  font-style: normal;
  font-weight: 600;
  font-size: 1.05rem;
}

.feature-item p {
  color: var(--color-text-light);
  font-size: var(--fs-small);
}

/* --- PRICING TIER CARDS --- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--card-gap);
  margin-top: 2rem;
}

.pricing-card {
  position: relative;
  background: linear-gradient(180deg, var(--color-surface), rgba(78, 107, 78, 0.03));
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem 2rem;
  box-shadow: var(--shadow-subtle);
  perspective: 1000px;
  transition: transform 0.4s ease-out, box-shadow 0.4s ease-out;
}

.pricing-card--popular {
  border: 1px solid var(--color-gold);
  box-shadow: 0 2px 12px rgba(201, 168, 76, 0.1);
}

.pricing-label {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--color-text-light);
  display: block;
  margin-bottom: 0.5rem;
}

.pricing-label--highlight {
  color: var(--color-gold);
}

.pricing-card h3 {
  color: var(--color-text);
  font-style: normal;
  font-weight: 600;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.pricing-price {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: 1rem;
}

.pricing-card ul {
  margin: 1rem 0;
}

.pricing-card li {
  color: var(--color-text-light);
  font-size: var(--fs-small);
  padding: 0.35rem 0;
  padding-left: 1.2rem;
  position: relative;
}

.pricing-card li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.8rem;
}

.pricing-card .pricing-best {
  font-size: var(--fs-small);
  font-style: italic;
  color: var(--color-text-light);
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

/* --- COMPARISON TABLE --- */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.5rem;
  font-size: var(--fs-small);
}

.comparison-table thead th {
  text-align: left;
  padding: 1rem 0.75rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-text);
  border-bottom: 2px solid var(--color-primary);
  letter-spacing: 0.03em;
}

.comparison-table thead th:first-child {
  color: var(--color-text-light);
}

.comparison-table tbody td {
  padding: 0.75rem;
  color: var(--color-text-light);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  vertical-align: top;
}

.comparison-table tbody td:last-child {
  color: var(--color-text);
  font-weight: 500;
}

/* --- GHOST BUTTONS --- */
.btn {
  display: inline-block;
  padding: 0.7rem 1.8rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition-base);
  text-align: center;
  border: none;
}

.btn-ghost {
  background: transparent;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
}

.btn-ghost:hover {
  background: var(--color-primary);
  color: #ffffff;
}

/* Ghost on dark backgrounds */
.btn-ghost-dark {
  background: transparent;
  border: 2px solid var(--color-gold);
  color: var(--color-gold);
}

.btn-ghost-dark:hover {
  background: var(--color-gold);
  color: var(--color-bg);
}

/* Primary CTA — accent (used sparingly) */
.btn-primary {
  background: var(--color-accent);
  color: #ffffff;
  border: 2px solid var(--color-accent);
}

.btn-primary:hover {
  background: #7b1fa2;
  border-color: #7b1fa2;
}

/* Subtle CTA — appears only at section ends */
.btn-subtle {
  background: transparent;
  border: 1px solid rgba(78, 107, 78, 0.3);
  color: var(--color-text-light);
  font-size: 0.78rem;
  padding: 0.55rem 1.4rem;
}

.btn-subtle:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.section-cta {
  text-align: center;
  margin-top: 2.5rem;
}

/* --- TESTIMONIALS (Minimal with border) --- */
.testimonial {
  border-left: 3px solid var(--color-accent);
  padding: 1.5rem 0 1.5rem 1.75rem;
  margin-bottom: 2rem;
}

.testimonial blockquote {
  color: var(--color-text);
  font-size: var(--fs-body);
  font-style: italic;
  font-weight: 350;
  line-height: 1.75;
  margin-bottom: 1rem;
}

.testimonial cite {
  display: block;
  font-style: normal;
  font-size: var(--fs-small);
  color: var(--color-text-light);
  font-weight: 500;
}

.testimonial cite strong {
  color: var(--color-text);
}

/* --- STATS — BIG NUMBER CARDS --- */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--card-gap);
  margin-top: 2rem;
}

.stat-card {
  background: linear-gradient(180deg, var(--color-surface), rgba(78, 107, 78, 0.04));
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-subtle);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 3rem);
  font-weight: 600;
  color: var(--color-primary);
  line-height: 1.1;
  display: block;
  margin-bottom: 0.5rem;
}

/* On dark backgrounds */
.stat-card--dark {
  background: var(--color-bg-alt);
  border: 1px solid rgba(201, 168, 76, 0.08);
}

.stat-card--dark .stat-number {
  color: var(--color-gold);
}

.stat-card--dark .stat-label {
  color: var(--color-text-on-dark);
}

.stat-label {
  font-size: var(--fs-small);
  color: var(--color-text-light);
  line-height: 1.3;
}

/* --- ACCORDION FAQ --- */
.accordion { margin-top: 1.5rem; }

.accordion-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.accordion-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-text);
  transition: color var(--transition-fast);
  letter-spacing: 0.02em;
}

.accordion-header:hover { color: var(--color-primary); }

.accordion-icon {
  width: 20px;
  height: 20px;
  position: relative;
  flex-shrink: 0;
  margin-left: 1rem;
}

.accordion-icon::before,
.accordion-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  background: var(--color-text-light);
  transition: transform var(--transition-fast);
}

.accordion-icon::before { transform: translate(-50%, -50%); }
.accordion-icon::after { transform: translate(-50%, -50%) rotate(90deg); }

.accordion-item.is-active .accordion-icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
}

.accordion-content {
  padding: 0 0 1.25rem;
  color: var(--color-text-light);
  font-size: var(--fs-body);
  line-height: 1.7;
}

/* --- TABS --- */
.tabs-bar {
  display: flex;
  gap: 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  margin-bottom: 2rem;
  overflow-x: auto;
}

.tab-btn {
  background: none;
  border: none;
  padding: 0.9rem 1.5rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text-light);
  cursor: pointer;
  position: relative;
  white-space: nowrap;
  transition: color var(--transition-fast);
  letter-spacing: 0.04em;
}

.tab-btn::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--color-accent);
  border-radius: 2px 2px 0 0;
  transform: scaleX(0);
  transition: transform var(--transition-fast);
}

.tab-btn:hover { color: var(--color-text); }
.tab-btn.is-active { color: var(--color-text); }
.tab-btn.is-active::after { transform: scaleX(1); }

.tab-panel {
  display: none;
  animation: fadeUp 0.5s ease;
}

.tab-panel.is-active { display: block; }

/* --- FLOATING LABEL FORM --- */
.form-group {
  position: relative;
  margin-bottom: 1.75rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 1.2rem 0 0.5rem;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  color: var(--color-text);
  background: transparent;
  border: none;
  border-bottom: 1.5px solid rgba(0, 0, 0, 0.15);
  border-radius: 0;
  outline: none;
  transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-bottom-color: var(--color-primary);
}

.form-group label {
  position: absolute;
  top: 1.2rem;
  left: 0;
  font-size: var(--fs-body);
  color: var(--color-text-light);
  pointer-events: none;
  transition: all var(--transition-fast);
  transform-origin: left;
}

.form-group input:focus ~ label,
.form-group input.has-value ~ label,
.form-group textarea:focus ~ label,
.form-group textarea.has-value ~ label,
.form-group select:focus ~ label,
.form-group select.has-value ~ label {
  top: 0;
  font-size: 0.72rem;
  color: var(--color-primary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

/* Dark background form variant */
.form-dark .form-group input,
.form-dark .form-group textarea {
  color: var(--color-text-on-dark);
  border-bottom-color: rgba(232, 228, 222, 0.2);
}

.form-dark .form-group input:focus,
.form-dark .form-group textarea:focus {
  border-bottom-color: var(--color-gold);
}

.form-dark .form-group label {
  color: var(--color-text-muted-dark);
}

.form-dark .form-group input:focus ~ label,
.form-dark .form-group input.has-value ~ label {
  color: var(--color-gold);
}

/* Checkbox */
.form-checkbox {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

.form-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--color-primary);
  cursor: pointer;
}

.form-checkbox label {
  font-size: var(--fs-small);
  color: var(--color-text-light);
  cursor: pointer;
  position: static;
  pointer-events: auto;
}

/* Radio groups */
.radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.radio-group label {
  position: static;
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: var(--fs-small);
  color: var(--color-text-light);
  cursor: pointer;
}

.radio-group input[type="radio"] {
  accent-color: var(--color-primary);
}

/* Password toggle */
.password-wrapper {
  position: relative;
}

.password-toggle {
  position: absolute;
  right: 0;
  top: 1rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-text-light);
  font-size: var(--fs-small);
  padding: 0.2rem 0;
  font-family: var(--font-body);
  transition: color var(--transition-fast);
}

.password-toggle:hover { color: var(--color-primary); }

/* --- MULTI-STEP FORM --- */
.form-wizard { position: relative; }

.progress-bar {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.progress-step {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--fs-small);
  color: var(--color-text-light);
  opacity: 0.4;
  transition: opacity var(--transition-fast);
}

.progress-step.is-active { opacity: 1; color: var(--color-primary); }
.progress-step.is-complete { opacity: 0.7; }

.progress-step-num {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 2px solid currentColor;
  font-size: 0.75rem;
  font-weight: 600;
}

.progress-step.is-active .progress-step-num {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #ffffff;
}

.wizard-step { display: none; }
.wizard-step.is-active { display: block; animation: fadeUp 0.4s ease; }

.inquiry-type-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.75rem;
  margin: 1.5rem 0;
}

.inquiry-type-btn {
  padding: 1rem;
  border: 1.5px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--radius);
  background: transparent;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--color-text);
  text-align: center;
  transition: all var(--transition-fast);
}

.inquiry-type-btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.inquiry-type-btn.is-selected {
  border-color: var(--color-primary);
  background: rgba(78, 107, 78, 0.06);
  color: var(--color-primary);
}

.wizard-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

/* --- BEFORE/AFTER CASE STUDY LAYOUT --- */
.case-study {
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.case-study:last-child { border-bottom: none; }

.case-study-header {
  font-size: var(--fs-small);
  color: var(--color-text-light);
  margin-bottom: 1.5rem;
  letter-spacing: 0.04em;
}

.case-split {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2rem;
  align-items: start;
}

.case-challenge h3,
.case-result h3 {
  font-size: 0.8rem;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.case-challenge h3 { color: var(--color-text-light); }
.case-result h3 { color: var(--color-primary); }

.case-challenge p,
.case-result p {
  font-size: var(--fs-small);
  color: var(--color-text);
  line-height: 1.65;
}

.case-metrics {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0 1rem;
  border-left: 1px solid rgba(0, 0, 0, 0.06);
  border-right: 1px solid rgba(0, 0, 0, 0.06);
}

.case-metric {
  text-align: center;
}

.case-metric-val {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-primary);
  display: block;
}

.case-metric-label {
  font-size: 0.7rem;
  color: var(--color-text-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* --- INDUSTRY COMPARISON COLUMNS --- */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--card-gap);
}

.industry-col {
  background: linear-gradient(180deg, var(--color-surface), rgba(78, 107, 78, 0.03));
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-inset);
  position: relative;
  perspective: 1000px;
  transition: transform 0.4s ease-out, box-shadow 0.4s ease-out;
}

.industry-col h3 {
  font-style: normal;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

.industry-col h4 {
  font-family: var(--font-body);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  color: var(--color-text-light);
  margin: 1rem 0 0.4rem;
}

.industry-col p,
.industry-col li {
  font-size: var(--fs-small);
  color: var(--color-text-light);
  line-height: 1.6;
}

.industry-result {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  font-size: var(--fs-small);
  font-style: italic;
  color: var(--color-primary);
}

/* --- MAGAZINE EDITORIAL LAYOUT (About) --- */
.editorial-column {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 2rem;
}

.editorial-column p {
  color: var(--color-text);
  margin-bottom: 1.618rem;
}

.drop-cap::first-letter {
  font-family: var(--font-heading);
  float: left;
  font-size: 4rem;
  line-height: 0.75;
  padding: 0.1em 0.12em 0 0;
  color: var(--color-primary);
  font-weight: 600;
}

.pull-quote {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-style: italic;
  color: var(--color-primary);
  border-left: 3px solid var(--color-gold);
  padding: 1rem 0 1rem 1.5rem;
  margin: 2rem -2rem 2rem 0;
  line-height: 1.5;
}

.inline-stat {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--color-primary);
}

/* --- NARRATIVE SCROLL (Services) --- */
.service-section {
  min-height: 80vh;
  display: flex;
  align-items: center;
  padding: var(--section-pad) 2rem;
}

.service-content {
  max-width: 800px;
  margin: 0 auto;
}

.service-before-after {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin: 2rem 0;
}

.service-before,
.service-after {
  padding: 1.5rem;
  border-radius: var(--radius);
}

.service-before {
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.service-after {
  background: rgba(78, 107, 78, 0.05);
  border: 1px solid rgba(78, 107, 78, 0.12);
}

.service-before h4,
.service-after h4 {
  font-family: var(--font-body);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.service-before h4 { color: var(--color-text-light); }
.service-after h4 { color: var(--color-primary); }

.service-before p,
.service-after p {
  font-size: var(--fs-small);
  color: var(--color-text);
}

/* --- SPLIT-SCREEN HERO (About) --- */
.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 50vh;
}

.hero-split-visual {
  background: var(--color-bg-alt);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-split-content {
  background: var(--color-surface);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3.5rem;
}

.hero-split-content h1 { color: var(--color-text); }
.hero-split-content p { color: var(--color-text-light); }

/* --- LOGIN PAGE --- */
.login-hero-band {
  background: var(--color-bg);
  padding: 5rem 2rem 8rem;
  text-align: center;
  position: relative;
}

.login-hero-band h1 {
  color: var(--color-text-on-dark);
}

.login-hero-band p {
  color: var(--color-text-muted-dark);
}

.login-card {
  max-width: 440px;
  margin: -5rem auto 3rem;
  position: relative;
  z-index: 2;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-hero);
}

.login-card h2 {
  color: var(--color-text);
  margin-bottom: 2rem;
}

.forgot-link {
  display: block;
  text-align: center;
  margin-top: 1rem;
  font-size: var(--fs-small);
  color: var(--color-text-light);
  transition: color var(--transition-fast);
}

.forgot-link:hover { color: var(--color-primary); }

/* --- GEOMETRIC CSS ILLUSTRATION PLACEHOLDERS --- */
.css-illustration {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 200px;
  overflow: hidden;
  border-radius: var(--radius);
}

.css-illustration::before {
  content: '';
  position: absolute;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(78, 107, 78, 0.3);
  top: 20%;
  left: 30%;
}

.css-illustration::after {
  content: '';
  position: absolute;
  width: 60px;
  height: 60px;
  background: rgba(201, 168, 76, 0.25);
  transform: rotate(45deg);
  bottom: 25%;
  right: 25%;
}

.css-illustration .shape-1 {
  position: absolute;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 2px solid rgba(125, 166, 125, 0.4);
  top: 10%;
  right: 15%;
}

.css-illustration .shape-2 {
  position: absolute;
  width: 50px;
  height: 50px;
  background: rgba(156, 39, 176, 0.15);
  border-radius: 50%;
  bottom: 15%;
  left: 20%;
}

.css-illustration .shape-3 {
  position: absolute;
  width: 0;
  height: 0;
  border-left: 35px solid transparent;
  border-right: 35px solid transparent;
  border-bottom: 60px solid rgba(78, 107, 78, 0.2);
  top: 40%;
  left: 55%;
}

/* Variants for different pages */
.css-illustration--alt::before {
  width: 120px;
  height: 120px;
  background: rgba(201, 168, 76, 0.2);
  top: 10%;
  left: 10%;
}

.css-illustration--alt::after {
  width: 70px;
  height: 70px;
  background: rgba(78, 107, 78, 0.25);
  transform: rotate(30deg);
  top: 30%;
  right: 20%;
  bottom: auto;
}

/* --- DISCLOSURES SECTION --- */
.disclosures-section {
  background: var(--color-bg-alt);
  border-top: 1px solid rgba(201, 168, 76, 0.08);
  padding: 2.5rem 3rem 2rem;
  margin-left: 0; /* Full width relative to main content */
}

.disclosures-section h3 {
  font-style: normal;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  color: var(--color-gold);
  margin-bottom: 1rem;
}

.disclosures-section p {
  font-size: 0.875rem;
  color: var(--color-text-on-dark);
  line-height: 1.65;
  margin-bottom: 0.75rem;
  opacity: 0.8;
  max-width: 900px;
}

/* --- FOOTER --- */
.site-footer {
  background: var(--color-primary);
  color: #ffffff;
  padding: 4rem 3rem 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.footer-heading {
  font-family: var(--font-body);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  margin-bottom: 1rem;
  opacity: 0.9;
  color: #ffffff;
}

.footer-about-text {
  font-size: var(--fs-small);
  opacity: 0.75;
  line-height: 1.65;
  color: #ffffff;
}

.footer-links a {
  display: block;
  line-height: 2;
  font-size: 0.9rem;
  opacity: 0.75;
  color: #ffffff;
  transition: opacity var(--transition-fast);
}

.footer-links a:hover { opacity: 1; }

.footer-contact-line {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9rem;
  opacity: 0.8;
  margin-bottom: 0.75rem;
  color: #ffffff;
}

.footer-contact-icon {
  flex-shrink: 0;
  width: 16px;
  text-align: center;
  margin-top: 0.15rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 1.5rem;
  margin-top: 2.5rem;
  font-size: 0.75rem;
  opacity: 0.5;
  text-align: center;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  color: #ffffff;
}

/* --- COOKIE BANNER --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: var(--sidebar-width);
  right: 0;
  background: var(--color-bg-alt);
  border-top: 1px solid rgba(201, 168, 76, 0.1);
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  z-index: 9999;
  transform: translateY(0);
  transition: transform 0.5s ease;
}

.cookie-banner.is-hidden {
  transform: translateY(100%);
  pointer-events: none;
}

.cookie-banner p {
  font-size: var(--fs-small);
  color: var(--color-text-on-dark);
  margin: 0;
  flex: 1;
}

.cookie-banner-actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

.cookie-accept {
  padding: 0.5rem 1.2rem;
  border: 1.5px solid var(--color-gold);
  background: transparent;
  color: var(--color-gold);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.78rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  letter-spacing: 0.06em;
  font-weight: 500;
}

.cookie-accept:hover {
  background: var(--color-gold);
  color: var(--color-bg);
}

.cookie-decline {
  background: none;
  border: none;
  color: var(--color-text-muted-dark);
  font-family: var(--font-body);
  font-size: 0.78rem;
  cursor: pointer;
  transition: color var(--transition-fast);
  padding: 0.5rem 0.5rem;
}

.cookie-decline:hover { color: var(--color-text-on-dark); }

/* --- STAGGERED CASCADE ANIMATIONS --- */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cascade-container .cascade-item {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.cascade-container.is-visible .cascade-item:nth-child(1) { transition-delay: 0s; opacity: 1; transform: translateY(0); }
.cascade-container.is-visible .cascade-item:nth-child(2) { transition-delay: 0.1s; opacity: 1; transform: translateY(0); }
.cascade-container.is-visible .cascade-item:nth-child(3) { transition-delay: 0.2s; opacity: 1; transform: translateY(0); }
.cascade-container.is-visible .cascade-item:nth-child(4) { transition-delay: 0.3s; opacity: 1; transform: translateY(0); }
.cascade-container.is-visible .cascade-item:nth-child(5) { transition-delay: 0.4s; opacity: 1; transform: translateY(0); }
.cascade-container.is-visible .cascade-item:nth-child(6) { transition-delay: 0.5s; opacity: 1; transform: translateY(0); }
.cascade-container.is-visible .cascade-item:nth-child(7) { transition-delay: 0.6s; opacity: 1; transform: translateY(0); }
.cascade-container.is-visible .cascade-item:nth-child(8) { transition-delay: 0.7s; opacity: 1; transform: translateY(0); }

/* Fade in for individual elements */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- TEAM CARDS (Overlapping Collage) --- */
.team-collage {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--card-gap);
  margin-top: 2rem;
}

.team-card {
  background: linear-gradient(180deg, var(--color-surface), rgba(78, 107, 78, 0.04));
  border-radius: var(--radius-lg);
  padding: 0;
  box-shadow: var(--shadow-subtle);
  overflow: hidden;
  perspective: 1000px;
  transition: transform 0.4s ease-out, box-shadow 0.4s ease-out;
}

.team-card-visual {
  height: 140px;
  position: relative;
  overflow: hidden;
}

/* Unique CSS illustration per team member using nth-child */
.team-card:nth-child(1) .team-card-visual { background: var(--color-bg-alt); }
.team-card:nth-child(2) .team-card-visual { background: #1a1a1a; }
.team-card:nth-child(3) .team-card-visual { background: var(--color-bg-band-1); }
.team-card:nth-child(4) .team-card-visual { background: var(--color-bg-band-2); }
.team-card:nth-child(5) .team-card-visual { background: #151a15; }
.team-card:nth-child(6) .team-card-visual { background: #1a1518; }

.team-card:nth-child(odd) .team-card-visual::before {
  content: '';
  position: absolute;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(78, 107, 78, 0.3);
  top: 30%;
  left: 25%;
}

.team-card:nth-child(odd) .team-card-visual::after {
  content: '';
  position: absolute;
  width: 40px;
  height: 40px;
  background: rgba(201, 168, 76, 0.25);
  transform: rotate(45deg);
  top: 20%;
  right: 30%;
}

.team-card:nth-child(even) .team-card-visual::before {
  content: '';
  position: absolute;
  width: 70px;
  height: 70px;
  border: 2px solid rgba(201, 168, 76, 0.2);
  border-radius: 50%;
  bottom: 15%;
  right: 20%;
}

.team-card:nth-child(even) .team-card-visual::after {
  content: '';
  position: absolute;
  width: 0;
  height: 0;
  border-left: 25px solid transparent;
  border-right: 25px solid transparent;
  border-bottom: 45px solid rgba(78, 107, 78, 0.2);
  top: 25%;
  left: 30%;
}

.team-card-info {
  padding: 1.5rem;
}

.team-card-info h3 {
  font-style: normal;
  font-weight: 600;
  color: var(--color-text);
  font-size: 1rem;
  margin-bottom: 0.15rem;
}

.team-card-title {
  font-size: 0.75rem;
  color: var(--color-primary);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.15rem;
}

.team-card-specialty {
  font-size: 0.72rem;
  color: var(--color-text-light);
  font-style: italic;
  margin-bottom: 0.75rem;
}

.team-card-bio {
  font-size: var(--fs-small);
  color: var(--color-text-light);
  line-height: 1.55;
}

/* --- INSIGHT/ARTICLE CARDS --- */
.insights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--card-gap);
}

.insight-card {
  background: linear-gradient(180deg, var(--color-surface), rgba(78, 107, 78, 0.03));
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
  perspective: 1000px;
  transition: transform 0.4s ease-out, box-shadow 0.4s ease-out;
}

.insight-card-visual {
  height: 160px;
  position: relative;
  overflow: hidden;
}

.insight-card:nth-child(1) .insight-card-visual { background: linear-gradient(135deg, #1a1a1a, #0f1a0f); }
.insight-card:nth-child(2) .insight-card-visual { background: linear-gradient(135deg, #141414, #1a1518); }
.insight-card:nth-child(3) .insight-card-visual { background: linear-gradient(135deg, #0f1a0f, #1a1a1a); }
.insight-card:nth-child(4) .insight-card-visual { background: linear-gradient(135deg, #1a1518, #141414); }

.insight-card-visual::before {
  content: '';
  position: absolute;
  width: 80px;
  height: 80px;
  border: 2px solid rgba(201, 168, 76, 0.15);
  border-radius: 50%;
  top: 20%;
  left: 20%;
}

.insight-card-visual::after {
  content: '';
  position: absolute;
  width: 50px;
  height: 50px;
  background: rgba(78, 107, 78, 0.2);
  transform: rotate(45deg);
  bottom: 20%;
  right: 25%;
}

.insight-card-body {
  padding: 1.5rem;
}

.insight-card-meta {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-light);
  margin-bottom: 0.5rem;
}

.insight-card-body h3 {
  font-style: normal;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--color-text);
  margin-bottom: 0.25rem;
}

.insight-card-subtitle {
  font-size: var(--fs-small);
  font-style: italic;
  color: var(--color-text-light);
  margin-bottom: 0.75rem;
}

.insight-card-preview {
  font-size: var(--fs-small);
  color: var(--color-text-light);
  line-height: 1.55;
  margin-bottom: 1rem;
}

.insight-card .btn-subtle {
  font-size: 0.72rem;
}

/* --- CONTACT SIDEBAR INFO --- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 3rem;
  align-items: start;
}

.contact-sidebar {
  background: var(--color-bg-alt);
  border-radius: var(--radius-card);
  padding: 2rem;
}

.contact-sidebar h3 {
  font-style: normal;
  font-weight: 600;
  color: var(--color-text-on-dark);
  margin-bottom: 1rem;
  font-size: 1rem;
}

.contact-sidebar p {
  color: var(--color-text-muted-dark);
  font-size: var(--fs-small);
  line-height: 1.65;
  margin-bottom: 0.5rem;
}

.contact-sidebar a {
  color: var(--color-gold);
}

.contact-sidebar a:hover { color: var(--color-text-on-dark); }

/* --- LEGAL PAGES (Privacy, Terms) --- */
.legal-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 2rem;
}

.legal-content h2 {
  display: block;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  background: none;
  -webkit-text-fill-color: var(--color-text);
  font-size: 1.25rem;
}

.legal-content p {
  color: var(--color-text);
  margin-bottom: 1rem;
}

.legal-date {
  font-size: var(--fs-small);
  color: var(--color-text-light);
  margin-bottom: 2rem;
}

/* --- UTILITY CLASSES --- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

.text-center { text-align: center; }

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }

.section-intro {
  max-width: 640px;
  margin-bottom: 2rem;
}

.section-intro p {
  color: var(--color-text-light);
  font-size: var(--fs-body);
}

/* Section compact padding */
.section-pad {
  padding: var(--section-pad) 0;
}

/* Select styling */
.form-group select {
  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='%235F755F' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0 center;
  padding-right: 1.5rem;
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
  .hero-split {
    grid-template-columns: 1fr;
  }

  .case-split {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .case-metrics {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    border: none;
    padding: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    padding: 1rem 0;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .service-before-after {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  body {
    margin-left: 0;
  }

  .sidebar {
    transform: translateX(-100%);
    transition: transform 0.4s ease;
    width: 260px;
  }

  .sidebar.is-open {
    transform: translateX(0);
  }

  .mobile-nav-toggle {
    display: flex;
  }

  .sidebar-overlay.is-active {
    display: block;
  }

  .hero-bg {
    min-height: 70vh;
  }

  .hero-card {
    margin: -4rem 1rem 0;
    padding: 2rem;
  }

  .section-card {
    margin: -2rem 1rem 0;
    padding: 2rem;
  }

  .section-band {
    padding: 4rem 1rem 6rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .site-footer {
    padding: 3rem 2rem 1.5rem;
  }

  .cookie-banner {
    left: 0;
    flex-direction: column;
    text-align: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
  }

  .hero-band--middle h1 {
    font-size: clamp(1.6rem, 5vw, 2.2rem);
  }

  .stats-row {
    grid-template-columns: 1fr 1fr;
  }

  .hero-split-visual {
    min-height: 200px;
  }

  .tabs-bar {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .tab-btn {
    padding: 0.75rem 1rem;
    font-size: 0.78rem;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .comparison-table {
    font-size: 0.75rem;
  }

  .comparison-table thead th,
  .comparison-table tbody td {
    padding: 0.5rem;
  }

  .inquiry-type-grid {
    grid-template-columns: 1fr 1fr;
  }

  .disclosures-section {
    padding: 2rem 1.5rem;
  }

  .login-card {
    margin: -4rem 1rem 2rem;
    padding: 2rem;
  }

  .editorial-column {
    padding: 0 1rem;
  }

  .pull-quote {
    margin: 1.5rem 0;
  }

  .team-collage {
    grid-template-columns: 1fr;
  }

  .industry-grid {
    grid-template-columns: 1fr;
  }

  .insights-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .stats-row {
    grid-template-columns: 1fr;
  }

  .inquiry-type-grid {
    grid-template-columns: 1fr;
  }

  .hero-bg::before,
  .hero-bg::after,
  .hero-hexagon {
    display: none;
  }
}