/* ==========================================================================
   TARO-THEME.CSS — Чёрное Таро: тёмная магия, свечи, мистика
   ========================================================================== */

/* Logo icon */
.site-header__logo {
  display: flex !important;
  align-items: center;
  gap: .5rem;
}
.logo-icon {
  flex-shrink: 0;
  filter: drop-shadow(0 0 8px rgba(201,160,48,.25));
  transition: filter .3s ease;
}
.site-header__logo:hover .logo-icon {
  filter: drop-shadow(0 0 14px rgba(201,160,48,.5));
}

/* Force text presentation for all unicode symbols (no colored emoji) */
.arcana-card__symbol,
.learn-card__icon,
.spread-card__icon,
.table-spread__card-symbol,
.section-divider,
.hero__particle {
  font-family: 'Segoe UI Symbol', 'Noto Sans Symbols 2', 'Apple Symbols', serif;
  font-variant-emoji: text;
}

/* Шрифт для тёмного таро — Cormorant Garamond вместо Playfair */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Literata:ital,opsz,wght@0,7..72,300;0,7..72,400;0,7..72,500;1,7..72,400&display=swap');

:root {
  --font-heading: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --font-body:    'Literata', 'Inter', Georgia, serif;

  --color-bg:             #050208;
  --color-bg-secondary:   #0a0510;
  --color-bg-tertiary:    #0f0818;
  --color-bg-card:        #0c0614;
  --color-bg-elevated:    #140a20;

  --color-accent:         #c9a030;
  --color-accent-light:   #e8c54a;
  --color-accent-dark:    #9a7a20;
  --color-accent-glow:    rgba(201, 160, 48, 0.15);

  --color-border:         #1a1028;
  --color-border-light:   #2a1a3e;

  --color-flame:          #e8651a;
  --color-flame-tip:      #ffd700;
  --color-ember:          #ff4500;
  --color-smoke:          rgba(120, 100, 140, 0.06);
}

/* Переопределяем body шрифт */
body {
  font-family: var(--font-body);
  letter-spacing: 0.01em;
}

/* ==========================================================================
   HERO — Стол с картами и свечи
   ========================================================================== */

.hero {
  position: relative;
  overflow: hidden;
  padding: 0;
  text-align: center;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 60%, rgba(201,160,48,.06) 0%, transparent 50%),
    radial-gradient(ellipse at 20% 30%, rgba(232,101,26,.04) 0%, transparent 40%),
    radial-gradient(ellipse at 80% 30%, rgba(232,101,26,.04) 0%, transparent 40%),
    radial-gradient(ellipse at 50% 100%, rgba(10,5,16,.95) 0%, transparent 60%);
  pointer-events: none;
}

/* Текстура дерева (стол) */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 120px,
      rgba(80,50,20,.03) 120px,
      rgba(80,50,20,.03) 121px
    ),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 200px,
      rgba(60,40,15,.02) 200px,
      rgba(60,40,15,.02) 201px
    );
  pointer-events: none;
}

/* Виньетка */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(5,2,8,.85) 100%);
  pointer-events: none;
  z-index: 1;
}

/* Частицы-искры */
.hero__particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 2;
}

.hero__particle {
  position: absolute;
  font-size: 1rem;
  opacity: 0;
  color: var(--color-flame-tip);
  text-shadow: 0 0 8px var(--color-flame);
  animation: sparkFloat linear infinite;
}

@keyframes sparkFloat {
  0%   { transform: translateY(100vh) scale(0.5); opacity: 0; }
  10%  { opacity: 0.6; }
  50%  { opacity: 0.3; }
  90%  { opacity: 0.1; }
  100% { transform: translateY(-10vh) scale(0.2); opacity: 0; }
}

.hero__content {
  position: relative;
  z-index: 3;
  max-width: 750px;
  padding: var(--space-2xl) var(--container-padding);
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 0.35rem 1rem;
  margin-bottom: var(--space-lg);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--color-accent-light);
  background: rgba(201,160,48,.08);
  border: 1px solid rgba(201,160,48,.2);
  border-radius: var(--radius-full);
  animation: pulseGlow 3s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 10px rgba(201,160,48,.1); }
  50%      { box-shadow: 0 0 25px rgba(201,160,48,.2); }
}

