/* ============================================
   Money Train KG — page-home.css
   ============================================ */

/* ---------- HERO: закат, каньон, рельсы ---------- */
.hero {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 92px 0 90px;
  background:
    radial-gradient(440px 440px at 50% 24%, rgba(255, 214, 110, 0.55) 0%, rgba(255, 150, 30, 0.28) 42%, transparent 70%),
    linear-gradient(180deg, #3d1e08 0%, #2b1406 34%, #170e07 62%, var(--bg) 100%);
}
.hero::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 48%;
  background: #0a0705;
  clip-path: polygon(0 64%, 7% 42%, 15% 58%, 23% 30%, 31% 50%, 39% 26%, 47% 47%, 54% 62%, 61% 40%, 69% 54%, 77% 28%, 85% 49%, 92% 36%, 100% 54%, 100% 100%, 0 100%);
}
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 74px;
  background:
    linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.7)),
    repeating-linear-gradient(90deg, rgba(212, 160, 23, 0.3) 0 7px, transparent 7px 30px);
  opacity: 0.55;
}
.hero .container { position: relative; z-index: 2; }

.hero__badge {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-soft);
  border: 1px solid var(--border);
  background: rgba(13, 10, 8, 0.55);
  padding: 7px 20px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.hero h1 { max-width: 900px; margin: 0 auto 1.2rem; }
.hero .lead { color: #e6d7b8; text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6); }

.hero__chips {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
  list-style: none;
}
.hero__chips li {
  font-size: 0.92rem;
  color: var(--gold-soft);
  background: rgba(13, 10, 8, 0.6);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 7px 16px;
  backdrop-filter: blur(2px);
}

/* ---------- Слайдер-галерея ---------- */
.slider {
  position: relative;
  max-width: 900px;
  margin: 1.8rem auto 0;
}
.slider__viewport {
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid var(--border);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.5);
}
.slider__track {
  display: flex;
  transition: transform 0.45s ease;
}
.slider__slide { flex: 0 0 100%; }
.slider__slide {
  flex: 0 0 100%;
  background: #0d0a08;
}
.slider__slide img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
}
.slider__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  line-height: 1;
  color: var(--gold);
  background: rgba(13, 10, 8, 0.82);
  border: 1px solid rgba(255, 180, 5, 0.45);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
  z-index: 3;
}
.slider__btn:hover { background: var(--gold); color: #241503; }
.slider__btn--prev { left: 12px; }
.slider__btn--next { right: 12px; }
.slider__dots {
  display: flex;
  justify-content: center;
  gap: 9px;
  margin-top: 14px;
}
.slider__dot {
  width: 11px;
  height: 11px;
  padding: 0;
  border: 1px solid var(--gold-2);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: background 0.2s ease;
}
.slider__dot.is-active { background: var(--gold); }

/* ---------- Одиночное изображение ---------- */
.single-img {
  display: block;
  width: 100%;
  max-width: 900px;
  margin: 1.8rem auto 0;
  border-radius: 14px;
  border: 1px solid var(--border);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.5);
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* ---------- Таблица сравнения ---------- */
.compare-table th {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.95rem;
  color: #241503;
  background: linear-gradient(180deg, #ffd45e, #d4940a);
  padding: 14px 16px;
  text-align: center;
  white-space: nowrap;
}
.compare-table td {
  padding: 13px 16px;
  text-align: center;
  border-top: 1px solid rgba(255, 180, 5, 0.14);
  color: var(--text);
  background: rgba(29, 20, 12, 0.6);
}
.compare-table tr:hover td { background: rgba(255, 180, 5, 0.08); }
.compare-table td:first-child {
  font-weight: 700;
  color: var(--gold-soft);
  white-space: nowrap;
}
.compare-table .soon {
  display: inline-block;
  font-size: 0.8rem;
  color: #fff;
  background: var(--red);
  border-radius: 999px;
  padding: 2px 10px;
  margin-left: 6px;
}

/* ---------- FAQ-аккордеон ---------- */
.faq {
  max-width: 820px;
  margin: 1.6rem auto 0;
  text-align: left;
}
.faq-item {
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-item__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 22px;
  font-family: var(--font-body);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--text);
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s ease;
}
.faq-item__question:hover { color: var(--gold-soft); }
.faq-item__icon {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--gold);
  border: 1px solid var(--border);
  border-radius: 50%;
  transition: transform 0.3s ease, background 0.2s ease;
}
.faq-item.is-open .faq-item__icon { transform: rotate(45deg); background: rgba(255, 180, 5, 0.14); }
.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-item.is-open .faq-item__answer { max-height: 600px; }
.faq-item__answer-inner {
  padding: 0 22px 20px;
  color: var(--muted);
}
.faq-item__answer-inner p { margin: 0; max-width: none; }

/* ---------- Финальный CTA ---------- */
.final-cta .card {
  padding: 52px 30px;
  background:
    radial-gradient(500px 220px at 50% 0%, rgba(255, 180, 5, 0.14), transparent 70%),
    linear-gradient(180deg, #2a1608, #150d06);
  border: 2px solid var(--gold-2);
}
.final-cta h2::after { margin-top: 12px; }

/* ---------- Адаптив ---------- */
@media (max-width: 768px) {
  .hero { padding: 64px 0 70px; }
  .slider__btn { width: 40px; height: 40px; font-size: 1.4rem; }
  .card { padding: 28px 20px; }
  .faq { text-align: left; }
}
