*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Мистическая глубокая палитра */
  --deep-purple: #4A1C6B;
  --royal-purple: #6B2D9B;
  --mystic-violet: #8B4DC8;
  --gold: #D4A520;
  --gold-bright: #F5C842;
  --gold-dark: #B8860B;
  --dark: #0D0A15;
  --dark-purple: #1A0F25;
  --midnight: #150D20;
  --white: #FFFFFF;
  --cream: #FFF8E7;
  --silver: #C5B8D4;
  --text-light: #E8E0F0;
  --text-muted: #A89BC0;
}

html {
  scroll-behavior: smooth;
}

/* Отступ для якорей с учётом фиксированного хедера */
section[id] {
  scroll-margin-top: 160px;
}

#hero {
  scroll-margin-top: 160px;
}

body {
  font-family: 'Montserrat', system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.7;
  font-size: 1.3rem;
  color: var(--dark);
  background: var(--cream);
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.header {
  background: linear-gradient(135deg, var(--dark-purple) 0%, var(--deep-purple) 100%);
  padding: 18px 0;
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 3px solid var(--gold);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--gold-bright);
  text-shadow: 0 2px 10px rgba(212, 165, 32, 0.3);
}

.tagline {
  font-size: 1.3rem;
  letter-spacing: 0.4em;
  margin-top: 6px;
  color: var(--silver);
  text-transform: uppercase;
  font-weight: 400;
}

.nav {
  margin-top: 14px;
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.nav a {
  color: var(--text-light);
  text-decoration: none;
  font-size: 1.3rem;
  font-weight: 500;
  transition: all 0.3s;
}

.nav a:hover {
  color: var(--gold-bright);
  text-shadow: 0 0 10px rgba(212, 165, 32, 0.5);
}

/* Language Switcher */
.lang-switch {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}

.lang-btn {
  background: transparent;
  border: 2px solid var(--gold);
  color: var(--gold);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  font-family: inherit;
}

.lang-btn:hover {
  background: rgba(212, 165, 32, 0.2);
}

.lang-btn.active {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--dark);
}

/* Hero */
.hero {
  background: linear-gradient(180deg, var(--deep-purple) 0%, var(--midnight) 50%, var(--dark-purple) 100%);
  padding: 45px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at center, rgba(139, 77, 200, 0.15) 0%, transparent 70%);
}

.hero h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.8rem;
  font-weight: 500;
  margin-bottom: 12px;
  color: var(--gold-bright);
  text-shadow: 0 2px 15px rgba(212, 165, 32, 0.4);
  position: relative;
}

.hero-photo {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  margin-bottom: 25px;
  border: 4px solid var(--gold);
  box-shadow: 0 0 30px rgba(212, 165, 32, 0.4), 0 8px 40px rgba(0, 0, 0, 0.5);
  position: relative;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-light);
  max-width: 500px;
  margin: 0 auto;
  position: relative;
}

/* Section Title */
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem;
  font-weight: 500;
  text-align: center;
  margin-bottom: 15px;
  color: var(--deep-purple);
}

.section-title::after {
  content: '✦';
  display: block;
  font-size: 1.2rem;
  color: var(--gold);
  margin: 10px auto 0;
}

.section-intro {
  text-align: center;
  color: #5A4A6A;
  max-width: 650px;
  margin: 0 auto 25px;
  font-size: 1.3rem;
}

.subsection-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-weight: 500;
  text-align: center;
  margin: 30px 0 18px;
  color: var(--deep-purple);
}

.subsection-desc {
  text-align: center;
  color: #6A5A7A;
  margin-bottom: 18px;
  font-size: 1.3rem;
}

/* Section Block */
.section-block {
  padding: 40px 0;
  background: var(--cream);
}

.section-block.alt {
  background: linear-gradient(180deg, #F5EFE0 0%, var(--cream) 100%);
}

/* Video Section */
.qigong-videos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-bottom: 25px;
}

.video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 6px 25px rgba(74, 28, 107, 0.25);
  border: 2px solid var(--royal-purple);
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Qigong Info Gallery */
.qigong-info-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-bottom: 30px;
}

.info-card {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(74, 28, 107, 0.2);
  transition: all 0.3s;
  border: 2px solid transparent;
  cursor: pointer;
}

.info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 35px rgba(74, 28, 107, 0.3);
  border-color: var(--gold);
}

.info-card.expanded {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1001;
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 16px;
  border: 3px solid var(--gold);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.info-card.expanded .info-image {
  max-height: 85vh;
  width: auto;
  max-width: 90vw;
}

.info-card-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(13, 10, 21, 0.92);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}

