/* Anticva — авторский акцентный шрифт для заголовков (self-hosted, кириллица) */
@font-face {
  font-family: 'Anticva';
  src: url('fonts/Anticva-Regular.woff2') format('woff2'),
       url('fonts/Anticva-Regular.otf') format('opentype');
  font-weight: 300 600;
  font-style: normal;
  font-display: swap;
}
/* ===================== RESET & BASE ===================== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --gold: #C4472B;
  --gold-light: #E2895F;
  --gold-dark: #7A1F0F;
  --gold-glow: rgba(196,71,43, 0.25);
  --bg: #FBF8F2;
  --bg2: #F3EBDD;
  --bg3: #EAE0CC;
  --text: #241A12;
  --text-dim: #4A3826;
  --text-muted: #8A7358;
  --terracotta: #8A1900;
  --terracotta-light: #A8330F;
  --terracotta-glow: rgba(138,25,0,0.25);
  --clay: #B8763A;
  --olive: #6E6B45;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
  overflow-wrap: break-word;
  cursor: none;
}

/* ===================== CUSTOM CURSOR ===================== */
.cursor {
  width: 8px; height: 8px;
  background: var(--gold);
  border-radius: 50%;
  position: fixed;
  left: -200px; top: -200px;
  pointer-events: none;
  z-index: 99999;
  transition: transform 0.1s ease;
  mix-blend-mode: screen;
}
.cursor-ring {
  width: 36px; height: 36px;
  border: 1px solid rgba(196,71,43,0.5);
  border-radius: 50%;
  position: fixed;
  left: -200px; top: -200px;
  pointer-events: none;
  z-index: 99998;
  transition: all 0.15s ease;
}
.cursor-ring.hover { transform: scale(1.8); border-color: var(--gold); }

@media (hover: none), (pointer: coarse) {
  .cursor, .cursor-ring { display: none !important; }
}

/* ===================== CANVAS BG ===================== */
#starCanvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* Переливающийся фон по всему сайту */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(
    135deg,
    #FBF8F2 0%,
    #F6EFE2 20%,
    #F0E6D2 35%,
    #EDE0C8 50%,
    #F3EADC 65%,
    #F9F4E8 80%,
    #FBF8F2 100%
  );
  background-size: 400% 400%;
  animation: shimmer 14s ease-in-out infinite;
}
@keyframes shimmer {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Hero video */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 1;
  z-index: 0;
  pointer-events: none;
}
/* Лёгкое затемнение снизу видео - только для читаемости кнопки/скролла, без цветной подложки */
.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0) 0%,
    rgba(0,0,0,0) 55%,
    rgba(0,0,0,0.35) 100%
  );
  z-index: 1;
  pointer-events: none;
}

/* ===================== NAV ===================== */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 20px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.4s ease;
  /* Непрозрачное меню по умолчанию — единственное состояние, которое остаётся читаемым
     на любой странице сайта, не только поверх тёмного hero-видео на главной. */
  background: rgba(251,248,242,0.96);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(196,71,43,0.14);
  box-shadow: 0 2px 20px rgba(196,71,43,0.06);
}
nav.scrolled {
  padding: 14px 60px;
  border-bottom: 1px solid rgba(196,71,43,0.2);
  box-shadow: 0 2px 24px rgba(196,71,43,0.1);
}
.nav-logo {
  font-family: 'Anticva', serif;
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 0.15em;
  color: var(--gold);
  text-decoration: none;
}
.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
}
.nav-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.3s ease;
}
.nav-links a:hover { color: var(--gold); }

