/* ============================================================
   ASTRO VEDIC CULTURE — style.css v2.0 "Temple at Dawn"
   Light theme: warm ivory body, deep-indigo hero/footer,
   gold accents, white frosted cards.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;0,700;1,300;1,400&family=Inter:wght@300;400;500;600&display=swap');

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', sans-serif;
  background-color: #FFFFFF;
  color: #1A1730;
  overflow-x: hidden;
  line-height: 1.7;
}

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  /* Page backgrounds — clean white */
  --page-bg:        #FFFFFF;
  --surface:        #FFFFFF;
  --surface-warm:   #F8F9FB;   /* near-white cool, минимальный контраст */
  --surface-ivory:  #F4F6FA;

  /* Hero / Footer — deep cosmic night (taken from реального starry sky photo) */
  --hero-bg:        #0F1B33;   /* deep navy ночного неба */
  --hero-mid:       #1A2A4A;   /* млечный путь голубовато-стальной */
  --hero-top:       #050A18;   /* самый верх — почти чёрный космос */
  --hero-nebula:    #3D2F5C;   /* фиолетово-сиреневый туман Млечного пути */

  /* Text (on light bg) */
  --text:           #1A1730;
  --text-dim:       #5A5272;
  --text-muted:     #8C82A0;

  /* Text on dark bg (hero/footer) */
  --text-hero:      #EDE0C8;
  --text-hero-dim:  rgba(237,224,200,0.72);

  /* Gold — pure royal gold, not muddy amber */
  --gold:           #F5C518;   /* royal gold — clean, bright */
  --gold-light:     #FFE066;   /* soft light gold */
  --gold-dim:       #D4A017;   /* deeper для hover/borders */
  --gold-pale:      rgba(245,197,24,0.12);
  --gold-deep:      #B8860B;   /* dark goldenrod — для трёх-стопного gradient */

  /* Royal navy accent (заменили purple/indigo на синие тона hero) */
  --indigo:         #1E40AF;   /* royal navy */
  --indigo-soft:    #3B82F6;   /* clear deep blue */
  --indigo-pale:    rgba(30,64,175,0.08);
  --indigo-border:  rgba(30,64,175,0.16);

  /* Cards / glass (on LIGHT bg) */
  --glass:          rgba(255,255,255,0.92);
  --glass-border:   rgba(245,197,24,0.22);
  --glass-hover:    rgba(245,197,24,0.40);
  --shadow-card:    0 2px 20px rgba(30,64,175,0.09), 0 0 0 1px rgba(245,197,24,0.12);
  --shadow-hover:   0 10px 48px rgba(30,64,175,0.16), 0 0 0 1px rgba(245,197,24,0.25);

  /* Misc */
  --transition:     0.35s cubic-bezier(0.4,0,0.2,1);
  --radius:         16px;
  --radius-lg:      24px;

  /* Legacy aliases kept for SVG/component compatibility */
  --deep-space:     #0D0B2A;
  --dark-blue:      #140F3E;
  --cosmic-blue:    #1E1858;
  --cosmic-purple:  #1E40AF;
  --cream:          #1A1730;
  --cream-dim:      #5A5272;
  --white-glow:     rgba(255,255,255,0.06);
  --royal-blue:     #203C8B;
  --royal-blue-rgb: 32,60,139;
  --gold-dim-compat:#D4A017;
}

/* === STAR CANVAS (behind everything, visible on dark hero) === */
#star-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
  will-change: transform;
  transform: translateZ(0);
  opacity: 0.35; /* subtle on light sections, full on dark hero */
}

/* === SCROLLBAR === */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--surface-warm); }
::-webkit-scrollbar-thumb { background: var(--gold-dim); border-radius: 3px; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: var(--text);
}
h1 { font-size: clamp(2.8rem, 7vw, 5.5rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3.4rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h4 { font-size: clamp(1rem, 1.8vw, 1.25rem); }
em { font-style: italic; color: var(--gold); }

/* === CONTAINER === */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  z-index: 1;
}
.btn-gold {
  background: linear-gradient(135deg, #F5C518, #FFE066, #D4A017);
  background-size: 200% 200%;
  background-position: 0% 50%;
  color: #0A1424;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-shadow: none;
  box-shadow: 0 4px 24px rgba(245,197,24,0.40);
}
.btn-gold:hover {
  background-position: 100% 50%;
  box-shadow: 0 8px 44px rgba(245,197,24,0.65);
  transform: translateY(-2px);
  color: #050A18;
}
.btn-outline {
  background: transparent;
  color: var(--text-hero);
  border: 1px solid rgba(245,197,24,0.45);
}
.btn-outline:hover {
  background: rgba(245,197,24,0.1);
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}
.btn-outline-gold {
  background: transparent;
  color: var(--gold);
  border: 1px solid rgba(245,197,24,0.38);
  padding: 11px 28px;
  border-radius: 50px;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
}
.btn-outline-gold:hover {
  background: var(--gold-pale);
  border-color: var(--gold);
  transform: translateY(-2px);
}
.btn-large { padding: 18px 52px; font-size: 1rem; }

/* === SECTION LABELS === */
.section-label {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.section-header { text-align: center; margin-bottom: 64px; }
.section-title { margin-bottom: 16px; }
.section-desc {
  font-size: 1rem;
  color: var(--text-dim);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.75;
}

/* === TAGS === */
.tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.tag-astro    { background: rgba(30,64,175,0.1); color: #1E40AF; border: 1px solid rgba(30,64,175,0.2); }
.tag-moon     { background: rgba(30,80,160,0.08); color: #2563EB; border: 1px solid rgba(37,99,235,0.2); }
.tag-karma    { background: rgba(180,50,50,0.08); color: #B83232; border: 1px solid rgba(184,50,50,0.2); }
.tag-spiritual{ background: var(--gold-pale); color: var(--gold); border: 1px solid rgba(245,197,24,0.28); }

/* === REVEAL ANIMATION === */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1),
              transform 0.7s cubic-bezier(0.22,1,0.36,1);
}
.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.48s; }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 40px;
  height: 72px;
  display: flex;
  align-items: center;
  transition: background 0.4s ease, box-shadow 0.4s ease;
  /* transparent over dark hero */
}
.navbar.scrolled {
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(245,197,24,0.18), 0 4px 24px rgba(30,64,175,0.06);
}
.nav-inner {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: 'Cinzel', 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--gold);
  text-decoration: none;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition);
}
.logo-svg { display: block; }
.logo-icon { font-size: 1.2rem; }
.nav-logo:hover { color: var(--gold-light); }

/* Изящный navbar: Cormorant italic в normal case, без uppercase давки */
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: none;
  color: rgba(255,250,235,0.92);
  text-decoration: none;
  transition: color var(--transition);
  position: relative;
}
.navbar.scrolled .nav-links a { color: var(--text-dim); }
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width var(--transition);
}
.nav-links a:hover { color: var(--gold); }
.navbar.scrolled .nav-links a:hover { color: var(--gold); }
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  font-family: 'Cinzel', 'Cormorant Garamond', serif !important;
  background: linear-gradient(135deg, #F5C518, #FFE066) !important;
  color: #0A1424 !important;
  padding: 9px 22px !important;
  border-radius: 50px;
  font-weight: 700 !important;
  font-size: 0.78rem !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  box-shadow: 0 2px 10px rgba(245,197,24,0.30);
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { box-shadow: 0 4px 20px rgba(245,197,24,0.55); transform: translateY(-1px); color: #050A18 !important; }
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: var(--transition);
}

/* ============================================================
   HERO — dark indigo, cosmic (stays dark)
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  overflow: hidden;
  background-color: var(--hero-bg);
}
/* Parallax-layer звёздного неба — двигается медленнее скролла */
.hero-bg-layer {
  position: absolute;
  inset: -10% -2% -10% -2%;  /* запас для parallax shift */
  background-image: url('/img/hero-cosmos.webp');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  z-index: 0;
  will-change: transform;
  transform: translate3d(0, 0, 0) scale(1.05);
  transition: transform 0.05s linear;
  pointer-events: none;
}
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(5,10,24,0.45) 0%,
    rgba(10,20,45,0.20) 40%,
    rgba(15,27,51,0.55) 75%,
    var(--hero-bg) 100%);  /* плотный fade в navy в самом низу */
  z-index: 1;
  pointer-events: none;
}
/* Bottom fade-out — мягкое слияние с stats strip */
.hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 120px;
  background: linear-gradient(180deg, transparent 0%, var(--hero-bg) 100%);
  z-index: 4;
  pointer-events: none;
}
@media (max-width: 768px) {
  .hero-bg-layer {
    background-image: url('/img/hero-cosmos-mobile.webp');
  }
}

