/* ==========================================================================
   ЮРИДИЧЕСКАЯ ПРАКТИКА Т. А. ДЕРКАЧЁВОЙ
   СТРОГИЙ ДИЗАЙН-КОД: АКАДЕМИЧЕСКИЙ КОНСЕРВАТИЗМ (V4 / V2 ГРАФИКА)
   ========================================================================== */

:root {
  /* Цветовая палитра ТЗ */
  --bg-primary: #121212;
  --bg-secondary: #1a1a1a;
  --bg-tertiary: #242424;
  --bg-card-muted-light: #bfb7a8; /* Приглушенный благородный тон вместо слепящего белого */
  
  --accent-gold: #b89047;
  --accent-gold-hover: #cfab5e;
  --accent-gold-dark: #8f6c2c;
  --accent-gold-glow: rgba(184, 144, 71, 0.35);
  --border-gold: rgba(184, 144, 71, 0.2);
  --border-gold-medium: rgba(184, 144, 71, 0.4);
  --border-gold-bright: rgba(184, 144, 71, 0.85);

  --text-light: #f5f5f5;
  --text-muted: #999999;
  --text-dim: #6b6b6b;
  --text-dark: #121212;
  --text-dark-muted: #3a3a3a;

  /* Шрифты */
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Сетка и отступы */
  --container-max-width: 1240px;
  --section-padding: 100px 0;
  --transition-fast: 0.15s ease;
  --transition-medium: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 1. БЕЗОГОВОРОЧНЫЙ СБРОС И ГЕОМЕТРИЯ (ZERO BORDER-RADIUS) */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border-radius: 0 !important; /* Строгое требование ТЗ: никаких скруглений */
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: 85px;
  background-color: var(--bg-primary);
  color: var(--text-light);
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-light);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
  position: relative;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast), border-color var(--transition-fast);
}

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* КОНТЕЙНЕРЫ И УТИЛИТЫ */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: var(--section-padding);
  position: relative;
}

.section-dark {
  background-color: var(--bg-primary);
}

.section-secondary {
  background-color: var(--bg-secondary);
}

.section-header {
  margin-bottom: 56px;
  position: relative;
}

.section-header.text-center {
  text-align: center;
}

.section-overtitle {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--accent-gold);
  margin-bottom: 12px;
  display: inline-block;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 600;
  line-height: 1.25;
  color: var(--text-light);
  position: relative;
  letter-spacing: -0.01em;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 2px;
  background-color: var(--accent-gold);
  margin-top: 18px;
}

.section-header.text-center .section-title::after {
  margin-left: auto;
  margin-right: auto;
}

.section-subtitle {
  font-size: 1.0625rem;
  color: var(--text-muted);
  max-width: 760px;
  margin-top: 16px;
  line-height: 1.6;
}

.section-header.text-center .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

.gold-link {
  color: var(--accent-gold);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition-fast);
}

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

/* ==========================================================================
   ШАПКА САЙТА (HEADER / NAVIGATION) — УВЕЛИЧЕННАЯ СОЛИДНАЯ ВЫСОТА
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(18, 18, 18, 0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 1000;
  border-bottom: 1px solid rgba(184, 144, 71, 0.18);
  transition: all var(--transition-medium);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 94px; /* Чуть потолще/побольше по высоте по просьбе пользователя */
  gap: 24px;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  flex-shrink: 0;
}

.header-logo {
  height: 44px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(184, 144, 71, 0.3));
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--accent-gold);
  line-height: 1.1;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-light);
  letter-spacing: 0.5px;
  padding: 8px 0;
  position: relative;
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--accent-gold);
  transition: width var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent-gold);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-shrink: 0;
}

/* В шапке ТОЛЬКО номера телефонов аккуратно и без разрывов строк */
.header-contacts {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  white-space: nowrap;
  flex-shrink: 0;
}

.header-phones {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: right;
  white-space: nowrap;
}

