:root {
  /* Тёмная премиальная палетра */
  --bg: #0f1419;           /* Глубокий чёрно-синий */
  --bg-elevated: #1a1f2e;  /* Повышенные элементы - слегка светлее */
  --bg-card: #151b28;      /* Карточки - глубокий синий */
  --bg-deeper: #0a0e16;    /* Самый тёмный - для контраста */
  
  /* Текст */
  --text: #f0f2f5;         /* Белый с лёгким синим оттенком */
  --text-soft: #b8bcc7;    /* Мягкий серебристо-серый */
  --text-muted: #7a8190;   /* Приглушённый серый */
  --text-subtle: #4a525d;  /* Тонкий серый */
  
  /* Акценты */
  --accent: #d91e28;       /* Красный логотип (неизменный) */
  --accent-soft: rgba(217, 30, 40, 0.15);
  
  /* Бордеры */
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);

  --serif: 'Fraunces', 'Times New Roman', serif;
  --sans: 'Instrument Sans', -apple-system, sans-serif;
  --mono: 'JetBrains Mono', 'Courier New', monospace;

  --max-w: 1280px;
  --gutter: clamp(20px, 4vw, 64px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

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

/* ===== Container ===== */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* ===== Typography helpers ===== */
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 24px; height: 1px;
  background: var(--accent);
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--text);
}

