/* tseh/components/home/HomePackages.vue */

/* Кнопка «Подробнее» на БЕЛОЙ карточке — тёмный текст (в тёмной теме страницы
   .btn-secondary перекрашивается в белый и на светлом фоне становится невидимым). */
.pkg-detail-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  color: #1C1A16;
  background: rgba(167, 101, 60, 0.1);
  border: 1px solid rgba(167, 101, 60, 0.32);
  transition: all 0.2s ease;
  white-space: nowrap;
}
.pkg-detail-btn:hover {
  background: rgba(167, 101, 60, 0.2);
  border-color: rgba(167, 101, 60, 0.5);
}
.pkg-pick-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 6px;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: #A7653C;
  cursor: pointer;
  white-space: nowrap;
}
.pkg-pick-btn:hover { text-decoration: underline;
}

/* tseh/pages/MainPage.vue */

/* ── Фоновые шестерёнки hero: на мобильной уменьшаем и делаем видимыми, сдвиг вовнутрь ── */
/* ВАЖНО: !important, иначе глобальное правило styles.tsx
   ([class*="top-[-80px]"][class*="right-[-60px]"] и т.п., специфичность выше)
   перебивает transform translateX и сдвиги не применяются. */
@media (max-width: 767px) {
.bg-decor-gear:not(.gear-top):not(.gear-bottom) { transform: scale(0.5) !important;
}
.gear-top { transform: scale(0.4) translateX(100%) !important;
}
.gear-top .decor-gear { opacity: 0.15 !important;
}
.gear-bottom { transform: scale(0.5) translateX(-100%) !important;
}
.gear-bottom .decor-gear { opacity: 0.13 !important;
}
}

/* ── Кейсы: слайдер на мобильной, сетка на десктопе ── */
@media (min-width: 768px) and (max-width: 1023px) {
.case-slider { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
}
}
@media (min-width: 1024px) {
.case-slider { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
}
@media (max-width: 767px) {
.case-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 16px;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-left: -6px;
    padding-left: 6px;
    padding-right: 6px;
}
.case-slider::-webkit-scrollbar { display: none;
}
.case-slider > * {
    flex: 0 0 86%;
    scroll-snap-align: start;
    min-width: 0;
}
.case-slider > * > .case-card { height: 100%;
}
}

/* ── Секционные заголовки и теги на тёмном фоне ── */
header .nav-link:hover { color: rgba(250, 248, 244, 0.9) !important;
}

/* ── Не-scoped: перекраска дочерних секций-компонентов ── */
.subsections-dark section > .section-tag {
  background: rgba(250, 248, 244, 0.08) !important;
  border-color: rgba(250, 248, 244, 0.15) !important;
  color: rgba(250, 248, 244, 0.55) !important;
}
.subsections-dark section > .section-tag::before {
  background: var(--accent) !important;
}
.subsections-dark section > h2.font-display {
  color: #FFFFFF !important;
}
.subsections-dark section > p.text-muted {
  color: rgba(250, 248, 244, 0.5) !important;
}
.subsections-dark .btn-secondary {
  color: #FFFFFF !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
  background: transparent !important;
}

/* ═══════════════ ЕДИНОЕ РАССТОЯНИЕ МЕЖДУ БЛОКАМИ ГЛАВНОЙ — РОВНО 100px ═══════════════
   01.10.2026, по запросу владельца: зазор между блоками был разным
   (pb-14 = 56px, pb-24 = 96px, pb-20 = 80px у финального CTA) — теперь везде
   одинаковый, ровно 100px.
   Блоки главной идут друг за другом БЕЗ margin-top (единственное исключение —
   hero, он первый), поэтому зазор между блоками равен padding-bottom
   предыдущего блока. Перекрываем утилиты Tailwind (pb-14/pb-20/pb-24)
   правилом с префиксом .main-page — оно действует ТОЛЬКО на главной и не
   задевает другие страницы, где те же компоненты (MainResultsSection,
   TrustClientsSection, MainReviewsSection, LeadMagnetsSection) используются. */
.main-page > section,
.main-page > .subsections-dark > section {
  padding-bottom: 100px !important;
}