.hero__title {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--color-text-heading);
  margin-bottom: var(--space-md);
  line-height: var(--leading-tight);
  text-shadow: 0 2px 20px rgba(0,0,0,.8);
}

.hero__title em {
  font-style: normal;
  background: linear-gradient(135deg, var(--color-accent-light), var(--color-flame-tip));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__subtitle {
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-xl);
  max-width: 560px;
  margin-inline: auto;
  text-shadow: 0 1px 10px rgba(0,0,0,.6);
}

.hero__actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  align-items: center;
}

@media (min-width: 768px) {
  .hero {
    min-height: 100vh;
  }
  .hero__title {
    font-size: var(--text-5xl);
  }
  .hero__actions {
    flex-direction: row;
    justify-content: center;
  }
}

/* ==========================================================================
   СВЕЧИ — CSS-анимация
   ========================================================================== */

.candles-scene {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}

.candle {
  position: absolute;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.candle--left  { left: 8%; }
.candle--right { right: 8%; }
.candle--far-left  { left: 3%; opacity: 0.5; }
.candle--far-right { right: 3%; opacity: 0.5; }

.candle__body {
  width: 24px;
  background: linear-gradient(
    90deg,
    #1a1208 0%,
    #2e2214 30%,
    #3a2c18 50%,
    #2e2214 70%,
    #1a1208 100%
  );
  border-radius: 2px 2px 0 0;
  position: relative;
  box-shadow: inset 0 0 6px rgba(0,0,0,.5);
}

.candle--left .candle__body,
.candle--right .candle__body {
  height: 200px;
  width: 26px;
}

/* Подтёки воска */
.candle__body::before {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  height: 18px;
  background: radial-gradient(ellipse at 50% 20%, #4a3a20, #2e2214);
  border-radius: 50% 50% 40% 40%;
  box-shadow: 0 2px 4px rgba(0,0,0,.3);
}

/* Восковые подтёки по бокам */
.candle__body::after {
  content: '';
  position: absolute;
  top: 12px;
  left: -2px;
  width: 6px;
  height: 40px;
  background: linear-gradient(180deg, #3a2c18, #2e2214 60%, transparent);
  border-radius: 0 0 3px 3px;
  opacity: 0.7;
}

/* Фитиль */
.candle__wick {
  width: 2px;
  height: 14px;
  background: linear-gradient(180deg, #4a3a20, #1a1208);
  border-radius: 1px;
  position: relative;
}

/* Точка накала на кончике фитиля */
.candle__wick::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -1px;
  width: 4px;
  height: 4px;
  background: #ff6a00;
  border-radius: 50%;
  box-shadow: 0 0 4px 1px rgba(255,106,0,.6);
}

/* Пламя */
.candle__flame-wrap {
  position: relative;
  width: 50px;
  height: 70px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.candle__flame {
  width: 12px;
  height: 40px;
  position: relative;
  animation: flicker 3s ease-in-out infinite alternate;
  /* Форма пламени через множественные градиенты */
  background:
    radial-gradient(ellipse at 50% 80%, #ff6a00 0%, transparent 55%),
    radial-gradient(ellipse at 50% 60%, #ffaa00 0%, transparent 45%),
    radial-gradient(ellipse at 50% 30%, #ffeebb 0%, transparent 30%);
  border-radius: 50% 50% 40% 40% / 70% 70% 30% 30%;
  box-shadow:
    0 0 8px 3px rgba(255,106,0,.25),
    0 0 25px 8px rgba(255,106,0,.12),
    0 0 60px 15px rgba(201,160,48,.06);
  filter: blur(0.5px);
}

/* Внутреннее ядро пламени */
.candle__flame::before {
  content: '';
  position: absolute;
  width: 5px;
  height: 18px;
  background: linear-gradient(0deg, #ff8800 0%, #ffcc44 50%, #fff8ee 90%);
  border-radius: 50% 50% 40% 40% / 60% 60% 40% 40%;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  animation: flickerInner 2s ease-in-out infinite alternate;
  filter: blur(0.3px);
}

/* Свечение на поверхности */
.candle__glow {
  width: 150px;
  height: 40px;
  background: radial-gradient(ellipse, rgba(255,106,0,.08) 0%, rgba(201,160,48,.04) 40%, transparent 70%);
  border-radius: 50%;
  margin-top: -5px;
  animation: glowPulse 4s ease-in-out infinite;
}

@keyframes flicker {
  0%   { transform: scaleY(1) scaleX(1) rotate(-0.5deg); opacity: 0.95; }
  15%  { transform: scaleY(1.03) scaleX(0.97) rotate(0.3deg); opacity: 1; }
  30%  { transform: scaleY(0.96) scaleX(1.01) rotate(-0.3deg); opacity: 0.92; }
  45%  { transform: scaleY(1.06) scaleX(0.96) rotate(0.5deg); opacity: 0.98; }
  60%  { transform: scaleY(0.98) scaleX(1.02) rotate(-0.2deg); opacity: 0.94; }
  75%  { transform: scaleY(1.04) scaleX(0.98) rotate(0.4deg); opacity: 1; }
  90%  { transform: scaleY(0.97) scaleX(1.01) rotate(-0.4deg); opacity: 0.96; }
  100% { transform: scaleY(1.02) scaleX(0.99) rotate(0.2deg); opacity: 0.93; }
}

@keyframes flickerInner {
  0%   { opacity: 0.7; transform: translateX(-50%) scaleY(1); }
  33%  { opacity: 0.9; transform: translateX(-50%) scaleY(1.08); }
  66%  { opacity: 0.6; transform: translateX(-50%) scaleY(0.94); }
  100% { opacity: 0.8; transform: translateX(-50%) scaleY(1.03); }
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50%      { opacity: 0.8; transform: scale(1.05); }
}

/* Дым */
.candle__smoke {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(180,170,190,.08);
  border-radius: 50%;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  animation: smokeRise 5s ease-out infinite;
  filter: blur(2px);
}

.candle__smoke:nth-child(2) { animation-delay: 2s; width: 3px; height: 3px; }
.candle__smoke:nth-child(3) { animation-delay: 3.5s; width: 5px; height: 5px; }

@keyframes smokeRise {
  0%   { opacity: 0; transform: translateX(-50%) translateY(0) scale(1); filter: blur(2px); }
  15%  { opacity: 0.15; }
  50%  { opacity: 0.08; filter: blur(4px); }
  100% { opacity: 0; transform: translateX(calc(-50% + 10px)) translateY(-100px) scale(4); filter: blur(6px); }
}

/* ==========================================================================
   РАСКЛАД НА СТОЛЕ — 5 карт в центре hero
   ========================================================================== */

.table-spread {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: var(--space-sm);
  margin-top: var(--space-2xl);
  perspective: 800px;
}

.table-spread__card {
  width: 60px;
  height: 95px;
  background: linear-gradient(145deg, #0c0614, #1a0e28);
  border: 1px solid rgba(201,160,48,.3);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  position: relative;
  transition: all .5s var(--ease-out);
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0,0,0,.6);
  animation: cardAppear .8s var(--ease-out) both;
}

.table-spread__card:nth-child(1) { animation-delay: .2s; transform: rotate(-8deg); }
.table-spread__card:nth-child(2) { animation-delay: .4s; transform: rotate(-3deg); }
.table-spread__card:nth-child(3) { animation-delay: .6s; transform: rotate(0deg); z-index: 2; }
.table-spread__card:nth-child(4) { animation-delay: .8s; transform: rotate(3deg); }
.table-spread__card:nth-child(5) { animation-delay: 1s; transform: rotate(8deg); }

.table-spread__card::before {
  content: '';
  position: absolute;
  inset: 3px;
  border: 1px solid rgba(201,160,48,.15);
  border-radius: 4px;
}

/* Пентаграмма на рубашке */
.table-spread__card::after {
  content: '\2726';
  position: absolute;
  font-size: .6rem;
  color: rgba(201,160,48,.2);
  top: 6px;
  left: 6px;
}

.table-spread__card:hover {
  transform: translateY(-15px) rotate(0deg) scale(1.1) !important;
  border-color: var(--color-accent-light);
  box-shadow:
    0 8px 30px rgba(201,160,48,.2),
    0 0 40px rgba(201,160,48,.1);
  z-index: 5;
}

.table-spread__card-symbol {
  text-shadow: 0 0 10px rgba(201,160,48,.4);
  transition: text-shadow .3s;
}

.table-spread__card:hover .table-spread__card-symbol {
  text-shadow: 0 0 20px rgba(201,160,48,.8);
}

@keyframes cardAppear {
  0%   { opacity: 0; transform: translateY(30px) rotate(0deg) scale(0.8); }
  100% { opacity: 1; }
}

@media (min-width: 768px) {
  .table-spread__card {
    width: 80px;
    height: 125px;
    font-size: 2rem;
  }
  .table-spread {
    gap: var(--space-md);
  }
}

/* ==========================================================================
   МАГИЧЕСКИЙ КРУГ — декоративный элемент
   ========================================================================== */

.magic-circle {
  position: absolute;
  width: 500px;
  height: 500px;
  border: 1px solid rgba(201,160,48,.06);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 1;
  animation: circleRotate 60s linear infinite;
}

.magic-circle::before {
  content: '';
  position: absolute;
  inset: 30px;
  border: 1px solid rgba(201,160,48,.04);
  border-radius: 50%;
}

.magic-circle::after {
  content: '\2721';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(201,160,48,.15);
  font-size: 1rem;
}

@keyframes circleRotate {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(360deg); }
}

@media (min-width: 768px) {
  .magic-circle {
    width: 700px;
    height: 700px;
  }
}

/* ==========================================================================
   ARCANA GRID — Карты с эффектом свечения
   ========================================================================== */

.arcana-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: var(--space-md);
}

.arcana-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--space-lg) var(--space-sm) var(--space-md);
  background: linear-gradient(170deg, var(--color-bg-card), #080410);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: all var(--duration-normal) var(--ease-out);
  text-decoration: none;
  overflow: hidden;
}

.arcana-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(201,160,48,.08) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--duration-normal);
}

.arcana-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-accent);
  box-shadow:
    0 0 25px rgba(201,160,48,.15),
    0 10px 40px rgba(0,0,0,.5);
}

.arcana-card:hover::before {
  opacity: 1;
}

.arcana-card__number {
  position: absolute;
  top: 8px;
  right: 10px;
  font-size: var(--text-xs);
  color: rgba(201,160,48,.3);
  font-weight: 600;
}

.arcana-card__symbol {
  font-size: 2.5rem;
  margin-bottom: var(--space-sm);
  line-height: 1;
  color: var(--color-accent);
  opacity: 0.7;
  filter: drop-shadow(0 0 8px rgba(201,160,48,.3));
  transition: filter .3s, opacity .3s;
  font-family: 'Segoe UI Symbol', 'Noto Sans Symbols 2', serif;
}

.arcana-card:hover .arcana-card__symbol {
  opacity: 1;
  filter: drop-shadow(0 0 15px rgba(201,160,48,.6));
}

.arcana-card__name {
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-text-heading);
}

