

h1, h2, h3, h4{
    color: #4a483c;
}

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

:root {
  --brand-primary: #630423; /* тёмный бордовый */
  --brand-dark:    #3d1522; /* ещё темнее */
  --brand-light:   #ffffff; /* белый */
}

.about .section {
  padding: 64px 0;
}

/* Секция-герой на тёмном фоне */
.section-hero {
  background: linear-gradient(0deg, var(--brand-dark), var(--brand-primary));
  color: var(--brand-light);
}

.section-hero .info-card {
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 1rem;
  backdrop-filter: blur(2px);
}

/* Секция услуг — светлый фон с картами */
.section-services {
  background-color: var(--brand-light);
  color: var(--brand-dark);
}

.section-title {
  color: var(--brand-primary);
}

.service-card {
  background: #fff;
  border: 1px solid rgba(61, 21, 34, 0.15);
  border-radius: 1rem;
  transition: transform .2s ease, box-shadow .2s ease;
  box-shadow: 0 4px 10px rgba(61, 21, 34, 0.06);
}

.service-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(61, 21, 34, 0.12);
}

/* Секция ценностей — тёмный на светлом с цветными плитками */
.section-values {
  background-color: #f9f6f7;
  color: var(--brand-dark);
}

.value-tile {
  background: #fff;
  border: 1px solid rgba(61, 21, 34, 0.12);
  border-radius: 0.875rem;
}

/* Заголовки и типографика */
h1, h2, h3, h4, h5, h6 {
  letter-spacing: .2px;
}

/* Адаптивные отступы */
@media (max-width: 575.98px) {
  .about .section { padding: 48px 0; }
}

/* Стили для секции "Бизнес-модель" */
:root {
  --brand-primary: #630423; /* основной тёмный бордовый */
  --brand-dark:    #3d1522; /* ещё темнее */
  --brand-light:   #ffffff; /* белый */
}

.business-model.section {
  background: linear-gradient(180deg, var(--brand-light) 0%, #f8f6f7 100%);
  padding: 80px 0;
  color: var(--brand-dark);
}

.business-model .text-primary {
  color: var(--brand-primary) !important;
}

.model-step {
  background-color: #fff;
  border: 1px solid rgba(61, 21, 34, 0.15);
  border-radius: 1rem;
  box-shadow: 0 4px 10px rgba(61, 21, 34, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.model-step:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(61, 21, 34, 0.12);
}

.step-number {
  display: inline-block;
  background: var(--brand-primary);
  color: var(--brand-light);
  font-weight: 700;
  font-size: 1.25rem;
  width: 48px;
  height: 48px;
  line-height: 48px;
  border-radius: 50%;
}

@media (max-width: 575.98px) {
  .business-model.section { padding: 56px 0; }
}

/* Стили секции Pricing. Bootstrap подключён отдельно. */
:root{
  --brand-primary:#630423;  /* бордовый */
  --brand-dark:#3d1522;     /* темнее */
  --brand-light:#ffffff;    /* белый */
}

.pricing.section{
  background: linear-gradient(180deg,var(--brand-light),#f8f6f7);
  padding: 80px 0;
  color: var(--brand-dark);
}

.pricing .text-primary{ color: var(--brand-primary) !important; }

/* Карточки тарифов */
.price-card{
  background:#fff;
  border:1px solid rgba(61,21,34,.14);
  border-radius:1rem;
  padding:1.5rem;
  box-shadow:0 4px 10px rgba(61,21,34,.06);
  position:relative;
  transition:transform .2s ease, box-shadow .2s ease;
}
.price-card:hover{
  transform:translateY(-3px);
  box-shadow:0 10px 20px rgba(61,21,34,.12);
}
.price-card-header p{ color:rgba(61,21,34,.8); }

.price-card-price{
  display:flex; align-items:baseline; gap:.5rem;
  margin: .5rem 0 1rem 0;
}
.price-amount{
  font-size:2rem; font-weight:800; color:var(--brand-primary);
}
.price-period{
  font-size:.95rem; color:rgba(61,21,34,.8);
}

/* Выделенный (середина) */
.price-card.featured{
  border-color: rgba(99,4,35,.35);
  background: linear-gradient(180deg,#fff,rgba(99,4,35,.06));
}
.price-card-ribbon{
  position:absolute; top:14px; right:-14px;
  background:var(--brand-primary); color:#fff;
  padding:.25rem .6rem; font-size:.75rem; font-weight:700;
  border-radius:.5rem 0 0 .5rem;
}

/* Список фич */
.price-features li{
  padding-left:1.25rem;
  background: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 24 24' fill='%23630423' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20.285 6.708l-11.4 11.4-5.657-5.657 1.414-1.414 4.243 4.243 9.986-9.986 1.414 1.414z'/%3E%3C/svg%3E") no-repeat 0 .35rem;
  background-size:12px 12px;
  margin-bottom:.5rem;
}

/* Кнопки бренда */
.btn-brand{
  background:var(--brand-primary);
  color:#fff;
  border:1px solid var(--brand-primary);
}
.btn-brand:hover{ filter: brightness(0.92); color:#fff; }

.btn-brand-contrast{
  background:var(--brand-dark);
  color:#fff;
  border:1px solid var(--brand-dark);
}
.btn-brand-contrast:hover{ filter: brightness(0.95); color:#fff; }

.btn-outline-brand{
  border:1px solid var(--brand-primary);
  color:var(--brand-primary);
  background:transparent;
}
.btn-outline-brand:hover{
  background:var(--brand-primary);
  color:#fff;
}

/* Блок допуслуг */
.addon-card{
  background:#fff;
  border:1px solid rgba(61,21,34,.14);
  border-radius:1rem;
  box-shadow:0 4px 10px rgba(61,21,34,.06);
}
.addon-card .table thead th{
  color:var(--brand-dark);
  border-bottom-width:2px;
}
.addon-card .table tbody td{ border-color:rgba(61,21,34,.1); }

/* Адаптив */
@media (max-width: 575.98px){
  .pricing.section{ padding:56px 0; }
  .price-amount{ font-size:1.75rem; }
}
