/* ============================================================
   Effecto Cases · v2 — Luchshe-inspired visual confidence
   в фирменной гамме Эффекто
   ============================================================ */

:root {
  --bg: #08050f;
  --bg-2: #11081e;
  --bg-3: #1a0d2e;
  --violet: #7c3aed;
  --violet-2: #a855f7;
  --magenta: #e879f9;
  --magenta-strong: #d946ef;
  --white: #ffffff;
  --gray: #cbd5e1;
  --muted: #6b6781;
  --border: rgba(255, 255, 255, 0.07);
  --border-2: rgba(255, 255, 255, 0.12);
  --container: 1280px;
  --pad-x: clamp(20px, 4vw, 56px);
  --radius: 24px;
  --radius-sm: 14px;
}

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

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-feature-settings: 'cv11', 'ss01', 'tnum';
  font-variant-numeric: tabular-nums;
  background: var(--bg);
  color: var(--white);
  line-height: 1.55;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

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

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  position: relative;
  z-index: 1;
}

/* ============================================================
   Header — transparent → solid on scroll
   ============================================================ */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 18px 0;
  transition: background 0.3s ease, backdrop-filter 0.3s ease, padding 0.3s ease;
}

.site-header.is-scrolled {
  background: rgba(8, 5, 15, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.02em;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--violet) 0%, var(--magenta-strong) 100%);
  color: var(--white);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.04em;
  position: relative;
  overflow: hidden;
}

.brand-mark::before {
  content: '';
  position: absolute;
  left: -8px;
  top: 0;
  width: 4px;
  height: 100%;
  background: var(--bg);
}

/* Brand logo (image) — replaces old square-mark + text combo */
.brand-logo {
  height: 28px;
  width: auto;
  display: block;
}

@media (min-width: 1100px) {
  .brand-logo { height: 32px; }
}

.brand-logo--lg {
  height: 44px;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 40px);
  font-size: 15px;
}

.primary-nav a {
  color: var(--gray);
  transition: color 0.2s ease;
  font-weight: 500;
}

.primary-nav a:hover {
  color: var(--white);
}

.btn-header {
  padding: 10px 18px;
  border-radius: 100px;
  background: var(--white);
  color: #1a0830;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.01em;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-header:hover {
  background: var(--magenta);
  color: var(--white);
  transform: translateY(-1px);
}

/* ============================================================
   Hero — gradient with halo like Luchshe
   ============================================================ */

.hero {
  padding-top: clamp(120px, 14vw, 180px);
  padding-bottom: clamp(60px, 8vw, 100px);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(ellipse at 80% 30%, rgba(217, 70, 239, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(124, 58, 237, 0.06) 0%, transparent 50%);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 800px 600px at 20% 20%, rgba(124, 58, 237, 0.4), transparent 60%),
    radial-gradient(ellipse 600px 500px at 80% 60%, rgba(217, 70, 239, 0.35), transparent 60%),
    radial-gradient(ellipse 1000px 700px at 50% 100%, rgba(168, 85, 247, 0.2), transparent 70%);
  z-index: -1;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: -1;
  mask-image: radial-gradient(ellipse 800px 600px at center, black, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 800px 600px at center, black, transparent 80%);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: end;
  position: relative;
  z-index: 1;
}

@media (min-width: 1100px) {
  .hero-inner {
    grid-template-columns: 7fr 5fr;
    gap: 80px;
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 28px;
  font-weight: 500;
}

.eyebrow::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--magenta);
}

