@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: 90vh;
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.4)),
              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: #0a112b;
}
h2{
  font-size: 25px;
  color:#0a112b;
}
h3{
  font-size: 20px;
  color: #0a112b;
}
/* What We Do — enhancements on top of Bootstrap */

/* секция заголовка с аккуратным подчёркиванием */
#what-we-do .underlined {
  position: relative;
  display: inline-block;
}
#what-we-do .underlined::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg,
    var(--bs-primary) 0%,
    var(--bs-primary) 40%,
    var(--bs-secondary) 60%,
    var(--bs-success) 100%);
  opacity: .25;
}

/* карточки — лёгкий лифт при ховере */
#what-we-do .card-hover {
  transition: transform .2s ease, box-shadow .2s ease;
  border-radius: 1rem;
}
#what-we-do .card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 .8rem 1.6rem rgba(0,0,0,.08);
}

/* цветной акцент снизу карточки */
#what-we-do .card-accent {
  height: 4px;
  border-bottom-left-radius: 1rem;
  border-bottom-right-radius: 1rem;
}
#what-we-do .accent-primary { background-color: var(--bs-primary); }
#what-we-do .accent-secondary { background-color: var(--bs-secondary); }
#what-we-do .accent-success { background-color: var(--bs-success); }

/* иконка в мягком круге, цвета подтягиваются из utility-классов */
#what-we-do .feature-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  font-size: 1.25rem;
}
#what-we-do .bg-primary-subtle   { background-color: color-mix(in srgb, var(--bs-primary) 12%, #fff) !important; }
#what-we-do .bg-secondary-subtle { background-color: color-mix(in srgb, var(--bs-secondary) 12%, #fff) !important; }
#what-we-do .bg-success-subtle   { background-color: color-mix(in srgb, var(--bs-success) 12%, #fff) !important; }

/* мелкие правки текста */
#what-we-do p { line-height: 1.6; }

/* Why Choose Us — Bootstrap-friendly enhancements */

/* Заголовок с мягким градиентным подчёркиванием */
#why-choose-us .underlined {
  position: relative;
  display: inline-block;
}
#why-choose-us .underlined::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 4px; border-radius: 999px;
  background: linear-gradient(90deg,
    var(--bs-primary) 0%,
    var(--bs-primary) 35%,
    var(--bs-secondary) 65%,
    var(--bs-success) 100%);
  opacity: .25;
}

/* Карточки — плавный лифт и усиленная тень при ховере */
#why-choose-us .card-hover {
  border-radius: 1rem;
  transition: transform .2s ease, box-shadow .2s ease;
}
#why-choose-us .card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 .8rem 1.6rem rgba(0,0,0,.08);
}

/* Нижний цветной акцент карточек */
#why-choose-us .card-accent {
  height: 4px;
  border-bottom-left-radius: 1rem;
  border-bottom-right-radius: 1rem;
}


/* Иконки в мягких кругах (цвет подтягивается из utility-классов) */
#why-choose-us .feature-icon {
  width: 4rem; height: 4rem;
  border-radius: 999px;
  display: inline-grid; place-items: center;
  font-size: 1.25rem;
}

/* Мелкие акценты типографики */
#why-choose-us .tracking-1 { letter-spacing: .04em; }
#why-choose-us p { line-height: 1.6; }

/* SeniorProtectPlan — Our Services */
.sp-section {
  background: #f8fafc; /* light neutral */
}

.sp-service {
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 1rem;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.sp-service .card-body {
  padding: 1.5rem;
}

.sp-service:hover,
.sp-service:focus-within {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(2, 6, 23, 0.08);
  border-color: rgba(13, 110, 253, 0.35); /* bootstrap primary tint */
}

.sp-icon-wrap {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
  background: rgba(13, 110, 253, 0.08); /* bootstrap primary alpha */
}

.sp-icon-wrap i {
  font-size: 1.25rem;
  line-height: 1;
  color: #0d6efd; /* bootstrap primary */
}

/* Heading spacing */
#our-services h3 {
  margin-top: 0.25rem;
  margin-bottom: 0.5rem;
}

/* Improve paragraph readability for seniors */
#our-services p {
  font-size: 1rem;
  line-height: 1.6;
  color: #495057; /* bootstrap gray-700 */
}

/* Responsive tweaks */
@media (min-width: 992px) {
  .sp-service .card-body {
    padding: 1.75rem;
  }
}

/* SeniorProtectPlan — How It Works */
#how-it-works {
  background: #ffffff;
}

.sp-step {
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 1rem;
  transition: transform .2s ease, box-shadow .2s ease;
  background: #f8fafc;
}

.sp-step:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.sp-step-number {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1.25rem;
  color: #fff;
  background: #0d6efd; /* Bootstrap primary */
  box-shadow: 0 4px 10px rgba(13, 110, 253, 0.35);
}

#how-it-works h3 {
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

#how-it-works p {
  font-size: 0.95rem;
  color: #495057;
  line-height: 1.6;
}


/* Заголовок с аккуратным подчёркиванием */
#faq .underlined {
  position: relative; display: inline-block;
}
#faq .underlined::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px;
  height: 3px; border-radius: 999px;
  background: linear-gradient(90deg,
    var(--bs-primary) 0%,
    var(--bs-primary) 35%,
    var(--bs-secondary) 65%,
    var(--bs-success) 100%);
  opacity: .25;
}

/* SeniorProtectPlan — Pricing */
#pricing {
  background: #f8fafc;
}

.sp-price {
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 1rem;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  background: #fff;
}

.sp-price:hover,
.sp-price:focus-within {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(2, 6, 23, 0.08);
  border-color: rgba(13, 110, 253, 0.25); /* primary tint */
}

.sp-price-featured {
  border-color: rgba(13, 110, 253, 0.35);
  box-shadow: 0 14px 32px rgba(13, 110, 253, 0.12);
}

.sp-recommended {
  position: absolute;
  top: .75rem;
  right: .75rem;
  border-radius: .75rem;
  padding: .4rem .6rem;
  font-weight: 600;
}

.sp-price-tag {
  display: inline-flex;
  align-items: baseline;
  gap: .35rem;
  margin-bottom: .25rem;
}

.sp-price-tag .sp-currency {
  font-size: 0.95rem;
  letter-spacing: .02em;
  color: #0d6efd; /* Bootstrap primary */
}

.sp-price-tag .sp-amount {
  font-size: 2.25rem;
  line-height: 1;
  font-weight: 700;
}

.sp-price-tag .sp-period {
  font-size: 0.95rem;
}

.sp-features li {
  display: flex;
  gap: .5rem;
  align-items: flex-start;
  margin-bottom: .5rem;
}

.sp-features i {
  margin-top: .2rem;
  font-size: 1rem;
  color: #f8a854; /* Bootstrap success for checks */
}

.sp-features .bi-dash-circle {
  color: #adb5bd; /* muted for unavailable */
}

@media (min-width: 992px) {
  .sp-price .card-body { padding: 1.5rem 1.75rem 1.75rem; }
  .sp-price .card-header { padding-top: 2rem !important; }
}