/* ==========================================================================
   SPREADS — карточки раскладов
   ========================================================================== */

.spread-card {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-lg);
  background: linear-gradient(135deg, var(--color-bg-card), #080410);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: all var(--duration-normal) var(--ease-out);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.spread-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
  opacity: 0;
  transition: opacity .3s;
}

.spread-card:hover {
  border-color: rgba(201,160,48,.4);
  box-shadow: 0 0 30px rgba(201,160,48,.08);
  transform: translateY(-3px);
}

.spread-card:hover::after {
  opacity: 1;
}

.spread-card__icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  background: rgba(201,160,48,.06);
  border: 1px solid rgba(201,160,48,.15);
  border-radius: var(--radius-md);
  text-shadow: 0 0 10px rgba(201,160,48,.3);
}

.spread-card__title {
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-text-heading);
  margin-bottom: 4px;
}

.spread-card__desc {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
}

.spread-card__meta {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-top: 4px;
}

/* ==========================================================================
   SECTION HEADERS
   ========================================================================== */

.section-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.section-header__label {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--tracking-caps);
  color: var(--color-accent);
  margin-bottom: var(--space-sm);
  text-shadow: 0 0 15px rgba(201,160,48,.3);
}

.section-header__title {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 600;
  color: var(--color-text-heading);
  margin-bottom: var(--space-sm);
}

