@media (max-width:991px) {
    body.poster {
        margin-top: 60vh;
    }
}

body.poster {
    background-attachment: fixed;
}

p{
  font-size:17px;
}

.top-5 {
    top: 5px;
}
.content {
  border: 3px solid #523857;
  border-radius: 500px;
  box-shadow: 0 6px 12px #523857;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.content:hover {
  box-shadow: 0 8px 16px #523857;
  transform: translateY(-2px);
}

.content-box {
  border: 3px solid #523857;
  border-radius: 1500px;
  box-shadow: 0 6px 12px #523857 ;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.image-box{
  height:350px;
}
@media (max-width:991px) {
  .image-box{
    height:250px;
  }
  p{
    font-size:16px;
  }
  h5{
  font-size:17px;
}
}

/* Визуально скрыто, но доступно для ассистивных технологий */
.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;
}

.hero {
  min-height: 80vh;
  background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.3)),
              url('assets/images/img-hero.jpg') center/cover no-repeat;
  color: #fff;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
}

.hero-subtitle {
  font-size: 1.2rem;
  line-height: 1.6;
}

.hero-img {
  max-width: 85%;
}
h1{
  font-size: 30px;
  color:#4a5c5f;
}
h2{
  font-size: 25px;
  color:#4a5c5f;
}
h3{
  font-size: 20px;
  color:#4a5c5f;
}

/* 1) Глобально отключаем горизонтальный скролл */
html { overflow-x: clip; }               /* современные браузеры */
body { overflow-x: hidden; width: 100%; } /* фолбэк */

/* ===== Hero section layout ===== */
.hero-section {
  padding: clamp(3rem, 6vw, 6rem) 0;
}

.hero-section .badge.bg-success {
  font-weight: 600;
  letter-spacing: .2px;
}

.hero-image-wrapper {
  position: relative;
}

.hero-image-wrapper::after {
  /* soft accent ring using primary */
  content: "";
  position: absolute;
  inset: -10px -14px -18px -14px;
  border-radius: 1.5rem;
  border: 2px solid color-mix(in srgb, var(--brand-primary) 30%, transparent);
  pointer-events: none;
}

.hero-divider {
  height: 1px;
  margin-top: clamp(2rem, 4vw, 3rem);
}

/* Typography tweaks */
h1, .display-5 {
  line-height: 1.15;
}

.lead {
  color: color-mix(in srgb, var(--brand-dark) 70%, var(--brand-secondary));
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
  .hero-section { padding-top: 2.5rem; }
  .hero-image-wrapper::after { inset: -8px; }
}

/* Заголовок/бейдж */
.services-section .badge.bg-primary {
  font-weight: 600;
  letter-spacing: .2px;
}

/* Карточка услуги */
.service-card {
  transition: transform .25s ease, box-shadow .25s ease;
  border-radius: 1rem;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 .75rem 1.25rem rgba(0,0,0,.08);
}

/* Иконка услуги (кружок) */
.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 0 0 8px #aba48f;
}

/* Номер шага (кружок) */
.service-step {
  width: 36px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  font-weight: 700;
  border: 2px solid rgba(0,0,0,.06);
}

/* Типографика */
.services-section h2 {
  line-height: 1.15;
}
.services-section .card-body p {
  line-height: 1.6;
}

/* Адаптивность */
@media (max-width: 991.98px) {
  .services-section { padding-top: 2.5rem; padding-bottom: 2.5rem; }
}

/* Опционально: усиление контраста текста в карточках при светлой теме */
.services-section .text-secondary {
  color: color-mix(in srgb, var(--bs-dark, #212529) 70%, var(--bs-secondary, #6c757d));
}

.features-section .badge {
  font-weight: 600;
  letter-spacing: .2px;
}

.features-section h2 {
  line-height: 1.15;
}

/* Плитки с пунктами */
.feature-item {
  transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease;
}
.feature-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 .75rem 1.25rem rgba(0,0,0,.08);
}

/* Кружок-иконка */
.feature-icon {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--bs-primary, #0d6efd) 10%, transparent);
}

/* Текст пунктов */
.features-section .text-secondary {
  color: color-mix(in srgb, var(--bs-dark, #212529) 72%, var(--bs-secondary, #6c757d));
}

/* Адаптив */
@media (max-width: 575.98px) {
  .feature-icon { width: 40px; height: 40px; }
  .feature-item { padding: 1rem !important; }
}

/* pricing.css — custom overrides for Bootstrap pricing section */
.pricing-section {
  --brand-dark: #121212;
  --brand-ink: #1e1e1e;
  --brand-soft: #f6f6f6;
  --brand-accent: #343f43; /* subtle luxe gold-beige */
  background: var(--brand-soft);
}

.pricing-section .display-6 {
  letter-spacing: .2px;
}

.pricing-card {
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 1rem;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  background: #fff;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 1rem 2rem rgba(0,0,0,.08);
  border-color: rgba(0,0,0,.12);
}

.pricing-card .card-header h3 {
  font-weight: 600;
}

.pricing-badge {
  letter-spacing: .4px;
  font-size: .75rem;
  padding: .5rem .75rem;
  border: 1px solid rgba(0,0,0,.08);
  background: #fff !important;
}

.pricing-price {
  font-weight: 700;
  line-height: 1;
}

.pricing-price .currency {
  font-size: .95rem;
  opacity: .7;
  margin-right: .25rem;
}

.pricing-price .amount {
  font-size: 2.25rem;
}

.pricing-features li {
  padding: .4rem 0;
  border-bottom: 1px dashed rgba(0,0,0,.08);
}

.pricing-features li:last-child {
  border-bottom: 0;
}

/* Featured (middle) card emphasis */
.pricing-card.featured {
  border: 1px solid var(--brand-accent);
  box-shadow: 0 1.25rem 2.25rem rgba(179,161,122,.18);
}

.pricing-card.featured .btn {
  border-color: var(--brand-dark);
  background: var(--brand-dark);
}

.pricing-ribbon {
  position: absolute;
  top: 14px;
  right: -26px;
  transform: rotate(45deg);
  background: var(--brand-accent);
  color: #111;
  font-size: .72rem;
  letter-spacing: .3px;
  font-weight: 600;
  padding: .35rem 1.50rem;
  box-shadow: 0 .5rem 1rem rgba(0,0,0,.12);
}

/* Buttons */
.pricing-card .btn {
  border-radius: .75rem;
}

/* Spacing utility (since Bootstrap has py-5; we add py-6 for more air) */
.py-6 {
  padding-top: 4.5rem !important;
  padding-bottom: 4.5rem !important;
}

/* Dark mode tweak (optional if you have prefers-color-scheme) */
@media (prefers-color-scheme: dark) {
  .pricing-section {
    background: #0f0f0f;
  }
  .pricing-section .text-muted,
  .pricing-section p,
  .pricing-section small {
    color: rgba(255,255,255,.72) !important;
  }
  .pricing-card {
    background: #121212;
    border-color: rgba(255,255,255,.12);
  }
  .pricing-card:hover {
    border-color: rgba(255,255,255,.18);
    box-shadow: 0 1rem 2rem rgba(0,0,0,.6);
  }
  .pricing-badge {
    background: #1a1a1a !important;
    color: #fff;
    border-color: rgba(255,255,255,.08);
  }
  .pricing-ribbon {
    color: #111;
  }
  .btn-outline-dark {
    color: #fff;
    border-color: rgba(255,255,255,.6);
  }
  .btn-outline-dark:hover {
    background: #fff;
    color: #000;
  }
}


.testimonial-img{
  height:120px;
  width:120px;
}
