/* ===========================================
   MURTA CONSULTORIA — Design System
   =========================================== */

:root {
  /* Cores */
  --navy-900: #07172e;
  --navy-800: #0a1f3a;
  --navy-700: #122a4a;
  --navy-600: #1c3a63;
  --navy-500: #2c5183;
  --slate-700: #334155;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --gold-500: #c79850;
  --gold-400: #d4a965;
  --gold-300: #e5c388;
  --white: #ffffff;
  --success: #16a34a;

  /* Tipografia */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Espaçamento */
  --container: 1200px;
  --container-narrow: 960px;

  /* Sombras */
  --shadow-sm: 0 1px 2px rgba(7, 23, 46, 0.06);
  --shadow-md: 0 4px 12px rgba(7, 23, 46, 0.08);
  --shadow-lg: 0 12px 32px rgba(7, 23, 46, 0.12);
  --shadow-xl: 0 24px 60px rgba(7, 23, 46, 0.18);

  /* Transições */
  --t-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --t-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--slate-700);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

button { font: inherit; cursor: pointer; border: none; background: none; }

ul, ol { list-style: none; }

/* Tipografia base */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy-900);
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h4 { font-size: 1.125rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

strong { color: var(--navy-900); font-weight: 600; }

/* Container */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.container--narrow { max-width: var(--container-narrow); }

/* Section */
.section {
  padding: clamp(64px, 10vw, 120px) 0;
}

.section--alt {
  background: var(--slate-50);
}

.section--dark {
  background: var(--navy-900);
  color: var(--slate-300);
}

.section--dark h1, .section--dark h2,
.section--dark h3, .section--dark h4 {
  color: var(--white);
}

.section__eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 16px;
}

.section__title {
  margin-bottom: 16px;
}

.section__lede {
  font-size: 1.125rem;
  color: var(--slate-500);
  max-width: 720px;
  margin-bottom: 56px;
}

.section--dark .section__lede { color: var(--slate-400); }

.section__header {
  margin-bottom: 56px;
}

.section__header--center {
  text-align: center;
}

.section__header--center .section__lede {
  margin-left: auto;
  margin-right: auto;
}

/* ===========================================
   NAVBAR
   =========================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid rgba(7, 23, 46, 0.08);
  transition: box-shadow var(--t-base);
}

.navbar.is-scrolled {
  box-shadow: var(--shadow-sm);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--navy-900);
  font-weight: 700;
  font-size: 1.0625rem;
  letter-spacing: -0.01em;
}

.brand__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-900));
  color: var(--gold-400);
  font-weight: 800;
  font-size: 1.0625rem;
  letter-spacing: -0.04em;
}

.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { color: var(--navy-900); font-weight: 700; }
.brand__tag { font-size: 0.6875rem; color: var(--slate-500); font-weight: 500; text-transform: uppercase; letter-spacing: 0.1em; }

.nav__menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav__link {
  padding: 8px 14px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--slate-700);
  border-radius: 6px;
  transition: color var(--t-fast), background var(--t-fast);
}

.nav__link:hover { color: var(--navy-900); background: var(--slate-100); }
.nav__link.is-active { color: var(--navy-900); }

.nav__cta {
  margin-left: 12px;
}

.nav__toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  color: var(--navy-900);
  border-radius: 6px;
}

.nav__toggle svg { width: 24px; height: 24px; }

/* ===========================================
   BOTÕES
   =========================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 8px;
  transition: all var(--t-fast);
  white-space: nowrap;
  border: 1px solid transparent;
}

.btn--primary {
  background: var(--navy-900);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--navy-700);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn--accent {
  background: var(--gold-500);
  color: var(--navy-900);
}

.btn--accent:hover {
  background: var(--gold-400);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn--outline {
  background: transparent;
  color: var(--navy-900);
  border-color: var(--slate-300);
}

.btn--outline:hover {
  border-color: var(--navy-900);
  background: var(--navy-900);
  color: var(--white);
}

.btn--ghost-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.25);
}

.btn--ghost-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

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

.btn__arrow {
  transition: transform var(--t-fast);
}

.btn:hover .btn__arrow {
  transform: translateX(3px);
}

/* ===========================================
   HERO
   =========================================== */
.hero {
  position: relative;
  background: var(--navy-900);
  color: var(--slate-300);
  overflow: hidden;
  padding: clamp(80px, 14vw, 140px) 0 clamp(80px, 12vw, 120px);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 80% 0%, rgba(199, 152, 80, 0.18), transparent 70%),
    radial-gradient(ellipse 50% 50% at 0% 100%, rgba(44, 81, 131, 0.4), transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 880px;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: rgba(199, 152, 80, 0.12);
  border: 1px solid rgba(199, 152, 80, 0.3);
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gold-300);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.hero__eyebrow::before {
  content: "";
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold-400);
  box-shadow: 0 0 12px rgba(199, 152, 80, 0.7);
}