.hero-title {
  font-size: clamp(44px, 7.5vw, 104px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.92;
  margin-bottom: 36px;
}

.hero-title .accent {
  background: linear-gradient(135deg, var(--magenta) 0%, var(--violet-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: italic;
}

.hero-lead {
  font-size: clamp(17px, 1.4vw, 20px);
  color: var(--gray);
  max-width: 560px;
  margin-bottom: 18px;
  line-height: 1.5;
}

.hero-note {
  font-size: clamp(12px, 1vw, 13px);
  line-height: 1.5;
  color: var(--magenta);
  max-width: 560px;
  margin-bottom: 40px;
  letter-spacing: 0.005em;
  padding-left: 14px;
  border-left: 2px solid rgba(217, 70, 239, 0.6);
  font-style: italic;
  opacity: 0.9;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  transition: all 0.2s ease;
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
  font-family: inherit;
}

.btn-primary {
  background: var(--white);
  color: #1a0830;
}

.btn-primary:hover {
  background: var(--magenta);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(217, 70, 239, 0.35);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  border-color: var(--border-2);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.hero-meta {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 28px 0;
  border-top: 1px solid var(--border);
}

.meta-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.meta-num {
  font-size: clamp(40px, 4.5vw, 64px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--white);
}

.meta-label {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
}

@media (min-width: 1100px) {
  .hero-meta {
    align-items: flex-start;
  }
}

/* ============================================================
   Hero Background — atmospheric hot-clients photo, blended
   ============================================================ */

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.hero-bg-image {
  position: absolute;
  top: 50%;
  right: -10%;
  transform: translateY(-50%);
  height: 130%;
  width: auto;
  object-fit: cover;
  opacity: 0.18;
  filter: blur(8px) saturate(0.85);
  mask-image: radial-gradient(ellipse at 70% 50%, rgba(0,0,0,1) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0) 80%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 50%, rgba(0,0,0,1) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0) 80%);
}

.hero-bg-fade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, transparent 30%, var(--bg) 85%),
    linear-gradient(180deg, transparent 70%, var(--bg) 100%);
}

@media (max-width: 1099px) {
  .hero-bg-image {
    right: -30%;
    height: 100%;
    opacity: 0.12;
  }
}

@media (max-width: 640px) {
  .hero-bg-image { display: none; }
}

/* ============================================================
   Hero Portrait — round photo on the right
   ============================================================ */

.hero-portrait {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  min-height: 380px;
  justify-content: center;
}

@media (min-width: 1100px) {
  .hero-portrait {
    align-items: flex-end;
    padding: 20px 0;
  }
}

.portrait-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(217, 70, 239, 0.45) 0%, rgba(124, 58, 237, 0.2) 40%, transparent 70%);
  border-radius: 50%;
  filter: blur(20px);
  z-index: 0;
  pointer-events: none;
}

.portrait-photo {
  position: relative;
  z-index: 1;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  box-shadow:
    0 0 0 4px rgba(255, 255, 255, 0.1),
    0 40px 80px rgba(217, 70, 239, 0.4),
    0 0 100px rgba(124, 58, 237, 0.3);
  background: var(--bg);
}

/* Card variant — square photo with built-in caption */
.portrait-photo--card {
  width: 360px;
  height: 360px;
  border-radius: 24px;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 1099px) {
  .portrait-photo { width: 240px; height: 240px; }
  .portrait-photo--card { width: 280px; height: 280px; }
  .portrait-glow { width: 320px; height: 320px; }
}

@media (max-width: 480px) {
  .portrait-photo { width: 200px; height: 200px; }
  .portrait-photo--card { width: 240px; height: 240px; border-radius: 18px; }
  .portrait-glow { width: 280px; height: 280px; }
}

.portrait-caption {
  position: relative;
  z-index: 1;
  text-align: center;
}

@media (min-width: 1100px) {
  .portrait-caption { text-align: right; }
}

.portrait-caption .caption-name {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--white);
}

.portrait-caption .caption-role {
  font-size: 13px;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 2px;
}

.portrait-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 10px 16px;
  border-radius: 100px;
  text-decoration: none;
  transition: all 0.25s ease;
  backdrop-filter: blur(8px);
}

.portrait-cta:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

/* ============================================================
   Trust Bar — horizontal stats strip below hero
   ============================================================ */

.trust-bar {
  padding: 24px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}

.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex: 1;
  min-width: 0;
}

.trust-num {
  font-size: clamp(22px, 2.2vw, 32px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--white);
  white-space: nowrap;
}

.trust-label {
  font-size: clamp(11px, 0.95vw, 13px);
  color: var(--muted);
  letter-spacing: 0.04em;
  line-height: 1.3;
}

.trust-divider {
  width: 1px;
  height: 32px;
  background: var(--border);
  flex-shrink: 0;
}