/* CSS twinkle stars layer — поверх hero фото для оживления */
.hero-twinkle {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  overflow: hidden;
}
.hero-twinkle::before,
.hero-twinkle::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1.5px 1.5px at 12% 18%, #fff, transparent),
    radial-gradient(2px 2px at 28% 35%, #FFE066, transparent),
    radial-gradient(1px 1px at 45% 12%, #fff, transparent),
    radial-gradient(2px 2px at 62% 48%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 78% 22%, #FFE066, transparent),
    radial-gradient(2.5px 2.5px at 88% 65%, #fff, transparent),
    radial-gradient(1px 1px at 18% 70%, #FFE066, transparent),
    radial-gradient(2px 2px at 35% 82%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 55% 88%, #fff, transparent),
    radial-gradient(2px 2px at 72% 78%, #FFE066, transparent),
    radial-gradient(1px 1px at 92% 35%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 8% 55%, #fff, transparent);
  animation: twinkle 4s ease-in-out infinite alternate;
}
.hero-twinkle::after {
  animation-duration: 6s;
  animation-delay: 1.5s;
  background-image:
    radial-gradient(2px 2px at 22% 28%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 48% 62%, #FFE066, transparent),
    radial-gradient(1px 1px at 68% 18%, #fff, transparent),
    radial-gradient(2.5px 2.5px at 82% 42%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 15% 88%, #FFE066, transparent),
    radial-gradient(2px 2px at 38% 25%, #fff, transparent),
    radial-gradient(1px 1px at 58% 75%, #fff, transparent),
    radial-gradient(2px 2px at 75% 55%, #FFE066, transparent),
    radial-gradient(1.5px 1.5px at 95% 80%, #fff, transparent);
}
@keyframes twinkle {
  0%, 100% { opacity: 0.35; }
  50%      { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-twinkle::before, .hero-twinkle::after { animation: none; opacity: 0.7; }
}
.hero-nebula {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 75% 55% at 18% 48%, rgba(61,47,92,0.45) 0%, transparent 65%),
    radial-gradient(ellipse 55% 75% at 80% 28%, rgba(30,24,88,0.4) 0%, transparent 60%),
    radial-gradient(ellipse 45% 45% at 50% 100%, rgba(10,15,32,0.7) 0%, transparent 50%);
  pointer-events: none;
  z-index: 3;
  mix-blend-mode: screen;
  opacity: 0.65;
}
.hero-sacred {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 4;
}
.sacred-geo {
  width: min(80vw,800px);
  height: min(80vw,800px);
  animation: rotateGeo 120s linear infinite;
  opacity: 0.65;
}
@keyframes rotateGeo {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
.hero-content {
  position: relative;
  z-index: 5;
  text-align: center;
  padding: 120px 24px 80px;
  max-width: 860px;
  animation: heroFadeIn 1.4s ease 0.2s both;
}
@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-eyebrow {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
}
.hero-title {
  font-size: clamp(2.8rem,8vw,6rem);
  line-height: 1.08;
  margin-bottom: 28px;
  color: var(--text-hero);
  text-shadow: 0 0 80px rgba(245,197,24,0.18);
}
.hero-sub {
  font-size: 1.05rem;
  color: var(--text-hero-dim);
  max-width: 640px;
  margin: 0 auto 48px;
  line-height: 1.8;
}
.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
.hero-scroll-indicator {
  position: absolute;
  bottom: 40px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 3;
  animation: scrollBounce 2.5s ease infinite;
}
.scroll-line {
  display: block;
  width: 1px; height: 50px;
  background: linear-gradient(to bottom, var(--gold), transparent);
}
.scroll-text {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-dim);
}
@keyframes scrollBounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(8px); }
}

/* ============================================================
   STATS STRIP — transition from dark hero to light body
   ============================================================ */
.stats-strip {
  position: relative;
  z-index: 2;
  overflow: hidden;
  /* Звёздное небо как продолжение hero — то же фото, нижняя часть */
  background:
    /* затенение сверху и плавный fade в белый снизу */
    linear-gradient(180deg,
      var(--hero-bg) 0%,
      rgba(15,27,51,0.55) 35%,
      rgba(26,42,74,0.40) 65%,
      rgba(255,255,255,0.85) 95%,
      var(--page-bg) 100%),
    /* реальное фото неба — нижняя часть для seamless с hero */
    url('/img/hero-cosmos.webp') center bottom / cover no-repeat,
    var(--hero-bg);
  border-bottom: 1px solid transparent;
}
@media (max-width: 768px) {
  .stats-strip {
    background:
      linear-gradient(180deg,
        var(--hero-bg) 0%,
        rgba(15,27,51,0.55) 35%,
        rgba(26,42,74,0.40) 65%,
        rgba(255,255,255,0.85) 95%,
        var(--page-bg) 100%),
      url('/img/hero-cosmos-mobile.webp') center bottom / cover no-repeat,
      var(--hero-bg);
  }
}
.stats-strip .stat-label { color: var(--text-hero-dim); }
.stats-strip .stat-divider { color: rgba(245,197,24,0.55); }
.stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 12px 40px;
}
.stat-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
}
.stat-number sup { font-size: 1rem; vertical-align: super; }
.stat-label {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.stat-divider {
  color: var(--gold-dim);
  font-size: 0.6rem;
  opacity: 0.5;
  flex-shrink: 0;
}

/* ============================================================
   KNOWLEDGE CATEGORIES — light warm section
   ============================================================ */
.knowledge-section {
  position: relative;
  z-index: 2;
  padding: 100px 0;
  background: var(--surface-warm);
}
.knowledge-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 24px;
}
.know-card {
  position: relative;
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--surface);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  cursor: pointer;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
a.know-card:hover { color: inherit; }
.know-card-glow {
  position: absolute;
  top: -60%; left: -60%;
  width: 220%; height: 220%;
  background: radial-gradient(circle at 50% 50%, rgba(245,197,24,0.06), transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}
.know-card:hover .know-card-glow { opacity: 1; }
.know-card:hover {
  border-color: var(--glass-hover);
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}
.know-icon { font-size: 2.2rem; margin-bottom: 20px; display: block; }
.know-card h3 { font-size: 1.3rem; margin-bottom: 12px; color: var(--text); }
.know-card p { font-size: 0.9rem; color: var(--text-dim); line-height: 1.7; margin-bottom: 20px; }
.know-arrow { display: inline-block; color: var(--gold); font-size: 1.1rem; transition: transform var(--transition); }
.know-card:hover .know-arrow { transform: translateX(6px); }

/* ============================================================
   FEATURED ARTICLES (services on index)
   ============================================================ */
.articles-section {
  position: relative;
  z-index: 2;
  padding: 100px 0;
  background: var(--page-bg);
}
.articles-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.article-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  cursor: pointer;
}
.article-card:hover {
  border-color: var(--glass-hover);
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}
.article-card.featured { grid-column: 1 / -1; flex-direction: row; }
.article-img { position: relative; overflow: hidden; }
.article-card.featured .article-img { width: 42%; min-height: 300px; flex-shrink: 0; }
.article-card:not(.featured) .article-img { height: 200px; }
.article-img-fill {
  width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}
.article-card:hover .article-img-fill { transform: scale(1.05); }
.article-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.1));
}
.article-body {
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
}
.article-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.article-date { font-size: 0.72rem; color: var(--text-muted); letter-spacing: 0.06em; }
.article-title { font-size: 1.25rem; margin-bottom: 12px; color: var(--text); line-height: 1.35; }
.article-card.featured .article-title { font-size: 1.65rem; }
.article-excerpt { font-size: 0.9rem; color: var(--text-dim); line-height: 1.7; margin-bottom: 20px; }
.article-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--gold);
  text-decoration: none;
  transition: gap var(--transition), color var(--transition);
  position: relative;
  z-index: 1;
}
.article-link::after {
  content: "";
  position: absolute;
  inset: -9999px;
  z-index: 0;
}
.article-link:hover { gap: 12px; color: var(--gold-light); }

/* ============================================================
   PLANETS SECTION — ivory alt
   ============================================================ */
.planets-section {
  position: relative;
  z-index: 2;
  padding: 100px 0;
  overflow: hidden;
  background: var(--surface-ivory);
}
.planets-bg-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(30,64,175,0.06) 0%, transparent 65%);
  pointer-events: none;
}
.planets-orrery {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-54%);
  width: 500px; height: 500px;
  pointer-events: none;
  opacity: 0.18;
}
.orrery-center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
}
.orrery-sun {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--gold-light), var(--gold));
  box-shadow: 0 0 30px rgba(245,197,24,0.4);
}
.orrery-sun-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 80px; height: 80px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245,197,24,0.2), transparent);
  animation: solarPulse 3s ease-in-out infinite;
}
@keyframes solarPulse {
  0%,100% { transform: translate(-50%,-50%) scale(1); opacity: 0.6; }
  50%      { transform: translate(-50%,-50%) scale(1.4); opacity: 0.2; }
}
.orrery-ring {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  border-radius: 50%;
  border: 1px solid rgba(245,197,24,0.3);
}
.ring-1 { width: 160px; height: 160px; animation: orbitSpin 20s linear infinite; }
.ring-2 { width: 280px; height: 280px; animation: orbitSpin 35s linear infinite reverse; }
.ring-3 { width: 420px; height: 420px; animation: orbitSpin 55s linear infinite; }
@keyframes orbitSpin {
  from { transform: translate(-50%,-50%) rotate(0deg); }
  to   { transform: translate(-50%,-50%) rotate(360deg); }
}
.planets-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 20px;
}
.planet-card {
  background: var(--surface);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: var(--shadow-card);
  cursor: default;
}
.planet-card:hover {
  border-color: var(--glass-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.planet-symbol {
  font-size: 2.4rem;
  line-height: 1;
  flex-shrink: 0;
  width: 50px;
  text-align: center;
  transition: transform 0.4s ease;
  filter: drop-shadow(0 0 6px currentColor);
}
.planet-card:hover .planet-symbol { transform: scale(1.15) rotate(-5deg); }
.sun-symbol     { color: #D4920A; }
.moon-symbol    { color: #5588BB; }
.mars-symbol    { color: #C43A25; }
.mercury-symbol { color: #3A9A5A; }
.jupiter-symbol { color: #C87A10; }
.venus-symbol   { color: #D06090; }
.saturn-symbol  { color: #7878A0; }
.rahu-symbol    { color: #6B3FBB; }
.ketu-symbol    { color: #C05030; }
.planet-info h4 { font-size: 1.05rem; margin-bottom: 4px; color: var(--text); }
.planet-domain  { font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-dim); margin-bottom: 10px; }
.planet-desc    { font-size: 0.85rem; color: var(--text-dim); line-height: 1.65; }

/* ============================================================
   INSIGHTS SECTION — warm ivory
   ============================================================ */
.insights-section {
  position: relative;
  z-index: 2;
  padding: 100px 0;
  background: var(--surface-warm);
}
.insights-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 56px;
}
.insights-header h2 { margin-bottom: 0; }
.insights-list { display: flex; flex-direction: column; gap: 2px; }
.insight-item {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 32px;
  align-items: start;
  padding: 32px 24px;
  border-bottom: 1px solid rgba(245,197,24,0.12);
  transition: background var(--transition), border-radius var(--transition);
  border-radius: 0;
}
.insight-item:last-child { border-bottom: none; }
.insight-item:hover {
  background: rgba(245,197,24,0.04);
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(30,64,175,0.06);
}
.insight-date { display: flex; flex-direction: column; align-items: center; padding-top: 4px; }
.insight-day {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.6rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
  display: block;
}
.insight-month { font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); }
.insight-tags  { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.insight-type  { font-size: 0.65rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); }
.insight-body h4 { font-size: 1.2rem; margin-bottom: 10px; color: var(--text); line-height: 1.3; }
.insight-body p  { font-size: 0.9rem; color: var(--text-dim); line-height: 1.7; }

/* ============================================================
   SACRED QUOTE — gold warmth section
   ============================================================ */
.quote-section {
  position: relative;
  z-index: 2;
  padding: 100px 0;
  overflow: hidden;
  background: var(--page-bg);
}
.quote-geo {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(245,197,24,0.07), transparent 70%);
  pointer-events: none;
}
.quote-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}
.quote-ornament {
  color: var(--gold);
  font-size: 1.2rem;
  opacity: 0.6;
  animation: ornamentGlow 3s ease-in-out infinite;
}
@keyframes ornamentGlow {
  0%,100% { opacity: 0.35; }
  50%      { opacity: 0.9; }
}
.quote-sanskrit {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.5rem,4vw,2.5rem);
  font-weight: 600;
  color: var(--gold);
  line-height: 1.3;
}
.quote-translation {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.1rem,2.5vw,1.6rem);
  font-weight: 300;
  font-style: italic;
  color: var(--text);
  line-height: 1.7;
}
.quote-source {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ============================================================
   BLUEPRINT / CTA SECTIONS
   ============================================================ */
.blueprint-section {
  position: relative;
  z-index: 2;
  padding: 100px 0;
  overflow: hidden;
  background: var(--surface-warm);
}
.blueprint-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 900px; height: 600px;
  background: radial-gradient(ellipse, rgba(245,197,24,0.06) 0%, transparent 65%);
  pointer-events: none;
}
.blueprint-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  padding: 0 24px;
}
.blueprint-inner h2 { margin-bottom: 20px; }
.blueprint-inner p { font-size: 1rem; color: var(--text-dim); line-height: 1.8; margin-bottom: 40px; }
.blueprint-features {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.bp-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(245,197,24,0.07);
  border: 1px solid rgba(245,197,24,0.18);
  border-radius: 50px;
  padding: 8px 20px;
  font-size: 0.82rem;
  color: var(--text-dim);
}
.bp-icon { font-size: 0.95rem; }

/* ============================================================
   HUB SECTION
   ============================================================ */
.hub-section { position: relative; z-index: 2; padding: 100px 0; background: var(--page-bg); }
.hub-filters {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.filter-btn {
  padding: 9px 22px;
  border-radius: 50px;
  border: 1px solid rgba(245,197,24,0.2);
  background: transparent;
  color: var(--text-dim);
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
}
.filter-btn:hover, .filter-btn.active {
  background: var(--gold-pale);
  border-color: rgba(245,197,24,0.4);
  color: var(--gold);
}
.hub-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  grid-auto-rows: 200px;
  gap: 20px;
}
.hub-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--glass-border);
  cursor: pointer;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: var(--shadow-card);
}
.hub-card.tall { grid-row: span 2; }
.hub-card:hover {
  border-color: var(--glass-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.hub-card.hidden { display: none; }
.hub-card-img { position: absolute; inset: 0; }
.hub-fill { width: 100%; height: 100%; background-size: cover; background-position: center; transition: transform 0.6s ease; }
.hub-card:hover .hub-fill { transform: scale(1.06); }
.hub-fill-1 { background: linear-gradient(135deg, #1A0550, #3A0CA3, #0D1B3E); }
.hub-fill-2 { background: linear-gradient(135deg, #0D1B3E, #112255, #1E3A7A); }
.hub-fill-3 { background: linear-gradient(135deg, #2A1010, #601818, #1A0550); }
.hub-fill-4 { background: linear-gradient(135deg, #12100A, #3D2800, #1A0550); }
.hub-fill-5 { background: linear-gradient(135deg, #0F0828, #1A0550, #3A0CA3); }
.hub-fill-6 { background: linear-gradient(135deg, #180A00, #3D2000, #1A0550); }
.hub-card-body {
  position: relative;
  z-index: 2;
  padding: 24px;
  background: linear-gradient(to top, rgba(20,15,62,0.95) 0%, rgba(20,15,62,0.7) 50%, transparent 100%);
}
.hub-card-body .tag { margin-bottom: 10px; }
.hub-card-body h4 { font-size: 1rem; color: #EDE0C8; line-height: 1.35; }

/* ============================================================
   NEWSLETTER — dark indigo (mid-page contrast band)
   ============================================================ */
.newsletter-section {
  position: relative;
  z-index: 2;
  padding: 100px 0;
  overflow: hidden;
  background: var(--hero-bg);
}
.newsletter-stars {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 80% at 50% 50%, rgba(30,64,175,0.35), transparent 70%);
  pointer-events: none;
}
.newsletter-inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  padding: 0 24px;
}
.newsletter-inner h2 { margin-bottom: 18px; color: var(--text-hero); }
.newsletter-inner p { font-size: 1rem; color: var(--text-hero-dim); line-height: 1.8; margin-bottom: 40px; }
.newsletter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 540px;
  margin: 0 auto;
}
.newsletter-form .newsletter-input { min-width: 0; flex: 1 1 200px; }
.newsletter-form .btn { flex: 1 1 100%; }
@media (min-width: 600px) {
  .newsletter-form .btn { flex: 0 0 auto; }
}
.newsletter-input {
  flex: 1;
  padding: 14px 22px;
  border-radius: 50px;
  border: 1px solid rgba(245,197,24,0.3);
  background: rgba(255,255,255,0.07);
  color: var(--text-hero);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  outline: none;
  transition: border-color var(--transition);
}
.newsletter-input::placeholder { color: rgba(237,224,200,0.45); }
.newsletter-input:focus { border-color: rgba(245,197,24,0.6); }

/* ============================================================
   FOOTER — dark indigo bookend (matches hero)
   ============================================================ */
.footer {
  position: relative;
  z-index: 2;
  padding: 80px 0 40px;
  background: linear-gradient(180deg, var(--hero-bg) 0%, #0D0B2A 100%);
}
.footer-divider { height: 1px; overflow: visible; margin-bottom: 80px; }
.footer-divider svg { display: block; width: 100%; overflow: visible; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
}
.brand-name {
  font-family: 'Cinzel', 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--gold);
  margin-bottom: 16px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.footer-brand p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--text-hero-dim);
  line-height: 1.65;
  margin-bottom: 24px;
  max-width: 300px;
  letter-spacing: 0.01em;
}
.footer-contacts {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}
.footer-contact-link {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-hero-dim);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color var(--transition);
}
.footer-contact-link:hover { color: var(--gold); }
.social-links { display: flex; gap: 12px; }
.social-link {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(245,197,24,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-dim);
  font-size: 0.85rem;
  text-decoration: none;
  transition: var(--transition);
}
.social-link:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(245,197,24,0.08);
  transform: translateY(-2px);
}
.footer-col h5 {
  font-family: 'Cinzel', 'Cormorant Garamond', serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 22px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.footer-col a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--text-hero-dim);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color var(--transition), letter-spacing var(--transition);
}
.footer-col a:hover { color: var(--gold); letter-spacing: 0.025em; }
.footer-bottom {
  border-top: 1px solid rgba(245,197,24,0.1);
  padding-top: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom p {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 0.95rem;
  font-weight: 400;
  color: rgba(237,224,200,0.55);
  letter-spacing: 0.01em;
}
.footer-bottom p a { color: rgba(237,224,200,0.55); text-decoration: none; transition: color var(--transition); }
.footer-bottom p a:hover { color: var(--gold); }
.footer-gold-line {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: 'Cinzel', 'Cormorant Garamond', serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--gold-dim);
  opacity: 0.85;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .knowledge-grid { grid-template-columns: repeat(2,1fr); }
  .planets-grid   { grid-template-columns: repeat(2,1fr); }
  .hub-grid       { grid-template-columns: repeat(2,1fr); }
  .footer-grid    { grid-template-columns: 1fr 1fr; gap: 36px; }
  .planets-orrery { display: none; }
}
@media (max-width: 768px) {
  .navbar { padding: 0 20px; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-links.mob-open {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(20px);
    padding: 32px 28px;
    gap: 24px;
    border-bottom: 1px solid rgba(245,197,24,0.15);
    box-shadow: 0 8px 32px rgba(30,64,175,0.1);
  }
  .nav-links.mob-open a { color: var(--text-dim); }
  .knowledge-grid { grid-template-columns: 1fr; }
  .articles-grid  { grid-template-columns: 1fr; }
  .article-card.featured { flex-direction: column; }
  .article-card.featured .article-img { width: 100%; min-height: 220px; }
  .planets-grid   { grid-template-columns: 1fr; }
  .hub-grid       { grid-template-columns: 1fr; }
  .hub-card.tall  { grid-row: span 1; }
  .footer-grid    { grid-template-columns: 1fr; gap: 32px; }
  .insights-header { flex-direction: column; align-items: flex-start; gap: 20px; }
  .insight-item   { grid-template-columns: 70px 1fr; gap: 20px; }
  .stats-inner    { gap: 0; }
  .stat-item      { padding: 10px 20px; }
  .newsletter-form { flex-direction: column; }
  .footer-bottom  { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .hero-ctas { flex-direction: column; align-items: center; }
  .section-header { margin-bottom: 40px; }
  .blueprint-features { gap: 8px; }
}

/* ============================================================
   PERFORMANCE — GPU acceleration
   ============================================================ */
#hero-content, .hero-sacred, .hero-nebula {
  will-change: transform;
  backface-visibility: hidden;
  transform: translate3d(0,0,0);
}
.navbar, .know-card, .planet-card, .article-card, .hub-card {
  will-change: auto;
  backface-visibility: hidden;
}
@media (prefers-reduced-motion: reduce) {
  #hero-content, .hero-sacred, .hero-nebula { transform: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ============================================================
   LANGUAGE SWITCHER
   ============================================================ */
.nav-lang a {
  font-size: 0.72rem;
  letter-spacing: 1px;
  padding: 0.35rem 0.75rem;
  border: 1px solid rgba(245,197,24,0.25);
  border-radius: 999px;
  transition: all 0.3s ease;
}
.navbar.scrolled .nav-lang a { color: var(--text-dim); border-color: rgba(245,197,24,0.25); }
.nav-lang a:hover {
  border-color: rgba(245,197,24,0.5);
  background: var(--gold-pale);
}

/* ============================================================
   SUBPAGES — common hero for secondary pages
   ============================================================ */
.subpage-hero {
  padding: 10rem 0 4rem;
  text-align: center;
  position: relative;
  background: linear-gradient(160deg, var(--hero-top) 0%, var(--hero-bg) 55%, var(--hero-mid) 100%);
}
.subpage-hero .hero-eyebrow {
  color: var(--gold);
  font-size: 0.85rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 1.5rem;
}
.subpage-hero .hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  line-height: 1.15;
  color: var(--text-hero);
  margin-bottom: 1rem;
}
.subpage-hero .hero-title em { color: var(--gold); font-style: italic; }
.subpage-hero .hero-sub { font-size: 1.15rem; color: var(--text-hero-dim); max-width: 620px; margin: 0 auto; }

/* Subpage content sections — light bg */
.content-section {
  padding: 4rem 0 6rem;
  position: relative;
  background: var(--page-bg);
}
.container-narrow { max-width: 820px !important; }

.content-intro .lead {
  font-size: 1.35rem;
  line-height: 1.7;
  font-family: 'Cormorant Garamond', serif;
  color: var(--text);
  margin-bottom: 1.5rem;
  font-weight: 400;
}
.content-intro p, .content-section p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-dim);
  margin-bottom: 1.25rem;
}
.content-section h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  color: var(--gold);
  margin: 3rem 0 1.5rem;
  font-weight: 500;
  letter-spacing: 0.5px;
}
.content-section h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  color: var(--text);
  margin: 2rem 0 1rem;
  font-weight: 500;
}
.content-section ul { padding-left: 1.5rem; margin-bottom: 1.5rem; }
.content-section li { color: var(--text-dim); margin-bottom: 0.6rem; line-height: 1.7; }
.content-section strong { color: var(--gold); font-weight: 600; }

.timeline-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
  gap: 1rem;
  margin: 1.5rem 0 2rem;
}
.timeline-item {
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  box-shadow: var(--shadow-card);
}
.timeline-year {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 0.3rem;
}
.timeline-text { color: var(--text-dim); font-size: 0.95rem; line-height: 1.5; }

.country-grid { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1rem; }
.country-chip {
  padding: 0.6rem 1.2rem;
  background: var(--surface);
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  color: var(--text-dim);
  font-size: 0.95rem;
  box-shadow: var(--shadow-card);
}

.disciplines-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px,1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}
.discipline-card {
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--surface);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  box-shadow: var(--shadow-card);
  transition: all 0.3s ease;
}
.discipline-card:hover {
  border-color: var(--glass-hover);
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}
.discipline-card .d-icon { font-size: 1.8rem; flex-shrink: 0; }
.discipline-card h4 { font-family: 'Cormorant Garamond', serif; color: var(--gold); margin: 0 0 0.2rem; font-size: 1.15rem; }
.discipline-card p { color: var(--text-dim); font-size: 0.85rem; margin: 0; }

.mission-section {
  margin: 4rem 0;
  text-align: center;
  padding: 3rem 2rem;
  background: linear-gradient(135deg, var(--surface-warm), var(--surface-ivory));
  border: 1px solid rgba(245,197,24,0.15);
  border-radius: 24px;
}
.mission-section .quote-ornament { font-size: 2rem; color: var(--gold); opacity: 0.5; margin-bottom: 1rem; }
.mission-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem !important;
  color: var(--text) !important;
  line-height: 1.5;
  font-style: italic;
}

.cta-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(245,197,24,0.15);
}

/* Service page */
.service-hero-price {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: #1A1730;
  font-weight: 700;
  font-size: 1.25rem;
  border-radius: 999px;
  margin-bottom: 1rem;
  letter-spacing: 1px;
}
.service-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px,1fr));
  gap: 1rem;
  margin: 2rem 0;
}
.service-feature {
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  box-shadow: var(--shadow-card);
}
.service-feature h4 { color: var(--gold); font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; margin: 0 0 0.5rem; }
.service-feature p { font-size: 0.95rem; margin: 0; color: var(--text-dim); }