.display-xl {
  font-size: clamp(48px, 8.5vw, 128px);
  line-height: 0.95;
  letter-spacing: -0.035em;
}
.display-lg {
  font-size: clamp(40px, 6vw, 84px);
  line-height: 1.0;
  letter-spacing: -0.03em;
}
.display-md {
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.025em;
}
.display-sm {
  font-size: clamp(24px, 2.6vw, 36px);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

em, .italic {
  font-style: italic;
  font-family: var(--serif);
  color: var(--accent);
  font-weight: 400;
}

.muted { color: var(--text-muted); }
.soft { color: var(--text-soft); }

/* ===== Header ===== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  background: rgba(15, 20, 25, 0.8);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.site-header.scrolled {
  border-bottom-color: var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 14px;
}
.nav-logo img {
  height: 55px;
  width: auto;
}
.nav-logo-text {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text);
  display: none;
}
.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  font-size: 14px;
  color: var(--text-soft);
  transition: color 0.2s;
  position: relative;
  letter-spacing: 0.01em;
}
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0; right: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { transform: scaleX(1); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 24px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  border-radius: 100px;
  transition: all 0.25s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover {
  background: #ef2e38;
  transform: translateY(-1px);
  box-shadow: 0 12px 32px -8px rgba(217, 30, 40, 0.5);
}
.btn-ghost {
  color: var(--text);
  border: 1px solid var(--border-strong);
  background: transparent;
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.3);
}
.btn-arrow {
  display: inline-block;
  transition: transform 0.25s;
}
.btn:hover .btn-arrow { transform: translateX(4px); }

@media (max-width: 900px) {
  .nav-links { display: none; }
}
@media (max-width: 600px) {
  .btn-header-text { display: none; }
  .btn-header { padding: 12px 18px; }
}

/* ===== Hero ===== */
.hero {
  padding-top: clamp(130px, 16vh, 180px);
  padding-bottom: clamp(80px, 12vh, 140px);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: 20%; left: -10%;
  width: 60vw; height: 60vw;
  background: radial-gradient(circle, rgba(217, 30, 40, 0.08) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.hero-content { position: relative; z-index: 1; }

.hero-eyebrow-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
}
.hero-meta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.hero-title {
  font-size: clamp(52px, 9vw, 140px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  font-weight: 400;
  margin-bottom: 56px;
  max-width: 14ch;
}
.hero-title .word-accent {
  font-style: italic;
  color: var(--accent);
  font-weight: 300;
}
.hero-title .word-accent::after {
  content: ".";
  color: var(--accent);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  margin-top: 40px;
  padding-top: 48px;
  border-top: 1px solid var(--border);
}
.hero-lead {
  font-family: var(--serif);
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.35;
  font-weight: 300;
  color: var(--text-soft);
  letter-spacing: -0.01em;
}
.hero-lead strong {
  color: var(--text);
  font-weight: 400;
}

.hero-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.hero-bullets li {
  display: flex;
  gap: 18px;
  font-size: 15px;
  color: var(--text-soft);
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
  line-height: 1.45;
}
.hero-bullets li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.hero-bullets li::before {
  content: counter(bulls, decimal-leading-zero);
  counter-increment: bulls;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.1em;
  flex-shrink: 0;
  padding-top: 3px;
}
.hero-bullets { counter-reset: bulls; }

@media (max-width: 800px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-eyebrow-row { flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 32px; }
}

/* ===== Clients marquee ===== */
.marquee-section {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  position: relative;
}
.marquee-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 24px;
}
.marquee {
  display: flex;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}
.marquee-track {
  display: flex;
  gap: 64px;
  padding-right: 64px;
  flex-shrink: 0;
  animation: marquee-scroll 45s linear infinite;
}
.marquee-item {
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 36px);
  font-style: italic;
  font-weight: 300;
  color: var(--text-muted);
  white-space: nowrap;
  letter-spacing: -0.01em;
  transition: color 0.3s;
}
.marquee-item:hover { color: var(--text); }
.marquee-item .dot {
  color: var(--accent);
  font-style: normal;
  margin-left: 64px;
}
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ===== Trust numbers ===== */
.trust {
  padding: clamp(80px, 10vh, 120px) 0;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.trust-item {
  padding: 32px 24px;
  border-right: 1px solid var(--border);
}
.trust-item:last-child { border-right: none; }
.trust-number {
  font-family: var(--serif);
  font-size: clamp(48px, 6vw, 88px);
  line-height: 0.95;
  font-weight: 300;
  letter-spacing: -0.04em;
  color: var(--text);
  margin-bottom: 16px;
  display: block;
}
.trust-number .suffix {
  color: var(--accent);
  font-style: italic;
  font-weight: 300;
}
.trust-label {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.4;
  max-width: 22ch;
}
@media (max-width: 800px) {
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-item { border-right: none; border-bottom: 1px solid var(--border); }
  .trust-item:nth-child(2) { border-right: 1px solid var(--border); }
  .trust-item:nth-child(2n) { border-right: none; }
}
@media (max-width: 480px) {
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item:nth-child(2) { border-right: none; }
}

/* ===== Section generic ===== */
section { position: relative; }
.section-pad {
  padding: clamp(80px, 12vh, 160px) 0;
}
.section-head {
  margin-bottom: clamp(48px, 7vh, 80px);
  max-width: 900px;
}
.section-head .eyebrow { margin-bottom: 28px; }
.section-head h2 { margin-bottom: 24px; }
.section-head p {
  font-size: clamp(16px, 1.3vw, 19px);
  color: var(--text-soft);
  max-width: 65ch;
  line-height: 1.6;
}

/* ===== Value section ===== */
.value {
  background: var(--bg-deeper);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.value-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 8vw, 100px);
  align-items: center;
}
.value-text h2 {
  font-size: clamp(38px, 5.5vw, 76px);
  line-height: 1.0;
  letter-spacing: -0.03em;
}
.value-text h2 em {
  color: var(--accent);
}
.value-text p {
  font-size: 17px;
  color: var(--text-soft);
  line-height: 1.65;
  margin-top: 32px;
  max-width: 52ch;
}
.value-visual {
  aspect-ratio: 1;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.value-visual::before,
.value-visual::after {
  content: "";
  position: absolute;
  inset: 0;
}
.value-visual::before {
  background:
    radial-gradient(circle at 20% 30%, rgba(217, 30, 40, 0.25) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(217, 30, 40, 0.1) 0%, transparent 50%);
}
.value-visual::after {
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
}
.value-stat {
  position: relative;
  z-index: 2;
  text-align: center;
}
.value-stat-big {
  font-family: var(--serif);
  font-size: clamp(80px, 12vw, 160px);
  line-height: 0.9;
  font-weight: 300;
  letter-spacing: -0.04em;
  color: var(--text);
}
.value-stat-big em {
  color: var(--accent);
  font-weight: 300;
}
.value-stat-cap {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 16px;
}
@media (max-width: 800px) {
  .value-inner { grid-template-columns: 1fr; }
}

/* ===== Profiles (interactive tabs) ===== */
.profiles-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 64px;
  align-items: end;
}
.profiles-head h2 { font-size: clamp(36px, 5vw, 64px); }
.profiles-head p {
  font-size: 16px;
  color: var(--text-soft);
  line-height: 1.6;
}

.profile-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 64px;
}
.profile-tab {
  padding: 28px 20px;
  text-align: left;
  border-right: 1px solid var(--border);
  position: relative;
  transition: background 0.3s;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 160px;
}
.profile-tab:last-child { border-right: none; }
.profile-tab:hover { background: rgba(255, 255, 255, 0.02); }
.profile-tab::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  top: -1px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s cubic-bezier(.6,.2,.2,1);
}
.profile-tab.active::after { transform: scaleX(1); }
.profile-tab.active { background: rgba(255, 255, 255, 0.02); }

