

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%; } /* фолбэк */


/* Общие правки */
body {
  color: #1b2b3a;
}

/* HERO */
.about-hero {
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}
.about-hero__media img {
  transition: transform 0.4s ease;
}
.about-hero__media:hover img {
  transform: scale(1.03);
}

/* Карточки ценностей */
.card .bi {
  vertical-align: -0.1em;
}

/* Команда */
.team-card__photo img {
  object-position: center;
}
.team-card .card-body {
  padding: 1.25rem 1.25rem 1.5rem;
}
.team-card h3 {
  color: var(--stornia-dark);
}

/* Хелперы */
.object-fit-cover {
  object-fit: cover;
}

/* HERO */
.bm-hero {
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

/* Content cards */
.card {
  border-radius: 1rem;
}
.card .card-body {
  padding: 1.75rem;
}

/* Tiers & Roadmap blocks */
.bm-tier,
.bm-milestone {
  background: #f6f9ff;
  border: 1px solid #e6eefc;
  transition: transform .2s ease, box-shadow .2s ease;
}
.bm-tier:hover,
.bm-milestone:hover {
  transform: translateY(-2px);
  box-shadow: 0 .5rem 1.25rem rgba(13, 110, 253, .08);
}

/* Tables */
.table > :not(caption) > * > * {
  background-color: transparent;
}
.table thead th {
  border-bottom-width: 2px;
}

/* Sticky sidebar on xl+ already handled inline; ensure spacing on mobile */
@media (max-width: 1199.98px) {
  aside .position-xl-sticky {
    position: static !important;
  }
}

/* Helpers */
.text-primary {
  color: var(--stornia-primary) !important;
}

/* PRICING SECTION — custom tweaks for Bootstrap cards */
.pricing-section .badge.text-bg-primary {
  box-shadow: 0 .25rem .75rem rgba(13, 110, 253, .15);
}

.pricing-card {
  border-radius: 1rem;
  transition: transform .2s ease, box-shadow .2s ease;
}
.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 .75rem 1.75rem rgba(0,0,0,.08);
}
.pricing-card .display-6,
.pricing-card .h3 {
  letter-spacing: -0.02em;
}

.pricing-card .badge {
  font-weight: 600;
}

/* Featured (middle) plan accent */
.pricing-card.featured {
  border: 1px solid #e6eefc;
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
  box-shadow: 0 .75rem 1.75rem rgba(13,110,253,.08);
}
.pricing-card.featured .btn-primary {
  box-shadow: 0 .5rem 1rem rgba(13,110,253,.25);
}

/* Feature list icons */
.pricing-features li {
  display: flex;
  gap: .5rem;
  align-items: baseline;
  padding: .25rem 0;
}
.pricing-features i {
  font-size: 1rem;
  line-height: 1;
  margin-top: .2rem;
  color: var(--bs-primary);
}
.pricing-features .text-muted i {
  color: #98a2b3; /* softer for unavailable items */
}

/* Add-ons grid */
.addon-item {
  background: #f7f9fc;
  border: 1px solid #eef2f8;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.addon-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 .5rem 1rem rgba(13,110,253,.08);
  background: #f4f8ff;
}

/* Section spacing on small screens */
@media (max-width: 575.98px) {
  .pricing-card .display-6 {
    font-size: 2rem;
  }
}