.info-card-overlay.active {
  opacity: 1;
  visibility: visible;
}

.info-image {
  width: 100%;
  height: auto;
  display: block;
}

/* Gifts Section */
.gifts {
  padding: 40px 0;
  background: linear-gradient(135deg, var(--dark-purple) 0%, var(--deep-purple) 100%);
}

.gifts .section-title {
  color: var(--gold-bright);
}

.gifts .section-title::after {
  color: var(--silver);
}

.gifts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.gift-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
  border-radius: 16px;
  padding: 35px 28px;
  text-align: center;
  border: 2px solid var(--gold);
  transition: all 0.4s;
  backdrop-filter: blur(10px);
}

.gift-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(212, 165, 32, 0.25);
  background: linear-gradient(180deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0.08) 100%);
}

.gift-icon {
  font-size: 3rem;
  margin-bottom: 15px;
  color: var(--gold-bright);
  text-shadow: 0 0 20px rgba(212, 165, 32, 0.5);
}

.gift-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  color: var(--gold-bright);
  margin-bottom: 10px;
  font-weight: 500;
}

.gift-card p {
  color: var(--text-light);
  margin-bottom: 20px;
  font-size: 1.3rem;
}

/* Price Grid */
.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 15px;
}

.price-grid.compact {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.price-card {
  background: var(--white);
  border-radius: 14px;
  padding: 26px 22px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(74, 28, 107, 0.12);
  transition: all 0.3s;
  position: relative;
  border: 2px solid #E8E0F0;
  display: flex;
  flex-direction: column;
}

.price-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 35px rgba(74, 28, 107, 0.2);
  border-color: var(--mystic-violet);
}

.price-card.popular {
  border: 3px solid var(--royal-purple);
  background: linear-gradient(180deg, var(--white) 0%, #F8F0FF 100%);
}

.price-card.vip {
  border: 3px solid var(--gold);
  background: linear-gradient(180deg, var(--white) 0%, #FFF8E7 100%);
}

.price-card.featured {
  border: 3px solid var(--gold-dark);
  grid-column: span 2;
  background: linear-gradient(135deg, #FFF8E7 0%, var(--white) 100%);
}

.badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--royal-purple) 0%, var(--deep-purple) 100%);
  color: white;
  padding: 6px 18px;
  border-radius: 20px;
  font-size: 1.3rem;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(74, 28, 107, 0.4);
}

.badge.vip-badge {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--dark);
}

.price-card h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  color: var(--deep-purple);
  margin-bottom: 10px;
  font-weight: 500;
}

.price {
  font-size: 2.1rem;
  font-weight: 600;
  color: var(--royal-purple);
  margin-bottom: 8px;
}

.price .per {
  font-size: 1.3rem;
  font-weight: 400;
  color: #6A5A7A;
}

.price .price-usd {
  display: none;
}

/* Hide RUB on EN, show USD on EN */
html[lang="en"] .price-rub {
  display: none;
}

html[lang="en"] .price-usd {
  display: inline;
}

html[lang="ru"] .price-usd,
html:not([lang]) .price-usd {
  display: none;
}

.price .price-cny {
  display: none;
}

html[lang="zh"] .price-rub,
html[lang="zh"] .price-usd {
  display: none;
}

html[lang="zh"] .price-cny {
  display: inline;
}

.price-card p {
  color: #5A4A6A;
  font-size: 1.3rem;
  margin-bottom: 5px;
}

.price-note {
  display: block;
  font-size: 1.3rem;
  color: #8A7A9A;
  margin-top: 8px;
}

.features {
  list-style: none;
  text-align: left;
  margin: 12px 0;
}

.features li {
  padding: 5px 0 5px 22px;
  position: relative;
  color: #5A4A6A;
  font-size: 1.3rem;
}

.features li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.8em;
}

/* Taro List */
.taro-list {
  max-width: 600px;
  margin: 20px auto 25px;
  padding-left: 0;
  list-style: none;
}

.taro-list li {
  position: relative;
  padding: 10px 0 10px 30px;
  color: var(--deep-purple);
  font-size: 1.3rem;
  border-bottom: 1px solid rgba(212, 165, 32, 0.2);
}

.taro-list li:last-child {
  border-bottom: none;
}

.taro-list li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.9rem;
}

