@media (max-width:991px) {
    body.poster {
        margin-top: 60vh;
    }
}

body.poster {
    background-attachment: fixed;
}

p{
  font-size:17px;
}

.top-5 {
    top: 5px;
}

.image-box{
  height:350px;
}
@media (max-width:991px) {
  .image-box{
    height:250px;
  }
  p{
    font-size:16px;
  }
  h5{
  font-size:17px;
}
}

h1,h2,h3{
  color: #3a4a36;
}

/* Визуально скрыто, но доступно для ассистивных технологий */
.visually-hidden-important {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
/* Для заданного вами формата чекбокса */
.form-group.checkbox-group {
  margin-top: 0.5rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  }
.form-group.checkbox-group input[type="checkbox"] {
  margin-top: .3rem;
}


/* 1) Глобально отключаем горизонтальный скролл */
html { overflow-x: clip; }               /* современные браузеры */
body { overflow-x: hidden; width: 100%; } /* фолбэк */

/* Hero base */
.hero {
  min-height: clamp(520px, 50vh, 820px);
  display: flex;
  align-items: center;
  background: var(--bs-primary);
  /* Fallback in case overlay gradient is removed */
}

/* Overlay: adds depth/contrast without changing Bootstrap color tokens */
.hero-overlay {
  pointer-events: none;
  background:
    radial-gradient(1200px 600px at 80% 10%, rgba(255,255,255,0.15), transparent 60%),
    radial-gradient(900px 500px at 10% 20%, rgba(255,255,255,0.10), transparent 60%),
    linear-gradient(180deg, rgba(0,0,0,0.08), rgba(0,0,0,0.25));
  mix-blend-mode: multiply;
}

/* Spacing utilities tuned for the hero */
@media (min-width: 1200px) {
  .py-xl-6 { padding-top: 4rem !important; padding-bottom: 4rem !important; }
}

/* Badge styling for the line above the headline */
.hero-badge {
  letter-spacing: .02em;
  padding: .5rem .9rem;
  box-shadow: 0 2px 6px rgba(0,0,0,.08);
}

/* Headline and paragraph rhythm */
#hero h1 {
  line-height: 1.15;
}

#hero .lead {
  max-width: 60ch;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons: subtle elevation and focus */
#hero .btn {
  border-width: 2px;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
  transition: transform .08s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease;
}

#hero .btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .12);
}

/* Outline light button contrast adjustments on primary background */
#hero .btn-outline-light {
  --bs-btn-hover-color: var(--bs-dark);
  --bs-btn-hover-bg: var(--bs-white);
  --bs-btn-hover-border-color: var(--bs-white);
}

@keyframes bounce {
  0%, 100% { transform: translateY(0) rotate(45deg); }
  50% { transform: translateY(6px) rotate(45deg); }
}

/* High-contrast mode tweaks */
@media (prefers-contrast: more) {
  .hero-overlay { display: none; }
  #hero .btn { box-shadow: none; }
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  #hero .btn { transition: none; }
  .scroll-hint .chevron { animation: none; }
}

/* Section spacing helper for larger screens */
@media (min-width: 1200px) {
  .py-lg-6 { padding-top: 4rem !important; padding-bottom: 4rem !important; }
}

/* Общая секция услуг */
.services-section {
  position: relative;
}

.services-section .badge {
  letter-spacing: 0.06em;
}

/* Карточки услуг */
.service-card {
  border-radius: 1rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  background-color: var(--bs-white);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.08);
}

/* Заголовки карточек */
.service-card .card-title {
  font-weight: 600;
}

/* Кастомные буллиты списков, цвет берем из Bootstrap primary */
.service-bullet {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  flex-shrink: 0;
  background-color: var(--bs-primary);
}

/* Мелкая типографика в списках */
.service-card ul li span:last-child {
  font-size: 0.95rem;
  line-height: 1.4;
}

/* Адаптивные отступы для мобильной версии */
@media (max-width: 575.98px) {
  .services-section .h1 {
    font-size: 1.75rem;
  }

  .service-card {
    border-radius: 0.75rem;
  }
}


/* Card base */
.why-card {
  border-radius: 1rem;
  transition: transform .15s ease, box-shadow .25s ease;
}

.why-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, .08);
}