.phone-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-light);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.4px;
  white-space: nowrap !important; /* Исключает любой перенос */
}

.phone-icon {
  width: 14px;
  height: 14px;
  color: var(--accent-gold);
  flex-shrink: 0;
}

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

/* КНОПКИ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  padding: 13px 24px;
  border: 1px solid var(--accent-gold);
  background: transparent;
  color: var(--accent-gold);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn:hover {
  background: var(--accent-gold);
  color: #121212;
  box-shadow: 0 4px 20px rgba(184, 144, 71, 0.3);
}

.btn-header {
  padding: 10px 20px;
  font-size: 0.75rem;
  flex-shrink: 0;
}

.btn-cta {
  background: #121212;
  border: 2px solid var(--accent-gold);
  color: var(--accent-gold);
  padding: 16px 36px;
  font-size: 0.875rem;
  letter-spacing: 2px;
  transition: all 0.15s ease;
}

.btn-cta:hover {
  background: var(--accent-gold);
  color: #121212;
  box-shadow: 0 6px 25px rgba(184, 144, 71, 0.35);
}

/* Кнопка мобильного меню */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 22px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
  flex-shrink: 0;
}

.mobile-toggle span {
  width: 100%;
  height: 2px;
  background-color: var(--accent-gold);
  transition: all 0.25s ease;
  display: block;
}

.mobile-nav-item {
  display: none;
}

/* ==========================================================================
   БЛОК 1: ГЛАВНЫЙ ЭКРАН (HERO SECTION)
   ========================================================================== */
.hero-section {
  padding: 90px 0 110px;
  background: radial-gradient(circle at 80% 30%, rgba(184, 144, 71, 0.08) 0%, transparent 60%),
              var(--bg-primary);
  border-bottom: 1px solid var(--border-gold);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}

.hero-overtitle {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3.5px;
  color: var(--accent-gold);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-overtitle::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 2px;
  background-color: var(--accent-gold);
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.3rem, 4.2vw, 3.4rem);
  font-weight: 700;
  line-height: 1.18;
  color: var(--text-light);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 36px;
  max-width: 620px;
}

.hero-cta-wrapper {
  margin-bottom: 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}

.hero-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-top: 32px;
  border-top: 1px solid rgba(184, 144, 71, 0.2);
}

.hero-feature-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-feature-num {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--accent-gold);
  font-weight: 600;
  line-height: 1;
}

.hero-feature-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-image-box {
  position: relative;
  border: 1px solid var(--border-gold);
  padding: 12px;
  background: rgba(26, 26, 26, 0.8);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
  transition: border-color var(--transition-medium), box-shadow var(--transition-medium);
  max-width: 530px;
  margin-left: auto;
}

.hero-image-box:hover {
  border-color: var(--border-gold-bright);
  box-shadow: 0 0 45px var(--accent-gold-glow);
}

.hero-image-inner {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1.05; /* Портретно-квадратное соотношение, гармонично согласующееся с высотой заголовка и текста */
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0e0e0e;
}

.hero-image-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.6s ease;
}

.hero-image-box:hover .hero-image-inner img {
  transform: scale(1.02);
}

.hero-image-badge-sub {
  font-size: 0.7rem;
  color: var(--text-muted);
  display: block;
  margin-top: 2px;
}

/* ==========================================================================
   БЛОК 2: СФЕРЫ ПРАКТИКИ (ПРАКТИЧЕСКИЕ НАПРАВЛЕНИЯ)
   ========================================================================== */
.practice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.practice-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-gold);
  padding: 40px 32px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-medium), border-color var(--transition-medium), box-shadow var(--transition-medium);
}

.practice-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-gold-bright);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 25px rgba(184, 144, 71, 0.2);
}

.practice-icon-wrapper {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  border: 1px solid rgba(184, 144, 71, 0.3);
  background: rgba(18, 18, 18, 0.5);
  color: var(--accent-gold);
  transition: border-color var(--transition-fast), background-color var(--transition-fast);
}