.taro-note {
  text-align: center;
  color: var(--deep-purple);
  font-size: 1.3rem;
  font-style: italic;
  max-width: 650px;
  margin: 0 auto 30px;
  padding: 18px 25px;
  background: linear-gradient(135deg, rgba(212, 165, 32, 0.1) 0%, rgba(107, 45, 155, 0.08) 100%);
  border-radius: 12px;
  border-left: 4px solid var(--gold);
}

/* Blocks Grid */
.blocks-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 12px;
}

.block-item:nth-child(5),
.block-item:nth-child(6),
.block-item:nth-child(7) {
  grid-column: span 4;
}

.block-item {
  grid-column: span 3;
  background: var(--white);
  padding: 18px;
  border-radius: 10px;
  text-align: center;
  color: var(--deep-purple);
  font-size: 1.3rem;
  font-weight: 500;
  border: 2px solid #E8E0F0;
  transition: all 0.3s;
}

.block-item:hover {
  background: linear-gradient(135deg, #F8F0FF 0%, var(--white) 100%);
  border-color: var(--royal-purple);
  box-shadow: 0 6px 20px rgba(74, 28, 107, 0.15);
}

.block-item[data-modal] {
  cursor: pointer;
}

.block-item[data-modal]::after {
  content: ' ✦';
  color: var(--gold);
}

/* Discount Section */
.discount {
  padding: 45px 0;
  background: linear-gradient(135deg, var(--deep-purple) 0%, var(--royal-purple) 50%, var(--mystic-violet) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.discount::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(212, 165, 32, 0.1) 0%, transparent 50%);
  animation: shimmer 10s infinite linear;
}

@keyframes shimmer {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.discount h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.3rem;
  color: var(--gold-bright);
  margin-bottom: 12px;
  font-weight: 500;
  position: relative;
  text-shadow: 0 2px 10px rgba(212, 165, 32, 0.3);
}

.discount h2::after {
  display: none;
}

.discount p {
  color: var(--text-light);
  margin-bottom: 20px;
  font-size: 1.3rem;
  position: relative;
}

/* About Section */
.about {
  padding: 40px 0;
  background: var(--white);
  text-align: center;
}

.about-content p {
  color: #5A4A6A;
  margin-bottom: 12px;
  font-size: 1.3rem;
}

.awards {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 18px 0;
}

.award {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--dark);
  padding: 10px 22px;
  border-radius: 25px;
  font-size: 1.3rem;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(212, 165, 32, 0.35);
}

.about-note {
  font-style: italic;
  color: #8A7A9A;
  margin-top: 15px;
  font-size: 1.3rem;
}

/* Contact Section */
.contact {
  padding: 40px 0;
  background: linear-gradient(180deg, var(--cream) 0%, #F5EFE0 100%);
  text-align: center;
}

.contact-content p {
  color: #5A4A6A;
  margin-bottom: 18px;
  font-size: 1.3rem;
}

.contact-links {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.contact-link {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.3rem;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.contact-link.max {
  background: linear-gradient(135deg, #0077FF 0%, #0055CC 100%);
  color: white;
}

.contact-link.tg {
  background: linear-gradient(135deg, #2AABEE 0%, #1A8FCC 100%);
  color: white;
}

.contact-link.wa {
  background: linear-gradient(135deg, #25D366 0%, #1DA851 100%);
  color: white;
}

.contact-link.vk {
  background: linear-gradient(135deg, var(--royal-purple) 0%, var(--deep-purple) 100%);
  color: white;
}

.contact-link.ig {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: white;
}

.contact-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

.contact-phone {
  margin: 15px 0 8px;
}

.contact-phone a {
  font-size: 1.5rem;
  color: var(--deep-purple);
  text-decoration: none;
  font-weight: 600;
}

.contact-phone a:hover {
  color: var(--royal-purple);
}

.contact-email a {
  color: #6A5A7A;
  text-decoration: none;
  font-size: 1.3rem;
}

.contact-email a:hover {
  color: var(--royal-purple);
}

/* Reviews Section */
.reviews {
  padding: 40px 0;
  background: linear-gradient(180deg, var(--midnight) 0%, var(--dark-purple) 100%);
}

.reviews .section-title {
  color: var(--gold-bright);
}

.reviews .section-title::after {
  color: var(--silver);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}

.review-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.03) 100%);
  border-radius: 14px;
  padding: 26px;
  position: relative;
  border: 1px solid rgba(212, 165, 32, 0.3);
  backdrop-filter: blur(5px);
}

.review-card::before {
  content: '"';
  position: absolute;
  top: 12px;
  right: 18px;
  font-size: 3.5rem;
  font-family: 'Cormorant Garamond', serif;
  color: var(--gold);
  opacity: 0.4;
}

.review-text {
  color: var(--text-light);
  font-size: 1.3rem;
  line-height: 1.7;
  margin-bottom: 12px;
  font-style: italic;
}

.review-author {
  display: block;
  color: var(--gold-bright);
  font-weight: 600;
  font-size: 1.3rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 35px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--dark);
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s;
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 20px rgba(212, 165, 32, 0.4);
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(212, 165, 32, 0.5);
  background: linear-gradient(135deg, var(--gold-bright) 0%, var(--gold) 100%);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--gold);
  color: var(--gold-bright);
}

.btn-outline:hover {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--dark);
}