/* Прозрачное меню поверх тёмного hero-видео — только на главной, до первого скролла */
nav.nav-transparent {
  background: transparent;
  backdrop-filter: none;
  border-bottom-color: transparent;
  box-shadow: none;
  padding: 28px 60px;
}
nav.nav-transparent .nav-links a { color: rgba(255,255,255,0.82); }
nav.nav-transparent .nav-links a:hover { color: #E2895F; }
nav.nav-transparent .nav-cta { border-color: rgba(255,255,255,0.55); color: rgba(255,255,255,0.85); }
nav.nav-transparent .nav-cta:hover { background: rgba(255,255,255,0.15); color: #fff; }
nav.nav-transparent .hamburger span { background: rgba(255,255,255,0.85); }
nav.nav-transparent .nav-logo { color: #fff; }
.nav-cta {
  background: transparent;
  border: 1.5px solid var(--gold);
  color: var(--gold);
  padding: 10px 24px;
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: none;
  transition: all 0.3s ease;
  text-decoration: none;
  border-radius: 25px;
}
.nav-cta:hover { background: var(--gold); color: #fff; }

/* ===================== SECTIONS BASE ===================== */
section { position: relative; z-index: 1; }

/* ===================== HERO ===================== */
#hero {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 20px;
  overflow: hidden;
  /* Тёмный фон всегда - пока видео грузится, текст виден */
  background: linear-gradient(135deg, #8A1900 0%, #A8330F 60%, #6E1808 100%);
}

.hero-sacred {
  position: absolute;
  width: 600px; height: 600px;
  opacity: 0.06;
  animation: rotateSlow 60s linear infinite;
}

@keyframes rotateSlow { to { transform: rotate(360deg); } }

.hero-tagline {
  font-size: 11px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: #E2895F;
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeUp 1s ease 0.3s forwards;
  position: relative; z-index: 2;
  text-shadow: 0 1px 8px rgba(0,0,0,0.5);
}

.hero-title {
  font-family: 'Anticva', serif;
  font-size: clamp(38px, 6vw, 76px);
  font-weight: 300;
  line-height: 0.9;
  letter-spacing: 0.05em;
  color: #FFFFFF;
  margin-bottom: 8px;
  opacity: 0;
  animation: fadeUp 1s ease 0.5s forwards;
  position: relative; z-index: 2;
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}

.hero-title em {
  font-style: italic;
  color: #E2895F;
  display: block;
}

@media (max-width: 640px) {
  .hero-title { line-height: 1.25; }
  .hero-title em { margin-bottom: 6px; }
}

.hero-subtitle {
  font-size: clamp(12px, 1.5vw, 15px);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  margin-top: 24px;
  margin-bottom: 60px;
  opacity: 0;
  animation: fadeUp 1s ease 0.7s forwards;
  position: relative; z-index: 2;
}

.hero-btn {
  display: inline-block;
  padding: 18px 52px;
  border: 1.5px solid #E2895F;
  color: #FFFFFF;
  text-decoration: none;
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  transition: color 0.4s ease, background 0.4s ease;
  opacity: 0;
  animation: fadeUp 1s ease 0.9s forwards;
  border-radius: 25px;
  z-index: 2;
}
.hero-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: translateX(-101%);
  transition: transform 0.4s ease;
  z-index: -1;
}
.hero-btn:hover::before { transform: translateX(0); }
.hero-btn:hover { color: var(--bg); }

.hero-scroll {
  position: absolute;
  bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: fadeUp 1s ease 1.2s forwards;
}
.hero-scroll span {
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  text-shadow: 0 1px 6px rgba(0,0,0,0.4);
}
.scroll-line {
  width: 1px; height: 50px;
  background: linear-gradient(to bottom, rgba(232,178,155,0.85), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Gold particles */
.gold-particle {
  position: absolute;
  width: 2px; height: 2px;
  background: var(--gold);
  border-radius: 50%;
  pointer-events: none;
  animation: particleFloat var(--dur, 8s) ease-in-out infinite;
  opacity: 0;
}
@keyframes particleFloat {
  0% { opacity: 0; transform: translateY(0) translateX(0) scale(0); }
  20% { opacity: var(--op, 0.7); transform: translateY(-20px) translateX(var(--dx, 10px)) scale(1); }
  80% { opacity: var(--op, 0.4); transform: translateY(-80px) translateX(var(--dx2, -10px)) scale(0.8); }
  100% { opacity: 0; transform: translateY(-120px) translateX(var(--dx3, 5px)) scale(0); }
}

/* ===================== DIVIDER ===================== */
.divider {
  display: flex; align-items: center; gap: 20px;
  margin: 0 auto 80px;
  max-width: 400px;
}
.divider-line { flex: 1; height: 1px; background: linear-gradient(to right, transparent, var(--gold-dark), transparent); }
.divider-symbol {
  font-family: 'Anticva', serif;
  font-size: 20px;
  color: var(--gold);
  opacity: 0.6;
}

/* ===================== SECTION HEADING ===================== */
.section-label {
  font-size: 10px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.section-title {
  font-family: 'Anticva', serif;
  font-size: clamp(26px, 3.4vw, 42px);
  font-weight: 300;
  line-height: 1.1;
  color: var(--text);
}
.section-title em { font-style: italic; color: var(--gold); }

/* ===================== ABOUT ===================== */
#about {
  padding: 140px 60px;
  background: var(--bg2);
}
.about-inner {
  max-width: 780px;
  margin: 0 auto;
}
.about-left { position: sticky; top: 120px; }
.about-portrait {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  filter: grayscale(20%) contrast(1.05);
}
.about-portrait-wrap {
  position: relative;
  overflow: hidden;
}
.about-portrait-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(196,71,43,0.1) 0%, transparent 60%);
  pointer-events: none;
}
.about-portrait-frame {
  position: absolute;
  top: -10px; left: -10px; right: -10px; bottom: -10px;
  border: 1px solid rgba(196,71,43,0.2);
  pointer-events: none;
}
.about-portrait-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  background: linear-gradient(135deg, #6E1808 0%, #A8330F 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.about-portrait-placeholder::before {
  content: 'A';
  font-family: 'Anticva', serif;
  font-size: 180px;
  font-weight: 300;
  color: rgba(196,71,43,0.1);
}

/* ===================== ГАЛЕРЕИ (свайп + лайтбокс) ===================== */
.gallery-strip {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 6px 4px 18px;
  scroll-snap-type: x mandatory;
}
.gallery-strip::-webkit-scrollbar { height: 6px; }
.gallery-strip::-webkit-scrollbar-track { background: transparent; }
.gallery-strip::-webkit-scrollbar-thumb { background: rgba(196,71,43,0.3); border-radius: 3px; }
.gallery-item {
  position: relative;
  flex-shrink: 0;
  height: 320px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(196,71,43,0.25);
  box-shadow: 0 12px 30px rgba(196,71,43,0.12);
  background: #EAE0CC;
  cursor: pointer;
  scroll-snap-align: start;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.gallery-item:hover { transform: translateY(-6px); box-shadow: 0 20px 46px rgba(196,71,43,0.2); }
.gallery-item img, .gallery-item video {
  height: 100%;
  width: auto;
  display: block;
  max-width: none;
}
.gallery-item .gi-badge {
  position: absolute;
  bottom: 10px; right: 10px;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: rgba(20,10,5,0.55);
  color: #E2895F;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px;
  backdrop-filter: blur(4px);
  pointer-events: none;
}
@media (max-width: 640px) {
  .gallery-item { height: 230px; }
}

/* Лайтбокс */
.lightbox-overlay {
  position: fixed; inset: 0;
  background: rgba(15,8,4,0.95);
  z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
}
.lightbox-overlay.open { opacity: 1; pointer-events: all; }
.lightbox-media { max-width: 88vw; max-height: 86vh; }
.lightbox-media img, .lightbox-media video {
  max-width: 88vw; max-height: 86vh;
  display: block; margin: 0 auto;
  border-radius: 10px;
}
.lightbox-close, .lightbox-nav {
  position: absolute;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(196,71,43,0.35);
  color: #E2895F;
  cursor: pointer;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s ease;
  font-family: 'Jost', sans-serif;
}
.lightbox-close:hover, .lightbox-nav:hover { background: rgba(196,71,43,0.25); }
.lightbox-close { top: 24px; right: 24px; width: 44px; height: 44px; font-size: 18px; }
.lightbox-nav { top: 50%; transform: translateY(-50%); width: 52px; height: 52px; font-size: 24px; }
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }
@media (max-width: 640px) {
  .lightbox-nav { width: 38px; height: 38px; font-size: 18px; }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
  .lightbox-close { top: 12px; right: 12px; width: 36px; height: 36px; }
}

.about-right {}
.about-text {
  font-size: 16px;
  line-height: 1.9;
  color: var(--text-dim);
  margin-bottom: 28px;
}
.about-text strong {
  color: var(--text);
  font-weight: 400;
}
.about-highlight {
  font-family: 'Anticva', serif;
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 300;
  font-style: italic;
  color: var(--text);
  line-height: 1.4;
  padding: 32px 0;
  border-top: 1px solid rgba(196,71,43,0.2);
  border-bottom: 1px solid rgba(196,71,43,0.2);
  margin: 40px 0;
}
.about-highlight em { color: var(--gold); }
.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  margin-top: 48px;
}
.stat-item { text-align: center; padding: 24px; border: 1px solid rgba(196,71,43,0.1); }
.stat-number {
  font-family: 'Anticva', serif;
  font-size: 48px;
  font-weight: 300;
  color: var(--gold);
  display: block;
  line-height: 1;
}
.stat-label {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 8px;
  display: block;
}

/* ===================== YANTRAS ===================== */
#yantras {
  padding: 140px 60px;
  background: transparent;
}
.yantras-inner { max-width: 1300px; margin: 0 auto; }
.yantras-head { text-align: center; margin-bottom: 64px; }
.yantras-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 0;
}
.yantra-card {
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(196,71,43,0.18);
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  backdrop-filter: blur(6px);
}
.yantra-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(196,71,43,0.15);
  border-color: rgba(196,71,43,0.35);
}
.yantra-card-inner {
  width: 100%;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #FBF8F2, #EDE0C8);
}
.yantra-card-inner img {
  width: 100%;
  max-height: 340px;
  object-fit: contain;
  display: block;
  transition: transform 0.5s ease;
}
.yantra-card:hover .yantra-card-inner img { transform: scale(1.03); }

