

h1, h2, h3, h4{
    color: #3a1674;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

h1, h2, h3, h4 {
  opacity: 0;
  animation: fadeInUp 0.8s ease-out forwards;
}

/* Добавим небольшую задержку для красивого каскада */
h2 {
  font-size:25px;
  animation-delay: 0.2s;
}

h3 {
  font-size:22px;
  animation-delay: 0.4s;
}

h4 {
  animation-delay: 0.6s;
}

@media(max-width:680px){
  .h5{
    font-size:18px;
  }
  h2{
    font-size: 22px;
  } 
  
}

 /* Базовые отступы секции на крупных экранах */
@media (min-width: 992px) {
  #hero {
    padding-top: 5rem;   /* py-lg-6 в разметке добавляет ещё, можно подстроить */
    padding-bottom: 5rem;
  }
}
/* 1) Глобально отключаем горизонтальный скролл */
html { overflow-x: clip; }               /* современные браузеры */
body { overflow-x: hidden; width: 100%; } /* фолбэк */

:root{
  --be-primary: #6446b4;
  --be-dark: #222;       /* тёмно-серый */
  --be-light: #ffffff;   /* белый */
  --be-muted: #6c757d;
}

.be-hero{
  background:
    radial-gradient(1200px 400px at 10% -20%, rgba(100,70,180,.15), transparent 60%),
    radial-gradient(1000px 300px at 90% -10%, rgba(100,70,180,.12), transparent 55%),
    var(--be-light);
  color: var(--be-dark);
}

.be-card{
  background: #fff;
  border-radius: 1rem;
  border: 1px solid rgba(0,0,0,.06);
  overflow: hidden; /* чтобы акцентная полоса не выходила за края */
}

/* Узкая акцентная полоса сверху карточки */
.be-accent{
  height: .5rem;
  background: linear-gradient(90deg, var(--be-primary), #7a63c4 60%, var(--be-primary));
}

/* Микро-лейбл над заголовком */
.be-kicker{
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--be-primary);
  font-weight: 700;
  margin-bottom: .25rem;
}

/* Главный заголовок */
.be-title{
  line-height: 1.15;
  color: var(--be-dark);
}

/* Подзаголовок */
.be-subtitle{
  color: var(--be-dark);
}

/* Основной текст */
.be-text{
  color: #2f2f2f;
  font-size: 1.0625rem; /* немного крупнее для читабельности */
}

/* Улучшение контраста ссылок (если понадобятся внутри секции) */
.be-hero a{
  color: var(--be-primary);
  text-decoration: none;
}
.be-hero a:hover{
  text-decoration: underline;
}

/* Вариативность отступов на больших экранах */
@media (min-width: 992px){
  .py-lg-6{ padding-top: 5rem !important; padding-bottom: 5rem !important; }
  .be-title{ font-size: 3rem; }
}

.be-services{
  background:
    radial-gradient(900px 260px at 0% -10%, rgba(100,70,180,.10), transparent 60%),
    radial-gradient(700px 220px at 100% 0%, rgba(100,70,180,.08), transparent 55%),
    var(--be-light);
  color: var(--be-dark);
}

.be-services-title{
  color: var(--be-dark);
  letter-spacing: -.01em;
}

.be-services-lead{
  color: var(--be-muted);
  font-size: 1.0625rem;
}

/* Карточка услуги */
.be-service{
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 1rem;
  overflow: hidden; /* для акцентной полосы */
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  background: #fff;
}