.section-header__text {
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  max-width: 560px;
  margin-inline: auto;
}

@media (min-width: 768px) {
  .section-header__title {
    font-size: var(--text-3xl);
  }
}

/* ==========================================================================
   TOPIC PILLS
   ========================================================================== */

.topic-pills {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
}

.topic-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 0.5rem 1rem;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-secondary);
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  transition: all var(--duration-normal);
  text-decoration: none;
}

.topic-pill:hover {
  border-color: var(--color-accent);
  color: var(--color-accent-light);
  box-shadow: 0 0 15px rgba(201,160,48,.1);
  text-shadow: 0 0 10px rgba(201,160,48,.3);
}

.topic-pill__hot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-ember);
  box-shadow: 0 0 6px var(--color-ember);
  animation: hotPulse 2s ease-in-out infinite;
}

@keyframes hotPulse {
  0%, 100% { box-shadow: 0 0 4px var(--color-ember); }
  50%      { box-shadow: 0 0 12px var(--color-ember); }
}

/* ==========================================================================
   ОБУЧЕНИЕ — Секция с категориями чёрного таро
   ========================================================================== */

.learn-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

.learn-card {
  position: relative;
  background: linear-gradient(135deg, #0c0614, #080410);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl) var(--space-lg);
  text-decoration: none;
  overflow: hidden;
  transition: all .4s var(--ease-out);
}

.learn-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
  opacity: 0;
  transition: opacity .3s;
}