.discount .btn {
  background: var(--white);
  color: var(--deep-purple);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.discount .btn:hover {
  background: var(--cream);
  transform: translateY(-3px);
}

/* Кнопка оплаты в карточках */
.btn-pay {
  display: block;
  margin-top: auto;
  padding: 10px 16px;
  font-size: 1rem;
  text-align: center;
  white-space: nowrap;
  letter-spacing: 0.5px;
}

.price-card .btn-pay {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--dark);
}

.price-card.vip .btn-pay {
  background: linear-gradient(135deg, var(--mystic-violet) 0%, var(--royal-purple) 100%);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(139, 77, 200, 0.4);
}

.price-card.vip .btn-pay:hover {
  background: linear-gradient(135deg, var(--royal-purple) 0%, var(--deep-purple) 100%);
  box-shadow: 0 8px 30px rgba(139, 77, 200, 0.6);
}

/* Примечание для заказа */
.order-note {
  background: linear-gradient(135deg, rgba(212, 165, 32, 0.15) 0%, rgba(184, 134, 11, 0.1) 100%);
  border-left: 4px solid var(--gold);
  padding: 15px 20px;
  margin-bottom: 25px;
  border-radius: 0 8px 8px 0;
  font-size: 1.3rem;
  color: var(--dark);
}

.order-note strong {
  color: var(--deep-purple);
}

.price-grid .order-note {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

/* Бацзы - симметричные сетки */
.bazi-main-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
  margin-bottom: 40px;
}

.bazi-main-grid .price-card,
.price-grid.compact .price-card {
  display: flex;
  flex-direction: column;
}

.bazi-main-grid .price-card .btn-pay,
.price-grid.compact .price-card .btn-pay {
  margin-top: auto;
}

.bazi-packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-bottom: 30px;
}

.bazi-package-card {
  background: linear-gradient(145deg, var(--dark-purple) 0%, var(--deep-purple) 100%);
  border-radius: 20px;
  padding: 30px 25px;
  text-align: center;
  display: flex;
  flex-direction: column;
  border: 2px solid var(--gold);
  box-shadow: 0 8px 30px rgba(74, 28, 107, 0.4);
  transition: all 0.3s ease;
}

.bazi-package-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(212, 165, 32, 0.3);
  border-color: var(--gold-bright);
}

.bazi-package-card .package-icon {
  font-size: 2.5rem;
  color: var(--gold-bright);
  margin-bottom: 15px;
  text-shadow: 0 0 20px rgba(212, 165, 32, 0.5);
}

.bazi-package-card h4 {
  color: var(--gold-bright);
  font-size: 1.25rem;
  margin-bottom: 12px;
  font-weight: 600;
}

.bazi-package-card .price {
  color: var(--white);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.bazi-package-card .price .per {
  font-size: 1.3rem;
  font-weight: 400;
  opacity: 0.8;
}

.bazi-package-card .price .price-usd {
  display: none;
}

html[lang="en"] .bazi-package-card .price-usd {
  display: inline;
}

.bazi-package-card .price .price-cny {
  display: none;
}

html[lang="zh"] .bazi-package-card .price-cny {
  display: inline;
}

.bazi-package-card p {
  color: var(--text-light);
  font-size: 1.3rem;
  line-height: 1.6;
  flex-grow: 1;
  margin-bottom: 20px;
}

.bazi-features {
  list-style: none;
  padding: 0;
  margin: 0 0 15px 0;
  text-align: left;
  flex-grow: 1;
}

.bazi-features li {
  color: var(--text-light);
  font-size: 1.3rem;
  padding: 6px 0 6px 20px;
  position: relative;
  border-bottom: 1px solid rgba(212, 165, 32, 0.2);
}

.bazi-features li:last-child {
  border-bottom: none;
}

.bazi-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold-bright);
  font-size: 0.85rem;
}

.bazi-note {
  display: block;
  color: var(--gold);
  font-size: 1.3rem;
  margin-bottom: 15px;
  font-style: italic;
}