.be-service-accent{
  height: .35rem;
  background: linear-gradient(90deg, var(--be-primary), #7a63c4 60%, var(--be-primary));
}

/* Заголовок и текст карточек */
.be-service .card-title{
  color: var(--be-dark);
  line-height: 1.2;
}

.be-service .card-text{
  color: #2f2f2f;
}

/* Hover/focus эффекты */
.be-service:hover,
.be-service:focus-within{
  transform: translateY(-2px);
  box-shadow: 0 0.75rem 1.5rem rgba(0,0,0,.08);
  border-color: rgba(100,70,180,.35);
}

/* Адаптация отступов на больших экранах */
@media (min-width: 992px){
  .py-lg-6{ padding-top: 5rem !important; padding-bottom: 5rem !important; }
}

.be-benefits{
  background:
    radial-gradient(900px 260px at 0% -10%, rgba(100,70,180,.10), transparent 60%),
    radial-gradient(700px 220px at 100% 0%, rgba(100,70,180,.08), transparent 55%),
    var(--be-light);
  color: var(--be-dark);
}

.be-benefits-title{
  color: var(--be-dark);
  letter-spacing: -.01em;
}

.be-benefits-lead{
  color: var(--be-muted);
  font-size: 1.0625rem;
}

/* KPI badges */
.be-kpi{
  gap: .5rem;
  background: rgba(100,70,180,.08);
  border: 1px solid rgba(100,70,180,.25);
  color: var(--be-dark);
  padding: .5rem .75rem;
  border-radius: 999px;
}
.be-kpi-number{
  font-weight: 800;
  color: var(--be-primary);
  font-size: 1.125rem;
  line-height: 1;
}
.be-kpi-label{
  font-size: .9375rem;
  line-height: 1;
  color: var(--be-dark);
}

/* Benefit card */
.be-benefit{
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 1rem;
  overflow: hidden; /* для акцентной полосы */
  background: #fff;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.be-benefit-accent{
  height: .3rem;
  background: linear-gradient(90deg, var(--be-primary), #7a63c4 60%, var(--be-primary));
}

/* Иконка-чек */
.be-icon-wrap{
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: .75rem;
  background: rgba(100,70,180,.10);
  color: var(--be-primary);
  border: 1px solid rgba(100,70,180,.25);
}
.be-icon{
  display: block;
}

/* Заголовок и текст */
.be-benefit .h5{
  color: var(--be-dark);
}
.be-benefit p{
  color: #2f2f2f;
}

/* Hover/focus эффекты */
.be-benefit:hover,
.be-benefit:focus-within{
  transform: translateY(-2px);
  box-shadow: 0 0.75rem 1.5rem rgba(0,0,0,.08);
  border-color: rgba(100,70,180,.35);
}

/* Дополнительные отступы на больших экранах */
@media (min-width: 992px){
  .py-lg-6{ padding-top: 5rem !important; padding-bottom: 5rem !important; }
}

/* Общие */
.py-lg-6{ padding-top: 5rem !important; padding-bottom: 5rem !important; }

:root {
  --cp-radius-lg: 1rem;   /* ~ rounded-4 */
  --cp-radius-xl: 1.25rem;
  --cp-shadow: 0 0.5rem 1rem rgba(0,0,0,0.08);
}

body {
  background-color: #fff;
  color: #1f2937;
}

/* Utility tweaks */
.object-fit-cover { object-fit: cover; }

/* Section spacing fine-tuning (Bootstrap already provides py-5) */
#about-intro .badge { font-weight: 600; }

/* Icon circles for Values cards */
.icon-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #0b2239;
  box-shadow: var(--cp-shadow);
}

/* Stats tiles */
.stat-tile {
  background: var(--cp-surface);
  border: 1px solid rgba(0,0,0,0.05);
}

/* Team cards */
.team-card {
  background: var(--cp-surface);
  border: 1px solid rgba(0,0,0,0.06);
  transition: transform .2s ease, box-shadow .2s ease;
}
.team-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 0.75rem 1.5rem rgba(0,0,0,0.08);
}

/* Custom check bullet */
.check-bullet {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: rgba(13,110,253,0.12);
  color: var(--cp-accent);
  font-weight: 700;
  line-height: 1;
}

/* Headings */
#values h2,
#team h2 {
  letter-spacing: 0.2px;
}

/* Image rounding to match design language */
.rounded-4 { border-radius: var(--cp-radius-lg) !important; }
.rounded-5 { border-radius: var(--cp-radius-xl) !important; }

/* Small accessibility helpers */
img { max-width: 100%; height: auto; }

/* FAQ Section — Bootstrap 5 add-ons */
#faq .cp-accordion .accordion-item {
  border-radius: 1rem; /* rounded-4 match */
}

#faq .accordion-button {
  padding: 1rem 1.25rem;
  font-weight: 600;
  letter-spacing: .2px;
}

#faq .accordion-button::after {
  /* larger default chevron */
  transform: scale(1.1);
}

#faq .accordion-button:not(.collapsed) {
  background-color: rgba(13,110,253,.06); /* primary tint */
  color: #0d6efd;
  box-shadow: none;
}

#faq .accordion-body {
  color: #495057;
  line-height: 1.6;
  padding-top: .75rem;
  padding-bottom: 1rem;
}

#faq .accordion-item.shadow-sm {
  transition: transform .15s ease, box-shadow .15s ease;
}
#faq .accordion-item.shadow-sm:hover {
  transform: translateY(-2px);
  box-shadow: 0 .9rem 1.6rem rgba(0,0,0,.08);
}


/* Pricing Section — Bootstrap 5 add-ons (no overrides to core layout) */
#pricing .price-card {
  transition: transform .18s ease, box-shadow .18s ease;
}
#pricing .price-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 .9rem 1.6rem rgba(0,0,0,.08);
}

#pricing .price-card-body h5 {
  letter-spacing: .2px;
}

#pricing .currency {
  font-size: .65em;
  vertical-align: .25em;
  margin-right: .1rem;
  opacity: .9;
}
#pricing .unit {
  font-size: .45em;
  margin-left: .25rem;
  color: #6c757d;
}

#pricing .check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: .4rem;
  background: rgba(13,110,253,.12); /* Bootstrap primary */
  color: #0d6efd;
  font-weight: 700;
  line-height: 1;
}

#pricing .badge-popular {
  position: absolute;
  top: .75rem;
  right: .75rem;
  background: #0d6efd;
  color: #fff;
  font-size: .75rem;
  padding: .35rem .6rem;
  border-radius: .6rem;
  box-shadow: 0 .5rem 1rem rgba(13,110,253,.15);
}
