/* ==========================================================================
   ETLEGIS — Home Variants Core Architecture Stylesheet (100% LIGHT THEME)
   Светлая эстетика высшего уровня (Awwwards / Studio Optical Glass / Swiss Law)
   ========================================================================== */

:root {
  /* Базовая светлая палитра (Concept 10 Studio & Swiss Editorial) */
  --bg-canvas: #F4F6F9;
  --bg-ambient: radial-gradient(85vw 80vw at 70% 45%, rgba(255, 255, 255, 0.98) 0%, rgba(244, 246, 250, 0.92) 35%, rgba(220, 226, 236, 0.65) 60%, transparent 85%),
                linear-gradient(90deg, #E2E6EE 0%, #ECEFF4 28%, #F2F5F9 50%, #FAFBFD 74%, #FFFFFF 100%);
  --bg-surface: rgba(255, 255, 255, 0.92);
  --bg-card: rgba(255, 255, 255, 0.82);
  --bg-card-hover: rgba(255, 255, 255, 0.96);

  --text-primary: #0A111F;
  --text-secondary: #334155;
  --text-muted: #64748B;
  --text-dim: #94A3B8;

  --gold-accent: #A77E36;
  --gold-light: #C5A059;
  --gold-glow: rgba(167, 126, 54, 0.18);
  --blue-sapphire: #1E3A8A;
  --cyan-accent: #0284C7;

  --border-light: rgba(10, 17, 31, 0.08);
  --border-focus: rgba(167, 126, 54, 0.45);
  --card-shadow: 0 16px 40px rgba(10, 17, 31, 0.06), 0 2px 6px rgba(10, 17, 31, 0.03);
  --card-shadow-hover: 0 24px 60px rgba(10, 17, 31, 0.12), 0 4px 12px rgba(10, 17, 31, 0.05);

  --font-serif: 'Jost', sans-serif;
  --font-sans: 'Jost', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --radius-pill: 0px;
  --radius-card: 20px;
}

/* ==========================================================================
   НАСТРОЙКИ 4 СВЕТЛЫХ КОНЦЕПЦИЙ (Distinct Architectural Signatures)
   ========================================================================== */

/* Вариант 1: Студийный хрусталь & Золото (Studio Platinum & Crystal Light) */
body[data-theme="crystal"] {
  --bg-canvas: #F4F6F9;
  --bg-ambient: radial-gradient(85vw 80vw at 70% 45%, rgba(255, 255, 255, 0.98) 0%, rgba(244, 246, 250, 0.92) 35%, rgba(220, 226, 236, 0.65) 60%, transparent 85%),
                linear-gradient(90deg, #E2E6EE 0%, #ECEFF4 28%, #F2F5F9 50%, #FAFBFD 74%, #FFFFFF 100%);
  --gold-accent: #A77E36;
  --gold-light: #C5A059;
  --gold-glow: rgba(167, 126, 54, 0.20);
  --border-focus: rgba(167, 126, 54, 0.45);
  --radius-card: 22px;
}
body[data-theme="crystal"] .hero-title .title-main {
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: -0.015em;
  color: #0A111F;
}
body[data-theme="crystal"] .hero-title .title-accent {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: #A77E36;
}
body[data-theme="crystal"] .hero-eyebrow {
  border: 1px solid rgba(167, 126, 54, 0.30);
  background: rgba(255, 255, 255, 0.90);
  color: #8A6524;
}

/* Вариант 2: Жидкий монолит & Сапфировый лед (Executive Fluid & Arctic Sapphire) */
body[data-theme="fluid"] {
  --bg-canvas: #EEF4FA;
  --bg-ambient: radial-gradient(85vw 80vw at 70% 45%, rgba(255, 255, 255, 0.98) 0%, rgba(236, 244, 252, 0.90) 35%, rgba(210, 226, 244, 0.60) 60%, transparent 85%),
                linear-gradient(90deg, #DDEAF7 0%, #E7F1FB 28%, #F0F6FD 50%, #F9FBFE 74%, #FFFFFF 100%);
  --gold-accent: #0284C7;
  --gold-light: #38BDF8;
  --gold-glow: rgba(2, 132, 199, 0.25);
  --border-light: rgba(2, 132, 199, 0.12);
  --border-focus: rgba(2, 132, 199, 0.50);
  --radius-card: 24px;
}
body[data-theme="fluid"] .hero-title {
  font-family: var(--font-sans);
  letter-spacing: -0.035em;
}
body[data-theme="fluid"] .hero-title .title-main {
  font-family: var(--font-sans);
  font-weight: 800;
  color: #0A1424;
}
body[data-theme="fluid"] .hero-title .title-accent {
  font-family: var(--font-sans);
  font-weight: 700;
  font-style: normal;
  color: #0284C7;
}
body[data-theme="fluid"] .hero-eyebrow {
  border: 1px solid rgba(2, 132, 199, 0.35);
  background: rgba(240, 249, 255, 0.92);
  color: #0369A1;
  font-weight: 600;
}
body[data-theme="fluid"] .btn--primary {
  background: linear-gradient(135deg, #0284C7 0%, #1D4ED8 100%);
  border-color: #0284C7;
  box-shadow: 0 10px 28px rgba(2, 132, 199, 0.30);
}
body[data-theme="fluid"] .btn--primary:hover {
  background: linear-gradient(135deg, #0369A1 0%, #1E40AF 100%);
  box-shadow: 0 14px 34px rgba(2, 132, 199, 0.45);
}
body[data-theme="fluid"] .practice-card-pro {
  border-color: rgba(2, 132, 199, 0.18);
  box-shadow: 0 16px 45px rgba(2, 132, 199, 0.08);
}
body[data-theme="fluid"] .practice-card-pro:hover {
  border-color: #0284C7;
}

/* Вариант 3: Швейцарская архитектурная классика (Editorial Swiss Authority) */
body[data-theme="editorial"] {
  --bg-canvas: #F6F4EE;
  --bg-ambient: radial-gradient(85vw 80vw at 70% 45%, rgba(255, 255, 255, 0.98) 0%, rgba(248, 246, 240, 0.92) 35%, rgba(235, 230, 218, 0.65) 60%, transparent 85%),
                linear-gradient(90deg, #E7E2D6 0%, #EEEAE0 28%, #F5F3EC 50%, #FAF9F6 74%, #FFFFFF 100%);
  --gold-accent: #8C6A38;
  --gold-light: #A77E36;
  --gold-glow: rgba(140, 106, 56, 0.18);
  --border-light: rgba(20, 24, 36, 0.14);
  --border-focus: rgba(140, 106, 56, 0.60);
  --radius-card: 0px;
  --radius-pill: 2px;
}
body[data-theme="editorial"] .hero-title .title-main {
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #141824;
}
body[data-theme="editorial"] .hero-title .title-accent {
  font-family: var(--font-serif);
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0.06em;
  color: #6E685C;
  font-size: 0.72em;
  display: block;
  margin-top: 8px;
  text-transform: uppercase;
}
body[data-theme="editorial"] .hero-eyebrow {
  border: 1px solid rgba(20, 24, 36, 0.22);
  background: #FAF9F5;
  color: #141824;
  border-radius: 2px;
  letter-spacing: 0.14em;
}
body[data-theme="editorial"] .btn {
  border-radius: 2px;
}
body[data-theme="editorial"] .btn--primary {
  background: #141824;
  border-color: #141824;
}
body[data-theme="editorial"] .practice-card-pro {
  border-radius: 0px;
  border: 1px solid rgba(20, 24, 36, 0.16);
  background: #FAF9F6;
  box-shadow: none;
}
body[data-theme="editorial"] .practice-card-pro:hover {
  border-color: #8C6A38;
  box-shadow: 0 12px 30px rgba(20, 24, 36, 0.06);
}
body[data-theme="editorial"] .practice-card__canvas-box {
  border-radius: 0px;
}
body[data-theme="editorial"] .boardroom-card-left,
body[data-theme="editorial"] .case-card-strip,
body[data-theme="editorial"] .team-row {
  border-radius: 0px;
}

/* Вариант 4: Кинематическая сетка & Нео-брутализм (Precision Kinetic Mechanics — DESIGNSKILL) */
body[data-theme="kinetic"] {
  --bg-canvas: #FAF8F3;
  --bg-ambient: radial-gradient(85vw 80vw at 70% 45%, rgba(255, 255, 255, 0.98) 0%, rgba(250, 247, 240, 0.92) 35%, rgba(238, 232, 220, 0.65) 60%, transparent 85%),
                linear-gradient(90deg, #ECE6D8 0%, #F3EFE4 28%, #F8F5ED 50%, #FCFBF7 74%, #FFFFFF 100%);
  --gold-accent: #4F46E5;
  --gold-light: #6366F1;
  --gold-glow: rgba(79, 70, 229, 0.22);
  --border-light: rgba(17, 24, 39, 0.10);
  --border-focus: rgba(79, 70, 229, 0.50);
  --radius-card: 32px;
}
body[data-theme="kinetic"] .hero-title {
  font-family: 'Barlow Condensed', var(--font-sans);
  line-height: 0.90;
  letter-spacing: -0.025em;
  text-transform: uppercase;
}
body[data-theme="kinetic"] .hero-title .title-main {
  font-family: 'Barlow Condensed', var(--font-sans);
  font-size: clamp(64px, 8.5vw, 105px);
  font-weight: 900;
  color: #111827;
  display: block;
}
body[data-theme="kinetic"] .hero-title .title-accent {
  font-family: 'Barlow Condensed', var(--font-sans);
  font-size: clamp(34px, 4.8vw, 62px);
  font-weight: 800;
  font-style: normal;
  color: #4F46E5;
  display: block;
  margin-top: 4px;
}
body[data-theme="kinetic"] .hero-eyebrow {
  border: 1px solid rgba(79, 70, 229, 0.35);
  background: rgba(245, 243, 255, 0.92);
  color: #4338CA;
  font-weight: 600;
}
body[data-theme="kinetic"] .practice-card-pro {
  border-radius: 32px;
  border: 1.5px solid rgba(17, 24, 39, 0.08);
  box-shadow: 0 18px 45px rgba(79, 70, 229, 0.06);
}
body[data-theme="kinetic"] .practice-card-pro:hover {
  border-color: #4F46E5;
  transform: translateY(-8px) scale(1.01);
}
body[data-theme="kinetic"] .practice-card__canvas-box {
  border-radius: 20px;
}
body[data-theme="kinetic"] .boardroom-card-left,
body[data-theme="kinetic"] .case-card-strip,
body[data-theme="kinetic"] .team-row {
  border-radius: 24px;
}
body[data-theme="kinetic"] .btn--primary {
  background: #111827;
  box-shadow: 0 12px 30px rgba(17, 24, 39, 0.25);
}
body[data-theme="kinetic"] .btn--primary:hover {
  background: #4F46E5;
  border-color: #4F46E5;
  box-shadow: 0 14px 34px rgba(79, 70, 229, 0.35);
}

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

html {
  min-height: 100%;
  background-color: var(--bg-canvas);
  color: var(--text-primary);
  font-family: 'Jost', sans-serif;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

body {
  width: 100%;
  min-height: 100vh;
  overflow-x: clip;
  font-family: 'Jost', sans-serif;
}

button, input, textarea, select {
  font-family: 'Jost', sans-serif;
}

h1, h2, h3, h4, h5, h6,
.hero-editorial-title,
.practices-main-title,
.approach-main-title,
.team-title,
.names,
.case-deck-title,
.case-deck-sum,
.blog-title,
.contacts-info h2 {
  font-family: 'Jost', sans-serif !important;
}

/* Все кнопки строго квадратные (border-radius: 0) */
.btn,
.btn--primary,
.btn--team-view,
.rail__nav-btn,
.arrow-btn,
.case-read-btn,
.case-filter-btn,
.header-cta,
button[type="submit"],
.contacts-form button {
  border-radius: 0 !important;
}

/* Фон студийного света (Studio Lighting) */
.ambient-lighting {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: var(--bg-ambient);
}

/* Деликатная пленочная зернистость (Film Grain) */
.grain-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* ==========================================================================
   ВЕРХНИЙ ПЕРЕКЛЮЧАТЕЛЬ 4 КОНЦЕПЦИЙ (Top Bar — Светлый)
   ========================================================================== */
.variants-bar {
  position: fixed;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 500;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.90);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(10, 17, 31, 0.10);
  border-radius: var(--radius-pill);
  box-shadow: 0 10px 30px rgba(10, 17, 31, 0.08);
  font-size: 11.5px;
  font-weight: 500;
  white-space: nowrap;
}

.variants-bar .bar-hub-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--text-primary);
  text-decoration: none;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(10, 17, 31, 0.05);
  font-weight: 600;
  transition: all 0.2s ease;
}

.variants-bar .bar-hub-link:hover {
  background: rgba(10, 17, 31, 0.10);
}

.variants-bar .bar-sep {
  width: 1px;
  height: 14px;
  background: rgba(10, 17, 31, 0.12);
  margin: 0 2px;
}

.variants-bar a.variant-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 11px;
  font-weight: 500;
  border: 1px solid transparent;
  transition: all 0.25s ease;
}

.variants-bar a.variant-pill:hover {
  color: var(--text-primary);
  background: rgba(10, 17, 31, 0.04);
}

.variants-bar a.variant-pill.active {
  color: var(--text-primary);
  background: #FFFFFF;
  border-color: rgba(10, 17, 31, 0.14);
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(10, 17, 31, 0.06);
}

.variants-bar .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-accent);
}

/* ==========================================================================
   ШАПКА САЙТА (Dynamic Adaptive Header: Auto-hide menu & Smart Contrast Logo)
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 4vw, 64px);
  z-index: 400;
  background: transparent;
  pointer-events: none;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-header > * {
  pointer-events: auto;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #0A111F;
  transition: color 0.35s ease, filter 0.35s ease, transform 0.25s ease;
  z-index: 402;
}

.site-logo:hover {
  transform: translateY(-1px);
}

/* Логотип при тёмном фоне (Секция 2: Переговорная, Секция 4: Подход) -> Белый цвет #FFFFFF (без тени) */
.site-header.header--dark .site-logo {
  color: #FFFFFF;
  filter: none;
}

/* Логотип при светлом фоне -> Тёмный цвет #0A111F */
.site-header.header--light .site-logo {
  color: #0A111F;
  filter: none;
}

/* Навигационное меню: скрыто при скролле вниз, плавно выезжает при скролле вверх.
   Строго без теней и без обводок, всегда светлое (и на светлом, и на тёмном фоне) */
.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 1.8vw, 26px);
  list-style: none;
  margin-left: auto;
  padding: 8px 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.90);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: none !important;
  box-shadow: none !important;
  opacity: 0;
  transform: translateY(-18px);
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* При скролле вверх — меню плавно появляется */
.site-header.menu--visible .site-nav {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

@media (max-width: 900px) {
  .site-nav { display: none; }
}

.site-nav a {
  color: #1A2228;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  transition: color 0.2s ease;
}

.site-nav a:hover {
  color: #A77E36;
}

/* На тёмном фоне меню остаётся светлым, чистым и без теней */
.site-header.header--dark .site-nav {
  background: rgba(255, 255, 255, 0.92);
  border: none !important;
  box-shadow: none !important;
}

.site-header.header--dark .site-nav a {
  color: #1A2228;
}

.site-header.header--dark .site-nav a:hover {
  color: #A77E36;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  background: var(--text-primary);
  color: #FFFFFF;
  border: 1px solid var(--text-primary);
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(10, 17, 31, 0.12);
}

.header-cta:hover {
  background: var(--gold-accent);
  border-color: var(--gold-accent);
  transform: translateY(-1px);
}

/* ==========================================================================
   ОБЩАЯ СТРУКТУРА 100vh СЕКЦИЙ
   ========================================================================== */
.viewport-sec {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 90px clamp(20px, 4.5vw, 72px) 60px;
  overflow: hidden;
  z-index: 10;
}

/* ==========================================================================
   CODROPS FULLSCREENSCROLL STAGE (Секции 1 & 2: Hero + Boardroom)
   ========================================================================== */
.hero-boardroom-stage {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 100vh;
  overflow: hidden;
  background: #FAFBFD;
}

.hero-boardroom-stage .hero-sec {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  overflow: hidden;
  will-change: transform;
  background: linear-gradient(180deg, #FAFBFD 0%, #F5F7FA 60%, #EFF3F8 100%);
}

.hero-boardroom-stage .boardroom-sec {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
  will-change: transform;
}

.hero-inner-stage,
.boardroom-inner-stage {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  will-change: transform;
}

/* ==========================================================================
   СЕКЦИЯ 1: HERO (Центрированная 3D сцена V10 + Угловое позиционирование)
   ========================================================================== */
.hero-sec {
  position: relative;
  z-index: 1;
  height: 100vh;
  min-height: 100vh;
  overflow: hidden;
  background: linear-gradient(180deg, #FAFBFD 0%, #F5F7FA 60%, #EFF3F8 100%);
}

/* Фоновый Three.js холст 3D-знака */
.hero-canvas-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: auto;
}

.hero-canvas-wrap canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
}

/* ЛЕВЫЙ ВЕРХНИЙ УГОЛ: «— Адвокатское бюро» крупной антиквой италиком */
.hero-top-left-block {
  position: absolute;
  top: clamp(86px, 12vh, 120px);
  left: clamp(24px, 4.5vw, 72px);
  z-index: 10;
  pointer-events: auto;
  text-align: left;
}

.hero-editorial-title {
  font-family: var(--font-serif);
  font-size: clamp(34px, 4.2vw, 56px);
  font-style: italic;
  font-weight: 400;
  color: var(--text-primary);
  line-height: 1.1;
  letter-spacing: 0.02em;
  margin: 0;
  white-space: nowrap;
}

/* ПРАВЫЙ НИЖНИЙ УГОЛ: Описание «Защищаем интересы...» и под ним КТА кнопка (выравнивание по правому краю) */
.hero-bottom-right-block {
  position: absolute;
  bottom: clamp(36px, 7vh, 68px);
  right: clamp(24px, 4.5vw, 72px);
  max-width: 440px;
  z-index: 10;
  pointer-events: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
}

.hero-lead-desc-bottom {
  font-family: var(--font-sans);
  font-size: clamp(14px, 1.05vw, 15.5px);
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0 0 20px 0;
  text-align: right;
}

/* Кнопки */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 32px;
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn--primary {
  background: var(--text-primary);
  color: #FFFFFF;
  border: 1px solid var(--text-primary);
  box-shadow: 0 10px 28px rgba(10, 17, 31, 0.18);
}

.btn--primary:hover {
  background: var(--gold-accent);
  border-color: var(--gold-accent);
  transform: translateY(-2px);
  box-shadow: 0 14px 34px var(--gold-glow);
}

/* Индикатор перехода вниз (ТОЛЬКО галочка вниз) */
.hero-scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--text-muted);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(10, 17, 31, 0.08);
  box-shadow: 0 4px 14px rgba(10, 17, 31, 0.04);
  transition: all 0.25s ease;
}