@media (min-width: 1100px) {
  .trust-bar-inner {
    flex-wrap: nowrap;
    gap: 16px;
  }
  .trust-item {
    flex: 1 1 0;
    min-width: 0;
    gap: 8px;
  }
  .trust-num { font-size: clamp(15px, 1.4vw, 22px); }
  .trust-label {
    font-size: clamp(10px, 0.75vw, 12px);
    line-height: 1.35;
    -webkit-line-clamp: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}

@media (min-width: 768px) and (max-width: 1099px) {
  .trust-bar-inner { gap: 16px; }
  .trust-divider { display: none; }
  .trust-item { flex: 0 0 calc(33.333% - 11px); }
}

@media (max-width: 767px) {
  .trust-divider { display: none; }
  .trust-bar-inner { gap: 16px 24px; }
  .trust-item { flex: 0 0 calc(50% - 12px); }
}

/* ============================================================
   Featured Case — one BIG project at the top
   ============================================================ */

.featured {
  padding: clamp(40px, 6vw, 80px) 0;
}

.featured-card {
  display: grid;
  grid-template-columns: 1fr;
  background: linear-gradient(135deg, var(--bg-2) 0%, var(--bg-3) 100%);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-2);
  position: relative;
  transition: transform 0.4s ease, border-color 0.4s ease;
}

.featured-card:hover {
  transform: translateY(-4px);
  border-color: rgba(217, 70, 239, 0.4);
}

@media (min-width: 900px) {
  .featured-card {
    grid-template-columns: 1.1fr 1fr;
    min-height: 540px;
  }
}

.featured-visual {
  position: relative;
  background:
    radial-gradient(ellipse at center, rgba(217, 70, 239, 0.3), transparent 70%),
    linear-gradient(135deg, #2a0e5e 0%, #5b1480 50%, #2a0e5e 100%);
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.featured-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  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;
}

.featured-visual-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 48px 40px;
  text-align: center;
}

.featured-photo {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  box-shadow:
    0 0 0 4px rgba(255, 255, 255, 0.1),
    0 30px 80px rgba(217, 70, 239, 0.5),
    0 0 120px rgba(124, 58, 237, 0.3);
  background: var(--bg);
}

.featured-photo-caption {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.caption-name {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--white);
}

.caption-role {
  font-size: 13px;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 768px) {
  .featured-photo {
    width: 200px;
    height: 200px;
  }
}

.featured-body {
  padding: clamp(40px, 5vw, 64px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--magenta);
  margin-bottom: 24px;
  font-weight: 600;
}

.featured-tag::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--magenta);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--magenta);
}

.featured-title {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 24px;
}

.featured-desc {
  color: var(--gray);
  font-size: 17px;
  line-height: 1.55;
  margin-bottom: 36px;
}

.featured-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 28px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 36px;
}

.featured-metric .num {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--white);
  display: block;
  margin-bottom: 6px;
  white-space: nowrap;
}

.featured-metric .lbl {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.3;
}

/* ============================================================
   Cases Grid — Luchshe-style asymmetric
   ============================================================ */

.cases {
  padding: clamp(80px, 10vw, 140px) 0;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 56px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}

.section-title {
  font-size: clamp(36px, 4.5vw, 64px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 0.95;
  max-width: 14ch;
}

.section-sub {
  color: var(--muted);
  font-size: 16px;
  max-width: 36ch;
}

.filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.chip {
  background: transparent;
  border: 1px solid var(--border-2);
  color: var(--gray);
  padding: 10px 18px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.15s ease;
  letter-spacing: -0.005em;
}

.chip:hover {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.05);
}

.chip.is-active {
  background: var(--white);
  color: #1a0830;
  border-color: var(--white);
}

.cases-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .cases-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (min-width: 1100px) {
  .cases-grid {
    grid-template-columns: repeat(12, 1fr);
    gap: 28px;
  }
  /* Asymmetric layout for first 4 case-cards */
  .case-card:nth-of-type(1) { grid-column: span 7; }
  .case-card:nth-of-type(2) { grid-column: span 5; }
  .case-card:nth-of-type(3) { grid-column: span 5; }
  .case-card:nth-of-type(4) { grid-column: span 7; }
}