.yantra-svg-wrap {
  width: 65%;
  opacity: 0.8;
  transition: all 0.5s ease;
  position: relative; z-index: 1;
}
.yantra-card:hover .yantra-svg-wrap { opacity: 1; filter: drop-shadow(0 0 20px rgba(196,71,43,0.4)); }

/* Тело карточки янтры */
.yantra-card-body {
  padding: 18px 20px 20px;
}
.yantra-name {
  font-family: 'Anticva', serif;
  font-size: 20px;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 4px;
  line-height: 1.2;
}
.yantra-subtitle {
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.yantra-price {
  font-family: 'Anticva', serif;
  font-size: 20px;
  font-weight: 300;
  color: var(--text);
  margin-bottom: 14px;
}
/* Убираем старый overlay - теперь не нужен */
.yantra-overlay { display: none; }
.btn-buy {
  display: inline-block;
  padding: 12px 28px;
  background: var(--gold);
  color: #fff;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  font-family: 'Jost', sans-serif;
  transition: background 0.3s ease;
  cursor: none;
  width: fit-content;
  border-radius: 25px;
}
.btn-buy:hover { background: var(--gold-dark); }

/* ===================== QUIZ ===================== */
#quiz {
  padding: 140px 60px;
  background: linear-gradient(150deg, #8A1900 0%, #A8330F 55%, #8A1900 100%);
  position: relative; z-index: 2;
  overflow: hidden;
}
.quiz-stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.quiz-star {
  position: absolute;
  background: #E2895F;
  border-radius: 50%;
  animation: quizTwinkle var(--tdur, 3.5s) ease-in-out infinite;
  box-shadow: 0 0 6px 1px rgba(226,137,95,0.6);
}
@keyframes quizTwinkle {
  0%, 100% { opacity: 0.15; transform: scale(0.6); }
  50% { opacity: 1; transform: scale(1.15); }
}
.quiz-glow {
  position: absolute;
  top: 50%; left: 50%;
  width: 640px; height: 640px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(226,137,95,0.22) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  animation: quizGlowPulse 6s ease-in-out infinite;
}
@keyframes quizGlowPulse {
  0%, 100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.12); }
}
.quiz-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}
.quiz-container {
  margin-top: 60px;
  min-height: 300px;
  position: relative;
}
.quiz-step {
  display: none;
  animation: fadeUp 0.5s ease forwards;
}
.quiz-step.active { display: block; }