.hero-scroll-cue:hover {
  color: var(--gold-accent);
  border-color: rgba(197, 160, 89, 0.35);
  box-shadow: 0 6px 18px rgba(197, 160, 89, 0.15);
  transform: translateX(-50%) translateY(2px);
}

.hero-scroll-cue svg {
  animation: bounceDown 2s infinite ease-in-out;
}

@keyframes bounceDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}

/* ==========================================================================
   СЕКЦИЯ 2: БЮРО (360° Панорама переговорной)
   ========================================================================== */
.boardroom-sec {
  position: relative;
  height: 100vh;
  min-height: 100vh;
  overflow: hidden;
}

.boardroom-360-stage {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  cursor: grab;
}

.boardroom-360-stage:active {
  cursor: grabbing;
}

.boardroom-overlay {
  position: absolute;
  inset: 0;
  z-index: 10;
  pointer-events: none;
  padding: clamp(24px, 5vw, 64px);
}

.boardroom-overlay > * {
  pointer-events: auto;
}

/* Контейнер карточки в левом верхнем углу */
.boardroom-card-wrapper {
  position: absolute;
  top: clamp(80px, 12vh, 120px);
  left: clamp(24px, 4.5vw, 72px);
  max-width: 480px;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Заголовок «О бюро» выше плашки в белом цвете, уходит в прозрачность по скроллу */
.boardroom-floating-title {
  font-family: 'Jost', var(--font-serif), sans-serif;
  font-size: clamp(34px, 3.8vw, 48px);
  font-weight: 500;
  line-height: 1.1;
  color: #FFFFFF;
  margin: 0;
  letter-spacing: -0.01em;
  transition: opacity 0.3s ease, transform 0.3s ease;
  will-change: opacity, transform;
}

/* Натуральное физическое стекло (Crystal Glass) */
.boardroom-glass-panel {
  position: relative;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(28px) saturate(190%);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.45);
  overflow: hidden;
  font-family: 'Jost', sans-serif;
}

