@media (max-width:991px) {
    body.poster {
        margin-top: 60vh;
    }
}

body.poster {
    background-attachment: fixed;
}

p{
  font-size:17px;
}

.top-5 {
    top: 5px;
}

.image-box{
  height:350px;
}
@media (max-width:991px) {
  .image-box{
    height:250px;
  }
  p{
    font-size:16px;
  }
  h5{
  font-size:17px;
}
}

h1,h2,h3{
  color: #4b2698;
}

/* Визуально скрыто, но доступно для ассистивных технологий */
.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;
}


/* 1) Глобально отключаем горизонтальный скролл */
html { overflow-x: clip; }               /* современные браузеры */
body { overflow-x: hidden; width: 100%; } /* фолбэк */

/* ===== Quantifiax Hero v2 ===== */
.qfx-hero {
  position: relative;
  min-height: 78vh;
  display: grid;
  align-items: center;
  padding: 4.5rem 0;
  color: var(--bs-white);
}

/* subtle grid using only white/dark tokens */
.qfx-hero .qfx-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1200px 600px at 120% -20%,
      rgba(var(--bs-primary-rgb), 0.18) 0%,
      rgba(var(--bs-primary-rgb), 0.05) 45%,
      rgba(var(--bs-dark-rgb), 0) 60%) ,
    repeating-linear-gradient(
      0deg,
      rgba(var(--bs-white-rgb), 0.06) 0px,
      rgba(var(--bs-white-rgb), 0.06) 1px,
      transparent 1px,
      transparent 24px
    ),
    repeating-linear-gradient(
      90deg,
      rgba(var(--bs-white-rgb), 0.04) 0px,
      rgba(var(--bs-white-rgb), 0.04) 1px,
      transparent 1px,
      transparent 24px
    );
  pointer-events: none;
}

/* left accent bar */
.qfx-accent-bar {
  width: 84px;
  height: 6px;
  background: linear-gradient(90deg,
    rgba(var(--bs-primary-rgb), 1) 0%,
    rgba(var(--bs-white-rgb), 1) 100%);
  border-radius: 999px;
  box-shadow: 0 0 0 2px rgba(var(--bs-white-rgb), 0.08);
}

.qfx-title {
  line-height: 1.1;
  font-weight: 700;
  font-size: clamp(2rem, 3.2vw + 1rem, 3.5rem);
  margin-bottom: .25rem;
}

.qfx-subtitle {
  font-size: clamp(1rem, 1vw + .75rem, 1.25rem);
  opacity: .9;
}

.qfx-lead {
  max-width: 68ch;
  color: rgba(var(--bs-white-rgb), 0.92);
}

/* glass card */
.qfx-glass {
  background: linear-gradient(
      180deg,
      rgba(var(--bs-white-rgb), 0.12) 0%,
      rgba(var(--bs-white-rgb), 0.06) 100%
    );
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 1.25rem;
  outline: 1px solid rgba(var(--bs-white-rgb), 0.08);
}

.qfx-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: .5rem;
}
.qfx-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .45rem;
  width: .6rem;
  height: .6rem;
  border-radius: 50%;
  background: rgba(var(--bs-primary-rgb), 1);
  box-shadow: 0 0 0 4px rgba(var(--bs-primary-rgb), 0.18);
}

/* tiny trust line */
.qfx-trust {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-top: .75rem;
}
.qfx-trust .qfx-dot {
  width: .5rem;
  height: .5rem;
  border-radius: 50%;
  background: rgba(var(--bs-primary-rgb), 1);
  box-shadow: 0 0 0 4px rgba(var(--bs-primary-rgb), 0.18);
}

/* buttons refinement */
.qfx-hero .btn {
  border-width: 2px;
  border-radius: .9rem;
}
.qfx-hero .btn-outline-light:hover,
.qfx-hero .btn-outline-light:focus {
  color: var(--bs-dark);
  background-color: var(--bs-white);
  border-color: var(--bs-white);
}

@media (min-width: 992px) {
  .qfx-hero { min-height: 70vh; padding: 6rem 0; }
}