.practice-card:hover .practice-icon-wrapper {
  border-color: var(--accent-gold);
  background: rgba(184, 144, 71, 0.1);
}

.practice-icon-wrapper svg {
  width: 28px;
  height: 28px;
  stroke: var(--accent-gold);
  fill: none;
  stroke-width: 1.5;
}

.practice-num {
  position: absolute;
  top: 28px;
  right: 28px;
  font-family: var(--font-serif);
  font-size: 1.125rem;
  color: rgba(184, 144, 71, 0.35);
  font-weight: 600;
}

.practice-card-title {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 14px;
  line-height: 1.3;
}

.practice-card-desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
  flex-grow: 1;
}

.practice-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--accent-gold);
  margin-top: auto;
}

.practice-card-link svg {
  width: 14px;
  height: 14px;
  transition: transform var(--transition-fast);
}

.practice-card:hover .practice-card-link svg {
  transform: translateX(4px);
}

/* ==========================================================================
   БЛОК 3: УСЛОВИЯ И СТОИМОСТЬ ВЕДЕНИЯ ДЕЛ
   ========================================================================== */
.pricing-section {
  background-color: var(--bg-primary);
  border-top: 1px solid var(--border-gold);
  border-bottom: 1px solid var(--border-gold);
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: stretch;
}

/* Левая карточка: Арбитраж (темный фон) */
.pricing-card-dark {
  background: var(--bg-secondary);
  border: 1px solid var(--border-gold-medium);
  padding: 48px 44px;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  transition: border-color var(--transition-medium), box-shadow var(--transition-medium);
}

.pricing-card-dark:hover {
  border-color: var(--accent-gold);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(184, 144, 71, 0.25);
}

/* Правая карточка: Общая юрисдикция (мягкий приглушенный благородный фон) */
.pricing-card-light {
  background: var(--bg-card-muted-light);
  border: 1px solid var(--accent-gold);
  padding: 48px 44px;
  display: flex;
  flex-direction: column;
  position: relative;
  color: var(--text-dark);
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.35);
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

.pricing-card-light:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

.pricing-badge {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 5px 12px;
  margin-bottom: 18px;
  align-self: flex-start;
}

.pricing-card-dark .pricing-badge {
  background: rgba(184, 144, 71, 0.15);
  border: 1px solid var(--accent-gold);
  color: var(--accent-gold);
}

.pricing-card-light .pricing-badge {
  background: #121212;
  color: var(--accent-gold);
  border: 1px solid #121212;
}

.pricing-card-title {
  font-family: var(--font-serif);
  font-size: 1.625rem;
  font-weight: 700;
  margin-bottom: 28px;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.pricing-card-dark .pricing-card-title {
  color: var(--text-light);
}

.pricing-card-light .pricing-card-title {
  color: var(--text-dark);
}

.pricing-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 36px;
  flex-grow: 1;
}

.pricing-item {
  padding-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pricing-card-dark .pricing-item {
  border-bottom: 1px solid rgba(184, 144, 71, 0.15);
}

.pricing-card-light .pricing-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}

.pricing-item-name {
  font-size: 0.9375rem;
  line-height: 1.45;
}

.pricing-card-dark .pricing-item-name {
  color: #dedede;
}

.pricing-card-light .pricing-item-name {
  color: #1a1a1a;
  font-weight: 500;
}

.pricing-item-price {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  font-weight: 700;
}

.pricing-card-dark .pricing-item-price {
  color: var(--accent-gold);
}

.pricing-card-light .pricing-item-price {
  color: #121212;
}

.pricing-footnote {
  font-size: 0.8125rem;
  line-height: 1.55;
  padding: 16px;
  margin-bottom: 28px;
}

.pricing-card-dark .pricing-footnote {
  background: rgba(18, 18, 18, 0.6);
  border-left: 2px solid var(--accent-gold);
  color: var(--text-muted);
}