/* ============================================================
   GAP FIX
   ============================================================ */
.articles-section { padding-bottom: 0 !important; }
.planets-section  { padding-top: 1.5rem !important; }

/* ============================================================
   BLOG CAROUSEL — infinite auto-scroll
   ============================================================ */
@keyframes scrollCarousel {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.blog-carousel-wrapper {
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}
.blog-carousel {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  animation: scrollCarousel 84s linear infinite;
}
.blog-carousel:hover { animation-play-state: paused; }
.blog-card {
  flex-shrink: 0;
  width: 300px;
  text-decoration: none;
  background: var(--surface);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  box-shadow: var(--shadow-card);
  display: block;
}
.blog-card:hover {
  transform: translateY(-4px);
  border-color: var(--glass-hover);
  box-shadow: var(--shadow-hover);
}
.blog-card .blog-img { height: 180px; background-size: cover; background-position: center; }
.blog-card-body { padding: 1.25rem; }
.blog-card-body h3 {
  font-family: 'Cormorant Garamond', serif;
  color: var(--text);
  font-size: 1.1rem;
  margin: 0.5rem 0;
  line-height: 1.3;
}
.blog-card-body p { color: var(--text-dim); font-size: 0.88rem; margin: 0 0 0.75rem; line-height: 1.5; }
.read-more { color: var(--gold); font-size: 0.85rem; font-weight: 500; }
@media (prefers-reduced-motion: reduce) { .blog-carousel { animation: none; } }

/* ============================================================
   FOOTER CONTACTS
   ============================================================ */
.footer-contacts { display: flex; flex-direction: column; gap: 0.5rem; margin: 0.75rem 0 1rem; }
.footer-contact-link { color: rgba(245,197,24,0.75); text-decoration: none; font-size: 0.88rem; transition: color 0.2s; }
.footer-contact-link:hover { color: var(--gold); }
.footer-wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1.1rem;
  background: linear-gradient(135deg, #3B82F6, #1E40AF);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  width: fit-content;
  box-shadow: 0 2px 12px rgba(30,64,175,0.30);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.footer-wa-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(59,130,246,0.45);
  color: #fff;
}

/* ============================================================
   WHATSAPP FLOAT
   ============================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 1.2rem 0.65rem 0.9rem;
  background: linear-gradient(135deg, #3B82F6, #1E40AF);
  color: #fff;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(30,64,175,0.40);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  white-space: nowrap;
}
.whatsapp-float:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(59,130,246,0.55); }
.whatsapp-float svg { flex-shrink: 0; }
.whatsapp-float-label { font-family: 'Inter', sans-serif; font-size: 0.88rem; font-weight: 500; }
@media (max-width: 600px) {
  .whatsapp-float { padding: 0.8rem; border-radius: 50%; }
  .whatsapp-float-label { display: none; }
}

/* ============================================================
   SOUTH INDIAN KUNDALI CHART
   ============================================================ */
.si-chart-section { margin: 2rem auto; max-width: 400px; }
.si-chart-label {
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
}
.si-chart {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  grid-template-rows: repeat(4,1fr);
  aspect-ratio: 1;
  border: 1.5px solid rgba(245,197,24,0.45);
  background: #F7F3EC;
  font-size: 1rem;
}
.si-chart.si-mini { max-width: 210px; font-size: 0.56rem; }
.si-cell {
  border: 1px solid rgba(245,197,24,0.2);
  padding: 0.28em 0.25em;
  display: flex;
  flex-direction: column;
  gap: 0.1em;
  position: relative;
  overflow: hidden;
  min-height: 0;
}
.si-cell.si-center { background: rgba(245,197,24,0.04); border-color: rgba(245,197,24,0.1); }
.si-sign-name {
  font-family: 'Inter', sans-serif;
  font-size: 0.55em;
  color: rgba(245,197,24,0.55);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1;
}
.si-planets { display: flex; flex-wrap: wrap; gap: 0.05em 0.15em; align-content: flex-start; }
.si-p { font-family: 'Inter', sans-serif; font-size: 0.72em; line-height: 1.25; color: var(--text); white-space: nowrap; }
.si-p.as-mark { color: var(--gold); font-weight: 700; font-size: 0.78em; }
.si-p.exalted { color: #3A8A3A; }
.si-p.shadow  { color: #6A40A0; }
.si-lagna-tri {
  position: absolute;
  top: 0; left: 0;
  width: 0; height: 0;
  border-top: 0.7em solid rgba(245,197,24,0.5);
  border-right: 0.7em solid transparent;
}
.si-chart-caption { margin-top: 0.75rem; text-align: center; font-family: 'Inter', sans-serif; font-size: 0.75rem; color: var(--text-muted); line-height: 1.7; }
.famous-charts-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 3rem 2.5rem;
  max-width: 680px;
  margin: 0 auto;
  padding: 1rem 1rem 3rem;
}
.chart-entry { display: flex; flex-direction: column; align-items: center; gap: 0.6rem; }
.chart-entry-name { font-family: 'Cormorant Garamond', serif; font-size: 1.15rem; color: var(--text); text-align: center; }
.chart-entry-dates { font-family: 'Inter', sans-serif; font-size: 0.72rem; color: var(--text-muted); text-align: center; line-height: 1.5; }
.chart-entry-link { font-family: 'Inter', sans-serif; font-size: 0.78rem; color: var(--gold); text-decoration: none; letter-spacing: 0.06em; transition: color 0.2s; }
.chart-entry-link:hover { color: var(--gold-light); }
@media (max-width: 560px) {
  .famous-charts-grid { grid-template-columns: 1fr; gap: 3rem; }
  .si-chart.si-mini { max-width: 260px; font-size: 0.68rem; }
}

/* ============================================================
   BLUEPRINT WITH PHOTO
   ============================================================ */
.blueprint-with-photo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}
.blueprint-with-photo .blueprint-inner {
  max-width: none;
  margin: 0;
  padding: 0;
  text-align: left;
}
.blueprint-with-photo .blueprint-inner h2,
.blueprint-with-photo .blueprint-inner p,
.blueprint-with-photo .blueprint-inner .section-label { text-align: left; }
.blueprint-photo { position: relative; }
.bp-photo-img {
  width: 100%;
  border-radius: 20px;
  display: block;
  box-shadow: 0 0 60px rgba(245,197,24,0.12), 0 20px 60px rgba(30,64,175,0.12);
}
.bp-photo-portrait { max-width: 420px; margin: 0 auto; }
@media (max-width: 900px) {
  .blueprint-with-photo { grid-template-columns: 1fr; gap: 2.5rem; }
  .blueprint-photo-right .blueprint-photo { order: -1; }
  .bp-photo-portrait { max-width: 320px; }
}

/* article-img real photo */
.article-img-photo {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}

/* btn-primary for blog CTAs */
.btn-primary,
.blog-post a.btn-primary,
.subpage-hero .blog-post a.btn-primary {
  display: inline-block;
  padding: 0.9rem 2rem;
  background: linear-gradient(135deg, #F5C518, #FFE066, #D4A017);
  color: #0A1424 !important;
  font-family: 'Cinzel', 'Cormorant Garamond', serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none !important;
  border-radius: 50px;
  text-shadow: none;
  box-shadow: 0 4px 18px rgba(245,197,24,0.35);
  transition: box-shadow 0.3s, transform 0.2s, color 0.2s;
}
.btn-primary:hover,
.blog-post a.btn-primary:hover {
  box-shadow: 0 8px 32px rgba(245,197,24,0.55);
  transform: translateY(-2px);
  color: #050A18 !important;
}

/* rashi planet abbr */
.rashi-planet-abbr {
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

/* ============================================================
   BLOG ARTICLES PAGE — blog.html specific overrides
   ============================================================ */
.articles-section.blog-page-section {
  background: var(--page-bg) !important;
  padding: 4rem 0 6rem !important;
}

/* ============================================================
   SCROLL PROGRESS BAR — золотая 2px линия наверху
   ============================================================ */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--gold-dim), var(--gold-light), var(--gold));
  background-size: 200% 100%;
  z-index: 200;
  transition: width 0.1s linear;
  pointer-events: none;
  box-shadow: 0 1px 6px rgba(245,197,24,0.45);
}