/* ===== Quantifiax – Nos domaines d’expertise ===== */
.qfx-expertise {
  position: relative;
  /* тонкая сетка на фоне */
  background-image:
    radial-gradient(1000px 400px at 110% -10%,
      rgba(var(--bs-primary-rgb), .18) 0%,
      rgba(var(--bs-primary-rgb), .06) 45%,
      rgba(var(--bs-dark-rgb), 0) 60%),
    repeating-linear-gradient(
      0deg,
      rgba(var(--bs-white-rgb), .05) 0 1px,
      transparent 1px 24px
    ),
    repeating-linear-gradient(
      90deg,
      rgba(var(--bs-white-rgb), .04) 0 1px,
      transparent 1px 24px
    );
}

.qfx-exp-title {
  font-weight: 700;
  line-height: 1.15;
  font-size: clamp(1.5rem, 1.2rem + 1.5vw, 2.25rem);
}

.qfx-exp-intro {
  max-width: 70ch;
  color: rgba(var(--bs-white-rgb), .88);
}

/* Карточки */
.qfx-exp-card {
  background: linear-gradient(
      180deg,
      rgba(var(--bs-white-rgb), .10) 0%,
      rgba(var(--bs-white-rgb), .06) 100%
    );
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 1rem;
  padding: 1.25rem;
  border: 1px solid rgba(var(--bs-white-rgb), .10);
  box-shadow: 0 10px 30px rgba(var(--bs-dark-rgb), .35);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

@media (min-width: 1200px) {
  .qfx-exp-card { padding: 1.5rem; }
}

.qfx-exp-card:hover,
.qfx-exp-card:focus-within {
  transform: translateY(-4px);
  border-color: rgba(var(--bs-primary-rgb), .45);
  box-shadow: 0 14px 36px rgba(var(--bs-dark-rgb), .45);
}

/* Иконка */
.qfx-exp-icon {
  width: 3rem;
  height: 3rem;
  border-radius: .75rem;
  display: inline-grid;
  place-items: center;
  margin-bottom: .75rem;
  color: var(--bs-white);
  background: linear-gradient(
    135deg,
    rgba(var(--bs-primary-rgb), 1) 0%,
    rgba(var(--bs-primary-rgb), .75) 100%
  );
  box-shadow:
    0 0 0 4px rgba(var(--bs-primary-rgb), .18),
    inset 0 -8px 18px rgba(var(--bs-dark-rgb), .25);
}
.qfx-exp-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

/* Заголовок + текст */
.qfx-exp-heading {
  margin-bottom: .5rem;
  line-height: 1.3;
}
.qfx-exp-text {
  margin: 0;
  color: rgba(var(--bs-white-rgb), .9);
}

/* Доступность: фокус */
.qfx-exp-card:focus-within {
  outline: none;
}
.qfx-exp-card a, .qfx-exp-card button {
  border-radius: .5rem;
}
.qfx-exp-card a:focus-visible,
.qfx-exp-card button:focus-visible {
  outline: 3px solid rgba(var(--bs-primary-rgb), .85);
  outline-offset: 2px;
}

/* ===== Quantifiax – Pourquoi choisir ===== */
.qfx-why {
  position: relative;
  /* тонкий акцентный фон: сетка + мягкое свечение primary */
  background-image:
    radial-gradient(900px 360px at 110% -10%,
      rgba(var(--bs-primary-rgb), .18) 0%,
      rgba(var(--bs-primary-rgb), .06) 45%,
      rgba(var(--bs-dark-rgb), 0) 60%),
    repeating-linear-gradient(
      0deg,
      rgba(var(--bs-white-rgb), .04) 0 1px,
      transparent 1px 24px
    ),
    repeating-linear-gradient(
      90deg,
      rgba(var(--bs-white-rgb), .03) 0 1px,
      transparent 1px 24px
    );
}

.qfx-why-title {
  font-weight: 700;
  line-height: 1.15;
  font-size: clamp(1.6rem, 1.1rem + 1.6vw, 2.35rem);
}

.qfx-why-intro {
  max-width: 70ch;
  color: rgba(var(--bs-white-rgb), .88);
}

/* Элемент преимущества */
.qfx-why-item {
  gap: 1rem;
  padding: 1.25rem 1.25rem 1.25rem 1rem;
  border-radius: 1rem;
  background: linear-gradient(
      180deg,
      rgba(var(--bs-white-rgb), .10) 0%,
      rgba(var(--bs-white-rgb), .06) 100%
    );
  border: 1px solid rgba(var(--bs-white-rgb), .10);
  box-shadow: 0 10px 28px rgba(var(--bs-dark-rgb), .35);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.qfx-why-item:hover,
.qfx-why-item:focus-within {
  transform: translateY(-3px);
  border-color: rgba(var(--bs-primary-rgb), .45);
  box-shadow: 0 14px 36px rgba(var(--bs-dark-rgb), .45);
}

/* Иконка чек/щит/замок/слои */
.qfx-why-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: .75rem;
  display: grid;
  place-items: center;
  margin-top: .25rem;
  color: var(--bs-white);
  background: linear-gradient(
    135deg,
    rgba(var(--bs-primary-rgb), 1) 0%,
    rgba(var(--bs-primary-rgb), .75) 100%
  );
  box-shadow:
    0 0 0 4px rgba(var(--bs-primary-rgb), .18),
    inset 0 -8px 18px rgba(var(--bs-dark-rgb), .25);
}
.qfx-why-icon svg {
  width: 1.3rem;
  height: 1.3rem;
}

/* Текст */
.qfx-why-item p {
  color: rgba(var(--bs-white-rgb), .92);
}

/* Доступность: фокус */
.qfx-why-item:focus-within { outline: none; }
.qfx-why-item a, .qfx-why-item button { border-radius: .5rem; }
.qfx-why-item a:focus-visible,
.qfx-why-item button:focus-visible {
  outline: 3px solid rgba(var(--bs-primary-rgb), .85);
  outline-offset: 2px;
}

@media (min-width: 992px) {
  .qfx-why { padding-top: 4.5rem; padding-bottom: 4.5rem; }
}


/* ===== Base spacing for sections ===== */
.qfx-about-hero,
.qfx-about-method,
.qfx-about-team,
.qfx-about-compliance {
  padding: 4.5rem 0;
}
@media (min-width: 992px) {
  .qfx-about-hero,
  .qfx-about-method,
  .qfx-about-team,
  .qfx-about-compliance { padding: 6rem 0; }
}

/* ===== Section 1: Hero (About) ===== */
.qfx-about-hero {
  position: relative;
  color: var(--bs-white);
}
.qfx-about-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1200px 500px at 110% -20%,
      rgba(var(--bs-primary-rgb), .2) 0%,
      rgba(var(--bs-primary-rgb), .06) 45%,
      rgba(var(--bs-dark-rgb), 0) 60%),
    repeating-linear-gradient(0deg,
      rgba(var(--bs-white-rgb), .05) 0 1px,
      transparent 1px 26px),
    repeating-linear-gradient(90deg,
      rgba(var(--bs-white-rgb), .04) 0 1px,
      transparent 1px 26px);
  pointer-events: none;
}
.qfx-kicker {
  letter-spacing: .08em;
  font-weight: 600;
  color: rgba(var(--bs-white-rgb), .9);
}
.qfx-hero-title {
  font-weight: 700;
  line-height: 1.1;
  font-size: clamp(2rem, 3.2vw + 1rem, 3.25rem);
}
.qfx-hero-lead {
  max-width: 68ch;
  color: rgba(var(--bs-white-rgb), .9);
}
.qfx-stat { }
.qfx-stat-value {
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1;
}
.qfx-stat-label {
  opacity: .8;
}
.qfx-glass {
  background: linear-gradient(180deg,
      rgba(var(--bs-white-rgb), .12) 0%,
      rgba(var(--bs-white-rgb), .06) 100%);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 1rem;
  border: 1px solid rgba(var(--bs-white-rgb), .1);
}