.boardroom-card-content {
  padding: 30px 32px 26px;
}

.boardroom-brand-title {
  font-family: 'Jost', sans-serif;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #FFFFFF;
  margin: 0 0 12px 0;
}

.boardroom-desc {
  font-family: 'Jost', sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
  margin: 0 0 20px 0;
}

.boardroom-details-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Jost', sans-serif;
  font-size: 14.5px;
  font-weight: 500;
  color: #FFFFFF;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
  padding-bottom: 3px;
  transition: color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.boardroom-details-link:hover {
  color: #E5C583;
  border-color: #E5C583;
  transform: translateX(4px);
}

.boardroom-sec::after {
  display: none;
}

/* ==========================================================================
   СЕКЦИЯ 3: ПРАКТИКИ / УСЛУГИ — ГОРИЗОНТАЛЬНЫЙ RAIL (1:1 V2.HTML)
   ========================================================================== */
.practices-sec.rail {
  position: relative;
  z-index: 1;
  padding-block: clamp(80px, 9vw, 130px);
  background: linear-gradient(180deg, #EFF3F8 0%, #F4F6F9 30%, #F3F1EC 70%, #F3F0EA 100%);
  overflow: hidden;
}

.rail__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding-inline: clamp(24px, 4.5vw, 72px);
  margin-bottom: 36px;
  gap: 36px;
}

.rail__intro {
  max-width: 540px;
}

.practices-main-title {
  font-family: var(--font-serif);
  font-size: clamp(38px, 4.2vw, 62px);
  font-weight: 500;
  line-height: 1.05;
  color: var(--text-primary);
  margin: 0;
  letter-spacing: -0.015em;
}

.rail__meta-right {
  display: flex;
  align-items: flex-end;
  gap: 32px;
  max-width: 600px;
}

.rail-lead {
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-secondary);
  margin: 0;
  max-width: 38ch;
}

.rail__controls {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.rail__nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 0;
  border: 1px solid rgba(15, 35, 75, 0.12);
  display: inline-grid;
  place-items: center;
  font-size: 17px;
  cursor: pointer;
  background: #FFFFFF;
  color: var(--text-primary);
  transition: transform .45s cubic-bezier(0.16, 1, 0.3, 1), background .25s, color .25s, box-shadow .25s;
  box-shadow: 0 2px 8px rgba(11, 23, 42, 0.04);
}

.rail__nav-btn:hover {
  background: var(--text-primary);
  color: #FFFFFF;
  border-color: var(--text-primary);
  box-shadow: 0 6px 16px rgba(11, 23, 42, 0.12);
}

.rail__nav-btn.is-active {
  transform: rotate(180deg);
  background: #0A111F;
  color: #FFFFFF;
}

.link-arrow {
  display: inline-flex;
  gap: .6em;
  align-items: center;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-primary);
  text-decoration: none;
  border-bottom: 1px solid rgba(15, 35, 75, 0.18);
  padding-bottom: 3px;
  transition: border-color .3s, color .3s;
  white-space: nowrap;
  cursor: pointer;
}

.link-arrow:hover {
  border-color: var(--gold-accent);
  color: var(--gold-accent);
}

.link-arrow i {
  font-style: normal;
  transition: transform .3s ease;
}

.link-arrow:hover i {
  transform: translateX(4px);
}

.rail__track-wrap {
  position: relative;
  width: 100%;
  padding-inline: clamp(20px, 3.2vw, 56px);
  box-sizing: border-box;
}

