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

@media (max-width:460px) {
    .hero-title {
        font-size: 25px!important;
        margin-top:30px;
    }
    p{
        font-size: 15px!important;
    }
}

body.poster {
    background-attachment: fixed;
}

p{
  font-size:20px;
}

.top-5 {
    top: 5px;
}

.about-image {
        max-width: 200px;
        margin-bottom: 10px;
        border-radius:150px;
}

.hero {
  min-height: 80vh;
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.4)),
              url('assets/images/14925360.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%;
}

why-legal {
  background-color: #f8f9fa;
}

.why-legal h2 {
  font-weight: 700;
  color: #1a1a1a;
}

.why-legal p.lead {
  font-size: 1.15rem;
  color: #444;
}

/* ===== Feature section styles (Bootstrap 5 friendly) ===== */
#target-groups { background-color: #fff; }

/* Подчёркивание под заголовком, как в скрине */
.heading-underline {
  position: relative;
  display: inline-block;
  padding-bottom: .4rem;
}
.heading-underline::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 120px;
  height: 3px;
  background: #e9ecef; /* тонкая светлая линия */
}

/* Карточки */
.feature-card {
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  background-color: #fff;
}
.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 .5rem 1rem rgba(0,0,0,.08);
  border-color: rgba(0,0,0,.08);
}

/* Кружок под иконку */
.icon-badge {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #f8f9fa;
  color: #212529;
  box-shadow: inset 0 0 0 1px #e9ecef;
}
.icon-badge svg { display: block; }

/* Отступы секции */
.py-6 { padding-top: 3rem; padding-bottom: 3rem; }
@media (min-width: 1200px) {
  .py-xl-8 { padding-top: 5rem; padding-bottom: 5rem; }
}



.testimonials {
  background: #f8f9fa;
}

.testimonials h2 {
  font-weight: 700;
  color: #1a1a1a;
}

.testimonial-card {
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.testimonial-img {
  width: 100px;
  height: 100px;
  object-fit: cover;
}

/* ===== Services section styles ===== */
#services { background-color: #fff; }

/* Заголовки с тонким подчёркиванием */
.heading-underline,
.subheading-underline {
  position: relative;
  display: inline-block;
  padding-bottom: .4rem;
}
.heading-underline::after,
.subheading-underline::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 140px;
  height: 3px;
  background: #e9ecef;
}
.subheading-underline::after { width: 100px; }

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

/* Бейдж под иконку */
.icon-badge {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #f8f9fa;
  color: #212529;
  box-shadow: inset 0 0 0 1px #e9ecef;
}

/* ===== Pricing section styles (Bootstrap 5 friendly) ===== */
#pricing { background-color: #fff; }

/* заголовок с тонким подчёркиванием (как в прошлых секциях) */
.heading-underline {
  position: relative;
  display: inline-block;
  padding-bottom: .4rem;
}
.heading-underline::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 140px;
  height: 3px;
  background: #e9ecef;
}

/* карточки с ценами */
.price-card {
  background-color: #fff;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.price-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 .75rem 1.25rem rgba(0,0,0,.08);
  border-color: rgba(0,0,0,.08);
}

/* цена */
.price .price-value {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: .2px;
}
.price .price-period {
  margin-left: .5rem;
}

/* список фич с чеком */
.feature-list li {
  position: relative;
  padding-left: 1.6rem;
}
.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  transform: translateY(2px);
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  background: #e9ecef;
  color: #212529;
  line-height: 1.1rem;
}

/* бейдж "Beliebt" */
.badge-popular {
  position: absolute;
  top: .75rem;
  right: .75rem;
  background: #212529;
  color: #fff;
  font-size: .75rem;
  padding: .35rem .55rem;
  border-radius: .5rem;
}
.popular { border-color: #212529 !important; }

/* утилиты отступов секции */
.py-6 { padding-top: 2rem; padding-bottom: 2rem; }
@media (min-width: 1200px) {
  .py-xl-8 { padding-top: 5rem; padding-bottom: 5rem; }
}