/* ===== Section 2: Mission & Méthode ===== */
.qfx-sec-title {
  font-weight: 700;
  line-height: 1.15;
  font-size: clamp(1.6rem, 1.1rem + 1.6vw, 2.2rem);
}
.qfx-sec-intro {
  max-width: 70ch;
}
.qfx-pillar {
  padding: 1.25rem;
  border-radius: 1rem;
  background: linear-gradient(180deg,
    rgba(var(--bs-white-rgb), .10) 0%,
    rgba(var(--bs-white-rgb), .06) 100%);
  border: 1px solid rgba(var(--bs-white-rgb), .10);
  box-shadow: 0 10px 28px rgba(var(--bs-dark-rgb), .35);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.qfx-pillar:hover,
.qfx-pillar:focus-within {
  transform: translateY(-3px);
  border-color: rgba(var(--bs-primary-rgb), .45);
  box-shadow: 0 14px 36px rgba(var(--bs-dark-rgb), .45);
}
.qfx-pillar-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: .75rem;
  display: grid;
  place-items: center;
  margin-bottom: .75rem;
  color: var(--bs-white);
  background: linear-gradient(135deg,
    rgba(var(--bs-primary-rgb), 1) 0%,
    rgba(var(--bs-primary-rgb), .75) 100%);
  box-shadow: 0 0 0 4px rgba(var(--bs-primary-rgb), .18),
              inset 0 -8px 18px rgba(var(--bs-dark-rgb), .25);
}
.qfx-pillar-icon svg { width: 1.35rem; height: 1.35rem; }