.pricing-card-light .pricing-footnote {
  background: rgba(0, 0, 0, 0.08);
  border-left: 2px solid #121212;
  color: #2b2b2b;
}

.pricing-card-dark .btn {
  width: 100%;
}

.pricing-card-light .btn {
  width: 100%;
  background: #121212;
  border-color: #121212;
  color: #ffffff;
}

.pricing-card-light .btn:hover {
  background: var(--accent-gold);
  border-color: var(--accent-gold);
  color: #121212;
}

/* ==========================================================================
   БЛОК 4: АЛГОРИТМ РАБОТЫ (6 ЭТАПОВ В ДЕТАЛЯХ)
   ========================================================================== */
.timeline-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}

.timeline-list {
  display: flex;
  flex-direction: column;
  position: relative;
}

.timeline-list::before {
  content: '';
  position: absolute;
  top: 24px;
  bottom: 40px;
  left: 24px;
  width: 1px;
  background: linear-gradient(to bottom, var(--accent-gold), rgba(184, 144, 71, 0.15));
}

.timeline-item {
  display: flex;
  gap: 28px;
  position: relative;
  padding-bottom: 32px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-badge {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  background: var(--bg-primary);
  border: 1px solid var(--accent-gold);
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  z-index: 2;
  transition: all var(--transition-fast);
}

.timeline-item:hover .timeline-badge {
  background: var(--accent-gold);
  color: #121212;
  box-shadow: 0 0 15px var(--accent-gold-glow);
}

.timeline-content {
  padding-top: 4px;
}

.timeline-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 8px;
}

.timeline-desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.timeline-visual {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.timeline-image-frame {
  position: relative;
  border: 1px solid var(--border-gold);
  padding: 10px;
  background: var(--bg-secondary);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5);
}

.timeline-image-frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.timeline-quote {
  padding: 24px;
  background: var(--bg-secondary);
  border-left: 2px solid var(--accent-gold);
  font-style: italic;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.timeline-quote strong {
  color: var(--accent-gold);
  font-style: normal;
  display: block;
  margin-top: 8px;
  font-size: 0.8125rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ==========================================================================
   БЛОК 5: СТАНДАРТЫ КАЧЕСТВА (СИСТЕМНЫЙ ПОДХОД)
   ========================================================================== */
.standards-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}

.standards-pillars {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.standard-pillar {
  display: flex;
  gap: 28px;
  padding: 28px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-gold);
  transition: all var(--transition-medium);
}

.standard-pillar:hover {
  border-color: var(--border-gold-bright);
  transform: translateX(6px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.standard-pillar-num {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--accent-gold);
  line-height: 1;
  flex-shrink: 0;
  width: 50px;
}

.standard-pillar-body {
  display: flex;
  flex-direction: column;
}

.standard-pillar-title {
  font-family: var(--font-serif);
  font-size: 1.3125rem;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 10px;
}

.standard-pillar-desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.standards-image-frame {
  position: relative;
  border: 1px solid var(--border-gold);
  padding: 12px;
  background: var(--bg-secondary);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5);
  text-align: center;
}

.standards-image-frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.standards-image-caption {
  margin-top: 14px;
  font-size: 0.75rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent-gold);
}

/* ==========================================================================
   БЛОК 6: FAQ (ЧАСТО ЗАДАВАЕМЫЕ ВОПРОСЫ)
   ========================================================================== */
.faq-section {
  position: relative;
  background-color: var(--bg-primary);
  overflow: hidden;
  border-top: 1px solid var(--border-gold);
}

/* Фоновый паттерн Фемиды с прозрачностью 0.05 согласно ТЗ */
.faq-bg-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../themis_geometric_bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.05;
  pointer-events: none;
  z-index: 1;
}

.faq-section .container {
  position: relative;
  z-index: 2;
}

.faq-accordion {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  border: 1px solid var(--border-gold);
  background: rgba(26, 26, 26, 0.9);
  transition: border-color var(--transition-fast);
}