.learn-card:hover {
  border-color: rgba(201,160,48,.3);
  transform: translateY(-4px);
  box-shadow: 0 10px 40px rgba(0,0,0,.4);
}

.learn-card:hover::before {
  opacity: 1;
}

.learn-card__icon {
  font-size: 2rem;
  margin-bottom: var(--space-md);
  filter: drop-shadow(0 0 10px rgba(201,160,48,.3));
}

.learn-card__title {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-text-heading);
  margin-bottom: var(--space-xs);
}

.learn-card__desc {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
}

.learn-card__tag {
  display: inline-block;
  margin-top: var(--space-sm);
  font-size: var(--text-xs);
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: var(--tracking-caps);
}

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

@media (min-width: 1024px) {
  .learn-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ==========================================================================
   MINI SPREAD (legacy, скрыт — заменён table-spread)
   ========================================================================== */

.mini-spread {
  display: none;
}

/* ==========================================================================
   AMBIENT PARTICLES — мерцающие точки по всему сайту
   ========================================================================== */

.ambient-particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.ambient-particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: var(--color-accent);
  border-radius: 50%;
  animation: ambientFloat linear infinite;
}

@keyframes ambientFloat {
  0%   { opacity: 0; transform: translateY(100vh); }
  20%  { opacity: 0.4; }
  80%  { opacity: 0.2; }
  100% { opacity: 0; transform: translateY(-10vh); }
}

/* ==========================================================================
   SECTION DIVIDER — Орнамент между секциями
   ========================================================================== */

.section-divider {
  text-align: center;
  padding: var(--space-lg) 0;
  color: rgba(201,160,48,.2);
  font-size: var(--text-sm);
  letter-spacing: 0.5em;
  user-select: none;
}

/* ==========================================================================
   TRUST NUMBERS — цифры доверия в hero
   ========================================================================== */

.trust-numbers {
  display: flex;
  justify-content: center;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
  flex-wrap: wrap;
}

.trust-numbers__item {
  text-align: center;
  padding: var(--space-sm) var(--space-md);
  position: relative;
}

.trust-numbers__item + .trust-numbers__item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: rgba(201,160,48,.2);
}