/* ===== Section 3: Équipe dirigeante ===== */
.qfx-member {
  padding: 1.25rem;
  border-radius: 1rem;
  background: linear-gradient(180deg,
    rgba(var(--bs-white-rgb), .08) 0%,
    rgba(var(--bs-white-rgb), .05) 100%);
  border: 1px solid rgba(var(--bs-white-rgb), .10);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.qfx-member:hover,
.qfx-member:focus-within {
  transform: translateY(-3px);
  border-color: rgba(var(--bs-primary-rgb), .45);
  box-shadow: 0 14px 36px rgba(var(--bs-dark-rgb), .45);
}
.qfx-avatar {
  width: 3rem;
  height: 3rem;
  border-radius: .75rem;
  display: inline-grid;
  place-items: center;
  font-weight: 700;
  margin-bottom: .75rem;
  color: var(--bs-white);
  background: linear-gradient(135deg,
    rgba(var(--bs-primary-rgb), 1) 0%,
    rgba(var(--bs-primary-rgb), .75) 100%);
  box-shadow: 0 0 0 4px rgba(var(--bs-primary-rgb), .18);
}
.qfx-role { color: rgba(var(--bs-white-rgb), .85); }

/* ===== Section 4: Présence & Conformité ===== */
.qfx-about-compliance { position: relative; }
.qfx-about-compliance-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 360px at 110% -10%,
      rgba(var(--bs-primary-rgb), .18) 0%,
      rgba(var(--bs-primary-rgb), .06) 45%,
      rgba(var(--bs-dark-rgb), 0) 60%),
    repeating-linear-gradient(0deg,
      rgba(var(--bs-white-rgb), .04) 0 1px,
      transparent 1px 24px),
    repeating-linear-gradient(90deg,
      rgba(var(--bs-white-rgb), .03) 0 1px,
      transparent 1px 24px);
  pointer-events: none;
}
.qfx-tile {
  padding: 1.25rem;
  border-radius: 1rem;
  background: linear-gradient(180deg,
    rgba(var(--bs-white-rgb), .10) 0%,
    rgba(var(--bs-white-rgb), .06) 100%);
  border: 1px solid rgba(var(--bs-white-rgb), .10);
}
.qfx-list {
  list-style: none;
  padding: 0;
}
.qfx-list li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: .5rem;
  color: rgba(var(--bs-white-rgb), .92);
}
.qfx-list li::before {
  content: "";
  position: absolute;
  left: 0; top: .55rem;
  width: .55rem; height: .55rem; border-radius: 50%;
  background: rgba(var(--bs-primary-rgb), 1);
  box-shadow: 0 0 0 4px rgba(var(--bs-primary-rgb), .18);
}
.qfx-cta .btn {
  border-width: 2px;
  border-radius: .9rem;
}