/* ============================================================
   PLANETS CTA — после planets-grid
   ============================================================ */
.planets-cta {
  text-align: center;
  margin-top: 3.5rem;
  padding: 2rem 1.5rem;
  background: rgba(255,255,255,0.65);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}
.planets-cta p {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  color: var(--text);
  margin-bottom: 1.25rem;
  line-height: 1.4;
}
.planets-cta p em { color: var(--gold); font-weight: 500; }
.planets-cta-explain {
  font-family: 'Inter', sans-serif !important;
  font-size: 0.95rem !important;
  color: var(--text-dim) !important;
  line-height: 1.65 !important;
  max-width: 540px;
  margin: 0 auto 1.5rem !important;
}
.planets-cta-explain strong { color: var(--gold-dim); font-weight: 600; }

/* insights — evergreen icon variant */
.insights-lede {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
  font-size: 1.02rem;
  color: var(--text-dim);
  line-height: 1.7;
}
.insights-lede strong { color: var(--gold-dim); font-weight: 600; }

.insights-evergreen .insight-item .insight-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--hero-bg), var(--hero-mid));
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
  border: 1px solid rgba(245,197,24,0.30);
  box-shadow: 0 4px 16px rgba(15,27,51,0.18);
}

/* newsletter trust */
.newsletter-trust {
  text-align: center;
  font-size: 0.78rem;
  color: rgba(237,224,200,0.7);
  letter-spacing: 0.02em;
  margin-top: 1rem;
  font-family: 'Inter', sans-serif;
}

