/* ============================================================
   АСТРА·ВЕД — ведическая астрология
   Палитра по брендкиту:
     60% — глубокий зелёный #1A2E1A (основа)
     30% — золотой #D4B040 (акцент)
     10% — белый #FFFFFF (карточки, поля)
   ============================================================ */

:root {
  --green-950: #0B180B;
  --green-900: #12210F;
  --green-800: #1A2E1A;   /* ОСНОВНОЙ */
  --green-700: #223A22;
  --green-600: #2D4A2D;

  --gold: #D4B040;
  --gold-2: #E8C968;
  --gold-soft: rgba(212, 176, 64, 0.12);
  --gold-line: rgba(212, 176, 64, 0.28);

  --white: #FFFFFF;
  --bone: #F6F3EA;
  --ink: #1A2E1A;
  --text: rgba(255, 255, 255, 0.88);
  --text-dim: rgba(255, 255, 255, 0.55);

  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;

  --font-head: 'Cormorant Garamond', serif;
  --font-body: 'Inter', sans-serif;

  --shadow-deep: 0 30px 80px rgba(0, 0, 0, 0.5);
  --shadow-gold: 0 12px 40px rgba(212, 176, 64, 0.28);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--green-800);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

/* ============================================================
   КОСМИЧЕСКИЙ ФОН
   ============================================================ */
.cosmos {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(1200px 800px at 80% -10%, rgba(212, 176, 64, 0.08), transparent 60%),
    radial-gradient(900px 700px at -10% 30%, rgba(212, 176, 64, 0.05), transparent 60%),
    linear-gradient(180deg, #0B180B 0%, #1A2E1A 45%, #12210F 100%);
}

.cosmos__stars {
  position: absolute;
  inset: -10%;
  background-image:
    radial-gradient(1.5px 1.5px at 20% 30%, rgba(212,176,64,0.9), transparent 60%),
    radial-gradient(1px 1px at 60% 70%, rgba(255,255,255,0.7), transparent 60%),
    radial-gradient(1.5px 1.5px at 80% 20%, rgba(212,176,64,0.75), transparent 60%),
    radial-gradient(1px 1px at 30% 80%, rgba(255,255,255,0.55), transparent 60%),
    radial-gradient(1.5px 1.5px at 90% 60%, rgba(212,176,64,0.65), transparent 60%),
    radial-gradient(1px 1px at 10% 50%, rgba(255,255,255,0.6), transparent 60%),
    radial-gradient(2px 2px at 50% 10%, rgba(212,176,64,0.8), transparent 60%),
    radial-gradient(1px 1px at 70% 40%, rgba(255,255,255,0.5), transparent 60%),
    radial-gradient(1px 1px at 15% 85%, rgba(212,176,64,0.7), transparent 60%),
    radial-gradient(1px 1px at 45% 55%, rgba(255,255,255,0.5), transparent 60%);
  animation: twinkle 6s ease-in-out infinite alternate;
}

@keyframes twinkle {
  0%   { opacity: 0.8; }
  100% { opacity: 1; }
}

.cosmos__glow {
  position: absolute;
  top: -20%; right: -10%;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,176,64,0.15) 0%, transparent 65%);
  filter: blur(40px);
  animation: breathe 14s ease-in-out infinite;
}

@keyframes breathe {
  0%, 100% { transform: scale(1);   opacity: 0.7; }
  50%      { transform: scale(1.1); opacity: 1; }
}

/* Мистический мандала-круг */
.cosmos__mandala {
  position: absolute;
  bottom: -300px; left: -200px;
  width: 700px; height: 700px;
  border-radius: 50%;
  border: 1px solid rgba(212, 176, 64, 0.1);
  box-shadow:
    inset 0 0 0 40px rgba(212, 176, 64, 0.03),
    inset 0 0 0 100px rgba(212, 176, 64, 0.03),
    inset 0 0 0 180px rgba(212, 176, 64, 0.02);
  animation: rotate 90s linear infinite;
}

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

/* ============================================================
   БАЗА
   ============================================================ */
.container {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
}

section { padding: 120px 0; position: relative; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  font-weight: 500;
  color: var(--white);
  letter-spacing: 0.2px;
}

h1 em, h2 em, h3 em {
  font-style: normal;
  color: var(--gold);
}