.quiz-question {
  font-family: 'Anticva', serif;
  font-size: clamp(20px, 2.6vw, 32px);
  font-weight: 300;
  color: #FFF5E0;
  margin-bottom: 48px;
  line-height: 1.3;
}
.quiz-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 40px;
}
.quiz-options.five .quiz-option:last-child { grid-column: 1 / -1; }
.quiz-options.single { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; }
.quiz-options.single .quiz-option { text-align: center; }
@media (max-width: 640px) {
  .quiz-options.five .quiz-option:last-child { grid-column: auto; }
}
.quiz-option {
  padding: 20px 24px;
  border: 1px solid rgba(226,137,95,0.35);
  background: rgba(255,255,255,0.06);
  color: rgba(255,245,224,0.8);
  font-family: 'Jost', sans-serif;
  font-size: 14px;
  font-weight: 300;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: left;
  line-height: 1.5;
  border-radius: 12px;
}
.quiz-option:hover { border-color: #E2895F; color: #FFF5E0; background: rgba(255,245,224,0.12); }
.quiz-option.selected { border-color: #E2895F; background: rgba(255,245,224,0.15); color: #FFF5E0; }

.quiz-progress {
  display: flex; gap: 8px; justify-content: center; margin-bottom: 48px;
}
.quiz-dot {
  width: 40px; height: 2px;
  background: rgba(226,137,95,0.25);
  transition: background 0.3s ease;
  border-radius: 2px;
}
.quiz-dot.active { background: #E2895F; }

.quiz-result {
  text-align: center;
  display: none;
  animation: fadeUp 0.5s ease forwards;
}
.quiz-result.show { display: block; }
.result-yantra-name {
  font-family: 'Anticva', serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 300;
  color: #E2895F;
  margin: 24px 0 16px;
}
.result-description {
  font-size: 16px;
  line-height: 1.8;
  color: rgba(255,245,224,0.75);
  max-width: 500px;
  margin: 0 auto 40px;
}
.result-cta-group { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ===================== TESTIMONIALS ===================== */
#testimonials {
  padding: 140px 60px;
  background: var(--bg);
}
.testimonials-inner { max-width: 1200px; margin: 0 auto; }
.testimonials-head { text-align: center; margin-bottom: 80px; }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  padding: 40px;
  border: 1px solid rgba(196,71,43,0.1);
  background: var(--bg2);
  position: relative;
  transition: border-color 0.3s ease;
}
.testimonial-card:hover { border-color: rgba(196,71,43,0.3); }
.testimonial-quote {
  font-family: 'Anticva', serif;
  font-size: 60px;
  line-height: 0.5;
  color: var(--gold);
  opacity: 0.3;
  margin-bottom: 20px;
}
.testimonial-text {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-dim);
  margin-bottom: 32px;
  font-style: italic;
}
.testimonial-author {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
}
.testimonial-from {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ===================== SHOP ===================== */
#shop {
  padding: 140px 60px;
  background: var(--bg2);
}
.shop-inner { max-width: 1200px; margin: 0 auto; }
.shop-head { text-align: center; margin-bottom: 80px; }
.shop-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.shop-card {
  border: 1px solid rgba(196,71,43,0.15);
  background: var(--bg);
  padding: 40px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
}
.shop-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.shop-card:hover { border-color: rgba(196,71,43,0.4); transform: translateY(-4px); }
.shop-card:hover::before { opacity: 1; }
.shop-card.featured {
  border-color: rgba(196,71,43,0.4);
  background: linear-gradient(135deg, rgba(196,71,43,0.05) 0%, var(--bg) 100%);
}
.shop-badge {
  display: inline-block;
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--gold);
  padding: 4px 14px;
  margin-bottom: 24px;
}
.shop-icon {
  width: 80px; height: 80px;
  margin: 0 auto 24px;
  opacity: 0.7;
}
.shop-name {
  font-family: 'Anticva', serif;
  font-size: 28px;
  font-weight: 300;
  color: var(--text);
  margin-bottom: 12px;
}
.shop-description {
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.shop-price {
  font-family: 'Anticva', serif;
  font-size: 36px;
  color: var(--gold);
  margin-bottom: 8px;
}
.shop-price-note {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 32px;
}
.btn-primary {
  display: block;
  width: 100%;
  padding: 16px;
  background: var(--gold);
  color: #fff;
  font-family: 'Jost', sans-serif;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: none;
  cursor: none;
  transition: all 0.3s ease;
  text-decoration: none;
  border-radius: 25px;
}
.btn-primary:hover { background: var(--gold-dark); }
.btn-secondary {
  display: block;
  width: 100%;
  padding: 16px;
  background: transparent;
  color: var(--gold);
  font-family: 'Jost', sans-serif;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: 1.5px solid var(--gold);
  cursor: none;
  transition: all 0.3s ease;
  text-decoration: none;
  border-radius: 25px;
}
.btn-secondary:hover { background: rgba(196,71,43,0.08); }


/* ===================== FOOTER ===================== */
footer {
  padding: 60px;
  background: linear-gradient(150deg, #8A1900 0%, #4A1D12 100%);
  border-top: 1px solid rgba(196,71,43,0.15);
  position: relative; z-index: 2;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-logo {
  font-family: 'Anticva', serif;
  font-size: 28px;
  font-weight: 300;
  color: #E2895F;
  letter-spacing: 0.1em;
}
.footer-logo span { display: block; font-size: 10px; letter-spacing: 0.3em; color: rgba(255,255,255,0.6); text-transform: uppercase; margin-top: 4px; }
.footer-links { display: flex; gap: 32px; }
.footer-links a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.3s ease;
}
.footer-links a:hover { color: #E2895F; }
.footer-social { display: flex; align-items: center; gap: 14px; }
.footer-social-label {
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-right: 2px;
}
.social-link {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(196,71,43,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-size: 12px;
  transition: all 0.3s ease;
}
.social-link svg { width: 18px; height: 18px; display: block; }
.social-link:hover { border-color: #E2895F; color: #E2895F; transform: translateY(-2px); }
.footer-bottom {
  max-width: 1200px;
  margin: 40px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
  text-align: center;
  font-size: 11px;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.05em;
}

/* ===================== SCROLL ANIMATIONS ===================== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }

/* ===================== PAINTINGS SECTION ===================== */
#paintings {
  padding: 140px 60px;
  background: transparent;
}
.paintings-inner { max-width: 1300px; margin: 0 auto; }
.paintings-head { text-align: center; margin-bottom: 64px; }

.paintings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.painting-card {
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(196,71,43,0.18);
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  backdrop-filter: blur(6px);
}
.painting-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(196,71,43,0.15);
  border-color: rgba(196,71,43,0.35);
}
.painting-card-img {
  width: 100%;
  max-height: 340px;
  object-fit: contain;
  display: block;
  transition: transform 0.5s ease;
}
.painting-card:hover .painting-card-img { transform: scale(1.03); }
.painting-card-img-wrap {
  overflow: hidden;
  background: #F3EBDD;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
}

.painting-card-body {
  padding: 20px 22px 22px;
}
.painting-title {
  font-family: 'Anticva', serif;
  font-size: 22px;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 5px;
  line-height: 1.2;
}
.painting-energy {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.painting-price {
  font-family: 'Anticva', serif;
  font-size: 22px;
  font-weight: 300;
  color: var(--text);
  margin-bottom: 14px;
}
.painting-btn {
  display: inline-block;
  padding: 9px 22px;
  background: var(--gold);
  color: #fff;
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.3s ease;
  border-radius: 25px;
  border: none;
  cursor: pointer;
  font-family: 'Jost', sans-serif;
}
.painting-btn:hover { background: var(--gold-dark); }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1200px) {
  .paintings-masonry { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1024px) {
  nav { padding: 20px 30px; }
  nav.scrolled { padding: 14px 30px; }
  #about { padding: 100px 30px; }
  .about-inner { grid-template-columns: 1fr; gap: 60px; }
  .about-left { position: static; }
  .about-portrait-placeholder { aspect-ratio: 4/3; }
  #yantras, #paintings, #quiz, #testimonials, #shop, #subscribe { padding: 100px 30px; }
  footer { padding: 40px 30px; }
  .footer-inner { flex-direction: column; gap: 32px; text-align: center; }
  .yantras-grid, .testimonials-grid, .shop-grid, .paintings-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .yantras-grid { grid-template-columns: 1fr; }
  .testimonials-grid, .shop-grid { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: 1fr; }
  .quiz-options { grid-template-columns: 1fr; }
  .result-cta-group { flex-direction: column; align-items: center; }
  .paintings-grid { grid-template-columns: 1fr; }
  .yantras-grid { grid-template-columns: 1fr; }
}

/* ===================== GUIDE INFO TOOLTIP ===================== */
.guide-info-wrap {
  display: inline-flex; align-items: center; gap: 8px;
  position: relative; cursor: pointer;
}
.guide-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(196,71,43,0.12); border: 1px solid rgba(196,71,43,0.3);
  padding: 5px 12px; border-radius: 25px; font-size: 11px; color: var(--gold);
  font-family: 'Jost', sans-serif; letter-spacing: 0.05em;
}
.guide-badge svg { flex-shrink: 0; }
.guide-tooltip {
  position: absolute; bottom: calc(100% + 10px); left: 50%;
  transform: translateX(-50%);
  background: #8A1900; border: 1px solid rgba(196,71,43,0.3);
  border-radius: 12px; padding: 16px 18px; width: 280px;
  font-size: 12px; line-height: 1.7; color: rgba(255,255,255,0.8);
  pointer-events: none; opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
  transform: translateX(-50%) translateY(6px);
  z-index: 100; text-align: left;
}
.guide-tooltip strong { color: #E2895F; display: block; margin-bottom: 6px; font-size: 12px; }
.guide-tooltip li { margin-left: 14px; margin-bottom: 3px; }
.guide-info-wrap:hover .guide-tooltip,
.guide-info-wrap:focus-within .guide-tooltip {
  opacity: 1; transform: translateX(-50%) translateY(0);
}
.guide-tooltip::after {
  content: ''; position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent; border-top-color: rgba(196,71,43,0.3);
}

/* ===================== YANTRA MODAL ===================== */
.ym-overlay {
  position: fixed; inset: 0;
  background: rgba(138,25,0,0.88);
  backdrop-filter: blur(10px);
  z-index: 9100;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.4s ease;
}
.ym-overlay.open { opacity: 1; pointer-events: all; }
.ym-box {
  background: var(--bg);
  border: 1px solid rgba(196,71,43,0.3);
  max-width: 760px; width: 100%;
  max-height: 92vh; overflow-y: auto;
  position: relative;
  transform: translateY(30px);
  transition: transform 0.4s ease;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.ym-overlay.open .ym-box { transform: translateY(0); }
.ym-img-col { position: relative; min-height: 360px; background: #EAE0CC; }
.ym-img { width: 100%; height: 100%; object-fit: contain; display: block; cursor: zoom-in; }
.ym-img-col .modal-gallery-strip {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: rgba(20,10,5,0.55);
  backdrop-filter: blur(4px);
  border-bottom: none;
}
.ym-img-col .modal-gallery-thumb { border-color: rgba(255,255,255,0.2); }
.ym-img-ph {
  width: 100%; height: 100%; min-height: 360px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg,#F0E6D2,#EDE0C8);
}
.ym-content { padding: 36px 32px 36px; display: flex; flex-direction: column; }
.ym-label { font-size: 9px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.ym-title { font-family: 'Anticva', serif; font-size: 28px; font-weight: 300; color: var(--text); margin-bottom: 12px; line-height: 1.15; }
.ym-desc { font-size: 13px; line-height: 1.85; color: var(--text-dim); margin-bottom: 24px; flex: 1; }
.ym-formats { display: flex; gap: 6px; margin-bottom: 20px; flex-wrap: wrap; }
.ym-tab {
  padding: 8px 16px; border: 1px solid rgba(196,71,43,0.3);
  background: transparent; color: var(--text-dim);
  font-family: 'Jost', sans-serif; font-size: 10px;
  letter-spacing: 0.12em; text-transform: uppercase;
  cursor: pointer; transition: all 0.25s ease; border-radius: 25px;
}
.ym-tab.active, .ym-tab:hover { border-color: var(--gold); color: var(--text); background: rgba(196,71,43,0.08); }
.ym-format-content { display: none; }
.ym-format-content.visible { display: block; }
.ym-format-desc { font-size: 12px; color: var(--text-muted); line-height: 1.7; margin-bottom: 16px; }
.ym-sizes { display: grid; grid-template-columns: repeat(4,1fr); gap: 6px; margin-bottom: 16px; }
.ym-size-btn {
  padding: 8px 4px; border: 1px solid rgba(196,71,43,0.2);
  background: transparent; color: var(--text-dim);
  font-family: 'Jost', sans-serif; font-size: 10px;
  cursor: pointer; transition: all 0.25s; text-align: center;
  border-radius: 8px;
}
.ym-size-btn.active, .ym-size-btn:hover { border-color: var(--gold); color: var(--text); background: rgba(196,71,43,0.08); }
.ym-size-label { font-size: 11px; font-weight: 500; display: block; }
.ym-size-dim { font-size: 9px; opacity: 0.7; display: block; margin-top: 2px; }
.ym-price { font-family: 'Anticva', serif; font-size: 36px; font-weight: 300; color: var(--gold); margin-bottom: 16px; }
.ym-buy {
  display: block; width: 100%; padding: 14px;
  background: var(--gold); color: #fff;
  font-family: 'Jost', sans-serif; font-size: 10px;
  letter-spacing: 0.2em; text-transform: uppercase;
  text-decoration: none; border-radius: 25px;
  transition: background 0.3s; text-align: center; border: none; cursor: pointer;
}
.ym-buy:hover { background: var(--gold-dark); }
.ym-close {
  position: absolute; top: 12px; right: 12px;
  width: 32px; height: 32px; border: 1px solid rgba(196,71,43,0.3);
  background: rgba(251,248,242,0.9); color: var(--text-muted);
  font-size: 16px; cursor: pointer; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s; z-index: 2;
}
.ym-close:hover { border-color: var(--gold); color: var(--gold); }
@media (max-width: 640px) {
  .ym-box { grid-template-columns: 1fr; }
  .ym-img-col { min-height: 240px; max-height: 260px; }
  .ym-sizes { grid-template-columns: repeat(2,1fr); }
}

/* ===================== MODAL POPUP ===================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(138,25,0,0.85);
  backdrop-filter: blur(8px);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.modal-box {
  background: var(--bg);
  border: 1px solid rgba(196,71,43,0.3);
  max-width: 680px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(30px);
  transition: transform 0.4s ease;
}
.modal-overlay.open .modal-box {
  transform: translateY(0);
}
.modal-img {
  width: 100%;
  max-height: 520px;
  object-fit: contain;
  background: #EAE0CC;
  display: block;
  cursor: zoom-in;
}
.modal-gallery-strip {
  display: none;
  gap: 8px;
  padding: 10px 16px;
  overflow-x: auto;
  background: var(--bg2);
  border-bottom: 1px solid rgba(196,71,43,0.15);
}
.modal-gallery-thumb {
  width: 56px; height: 56px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
  cursor: pointer;
  opacity: 0.55;
  border: 1.5px solid transparent;
  transition: opacity 0.2s ease, border-color 0.2s ease;
}
.modal-gallery-thumb:hover { opacity: 0.85; }
.modal-gallery-thumb.active { opacity: 1; border-color: var(--gold); }
.modal-body {
  padding: 36px 40px 40px;
}
.modal-label {
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.modal-title {
  font-family: 'Anticva', serif;
  font-size: 36px;
  font-weight: 300;
  color: var(--text);
  margin-bottom: 6px;
  line-height: 1.1;
}
.modal-size {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.modal-text {
  font-size: 14px;
  line-height: 1.9;
  color: var(--text-dim);
  white-space: pre-line;
}
.modal-price {
  font-family: 'Anticva', serif;
  font-size: 40px;
  font-weight: 300;
  color: var(--gold);
  margin: 28px 0 8px;
}
.modal-cta {
  display: inline-block;
  padding: 14px 40px;
  background: var(--gold);
  color: #fff;
  font-family: 'Jost', sans-serif;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 25px;
  transition: background 0.3s ease;
}
.modal-cta:hover { background: var(--gold-dark); }
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(196,71,43,0.3);
  background: transparent;
  color: var(--text-muted);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}
.modal-close:hover { border-color: var(--gold); color: var(--gold); }

/* ===================== GOLDEN GLOW LINES ===================== */
.glow-line {
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent 0%, var(--gold) 20%, var(--gold-light) 50%, var(--gold) 80%, transparent 100%);
  opacity: 0.15;
  pointer-events: none;
}

/* ===================== MOBILE MENU ===================== */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: none;
  padding: 8px;
  background: none;
  border: none;
  z-index: 1100;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--gold);
  transition: all 0.35s ease;
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile menu overlay */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(138,25,0,0.75);
  backdrop-filter: blur(8px);
  z-index: 900;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.mobile-menu-overlay.open { opacity: 1; }

/* Mobile nav drawer */
.nav-links .nav-mobile-cta { display: none; }

@media (max-width: 640px) {
  .hamburger { display: flex; }
  .nav-cta { display: none; }
  .nav-links .nav-mobile-cta { display: block; }

  .nav-links {
    position: fixed !important;
    top: 0; right: -100%;
    width: 75vw; max-width: 280px;
    height: 100vh;
    background: rgba(138,25,0,0.98);
    border-left: 1px solid rgba(196,71,43,0.2);
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    padding: 80px 40px;
    gap: 36px;
    z-index: 1050;
    transition: right 0.4s cubic-bezier(0.4,0,0.2,1);
    box-shadow: -8px 0 40px rgba(0,0,0,0.4);
  }
  .nav-links.open { right: 0; }
  .nav-links a {
    font-size: 18px !important;
    letter-spacing: 0.1em !important;
    color: rgba(255,255,255,0.85) !important;
    text-transform: none !important;
    font-family: 'Anticva', serif;
    font-weight: 300;
    padding: 4px 0;
    border-bottom: 1px solid rgba(196,71,43,0.1);
  }
  .nav-links a:hover { color: #E2895F !important; }
}

/* ===================== ЧТО ТАКОЕ ЯНТРА ===================== */
#what-is-yantra { padding: 140px 60px; background: transparent; }
.wiy-video-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.wiy-video-tile { position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden; border: 1px solid rgba(196,71,43,0.25); cursor: pointer; background: #EAE0CC; transition: transform 0.3s ease; }
.wiy-video-tile:hover { transform: scale(1.03); }
.wiy-video-tile video, .wiy-video-tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wiy-video-more { position: absolute; inset: 0; background: rgba(20,10,5,0.55); color: #E2895F; display: flex; align-items: center; justify-content: center; font-family: 'Anticva', serif; font-size: 22px; }

/* ===================== КАК РАБОТАЮТ КАРТИНЫ ===================== */
#how-paintings-work { padding: 140px 60px; background: transparent; }
.hpw-inner { max-width: 1100px; margin: 0 auto; }
.hpw-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; margin-top: 64px; }
.hpw-story { padding: 44px; background: rgba(138,25,0,0.94); border: 1px solid rgba(196,71,43,0.25); border-radius: 20px; }
.hpw-story-label { font-size: 9px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 20px; display: block; }
.hpw-story-text { font-size: 14px; line-height: 2; color: rgba(255,255,255,0.78); margin-bottom: 18px; }
.hpw-story-text:last-child { margin-bottom: 0; }
.hpw-story em { font-style: italic; color: #E2895F; }
.hpw-point { display: flex; gap: 16px; padding: 24px 0; border-bottom: 1px solid rgba(196,71,43,0.12); }
.hpw-point:last-child { border-bottom: none; }
.hpw-point-icon { width: 44px; height: 44px; flex-shrink: 0; border-radius: 50%; background: rgba(196,71,43,0.1); border: 1px solid rgba(196,71,43,0.25); display: flex; align-items: center; justify-content: center; font-size: 20px; }
.hpw-point-title { font-family: 'Anticva', serif; font-size: 20px; color: var(--text); margin-bottom: 6px; }
.hpw-point-text { font-size: 13px; line-height: 1.8; color: var(--text-dim); }

/* ===================== FAQ ===================== */
#faq { padding: 100px 60px; background: var(--bg2); }
.faq-inner { max-width: 760px; margin: 0 auto; }
.faq-head { text-align: center; margin-bottom: 56px; }
.faq-item { border-bottom: 1px solid rgba(196,71,43,0.2); }
.faq-question {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; padding: 24px 4px; cursor: pointer;
  font-family: 'Anticva', serif; font-size: 18px; font-weight: 400;
  color: var(--text); user-select: none;
}
.faq-icon { flex-shrink: 0; width: 22px; height: 22px; position: relative; }
.faq-icon::before, .faq-icon::after {
  content: ''; position: absolute; background: var(--gold);
  top: 50%; left: 50%; transform: translate(-50%, -50%);
}
.faq-icon::before { width: 14px; height: 1.5px; }
.faq-icon::after { width: 1.5px; height: 14px; transition: transform 0.3s ease; }
.faq-item.open .faq-icon::after { transform: translate(-50%, -50%) rotate(90deg) scaleY(0); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-answer-inner { padding: 0 4px 24px; font-size: 14px; line-height: 1.85; color: var(--text-dim); }
@media (max-width: 640px) {
  #faq { padding: 80px 24px; }
  .faq-question { font-size: 16px; }
}


/* ===================== КЕЙСЫ ===================== */
#cases { padding: 140px 60px; background: transparent; }
.cases-inner { max-width: 1200px; margin: 0 auto; }
.cases-head { text-align: center; margin-bottom: 80px; }
.cases-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.case-card { background: rgba(255,255,255,0.7); border: 1px solid rgba(196,71,43,0.18); border-radius: 20px; padding: 40px; backdrop-filter: blur(6px); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.case-card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(196,71,43,0.12); }
.case-card.featured { grid-column: 1 / -1; background: rgba(138,25,0,0.94); border-color: rgba(196,71,43,0.25); }
.case-tag { display: inline-block; padding: 4px 14px; border-radius: 25px; font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 20px; background: rgba(196,71,43,0.1); border: 1px solid rgba(196,71,43,0.28); color: var(--gold); }
.case-card.featured .case-tag { background: rgba(196,71,43,0.12); color: var(--gold-light); border-color: rgba(196,71,43,0.3); }
.case-title { font-family: 'Anticva', serif; font-size: 22px; font-weight: 400; color: var(--text); margin-bottom: 16px; line-height: 1.25; }
.case-card.featured .case-title { color: #FFF5E0; }
.case-text { font-size: 14px; line-height: 1.95; color: var(--text-dim); }
.case-card.featured .case-text { color: rgba(255,255,255,0.72); }
.case-result { margin-top: 28px; padding-top: 24px; border-top: 1px solid rgba(196,71,43,0.15); font-size: 13px; line-height: 1.7; color: var(--text-muted); font-style: italic; }
.case-card.featured .case-result { border-top-color: rgba(196,71,43,0.2); color: var(--gold-light); font-style: normal; }
.case-result-label { display: block; font-weight: 600; letter-spacing: 0.12em; margin-bottom: 8px; color: var(--gold); font-style: normal; font-size: 12px; }
.case-card.featured .case-result-label { color: #E2895F; }

/* ===================== LEGAL MODALS ===================== */
.legal-modal-overlay { position: fixed; inset: 0; background: rgba(138,25,0,0.92); backdrop-filter: blur(10px); z-index: 9500; display: flex; align-items: center; justify-content: center; padding: 20px; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; }
.legal-modal-overlay.open { opacity: 1; pointer-events: all; }
.legal-modal-box { background: var(--bg); border: 1px solid rgba(196,71,43,0.3); border-radius: 20px; max-width: 720px; width: 100%; max-height: 85vh; overflow-y: auto; padding: 48px; position: relative; }
.legal-modal-close { position: absolute; top: 18px; right: 18px; background: transparent; border: 1px solid rgba(196,71,43,0.2); color: var(--text-muted); width: 36px; height: 36px; border-radius: 50%; font-size: 16px; cursor: pointer; transition: all 0.2s; display:flex;align-items:center;justify-content:center; font-family:'Jost',sans-serif; }
.legal-modal-close:hover { background: rgba(196,71,43,0.1); color: var(--gold); }
.legal-modal-title { font-family: 'Anticva', serif; font-size: 30px; font-weight: 300; color: var(--text); margin-bottom: 6px; }
.legal-modal-date { font-size: 11px; color: var(--text-muted); letter-spacing: 0.08em; margin-bottom: 28px; padding-bottom: 22px; border-bottom: 1px solid rgba(196,71,43,0.15); display:block; }
.legal-modal-body h3 { font-family: 'Anticva', serif; font-size: 18px; color: var(--text); margin: 24px 0 8px; font-weight: 500; }
.legal-modal-body p { font-size: 13px; line-height: 1.85; color: var(--text-dim); margin-bottom: 12px; }
.footer-legal { display:flex; gap:20px; flex-wrap:wrap; justify-content:center; margin-top:12px; }
.footer-legal a { color: rgba(255,255,255,0.55); text-decoration:none; font-size:10px; letter-spacing:0.08em; transition:color 0.3s; cursor:pointer; }
.footer-legal a:hover { color: #E2895F; }

@media (max-width: 1024px) {
  #what-is-yantra, #how-paintings-work, #paintings, #cases { padding: 100px 30px; }
  .hpw-grid { grid-template-columns: 1fr; gap: 48px; }
  .cases-grid { grid-template-columns: 1fr; }
  .case-card.featured { grid-column: 1; }
}
@media (max-width: 640px) {
  .legal-modal-box { padding: 28px 20px; }
  .footer-legal { gap: 12px; }
}

/* ===== URGENCY BADGE ===== */
.painting-badge {
  position: absolute;
  top: 14px; left: 14px;
  background: rgba(138,25,0,0.82);
  border: 1px solid rgba(196,71,43,0.45);
  color: #FFF5E0;
  font-family: 'Jost', sans-serif;
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 20px;
  backdrop-filter: blur(6px);
  pointer-events: none;
  z-index: 2;
}
.painting-card-img-wrap { position: relative; }


/* ===== YANTRA SOCIAL PROOF ===== */
.yantra-proof {
  font-size: 11px;
  color: rgba(196,71,43,0.75);
  font-style: italic;
  line-height: 1.6;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(196,71,43,0.12);
}


/* ===== CUSTOM COMMISSION ===== */
.custom-commission-block {
  background: linear-gradient(135deg, rgba(138,25,0,0.97) 0%, rgba(138,25,0,0.95) 100%);
  border: 1px solid rgba(196,71,43,0.25);
  border-radius: 24px;
  overflow: hidden;
}
.custom-commission-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0;
}
.custom-commission-left {
  padding: 48px 40px 48px 48px;
}
.custom-commission-right {
  padding: 48px 48px 48px 32px;
  border-left: 1px solid rgba(196,71,43,0.1);
  display: flex;
  align-items: center;
}
.custom-commission-title {
  font-family: 'Anticva', serif;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 300;
  color: #FFF5E0;
  line-height: 1.25;
  margin-bottom: 20px;
}
.custom-commission-text {
  font-size: 14px;
  color: rgba(255,245,224,0.65);
  line-height: 1.85;
  margin-bottom: 14px;
}
.custom-commission-btn {
  display: inline-block;
  font-family: 'Jost', sans-serif;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #2A0800;
  background: var(--gold);
  padding: 14px 28px;
  border-radius: 25px;
  text-decoration: none;
  transition: all 0.3s ease;
}
.custom-commission-btn:hover { background: #E2895F; transform: translateY(-2px); }
.custom-commission-steps { display: flex; flex-direction: column; gap: 20px; }
.cc-step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.cc-step-num {
  font-family: 'Anticva', serif;
  font-size: 28px;
  font-weight: 300;
  color: rgba(196,71,43,0.3);
  line-height: 1;
  flex-shrink: 0;
  width: 36px;
}
.cc-step-text {
  font-size: 13px;
  color: rgba(255,245,224,0.6);
  line-height: 1.65;
  padding-top: 4px;
}
@media (max-width: 768px) {
  .custom-commission-inner { grid-template-columns: 1fr; }
  .custom-commission-right { border-left: none; border-top: 1px solid rgba(196,71,43,0.1); padding: 32px 28px; }
  .custom-commission-left { padding: 36px 28px 24px; }
}


/* ===================== MULTI-PAGE ADDITIONS ===================== */

/* Плавный переход между страницами: не даём якорям/контенту прятаться под фиксированный nav */
html { scroll-padding-top: 100px; }

/* Клавиатурная доступность — видимый фокус там, где убран стандартный outline */
a:focus-visible, button:focus-visible, .nav-cta:focus-visible, .hamburger:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Активная ссылка в навигации */
.nav-links a.active {
  color: var(--gold);
  position: relative;
}
nav.nav-transparent .nav-links a.active { color: #fff; }
.nav-links a.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}
@media (max-width: 640px) {
  .nav-links a.active { color: #E2895F !important; }
  .nav-links a.active::after { display: none; }
}

/* ===================== PAGE HEADER (для внутренних страниц) ===================== */
.page-header {
  position: relative;
  padding: 200px 60px 100px;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(150deg, #8A1900 0%, #A8330F 55%, #6E1808 100%);
}
.page-header-inner { position: relative; z-index: 2; max-width: 720px; margin: 0 auto; }
.page-header .section-label { color: #E2895F; justify-content: center; display: flex; }
.page-header .section-title { color: #FFF5E0; }
.page-header .section-title em { color: #E2895F; }
.page-header-dek {
  margin-top: 20px;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(255,245,224,0.72);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.page-header-crumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,245,224,0.5);
  text-decoration: none;
  margin-bottom: 28px;
  transition: color 0.3s ease;
}
.page-header-crumb:hover { color: #E2895F; }
.page-header-glow {
  position: absolute;
  top: -20%; left: 50%;
  width: 700px; height: 700px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(226,137,95,0.18) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}
@media (max-width: 640px) {
  .page-header { padding: 150px 24px 70px; }
}

/* ===================== ГЛАВНАЯ — ХАБ-ТИЗЕРЫ ===================== */
.hub-teaser {
  padding: 120px 60px;
}
.hub-teaser:nth-child(even) { background: var(--bg2); }
.hub-teaser-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.hub-teaser-reverse .hub-teaser-inner { direction: rtl; }
.hub-teaser-reverse .hub-teaser-inner > * { direction: ltr; }
.hub-teaser-text .section-label { margin-bottom: 20px; }
.hub-teaser-text .section-title { margin-bottom: 24px; }
.hub-teaser-text p {
  font-size: 15px;
  line-height: 1.9;
  color: var(--text-dim);
  margin-bottom: 32px;
}
.hub-teaser-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(196,71,43,0.35);
  transition: all 0.3s ease;
}
.hub-teaser-link:hover { gap: 16px; color: var(--gold-dark); border-color: var(--gold-dark); }
.hub-teaser-media { position: relative; }
.hub-teaser-media img, .hub-teaser-media video {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 30px 70px rgba(196,71,43,0.18);
  display: block;
}
.hub-teaser-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.hub-teaser-cards.two { grid-template-columns: repeat(2, 1fr); }
.hub-mini-card {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(196,71,43,0.18);
  background: rgba(255,255,255,0.7);
  text-decoration: none;
  display: block;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.hub-mini-card:hover { transform: translateY(-6px); box-shadow: 0 20px 44px rgba(196,71,43,0.16); }
.hub-mini-card img { width: 100%; aspect-ratio: 1/1; object-fit: contain; background: linear-gradient(135deg,#FBF8F2,#EDE0C8); display: block; }
.hub-mini-card-body { padding: 14px 16px 16px; }
.hub-mini-name { font-family: 'Anticva', serif; font-size: 15px; color: var(--text); margin-bottom: 3px; }
.hub-mini-price { font-size: 11px; color: var(--gold); letter-spacing: 0.04em; }

.hub-case-quote {
  background: rgba(138,25,0,0.94);
  border: 1px solid rgba(196,71,43,0.25);
  border-radius: 20px;
  padding: 44px 40px;
}
.hub-case-quote .case-tag { margin-bottom: 20px; color: var(--gold-light); background: rgba(196,71,43,0.15); border-color: rgba(196,71,43,0.35); }
.hub-case-quote p { color: rgba(255,245,224,0.75); }

.hub-shop-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.hub-shop-mini {
  text-align: center;
  padding: 28px 16px;
  border: 1px solid rgba(196,71,43,0.15);
  background: var(--bg);
  border-radius: 14px;
}
.hub-shop-mini-name { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 10px; white-space: nowrap; }
.hub-shop-mini-price { font-family: 'Anticva', serif; font-size: clamp(15px, 1.6vw, 22px); color: var(--gold); white-space: nowrap; }
@media (max-width: 480px) {
  .hub-shop-mini-price { font-size: 17px; }
}

.hub-final-cta {
  padding: 140px 60px;
  text-align: center;
  background: linear-gradient(150deg, #8A1900 0%, #4A1D12 100%);
}
.hub-final-cta-inner { max-width: 640px; margin: 0 auto; }
.hub-final-cta .section-title { color: #FFF5E0; margin-bottom: 24px; }
.hub-final-cta p { color: rgba(255,245,224,0.65); font-size: 15px; line-height: 1.8; margin-bottom: 40px; }

@media (max-width: 1024px) {
  .hub-teaser { padding: 90px 30px; }
  .hub-teaser-inner { grid-template-columns: 1fr; gap: 44px; }
  .hub-teaser-reverse .hub-teaser-inner { direction: ltr; }
  .hub-teaser-media img, .hub-teaser-media video { aspect-ratio: 16/10; }
  .hub-shop-strip { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .hub-teaser-cards { grid-template-columns: repeat(2, 1fr); }
  .hub-teaser-cards.two { grid-template-columns: 1fr; }
}

/* Индикатор загрузки медиа — предотвращает "прыжки" макета */
img, video { max-width: 100%; }

/* ===================== LEGAL PAGE (статичная, без модалок) ===================== */
.legal-page { padding: 90px 60px 140px; }
.legal-page-inner { max-width: 760px; margin: 0 auto; }
.legal-section {
  padding: 56px 0;
  border-bottom: 1px solid rgba(196,71,43,0.15);
  scroll-margin-top: 110px;
}
.legal-section:last-child { border-bottom: none; }
.legal-nav {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 24px;
}
.legal-nav a {
  padding: 8px 18px;
  border: 1px solid rgba(196,71,43,0.25);
  border-radius: 25px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  text-decoration: none;
  transition: all 0.3s ease;
}
.legal-nav a:hover { border-color: var(--gold); color: var(--gold); }
@media (max-width: 640px) {
  .legal-page { padding: 60px 24px 90px; }
}

/* ===================== PAGE-TO-PAGE NAVIGATOR ===================== */
.page-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid rgba(196,71,43,0.15);
  position: relative;
  z-index: 2;
}
.page-nav-link {
  padding: 40px 60px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: background 0.3s ease;
}
.page-nav-link:hover { background: rgba(196,71,43,0.05); }
.page-nav-prev { text-align: left; align-items: flex-start; border-right: 1px solid rgba(196,71,43,0.15); }
.page-nav-next { text-align: right; align-items: flex-end; }
.page-nav-label {
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.page-nav-title {
  font-family: 'Anticva', serif;
  font-size: 24px;
  font-weight: 400;
  color: var(--text);
  transition: color 0.3s ease;
}
.page-nav-link:hover .page-nav-title { color: var(--gold); }
@media (max-width: 640px) {
  .page-nav { grid-template-columns: 1fr; }
  .page-nav-link { padding: 28px 24px; }
  .page-nav-prev { border-right: none; border-bottom: 1px solid rgba(196,71,43,0.15); }
  .page-nav-title { font-size: 20px; }
}