.faq-item.active {
  border-color: var(--accent-gold);
}

.faq-trigger {
  width: 100%;
  background: transparent;
  border: none;
  padding: 24px 28px;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  cursor: pointer;
}

.faq-question {
  font-family: var(--font-serif);
  font-size: 1.1875rem;
  font-weight: 600;
  color: var(--text-light);
  line-height: 1.4;
  transition: color var(--transition-fast);
}

.faq-item.active .faq-question {
  color: var(--accent-gold);
}

.faq-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border: 1px solid var(--accent-gold);
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: monospace;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
  transition: all var(--transition-fast);
}

.faq-item.active .faq-icon {
  background: var(--accent-gold);
  color: #121212;
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-content {
  padding: 0 28px 26px;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.7;
  border-top: 1px solid rgba(184, 144, 71, 0.1);
  padding-top: 18px;
}

/* ==========================================================================
   БЛОК 7: ФОРМА ОЦЕНКИ ПЕРСПЕКТИВ ДЕЛА
   ========================================================================== */
.form-section {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-gold);
  border-bottom: 1px solid var(--border-gold);
}

.form-card {
  max-width: 820px;
  margin: 0 auto;
  background: var(--bg-primary);
  border: 1px solid var(--border-gold-medium);
  padding: 60px 56px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
}

.case-form {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
}

.form-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent-gold);
}

/* Поля формы имеют ТОЛЬКО нижнюю золотую рамку согласно ТЗ */
.form-input,
.form-textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 2px solid var(--accent-gold);
  color: var(--text-light);
  padding: 12px 0;
  font-size: 1.0625rem;
  transition: border-color var(--transition-fast), background-color var(--transition-fast);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: #555555;
  font-size: 0.9375rem;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-bottom-color: #ffffff;
  background: rgba(184, 144, 71, 0.03);
}

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

.form-submit-btn {
  width: 100%;
  padding: 20px;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  background: var(--accent-gold);
  border: 1px solid var(--accent-gold);
  color: #121212;
  cursor: pointer;
  transition: all var(--transition-fast);
  margin-top: 10px;
}

.form-submit-btn:hover {
  background: var(--accent-gold-hover);
  border-color: var(--accent-gold-hover);
  box-shadow: 0 8px 30px rgba(184, 144, 71, 0.4);
}

.form-disclaimer {
  font-size: 0.75rem;
  color: var(--text-dim);
  text-align: center;
  line-height: 1.6;
  margin-top: 16px;
}

/* ==========================================================================
   БЛОК 8: КОНТАКТЫ И РЕКВИЗИТЫ (FOOTER)
   ========================================================================== */
.site-footer {
  background-color: #0c0c0c;
  border-top: 1px solid var(--border-gold);
  padding: 80px 0 40px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-col-title {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

.footer-contacts-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.footer-contact-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent-gold);
}

.footer-contact-value {
  font-size: 1.0625rem;
  color: var(--text-light);
  font-weight: 500;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-contact-value a:hover {
  color: var(--accent-gold);
}

/* ЧИСТЫЕ ССЫЛКИ В ПОДВАЛЕ (БЕЗ РАМОК И ПЛАШЕК ПО ПРОСЬБЕ ПОЛЬЗОВАТЕЛЯ) */
.contact-clean-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-light);
  font-size: 1.0625rem;
  font-weight: 500;
  background: transparent;
  border: none;
  padding: 0;
  transition: color var(--transition-fast);
}

.contact-clean-link:hover {
  color: var(--accent-gold);
}

.contact-clean-icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
  vertical-align: middle;
  flex-shrink: 0;
}