/* Eyebrow — маленькая надпись над заголовком */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  padding: 8px 16px;
  border: 1px solid var(--gold-line);
  border-radius: 100px;
  background: var(--gold-soft);
  margin-bottom: 28px;
}

.eyebrow--center { display: inline-flex; }

.eyebrow__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 10px var(--gold);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(1.3); }
}

.section-head { text-align: center; margin-bottom: 72px; }

.section-title {
  font-size: clamp(36px, 4.5vw, 58px);
  line-height: 1.08;
  margin-bottom: 20px;
}

.section-title--left { text-align: left; }

.section-sub {
  color: var(--text-dim);
  font-size: 17px;
  max-width: 620px;
  margin: 0 auto;
}

.section-sub--left { margin: 0 0 32px; }

/* ============================================================
   КНОПКИ
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn--gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: var(--green-900);
  box-shadow: var(--shadow-gold);
}

.btn--gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 50px rgba(212, 176, 64, 0.5);
}

.btn--ghost {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold-line);
}

.btn--ghost:hover {
  background: var(--gold-soft);
  border-color: var(--gold);
}

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

.btn--outline:hover {
  background: var(--green-800);
  color: var(--gold);
}

.btn--full { width: 100%; }

/* ============================================================
   ШАПКА
   ============================================================ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 90;
  padding: 18px 0;
  transition: all 0.35s ease;
}

.header.is-scrolled {
  background: rgba(11, 24, 11, 0.85);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  padding: 12px 0;
  border-bottom: 1px solid var(--gold-line);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.logo__icon {
  color: var(--gold);
  filter: drop-shadow(0 0 12px rgba(212,176,64,0.5));
}

.logo em {
  font-style: normal;
  color: var(--gold);
}

.nav {
  display: flex;
  gap: 36px;
  font-size: 14px;
  font-weight: 500;
}

.nav a {
  color: var(--text);
  position: relative;
  transition: color 0.2s;
}

.nav a:hover { color: var(--gold); }

.nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  bottom: -6px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s;
}

.nav a:hover::after { transform: scaleX(1); }

.header__socials {
  display: flex;
  gap: 8px;
}

.header__socials a {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  border: 1px solid var(--gold-line);
  transition: all 0.25s;
}

.header__socials a:hover {
  background: var(--gold);
  color: var(--green-900);
  transform: translateY(-2px);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding: 180px 0 100px;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 80px;
  align-items: center;
  width: 100%;
}

.hero__title {
  font-size: clamp(44px, 6vw, 82px);
  line-height: 1;
  margin: 24px 0 28px;
  letter-spacing: -1px;
}

.hero__lead {
  font-size: 18px;
  color: var(--text-dim);
  max-width: 520px;
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero__cta {
  display: flex;
  gap: 16px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}

.hero__facts {
  display: flex;
  gap: 56px;
  flex-wrap: wrap;
}

.fact {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.fact strong {
  font-family: var(--font-head);
  font-size: 44px;
  color: var(--gold);
  line-height: 1;
  font-weight: 600;
}

.fact span {
  font-size: 12px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

/* ============================================================
   КАЛЬКУЛЯТОР — БЕЛАЯ КАРТОЧКА (10% белого)
   ============================================================ */
.calc {
  background: var(--bone);
  border-radius: var(--r-lg);
  padding: 36px;
  color: var(--ink);
  box-shadow: var(--shadow-deep);
  position: relative;
  overflow: hidden;
}

.calc::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.calc__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 22px;
}

.calc__head h3 {
  font-size: 26px;
  color: var(--green-800);
}

.calc__badge {
  font-size: 11px;
  color: var(--green-800);
  background: var(--gold-soft);
  border: 1px solid var(--gold-line);
  padding: 5px 12px;
  border-radius: 100px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.calc__switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 5px;
  background: rgba(26, 46, 26, 0.08);
  border-radius: 100px;
  margin-bottom: 18px;
}

.calc__tab {
  padding: 11px 12px;
  background: transparent;
  border: none;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--green-800);
  cursor: pointer;
  transition: all 0.25s;
}

.calc__tab.is-active {
  background: var(--green-800);
  color: var(--gold);
}

.calc__progress {
  height: 3px;
  background: rgba(26, 46, 26, 0.1);
  border-radius: 3px;
  margin-bottom: 22px;
  overflow: hidden;
}

.calc__progress span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-2));
  transition: width 0.4s;
}