.trust-numbers__value {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-accent-light);
  text-shadow: 0 0 20px rgba(201,160,48,.3);
  line-height: 1.2;
}

.trust-numbers__label {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: var(--tracking-caps);
  margin-top: 2px;
}

@media (min-width: 768px) {
  .trust-numbers__value {
    font-size: var(--text-3xl);
  }
  .trust-numbers {
    gap: var(--space-xl);
  }
}

/* ==========================================================================
   FIT CARDS — кому подходит / не подходит
   ========================================================================== */

.fit-card {
  background: linear-gradient(135deg, var(--color-bg-card), #080410);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  position: relative;
  overflow: hidden;
}

.fit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
}

.fit-card--yes {
  border-color: rgba(80,180,80,.2);
}

.fit-card--yes::before {
  background: linear-gradient(90deg, transparent, rgba(80,180,80,.6), transparent);
}

.fit-card--no {
  border-color: rgba(180,80,80,.2);
}

.fit-card--no::before {
  background: linear-gradient(90deg, transparent, rgba(180,80,80,.6), transparent);
}

.fit-card__heading {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-text-heading);
  margin-bottom: var(--space-md);
}

.fit-card--yes .fit-card__heading {
  color: rgba(120,220,120,.9);
}

.fit-card--no .fit-card__heading {
  color: rgba(220,120,120,.9);
}

.fit-card__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.fit-card__list li {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
  padding-left: 1.2em;
  position: relative;
}

.fit-card--yes .fit-card__list li::before {
  content: '+';
  position: absolute;
  left: 0;
  color: rgba(80,180,80,.7);
  font-weight: 700;
}

.fit-card--no .fit-card__list li::before {
  content: '\2013';
  position: absolute;
  left: 0;
  color: rgba(180,80,80,.7);
  font-weight: 700;
}

/* ==========================================================================
   GUARANTEES — блок гарантий под таблицей цен
   ========================================================================== */

.guarantees {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-sm);
  margin-top: var(--space-xl);
  padding: var(--space-lg);
  background: rgba(201,160,48,.03);
  border: 1px solid rgba(201,160,48,.1);
  border-radius: var(--radius-lg);
}

.guarantees__item {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  padding: var(--space-xs) 0;
}

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

/* ==========================================================================
   CASES GRID — сетка кейсов
   ========================================================================== */

.cases-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}

@media (min-width: 1024px) {
  .cases-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ==========================================================================
   SPREAD PHOTO — фото расклада в кейсах
   ========================================================================== */

.spread-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: var(--space-md);
  position: relative;
  background: linear-gradient(135deg, #0a0614 0%, #140a20 50%, #0a0614 100%);
  border: 1px solid rgba(201,160,48,.15);
}

.spread-photo__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  color: rgba(201,160,48,.25);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: var(--tracking-caps);
}

.spread-photo__placeholder::before {
  content: '\2726 \2726 \2726';
  font-size: 1.5rem;
  letter-spacing: 0.5em;
}

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

/* ==========================================================================
   ABOUT MASTER — блок о мастере
   ========================================================================== */

.about-master {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.about-master__photo {
  width: 260px;
  height: 260px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto;
  border: 3px solid rgba(201,160,48,.3);
  box-shadow: 0 0 40px rgba(201,160,48,.12);
  background: linear-gradient(135deg, #0c0614, #140a20);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
}

.about-master__photo::before {
  content: '\2721';
  font-size: 3rem;
  color: rgba(201,160,48,.15);
}

.about-master__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
}

.about-master__text {
  text-align: center;
}

.about-master__name {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 600;
  color: var(--color-text-heading);
  margin-bottom: var(--space-sm);
}

.about-master__bio {
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
  max-width: 600px;
  margin: 0 auto;
}

.about-master__details {
  margin-top: var(--space-lg);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
}

.about-master__detail {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  padding: var(--space-xs) var(--space-md);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
}

@media (min-width: 768px) {
  .about-master {
    grid-template-columns: auto 1fr;
  }
  .about-master__text {
    text-align: left;
  }
  .about-master__details {
    justify-content: flex-start;
  }
  .about-master__bio {
    margin: 0;
  }
}