.footer-info-block {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-info-item {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-info-item strong {
  color: var(--accent-gold);
  font-weight: 600;
  display: block;
  margin-bottom: 4px;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 1px;
}

.footer-center-emblem {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px 0;
  border-top: 1px solid rgba(184, 144, 71, 0.15);
  border-bottom: 1px solid rgba(184, 144, 71, 0.15);
  margin-bottom: 30px;
}

.footer-scales-logo {
  height: 32px;
  width: auto;
  opacity: 0.8;
  filter: drop-shadow(0 0 8px rgba(184, 144, 71, 0.3));
}

.footer-bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.8125rem;
  color: var(--text-dim);
}

.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-legal-links a {
  color: var(--text-muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: all var(--transition-fast);
}

.footer-legal-links a:hover {
  color: var(--accent-gold);
  border-bottom-color: var(--accent-gold);
}

/* ==========================================================================
   СТИЛИ ДЛЯ СТРАНИЦЫ ПОЛИТИКИ КОНФИДЕНЦИАЛЬНОСТИ (PRIVACY.HTML)
   ========================================================================== */
.privacy-page-header {
  padding: 50px 0 30px;
  border-bottom: 1px solid var(--border-gold);
  background: var(--bg-secondary);
}

.privacy-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.privacy-breadcrumbs a:hover {
  color: var(--accent-gold);
}

.privacy-container {
  max-width: 960px;
  margin: 0 auto;
  padding: 60px 24px 100px;
}

.privacy-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-gold);
  padding: 50px 56px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.privacy-doc-header {
  border-bottom: 1px solid var(--border-gold);
  padding-bottom: 30px;
  margin-bottom: 40px;
}

.privacy-doc-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--text-light);
  line-height: 1.25;
  margin-bottom: 14px;
}

.privacy-doc-meta {
  font-size: 0.875rem;
  color: var(--accent-gold);
  font-weight: 500;
}

.privacy-section-block {
  margin-bottom: 36px;
}

.privacy-section-block:last-child {
  margin-bottom: 0;
}

.privacy-h2 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--accent-gold);
  margin-bottom: 16px;
  line-height: 1.3;
}

.privacy-text {
  font-size: 0.9375rem;
  color: #cccccc;
  line-height: 1.75;
  margin-bottom: 14px;
}

.privacy-text:last-child {
  margin-bottom: 0;
}

.privacy-list {
  list-style: none;
  margin: 12px 0 16px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.privacy-list li {
  position: relative;
  padding-left: 24px;
  font-size: 0.9375rem;
  color: #cccccc;
  line-height: 1.65;
}

.privacy-list li::before {
  content: '■';
  position: absolute;
  left: 0;
  top: 1px;
  font-size: 0.55rem;
  color: var(--accent-gold);
}

.privacy-placeholder-box {
  background: rgba(184, 144, 71, 0.07);
  border-left: 2px solid var(--accent-gold);
  padding: 16px 20px;
  margin: 16px 0;
  font-size: 0.875rem;
  color: #dddddd;
}

.privacy-actions {
  margin-top: 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding-top: 30px;
  border-top: 1px solid var(--border-gold);
}

/* МОДАЛЬНОЕ ОКНО ПОДТВЕРЖДЕНИЯ */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-medium);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-box {
  background: var(--bg-secondary);
  border: 1px solid var(--accent-gold);
  max-width: 540px;
  width: 100%;
  padding: 48px;
  position: relative;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 40px var(--accent-gold-glow);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: transparent;
  border: none;
  color: var(--accent-gold);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
}

.modal-title {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  color: var(--accent-gold);
  margin-bottom: 16px;
}

.modal-text {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 32px;
}

/* ==========================================================================
   АДАПТИВНАЯ ВЁРСТКА (RESPONSIVE BREAKPOINTS)
   ========================================================================== */
@media (max-width: 1200px) {
  .nav-menu {
    gap: 16px;
  }
  
  .header-actions {
    gap: 14px;
  }
}