@media (max-width: 1099px) and (min-width: 768px) {
  .cases-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.case-card {
  background: var(--bg-2);
  border: 1px solid var(--border-2);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(.2, .8, .2, 1), border-color 0.35s ease, background 0.35s ease;
  position: relative;
}

.case-card:hover {
  transform: translateY(-4px);
  border-color: rgba(217, 70, 239, 0.5);
  background: var(--bg-3);
}

.case-link {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.case-cover {
  aspect-ratio: 16 / 10;
  background: var(--bg-3);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.case-cover::before {
  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: 30px 30px;
}

.case-cover::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(124, 58, 237, 0.2), transparent 60%);
}

.cover-art {
  position: relative;
  z-index: 1;
  width: 65%;
  max-width: 280px;
  transition: transform 0.5s cubic-bezier(.2, .8, .2, 1);
}

.case-card:hover .cover-art {
  transform: scale(1.06);
}

.cover-mark {
  position: absolute;
  top: 20px;
  left: 24px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.12em;
  z-index: 2;
}

.cover-arrow {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--border-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  z-index: 2;
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
}

.case-card:hover .cover-arrow {
  background: var(--magenta);
  border-color: var(--magenta);
  color: var(--white);
  transform: rotate(-45deg);
}

.case-body {
  padding: 28px 28px 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.case-tags {
  margin-bottom: 16px;
}

.tag {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--magenta);
  font-weight: 600;
}

.case-title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 12px;
  color: var(--white);
}

@media (min-width: 1100px) {
  .case-card:nth-child(1) .case-title,
  .case-card:nth-child(4) .case-title {
    font-size: 26px;
  }
}

.case-desc {
  color: var(--gray);
  font-size: 15px;
  margin-bottom: 24px;
  line-height: 1.5;
  flex: 1;
}

.case-metric {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.metric-num {
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--white);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.metric-label {
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.02em;
  line-height: 1.3;
}

/* Placeholder card */
.case-card--placeholder {
  border-style: dashed;
  border-color: rgba(217, 70, 239, 0.3);
  background: transparent;
}

.case-card--placeholder .case-cover {
  background: transparent;
}

.case-card--placeholder .case-cover::before,
.case-card--placeholder .case-cover::after {
  display: none;
}

.cover-next {
  color: var(--magenta);
  font-size: 72px;
  font-weight: 800;
  line-height: 1;
}

/* ============================================================
   Video Tiles — uniform 3-column grid within cases section
   ============================================================ */

.cases-subsection {
  margin: 64px 0 32px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.subsection-title {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--white);
}

.subsection-sub {
  font-size: 14px;
  color: var(--muted);
  letter-spacing: 0.01em;
}

.video-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 640px) {
  .video-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1100px) {
  .video-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
  }
}

.video-tile {
  background: var(--bg-2);
  border: 1px solid var(--border-2);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
}

.video-tile:hover {
  transform: translateY(-4px);
  border-color: rgba(217, 70, 239, 0.4);
}

.video-tile .video-cover {
  position: relative;
  cursor: pointer;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.video-tile .video-cover svg {
  width: 100%;
  height: 100%;
  display: block;
}

.video-poster--image {
  position: relative;
  width: 100%;
  height: 100%;
  background: #1a1410;
}

.video-poster--image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
  transition: transform 0.4s ease, filter 0.4s ease;
}

.video-tile:hover .video-poster--image img {
  transform: scale(1.04);
  filter: brightness(0.7);
}

.video-tile:hover .video-poster--image::after {
  opacity: 1;
}

.video-poster--image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(217, 70, 239, 0.15), rgba(124, 58, 237, 0.25));
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 1;
}

.video-tile .case-body {
  padding: 20px 24px 24px;
}

.video-tile .case-title {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.3;
  margin-bottom: 6px;
  color: var(--white);
}

.video-tile .case-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}

.video-tile .case-desc--long {
  font-size: 13px;
  line-height: 1.55;
}

.video-tile .case-geo {
  font-size: 12px;
  color: var(--magenta);
  letter-spacing: 0.005em;
  margin-top: 4px;
  opacity: 0.85;
}

/* Video Modal */
.video-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
}

.video-modal.is-open {
  display: flex;
}