/* ============================================================
   TESTIMONIALS SECTION — отзывы клиентов
   ============================================================ */
.testimonials-section {
  padding: 5rem 0 6rem;
  background: var(--surface-warm);
  position: relative;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}
@media (max-width: 768px) {
  .testimonials-grid { grid-template-columns: 1fr; gap: 1.5rem; }
}

.testimonial-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 2.5rem 2rem 2rem;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition);
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.testimonial-quote-mark {
  position: absolute;
  top: -12px; left: 24px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 5rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
  opacity: 0.55;
  pointer-events: none;
}
.testimonial-stars {
  color: var(--gold);
  font-size: 1.05rem;
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
}
.testimonial-text {
  font-family: 'Playfair Display', 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 1.75rem;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(245,197,24,0.15);
}
.testimonial-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: #1A1730;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.04em;
  flex-shrink: 0;
  box-shadow: 0 2px 10px rgba(245,197,24,0.30);
}
.testimonial-meta { display: flex; flex-direction: column; gap: 2px; }
.testimonial-meta strong {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  color: var(--text);
  font-weight: 600;
}
.testimonial-meta span {
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

/* ============================================================
   ABOUT SECTION — Эдуард Миронов
   ============================================================ */
.about-section {
  padding: 5rem 0 6rem;
  background: var(--page-bg);
}
.about-grid {
  display: grid;
  grid-template-columns: minmax(280px, 360px) 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}
@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-photo { max-width: 320px; margin: 0 auto; }
}
.about-photo {
  text-align: center;
  position: relative;
}
.about-photo-img {
  width: 100%;
  max-width: 360px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid var(--surface);
  box-shadow:
    0 0 0 1px var(--gold),
    0 12px 50px rgba(30,64,175,0.18),
    0 0 60px rgba(245,197,24,0.12);
  margin-bottom: 1.25rem;
}
.about-photo-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.02em;
}
.about-photo-years {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 6px;
}
.about-text h2 { margin-bottom: 1.5rem; }
.about-text p {
  font-size: 1.02rem;
  line-height: 1.78;
  color: var(--text-dim);
  margin-bottom: 1rem;
}
.about-text p strong { color: var(--text); font-weight: 600; }
.about-credentials {
  list-style: none;
  padding: 1.5rem 0 1.75rem;
  margin: 0;
}
.about-credentials li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.55rem 0;
  font-size: 0.98rem;
  color: var(--text);
  line-height: 1.6;
}
.credential-mark {
  color: var(--gold);
  font-size: 0.85rem;
  margin-top: 4px;
  flex-shrink: 0;
}