/* ===== Quantifiax – Pricing (Suisse) ===== */
.qfx-pricing { position: relative; }
.qfx-pricing::before {
  /* léger accent primaire + grille sobre */
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(900px 360px at 110% -10%,
      rgba(var(--bs-primary-rgb), .18) 0%,
      rgba(var(--bs-primary-rgb), .06) 45%,
      rgba(var(--bs-dark-rgb), 0) 60%),
    repeating-linear-gradient(0deg,
      rgba(var(--bs-white-rgb), .04) 0 1px, transparent 1px 24px),
    repeating-linear-gradient(90deg,
      rgba(var(--bs-white-rgb), .03) 0 1px, transparent 1px 24px);
  pointer-events: none;
}
.qfx-pricing > .container { position: relative; }

/* Titres & intro */
.qfx-pricing-title {
  font-weight: 700;
  line-height: 1.15;
  font-size: clamp(1.6rem, 1.1rem + 1.6vw, 2.35rem);
}
.qfx-pricing-intro { max-width: 70ch; color: rgba(var(--bs-white-rgb), .88); }

/* Cards */
.qfx-price-card {
  position: relative;
  padding: 1.5rem;
  border-radius: 1.1rem;
  background: linear-gradient(180deg,
    rgba(var(--bs-white-rgb), .10) 0%,
    rgba(var(--bs-white-rgb), .06) 100%);
  border: 1px solid rgba(var(--bs-white-rgb), .10);
  box-shadow: 0 10px 28px rgba(var(--bs-dark-rgb), .35);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.qfx-price-card:hover,
.qfx-price-card:focus-within {
  transform: translateY(-4px);
  border-color: rgba(var(--bs-primary-rgb), .45);
  box-shadow: 0 14px 36px rgba(var(--bs-dark-rgb), .45);
}

/* Badges */
.qfx-price-badge {
  display: inline-block;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .02em;
  padding: .35rem .6rem;
  border-radius: .6rem;
  margin-bottom: .75rem;
  background: rgba(var(--bs-white-rgb), .12);
  color: var(--bs-white);
  border: 1px solid rgba(var(--bs-white-rgb), .15);
}
.qfx-featured .qfx-price-badge {
  background: rgba(var(--bs-primary-rgb), 1);
  color: var(--bs-white);
  border-color: rgba(var(--bs-primary-rgb), 1);
}

/* Price */
.qfx-price { display: flex; align-items: baseline; gap: .5rem; }
.qfx-price-amount {
  font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2rem);
  font-weight: 700;
  line-height: 1;
}
.qfx-price-unit { opacity: .85; }

/* Features list */
.qfx-price-list {
  list-style: none; padding: 0; margin: 0;
}
.qfx-price-list li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: .55rem;
  color: rgba(var(--bs-white-rgb), .92);
}
.qfx-price-list li::before {
  content: "";
  position: absolute; left: 0; top: .55rem;
  width: .55rem; height: .55rem; border-radius: 50%;
  background: rgba(var(--bs-primary-rgb), 1);
  box-shadow: 0 0 0 4px rgba(var(--bs-primary-rgb), .18);
}

/* Buttons */
.qfx-price-card .btn {
  border-width: 2px;
  border-radius: .9rem;
}
.qfx-price-card .btn-outline-light:hover,
.qfx-price-card .btn-outline-light:focus {
  color: var(--bs-dark);
  background-color: var(--bs-white);
  border-color: var(--bs-white);
}

/* Note */
.qfx-pricing-note { color: rgba(var(--bs-white-rgb), .85); }

@media (min-width: 1200px) {
  .qfx-price-card { padding: 1.75rem; }
}