.hero__title {
  color: var(--white);
  font-size: clamp(2.25rem, 5.5vw, 4rem);
  line-height: 1.05;
  margin-bottom: 24px;
}

.hero__title em {
  font-style: normal;
  color: var(--gold-400);
}

.hero__subtitle {
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
  color: var(--slate-400);
  max-width: 680px;
  margin-bottom: 40px;
  line-height: 1.6;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 56px;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 24px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero__stat-value {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 8px;
}

.hero__stat-label {
  font-size: 0.875rem;
  color: var(--slate-400);
  line-height: 1.4;
}

/* ===========================================
   PAGE HEADER (interior pages)
   =========================================== */
.page-header {
  background: var(--navy-900);
  color: var(--slate-300);
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 10vw, 120px) 0 clamp(64px, 9vw, 96px);
}

.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 80% 0%, rgba(199, 152, 80, 0.15), transparent 70%);
  pointer-events: none;
}

.page-header__inner { position: relative; z-index: 1; }

.page-header__breadcrumb {
  font-size: 0.875rem;
  color: var(--slate-400);
  margin-bottom: 16px;
}

.page-header__breadcrumb a:hover { color: var(--gold-400); }
.page-header__breadcrumb span { margin: 0 8px; color: var(--slate-500); }

.page-header__title {
  color: var(--white);
  margin-bottom: 16px;
}

.page-header__lede {
  font-size: 1.125rem;
  color: var(--slate-400);
  max-width: 760px;
  line-height: 1.6;
}

/* ===========================================
   GRID & CARDS
   =========================================== */
.grid {
  display: grid;
  gap: 24px;
}

.grid--2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 12px;
  padding: 28px;
  transition: border-color var(--t-base), box-shadow var(--t-base), transform var(--t-base);
}

.card:hover {
  border-color: var(--navy-700);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-900));
  color: var(--gold-400);
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.card__title {
  font-size: 1.1875rem;
  margin-bottom: 12px;
}

.card__text {
  color: var(--slate-500);
  font-size: 0.9375rem;
}

.card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--navy-700);
  transition: color var(--t-fast), gap var(--t-fast);
}

.card__link:hover { color: var(--gold-500); gap: 10px; }

/* Service Card — destaque */
.service-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 16px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: all var(--t-base);
}

.service-card:hover {
  border-color: var(--navy-700);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.service-card__num {
  position: absolute;
  top: 24px;
  right: 28px;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--slate-200);
  line-height: 1;
  letter-spacing: -0.04em;
}

.service-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-900));
  color: var(--gold-400);
  margin-bottom: 24px;
}

.service-card__icon svg { width: 28px; height: 28px; }

.service-card__title {
  font-size: 1.375rem;
  margin-bottom: 12px;
}

.service-card__text {
  color: var(--slate-500);
  font-size: 0.9375rem;
  margin-bottom: 20px;
  flex-grow: 1;
}

.service-card__list {
  margin-bottom: 24px;
}

.service-card__list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 8px;
  font-size: 0.9375rem;
  color: var(--slate-700);
}

.service-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 12px;
  height: 12px;
  border-radius: 4px;
  background: var(--gold-400);
  opacity: 0.9;
}

/* Case card */
.case-card {
  position: relative;
  display: block;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 16px;
  overflow: hidden;
  transition: all var(--t-base);
  height: 100%;
}

.case-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--navy-700);
}

.case-card__hero {
  position: relative;
  padding: 36px 32px 28px;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-900));
  color: var(--white);
  overflow: hidden;
}

.case-card__hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 100% 0%, rgba(199, 152, 80, 0.25), transparent 60%);
}

.case-card__sector {
  position: relative;
  display: inline-block;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-300);
  background: rgba(199, 152, 80, 0.15);
  border: 1px solid rgba(199, 152, 80, 0.3);
  border-radius: 100px;
  margin-bottom: 20px;
}

.case-card__client {
  position: relative;
  color: var(--white);
  font-size: 1.625rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.case-card__subtitle {
  position: relative;
  color: var(--slate-400);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.case-card__body { padding: 28px 32px 32px; }

.case-card__metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}

.case-card__metric-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy-900);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 6px;
}

.case-card__metric-label {
  font-size: 0.8125rem;
  color: var(--slate-500);
  line-height: 1.4;
}

