/* ===== hero.css ===== */

/* ===== hero.css ===== */

/* ============================================================
   HERO.CSS — Главная секция (#home)
   ============================================================ */

#home {
  padding: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--white);
}

/* ── Двухколоночная компоновка ── */
.hero-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  flex: 1;
  padding-top: 90px; /* отступ под фиксированный nav */
}

/* ── Левая колонка: текст ── */
.hero-left {
  padding: 80px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--line);
}

.hero-title {
  font-family: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  font-weight: 300;
  font-size: clamp(60px, 8vw, 110px);
  line-height: .95;
  letter-spacing: -2px;
  color: var(--black);
  margin-bottom: 48px;
}

.hero-title em {
  font-style: italic;
  color: var(--gold);
}

.hero-sub {
  font-size: 20px;
  font-weight: 300;
  line-height: 1.85;
  color: var(--muted);
  max-width: 380px;
  margin-bottom: 56px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 32px;
}

/* ── Правая колонка: статистика ── */
.hero-right {
  background: #eceae4;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 60px;
  position: relative;
  overflow: hidden;
}

/* Декоративная шахматная доска (заполняется через JS) */
.chess-deco {
  position: absolute;
  top: 0;
  right: 0;
  width: 280px;
  height: 280px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(4, 1fr);
  opacity: .1;
}

.chess-deco-cell.f {
  background: var(--black);
}

/* Большая декоративная фигура */
.hero-piece {
  font-size: 200px;
  line-height: 1;
  color: var(--black);
  opacity: .09;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: serif;
  pointer-events: none;
  animation: gfloat 6s ease-in-out infinite;
}

@keyframes gfloat {
  0%, 100% { transform: translate(-50%, -50%) rotate(-4deg); }
  50%       { transform: translate(-50%, -53%) rotate(3deg); }
}

/* Блок статистики */
.hero-stats {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  z-index: 1;
}

.stat {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.stat:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.stat-n {
  font-family: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  font-size: 56px;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
}

.stat-label {
  font-size: 16px;
  color: var(--muted);
  letter-spacing: .5px;
  line-height: 1.5;
  max-width: 150px;
}

/* ── Нижняя строка-баннер ── */
.hero-bar {
  display: flex;
  border-top: 1px solid var(--line);
}

.hero-bar-item {
  flex: 1;
  padding: 22px 28px;
  border-right: 1px solid var(--line);
  font-size: 15px;
  letter-spacing: 1px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 10px;
  transition: color .25s, background .25s;
}

.hero-bar-item:hover {
  color: var(--black);
  background: var(--gold);
}

.hero-bar-item:last-child {
  border-right: none;
}

.bar-dot {
  width: 5px;
  height: 5px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
}