/* Add your custom styles here */

/* Honeypot антиспам — скрыто от людей */
.hp-wrap {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  height: 0;
  width: 0;
  z-index: -1;
  overflow: hidden;
}

/* FAQ chevron rotation */
.btn[aria-expanded="true"] .faq-chevron {
  transform: rotate(180deg);
}
.faq-chevron {
  transition: transform 0.25s ease;
  display: inline-block;
}

/* Adds a bit of spacing to "Responsive Grid Row" blocks. */
.crx-grid {
  padding-top: 40px;
  padding-bottom: 40px;
}
.crx-grid .crx-grid {
  padding-top: 0;
  padding-bottom: 0;
}

.breadcrumb-bar {
  position: sticky;
  top: 0;
  z-index: 990;
  box-shadow: 0 1px 3px rgba(0,0,0,.06);
}

.breadcrumb-bar .breadcrumb-item + .breadcrumb-item::before {
  content: "/";
  color: #adb5bd;
}

.breadcrumb-bar .btn-outline-secondary {
  font-size: .75rem;
  padding: .2rem .6rem;
}

.blog-text h2 { font-size: 1.6rem; font-weight: 700; margin-top: 2rem; margin-bottom: .75rem; }
.blog-text h3 { font-size: 1.3rem; font-weight: 600; margin-top: 1.5rem; }
.blog-text h4 { font-size: 1.1rem; font-weight: 600; margin-top: 1.25rem; }
.blog-text p  { line-height: 1.8; margin-bottom: 1rem; }
.blog-text ul,
.blog-text ol { padding-left: 1.5rem; margin-bottom: 1rem; line-height: 1.8; }
.blog-text img { max-width: 100%; border-radius: .5rem; }
.blog-text a   { color: var(--bs-primary); text-decoration: underline; }
.blog-text blockquote { border-left: 4px solid #dee2e6; padding-left: 1rem; color: #6c757d; }

/* Sticky CTA */
#sticky-cta {
  transition: opacity 0.3s ease, transform 0.3s ease;
}
#sticky-cta.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
#sticky-cta.hidden {
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
}

@media (max-width: 767.98px) {
  body {
    padding-bottom: 80px;
  }
}

/* Звёздный рейтинг в форме отзыва */
.star-rating .star {
  cursor: pointer;
  color: #ccc;
  transition: color 0.15s;
  user-select: none;
}

.star-rating .star.active,
.star-rating .star:hover {
  color: #ffc107;
}

/* Sticky footer */
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Футер */
.footer-link:hover {
  color: #fff !important;
  transition: color .15s;
}