.bazi-package-card .btn-pay {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--dark);
  margin-top: auto;
}

.order-note.centered {
  text-align: center;
  border-left: none;
  border-radius: 12px;
  border: 2px dashed var(--gold);
  background: linear-gradient(135deg, rgba(212, 165, 32, 0.1) 0%, rgba(184, 134, 11, 0.05) 100%);
}

@media (max-width: 900px) {
  .bazi-packages-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .bazi-main-grid,
  .bazi-packages-grid {
    grid-template-columns: 1fr;
  }
}

/* Footer */
.footer {
  background: var(--dark);
  color: var(--silver);
  padding: 25px 0;
  text-align: center;
  font-size: 1.3rem;
  border-top: 2px solid var(--gold-dark);
}

/* Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(13, 10, 21, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  padding: 20px;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: linear-gradient(180deg, var(--white) 0%, var(--cream) 100%);
  border-radius: 20px;
  padding: 40px;
  max-width: 580px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
  transform: scale(0.9);
  transition: transform 0.3s;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
  border: 2px solid var(--gold);
}

.modal-overlay.active .modal {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 22px;
  background: none;
  border: none;
  font-size: 2.2rem;
  color: var(--royal-purple);
  cursor: pointer;
  transition: all 0.2s;
  line-height: 1;
}

.modal-close:hover {
  color: var(--gold);
  transform: rotate(90deg);
}

.modal-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  color: var(--deep-purple);
  margin-bottom: 18px;
  padding-right: 40px;
}

.modal-content {
  color: #5A4A6A;
  font-size: 1.3rem;
  line-height: 1.75;
  margin-bottom: 22px;
}

.modal-content p {
  margin-bottom: 12px;
}

.modal-content ul {
  margin: 12px 0;
  padding-left: 5px;
}

.modal-content li {
  margin-bottom: 8px;
  padding-left: 22px;
  position: relative;
}

.modal-content li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.8em;
}

.modal-btn {
  display: block;
  text-align: center;
}

/* Image Modal */
.image-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(13, 10, 21, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  padding: 20px;
  cursor: pointer;
}

.image-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.image-modal-close {
  position: absolute;
  top: 20px;
  right: 30px;
  background: none;
  border: none;
  font-size: 3rem;
  color: var(--gold-bright);
  cursor: pointer;
  transition: all 0.2s;
  z-index: 1002;
}

.image-modal-close:hover {
  color: var(--white);
  transform: scale(1.1);
}

.image-modal-content {
  max-width: 90%;
  max-height: 85vh;
  border-radius: 12px;
  box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
  border: 3px solid var(--gold);
}

/* Reviews with click */
.review-card[data-image-modal] {
  cursor: pointer;
  position: relative;
}

.review-card[data-image-modal]::after {
  content: 'Посмотреть оригинал';
  position: absolute;
  bottom: 12px;
  right: 15px;
  font-size: 1.3rem;
  color: var(--gold);
  opacity: 0;
  transition: opacity 0.3s;
}

.review-card[data-image-modal]:hover::after {
  opacity: 1;
}

.review-card[data-image-modal]:hover {
  border-color: var(--gold);
  box-shadow: 0 8px 30px rgba(212, 165, 32, 0.25);
}

/* Reviews Alt (для Таро) */
.reviews-alt {
  background: linear-gradient(180deg, var(--dark-purple) 0%, var(--midnight) 100%);
}

/* Responsive */
@media (max-width: 768px) {
  .logo { font-size: 2.2rem; }
  .tagline { font-size: 1.3rem; letter-spacing: 0.3em; }
  .nav { gap: 18px; }
  .nav a { font-size: 1.3rem; }
  .hero { padding: 30px 0; }
  .hero h2 { font-size: 2.1rem; }
  .hero-photo { width: 170px; height: 170px; }
  .section-title { font-size: 2rem; }
  .section-block, .gifts, .contact, .about, .reviews, .discount { padding: 30px 0; }
  .qigong-videos, .qigong-info-gallery { grid-template-columns: 1fr; }
  .price-grid, .price-grid.compact { grid-template-columns: 1fr; }
  .blocks-grid { grid-template-columns: repeat(2, 1fr); }
  .block-item, .block-item:nth-child(5), .block-item:nth-child(6), .block-item:nth-child(7) { grid-column: span 1; }
  .price-card.featured { grid-column: span 1; }

  .modal {
    padding: 28px;
  }

  .modal-title {
    font-size: 1.6rem;
  }
}