/* Поля ввода с плавающим label */
.input {
  position: relative;
  display: block;
  margin-bottom: 16px;
}

.input input,
.input textarea,
.input select {
  width: 100%;
  padding: 22px 18px 10px;
  background: var(--white);
  border: 1px solid rgba(26, 46, 26, 0.15);
  border-radius: var(--r-sm);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--green-900);
  transition: all 0.25s;
  outline: none;
}

.input textarea { resize: vertical; min-height: 100px; }

.input input:focus,
.input textarea:focus,
.input select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(212, 176, 64, 0.15);
}

.input input::placeholder,
.input textarea::placeholder { color: transparent; }

.input span {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  color: rgba(26, 46, 26, 0.5);
  pointer-events: none;
  transition: all 0.2s ease;
}

.input--textarea span { top: 20px; transform: none; }

.input input:focus + span,
.input input:not(:placeholder-shown) + span,
.input textarea:focus + span,
.input textarea:not(:placeholder-shown) + span,
.input select:focus + span,
.input select:valid + span,
.input--date span {
  top: 8px;
  transform: none;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold);
}

/* Чекбоксы */
.check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: rgba(26, 46, 26, 0.7);
  cursor: pointer;
  margin: -8px 0 16px;
  padding-left: 2px;
}

.check input { accent-color: var(--green-800); }

.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  color: rgba(26, 46, 26, 0.6);
  margin-top: 14px;
  cursor: pointer;
  line-height: 1.5;
}

.consent input {
  margin-top: 3px;
  accent-color: var(--green-800);
  flex-shrink: 0;
}

.consent a {
  color: var(--green-800);
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 3px;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.about__card {
  padding: 44px 36px;
  border: 1px solid var(--gold-line);
  border-radius: var(--r);
  background: linear-gradient(160deg, rgba(212,176,64,0.04), transparent);
  transition: all 0.35s;
  position: relative;
  overflow: hidden;
}

.about__card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(212,176,64,0.1), transparent 60%);
  opacity: 0;
  transition: opacity 0.35s;
}

.about__card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
}

.about__card:hover::after { opacity: 1; }

.about__num {
  display: block;
  font-family: var(--font-head);
  font-size: 44px;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 20px;
  font-weight: 500;
  letter-spacing: 2px;
}

.about__card h3 {
  font-size: 26px;
  margin-bottom: 12px;
}

.about__card p {
  color: var(--text-dim);
  font-size: 15px;
  line-height: 1.7;
}

/* ============================================================
   ТАРИФЫ — БЕЛЫЕ КАРТОЧКИ
   ============================================================ */
.pricing {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 72px;
}

.plan {
  background: var(--bone);
  border-radius: var(--r-lg);
  padding: 44px 40px;
  color: var(--ink);
  position: relative;
  display: flex;
  flex-direction: column;
  transition: all 0.35s;
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.plan:hover { transform: translateY(-6px); }

.plan--premium {
  background: linear-gradient(180deg, var(--bone) 0%, #EFE9D6 100%);
  box-shadow:
    0 0 0 1px var(--gold),
    0 30px 70px rgba(212, 176, 64, 0.25);
}

.plan__ribbon {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 8px 22px;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: var(--green-900);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  box-shadow: 0 6px 20px rgba(212,176,64,0.5);
}

.plan__head { margin-bottom: 22px; }

.plan__label {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(26,46,26,0.5);
  margin-bottom: 12px;
}

.plan__label--gold { color: var(--gold); }

.plan__head h3 {
  font-size: 32px;
  color: var(--green-800);
  margin-bottom: 6px;
}

.plan__head p {
  color: rgba(26,46,26,0.55);
  font-size: 14px;
}

.plan__price {
  font-family: var(--font-head);
  font-size: 56px;
  font-weight: 600;
  color: var(--green-800);
  line-height: 1;
  margin: 8px 0 28px;
  letter-spacing: -1px;
}

.plan__price em {
  font-style: normal;
  font-size: 32px;
  color: var(--gold);
}

.plan__list {
  list-style: none;
  margin: 0 0 32px;
  flex-grow: 1;
}

.plan__list li {
  padding: 12px 0 12px 26px;
  font-size: 15px;
  color: rgba(26,46,26,0.85);
  border-bottom: 1px solid rgba(26, 46, 26, 0.08);
  position: relative;
}

.plan__list li::before {
  content: '✦';
  position: absolute;
  left: 0;
  top: 12px;
  color: var(--gold);
  font-size: 12px;
}

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

/* Доп услуги */
.extras { margin-top: 40px; }

.extras__title {
  text-align: center;
  font-size: 22px;
  color: var(--gold);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 32px;
  font-family: var(--font-body);
  font-weight: 500;
}

.extras__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.extra {
  padding: 32px 26px;
  border: 1px solid var(--gold-line);
  border-radius: var(--r);
  background: rgba(212,176,64,0.03);
  transition: all 0.3s;
}

.extra:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  background: rgba(212,176,64,0.08);
}

.extra h5 {
  font-size: 20px;
  color: var(--gold);
  margin-bottom: 10px;
}

.extra p {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.6;
  margin-bottom: 16px;
  min-height: 66px;
}

.extra span {
  font-family: var(--font-head);
  font-size: 24px;
  color: var(--white);
  font-weight: 600;
}

/* ============================================================
   КАНАЛЫ
   ============================================================ */
.channels__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 80px;
}