@media (max-width: 1024px) {
  :root {
    --section-padding: 70px 0;
  }

  .site-header .container {
    height: 76px;
  }

  /* Мобильная шторка меню */
  .nav-menu {
    position: fixed;
    top: 76px;
    left: 0;
    width: 100%;
    max-height: calc(100vh - 76px);
    overflow-y: auto;
    background: rgba(18, 18, 18, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 2px solid var(--accent-gold);
    flex-direction: column;
    align-items: stretch;
    padding: 24px 24px 36px;
    gap: 12px;
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.85);
  }

  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-link {
    font-size: 1rem;
    padding: 12px 0;
    border-bottom: 1px solid rgba(184, 144, 71, 0.15);
    display: block;
  }

  .header-phones {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .mobile-toggle.active span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
  }

  .mobile-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .mobile-toggle.active span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
  }

  .mobile-nav-item {
    display: block;
  }

  .mobile-nav-cta {
    margin-top: 14px;
  }

  .mobile-nav-phones {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid rgba(184, 144, 71, 0.2);
  }

  .mobile-nav-phones .phone-link {
    font-size: 0.9375rem;
    color: var(--accent-gold);
  }

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

  /* На мобильных и планшетах изображение Фемиды выводится ПЕРВЫМ */
  .hero-visual {
    order: -1;
  }

  .hero-content {
    order: 1;
  }

  .timeline-grid,
  .standards-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .practice-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .timeline-visual,
  .standards-image-frame {
    max-width: 600px;
    margin: 0 auto;
  }

  .hero-features {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-bottom-bar {
    flex-direction: column;
    gap: 14px;
    text-align: center;
  }

  .footer-legal-links {
    justify-content: center;
  }

  .privacy-card {
    padding: 36px 24px;
  }
}