/* Icon badge */
.why-icon {
  width: 3rem;
  height: 3rem;
  box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .08);
}

/* Typography rhythm */
#why-us h2 {
  line-height: 1.15;
}

#why-us .card-body p {
  line-height: 1.7;
}

/* Reduced motion & high contrast */
@media (prefers-reduced-motion: reduce) {
  .why-card { transition: none; }
}

@media (prefers-contrast: more) {
  .why-card { box-shadow: none; }
  .why-icon { box-shadow: none; }
}

/* Section spacing helper for larger screens */
@media (min-width: 1200px) {
  .py-lg-6 { padding-top: 6rem !important; padding-bottom: 6rem !important; }
}

/* FAQ Section Base */
.faq-section {
  background-color: var(--bs-light);
}

/* Accordion customization */
.accordion-button {
  background-color: var(--bs-white);
  border-radius: .75rem !important;
  box-shadow: none;
  transition: background-color .25s ease, color .25s ease;
}

.accordion-button:not(.collapsed) {
  color: var(--bs-white);
  background-color: var(--bs-secondary);
}

.accordion-button:focus {
  box-shadow: 0 0 0 .15rem rgba(var(--bs-primary-rgb), .25);
}

.accordion-item {
  border-radius: 1rem;
  overflow: hidden;
  transition: transform .15s ease, box-shadow .25s ease;
}

.accordion-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, .08);
}

/* Accordion body text */
.accordion-body {
  background-color: var(--bs-white);
  border-top: 1px solid rgba(0, 0, 0, .05);
  border-bottom-left-radius: .75rem;
  border-bottom-right-radius: .75rem;
}

/* Reduced motion & contrast preferences */
@media (prefers-reduced-motion: reduce) {
  .accordion-item,
  .accordion-button {
    transition: none;
  }
}

@media (prefers-contrast: more) {
  .accordion-item { box-shadow: none; }
}

/* Spacing helper for large screens */
@media (min-width: 1200px) {
  .py-lg-6 { padding-top: 6rem !important; padding-bottom: 6rem !important; }
}

/* Общая страница About */
.about-page {
  min-height: 100vh;
}

/* Hero секция */
.about-hero {
  background: var(--bs-white);
}

.about-hero .badge {
  letter-spacing: 0.08em;
}

.about-hero h1 {
  font-weight: 600;
}

.about-image-wrapper {
  background-color: var(--bs-white);
  border-radius: 1.5rem;
}

/* Миссия и ценности */
.about-mission {
  position: relative;
}

.about-mission .about-pill {
  border-radius: 1.25rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  background-color: var(--bs-white);
}

.about-mission .about-pill:hover {
  transform: translateY(-4px);
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.08);
}

/* Подход, шаги */
.about-approach {
  background: var(--bs-light);
}

.about-steps-wrapper {
  border-radius: 1.25rem;
  background-color: var(--bs-white);
  padding: 1.5rem 1.75rem;
  box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.05);
}

.about-step-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bs-primary);
}

.about-step-number {
  color: var(--bs-white);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
}

/* Адаптивные правки */
@media (max-width: 767.98px) {
  .about-hero h1 {
    font-size: 2rem;
  }

  .about-steps-wrapper {
    padding: 1.25rem 1.25rem;
  }
}

/* Общая секция */
.pricing-section {
  position: relative;
}

/* Карточки прайса */
.pricing-card {
  border-radius: 1.25rem;
  background-color: var(--bs-white);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 1.1rem 2rem rgba(0, 0, 0, 0.08);
}

/* Выделенный (средний) пакет */
.pricing-card-featured {
  border: 1px solid var(--bs-primary);
}

.pricing-label {
  position: absolute;
  top: 0.75rem;
  right: 0.9rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
}

/* Цена */
.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
}

.pricing-amount {
  font-weight: 600;
}

.pricing-period {
  font-size: 0.95rem;
}

/* Галочки-лист (используем primary) */
.pricing-check {
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 50%;
  border: 2px solid var(--bs-primary);
  position: relative;
  flex-shrink: 0;
}

.pricing-check::after {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: 50%;
  background-color: var(--bs-primary);
}

/* Адаптив */
@media (max-width: 767.98px) {
  .pricing-section .h1 {
    font-size: 1.8rem;
  }

  .pricing-card {
    border-radius: 1rem;
  }
}