.channel {
  display: flex;
  flex-direction: column;
  padding: 36px 32px;
  border-radius: var(--r);
  border: 1px solid var(--gold-line);
  background: linear-gradient(160deg, rgba(212,176,64,0.05), transparent);
  transition: all 0.35s;
  position: relative;
  overflow: hidden;
}

.channel::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  transition: height 0.3s;
}

.channel--dzen::before { background: linear-gradient(90deg, transparent, var(--gold)); }
.channel--tg::before   { background: linear-gradient(90deg, transparent, #4AA8E0); }
.channel--vk::before   { background: linear-gradient(90deg, transparent, #4A90E2); }

.channel:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: 0 30px 70px rgba(0,0,0,0.4);
}

.channel:hover::before { height: 5px; }

.channel__head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.channel__logo {
  font-size: 32px;
  line-height: 1;
}

.channel__name {
  font-family: var(--font-head);
  font-size: 28px;
  color: var(--white);
  font-weight: 500;
}

.channel p {
  color: var(--text-dim);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 28px;
  flex-grow: 1;
}

.channel__foot {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding-top: 20px;
  border-top: 1px solid var(--gold-line);
}

.channel__foot strong {
  font-family: var(--font-head);
  font-size: 26px;
  color: var(--gold);
  font-weight: 600;
}

.channel__foot span {
  font-size: 12px;
  color: var(--text-dim);
  margin-right: auto;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.channel__foot em {
  font-style: normal;
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
  transition: transform 0.25s;
}

.channel:hover .channel__foot em { transform: translateX(4px); }

/* Статьи */
.articles__title {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  text-align: center;
  margin-bottom: 32px;
}

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

.article {
  padding: 28px;
  border-radius: var(--r);
  border: 1px solid var(--gold-line);
  background: rgba(212,176,64,0.02);
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.article:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  background: rgba(212,176,64,0.05);
}

.article__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--text-dim);
}

.article h5 {
  font-size: 20px;
  line-height: 1.35;
  color: var(--white);
  flex-grow: 1;
}

.article > a {
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.5px;
  transition: transform 0.25s;
}

.article > a:hover { transform: translateX(4px); }

.tag {
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.tag--dzen { background: rgba(212,176,64,0.15); color: var(--gold); }
.tag--tg   { background: rgba(74,168,224,0.15); color: #6FC1E8; }
.tag--vk   { background: rgba(74,144,226,0.15); color: #7BAEEA; }

/* ============================================================
   ASK — вопрос консультанту
   ============================================================ */
.ask__inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: start;
}

.ask__left .section-title { margin-bottom: 20px; }

.faq { margin-top: 12px; }

.faq details {
  border-bottom: 1px solid var(--gold-line);
  padding: 0;
}

.faq details:first-of-type { border-top: 1px solid var(--gold-line); }

.faq summary {
  padding: 22px 40px 22px 0;
  cursor: pointer;
  font-size: 17px;
  font-weight: 500;
  color: var(--white);
  list-style: none;
  position: relative;
  transition: color 0.2s;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: '+';
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 26px;
  color: var(--gold);
  font-weight: 300;
  line-height: 1;
  transition: transform 0.3s;
}

.faq details[open] summary { color: var(--gold); }
.faq details[open] summary::after { content: '−'; }

.faq summary:hover { color: var(--gold); }

.faq details p {
  padding: 0 40px 22px 0;
  color: var(--text-dim);
  font-size: 15px;
  line-height: 1.7;
}

/* Форма вопроса — белая карточка */
.ask-form {
  background: var(--bone);
  border-radius: var(--r-lg);
  padding: 40px 36px;
  color: var(--ink);
  box-shadow: var(--shadow-deep);
  position: sticky;
  top: 100px;
  overflow: hidden;
}

.ask-form::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/* ============================================================
   ФУТЕР
   ============================================================ */
.footer {
  background: var(--green-950);
  padding: 80px 0 30px;
  border-top: 1px solid var(--gold-line);
  position: relative;
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.logo--footer {
  margin-bottom: 20px;
  font-size: 22px;
}

.footer p {
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.7;
  max-width: 320px;
}

.footer h5 {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 22px;
}

.footer__inner > div > a {
  display: block;
  color: var(--text);
  font-size: 14px;
  padding: 6px 0;
  transition: color 0.2s;
}

.footer__inner > div > a:hover { color: var(--gold); }

.footer__bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(212, 176, 64, 0.1);
  font-size: 13px;
  color: var(--text-dim);
  text-align: center;
}

/* ============================================================
   ПЛАВАЮЩАЯ КНОПКА
   ============================================================ */
.float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 24px;
  border-radius: 100px;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: var(--green-900);
  font-size: 14px;
  font-weight: 600;
  z-index: 80;
  box-shadow: 0 16px 44px rgba(212,176,64,0.45);
  transition: all 0.3s;
  animation: floatPulse 3s ease-in-out infinite;
}

.float:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 20px 55px rgba(212,176,64,0.6);
}

@keyframes floatPulse {
  0%, 100% { box-shadow: 0 16px 44px rgba(212,176,64,0.4); }
  50%      { box-shadow: 0 16px 55px rgba(212,176,64,0.75); }
}

/* ============================================================
   МОДАЛКИ
   ============================================================ */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(11, 24, 11, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal.is-open {
  display: flex;
  animation: fadeIn 0.25s ease;
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.modal__box {
  background: var(--bone);
  color: var(--ink);
  padding: 48px;
  border-radius: var(--r-lg);
  max-width: 700px;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 40px 100px rgba(0,0,0,0.6);
  animation: rise 0.4s cubic-bezier(0.2, 1, 0.3, 1);
}

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

.modal__box--small {
  max-width: 440px;
  text-align: center;
  padding: 56px 40px;
}

.modal__box h3 {
  font-size: 32px;
  color: var(--green-800);
  margin-bottom: 24px;
}

.modal__box--small h3 { font-size: 28px; }

.modal__box p {
  color: rgba(26,46,26,0.75);
  font-size: 15px;
  margin-bottom: 16px;
  line-height: 1.7;
}

.modal__x {
  position: absolute;
  top: 16px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: transparent;
  font-size: 28px;
  color: rgba(26,46,26,0.4);
  cursor: pointer;
  line-height: 1;
  transition: all 0.2s;
}

.modal__x:hover {
  background: rgba(26,46,26,0.08);
  color: var(--green-800);
}

.modal__star {
  font-size: 56px;
  color: var(--gold);
  margin-bottom: 20px;
  animation: pulse 2s infinite;
}

/* ============================================================
   АДАПТИВ
   ============================================================ */
@media (max-width: 1100px) {
  .hero__inner { grid-template-columns: 1fr; gap: 60px; }
  .ask__inner { grid-template-columns: 1fr; gap: 48px; }
  .ask-form { position: static; }
  .pricing { grid-template-columns: 1fr; }
  .channels__grid,
  .articles,
  .about__grid { grid-template-columns: 1fr 1fr; }
  .extras__grid { grid-template-columns: 1fr 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 720px) {
  section { padding: 80px 0; }
  .hero { padding: 130px 0 60px; min-height: auto; }
  .hero__facts { gap: 32px; }
  .fact strong { font-size: 34px; }
  .calc { padding: 28px 24px; }
  .channels__grid,
  .articles,
  .about__grid,
  .extras__grid,
  .footer__inner { grid-template-columns: 1fr; }
  .nav { display: none; }
  .header__socials a { width: 34px; height: 34px; }
  .plan { padding: 36px 28px; }
  .modal__box { padding: 32px 24px; }
  .float span { display: none; }
  .float { padding: 14px; }
  .cosmos__mandala { display: none; }
}