@media (max-width: 768px) {
  /* Защита от переполнения + комфортные отступы от краев (не прилипает к стеклу) */
  .container {
    padding: 0 22px;
    box-sizing: border-box;
    max-width: 100%;
    width: 100%;
  }

  .section {
    padding: 55px 0;
  }

  .section-header {
    margin-bottom: 32px;
  }

  .section-overtitle {
    font-size: 0.72rem;
    letter-spacing: 2px;
  }

  .section-title {
    font-size: clamp(1.45rem, 6vw, 1.85rem) !important;
    line-height: 1.25;
    word-break: break-word;
    overflow-wrap: break-word;
  }

  .section-subtitle {
    font-size: 0.9375rem;
    line-height: 1.55;
    margin-top: 10px;
  }

  /* ШАПКА */
  .site-header .container {
    padding: 0 20px;
    height: 70px;
    gap: 12px;
  }

  .nav-menu {
    top: 70px;
    max-height: calc(100vh - 70px);
    padding: 20px 16px 30px;
  }

  .header-brand {
    gap: 10px;
  }

  .header-logo {
    height: 38px;
    width: auto;
  }

  .brand-name {
    font-size: 1.15rem;
    letter-spacing: 1px;
  }

  /* На мобильных экранах кнопка скрыта из верхней полосы (чтобы не выдавливать гамбургер за экран) */
  .btn-header {
    display: none !important;
  }

  .header-actions {
    gap: 0;
  }

  .mobile-toggle {
    display: flex;
    flex-shrink: 0;
  }

  /* ГЛАВНЫЙ ЭКРАН (HERO) */
  .hero-section {
    padding: 35px 0 50px;
  }

  .hero-overtitle {
    font-size: 0.75rem;
    letter-spacing: 1.5px;
    margin-bottom: 14px;
    line-height: 1.4;
    flex-wrap: wrap;
  }

  .hero-overtitle::before {
    width: 16px;
  }

  .hero-title {
    font-size: clamp(1.55rem, 6.8vw, 2.05rem) !important;
    line-height: 1.22;
    margin-bottom: 16px;
    word-break: break-word;
    overflow-wrap: break-word;
    letter-spacing: -0.01em;
  }

  .hero-subtitle {
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 24px;
  }

  .hero-cta-wrapper {
    margin-bottom: 28px;
    width: 100%;
  }

  /* КНОПКИ НА МОБИЛЬНЫХ НЕ ВЫХОДЯТ ЗА КРАЙ И НЕ ПЕРЕПОЛНЯЮТ ЭКРАН */
  .btn {
    white-space: normal !important;
    text-align: center;
    box-sizing: border-box;
    max-width: 100%;
  }

  .btn-cta {
    width: 100% !important;
    padding: 15px 14px !important;
    font-size: 0.8125rem !important;
    letter-spacing: 1px !important;
    white-space: normal !important;
    text-align: center;
    line-height: 1.35;
    box-sizing: border-box;
    display: block;
  }

  .hero-features {
    grid-template-columns: 1fr;
    gap: 14px;
    padding-top: 20px;
  }

  .hero-feature-num {
    font-size: 1.25rem;
  }

  .hero-feature-label {
    font-size: 0.72rem;
    letter-spacing: 0.3px;
  }

  .hero-image-box {
    max-width: 480px;
    margin: 0 auto 28px;
    padding: 10px;
    box-sizing: border-box;
  }

  .hero-image-inner {
    aspect-ratio: 1 / 1;
    max-height: 380px;
    width: 100%;
  }

  /* КАРТОЧКИ ПРАКТИКИ */
  .practice-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .practice-card {
    padding: 28px 20px;
  }

  .practice-card-title {
    font-size: 1.2rem;
  }

  .practice-card-desc {
    font-size: 0.875rem;
  }

  /* ТАРИФЫ */
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .pricing-card-dark,
  .pricing-card-light {
    padding: 30px 20px;
  }

  .pricing-item-name {
    font-size: 0.875rem;
  }

  .pricing-item-price {
    font-size: 1.25rem;
  }

  /* ЭТАПЫ (TIMELINE) */
  .timeline-item {
    gap: 14px;
    padding-bottom: 24px;
  }

  .timeline-badge {
    width: 38px;
    height: 38px;
    font-size: 0.875rem;
  }

  .timeline-list::before {
    left: 19px;
  }

  .timeline-title {
    font-size: 1.1rem;
  }

  .timeline-desc {
    font-size: 0.875rem;
  }

  .timeline-quote {
    padding: 16px;
    font-size: 0.8125rem;
  }

  /* СТАНДАРТЫ */
  .standard-pillar {
    padding: 20px 16px;
    gap: 14px;
  }

  .standard-pillar:hover {
    transform: none; /* Убираем смещение на мобильных */
  }

  .standard-pillar-num {
    font-size: 1.65rem;
    width: 34px;
  }

  .standard-pillar-title {
    font-size: 1.125rem;
  }

  .standard-pillar-desc {
    font-size: 0.875rem;
  }

  /* ФОРМА ЗАЯВКИ */
  .form-card {
    padding: 32px 20px;
    box-sizing: border-box;
  }

  .form-submit-btn {
    width: 100% !important;
    padding: 16px 14px !important;
    font-size: 0.8125rem !important;
    letter-spacing: 1px !important;
    white-space: normal !important;
    text-align: center;
    line-height: 1.35;
    box-sizing: border-box;
  }

  .modal-box {
    padding: 30px 18px;
    max-width: calc(100% - 32px);
    box-sizing: border-box;
  }

  .privacy-actions {
    flex-direction: column;
    align-items: stretch;
  }

  /* ПОДВАЛ */
  .site-footer {
    padding: 48px 0 30px;
  }

  .footer-col-title {
    font-size: 1.15rem;
  }

  .footer-bottom-bar {
    font-size: 0.8125rem;
    line-height: 1.5;
  }
}

@media (max-width: 420px) {
  .container {
    padding: 0 18px;
  }

  .site-header .container {
    padding: 0 18px;
  }

  .header-brand {
    gap: 8px;
  }

  .header-logo {
    height: 34px;
  }

  .brand-name {
    font-size: 0.94rem;
    letter-spacing: 0.4px;
  }

  .hero-title {
    font-size: 1.55rem !important;
  }
}
