:root {
  --bg-main: #120c08;
  --color-gold: #d4af37;
  --color-gold-glow: rgba(212, 175, 55, 0.45);
  --text-creme: #f5f0e8;
  --text-muted: #ddd0bc;
  --font-serif: 'Georgia', serif;
  --font-sans: 'Arial', sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-main);
  color: var(--text-creme);
  font-family: var(--font-sans);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ЛОГИКА ДИНАМИЧЕСКИХ СТРАНИЦ SPA */
.content-section {
  display: none;
  width: 100%;
}

.content-section.section-active {
  display: block;
  animation: fadeIn 0.4s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ОФОРМЛЕНИЕ ВНУТРЕННИХ СТРАНИЦ */
.inner-page-wrapper {
  padding: 160px 8% 80px 8%;
  min-height: 80vh;
  background: radial-gradient(circle at 50% -20%, #2b1008 0%, #120c08 60%);
}

.page-title {
  font-family: var(--font-serif);
  font-size: 3rem;
  color: var(--color-gold);
  margin-bottom: 30px;
  text-shadow: 0 0 20px var(--color-gold-glow);
  font-weight: normal;
}

.page-placeholder {
  font-size: 1.1rem;
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.6;
}

/* ШАПКА САЙТА (Десктоп) */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 4%;
  background: transparent;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo-icon-container {
  width: 38px;
  height: 38px;
  border: 1px solid var(--color-gold);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--color-gold-glow);
  flex-shrink: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(18, 12, 8, 0.5);
}

.logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.logo-text {
  display: flex;
  flex-direction: column;
  text-align: center;
}

.logo-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--text-creme);
  letter-spacing: 2px;
  line-height: 1.2;
  font-weight: normal;
}

.logo-subtitle {
  font-size: 0.68rem;
  color: var(--text-muted);
  letter-spacing: 0.8px;
  margin-top: 4px;
  line-height: 1.2;
}

/* ВЕРХНЕЕ МЕНЮ */
.header-nav {
  display: flex;
  gap: 32px;
}

.header-nav a {
  color: #ffffff;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: bold;
  letter-spacing: 0.8px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9);
  transition: all 0.3s ease;
  opacity: 0.85;
  cursor: pointer;
}

.header-nav a:hover, 
.header-nav a.nav-active {
  color: var(--color-gold);
  opacity: 1;
  text-shadow: 0 0 10px var(--color-gold-glow);
}

.btn-cabinet {
  border: 1px solid var(--color-gold);
  padding: 9px 22px;
  border-radius: 20px;
  color: var(--color-gold);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: bold;
  background: rgba(18, 12, 8, 0.7);
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
  transition: all 0.3s;
}

.btn-cabinet:hover {
  background: var(--color-gold);
  color: var(--bg-main);
  box-shadow: 0 0 18px var(--color-gold);
}

/* СЕКЦИЯ HERO */
.hero {
  position: relative;
  width: 100%;
  height: 95vh;
  min-height: 750px;
  overflow: hidden;
  background: #120c08;
  background-image: linear-gradient(to bottom, #2b1008 0%, #1c0a05 45%, #120c08 100%);
}

.hero-bg-panorame {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 85% 30%, rgba(254, 150, 42, 0.25) 0%, transparent 50%);
  opacity: 0.8;
  z-index: 1;
}

.hero-content {
  position: absolute;
  left: 8%;
  top: 52%;
  transform: translateY(-50%);
  width: 38%;
  text-align: left;
  z-index: 5;
}

.hero-tagline {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
  margin-bottom: 25px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 4.8rem;
  font-weight: normal;
  letter-spacing: 3px;
  line-height: 0.95;
  color: var(--color-gold);
  margin-bottom: 30px;
  text-shadow: 0 0 30px rgba(212, 175, 55, 0.45), 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.hero-subtitle {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  line-height: 1.5;
  color: var(--text-creme);
  margin-bottom: 40px;
  opacity: 0.9;
}

.hero-buttons {
  display: flex;
  gap: 15px;
}

.hero-buttons .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: bold;
  transition: all 0.3s ease;
}