.profile-tab-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--accent);
}
.profile-tab-role {
  font-family: var(--serif);
  font-size: clamp(18px, 1.5vw, 22px);
  letter-spacing: -0.015em;
  line-height: 1.2;
  color: var(--text);
  margin-top: auto;
}
.profile-tab-tag {
  font-size: 13px;
  color: var(--text-muted);
}

.profile-panels { position: relative; }
.profile-panel {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  animation: fade-in 0.5s ease;
}
.profile-panel.active { display: grid; }
@keyframes fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.profile-panel-left h3 {
  font-size: clamp(28px, 3.5vw, 44px);
  margin-bottom: 24px;
  line-height: 1.1;
}
.profile-panel-left h3 em {
  color: var(--accent);
}
.profile-panel-left p {
  color: var(--text-soft);
  font-size: 16px;
  line-height: 1.65;
  margin-bottom: 20px;
}
.profile-panel-right h4 {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}
.profile-benefits { list-style: none; }
.profile-benefits li {
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-soft);
  font-size: 16px;
  line-height: 1.55;
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 16px;
}
.profile-benefits li::before {
  content: "→";
  color: var(--accent);
  font-family: var(--mono);
  font-size: 14px;
  padding-top: 3px;
}
.profile-cta {
  margin-top: 32px;
}
@media (max-width: 900px) {
  .profile-tabs { grid-template-columns: 1fr 1fr; }
  .profile-tab { border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); min-height: 140px; }
  .profile-tab:nth-child(2) { border-right: none; }
  .profile-panel { grid-template-columns: 1fr; }
  .profiles-head { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 500px) {
  .profile-tabs { grid-template-columns: 1fr; }
  .profile-tab { border-right: none; min-height: auto; }
}

/* ===== Insights (3 facts) ===== */
.insights {
  background: var(--bg-deeper);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.insight-card {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 40px;
  padding: 56px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}
.insight-card:last-child { border-bottom: none; }
.insight-num {
  font-family: var(--serif);
  font-size: clamp(56px, 6vw, 88px);
  line-height: 0.9;
  font-weight: 300;
  color: var(--accent);
  font-style: italic;
  letter-spacing: -0.03em;
}
.insight-body h3 {
  font-size: clamp(26px, 3vw, 40px);
  margin-bottom: 20px;
  line-height: 1.15;
  max-width: 20ch;
}
.insight-body > p {
  color: var(--text-soft);
  font-size: 16px;
  line-height: 1.65;
  margin-bottom: 20px;
  max-width: 65ch;
}
.insight-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin: 32px 0;
  padding: 28px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.insight-stat-num {
  font-family: var(--serif);
  font-size: clamp(32px, 3.5vw, 44px);
  font-weight: 300;
  line-height: 1;
  color: var(--text);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.insight-stat-num em { color: var(--accent); font-weight: 300; }
.insight-stat-label {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.4;
}
.insight-conclusion {
  padding: 20px 24px;
  background: var(--bg-card);
  border-left: 2px solid var(--accent);
  font-size: 16px;
  color: var(--text-soft);
  line-height: 1.55;
}
.insight-conclusion strong {
  color: var(--text);
  font-weight: 500;
}
@media (max-width: 700px) {
  .insight-card { grid-template-columns: 1fr; gap: 16px; }
  .insight-num { font-size: 56px; }
  .insight-stats { grid-template-columns: 1fr; gap: 20px; }
}

/* ===== Process ===== */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 80px;
}
.process-step {
  padding: 40px 28px;
  border-right: 1px solid var(--border);
  position: relative;
}
.process-step:last-child { border-right: none; }
.process-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 24px;
}
.process-step h4 {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
  letter-spacing: -0.015em;
  margin-bottom: 8px;
}
.process-step .process-time {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.process-step p {
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.55;
}

.directions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.direction-card {
  padding: 36px 32px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  border-radius: 3px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.direction-card:hover {
  border-color: var(--border-strong);
  background: var(--bg-elevated);
}
.direction-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 0% 0%, rgba(217, 30, 40, 0.08) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s;
}
.direction-card:hover::before { opacity: 1; }
.direction-card > * { position: relative; z-index: 1; }
.direction-card h4 {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
  letter-spacing: -0.015em;
  margin-bottom: 16px;
}
.direction-card h4 em { color: var(--accent); }
.direction-card p {
  font-size: 15px;
  color: var(--text-soft);
  line-height: 1.6;
}
@media (max-width: 900px) {
  .process-steps { grid-template-columns: 1fr 1fr; }
  .process-step:nth-child(2) { border-right: none; }
  .process-step:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
  .directions-grid { grid-template-columns: 1fr; }
}
@media (max-width: 500px) {
  .process-steps { grid-template-columns: 1fr; }
  .process-step { border-right: none; border-bottom: 1px solid var(--border); }
  .process-step:last-child { border-bottom: none; }
}

/* ===== Formats ===== */
.formats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.format-card {
  padding: 48px 32px;
  border-right: 1px solid var(--border);
  transition: background 0.3s;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 320px;
}
.format-card:last-child { border-right: none; }
.format-card:hover { background: var(--bg-card); }
.format-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--accent);
}
.format-card h4 {
  font-family: var(--serif);
  font-size: clamp(26px, 2.6vw, 32px);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.1;
}
.format-card h4 em { color: var(--accent); }
.format-card p {
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.6;
  flex: 1;
}
.format-time {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-muted);
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
@media (max-width: 900px) {
  .formats-grid { grid-template-columns: 1fr; }
  .format-card { border-right: none; border-bottom: 1px solid var(--border); min-height: auto; }
  .format-card:last-child { border-bottom: none; }
}