.video-modal-content {
  position: relative;
  width: 100%;
  max-width: 1200px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.video-modal video {
  width: 100%;
  max-height: calc(100vh - 160px);
  background: #000;
  border-radius: 12px;
  display: block;
}

.video-modal-title {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--white);
  text-align: center;
}

.video-modal-close {
  position: absolute;
  top: -48px;
  right: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.video-modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

@media (max-width: 767px) {
  .video-modal { padding: 24px 16px; }
  .video-modal-close { top: -40px; right: 0; }
}

/* ============================================================
   Testimonials — quotes & interviews
   ============================================================ */

.testimonials {
  padding: clamp(80px, 10vw, 140px) 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (min-width: 1100px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
  }
}

.testimonial-card {
  position: relative;
  background: var(--bg-2);
  border: 1px solid var(--border-2);
  border-radius: var(--radius);
  padding: 40px 32px 32px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, border-color 0.3s ease;
  overflow: hidden;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: rgba(217, 70, 239, 0.4);
}

.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(217, 70, 239, 0.6), transparent);
}

.t-quote-mark {
  position: absolute;
  top: 16px;
  right: 28px;
  font-size: 96px;
  font-weight: 800;
  line-height: 0.7;
  color: rgba(124, 58, 237, 0.25);
  font-family: Georgia, serif;
  letter-spacing: -0.05em;
  pointer-events: none;
}

.t-quote-mark--muted {
  color: rgba(217, 70, 239, 0.4);
  font-family: inherit;
  font-size: 56px;
}

.t-quote {
  font-size: 17px;
  line-height: 1.55;
  color: var(--gray);
  margin-bottom: 32px;
  flex: 1;
  position: relative;
  z-index: 1;
  letter-spacing: -0.005em;
}

.t-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.t-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--violet) 0%, var(--magenta-strong) 100%);
  color: var(--white);
}

.t-avatar--placeholder {
  background: linear-gradient(135deg, #4c1d95 0%, #7c3aed 100%);
}

.t-avatar--dashed {
  background: transparent;
  border: 1px dashed rgba(217, 70, 239, 0.5);
  color: var(--magenta);
  font-size: 20px;
}

.t-author {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.t-name {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--white);
}

.t-role {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.01em;
  line-height: 1.4;
}

.testimonial-card--placeholder {
  border-style: dashed;
  border-color: rgba(217, 70, 239, 0.25);
  background: transparent;
}

.testimonial-card--placeholder:hover {
  border-color: rgba(217, 70, 239, 0.5);
}

/* Empty-state when filter shows no cases */
.cases-empty {
  margin-top: 48px;
  padding: 60px 32px;
  border: 1px dashed rgba(217, 70, 239, 0.3);
  border-radius: var(--radius);
  text-align: center;
  background: rgba(124, 58, 237, 0.04);
}

.cases-empty-mark {
  font-size: 40px;
  color: var(--magenta);
  margin-bottom: 16px;
  opacity: 0.7;
}

.cases-empty-title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--white);
  margin-bottom: 8px;
}

.cases-empty-sub {
  font-size: 14px;
  color: var(--muted);
  max-width: 400px;
  margin: 0 auto;
  line-height: 1.5;
}

/* Yandex Reviews widget */
.yandex-reviews {
  padding: clamp(60px, 8vw, 100px) 0;
}

.yandex-widget-wrap {
  position: relative;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  aspect-ratio: 560 / 800;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-2);
  background: var(--bg-2);
}

.yandex-widget-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

@media (max-width: 640px) {
  .yandex-widget-wrap {
    aspect-ratio: 4 / 5;
  }
}

/* ============================================================
   Approach — color block section like Luchshe
   ============================================================ */

.approach {
  padding: clamp(80px, 10vw, 140px) 0;
}
  padding: clamp(80px, 10vw, 140px) 0;
}

.approach-card {
  background: linear-gradient(135deg, var(--violet) 0%, #4c1d95 100%);
  border-radius: var(--radius);
  padding: clamp(48px, 6vw, 88px);
  position: relative;
  overflow: hidden;
}

.approach-card::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(217, 70, 239, 0.5), transparent 70%);
  pointer-events: none;
}