.btn-gold {
  background: var(--color-gold);
  color: #120c08;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-gold:hover {
  background: var(--text-creme);
  box-shadow: 0 0 25px rgba(212, 175, 55, 0.6);
}

.btn-outline {
  border: 1px solid rgba(245, 240, 232, 0.4);
  color: var(--text-creme);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(4px);
}

.btn-outline:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
  box-shadow: 0 0 15px var(--color-gold-glow);
}

.btn-arrow {
  margin-left: 8px;
  font-size: 1rem;
  transition: transform 0.2s;
}

.btn:hover .btn-arrow {
  transform: translateX(4px);
}

/* ЦЕНТРАЛЬНЫЙ БЛОК */
.hero-center-piece {
  position: absolute;
  left: 51%;
  top: 45%;
  transform: translate(-50%, -50%);
  width: 380px;
  height: 450px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 4;
}

.dharma-wheel {
  width: 320px;
  height: 320px;
  border: 6px double var(--color-gold);
  border-radius: 50%;
  background: rgba(26, 17, 10, 0.4);
  backdrop-filter: blur(2px);
  box-shadow: inset 0 0 40px rgba(0,0,0,0.9), 0 0 40px rgba(212, 175, 55, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.wheel-center-om {
  font-size: 2.5rem;
  color: var(--color-gold);
  text-shadow: 0 0 15px var(--color-gold);
  opacity: 0.85;
}

.dharma-wheel-glow {
  position: absolute;
  top: 40px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.2) 0%, transparent 70%);
  z-index: -1;
}

.hero-banner {
  margin-top: -15px;
  border: 1px solid var(--color-gold);
  padding: 10px 24px;
  background: #1a110a;
  color: var(--color-gold);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  white-space: nowrap;
  box-shadow: 0 10px 25px rgba(0,0,0,0.8), 0 0 15px var(--color-gold-glow);
  position: relative;
  z-index: 2;
}

.candle {
  position: absolute;
  bottom: 65px;
  width: 6px;
  height: 15px;
  background: #5a2e16;
}

.candle::after {
  content: '';
  position: absolute;
  top: -6px;
  left: 1px;
  width: 4px;
  height: 6px;
  background: #ff962a;
  border-radius: 50%;
  box-shadow: 0 0 8px #ff962a;
}

.candle-left { left: 10px; }
.candle-right { right: 10px; }

/* ПРАВЫЙ БЛОК */
.hero-bear-piece {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 32%;
  height: 80%;
  z-index: 3;
  pointer-events: none;
}

.bear-silhouette {
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, #120c08 20%, rgba(30, 20, 12, 0.85) 70%, transparent 100%);
  border-radius: 50% 0 0 0 / 20% 0 0 0;
  box-shadow: inset 40px 0 50px rgba(0,0,0,0.7);
}

/* ЛЕНТА ПРЕИМУЩЕСТВ */
.features-line {
  background: #0d0805;
  border-top: 1px solid rgba(212, 175, 55, 0.15);
  border-bottom: 1px solid rgba(212, 175, 55, 0.1);
  padding: 30px 4%;
}

.features-line .container-fluid {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  width: 23%;
}

.feature-icon {
  width: 32px;
  height: 32px;
  border: 1px dashed var(--color-gold);
  border-radius: 4px;
  flex-shrink: 0;
  opacity: 0.7;
}

.feature-text h3 {
  font-size: 0.9rem;
  color: var(--text-creme);
  margin-bottom: 5px;
  font-weight: 600;
}

.feature-text p {
  font-size: 0.75rem;
  color: #a69988;
  line-height: 1.4;
}

/* СЕТКА С КАРТОЧКАМИ */
.sections-grid {
  padding: 60px 4%;
  background: var(--bg-main);
}

.grid-container {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.grid-card {
  position: relative;
  width: 24%;
  height: 280px;
  background: #18110b;
  border: 1px solid rgba(212, 175, 55, 0.08);
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), border-color 0.3s;
  cursor: pointer;
}