/* ============================================================
   EXIT INTENT POPUP
   ============================================================ */
.exit-popup {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.exit-popup.visible { display: flex; }
.exit-popup-backdrop {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: rgba(20,15,40,0.65);
  backdrop-filter: blur(6px);
  animation: fadeIn 0.3s ease-out;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes popIn {
  from { opacity: 0; transform: translateY(20px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.exit-popup-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 480px;
  background: var(--surface);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem 2rem;
  box-shadow:
    0 30px 80px rgba(0,0,0,0.35),
    0 0 0 1px rgba(245,197,24,0.20);
  text-align: center;
  animation: popIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.exit-popup-close {
  position: absolute;
  top: 12px; right: 14px;
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(245,197,24,0.25);
  background: transparent;
  color: var(--text-muted);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  transition: all 0.2s ease;
}
.exit-popup-close:hover {
  background: var(--gold-pale);
  color: var(--gold);
  border-color: var(--gold);
}
.exit-popup-icon {
  font-size: 2.2rem;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.exit-popup-eyebrow {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-bottom: 0.5rem;
}
.exit-popup-card h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 0.75rem;
  line-height: 1.2;
  color: var(--text);
}
.exit-popup-card h2 em { color: var(--gold); font-style: italic; }
.exit-popup-text {
  color: var(--text-dim);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}
.exit-popup-form {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1rem;
}
.exit-popup-form input {
  padding: 0.85rem 1.1rem;
  background: rgba(255,255,255,0.85);
  border: 1.5px solid rgba(245,197,24,0.25);
  border-radius: 12px;
  color: var(--text);
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  transition: all 0.25s ease;
}
.exit-popup-form input:focus {
  outline: none;
  border-color: rgba(245,197,24,0.6);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(245,197,24,0.10);
}
.exit-popup-form input::placeholder { color: var(--text-muted); }
.exit-popup-form button {
  margin-top: 0.4rem;
  padding: 1rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: #1A1730;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-family: 'Inter', sans-serif;
  transition: all 0.3s ease;
}
.exit-popup-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(245,197,24,0.30);
}
.exit-popup-trust {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

/* ============================================================
   CINZEL для H1 / H2 — премиум sacred typography
   ============================================================ */
.hero-title,
.section-title,
.testimonials-section h2,
.about-text h2,
.exit-popup-card h2 {
  font-family: 'Cinzel', 'Cormorant Garamond', serif;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.hero-title em,
.section-title em,
.testimonials-section h2 em,
.about-text h2 em,
.exit-popup-card h2 em {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  letter-spacing: 0;
  font-weight: 500;
}

/* ============================================================
   SUBPAGE HERO — короткий hero для не-главных страниц
   ============================================================ */
.subpage-hero {
  padding: 9rem 0 5rem;
  text-align: center;
  position: relative;
  background:
    linear-gradient(180deg,
      rgba(15,27,51,0.92) 0%,
      rgba(15,27,51,0.78) 40%,
      rgba(15,27,51,0.55) 80%,
      var(--page-bg) 100%),
    url('/img/hero-cosmos.webp') center / cover no-repeat,
    var(--hero-bg);
  color: var(--text-hero);
  overflow: hidden;
}
.subpage-hero .hero-eyebrow {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.subpage-hero .hero-title {
  font-family: 'Cinzel', 'Cormorant Garamond', serif;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text-hero);
  margin-bottom: 1rem;
}
.subpage-hero .hero-title em {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--gold);
  font-weight: 500;
}
.subpage-hero .hero-sub {
  max-width: 640px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-hero-dim);
}
@media (max-width: 768px) {
  .subpage-hero {
    background-image:
      linear-gradient(180deg,
        rgba(15,27,51,0.92) 0%,
        rgba(15,27,51,0.78) 40%,
        rgba(15,27,51,0.55) 80%,
        var(--page-bg) 100%),
      url('/img/hero-cosmos-mobile.webp');
  }
}

.content-section { padding: 5rem 0; }
.container-narrow { max-width: 880px; margin: 0 auto; padding: 0 24px; }

/* ============================================================
   TRAINING — module cards (М1 + М2)
   ============================================================ */
.training-modules {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto 3rem;
}
@media (max-width: 880px) {
  .training-modules { grid-template-columns: 1fr; }
}
.training-module-card {
  background: var(--surface);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}
.training-module-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.module-card-badge {
  display: inline-block;
  align-self: flex-start;
  padding: 0.4rem 1rem;
  background: rgba(30,64,175,0.10);
  color: #1E40AF;
  border: 1px solid rgba(30,64,175,0.25);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.module-card-badge.advanced {
  background: rgba(245,197,24,0.12);
  color: #D4A017;
  border-color: rgba(245,197,24,0.35);
}
.training-module-card h3 {
  font-family: 'Cinzel', 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  line-height: 1.25;
  color: var(--text);
  margin-bottom: 0.5rem;
  font-weight: 500;
}
.module-card-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--gold-dim);
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
  line-height: 1.4;
}
.module-card-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  padding: 1rem;
  background: var(--surface-warm);
  border-radius: 12px;
  margin-bottom: 1.5rem;
}
.module-stat {
  text-align: center;
  display: flex;
  flex-direction: column;
}
.module-stat strong {
  font-family: 'Cinzel', serif;
  font-size: 1.4rem;
  color: var(--gold);
  font-weight: 600;
}
.module-stat span {
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-top: 2px;
}
.module-card-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  flex: 1;
}
.module-card-features li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.6rem;
  color: var(--text-dim);
  font-size: 0.95rem;
  line-height: 1.55;
}
.module-card-features li::before {
  content: "✦";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold);
  font-size: 0.85rem;
}
.module-card-price {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  padding: 1rem 0;
  border-top: 1px solid rgba(245,197,24,0.18);
  border-bottom: 1px solid rgba(245,197,24,0.18);
  margin-bottom: 1.5rem;
}
.price-amount {
  font-family: 'Cinzel', serif;
  font-size: 2.4rem;
  color: var(--gold);
  font-weight: 600;
  line-height: 1;
}
.price-per {
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}
.module-card-ctas {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.module-card-ctas .btn { flex: 1 1 auto; min-width: 130px; }

/* Bundle */
.training-bundle {
  display: flex;
  align-items: center;
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 2.5rem 3rem;
  background: linear-gradient(135deg, var(--hero-bg), var(--hero-mid));
  color: var(--text-hero);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(245,197,24,0.30);
  box-shadow: 0 16px 50px rgba(15,27,51,0.20), 0 0 0 1px rgba(245,197,24,0.18);
  position: relative;
  overflow: hidden;
}
.training-bundle::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 90% 50%, rgba(245,197,24,0.18), transparent 60%);
  pointer-events: none;
}
.bundle-icon {
  flex: 0 0 auto;
  font-size: 3.5rem;
  color: var(--gold);
  text-shadow: 0 0 30px rgba(245,197,24,0.6);
  z-index: 1;
}
.bundle-body { flex: 1; z-index: 1; min-width: 0; }
.bundle-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.training-bundle h3 {
  font-family: 'Cinzel', 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  color: #fff;
  margin-bottom: 0.5rem;
  font-weight: 500;
}
.training-bundle p {
  color: var(--text-hero-dim);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  line-height: 1.6;
}
.bundle-price-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.bundle-price { display: flex; align-items: baseline; gap: 0.75rem; flex-wrap: wrap; }
.bundle-was {
  font-family: 'Cinzel', serif;
  font-size: 1.4rem;
  color: rgba(237,224,200,0.55);
  text-decoration: line-through;
}
.bundle-now {
  font-family: 'Cinzel', serif;
  font-size: 2.6rem;
  color: var(--gold);
  font-weight: 600;
  line-height: 1;
}
.bundle-save {
  display: inline-block;
  padding: 0.3rem 0.75rem;
  background: rgba(245,197,24,0.18);
  color: var(--gold-light);
  border: 1px solid rgba(245,197,24,0.35);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}