.case-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--navy-700);
  transition: gap var(--t-fast);
}

.case-card:hover .case-card__cta { gap: 10px; color: var(--gold-500); }

/* ===========================================
   STATS BLOCK
   =========================================== */
.stat-block {
  text-align: center;
  padding: 32px 20px;
}

.stat-block__value {
  font-size: clamp(2.25rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--navy-900);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 8px;
}

.section--dark .stat-block__value { color: var(--gold-400); }

.stat-block__label {
  font-size: 0.9375rem;
  color: var(--slate-500);
  font-weight: 500;
}

.section--dark .stat-block__label { color: var(--slate-300); }

/* ===========================================
   PROCESS / STEPS
   =========================================== */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0;
  margin: 48px 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--slate-200);
}

.step {
  position: relative;
  padding: 28px 24px;
  background: var(--white);
  border-right: 1px solid var(--slate-200);
}

.step:last-child { border-right: none; }

.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--navy-900);
  color: var(--gold-400);
  font-weight: 700;
  font-size: 0.875rem;
  margin-bottom: 16px;
}

.step__title {
  font-size: 1rem;
  margin-bottom: 8px;
}

.step__text {
  font-size: 0.875rem;
  color: var(--slate-500);
}

/* Process Detail Block */
.process-block {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 16px;
  padding: 40px;
  margin-bottom: 24px;
}

.process-block__head {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--slate-200);
}

.process-block__step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-900));
  color: var(--gold-400);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-align: center;
  line-height: 1.2;
  padding: 8px;
}

.process-block__step span { display: block; font-size: 1.25rem; }

.process-block__title { font-size: 1.5rem; margin-bottom: 4px; }
.process-block__sub { font-size: 0.9375rem; color: var(--slate-500); }

.process-block__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  margin-top: 8px;
}

.process-block__group-title {
  font-size: 1rem;
  margin-bottom: 14px;
  color: var(--navy-700);
}

.check-list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
  font-size: 0.9375rem;
  color: var(--slate-700);
  line-height: 1.55;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold-500);
  font-weight: 700;
}

/* ===========================================
   PILLAR / FEATURE
   =========================================== */
.pillar {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 12px;
  padding: 28px;
  height: 100%;
}

.pillar__icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--navy-900);
  color: var(--gold-400);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 18px;
}

.pillar__title {
  font-size: 1.125rem;
  margin-bottom: 10px;
}

.pillar__text {
  font-size: 0.9375rem;
  color: var(--slate-500);
}

/* ===========================================
   CONTACT
   =========================================== */
.contact-band {
  background: var(--navy-900);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.contact-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle 600px at 90% 50%, rgba(199, 152, 80, 0.18), transparent 60%);
  pointer-events: none;
}

.contact-band__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: center;
}

.contact-info {
  display: grid;
  gap: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 36px;
}

.contact-info__item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-info__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(199, 152, 80, 0.15);
  color: var(--gold-400);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.contact-info__label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate-400);
  display: block;
  margin-bottom: 4px;
}

.contact-info__value {
  color: var(--white);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
  word-break: break-word;
}

.contact-info__value:hover { color: var(--gold-400); }

/* ===========================================
   FOOTER
   =========================================== */
.footer {
  background: var(--navy-900);
  color: var(--slate-400);
  padding: 64px 0 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer__brand .brand { color: var(--white); margin-bottom: 16px; }
.footer__brand .brand__name { color: var(--white); }
.footer__brand .brand__tag { color: var(--slate-400); }

.footer__about {
  font-size: 0.875rem;
  color: var(--slate-400);
  max-width: 320px;
}

.footer__title {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 16px;
}

.footer__list li { margin-bottom: 10px; }

.footer__list a {
  font-size: 0.9375rem;
  color: var(--slate-400);
  transition: color var(--t-fast);
}

.footer__list a:hover { color: var(--gold-400); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8125rem;
  color: var(--slate-500);
  flex-wrap: wrap;
  gap: 12px;
}

/* ===========================================
   CASE STUDY — internal page
   =========================================== */
.case-hero {
  background: var(--navy-900);
  color: var(--slate-300);
  position: relative;
  overflow: hidden;
  padding: clamp(64px, 9vw, 96px) 0 clamp(64px, 9vw, 96px);
}

.case-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 90% 10%, rgba(199, 152, 80, 0.2), transparent 60%),
    radial-gradient(ellipse 50% 60% at 10% 90%, rgba(44, 81, 131, 0.5), transparent 65%);
  pointer-events: none;
}