/* Трек: 6 карточек во всю ширину экрана. При клике на стрелку сдвигается на 1 карточку влево */
.rail__track {
  display: flex;
  gap: clamp(8px, 1vw, 14px);
  width: 100%;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

/* Десктоп: ровно 6 карточек помещаются в ширину экрана */
@media (min-width: 1025px) {
  .pc {
    flex: 0 0 calc((100% - 5 * clamp(8px, 1vw, 14px)) / 6);
    width: calc((100% - 5 * clamp(8px, 1vw, 14px)) / 6);
  }

  .pc--all {
    flex: 0 0 calc((100% - 5 * clamp(8px, 1vw, 14px)) / 6);
    width: calc((100% - 5 * clamp(8px, 1vw, 14px)) / 6);
  }

  .rail__track.show-all {
    transform: translateX(calc(-1 * (calc((100% - 5 * clamp(8px, 1vw, 14px)) / 6) + clamp(8px, 1vw, 14px))));
  }
}

@media (max-width: 1024px) {
  .rail__track {
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 20px;
  }
  .rail__track::-webkit-scrollbar { display: none; }
  .pc {
    flex: 0 0 clamp(280px, 45vw, 360px);
    scroll-snap-align: start;
  }
  .pc--all {
    flex: 0 0 clamp(280px, 45vw, 360px);
    scroll-snap-align: start;
  }
}

/* Карточка практики .pc — Эстетика Liquid Glass в тон сайта, градации серого, мягкий неконтрастный рельеф */
.pc {
  background: rgba(246, 243, 237, 0.45);
  backdrop-filter: blur(24px) saturate(105%);
  -webkit-backdrop-filter: blur(24px) saturate(105%);
  border: 1px solid rgba(15, 35, 75, 0.08);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(15, 35, 75, 0.035), inset 0 1px 1px rgba(255, 255, 255, 0.65);
  transition: box-shadow .4s cubic-bezier(0.16, 1, 0.3, 1), transform .4s cubic-bezier(0.16, 1, 0.3, 1), border-color .3s ease, background .3s ease;
  position: relative;
  min-height: 520px;
  height: auto;
  padding: clamp(26px, 2.4vw, 34px);
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.pc:hover {
  transform: translateY(-5px);
  background: rgba(246, 243, 237, 0.68);
  box-shadow: 0 20px 44px -10px rgba(15, 35, 75, 0.08), inset 0 1px 1px #FFFFFF;
  border-color: rgba(15, 35, 75, 0.16);
}

/* Фоновый WebGL-холст с волнами / дымом в пастельных тонах */
.pc__bg-shader {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  border-radius: inherit;
  overflow: hidden;
}

.pc-wave-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.pc__glass-sheen {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.0) 50%, rgba(255, 255, 255, 0.06) 100%);
  border-radius: inherit;
  z-index: 1;
}

/* Стеклянный контент с крупной типографикой на весь блок */
.pc__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  width: 100%;
  flex: 1;
}

.pc__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.pc__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(15, 35, 75, 0.08);
  color: #142444;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.pc__arrow {
  color: #142444;
  font-size: 18px;
  line-height: 1;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(15, 35, 75, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s ease, color 0.3s ease;
}

.pc:hover .pc__arrow {
  transform: translate(2px, -2px) scale(1.08);
  background: #142444;
  color: #FFFFFF;
}

/* Блок ТЕКСТ 1: Заголовок + Описание (Крупно) */
.pc__body {
  margin-bottom: auto;
}

.pc__title {
  font-family: 'Jost', sans-serif !important;
  font-weight: 600;
  font-size: clamp(18px, 1.38vw, 21.5px);
  line-height: 1.2;
  color: #0A111F;
  margin: 0 0 12px 0;
  letter-spacing: -0.02em;
  word-break: normal;
  hyphens: none;
}

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

.pc__desc {
  font-family: 'Jost', sans-serif !important;
  font-size: 14.5px;
  line-height: 1.52;
  color: #2D3A52;
  font-weight: 400;
  margin: 0;
}

/* Блок ТЕКСТ 2: Компетенции и специфика практики */
.pc__footer {
  border-top: 1px solid rgba(15, 35, 75, 0.10);
  padding-top: 18px;
  margin-top: 28px;
}

.pc__specs-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #62728D;
  margin-bottom: 8px;
}

.pc__details {
  font-family: 'Jost', sans-serif !important;
  font-size: 13px;
  line-height: 1.55;
  color: #3A4760;
  margin: 0;
}

.person {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 500;
  color: var(--text-primary);
  text-decoration: none;
  line-height: 1.2;
}

.person small {
  display: block;
  color: var(--text-muted);
  font-size: 9.5px;
  font-weight: 400;
}

.ava {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #EFEBE4;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(154, 118, 69, 0.2);
}

.ava img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.arrow-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(15, 35, 75, 0.12);
  display: inline-grid;
  place-items: center;
  font-size: 13px;
  color: var(--text-primary);
  text-decoration: none;
  background: transparent;
  transition: all .25s ease;
}

.arrow-btn:hover {
  background: var(--text-primary);
  color: #FFFFFF;
  border-color: var(--text-primary);
}

/* 7-я карточка «Все услуги →» */
.pc--all {
  min-height: 480px;
  height: auto;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(20px, 2vw, 32px);
  gap: 16px;
  background: #ECE7DF;
  text-decoration: none;
  border-color: rgba(154, 118, 69, 0.25);
  cursor: pointer;
}

.pc--all:hover {
  background: #E6E0D5;
  border-color: var(--gold-accent);
  transform: translateY(-6px);
}

.pc--all__eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gold-accent);
  font-weight: 600;
}

.pc--all__t {
  font-family: var(--font-serif);
  font-size: clamp(26px, 2.2vw, 38px);
  line-height: 1.1;
  color: var(--text-primary);
  font-weight: 500;
}

.pc--all__t em {
  font-style: normal;
  display: inline-block;
  transition: transform .4s cubic-bezier(0.16, 1, 0.3, 1);
  color: var(--gold-accent);
}

.pc--all:hover .pc--all__t em {
  transform: translateX(6px);
}

/* ==========================================================================
   СЕКЦИЯ 4: ПОДХОД К РАБОТЕ (1:1 prototype-17-sticky-three-scroll)
   Ровно 100svh без высокого sticky-трека
   ========================================================================== */
.approach-scroll-track {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 100svh;
  width: 100%;
  overflow: hidden;
}

.approach-scroll-track .story {
  position: relative;
  height: 100%;
  width: 100%;
  overflow: hidden;
  background: var(--bg-canvas);
}