.card-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent 30%, rgba(10, 6, 3, 0.95) 85%);
  z-index: 1;
}

.grid-card:hover {
  transform: translateY(-5px);
  border-color: rgba(212, 175, 55, 0.3);
  box-shadow: 0 10px 30px rgba(0,0,0,0.7);
}

.card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 25px 20px;
  z-index: 2;
}

.card-content h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--text-creme);
  margin-bottom: 10px;
  font-weight: normal;
}

.card-content p {
  font-size: 0.78rem;
  color: #bfae99;
  line-height: 1.4;
  margin-bottom: 15px;
  height: 40px;
  overflow: hidden;
}

.card-link {
  font-size: 0.75rem;
  color: var(--color-gold);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color 0.2s;
}

.card-link:hover {
  color: var(--text-creme);
}

.card-link .arrow {
  font-size: 1rem;
  line-height: 1;
}

/* ==========================================================================
   6. УСИЛЕННЫЙ МОБИЛЬНЫЙ АДАПТИВ (ДЛЯ ЭКРАНОВ СМАРТФОНОВ)
   ========================================================================== */

@media (max-width: 1100px) {
  .site-header {
    flex-direction: column;
    gap: 15px;
relative;background: rgba(18, 12, 8, 0.95);padding: 20px 4%;}.header-nav {gap: 15px;flex-wrap: wrap;justify-content: center;}.hero {height: auto;min-height: auto;padding: 60px 4% 80px 4%;display: flex;flex-direction: column;align-items: center;}.hero-content {position: relative;left: 0; top: 0;transform: none;width: 100%;text-align: center;margin-bottom: 50px;}.hero-title {font-size: 3.5rem;}.hero-buttons {justify-content: center;}.hero-center-piece {position: relative;left: 0; top: 0;transform: none;margin: 0 auto;}.hero-bear-piece {display: none;}.features-line .container-fluid,.grid-container {flex-wrap: wrap;gap: 20px;}.feature-item,.grid-card {width: 48%;}}/* Жесткие правила для экранов мобильных телефонов (ширина меньше 650px) */@media (max-width: 650px) {.site-header {padding: 15px 10px;}.header-logo {flex-direction: column;gap: 8px;text-align: center;}.logo-text {align-items: center;}.logo-title {font-size: 1.15rem;}.logo-subtitle {font-size: 0.6rem;max-width: 250px;}.header-nav {gap: 10px;padding: 5px 0;}.header-nav a {font-size: 0.82rem;letter-spacing: 0.3px;}.btn-cabinet {width: 100%;text-align: center;padding: 8px 0;font-size: 0.85rem;}.hero {padding: 40px 15px 60px 15px;}.hero-content {margin-bottom: 35px;}.hero-tagline {font-size: 0.65rem;letter-spacing: 1px;margin-bottom: 15px;}.hero-title {font-size: 2.5rem; /* Аккуратный сжатый заголовок */line-height: 1.0;margin-bottom: 20px;}.hero-subtitle {font-size: 1.05rem;margin-bottom: 30px;}.hero-buttons {flex-direction: column;width: 100%;gap: 12px;}.hero-buttons .btn {width: 100%;padding: 14px 0;}/* Масштабирование Колеса Дхармы на маленьких экранах */.hero-center-piece {width: 100%;height: auto;}.dharma-wheel {width: 250px;height: 250px;}.dharma-wheel-glow {width: 250px;height: 250px;top: 0;}.wheel-center-om {font-size: 2rem;}.hero-banner {margin-top: 15px;padding: 8px 15px;font-size: 0.6rem;white-space: normal; /* Разрешаем перенос длинного текста */text-align: center;line-height: 1.3;}.candle {display: none; /* Убираем микроскопические свечи, чтобы не забивать мобильный экран */}.feature-item,.grid-card {width: 100% !important; /* Всё строго в одну колонку */}.inner-page-wrapper {padding: 40px 15px;}.page-title {font-size: 2rem;}}