.approach-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

.approach-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 24px;
  font-weight: 600;
}

.approach-eyebrow::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--magenta);
}

.approach-title {
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin-bottom: 32px;
  max-width: 16ch;
  position: relative;
}

.approach-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  position: relative;
}

@media (min-width: 768px) {
  .approach-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
  }
}

.approach-item {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.approach-num {
  display: block;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--magenta);
  margin-bottom: 16px;
}

.approach-item h3 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 12px;
  line-height: 1.2;
}

.approach-item p {
  font-size: 15px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.75);
}

/* ============================================================
   CTA Strip — final wordmark moment
   ============================================================ */

.cta-strip {
  padding: clamp(80px, 10vw, 140px) 0;
  background: var(--bg-2);
  position: relative;
  overflow: hidden;
}

.cta-strip::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.15), transparent 70%);
  pointer-events: none;
}

.cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 32px;
  position: relative;
}

.cta-title {
  font-size: clamp(48px, 9vw, 128px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.9;
  max-width: 12ch;
  background: linear-gradient(135deg, var(--white) 0%, var(--magenta) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.cta-text {
  font-size: clamp(17px, 1.5vw, 20px);
  color: var(--gray);
  max-width: 50ch;
}

.cta-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ============================================================
   Footer
   ============================================================ */

.site-footer {
  padding: clamp(60px, 8vw, 100px) 0 40px;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
}

@media (min-width: 768px) {
  .footer-inner {
    grid-template-columns: 1fr 2fr;
    gap: 80px;
  }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.brand-mark--lg {
  width: 56px;
  height: 56px;
  font-size: 30px;
  border-radius: 14px;
}

.footer-meta {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.footer-col h4 {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
  font-weight: 600;
}

.footer-col a,
.footer-col p {
  display: block;
  color: var(--gray);
  font-size: 15px;
  margin-bottom: 10px;
  line-height: 1.5;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--white);
}

/* ============================================================
   Individual case page
   ============================================================ */

.case-hero {
  padding-top: clamp(140px, 16vw, 200px);
  padding-bottom: clamp(40px, 5vw, 60px);
}

.case-hero-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 40px;
  transition: color 0.2s ease;
}

.case-hero-back:hover {
  color: var(--white);
}

.case-hero-title {
  font-size: clamp(36px, 6vw, 80px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.02;
  max-width: 16ch;
  margin-bottom: 32px;
}

.case-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 32px 56px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.case-hero-meta .meta-num {
  font-size: clamp(32px, 3.5vw, 48px);
}

.case-section {
  padding: clamp(40px, 6vw, 80px) 0;
  border-top: 1px solid var(--border);
}

.case-section h2 {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.case-section p {
  color: var(--gray);
  font-size: 17px;
  line-height: 1.6;
  max-width: 70ch;
  margin-bottom: 16px;
}

.case-section ul {
  list-style: none;
  padding: 0;
  margin: 16px 0;
}

.case-section ul li {
  padding: 14px 0 14px 28px;
  position: relative;
  color: var(--gray);
  font-size: 16px;
  border-bottom: 1px solid var(--border);
}

.case-section ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--magenta);
  font-weight: 600;
}

.case-section ul li:last-child {
  border-bottom: none;
}

/* ============================================================
   Accessibility & Motion
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .case-card:hover,
  .featured-card:hover,
  .btn-primary:hover,
  .btn-ghost:hover {
    transform: none;
  }
}

:focus-visible {
  outline: 2px solid var(--magenta);
  outline-offset: 4px;
  border-radius: 4px;
}

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 767px) {
  .primary-nav { gap: 18px; font-size: 14px; }
  .footer-links { grid-template-columns: 1fr; gap: 32px; }
  .hero-actions, .cta-actions { width: 100%; }
  .hero-actions .btn, .cta-actions .btn { flex: 1; min-width: 0; }
  .featured-metrics { grid-template-columns: 1fr; gap: 16px; padding: 20px 0; }
}

@media (max-width: 480px) {
  .primary-nav a:nth-child(2) { display: none; }
  .case-metric { flex-wrap: wrap; }
  .hero-title { font-size: clamp(40px, 12vw, 56px); }
}