.story__stage {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.story.is-locked .story__stage {
  touch-action: none;
}

html:has(.story.is-locked) {
  overscroll-behavior-y: none;
}

.story__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.story.is-ready .story__canvas {
  opacity: 1;
}

.story__ui {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: clamp(28px, 4.2vh, 52px);
  padding: clamp(75px, 9vh, 115px) clamp(24px, 4.5vw, 72px) clamp(40px, 5vh, 60px);
  pointer-events: none;
  z-index: 10;
  box-sizing: border-box;
}

.story__ui > * {
  pointer-events: auto;
}

.approach-header-block {
  margin: 0;
  max-width: 720px;
}

.approach-main-title {
  font-family: 'Jost', sans-serif !important;
  font-size: clamp(22px, 2.3vw, 34px);
  font-weight: 500;
  line-height: 1.25;
  color: var(--text-primary);
  margin: 0;
  max-width: 34ch;
  letter-spacing: -0.015em;
}

.approach-main-lede {
  display: none;
}

.story__body {
  margin: 0;
  width: 100%;
}

/* Компактная левая колонка (шаги подхода) — перемещена вверх из подвала секции */
.chapters {
  display: grid;
  grid-template-columns: 1fr;
  list-style: none;
  padding: 0;
  margin: 0;
  width: min(640px, 52vw);
}

.chapter {
  grid-area: 1 / 1;
  opacity: 0;
  transform: translateY(22px);
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.chapter.is-active {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

/* Заголовок этапа строго по размеру жёлтой области */
.chapter h3,
.chapter .chapter__title {
  font-family: 'Jost', sans-serif !important;
  font-size: clamp(21px, 2.1vw, 29px);
  font-weight: 500;
  line-height: 1.25;
  color: var(--text-primary);
  margin: 0 0 clamp(16px, 2.2vh, 26px) 0;
  letter-spacing: -0.015em;
  max-width: 32ch;
}

/* Подзаголовок этапа: перенесён вниз, СТРОГО на фоне, без плашек, обёрток и контейнеров */
.chapter .chapter__desc,
.chapter p {
  font-family: 'Jost', sans-serif !important;
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 44ch;
  margin: 0;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.story__foot {
  margin-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 480px;
}

.story__meta {
  display: flex;
  align-items: center;
  gap: 24px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--text-primary);
}

.story__ticks {
  display: flex;
  gap: 8px;
}

.tick {
  appearance: none;
  border: 0;
  background: none;
  padding: 10px 0;
  width: 46px;
  cursor: pointer;
  position: relative;
}

.tick::before,
.tick__fill {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 2px;
  border-radius: 999px;
}

.tick::before {
  background: rgba(10, 17, 31, 0.15);
}

.tick__fill {
  background: var(--text-primary);
  transform-origin: 0 50%;
  transform: scaleX(0);
}

.tick.is-current::before {
  background: rgba(10, 17, 31, 0.35);
}

.story__hint {
  font-family: var(--font-mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
}

/* ==========================================================================
   СЕКЦИЯ 5: КОМАНДА (1:1 V9 Editorial & Интерактивное досье адвокатов)
   ========================================================================== */
.team-sec {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 100px clamp(20px, 4.5vw, 72px) 80px;
  background: linear-gradient(180deg, #F0ECE5 0%, #F5F2EC 25%, #F7F5F1 60%, #F2EFE8 100%);
  border-top: none;
  border-bottom: none;
}

.team-strip {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 40px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.team-strip__tag {
  color: var(--gold-accent);
  font-weight: 600;
}

.team-strip__rule {
  flex: 1;
  height: 1px;
  background: var(--border-light);
}

.team-headrow {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 40px;
  align-items: end;
  padding: 45px 0 40px;
}

@media (max-width: 900px) {
  .team-headrow {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 30px 0 20px;
  }
}

.team-title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(38px, 4.8vw, 74px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  margin: 0;
}

.team-title .gold-accent {
  font-style: italic;
  color: var(--gold-accent);
}

.team-lede-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 48ch;
}

.team-lede-sub {
  font-family: 'Jost', sans-serif !important;
  font-size: clamp(15px, 1.15vw, 17.5px);
  line-height: 1.45;
  font-weight: 500;
  color: var(--text-primary);
  margin: 0;
}

.team-lede-spec {
  font-family: var(--font-mono);
  font-size: 11.5px;
  line-height: 1.5;
  letter-spacing: 0.05em;
  color: #8A6524;
  margin: 0;
}

/* Список имён крупной благородной типографикой */
.names {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(36px, 5.2vw, 84px);
  line-height: 1.15;
  letter-spacing: -0.025em;
  padding: 25px 0 50px;
  user-select: none;
}

.nm {
  appearance: none;
  background: transparent;
  border: none;
  outline: none;
  padding: 0;
  margin: 0;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  color: var(--text-primary);
  cursor: pointer;
  position: relative;
  transition: color 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s ease;
  white-space: nowrap;
  display: inline-block;
}

.nm sup {
  font: 600 11.5px var(--font-mono);
  color: var(--gold-accent);
  vertical-align: top;
  position: relative;
  top: 0.8em;
  margin-right: 0.3em;
  letter-spacing: 0.04em;
}

.nm:focus-visible {
  outline: 2px solid var(--gold-accent);
  outline-offset: 6px;
  border-radius: 4px;
}

.names.hovering .nm:not(.on) {
  color: #B0BAC9;
}

.nm.on {
  color: var(--text-primary);
}

.sep {
  color: #CBD5E1;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  margin: 0 0.16em;
  user-select: none;
}

/* Нижний блок: КТА кнопка перехода ко всей команде */
.team-foot {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  border-top: 1px solid var(--border-light);
  padding-top: 26px;
}

.btn--team-view {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: 0;
  background: var(--text-primary);
  color: #FFFFFF;
  text-decoration: none;
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1px solid var(--text-primary);
  box-shadow: 0 8px 24px rgba(10, 17, 31, 0.12);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.btn--team-view:hover {
  background: var(--gold-accent);
  border-color: var(--gold-accent);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px var(--gold-glow);
}

.btn--team-view svg {
  transition: transform 0.25s ease;
}

.btn--team-view:hover svg {
  transform: translateX(3px);
}

/* ───── ДОСЬЕ АДВОКАТА (#tcard) — СВЕТЛЫЙ ХРУСТАЛЬНЫЙ СТИЛЬ ───── */
.tcard {
  position: fixed;
  left: 0;
  top: 0;
  width: 340px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(167, 126, 54, 0.28);
  border-radius: 18px;
  padding: 22px 24px 18px;
  pointer-events: none;
  opacity: 0;
  z-index: 1000;
  box-shadow: 0 35px 70px -15px rgba(10, 17, 31, 0.20),
              0 4px 14px rgba(10, 17, 31, 0.06),
              inset 0 0 0 1px rgba(255, 255, 255, 0.9);
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.tcard.show {
  opacity: 1;
}

.tc-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.tc-mono {
  width: 82px;
  height: 82px;
}

.tc-mono svg {
  width: 100%;
  height: 100%;
  display: block;
}

.tc-no {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.tc-name {
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 500;
  line-height: 1.05;
  margin-top: 12px;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.tc-role {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-accent);
  font-weight: 600;
  margin-top: 7px;
}

.tc-prac {
  font-size: 13.5px;
  line-height: 1.45;
  margin-top: 6px;
  color: var(--text-secondary);
}

.tc-q {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 16.5px;
  line-height: 1.4;
  margin: 14px 0 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(10, 17, 31, 0.08);
  color: #1E293B;
}

.tc-stats {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.tc-stats span {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(10, 17, 31, 0.04);
  border: 1px solid rgba(10, 17, 31, 0.08);
  color: var(--text-secondary);
}

.tc-sig {
  width: 100%;
  height: 52px;
  margin-top: 8px;
  display: block;
}

.tc-sig path {
  fill: none;
  stroke: var(--gold-accent);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Touch docked state */
.tcard.docked {
  left: 14px;
  right: 14px;
  top: auto;
  bottom: 16px;
  width: auto;
  max-width: 480px;
  margin: 0 auto;
  transform: none !important;
  pointer-events: auto;
}

/* ==========================================================================
   СЕКЦИЯ 6: КЕЙСЫ (Каскадная стопка / Cascading Tab Stack — 1:1 Референс)
   ========================================================================== */
.cases-sec {
  position: relative;
  z-index: 1;
  min-height: auto;
  display: block;
  padding: 100px clamp(20px, 4.5vw, 72px) 140px;
  background: linear-gradient(180deg, #F2EFE8 0%, #F6F4EF 30%, #F8F7F3 65%, #EEEAE1 100%);
  border-top: none;
  border-bottom: none;
}

.cases-sticky-head {
  position: relative;
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  padding: 16px 0 20px;
  margin-bottom: 44px;
  border-bottom: 1px solid rgba(15, 35, 75, 0.08);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

@media (min-width: 992px) {
  .cases-sticky-head {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.cases-sticky-head.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-12px);
}

.cases-deck-title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(34px, 4.2vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: #141517;
  margin: 6px 0 0;
}

.cases-deck-lede {
  font-size: 15px;
  line-height: 1.6;
  color: #5E6267;
  max-width: 44ch;
  margin: 0;
}

/* Фильтры по практикам на странице кейсов */
.cases-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.case-filter-btn {
  appearance: none;
  border: 1px solid rgba(10, 17, 31, 0.10);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  padding: 8px 16px;
  border-radius: 0;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: #475569;
  cursor: pointer;
  transition: all 0.25s ease;
}

.case-filter-btn:hover {
  background: #FFFFFF;
  color: #0A111F;
  border-color: rgba(167, 126, 54, 0.4);
}

.case-filter-btn.is-active {
  background: #0A111F;
  color: #FFFFFF;
  border-color: #0A111F;
  box-shadow: 0 4px 12px rgba(10, 17, 31, 0.12);
}

.cases-deck-stack {
  display: flex;
  flex-direction: column;
  position: relative;
  padding-bottom: 24px;
}

/* Композитная карточка (Левый блок + Правый блок) — КАСКАДНОЕ НАЛОЖЕНИЕ */
.case-deck-card {
  position: sticky;
  width: 100%;
  margin-bottom: 260px;
  background: #FFFFFF;
  border: 1px solid rgba(15, 35, 75, 0.12);
  border-radius: 4px;
  display: grid;
  grid-template-columns: 5fr 7fr;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(15, 35, 75, 0.04);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}

.case-deck-card:nth-child(1) {
  top: 90px;
  z-index: 1;
}

.case-deck-card:nth-child(2) {
  top: 126px;
  z-index: 2;
}

.case-deck-card:nth-child(3) {
  top: 162px;
  z-index: 3;
}

.case-deck-card:last-child {
  margin-bottom: 0;
}

.case-deck-card:hover {
  border-color: rgba(15, 35, 75, 0.28);
  box-shadow: 0 4px 16px rgba(15, 35, 75, 0.06);
}

@media (max-width: 992px) {
  .case-deck-card {
    grid-template-columns: 1fr;
  }
}

/* Левая колонка (~42%): Категория, номер дела, сумма (СТРОГО БЕЗ ИКОНОК!) */
.case-deck-card__left {
  padding: clamp(24px, 3vw, 42px);
  background: #F8FAFD;
  border-right: 1px solid rgba(15, 35, 75, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  min-height: 440px;
}

@media (max-width: 992px) {
  .case-deck-card__left {
    border-right: none;
    border-bottom: 1px solid #E8E5DD;
    min-height: auto;
  }
}

.case-deck-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.case-deck-practice {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold-accent);
  font-weight: 600;
  line-height: 1.4;
}

.case-deck-counter {
  font-family: var(--font-mono);
  font-size: 11px;
  color: #A0A09C;
  white-space: nowrap;
}

/* Капсульный бейдж номера дела — СТРОГО БЕЗ ИКОНОК */
.case-deck-docket {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  background: #F0ECE1;
  border: 1px solid #DDD7C9;
  border-radius: 3px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: #4A4D52;
  margin-top: 14px;
  width: fit-content;
  max-width: 100%;
  flex-wrap: wrap;
}

.case-deck-docket strong {
  font-weight: 600;
  color: #2D3035;
}

.case-deck-docket-sep {
  color: #B0ABA0;
}

.case-deck-court {
  color: #6E7178;
}

/* Пространство в центре левого блока — чистое и лаконичное без иконок */
.case-deck-visual-spacer {
  flex: 1;
  min-height: 40px;
}

/* Нижняя часть левого блока: гигантская сумма */
.case-deck-sum-block {
  padding-top: 16px;
}

.case-deck-sum {
  font-family: var(--font-serif);
  font-size: clamp(48px, 5.5vw, 82px);
  font-weight: 500;
  line-height: 0.95;
  color: #141517;
  letter-spacing: -0.025em;
}

.case-deck-sum-label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #7D8084;
  margin-top: 12px;
}

/* Правая колонка (~58%): Заголовок, Фабула, Юристы и Кнопка */
.case-deck-card__right {
  padding: clamp(24px, 3vw, 42px);
  background: #FFFFFF;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}

.case-deck-title {
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.3vw, 34px);
  font-weight: 500;
  color: #141517;
  line-height: 1.18;
  letter-spacing: -0.015em;
  margin: 0 0 16px;
}

/* Блок Ситуация / Что сделали */
.case-deck-breakdown {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px 24px;
  padding-top: 20px;
  border-top: 1px solid #EDE8DE;
}

@media (max-width: 640px) {
  .case-deck-breakdown {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

.case-deck-label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  padding-top: 2px;
}

.case-deck-label--situation {
  color: #7D8084;
}

.case-deck-label--done {
  color: var(--gold-accent);
}

.case-deck-text {
  font-size: 14.5px;
  line-height: 1.6;
  margin: 0;
}

.case-deck-text--situation {
  color: #4A4E54;
  font-weight: 400;
}

.case-deck-text--done {
  color: #141517;
  font-weight: 500;
}

/* Нижняя панель правой колонки: Команда и кнопка Читать кейс */
.case-deck-footer {
  padding-top: 20px;
  border-top: 1px solid #E8E5DD;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.case-deck-lawyers {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.case-lawyer-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.case-lawyer-avatar {
  width: 44px;
  height: 44px;
  border-radius: 3px;
  overflow: hidden;
  background: #ECE8DF;
  border: 1px solid #D4CFC4;
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(10, 17, 31, 0.05);
}

.case-lawyer-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: grayscale(100%) contrast(105%);
  transition: filter 0.3s ease, transform 0.3s ease;
}

.case-lawyer-item:hover .case-lawyer-avatar img {
  filter: grayscale(0%);
  transform: scale(1.05);
}

.case-lawyer-info {
  display: flex;
  flex-direction: column;
}

.case-lawyer-name {
  font-size: 13px;
  font-weight: 600;
  color: #141517;
  line-height: 1.2;
}

.case-lawyer-role {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: #7D8084;
  line-height: 1.2;
  margin-top: 2px;
}

.case-deck-action {
  flex-shrink: 0;
}

.case-read-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #141517;
  text-decoration: none;
  padding: 9px 18px;
  border: 1px solid #D4CFC4;
  border-radius: 0;
  background: #FFFFFF;
  transition: all 0.25s ease;
  cursor: pointer;
}

.case-read-btn:hover {
  background: #141517;
  color: #FFFFFF;
  border-color: #141517;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(10, 17, 31, 0.12);
}

.case-read-btn svg {
  transition: transform 0.2s ease;
}

.case-read-btn:hover svg {
  transform: translate(2px, -2px);
}

/* Модальное окно полного описания кейса */
.case-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 17, 31, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.case-modal-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.case-modal-window {
  background: #FFFFFF;
  border: 1px solid #D4CFC4;
  border-radius: 8px;
  max-width: 820px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: clamp(24px, 4vw, 44px);
  box-shadow: 0 40px 80px -20px rgba(10, 17, 31, 0.35);
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.case-modal-backdrop.is-open .case-modal-window {
  transform: translateY(0);
}

.case-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #F1F5F9;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #475569;
  font-size: 18px;
  line-height: 1;
  transition: all 0.2s ease;
}

.case-modal-close:hover {
  background: #0A111F;
  color: #FFFFFF;
}

.case-modal-docket {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--gold-accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.case-modal-title {
  font-family: var(--font-serif);
  font-size: clamp(26px, 3.2vw, 38px);
  line-height: 1.15;
  color: #141517;
  margin: 0 0 20px;
}

.case-modal-metrics {
  display: flex;
  gap: 24px;
  background: #FAF9F5;
  padding: 16px 20px;
  border-radius: 4px;
  border: 1px solid #EDE8DE;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.case-modal-metric-val {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 600;
  color: #141517;
}

.case-modal-metric-lbl {
  font-family: var(--font-mono);
  font-size: 11px;
  color: #7D8084;
  text-transform: uppercase;
  margin-top: 4px;
}

.case-modal-section-title {
  font-family: var(--font-mono);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-accent);
  margin: 20px 0 8px;
  font-weight: 600;
}

.case-modal-body p {
  font-size: 15px;
  line-height: 1.65;
  color: #334155;
  margin: 0 0 12px;
}

/* ==========================================================================
   СЕКЦИЯ 7: БЛОГ (Дорогая журнальная вёрстка — Luxury Legal Editorial)
   ========================================================================== */
.blog-sec {
  position: relative;
  z-index: 1;
  padding: clamp(80px, 9vw, 130px) 0;
  background: linear-gradient(180deg, #EEEAE1 0%, #F5F3EC 35%, #F7F5F0 70%, #E8E4DA 100%);
  border-top: none;
  border-bottom: none;
}

.blog-inner {
  width: 100%;
  padding: 0 clamp(24px, 4.5vw, 72px);
}

.blog-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
  gap: 36px;
}

.blog-head-title-wrap {
  flex: 1 1 auto;
}

.blog-title {
  font-family: 'Jost', sans-serif !important;
  font-size: clamp(34px, 3.8vw, 54px);
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.1;
  margin: 0;
  letter-spacing: -0.02em;
}

.blog-head-desc-wrap {
  flex: 0 1 540px;
  max-width: 540px;
}

.blog-lede {
  font-family: 'Jost', sans-serif !important;
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-secondary);
  margin: 0;
  text-align: right;
}

@media (max-width: 992px) {
  .blog-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .blog-head-desc-wrap {
    max-width: 100%;
  }
  .blog-lede {
    text-align: left;
  }
}

/* Журнальный разворот: Главный лонгрид слева (1.15fr) + Стек аналитики справа (1fr) */
.blog-magazine {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 28px;
}

@media (max-width: 1024px) {
  .blog-magazine {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* Главный материал (Lead Feature) */
.blog-mag-lead {
  background: #FFFFFF;
  border: 1px solid rgba(15, 35, 75, 0.08);
  border-radius: 12px;
  padding: clamp(28px, 3.5vw, 44px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 18px -6px rgba(11, 23, 42, 0.05);
  transition: transform .35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow .35s cubic-bezier(0.16, 1, 0.3, 1), border-color .3s ease;
}

.blog-mag-lead:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 50px -12px rgba(122, 75, 39, 0.12);
  border-color: rgba(166, 107, 56, 0.35);
}

.blog-mag-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  font-family: var(--font-mono);
  font-size: 11px;
}

.blog-badge {
  color: #8A6524;
  background: rgba(166, 107, 56, 0.08);
  padding: 4px 10px;
  border-radius: 4px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.blog-badge--featured {
  background: #0A111F;
  color: #FFFFFF;
}

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

.blog-readtime {
  color: var(--text-dim);
}

.blog-mag-lead__title {
  font-family: 'Jost', sans-serif !important;
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.25;
  color: var(--text-primary);
  margin: 0 0 16px;
  font-weight: 500;
  letter-spacing: -0.015em;
}

.blog-mag-lead__title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.blog-mag-lead__title a:hover {
  color: #8A6524;
}

.blog-mag-lead__excerpt {
  font-family: 'Jost', sans-serif !important;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text-secondary);
  margin: 0 0 28px;
}

.blog-mag-lead__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 22px;
  border-top: 1px solid rgba(15, 35, 75, 0.08);
  flex-wrap: wrap;
  gap: 16px;
}

.blog-mag-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.blog-mag-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid rgba(166, 107, 56, 0.25);
  background: #FAF6F0;
}

.blog-mag-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-mag-author__name {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.2;
}

.blog-mag-author__role {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.2;
  margin-top: 2px;
}

.blog-mag-readbtn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: #0A111F;
  color: #FFFFFF;
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 500;
  transition: background 0.2s ease, transform 0.2s ease;
}

.blog-mag-readbtn:hover {
  background: #8A6524;
  transform: translateY(-1px);
}

/* Правая колонка статей (Stack) */
.blog-mag-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.blog-mag-card {
  background: #FFFFFF;
  border: 1px solid rgba(15, 35, 75, 0.08);
  border-radius: 10px;
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 14px -6px rgba(11, 23, 42, 0.04);
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
  text-decoration: none;
  color: inherit;
}

.blog-mag-card:hover {
  transform: translateY(-3px);
  border-color: rgba(166, 107, 56, 0.35);
  box-shadow: 0 16px 36px -10px rgba(122, 75, 39, 0.10);
}

.blog-mag-card__title {
  font-family: 'Jost', sans-serif !important;
  font-size: 17px;
  line-height: 1.32;
  color: var(--text-primary);
  margin: 0 0 10px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.blog-mag-card__title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.blog-mag-card:hover .blog-mag-card__title a {
  color: #8A6524;
}

.blog-mag-card__excerpt {
  font-family: 'Jost', sans-serif !important;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-secondary);
  margin: 0 0 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-mag-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid rgba(15, 35, 75, 0.06);
}

.blog-mag-author-mini {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-primary);
  font-weight: 500;
}

.blog-mag-avatar-mini {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #FAF6F0;
  border: 1px solid rgba(166, 107, 56, 0.2);
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 600;
  color: #8A6524;
}

.blog-mag-arrow {
  color: var(--text-muted);
  font-size: 16px;
  transition: transform 0.25s ease, color 0.25s ease;
}

.blog-mag-card:hover .blog-mag-arrow {
  transform: translate(3px, -3px);
  color: #8A6524;
}

/* ==========================================================================
   СЕКЦИЯ 8: КОНТАКТЫ (Стеклянный B2B финал — Светлый)
   ========================================================================== */
.contacts-sec {
  position: relative;
  min-height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 90px clamp(20px, 4.5vw, 72px) 60px;
}

.contacts-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  background: var(--bg-card);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-card);
  padding: clamp(32px, 4.5vw, 64px);
  box-shadow: var(--card-shadow);
}

@media (max-width: 900px) {
  .contacts-box { grid-template-columns: 1fr; }
}

.contacts-info h2 {
  font-family: var(--font-serif);
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 500;
  color: var(--text-primary);
  margin: 12px 0 20px;
}

.contacts-info p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.contacts-direct-phone {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
  margin-bottom: 12px;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}

.contacts-direct-phone:hover {
  color: var(--gold-accent);
}

.contacts-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-input, .form-textarea {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  font-family: var(--font-sans);
  font-size: 14.5px;
  color: var(--text-primary);
  outline: none;
  transition: all 0.25s ease;
}

.form-input:focus, .form-textarea:focus {
  border-color: var(--gold-accent);
  box-shadow: 0 0 0 3px var(--gold-glow);
}

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

/* ==========================================================================
   ПОЛНОЭКРАННЫЙ ГРАНД-ФУТЕР & КОНТАКТЫ (100% ВЬЮПОРТА / 100svh)
   Карта, все адреса, прямые каналы, крупный телефон, навигация, логотип,
   полный юридический пакет документов (152-ФЗ, 63-ФЗ, ГК РФ)
   ========================================================================== */
/* ==========================================================================
   СЕКЦИЯ 8: КОНТАКТЫ & ГРАНД-ФУТЕР БЮРО (100% ВЬЮПОРТА / 100svh)
   Без белых плашек, крупная премиальная типографика, много воздуха,
   сплит 50/50 интерактивной карты и фотографии офиса office.png
   ========================================================================== */
.fv-footer {
  position: relative;
  z-index: 2;
  height: 100vh;
  height: 100svh;
  min-height: 100vh;
  width: 100%;
  background: linear-gradient(180deg, #E8E4DA 0%, #F4F2EB 35%, #EDE9DF 100%);
  border-top: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(38px, 5.2vh, 64px) clamp(24px, 4.5vw, 68px) clamp(14px, 1.8vh, 22px);
  box-sizing: border-box;
  overflow: hidden;
  color: var(--text-primary);
}

@media (max-width: 1024px) {
  .fv-footer {
    height: auto;
    min-height: 100vh;
    overflow: visible;
    padding-top: 60px;
  }
}

.fv-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.7);
  display: inline-block;
  flex-shrink: 0;
}

/* Основное тело: 2 колонки */
.fv-body {
  flex: 1;
  display: grid;
  grid-template-columns: 1.05fr 1.15fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: stretch;
  min-height: 0;
  padding: clamp(6px, 1vh, 14px) 0;
}

@media (max-width: 1024px) {
  .fv-body {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

/* Левая колонка: Телефон + Адреса + Навигация (СТРОГО БЕЗ ПЛАШЕК) */
.fv-col--info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 0;
  gap: clamp(14px, 2vh, 26px);
}

/* Крупный телефон без белой плашки */
.fv-phone-box {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fv-phone-status-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-family: 'Jost', sans-serif !important;
  font-size: clamp(12.5px, 0.95vw, 14px);
  font-weight: 500;
  color: #1A2840;
}

.fv-status-time {
  color: #0A111F;
  font-weight: 500;
}

.fv-status-sep {
  color: rgba(15, 35, 75, 0.30);
}

.fv-status-secret {
  color: #1A4494;
  font-weight: 500;
}

.fv-phone-link {
  display: inline-block;
  font-family: 'Jost', sans-serif !important;
  font-size: clamp(38px, 4.2vw, 58px);
  font-weight: 500;
  line-height: 1.0;
  color: #0A111F;
  text-decoration: none;
  letter-spacing: -0.025em;
  transition: color 0.25s ease, transform 0.25s ease;
}

.fv-phone-link:hover {
  color: #1A4494;
  transform: translateX(4px);
}

/* Сетка адреса и каналов связи (ЗЕЛЁНАЯ ЗОНА ПОЛЬЗОВАТЕЛЯ — РАЗМЕР В ОБЛАСТЬ, БЕЗ ПЛАШЕК) */
.fv-contacts-grid.fv-green-zone {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(24px, 3.2vw, 48px);
  align-content: center;
  padding: clamp(10px, 1.6vh, 22px) 0;
}

@media (max-width: 640px) {
  .fv-contacts-grid.fv-green-zone {
    grid-template-columns: 1fr;
  }
}

.fv-contact-card {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.fv-card-label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 12px;
  font-weight: 600;
}

.fv-card-val--address {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: clamp(17.5px, 1.35vw, 22px);
  line-height: 1.38;
  color: var(--text-primary);
  margin-bottom: 14px;
}

.fv-card-val--address strong {
  font-weight: 600;
  color: #0A111F;
  display: block;
}

.fv-card-val--address span {
  font-size: clamp(14px, 1.05vw, 15.5px);
  color: var(--text-secondary);
  display: block;
  margin-top: 2px;
}

.fv-card-sub {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: clamp(13px, 0.95vw, 14.5px);
  line-height: 1.55;
  color: var(--text-secondary);
  border-top: 1px solid rgba(15, 35, 75, 0.08);
  padding-top: 12px;
  margin-top: 2px;
}

.fv-card-channels {
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: center;
}

.fv-channel-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(15, 35, 75, 0.07);
  background: transparent !important;
  text-decoration: none;
  color: inherit;
  transition: color 0.2s, transform 0.2s;
}

.fv-channel-link:hover {
  color: #1A4494;
  transform: translateX(4px);
}

.fv-channel-icon {
  font-size: 18px;
  line-height: 1;
}

.fv-ch-name {
  display: block;
  font-weight: 500;
  font-size: clamp(15.5px, 1.1vw, 17.5px);
  color: var(--text-primary);
}

.fv-ch-desc {
  display: block;
  font-size: clamp(12px, 0.88vw, 13px);
  color: var(--text-muted);
  margin-top: 2px;
}

/* Навигация (БЕЗ ПЛАШЕК) */
.fv-nav-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(16px, 2.5vw, 36px);
  margin-top: auto;
}

.fv-nav-block {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.fv-nav-title {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 8px;
}

.fv-nav-links {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.fv-nav-links a {
  font-family: 'Jost', sans-serif !important;
  font-size: 14.5px;
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.2s ease;
  font-weight: 450;
}

.fv-nav-links a:hover {
  color: #1A4494;
}

/* Правая колонка: Вертикальный сплит: сверху фото офиса, снизу карта + Инфо-сектор внизу */
.fv-col--map {
  display: flex;
  min-height: 0;
  width: 100%;
}

.fv-map-office-wrap {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(12px, 1.8vh, 18px);
}

/* Сплит: Сверху Фотография входа, Снизу Карта (1:1 по скетчу пользователя) */
.fv-media-split {
  flex: 1;
  min-height: 280px;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr 1fr;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(15, 35, 75, 0.12);
  box-shadow: 0 10px 32px rgba(15, 35, 75, 0.05);
  background: #E5E7EB;
}

.fv-media-item--photo {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 140px;
  border-bottom: 1px solid rgba(15, 35, 75, 0.10);
  overflow: hidden;
  background: #1C2331;
}

.fv-office-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  display: block;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.fv-media-item--photo:hover .fv-office-photo {
  transform: scale(1.04);
}

.fv-photo-label {
  position: absolute;
  bottom: 12px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 6px;
  background: rgba(10, 17, 31, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 500;
  font-family: 'Jost', sans-serif !important;
  pointer-events: none;
}

.fv-media-item--map {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 140px;
  background: #E5E7EB;
}

.fv-media-item--map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* Нижний сектор: вся информация о картах и маршрутах */
.fv-map-info-sector {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 18px;
  padding: clamp(12px, 1.8vh, 18px) 20px;
  border-radius: 12px;
  border: 1px solid rgba(15, 35, 75, 0.10);
  background: rgba(255, 255, 255, 0.50);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .fv-map-info-sector {
    flex-direction: column;
    align-items: flex-start;
  }
}

.fv-map-info-text {
  flex: 1;
}

.fv-map-info-row {
  margin-bottom: 8px;
}

.fv-map-info-title {
  display: block;
  font-family: 'Jost', sans-serif !important;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
}

.fv-map-info-sub {
  display: block;
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 2px;
}

.fv-map-info-routes {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12.5px;
  color: var(--text-secondary);
  border-top: 1px solid rgba(15, 35, 75, 0.08);
  padding-top: 8px;
}

.fv-map-info-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.fv-route-btn {
  padding: 8px 16px !important;
  font-size: 12px !important;
  border-radius: 6px !important;
  white-space: nowrap;
}

.fv-quick-inquiry-btn {
  padding: 9px 20px !important;
  font-size: 13px !important;
  border-radius: 6px !important;
  white-space: nowrap;
}

/* Нижняя панель: Все документы + Копирайт */
.fv-bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: clamp(10px, 1.4vh, 16px);
  border-top: 1px solid rgba(15, 35, 75, 0.08);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  flex-shrink: 0;
  gap: 16px;
  flex-wrap: wrap;
}

.fv-copy {
  color: var(--text-secondary);
}

.fv-docs-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.fv-doc-btn {
  background: transparent;
  border: none;
  padding: 2px 4px;
  font-family: inherit;
  font-size: 11px;
  color: var(--text-muted);
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: rgba(15, 35, 75, 0.2);
  text-underline-offset: 3px;
  transition: color 0.2s, text-decoration-color 0.2s;
}

.fv-doc-btn:hover {
  color: #1A4494;
  text-decoration-color: #1A4494;
}

.fv-doc-dot {
  color: rgba(15, 35, 75, 0.25);
  font-size: 10px;
}

.fv-bottom-logo {
  margin-left: auto;
  display: flex;
  align-items: center;
}

.fv-bottom-logo-link {
  display: inline-block;
  color: #0A111F;
  opacity: 0.85;
  transition: opacity 0.2s, transform 0.2s;
}

.fv-bottom-logo-link:hover {
  opacity: 1;
  transform: translateY(-1px);
}

/* ==========================================================================
   МОДАЛЬНЫЕ ОКНА: ЮРИДИЧЕСКИЕ ДОКУМЕНТЫ И ФОРМА ОБРАЩЕНИЯ
   ========================================================================== */
.legal-modal,
.inquiry-modal {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 17, 31, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: none;
  padding: 0;
  margin: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.25s ease;
}

.legal-modal.is-open,
.inquiry-modal.is-open {
  display: flex !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  visibility: visible !important;
}

dialog:not([open]).legal-modal,
dialog:not([open]).inquiry-modal {
  display: none !important;
  pointer-events: none !important;
  visibility: hidden !important;
}

.legal-modal__backdrop,
.inquiry-modal__backdrop {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.legal-modal__window,
.inquiry-modal__window {
  position: relative;
  z-index: 2;
  width: min(840px, 92vw);
  max-height: 85vh;
  background: #FFFFFF;
  border: 1px solid rgba(15, 35, 75, 0.12);
  border-radius: 14px;
  box-shadow: 0 32px 80px rgba(10, 17, 31, 0.24);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: modalPop 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalPop {
  from { transform: scale(0.96) translateY(12px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}

.legal-modal__head,
.inquiry-modal__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 22px 28px;
  border-bottom: 1px solid rgba(15, 35, 75, 0.08);
  background: #FAFBFD;
}

.legal-modal__badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: #1A4494;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.legal-modal__title,
.inquiry-modal__title {
  font-family: 'Jost', sans-serif !important;
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 4px;
  line-height: 1.25;
}

.legal-modal__date {
  font-size: 12px;
  color: var(--text-muted);
}

.legal-modal__close,
.inquiry-modal__close {
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  padding: 6px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s, background 0.2s;
}

.legal-modal__close:hover,
.inquiry-modal__close:hover {
  color: var(--text-primary);
  background: rgba(15, 35, 75, 0.05);
}

.legal-modal__body {
  flex: 1;
  overflow-y: auto;
  padding: 24px 28px;
  font-family: 'Jost', sans-serif !important;
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-secondary);
}

.legal-modal__body h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 18px 0 6px;
}

.legal-modal__body p {
  margin: 0 0 12px;
}

.legal-modal__body ul {
  margin: 0 0 12px;
  padding-left: 20px;
}

.legal-modal__body li {
  margin-bottom: 4px;
}

.legal-modal__foot,
.inquiry-modal__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 28px;
  border-top: 1px solid rgba(15, 35, 75, 0.08);
  background: #FAFBFD;
  font-size: 11.5px;
  color: var(--text-muted);
}