@media (max-width: 760px) {
  .training-bundle { flex-direction: column; text-align: center; padding: 2rem 1.5rem; }
  .bundle-price-row { justify-content: center; }
}

/* Format list */
.format-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
.format-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(30,64,175,0.06);
}
.format-list li strong { color: var(--text); font-weight: 600; }
.format-list li > div {
  color: var(--text-dim);
  line-height: 1.6;
  font-size: 0.98rem;
}
.format-icon {
  flex: 0 0 auto;
  font-size: 1.5rem;
  width: 44px; height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-warm);
  border-radius: 10px;
}

/* Why list */
.why-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
.why-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}
.why-num {
  flex: 0 0 auto;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: #1A1730;
  font-family: 'Cinzel', serif;
  font-weight: 600;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.why-item h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  color: var(--text);
  margin-bottom: 0.4rem;
  font-weight: 600;
}
.why-item p {
  color: var(--text-dim);
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Final CTA */
.final-cta-section {
  padding: 4rem 0 6rem;
  background: var(--page-bg);
}
.final-cta-card {
  text-align: center;
  padding: 3rem 2rem;
  background: var(--surface);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}
.final-cta-card .quote-ornament {
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 1rem;
}
.final-cta-card h2 {
  font-family: 'Cinzel', 'Cormorant Garamond', serif;
  margin-bottom: 1rem;
  font-weight: 500;
}
.final-cta-card h2 em {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--gold);
}
.final-cta-card p {
  max-width: 540px;
  margin: 0 auto;
  color: var(--text-dim);
  line-height: 1.7;
}
.cta-strip {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ============================================================
   TRAINING — детальная программа (для module-1, module-2)
   ============================================================ */
.lesson-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
.lesson-card {
  display: flex;
  gap: 1.5rem;
  padding: 1.75rem;
  background: var(--surface);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.lesson-card:hover { border-color: var(--glass-hover); box-shadow: var(--shadow-hover); }
.lesson-num {
  flex: 0 0 auto;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--hero-bg), var(--hero-mid));
  color: var(--gold);
  border: 1px solid rgba(245,197,24,0.30);
  font-family: 'Cinzel', serif;
  font-weight: 600;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lesson-body { flex: 1; min-width: 0; }
.lesson-body h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  color: var(--text);
  margin-bottom: 0.3rem;
  font-weight: 600;
}
.lesson-body .lesson-subtitle {
  font-style: italic;
  color: var(--gold-dim);
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}
.lesson-body ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.lesson-body ul li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.4rem;
  color: var(--text-dim);
  font-size: 0.92rem;
  line-height: 1.5;
}
.lesson-body ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 1rem;
}
@media (max-width: 600px) {
  .lesson-card { flex-direction: column; gap: 1rem; }
}