.case-hero__inner { position: relative; z-index: 1; }

.case-hero__tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.tag {
  display: inline-block;
  padding: 5px 14px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-300);
  background: rgba(199, 152, 80, 0.12);
  border: 1px solid rgba(199, 152, 80, 0.3);
  border-radius: 100px;
}

.case-hero__client {
  color: var(--white);
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  margin-bottom: 16px;
}

.case-hero__subtitle {
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
  color: var(--slate-400);
  max-width: 760px;
  margin-bottom: 40px;
}

.case-hero__metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 24px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.case-hero__metric-value {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  color: var(--gold-400);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 6px;
}

.case-hero__metric-label {
  color: var(--white);
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.case-hero__metric-sub {
  font-size: 0.8125rem;
  color: var(--slate-400);
}

/* Article content for case study */
.case-content {
  max-width: 920px;
  margin: 0 auto;
}

.case-content h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin-top: 64px;
  margin-bottom: 16px;
}

.case-content h2:first-child { margin-top: 0; }

.case-content h3 {
  font-size: 1.25rem;
  margin-top: 32px;
  margin-bottom: 12px;
  color: var(--navy-700);
}

.case-content p {
  font-size: 1.0625rem;
  color: var(--slate-700);
  line-height: 1.75;
  margin-bottom: 18px;
}

.case-content ul {
  margin-bottom: 24px;
}

.case-content ul li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
  font-size: 1rem;
  color: var(--slate-700);
  line-height: 1.6;
}

.case-content ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-500);
}

.case-meta {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: 16px;
  padding: 32px;
  margin-bottom: 56px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
}

.case-meta__item {
  font-size: 0.875rem;
}

.case-meta__label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate-500);
  margin-bottom: 6px;
}

.case-meta__value {
  font-size: 1rem;
  color: var(--navy-900);
  font-weight: 600;
}

/* Comparison block (before/after) */
.compare {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 32px;
  align-items: center;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-900));
  color: var(--white);
  padding: 48px 40px;
  border-radius: 16px;
  margin: 32px 0;
}

.compare__side { text-align: center; }
.compare__label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate-400);
  margin-bottom: 10px;
}
.compare__value {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 10px;
}
.compare__after .compare__value { color: var(--gold-400); }
.compare__text {
  font-size: 0.9375rem;
  color: var(--slate-300);
}
.compare__arrow {
  font-size: 2rem;
  color: var(--gold-400);
  font-weight: 300;
}

/* Two-column lists */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 16px;
  padding: 36px;
  margin: 24px 0;
}

.two-col__title {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy-700);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--gold-400);
}

/* Clients strip */
.clients-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  margin-top: 40px;
}

.client-item {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 10px;
  padding: 20px 16px;
  text-align: center;
  transition: all var(--t-base);
}

.client-item:hover { border-color: var(--navy-700); transform: translateY(-2px); }

.client-item__name {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 4px;
}

.client-item__sector {
  font-size: 0.75rem;
  color: var(--slate-500);
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 600ms cubic-bezier(0.16, 1, 0.3, 1),
              transform 600ms cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* ===========================================
   RESPONSIVE
   =========================================== */
@media (max-width: 880px) {
  .nav__menu {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px;
    box-shadow: var(--shadow-lg);
    border-top: 1px solid var(--slate-200);
    transform: translateY(-110%);
    transition: transform var(--t-base);
    max-height: calc(100vh - 72px);
    overflow-y: auto;
  }
  .nav__menu.is-open { transform: translateY(0); }
  .nav__link { padding: 14px 16px; font-size: 1rem; }
  .nav__cta { margin: 8px 0 0; width: 100%; justify-content: center; }
  .nav__toggle { display: inline-flex; }

  .contact-band__inner { grid-template-columns: 1fr; gap: 32px; }

  .compare { grid-template-columns: 1fr; gap: 20px; padding: 32px 24px; }
  .compare__arrow { transform: rotate(90deg); }

  .two-col { grid-template-columns: 1fr; padding: 24px; }

  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer__brand { grid-column: 1 / -1; }

  .steps { grid-template-columns: 1fr; }
  .step { border-right: none; border-bottom: 1px solid var(--slate-200); }
  .step:last-child { border-bottom: none; }

  .process-block { padding: 28px 24px; }
  .process-block__head { flex-direction: column; align-items: flex-start; gap: 14px; }
}

@media (max-width: 480px) {
  .footer__grid { grid-template-columns: 1fr; }
  .case-card__metrics { grid-template-columns: 1fr; }
  .case-meta { grid-template-columns: 1fr; }
}