/* ===== Cases preview ===== */
.cases {
  background: var(--bg-deeper);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.cases-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 40px;
  margin-bottom: 56px;
}
.cases-head h2 { font-size: clamp(36px, 5vw, 64px); max-width: 15ch; }
.cases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.case-card {
  background: var(--bg);
  padding: 40px 36px;
  transition: background 0.3s;
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-height: 340px;
  position: relative;
}
.case-card:hover { background: var(--bg-card); }
.case-client {
  display: flex;
  justify-content: space-between;
  align-items: start;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--text-muted);
}
.case-client .case-type { color: var(--accent); }
.case-card h3 {
  font-family: var(--serif);
  font-size: clamp(28px, 2.8vw, 38px);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.case-card h3 em { color: var(--accent); font-weight: 300; }
.case-card > p {
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.6;
  flex: 1;
}
.case-metrics {
  display: flex;
  gap: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.case-metric-num {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 300;
  color: var(--text);
  letter-spacing: -0.02em;
  display: block;
  line-height: 1;
}
.case-metric-num em { color: var(--accent); font-weight: 300; }
.case-metric-label {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 6px;
  display: block;
  max-width: 18ch;
  line-height: 1.3;
}
@media (max-width: 800px) {
  .cases-grid { grid-template-columns: 1fr; }
  .cases-head { flex-direction: column; align-items: flex-start; }
}

/* ===== FAQ ===== */
.faq-list {
  max-width: 880px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-q {
  width: 100%;
  padding: 28px 0;
  text-align: left;
  font-family: var(--serif);
  font-size: clamp(19px, 1.6vw, 24px);
  font-weight: 400;
  letter-spacing: -0.015em;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  transition: color 0.2s;
  line-height: 1.3;
}
.faq-q:hover { color: var(--accent); }
.faq-icon {
  font-family: var(--mono);
  font-size: 24px;
  color: var(--accent);
  transition: transform 0.3s;
  flex-shrink: 0;
  line-height: 1;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  color: var(--text-soft);
  font-size: 16px;
  line-height: 1.7;
}
.faq-item.open .faq-a {
  max-height: 600px;
  padding: 0 0 32px 0;
}

/* ===== Final CTA ===== */
.final-cta {
  padding: clamp(100px, 15vh, 180px) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 80vw; height: 80vw;
  max-width: 900px; max-height: 900px;
  background: radial-gradient(circle, rgba(217, 30, 40, 0.1) 0%, transparent 60%);
  pointer-events: none;
}
.final-cta-inner { position: relative; z-index: 1; max-width: 900px; margin: 0 auto; }
.final-cta h2 {
  font-size: clamp(40px, 6vw, 84px);
  line-height: 1.0;
  letter-spacing: -0.03em;
  margin-bottom: 32px;
}
.final-cta h2 em { color: var(--accent); font-weight: 300; }
.final-cta p {
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--text-soft);
  margin-bottom: 48px;
  max-width: 58ch;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}
.final-cta .btn { padding: 18px 36px; font-size: 15px; }
.final-cta-sub {
  margin-top: 24px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

/* ===== Footer ===== */
.site-footer {
  background: var(--bg-deeper);
  border-top: 1px solid var(--border);
  padding: 80px 0 32px;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--border);
}
.footer-brand img { height: 48px; margin-bottom: 20px; }
.footer-brand p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
  max-width: 34ch;
}
.footer-col h5 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  font-weight: 500;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-col a, .footer-col li {
  color: var(--text-soft);
  font-size: 14px;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 32px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-subtle);
  gap: 24px;
  flex-wrap: wrap;
}
@media (max-width: 800px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .footer-top { grid-template-columns: 1fr; }
}

/* ===== Scroll reveal helper ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Selection ===== */
::selection {
  background: var(--accent);
  color: #fff;
}