/* Audience list (✓ items) */
.audience-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  display: grid;
  gap: 0.75rem;
}
.audience-list li {
  position: relative;
  padding-left: 2rem;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.6;
}
.audience-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold);
  font-weight: 700;
  font-size: 1.1rem;
}

/* Signup form (training/signup.html) */
.signup-form {
  max-width: 540px;
  margin: 0 auto;
  padding: 2.5rem 2rem;
  background: var(--surface);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.signup-form label {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--gold-dim);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: -0.5rem;
}
.signup-form input,
.signup-form select,
.signup-form textarea {
  padding: 1rem 1.25rem;
  background: rgba(255,255,255,0.85);
  border: 1.5px solid rgba(245,197,24,0.25);
  border-radius: 12px;
  color: var(--text);
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  transition: all 0.25s ease;
}
.signup-form input:focus,
.signup-form select:focus,
.signup-form textarea:focus {
  outline: none;
  border-color: rgba(245,197,24,0.6);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(245,197,24,0.10);
}
.signup-form textarea { resize: vertical; min-height: 100px; }
.signup-form button {
  margin-top: 0.5rem;
  padding: 1.1rem;
  font-size: 1rem;
  font-weight: 600;
  background: linear-gradient(135deg, var(--gold), var(--gold-light), var(--gold-dim));
  color: #1A1730;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-family: 'Inter', sans-serif;
}
.signup-form button:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(245,197,24,0.35); }
.signup-form-trust {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 1rem;
}
.signup-alt {
  text-align: center;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--glass-border);
  color: var(--text-dim);
}
.signup-alt p { margin-bottom: 0.75rem; }

/* ============================================================
   FAQ section — accordion с native <details>
   ============================================================ */
.faq-section {
  padding: 5rem 0 6rem;
  background: var(--surface-warm);
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1rem;
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: border-color var(--transition);
}
.faq-item[open] { border-color: var(--glass-hover); box-shadow: var(--shadow-hover); }
.faq-item summary {
  padding: 1.4rem 3rem 1.4rem 1.5rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  position: relative;
  transition: color var(--transition);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--gold-pale);
  color: var(--gold-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 600;
  transition: all 0.3s ease;
}
.faq-item[open] summary::after {
  content: "−";
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: #1A1730;
  transform: translateY(-50%) rotate(180deg);
}
.faq-item summary:hover { color: var(--gold-dim); }
.faq-item .faq-answer {
  padding: 0 1.5rem 1.5rem;
  color: var(--text-dim);
  line-height: 1.75;
  font-size: 0.98rem;
}
.faq-item .faq-answer p { margin-bottom: 0.85rem; }
.faq-item .faq-answer p:last-child { margin-bottom: 0; }
.faq-item .faq-answer ul {
  margin: 0.75rem 0;
  padding-left: 1.5rem;
}
.faq-item .faq-answer ul li {
  margin-bottom: 0.4rem;
  color: var(--text-dim);
}
.faq-item .faq-answer code {
  background: var(--surface-warm);
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  font-family: 'Inter', monospace;
  font-size: 0.88em;
  color: var(--gold-dim);
}
.faq-cta { font-size: 1rem; color: var(--text-dim); }

/* ============================================================
   BLOG POST INSIDE subpage-hero — fix старых blog статей
   Cosmos фон только в верхних 520px, дальше белый
   ============================================================ */
.subpage-hero:has(.blog-post) {
  padding: 7rem 0 4rem !important;
  background:
    linear-gradient(180deg,
      rgba(15,27,51,0.92) 0%,
      rgba(15,27,51,0.78) 8%,
      rgba(15,27,51,0.55) 14%,
      rgba(15,27,51,0.30) 18%,
      transparent 22%,
      var(--page-bg) 28%,
      var(--page-bg) 100%) no-repeat top center / 100% 100%,
    url('/img/hero-cosmos.webp') no-repeat top center / 100% 520px,
    var(--page-bg);
  color: var(--text);
}
@media (max-width: 768px) {
  .subpage-hero:has(.blog-post) {
    background:
      linear-gradient(180deg,
        rgba(15,27,51,0.92) 0%,
        rgba(15,27,51,0.78) 10%,
        rgba(15,27,51,0.55) 16%,
        rgba(15,27,51,0.30) 22%,
        transparent 28%,
        var(--page-bg) 36%,
        var(--page-bg) 100%) no-repeat top center / 100% 100%,
      url('/img/hero-cosmos-mobile.webp') no-repeat top center / 100% 420px,
      var(--page-bg);
  }
}

/* Содержимое статьи — карточка на белом фоне с тёмным текстом */
.subpage-hero .blog-post {
  max-width: 760px;
  margin: 1.5rem auto 0;
  padding: 2.5rem clamp(1.25rem, 3vw, 2.5rem);
  background: var(--surface);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  color: var(--text);
}
.subpage-hero .blog-post h1,
.subpage-hero .blog-post h2,
.subpage-hero .blog-post h3,
.subpage-hero .blog-post h4 { color: var(--text); }
.subpage-hero .blog-post h2 {
  font-family: 'Cinzel', 'Cormorant Garamond', serif;
  font-size: clamp(1.4rem, 2.6vw, 1.85rem);
  margin: 2rem 0 0.85rem;
  font-weight: 500;
}
.subpage-hero .blog-post h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  margin: 1.5rem 0 0.5rem;
  font-weight: 600;
}
.subpage-hero .blog-post p {
  color: var(--text-dim);
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 1rem;
}
.subpage-hero .blog-post p strong { color: var(--text); font-weight: 600; }
.subpage-hero .blog-post p em { color: var(--gold-dim); font-style: italic; }
.subpage-hero .blog-post ul,
.subpage-hero .blog-post ol {
  color: var(--text-dim);
  margin: 0.5rem 0 1rem;
  padding-left: 1.5rem;
}
.subpage-hero .blog-post ul li,
.subpage-hero .blog-post ol li {
  margin-bottom: 0.5rem;
  line-height: 1.7;
}
.subpage-hero .blog-post a:not(.back-link):not(.btn) {
  color: var(--gold-dim);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.subpage-hero .blog-post a:hover { color: var(--gold); }
.subpage-hero .blog-post .back-link {
  display: inline-block;
  color: var(--gold);
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  text-decoration: none;
  margin-bottom: 1.5rem;
  font-weight: 500;
}
.subpage-hero .blog-post .back-link:hover { color: var(--gold-light); }
.subpage-hero .blog-post .post-meta {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin: 1.25rem 0;
  flex-wrap: wrap;
}
.subpage-hero .blog-post .post-tag {
  display: inline-block;
  padding: 0.25rem 0.85rem;
  background: var(--gold-pale);
  color: var(--gold-dim);
  border: 1px solid rgba(245,197,24,0.25);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.subpage-hero .blog-post .post-read-time {
  color: var(--text-muted);
  font-size: 0.85rem;
}
.subpage-hero .blog-post .post-hero {
  border-radius: var(--radius);
  margin-bottom: 1rem;
  height: 220px;
  overflow: hidden;
}
.subpage-hero .blog-post hr {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
  margin: 2rem 0;
}
/* Cards inside blog (related articles, etc.) */
.subpage-hero .blog-post .related-articles a {
  text-decoration: none !important;
}

/* ── EN version paused 2026-06-24 — hide RU/EN language switcher until English is ready.
   Re-launch English: remove this rule + remove noindex from en/index.html + restore hreflang + /en/ in sitemap. ── */
.nav-lang { display: none !important; }

